Skip to content

Commit

Permalink
chore: generate
Browse files Browse the repository at this point in the history
  • Loading branch information
crawford committed Jun 24, 2024
1 parent fc72ea1 commit 35a3762
Show file tree
Hide file tree
Showing 6 changed files with 542,819 additions and 537,852 deletions.
32 changes: 31 additions & 1 deletion tsx/src/grammar.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"0": "j",
"1": "a",
"2": "v",
"3": "a",
"4": "s",
"5": "c",
"6": "r",
"7": "i",
"8": "p",
"9": "t",
"name": "tsx",
"inherits": "javascript",
"word": "identifier",
"rules": {
"program": {
Expand Down Expand Up @@ -2006,6 +2015,10 @@
"type": "SYMBOL",
"name": "internal_module"
},
{
"type": "SYMBOL",
"name": "global_namespace"
},
{
"type": "SYMBOL",
"name": "primary_expression"
Expand Down Expand Up @@ -7553,6 +7566,23 @@
}
]
},
"global_namespace": {
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "global"
},
{
"type": "FIELD",
"name": "body",
"content": {
"type": "SYMBOL",
"name": "statement_block"
}
}
]
},
"_import_identifier": {
"type": "CHOICE",
"members": [
Expand Down
24 changes: 22 additions & 2 deletions tsx/src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@
"type": "glimmer_template",
"named": true
},
{
"type": "global_namespace",
"named": true
},
{
"type": "instantiation_expression",
"named": true
Expand Down Expand Up @@ -2888,6 +2892,22 @@
}
}
},
{
"type": "global_namespace",
"named": true,
"fields": {
"body": {
"multiple": false,
"required": true,
"types": [
{
"type": "statement_block",
"named": true
}
]
}
}
},
{
"type": "identifier",
"named": true,
Expand Down Expand Up @@ -6554,11 +6574,11 @@
},
{
"type": "number",
"named": false
"named": true
},
{
"type": "number",
"named": true
"named": false
},
{
"type": "object",
Expand Down
Loading

0 comments on commit 35a3762

Please sign in to comment.