Skip to content

Commit

Permalink
chore: generate
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw authored and cfroystad committed Feb 1, 2024
1 parent d89dc4c commit 71f56a9
Show file tree
Hide file tree
Showing 6 changed files with 144,367 additions and 146,319 deletions.
255 changes: 110 additions & 145 deletions php/src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -4593,6 +4593,10 @@
"type": "SYMBOL",
"name": "_unary_expression"
},
{
"type": "SYMBOL",
"name": "error_suppression_expression"
},
{
"type": "SYMBOL",
"name": "binary_expression"
Expand Down Expand Up @@ -4626,10 +4630,6 @@
"type": "SYMBOL",
"name": "_primary_expression"
},
{
"type": "SYMBOL",
"name": "exponentiation_expression"
},
{
"type": "SYMBOL",
"name": "unary_op_expression"
Expand All @@ -4641,140 +4641,64 @@
]
},
"unary_op_expression": {
"type": "CHOICE",
"members": [
{
"type": "PREC",
"value": 21,
"content": {
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "@"
},
{
"type": "SYMBOL",
"name": "_expression"
}
]
}
},
{
"type": "PREC_LEFT",
"value": 19,
"content": {
"type": "SEQ",
"members": [
{
"type": "CHOICE",
"members": [
{
"type": "STRING",
"value": "+"
},
{
"type": "STRING",
"value": "-"
},
{
"type": "STRING",
"value": "~"
},
{
"type": "STRING",
"value": "!"
}
]
},
{
"type": "SYMBOL",
"name": "_expression"
}
]
}
}
]
},
"exponentiation_expression": {
"type": "PREC_RIGHT",
"value": 18,
"type": "PREC_LEFT",
"value": 19,
"content": {
"type": "SEQ",
"members": [
{
"type": "FIELD",
"name": "left",
"name": "operator",
"content": {
"type": "CHOICE",
"members": [
{
"type": "SYMBOL",
"name": "clone_expression"
"type": "STRING",
"value": "+"
},
{
"type": "SYMBOL",
"name": "_primary_expression"
"type": "STRING",
"value": "-"
},
{
"type": "SYMBOL",
"name": "unary_op_expression"
"type": "STRING",
"value": "~"
},
{
"type": "SYMBOL",
"name": "match_expression"
"type": "STRING",
"value": "!"
}
]
}
},
{
"type": "STRING",
"value": "**"
},
{
"type": "FIELD",
"name": "right",
"name": "argument",
"content": {
"type": "CHOICE",
"members": [
{
"type": "SYMBOL",
"name": "exponentiation_expression"
},
{
"type": "SYMBOL",
"name": "clone_expression"
},
{
"type": "SYMBOL",
"name": "unary_op_expression"
},
{
"type": "SYMBOL",
"name": "_primary_expression"
},
{
"type": "SYMBOL",
"name": "augmented_assignment_expression"
},
{
"type": "SYMBOL",
"name": "assignment_expression"
},
{
"type": "SYMBOL",
"name": "match_expression"
},
{
"type": "SYMBOL",
"name": "cast_expression"
}
]
"type": "SYMBOL",
"name": "_expression"
}
}
]
}
},
"error_suppression_expression": {
"type": "PREC",
"value": 21,
"content": {
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "@"
},
{
"type": "SYMBOL",
"name": "_expression"
}
]
}
},
"clone_expression": {
"type": "SEQ",
"members": [
Expand Down Expand Up @@ -5314,51 +5238,59 @@
"type": "SEQ",
"members": [
{
"type": "SYMBOL",
"name": "_variable"
},
{
"type": "STRING",
"value": "++"
}
]
},
{
"type": "SEQ",
"members": [
{
"type": "SYMBOL",
"name": "_variable"
},
{
"type": "STRING",
"value": "--"
}
]
},
{
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "++"
"type": "FIELD",
"name": "operator",
"content": {
"type": "CHOICE",
"members": [
{
"type": "STRING",
"value": "--"
},
{
"type": "STRING",
"value": "++"
}
]
}
},
{
"type": "SYMBOL",
"name": "_variable"
"type": "FIELD",
"name": "argument",
"content": {
"type": "SYMBOL",
"name": "_variable"
}
}
]
},
{
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "--"
"type": "FIELD",
"name": "argument",
"content": {
"type": "SYMBOL",
"name": "_variable"
}
},
{
"type": "SYMBOL",
"name": "_variable"
"type": "FIELD",
"name": "operator",
"content": {
"type": "CHOICE",
"members": [
{
"type": "STRING",
"value": "--"
},
{
"type": "STRING",
"value": "++"
}
]
}
}
]
}
Expand Down Expand Up @@ -8008,6 +7940,39 @@
]
}
},
{
"type": "PREC_RIGHT",
"value": 18,
"content": {
"type": "SEQ",
"members": [
{
"type": "FIELD",
"name": "left",
"content": {
"type": "SYMBOL",
"name": "_expression"
}
},
{
"type": "FIELD",
"name": "operator",
"content": {
"type": "STRING",
"value": "**"
}
},
{
"type": "FIELD",
"name": "right",
"content": {
"type": "SYMBOL",
"name": "_expression"
}
}
]
}
},
{
"type": "PREC_LEFT",
"value": 3,
Expand Down
Loading

0 comments on commit 71f56a9

Please sign in to comment.