@willbooster/tree-sitter-java 8.0.0 → 8.0.2
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 +2 -0
- package/package.json +1 -1
- package/src/node-types.json +8 -0
- package/tree-sitter-java.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -347,6 +347,7 @@ module.exports = grammar({
|
|
|
347
347
|
$._reserved_identifier,
|
|
348
348
|
$.field_access,
|
|
349
349
|
$.array_access,
|
|
350
|
+
$.parenthesized_expression,
|
|
350
351
|
)),
|
|
351
352
|
field('operator', choice('=', '+=', '-=', '*=', '/=', '&=', '|=', '^=', '%=', '<<=', '>>=', '>>>=')),
|
|
352
353
|
field('right', $.expression),
|
|
@@ -1142,6 +1143,7 @@ module.exports = grammar({
|
|
|
1142
1143
|
$.annotation_type_element_declaration,
|
|
1143
1144
|
$.constant_declaration,
|
|
1144
1145
|
$.class_declaration,
|
|
1146
|
+
$.record_declaration,
|
|
1145
1147
|
$.interface_declaration,
|
|
1146
1148
|
$.enum_declaration,
|
|
1147
1149
|
$.annotation_type_declaration,
|
package/package.json
CHANGED
package/src/node-types.json
CHANGED
|
@@ -470,6 +470,10 @@
|
|
|
470
470
|
{
|
|
471
471
|
"type": "interface_declaration",
|
|
472
472
|
"named": true
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"type": "record_declaration",
|
|
476
|
+
"named": true
|
|
473
477
|
}
|
|
474
478
|
]
|
|
475
479
|
}
|
|
@@ -800,6 +804,10 @@
|
|
|
800
804
|
{
|
|
801
805
|
"type": "identifier",
|
|
802
806
|
"named": true
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"type": "parenthesized_expression",
|
|
810
|
+
"named": true
|
|
803
811
|
}
|
|
804
812
|
]
|
|
805
813
|
},
|
package/tree-sitter-java.wasm
CHANGED
|
Binary file
|