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

50 lines
1.0 KiB
Plaintext

================================================================================
Simple Block
================================================================================
{
output(123)
}
--------------------------------------------------------------------------------
(root
(statement
(block
(statement
(expression
(function_call
(function_expression
(identifier))
(expression
(value
(integer)))))))))
================================================================================
Block with Return
================================================================================
{
1
return 4
5
}
--------------------------------------------------------------------------------
(root
(statement
(block
(statement
(expression
(value
(integer))))
(statement
(expression
(value
(integer))))
(statement
(expression
(value
(integer)))))))