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

38 lines
956 B
Plaintext
Raw Normal View History

2023-11-10 20:44:03 -05:00
================================================================================
2023-10-31 15:21:13 -04:00
Simple Function Call
2023-11-10 20:44:03 -05:00
================================================================================
2023-10-31 15:21:13 -04:00
(output 'hi')
2023-11-10 20:44:03 -05:00
--------------------------------------------------------------------------------
2023-10-31 15:21:13 -04:00
(root
2023-11-10 20:44:03 -05:00
(statement
(expression
(function_call
2023-11-29 19:23:42 -05:00
(expression
(identifier))
(expression
(value
(string)))))))
2023-10-31 15:21:13 -04:00
2023-11-10 20:44:03 -05:00
================================================================================
2023-10-31 15:21:13 -04:00
Nested Function Call
2023-11-10 20:44:03 -05:00
================================================================================
2023-10-31 15:21:13 -04:00
(assert_equal (random_integer) 4)
2023-11-10 20:44:03 -05:00
--------------------------------------------------------------------------------
2023-10-31 15:21:13 -04:00
(root
2023-11-10 20:44:03 -05:00
(statement
(expression
(function_call
2023-11-29 19:23:42 -05:00
(expression
(identifier))
(expression
(identifier))
(expression
(value
(integer)))))))