@willbooster/tree-sitter-go 2.1.1 → 2.1.3
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 -3
- package/package.json +9 -9
- package/tree-sitter-go.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -109,7 +109,6 @@ module.exports = grammar({
|
|
|
109
109
|
|
|
110
110
|
supertypes: $ => [
|
|
111
111
|
$._expression,
|
|
112
|
-
$._type,
|
|
113
112
|
$._simple_type,
|
|
114
113
|
$._statement,
|
|
115
114
|
$._simple_statement,
|
|
@@ -769,13 +768,13 @@ module.exports = grammar({
|
|
|
769
768
|
')',
|
|
770
769
|
)),
|
|
771
770
|
|
|
772
|
-
type_conversion_expression: $ => prec.dynamic(-1, seq(
|
|
771
|
+
type_conversion_expression: $ => prec(PREC.primary, prec.dynamic(-1, seq(
|
|
773
772
|
field('type', $._type),
|
|
774
773
|
'(',
|
|
775
774
|
field('operand', $._expression),
|
|
776
775
|
optional(','),
|
|
777
776
|
')',
|
|
778
|
-
)),
|
|
777
|
+
))),
|
|
779
778
|
|
|
780
779
|
type_instantiation_expression: $ => prec.dynamic(-1, seq(
|
|
781
780
|
field('type', $._type),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-go",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "Go grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"incremental",
|
|
@@ -46,19 +46,19 @@
|
|
|
46
46
|
"@vitest/browser-playwright": "5.0.3",
|
|
47
47
|
"@willbooster/oxfmt-config": "1.2.2",
|
|
48
48
|
"@willbooster/oxlint-config": "1.4.8",
|
|
49
|
-
"@willbooster/wb": "22.
|
|
50
|
-
"@willbooster/web-tree-sitter": "2.0.
|
|
51
|
-
"conventional-changelog-conventionalcommits": "10.4.
|
|
52
|
-
"lefthook": "2.1
|
|
53
|
-
"oxfmt": "0.
|
|
54
|
-
"oxlint": "1.
|
|
49
|
+
"@willbooster/wb": "22.26.1",
|
|
50
|
+
"@willbooster/web-tree-sitter": "2.0.25",
|
|
51
|
+
"conventional-changelog-conventionalcommits": "10.4.1",
|
|
52
|
+
"lefthook": "2.2.1",
|
|
53
|
+
"oxfmt": "0.72.0",
|
|
54
|
+
"oxlint": "1.87.0",
|
|
55
55
|
"oxlint-tsgolint": "7.0.2003",
|
|
56
|
-
"playwright": "1.
|
|
56
|
+
"playwright": "1.64.0",
|
|
57
57
|
"semantic-release": "25.0.9",
|
|
58
58
|
"sort-package-json": "4.0.0",
|
|
59
59
|
"typescript": "7.0.2",
|
|
60
60
|
"vitest": "5.0.3",
|
|
61
|
-
"wrangler": "4.
|
|
61
|
+
"wrangler": "4.149.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@willbooster/web-tree-sitter": "^2.0.0"
|
package/tree-sitter-go.wasm
CHANGED
|
Binary file
|