tree-sitter-tiger/test/corpus/lvalues.txt

37 lines
1,008 B
Plaintext

================================================================================
Variable
================================================================================
a_variable
--------------------------------------------------------------------------------
(source_file
(identifier))
================================================================================
Array indexing
================================================================================
an_array[12]
--------------------------------------------------------------------------------
(source_file
(array_value
array: (identifier)
index: (integer_literal)))
================================================================================
Record field
================================================================================
a_record.field
--------------------------------------------------------------------------------
(source_file
(record_value
record: (identifier)
field: (identifier)))