tree-sitter-tiger/test/corpus/lvalues.txt
Bruno BELANYI 0827093fe7 Add 'field_identifier' alias
This will be useful for high-lighting.
2022-06-03 10:31:30 +02:00

37 lines
1,014 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: (field_identifier)))