mirror of
https://codeberg.org/ProgramSnail/tree-sitter-lang.git
synced 2025-12-06 06:38:51 +00:00
access -> array_access
This commit is contained in:
parent
f525fce6d7
commit
3b4be40ef7
4 changed files with 14 additions and 14 deletions
|
|
@ -62,7 +62,7 @@ array: '[[' (scoped_expression)+ ']]' ;
|
|||
|
||||
name_definition: (('%' | 'let') | ('$' | 'var')) (SIMPLE_NAME_IDENTIFIER | PLACEHOLDER) ;
|
||||
|
||||
access: scoped_expression '[' super_expression ']' ;
|
||||
array_access: scoped_expression '[' super_expression ']' ;
|
||||
|
||||
tuple_access: scoped_expression, '.' NUMBER_LITERAL
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ not_name_scoped_expression: block
|
|||
| array
|
||||
| PLACEHOLDER
|
||||
| name_definition
|
||||
| access
|
||||
| array_access
|
||||
| tuple_access
|
||||
| loop_control
|
||||
| reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue