@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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-java",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "description": "Java grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -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
  },
Binary file
package/tree-sitter.json CHANGED
@@ -14,7 +14,7 @@
14
14
  }
15
15
  ],
16
16
  "metadata": {
17
- "version": "8.0.0",
17
+ "version": "8.0.2",
18
18
  "license": "MIT",
19
19
  "description": "Java grammar for tree-sitter",
20
20
  "authors": [