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

15
src/grammar.json generated
View File

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

12
src/node-types.json generated
View File

@ -692,6 +692,10 @@
"type": "in", "type": "in",
"named": false "named": false
}, },
{
"type": "not in",
"named": false
},
{ {
"type": "or", "type": "or",
"named": false "named": false
@ -3149,6 +3153,10 @@
"type": "//", "type": "//",
"named": false "named": false
}, },
{
"type": ":",
"named": false
},
{ {
"type": "::", "type": "::",
"named": false "named": false
@ -3337,6 +3345,10 @@
"type": "not", "type": "not",
"named": false "named": false
}, },
{
"type": "not in",
"named": false
},
{ {
"type": "or", "type": "or",
"named": false "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_binary_operator] = "_newline_before_binary_operator",
[sym__newline_before_comment] = "_newline_before_comment", [sym__newline_before_comment] = "_newline_before_comment",
[sym__before_unary_op] = "_before_unary_op", [sym__before_unary_op] = "_before_unary_op",
[sym__not_in] = "_not_in", [sym__not_in] = "not in",
[sym__quoted_atom_start] = "_quoted_atom_start", [sym__quoted_atom_start] = ":",
[sym_source] = "source", [sym_source] = "source",
[sym__terminator] = "_terminator", [sym__terminator] = "_terminator",
[sym__expression] = "_expression", [sym__expression] = "_expression",
@ -1231,12 +1231,12 @@ static const TSSymbolMetadata ts_symbol_metadata[] = {
.named = true, .named = true,
}, },
[sym__not_in] = { [sym__not_in] = {
.visible = false, .visible = true,
.named = true, .named = false,
}, },
[sym__quoted_atom_start] = { [sym__quoted_atom_start] = {
.visible = false, .visible = true,
.named = true, .named = false,
}, },
[sym_source] = { [sym_source] = {
.visible = true, .visible = true,