@willbooster/tree-sitter-cpp 1.3.4 → 1.4.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/package.json +3 -3
- package/queries/highlights.scm +2 -0
- package/src/node-types.json +56 -0
- package/tree-sitter-cpp.wasm +0 -0
- package/tree-sitter.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-cpp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "C++ grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"incremental",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@willbooster/oxlint-config": "1.4.8",
|
|
47
47
|
"@willbooster/tree-sitter-c": "1.1.6",
|
|
48
48
|
"@willbooster/wb": "22.13.2",
|
|
49
|
-
"@willbooster/web-tree-sitter": "1.
|
|
49
|
+
"@willbooster/web-tree-sitter": "1.1.1",
|
|
50
50
|
"conventional-changelog-conventionalcommits": "10.4.0",
|
|
51
51
|
"lefthook": "2.1.14",
|
|
52
52
|
"oxfmt": "0.70.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"wrangler": "4.136.2"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@willbooster/web-tree-sitter": "^1.
|
|
65
|
+
"@willbooster/web-tree-sitter": "^1.1.1"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|
|
68
68
|
"@willbooster/web-tree-sitter": {
|
package/queries/highlights.scm
CHANGED
package/src/node-types.json
CHANGED
|
@@ -582,6 +582,10 @@
|
|
|
582
582
|
"type": "attribute_specifier",
|
|
583
583
|
"named": true
|
|
584
584
|
},
|
|
585
|
+
{
|
|
586
|
+
"type": "contract_specifier",
|
|
587
|
+
"named": true
|
|
588
|
+
},
|
|
585
589
|
{
|
|
586
590
|
"type": "gnu_asm_expression",
|
|
587
591
|
"named": true
|
|
@@ -2192,6 +2196,42 @@
|
|
|
2192
2196
|
"named": true,
|
|
2193
2197
|
"fields": {}
|
|
2194
2198
|
},
|
|
2199
|
+
{
|
|
2200
|
+
"type": "contract_specifier",
|
|
2201
|
+
"named": true,
|
|
2202
|
+
"fields": {
|
|
2203
|
+
"condition": {
|
|
2204
|
+
"multiple": false,
|
|
2205
|
+
"required": true,
|
|
2206
|
+
"types": [
|
|
2207
|
+
{
|
|
2208
|
+
"type": "expression",
|
|
2209
|
+
"named": true
|
|
2210
|
+
}
|
|
2211
|
+
]
|
|
2212
|
+
},
|
|
2213
|
+
"result": {
|
|
2214
|
+
"multiple": false,
|
|
2215
|
+
"required": false,
|
|
2216
|
+
"types": [
|
|
2217
|
+
{
|
|
2218
|
+
"type": "identifier",
|
|
2219
|
+
"named": true
|
|
2220
|
+
}
|
|
2221
|
+
]
|
|
2222
|
+
}
|
|
2223
|
+
},
|
|
2224
|
+
"children": {
|
|
2225
|
+
"multiple": true,
|
|
2226
|
+
"required": false,
|
|
2227
|
+
"types": [
|
|
2228
|
+
{
|
|
2229
|
+
"type": "attribute_declaration",
|
|
2230
|
+
"named": true
|
|
2231
|
+
}
|
|
2232
|
+
]
|
|
2233
|
+
}
|
|
2234
|
+
},
|
|
2195
2235
|
{
|
|
2196
2236
|
"type": "declaration",
|
|
2197
2237
|
"named": true,
|
|
@@ -3656,6 +3696,10 @@
|
|
|
3656
3696
|
"type": "attribute_specifier",
|
|
3657
3697
|
"named": true
|
|
3658
3698
|
},
|
|
3699
|
+
{
|
|
3700
|
+
"type": "contract_specifier",
|
|
3701
|
+
"named": true
|
|
3702
|
+
},
|
|
3659
3703
|
{
|
|
3660
3704
|
"type": "gnu_asm_expression",
|
|
3661
3705
|
"named": true
|
|
@@ -4382,6 +4426,10 @@
|
|
|
4382
4426
|
"type": "attribute_declaration",
|
|
4383
4427
|
"named": true
|
|
4384
4428
|
},
|
|
4429
|
+
{
|
|
4430
|
+
"type": "contract_specifier",
|
|
4431
|
+
"named": true
|
|
4432
|
+
},
|
|
4385
4433
|
{
|
|
4386
4434
|
"type": "lambda_specifier",
|
|
4387
4435
|
"named": true
|
|
@@ -8842,6 +8890,14 @@
|
|
|
8842
8890
|
"type": "override",
|
|
8843
8891
|
"named": false
|
|
8844
8892
|
},
|
|
8893
|
+
{
|
|
8894
|
+
"type": "post",
|
|
8895
|
+
"named": false
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
"type": "pre",
|
|
8899
|
+
"named": false
|
|
8900
|
+
},
|
|
8845
8901
|
{
|
|
8846
8902
|
"type": "preproc_arg",
|
|
8847
8903
|
"named": true
|
package/tree-sitter-cpp.wasm
CHANGED
|
Binary file
|