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

39 lines
968 B
Plaintext

================================================================================
Simple Yield
================================================================================
1 -> (output)
--------------------------------------------------------------------------------
(root
(statement
(expression
(yield
(expression
(value
(integer)))
(identifier)))))
================================================================================
Yield Chain
================================================================================
x -> (foo) -> (bar) -> (abc)
--------------------------------------------------------------------------------
(root
(statement
(expression
(yield
(expression
(yield
(expression
(yield
(expression
(identifier))
(identifier)))
(identifier)))
(identifier)))))