@willbooster/tree-sitter-ruby 3.0.8 → 3.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grammar.js +8 -3
- package/package.json +1 -1
- package/tree-sitter-ruby.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -887,7 +887,8 @@ module.exports = grammar({
|
|
|
887
887
|
)
|
|
888
888
|
),
|
|
889
889
|
|
|
890
|
-
_receiver_command: ($) =>
|
|
890
|
+
_receiver_command: ($) =>
|
|
891
|
+
seq($._call, field('arguments', alias($._chained_command_argument_list, $.argument_list))),
|
|
891
892
|
|
|
892
893
|
_chained_command: ($) =>
|
|
893
894
|
seq($._chained_command_call, field('arguments', alias($._chained_command_argument_list, $.argument_list))),
|
|
@@ -896,9 +897,10 @@ module.exports = grammar({
|
|
|
896
897
|
choice(
|
|
897
898
|
commandCallWithBlock(
|
|
898
899
|
$,
|
|
899
|
-
|
|
900
|
+
field('method', choice($._variable, $._function_identifier, $.super)),
|
|
900
901
|
$.command_argument_list
|
|
901
902
|
),
|
|
903
|
+
commandCallWithBlock($, $._call, $._chained_command_argument_list),
|
|
902
904
|
commandCallWithBlock($, $._chained_command_call, $._chained_command_argument_list)
|
|
903
905
|
),
|
|
904
906
|
|
|
@@ -998,7 +1000,10 @@ module.exports = grammar({
|
|
|
998
1000
|
choice(field('method', choice($._variable, $._function_identifier, $.super)), $._call),
|
|
999
1001
|
field('arguments', alias($._yield_argument_list, $.argument_list))
|
|
1000
1002
|
),
|
|
1001
|
-
seq(
|
|
1003
|
+
seq(
|
|
1004
|
+
choice(field('method', $.super), $._call),
|
|
1005
|
+
field('arguments', alias($._yield_signed_argument_list, $.argument_list))
|
|
1006
|
+
)
|
|
1002
1007
|
),
|
|
1003
1008
|
|
|
1004
1009
|
_yield_signed_argument_list: ($) =>
|
package/package.json
CHANGED
package/tree-sitter-ruby.wasm
CHANGED
|
Binary file
|