import { jsx as _jsx } from "react/jsx-runtime";
import { BaseExpression } from "../../BaseExpression";
import { ExpressionPiece } from "../../ExpressionStyles";
import { GroupedBracketedDiv } from "../Logic/Grouping";
export class DateGetTodayExpression extends BaseExpression {
    constructor() {
        super(...arguments);
        this.__type = "Date Get Today";
    }
    render() {
        return (_jsx(GroupedBracketedDiv, Object.assign({ issue: this.getValidationIssues()[0] }, { children: _jsx(ExpressionPiece, { children: "Get Today" }, void 0) }), void 0));
    }
    evaluate(data, testContext) {
        return new Date();
    }
}
//# sourceMappingURL=DateGetTodayExpression.js.map