Skip to content

Commit

Permalink
chore: generate
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw committed Jul 26, 2024
1 parent 7b9a8ad commit 5461a6a
Show file tree
Hide file tree
Showing 6 changed files with 152,635 additions and 150,970 deletions.
37 changes: 37 additions & 0 deletions php/src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,22 @@
"trait_declaration": {
"type": "SEQ",
"members": [
{
"type": "CHOICE",
"members": [
{
"type": "FIELD",
"name": "attributes",
"content": {
"type": "SYMBOL",
"name": "attribute_list"
}
},
{
"type": "BLANK"
}
]
},
{
"type": "ALIAS",
"content": {
Expand Down Expand Up @@ -862,6 +878,22 @@
"interface_declaration": {
"type": "SEQ",
"members": [
{
"type": "CHOICE",
"members": [
{
"type": "FIELD",
"name": "attributes",
"content": {
"type": "SYMBOL",
"name": "attribute_list"
}
},
{
"type": "BLANK"
}
]
},
{
"type": "ALIAS",
"content": {
Expand Down Expand Up @@ -6404,6 +6436,11 @@
"value": "static",
"flags": "i"
},
{
"type": "PATTERN",
"value": "throw",
"flags": "i"
},
{
"type": "STRING",
"value": "parent"
Expand Down
20 changes: 20 additions & 0 deletions php/src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -2569,6 +2569,16 @@
"type": "interface_declaration",
"named": true,
"fields": {
"attributes": {
"multiple": false,
"required": false,
"types": [
{
"type": "attribute_list",
"named": true
}
]
},
"body": {
"multiple": false,
"required": true,
Expand Down Expand Up @@ -4678,6 +4688,16 @@
"type": "trait_declaration",
"named": true,
"fields": {
"attributes": {
"multiple": false,
"required": false,
"types": [
{
"type": "attribute_list",
"named": true
}
]
},
"body": {
"multiple": false,
"required": true,
Expand Down
Loading

0 comments on commit 5461a6a

Please sign in to comment.