access -> array_access

This commit is contained in:
ProgramSnail 2023-07-18 15:17:02 +03:00
parent f525fce6d7
commit 3b4be40ef7
4 changed files with 14 additions and 14 deletions

View file

@ -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