@willbooster/tree-sitter-java 6.0.1 → 6.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
@@ -620,7 +620,7 @@ module.exports = grammar({
620
620
  record_pattern_component: $ => choice(
621
621
  $.underscore_pattern,
622
622
  seq(
623
- optional('final'),
623
+ repeat(choice($._annotation, 'final')),
624
624
  $._unannotated_type,
625
625
  choice($.identifier, $._reserved_identifier, $.underscore_pattern),
626
626
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-java",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "description": "Java grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -3218,10 +3218,18 @@
3218
3218
  "type": "_unannotated_type",
3219
3219
  "named": true
3220
3220
  },
3221
+ {
3222
+ "type": "annotation",
3223
+ "named": true
3224
+ },
3221
3225
  {
3222
3226
  "type": "identifier",
3223
3227
  "named": true
3224
3228
  },
3229
+ {
3230
+ "type": "marker_annotation",
3231
+ "named": true
3232
+ },
3225
3233
  {
3226
3234
  "type": "underscore_pattern",
3227
3235
  "named": true
Binary file
package/tree-sitter.json CHANGED
@@ -14,7 +14,7 @@
14
14
  }
15
15
  ],
16
16
  "metadata": {
17
- "version": "6.0.1",
17
+ "version": "6.0.2",
18
18
  "license": "MIT",
19
19
  "description": "Java grammar for tree-sitter",
20
20
  "authors": [