1
0
dust/tree-sitter-dust/corpus/yield.txt
2023-12-11 11:17:37 -05:00

44 lines
1.1 KiB
Plaintext

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