Generate parser

This commit is contained in:
the-mikedavis 2022-04-12 14:20:51 +00:00 committed by GitHub Actions
parent 108cdd550f
commit 1dabc1c790
3 changed files with 321664 additions and 321641 deletions

81
src/grammar.json generated
View File

@ -6452,54 +6452,63 @@
} }
}, },
"body": { "body": {
"type": "SEQ", "type": "CHOICE",
"members": [ "members": [
{ {
"type": "CHOICE", "type": "SYMBOL",
"members": [ "name": "_terminator"
{
"type": "SYMBOL",
"name": "_terminator"
},
{
"type": "BLANK"
}
]
}, },
{ {
"type": "SEQ", "type": "SEQ",
"members": [ "members": [
{ {
"type": "SYMBOL", "type": "CHOICE",
"name": "_expression" "members": [
{
"type": "SYMBOL",
"name": "_terminator"
},
{
"type": "BLANK"
}
]
}, },
{ {
"type": "REPEAT", "type": "SEQ",
"content": { "members": [
"type": "SEQ", {
"members": [ "type": "SYMBOL",
{ "name": "_expression"
"type": "SYMBOL", },
"name": "_terminator" {
}, "type": "REPEAT",
{ "content": {
"type": "SYMBOL", "type": "SEQ",
"name": "_expression" "members": [
{
"type": "SYMBOL",
"name": "_terminator"
},
{
"type": "SYMBOL",
"name": "_expression"
}
]
} }
] }
} ]
}
]
},
{
"type": "CHOICE",
"members": [
{
"type": "SYMBOL",
"name": "_terminator"
}, },
{ {
"type": "BLANK" "type": "CHOICE",
"members": [
{
"type": "SYMBOL",
"name": "_terminator"
},
{
"type": "BLANK"
}
]
} }
] ]
} }

2
src/node-types.json generated
View File

@ -1082,7 +1082,7 @@
"fields": {}, "fields": {},
"children": { "children": {
"multiple": true, "multiple": true,
"required": true, "required": false,
"types": [ "types": [
{ {
"type": "access_call", "type": "access_call",

643222
src/parser.c generated

File diff suppressed because it is too large Load Diff