1
0
dust/tree-sitter-dust/corpus/operators.txt

96 lines
2.3 KiB
Plaintext
Raw Normal View History

2023-11-11 01:44:03 +00:00
================================================================================
2023-10-31 13:31:10 +00:00
\==
2023-11-11 01:44:03 +00:00
================================================================================
3 == 1 + 1 + 1
2023-11-11 01:44:03 +00:00
--------------------------------------------------------------------------------
(root
2023-11-11 01:44:03 +00:00
(statement
(expression
(logic
(expression
(value
(integer)))
(logic_operator)
(expression
(math
(expression
(math
(expression
(value
(integer)))
(math_operator)
(expression
(value
(integer)))))
(math_operator)
(expression
(value
(integer)))))))))
2023-11-11 01:44:03 +00:00
================================================================================
&&
2023-11-11 01:44:03 +00:00
================================================================================
4 + 2 == 42 && true
2023-11-11 01:44:03 +00:00
--------------------------------------------------------------------------------
(root
2023-11-11 01:44:03 +00:00
(statement
(expression
(logic
(expression
(math
(expression
(value
(integer)))
(math_operator)
(expression
(value
(integer)))))
(logic_operator)
(expression
(logic
(expression
(value
(integer)))
(logic_operator)
(expression
(value
(boolean)))))))))
2023-10-31 09:51:37 +00:00
2023-11-11 01:44:03 +00:00
================================================================================
\||
2023-11-11 01:44:03 +00:00
================================================================================
4 + 2 == 42 || true
2023-11-11 01:44:03 +00:00
--------------------------------------------------------------------------------
(root
2023-11-11 01:44:03 +00:00
(statement
(expression
(logic
(expression
(math
(expression
(value
(integer)))
(math_operator)
(expression
(value
(integer)))))
(logic_operator)
(expression
(logic
(expression
(value
(integer)))
(logic_operator)
(expression
(value
(boolean)))))))))