schala/experiments/tree-sitter-test/test/corpus/test.txt

27 lines
319 B
Plaintext
Raw Normal View History

2024-04-21 02:34:39 -07:00
=============
Initial test
=============
fn main() {
2024-04-21 02:34:39 -07:00
}
2024-04-21 02:34:39 -07:00
----
2024-04-23 02:37:01 -07:00
(source_file
(function_definition
(identifier)
(parameter_list)
(block)
)
)
2024-04-21 02:34:39 -07:00
2024-04-21 03:08:05 -07:00
====
2024-04-23 02:37:01 -07:00
Another test
====
fn yolo() bool { }
2024-04-21 03:08:05 -07:00
2024-04-23 02:37:01 -07:00
----
2024-04-21 03:08:05 -07:00
2024-04-23 02:37:01 -07:00
(source_file
(function_definition
(identifier) (parameter_list) (primitive_type) (block)))