@willbooster/tree-sitter-cpp 38.0.0 → 40.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/package.json +2 -2
- package/src/node-types.json +117 -1
- 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": "
|
|
3
|
+
"version": "40.0.0",
|
|
4
4
|
"description": "C++ grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cpp",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@types/bun": "1.4.4",
|
|
47
47
|
"@vitest/browser-playwright": "5.1.0",
|
|
48
48
|
"@willbooster/oxlint-config": "1.4.9",
|
|
49
|
-
"@willbooster/tree-sitter-c": "
|
|
49
|
+
"@willbooster/tree-sitter-c": "41.0.0",
|
|
50
50
|
"@willbooster/wb": "23.6.1",
|
|
51
51
|
"@willbooster/web-tree-sitter": "23.0.2",
|
|
52
52
|
"conventional-changelog-conventionalcommits": "10.4.1",
|
package/src/node-types.json
CHANGED
|
@@ -7183,6 +7183,10 @@
|
|
|
7183
7183
|
"type": "alias_declaration",
|
|
7184
7184
|
"named": true
|
|
7185
7185
|
},
|
|
7186
|
+
{
|
|
7187
|
+
"type": "catch_clause",
|
|
7188
|
+
"named": true
|
|
7189
|
+
},
|
|
7186
7190
|
{
|
|
7187
7191
|
"type": "comment",
|
|
7188
7192
|
"named": true
|
|
@@ -7411,6 +7415,10 @@
|
|
|
7411
7415
|
"type": "alias_declaration",
|
|
7412
7416
|
"named": true
|
|
7413
7417
|
},
|
|
7418
|
+
{
|
|
7419
|
+
"type": "catch_clause",
|
|
7420
|
+
"named": true
|
|
7421
|
+
},
|
|
7414
7422
|
{
|
|
7415
7423
|
"type": "comment",
|
|
7416
7424
|
"named": true
|
|
@@ -9131,7 +9139,7 @@
|
|
|
9131
9139
|
"fields": {
|
|
9132
9140
|
"body": {
|
|
9133
9141
|
"multiple": false,
|
|
9134
|
-
"required":
|
|
9142
|
+
"required": false,
|
|
9135
9143
|
"types": [
|
|
9136
9144
|
{
|
|
9137
9145
|
"type": "compound_statement",
|
|
@@ -9144,13 +9152,121 @@
|
|
|
9144
9152
|
"multiple": true,
|
|
9145
9153
|
"required": true,
|
|
9146
9154
|
"types": [
|
|
9155
|
+
{
|
|
9156
|
+
"type": "alias_declaration",
|
|
9157
|
+
"named": true
|
|
9158
|
+
},
|
|
9147
9159
|
{
|
|
9148
9160
|
"type": "catch_clause",
|
|
9149
9161
|
"named": true
|
|
9150
9162
|
},
|
|
9163
|
+
{
|
|
9164
|
+
"type": "concept_definition",
|
|
9165
|
+
"named": true
|
|
9166
|
+
},
|
|
9167
|
+
{
|
|
9168
|
+
"type": "consteval_block_declaration",
|
|
9169
|
+
"named": true
|
|
9170
|
+
},
|
|
9171
|
+
{
|
|
9172
|
+
"type": "declaration",
|
|
9173
|
+
"named": true
|
|
9174
|
+
},
|
|
9175
|
+
{
|
|
9176
|
+
"type": "export_declaration",
|
|
9177
|
+
"named": true
|
|
9178
|
+
},
|
|
9151
9179
|
{
|
|
9152
9180
|
"type": "field_initializer_list",
|
|
9153
9181
|
"named": true
|
|
9182
|
+
},
|
|
9183
|
+
{
|
|
9184
|
+
"type": "function_definition",
|
|
9185
|
+
"named": true
|
|
9186
|
+
},
|
|
9187
|
+
{
|
|
9188
|
+
"type": "import_declaration",
|
|
9189
|
+
"named": true
|
|
9190
|
+
},
|
|
9191
|
+
{
|
|
9192
|
+
"type": "linkage_specification",
|
|
9193
|
+
"named": true
|
|
9194
|
+
},
|
|
9195
|
+
{
|
|
9196
|
+
"type": "macro_specifier",
|
|
9197
|
+
"named": true
|
|
9198
|
+
},
|
|
9199
|
+
{
|
|
9200
|
+
"type": "ms_declspec_modifier",
|
|
9201
|
+
"named": true
|
|
9202
|
+
},
|
|
9203
|
+
{
|
|
9204
|
+
"type": "namespace_alias_definition",
|
|
9205
|
+
"named": true
|
|
9206
|
+
},
|
|
9207
|
+
{
|
|
9208
|
+
"type": "namespace_definition",
|
|
9209
|
+
"named": true
|
|
9210
|
+
},
|
|
9211
|
+
{
|
|
9212
|
+
"type": "preproc_call",
|
|
9213
|
+
"named": true
|
|
9214
|
+
},
|
|
9215
|
+
{
|
|
9216
|
+
"type": "preproc_def",
|
|
9217
|
+
"named": true
|
|
9218
|
+
},
|
|
9219
|
+
{
|
|
9220
|
+
"type": "preproc_function_def",
|
|
9221
|
+
"named": true
|
|
9222
|
+
},
|
|
9223
|
+
{
|
|
9224
|
+
"type": "preproc_if",
|
|
9225
|
+
"named": true
|
|
9226
|
+
},
|
|
9227
|
+
{
|
|
9228
|
+
"type": "preproc_ifdef",
|
|
9229
|
+
"named": true
|
|
9230
|
+
},
|
|
9231
|
+
{
|
|
9232
|
+
"type": "preproc_include",
|
|
9233
|
+
"named": true
|
|
9234
|
+
},
|
|
9235
|
+
{
|
|
9236
|
+
"type": "statement",
|
|
9237
|
+
"named": true
|
|
9238
|
+
},
|
|
9239
|
+
{
|
|
9240
|
+
"type": "static_assert_declaration",
|
|
9241
|
+
"named": true
|
|
9242
|
+
},
|
|
9243
|
+
{
|
|
9244
|
+
"type": "storage_class_specifier",
|
|
9245
|
+
"named": true
|
|
9246
|
+
},
|
|
9247
|
+
{
|
|
9248
|
+
"type": "template_declaration",
|
|
9249
|
+
"named": true
|
|
9250
|
+
},
|
|
9251
|
+
{
|
|
9252
|
+
"type": "template_instantiation",
|
|
9253
|
+
"named": true
|
|
9254
|
+
},
|
|
9255
|
+
{
|
|
9256
|
+
"type": "type_definition",
|
|
9257
|
+
"named": true
|
|
9258
|
+
},
|
|
9259
|
+
{
|
|
9260
|
+
"type": "type_qualifier",
|
|
9261
|
+
"named": true
|
|
9262
|
+
},
|
|
9263
|
+
{
|
|
9264
|
+
"type": "type_specifier",
|
|
9265
|
+
"named": true
|
|
9266
|
+
},
|
|
9267
|
+
{
|
|
9268
|
+
"type": "using_declaration",
|
|
9269
|
+
"named": true
|
|
9154
9270
|
}
|
|
9155
9271
|
]
|
|
9156
9272
|
}
|
package/tree-sitter-cpp.wasm
CHANGED
|
Binary file
|