From 686f3154ce930dfdb31e6fa0c9d039dd1e3f9f84 Mon Sep 17 00:00:00 2001 From: "Jip J. Dekker" Date: Mon, 11 Jan 2021 16:21:59 +1100 Subject: [PATCH] Add supertypes to grammar definition --- corpus/expressions.txt | 2 +- grammar.js | 10 +- src/grammar.json | 39 +- src/node-types.json | 1161 ++-------------- src/parser.c | 2836 ++++++++++++++++++++-------------------- 5 files changed, 1596 insertions(+), 2452 deletions(-) diff --git a/corpus/expressions.txt b/corpus/expressions.txt index 6b31b09..9e3b790 100644 --- a/corpus/expressions.txt +++ b/corpus/expressions.txt @@ -150,7 +150,7 @@ annotation_bind = 1 ^ 1::some_ann; --- (source_file - (assignment (identifier) (infix_operator (infix_operator (integer_literal) (integer_literal)) (integer_literal))) + (assignment (identifier) (infix_operator (parenthesised_expression (infix_operator (integer_literal) (integer_literal))) (integer_literal))) (assignment (identifier) (infix_operator (integer_literal) (infix_operator (integer_literal) (integer_literal)))) (assignment (identifier) (infix_operator (integer_literal) (infix_operator (integer_literal) (integer_literal)))) (assignment (identifier) (infix_operator (integer_literal) (infix_operator (integer_literal) (identifier))))) diff --git a/grammar.js b/grammar.js index 06484e8..95d17f3 100644 --- a/grammar.js +++ b/grammar.js @@ -29,6 +29,11 @@ module.exports = grammar({ [$._expression, $.generator], ], + supertypes: $ => [ + $._expression, + $._item, + ], + rules: { source_file: $ => seq(sepBy(';', $._item)), @@ -56,10 +61,11 @@ module.exports = grammar({ $.prefix_operator, $.set_comprehension, $.string_interpolation, - // TODO: Other expression types - seq('(', $._expression, ')'), + $.parenthesised_expression, ), + parenthesised_expression: $ => seq('(', $._expression, ')'), + array_comprehension: $ => seq( '[', $._expression, '|', sepBy1(',', $.generator), ']', ), diff --git a/src/grammar.json b/src/grammar.json index 029bace..f1cc0b7 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -122,21 +122,25 @@ "name": "string_interpolation" }, { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "(" - }, - { - "type": "SYMBOL", - "name": "_expression" - }, - { - "type": "STRING", - "value": ")" - } - ] + "type": "SYMBOL", + "name": "parenthesised_expression" + } + ] + }, + "parenthesised_expression": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "_expression" + }, + { + "type": "STRING", + "value": ")" } ] }, @@ -1568,6 +1572,9 @@ ], "externals": [], "inline": [], - "supertypes": [] + "supertypes": [ + "_expression", + "_item" + ] } diff --git a/src/node-types.json b/src/node-types.json index 1dbee41..cfe6953 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -1,4 +1,92 @@ [ + { + "type": "_expression", + "named": true, + "subtypes": [ + { + "type": "absent", + "named": true + }, + { + "type": "array_comprehension", + "named": true + }, + { + "type": "array_literal", + "named": true + }, + { + "type": "boolean_literal", + "named": true + }, + { + "type": "call", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "generator_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "if_then_else", + "named": true + }, + { + "type": "indexed_access", + "named": true + }, + { + "type": "infix_operator", + "named": true + }, + { + "type": "integer_literal", + "named": true + }, + { + "type": "parenthesised_expression", + "named": true + }, + { + "type": "prefix_operator", + "named": true + }, + { + "type": "set_comprehension", + "named": true + }, + { + "type": "set_literal", + "named": true + }, + { + "type": "string_interpolation", + "named": true + }, + { + "type": "string_literal", + "named": true + } + ] + }, + { + "type": "_item", + "named": true, + "subtypes": [ + { + "type": "assignment", + "named": true + } + ] + }, { "type": "array_comprehension", "named": true, @@ -8,76 +96,12 @@ "required": true, "types": [ { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", + "type": "_expression", "named": true }, { "type": "generator", "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", - "named": true } ] } @@ -91,71 +115,7 @@ "required": false, "types": [ { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -166,83 +126,11 @@ "named": true, "fields": { "expr": { - "multiple": true, + "multiple": false, "required": true, "types": [ { - "type": "(", - "named": false - }, - { - "type": ")", - "named": false - }, - { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -272,84 +160,12 @@ "multiple": true, "required": false, "types": [ - { - "type": "(", - "named": false - }, - { - "type": ")", - "named": false - }, { "type": ",", "named": false }, { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -390,71 +206,7 @@ "required": true, "types": [ { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -489,83 +241,11 @@ ] }, "template": { - "multiple": true, + "multiple": false, "required": true, "types": [ { - "type": "(", - "named": false - }, - { - "type": ")", - "named": false - }, - { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -581,71 +261,7 @@ "required": true, "types": [ { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -656,83 +272,11 @@ "named": true, "fields": { "collection": { - "multiple": true, + "multiple": false, "required": true, "types": [ { - "type": "(", - "named": false - }, - { - "type": ")", - "named": false - }, - { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -741,84 +285,12 @@ "multiple": true, "required": true, "types": [ - { - "type": "(", - "named": false - }, - { - "type": ")", - "named": false - }, { "type": ",", "named": false }, { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -830,83 +302,11 @@ "named": true, "fields": { "left": { - "multiple": true, + "multiple": false, "required": true, "types": [ { - "type": "(", - "named": false - }, - { - "type": ")", - "named": false - }, - { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -1038,89 +438,32 @@ ] }, "right": { - "multiple": true, + "multiple": false, "required": true, "types": [ { - "type": "(", - "named": false - }, - { - "type": ")", - "named": false - }, - { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] } } }, + { + "type": "parenthesised_expression", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "_expression", + "named": true + } + ] + } + }, { "type": "prefix_operator", "named": true, @@ -1149,71 +492,7 @@ "required": true, "types": [ { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -1228,76 +507,12 @@ "required": true, "types": [ { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", + "type": "_expression", "named": true }, { "type": "generator", "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", - "named": true } ] } @@ -1311,71 +526,7 @@ "required": false, "types": [ { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", - "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", + "type": "_expression", "named": true } ] @@ -1390,7 +541,7 @@ "required": false, "types": [ { - "type": "assignment", + "type": "_item", "named": true } ] @@ -1420,76 +571,12 @@ "required": true, "types": [ { - "type": "absent", - "named": true - }, - { - "type": "array_comprehension", - "named": true - }, - { - "type": "array_literal", - "named": true - }, - { - "type": "boolean_literal", - "named": true - }, - { - "type": "call", - "named": true - }, - { - "type": "float_literal", - "named": true - }, - { - "type": "generator_call", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "if_then_else", - "named": true - }, - { - "type": "indexed_access", - "named": true - }, - { - "type": "infix_operator", - "named": true - }, - { - "type": "integer_literal", - "named": true - }, - { - "type": "prefix_operator", - "named": true - }, - { - "type": "set_comprehension", - "named": true - }, - { - "type": "set_literal", + "type": "_expression", "named": true }, { "type": "string_content", "named": true - }, - { - "type": "string_interpolation", - "named": true - }, - { - "type": "string_literal", - "named": true } ] } diff --git a/src/parser.c b/src/parser.c index ce0ab7e..e347da2 100644 --- a/src/parser.c +++ b/src/parser.c @@ -8,7 +8,7 @@ #define LANGUAGE_VERSION 11 #define STATE_COUNT 151 #define LARGE_STATE_COUNT 47 -#define SYMBOL_COUNT 87 +#define SYMBOL_COUNT 88 #define ALIAS_COUNT 1 #define TOKEN_COUNT 60 #define EXTERNAL_TOKEN_COUNT 0 @@ -79,30 +79,31 @@ enum { sym__item = 61, sym_assignment = 62, sym__expression = 63, - sym_array_comprehension = 64, - sym_call = 65, - sym_generator_call = 66, - sym_generator = 67, - sym_if_then_else = 68, - sym_indexed_access = 69, - sym_infix_operator = 70, - sym_prefix_operator = 71, - sym_set_comprehension = 72, - sym_string_interpolation = 73, - sym__literal = 74, - sym_array_literal = 75, - sym_boolean_literal = 76, - sym_set_literal = 77, - sym_string_literal = 78, - sym_string_content = 79, - aux_sym_source_file_repeat1 = 80, - aux_sym_array_comprehension_repeat1 = 81, - aux_sym_call_repeat1 = 82, - aux_sym_if_then_else_repeat1 = 83, - aux_sym_indexed_access_repeat1 = 84, - aux_sym_string_interpolation_repeat1 = 85, - aux_sym_string_content_repeat1 = 86, - anon_alias_sym_content = 87, + sym_parenthesised_expression = 64, + sym_array_comprehension = 65, + sym_call = 66, + sym_generator_call = 67, + sym_generator = 68, + sym_if_then_else = 69, + sym_indexed_access = 70, + sym_infix_operator = 71, + sym_prefix_operator = 72, + sym_set_comprehension = 73, + sym_string_interpolation = 74, + sym__literal = 75, + sym_array_literal = 76, + sym_boolean_literal = 77, + sym_set_literal = 78, + sym_string_literal = 79, + sym_string_content = 80, + aux_sym_source_file_repeat1 = 81, + aux_sym_array_comprehension_repeat1 = 82, + aux_sym_call_repeat1 = 83, + aux_sym_if_then_else_repeat1 = 84, + aux_sym_indexed_access_repeat1 = 85, + aux_sym_string_interpolation_repeat1 = 86, + aux_sym_string_content_repeat1 = 87, + anon_alias_sym_content = 88, }; static const char *ts_symbol_names[] = { @@ -170,6 +171,7 @@ static const char *ts_symbol_names[] = { [sym__item] = "_item", [sym_assignment] = "assignment", [sym__expression] = "_expression", + [sym_parenthesised_expression] = "parenthesised_expression", [sym_array_comprehension] = "array_comprehension", [sym_call] = "call", [sym_generator_call] = "generator_call", @@ -261,6 +263,7 @@ static TSSymbol ts_symbol_map[] = { [sym__item] = sym__item, [sym_assignment] = sym_assignment, [sym__expression] = sym__expression, + [sym_parenthesised_expression] = sym_parenthesised_expression, [sym_array_comprehension] = sym_array_comprehension, [sym_call] = sym_call, [sym_generator_call] = sym_generator_call, @@ -544,6 +547,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = true, }, + [sym_parenthesised_expression] = { + .visible = true, + .named = true, + }, [sym_array_comprehension] = { .visible = true, .named = true, @@ -1565,30 +1572,30 @@ static TSLexMode ts_lex_modes[STATE_COUNT] = { [51] = {.lex_state = 32}, [52] = {.lex_state = 32}, [53] = {.lex_state = 32}, - [54] = {.lex_state = 32}, + [54] = {.lex_state = 2}, [55] = {.lex_state = 32}, - [56] = {.lex_state = 32}, - [57] = {.lex_state = 2}, + [56] = {.lex_state = 2}, + [57] = {.lex_state = 32}, [58] = {.lex_state = 32}, [59] = {.lex_state = 32}, [60] = {.lex_state = 32}, [61] = {.lex_state = 32}, - [62] = {.lex_state = 2}, - [63] = {.lex_state = 32}, + [62] = {.lex_state = 32}, + [63] = {.lex_state = 2}, [64] = {.lex_state = 32}, - [65] = {.lex_state = 32}, + [65] = {.lex_state = 2}, [66] = {.lex_state = 32}, [67] = {.lex_state = 32}, [68] = {.lex_state = 32}, - [69] = {.lex_state = 32}, + [69] = {.lex_state = 2}, [70] = {.lex_state = 32}, [71] = {.lex_state = 32}, [72] = {.lex_state = 32}, - [73] = {.lex_state = 2}, + [73] = {.lex_state = 32}, [74] = {.lex_state = 2}, - [75] = {.lex_state = 2}, + [75] = {.lex_state = 32}, [76] = {.lex_state = 2}, - [77] = {.lex_state = 2}, + [77] = {.lex_state = 32}, [78] = {.lex_state = 2}, [79] = {.lex_state = 2}, [80] = {.lex_state = 2}, @@ -4152,7 +4159,7 @@ static uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_subset, anon_sym_superset, - [405] = 21, + [405] = 22, ACTIONS(35), 1, anon_sym_LBRACK, ACTIONS(37), 1, @@ -4177,67 +4184,9 @@ static uint16_t ts_small_parse_table[] = { anon_sym_union, ACTIONS(95), 1, anon_sym_LT_DASH, - ACTIONS(203), 1, - anon_sym_else, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(201), 2, - anon_sym_elseif, - anon_sym_endif, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [484] = 22, - ACTIONS(35), 1, - anon_sym_LBRACK, - ACTIONS(37), 1, - anon_sym_intersect, - ACTIONS(39), 1, - anon_sym_DOT_DOT, - ACTIONS(43), 1, - anon_sym_PLUS_PLUS, - ACTIONS(47), 1, - anon_sym_SLASH, - ACTIONS(49), 1, - anon_sym_CARET, - ACTIONS(51), 1, - anon_sym_COLON_COLON, - ACTIONS(53), 1, - anon_sym_symdiff, - ACTIONS(67), 1, - anon_sym_diff, - ACTIONS(79), 1, - anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, - anon_sym_union, - ACTIONS(95), 1, - anon_sym_LT_DASH, - ACTIONS(205), 1, + ACTIONS(201), 1, anon_sym_COMMA, - ACTIONS(207), 1, + ACTIONS(203), 1, anon_sym_RBRACK, STATE(119), 1, aux_sym_indexed_access_repeat1, @@ -4269,10 +4218,10 @@ static uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_subset, anon_sym_superset, - [565] = 5, + [486] = 5, ACTIONS(13), 1, anon_sym_LPAREN, - ACTIONS(209), 1, + ACTIONS(205), 1, anon_sym_in, ACTIONS(3), 2, sym_line_comment, @@ -4311,157 +4260,44 @@ static uint16_t ts_small_parse_table[] = { anon_sym_mod, anon_sym_CARET, anon_sym_COLON_COLON, - [612] = 21, - ACTIONS(35), 1, - anon_sym_LBRACK, - ACTIONS(37), 1, - anon_sym_intersect, - ACTIONS(39), 1, - anon_sym_DOT_DOT, - ACTIONS(43), 1, - anon_sym_PLUS_PLUS, - ACTIONS(47), 1, - anon_sym_SLASH, - ACTIONS(49), 1, - anon_sym_CARET, - ACTIONS(51), 1, - anon_sym_COLON_COLON, - ACTIONS(53), 1, - anon_sym_symdiff, - ACTIONS(67), 1, - anon_sym_diff, - ACTIONS(79), 1, - anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, - anon_sym_union, - ACTIONS(95), 1, - anon_sym_LT_DASH, - ACTIONS(193), 1, - anon_sym_COMMA, - ACTIONS(212), 1, - anon_sym_RPAREN, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [690] = 21, - ACTIONS(35), 1, - anon_sym_LBRACK, - ACTIONS(37), 1, - anon_sym_intersect, - ACTIONS(39), 1, - anon_sym_DOT_DOT, - ACTIONS(43), 1, - anon_sym_PLUS_PLUS, - ACTIONS(47), 1, - anon_sym_SLASH, - ACTIONS(49), 1, - anon_sym_CARET, - ACTIONS(51), 1, - anon_sym_COLON_COLON, - ACTIONS(53), 1, - anon_sym_symdiff, - ACTIONS(67), 1, - anon_sym_diff, - ACTIONS(79), 1, - anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, - anon_sym_union, - ACTIONS(95), 1, - anon_sym_LT_DASH, - ACTIONS(193), 1, - anon_sym_COMMA, - ACTIONS(214), 1, - anon_sym_RBRACK, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [768] = 15, - ACTIONS(216), 1, + [533] = 15, + ACTIONS(208), 1, sym_identifier, - ACTIONS(219), 1, + ACTIONS(211), 1, anon_sym_LPAREN, - ACTIONS(224), 1, + ACTIONS(216), 1, anon_sym_LBRACK, - ACTIONS(227), 1, + ACTIONS(219), 1, anon_sym_if, - ACTIONS(233), 1, + ACTIONS(225), 1, anon_sym_not, - ACTIONS(236), 1, + ACTIONS(228), 1, anon_sym_LBRACE, - ACTIONS(239), 1, + ACTIONS(231), 1, anon_sym_DQUOTE, - ACTIONS(248), 1, + ACTIONS(240), 1, sym_integer_literal, - STATE(57), 1, + STATE(54), 1, aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(230), 2, + ACTIONS(222), 2, anon_sym_DASH, anon_sym_, - ACTIONS(242), 2, + ACTIONS(234), 2, sym_absent, sym_float_literal, - ACTIONS(245), 2, + ACTIONS(237), 2, anon_sym_true, anon_sym_false, - ACTIONS(222), 3, + ACTIONS(214), 3, anon_sym_RPAREN, anon_sym_RBRACK, anon_sym_RBRACE, - STATE(64), 15, + STATE(67), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -4476,7 +4312,7 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [834] = 20, + [600] = 21, ACTIONS(35), 1, anon_sym_LBRACK, ACTIONS(37), 1, @@ -4501,6 +4337,8 @@ static uint16_t ts_small_parse_table[] = { anon_sym_union, ACTIONS(95), 1, anon_sym_LT_DASH, + ACTIONS(245), 1, + anon_sym_else, ACTIONS(3), 2, sym_line_comment, sym_block_comment, @@ -4513,9 +4351,9 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(181), 2, anon_sym_LT_DASH_GT, anon_sym_BSLASH_SLASH, - ACTIONS(251), 2, - anon_sym_COMMA, - anon_sym_RBRACK, + ACTIONS(243), 2, + anon_sym_elseif, + anon_sym_endif, ACTIONS(45), 3, anon_sym_STAR, anon_sym_div, @@ -4532,7 +4370,173 @@ static uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_subset, anon_sym_superset, - [910] = 20, + [679] = 16, + ACTIONS(247), 1, + sym_identifier, + ACTIONS(249), 1, + anon_sym_LPAREN, + ACTIONS(251), 1, + anon_sym_RPAREN, + ACTIONS(253), 1, + anon_sym_LBRACK, + ACTIONS(255), 1, + anon_sym_if, + ACTIONS(259), 1, + anon_sym_not, + ACTIONS(261), 1, + anon_sym_LBRACE, + ACTIONS(263), 1, + anon_sym_DQUOTE, + ACTIONS(269), 1, + sym_integer_literal, + STATE(69), 1, + aux_sym_call_repeat1, + STATE(134), 1, + sym_generator, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(257), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(265), 2, + sym_absent, + sym_float_literal, + ACTIONS(267), 2, + anon_sym_true, + anon_sym_false, + STATE(61), 16, + sym__expression, + sym_parenthesised_expression, + sym_array_comprehension, + sym_call, + sym_generator_call, + sym_if_then_else, + sym_indexed_access, + sym_infix_operator, + sym_prefix_operator, + sym_set_comprehension, + sym_string_interpolation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [747] = 21, + ACTIONS(35), 1, + anon_sym_LBRACK, + ACTIONS(37), 1, + anon_sym_intersect, + ACTIONS(39), 1, + anon_sym_DOT_DOT, + ACTIONS(43), 1, + anon_sym_PLUS_PLUS, + ACTIONS(47), 1, + anon_sym_SLASH, + ACTIONS(49), 1, + anon_sym_CARET, + ACTIONS(51), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 1, + anon_sym_symdiff, + ACTIONS(67), 1, + anon_sym_diff, + ACTIONS(79), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(83), 1, + anon_sym_union, + ACTIONS(95), 1, + anon_sym_LT_DASH, + ACTIONS(193), 1, + anon_sym_COMMA, + ACTIONS(271), 1, + anon_sym_RPAREN, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(41), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [825] = 21, + ACTIONS(35), 1, + anon_sym_LBRACK, + ACTIONS(37), 1, + anon_sym_intersect, + ACTIONS(39), 1, + anon_sym_DOT_DOT, + ACTIONS(43), 1, + anon_sym_PLUS_PLUS, + ACTIONS(47), 1, + anon_sym_SLASH, + ACTIONS(49), 1, + anon_sym_CARET, + ACTIONS(51), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 1, + anon_sym_symdiff, + ACTIONS(67), 1, + anon_sym_diff, + ACTIONS(79), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(83), 1, + anon_sym_union, + ACTIONS(95), 1, + anon_sym_LT_DASH, + ACTIONS(193), 1, + anon_sym_COMMA, + ACTIONS(273), 1, + anon_sym_RBRACE, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(41), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [903] = 20, ACTIONS(35), 1, anon_sym_LBRACK, ACTIONS(37), 1, @@ -4569,7 +4573,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(181), 2, anon_sym_LT_DASH_GT, anon_sym_BSLASH_SLASH, - ACTIONS(253), 2, + ACTIONS(275), 2, ts_builtin_sym_end, anon_sym_SEMI, ACTIONS(45), 3, @@ -4588,7 +4592,7 @@ static uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_subset, anon_sym_superset, - [986] = 21, + [979] = 21, ACTIONS(35), 1, anon_sym_LBRACK, ACTIONS(37), 1, @@ -4615,130 +4619,185 @@ static uint16_t ts_small_parse_table[] = { anon_sym_LT_DASH, ACTIONS(193), 1, anon_sym_COMMA, - ACTIONS(255), 1, + ACTIONS(277), 1, + anon_sym_RBRACK, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(41), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [1057] = 21, + ACTIONS(35), 1, + anon_sym_LBRACK, + ACTIONS(37), 1, + anon_sym_intersect, + ACTIONS(39), 1, + anon_sym_DOT_DOT, + ACTIONS(43), 1, + anon_sym_PLUS_PLUS, + ACTIONS(47), 1, + anon_sym_SLASH, + ACTIONS(49), 1, + anon_sym_CARET, + ACTIONS(51), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 1, + anon_sym_symdiff, + ACTIONS(67), 1, + anon_sym_diff, + ACTIONS(79), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(83), 1, + anon_sym_union, + ACTIONS(95), 1, + anon_sym_LT_DASH, + ACTIONS(193), 1, + anon_sym_COMMA, + ACTIONS(279), 1, + anon_sym_RPAREN, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(41), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [1135] = 20, + ACTIONS(35), 1, + anon_sym_LBRACK, + ACTIONS(37), 1, + anon_sym_intersect, + ACTIONS(39), 1, + anon_sym_DOT_DOT, + ACTIONS(43), 1, + anon_sym_PLUS_PLUS, + ACTIONS(47), 1, + anon_sym_SLASH, + ACTIONS(49), 1, + anon_sym_CARET, + ACTIONS(51), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 1, + anon_sym_symdiff, + ACTIONS(67), 1, + anon_sym_diff, + ACTIONS(79), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(83), 1, + anon_sym_union, + ACTIONS(95), 1, + anon_sym_LT_DASH, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(41), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(281), 2, + anon_sym_COMMA, + anon_sym_RBRACK, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [1211] = 15, + ACTIONS(199), 1, anon_sym_RBRACE, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [1064] = 21, - ACTIONS(35), 1, - anon_sym_LBRACK, - ACTIONS(37), 1, - anon_sym_intersect, - ACTIONS(39), 1, - anon_sym_DOT_DOT, - ACTIONS(43), 1, - anon_sym_PLUS_PLUS, - ACTIONS(47), 1, - anon_sym_SLASH, - ACTIONS(49), 1, - anon_sym_CARET, - ACTIONS(51), 1, - anon_sym_COLON_COLON, - ACTIONS(53), 1, - anon_sym_symdiff, - ACTIONS(67), 1, - anon_sym_diff, - ACTIONS(79), 1, - anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, - anon_sym_union, - ACTIONS(95), 1, - anon_sym_LT_DASH, - ACTIONS(193), 1, - anon_sym_COMMA, - ACTIONS(257), 1, - anon_sym_RPAREN, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [1142] = 16, - ACTIONS(259), 1, - sym_identifier, - ACTIONS(261), 1, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(263), 1, - anon_sym_RPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(281), 1, + ACTIONS(283), 1, + sym_identifier, + ACTIONS(287), 1, sym_integer_literal, - STATE(75), 1, + STATE(54), 1, aux_sym_call_repeat1, - STATE(134), 1, - sym_generator, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(277), 2, - sym_absent, - sym_float_literal, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, - STATE(61), 15, + ACTIONS(285), 2, + sym_absent, + sym_float_literal, + STATE(58), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -4753,227 +4812,7 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [1209] = 20, - ACTIONS(35), 1, - anon_sym_LBRACK, - ACTIONS(37), 1, - anon_sym_intersect, - ACTIONS(39), 1, - anon_sym_DOT_DOT, - ACTIONS(43), 1, - anon_sym_PLUS_PLUS, - ACTIONS(47), 1, - anon_sym_SLASH, - ACTIONS(49), 1, - anon_sym_CARET, - ACTIONS(51), 1, - anon_sym_COLON_COLON, - ACTIONS(53), 1, - anon_sym_symdiff, - ACTIONS(67), 1, - anon_sym_diff, - ACTIONS(79), 1, - anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, - anon_sym_union, - ACTIONS(95), 1, - anon_sym_LT_DASH, - ACTIONS(283), 1, - anon_sym_then, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [1284] = 20, - ACTIONS(35), 1, - anon_sym_LBRACK, - ACTIONS(37), 1, - anon_sym_intersect, - ACTIONS(39), 1, - anon_sym_DOT_DOT, - ACTIONS(43), 1, - anon_sym_PLUS_PLUS, - ACTIONS(47), 1, - anon_sym_SLASH, - ACTIONS(49), 1, - anon_sym_CARET, - ACTIONS(51), 1, - anon_sym_COLON_COLON, - ACTIONS(53), 1, - anon_sym_symdiff, - ACTIONS(67), 1, - anon_sym_diff, - ACTIONS(79), 1, - anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, - anon_sym_union, - ACTIONS(95), 1, - anon_sym_LT_DASH, - ACTIONS(193), 1, - anon_sym_COMMA, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [1359] = 20, - ACTIONS(35), 1, - anon_sym_LBRACK, - ACTIONS(37), 1, - anon_sym_intersect, - ACTIONS(39), 1, - anon_sym_DOT_DOT, - ACTIONS(43), 1, - anon_sym_PLUS_PLUS, - ACTIONS(47), 1, - anon_sym_SLASH, - ACTIONS(49), 1, - anon_sym_CARET, - ACTIONS(51), 1, - anon_sym_COLON_COLON, - ACTIONS(53), 1, - anon_sym_symdiff, - ACTIONS(67), 1, - anon_sym_diff, - ACTIONS(79), 1, - anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, - anon_sym_union, - ACTIONS(95), 1, - anon_sym_LT_DASH, - ACTIONS(285), 1, - anon_sym_endif, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [1434] = 20, - ACTIONS(35), 1, - anon_sym_LBRACK, - ACTIONS(37), 1, - anon_sym_intersect, - ACTIONS(39), 1, - anon_sym_DOT_DOT, - ACTIONS(43), 1, - anon_sym_PLUS_PLUS, - ACTIONS(47), 1, - anon_sym_SLASH, - ACTIONS(49), 1, - anon_sym_CARET, - ACTIONS(51), 1, - anon_sym_COLON_COLON, - ACTIONS(53), 1, - anon_sym_symdiff, - ACTIONS(67), 1, - anon_sym_diff, - ACTIONS(79), 1, - anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, - anon_sym_union, - ACTIONS(95), 1, - anon_sym_LT_DASH, - ACTIONS(287), 1, - anon_sym_RPAREN, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [1509] = 20, + [1276] = 20, ACTIONS(35), 1, anon_sym_LBRACK, ACTIONS(37), 1, @@ -4999,61 +4838,6 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(95), 1, anon_sym_LT_DASH, ACTIONS(289), 1, - anon_sym_RPAREN, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [1584] = 20, - ACTIONS(35), 1, - anon_sym_LBRACK, - ACTIONS(37), 1, - anon_sym_intersect, - ACTIONS(39), 1, - anon_sym_DOT_DOT, - ACTIONS(43), 1, - anon_sym_PLUS_PLUS, - ACTIONS(47), 1, - anon_sym_SLASH, - ACTIONS(49), 1, - anon_sym_CARET, - ACTIONS(51), 1, - anon_sym_COLON_COLON, - ACTIONS(53), 1, - anon_sym_symdiff, - ACTIONS(67), 1, - anon_sym_diff, - ACTIONS(79), 1, - anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, - anon_sym_union, - ACTIONS(95), 1, - anon_sym_LT_DASH, - ACTIONS(291), 1, anon_sym_then, ACTIONS(3), 2, sym_line_comment, @@ -5083,62 +4867,57 @@ static uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_subset, anon_sym_superset, - [1659] = 20, - ACTIONS(35), 1, + [1351] = 15, + ACTIONS(195), 1, + anon_sym_RBRACK, + ACTIONS(249), 1, + anon_sym_LPAREN, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(37), 1, - anon_sym_intersect, - ACTIONS(39), 1, - anon_sym_DOT_DOT, - ACTIONS(43), 1, - anon_sym_PLUS_PLUS, - ACTIONS(47), 1, - anon_sym_SLASH, - ACTIONS(49), 1, - anon_sym_CARET, - ACTIONS(51), 1, - anon_sym_COLON_COLON, - ACTIONS(53), 1, - anon_sym_symdiff, - ACTIONS(67), 1, - anon_sym_diff, - ACTIONS(79), 1, - anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, - anon_sym_union, - ACTIONS(95), 1, - anon_sym_LT_DASH, + ACTIONS(255), 1, + anon_sym_if, + ACTIONS(259), 1, + anon_sym_not, + ACTIONS(261), 1, + anon_sym_LBRACE, + ACTIONS(263), 1, + anon_sym_DQUOTE, + ACTIONS(283), 1, + sym_identifier, ACTIONS(293), 1, - anon_sym_RPAREN, + sym_integer_literal, + STATE(54), 1, + aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(41), 2, - anon_sym_PLUS, + ACTIONS(257), 2, anon_sym_DASH, - ACTIONS(93), 2, - anon_sym_DASH_GT, - anon_sym_xor, - ACTIONS(181), 2, - anon_sym_LT_DASH_GT, - anon_sym_BSLASH_SLASH, - ACTIONS(45), 3, - anon_sym_STAR, - anon_sym_div, - anon_sym_mod, - ACTIONS(77), 4, - anon_sym_EQ, - anon_sym_in, - anon_sym_LT, - anon_sym_GT, - ACTIONS(81), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_subset, - anon_sym_superset, - [1734] = 20, + anon_sym_, + ACTIONS(267), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(291), 2, + sym_absent, + sym_float_literal, + STATE(60), 16, + sym__expression, + sym_parenthesised_expression, + sym_array_comprehension, + sym_call, + sym_generator_call, + sym_if_then_else, + sym_indexed_access, + sym_infix_operator, + sym_prefix_operator, + sym_set_comprehension, + sym_string_interpolation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [1416] = 20, ACTIONS(35), 1, anon_sym_LBRACK, ACTIONS(37), 1, @@ -5193,7 +4972,62 @@ static uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_subset, anon_sym_superset, - [1809] = 20, + [1491] = 20, + ACTIONS(35), 1, + anon_sym_LBRACK, + ACTIONS(37), 1, + anon_sym_intersect, + ACTIONS(39), 1, + anon_sym_DOT_DOT, + ACTIONS(43), 1, + anon_sym_PLUS_PLUS, + ACTIONS(47), 1, + anon_sym_SLASH, + ACTIONS(49), 1, + anon_sym_CARET, + ACTIONS(51), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 1, + anon_sym_symdiff, + ACTIONS(67), 1, + anon_sym_diff, + ACTIONS(79), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(83), 1, + anon_sym_union, + ACTIONS(95), 1, + anon_sym_LT_DASH, + ACTIONS(193), 1, + anon_sym_COMMA, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(41), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [1566] = 20, ACTIONS(35), 1, anon_sym_LBRACK, ACTIONS(37), 1, @@ -5219,7 +5053,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(95), 1, anon_sym_LT_DASH, ACTIONS(297), 1, - anon_sym_endif, + anon_sym_RPAREN, ACTIONS(3), 2, sym_line_comment, sym_block_comment, @@ -5248,7 +5082,57 @@ static uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_subset, anon_sym_superset, - [1884] = 20, + [1641] = 15, + ACTIONS(249), 1, + anon_sym_LPAREN, + ACTIONS(253), 1, + anon_sym_LBRACK, + ACTIONS(255), 1, + anon_sym_if, + ACTIONS(259), 1, + anon_sym_not, + ACTIONS(261), 1, + anon_sym_LBRACE, + ACTIONS(263), 1, + anon_sym_DQUOTE, + ACTIONS(279), 1, + anon_sym_RPAREN, + ACTIONS(283), 1, + sym_identifier, + ACTIONS(301), 1, + sym_integer_literal, + STATE(54), 1, + aux_sym_call_repeat1, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(257), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(267), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(299), 2, + sym_absent, + sym_float_literal, + STATE(57), 16, + sym__expression, + sym_parenthesised_expression, + sym_array_comprehension, + sym_call, + sym_generator_call, + sym_if_then_else, + sym_indexed_access, + sym_infix_operator, + sym_prefix_operator, + sym_set_comprehension, + sym_string_interpolation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [1706] = 20, ACTIONS(35), 1, anon_sym_LBRACK, ACTIONS(37), 1, @@ -5273,7 +5157,7 @@ static uint16_t ts_small_parse_table[] = { anon_sym_union, ACTIONS(95), 1, anon_sym_LT_DASH, - ACTIONS(299), 1, + ACTIONS(303), 1, anon_sym_RPAREN, ACTIONS(3), 2, sym_line_comment, @@ -5303,188 +5187,207 @@ static uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_subset, anon_sym_superset, - [1959] = 15, - ACTIONS(199), 1, - anon_sym_RBRACE, - ACTIONS(261), 1, - anon_sym_LPAREN, - ACTIONS(265), 1, + [1781] = 20, + ACTIONS(35), 1, anon_sym_LBRACK, - ACTIONS(267), 1, - anon_sym_if, - ACTIONS(271), 1, - anon_sym_not, - ACTIONS(273), 1, - anon_sym_LBRACE, - ACTIONS(275), 1, - anon_sym_DQUOTE, - ACTIONS(301), 1, - sym_identifier, + ACTIONS(37), 1, + anon_sym_intersect, + ACTIONS(39), 1, + anon_sym_DOT_DOT, + ACTIONS(43), 1, + anon_sym_PLUS_PLUS, + ACTIONS(47), 1, + anon_sym_SLASH, + ACTIONS(49), 1, + anon_sym_CARET, + ACTIONS(51), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 1, + anon_sym_symdiff, + ACTIONS(67), 1, + anon_sym_diff, + ACTIONS(79), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(83), 1, + anon_sym_union, + ACTIONS(95), 1, + anon_sym_LT_DASH, ACTIONS(305), 1, - sym_integer_literal, - STATE(57), 1, - aux_sym_call_repeat1, + anon_sym_endif, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(41), 2, + anon_sym_PLUS, anon_sym_DASH, - anon_sym_, - ACTIONS(279), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(303), 2, - sym_absent, - sym_float_literal, - STATE(60), 15, - sym__expression, - sym_array_comprehension, - sym_call, - sym_generator_call, - sym_if_then_else, - sym_indexed_access, - sym_infix_operator, - sym_prefix_operator, - sym_set_comprehension, - sym_string_interpolation, - sym__literal, - sym_array_literal, - sym_boolean_literal, - sym_set_literal, - sym_string_literal, - [2023] = 15, - ACTIONS(195), 1, - anon_sym_RBRACK, - ACTIONS(261), 1, - anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [1856] = 20, + ACTIONS(35), 1, anon_sym_LBRACK, - ACTIONS(267), 1, - anon_sym_if, - ACTIONS(271), 1, - anon_sym_not, - ACTIONS(273), 1, - anon_sym_LBRACE, - ACTIONS(275), 1, - anon_sym_DQUOTE, - ACTIONS(301), 1, - sym_identifier, - ACTIONS(309), 1, - sym_integer_literal, - STATE(57), 1, - aux_sym_call_repeat1, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(269), 2, - anon_sym_DASH, - anon_sym_, - ACTIONS(279), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(307), 2, - sym_absent, - sym_float_literal, - STATE(56), 15, - sym__expression, - sym_array_comprehension, - sym_call, - sym_generator_call, - sym_if_then_else, - sym_indexed_access, - sym_infix_operator, - sym_prefix_operator, - sym_set_comprehension, - sym_string_interpolation, - sym__literal, - sym_array_literal, - sym_boolean_literal, - sym_set_literal, - sym_string_literal, - [2087] = 15, - ACTIONS(257), 1, + ACTIONS(37), 1, + anon_sym_intersect, + ACTIONS(39), 1, + anon_sym_DOT_DOT, + ACTIONS(43), 1, + anon_sym_PLUS_PLUS, + ACTIONS(47), 1, + anon_sym_SLASH, + ACTIONS(49), 1, + anon_sym_CARET, + ACTIONS(51), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 1, + anon_sym_symdiff, + ACTIONS(67), 1, + anon_sym_diff, + ACTIONS(79), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(83), 1, + anon_sym_union, + ACTIONS(95), 1, + anon_sym_LT_DASH, + ACTIONS(307), 1, anon_sym_RPAREN, - ACTIONS(261), 1, - anon_sym_LPAREN, - ACTIONS(265), 1, - anon_sym_LBRACK, - ACTIONS(267), 1, - anon_sym_if, - ACTIONS(271), 1, - anon_sym_not, - ACTIONS(273), 1, - anon_sym_LBRACE, - ACTIONS(275), 1, - anon_sym_DQUOTE, - ACTIONS(301), 1, - sym_identifier, - ACTIONS(313), 1, - sym_integer_literal, - STATE(57), 1, - aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(41), 2, + anon_sym_PLUS, anon_sym_DASH, - anon_sym_, - ACTIONS(279), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(311), 2, - sym_absent, - sym_float_literal, - STATE(55), 15, - sym__expression, - sym_array_comprehension, - sym_call, - sym_generator_call, - sym_if_then_else, - sym_indexed_access, - sym_infix_operator, - sym_prefix_operator, - sym_set_comprehension, - sym_string_interpolation, - sym__literal, - sym_array_literal, - sym_boolean_literal, - sym_set_literal, - sym_string_literal, - [2151] = 15, - ACTIONS(261), 1, - anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [1931] = 20, + ACTIONS(35), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(37), 1, + anon_sym_intersect, + ACTIONS(39), 1, + anon_sym_DOT_DOT, + ACTIONS(43), 1, + anon_sym_PLUS_PLUS, + ACTIONS(47), 1, + anon_sym_SLASH, + ACTIONS(49), 1, + anon_sym_CARET, + ACTIONS(51), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 1, + anon_sym_symdiff, + ACTIONS(67), 1, + anon_sym_diff, + ACTIONS(79), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(83), 1, + anon_sym_union, + ACTIONS(95), 1, + anon_sym_LT_DASH, + ACTIONS(309), 1, + anon_sym_then, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(41), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [2006] = 15, + ACTIONS(249), 1, + anon_sym_LPAREN, + ACTIONS(253), 1, + anon_sym_LBRACK, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, - ACTIONS(315), 1, + ACTIONS(311), 1, anon_sym_RBRACE, - ACTIONS(319), 1, + ACTIONS(315), 1, sym_integer_literal, - STATE(73), 1, + STATE(63), 1, aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, - ACTIONS(317), 2, + ACTIONS(313), 2, sym_absent, sym_float_literal, - STATE(51), 15, + STATE(51), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5499,41 +5402,97 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2215] = 15, - ACTIONS(261), 1, - anon_sym_LPAREN, - ACTIONS(265), 1, + [2071] = 20, + ACTIONS(35), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(37), 1, + anon_sym_intersect, + ACTIONS(39), 1, + anon_sym_DOT_DOT, + ACTIONS(43), 1, + anon_sym_PLUS_PLUS, + ACTIONS(47), 1, + anon_sym_SLASH, + ACTIONS(49), 1, + anon_sym_CARET, + ACTIONS(51), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 1, + anon_sym_symdiff, + ACTIONS(67), 1, + anon_sym_diff, + ACTIONS(79), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(83), 1, + anon_sym_union, + ACTIONS(95), 1, + anon_sym_LT_DASH, + ACTIONS(317), 1, + anon_sym_endif, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(41), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [2146] = 15, + ACTIONS(249), 1, + anon_sym_LPAREN, + ACTIONS(253), 1, + anon_sym_LBRACK, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, - ACTIONS(321), 1, + ACTIONS(319), 1, anon_sym_RBRACK, - ACTIONS(325), 1, + ACTIONS(323), 1, sym_integer_literal, - STATE(74), 1, + STATE(65), 1, aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, - ACTIONS(323), 2, + ACTIONS(321), 2, sym_absent, sym_float_literal, - STATE(50), 15, + STATE(50), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5548,37 +5507,93 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2279] = 13, - ACTIONS(261), 1, - anon_sym_LPAREN, - ACTIONS(265), 1, + [2211] = 20, + ACTIONS(35), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(37), 1, + anon_sym_intersect, + ACTIONS(39), 1, + anon_sym_DOT_DOT, + ACTIONS(43), 1, + anon_sym_PLUS_PLUS, + ACTIONS(47), 1, + anon_sym_SLASH, + ACTIONS(49), 1, + anon_sym_CARET, + ACTIONS(51), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 1, + anon_sym_symdiff, + ACTIONS(67), 1, + anon_sym_diff, + ACTIONS(79), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(83), 1, + anon_sym_union, + ACTIONS(95), 1, + anon_sym_LT_DASH, + ACTIONS(325), 1, + anon_sym_RPAREN, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(41), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(93), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(181), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(45), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(77), 4, + anon_sym_EQ, + anon_sym_in, + anon_sym_LT, + anon_sym_GT, + ACTIONS(81), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [2286] = 13, + ACTIONS(249), 1, + anon_sym_LPAREN, + ACTIONS(253), 1, + anon_sym_LBRACK, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(329), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(327), 2, sym_absent, sym_float_literal, - STATE(18), 15, + STATE(18), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5593,37 +5608,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2337] = 13, - ACTIONS(261), 1, + [2345] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(333), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(331), 2, sym_absent, sym_float_literal, - STATE(65), 15, + STATE(71), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5638,37 +5654,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2395] = 13, - ACTIONS(261), 1, + [2404] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(337), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(335), 2, sym_absent, sym_float_literal, - STATE(69), 15, + STATE(72), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5683,37 +5700,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2453] = 13, - ACTIONS(261), 1, + [2463] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(341), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(339), 2, sym_absent, sym_float_literal, - STATE(8), 15, + STATE(8), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5728,37 +5746,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2511] = 13, - ACTIONS(261), 1, + [2522] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(345), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(343), 2, sym_absent, sym_float_literal, - STATE(59), 15, + STATE(59), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5773,37 +5792,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2569] = 13, - ACTIONS(261), 1, + [2581] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(349), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(347), 2, sym_absent, sym_float_literal, - STATE(66), 15, + STATE(68), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5818,37 +5838,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2627] = 13, - ACTIONS(261), 1, + [2640] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(353), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(351), 2, sym_absent, sym_float_literal, - STATE(39), 15, + STATE(39), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5863,37 +5884,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2685] = 13, - ACTIONS(261), 1, + [2699] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(357), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(355), 2, sym_absent, sym_float_literal, - STATE(67), 15, + STATE(70), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5908,37 +5930,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2743] = 13, - ACTIONS(261), 1, + [2758] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(361), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(359), 2, sym_absent, sym_float_literal, - STATE(63), 15, + STATE(64), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5953,37 +5976,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2801] = 13, - ACTIONS(261), 1, + [2817] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(365), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(363), 2, sym_absent, sym_float_literal, - STATE(49), 15, + STATE(49), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -5998,37 +6022,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2859] = 13, - ACTIONS(261), 1, + [2876] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(369), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(367), 2, sym_absent, sym_float_literal, - STATE(15), 15, + STATE(15), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6043,37 +6068,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2917] = 13, - ACTIONS(261), 1, + [2935] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(373), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(371), 2, sym_absent, sym_float_literal, - STATE(25), 15, + STATE(25), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6088,37 +6114,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [2975] = 13, - ACTIONS(261), 1, + [2994] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(377), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(375), 2, sym_absent, sym_float_literal, - STATE(7), 15, + STATE(7), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6133,37 +6160,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3033] = 13, - ACTIONS(261), 1, + [3053] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(381), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(379), 2, sym_absent, sym_float_literal, - STATE(53), 15, + STATE(52), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6178,37 +6206,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3091] = 13, - ACTIONS(261), 1, + [3112] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(385), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(383), 2, sym_absent, sym_float_literal, - STATE(34), 15, + STATE(34), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6223,37 +6252,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3149] = 13, - ACTIONS(261), 1, + [3171] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(389), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(387), 2, sym_absent, sym_float_literal, - STATE(47), 15, + STATE(47), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6268,37 +6298,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3207] = 13, - ACTIONS(261), 1, + [3230] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(393), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(391), 2, sym_absent, sym_float_literal, - STATE(28), 15, + STATE(28), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6313,37 +6344,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3265] = 13, - ACTIONS(261), 1, + [3289] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(397), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(395), 2, sym_absent, sym_float_literal, - STATE(52), 15, + STATE(55), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6358,37 +6390,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3323] = 13, - ACTIONS(261), 1, + [3348] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(401), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(399), 2, sym_absent, sym_float_literal, - STATE(72), 15, + STATE(77), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6403,37 +6436,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3381] = 13, - ACTIONS(261), 1, + [3407] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(405), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(403), 2, sym_absent, sym_float_literal, - STATE(70), 15, + STATE(66), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6448,37 +6482,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3439] = 13, - ACTIONS(261), 1, + [3466] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(409), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(407), 2, sym_absent, sym_float_literal, - STATE(24), 15, + STATE(24), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6493,37 +6528,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3497] = 13, - ACTIONS(261), 1, + [3525] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(413), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(411), 2, sym_absent, sym_float_literal, - STATE(58), 15, + STATE(62), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6538,37 +6574,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3555] = 13, - ACTIONS(261), 1, + [3584] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(417), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(415), 2, sym_absent, sym_float_literal, - STATE(23), 15, + STATE(23), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6583,37 +6620,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3613] = 13, - ACTIONS(261), 1, + [3643] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(421), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(419), 2, sym_absent, sym_float_literal, - STATE(48), 15, + STATE(48), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6628,37 +6666,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3671] = 13, - ACTIONS(261), 1, + [3702] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(425), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(423), 2, sym_absent, sym_float_literal, - STATE(71), 15, + STATE(75), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6673,37 +6712,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3729] = 13, - ACTIONS(261), 1, + [3761] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(429), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(427), 2, sym_absent, sym_float_literal, - STATE(20), 15, + STATE(20), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6718,37 +6758,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3787] = 13, - ACTIONS(261), 1, + [3820] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(433), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(431), 2, sym_absent, sym_float_literal, - STATE(19), 15, + STATE(19), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6763,37 +6804,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3845] = 13, - ACTIONS(261), 1, + [3879] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(437), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(435), 2, sym_absent, sym_float_literal, - STATE(68), 15, + STATE(73), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6808,37 +6850,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3903] = 13, - ACTIONS(261), 1, + [3938] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(441), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(439), 2, sym_absent, sym_float_literal, - STATE(12), 15, + STATE(12), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6853,37 +6896,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [3961] = 13, - ACTIONS(261), 1, + [3997] = 13, + ACTIONS(249), 1, anon_sym_LPAREN, - ACTIONS(265), 1, + ACTIONS(253), 1, anon_sym_LBRACK, - ACTIONS(267), 1, + ACTIONS(255), 1, anon_sym_if, - ACTIONS(271), 1, + ACTIONS(259), 1, anon_sym_not, - ACTIONS(273), 1, + ACTIONS(261), 1, anon_sym_LBRACE, - ACTIONS(275), 1, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(301), 1, + ACTIONS(283), 1, sym_identifier, ACTIONS(445), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(269), 2, + ACTIONS(257), 2, anon_sym_DASH, anon_sym_, - ACTIONS(279), 2, + ACTIONS(267), 2, anon_sym_true, anon_sym_false, ACTIONS(443), 2, sym_absent, sym_float_literal, - STATE(40), 15, + STATE(40), 16, sym__expression, + sym_parenthesised_expression, sym_array_comprehension, sym_call, sym_generator_call, @@ -6898,7 +6942,7 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [4019] = 3, + [4056] = 3, ACTIONS(3), 2, sym_line_comment, sym_block_comment, @@ -6909,7 +6953,7 @@ static uint16_t ts_small_parse_table[] = { anon_sym_false, sym_integer_literal, sym_identifier, - ACTIONS(222), 11, + ACTIONS(214), 11, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_LBRACK, @@ -6921,7 +6965,7 @@ static uint16_t ts_small_parse_table[] = { anon_sym_DQUOTE, sym_absent, sym_float_literal, - [4045] = 8, + [4082] = 8, ACTIONS(449), 1, anon_sym_DQUOTE, ACTIONS(451), 1, @@ -6939,7 +6983,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(457), 2, sym_line_comment, sym_block_comment, - [4071] = 6, + [4108] = 6, ACTIONS(453), 1, aux_sym_string_content_token1, ACTIONS(455), 1, @@ -6954,7 +6998,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(459), 2, anon_sym_DQUOTE, anon_sym_BSLASH_LPAREN, - [4092] = 5, + [4129] = 5, ACTIONS(463), 1, aux_sym_string_content_token1, ACTIONS(465), 1, @@ -6967,7 +7011,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(461), 2, anon_sym_DQUOTE, anon_sym_BSLASH_LPAREN, - [4110] = 5, + [4147] = 5, ACTIONS(467), 1, ts_builtin_sym_end, ACTIONS(469), 1, @@ -6980,7 +7024,7 @@ static uint16_t ts_small_parse_table[] = { STATE(144), 2, sym__item, sym_assignment, - [4128] = 5, + [4165] = 5, ACTIONS(474), 1, aux_sym_string_content_token1, ACTIONS(477), 1, @@ -6993,7 +7037,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(472), 2, anon_sym_DQUOTE, anon_sym_BSLASH_LPAREN, - [4146] = 5, + [4183] = 5, ACTIONS(7), 1, sym_identifier, ACTIONS(480), 1, @@ -7006,7 +7050,7 @@ static uint16_t ts_small_parse_table[] = { STATE(140), 2, sym__item, sym_assignment, - [4164] = 4, + [4201] = 4, ACTIONS(484), 1, anon_sym_COMMA, STATE(115), 1, @@ -7018,7 +7062,7 @@ static uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, anon_sym_RBRACK, anon_sym_RBRACE, - [4180] = 2, + [4217] = 2, ACTIONS(3), 2, sym_line_comment, sym_block_comment, @@ -7027,7 +7071,7 @@ static uint16_t ts_small_parse_table[] = { anon_sym_COMMA, anon_sym_RBRACK, anon_sym_RBRACE, - [4191] = 5, + [4228] = 5, ACTIONS(185), 1, anon_sym_elseif, ACTIONS(487), 1, @@ -7039,7 +7083,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4208] = 5, + [4245] = 5, ACTIONS(491), 1, anon_sym_elseif, ACTIONS(494), 1, @@ -7051,8 +7095,8 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4225] = 4, - ACTIONS(205), 1, + [4262] = 4, + ACTIONS(201), 1, anon_sym_COMMA, ACTIONS(498), 1, anon_sym_RBRACK, @@ -7061,7 +7105,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4239] = 4, + [4276] = 4, ACTIONS(500), 1, sym_identifier, ACTIONS(502), 1, @@ -7071,7 +7115,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4253] = 4, + [4290] = 4, ACTIONS(504), 1, anon_sym_DQUOTE, ACTIONS(506), 1, @@ -7081,8 +7125,8 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4267] = 4, - ACTIONS(251), 1, + [4304] = 4, + ACTIONS(281), 1, anon_sym_RBRACK, ACTIONS(508), 1, anon_sym_COMMA, @@ -7091,7 +7135,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4281] = 4, + [4318] = 4, ACTIONS(502), 1, anon_sym_RBRACE, ACTIONS(511), 1, @@ -7101,7 +7145,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4295] = 4, + [4332] = 4, ACTIONS(500), 1, sym_identifier, ACTIONS(513), 1, @@ -7111,7 +7155,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4309] = 4, + [4346] = 4, ACTIONS(515), 1, anon_sym_RPAREN, ACTIONS(517), 1, @@ -7121,7 +7165,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4323] = 4, + [4360] = 4, ACTIONS(519), 1, anon_sym_COMMA, ACTIONS(521), 1, @@ -7131,7 +7175,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4337] = 4, + [4374] = 4, ACTIONS(523), 1, anon_sym_COMMA, ACTIONS(525), 1, @@ -7141,7 +7185,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4351] = 4, + [4388] = 4, ACTIONS(506), 1, anon_sym_BSLASH_LPAREN, ACTIONS(527), 1, @@ -7151,7 +7195,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4365] = 4, + [4402] = 4, ACTIONS(529), 1, anon_sym_COMMA, ACTIONS(531), 1, @@ -7161,7 +7205,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4379] = 4, + [4416] = 4, ACTIONS(506), 1, anon_sym_BSLASH_LPAREN, ACTIONS(533), 1, @@ -7171,7 +7215,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4393] = 4, + [4430] = 4, ACTIONS(500), 1, sym_identifier, ACTIONS(535), 1, @@ -7181,7 +7225,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4407] = 4, + [4444] = 4, ACTIONS(500), 1, sym_identifier, ACTIONS(525), 1, @@ -7191,7 +7235,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4421] = 4, + [4458] = 4, ACTIONS(537), 1, anon_sym_DQUOTE, ACTIONS(539), 1, @@ -7201,7 +7245,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4435] = 4, + [4472] = 4, ACTIONS(542), 1, anon_sym_RPAREN, ACTIONS(544), 1, @@ -7211,7 +7255,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4449] = 4, + [4486] = 4, ACTIONS(500), 1, sym_identifier, ACTIONS(546), 1, @@ -7221,7 +7265,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4463] = 4, + [4500] = 4, ACTIONS(500), 1, sym_identifier, ACTIONS(515), 1, @@ -7231,7 +7275,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4477] = 3, + [4514] = 3, ACTIONS(500), 1, sym_identifier, STATE(116), 1, @@ -7239,7 +7283,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4488] = 3, + [4525] = 3, ACTIONS(500), 1, sym_identifier, STATE(126), 1, @@ -7247,7 +7291,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4499] = 3, + [4536] = 3, ACTIONS(500), 1, sym_identifier, STATE(129), 1, @@ -7255,7 +7299,7 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4510] = 3, + [4547] = 3, ACTIONS(548), 1, ts_builtin_sym_end, ACTIONS(550), 1, @@ -7263,21 +7307,21 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4521] = 2, + [4558] = 2, ACTIONS(3), 2, sym_line_comment, sym_block_comment, ACTIONS(467), 2, ts_builtin_sym_end, sym_identifier, - [4530] = 2, + [4567] = 2, ACTIONS(3), 2, sym_line_comment, sym_block_comment, ACTIONS(552), 2, anon_sym_DQUOTE, anon_sym_BSLASH_LPAREN, - [4539] = 3, + [4576] = 3, ACTIONS(480), 1, ts_builtin_sym_end, ACTIONS(550), 1, @@ -7285,43 +7329,43 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4550] = 2, + [4587] = 2, ACTIONS(550), 1, anon_sym_SEMI, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4558] = 2, + [4595] = 2, ACTIONS(554), 1, anon_sym_LPAREN, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4566] = 2, + [4603] = 2, ACTIONS(556), 1, anon_sym_EQ, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4574] = 2, + [4611] = 2, ACTIONS(558), 1, anon_sym_LPAREN, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4582] = 2, + [4619] = 2, ACTIONS(560), 1, anon_sym_in, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4590] = 2, + [4627] = 2, ACTIONS(562), 1, anon_sym_LPAREN, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [4598] = 2, + [4635] = 2, ACTIONS(564), 1, ts_builtin_sym_end, ACTIONS(3), 2, @@ -7336,104 +7380,104 @@ static uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(50)] = 243, [SMALL_STATE(51)] = 324, [SMALL_STATE(52)] = 405, - [SMALL_STATE(53)] = 484, - [SMALL_STATE(54)] = 565, - [SMALL_STATE(55)] = 612, - [SMALL_STATE(56)] = 690, - [SMALL_STATE(57)] = 768, - [SMALL_STATE(58)] = 834, - [SMALL_STATE(59)] = 910, - [SMALL_STATE(60)] = 986, - [SMALL_STATE(61)] = 1064, - [SMALL_STATE(62)] = 1142, - [SMALL_STATE(63)] = 1209, - [SMALL_STATE(64)] = 1284, - [SMALL_STATE(65)] = 1359, - [SMALL_STATE(66)] = 1434, - [SMALL_STATE(67)] = 1509, - [SMALL_STATE(68)] = 1584, - [SMALL_STATE(69)] = 1659, - [SMALL_STATE(70)] = 1734, - [SMALL_STATE(71)] = 1809, - [SMALL_STATE(72)] = 1884, - [SMALL_STATE(73)] = 1959, - [SMALL_STATE(74)] = 2023, - [SMALL_STATE(75)] = 2087, - [SMALL_STATE(76)] = 2151, - [SMALL_STATE(77)] = 2215, - [SMALL_STATE(78)] = 2279, - [SMALL_STATE(79)] = 2337, - [SMALL_STATE(80)] = 2395, - [SMALL_STATE(81)] = 2453, - [SMALL_STATE(82)] = 2511, - [SMALL_STATE(83)] = 2569, - [SMALL_STATE(84)] = 2627, - [SMALL_STATE(85)] = 2685, - [SMALL_STATE(86)] = 2743, - [SMALL_STATE(87)] = 2801, - [SMALL_STATE(88)] = 2859, - [SMALL_STATE(89)] = 2917, - [SMALL_STATE(90)] = 2975, - [SMALL_STATE(91)] = 3033, - [SMALL_STATE(92)] = 3091, - [SMALL_STATE(93)] = 3149, - [SMALL_STATE(94)] = 3207, - [SMALL_STATE(95)] = 3265, - [SMALL_STATE(96)] = 3323, - [SMALL_STATE(97)] = 3381, - [SMALL_STATE(98)] = 3439, - [SMALL_STATE(99)] = 3497, - [SMALL_STATE(100)] = 3555, - [SMALL_STATE(101)] = 3613, - [SMALL_STATE(102)] = 3671, - [SMALL_STATE(103)] = 3729, - [SMALL_STATE(104)] = 3787, - [SMALL_STATE(105)] = 3845, - [SMALL_STATE(106)] = 3903, - [SMALL_STATE(107)] = 3961, - [SMALL_STATE(108)] = 4019, - [SMALL_STATE(109)] = 4045, - [SMALL_STATE(110)] = 4071, - [SMALL_STATE(111)] = 4092, - [SMALL_STATE(112)] = 4110, - [SMALL_STATE(113)] = 4128, - [SMALL_STATE(114)] = 4146, - [SMALL_STATE(115)] = 4164, - [SMALL_STATE(116)] = 4180, - [SMALL_STATE(117)] = 4191, - [SMALL_STATE(118)] = 4208, - [SMALL_STATE(119)] = 4225, - [SMALL_STATE(120)] = 4239, - [SMALL_STATE(121)] = 4253, - [SMALL_STATE(122)] = 4267, - [SMALL_STATE(123)] = 4281, - [SMALL_STATE(124)] = 4295, - [SMALL_STATE(125)] = 4309, - [SMALL_STATE(126)] = 4323, - [SMALL_STATE(127)] = 4337, - [SMALL_STATE(128)] = 4351, - [SMALL_STATE(129)] = 4365, - [SMALL_STATE(130)] = 4379, - [SMALL_STATE(131)] = 4393, - [SMALL_STATE(132)] = 4407, - [SMALL_STATE(133)] = 4421, - [SMALL_STATE(134)] = 4435, - [SMALL_STATE(135)] = 4449, - [SMALL_STATE(136)] = 4463, - [SMALL_STATE(137)] = 4477, - [SMALL_STATE(138)] = 4488, - [SMALL_STATE(139)] = 4499, - [SMALL_STATE(140)] = 4510, - [SMALL_STATE(141)] = 4521, - [SMALL_STATE(142)] = 4530, - [SMALL_STATE(143)] = 4539, - [SMALL_STATE(144)] = 4550, - [SMALL_STATE(145)] = 4558, - [SMALL_STATE(146)] = 4566, - [SMALL_STATE(147)] = 4574, - [SMALL_STATE(148)] = 4582, - [SMALL_STATE(149)] = 4590, - [SMALL_STATE(150)] = 4598, + [SMALL_STATE(53)] = 486, + [SMALL_STATE(54)] = 533, + [SMALL_STATE(55)] = 600, + [SMALL_STATE(56)] = 679, + [SMALL_STATE(57)] = 747, + [SMALL_STATE(58)] = 825, + [SMALL_STATE(59)] = 903, + [SMALL_STATE(60)] = 979, + [SMALL_STATE(61)] = 1057, + [SMALL_STATE(62)] = 1135, + [SMALL_STATE(63)] = 1211, + [SMALL_STATE(64)] = 1276, + [SMALL_STATE(65)] = 1351, + [SMALL_STATE(66)] = 1416, + [SMALL_STATE(67)] = 1491, + [SMALL_STATE(68)] = 1566, + [SMALL_STATE(69)] = 1641, + [SMALL_STATE(70)] = 1706, + [SMALL_STATE(71)] = 1781, + [SMALL_STATE(72)] = 1856, + [SMALL_STATE(73)] = 1931, + [SMALL_STATE(74)] = 2006, + [SMALL_STATE(75)] = 2071, + [SMALL_STATE(76)] = 2146, + [SMALL_STATE(77)] = 2211, + [SMALL_STATE(78)] = 2286, + [SMALL_STATE(79)] = 2345, + [SMALL_STATE(80)] = 2404, + [SMALL_STATE(81)] = 2463, + [SMALL_STATE(82)] = 2522, + [SMALL_STATE(83)] = 2581, + [SMALL_STATE(84)] = 2640, + [SMALL_STATE(85)] = 2699, + [SMALL_STATE(86)] = 2758, + [SMALL_STATE(87)] = 2817, + [SMALL_STATE(88)] = 2876, + [SMALL_STATE(89)] = 2935, + [SMALL_STATE(90)] = 2994, + [SMALL_STATE(91)] = 3053, + [SMALL_STATE(92)] = 3112, + [SMALL_STATE(93)] = 3171, + [SMALL_STATE(94)] = 3230, + [SMALL_STATE(95)] = 3289, + [SMALL_STATE(96)] = 3348, + [SMALL_STATE(97)] = 3407, + [SMALL_STATE(98)] = 3466, + [SMALL_STATE(99)] = 3525, + [SMALL_STATE(100)] = 3584, + [SMALL_STATE(101)] = 3643, + [SMALL_STATE(102)] = 3702, + [SMALL_STATE(103)] = 3761, + [SMALL_STATE(104)] = 3820, + [SMALL_STATE(105)] = 3879, + [SMALL_STATE(106)] = 3938, + [SMALL_STATE(107)] = 3997, + [SMALL_STATE(108)] = 4056, + [SMALL_STATE(109)] = 4082, + [SMALL_STATE(110)] = 4108, + [SMALL_STATE(111)] = 4129, + [SMALL_STATE(112)] = 4147, + [SMALL_STATE(113)] = 4165, + [SMALL_STATE(114)] = 4183, + [SMALL_STATE(115)] = 4201, + [SMALL_STATE(116)] = 4217, + [SMALL_STATE(117)] = 4228, + [SMALL_STATE(118)] = 4245, + [SMALL_STATE(119)] = 4262, + [SMALL_STATE(120)] = 4276, + [SMALL_STATE(121)] = 4290, + [SMALL_STATE(122)] = 4304, + [SMALL_STATE(123)] = 4318, + [SMALL_STATE(124)] = 4332, + [SMALL_STATE(125)] = 4346, + [SMALL_STATE(126)] = 4360, + [SMALL_STATE(127)] = 4374, + [SMALL_STATE(128)] = 4388, + [SMALL_STATE(129)] = 4402, + [SMALL_STATE(130)] = 4416, + [SMALL_STATE(131)] = 4430, + [SMALL_STATE(132)] = 4444, + [SMALL_STATE(133)] = 4458, + [SMALL_STATE(134)] = 4472, + [SMALL_STATE(135)] = 4486, + [SMALL_STATE(136)] = 4500, + [SMALL_STATE(137)] = 4514, + [SMALL_STATE(138)] = 4525, + [SMALL_STATE(139)] = 4536, + [SMALL_STATE(140)] = 4547, + [SMALL_STATE(141)] = 4558, + [SMALL_STATE(142)] = 4567, + [SMALL_STATE(143)] = 4576, + [SMALL_STATE(144)] = 4587, + [SMALL_STATE(145)] = 4595, + [SMALL_STATE(146)] = 4603, + [SMALL_STATE(147)] = 4611, + [SMALL_STATE(148)] = 4619, + [SMALL_STATE(149)] = 4627, + [SMALL_STATE(150)] = 4635, }; static TSParseActionEntry ts_parse_actions[] = { @@ -7444,7 +7488,7 @@ static TSParseActionEntry ts_parse_actions[] = { [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), [9] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression, 1), [11] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression, 1), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), [15] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_set_literal, 3), [17] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_set_literal, 3), [19] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_set_literal, 2), @@ -7467,8 +7511,8 @@ static TSParseActionEntry ts_parse_actions[] = { [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), [55] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_generator_call, 7, .production_id = 10), [57] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_generator_call, 7, .production_id = 10), - [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression, 3), - [61] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression, 3), + [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesised_expression, 3), + [61] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesised_expression, 3), [63] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_set_comprehension, 7), [65] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_set_comprehension, 7), [67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), @@ -7538,81 +7582,81 @@ static TSParseActionEntry ts_parse_actions[] = { [195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_then_else_repeat1, 4), - [203] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_then_else_repeat1, 4), - [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [209] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym__expression, 1), SHIFT(93), - [212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [216] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(2), - [219] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(85), - [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), - [224] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(77), - [227] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(86), - [230] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(89), - [233] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(89), - [236] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(76), - [239] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(109), - [242] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(64), - [245] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(17), - [248] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(64), - [251] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_indexed_access_repeat1, 2), - [253] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, .production_id = 1), - [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [259] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), - [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [267] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), - [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [271] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), - [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [279] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), - [281] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), - [283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [205] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym__expression, 1), SHIFT(93), + [208] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(2), + [211] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(85), + [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), + [216] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(76), + [219] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(86), + [222] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(89), + [225] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(89), + [228] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(74), + [231] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(109), + [234] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(67), + [237] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(17), + [240] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(67), + [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_then_else_repeat1, 4), + [245] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_then_else_repeat1, 4), + [247] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), + [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [255] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [259] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), + [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [267] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), + [269] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), + [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, .production_id = 1), + [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_indexed_access_repeat1, 2), + [283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), + [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [287] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), + [289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [293] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), [295] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [301] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), - [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [305] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), - [307] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [309] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), - [311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [313] = {.entry = {.count = 1, .reusable = false}}, SHIFT(55), - [315] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [319] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), - [321] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [323] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [325] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), + [297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [301] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), + [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [307] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [313] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [315] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), + [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [321] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [323] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), + [325] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), [327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), [329] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18), - [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), - [333] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), - [335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [337] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69), + [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [333] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), + [335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [337] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), [339] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), [341] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), [343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), [345] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), - [347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), - [349] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), + [347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [349] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), [353] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), - [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [357] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67), - [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [361] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63), + [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [357] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), + [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [361] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64), [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), [365] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), @@ -7621,36 +7665,36 @@ static TSParseActionEntry ts_parse_actions[] = { [373] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), [375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), [377] = {.entry = {.count = 1, .reusable = false}}, SHIFT(7), - [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [381] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), + [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [381] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), [383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), [385] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34), [387] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), [389] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47), [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), [393] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28), - [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [397] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), - [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [401] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), - [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [405] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), + [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [397] = {.entry = {.count = 1, .reusable = false}}, SHIFT(55), + [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [401] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), + [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [405] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), [407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), [409] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24), - [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [413] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), + [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [413] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), [417] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23), [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), [421] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), - [423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [425] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), + [423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [425] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75), [427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), [429] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), [431] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), [433] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19), - [435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [437] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), + [435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [437] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), [439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), [441] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), [443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),