Skip to content

Commit

Permalink
chore: regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Oct 15, 2024
1 parent 18bb23a commit 73c4447
Show file tree
Hide file tree
Showing 7 changed files with 97,989 additions and 98,250 deletions.
1 change: 1 addition & 0 deletions tsx/src/grammar.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
"name": "tsx",
"inherits": "javascript",
"word": "identifier",
Expand Down
1 change: 1 addition & 0 deletions tsx/src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -4456,6 +4456,7 @@
{
"type": "program",
"named": true,
"root": true,
"fields": {},
"children": {
"multiple": true,
Expand Down
8 changes: 4 additions & 4 deletions tsx/src/tree_sitter/alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ extern "C" {
// Allow clients to override allocation functions
#ifdef TREE_SITTER_REUSE_ALLOCATOR

extern void *(*ts_current_malloc)(size_t);
extern void *(*ts_current_calloc)(size_t, size_t);
extern void *(*ts_current_realloc)(void *, size_t);
extern void (*ts_current_free)(void *);
extern void *(*ts_current_malloc)(size_t size);
extern void *(*ts_current_calloc)(size_t count, size_t size);
extern void *(*ts_current_realloc)(void *ptr, size_t size);
extern void (*ts_current_free)(void *ptr);

#ifndef ts_malloc
#define ts_malloc ts_current_malloc
Expand Down
1 change: 1 addition & 0 deletions typescript/src/grammar.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
"name": "typescript",
"inherits": "javascript",
"word": "identifier",
Expand Down
266 changes: 1 addition & 265 deletions typescript/src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -3235,251 +3235,6 @@
]
}
},
{
"type": "jsx_attribute",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "jsx_element",
"named": true
},
{
"type": "jsx_expression",
"named": true
},
{
"type": "jsx_namespace_name",
"named": true
},
{
"type": "jsx_self_closing_element",
"named": true
},
{
"type": "property_identifier",
"named": true
},
{
"type": "string",
"named": true
}
]
}
},
{
"type": "jsx_closing_element",
"named": true,
"fields": {
"name": {
"multiple": false,
"required": false,
"types": [
{
"type": "identifier",
"named": true
},
{
"type": "jsx_namespace_name",
"named": true
},
{
"type": "member_expression",
"named": true
}
]
}
}
},
{
"type": "jsx_element",
"named": true,
"fields": {
"close_tag": {
"multiple": false,
"required": true,
"types": [
{
"type": "jsx_closing_element",
"named": true
}
]
},
"open_tag": {
"multiple": false,
"required": true,
"types": [
{
"type": "jsx_opening_element",
"named": true
}
]
}
},
"children": {
"multiple": true,
"required": false,
"types": [
{
"type": "html_character_reference",
"named": true
},
{
"type": "jsx_element",
"named": true
},
{
"type": "jsx_expression",
"named": true
},
{
"type": "jsx_self_closing_element",
"named": true
},
{
"type": "jsx_text",
"named": true
}
]
}
},
{
"type": "jsx_expression",
"named": true,
"fields": {},
"children": {
"multiple": false,
"required": false,
"types": [
{
"type": "expression",
"named": true
},
{
"type": "sequence_expression",
"named": true
},
{
"type": "spread_element",
"named": true
}
]
}
},
{
"type": "jsx_namespace_name",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "identifier",
"named": true
}
]
}
},
{
"type": "jsx_opening_element",
"named": true,
"fields": {
"attribute": {
"multiple": true,
"required": false,
"types": [
{
"type": "jsx_attribute",
"named": true
},
{
"type": "jsx_expression",
"named": true
}
]
},
"name": {
"multiple": false,
"required": false,
"types": [
{
"type": "identifier",
"named": true
},
{
"type": "jsx_namespace_name",
"named": true
},
{
"type": "member_expression",
"named": true
}
]
},
"type_arguments": {
"multiple": false,
"required": false,
"types": [
{
"type": "type_arguments",
"named": true
}
]
}
}
},
{
"type": "jsx_self_closing_element",
"named": true,
"fields": {
"attribute": {
"multiple": true,
"required": false,
"types": [
{
"type": "jsx_attribute",
"named": true
},
{
"type": "jsx_expression",
"named": true
}
]
},
"name": {
"multiple": false,
"required": false,
"types": [
{
"type": "identifier",
"named": true
},
{
"type": "jsx_namespace_name",
"named": true
},
{
"type": "member_expression",
"named": true
}
]
},
"type_arguments": {
"multiple": false,
"required": false,
"types": [
{
"type": "type_arguments",
"named": true
}
]
}
}
},
{
"type": "labeled_statement",
"named": true,
Expand Down Expand Up @@ -4452,6 +4207,7 @@
{
"type": "program",
"named": true,
"root": true,
"fields": {},
"children": {
"multiple": true,
Expand Down Expand Up @@ -4868,10 +4624,6 @@
"type": "escape_sequence",
"named": true
},
{
"type": "html_character_reference",
"named": true
},
{
"type": "string_fragment",
"named": true
Expand Down Expand Up @@ -5789,10 +5541,6 @@
"type": "/=",
"named": false
},
{
"type": "/>",
"named": false
},
{
"type": ":",
"named": false
Expand All @@ -5805,10 +5553,6 @@
"type": "<",
"named": false
},
{
"type": "</",
"named": false
},
{
"type": "<<",
"named": false
Expand Down Expand Up @@ -6049,10 +5793,6 @@
"type": "hash_bang_line",
"named": true
},
{
"type": "html_character_reference",
"named": true
},
{
"type": "html_comment",
"named": true
Expand Down Expand Up @@ -6089,10 +5829,6 @@
"type": "is",
"named": false
},
{
"type": "jsx_text",
"named": true
},
{
"type": "keyof",
"named": false
Expand Down
Loading

0 comments on commit 73c4447

Please sign in to comment.