We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement unary operators (plus, minus, not, factorial) in ast_builder
unary operators
plus
minus
not
factorial
refer issue #614
#[test] fn unary_op() { let actual = num(5).plus(); let expected = "+5"; test_expr(actual, expected); let actual = num(10).minus(); let expected = "-10"; test_expr(actual, expected); let actual = (col("count").gt(num(5))).not(); let expected = "NOT count > 5"; test_expr(actual, expected); let actual = num(10).factorial(); let expected = "10!"; test_expr(actual, expected); }
The text was updated successfully, but these errors were encountered:
ding-young
Successfully merging a pull request may close this issue.
Description
Implement
unary operators
(plus
,minus
,not
,factorial
) in ast_builderBackground
refer issue #614
Task
The text was updated successfully, but these errors were encountered: