mirror of
https://codeberg.org/ProgramSnail/tree-sitter-lang.git
synced 2025-12-08 15:48:49 +00:00
access -> array_access
This commit is contained in:
parent
f525fce6d7
commit
3b4be40ef7
4 changed files with 14 additions and 14 deletions
|
|
@ -139,7 +139,7 @@ module.exports = grammar({
|
|||
choice($.simple_name_identifier, $.placeholder),
|
||||
),
|
||||
|
||||
access: $ => seq($._scoped_expression, '[', $._super_expression, ']'),
|
||||
array_access: $ => seq($._scoped_expression, '[', $._super_expression, ']'),
|
||||
|
||||
tuple_access: $ => seq($._scoped_expression, '.', $.number_literal),
|
||||
|
||||
|
|
@ -202,7 +202,7 @@ module.exports = grammar({
|
|||
$.array,
|
||||
$.placeholder,
|
||||
$.name_definition,
|
||||
$.access,
|
||||
$.array_access,
|
||||
$.tuple_access,
|
||||
$.loop_control,
|
||||
$.reference,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue