mirror of
https://codeberg.org/ProgramSnail/tree-sitter-lang.git
synced 2025-12-24 07:28:48 +00:00
or_out or_in references added
This commit is contained in:
parent
a75ea8012d
commit
1a237adf0e
3 changed files with 45 additions and 20 deletions
|
|
@ -255,7 +255,7 @@ module.exports = grammar({
|
|||
_do: $ => choice('=>', 'do'),
|
||||
_var_let: $ => choice(choice('%', 'let'), choice('$', 'var')),
|
||||
_optional_result: $ => choice('?', '!'),
|
||||
_reference: $ => choice(choice('->', 'out'), choice('<-', 'in'), choice('<>', 'ref')),
|
||||
_reference: $ => choice(choice('->', 'out'), choice('<-', 'in'), choice('<>', 'ref'), choice('|->', 'or_out'), choice('<-|', 'or_in')),
|
||||
|
||||
_name_identifier: $ => choice($.argument_name_identifier, $.simple_name_identifier),
|
||||
_type_identifier: $ => choice($.argument_type_identifier, $.simple_type_identifier),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue