Generate parser

This commit is contained in:
jonatanklosko 2021-10-14 18:10:50 +00:00 committed by GitHub Actions
parent 5d3f7edbc2
commit f5d7bda543
3 changed files with 39 additions and 12 deletions

27
src/grammar.json generated
View File

@ -1005,8 +1005,13 @@
"type": "SEQ",
"members": [
{
"type": "SYMBOL",
"name": "_quoted_atom_start"
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "_quoted_atom_start"
},
"named": false,
"value": ":"
},
{
"type": "CHOICE",
@ -3522,8 +3527,13 @@
"value": "in"
},
{
"type": "SYMBOL",
"name": "_not_in"
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "_not_in"
},
"named": false,
"value": "not in"
}
]
}
@ -3992,8 +4002,13 @@
"value": "in"
},
{
"type": "SYMBOL",
"name": "_not_in"
"type": "ALIAS",
"content": {
"type": "SYMBOL",
"name": "_not_in"
},
"named": false,
"value": "not in"
},
{
"type": "STRING",

12
src/node-types.json generated
View File

@ -692,6 +692,10 @@
"type": "in",
"named": false
},
{
"type": "not in",
"named": false
},
{
"type": "or",
"named": false
@ -3149,6 +3153,10 @@
"type": "//",
"named": false
},
{
"type": ":",
"named": false
},
{
"type": "::",
"named": false
@ -3337,6 +3345,10 @@
"type": "not",
"named": false
},
{
"type": "not in",
"named": false
},
{
"type": "or",
"named": false

12
src/parser.c generated
View File

@ -385,8 +385,8 @@ static const char * const ts_symbol_names[] = {
[sym__newline_before_binary_operator] = "_newline_before_binary_operator",
[sym__newline_before_comment] = "_newline_before_comment",
[sym__before_unary_op] = "_before_unary_op",
[sym__not_in] = "_not_in",
[sym__quoted_atom_start] = "_quoted_atom_start",
[sym__not_in] = "not in",
[sym__quoted_atom_start] = ":",
[sym_source] = "source",
[sym__terminator] = "_terminator",
[sym__expression] = "_expression",
@ -1231,12 +1231,12 @@ static const TSSymbolMetadata ts_symbol_metadata[] = {
.named = true,
},
[sym__not_in] = {
.visible = false,
.named = true,
.visible = true,
.named = false,
},
[sym__quoted_atom_start] = {
.visible = false,
.named = true,
.visible = true,
.named = false,
},
[sym_source] = {
.visible = true,