tree-sitter-dust/corpus/operators.txt

99 lines
1.9 KiB
Plaintext
Raw Normal View History

2023-10-01 01:12:35 +00:00
==================
2023-10-06 20:19:17 +00:00
Equality
2023-10-01 01:12:35 +00:00
==================
2023-10-06 20:19:17 +00:00
3 == 1 + 1 + 1
2023-10-01 01:12:35 +00:00
---
(root
(item
(statement
2023-10-01 04:01:02 +00:00
(expression
(logic
(expression
(value
(integer)))
(logic_operator)
2023-10-01 04:01:02 +00:00
(expression
2023-10-06 20:19:17 +00:00
(math
(expression
(math
(expression
(value
(integer)))
(math_operator)
(expression
(value
(integer)))))
(math_operator)
(expression
(value
(integer))))))))))
2023-10-01 01:12:35 +00:00
==================
2023-10-06 20:19:17 +00:00
&&
2023-10-01 01:12:35 +00:00
==================
2023-10-06 20:19:17 +00:00
4 + 2 == 42 && true
2023-10-01 01:12:35 +00:00
---
(root
(item
(statement
2023-10-01 04:01:02 +00:00
(expression
(logic
(expression
(math
(expression
2023-10-06 20:19:17 +00:00
(value
(integer)))
(math_operator)
2023-10-01 04:01:02 +00:00
(expression
(value
(integer)))))
(logic_operator)
2023-10-01 04:01:02 +00:00
(expression
2023-10-06 20:19:17 +00:00
(logic
(expression
(value
(integer)))
(logic_operator)
(expression
(value
(boolean))))))))))
==================
\||
==================
4 + 2 == 42 || true
---
(root
(item
(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))))))))))