Skip to content

Commit

Permalink
regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
yuja committed Apr 28, 2024
1 parent 5058861 commit 239f262
Show file tree
Hide file tree
Showing 5 changed files with 282,704 additions and 281,530 deletions.
100 changes: 66 additions & 34 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -1482,33 +1482,49 @@
]
},
"do_statement": {
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "do"
},
{
"type": "FIELD",
"name": "body",
"content": {
"type": "SYMBOL",
"name": "statement"
}
},
{
"type": "STRING",
"value": "while"
},
{
"type": "FIELD",
"name": "condition",
"content": {
"type": "SYMBOL",
"name": "parenthesized_expression"
"type": "PREC_RIGHT",
"value": 0,
"content": {
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "do"
},
{
"type": "FIELD",
"name": "body",
"content": {
"type": "SYMBOL",
"name": "statement"
}
},
{
"type": "STRING",
"value": "while"
},
{
"type": "FIELD",
"name": "condition",
"content": {
"type": "SYMBOL",
"name": "parenthesized_expression"
}
},
{
"type": "CHOICE",
"members": [
{
"type": "SYMBOL",
"name": "_semicolon"
},
{
"type": "BLANK"
}
]
}
}
]
]
}
},
"try_statement": {
"type": "SEQ",
Expand Down Expand Up @@ -3205,7 +3221,7 @@
"value": 1,
"content": {
"type": "PATTERN",
"value": "[^\"&]+"
"value": "([^\"&]|&[^#A-Za-z])+"
}
}
},
Expand All @@ -3216,7 +3232,7 @@
"value": 1,
"content": {
"type": "PATTERN",
"value": "[^'&]+"
"value": "([^'&]|&[^#A-Za-z])+"
}
}
},
Expand Down Expand Up @@ -5533,7 +5549,7 @@
},
{
"type": "PATTERN",
"value": "u{[0-9a-fA-F]+}"
"value": "u\\{[0-9a-fA-F]+\\}"
},
{
"type": "PATTERN",
Expand Down Expand Up @@ -5660,8 +5676,12 @@
{
"type": "IMMEDIATE_TOKEN",
"content": {
"type": "STRING",
"value": "/"
"type": "PREC",
"value": 1,
"content": {
"type": "STRING",
"value": "/"
}
}
},
{
Expand Down Expand Up @@ -9372,8 +9392,13 @@
"type": "CHOICE",
"members": [
{
"type": "SYMBOL",
"name": "_template_chars"
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "_template_chars"
},
"named": true,
"value": "string_fragment"
},
{
"type": "SYMBOL",
Expand Down Expand Up @@ -13164,9 +13189,17 @@
"type": "SYMBOL",
"name": "escape_sequence"
},
{
"type": "SYMBOL",
"name": "regex_pattern"
},
{
"type": "SYMBOL",
"name": "_function_signature_automatic_semicolon"
},
{
"type": "SYMBOL",
"name": "__error_recovery"
}
],
"inline": [
Expand Down Expand Up @@ -13207,4 +13240,3 @@
"_ui_script_statement"
]
}

4 changes: 4 additions & 0 deletions src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -5513,6 +5513,10 @@
"multiple": true,
"required": false,
"types": [
{
"type": "string_fragment",
"named": true
},
{
"type": "template_type",
"named": true
Expand Down
Loading

0 comments on commit 239f262

Please sign in to comment.