tree-sitter-dust/corpus/operators.txt

54 lines
952 B
Plaintext

==================
Simple Equality
==================
1 == 1
---
(root
(item
(statement
(expression
(logic
(expression
(value
(integer)))
(logic_operator)
(expression
(value
(integer))))))))
==================
Complex Equality
==================
1 + 1 + 1 != 3
---
(root
(item
(statement
(expression
(logic
(expression
(math
(expression
(math
(expression
(value
(integer)))
(math_operator)
(expression
(value
(integer)))))
(math_operator)
(expression
(value
(integer)))))
(logic_operator)
(expression
(value
(integer))))))))