@willbooster/tree-sitter-kotlin 13.0.0 → 15.0.0

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
@@ -130,8 +130,6 @@ module.exports = grammar({
130
130
  sym('_primary_constructor_position'),
131
131
  // empty: it ends a delegation expression in a class header before `{` (see `explicit_delegation`)
132
132
  sym('_delegation_end'),
133
- // the `)` that ends a call's arguments (see `value_arguments`)
134
- sym('_arguments_end'),
135
133
  // empty: they tell the scanner when a statement list, the entries of a `when`, or the member list of a class body
136
134
  // opens in braces, and when any closes (see `frames` in the scanner)
137
135
  sym('_open_statements'),
@@ -145,7 +143,6 @@ module.exports = grammar({
145
143
  sym('_keyword_reference'),
146
144
  // never scanned: see `_template_name`
147
145
  sym('_keyword_reference_end'),
148
- 'where',
149
146
  sym('_separated_member_start'),
150
147
  sym('_unseparated_member_start'),
151
148
  sym('_infix_position'),
@@ -1148,12 +1145,12 @@ function optionalCommaSep1(rule) {
1148
1145
  }
1149
1146
 
1150
1147
  /**
1151
- * Creates the arguments of a call or an annotation, ending them with the scanner's `)` token.
1148
+ * Creates the arguments of a call or an annotation.
1152
1149
  *
1153
1150
  * @param {GrammarSymbols} $
1154
1151
  * @param {RuleOrLiteral} open
1155
1152
  *
1156
1153
  */
1157
1154
  function valueArguments($, open) {
1158
- return seq(open, optionalCommaSep1($.value_argument), alias(sym('_arguments_end'), ')'));
1155
+ return seq(open, optionalCommaSep1($.value_argument), ')');
1159
1156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-kotlin",
3
- "version": "13.0.0",
3
+ "version": "15.0.0",
4
4
  "description": "Kotlin grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
Binary file
package/tree-sitter.json CHANGED
@@ -13,7 +13,7 @@
13
13
  }
14
14
  ],
15
15
  "metadata": {
16
- "version": "13.0.0",
16
+ "version": "15.0.0",
17
17
  "license": "MIT",
18
18
  "description": "Kotlin grammar for tree-sitter",
19
19
  "authors": [