@willbooster/tree-sitter-javascript 1.0.26 → 1.0.28
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 +5 -2
- package/package.json +1 -1
- package/src/node-types.json +4 -0
- package/tree-sitter-javascript.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -793,7 +793,10 @@ module.exports = grammar({
|
|
|
793
793
|
seq(
|
|
794
794
|
optional('async'),
|
|
795
795
|
choice(
|
|
796
|
-
field(
|
|
796
|
+
field(
|
|
797
|
+
'parameter',
|
|
798
|
+
choice(alias($._reserved_identifier, $.identifier), alias($.undefined, $.identifier), $.identifier)
|
|
799
|
+
),
|
|
797
800
|
$._call_signature
|
|
798
801
|
),
|
|
799
802
|
'=>',
|
|
@@ -899,7 +902,7 @@ module.exports = grammar({
|
|
|
899
902
|
$.member_expression,
|
|
900
903
|
$.subscript_expression,
|
|
901
904
|
alias($._reserved_identifier, $.identifier),
|
|
902
|
-
$.
|
|
905
|
+
$._identifier,
|
|
903
906
|
$.parenthesized_expression
|
|
904
907
|
),
|
|
905
908
|
|
package/package.json
CHANGED
package/src/node-types.json
CHANGED
|
Binary file
|