tree-sitter-dust/corpus/yield.txt

44 lines
656 B
Plaintext
Raw Normal View History

2023-10-01 10:09:29 +00:00
==================
Simple Yield
==================
1 -> output
---
(root
(item
(statement
(yield
(expression
(value
(integer)))
(expression
(identifier))))))
==================
Complex Yield
==================
1 + 1 -> to_string -> output
---
(root
(item
(statement
(yield
(expression
(math
(expression
(value
(integer)))
(math_operator)
2023-10-01 10:09:29 +00:00
(expression
(value
(integer)))))
(expression
(identifier))
(expression
(identifier))))))