@willbooster/tree-sitter-kotlin 14.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 +2 -4
- package/package.json +1 -1
- package/tree-sitter-kotlin.wasm +0 -0
- package/tree-sitter.json +1 -1
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'),
|
|
@@ -1147,12 +1145,12 @@ function optionalCommaSep1(rule) {
|
|
|
1147
1145
|
}
|
|
1148
1146
|
|
|
1149
1147
|
/**
|
|
1150
|
-
* Creates the arguments of a call or an annotation
|
|
1148
|
+
* Creates the arguments of a call or an annotation.
|
|
1151
1149
|
*
|
|
1152
1150
|
* @param {GrammarSymbols} $
|
|
1153
1151
|
* @param {RuleOrLiteral} open
|
|
1154
1152
|
*
|
|
1155
1153
|
*/
|
|
1156
1154
|
function valueArguments($, open) {
|
|
1157
|
-
return seq(open, optionalCommaSep1($.value_argument),
|
|
1155
|
+
return seq(open, optionalCommaSep1($.value_argument), ')');
|
|
1158
1156
|
}
|
package/package.json
CHANGED
package/tree-sitter-kotlin.wasm
CHANGED
|
Binary file
|