Skip to content

Commit

Permalink
chore: generate
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw committed Mar 20, 2024
1 parent 860ea00 commit d1330f5
Show file tree
Hide file tree
Showing 4 changed files with 11,942 additions and 12,191 deletions.
110 changes: 52 additions & 58 deletions php/src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -7291,72 +7291,62 @@
}
},
"string": {
"type": "SEQ",
"members": [
{
"type": "CHOICE",
"members": [
{
"type": "PATTERN",
"value": "[bB]'"
},
{
"type": "STRING",
"value": "'"
}
]
},
{
"type": "REPEAT",
"content": {
"type": "PREC_RIGHT",
"value": 0,
"content": {
"type": "SEQ",
"members": [
{
"type": "CHOICE",
"members": [
{
"type": "ALIAS",
"content": {
"type": "TOKEN",
"content": {
"type": "CHOICE",
"members": [
{
"type": "STRING",
"value": "\\\\"
},
{
"type": "STRING",
"value": "\\'"
}
]
}
},
"named": true,
"value": "escape_sequence"
"type": "PATTERN",
"value": "[bB]'"
},
{
"type": "SYMBOL",
"name": "string_value"
"type": "STRING",
"value": "'"
}
]
},
{
"type": "REPEAT",
"content": {
"type": "CHOICE",
"members": [
{
"type": "ALIAS",
"content": {
"type": "TOKEN",
"content": {
"type": "CHOICE",
"members": [
{
"type": "STRING",
"value": "\\\\"
},
{
"type": "STRING",
"value": "\\'"
}
]
}
},
"named": true,
"value": "escape_sequence"
},
{
"type": "SYMBOL",
"name": "string_value"
}
]
}
},
{
"type": "STRING",
"value": "'"
}
},
{
"type": "STRING",
"value": "'"
}
]
},
"string_value": {
"type": "TOKEN",
"content": {
"type": "PREC",
"value": 1,
"content": {
"type": "REPEAT1",
"content": {
"type": "PATTERN",
"value": "\\\\?[^'\\\\]"
}
}
]
}
},
"heredoc_body": {
Expand Down Expand Up @@ -9179,6 +9169,10 @@
"type": "SYMBOL",
"name": "_automatic_semicolon"
},
{
"type": "SYMBOL",
"name": "string_value"
},
{
"type": "SYMBOL",
"name": "encapsed_string_chars"
Expand Down
Loading

0 comments on commit d1330f5

Please sign in to comment.