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

37 lines
1,014 B
Plaintext
Raw Normal View History

2022-06-01 20:07:00 +02:00
================================================================================
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: (field_identifier)))