@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 +2 -5
- 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'),
|
|
@@ -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
|
|
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),
|
|
1155
|
+
return seq(open, optionalCommaSep1($.value_argument), ')');
|
|
1159
1156
|
}
|
package/package.json
CHANGED
package/tree-sitter-kotlin.wasm
CHANGED
|
Binary file
|