Skip to content

Commit 73c4447

Browse files
committed
chore: regenerate
1 parent 18bb23a commit 73c4447

File tree

7 files changed

+97989
-98250
lines changed

7 files changed

+97989
-98250
lines changed

tsx/src/grammar.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
23
"name": "tsx",
34
"inherits": "javascript",
45
"word": "identifier",

tsx/src/node-types.json

+1
Original file line numberDiff line numberDiff line change
@@ -4456,6 +4456,7 @@
44564456
{
44574457
"type": "program",
44584458
"named": true,
4459+
"root": true,
44594460
"fields": {},
44604461
"children": {
44614462
"multiple": true,

tsx/src/tree_sitter/alloc.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ extern "C" {
1212
// Allow clients to override allocation functions
1313
#ifdef TREE_SITTER_REUSE_ALLOCATOR
1414

15-
extern void *(*ts_current_malloc)(size_t);
16-
extern void *(*ts_current_calloc)(size_t, size_t);
17-
extern void *(*ts_current_realloc)(void *, size_t);
18-
extern void (*ts_current_free)(void *);
15+
extern void *(*ts_current_malloc)(size_t size);
16+
extern void *(*ts_current_calloc)(size_t count, size_t size);
17+
extern void *(*ts_current_realloc)(void *ptr, size_t size);
18+
extern void (*ts_current_free)(void *ptr);
1919

2020
#ifndef ts_malloc
2121
#define ts_malloc ts_current_malloc

typescript/src/grammar.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
23
"name": "typescript",
34
"inherits": "javascript",
45
"word": "identifier",

typescript/src/node-types.json

+1-265
Original file line numberDiff line numberDiff line change
@@ -3235,251 +3235,6 @@
32353235
]
32363236
}
32373237
},
3238-
{
3239-
"type": "jsx_attribute",
3240-
"named": true,
3241-
"fields": {},
3242-
"children": {
3243-
"multiple": true,
3244-
"required": true,
3245-
"types": [
3246-
{
3247-
"type": "jsx_element",
3248-
"named": true
3249-
},
3250-
{
3251-
"type": "jsx_expression",
3252-
"named": true
3253-
},
3254-
{
3255-
"type": "jsx_namespace_name",
3256-
"named": true
3257-
},
3258-
{
3259-
"type": "jsx_self_closing_element",
3260-
"named": true
3261-
},
3262-
{
3263-
"type": "property_identifier",
3264-
"named": true
3265-
},
3266-
{
3267-
"type": "string",
3268-
"named": true
3269-
}
3270-
]
3271-
}
3272-
},
3273-
{
3274-
"type": "jsx_closing_element",
3275-
"named": true,
3276-
"fields": {
3277-
"name": {
3278-
"multiple": false,
3279-
"required": false,
3280-
"types": [
3281-
{
3282-
"type": "identifier",
3283-
"named": true
3284-
},
3285-
{
3286-
"type": "jsx_namespace_name",
3287-
"named": true
3288-
},
3289-
{
3290-
"type": "member_expression",
3291-
"named": true
3292-
}
3293-
]
3294-
}
3295-
}
3296-
},
3297-
{
3298-
"type": "jsx_element",
3299-
"named": true,
3300-
"fields": {
3301-
"close_tag": {
3302-
"multiple": false,
3303-
"required": true,
3304-
"types": [
3305-
{
3306-
"type": "jsx_closing_element",
3307-
"named": true
3308-
}
3309-
]
3310-
},
3311-
"open_tag": {
3312-
"multiple": false,
3313-
"required": true,
3314-
"types": [
3315-
{
3316-
"type": "jsx_opening_element",
3317-
"named": true
3318-
}
3319-
]
3320-
}
3321-
},
3322-
"children": {
3323-
"multiple": true,
3324-
"required": false,
3325-
"types": [
3326-
{
3327-
"type": "html_character_reference",
3328-
"named": true
3329-
},
3330-
{
3331-
"type": "jsx_element",
3332-
"named": true
3333-
},
3334-
{
3335-
"type": "jsx_expression",
3336-
"named": true
3337-
},
3338-
{
3339-
"type": "jsx_self_closing_element",
3340-
"named": true
3341-
},
3342-
{
3343-
"type": "jsx_text",
3344-
"named": true
3345-
}
3346-
]
3347-
}
3348-
},
3349-
{
3350-
"type": "jsx_expression",
3351-
"named": true,
3352-
"fields": {},
3353-
"children": {
3354-
"multiple": false,
3355-
"required": false,
3356-
"types": [
3357-
{
3358-
"type": "expression",
3359-
"named": true
3360-
},
3361-
{
3362-
"type": "sequence_expression",
3363-
"named": true
3364-
},
3365-
{
3366-
"type": "spread_element",
3367-
"named": true
3368-
}
3369-
]
3370-
}
3371-
},
3372-
{
3373-
"type": "jsx_namespace_name",
3374-
"named": true,
3375-
"fields": {},
3376-
"children": {
3377-
"multiple": true,
3378-
"required": true,
3379-
"types": [
3380-
{
3381-
"type": "identifier",
3382-
"named": true
3383-
}
3384-
]
3385-
}
3386-
},
3387-
{
3388-
"type": "jsx_opening_element",
3389-
"named": true,
3390-
"fields": {
3391-
"attribute": {
3392-
"multiple": true,
3393-
"required": false,
3394-
"types": [
3395-
{
3396-
"type": "jsx_attribute",
3397-
"named": true
3398-
},
3399-
{
3400-
"type": "jsx_expression",
3401-
"named": true
3402-
}
3403-
]
3404-
},
3405-
"name": {
3406-
"multiple": false,
3407-
"required": false,
3408-
"types": [
3409-
{
3410-
"type": "identifier",
3411-
"named": true
3412-
},
3413-
{
3414-
"type": "jsx_namespace_name",
3415-
"named": true
3416-
},
3417-
{
3418-
"type": "member_expression",
3419-
"named": true
3420-
}
3421-
]
3422-
},
3423-
"type_arguments": {
3424-
"multiple": false,
3425-
"required": false,
3426-
"types": [
3427-
{
3428-
"type": "type_arguments",
3429-
"named": true
3430-
}
3431-
]
3432-
}
3433-
}
3434-
},
3435-
{
3436-
"type": "jsx_self_closing_element",
3437-
"named": true,
3438-
"fields": {
3439-
"attribute": {
3440-
"multiple": true,
3441-
"required": false,
3442-
"types": [
3443-
{
3444-
"type": "jsx_attribute",
3445-
"named": true
3446-
},
3447-
{
3448-
"type": "jsx_expression",
3449-
"named": true
3450-
}
3451-
]
3452-
},
3453-
"name": {
3454-
"multiple": false,
3455-
"required": false,
3456-
"types": [
3457-
{
3458-
"type": "identifier",
3459-
"named": true
3460-
},
3461-
{
3462-
"type": "jsx_namespace_name",
3463-
"named": true
3464-
},
3465-
{
3466-
"type": "member_expression",
3467-
"named": true
3468-
}
3469-
]
3470-
},
3471-
"type_arguments": {
3472-
"multiple": false,
3473-
"required": false,
3474-
"types": [
3475-
{
3476-
"type": "type_arguments",
3477-
"named": true
3478-
}
3479-
]
3480-
}
3481-
}
3482-
},
34833238
{
34843239
"type": "labeled_statement",
34853240
"named": true,
@@ -4452,6 +4207,7 @@
44524207
{
44534208
"type": "program",
44544209
"named": true,
4210+
"root": true,
44554211
"fields": {},
44564212
"children": {
44574213
"multiple": true,
@@ -4868,10 +4624,6 @@
48684624
"type": "escape_sequence",
48694625
"named": true
48704626
},
4871-
{
4872-
"type": "html_character_reference",
4873-
"named": true
4874-
},
48754627
{
48764628
"type": "string_fragment",
48774629
"named": true
@@ -5789,10 +5541,6 @@
57895541
"type": "/=",
57905542
"named": false
57915543
},
5792-
{
5793-
"type": "/>",
5794-
"named": false
5795-
},
57965544
{
57975545
"type": ":",
57985546
"named": false
@@ -5805,10 +5553,6 @@
58055553
"type": "<",
58065554
"named": false
58075555
},
5808-
{
5809-
"type": "</",
5810-
"named": false
5811-
},
58125556
{
58135557
"type": "<<",
58145558
"named": false
@@ -6049,10 +5793,6 @@
60495793
"type": "hash_bang_line",
60505794
"named": true
60515795
},
6052-
{
6053-
"type": "html_character_reference",
6054-
"named": true
6055-
},
60565796
{
60575797
"type": "html_comment",
60585798
"named": true
@@ -6089,10 +5829,6 @@
60895829
"type": "is",
60905830
"named": false
60915831
},
6092-
{
6093-
"type": "jsx_text",
6094-
"named": true
6095-
},
60965832
{
60975833
"type": "keyof",
60985834
"named": false

0 commit comments

Comments
 (0)