From 0461e0a9ef08f98e339412ce72ad02ee40eaff4d Mon Sep 17 00:00:00 2001 From: Maksim Novikov Date: Sat, 5 Jun 2021 12:08:24 +0200 Subject: [PATCH] Add group by --- examples/select.sql | 4 +- grammar.js | 5 +- queries/highlights.scm | 8 +- src/grammar.json | 51 + src/node-types.json | 75 + src/parser.c | 8352 +++++++++++++++++++----------------- test/corpus/statements.txt | 16 + 7 files changed, 4505 insertions(+), 4006 deletions(-) diff --git a/examples/select.sql b/examples/select.sql index 738d7e8d0..a47117db8 100644 --- a/examples/select.sql +++ b/examples/select.sql @@ -1,3 +1,5 @@ +-- Example select query SELECT foo, bar, t.col1 AS baz FROM table1, table2 AS t -WHERE foo != t.col1 +WHERE foo > t.col1 +GROUP BY lower(foo) diff --git a/grammar.js b/grammar.js index 300de95ef..2d1acc687 100644 --- a/grammar.js +++ b/grammar.js @@ -169,8 +169,11 @@ module.exports = grammar({ caseInsensitive("SELECT"), optional($.select_clause), optional($.from_clause), - optional($.where_clause) + optional($.where_clause), + optional($.group_by_clause) ), + group_by_clause: ($) => + seq(caseInsensitive("GROUP BY"), commaSep1($._expression)), where_clause: ($) => seq(caseInsensitive("WHERE"), $._expression), _aliased_expression: ($) => seq($._expression, caseInsensitive("AS"), $.identifier), diff --git a/queries/highlights.scm b/queries/highlights.scm index 0f6965849..79b3eb0f5 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -1,6 +1,10 @@ -(identifier) @variable +; (identifier) @variable FIXME this overrides function call pattern (string) @string (number) @number +(comment) @comment + +(function_call + function: (identifier) @function) [ (NULL) @@ -41,4 +45,6 @@ "SELECT" "WHERE" "FROM" + "AS" + "GROUP BY" ] @keyword diff --git a/src/grammar.json b/src/grammar.json index 3dcb5d1e6..848546d78 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -1067,6 +1067,57 @@ "type": "BLANK" } ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "group_by_clause" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "group_by_clause": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[gG][rR][oO][uU][pP][ ][bB][yY]" + }, + "named": false, + "value": "GROUP BY" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_expression" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "_expression" + } + ] + } + } + ] } ] }, diff --git a/src/node-types.json b/src/node-types.json index 872138f61..e9502970c 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -1199,6 +1199,73 @@ } } }, + { + "type": "group_by_clause", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "FALSE", + "named": true + }, + { + "type": "NULL", + "named": true + }, + { + "type": "TRUE", + "named": true + }, + { + "type": "binary_expression", + "named": true + }, + { + "type": "boolean_expression", + "named": true + }, + { + "type": "comparison_operator", + "named": true + }, + { + "type": "field_access", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "in_expression", + "named": true + }, + { + "type": "is_expression", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "type_cast", + "named": true + } + ] + } + }, { "type": "in_expression", "named": true, @@ -1741,6 +1808,10 @@ "type": "from_clause", "named": true }, + { + "type": "group_by_clause", + "named": true + }, { "type": "select_clause", "named": true @@ -2201,6 +2272,10 @@ "type": "FROM", "named": false }, + { + "type": "GROUP BY", + "named": false + }, { "type": "IMMUTABLE", "named": false diff --git a/src/parser.c b/src/parser.c index 0df38521e..1b5285564 100644 --- a/src/parser.c +++ b/src/parser.c @@ -14,11 +14,11 @@ #endif #define LANGUAGE_VERSION 13 -#define STATE_COUNT 295 +#define STATE_COUNT 302 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 139 +#define SYMBOL_COUNT 141 #define ALIAS_COUNT 5 -#define TOKEN_COUNT 66 +#define TOKEN_COUNT 67 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 10 #define MAX_ALIAS_SEQUENCE_LENGTH 9 @@ -53,121 +53,123 @@ enum { aux_sym_create_table_statement_token1 = 26, aux_sym_using_clause_token1 = 27, aux_sym_select_statement_token1 = 28, - aux_sym_where_clause_token1 = 29, - aux_sym_from_clause_token1 = 30, - aux_sym_in_expression_token1 = 31, - aux_sym_in_expression_token2 = 32, - aux_sym_references_constraint_token1 = 33, - aux_sym_on_update_action_token1 = 34, - aux_sym_on_delete_action_token1 = 35, - aux_sym__constraint_action_token1 = 36, - aux_sym__constraint_action_token2 = 37, - aux_sym__constraint_action_token3 = 38, - anon_sym_LT = 39, - anon_sym_LT_EQ = 40, - anon_sym_LT_GT = 41, - anon_sym_GT = 42, - anon_sym_GT_EQ = 43, - aux_sym_is_expression_token1 = 44, - aux_sym_distinct_from_token1 = 45, - aux_sym_boolean_expression_token1 = 46, - aux_sym_boolean_expression_token2 = 47, - aux_sym_NULL_token1 = 48, - aux_sym_TRUE_token1 = 49, - aux_sym_FALSE_token1 = 50, - sym_number = 51, - sym_identifier = 52, - anon_sym_SQUOTE = 53, - aux_sym_string_token1 = 54, - anon_sym_DOLLAR_DOLLAR = 55, - aux_sym_string_token2 = 56, - anon_sym_DASH_GT_GT = 57, - aux_sym_ordered_expression_token1 = 58, - aux_sym_ordered_expression_token2 = 59, - anon_sym_LBRACK = 60, - anon_sym_RBRACK = 61, - anon_sym_COLON_COLON = 62, - sym_comment = 63, - anon_sym_TILDE = 64, - anon_sym_PLUS = 65, - sym_source_file = 66, - sym__statement = 67, - sym_create_function_statement = 68, - sym__function_optimizer_hint = 69, - sym__function_language = 70, - sym__create_function_return_type = 71, - sym_setof = 72, - sym_constrained_type = 73, - sym_create_function_parameter = 74, - sym_create_function_parameters = 75, - sym__function_body = 76, - sym_create_domain_statement = 77, - sym_create_type_statement = 78, - sym_create_index_statement = 79, - sym_create_table_column_parameter = 80, - sym_named_constraint = 81, - sym_column_default = 82, - sym_create_table_parameters = 83, - sym__table_constraint = 84, - sym_table_constraint_check = 85, - sym_table_constraint_foreign_key = 86, - sym_table_constraint_unique = 87, - sym_table_constraint_primary_key = 88, - sym_primary_key_constraint = 89, - sym_create_table_statement = 90, - sym_using_clause = 91, - sym_index_table_parameters = 92, - sym_select_statement = 93, - sym_where_clause = 94, - sym__aliased_expression = 95, - sym__aliasable_expression = 96, - sym_select_clause = 97, - sym_from_clause = 98, - sym_in_expression = 99, - sym_tuple = 100, - sym_references_constraint = 101, - sym_on_update_action = 102, - sym_on_delete_action = 103, - sym__constraint_action = 104, - sym_unique_constraint = 105, - sym_null_constraint = 106, - sym_check_constraint = 107, - sym_parameter = 108, - sym_parameters = 109, - sym_function_call = 110, - sym_comparison_operator = 111, - sym__parenthesized_expression = 112, - sym_is_expression = 113, - sym_distinct_from = 114, - sym_boolean_expression = 115, - sym_NULL = 116, - sym_TRUE = 117, - sym_FALSE = 118, - sym_string = 119, - sym_field_access = 120, - sym_ordered_expression = 121, - sym__type_alias = 122, - sym_array_type = 123, - sym__type = 124, - sym_type_cast = 125, - sym_binary_expression = 126, - sym__expression = 127, - aux_sym_source_file_repeat1 = 128, - aux_sym_create_function_statement_repeat1 = 129, - aux_sym_create_function_parameters_repeat1 = 130, - aux_sym_create_domain_statement_repeat1 = 131, - aux_sym_create_table_column_parameter_repeat1 = 132, - aux_sym_create_table_parameters_repeat1 = 133, - aux_sym_table_constraint_foreign_key_repeat1 = 134, - aux_sym_index_table_parameters_repeat1 = 135, - aux_sym_select_clause_repeat1 = 136, - aux_sym_tuple_repeat1 = 137, - aux_sym_parameters_repeat1 = 138, - anon_alias_sym_NOT = 139, - alias_sym_default = 140, - alias_sym_function_body = 141, - alias_sym_language = 142, - alias_sym_type = 143, + aux_sym_group_by_clause_token1 = 29, + aux_sym_where_clause_token1 = 30, + aux_sym_from_clause_token1 = 31, + aux_sym_in_expression_token1 = 32, + aux_sym_in_expression_token2 = 33, + aux_sym_references_constraint_token1 = 34, + aux_sym_on_update_action_token1 = 35, + aux_sym_on_delete_action_token1 = 36, + aux_sym__constraint_action_token1 = 37, + aux_sym__constraint_action_token2 = 38, + aux_sym__constraint_action_token3 = 39, + anon_sym_LT = 40, + anon_sym_LT_EQ = 41, + anon_sym_LT_GT = 42, + anon_sym_GT = 43, + anon_sym_GT_EQ = 44, + aux_sym_is_expression_token1 = 45, + aux_sym_distinct_from_token1 = 46, + aux_sym_boolean_expression_token1 = 47, + aux_sym_boolean_expression_token2 = 48, + aux_sym_NULL_token1 = 49, + aux_sym_TRUE_token1 = 50, + aux_sym_FALSE_token1 = 51, + sym_number = 52, + sym_identifier = 53, + anon_sym_SQUOTE = 54, + aux_sym_string_token1 = 55, + anon_sym_DOLLAR_DOLLAR = 56, + aux_sym_string_token2 = 57, + anon_sym_DASH_GT_GT = 58, + aux_sym_ordered_expression_token1 = 59, + aux_sym_ordered_expression_token2 = 60, + anon_sym_LBRACK = 61, + anon_sym_RBRACK = 62, + anon_sym_COLON_COLON = 63, + sym_comment = 64, + anon_sym_TILDE = 65, + anon_sym_PLUS = 66, + sym_source_file = 67, + sym__statement = 68, + sym_create_function_statement = 69, + sym__function_optimizer_hint = 70, + sym__function_language = 71, + sym__create_function_return_type = 72, + sym_setof = 73, + sym_constrained_type = 74, + sym_create_function_parameter = 75, + sym_create_function_parameters = 76, + sym__function_body = 77, + sym_create_domain_statement = 78, + sym_create_type_statement = 79, + sym_create_index_statement = 80, + sym_create_table_column_parameter = 81, + sym_named_constraint = 82, + sym_column_default = 83, + sym_create_table_parameters = 84, + sym__table_constraint = 85, + sym_table_constraint_check = 86, + sym_table_constraint_foreign_key = 87, + sym_table_constraint_unique = 88, + sym_table_constraint_primary_key = 89, + sym_primary_key_constraint = 90, + sym_create_table_statement = 91, + sym_using_clause = 92, + sym_index_table_parameters = 93, + sym_select_statement = 94, + sym_group_by_clause = 95, + sym_where_clause = 96, + sym__aliased_expression = 97, + sym__aliasable_expression = 98, + sym_select_clause = 99, + sym_from_clause = 100, + sym_in_expression = 101, + sym_tuple = 102, + sym_references_constraint = 103, + sym_on_update_action = 104, + sym_on_delete_action = 105, + sym__constraint_action = 106, + sym_unique_constraint = 107, + sym_null_constraint = 108, + sym_check_constraint = 109, + sym_parameter = 110, + sym_parameters = 111, + sym_function_call = 112, + sym_comparison_operator = 113, + sym__parenthesized_expression = 114, + sym_is_expression = 115, + sym_distinct_from = 116, + sym_boolean_expression = 117, + sym_NULL = 118, + sym_TRUE = 119, + sym_FALSE = 120, + sym_string = 121, + sym_field_access = 122, + sym_ordered_expression = 123, + sym__type_alias = 124, + sym_array_type = 125, + sym__type = 126, + sym_type_cast = 127, + sym_binary_expression = 128, + sym__expression = 129, + aux_sym_source_file_repeat1 = 130, + aux_sym_create_function_statement_repeat1 = 131, + aux_sym_create_function_parameters_repeat1 = 132, + aux_sym_create_domain_statement_repeat1 = 133, + aux_sym_create_table_column_parameter_repeat1 = 134, + aux_sym_create_table_parameters_repeat1 = 135, + aux_sym_table_constraint_foreign_key_repeat1 = 136, + aux_sym_index_table_parameters_repeat1 = 137, + aux_sym_group_by_clause_repeat1 = 138, + aux_sym_select_clause_repeat1 = 139, + aux_sym_parameters_repeat1 = 140, + anon_alias_sym_NOT = 141, + alias_sym_default = 142, + alias_sym_function_body = 143, + alias_sym_language = 144, + alias_sym_type = 145, }; static const char * const ts_symbol_names[] = { @@ -200,6 +202,7 @@ static const char * const ts_symbol_names[] = { [aux_sym_create_table_statement_token1] = "CREATE TABLE", [aux_sym_using_clause_token1] = "USING", [aux_sym_select_statement_token1] = "SELECT", + [aux_sym_group_by_clause_token1] = "GROUP BY", [aux_sym_where_clause_token1] = "WHERE", [aux_sym_from_clause_token1] = "FROM", [aux_sym_in_expression_token1] = "not", @@ -265,6 +268,7 @@ static const char * const ts_symbol_names[] = { [sym_using_clause] = "using_clause", [sym_index_table_parameters] = "index_table_parameters", [sym_select_statement] = "select_statement", + [sym_group_by_clause] = "group_by_clause", [sym_where_clause] = "where_clause", [sym__aliased_expression] = "alias", [sym__aliasable_expression] = "_aliasable_expression", @@ -307,8 +311,8 @@ static const char * const ts_symbol_names[] = { [aux_sym_create_table_parameters_repeat1] = "create_table_parameters_repeat1", [aux_sym_table_constraint_foreign_key_repeat1] = "table_constraint_foreign_key_repeat1", [aux_sym_index_table_parameters_repeat1] = "index_table_parameters_repeat1", + [aux_sym_group_by_clause_repeat1] = "group_by_clause_repeat1", [aux_sym_select_clause_repeat1] = "select_clause_repeat1", - [aux_sym_tuple_repeat1] = "tuple_repeat1", [aux_sym_parameters_repeat1] = "parameters_repeat1", [anon_alias_sym_NOT] = "NOT", [alias_sym_default] = "default", @@ -347,6 +351,7 @@ static const TSSymbol ts_symbol_map[] = { [aux_sym_create_table_statement_token1] = aux_sym_create_table_statement_token1, [aux_sym_using_clause_token1] = aux_sym_using_clause_token1, [aux_sym_select_statement_token1] = aux_sym_select_statement_token1, + [aux_sym_group_by_clause_token1] = aux_sym_group_by_clause_token1, [aux_sym_where_clause_token1] = aux_sym_where_clause_token1, [aux_sym_from_clause_token1] = aux_sym_from_clause_token1, [aux_sym_in_expression_token1] = aux_sym_in_expression_token1, @@ -412,6 +417,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_using_clause] = sym_using_clause, [sym_index_table_parameters] = sym_index_table_parameters, [sym_select_statement] = sym_select_statement, + [sym_group_by_clause] = sym_group_by_clause, [sym_where_clause] = sym_where_clause, [sym__aliased_expression] = sym__aliased_expression, [sym__aliasable_expression] = sym__aliasable_expression, @@ -454,8 +460,8 @@ static const TSSymbol ts_symbol_map[] = { [aux_sym_create_table_parameters_repeat1] = aux_sym_create_table_parameters_repeat1, [aux_sym_table_constraint_foreign_key_repeat1] = aux_sym_table_constraint_foreign_key_repeat1, [aux_sym_index_table_parameters_repeat1] = aux_sym_index_table_parameters_repeat1, + [aux_sym_group_by_clause_repeat1] = aux_sym_group_by_clause_repeat1, [aux_sym_select_clause_repeat1] = aux_sym_select_clause_repeat1, - [aux_sym_tuple_repeat1] = aux_sym_tuple_repeat1, [aux_sym_parameters_repeat1] = aux_sym_parameters_repeat1, [anon_alias_sym_NOT] = anon_alias_sym_NOT, [alias_sym_default] = alias_sym_default, @@ -581,6 +587,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [aux_sym_group_by_clause_token1] = { + .visible = true, + .named = false, + }, [aux_sym_where_clause_token1] = { .visible = true, .named = false, @@ -841,6 +851,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_group_by_clause] = { + .visible = true, + .named = true, + }, [sym_where_clause] = { .visible = true, .named = true, @@ -1009,11 +1023,11 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, - [aux_sym_select_clause_repeat1] = { + [aux_sym_group_by_clause_repeat1] = { .visible = false, .named = false, }, - [aux_sym_tuple_repeat1] = { + [aux_sym_select_clause_repeat1] = { .visible = false, .named = false, }, @@ -1162,54 +1176,56 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(252); - if (lookahead == '$') ADVANCE(23); - if (lookahead == '\'') ADVANCE(375); - if (lookahead == '(') ADVANCE(264); - if (lookahead == ')') ADVANCE(266); - if (lookahead == '+') ADVANCE(405); - if (lookahead == ',') ADVANCE(265); - if (lookahead == '-') ADVANCE(33); - if (lookahead == '/') ADVANCE(29); - if (lookahead == ':') ADVANCE(36); - if (lookahead == ';') ADVANCE(253); - if (lookahead == '<') ADVANCE(299); - if (lookahead == '=') ADVANCE(263); - if (lookahead == '>') ADVANCE(302); - if (lookahead == 'C') ADVANCE(42); - if (lookahead == '[') ADVANCE(398); - if (lookahead == '\\') SKIP(242) - if (lookahead == ']') ADVANCE(399); - if (lookahead == 'c') ADVANCE(49); - if (lookahead == '~') ADVANCE(404); + if (eof) ADVANCE(259); + if (lookahead == '$') ADVANCE(24); + if (lookahead == '\'') ADVANCE(388); + if (lookahead == '(') ADVANCE(271); + if (lookahead == ')') ADVANCE(273); + if (lookahead == '+') ADVANCE(418); + if (lookahead == ',') ADVANCE(272); + if (lookahead == '-') ADVANCE(34); + if (lookahead == '/') ADVANCE(30); + if (lookahead == ':') ADVANCE(37); + if (lookahead == ';') ADVANCE(260); + if (lookahead == '<') ADVANCE(307); + if (lookahead == '=') ADVANCE(270); + if (lookahead == '>') ADVANCE(310); + if (lookahead == 'C') ADVANCE(43); + if (lookahead == '[') ADVANCE(411); + if (lookahead == '\\') SKIP(249) + if (lookahead == ']') ADVANCE(412); + if (lookahead == 'c') ADVANCE(50); + if (lookahead == '~') ADVANCE(417); if (lookahead == 'A' || - lookahead == 'a') ADVANCE(164); + lookahead == 'a') ADVANCE(166); if (lookahead == 'D' || - lookahead == 'd') ADVANCE(81); + lookahead == 'd') ADVANCE(83); if (lookahead == 'F' || - lookahead == 'f') ADVANCE(50); + lookahead == 'f') ADVANCE(51); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(204); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(156); + lookahead == 'i') ADVANCE(158); if (lookahead == 'L' || - lookahead == 'l') ADVANCE(51); + lookahead == 'l') ADVANCE(52); if (lookahead == 'N' || - lookahead == 'n') ADVANCE(184); + lookahead == 'n') ADVANCE(186); if (lookahead == 'O' || - lookahead == 'o') ADVANCE(166); + lookahead == 'o') ADVANCE(168); if (lookahead == 'P' || - lookahead == 'p') ADVANCE(195); + lookahead == 'p') ADVANCE(199); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(82); + lookahead == 'r') ADVANCE(84); if (lookahead == 'S' || - lookahead == 's') ADVANCE(83); + lookahead == 's') ADVANCE(85); if (lookahead == 'T' || - lookahead == 't') ADVANCE(196); + lookahead == 't') ADVANCE(200); if (lookahead == 'U' || - lookahead == 'u') ADVANCE(173); + lookahead == 'u') ADVANCE(174); if (lookahead == 'V' || - lookahead == 'v') ADVANCE(186); + lookahead == 'v') ADVANCE(189); if (lookahead == 'W' || - lookahead == 'w') ADVANCE(127); + lookahead == 'w') ADVANCE(129); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -1218,91 +1234,94 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == 8203 || lookahead == 8288 || lookahead == 65279) SKIP(0) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(315); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(323); END_STATE(); case 1: - if (lookahead == '\n') SKIP(21) + if (lookahead == '\n') SKIP(22) END_STATE(); case 2: - if (lookahead == '\n') SKIP(21) + if (lookahead == '\n') SKIP(22) if (lookahead == '\r') SKIP(1) END_STATE(); case 3: - if (lookahead == '\n') SKIP(26) + if (lookahead == '\n') SKIP(27) END_STATE(); case 4: - if (lookahead == '\n') SKIP(26) + if (lookahead == '\n') SKIP(27) if (lookahead == '\r') SKIP(3) END_STATE(); case 5: - if (lookahead == '\n') SKIP(34) + if (lookahead == '\n') SKIP(35) END_STATE(); case 6: - if (lookahead == '\n') SKIP(34) + if (lookahead == '\n') SKIP(35) if (lookahead == '\r') SKIP(5) END_STATE(); case 7: - if (lookahead == '\n') SKIP(28) + if (lookahead == '\n') SKIP(29) END_STATE(); case 8: - if (lookahead == '\n') SKIP(28) + if (lookahead == '\n') SKIP(29) if (lookahead == '\r') SKIP(7) END_STATE(); case 9: - if (lookahead == '\n') SKIP(27) + if (lookahead == '\n') SKIP(28) END_STATE(); case 10: - if (lookahead == '\n') SKIP(27) + if (lookahead == '\n') SKIP(28) if (lookahead == '\r') SKIP(9) END_STATE(); case 11: - if (lookahead == '\n') SKIP(35) + if (lookahead == '\n') SKIP(36) END_STATE(); case 12: - if (lookahead == '\n') SKIP(35) + if (lookahead == '\n') SKIP(36) if (lookahead == '\r') SKIP(11) END_STATE(); case 13: - if (lookahead == '\n') SKIP(22) + if (lookahead == '\n') SKIP(23) END_STATE(); case 14: - if (lookahead == '\n') SKIP(22) + if (lookahead == '\n') SKIP(23) if (lookahead == '\r') SKIP(13) END_STATE(); case 15: - if (lookahead == ' ') ADVANCE(78); + if (lookahead == ' ') ADVANCE(80); END_STATE(); case 16: - if (lookahead == ' ') ADVANCE(178); + if (lookahead == ' ') ADVANCE(181); if (lookahead == 'O' || - lookahead == 'o') ADVANCE(115); + lookahead == 'o') ADVANCE(117); END_STATE(); case 17: - if (lookahead == ' ') ADVANCE(138); + if (lookahead == ' ') ADVANCE(64); END_STATE(); case 18: - if (lookahead == ' ') ADVANCE(118); + if (lookahead == ' ') ADVANCE(140); END_STATE(); case 19: - if (lookahead == ' ') ADVANCE(139); + if (lookahead == ' ') ADVANCE(120); END_STATE(); case 20: - if (lookahead == ' ') ADVANCE(182); + if (lookahead == ' ') ADVANCE(141); END_STATE(); case 21: - if (lookahead == '$') ADVANCE(23); - if (lookahead == '\'') ADVANCE(375); - if (lookahead == '(') ADVANCE(264); - if (lookahead == ')') ADVANCE(266); - if (lookahead == '-') ADVANCE(32); - if (lookahead == '/') ADVANCE(29); + if (lookahead == ' ') ADVANCE(184); + END_STATE(); + case 22: + if (lookahead == '$') ADVANCE(24); + if (lookahead == '\'') ADVANCE(388); + if (lookahead == '(') ADVANCE(271); + if (lookahead == ')') ADVANCE(273); + if (lookahead == '-') ADVANCE(33); + if (lookahead == '/') ADVANCE(30); if (lookahead == '\\') SKIP(2) if (lookahead == 'F' || - lookahead == 'f') ADVANCE(320); + lookahead == 'f') ADVANCE(329); if (lookahead == 'N' || - lookahead == 'n') ADVANCE(369); + lookahead == 'n') ADVANCE(382); if (lookahead == 'T' || - lookahead == 't') ADVANCE(360); + lookahead == 't') ADVANCE(371); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -1310,18 +1329,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) SKIP(21) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(314); + lookahead == 65279) SKIP(22) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(322); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 22: - if (lookahead == '$') ADVANCE(23); - if (lookahead == '\'') ADVANCE(375); - if (lookahead == '(') ADVANCE(264); - if (lookahead == '-') ADVANCE(32); - if (lookahead == '/') ADVANCE(29); + case 23: + if (lookahead == '$') ADVANCE(24); + if (lookahead == '\'') ADVANCE(388); + if (lookahead == '(') ADVANCE(271); + if (lookahead == '-') ADVANCE(33); + if (lookahead == '/') ADVANCE(30); if (lookahead == '\\') SKIP(14) if (lookahead == '\t' || lookahead == '\n' || @@ -1330,25 +1349,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) SKIP(22) + lookahead == 65279) SKIP(23) if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); - END_STATE(); - case 23: - if (lookahead == '$') ADVANCE(385); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); case 24: - if (lookahead == '$') ADVANCE(31); - if (lookahead == '*') ADVANCE(393); - if (lookahead != 0) ADVANCE(394); + if (lookahead == '$') ADVANCE(398); END_STATE(); case 25: - if (lookahead == '$') ADVANCE(240); - if (lookahead == '-') ADVANCE(391); - if (lookahead == '/') ADVANCE(389); - if (lookahead == '\\') ADVANCE(386); + if (lookahead == '$') ADVANCE(32); + if (lookahead == '*') ADVANCE(406); + if (lookahead != 0) ADVANCE(407); + END_STATE(); + case 26: + if (lookahead == '$') ADVANCE(247); + if (lookahead == '-') ADVANCE(404); + if (lookahead == '/') ADVANCE(402); + if (lookahead == '\\') ADVANCE(399); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -1356,33 +1375,33 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) ADVANCE(390); - if (lookahead != 0) ADVANCE(392); + lookahead == 65279) ADVANCE(403); + if (lookahead != 0) ADVANCE(405); END_STATE(); - case 26: - if (lookahead == '(') ADVANCE(264); - if (lookahead == ')') ADVANCE(266); - if (lookahead == '+') ADVANCE(405); - if (lookahead == ',') ADVANCE(265); - if (lookahead == '-') ADVANCE(33); - if (lookahead == '/') ADVANCE(29); - if (lookahead == ':') ADVANCE(36); - if (lookahead == '<') ADVANCE(299); - if (lookahead == '=') ADVANCE(263); - if (lookahead == '>') ADVANCE(302); - if (lookahead == '[') ADVANCE(398); + case 27: + if (lookahead == '(') ADVANCE(271); + if (lookahead == ')') ADVANCE(273); + if (lookahead == '+') ADVANCE(418); + if (lookahead == ',') ADVANCE(272); + if (lookahead == '-') ADVANCE(34); + if (lookahead == '/') ADVANCE(30); + if (lookahead == ':') ADVANCE(37); + if (lookahead == '<') ADVANCE(307); + if (lookahead == '=') ADVANCE(270); + if (lookahead == '>') ADVANCE(310); + if (lookahead == '[') ADVANCE(411); if (lookahead == '\\') SKIP(4) - if (lookahead == '~') ADVANCE(404); + if (lookahead == '~') ADVANCE(417); if (lookahead == 'A' || - lookahead == 'a') ADVANCE(165); + lookahead == 'a') ADVANCE(167); if (lookahead == 'D' || - lookahead == 'd') ADVANCE(109); + lookahead == 'd') ADVANCE(111); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(171); + lookahead == 'i') ADVANCE(172); if (lookahead == 'N' || - lookahead == 'n') ADVANCE(183); + lookahead == 'n') ADVANCE(185); if (lookahead == 'O' || - lookahead == 'o') ADVANCE(194); + lookahead == 'o') ADVANCE(198); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -1390,18 +1409,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) SKIP(26) + lookahead == 65279) SKIP(27) END_STATE(); - case 27: - if (lookahead == ')') ADVANCE(266); - if (lookahead == ',') ADVANCE(265); - if (lookahead == '-') ADVANCE(32); - if (lookahead == '/') ADVANCE(29); - if (lookahead == '=') ADVANCE(263); - if (lookahead == '[') ADVANCE(398); + case 28: + if (lookahead == ')') ADVANCE(273); + if (lookahead == ',') ADVANCE(272); + if (lookahead == '-') ADVANCE(33); + if (lookahead == '/') ADVANCE(30); + if (lookahead == '=') ADVANCE(270); + if (lookahead == '[') ADVANCE(411); if (lookahead == '\\') SKIP(10) if (lookahead == 'N' || - lookahead == 'n') ADVANCE(355); + lookahead == 'n') ADVANCE(365); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -1409,32 +1428,32 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) SKIP(27) + lookahead == 65279) SKIP(28) if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 28: - if (lookahead == ')') ADVANCE(266); - if (lookahead == ',') ADVANCE(265); - if (lookahead == '-') ADVANCE(32); - if (lookahead == '/') ADVANCE(29); - if (lookahead == 'C') ADVANCE(43); + case 29: + if (lookahead == ')') ADVANCE(273); + if (lookahead == ',') ADVANCE(272); + if (lookahead == '-') ADVANCE(33); + if (lookahead == '/') ADVANCE(30); + if (lookahead == 'C') ADVANCE(44); if (lookahead == '\\') SKIP(8) - if (lookahead == 'c') ADVANCE(125); + if (lookahead == 'c') ADVANCE(127); if (lookahead == 'D' || - lookahead == 'd') ADVANCE(102); + lookahead == 'd') ADVANCE(103); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(180); + lookahead == 'i') ADVANCE(182); if (lookahead == 'N' || - lookahead == 'n') ADVANCE(184); + lookahead == 'n') ADVANCE(186); if (lookahead == 'P' || - lookahead == 'p') ADVANCE(195); + lookahead == 'p') ADVANCE(199); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(105); + lookahead == 'r') ADVANCE(106); if (lookahead == 'U' || - lookahead == 'u') ADVANCE(172); + lookahead == 'u') ADVANCE(173); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -1442,39 +1461,39 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) SKIP(28) - END_STATE(); - case 29: - if (lookahead == '*') ADVANCE(31); + lookahead == 65279) SKIP(29) END_STATE(); case 30: - if (lookahead == '*') ADVANCE(30); - if (lookahead == '/') ADVANCE(401); - if (lookahead != 0) ADVANCE(31); + if (lookahead == '*') ADVANCE(32); END_STATE(); case 31: - if (lookahead == '*') ADVANCE(30); - if (lookahead != 0) ADVANCE(31); + if (lookahead == '*') ADVANCE(31); + if (lookahead == '/') ADVANCE(414); + if (lookahead != 0) ADVANCE(32); END_STATE(); case 32: - if (lookahead == '-') ADVANCE(403); + if (lookahead == '*') ADVANCE(31); + if (lookahead != 0) ADVANCE(32); END_STATE(); case 33: - if (lookahead == '-') ADVANCE(403); - if (lookahead == '>') ADVANCE(37); + if (lookahead == '-') ADVANCE(416); END_STATE(); case 34: - if (lookahead == '-') ADVANCE(32); - if (lookahead == '/') ADVANCE(29); + if (lookahead == '-') ADVANCE(416); + if (lookahead == '>') ADVANCE(38); + END_STATE(); + case 35: + if (lookahead == '-') ADVANCE(33); + if (lookahead == '/') ADVANCE(30); if (lookahead == '\\') SKIP(6) if (lookahead == 'C' || - lookahead == 'c') ADVANCE(340); + lookahead == 'c') ADVANCE(349); if (lookahead == 'F' || - lookahead == 'f') ADVANCE(356); + lookahead == 'f') ADVANCE(366); if (lookahead == 'P' || - lookahead == 'p') ADVANCE(358); + lookahead == 'p') ADVANCE(369); if (lookahead == 'U' || - lookahead == 'u') ADVANCE(352); + lookahead == 'u') ADVANCE(361); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -1482,18 +1501,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) SKIP(34) + lookahead == 65279) SKIP(35) if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 35: - if (lookahead == '-') ADVANCE(32); - if (lookahead == '/') ADVANCE(29); + case 36: + if (lookahead == '-') ADVANCE(33); + if (lookahead == '/') ADVANCE(30); if (lookahead == '\\') SKIP(12) if (lookahead == 'S' || - lookahead == 's') ADVANCE(335); + lookahead == 's') ADVANCE(344); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -1501,640 +1520,636 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) SKIP(35) + lookahead == 65279) SKIP(36) if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); - END_STATE(); - case 36: - if (lookahead == ':') ADVANCE(400); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); case 37: - if (lookahead == '>') ADVANCE(395); + if (lookahead == ':') ADVANCE(413); END_STATE(); case 38: - if (lookahead == 'A') ADVANCE(39); + if (lookahead == '>') ADVANCE(408); END_STATE(); case 39: - if (lookahead == 'I') ADVANCE(41); + if (lookahead == 'A') ADVANCE(40); END_STATE(); case 40: - if (lookahead == 'N') ADVANCE(46); + if (lookahead == 'I') ADVANCE(42); END_STATE(); case 41: - if (lookahead == 'N') ADVANCE(48); + if (lookahead == 'N') ADVANCE(47); END_STATE(); case 42: - if (lookahead == 'O') ADVANCE(40); - if (lookahead == 'A' || - lookahead == 'a') ADVANCE(207); - if (lookahead == 'H' || - lookahead == 'h') ADVANCE(99); - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(101); + if (lookahead == 'N') ADVANCE(49); END_STATE(); case 43: - if (lookahead == 'O') ADVANCE(40); + if (lookahead == 'O') ADVANCE(41); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(212); if (lookahead == 'H' || - lookahead == 'h') ADVANCE(99); + lookahead == 'h') ADVANCE(101); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(102); END_STATE(); case 44: - if (lookahead == 'O') ADVANCE(40); + if (lookahead == 'O') ADVANCE(41); if (lookahead == 'H' || - lookahead == 'h') ADVANCE(99); - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(101); + lookahead == 'h') ADVANCE(101); END_STATE(); case 45: - if (lookahead == 'R') ADVANCE(38); + if (lookahead == 'O') ADVANCE(41); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(101); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(102); END_STATE(); case 46: - if (lookahead == 'S') ADVANCE(47); + if (lookahead == 'R') ADVANCE(39); END_STATE(); case 47: - if (lookahead == 'T') ADVANCE(45); + if (lookahead == 'S') ADVANCE(48); END_STATE(); case 48: - if (lookahead == 'T') ADVANCE(274); + if (lookahead == 'T') ADVANCE(46); END_STATE(); case 49: - if (lookahead == 'A' || - lookahead == 'a') ADVANCE(207); - if (lookahead == 'H' || - lookahead == 'h') ADVANCE(99); - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(101); + if (lookahead == 'T') ADVANCE(281); END_STATE(); case 50: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(143); - if (lookahead == 'O' || - lookahead == 'o') ADVANCE(201); + lookahead == 'a') ADVANCE(212); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(101); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(185); + lookahead == 'r') ADVANCE(102); END_STATE(); case 51: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(167); + lookahead == 'a') ADVANCE(145); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(206); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(187); END_STATE(); case 52: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(63); + lookahead == 'a') ADVANCE(169); END_STATE(); case 53: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(77); + lookahead == 'a') ADVANCE(65); END_STATE(); case 54: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(222); + lookahead == 'a') ADVANCE(79); END_STATE(); case 55: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(229); + lookahead == 'a') ADVANCE(228); END_STATE(); case 56: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(124); + lookahead == 'a') ADVANCE(126); END_STATE(); case 57: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(197); + lookahead == 'a') ADVANCE(235); END_STATE(); case 58: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(133); + lookahead == 'a') ADVANCE(201); END_STATE(); case 59: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(220); + lookahead == 'a') ADVANCE(135); END_STATE(); case 60: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(224); + lookahead == 'a') ADVANCE(226); END_STATE(); case 61: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(64); + lookahead == 'a') ADVANCE(230); END_STATE(); case 62: if (lookahead == 'A' || - lookahead == 'a') ADVANCE(65); - if (lookahead == 'Y' || - lookahead == 'y') ADVANCE(192); + lookahead == 'a') ADVANCE(66); END_STATE(); case 63: - if (lookahead == 'B' || - lookahead == 'b') ADVANCE(149); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(67); + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(196); END_STATE(); case 64: if (lookahead == 'B' || - lookahead == 'b') ADVANCE(151); + lookahead == 'b') ADVANCE(243); END_STATE(); case 65: if (lookahead == 'B' || - lookahead == 'b') ADVANCE(152); + lookahead == 'b') ADVANCE(151); END_STATE(); case 66: - if (lookahead == 'C' || - lookahead == 'c') ADVANCE(137); + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(153); END_STATE(); case 67: - if (lookahead == 'C' || - lookahead == 'c') ADVANCE(397); + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(154); END_STATE(); case 68: if (lookahead == 'C' || - lookahead == 'c') ADVANCE(396); + lookahead == 'c') ADVANCE(139); END_STATE(); case 69: if (lookahead == 'C' || - lookahead == 'c') ADVANCE(53); + lookahead == 'c') ADVANCE(410); END_STATE(); case 70: if (lookahead == 'C' || - lookahead == 'c') ADVANCE(214); + lookahead == 'c') ADVANCE(409); END_STATE(); case 71: if (lookahead == 'C' || - lookahead == 'c') ADVANCE(217); + lookahead == 'c') ADVANCE(54); END_STATE(); case 72: if (lookahead == 'C' || - lookahead == 'c') ADVANCE(216); + lookahead == 'c') ADVANCE(219); END_STATE(); case 73: if (lookahead == 'C' || - lookahead == 'c') ADVANCE(106); + lookahead == 'c') ADVANCE(222); END_STATE(); case 74: if (lookahead == 'C' || lookahead == 'c') ADVANCE(221); END_STATE(); case 75: - if (lookahead == 'D' || - lookahead == 'd') ADVANCE(306); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(108); END_STATE(); case 76: - if (lookahead == 'D' || - lookahead == 'd') ADVANCE(84); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(227); END_STATE(); case 77: if (lookahead == 'D' || - lookahead == 'd') ADVANCE(91); + lookahead == 'd') ADVANCE(314); END_STATE(); case 78: if (lookahead == 'D' || - lookahead == 'd') ADVANCE(114); - if (lookahead == 'U' || - lookahead == 'u') ADVANCE(191); + lookahead == 'd') ADVANCE(86); END_STATE(); case 79: if (lookahead == 'D' || - lookahead == 'd') ADVANCE(190); - if (lookahead == 'F' || - lookahead == 'f') ADVANCE(235); - if (lookahead == 'T' || - lookahead == 't') ADVANCE(62); + lookahead == 'd') ADVANCE(93); END_STATE(); case 80: if (lookahead == 'D' || - lookahead == 'd') ADVANCE(60); + lookahead == 'd') ADVANCE(116); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(195); END_STATE(); case 81: - if (lookahead == 'E' || - lookahead == 'e') ADVANCE(117); - if (lookahead == 'I' || - lookahead == 'i') ADVANCE(210); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(193); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(241); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(63); END_STATE(); case 82: - if (lookahead == 'E' || - lookahead == 'e') ADVANCE(120); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(61); END_STATE(); case 83: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(155); - if (lookahead == 'T' || - lookahead == 't') ADVANCE(52); + lookahead == 'e') ADVANCE(119); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(215); END_STATE(); case 84: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(236); + lookahead == 'e') ADVANCE(122); END_STATE(); case 85: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(310); + lookahead == 'e') ADVANCE(157); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(53); END_STATE(); case 86: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(312); + lookahead == 'e') ADVANCE(242); END_STATE(); case 87: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(286); + lookahead == 'e') ADVANCE(318); END_STATE(); case 88: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(270); + lookahead == 'e') ADVANCE(320); END_STATE(); case 89: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(258); + lookahead == 'e') ADVANCE(294); END_STATE(); case 90: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(279); + lookahead == 'e') ADVANCE(277); END_STATE(); case 91: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(297); + lookahead == 'e') ADVANCE(265); END_STATE(); case 92: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(259); + lookahead == 'e') ADVANCE(286); END_STATE(); case 93: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(256); + lookahead == 'e') ADVANCE(305); END_STATE(); case 94: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(257); + lookahead == 'e') ADVANCE(266); END_STATE(); case 95: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(269); + lookahead == 'e') ADVANCE(263); END_STATE(); case 96: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(282); + lookahead == 'e') ADVANCE(264); END_STATE(); case 97: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(295); + lookahead == 'e') ADVANCE(276); END_STATE(); case 98: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(294); + lookahead == 'e') ADVANCE(289); END_STATE(); case 99: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(66); + lookahead == 'e') ADVANCE(303); END_STATE(); case 100: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(237); + lookahead == 'e') ADVANCE(302); END_STATE(); case 101: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(54); + lookahead == 'e') ADVANCE(68); END_STATE(); case 102: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(116); + lookahead == 'e') ADVANCE(55); END_STATE(); case 103: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(238); + lookahead == 'e') ADVANCE(118); END_STATE(); case 104: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(70); + lookahead == 'e') ADVANCE(244); END_STATE(); case 105: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(119); + lookahead == 'e') ADVANCE(72); END_STATE(); case 106: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(209); + lookahead == 'e') ADVANCE(121); END_STATE(); case 107: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(132); + lookahead == 'e') ADVANCE(245); END_STATE(); case 108: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(154); - if (lookahead == 'T' || - lookahead == 't') ADVANCE(52); + lookahead == 'e') ADVANCE(214); END_STATE(); case 109: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(211); + lookahead == 'e') ADVANCE(133); END_STATE(); case 110: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(203); + lookahead == 'e') ADVANCE(156); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(53); END_STATE(); case 111: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(177); + lookahead == 'e') ADVANCE(216); END_STATE(); case 112: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(223); + lookahead == 'e') ADVANCE(179); END_STATE(); case 113: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(204); + lookahead == 'e') ADVANCE(208); END_STATE(); case 114: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(153); + lookahead == 'e') ADVANCE(229); END_STATE(); case 115: - if (lookahead == 'F' || - lookahead == 'f') ADVANCE(260); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(209); END_STATE(); case 116: - if (lookahead == 'F' || - lookahead == 'f') ADVANCE(55); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(155); END_STATE(); case 117: if (lookahead == 'F' || - lookahead == 'f') ADVANCE(55); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(67); + lookahead == 'f') ADVANCE(267); END_STATE(); case 118: if (lookahead == 'F' || - lookahead == 'f') ADVANCE(205); + lookahead == 'f') ADVANCE(57); END_STATE(); case 119: if (lookahead == 'F' || - lookahead == 'f') ADVANCE(113); + lookahead == 'f') ADVANCE(57); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(69); END_STATE(); case 120: if (lookahead == 'F' || - lookahead == 'f') ADVANCE(113); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(225); - if (lookahead == 'T' || - lookahead == 't') ADVANCE(227); + lookahead == 'f') ADVANCE(210); END_STATE(); case 121: - if (lookahead == 'G' || - lookahead == 'g') ADVANCE(283); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(115); END_STATE(); case 122: - if (lookahead == 'G' || - lookahead == 'g') ADVANCE(168); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(115); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(224); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(234); END_STATE(); case 123: if (lookahead == 'G' || - lookahead == 'g') ADVANCE(231); + lookahead == 'g') ADVANCE(290); END_STATE(); case 124: if (lookahead == 'G' || - lookahead == 'g') ADVANCE(92); + lookahead == 'g') ADVANCE(176); END_STATE(); case 125: - if (lookahead == 'H' || - lookahead == 'h') ADVANCE(99); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(237); END_STATE(); case 126: - if (lookahead == 'H' || - lookahead == 'h') ADVANCE(99); - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(101); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(94); END_STATE(); case 127: if (lookahead == 'H' || - lookahead == 'h') ADVANCE(110); + lookahead == 'h') ADVANCE(101); END_STATE(); case 128: - if (lookahead == 'I' || - lookahead == 'i') ADVANCE(193); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(101); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(102); END_STATE(); case 129: - if (lookahead == 'I' || - lookahead == 'i') ADVANCE(188); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(113); END_STATE(); case 130: if (lookahead == 'I' || - lookahead == 'i') ADVANCE(162); + lookahead == 'i') ADVANCE(197); END_STATE(); case 131: if (lookahead == 'I' || - lookahead == 'i') ADVANCE(181); + lookahead == 'i') ADVANCE(164); END_STATE(); case 132: if (lookahead == 'I' || - lookahead == 'i') ADVANCE(122); + lookahead == 'i') ADVANCE(183); END_STATE(); case 133: if (lookahead == 'I' || - lookahead == 'i') ADVANCE(169); + lookahead == 'i') ADVANCE(124); END_STATE(); case 134: if (lookahead == 'I' || - lookahead == 'i') ADVANCE(174); + lookahead == 'i') ADVANCE(191); END_STATE(); case 135: if (lookahead == 'I' || - lookahead == 'i') ADVANCE(150); + lookahead == 'i') ADVANCE(170); END_STATE(); case 136: if (lookahead == 'I' || - lookahead == 'i') ADVANCE(72); + lookahead == 'i') ADVANCE(175); END_STATE(); case 137: - if (lookahead == 'K' || - lookahead == 'k') ADVANCE(276); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(152); END_STATE(); case 138: - if (lookahead == 'K' || - lookahead == 'k') ADVANCE(100); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(74); END_STATE(); case 139: if (lookahead == 'K' || - lookahead == 'k') ADVANCE(103); + lookahead == 'k') ADVANCE(283); END_STATE(); case 140: - if (lookahead == 'L' || - lookahead == 'l') ADVANCE(308); + if (lookahead == 'K' || + lookahead == 'k') ADVANCE(104); END_STATE(); case 141: - if (lookahead == 'L' || - lookahead == 'l') ADVANCE(298); + if (lookahead == 'K' || + lookahead == 'k') ADVANCE(107); END_STATE(); case 142: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(262); + lookahead == 'l') ADVANCE(316); END_STATE(); case 143: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(212); + lookahead == 'l') ADVANCE(306); END_STATE(); case 144: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(140); + lookahead == 'l') ADVANCE(269); END_STATE(); case 145: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(59); + lookahead == 'l') ADVANCE(217); END_STATE(); case 146: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(141); + lookahead == 'l') ADVANCE(142); END_STATE(); case 147: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(215); + lookahead == 'l') ADVANCE(60); END_STATE(); case 148: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(142); + lookahead == 'l') ADVANCE(143); END_STATE(); case 149: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(89); + lookahead == 'l') ADVANCE(220); END_STATE(); case 150: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(93); + lookahead == 'l') ADVANCE(144); END_STATE(); case 151: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(94); + lookahead == 'l') ADVANCE(91); END_STATE(); case 152: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(96); + lookahead == 'l') ADVANCE(95); END_STATE(); case 153: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(112); + lookahead == 'l') ADVANCE(96); END_STATE(); case 154: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(104); + lookahead == 'l') ADVANCE(98); END_STATE(); case 155: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(104); - if (lookahead == 'T' || - lookahead == 't') ADVANCE(16); + lookahead == 'l') ADVANCE(114); END_STATE(); case 156: - if (lookahead == 'M' || - lookahead == 'm') ADVANCE(161); - if (lookahead == 'N' || - lookahead == 'n') ADVANCE(292); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(304); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(105); END_STATE(); case 157: - if (lookahead == 'M' || - lookahead == 'm') ADVANCE(161); - if (lookahead == 'N' || - lookahead == 'n') ADVANCE(291); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(304); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(105); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(16); END_STATE(); case 158: if (lookahead == 'M' || - lookahead == 'm') ADVANCE(161); + lookahead == 'm') ADVANCE(163); if (lookahead == 'N' || - lookahead == 'n') ADVANCE(76); + lookahead == 'n') ADVANCE(300); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(312); END_STATE(); case 159: if (lookahead == 'M' || - lookahead == 'm') ADVANCE(288); + lookahead == 'm') ADVANCE(163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(299); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(312); END_STATE(); case 160: if (lookahead == 'M' || - lookahead == 'm') ADVANCE(305); + lookahead == 'm') ADVANCE(163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(78); END_STATE(); case 161: if (lookahead == 'M' || - lookahead == 'm') ADVANCE(228); + lookahead == 'm') ADVANCE(296); END_STATE(); case 162: if (lookahead == 'M' || - lookahead == 'm') ADVANCE(57); + lookahead == 'm') ADVANCE(313); END_STATE(); case 163: if (lookahead == 'M' || - lookahead == 'm') ADVANCE(58); + lookahead == 'm') ADVANCE(233); END_STATE(); case 164: - if (lookahead == 'N' || - lookahead == 'n') ADVANCE(75); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(267); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(58); END_STATE(); case 165: - if (lookahead == 'N' || - lookahead == 'n') ADVANCE(75); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(68); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(59); END_STATE(); case 166: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(273); - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(307); + lookahead == 'n') ADVANCE(77); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(274); END_STATE(); case 167: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(123); + lookahead == 'n') ADVANCE(77); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(70); END_STATE(); case 168: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(17); + lookahead == 'n') ADVANCE(280); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(315); END_STATE(); case 169: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(268); + lookahead == 'n') ADVANCE(125); END_STATE(); case 170: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(254); + lookahead == 'n') ADVANCE(275); END_STATE(); case 171: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(291); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(304); + lookahead == 'n') ADVANCE(261); END_STATE(); case 172: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(128); + lookahead == 'n') ADVANCE(299); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(312); END_STATE(); case 173: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(128); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(134); + lookahead == 'n') ADVANCE(130); END_STATE(); case 174: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(121); + lookahead == 'n') ADVANCE(130); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(136); END_STATE(); case 175: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(15); - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(307); + lookahead == 'n') ADVANCE(123); END_STATE(); case 176: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(208); + lookahead == 'n') ADVANCE(18); END_STATE(); case 177: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(73); + lookahead == 'n') ADVANCE(213); END_STATE(); case 178: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(233); + lookahead == 'n') ADVANCE(15); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(315); END_STATE(); case 179: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(74); + lookahead == 'n') ADVANCE(75); END_STATE(); case 180: if (lookahead == 'N' || @@ -2142,303 +2157,333 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 181: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(71); + lookahead == 'n') ADVANCE(239); END_STATE(); case 182: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(234); + lookahead == 'n') ADVANCE(78); END_STATE(); case 183: - if (lookahead == 'O' || - lookahead == 'o') ADVANCE(213); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(73); END_STATE(); case 184: - if (lookahead == 'O' || - lookahead == 'o') ADVANCE(213); - if (lookahead == 'U' || - lookahead == 'u') ADVANCE(144); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(240); END_STATE(); case 185: if (lookahead == 'O' || - lookahead == 'o') ADVANCE(159); + lookahead == 'o') ADVANCE(218); END_STATE(); case 186: if (lookahead == 'O' || - lookahead == 'o') ADVANCE(145); + lookahead == 'o') ADVANCE(218); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(146); END_STATE(); case 187: if (lookahead == 'O' || - lookahead == 'o') ADVANCE(160); + lookahead == 'o') ADVANCE(161); END_STATE(); case 188: if (lookahead == 'O' || - lookahead == 'o') ADVANCE(170); + lookahead == 'o') ADVANCE(232); END_STATE(); case 189: if (lookahead == 'O' || - lookahead == 'o') ADVANCE(219); + lookahead == 'o') ADVANCE(147); END_STATE(); case 190: if (lookahead == 'O' || - lookahead == 'o') ADVANCE(163); + lookahead == 'o') ADVANCE(162); END_STATE(); case 191: - if (lookahead == 'P' || - lookahead == 'p') ADVANCE(80); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(171); END_STATE(); case 192: - if (lookahead == 'P' || - lookahead == 'p') ADVANCE(95); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(225); END_STATE(); case 193: - if (lookahead == 'Q' || - lookahead == 'q') ADVANCE(232); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(165); END_STATE(); case 194: - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(307); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(17); END_STATE(); case 195: - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(130); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(82); END_STATE(); case 196: - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(230); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(97); END_STATE(); case 197: - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(239); + if (lookahead == 'Q' || + lookahead == 'q') ADVANCE(238); END_STATE(); case 198: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(185); + lookahead == 'r') ADVANCE(315); END_STATE(); case 199: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(101); + lookahead == 'r') ADVANCE(131); END_STATE(); case 200: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(176); + lookahead == 'r') ADVANCE(236); END_STATE(); case 201: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(107); + lookahead == 'r') ADVANCE(246); END_STATE(); case 202: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(136); + lookahead == 'r') ADVANCE(187); END_STATE(); case 203: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(87); + lookahead == 'r') ADVANCE(102); END_STATE(); case 204: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(111); + lookahead == 'r') ADVANCE(188); END_STATE(); case 205: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(187); + lookahead == 'r') ADVANCE(177); END_STATE(); case 206: - if (lookahead == 'S' || - lookahead == 's') ADVANCE(267); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(109); END_STATE(); case 207: - if (lookahead == 'S' || - lookahead == 's') ADVANCE(69); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(138); END_STATE(); case 208: - if (lookahead == 'S' || - lookahead == 's') ADVANCE(255); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(89); END_STATE(); case 209: - if (lookahead == 'S' || - lookahead == 's') ADVANCE(293); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(112); END_STATE(); case 210: - if (lookahead == 'S' || - lookahead == 's') ADVANCE(218); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(190); END_STATE(); case 211: if (lookahead == 'S' || - lookahead == 's') ADVANCE(67); + lookahead == 's') ADVANCE(274); END_STATE(); case 212: if (lookahead == 'S' || - lookahead == 's') ADVANCE(86); + lookahead == 's') ADVANCE(71); END_STATE(); case 213: - if (lookahead == 'T' || - lookahead == 't') ADVANCE(290); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(262); END_STATE(); case 214: - if (lookahead == 'T' || - lookahead == 't') ADVANCE(284); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(301); END_STATE(); case 215: - if (lookahead == 'T' || - lookahead == 't') ADVANCE(275); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(223); END_STATE(); case 216: - if (lookahead == 'T' || - lookahead == 't') ADVANCE(296); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(69); END_STATE(); case 217: - if (lookahead == 'T' || - lookahead == 't') ADVANCE(18); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(88); END_STATE(); case 218: if (lookahead == 'T' || - lookahead == 't') ADVANCE(131); + lookahead == 't') ADVANCE(298); END_STATE(); case 219: if (lookahead == 'T' || - lookahead == 't') ADVANCE(20); + lookahead == 't') ADVANCE(291); END_STATE(); case 220: if (lookahead == 'T' || - lookahead == 't') ADVANCE(135); + lookahead == 't') ADVANCE(282); END_STATE(); case 221: if (lookahead == 'T' || - lookahead == 't') ADVANCE(129); + lookahead == 't') ADVANCE(304); END_STATE(); case 222: if (lookahead == 'T' || - lookahead == 't') ADVANCE(88); + lookahead == 't') ADVANCE(19); END_STATE(); case 223: if (lookahead == 'T' || - lookahead == 't') ADVANCE(97); + lookahead == 't') ADVANCE(132); END_STATE(); case 224: if (lookahead == 'T' || - lookahead == 't') ADVANCE(98); + lookahead == 't') ADVANCE(207); END_STATE(); case 225: if (lookahead == 'T' || - lookahead == 't') ADVANCE(202); + lookahead == 't') ADVANCE(21); END_STATE(); case 226: if (lookahead == 'T' || - lookahead == 't') ADVANCE(61); + lookahead == 't') ADVANCE(137); END_STATE(); case 227: - if (lookahead == 'U' || - lookahead == 'u') ADVANCE(200); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(134); END_STATE(); case 228: - if (lookahead == 'U' || - lookahead == 'u') ADVANCE(226); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(90); END_STATE(); case 229: - if (lookahead == 'U' || - lookahead == 'u') ADVANCE(147); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(99); END_STATE(); case 230: - if (lookahead == 'U' || - lookahead == 'u') ADVANCE(85); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(100); END_STATE(); case 231: - if (lookahead == 'U' || - lookahead == 'u') ADVANCE(56); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(62); END_STATE(); case 232: if (lookahead == 'U' || - lookahead == 'u') ADVANCE(90); + lookahead == 'u') ADVANCE(194); END_STATE(); case 233: if (lookahead == 'U' || - lookahead == 'u') ADVANCE(146); + lookahead == 'u') ADVANCE(231); END_STATE(); case 234: if (lookahead == 'U' || - lookahead == 'u') ADVANCE(148); + lookahead == 'u') ADVANCE(205); END_STATE(); case 235: if (lookahead == 'U' || - lookahead == 'u') ADVANCE(179); + lookahead == 'u') ADVANCE(149); END_STATE(); case 236: - if (lookahead == 'X' || - lookahead == 'x') ADVANCE(272); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(87); END_STATE(); case 237: - if (lookahead == 'Y' || - lookahead == 'y') ADVANCE(278); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(56); END_STATE(); case 238: - if (lookahead == 'Y' || - lookahead == 'y') ADVANCE(281); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(92); END_STATE(); case 239: - if (lookahead == 'Y' || - lookahead == 'y') ADVANCE(19); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(148); END_STATE(); case 240: - if (lookahead != 0 && - lookahead != '$') ADVANCE(392); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(150); END_STATE(); case 241: - if (eof) ADVANCE(252); - if (lookahead == '\n') SKIP(0) + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(180); END_STATE(); case 242: - if (eof) ADVANCE(252); - if (lookahead == '\n') SKIP(0) - if (lookahead == '\r') SKIP(241) + if (lookahead == 'X' || + lookahead == 'x') ADVANCE(279); END_STATE(); case 243: - if (eof) ADVANCE(252); - if (lookahead == '\n') SKIP(250) + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(293); END_STATE(); case 244: - if (eof) ADVANCE(252); - if (lookahead == '\n') SKIP(250) - if (lookahead == '\r') SKIP(243) + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(285); END_STATE(); case 245: - if (eof) ADVANCE(252); - if (lookahead == '\n') SKIP(249) + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(288); END_STATE(); case 246: - if (eof) ADVANCE(252); - if (lookahead == '\n') SKIP(249) - if (lookahead == '\r') SKIP(245) + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(20); END_STATE(); case 247: - if (eof) ADVANCE(252); - if (lookahead == '\n') SKIP(251) + if (lookahead != 0 && + lookahead != '$') ADVANCE(405); END_STATE(); case 248: - if (eof) ADVANCE(252); - if (lookahead == '\n') SKIP(251) - if (lookahead == '\r') SKIP(247) + if (eof) ADVANCE(259); + if (lookahead == '\n') SKIP(0) END_STATE(); case 249: - if (eof) ADVANCE(252); - if (lookahead == '$') ADVANCE(23); - if (lookahead == '\'') ADVANCE(375); - if (lookahead == '(') ADVANCE(264); - if (lookahead == '-') ADVANCE(32); - if (lookahead == '/') ADVANCE(29); - if (lookahead == ';') ADVANCE(253); - if (lookahead == '\\') SKIP(246) + if (eof) ADVANCE(259); + if (lookahead == '\n') SKIP(0) + if (lookahead == '\r') SKIP(248) + END_STATE(); + case 250: + if (eof) ADVANCE(259); + if (lookahead == '\n') SKIP(256) + END_STATE(); + case 251: + if (eof) ADVANCE(259); + if (lookahead == '\n') SKIP(256) + if (lookahead == '\r') SKIP(250) + END_STATE(); + case 252: + if (eof) ADVANCE(259); + if (lookahead == '\n') SKIP(257) + END_STATE(); + case 253: + if (eof) ADVANCE(259); + if (lookahead == '\n') SKIP(257) + if (lookahead == '\r') SKIP(252) + END_STATE(); + case 254: + if (eof) ADVANCE(259); + if (lookahead == '\n') SKIP(258) + END_STATE(); + case 255: + if (eof) ADVANCE(259); + if (lookahead == '\n') SKIP(258) + if (lookahead == '\r') SKIP(254) + END_STATE(); + case 256: + if (eof) ADVANCE(259); + if (lookahead == '$') ADVANCE(24); + if (lookahead == '\'') ADVANCE(388); + if (lookahead == '(') ADVANCE(271); + if (lookahead == '-') ADVANCE(33); + if (lookahead == '/') ADVANCE(30); + if (lookahead == ';') ADVANCE(260); + if (lookahead == '\\') SKIP(251) if (lookahead == 'C' || - lookahead == 'c') ADVANCE(361); + lookahead == 'c') ADVANCE(372); if (lookahead == 'F' || - lookahead == 'f') ADVANCE(319); + lookahead == 'f') ADVANCE(328); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(373); if (lookahead == 'N' || - lookahead == 'n') ADVANCE(369); + lookahead == 'n') ADVANCE(382); if (lookahead == 'S' || - lookahead == 's') ADVANCE(333); + lookahead == 's') ADVANCE(342); if (lookahead == 'T' || - lookahead == 't') ADVANCE(360); + lookahead == 't') ADVANCE(371); if (lookahead == 'W' || - lookahead == 'w') ADVANCE(339); + lookahead == 'w') ADVANCE(348); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -2446,56 +2491,58 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) SKIP(249) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(314); + lookahead == 65279) SKIP(256) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(322); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 250: - if (eof) ADVANCE(252); - if (lookahead == '(') ADVANCE(264); - if (lookahead == ')') ADVANCE(266); - if (lookahead == '+') ADVANCE(405); - if (lookahead == ',') ADVANCE(265); - if (lookahead == '-') ADVANCE(33); - if (lookahead == '/') ADVANCE(29); - if (lookahead == ':') ADVANCE(36); - if (lookahead == ';') ADVANCE(253); - if (lookahead == '<') ADVANCE(299); - if (lookahead == '=') ADVANCE(263); - if (lookahead == '>') ADVANCE(302); - if (lookahead == 'C') ADVANCE(44); - if (lookahead == '[') ADVANCE(398); - if (lookahead == '\\') SKIP(244) - if (lookahead == 'c') ADVANCE(126); - if (lookahead == '~') ADVANCE(404); + case 257: + if (eof) ADVANCE(259); + if (lookahead == '(') ADVANCE(271); + if (lookahead == ')') ADVANCE(273); + if (lookahead == '+') ADVANCE(418); + if (lookahead == ',') ADVANCE(272); + if (lookahead == '-') ADVANCE(34); + if (lookahead == '/') ADVANCE(30); + if (lookahead == ':') ADVANCE(37); + if (lookahead == ';') ADVANCE(260); + if (lookahead == '<') ADVANCE(307); + if (lookahead == '=') ADVANCE(270); + if (lookahead == '>') ADVANCE(310); + if (lookahead == 'C') ADVANCE(45); + if (lookahead == '[') ADVANCE(411); + if (lookahead == '\\') SKIP(253) + if (lookahead == 'c') ADVANCE(128); + if (lookahead == '~') ADVANCE(417); if (lookahead == 'A' || - lookahead == 'a') ADVANCE(164); + lookahead == 'a') ADVANCE(166); if (lookahead == 'D' || - lookahead == 'd') ADVANCE(102); + lookahead == 'd') ADVANCE(103); if (lookahead == 'F' || - lookahead == 'f') ADVANCE(198); + lookahead == 'f') ADVANCE(202); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(204); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(157); + lookahead == 'i') ADVANCE(159); if (lookahead == 'L' || - lookahead == 'l') ADVANCE(51); + lookahead == 'l') ADVANCE(52); if (lookahead == 'N' || - lookahead == 'n') ADVANCE(184); + lookahead == 'n') ADVANCE(186); if (lookahead == 'O' || - lookahead == 'o') ADVANCE(175); + lookahead == 'o') ADVANCE(178); if (lookahead == 'P' || - lookahead == 'p') ADVANCE(195); + lookahead == 'p') ADVANCE(199); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(105); + lookahead == 'r') ADVANCE(106); if (lookahead == 'S' || - lookahead == 's') ADVANCE(108); + lookahead == 's') ADVANCE(110); if (lookahead == 'U' || - lookahead == 'u') ADVANCE(172); + lookahead == 'u') ADVANCE(173); if (lookahead == 'V' || - lookahead == 'v') ADVANCE(186); + lookahead == 'v') ADVANCE(189); if (lookahead == 'W' || - lookahead == 'w') ADVANCE(127); + lookahead == 'w') ADVANCE(129); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -2503,34 +2550,34 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) SKIP(250) + lookahead == 65279) SKIP(257) END_STATE(); - case 251: - if (eof) ADVANCE(252); - if (lookahead == ')') ADVANCE(266); - if (lookahead == ',') ADVANCE(265); - if (lookahead == '-') ADVANCE(32); - if (lookahead == '/') ADVANCE(29); - if (lookahead == ';') ADVANCE(253); - if (lookahead == '=') ADVANCE(263); - if (lookahead == '[') ADVANCE(398); - if (lookahead == '\\') SKIP(248) + case 258: + if (eof) ADVANCE(259); + if (lookahead == ')') ADVANCE(273); + if (lookahead == ',') ADVANCE(272); + if (lookahead == '-') ADVANCE(33); + if (lookahead == '/') ADVANCE(30); + if (lookahead == ';') ADVANCE(260); + if (lookahead == '=') ADVANCE(270); + if (lookahead == '[') ADVANCE(411); + if (lookahead == '\\') SKIP(255) if (lookahead == 'A' || - lookahead == 'a') ADVANCE(206); + lookahead == 'a') ADVANCE(211); if (lookahead == 'C' || - lookahead == 'c') ADVANCE(199); + lookahead == 'c') ADVANCE(203); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(158); + lookahead == 'i') ADVANCE(160); if (lookahead == 'L' || - lookahead == 'l') ADVANCE(51); + lookahead == 'l') ADVANCE(52); if (lookahead == 'N' || - lookahead == 'n') ADVANCE(189); + lookahead == 'n') ADVANCE(192); if (lookahead == 'S' || - lookahead == 's') ADVANCE(108); + lookahead == 's') ADVANCE(110); if (lookahead == 'U' || - lookahead == 'u') ADVANCE(172); + lookahead == 'u') ADVANCE(173); if (lookahead == 'V' || - lookahead == 'v') ADVANCE(186); + lookahead == 'v') ADVANCE(189); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -2538,894 +2585,946 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) SKIP(251) + lookahead == 65279) SKIP(258) END_STATE(); - case 252: + case 259: ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); - case 253: + case 260: ACCEPT_TOKEN(anon_sym_SEMI); END_STATE(); - case 254: + case 261: ACCEPT_TOKEN(aux_sym_create_function_statement_token1); END_STATE(); - case 255: + case 262: ACCEPT_TOKEN(aux_sym_create_function_statement_token2); END_STATE(); - case 256: + case 263: ACCEPT_TOKEN(aux_sym__function_optimizer_hint_token1); END_STATE(); - case 257: + case 264: ACCEPT_TOKEN(aux_sym__function_optimizer_hint_token2); END_STATE(); - case 258: + case 265: ACCEPT_TOKEN(aux_sym__function_optimizer_hint_token3); END_STATE(); - case 259: + case 266: ACCEPT_TOKEN(aux_sym__function_language_token1); END_STATE(); - case 260: + case 267: ACCEPT_TOKEN(aux_sym_setof_token1); END_STATE(); - case 261: + case 268: ACCEPT_TOKEN(aux_sym_setof_token1); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 262: + case 269: ACCEPT_TOKEN(aux_sym_constrained_type_token1); END_STATE(); - case 263: + case 270: ACCEPT_TOKEN(anon_sym_EQ); END_STATE(); - case 264: + case 271: ACCEPT_TOKEN(anon_sym_LPAREN); END_STATE(); - case 265: + case 272: ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); - case 266: + case 273: ACCEPT_TOKEN(anon_sym_RPAREN); END_STATE(); - case 267: + case 274: ACCEPT_TOKEN(aux_sym__function_body_token1); END_STATE(); - case 268: + case 275: ACCEPT_TOKEN(aux_sym_create_domain_statement_token1); END_STATE(); - case 269: + case 276: ACCEPT_TOKEN(aux_sym_create_type_statement_token1); END_STATE(); - case 270: + case 277: ACCEPT_TOKEN(aux_sym_create_index_statement_token1); - if (lookahead == ' ') ADVANCE(79); + if (lookahead == ' ') ADVANCE(81); END_STATE(); - case 271: + case 278: ACCEPT_TOKEN(aux_sym_create_index_statement_token1); - if (lookahead == ' ') ADVANCE(79); - if (lookahead == '.') ADVANCE(374); + if (lookahead == ' ') ADVANCE(81); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 272: + case 279: ACCEPT_TOKEN(aux_sym_create_index_statement_token2); END_STATE(); - case 273: + case 280: ACCEPT_TOKEN(aux_sym_create_index_statement_token3); END_STATE(); - case 274: + case 281: ACCEPT_TOKEN(anon_sym_CONSTRAINT); END_STATE(); - case 275: + case 282: ACCEPT_TOKEN(aux_sym_column_default_token1); END_STATE(); - case 276: + case 283: ACCEPT_TOKEN(aux_sym_table_constraint_check_token1); END_STATE(); - case 277: + case 284: ACCEPT_TOKEN(aux_sym_table_constraint_check_token1); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 278: + case 285: ACCEPT_TOKEN(aux_sym_table_constraint_foreign_key_token1); END_STATE(); - case 279: + case 286: ACCEPT_TOKEN(aux_sym_table_constraint_unique_token1); END_STATE(); - case 280: + case 287: ACCEPT_TOKEN(aux_sym_table_constraint_unique_token1); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 281: + case 288: ACCEPT_TOKEN(aux_sym_table_constraint_primary_key_token1); END_STATE(); - case 282: + case 289: ACCEPT_TOKEN(aux_sym_create_table_statement_token1); END_STATE(); - case 283: + case 290: ACCEPT_TOKEN(aux_sym_using_clause_token1); END_STATE(); - case 284: + case 291: ACCEPT_TOKEN(aux_sym_select_statement_token1); END_STATE(); - case 285: + case 292: ACCEPT_TOKEN(aux_sym_select_statement_token1); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 286: + case 293: + ACCEPT_TOKEN(aux_sym_group_by_clause_token1); + END_STATE(); + case 294: ACCEPT_TOKEN(aux_sym_where_clause_token1); END_STATE(); - case 287: + case 295: ACCEPT_TOKEN(aux_sym_where_clause_token1); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 288: + case 296: ACCEPT_TOKEN(aux_sym_from_clause_token1); END_STATE(); - case 289: + case 297: ACCEPT_TOKEN(aux_sym_from_clause_token1); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 290: + case 298: ACCEPT_TOKEN(aux_sym_in_expression_token1); END_STATE(); - case 291: + case 299: ACCEPT_TOKEN(aux_sym_in_expression_token2); END_STATE(); - case 292: + case 300: ACCEPT_TOKEN(aux_sym_in_expression_token2); if (lookahead == 'D' || - lookahead == 'd') ADVANCE(84); + lookahead == 'd') ADVANCE(86); END_STATE(); - case 293: + case 301: ACCEPT_TOKEN(aux_sym_references_constraint_token1); END_STATE(); - case 294: + case 302: ACCEPT_TOKEN(aux_sym_on_update_action_token1); END_STATE(); - case 295: + case 303: ACCEPT_TOKEN(aux_sym_on_delete_action_token1); END_STATE(); - case 296: + case 304: ACCEPT_TOKEN(aux_sym__constraint_action_token1); END_STATE(); - case 297: + case 305: ACCEPT_TOKEN(aux_sym__constraint_action_token2); END_STATE(); - case 298: + case 306: ACCEPT_TOKEN(aux_sym__constraint_action_token3); END_STATE(); - case 299: + case 307: ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '=') ADVANCE(300); - if (lookahead == '>') ADVANCE(301); + if (lookahead == '=') ADVANCE(308); + if (lookahead == '>') ADVANCE(309); END_STATE(); - case 300: + case 308: ACCEPT_TOKEN(anon_sym_LT_EQ); END_STATE(); - case 301: + case 309: ACCEPT_TOKEN(anon_sym_LT_GT); END_STATE(); - case 302: + case 310: ACCEPT_TOKEN(anon_sym_GT); - if (lookahead == '=') ADVANCE(303); + if (lookahead == '=') ADVANCE(311); END_STATE(); - case 303: + case 311: ACCEPT_TOKEN(anon_sym_GT_EQ); END_STATE(); - case 304: + case 312: ACCEPT_TOKEN(aux_sym_is_expression_token1); END_STATE(); - case 305: + case 313: ACCEPT_TOKEN(aux_sym_distinct_from_token1); END_STATE(); - case 306: + case 314: ACCEPT_TOKEN(aux_sym_boolean_expression_token1); END_STATE(); - case 307: + case 315: ACCEPT_TOKEN(aux_sym_boolean_expression_token2); END_STATE(); - case 308: + case 316: ACCEPT_TOKEN(aux_sym_NULL_token1); END_STATE(); - case 309: + case 317: ACCEPT_TOKEN(aux_sym_NULL_token1); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 310: + case 318: ACCEPT_TOKEN(aux_sym_TRUE_token1); END_STATE(); - case 311: + case 319: ACCEPT_TOKEN(aux_sym_TRUE_token1); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 312: + case 320: ACCEPT_TOKEN(aux_sym_FALSE_token1); END_STATE(); - case 313: + case 321: ACCEPT_TOKEN(aux_sym_FALSE_token1); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 314: + case 322: ACCEPT_TOKEN(sym_number); - if (lookahead == '.') ADVANCE(374); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(314); + if (lookahead == '.') ADVANCE(387); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(322); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 315: + case 323: ACCEPT_TOKEN(sym_number); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(315); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(323); END_STATE(); - case 316: + case 324: ACCEPT_TOKEN(sym_identifier); - if (lookahead == ' ') ADVANCE(138); - if (lookahead == '.') ADVANCE(374); + if (lookahead == ' ') ADVANCE(64); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 317: + case 325: ACCEPT_TOKEN(sym_identifier); - if (lookahead == ' ') ADVANCE(139); - if (lookahead == '.') ADVANCE(374); + if (lookahead == ' ') ADVANCE(140); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 318: + case 326: ACCEPT_TOKEN(sym_identifier); - if (lookahead == ' ') ADVANCE(182); - if (lookahead == '.') ADVANCE(374); + if (lookahead == ' ') ADVANCE(141); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 319: + case 327: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == ' ') ADVANCE(184); + if (lookahead == '.') ADVANCE(387); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); + END_STATE(); + case 328: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'A' || - lookahead == 'a') ADVANCE(345); + lookahead == 'a') ADVANCE(354); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(353); + lookahead == 'r') ADVANCE(362); if (('0' <= lookahead && lookahead <= '9') || ('B' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('b' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 320: + case 329: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'A' || - lookahead == 'a') ADVANCE(345); + lookahead == 'a') ADVANCE(354); if (('0' <= lookahead && lookahead <= '9') || ('B' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('b' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 321: + case 330: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'A' || - lookahead == 'a') ADVANCE(368); + lookahead == 'a') ADVANCE(380); if (('0' <= lookahead && lookahead <= '9') || ('B' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('b' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 322: + case 331: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'A' || - lookahead == 'a') ADVANCE(359); + lookahead == 'a') ADVANCE(370); if (('0' <= lookahead && lookahead <= '9') || ('B' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('b' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 323: + case 332: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'C' || - lookahead == 'c') ADVANCE(344); + lookahead == 'c') ADVANCE(353); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 324: + case 333: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'C' || - lookahead == 'c') ADVANCE(365); + lookahead == 'c') ADVANCE(377); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 325: + case 334: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(321); + lookahead == 'e') ADVANCE(330); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 326: + case 335: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(324); + lookahead == 'e') ADVANCE(333); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 327: + case 336: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(311); + lookahead == 'e') ADVANCE(319); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 328: + case 337: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(313); + lookahead == 'e') ADVANCE(321); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 329: + case 338: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(287); + lookahead == 'e') ADVANCE(295); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 330: + case 339: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(271); + lookahead == 'e') ADVANCE(278); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 331: + case 340: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(280); + lookahead == 'e') ADVANCE(287); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 332: + case 341: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(323); + lookahead == 'e') ADVANCE(332); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 333: + case 342: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(347); + lookahead == 'e') ADVANCE(356); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 334: + case 343: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(342); + lookahead == 'e') ADVANCE(351); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 335: + case 344: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(367); + lookahead == 'e') ADVANCE(379); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 336: + case 345: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(362); + lookahead == 'e') ADVANCE(374); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 337: + case 346: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'F' || - lookahead == 'f') ADVANCE(261); + lookahead == 'f') ADVANCE(268); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 338: + case 347: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'G' || - lookahead == 'g') ADVANCE(351); + lookahead == 'g') ADVANCE(360); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 339: + case 348: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'H' || - lookahead == 'h') ADVANCE(336); + lookahead == 'h') ADVANCE(345); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 340: + case 349: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'H' || - lookahead == 'h') ADVANCE(332); + lookahead == 'h') ADVANCE(341); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 341: + case 350: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(357); + lookahead == 'i') ADVANCE(368); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 342: + case 351: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(338); + lookahead == 'i') ADVANCE(347); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 343: + case 352: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(350); + lookahead == 'i') ADVANCE(359); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 344: + case 353: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'K' || - lookahead == 'k') ADVANCE(277); + lookahead == 'k') ADVANCE(284); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 345: + case 354: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'L' || - lookahead == 'l') ADVANCE(364); + lookahead == 'l') ADVANCE(376); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 346: + case 355: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'L' || - lookahead == 'l') ADVANCE(309); + lookahead == 'l') ADVANCE(317); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 347: + case 356: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'L' || - lookahead == 'l') ADVANCE(326); + lookahead == 'l') ADVANCE(335); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 348: + case 357: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'L' || - lookahead == 'l') ADVANCE(346); + lookahead == 'l') ADVANCE(355); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 349: + case 358: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'M' || - lookahead == 'm') ADVANCE(289); + lookahead == 'm') ADVANCE(297); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 350: + case 359: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'M' || - lookahead == 'm') ADVANCE(322); + lookahead == 'm') ADVANCE(331); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 351: + case 360: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'N' || - lookahead == 'n') ADVANCE(316); + lookahead == 'n') ADVANCE(325); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 352: + case 361: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'N' || - lookahead == 'n') ADVANCE(341); + lookahead == 'n') ADVANCE(350); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 353: + case 362: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'O' || - lookahead == 'o') ADVANCE(349); + lookahead == 'o') ADVANCE(358); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 354: + case 363: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'O' || - lookahead == 'o') ADVANCE(337); + lookahead == 'o') ADVANCE(346); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 355: + case 364: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'O' || - lookahead == 'o') ADVANCE(366); + lookahead == 'o') ADVANCE(381); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 356: + case 365: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'O' || - lookahead == 'o') ADVANCE(363); + lookahead == 'o') ADVANCE(378); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 357: + case 366: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(387); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(375); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); + END_STATE(); + case 367: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(387); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(324); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); + END_STATE(); + case 368: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'Q' || - lookahead == 'q') ADVANCE(371); + lookahead == 'q') ADVANCE(384); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 358: + case 369: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(343); + lookahead == 'r') ADVANCE(352); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 359: + case 370: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(372); + lookahead == 'r') ADVANCE(385); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 360: + case 371: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(370); + lookahead == 'r') ADVANCE(383); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 361: + case 372: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(325); + lookahead == 'r') ADVANCE(334); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 362: + case 373: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(329); + lookahead == 'r') ADVANCE(364); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 363: + case 374: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'R' || - lookahead == 'r') ADVANCE(334); + lookahead == 'r') ADVANCE(338); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 364: + case 375: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(387); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(343); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); + END_STATE(); + case 376: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'S' || - lookahead == 's') ADVANCE(328); + lookahead == 's') ADVANCE(337); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 365: + case 377: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'T' || - lookahead == 't') ADVANCE(285); + lookahead == 't') ADVANCE(292); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 366: + case 378: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'T' || - lookahead == 't') ADVANCE(318); + lookahead == 't') ADVANCE(327); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 367: + case 379: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'T' || - lookahead == 't') ADVANCE(354); + lookahead == 't') ADVANCE(363); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 368: + case 380: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'T' || - lookahead == 't') ADVANCE(330); + lookahead == 't') ADVANCE(339); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 369: + case 381: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'U' || - lookahead == 'u') ADVANCE(348); + lookahead == 'u') ADVANCE(367); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 370: + case 382: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'U' || - lookahead == 'u') ADVANCE(327); + lookahead == 'u') ADVANCE(357); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 371: + case 383: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'U' || - lookahead == 'u') ADVANCE(331); + lookahead == 'u') ADVANCE(336); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 372: + case 384: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(387); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(340); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); + END_STATE(); + case 385: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (lookahead == 'Y' || - lookahead == 'y') ADVANCE(317); + lookahead == 'y') ADVANCE(326); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 373: + case 386: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(374); + if (lookahead == '.') ADVANCE(387); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(373); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(386); END_STATE(); - case 374: + case 387: ACCEPT_TOKEN(sym_identifier); if (lookahead == '.' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(374); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(387); END_STATE(); - case 375: + case 388: ACCEPT_TOKEN(anon_sym_SQUOTE); END_STATE(); - case 376: + case 389: ACCEPT_TOKEN(aux_sym_string_token1); - if (lookahead == '\n') ADVANCE(382); - if (lookahead == '\r') ADVANCE(377); + if (lookahead == '\n') ADVANCE(395); + if (lookahead == '\r') ADVANCE(390); if (lookahead != 0 && - lookahead != '\'') ADVANCE(384); + lookahead != '\'') ADVANCE(397); END_STATE(); - case 377: + case 390: ACCEPT_TOKEN(aux_sym_string_token1); - if (lookahead == '\n') ADVANCE(382); + if (lookahead == '\n') ADVANCE(395); if (lookahead != 0 && - lookahead != '\'') ADVANCE(384); + lookahead != '\'') ADVANCE(397); END_STATE(); - case 378: + case 391: ACCEPT_TOKEN(aux_sym_string_token1); - if (lookahead == '\n') ADVANCE(384); - if (lookahead == '\'') ADVANCE(403); - if (lookahead != 0) ADVANCE(378); + if (lookahead == '\n') ADVANCE(397); + if (lookahead == '\'') ADVANCE(416); + if (lookahead != 0) ADVANCE(391); END_STATE(); - case 379: + case 392: ACCEPT_TOKEN(aux_sym_string_token1); - if (lookahead == '\'') ADVANCE(31); - if (lookahead == '*') ADVANCE(379); - if (lookahead == '/') ADVANCE(384); - if (lookahead != 0) ADVANCE(380); + if (lookahead == '\'') ADVANCE(32); + if (lookahead == '*') ADVANCE(392); + if (lookahead == '/') ADVANCE(397); + if (lookahead != 0) ADVANCE(393); END_STATE(); - case 380: + case 393: ACCEPT_TOKEN(aux_sym_string_token1); - if (lookahead == '\'') ADVANCE(31); - if (lookahead == '*') ADVANCE(379); - if (lookahead != 0) ADVANCE(380); + if (lookahead == '\'') ADVANCE(32); + if (lookahead == '*') ADVANCE(392); + if (lookahead != 0) ADVANCE(393); END_STATE(); - case 381: + case 394: ACCEPT_TOKEN(aux_sym_string_token1); - if (lookahead == '*') ADVANCE(380); + if (lookahead == '*') ADVANCE(393); if (lookahead != 0 && - lookahead != '\'') ADVANCE(384); + lookahead != '\'') ADVANCE(397); END_STATE(); - case 382: + case 395: ACCEPT_TOKEN(aux_sym_string_token1); - if (lookahead == '-') ADVANCE(383); - if (lookahead == '/') ADVANCE(381); - if (lookahead == '\\') ADVANCE(376); + if (lookahead == '-') ADVANCE(396); + if (lookahead == '/') ADVANCE(394); + if (lookahead == '\\') ADVANCE(389); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -3433,55 +3532,55 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) ADVANCE(382); + lookahead == 65279) ADVANCE(395); if (lookahead != 0 && - lookahead != '\'') ADVANCE(384); + lookahead != '\'') ADVANCE(397); END_STATE(); - case 383: + case 396: ACCEPT_TOKEN(aux_sym_string_token1); - if (lookahead == '-') ADVANCE(378); + if (lookahead == '-') ADVANCE(391); if (lookahead != 0 && - lookahead != '\'') ADVANCE(384); + lookahead != '\'') ADVANCE(397); END_STATE(); - case 384: + case 397: ACCEPT_TOKEN(aux_sym_string_token1); if (lookahead != 0 && - lookahead != '\'') ADVANCE(384); + lookahead != '\'') ADVANCE(397); END_STATE(); - case 385: + case 398: ACCEPT_TOKEN(anon_sym_DOLLAR_DOLLAR); END_STATE(); - case 386: + case 399: ACCEPT_TOKEN(aux_sym_string_token2); - if (lookahead == '\n') ADVANCE(390); - if (lookahead == '\r') ADVANCE(387); - if (lookahead == '$') ADVANCE(240); - if (lookahead != 0) ADVANCE(392); + if (lookahead == '\n') ADVANCE(403); + if (lookahead == '\r') ADVANCE(400); + if (lookahead == '$') ADVANCE(247); + if (lookahead != 0) ADVANCE(405); END_STATE(); - case 387: + case 400: ACCEPT_TOKEN(aux_sym_string_token2); - if (lookahead == '\n') ADVANCE(390); - if (lookahead == '$') ADVANCE(240); - if (lookahead != 0) ADVANCE(392); + if (lookahead == '\n') ADVANCE(403); + if (lookahead == '$') ADVANCE(247); + if (lookahead != 0) ADVANCE(405); END_STATE(); - case 388: + case 401: ACCEPT_TOKEN(aux_sym_string_token2); - if (lookahead == '\n') ADVANCE(392); - if (lookahead == '$') ADVANCE(402); - if (lookahead != 0) ADVANCE(388); + if (lookahead == '\n') ADVANCE(405); + if (lookahead == '$') ADVANCE(415); + if (lookahead != 0) ADVANCE(401); END_STATE(); - case 389: + case 402: ACCEPT_TOKEN(aux_sym_string_token2); - if (lookahead == '$') ADVANCE(240); - if (lookahead == '*') ADVANCE(394); - if (lookahead != 0) ADVANCE(392); + if (lookahead == '$') ADVANCE(247); + if (lookahead == '*') ADVANCE(407); + if (lookahead != 0) ADVANCE(405); END_STATE(); - case 390: + case 403: ACCEPT_TOKEN(aux_sym_string_token2); - if (lookahead == '$') ADVANCE(240); - if (lookahead == '-') ADVANCE(391); - if (lookahead == '/') ADVANCE(389); - if (lookahead == '\\') ADVANCE(386); + if (lookahead == '$') ADVANCE(247); + if (lookahead == '-') ADVANCE(404); + if (lookahead == '/') ADVANCE(402); + if (lookahead == '\\') ADVANCE(399); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\f' || @@ -3489,69 +3588,69 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ' ' || lookahead == 8203 || lookahead == 8288 || - lookahead == 65279) ADVANCE(390); - if (lookahead != 0) ADVANCE(392); + lookahead == 65279) ADVANCE(403); + if (lookahead != 0) ADVANCE(405); END_STATE(); - case 391: + case 404: ACCEPT_TOKEN(aux_sym_string_token2); - if (lookahead == '$') ADVANCE(240); - if (lookahead == '-') ADVANCE(388); - if (lookahead != 0) ADVANCE(392); + if (lookahead == '$') ADVANCE(247); + if (lookahead == '-') ADVANCE(401); + if (lookahead != 0) ADVANCE(405); END_STATE(); - case 392: + case 405: ACCEPT_TOKEN(aux_sym_string_token2); - if (lookahead == '$') ADVANCE(240); - if (lookahead != 0) ADVANCE(392); + if (lookahead == '$') ADVANCE(247); + if (lookahead != 0) ADVANCE(405); END_STATE(); - case 393: + case 406: ACCEPT_TOKEN(aux_sym_string_token2); - if (lookahead == '$') ADVANCE(24); - if (lookahead == '*') ADVANCE(393); - if (lookahead == '/') ADVANCE(392); - if (lookahead != 0) ADVANCE(394); + if (lookahead == '$') ADVANCE(25); + if (lookahead == '*') ADVANCE(406); + if (lookahead == '/') ADVANCE(405); + if (lookahead != 0) ADVANCE(407); END_STATE(); - case 394: + case 407: ACCEPT_TOKEN(aux_sym_string_token2); - if (lookahead == '$') ADVANCE(24); - if (lookahead == '*') ADVANCE(393); - if (lookahead != 0) ADVANCE(394); + if (lookahead == '$') ADVANCE(25); + if (lookahead == '*') ADVANCE(406); + if (lookahead != 0) ADVANCE(407); END_STATE(); - case 395: + case 408: ACCEPT_TOKEN(anon_sym_DASH_GT_GT); END_STATE(); - case 396: + case 409: ACCEPT_TOKEN(aux_sym_ordered_expression_token1); END_STATE(); - case 397: + case 410: ACCEPT_TOKEN(aux_sym_ordered_expression_token2); END_STATE(); - case 398: + case 411: ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); - case 399: + case 412: ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); - case 400: + case 413: ACCEPT_TOKEN(anon_sym_COLON_COLON); END_STATE(); - case 401: + case 414: ACCEPT_TOKEN(sym_comment); END_STATE(); - case 402: + case 415: ACCEPT_TOKEN(sym_comment); - if (lookahead == '\n') ADVANCE(392); - if (lookahead == '$') ADVANCE(403); - if (lookahead != 0) ADVANCE(388); + if (lookahead == '\n') ADVANCE(405); + if (lookahead == '$') ADVANCE(416); + if (lookahead != 0) ADVANCE(401); END_STATE(); - case 403: + case 416: ACCEPT_TOKEN(sym_comment); if (lookahead != 0 && - lookahead != '\n') ADVANCE(403); + lookahead != '\n') ADVANCE(416); END_STATE(); - case 404: + case 417: ACCEPT_TOKEN(anon_sym_TILDE); END_STATE(); - case 405: + case 418: ACCEPT_TOKEN(anon_sym_PLUS); END_STATE(); default: @@ -3562,124 +3661,124 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, [1] = {.lex_state = 0}, - [2] = {.lex_state = 250}, - [3] = {.lex_state = 249}, - [4] = {.lex_state = 250}, - [5] = {.lex_state = 250}, - [6] = {.lex_state = 250}, - [7] = {.lex_state = 250}, - [8] = {.lex_state = 250}, - [9] = {.lex_state = 250}, - [10] = {.lex_state = 250}, - [11] = {.lex_state = 250}, - [12] = {.lex_state = 250}, - [13] = {.lex_state = 250}, - [14] = {.lex_state = 250}, - [15] = {.lex_state = 250}, - [16] = {.lex_state = 250}, - [17] = {.lex_state = 250}, - [18] = {.lex_state = 250}, - [19] = {.lex_state = 250}, - [20] = {.lex_state = 250}, - [21] = {.lex_state = 250}, - [22] = {.lex_state = 250}, - [23] = {.lex_state = 250}, - [24] = {.lex_state = 250}, - [25] = {.lex_state = 250}, - [26] = {.lex_state = 250}, - [27] = {.lex_state = 250}, - [28] = {.lex_state = 250}, - [29] = {.lex_state = 250}, - [30] = {.lex_state = 250}, - [31] = {.lex_state = 21}, - [32] = {.lex_state = 21}, - [33] = {.lex_state = 21}, - [34] = {.lex_state = 21}, - [35] = {.lex_state = 21}, - [36] = {.lex_state = 21}, - [37] = {.lex_state = 21}, - [38] = {.lex_state = 21}, - [39] = {.lex_state = 21}, - [40] = {.lex_state = 21}, - [41] = {.lex_state = 21}, - [42] = {.lex_state = 21}, - [43] = {.lex_state = 21}, - [44] = {.lex_state = 21}, - [45] = {.lex_state = 21}, - [46] = {.lex_state = 21}, - [47] = {.lex_state = 21}, - [48] = {.lex_state = 21}, - [49] = {.lex_state = 21}, - [50] = {.lex_state = 21}, - [51] = {.lex_state = 21}, - [52] = {.lex_state = 21}, - [53] = {.lex_state = 21}, - [54] = {.lex_state = 21}, - [55] = {.lex_state = 21}, - [56] = {.lex_state = 21}, - [57] = {.lex_state = 250}, - [58] = {.lex_state = 26}, - [59] = {.lex_state = 0}, - [60] = {.lex_state = 0}, + [2] = {.lex_state = 256}, + [3] = {.lex_state = 257}, + [4] = {.lex_state = 257}, + [5] = {.lex_state = 257}, + [6] = {.lex_state = 257}, + [7] = {.lex_state = 257}, + [8] = {.lex_state = 257}, + [9] = {.lex_state = 257}, + [10] = {.lex_state = 257}, + [11] = {.lex_state = 257}, + [12] = {.lex_state = 257}, + [13] = {.lex_state = 257}, + [14] = {.lex_state = 257}, + [15] = {.lex_state = 257}, + [16] = {.lex_state = 257}, + [17] = {.lex_state = 257}, + [18] = {.lex_state = 257}, + [19] = {.lex_state = 257}, + [20] = {.lex_state = 257}, + [21] = {.lex_state = 257}, + [22] = {.lex_state = 257}, + [23] = {.lex_state = 257}, + [24] = {.lex_state = 257}, + [25] = {.lex_state = 257}, + [26] = {.lex_state = 257}, + [27] = {.lex_state = 257}, + [28] = {.lex_state = 257}, + [29] = {.lex_state = 257}, + [30] = {.lex_state = 257}, + [31] = {.lex_state = 22}, + [32] = {.lex_state = 22}, + [33] = {.lex_state = 22}, + [34] = {.lex_state = 22}, + [35] = {.lex_state = 257}, + [36] = {.lex_state = 257}, + [37] = {.lex_state = 22}, + [38] = {.lex_state = 22}, + [39] = {.lex_state = 22}, + [40] = {.lex_state = 22}, + [41] = {.lex_state = 22}, + [42] = {.lex_state = 22}, + [43] = {.lex_state = 22}, + [44] = {.lex_state = 22}, + [45] = {.lex_state = 22}, + [46] = {.lex_state = 22}, + [47] = {.lex_state = 22}, + [48] = {.lex_state = 257}, + [49] = {.lex_state = 22}, + [50] = {.lex_state = 22}, + [51] = {.lex_state = 22}, + [52] = {.lex_state = 22}, + [53] = {.lex_state = 22}, + [54] = {.lex_state = 22}, + [55] = {.lex_state = 22}, + [56] = {.lex_state = 22}, + [57] = {.lex_state = 22}, + [58] = {.lex_state = 22}, + [59] = {.lex_state = 22}, + [60] = {.lex_state = 22}, [61] = {.lex_state = 0}, - [62] = {.lex_state = 26}, - [63] = {.lex_state = 26}, - [64] = {.lex_state = 26}, - [65] = {.lex_state = 0}, - [66] = {.lex_state = 26}, - [67] = {.lex_state = 26}, - [68] = {.lex_state = 0}, - [69] = {.lex_state = 251}, - [70] = {.lex_state = 26}, - [71] = {.lex_state = 251}, - [72] = {.lex_state = 26}, - [73] = {.lex_state = 26}, - [74] = {.lex_state = 26}, - [75] = {.lex_state = 26}, - [76] = {.lex_state = 26}, - [77] = {.lex_state = 26}, - [78] = {.lex_state = 26}, - [79] = {.lex_state = 26}, - [80] = {.lex_state = 26}, - [81] = {.lex_state = 26}, + [62] = {.lex_state = 27}, + [63] = {.lex_state = 0}, + [64] = {.lex_state = 0}, + [65] = {.lex_state = 258}, + [66] = {.lex_state = 27}, + [67] = {.lex_state = 27}, + [68] = {.lex_state = 27}, + [69] = {.lex_state = 27}, + [70] = {.lex_state = 27}, + [71] = {.lex_state = 27}, + [72] = {.lex_state = 258}, + [73] = {.lex_state = 27}, + [74] = {.lex_state = 27}, + [75] = {.lex_state = 27}, + [76] = {.lex_state = 27}, + [77] = {.lex_state = 0}, + [78] = {.lex_state = 0}, + [79] = {.lex_state = 27}, + [80] = {.lex_state = 27}, + [81] = {.lex_state = 27}, [82] = {.lex_state = 0}, - [83] = {.lex_state = 26}, - [84] = {.lex_state = 0}, - [85] = {.lex_state = 26}, - [86] = {.lex_state = 26}, - [87] = {.lex_state = 26}, - [88] = {.lex_state = 26}, - [89] = {.lex_state = 26}, - [90] = {.lex_state = 0}, - [91] = {.lex_state = 26}, - [92] = {.lex_state = 26}, - [93] = {.lex_state = 26}, - [94] = {.lex_state = 26}, - [95] = {.lex_state = 26}, - [96] = {.lex_state = 250}, - [97] = {.lex_state = 250}, - [98] = {.lex_state = 0}, - [99] = {.lex_state = 250}, - [100] = {.lex_state = 0}, - [101] = {.lex_state = 250}, + [83] = {.lex_state = 27}, + [84] = {.lex_state = 27}, + [85] = {.lex_state = 27}, + [86] = {.lex_state = 27}, + [87] = {.lex_state = 27}, + [88] = {.lex_state = 27}, + [89] = {.lex_state = 27}, + [90] = {.lex_state = 27}, + [91] = {.lex_state = 0}, + [92] = {.lex_state = 0}, + [93] = {.lex_state = 27}, + [94] = {.lex_state = 27}, + [95] = {.lex_state = 27}, + [96] = {.lex_state = 27}, + [97] = {.lex_state = 27}, + [98] = {.lex_state = 27}, + [99] = {.lex_state = 257}, + [100] = {.lex_state = 257}, + [101] = {.lex_state = 257}, [102] = {.lex_state = 0}, - [103] = {.lex_state = 250}, - [104] = {.lex_state = 251}, - [105] = {.lex_state = 250}, - [106] = {.lex_state = 250}, - [107] = {.lex_state = 250}, + [103] = {.lex_state = 0}, + [104] = {.lex_state = 257}, + [105] = {.lex_state = 257}, + [106] = {.lex_state = 257}, + [107] = {.lex_state = 258}, [108] = {.lex_state = 0}, - [109] = {.lex_state = 0}, - [110] = {.lex_state = 0}, - [111] = {.lex_state = 250}, - [112] = {.lex_state = 251}, - [113] = {.lex_state = 250}, - [114] = {.lex_state = 250}, - [115] = {.lex_state = 250}, - [116] = {.lex_state = 250}, - [117] = {.lex_state = 0}, - [118] = {.lex_state = 0}, - [119] = {.lex_state = 0}, + [109] = {.lex_state = 257}, + [110] = {.lex_state = 257}, + [111] = {.lex_state = 0}, + [112] = {.lex_state = 0}, + [113] = {.lex_state = 0}, + [114] = {.lex_state = 258}, + [115] = {.lex_state = 0}, + [116] = {.lex_state = 257}, + [117] = {.lex_state = 257}, + [118] = {.lex_state = 257}, + [119] = {.lex_state = 257}, [120] = {.lex_state = 0}, [121] = {.lex_state = 0}, [122] = {.lex_state = 0}, @@ -3687,25 +3786,25 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [124] = {.lex_state = 0}, [125] = {.lex_state = 0}, [126] = {.lex_state = 0}, - [127] = {.lex_state = 34}, + [127] = {.lex_state = 0}, [128] = {.lex_state = 0}, [129] = {.lex_state = 0}, [130] = {.lex_state = 0}, [131] = {.lex_state = 0}, - [132] = {.lex_state = 250}, - [133] = {.lex_state = 250}, - [134] = {.lex_state = 28}, - [135] = {.lex_state = 34}, - [136] = {.lex_state = 0}, - [137] = {.lex_state = 0}, - [138] = {.lex_state = 0}, - [139] = {.lex_state = 0}, + [132] = {.lex_state = 0}, + [133] = {.lex_state = 0}, + [134] = {.lex_state = 257}, + [135] = {.lex_state = 0}, + [136] = {.lex_state = 35}, + [137] = {.lex_state = 29}, + [138] = {.lex_state = 35}, + [139] = {.lex_state = 257}, [140] = {.lex_state = 0}, [141] = {.lex_state = 0}, [142] = {.lex_state = 0}, [143] = {.lex_state = 0}, [144] = {.lex_state = 0}, - [145] = {.lex_state = 27}, + [145] = {.lex_state = 0}, [146] = {.lex_state = 0}, [147] = {.lex_state = 0}, [148] = {.lex_state = 0}, @@ -3713,48 +3812,48 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [150] = {.lex_state = 0}, [151] = {.lex_state = 0}, [152] = {.lex_state = 0}, - [153] = {.lex_state = 0}, + [153] = {.lex_state = 28}, [154] = {.lex_state = 0}, [155] = {.lex_state = 0}, [156] = {.lex_state = 0}, - [157] = {.lex_state = 35}, + [157] = {.lex_state = 0}, [158] = {.lex_state = 0}, [159] = {.lex_state = 0}, [160] = {.lex_state = 0}, [161] = {.lex_state = 0}, [162] = {.lex_state = 0}, [163] = {.lex_state = 0}, - [164] = {.lex_state = 22}, + [164] = {.lex_state = 0}, [165] = {.lex_state = 0}, [166] = {.lex_state = 0}, [167] = {.lex_state = 0}, [168] = {.lex_state = 0}, - [169] = {.lex_state = 0}, + [169] = {.lex_state = 36}, [170] = {.lex_state = 0}, [171] = {.lex_state = 0}, - [172] = {.lex_state = 0}, - [173] = {.lex_state = 22}, - [174] = {.lex_state = 22}, - [175] = {.lex_state = 22}, - [176] = {.lex_state = 251}, - [177] = {.lex_state = 251}, - [178] = {.lex_state = 22}, - [179] = {.lex_state = 22}, - [180] = {.lex_state = 22}, - [181] = {.lex_state = 0}, - [182] = {.lex_state = 0}, - [183] = {.lex_state = 0}, - [184] = {.lex_state = 0}, - [185] = {.lex_state = 22}, - [186] = {.lex_state = 22}, + [172] = {.lex_state = 23}, + [173] = {.lex_state = 0}, + [174] = {.lex_state = 0}, + [175] = {.lex_state = 0}, + [176] = {.lex_state = 0}, + [177] = {.lex_state = 0}, + [178] = {.lex_state = 0}, + [179] = {.lex_state = 0}, + [180] = {.lex_state = 0}, + [181] = {.lex_state = 23}, + [182] = {.lex_state = 23}, + [183] = {.lex_state = 23}, + [184] = {.lex_state = 258}, + [185] = {.lex_state = 258}, + [186] = {.lex_state = 23}, [187] = {.lex_state = 0}, [188] = {.lex_state = 0}, [189] = {.lex_state = 0}, - [190] = {.lex_state = 251}, - [191] = {.lex_state = 0}, + [190] = {.lex_state = 23}, + [191] = {.lex_state = 23}, [192] = {.lex_state = 0}, - [193] = {.lex_state = 0}, - [194] = {.lex_state = 0}, + [193] = {.lex_state = 23}, + [194] = {.lex_state = 23}, [195] = {.lex_state = 0}, [196] = {.lex_state = 0}, [197] = {.lex_state = 0}, @@ -3776,85 +3875,92 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [213] = {.lex_state = 0}, [214] = {.lex_state = 0}, [215] = {.lex_state = 0}, - [216] = {.lex_state = 0}, + [216] = {.lex_state = 258}, [217] = {.lex_state = 0}, [218] = {.lex_state = 0}, [219] = {.lex_state = 0}, - [220] = {.lex_state = 250}, + [220] = {.lex_state = 0}, [221] = {.lex_state = 0}, [222] = {.lex_state = 0}, [223] = {.lex_state = 0}, [224] = {.lex_state = 0}, [225] = {.lex_state = 0}, - [226] = {.lex_state = 250}, - [227] = {.lex_state = 250}, + [226] = {.lex_state = 0}, + [227] = {.lex_state = 0}, [228] = {.lex_state = 0}, [229] = {.lex_state = 0}, - [230] = {.lex_state = 22}, + [230] = {.lex_state = 0}, [231] = {.lex_state = 0}, [232] = {.lex_state = 0}, [233] = {.lex_state = 0}, - [234] = {.lex_state = 250}, - [235] = {.lex_state = 250}, + [234] = {.lex_state = 257}, + [235] = {.lex_state = 257}, [236] = {.lex_state = 0}, - [237] = {.lex_state = 0}, - [238] = {.lex_state = 250}, + [237] = {.lex_state = 23}, + [238] = {.lex_state = 0}, [239] = {.lex_state = 0}, [240] = {.lex_state = 0}, - [241] = {.lex_state = 0}, - [242] = {.lex_state = 0}, + [241] = {.lex_state = 257}, + [242] = {.lex_state = 257}, [243] = {.lex_state = 0}, [244] = {.lex_state = 0}, - [245] = {.lex_state = 0}, - [246] = {.lex_state = 0}, + [245] = {.lex_state = 257}, + [246] = {.lex_state = 257}, [247] = {.lex_state = 0}, [248] = {.lex_state = 0}, - [249] = {.lex_state = 22}, + [249] = {.lex_state = 0}, [250] = {.lex_state = 0}, [251] = {.lex_state = 0}, [252] = {.lex_state = 0}, - [253] = {.lex_state = 22}, + [253] = {.lex_state = 23}, [254] = {.lex_state = 0}, [255] = {.lex_state = 0}, - [256] = {.lex_state = 22}, - [257] = {.lex_state = 22}, - [258] = {.lex_state = 22}, - [259] = {.lex_state = 22}, - [260] = {.lex_state = 0}, - [261] = {.lex_state = 0}, - [262] = {.lex_state = 250}, - [263] = {.lex_state = 22}, - [264] = {.lex_state = 0}, - [265] = {.lex_state = 0}, - [266] = {.lex_state = 0}, - [267] = {.lex_state = 22}, - [268] = {.lex_state = 0}, - [269] = {.lex_state = 22}, - [270] = {.lex_state = 0}, - [271] = {.lex_state = 25}, - [272] = {.lex_state = 382}, + [256] = {.lex_state = 0}, + [257] = {.lex_state = 0}, + [258] = {.lex_state = 0}, + [259] = {.lex_state = 0}, + [260] = {.lex_state = 23}, + [261] = {.lex_state = 23}, + [262] = {.lex_state = 23}, + [263] = {.lex_state = 0}, + [264] = {.lex_state = 23}, + [265] = {.lex_state = 23}, + [266] = {.lex_state = 23}, + [267] = {.lex_state = 0}, + [268] = {.lex_state = 23}, + [269] = {.lex_state = 0}, + [270] = {.lex_state = 23}, + [271] = {.lex_state = 23}, + [272] = {.lex_state = 0}, [273] = {.lex_state = 0}, - [274] = {.lex_state = 251}, - [275] = {.lex_state = 22}, - [276] = {.lex_state = 0}, - [277] = {.lex_state = 22}, - [278] = {.lex_state = 22}, - [279] = {.lex_state = 0}, - [280] = {.lex_state = 0}, + [274] = {.lex_state = 0}, + [275] = {.lex_state = 23}, + [276] = {.lex_state = 26}, + [277] = {.lex_state = 395}, + [278] = {.lex_state = 0}, + [279] = {.lex_state = 258}, + [280] = {.lex_state = 257}, [281] = {.lex_state = 0}, - [282] = {.lex_state = 22}, - [283] = {.lex_state = 22}, + [282] = {.lex_state = 0}, + [283] = {.lex_state = 23}, [284] = {.lex_state = 0}, - [285] = {.lex_state = 0}, - [286] = {.lex_state = 22}, - [287] = {.lex_state = 22}, - [288] = {.lex_state = 22}, - [289] = {.lex_state = 0}, - [290] = {.lex_state = 22}, - [291] = {.lex_state = 382}, - [292] = {.lex_state = 25}, - [293] = {.lex_state = 250}, - [294] = {.lex_state = 22}, + [285] = {.lex_state = 23}, + [286] = {.lex_state = 0}, + [287] = {.lex_state = 0}, + [288] = {.lex_state = 0}, + [289] = {.lex_state = 23}, + [290] = {.lex_state = 23}, + [291] = {.lex_state = 23}, + [292] = {.lex_state = 0}, + [293] = {.lex_state = 0}, + [294] = {.lex_state = 23}, + [295] = {.lex_state = 0}, + [296] = {.lex_state = 0}, + [297] = {.lex_state = 23}, + [298] = {.lex_state = 395}, + [299] = {.lex_state = 26}, + [300] = {.lex_state = 257}, + [301] = {.lex_state = 23}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -3887,6 +3993,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [aux_sym_create_table_statement_token1] = ACTIONS(1), [aux_sym_using_clause_token1] = ACTIONS(1), [aux_sym_select_statement_token1] = ACTIONS(1), + [aux_sym_group_by_clause_token1] = ACTIONS(1), [aux_sym_where_clause_token1] = ACTIONS(1), [aux_sym_from_clause_token1] = ACTIONS(1), [aux_sym_in_expression_token1] = ACTIONS(1), @@ -3920,15 +4027,15 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_PLUS] = ACTIONS(1), }, [1] = { - [sym_source_file] = STATE(279), - [sym__statement] = STATE(102), - [sym_create_function_statement] = STATE(166), - [sym_create_domain_statement] = STATE(166), - [sym_create_type_statement] = STATE(166), - [sym_create_index_statement] = STATE(166), - [sym_create_table_statement] = STATE(166), - [sym_select_statement] = STATE(166), - [aux_sym_source_file_repeat1] = STATE(102), + [sym_source_file] = STATE(284), + [sym__statement] = STATE(111), + [sym_create_function_statement] = STATE(163), + [sym_create_domain_statement] = STATE(163), + [sym_create_type_statement] = STATE(163), + [sym_create_index_statement] = STATE(163), + [sym_create_table_statement] = STATE(163), + [sym_select_statement] = STATE(163), + [aux_sym_source_file_repeat1] = STATE(111), [ts_builtin_sym_end] = ACTIONS(5), [aux_sym_create_function_statement_token1] = ACTIONS(7), [aux_sym_create_domain_statement_token1] = ACTIONS(9), @@ -3941,98 +4048,59 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { }; static const uint16_t ts_small_parse_table[] = { - [0] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(21), 3, - aux_sym_create_index_statement_token1, - anon_sym_LT, - anon_sym_GT, - ACTIONS(19), 35, - ts_builtin_sym_end, - anon_sym_SEMI, - aux_sym_create_function_statement_token1, - aux_sym__function_optimizer_hint_token1, - aux_sym__function_optimizer_hint_token2, - aux_sym__function_optimizer_hint_token3, - aux_sym__function_language_token1, - anon_sym_EQ, - anon_sym_COMMA, - anon_sym_RPAREN, - aux_sym__function_body_token1, - aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - anon_sym_CONSTRAINT, - aux_sym_column_default_token1, - aux_sym_table_constraint_check_token1, - aux_sym_table_constraint_unique_token1, - aux_sym_table_constraint_primary_key_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - aux_sym_where_clause_token1, - aux_sym_from_clause_token1, - aux_sym_in_expression_token1, - aux_sym_in_expression_token2, - aux_sym_references_constraint_token1, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - aux_sym_is_expression_token1, - aux_sym_boolean_expression_token1, - aux_sym_boolean_expression_token2, - aux_sym_NULL_token1, - anon_sym_COLON_COLON, - anon_sym_TILDE, - anon_sym_PLUS, - [46] = 20, + [0] = 22, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(29), 1, + ACTIONS(25), 1, + aux_sym_group_by_clause_token1, + ACTIONS(27), 1, aux_sym_where_clause_token1, - ACTIONS(31), 1, + ACTIONS(29), 1, aux_sym_from_clause_token1, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, STATE(30), 1, sym__expression, - STATE(123), 1, + STATE(115), 1, sym_select_clause, - STATE(140), 1, + STATE(132), 1, sym_from_clause, - STATE(155), 1, + STATE(142), 1, sym_where_clause, - ACTIONS(27), 2, + STATE(165), 1, + sym_group_by_clause, + ACTIONS(23), 2, aux_sym_create_index_statement_token1, aux_sym_select_statement_token1, - STATE(121), 2, + STATE(124), 2, sym__aliased_expression, sym__aliasable_expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - ACTIONS(23), 6, + ACTIONS(19), 6, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, aux_sym_create_domain_statement_token1, aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -4043,23 +4111,21 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [125] = 6, + [85] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(49), 1, - anon_sym_LPAREN, - ACTIONS(53), 1, - anon_sym_DASH_GT_GT, - ACTIONS(55), 1, - anon_sym_COLON_COLON, - ACTIONS(51), 3, + ACTIONS(47), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(47), 30, + ACTIONS(45), 36, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, + aux_sym__function_optimizer_hint_token1, + aux_sym__function_optimizer_hint_token2, + aux_sym__function_optimizer_hint_token3, + aux_sym__function_language_token1, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -4073,6 +4139,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4085,16 +4152,23 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_boolean_expression_token1, aux_sym_boolean_expression_token2, aux_sym_NULL_token1, + anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [175] = 3, + [132] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(59), 3, + ACTIONS(51), 1, + anon_sym_LPAREN, + ACTIONS(55), 1, + anon_sym_DASH_GT_GT, + ACTIONS(57), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(57), 31, + ACTIONS(49), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4111,6 +4185,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4123,19 +4198,16 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_boolean_expression_token1, aux_sym_boolean_expression_token2, aux_sym_NULL_token1, - anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [217] = 4, + [183] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(65), 1, - anon_sym_LBRACK, - ACTIONS(63), 3, + ACTIONS(61), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(61), 30, + ACTIONS(59), 32, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4152,6 +4224,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4164,16 +4237,17 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_boolean_expression_token1, aux_sym_boolean_expression_token2, aux_sym_NULL_token1, + anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [261] = 3, + [226] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(69), 3, + ACTIONS(65), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(67), 31, + ACTIONS(63), 32, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4190,6 +4264,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4205,14 +4280,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [303] = 3, + [269] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(73), 3, + ACTIONS(57), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(71), 31, + ACTIONS(49), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4229,6 +4306,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4241,17 +4319,16 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_boolean_expression_token1, aux_sym_boolean_expression_token2, aux_sym_NULL_token1, - anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [345] = 3, + [314] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(77), 3, + ACTIONS(69), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(75), 31, + ACTIONS(67), 32, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4268,6 +4345,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4283,14 +4361,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [387] = 3, + [357] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(81), 3, + ACTIONS(73), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(79), 31, + ACTIONS(71), 32, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4307,6 +4385,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4319,19 +4398,17 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_boolean_expression_token1, aux_sym_boolean_expression_token2, aux_sym_NULL_token1, - anon_sym_LBRACK, + anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [429] = 4, + [400] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(55), 1, - anon_sym_COLON_COLON, - ACTIONS(51), 3, + ACTIONS(77), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(47), 30, + ACTIONS(75), 32, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4348,6 +4425,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4360,16 +4438,17 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_boolean_expression_token1, aux_sym_boolean_expression_token2, aux_sym_NULL_token1, + anon_sym_LBRACK, anon_sym_TILDE, anon_sym_PLUS, - [473] = 3, + [443] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(85), 3, + ACTIONS(81), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(83), 31, + ACTIONS(79), 32, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4386,6 +4465,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4401,18 +4481,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_TILDE, anon_sym_PLUS, - [515] = 5, + [486] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(89), 3, + ACTIONS(87), 1, + anon_sym_LBRACK, + ACTIONS(85), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(87), 28, + ACTIONS(83), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4429,6 +4507,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4438,19 +4517,67 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_GT, anon_sym_GT_EQ, aux_sym_is_expression_token1, + aux_sym_boolean_expression_token1, + aux_sym_boolean_expression_token2, + aux_sym_NULL_token1, + anon_sym_TILDE, + anon_sym_PLUS, + [531] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(93), 1, + aux_sym_create_index_statement_token1, + ACTIONS(95), 1, + aux_sym_in_expression_token1, + ACTIONS(97), 1, + aux_sym_in_expression_token2, + ACTIONS(101), 1, + aux_sym_is_expression_token1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(99), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(91), 4, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + ACTIONS(89), 22, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym__function_body_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + anon_sym_CONSTRAINT, + aux_sym_column_default_token1, + aux_sym_table_constraint_check_token1, + aux_sym_table_constraint_unique_token1, + aux_sym_table_constraint_primary_key_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, + aux_sym_where_clause_token1, + aux_sym_from_clause_token1, + aux_sym_references_constraint_token1, aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [560] = 4, + [587] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, + ACTIONS(103), 1, aux_sym_boolean_expression_token1, - ACTIONS(97), 3, + ACTIONS(109), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(95), 29, + ACTIONS(107), 30, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4467,6 +4594,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4480,14 +4608,14 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [603] = 3, + [631] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(101), 3, + ACTIONS(113), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(99), 30, + ACTIONS(111), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4504,6 +4632,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4518,33 +4647,22 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [644] = 10, + [673] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, + ACTIONS(103), 1, aux_sym_boolean_expression_token1, - ACTIONS(93), 1, + ACTIONS(105), 1, aux_sym_boolean_expression_token2, - ACTIONS(107), 1, + ACTIONS(117), 3, aux_sym_create_index_statement_token1, - ACTIONS(109), 1, - aux_sym_in_expression_token1, - ACTIONS(111), 1, - aux_sym_in_expression_token2, - ACTIONS(115), 1, - aux_sym_is_expression_token1, - ACTIONS(113), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(105), 4, - anon_sym_EQ, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - ACTIONS(103), 21, + ACTIONS(115), 29, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, + anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, aux_sym__function_body_token1, @@ -4557,20 +4675,27 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, + aux_sym_in_expression_token1, + aux_sym_in_expression_token2, aux_sym_references_constraint_token1, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + aux_sym_is_expression_token1, aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [699] = 3, + [719] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(119), 3, + ACTIONS(121), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(117), 30, + ACTIONS(119), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4587,6 +4712,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4601,18 +4727,33 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [740] = 3, + [761] = 10, ACTIONS(3), 1, sym_comment, - ACTIONS(123), 3, + ACTIONS(95), 1, + aux_sym_in_expression_token1, + ACTIONS(97), 1, + aux_sym_in_expression_token2, + ACTIONS(101), 1, + aux_sym_is_expression_token1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(125), 1, aux_sym_create_index_statement_token1, + ACTIONS(99), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(121), 30, + ACTIONS(91), 4, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + ACTIONS(123), 22, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, - anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, aux_sym__function_body_token1, @@ -4625,28 +4766,21 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, - aux_sym_in_expression_token1, - aux_sym_in_expression_token2, aux_sym_references_constraint_token1, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - aux_sym_is_expression_token1, - aux_sym_boolean_expression_token1, - aux_sym_boolean_expression_token2, aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [781] = 3, + [817] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(127), 3, + ACTIONS(129), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(125), 30, + ACTIONS(127), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4663,6 +4797,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4677,14 +4812,14 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [822] = 3, + [859] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(131), 3, + ACTIONS(133), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 30, + ACTIONS(131), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4701,6 +4836,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4715,14 +4851,14 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [863] = 3, + [901] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(135), 3, + ACTIONS(137), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(133), 30, + ACTIONS(135), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4739,6 +4875,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4753,14 +4890,14 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [904] = 3, + [943] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(139), 3, + ACTIONS(141), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(137), 30, + ACTIONS(139), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4777,6 +4914,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4791,14 +4929,14 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [945] = 3, + [985] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(143), 3, + ACTIONS(53), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 30, + ACTIONS(49), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4815,6 +4953,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4829,14 +4968,14 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [986] = 3, + [1027] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(147), 3, + ACTIONS(145), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(145), 30, + ACTIONS(143), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4853,6 +4992,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4867,14 +5007,14 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [1027] = 3, + [1069] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(151), 3, + ACTIONS(149), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(149), 30, + ACTIONS(147), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4891,6 +5031,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4905,14 +5046,14 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [1068] = 3, + [1111] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(51), 3, + ACTIONS(153), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(47), 30, + ACTIONS(151), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4929,6 +5070,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4943,14 +5085,14 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [1109] = 3, + [1153] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(97), 3, + ACTIONS(157), 3, aux_sym_create_index_statement_token1, anon_sym_LT, anon_sym_GT, - ACTIONS(95), 30, + ACTIONS(155), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -4967,6 +5109,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, aux_sym_in_expression_token1, @@ -4981,33 +5124,18 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [1150] = 10, + [1195] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(109), 1, - aux_sym_in_expression_token1, - ACTIONS(111), 1, - aux_sym_in_expression_token2, - ACTIONS(115), 1, - aux_sym_is_expression_token1, - ACTIONS(155), 1, + ACTIONS(109), 3, aux_sym_create_index_statement_token1, - ACTIONS(113), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(105), 4, - anon_sym_EQ, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - ACTIONS(153), 21, + ACTIONS(107), 31, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, + anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, aux_sym__function_body_token1, @@ -5020,39 +5148,48 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, + aux_sym_in_expression_token1, + aux_sym_in_expression_token2, aux_sym_references_constraint_token1, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + aux_sym_is_expression_token1, + aux_sym_boolean_expression_token1, + aux_sym_boolean_expression_token2, aux_sym_NULL_token1, anon_sym_TILDE, anon_sym_PLUS, - [1205] = 11, + [1237] = 11, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(109), 1, + ACTIONS(95), 1, aux_sym_in_expression_token1, - ACTIONS(111), 1, + ACTIONS(97), 1, aux_sym_in_expression_token2, - ACTIONS(115), 1, + ACTIONS(101), 1, aux_sym_is_expression_token1, - ACTIONS(159), 1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(161), 1, aux_sym_create_index_statement_token1, - ACTIONS(113), 2, + ACTIONS(99), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(161), 2, + ACTIONS(163), 2, anon_sym_TILDE, anon_sym_PLUS, - ACTIONS(105), 4, + ACTIONS(91), 4, anon_sym_EQ, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - ACTIONS(157), 16, + ACTIONS(159), 16, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -5069,35 +5206,35 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_select_statement_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [1259] = 12, + [1291] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(109), 1, + ACTIONS(95), 1, aux_sym_in_expression_token1, - ACTIONS(111), 1, + ACTIONS(97), 1, aux_sym_in_expression_token2, - ACTIONS(115), 1, + ACTIONS(101), 1, aux_sym_is_expression_token1, - ACTIONS(165), 1, - aux_sym__function_body_token1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, ACTIONS(167), 1, + aux_sym__function_body_token1, + ACTIONS(169), 1, aux_sym_create_index_statement_token1, - ACTIONS(113), 2, + ACTIONS(99), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(161), 2, + ACTIONS(163), 2, anon_sym_TILDE, anon_sym_PLUS, - ACTIONS(105), 4, + ACTIONS(91), 4, anon_sym_EQ, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - ACTIONS(163), 10, + ACTIONS(165), 11, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -5106,37 +5243,38 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, - [1310] = 13, + [1343] = 13, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, STATE(30), 1, sym__expression, - STATE(129), 2, + STATE(128), 2, sym__aliased_expression, sym__aliasable_expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5147,73 +5285,35 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1362] = 13, + [1395] = 13, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, STATE(30), 1, sym__expression, - STATE(131), 2, + STATE(133), 2, sym__aliased_expression, sym__aliasable_expression, - STATE(11), 3, - sym_function_call, - sym__parenthesized_expression, - sym_string, - STATE(26), 10, - sym_in_expression, - sym_comparison_operator, - sym_is_expression, - sym_boolean_expression, - sym_NULL, - sym_TRUE, - sym_FALSE, - sym_field_access, - sym_type_cast, - sym_binary_expression, - [1414] = 13, - ACTIONS(3), 1, - sym_comment, - ACTIONS(25), 1, - anon_sym_LPAREN, - ACTIONS(33), 1, - aux_sym_NULL_token1, - ACTIONS(35), 1, - aux_sym_TRUE_token1, - ACTIONS(37), 1, - aux_sym_FALSE_token1, - ACTIONS(39), 1, - sym_number, - ACTIONS(41), 1, - sym_identifier, - ACTIONS(43), 1, - anon_sym_SQUOTE, - ACTIONS(45), 1, - anon_sym_DOLLAR_DOLLAR, - ACTIONS(169), 1, - anon_sym_RPAREN, - STATE(99), 1, - sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5224,7 +5324,7 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1465] = 13, + [1447] = 13, ACTIONS(3), 1, sym_comment, ACTIONS(171), 1, @@ -5243,15 +5343,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SQUOTE, ACTIONS(185), 1, anon_sym_DOLLAR_DOLLAR, - STATE(63), 1, + STATE(71), 1, sym__expression, - STATE(199), 1, + STATE(198), 1, sym_ordered_expression, - STATE(64), 3, + STATE(75), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(91), 10, + STATE(89), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5262,34 +5362,34 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1516] = 13, + [1498] = 13, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, ACTIONS(187), 1, anon_sym_RPAREN, - STATE(97), 1, + STATE(100), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5300,12 +5400,124 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1567] = 13, + [1549] = 13, ACTIONS(3), 1, sym_comment, - ACTIONS(171), 1, + ACTIONS(95), 1, + aux_sym_in_expression_token1, + ACTIONS(97), 1, + aux_sym_in_expression_token2, + ACTIONS(101), 1, + aux_sym_is_expression_token1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(191), 1, + anon_sym_COMMA, + ACTIONS(193), 1, + aux_sym_create_index_statement_token1, + STATE(154), 1, + aux_sym_group_by_clause_repeat1, + ACTIONS(99), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(163), 2, + anon_sym_TILDE, + anon_sym_PLUS, + ACTIONS(91), 4, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + ACTIONS(189), 7, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [1600] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(95), 1, + aux_sym_in_expression_token1, + ACTIONS(97), 1, + aux_sym_in_expression_token2, + ACTIONS(101), 1, + aux_sym_is_expression_token1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(197), 1, + aux_sym_create_index_statement_token1, + ACTIONS(99), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(163), 2, + anon_sym_TILDE, + anon_sym_PLUS, + ACTIONS(91), 4, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + ACTIONS(195), 9, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [1647] = 13, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(173), 1, + ACTIONS(31), 1, + aux_sym_NULL_token1, + ACTIONS(33), 1, + aux_sym_TRUE_token1, + ACTIONS(35), 1, + aux_sym_FALSE_token1, + ACTIONS(37), 1, + sym_number, + ACTIONS(39), 1, + sym_identifier, + ACTIONS(41), 1, + anon_sym_SQUOTE, + ACTIONS(43), 1, + anon_sym_DOLLAR_DOLLAR, + ACTIONS(199), 1, + anon_sym_RPAREN, + STATE(99), 1, + sym__expression, + STATE(7), 3, + sym_function_call, + sym__parenthesized_expression, + sym_string, + STATE(23), 10, + sym_in_expression, + sym_comparison_operator, + sym_is_expression, + sym_boolean_expression, + sym_NULL, + sym_TRUE, + sym_FALSE, + sym_field_access, + sym_type_cast, + sym_binary_expression, + [1698] = 13, + ACTIONS(3), 1, + sym_comment, + ACTIONS(171), 1, + anon_sym_LPAREN, + ACTIONS(173), 1, aux_sym_NULL_token1, ACTIONS(175), 1, aux_sym_TRUE_token1, @@ -5319,15 +5531,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SQUOTE, ACTIONS(185), 1, anon_sym_DOLLAR_DOLLAR, - STATE(88), 1, + STATE(87), 1, sym__expression, - STATE(228), 1, + STATE(244), 1, sym_ordered_expression, - STATE(64), 3, + STATE(75), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(91), 10, + STATE(89), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5338,32 +5550,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1618] = 12, + [1749] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(101), 1, + STATE(35), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5374,32 +5586,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1666] = 12, + [1797] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(57), 1, + STATE(18), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5410,32 +5622,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1714] = 12, + [1845] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(171), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(173), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(175), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(177), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(179), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(181), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(183), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(185), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(89), 1, + STATE(29), 1, sym__expression, - STATE(64), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(91), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5446,7 +5658,7 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1762] = 12, + [1893] = 12, ACTIONS(3), 1, sym_comment, ACTIONS(171), 1, @@ -5465,13 +5677,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SQUOTE, ACTIONS(185), 1, anon_sym_DOLLAR_DOLLAR, - STATE(87), 1, + STATE(80), 1, sym__expression, - STATE(64), 3, + STATE(75), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(91), 10, + STATE(89), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5482,32 +5694,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1810] = 12, + [1941] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(96), 1, + STATE(105), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5518,32 +5730,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1858] = 12, + [1989] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(171), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(173), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(175), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(177), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(179), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(181), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(183), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(185), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(79), 1, + STATE(118), 1, sym__expression, - STATE(64), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(91), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5554,32 +5766,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1906] = 12, + [2037] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(105), 1, + STATE(36), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5590,32 +5802,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [1954] = 12, + [2085] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(171), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(173), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(175), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(177), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(179), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(181), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(183), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(185), 1, anon_sym_DOLLAR_DOLLAR, - STATE(16), 1, + STATE(88), 1, sym__expression, - STATE(11), 3, + STATE(75), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(89), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5626,32 +5838,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2002] = 12, + [2133] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(171), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(173), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(175), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(177), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(179), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(181), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(183), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(185), 1, anon_sym_DOLLAR_DOLLAR, - STATE(114), 1, + STATE(79), 1, sym__expression, - STATE(11), 3, + STATE(75), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(89), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5662,32 +5874,67 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2050] = 12, + [2181] = 11, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(95), 1, + aux_sym_in_expression_token1, + ACTIONS(97), 1, + aux_sym_in_expression_token2, + ACTIONS(101), 1, + aux_sym_is_expression_token1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(203), 1, + aux_sym_create_index_statement_token1, + ACTIONS(99), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(163), 2, + anon_sym_TILDE, + anon_sym_PLUS, + ACTIONS(91), 4, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + ACTIONS(201), 8, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, + [2227] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(27), 1, + STATE(104), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5698,32 +5945,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2098] = 12, + [2275] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(29), 1, + STATE(48), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5734,32 +5981,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2146] = 12, + [2323] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, STATE(14), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5770,32 +6017,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2194] = 12, + [2371] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, STATE(28), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5806,32 +6053,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2242] = 12, + [2419] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(111), 1, + STATE(13), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5842,32 +6089,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2290] = 12, + [2467] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(171), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(173), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(175), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(177), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(179), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(181), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(183), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(185), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(78), 1, + STATE(106), 1, sym__expression, - STATE(64), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(91), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5878,7 +6125,7 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2338] = 12, + [2515] = 12, ACTIONS(3), 1, sym_comment, ACTIONS(171), 1, @@ -5897,13 +6144,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SQUOTE, ACTIONS(185), 1, anon_sym_DOLLAR_DOLLAR, - STATE(93), 1, + STATE(90), 1, sym__expression, - STATE(64), 3, + STATE(75), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(91), 10, + STATE(89), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5914,32 +6161,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2386] = 12, + [2563] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(103), 1, + STATE(109), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5950,32 +6197,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2434] = 12, + [2611] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(107), 1, + STATE(117), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -5986,32 +6233,68 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2482] = 12, + [2659] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, + ACTIONS(41), 1, + anon_sym_SQUOTE, ACTIONS(43), 1, + anon_sym_DOLLAR_DOLLAR, + STATE(101), 1, + sym__expression, + STATE(7), 3, + sym_function_call, + sym__parenthesized_expression, + sym_string, + STATE(23), 10, + sym_in_expression, + sym_comparison_operator, + sym_is_expression, + sym_boolean_expression, + sym_NULL, + sym_TRUE, + sym_FALSE, + sym_field_access, + sym_type_cast, + sym_binary_expression, + [2707] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(171), 1, + anon_sym_LPAREN, + ACTIONS(173), 1, + aux_sym_NULL_token1, + ACTIONS(175), 1, + aux_sym_TRUE_token1, + ACTIONS(177), 1, + aux_sym_FALSE_token1, + ACTIONS(179), 1, + sym_number, + ACTIONS(181), 1, + sym_identifier, + ACTIONS(183), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(185), 1, anon_sym_DOLLAR_DOLLAR, - STATE(116), 1, + STATE(85), 1, sym__expression, - STATE(11), 3, + STATE(75), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(89), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -6022,32 +6305,32 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2530] = 12, + [2755] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(33), 1, + ACTIONS(31), 1, aux_sym_NULL_token1, - ACTIONS(35), 1, + ACTIONS(33), 1, aux_sym_TRUE_token1, - ACTIONS(37), 1, + ACTIONS(35), 1, aux_sym_FALSE_token1, - ACTIONS(39), 1, + ACTIONS(37), 1, sym_number, - ACTIONS(41), 1, + ACTIONS(39), 1, sym_identifier, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - STATE(13), 1, + STATE(16), 1, sym__expression, - STATE(11), 3, + STATE(7), 3, sym_function_call, sym__parenthesized_expression, sym_string, - STATE(26), 10, + STATE(23), 10, sym_in_expression, sym_comparison_operator, sym_is_expression, @@ -6058,53 +6341,54 @@ static const uint16_t ts_small_parse_table[] = { sym_field_access, sym_type_cast, sym_binary_expression, - [2578] = 11, + [2803] = 13, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(109), 1, + ACTIONS(87), 1, + anon_sym_LBRACK, + ACTIONS(207), 1, + anon_sym_CONSTRAINT, + ACTIONS(209), 1, + aux_sym_column_default_token1, + ACTIONS(211), 1, + aux_sym_table_constraint_check_token1, + ACTIONS(213), 1, + aux_sym_table_constraint_unique_token1, + ACTIONS(215), 1, + aux_sym_table_constraint_primary_key_token1, + ACTIONS(217), 1, aux_sym_in_expression_token1, - ACTIONS(111), 1, - aux_sym_in_expression_token2, - ACTIONS(115), 1, - aux_sym_is_expression_token1, - ACTIONS(191), 1, - aux_sym_create_index_statement_token1, - ACTIONS(113), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(161), 2, - anon_sym_TILDE, - anon_sym_PLUS, - ACTIONS(105), 4, - anon_sym_EQ, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - ACTIONS(189), 7, - ts_builtin_sym_end, - anon_sym_SEMI, - aux_sym_create_function_statement_token1, - aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - [2623] = 6, + ACTIONS(219), 1, + aux_sym_references_constraint_token1, + ACTIONS(221), 1, + aux_sym_NULL_token1, + STATE(78), 1, + sym_NULL, + ACTIONS(205), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + STATE(63), 8, + sym_named_constraint, + sym_column_default, + sym_primary_key_constraint, + sym_references_constraint, + sym_unique_constraint, + sym_null_constraint, + sym_check_constraint, + aux_sym_create_table_column_parameter_repeat1, + [2851] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(193), 1, + ACTIONS(223), 1, anon_sym_LPAREN, - ACTIONS(195), 1, + ACTIONS(225), 1, anon_sym_DASH_GT_GT, - ACTIONS(197), 1, + ACTIONS(227), 1, anon_sym_COLON_COLON, - ACTIONS(51), 2, + ACTIONS(53), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(47), 15, + ACTIONS(49), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6120,33 +6404,31 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [2657] = 13, + [2885] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(65), 1, - anon_sym_LBRACK, - ACTIONS(201), 1, + ACTIONS(207), 1, anon_sym_CONSTRAINT, - ACTIONS(203), 1, + ACTIONS(209), 1, aux_sym_column_default_token1, - ACTIONS(205), 1, + ACTIONS(211), 1, aux_sym_table_constraint_check_token1, - ACTIONS(207), 1, + ACTIONS(213), 1, aux_sym_table_constraint_unique_token1, - ACTIONS(209), 1, + ACTIONS(215), 1, aux_sym_table_constraint_primary_key_token1, - ACTIONS(211), 1, + ACTIONS(217), 1, aux_sym_in_expression_token1, - ACTIONS(213), 1, + ACTIONS(219), 1, aux_sym_references_constraint_token1, - ACTIONS(215), 1, + ACTIONS(221), 1, aux_sym_NULL_token1, - STATE(65), 1, + STATE(78), 1, sym_NULL, - ACTIONS(199), 2, + ACTIONS(229), 2, anon_sym_COMMA, anon_sym_RPAREN, - STATE(61), 8, + STATE(64), 8, sym_named_constraint, sym_column_default, sym_primary_key_constraint, @@ -6155,31 +6437,31 @@ static const uint16_t ts_small_parse_table[] = { sym_null_constraint, sym_check_constraint, aux_sym_create_table_column_parameter_repeat1, - [2705] = 12, + [2930] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(219), 1, + ACTIONS(233), 1, anon_sym_CONSTRAINT, - ACTIONS(222), 1, + ACTIONS(236), 1, aux_sym_column_default_token1, - ACTIONS(225), 1, + ACTIONS(239), 1, aux_sym_table_constraint_check_token1, - ACTIONS(228), 1, + ACTIONS(242), 1, aux_sym_table_constraint_unique_token1, - ACTIONS(231), 1, + ACTIONS(245), 1, aux_sym_table_constraint_primary_key_token1, - ACTIONS(234), 1, + ACTIONS(248), 1, aux_sym_in_expression_token1, - ACTIONS(237), 1, + ACTIONS(251), 1, aux_sym_references_constraint_token1, - ACTIONS(240), 1, + ACTIONS(254), 1, aux_sym_NULL_token1, - STATE(65), 1, + STATE(78), 1, sym_NULL, - ACTIONS(217), 2, + ACTIONS(231), 2, anon_sym_COMMA, anon_sym_RPAREN, - STATE(60), 8, + STATE(64), 8, sym_named_constraint, sym_column_default, sym_primary_key_constraint, @@ -6188,46 +6470,36 @@ static const uint16_t ts_small_parse_table[] = { sym_null_constraint, sym_check_constraint, aux_sym_create_table_column_parameter_repeat1, - [2750] = 12, + [2975] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(201), 1, - anon_sym_CONSTRAINT, - ACTIONS(203), 1, - aux_sym_column_default_token1, - ACTIONS(205), 1, - aux_sym_table_constraint_check_token1, - ACTIONS(207), 1, - aux_sym_table_constraint_unique_token1, - ACTIONS(209), 1, - aux_sym_table_constraint_primary_key_token1, - ACTIONS(211), 1, - aux_sym_in_expression_token1, - ACTIONS(213), 1, - aux_sym_references_constraint_token1, - ACTIONS(215), 1, - aux_sym_NULL_token1, - STATE(65), 1, - sym_NULL, - ACTIONS(243), 2, + ACTIONS(77), 1, + aux_sym_create_index_statement_token1, + ACTIONS(75), 17, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym__function_optimizer_hint_token1, + aux_sym__function_optimizer_hint_token2, + aux_sym__function_optimizer_hint_token3, + aux_sym__function_language_token1, + aux_sym_constrained_type_token1, + anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, - STATE(60), 8, - sym_named_constraint, - sym_column_default, - sym_primary_key_constraint, - sym_references_constraint, - sym_unique_constraint, - sym_null_constraint, - sym_check_constraint, - aux_sym_create_table_column_parameter_repeat1, - [2795] = 3, + aux_sym__function_body_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + anon_sym_LBRACK, + [3001] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(21), 2, + ACTIONS(61), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(19), 16, + ACTIONS(59), 16, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6244,48 +6516,36 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [2821] = 13, + [3027] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(247), 1, + ACTIONS(65), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(63), 16, + anon_sym_EQ, anon_sym_COMMA, - ACTIONS(249), 1, anon_sym_RPAREN, - ACTIONS(251), 1, aux_sym_in_expression_token1, - ACTIONS(253), 1, aux_sym_in_expression_token2, - ACTIONS(257), 1, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, aux_sym_is_expression_token1, - ACTIONS(259), 1, aux_sym_boolean_expression_token1, - ACTIONS(261), 1, aux_sym_boolean_expression_token2, - STATE(206), 1, - aux_sym_index_table_parameters_repeat1, - ACTIONS(255), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(263), 2, aux_sym_ordered_expression_token1, aux_sym_ordered_expression_token2, - ACTIONS(265), 2, + anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - ACTIONS(245), 4, - anon_sym_EQ, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - [2867] = 4, + [3053] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(197), 1, - anon_sym_COLON_COLON, - ACTIONS(51), 2, + ACTIONS(69), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(47), 15, + ACTIONS(67), 16, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6299,39 +6559,19 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_boolean_expression_token2, aux_sym_ordered_expression_token1, aux_sym_ordered_expression_token2, + anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [2895] = 3, + [3079] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(269), 1, - aux_sym_create_index_statement_token1, - ACTIONS(267), 17, - ts_builtin_sym_end, - anon_sym_SEMI, - aux_sym_create_function_statement_token1, - anon_sym_COMMA, - anon_sym_RPAREN, - aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - anon_sym_CONSTRAINT, - aux_sym_column_default_token1, - aux_sym_table_constraint_check_token1, - aux_sym_table_constraint_unique_token1, - aux_sym_table_constraint_primary_key_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - aux_sym_in_expression_token1, - aux_sym_references_constraint_token1, - aux_sym_NULL_token1, - [2921] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(59), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(57), 16, - anon_sym_EQ, + ACTIONS(257), 1, + anon_sym_LBRACK, + ACTIONS(85), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(83), 15, + anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, aux_sym_in_expression_token1, @@ -6344,16 +6584,15 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_boolean_expression_token2, aux_sym_ordered_expression_token1, aux_sym_ordered_expression_token2, - anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [2947] = 3, + [3107] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(73), 2, + ACTIONS(47), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(71), 16, + ACTIONS(45), 16, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6370,81 +6609,45 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [2973] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(273), 1, - aux_sym_create_index_statement_token1, - ACTIONS(271), 17, - ts_builtin_sym_end, - anon_sym_SEMI, - aux_sym_create_function_statement_token1, - anon_sym_COMMA, - anon_sym_RPAREN, - aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - anon_sym_CONSTRAINT, - aux_sym_column_default_token1, - aux_sym_table_constraint_check_token1, - aux_sym_table_constraint_unique_token1, - aux_sym_table_constraint_primary_key_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - aux_sym_in_expression_token1, - aux_sym_references_constraint_token1, - aux_sym_NULL_token1, - [2999] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(81), 1, - aux_sym_create_index_statement_token1, - ACTIONS(79), 17, - ts_builtin_sym_end, - anon_sym_SEMI, - aux_sym_create_function_statement_token1, - aux_sym__function_optimizer_hint_token1, - aux_sym__function_optimizer_hint_token2, - aux_sym__function_optimizer_hint_token3, - aux_sym__function_language_token1, - aux_sym_constrained_type_token1, - anon_sym_EQ, - anon_sym_COMMA, - anon_sym_RPAREN, - aux_sym__function_body_token1, - aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - anon_sym_LBRACK, - [3025] = 3, + [3133] = 13, ACTIONS(3), 1, sym_comment, - ACTIONS(69), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(67), 16, - anon_sym_EQ, + ACTIONS(261), 1, anon_sym_COMMA, + ACTIONS(263), 1, anon_sym_RPAREN, + ACTIONS(265), 1, aux_sym_in_expression_token1, + ACTIONS(267), 1, aux_sym_in_expression_token2, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, + ACTIONS(271), 1, aux_sym_is_expression_token1, + ACTIONS(273), 1, aux_sym_boolean_expression_token1, + ACTIONS(275), 1, aux_sym_boolean_expression_token2, + STATE(215), 1, + aux_sym_index_table_parameters_repeat1, + ACTIONS(269), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(277), 2, aux_sym_ordered_expression_token1, aux_sym_ordered_expression_token2, - anon_sym_COLON_COLON, + ACTIONS(279), 2, anon_sym_TILDE, anon_sym_PLUS, - [3051] = 3, + ACTIONS(259), 4, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + [3179] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(85), 1, + ACTIONS(81), 1, aux_sym_create_index_statement_token1, - ACTIONS(83), 17, + ACTIONS(79), 17, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -6462,13 +6665,13 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, anon_sym_LBRACK, - [3077] = 3, + [3205] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(85), 2, + ACTIONS(77), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(83), 16, + ACTIONS(75), 16, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6485,13 +6688,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_TILDE, anon_sym_PLUS, - [3103] = 3, + [3231] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(77), 2, + ACTIONS(73), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(75), 16, + ACTIONS(71), 16, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6508,15 +6711,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON_COLON, anon_sym_TILDE, anon_sym_PLUS, - [3129] = 4, + [3257] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(275), 1, - anon_sym_LBRACK, - ACTIONS(63), 2, + ACTIONS(227), 1, + anon_sym_COLON_COLON, + ACTIONS(53), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(61), 15, + ACTIONS(49), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6532,7 +6735,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3157] = 3, + [3285] = 3, ACTIONS(3), 1, sym_comment, ACTIONS(81), 2, @@ -6555,35 +6758,59 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_TILDE, anon_sym_PLUS, - [3183] = 3, + [3311] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(139), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(137), 15, - anon_sym_EQ, + ACTIONS(283), 1, + aux_sym_create_index_statement_token1, + ACTIONS(281), 17, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, anon_sym_COMMA, anon_sym_RPAREN, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + anon_sym_CONSTRAINT, + aux_sym_column_default_token1, + aux_sym_table_constraint_check_token1, + aux_sym_table_constraint_unique_token1, + aux_sym_table_constraint_primary_key_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, aux_sym_in_expression_token1, - aux_sym_in_expression_token2, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - aux_sym_is_expression_token1, - aux_sym_boolean_expression_token1, - aux_sym_boolean_expression_token2, - aux_sym_ordered_expression_token1, - aux_sym_ordered_expression_token2, - anon_sym_TILDE, - anon_sym_PLUS, - [3208] = 3, + aux_sym_references_constraint_token1, + aux_sym_NULL_token1, + [3337] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(287), 1, + aux_sym_create_index_statement_token1, + ACTIONS(285), 17, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + anon_sym_CONSTRAINT, + aux_sym_column_default_token1, + aux_sym_table_constraint_check_token1, + aux_sym_table_constraint_unique_token1, + aux_sym_table_constraint_primary_key_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + aux_sym_in_expression_token1, + aux_sym_references_constraint_token1, + aux_sym_NULL_token1, + [3363] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(143), 2, + ACTIONS(109), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 15, + ACTIONS(107), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6599,91 +6826,41 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3233] = 9, - ACTIONS(3), 1, - sym_comment, - ACTIONS(251), 1, - aux_sym_in_expression_token1, - ACTIONS(253), 1, - aux_sym_in_expression_token2, - ACTIONS(257), 1, - aux_sym_is_expression_token1, - ACTIONS(259), 1, - aux_sym_boolean_expression_token1, - ACTIONS(261), 1, - aux_sym_boolean_expression_token2, - ACTIONS(255), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(245), 4, - anon_sym_EQ, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - ACTIONS(153), 6, - anon_sym_COMMA, - anon_sym_RPAREN, - aux_sym_ordered_expression_token1, - aux_sym_ordered_expression_token2, - anon_sym_TILDE, - anon_sym_PLUS, - [3270] = 9, + [3388] = 9, ACTIONS(3), 1, sym_comment, - ACTIONS(251), 1, + ACTIONS(265), 1, aux_sym_in_expression_token1, - ACTIONS(253), 1, + ACTIONS(267), 1, aux_sym_in_expression_token2, - ACTIONS(257), 1, + ACTIONS(271), 1, aux_sym_is_expression_token1, - ACTIONS(259), 1, + ACTIONS(273), 1, aux_sym_boolean_expression_token1, - ACTIONS(261), 1, + ACTIONS(275), 1, aux_sym_boolean_expression_token2, - ACTIONS(255), 2, + ACTIONS(269), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(245), 4, + ACTIONS(259), 4, anon_sym_EQ, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - ACTIONS(103), 6, - anon_sym_COMMA, - anon_sym_RPAREN, - aux_sym_ordered_expression_token1, - aux_sym_ordered_expression_token2, - anon_sym_TILDE, - anon_sym_PLUS, - [3307] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(131), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(129), 15, - anon_sym_EQ, + ACTIONS(89), 6, anon_sym_COMMA, anon_sym_RPAREN, - aux_sym_in_expression_token1, - aux_sym_in_expression_token2, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - aux_sym_is_expression_token1, - aux_sym_boolean_expression_token1, - aux_sym_boolean_expression_token2, aux_sym_ordered_expression_token1, aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3332] = 3, + [3425] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(127), 2, + ACTIONS(133), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(125), 15, + ACTIONS(131), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6699,25 +6876,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3357] = 7, + [3450] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(282), 1, + ACTIONS(293), 1, aux_sym__function_language_token1, - ACTIONS(285), 1, + ACTIONS(295), 1, aux_sym__function_body_token1, - ACTIONS(288), 1, + ACTIONS(297), 1, aux_sym_create_index_statement_token1, - ACTIONS(279), 3, + ACTIONS(291), 3, aux_sym__function_optimizer_hint_token1, aux_sym__function_optimizer_hint_token2, aux_sym__function_optimizer_hint_token3, - STATE(82), 4, + STATE(92), 4, sym__function_optimizer_hint, sym__function_language, sym__function_body, aux_sym_create_function_statement_repeat1, - ACTIONS(277), 7, + ACTIONS(289), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -6725,13 +6902,13 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [3390] = 3, + [3483] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(129), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(133), 15, + ACTIONS(127), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6747,39 +6924,13 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3415] = 7, - ACTIONS(3), 1, - sym_comment, - ACTIONS(294), 1, - aux_sym__function_language_token1, - ACTIONS(296), 1, - aux_sym__function_body_token1, - ACTIONS(298), 1, - aux_sym_create_index_statement_token1, - ACTIONS(292), 3, - aux_sym__function_optimizer_hint_token1, - aux_sym__function_optimizer_hint_token2, - aux_sym__function_optimizer_hint_token3, - STATE(82), 4, - sym__function_optimizer_hint, - sym__function_language, - sym__function_body, - aux_sym_create_function_statement_repeat1, - ACTIONS(290), 7, - ts_builtin_sym_end, - anon_sym_SEMI, - aux_sym_create_function_statement_token1, - aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - [3448] = 3, + [3508] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(101), 2, + ACTIONS(121), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(99), 15, + ACTIONS(119), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6795,37 +6946,41 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3473] = 3, + [3533] = 9, ACTIONS(3), 1, sym_comment, - ACTIONS(147), 2, + ACTIONS(265), 1, + aux_sym_in_expression_token1, + ACTIONS(267), 1, + aux_sym_in_expression_token2, + ACTIONS(271), 1, + aux_sym_is_expression_token1, + ACTIONS(273), 1, + aux_sym_boolean_expression_token1, + ACTIONS(275), 1, + aux_sym_boolean_expression_token2, + ACTIONS(269), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(145), 15, + ACTIONS(259), 4, anon_sym_EQ, - anon_sym_COMMA, - anon_sym_RPAREN, - aux_sym_in_expression_token1, - aux_sym_in_expression_token2, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - aux_sym_is_expression_token1, - aux_sym_boolean_expression_token1, - aux_sym_boolean_expression_token2, + ACTIONS(123), 6, + anon_sym_COMMA, + anon_sym_RPAREN, aux_sym_ordered_expression_token1, aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3498] = 4, + [3570] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(259), 1, - aux_sym_boolean_expression_token1, - ACTIONS(97), 2, + ACTIONS(141), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(95), 14, + ACTIONS(139), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6835,52 +6990,53 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_GT, anon_sym_GT_EQ, aux_sym_is_expression_token1, + aux_sym_boolean_expression_token1, aux_sym_boolean_expression_token2, aux_sym_ordered_expression_token1, aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3525] = 11, + [3595] = 11, ACTIONS(3), 1, sym_comment, - ACTIONS(251), 1, + ACTIONS(265), 1, aux_sym_in_expression_token1, - ACTIONS(253), 1, + ACTIONS(267), 1, aux_sym_in_expression_token2, - ACTIONS(257), 1, + ACTIONS(271), 1, aux_sym_is_expression_token1, - ACTIONS(259), 1, + ACTIONS(273), 1, aux_sym_boolean_expression_token1, - ACTIONS(261), 1, + ACTIONS(275), 1, aux_sym_boolean_expression_token2, - ACTIONS(255), 2, + ACTIONS(269), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(263), 2, + ACTIONS(277), 2, aux_sym_ordered_expression_token1, aux_sym_ordered_expression_token2, - ACTIONS(265), 2, + ACTIONS(279), 2, anon_sym_TILDE, anon_sym_PLUS, - ACTIONS(300), 2, + ACTIONS(299), 2, anon_sym_COMMA, anon_sym_RPAREN, - ACTIONS(245), 4, + ACTIONS(259), 4, anon_sym_EQ, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - [3566] = 5, + [3636] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(259), 1, + ACTIONS(273), 1, aux_sym_boolean_expression_token1, - ACTIONS(261), 1, + ACTIONS(275), 1, aux_sym_boolean_expression_token2, - ACTIONS(89), 2, + ACTIONS(117), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(87), 13, + ACTIONS(115), 13, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6894,39 +7050,13 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3595] = 7, - ACTIONS(3), 1, - sym_comment, - ACTIONS(294), 1, - aux_sym__function_language_token1, - ACTIONS(296), 1, - aux_sym__function_body_token1, - ACTIONS(304), 1, - aux_sym_create_index_statement_token1, - ACTIONS(292), 3, - aux_sym__function_optimizer_hint_token1, - aux_sym__function_optimizer_hint_token2, - aux_sym__function_optimizer_hint_token3, - STATE(84), 4, - sym__function_optimizer_hint, - sym__function_language, - sym__function_body, - aux_sym_create_function_statement_repeat1, - ACTIONS(302), 7, - ts_builtin_sym_end, - anon_sym_SEMI, - aux_sym_create_function_statement_token1, - aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - [3628] = 3, + [3665] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(51), 2, + ACTIONS(53), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(47), 15, + ACTIONS(49), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6942,13 +7072,88 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3653] = 3, + [3690] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(151), 2, + ACTIONS(273), 1, + aux_sym_boolean_expression_token1, + ACTIONS(109), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(149), 15, + ACTIONS(107), 14, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_in_expression_token1, + aux_sym_in_expression_token2, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + aux_sym_is_expression_token1, + aux_sym_boolean_expression_token2, + aux_sym_ordered_expression_token1, + aux_sym_ordered_expression_token2, + anon_sym_TILDE, + anon_sym_PLUS, + [3717] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(306), 1, + aux_sym__function_language_token1, + ACTIONS(309), 1, + aux_sym__function_body_token1, + ACTIONS(312), 1, + aux_sym_create_index_statement_token1, + ACTIONS(303), 3, + aux_sym__function_optimizer_hint_token1, + aux_sym__function_optimizer_hint_token2, + aux_sym__function_optimizer_hint_token3, + STATE(91), 4, + sym__function_optimizer_hint, + sym__function_language, + sym__function_body, + aux_sym_create_function_statement_repeat1, + ACTIONS(301), 7, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [3750] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(293), 1, + aux_sym__function_language_token1, + ACTIONS(295), 1, + aux_sym__function_body_token1, + ACTIONS(316), 1, + aux_sym_create_index_statement_token1, + ACTIONS(291), 3, + aux_sym__function_optimizer_hint_token1, + aux_sym__function_optimizer_hint_token2, + aux_sym__function_optimizer_hint_token3, + STATE(91), 4, + sym__function_optimizer_hint, + sym__function_language, + sym__function_body, + aux_sym_create_function_statement_repeat1, + ACTIONS(314), 7, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [3783] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(145), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(143), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6964,13 +7169,13 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3678] = 3, + [3808] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(97), 2, + ACTIONS(149), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(95), 15, + ACTIONS(147), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -6986,13 +7191,13 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3703] = 3, + [3833] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(123), 2, + ACTIONS(113), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(121), 15, + ACTIONS(111), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -7008,13 +7213,13 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3728] = 3, + [3858] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(119), 2, + ACTIONS(137), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(117), 15, + ACTIONS(135), 15, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, @@ -7030,86 +7235,160 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_ordered_expression_token2, anon_sym_TILDE, anon_sym_PLUS, - [3753] = 12, + [3883] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, + ACTIONS(157), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(155), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_in_expression_token1, + aux_sym_in_expression_token2, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + aux_sym_is_expression_token1, aux_sym_boolean_expression_token1, - ACTIONS(93), 1, aux_sym_boolean_expression_token2, - ACTIONS(109), 1, + aux_sym_ordered_expression_token1, + aux_sym_ordered_expression_token2, + anon_sym_TILDE, + anon_sym_PLUS, + [3908] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(153), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(151), 15, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_RPAREN, aux_sym_in_expression_token1, - ACTIONS(111), 1, aux_sym_in_expression_token2, - ACTIONS(115), 1, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, aux_sym_is_expression_token1, - ACTIONS(306), 1, + aux_sym_boolean_expression_token1, + aux_sym_boolean_expression_token2, + aux_sym_ordered_expression_token1, + aux_sym_ordered_expression_token2, + anon_sym_TILDE, + anon_sym_PLUS, + [3933] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(95), 1, + aux_sym_in_expression_token1, + ACTIONS(97), 1, + aux_sym_in_expression_token2, + ACTIONS(101), 1, + aux_sym_is_expression_token1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(191), 1, anon_sym_COMMA, - ACTIONS(308), 1, + ACTIONS(318), 1, anon_sym_RPAREN, - STATE(189), 1, - aux_sym_tuple_repeat1, - ACTIONS(113), 2, + STATE(212), 1, + aux_sym_group_by_clause_repeat1, + ACTIONS(99), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(161), 2, + ACTIONS(163), 2, anon_sym_TILDE, anon_sym_PLUS, - ACTIONS(105), 4, + ACTIONS(91), 4, anon_sym_EQ, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - [3795] = 12, + [3975] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, + ACTIONS(95), 1, + aux_sym_in_expression_token1, + ACTIONS(97), 1, + aux_sym_in_expression_token2, + ACTIONS(101), 1, + aux_sym_is_expression_token1, + ACTIONS(103), 1, aux_sym_boolean_expression_token1, - ACTIONS(93), 1, + ACTIONS(105), 1, aux_sym_boolean_expression_token2, - ACTIONS(109), 1, + ACTIONS(191), 1, + anon_sym_COMMA, + ACTIONS(320), 1, + anon_sym_RPAREN, + STATE(210), 1, + aux_sym_group_by_clause_repeat1, + ACTIONS(99), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(163), 2, + anon_sym_TILDE, + anon_sym_PLUS, + ACTIONS(91), 4, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + [4017] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(95), 1, aux_sym_in_expression_token1, - ACTIONS(111), 1, + ACTIONS(97), 1, aux_sym_in_expression_token2, - ACTIONS(115), 1, + ACTIONS(101), 1, aux_sym_is_expression_token1, - ACTIONS(306), 1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(191), 1, anon_sym_COMMA, - ACTIONS(310), 1, + ACTIONS(322), 1, anon_sym_RPAREN, - STATE(204), 1, - aux_sym_tuple_repeat1, - ACTIONS(113), 2, + STATE(226), 1, + aux_sym_group_by_clause_repeat1, + ACTIONS(99), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(161), 2, + ACTIONS(163), 2, anon_sym_TILDE, anon_sym_PLUS, - ACTIONS(105), 4, + ACTIONS(91), 4, anon_sym_EQ, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - [3837] = 9, + [4059] = 9, ACTIONS(3), 1, sym_comment, - ACTIONS(65), 1, + ACTIONS(87), 1, anon_sym_LBRACK, - ACTIONS(205), 1, - aux_sym_table_constraint_check_token1, ACTIONS(211), 1, + aux_sym_table_constraint_check_token1, + ACTIONS(217), 1, aux_sym_in_expression_token1, - ACTIONS(215), 1, + ACTIONS(221), 1, aux_sym_NULL_token1, - ACTIONS(314), 1, + ACTIONS(326), 1, aux_sym_create_index_statement_token1, - STATE(65), 1, + STATE(78), 1, sym_NULL, - STATE(110), 3, + STATE(112), 3, sym_null_constraint, sym_check_constraint, aux_sym_create_domain_statement_repeat1, - ACTIONS(312), 7, + ACTIONS(324), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7117,42 +7396,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [3873] = 12, + [4095] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(109), 1, - aux_sym_in_expression_token1, - ACTIONS(111), 1, - aux_sym_in_expression_token2, - ACTIONS(115), 1, - aux_sym_is_expression_token1, - ACTIONS(306), 1, - anon_sym_COMMA, - ACTIONS(316), 1, - anon_sym_RPAREN, - STATE(191), 1, - aux_sym_tuple_repeat1, - ACTIONS(113), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(161), 2, - anon_sym_TILDE, - anon_sym_PLUS, - ACTIONS(105), 4, - anon_sym_EQ, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - [3915] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(320), 1, + ACTIONS(330), 1, aux_sym_create_index_statement_token1, - ACTIONS(318), 15, + ACTIONS(328), 15, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7168,100 +7417,100 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [3939] = 12, + [4119] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(109), 1, + ACTIONS(95), 1, aux_sym_in_expression_token1, - ACTIONS(111), 1, + ACTIONS(97), 1, aux_sym_in_expression_token2, - ACTIONS(115), 1, + ACTIONS(101), 1, aux_sym_is_expression_token1, - ACTIONS(306), 1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(191), 1, anon_sym_COMMA, - ACTIONS(322), 1, + ACTIONS(332), 1, anon_sym_RPAREN, - STATE(203), 1, - aux_sym_tuple_repeat1, - ACTIONS(113), 2, + STATE(225), 1, + aux_sym_group_by_clause_repeat1, + ACTIONS(99), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(161), 2, + ACTIONS(163), 2, anon_sym_TILDE, anon_sym_PLUS, - ACTIONS(105), 4, + ACTIONS(91), 4, anon_sym_EQ, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - [3981] = 10, + [4161] = 10, ACTIONS(3), 1, sym_comment, - ACTIONS(7), 1, - aux_sym_create_function_statement_token1, - ACTIONS(9), 1, - aux_sym_create_domain_statement_token1, - ACTIONS(11), 1, - aux_sym_create_type_statement_token1, - ACTIONS(13), 1, - aux_sym_create_index_statement_token1, - ACTIONS(15), 1, - aux_sym_create_table_statement_token1, - ACTIONS(17), 1, - aux_sym_select_statement_token1, - ACTIONS(324), 1, - ts_builtin_sym_end, - STATE(108), 2, - sym__statement, - aux_sym_source_file_repeat1, - STATE(166), 6, - sym_create_function_statement, - sym_create_domain_statement, - sym_create_type_statement, - sym_create_index_statement, - sym_create_table_statement, - sym_select_statement, - [4018] = 10, - ACTIONS(3), 1, - sym_comment, - ACTIONS(91), 1, + ACTIONS(95), 1, + aux_sym_in_expression_token1, + ACTIONS(97), 1, + aux_sym_in_expression_token2, + ACTIONS(101), 1, + aux_sym_is_expression_token1, + ACTIONS(103), 1, aux_sym_boolean_expression_token1, - ACTIONS(93), 1, + ACTIONS(105), 1, aux_sym_boolean_expression_token2, - ACTIONS(109), 1, + ACTIONS(99), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(163), 2, + anon_sym_TILDE, + anon_sym_PLUS, + ACTIONS(334), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(91), 4, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + [4198] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(95), 1, aux_sym_in_expression_token1, - ACTIONS(111), 1, + ACTIONS(97), 1, aux_sym_in_expression_token2, - ACTIONS(115), 1, + ACTIONS(101), 1, aux_sym_is_expression_token1, - ACTIONS(113), 2, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(99), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(161), 2, + ACTIONS(163), 2, anon_sym_TILDE, anon_sym_PLUS, - ACTIONS(326), 2, + ACTIONS(336), 2, anon_sym_COMMA, anon_sym_RPAREN, - ACTIONS(105), 4, + ACTIONS(91), 4, anon_sym_EQ, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - [4055] = 5, + [4235] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(330), 1, + ACTIONS(340), 1, aux_sym_constrained_type_token1, - ACTIONS(332), 1, + ACTIONS(342), 1, aux_sym_create_index_statement_token1, - ACTIONS(334), 1, + ACTIONS(344), 1, anon_sym_LBRACK, - ACTIONS(328), 12, + ACTIONS(338), 12, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7274,47 +7523,74 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4082] = 10, + [4262] = 10, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(109), 1, + ACTIONS(346), 1, + ts_builtin_sym_end, + ACTIONS(348), 1, + aux_sym_create_function_statement_token1, + ACTIONS(351), 1, + aux_sym_create_domain_statement_token1, + ACTIONS(354), 1, + aux_sym_create_type_statement_token1, + ACTIONS(357), 1, + aux_sym_create_index_statement_token1, + ACTIONS(360), 1, + aux_sym_create_table_statement_token1, + ACTIONS(363), 1, + aux_sym_select_statement_token1, + STATE(108), 2, + sym__statement, + aux_sym_source_file_repeat1, + STATE(163), 6, + sym_create_function_statement, + sym_create_domain_statement, + sym_create_type_statement, + sym_create_index_statement, + sym_create_table_statement, + sym_select_statement, + [4299] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(95), 1, aux_sym_in_expression_token1, - ACTIONS(111), 1, + ACTIONS(97), 1, aux_sym_in_expression_token2, - ACTIONS(115), 1, + ACTIONS(101), 1, aux_sym_is_expression_token1, - ACTIONS(113), 2, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(99), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(161), 2, + ACTIONS(163), 2, anon_sym_TILDE, anon_sym_PLUS, - ACTIONS(336), 2, + ACTIONS(366), 2, anon_sym_COMMA, anon_sym_RPAREN, - ACTIONS(105), 4, + ACTIONS(91), 4, anon_sym_EQ, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - [4119] = 7, + [4336] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(338), 1, + ACTIONS(368), 1, anon_sym_LPAREN, - ACTIONS(342), 1, + ACTIONS(372), 1, aux_sym_on_update_action_token1, - ACTIONS(344), 1, + ACTIONS(374), 1, aux_sym_on_delete_action_token1, - STATE(226), 1, + STATE(234), 1, sym_on_update_action, - STATE(227), 1, + STATE(235), 1, sym_on_delete_action, - ACTIONS(340), 10, + ACTIONS(370), 10, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -7325,78 +7601,51 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_in_expression_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [4150] = 10, + [4367] = 10, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(109), 1, - aux_sym_in_expression_token1, - ACTIONS(111), 1, - aux_sym_in_expression_token2, - ACTIONS(115), 1, - aux_sym_is_expression_token1, - ACTIONS(113), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(161), 2, - anon_sym_TILDE, - anon_sym_PLUS, - ACTIONS(346), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - ACTIONS(105), 4, - anon_sym_EQ, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - [4187] = 10, - ACTIONS(3), 1, - sym_comment, - ACTIONS(348), 1, - ts_builtin_sym_end, - ACTIONS(350), 1, + ACTIONS(7), 1, aux_sym_create_function_statement_token1, - ACTIONS(353), 1, + ACTIONS(9), 1, aux_sym_create_domain_statement_token1, - ACTIONS(356), 1, + ACTIONS(11), 1, aux_sym_create_type_statement_token1, - ACTIONS(359), 1, + ACTIONS(13), 1, aux_sym_create_index_statement_token1, - ACTIONS(362), 1, + ACTIONS(15), 1, aux_sym_create_table_statement_token1, - ACTIONS(365), 1, + ACTIONS(17), 1, aux_sym_select_statement_token1, + ACTIONS(376), 1, + ts_builtin_sym_end, STATE(108), 2, sym__statement, aux_sym_source_file_repeat1, - STATE(166), 6, + STATE(163), 6, sym_create_function_statement, sym_create_domain_statement, sym_create_type_statement, sym_create_index_statement, sym_create_table_statement, sym_select_statement, - [4224] = 8, + [4404] = 8, ACTIONS(3), 1, sym_comment, - ACTIONS(370), 1, - aux_sym_create_index_statement_token1, - ACTIONS(372), 1, + ACTIONS(211), 1, aux_sym_table_constraint_check_token1, - ACTIONS(375), 1, + ACTIONS(217), 1, aux_sym_in_expression_token1, - ACTIONS(378), 1, + ACTIONS(221), 1, aux_sym_NULL_token1, - STATE(65), 1, + ACTIONS(380), 1, + aux_sym_create_index_statement_token1, + STATE(78), 1, sym_NULL, - STATE(109), 3, + STATE(113), 3, sym_null_constraint, sym_check_constraint, aux_sym_create_domain_statement_repeat1, - ACTIONS(368), 7, + ACTIONS(378), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7404,24 +7653,24 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4257] = 8, + [4437] = 8, ACTIONS(3), 1, sym_comment, - ACTIONS(205), 1, + ACTIONS(384), 1, + aux_sym_create_index_statement_token1, + ACTIONS(386), 1, aux_sym_table_constraint_check_token1, - ACTIONS(211), 1, + ACTIONS(389), 1, aux_sym_in_expression_token1, - ACTIONS(215), 1, + ACTIONS(392), 1, aux_sym_NULL_token1, - ACTIONS(383), 1, - aux_sym_create_index_statement_token1, - STATE(65), 1, + STATE(78), 1, sym_NULL, - STATE(109), 3, + STATE(113), 3, sym_null_constraint, sym_check_constraint, aux_sym_create_domain_statement_repeat1, - ACTIONS(381), 7, + ACTIONS(382), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7429,43 +7678,16 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4290] = 10, + [4470] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(109), 1, - aux_sym_in_expression_token1, - ACTIONS(111), 1, - aux_sym_in_expression_token2, - ACTIONS(115), 1, - aux_sym_is_expression_token1, - ACTIONS(113), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(161), 2, - anon_sym_TILDE, - anon_sym_PLUS, - ACTIONS(385), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - ACTIONS(105), 4, - anon_sym_EQ, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - [4327] = 5, - ACTIONS(3), 1, - sym_comment, - ACTIONS(330), 1, + ACTIONS(340), 1, aux_sym_constrained_type_token1, - ACTIONS(334), 1, + ACTIONS(344), 1, anon_sym_LBRACK, - ACTIONS(389), 1, + ACTIONS(397), 1, aux_sym_create_index_statement_token1, - ACTIONS(387), 12, + ACTIONS(395), 12, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7478,18 +7700,43 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4354] = 6, + [4497] = 9, ACTIONS(3), 1, sym_comment, - ACTIONS(342), 1, + ACTIONS(25), 1, + aux_sym_group_by_clause_token1, + ACTIONS(401), 1, + aux_sym_create_index_statement_token1, + ACTIONS(403), 1, + aux_sym_where_clause_token1, + ACTIONS(405), 1, + aux_sym_from_clause_token1, + STATE(131), 1, + sym_from_clause, + STATE(143), 1, + sym_where_clause, + STATE(168), 1, + sym_group_by_clause, + ACTIONS(399), 7, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [4531] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(372), 1, aux_sym_on_update_action_token1, - ACTIONS(344), 1, + ACTIONS(374), 1, aux_sym_on_delete_action_token1, - STATE(234), 1, + STATE(241), 1, sym_on_update_action, - STATE(235), 1, + STATE(245), 1, sym_on_delete_action, - ACTIONS(391), 10, + ACTIONS(407), 10, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -7500,44 +7747,70 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_in_expression_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [4382] = 10, + [4559] = 10, ACTIONS(3), 1, sym_comment, - ACTIONS(91), 1, + ACTIONS(95), 1, + aux_sym_in_expression_token1, + ACTIONS(97), 1, + aux_sym_in_expression_token2, + ACTIONS(101), 1, + aux_sym_is_expression_token1, + ACTIONS(103), 1, aux_sym_boolean_expression_token1, - ACTIONS(93), 1, + ACTIONS(105), 1, aux_sym_boolean_expression_token2, - ACTIONS(109), 1, + ACTIONS(409), 1, + anon_sym_RPAREN, + ACTIONS(99), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(163), 2, + anon_sym_TILDE, + anon_sym_PLUS, + ACTIONS(91), 4, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_LT_GT, + anon_sym_GT_EQ, + [4595] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(95), 1, aux_sym_in_expression_token1, - ACTIONS(111), 1, + ACTIONS(97), 1, aux_sym_in_expression_token2, - ACTIONS(115), 1, + ACTIONS(101), 1, aux_sym_is_expression_token1, - ACTIONS(393), 1, + ACTIONS(103), 1, + aux_sym_boolean_expression_token1, + ACTIONS(105), 1, + aux_sym_boolean_expression_token2, + ACTIONS(411), 1, anon_sym_RPAREN, - ACTIONS(113), 2, + ACTIONS(99), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(161), 2, + ACTIONS(163), 2, anon_sym_TILDE, anon_sym_PLUS, - ACTIONS(105), 4, + ACTIONS(91), 4, anon_sym_EQ, anon_sym_LT_EQ, anon_sym_LT_GT, anon_sym_GT_EQ, - [4418] = 6, + [4631] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(342), 1, + ACTIONS(372), 1, aux_sym_on_update_action_token1, - ACTIONS(344), 1, + ACTIONS(374), 1, aux_sym_on_delete_action_token1, - STATE(220), 1, - sym_on_delete_action, - STATE(238), 1, + STATE(242), 1, sym_on_update_action, - ACTIONS(395), 10, + STATE(246), 1, + sym_on_delete_action, + ACTIONS(413), 10, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -7548,38 +7821,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_in_expression_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [4446] = 10, - ACTIONS(3), 1, - sym_comment, - ACTIONS(91), 1, - aux_sym_boolean_expression_token1, - ACTIONS(93), 1, - aux_sym_boolean_expression_token2, - ACTIONS(109), 1, - aux_sym_in_expression_token1, - ACTIONS(111), 1, - aux_sym_in_expression_token2, - ACTIONS(115), 1, - aux_sym_is_expression_token1, - ACTIONS(397), 1, - anon_sym_RPAREN, - ACTIONS(113), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(161), 2, - anon_sym_TILDE, - anon_sym_PLUS, - ACTIONS(105), 4, - anon_sym_EQ, - anon_sym_LT_EQ, - anon_sym_LT_GT, - anon_sym_GT_EQ, - [4482] = 3, + [4659] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(332), 1, + ACTIONS(417), 1, aux_sym_create_index_statement_token1, - ACTIONS(328), 12, + ACTIONS(415), 12, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7592,12 +7839,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4503] = 3, + [4680] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(401), 1, + ACTIONS(421), 1, aux_sym_create_index_statement_token1, - ACTIONS(399), 12, + ACTIONS(419), 12, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7610,12 +7857,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4524] = 3, + [4701] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(405), 1, + ACTIONS(342), 1, aux_sym_create_index_statement_token1, - ACTIONS(403), 12, + ACTIONS(338), 12, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7628,34 +7875,36 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4545] = 3, + [4722] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(409), 1, + ACTIONS(425), 1, + anon_sym_COMMA, + ACTIONS(428), 1, aux_sym_create_index_statement_token1, - ACTIONS(407), 12, + STATE(123), 1, + aux_sym_select_clause_repeat1, + ACTIONS(423), 10, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, - aux_sym__function_optimizer_hint_token1, - aux_sym__function_optimizer_hint_token2, - aux_sym__function_optimizer_hint_token3, - aux_sym__function_language_token1, - aux_sym__function_body_token1, aux_sym_create_domain_statement_token1, aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4566] = 5, + aux_sym_group_by_clause_token1, + aux_sym_where_clause_token1, + aux_sym_from_clause_token1, + [4747] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(413), 1, + ACTIONS(432), 1, anon_sym_COMMA, - ACTIONS(415), 1, + ACTIONS(434), 1, aux_sym_create_index_statement_token1, - STATE(122), 1, + STATE(126), 1, aux_sym_select_clause_repeat1, - ACTIONS(411), 9, + ACTIONS(430), 10, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7663,18 +7912,37 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - aux_sym_where_clause_token1, - aux_sym_from_clause_token1, - [4590] = 5, + aux_sym_group_by_clause_token1, + aux_sym_where_clause_token1, + aux_sym_from_clause_token1, + [4772] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(438), 1, + aux_sym_create_index_statement_token1, + ACTIONS(436), 12, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym__function_optimizer_hint_token1, + aux_sym__function_optimizer_hint_token2, + aux_sym__function_optimizer_hint_token3, + aux_sym__function_language_token1, + aux_sym__function_body_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [4793] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(413), 1, + ACTIONS(432), 1, anon_sym_COMMA, - ACTIONS(419), 1, + ACTIONS(442), 1, aux_sym_create_index_statement_token1, - STATE(125), 1, + STATE(123), 1, aux_sym_select_clause_repeat1, - ACTIONS(417), 9, + ACTIONS(440), 10, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7682,22 +7950,19 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, - [4614] = 7, + [4818] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(423), 1, + ACTIONS(432), 1, + anon_sym_COMMA, + ACTIONS(446), 1, aux_sym_create_index_statement_token1, - ACTIONS(425), 1, - aux_sym_where_clause_token1, - ACTIONS(427), 1, - aux_sym_from_clause_token1, - STATE(137), 1, - sym_from_clause, - STATE(167), 1, - sym_where_clause, - ACTIONS(421), 7, + STATE(123), 1, + aux_sym_select_clause_repeat1, + ACTIONS(444), 9, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7705,49 +7970,33 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4642] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(49), 1, - anon_sym_LPAREN, - ACTIONS(55), 1, - anon_sym_COLON_COLON, - ACTIONS(429), 10, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_CONSTRAINT, - aux_sym_column_default_token1, - aux_sym_table_constraint_check_token1, - aux_sym_table_constraint_unique_token1, - aux_sym_table_constraint_primary_key_token1, - aux_sym_in_expression_token1, - aux_sym_references_constraint_token1, - aux_sym_NULL_token1, - [4664] = 5, + aux_sym_group_by_clause_token1, + aux_sym_where_clause_token1, + [4842] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(433), 1, - anon_sym_COMMA, - ACTIONS(436), 1, + ACTIONS(428), 1, aux_sym_create_index_statement_token1, - STATE(125), 1, - aux_sym_select_clause_repeat1, - ACTIONS(431), 9, + ACTIONS(423), 11, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, + anon_sym_COMMA, aux_sym_create_domain_statement_token1, aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, - [4688] = 3, + [4862] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(55), 1, + ACTIONS(51), 1, + anon_sym_LPAREN, + ACTIONS(57), 1, anon_sym_COLON_COLON, - ACTIONS(429), 10, + ACTIONS(448), 10, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -7758,32 +8007,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_in_expression_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [4707] = 7, - ACTIONS(3), 1, - sym_comment, - ACTIONS(438), 1, - aux_sym_table_constraint_check_token1, - ACTIONS(440), 1, - aux_sym_table_constraint_foreign_key_token1, - ACTIONS(442), 1, - aux_sym_table_constraint_unique_token1, - ACTIONS(444), 1, - aux_sym_table_constraint_primary_key_token1, - ACTIONS(446), 1, - sym_identifier, - STATE(247), 6, - sym_create_table_column_parameter, - sym__table_constraint, - sym_table_constraint_check, - sym_table_constraint_foreign_key, - sym_table_constraint_unique, - sym_table_constraint_primary_key, - [4734] = 3, + [4884] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(450), 1, + ACTIONS(452), 1, aux_sym_create_index_statement_token1, - ACTIONS(448), 10, + ACTIONS(450), 11, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7792,34 +8021,44 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, aux_sym_from_clause_token1, - [4753] = 3, + [4904] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(436), 1, + ACTIONS(25), 1, + aux_sym_group_by_clause_token1, + ACTIONS(403), 1, + aux_sym_where_clause_token1, + ACTIONS(456), 1, aux_sym_create_index_statement_token1, - ACTIONS(431), 10, + STATE(147), 1, + sym_where_clause, + STATE(170), 1, + sym_group_by_clause, + ACTIONS(454), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, - anon_sym_COMMA, aux_sym_create_domain_statement_token1, aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - aux_sym_where_clause_token1, - aux_sym_from_clause_token1, - [4772] = 5, + [4932] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(413), 1, - anon_sym_COMMA, - ACTIONS(454), 1, + ACTIONS(25), 1, + aux_sym_group_by_clause_token1, + ACTIONS(401), 1, aux_sym_create_index_statement_token1, - STATE(125), 1, - aux_sym_select_clause_repeat1, - ACTIONS(452), 8, + ACTIONS(403), 1, + aux_sym_where_clause_token1, + STATE(143), 1, + sym_where_clause, + STATE(168), 1, + sym_group_by_clause, + ACTIONS(399), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7827,17 +8066,16 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - aux_sym_where_clause_token1, - [4795] = 5, + [4960] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(413), 1, + ACTIONS(432), 1, anon_sym_COMMA, - ACTIONS(458), 1, + ACTIONS(460), 1, aux_sym_create_index_statement_token1, - STATE(130), 1, + STATE(127), 1, aux_sym_select_clause_repeat1, - ACTIONS(456), 8, + ACTIONS(458), 9, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7845,11 +8083,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, + aux_sym_group_by_clause_token1, aux_sym_where_clause_token1, - [4818] = 2, + [4984] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(460), 11, + ACTIONS(462), 11, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -7861,10 +8100,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_references_constraint_token1, aux_sym_on_update_action_token1, aux_sym_NULL_token1, - [4835] = 2, + [5001] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(462), 11, + ACTIONS(57), 1, + anon_sym_COLON_COLON, + ACTIONS(448), 10, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -7874,12 +8115,31 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_in_expression_token1, aux_sym_references_constraint_token1, - aux_sym_on_delete_action_token1, aux_sym_NULL_token1, - [4852] = 2, + [5020] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(464), 1, + aux_sym_table_constraint_check_token1, + ACTIONS(466), 1, + aux_sym_table_constraint_foreign_key_token1, + ACTIONS(468), 1, + aux_sym_table_constraint_unique_token1, + ACTIONS(470), 1, + aux_sym_table_constraint_primary_key_token1, + ACTIONS(472), 1, + sym_identifier, + STATE(219), 6, + sym_create_table_column_parameter, + sym__table_constraint, + sym_table_constraint_check, + sym_table_constraint_foreign_key, + sym_table_constraint_unique, + sym_table_constraint_primary_key, + [5047] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(464), 11, + ACTIONS(474), 11, anon_sym_COMMA, anon_sym_RPAREN, aux_sym_create_index_statement_token2, @@ -7891,30 +8151,30 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_in_expression_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [4869] = 7, + [5064] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(438), 1, + ACTIONS(464), 1, aux_sym_table_constraint_check_token1, - ACTIONS(440), 1, + ACTIONS(466), 1, aux_sym_table_constraint_foreign_key_token1, - ACTIONS(442), 1, + ACTIONS(468), 1, aux_sym_table_constraint_unique_token1, - ACTIONS(444), 1, + ACTIONS(470), 1, aux_sym_table_constraint_primary_key_token1, - ACTIONS(446), 1, + ACTIONS(472), 1, sym_identifier, - STATE(205), 6, + STATE(250), 6, sym_create_table_column_parameter, sym__table_constraint, sym_table_constraint_check, sym_table_constraint_foreign_key, sym_table_constraint_unique, sym_table_constraint_primary_key, - [4896] = 2, + [5091] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(466), 10, + ACTIONS(476), 11, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -7924,17 +8184,87 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_table_constraint_primary_key_token1, aux_sym_in_expression_token1, aux_sym_references_constraint_token1, + aux_sym_on_delete_action_token1, aux_sym_NULL_token1, - [4912] = 5, + [5108] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(425), 1, + ACTIONS(197), 1, + aux_sym_create_index_statement_token1, + ACTIONS(478), 1, + anon_sym_COMMA, + STATE(140), 1, + aux_sym_group_by_clause_repeat1, + ACTIONS(195), 8, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + anon_sym_RPAREN, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [5131] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(403), 1, aux_sym_where_clause_token1, - ACTIONS(470), 1, + ACTIONS(483), 1, + aux_sym_create_index_statement_token1, + STATE(179), 1, + sym_where_clause, + ACTIONS(481), 7, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [5153] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(25), 1, + aux_sym_group_by_clause_token1, + ACTIONS(401), 1, + aux_sym_create_index_statement_token1, + STATE(168), 1, + sym_group_by_clause, + ACTIONS(399), 7, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [5175] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(25), 1, + aux_sym_group_by_clause_token1, + ACTIONS(456), 1, + aux_sym_create_index_statement_token1, + STATE(170), 1, + sym_group_by_clause, + ACTIONS(454), 7, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [5197] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(403), 1, + aux_sym_where_clause_token1, + ACTIONS(487), 1, aux_sym_create_index_statement_token1, - STATE(160), 1, + STATE(176), 1, sym_where_clause, - ACTIONS(468), 7, + ACTIONS(485), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7942,10 +8272,10 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4934] = 2, + [5219] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(429), 10, + ACTIONS(489), 10, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -7956,10 +8286,10 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_in_expression_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [4950] = 2, + [5235] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(472), 10, + ACTIONS(491), 10, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -7970,16 +8300,33 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_in_expression_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [4966] = 5, + [5251] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(423), 1, + ACTIONS(25), 1, + aux_sym_group_by_clause_token1, + ACTIONS(495), 1, aux_sym_create_index_statement_token1, - ACTIONS(425), 1, + STATE(178), 1, + sym_group_by_clause, + ACTIONS(493), 7, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [5273] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(403), 1, aux_sym_where_clause_token1, - STATE(167), 1, + ACTIONS(499), 1, + aux_sym_create_index_statement_token1, + STATE(162), 1, sym_where_clause, - ACTIONS(421), 7, + ACTIONS(497), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -7987,10 +8334,10 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [4988] = 2, + [5295] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(474), 10, + ACTIONS(501), 10, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -8001,33 +8348,30 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_in_expression_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [5004] = 5, + [5311] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(425), 1, - aux_sym_where_clause_token1, - ACTIONS(478), 1, - aux_sym_create_index_statement_token1, - STATE(154), 1, - sym_where_clause, - ACTIONS(476), 7, - ts_builtin_sym_end, - anon_sym_SEMI, - aux_sym_create_function_statement_token1, - aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - [5026] = 5, + ACTIONS(448), 10, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_CONSTRAINT, + aux_sym_column_default_token1, + aux_sym_table_constraint_check_token1, + aux_sym_table_constraint_unique_token1, + aux_sym_table_constraint_primary_key_token1, + aux_sym_in_expression_token1, + aux_sym_references_constraint_token1, + aux_sym_NULL_token1, + [5327] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(425), 1, + ACTIONS(403), 1, aux_sym_where_clause_token1, - ACTIONS(482), 1, + ACTIONS(505), 1, aux_sym_create_index_statement_token1, - STATE(162), 1, + STATE(173), 1, sym_where_clause, - ACTIONS(480), 7, + ACTIONS(503), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8035,10 +8379,10 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5048] = 2, + [5349] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(484), 10, + ACTIONS(507), 10, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -8049,27 +8393,44 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_in_expression_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [5064] = 5, + [5365] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(486), 1, + ACTIONS(509), 1, sym_identifier, - STATE(207), 1, + STATE(224), 1, sym_constrained_type, - STATE(176), 3, + STATE(185), 3, sym__type_alias, sym_array_type, sym__type, - ACTIONS(79), 5, + ACTIONS(75), 5, aux_sym_constrained_type_token1, anon_sym_EQ, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_LBRACK, - [5086] = 2, + [5387] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(191), 1, + anon_sym_COMMA, + ACTIONS(513), 1, + aux_sym_create_index_statement_token1, + STATE(140), 1, + aux_sym_group_by_clause_repeat1, + ACTIONS(511), 7, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [5409] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(488), 10, + ACTIONS(515), 10, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_CONSTRAINT, @@ -8080,16 +8441,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_in_expression_token1, aux_sym_references_constraint_token1, aux_sym_NULL_token1, - [5102] = 5, + [5425] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(425), 1, - aux_sym_where_clause_token1, - ACTIONS(492), 1, + ACTIONS(519), 1, aux_sym_create_index_statement_token1, - STATE(163), 1, - sym_where_clause, - ACTIONS(490), 7, + ACTIONS(517), 8, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8097,31 +8454,33 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5124] = 5, + aux_sym_where_clause_token1, + [5442] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(425), 1, - aux_sym_where_clause_token1, - ACTIONS(496), 1, - aux_sym_create_index_statement_token1, - STATE(158), 1, - sym_where_clause, - ACTIONS(494), 7, - ts_builtin_sym_end, - anon_sym_SEMI, - aux_sym_create_function_statement_token1, - aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - [5146] = 4, + ACTIONS(221), 1, + aux_sym_NULL_token1, + ACTIONS(521), 1, + aux_sym_in_expression_token1, + ACTIONS(523), 1, + aux_sym_distinct_from_token1, + ACTIONS(525), 1, + aux_sym_TRUE_token1, + ACTIONS(527), 1, + aux_sym_FALSE_token1, + STATE(19), 4, + sym_distinct_from, + sym_NULL, + sym_TRUE, + sym_FALSE, + [5467] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(500), 1, + ACTIONS(531), 1, aux_sym__function_body_token1, - ACTIONS(502), 1, + ACTIONS(533), 1, aux_sym_create_index_statement_token1, - ACTIONS(498), 7, + ACTIONS(529), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8129,48 +8488,30 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5165] = 7, - ACTIONS(3), 1, - sym_comment, - ACTIONS(215), 1, - aux_sym_NULL_token1, - ACTIONS(504), 1, - aux_sym_in_expression_token1, - ACTIONS(506), 1, - aux_sym_distinct_from_token1, - ACTIONS(508), 1, - aux_sym_TRUE_token1, - ACTIONS(510), 1, - aux_sym_FALSE_token1, - STATE(22), 4, - sym_distinct_from, - sym_NULL, - sym_TRUE, - sym_FALSE, - [5190] = 7, + [5486] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(512), 1, + ACTIONS(535), 1, aux_sym_in_expression_token1, - ACTIONS(514), 1, + ACTIONS(537), 1, aux_sym_distinct_from_token1, - ACTIONS(516), 1, + ACTIONS(539), 1, aux_sym_NULL_token1, - ACTIONS(518), 1, + ACTIONS(541), 1, aux_sym_TRUE_token1, - ACTIONS(520), 1, + ACTIONS(543), 1, aux_sym_FALSE_token1, - STATE(76), 4, + STATE(83), 4, sym_distinct_from, sym_NULL, sym_TRUE, sym_FALSE, - [5215] = 3, + [5511] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(524), 1, + ACTIONS(547), 1, aux_sym_create_index_statement_token1, - ACTIONS(522), 8, + ACTIONS(545), 8, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8179,12 +8520,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, aux_sym_where_clause_token1, - [5232] = 3, + [5528] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(528), 1, + ACTIONS(551), 1, aux_sym_create_index_statement_token1, - ACTIONS(526), 8, + ACTIONS(549), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8192,13 +8533,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - aux_sym_where_clause_token1, - [5249] = 3, + [5544] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(492), 1, + ACTIONS(505), 1, aux_sym_create_index_statement_token1, - ACTIONS(490), 7, + ACTIONS(503), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8206,53 +8546,39 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5265] = 3, + [5560] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(423), 1, + ACTIONS(555), 1, + anon_sym_SEMI, + ACTIONS(557), 1, aux_sym_create_index_statement_token1, - ACTIONS(421), 7, + ACTIONS(553), 6, ts_builtin_sym_end, - anon_sym_SEMI, aux_sym_create_function_statement_token1, aux_sym_create_domain_statement_token1, aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5281] = 3, + [5578] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(532), 1, + ACTIONS(561), 1, aux_sym_create_index_statement_token1, - ACTIONS(530), 7, + ACTIONS(559), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - [5297] = 5, - ACTIONS(3), 1, - sym_comment, - ACTIONS(486), 1, - sym_identifier, - ACTIONS(534), 1, - aux_sym_setof_token1, - STATE(90), 3, - sym__create_function_return_type, - sym_setof, - sym_constrained_type, - STATE(112), 3, - sym__type_alias, - sym_array_type, - sym__type, - [5317] = 3, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [5594] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(482), 1, + ACTIONS(401), 1, aux_sym_create_index_statement_token1, - ACTIONS(480), 7, + ACTIONS(399), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8260,28 +8586,28 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5333] = 6, + [5610] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(215), 1, - aux_sym_NULL_token1, - ACTIONS(506), 1, + ACTIONS(537), 1, aux_sym_distinct_from_token1, - ACTIONS(508), 1, + ACTIONS(539), 1, + aux_sym_NULL_token1, + ACTIONS(541), 1, aux_sym_TRUE_token1, - ACTIONS(510), 1, + ACTIONS(543), 1, aux_sym_FALSE_token1, - STATE(17), 4, + STATE(98), 4, sym_distinct_from, sym_NULL, sym_TRUE, sym_FALSE, - [5355] = 3, + [5632] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(538), 1, + ACTIONS(565), 1, aux_sym_create_index_statement_token1, - ACTIONS(536), 7, + ACTIONS(563), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8289,12 +8615,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5371] = 3, + [5648] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(542), 1, + ACTIONS(456), 1, aux_sym_create_index_statement_token1, - ACTIONS(540), 7, + ACTIONS(454), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8302,25 +8628,27 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5387] = 3, + [5664] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(546), 1, - aux_sym_create_index_statement_token1, - ACTIONS(544), 7, - ts_builtin_sym_end, - anon_sym_SEMI, - aux_sym_create_function_statement_token1, - aux_sym_create_domain_statement_token1, - aux_sym_create_type_statement_token1, - aux_sym_create_table_statement_token1, - aux_sym_select_statement_token1, - [5403] = 3, + ACTIONS(509), 1, + sym_identifier, + ACTIONS(567), 1, + aux_sym_setof_token1, + STATE(82), 3, + sym__create_function_return_type, + sym_setof, + sym_constrained_type, + STATE(114), 3, + sym__type_alias, + sym_array_type, + sym__type, + [5684] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(550), 1, + ACTIONS(495), 1, aux_sym_create_index_statement_token1, - ACTIONS(548), 7, + ACTIONS(493), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8328,29 +8656,45 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5419] = 7, + [5700] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(25), 1, + ACTIONS(221), 1, + aux_sym_NULL_token1, + ACTIONS(523), 1, + aux_sym_distinct_from_token1, + ACTIONS(525), 1, + aux_sym_TRUE_token1, + ACTIONS(527), 1, + aux_sym_FALSE_token1, + STATE(26), 4, + sym_distinct_from, + sym_NULL, + sym_TRUE, + sym_FALSE, + [5722] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, anon_sym_LPAREN, - ACTIONS(43), 1, + ACTIONS(41), 1, anon_sym_SQUOTE, - ACTIONS(45), 1, + ACTIONS(43), 1, anon_sym_DOLLAR_DOLLAR, - ACTIONS(552), 1, + ACTIONS(569), 1, sym_identifier, - STATE(138), 1, + STATE(150), 1, sym_type_cast, - STATE(126), 3, + STATE(135), 3, sym_function_call, sym__parenthesized_expression, sym_string, - [5443] = 3, + [5746] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(556), 1, + ACTIONS(573), 1, aux_sym_create_index_statement_token1, - ACTIONS(554), 7, + ACTIONS(571), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8358,26 +8702,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5459] = 4, + [5762] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(560), 1, - anon_sym_SEMI, - ACTIONS(562), 1, + ACTIONS(577), 1, aux_sym_create_index_statement_token1, - ACTIONS(558), 6, + ACTIONS(575), 7, ts_builtin_sym_end, + anon_sym_SEMI, aux_sym_create_function_statement_token1, aux_sym_create_domain_statement_token1, aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5477] = 3, + [5778] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(470), 1, + ACTIONS(581), 1, aux_sym_create_index_statement_token1, - ACTIONS(468), 7, + ACTIONS(579), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8385,12 +8728,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5493] = 3, + [5794] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(566), 1, + ACTIONS(483), 1, aux_sym_create_index_statement_token1, - ACTIONS(564), 7, + ACTIONS(481), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8398,12 +8741,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5509] = 3, + [5810] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(570), 1, + ACTIONS(585), 1, aux_sym_create_index_statement_token1, - ACTIONS(568), 7, + ACTIONS(583), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8411,28 +8754,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5525] = 6, + [5826] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(514), 1, - aux_sym_distinct_from_token1, - ACTIONS(516), 1, - aux_sym_NULL_token1, - ACTIONS(518), 1, - aux_sym_TRUE_token1, - ACTIONS(520), 1, - aux_sym_FALSE_token1, - STATE(95), 4, - sym_distinct_from, - sym_NULL, - sym_TRUE, - sym_FALSE, - [5547] = 3, + ACTIONS(589), 1, + aux_sym_create_index_statement_token1, + ACTIONS(587), 7, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_create_domain_statement_token1, + aux_sym_create_type_statement_token1, + aux_sym_create_table_statement_token1, + aux_sym_select_statement_token1, + [5842] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(574), 1, + ACTIONS(593), 1, aux_sym_create_index_statement_token1, - ACTIONS(572), 7, + ACTIONS(591), 7, ts_builtin_sym_end, anon_sym_SEMI, aux_sym_create_function_statement_token1, @@ -8440,1181 +8780,1179 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5563] = 3, + [5858] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(578), 1, + ACTIONS(597), 1, aux_sym_create_index_statement_token1, - ACTIONS(576), 6, + ACTIONS(595), 6, ts_builtin_sym_end, aux_sym_create_function_statement_token1, aux_sym_create_domain_statement_token1, aux_sym_create_type_statement_token1, aux_sym_create_table_statement_token1, aux_sym_select_statement_token1, - [5578] = 5, + [5873] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(580), 1, + ACTIONS(599), 1, sym_identifier, - STATE(201), 1, + STATE(208), 1, sym_constrained_type, - STATE(236), 1, + STATE(233), 1, sym_create_function_parameter, - STATE(177), 3, + STATE(184), 3, sym__type_alias, sym_array_type, sym__type, - [5596] = 5, + [5891] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(580), 1, + ACTIONS(599), 1, sym_identifier, - STATE(201), 1, + STATE(208), 1, sym_constrained_type, - STATE(202), 1, + STATE(209), 1, sym_create_function_parameter, - STATE(177), 3, + STATE(184), 3, sym__type_alias, sym_array_type, sym__type, - [5614] = 4, + [5909] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(582), 1, + ACTIONS(601), 1, sym_identifier, - STATE(117), 1, + STATE(122), 1, sym_constrained_type, - STATE(104), 3, + STATE(107), 3, sym__type_alias, sym_array_type, sym__type, - [5629] = 5, + [5924] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(330), 1, + ACTIONS(340), 1, aux_sym_constrained_type_token1, - ACTIONS(334), 1, + ACTIONS(344), 1, anon_sym_LBRACK, - ACTIONS(584), 1, + ACTIONS(603), 1, anon_sym_EQ, - ACTIONS(586), 2, + ACTIONS(605), 2, anon_sym_COMMA, anon_sym_RPAREN, - [5646] = 5, + [5941] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(330), 1, + ACTIONS(340), 1, aux_sym_constrained_type_token1, - ACTIONS(334), 1, + ACTIONS(344), 1, anon_sym_LBRACK, - ACTIONS(588), 1, + ACTIONS(607), 1, anon_sym_EQ, - ACTIONS(590), 2, + ACTIONS(609), 2, anon_sym_COMMA, anon_sym_RPAREN, - [5663] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(592), 1, - sym_identifier, - STATE(74), 3, - sym__type_alias, - sym_array_type, - sym__type, - [5675] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(594), 1, - sym_identifier, - STATE(6), 3, - sym__type_alias, - sym_array_type, - sym__type, - [5687] = 3, + [5958] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(594), 1, + ACTIONS(611), 1, sym_identifier, - STATE(216), 3, + STATE(102), 3, sym__type_alias, sym_array_type, sym__type, - [5699] = 5, + [5970] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(596), 1, + ACTIONS(613), 1, anon_sym_LPAREN, - ACTIONS(598), 1, + ACTIONS(615), 1, aux_sym_using_clause_token1, - STATE(142), 1, + STATE(148), 1, sym_index_table_parameters, - STATE(239), 1, + STATE(243), 1, sym_using_clause, - [5715] = 3, + [5986] = 3, ACTIONS(3), 1, sym_comment, - STATE(133), 1, + STATE(134), 1, sym__constraint_action, - ACTIONS(600), 3, + ACTIONS(617), 3, aux_sym__constraint_action_token1, aux_sym__constraint_action_token2, aux_sym__constraint_action_token3, - [5727] = 3, + [5998] = 3, ACTIONS(3), 1, sym_comment, - STATE(132), 1, + STATE(139), 1, sym__constraint_action, - ACTIONS(602), 3, + ACTIONS(619), 3, aux_sym__constraint_action_token1, aux_sym__constraint_action_token2, aux_sym__constraint_action_token3, - [5739] = 5, + [6010] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(611), 1, + sym_identifier, + STATE(61), 3, + sym__type_alias, + sym_array_type, + sym__type, + [6022] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(611), 1, + sym_identifier, + STATE(222), 3, + sym__type_alias, + sym_array_type, + sym__type, + [6034] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(596), 1, + ACTIONS(613), 1, anon_sym_LPAREN, - ACTIONS(598), 1, + ACTIONS(615), 1, aux_sym_using_clause_token1, - STATE(148), 1, + STATE(144), 1, sym_index_table_parameters, - STATE(225), 1, + STATE(249), 1, sym_using_clause, - [5755] = 3, + [6050] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(594), 1, + ACTIONS(611), 1, sym_identifier, - STATE(59), 3, + STATE(12), 3, sym__type_alias, sym_array_type, sym__type, - [5767] = 3, + [6062] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(594), 1, + ACTIONS(621), 1, sym_identifier, - STATE(98), 3, + STATE(69), 3, sym__type_alias, sym_array_type, sym__type, - [5779] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(43), 1, - anon_sym_SQUOTE, - ACTIONS(45), 1, - anon_sym_DOLLAR_DOLLAR, - STATE(118), 1, - sym_string, - [5792] = 4, + [6074] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(604), 1, + ACTIONS(623), 1, anon_sym_COMMA, - ACTIONS(606), 1, + ACTIONS(625), 1, anon_sym_RPAREN, - STATE(214), 1, + STATE(205), 1, aux_sym_table_constraint_foreign_key_repeat1, - [5805] = 4, + [6087] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(306), 1, + ACTIONS(627), 1, anon_sym_COMMA, - ACTIONS(608), 1, + ACTIONS(630), 1, anon_sym_RPAREN, - STATE(200), 1, - aux_sym_tuple_repeat1, - [5818] = 4, + STATE(196), 1, + aux_sym_create_function_parameters_repeat1, + [6100] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(207), 1, - aux_sym_table_constraint_unique_token1, - ACTIONS(610), 1, - aux_sym_create_index_statement_token2, - STATE(274), 1, - sym_unique_constraint, - [5831] = 4, + ACTIONS(632), 1, + anon_sym_COMMA, + ACTIONS(635), 1, + anon_sym_RPAREN, + STATE(197), 1, + aux_sym_parameters_repeat1, + [6113] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(306), 1, + ACTIONS(261), 1, anon_sym_COMMA, - ACTIONS(612), 1, + ACTIONS(263), 1, anon_sym_RPAREN, - STATE(200), 1, - aux_sym_tuple_repeat1, - [5844] = 4, + STATE(215), 1, + aux_sym_index_table_parameters_repeat1, + [6126] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(604), 1, + ACTIONS(637), 1, anon_sym_COMMA, - ACTIONS(614), 1, + ACTIONS(639), 1, anon_sym_RPAREN, - STATE(214), 1, - aux_sym_table_constraint_foreign_key_repeat1, - [5857] = 4, + STATE(213), 1, + aux_sym_create_table_parameters_repeat1, + [6139] = 4, ACTIONS(3), 1, sym_comment, ACTIONS(183), 1, anon_sym_SQUOTE, ACTIONS(185), 1, anon_sym_DOLLAR_DOLLAR, - STATE(81), 1, + STATE(93), 1, sym_string, - [5870] = 4, + [6152] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(604), 1, + ACTIONS(641), 1, anon_sym_COMMA, - ACTIONS(616), 1, + ACTIONS(643), 1, anon_sym_RPAREN, - STATE(214), 1, - aux_sym_table_constraint_foreign_key_repeat1, - [5883] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(43), 1, - anon_sym_SQUOTE, - ACTIONS(45), 1, - anon_sym_DOLLAR_DOLLAR, - STATE(19), 1, - sym_string, - [5896] = 4, + STATE(197), 1, + aux_sym_parameters_repeat1, + [6165] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(604), 1, + ACTIONS(623), 1, anon_sym_COMMA, - ACTIONS(618), 1, + ACTIONS(645), 1, anon_sym_RPAREN, - STATE(214), 1, + STATE(203), 1, aux_sym_table_constraint_foreign_key_repeat1, - [5909] = 4, + [6178] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(620), 1, - anon_sym_COMMA, ACTIONS(623), 1, + anon_sym_COMMA, + ACTIONS(647), 1, anon_sym_RPAREN, - STATE(197), 1, - aux_sym_create_table_parameters_repeat1, - [5922] = 4, + STATE(221), 1, + aux_sym_table_constraint_foreign_key_repeat1, + [6191] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(625), 1, + ACTIONS(41), 1, + anon_sym_SQUOTE, + ACTIONS(43), 1, + anon_sym_DOLLAR_DOLLAR, + STATE(24), 1, + sym_string, + [6204] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(623), 1, anon_sym_COMMA, - ACTIONS(628), 1, + ACTIONS(649), 1, anon_sym_RPAREN, - STATE(198), 1, - aux_sym_parameters_repeat1, - [5935] = 4, + STATE(221), 1, + aux_sym_table_constraint_foreign_key_repeat1, + [6217] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(247), 1, + ACTIONS(623), 1, anon_sym_COMMA, - ACTIONS(249), 1, + ACTIONS(651), 1, anon_sym_RPAREN, - STATE(206), 1, - aux_sym_index_table_parameters_repeat1, - [5948] = 4, + STATE(221), 1, + aux_sym_table_constraint_foreign_key_repeat1, + [6230] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(385), 1, - anon_sym_RPAREN, - ACTIONS(630), 1, + ACTIONS(623), 1, anon_sym_COMMA, - STATE(200), 1, - aux_sym_tuple_repeat1, - [5961] = 3, + ACTIONS(653), 1, + anon_sym_RPAREN, + STATE(221), 1, + aux_sym_table_constraint_foreign_key_repeat1, + [6243] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(588), 1, + ACTIONS(603), 1, anon_sym_EQ, - ACTIONS(590), 2, + ACTIONS(605), 2, anon_sym_COMMA, anon_sym_RPAREN, - [5972] = 4, + [6254] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(633), 1, + ACTIONS(655), 1, anon_sym_COMMA, - ACTIONS(635), 1, + ACTIONS(657), 1, anon_sym_RPAREN, - STATE(208), 1, + STATE(217), 1, aux_sym_create_function_parameters_repeat1, - [5985] = 4, + [6267] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(306), 1, + ACTIONS(191), 1, anon_sym_COMMA, - ACTIONS(637), 1, + ACTIONS(659), 1, anon_sym_RPAREN, - STATE(200), 1, - aux_sym_tuple_repeat1, - [5998] = 4, + STATE(140), 1, + aux_sym_group_by_clause_repeat1, + [6280] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(306), 1, + ACTIONS(641), 1, anon_sym_COMMA, - ACTIONS(639), 1, + ACTIONS(661), 1, anon_sym_RPAREN, - STATE(200), 1, - aux_sym_tuple_repeat1, - [6011] = 4, + STATE(201), 1, + aux_sym_parameters_repeat1, + [6293] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(641), 1, + ACTIONS(191), 1, anon_sym_COMMA, - ACTIONS(643), 1, + ACTIONS(663), 1, anon_sym_RPAREN, - STATE(212), 1, - aux_sym_create_table_parameters_repeat1, - [6024] = 4, + STATE(140), 1, + aux_sym_group_by_clause_repeat1, + [6306] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(247), 1, + ACTIONS(665), 1, anon_sym_COMMA, - ACTIONS(645), 1, + ACTIONS(668), 1, anon_sym_RPAREN, - STATE(219), 1, - aux_sym_index_table_parameters_repeat1, - [6037] = 3, + STATE(213), 1, + aux_sym_create_table_parameters_repeat1, + [6319] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(584), 1, - anon_sym_EQ, - ACTIONS(586), 2, + ACTIONS(623), 1, anon_sym_COMMA, + ACTIONS(670), 1, anon_sym_RPAREN, - [6048] = 4, + STATE(206), 1, + aux_sym_table_constraint_foreign_key_repeat1, + [6332] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(633), 1, + ACTIONS(261), 1, anon_sym_COMMA, - ACTIONS(647), 1, + ACTIONS(672), 1, anon_sym_RPAREN, - STATE(213), 1, - aux_sym_create_function_parameters_repeat1, - [6061] = 4, + STATE(223), 1, + aux_sym_index_table_parameters_repeat1, + [6345] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(604), 1, - anon_sym_COMMA, - ACTIONS(649), 1, - anon_sym_RPAREN, - STATE(196), 1, - aux_sym_table_constraint_foreign_key_repeat1, - [6074] = 4, + ACTIONS(213), 1, + aux_sym_table_constraint_unique_token1, + ACTIONS(674), 1, + aux_sym_create_index_statement_token2, + STATE(279), 1, + sym_unique_constraint, + [6358] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(604), 1, + ACTIONS(655), 1, anon_sym_COMMA, - ACTIONS(651), 1, + ACTIONS(676), 1, anon_sym_RPAREN, - STATE(194), 1, - aux_sym_table_constraint_foreign_key_repeat1, - [6087] = 4, + STATE(196), 1, + aux_sym_create_function_parameters_repeat1, + [6371] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(653), 1, + ACTIONS(623), 1, anon_sym_COMMA, - ACTIONS(655), 1, + ACTIONS(678), 1, anon_sym_RPAREN, - STATE(217), 1, - aux_sym_parameters_repeat1, - [6100] = 4, + STATE(207), 1, + aux_sym_table_constraint_foreign_key_repeat1, + [6384] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(641), 1, + ACTIONS(637), 1, anon_sym_COMMA, - ACTIONS(657), 1, + ACTIONS(680), 1, anon_sym_RPAREN, - STATE(197), 1, + STATE(199), 1, aux_sym_create_table_parameters_repeat1, - [6113] = 4, + [6397] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(659), 1, - anon_sym_COMMA, - ACTIONS(662), 1, - anon_sym_RPAREN, - STATE(213), 1, - aux_sym_create_function_parameters_repeat1, - [6126] = 4, + ACTIONS(41), 1, + anon_sym_SQUOTE, + ACTIONS(43), 1, + anon_sym_DOLLAR_DOLLAR, + STATE(125), 1, + sym_string, + [6410] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(664), 1, + ACTIONS(682), 1, anon_sym_COMMA, - ACTIONS(667), 1, + ACTIONS(685), 1, anon_sym_RPAREN, - STATE(214), 1, + STATE(221), 1, aux_sym_table_constraint_foreign_key_repeat1, - [6139] = 4, + [6423] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(604), 1, + ACTIONS(344), 1, + anon_sym_LBRACK, + ACTIONS(687), 2, anon_sym_COMMA, - ACTIONS(669), 1, anon_sym_RPAREN, - STATE(188), 1, - aux_sym_table_constraint_foreign_key_repeat1, - [6152] = 3, + [6434] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(334), 1, - anon_sym_LBRACK, - ACTIONS(671), 2, - anon_sym_COMMA, + ACTIONS(299), 1, anon_sym_RPAREN, - [6163] = 4, + ACTIONS(689), 1, + anon_sym_COMMA, + STATE(223), 1, + aux_sym_index_table_parameters_repeat1, + [6447] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(653), 1, + ACTIONS(607), 1, + anon_sym_EQ, + ACTIONS(609), 2, anon_sym_COMMA, - ACTIONS(673), 1, anon_sym_RPAREN, - STATE(198), 1, - aux_sym_parameters_repeat1, - [6176] = 4, + [6458] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(604), 1, + ACTIONS(191), 1, anon_sym_COMMA, - ACTIONS(675), 1, + ACTIONS(692), 1, anon_sym_RPAREN, - STATE(192), 1, - aux_sym_table_constraint_foreign_key_repeat1, - [6189] = 4, + STATE(140), 1, + aux_sym_group_by_clause_repeat1, + [6471] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(300), 1, - anon_sym_RPAREN, - ACTIONS(677), 1, + ACTIONS(191), 1, anon_sym_COMMA, - STATE(219), 1, - aux_sym_index_table_parameters_repeat1, - [6202] = 3, + ACTIONS(694), 1, + anon_sym_RPAREN, + STATE(140), 1, + aux_sym_group_by_clause_repeat1, + [6484] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(342), 1, - aux_sym_on_update_action_token1, - STATE(136), 1, - sym_on_update_action, - [6212] = 2, + ACTIONS(696), 1, + anon_sym_LPAREN, + STATE(84), 1, + sym_tuple, + [6494] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(680), 2, + ACTIONS(685), 2, anon_sym_COMMA, anon_sym_RPAREN, - [6220] = 2, + [6502] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(682), 2, + ACTIONS(698), 2, anon_sym_COMMA, anon_sym_RPAREN, - [6228] = 2, + [6510] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(219), 1, + aux_sym_references_constraint_token1, + STATE(238), 1, + sym_references_constraint, + [6520] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(684), 2, + ACTIONS(700), 2, anon_sym_COMMA, anon_sym_RPAREN, - [6236] = 3, + [6528] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(213), 1, - aux_sym_references_constraint_token1, - STATE(245), 1, - sym_references_constraint, - [6246] = 3, + ACTIONS(702), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [6536] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(596), 1, - anon_sym_LPAREN, - STATE(143), 1, - sym_index_table_parameters, - [6256] = 3, + ACTIONS(630), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [6544] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(344), 1, + ACTIONS(374), 1, aux_sym_on_delete_action_token1, - STATE(144), 1, + STATE(145), 1, sym_on_delete_action, - [6266] = 3, + [6554] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(342), 1, + ACTIONS(372), 1, aux_sym_on_update_action_token1, - STATE(144), 1, + STATE(145), 1, sym_on_update_action, - [6276] = 2, - ACTIONS(3), 1, - sym_comment, - ACTIONS(300), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - [6284] = 2, + [6564] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(686), 2, + ACTIONS(635), 2, anon_sym_COMMA, anon_sym_RPAREN, - [6292] = 3, + [6572] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(688), 1, + ACTIONS(704), 1, sym_identifier, - STATE(240), 1, + STATE(236), 1, sym_parameter, - [6302] = 2, + [6582] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(690), 2, + ACTIONS(706), 2, anon_sym_COMMA, anon_sym_RPAREN, - [6310] = 3, + [6590] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(692), 1, + ACTIONS(696), 1, anon_sym_LPAREN, - STATE(94), 1, + STATE(97), 1, sym_tuple, - [6320] = 3, + [6600] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(692), 1, + ACTIONS(708), 1, anon_sym_LPAREN, - STATE(83), 1, + STATE(27), 1, sym_tuple, - [6330] = 3, + [6610] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(344), 1, + ACTIONS(374), 1, aux_sym_on_delete_action_token1, - STATE(139), 1, + STATE(155), 1, sym_on_delete_action, - [6340] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(342), 1, - aux_sym_on_update_action_token1, - STATE(139), 1, - sym_on_update_action, - [6350] = 2, - ACTIONS(3), 1, - sym_comment, - ACTIONS(662), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - [6358] = 2, - ACTIONS(3), 1, - sym_comment, - ACTIONS(694), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - [6366] = 3, + [6620] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(344), 1, + ACTIONS(374), 1, aux_sym_on_delete_action_token1, - STATE(136), 1, + STATE(146), 1, sym_on_delete_action, - [6376] = 3, + [6630] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(596), 1, + ACTIONS(613), 1, anon_sym_LPAREN, - STATE(147), 1, + STATE(151), 1, sym_index_table_parameters, - [6386] = 2, + [6640] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(628), 2, + ACTIONS(299), 2, anon_sym_COMMA, anon_sym_RPAREN, - [6394] = 3, + [6648] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(696), 1, + ACTIONS(372), 1, + aux_sym_on_update_action_token1, + STATE(155), 1, + sym_on_update_action, + [6658] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(372), 1, + aux_sym_on_update_action_token1, + STATE(146), 1, + sym_on_update_action, + [6668] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(710), 1, anon_sym_LPAREN, - STATE(270), 1, + STATE(272), 1, sym_create_function_parameters, - [6404] = 3, + [6678] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(698), 1, + ACTIONS(712), 1, anon_sym_LPAREN, - STATE(165), 1, + STATE(167), 1, sym_create_table_parameters, - [6414] = 3, + [6688] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(700), 1, + ACTIONS(613), 1, anon_sym_LPAREN, - STATE(156), 1, - sym_parameters, - [6424] = 3, + STATE(141), 1, + sym_index_table_parameters, + [6698] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(668), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [6706] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(702), 1, + ACTIONS(714), 1, anon_sym_LPAREN, - STATE(21), 1, - sym_tuple, - [6434] = 2, + STATE(161), 1, + sym_parameters, + [6716] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(704), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - [6442] = 3, + ACTIONS(219), 1, + aux_sym_references_constraint_token1, + STATE(229), 1, + sym_references_constraint, + [6726] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(215), 1, - aux_sym_NULL_token1, - STATE(68), 1, - sym_NULL, - [6452] = 2, + ACTIONS(704), 1, + sym_identifier, + STATE(211), 1, + sym_parameter, + [6736] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(623), 2, + ACTIONS(716), 2, anon_sym_COMMA, anon_sym_RPAREN, - [6460] = 2, + [6744] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(667), 2, + ACTIONS(718), 2, anon_sym_COMMA, anon_sym_RPAREN, - [6468] = 3, + [6752] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(688), 1, - sym_identifier, - STATE(211), 1, - sym_parameter, - [6478] = 3, + ACTIONS(221), 1, + aux_sym_NULL_token1, + STATE(77), 1, + sym_NULL, + [6762] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(213), 1, - aux_sym_references_constraint_token1, - STATE(231), 1, - sym_references_constraint, - [6488] = 3, + ACTIONS(720), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [6770] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(702), 1, + ACTIONS(708), 1, anon_sym_LPAREN, - STATE(18), 1, + STATE(17), 1, sym_tuple, - [6498] = 2, + [6780] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(706), 1, - aux_sym_create_index_statement_token3, - [6505] = 2, + ACTIONS(722), 1, + anon_sym_SQUOTE, + [6787] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(708), 1, + ACTIONS(724), 1, sym_identifier, - [6512] = 2, - ACTIONS(3), 1, - sym_comment, - ACTIONS(710), 1, - anon_sym_LPAREN, - [6519] = 2, + [6794] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(712), 1, - anon_sym_LPAREN, - [6526] = 2, + ACTIONS(726), 1, + sym_identifier, + [6801] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(714), 1, + ACTIONS(728), 1, sym_identifier, - [6533] = 2, + [6808] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(716), 1, - sym_identifier, - [6540] = 2, + ACTIONS(722), 1, + anon_sym_DOLLAR_DOLLAR, + [6815] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(718), 1, + ACTIONS(730), 1, sym_identifier, - [6547] = 2, + [6822] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(720), 1, + ACTIONS(732), 1, sym_identifier, - [6554] = 2, + [6829] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(722), 1, - aux_sym_create_function_statement_token2, - [6561] = 2, + ACTIONS(734), 1, + sym_identifier, + [6836] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(724), 1, + ACTIONS(736), 1, anon_sym_RBRACK, - [6568] = 2, - ACTIONS(3), 1, - sym_comment, - ACTIONS(726), 1, - aux_sym_in_expression_token2, - [6575] = 2, + [6843] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(728), 1, + ACTIONS(738), 1, sym_identifier, - [6582] = 2, + [6850] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(730), 1, - anon_sym_DOLLAR_DOLLAR, - [6589] = 2, + ACTIONS(740), 1, + aux_sym_create_index_statement_token3, + [6857] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(730), 1, - anon_sym_SQUOTE, - [6596] = 2, + ACTIONS(742), 1, + sym_identifier, + [6864] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(732), 1, - anon_sym_LPAREN, - [6603] = 2, + ACTIONS(744), 1, + sym_identifier, + [6871] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(734), 1, - sym_identifier, - [6610] = 2, + ACTIONS(746), 1, + aux_sym_create_function_statement_token2, + [6878] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(736), 1, + ACTIONS(748), 1, aux_sym_create_index_statement_token3, - [6617] = 2, + [6885] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(738), 1, - sym_identifier, - [6624] = 2, + ACTIONS(750), 1, + anon_sym_LPAREN, + [6892] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(740), 1, - aux_sym_create_function_statement_token2, - [6631] = 2, - ACTIONS(742), 1, + ACTIONS(752), 1, + sym_identifier, + [6899] = 2, + ACTIONS(754), 1, aux_sym_string_token2, - ACTIONS(744), 1, + ACTIONS(756), 1, sym_comment, - [6638] = 2, - ACTIONS(744), 1, + [6906] = 2, + ACTIONS(756), 1, sym_comment, - ACTIONS(746), 1, + ACTIONS(758), 1, aux_sym_string_token1, - [6645] = 2, + [6913] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(748), 1, + ACTIONS(760), 1, anon_sym_LPAREN, - [6652] = 2, + [6920] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(750), 1, + ACTIONS(762), 1, aux_sym_create_index_statement_token2, - [6659] = 2, + [6927] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(752), 1, - sym_identifier, - [6666] = 2, + ACTIONS(764), 1, + aux_sym_in_expression_token2, + [6934] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(754), 1, + ACTIONS(766), 1, aux_sym__function_body_token1, - [6673] = 2, + [6941] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(756), 1, - sym_identifier, - [6680] = 2, + ACTIONS(768), 1, + anon_sym_LPAREN, + [6948] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(758), 1, + ACTIONS(770), 1, sym_identifier, - [6687] = 2, + [6955] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(760), 1, + ACTIONS(772), 1, ts_builtin_sym_end, - [6694] = 2, + [6962] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(762), 1, + ACTIONS(774), 1, + sym_identifier, + [6969] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(776), 1, + aux_sym_create_function_statement_token2, + [6976] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(778), 1, anon_sym_SQUOTE, - [6701] = 2, + [6983] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(762), 1, + ACTIONS(778), 1, anon_sym_DOLLAR_DOLLAR, - [6708] = 2, + [6990] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(764), 1, + ACTIONS(780), 1, sym_identifier, - [6715] = 2, + [6997] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(766), 1, + ACTIONS(782), 1, sym_identifier, - [6722] = 2, + [7004] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(768), 1, - aux_sym_create_function_statement_token2, - [6729] = 2, + ACTIONS(784), 1, + sym_identifier, + [7011] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(770), 1, + ACTIONS(786), 1, anon_sym_RBRACK, - [6736] = 2, + [7018] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(772), 1, - sym_identifier, - [6743] = 2, + ACTIONS(788), 1, + anon_sym_LPAREN, + [7025] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(774), 1, + ACTIONS(790), 1, sym_identifier, - [6750] = 2, + [7032] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(776), 1, - sym_identifier, - [6757] = 2, + ACTIONS(792), 1, + aux_sym_create_function_statement_token2, + [7039] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(778), 1, + ACTIONS(794), 1, anon_sym_RBRACK, - [6764] = 2, + [7046] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(780), 1, + ACTIONS(796), 1, sym_identifier, - [6771] = 2, - ACTIONS(744), 1, + [7053] = 2, + ACTIONS(756), 1, sym_comment, - ACTIONS(782), 1, + ACTIONS(798), 1, aux_sym_string_token1, - [6778] = 2, - ACTIONS(744), 1, + [7060] = 2, + ACTIONS(756), 1, sym_comment, - ACTIONS(784), 1, + ACTIONS(800), 1, aux_sym_string_token2, - [6785] = 2, + [7067] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(786), 1, + ACTIONS(802), 1, aux_sym_in_expression_token2, - [6792] = 2, + [7074] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(788), 1, + ACTIONS(804), 1, sym_identifier, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 46, - [SMALL_STATE(4)] = 125, - [SMALL_STATE(5)] = 175, - [SMALL_STATE(6)] = 217, - [SMALL_STATE(7)] = 261, - [SMALL_STATE(8)] = 303, - [SMALL_STATE(9)] = 345, - [SMALL_STATE(10)] = 387, - [SMALL_STATE(11)] = 429, - [SMALL_STATE(12)] = 473, - [SMALL_STATE(13)] = 515, - [SMALL_STATE(14)] = 560, - [SMALL_STATE(15)] = 603, - [SMALL_STATE(16)] = 644, - [SMALL_STATE(17)] = 699, - [SMALL_STATE(18)] = 740, - [SMALL_STATE(19)] = 781, - [SMALL_STATE(20)] = 822, - [SMALL_STATE(21)] = 863, - [SMALL_STATE(22)] = 904, - [SMALL_STATE(23)] = 945, - [SMALL_STATE(24)] = 986, - [SMALL_STATE(25)] = 1027, - [SMALL_STATE(26)] = 1068, - [SMALL_STATE(27)] = 1109, - [SMALL_STATE(28)] = 1150, - [SMALL_STATE(29)] = 1205, - [SMALL_STATE(30)] = 1259, - [SMALL_STATE(31)] = 1310, - [SMALL_STATE(32)] = 1362, - [SMALL_STATE(33)] = 1414, - [SMALL_STATE(34)] = 1465, - [SMALL_STATE(35)] = 1516, - [SMALL_STATE(36)] = 1567, - [SMALL_STATE(37)] = 1618, - [SMALL_STATE(38)] = 1666, - [SMALL_STATE(39)] = 1714, - [SMALL_STATE(40)] = 1762, - [SMALL_STATE(41)] = 1810, - [SMALL_STATE(42)] = 1858, - [SMALL_STATE(43)] = 1906, - [SMALL_STATE(44)] = 1954, - [SMALL_STATE(45)] = 2002, - [SMALL_STATE(46)] = 2050, - [SMALL_STATE(47)] = 2098, - [SMALL_STATE(48)] = 2146, - [SMALL_STATE(49)] = 2194, - [SMALL_STATE(50)] = 2242, - [SMALL_STATE(51)] = 2290, - [SMALL_STATE(52)] = 2338, - [SMALL_STATE(53)] = 2386, - [SMALL_STATE(54)] = 2434, - [SMALL_STATE(55)] = 2482, - [SMALL_STATE(56)] = 2530, - [SMALL_STATE(57)] = 2578, - [SMALL_STATE(58)] = 2623, - [SMALL_STATE(59)] = 2657, - [SMALL_STATE(60)] = 2705, - [SMALL_STATE(61)] = 2750, - [SMALL_STATE(62)] = 2795, - [SMALL_STATE(63)] = 2821, - [SMALL_STATE(64)] = 2867, - [SMALL_STATE(65)] = 2895, - [SMALL_STATE(66)] = 2921, - [SMALL_STATE(67)] = 2947, - [SMALL_STATE(68)] = 2973, - [SMALL_STATE(69)] = 2999, - [SMALL_STATE(70)] = 3025, - [SMALL_STATE(71)] = 3051, - [SMALL_STATE(72)] = 3077, - [SMALL_STATE(73)] = 3103, - [SMALL_STATE(74)] = 3129, - [SMALL_STATE(75)] = 3157, - [SMALL_STATE(76)] = 3183, - [SMALL_STATE(77)] = 3208, - [SMALL_STATE(78)] = 3233, - [SMALL_STATE(79)] = 3270, - [SMALL_STATE(80)] = 3307, - [SMALL_STATE(81)] = 3332, - [SMALL_STATE(82)] = 3357, - [SMALL_STATE(83)] = 3390, - [SMALL_STATE(84)] = 3415, - [SMALL_STATE(85)] = 3448, - [SMALL_STATE(86)] = 3473, - [SMALL_STATE(87)] = 3498, - [SMALL_STATE(88)] = 3525, - [SMALL_STATE(89)] = 3566, - [SMALL_STATE(90)] = 3595, - [SMALL_STATE(91)] = 3628, - [SMALL_STATE(92)] = 3653, - [SMALL_STATE(93)] = 3678, - [SMALL_STATE(94)] = 3703, - [SMALL_STATE(95)] = 3728, - [SMALL_STATE(96)] = 3753, - [SMALL_STATE(97)] = 3795, - [SMALL_STATE(98)] = 3837, - [SMALL_STATE(99)] = 3873, - [SMALL_STATE(100)] = 3915, - [SMALL_STATE(101)] = 3939, - [SMALL_STATE(102)] = 3981, - [SMALL_STATE(103)] = 4018, - [SMALL_STATE(104)] = 4055, - [SMALL_STATE(105)] = 4082, - [SMALL_STATE(106)] = 4119, - [SMALL_STATE(107)] = 4150, - [SMALL_STATE(108)] = 4187, - [SMALL_STATE(109)] = 4224, - [SMALL_STATE(110)] = 4257, - [SMALL_STATE(111)] = 4290, - [SMALL_STATE(112)] = 4327, - [SMALL_STATE(113)] = 4354, - [SMALL_STATE(114)] = 4382, - [SMALL_STATE(115)] = 4418, - [SMALL_STATE(116)] = 4446, - [SMALL_STATE(117)] = 4482, - [SMALL_STATE(118)] = 4503, - [SMALL_STATE(119)] = 4524, - [SMALL_STATE(120)] = 4545, - [SMALL_STATE(121)] = 4566, - [SMALL_STATE(122)] = 4590, - [SMALL_STATE(123)] = 4614, - [SMALL_STATE(124)] = 4642, - [SMALL_STATE(125)] = 4664, - [SMALL_STATE(126)] = 4688, - [SMALL_STATE(127)] = 4707, - [SMALL_STATE(128)] = 4734, - [SMALL_STATE(129)] = 4753, - [SMALL_STATE(130)] = 4772, - [SMALL_STATE(131)] = 4795, - [SMALL_STATE(132)] = 4818, - [SMALL_STATE(133)] = 4835, - [SMALL_STATE(134)] = 4852, - [SMALL_STATE(135)] = 4869, - [SMALL_STATE(136)] = 4896, - [SMALL_STATE(137)] = 4912, - [SMALL_STATE(138)] = 4934, - [SMALL_STATE(139)] = 4950, - [SMALL_STATE(140)] = 4966, - [SMALL_STATE(141)] = 4988, - [SMALL_STATE(142)] = 5004, - [SMALL_STATE(143)] = 5026, - [SMALL_STATE(144)] = 5048, - [SMALL_STATE(145)] = 5064, - [SMALL_STATE(146)] = 5086, - [SMALL_STATE(147)] = 5102, - [SMALL_STATE(148)] = 5124, - [SMALL_STATE(149)] = 5146, - [SMALL_STATE(150)] = 5165, - [SMALL_STATE(151)] = 5190, - [SMALL_STATE(152)] = 5215, - [SMALL_STATE(153)] = 5232, - [SMALL_STATE(154)] = 5249, - [SMALL_STATE(155)] = 5265, - [SMALL_STATE(156)] = 5281, - [SMALL_STATE(157)] = 5297, - [SMALL_STATE(158)] = 5317, - [SMALL_STATE(159)] = 5333, - [SMALL_STATE(160)] = 5355, - [SMALL_STATE(161)] = 5371, - [SMALL_STATE(162)] = 5387, - [SMALL_STATE(163)] = 5403, - [SMALL_STATE(164)] = 5419, - [SMALL_STATE(165)] = 5443, - [SMALL_STATE(166)] = 5459, - [SMALL_STATE(167)] = 5477, - [SMALL_STATE(168)] = 5493, - [SMALL_STATE(169)] = 5509, - [SMALL_STATE(170)] = 5525, - [SMALL_STATE(171)] = 5547, - [SMALL_STATE(172)] = 5563, - [SMALL_STATE(173)] = 5578, - [SMALL_STATE(174)] = 5596, - [SMALL_STATE(175)] = 5614, - [SMALL_STATE(176)] = 5629, - [SMALL_STATE(177)] = 5646, - [SMALL_STATE(178)] = 5663, - [SMALL_STATE(179)] = 5675, - [SMALL_STATE(180)] = 5687, - [SMALL_STATE(181)] = 5699, - [SMALL_STATE(182)] = 5715, - [SMALL_STATE(183)] = 5727, - [SMALL_STATE(184)] = 5739, - [SMALL_STATE(185)] = 5755, - [SMALL_STATE(186)] = 5767, - [SMALL_STATE(187)] = 5779, - [SMALL_STATE(188)] = 5792, - [SMALL_STATE(189)] = 5805, - [SMALL_STATE(190)] = 5818, - [SMALL_STATE(191)] = 5831, - [SMALL_STATE(192)] = 5844, - [SMALL_STATE(193)] = 5857, - [SMALL_STATE(194)] = 5870, - [SMALL_STATE(195)] = 5883, - [SMALL_STATE(196)] = 5896, - [SMALL_STATE(197)] = 5909, - [SMALL_STATE(198)] = 5922, - [SMALL_STATE(199)] = 5935, - [SMALL_STATE(200)] = 5948, - [SMALL_STATE(201)] = 5961, - [SMALL_STATE(202)] = 5972, - [SMALL_STATE(203)] = 5985, - [SMALL_STATE(204)] = 5998, - [SMALL_STATE(205)] = 6011, - [SMALL_STATE(206)] = 6024, - [SMALL_STATE(207)] = 6037, - [SMALL_STATE(208)] = 6048, - [SMALL_STATE(209)] = 6061, - [SMALL_STATE(210)] = 6074, - [SMALL_STATE(211)] = 6087, - [SMALL_STATE(212)] = 6100, - [SMALL_STATE(213)] = 6113, - [SMALL_STATE(214)] = 6126, - [SMALL_STATE(215)] = 6139, - [SMALL_STATE(216)] = 6152, - [SMALL_STATE(217)] = 6163, - [SMALL_STATE(218)] = 6176, - [SMALL_STATE(219)] = 6189, - [SMALL_STATE(220)] = 6202, - [SMALL_STATE(221)] = 6212, - [SMALL_STATE(222)] = 6220, - [SMALL_STATE(223)] = 6228, - [SMALL_STATE(224)] = 6236, - [SMALL_STATE(225)] = 6246, - [SMALL_STATE(226)] = 6256, - [SMALL_STATE(227)] = 6266, - [SMALL_STATE(228)] = 6276, - [SMALL_STATE(229)] = 6284, - [SMALL_STATE(230)] = 6292, - [SMALL_STATE(231)] = 6302, - [SMALL_STATE(232)] = 6310, - [SMALL_STATE(233)] = 6320, - [SMALL_STATE(234)] = 6330, - [SMALL_STATE(235)] = 6340, - [SMALL_STATE(236)] = 6350, - [SMALL_STATE(237)] = 6358, - [SMALL_STATE(238)] = 6366, - [SMALL_STATE(239)] = 6376, - [SMALL_STATE(240)] = 6386, - [SMALL_STATE(241)] = 6394, - [SMALL_STATE(242)] = 6404, - [SMALL_STATE(243)] = 6414, - [SMALL_STATE(244)] = 6424, - [SMALL_STATE(245)] = 6434, - [SMALL_STATE(246)] = 6442, - [SMALL_STATE(247)] = 6452, - [SMALL_STATE(248)] = 6460, - [SMALL_STATE(249)] = 6468, - [SMALL_STATE(250)] = 6478, - [SMALL_STATE(251)] = 6488, - [SMALL_STATE(252)] = 6498, - [SMALL_STATE(253)] = 6505, - [SMALL_STATE(254)] = 6512, - [SMALL_STATE(255)] = 6519, - [SMALL_STATE(256)] = 6526, - [SMALL_STATE(257)] = 6533, - [SMALL_STATE(258)] = 6540, - [SMALL_STATE(259)] = 6547, - [SMALL_STATE(260)] = 6554, - [SMALL_STATE(261)] = 6561, - [SMALL_STATE(262)] = 6568, - [SMALL_STATE(263)] = 6575, - [SMALL_STATE(264)] = 6582, - [SMALL_STATE(265)] = 6589, - [SMALL_STATE(266)] = 6596, - [SMALL_STATE(267)] = 6603, - [SMALL_STATE(268)] = 6610, - [SMALL_STATE(269)] = 6617, - [SMALL_STATE(270)] = 6624, - [SMALL_STATE(271)] = 6631, - [SMALL_STATE(272)] = 6638, - [SMALL_STATE(273)] = 6645, - [SMALL_STATE(274)] = 6652, - [SMALL_STATE(275)] = 6659, - [SMALL_STATE(276)] = 6666, - [SMALL_STATE(277)] = 6673, - [SMALL_STATE(278)] = 6680, - [SMALL_STATE(279)] = 6687, - [SMALL_STATE(280)] = 6694, - [SMALL_STATE(281)] = 6701, - [SMALL_STATE(282)] = 6708, - [SMALL_STATE(283)] = 6715, - [SMALL_STATE(284)] = 6722, - [SMALL_STATE(285)] = 6729, - [SMALL_STATE(286)] = 6736, - [SMALL_STATE(287)] = 6743, - [SMALL_STATE(288)] = 6750, - [SMALL_STATE(289)] = 6757, - [SMALL_STATE(290)] = 6764, - [SMALL_STATE(291)] = 6771, - [SMALL_STATE(292)] = 6778, - [SMALL_STATE(293)] = 6785, - [SMALL_STATE(294)] = 6792, + [SMALL_STATE(3)] = 85, + [SMALL_STATE(4)] = 132, + [SMALL_STATE(5)] = 183, + [SMALL_STATE(6)] = 226, + [SMALL_STATE(7)] = 269, + [SMALL_STATE(8)] = 314, + [SMALL_STATE(9)] = 357, + [SMALL_STATE(10)] = 400, + [SMALL_STATE(11)] = 443, + [SMALL_STATE(12)] = 486, + [SMALL_STATE(13)] = 531, + [SMALL_STATE(14)] = 587, + [SMALL_STATE(15)] = 631, + [SMALL_STATE(16)] = 673, + [SMALL_STATE(17)] = 719, + [SMALL_STATE(18)] = 761, + [SMALL_STATE(19)] = 817, + [SMALL_STATE(20)] = 859, + [SMALL_STATE(21)] = 901, + [SMALL_STATE(22)] = 943, + [SMALL_STATE(23)] = 985, + [SMALL_STATE(24)] = 1027, + [SMALL_STATE(25)] = 1069, + [SMALL_STATE(26)] = 1111, + [SMALL_STATE(27)] = 1153, + [SMALL_STATE(28)] = 1195, + [SMALL_STATE(29)] = 1237, + [SMALL_STATE(30)] = 1291, + [SMALL_STATE(31)] = 1343, + [SMALL_STATE(32)] = 1395, + [SMALL_STATE(33)] = 1447, + [SMALL_STATE(34)] = 1498, + [SMALL_STATE(35)] = 1549, + [SMALL_STATE(36)] = 1600, + [SMALL_STATE(37)] = 1647, + [SMALL_STATE(38)] = 1698, + [SMALL_STATE(39)] = 1749, + [SMALL_STATE(40)] = 1797, + [SMALL_STATE(41)] = 1845, + [SMALL_STATE(42)] = 1893, + [SMALL_STATE(43)] = 1941, + [SMALL_STATE(44)] = 1989, + [SMALL_STATE(45)] = 2037, + [SMALL_STATE(46)] = 2085, + [SMALL_STATE(47)] = 2133, + [SMALL_STATE(48)] = 2181, + [SMALL_STATE(49)] = 2227, + [SMALL_STATE(50)] = 2275, + [SMALL_STATE(51)] = 2323, + [SMALL_STATE(52)] = 2371, + [SMALL_STATE(53)] = 2419, + [SMALL_STATE(54)] = 2467, + [SMALL_STATE(55)] = 2515, + [SMALL_STATE(56)] = 2563, + [SMALL_STATE(57)] = 2611, + [SMALL_STATE(58)] = 2659, + [SMALL_STATE(59)] = 2707, + [SMALL_STATE(60)] = 2755, + [SMALL_STATE(61)] = 2803, + [SMALL_STATE(62)] = 2851, + [SMALL_STATE(63)] = 2885, + [SMALL_STATE(64)] = 2930, + [SMALL_STATE(65)] = 2975, + [SMALL_STATE(66)] = 3001, + [SMALL_STATE(67)] = 3027, + [SMALL_STATE(68)] = 3053, + [SMALL_STATE(69)] = 3079, + [SMALL_STATE(70)] = 3107, + [SMALL_STATE(71)] = 3133, + [SMALL_STATE(72)] = 3179, + [SMALL_STATE(73)] = 3205, + [SMALL_STATE(74)] = 3231, + [SMALL_STATE(75)] = 3257, + [SMALL_STATE(76)] = 3285, + [SMALL_STATE(77)] = 3311, + [SMALL_STATE(78)] = 3337, + [SMALL_STATE(79)] = 3363, + [SMALL_STATE(80)] = 3388, + [SMALL_STATE(81)] = 3425, + [SMALL_STATE(82)] = 3450, + [SMALL_STATE(83)] = 3483, + [SMALL_STATE(84)] = 3508, + [SMALL_STATE(85)] = 3533, + [SMALL_STATE(86)] = 3570, + [SMALL_STATE(87)] = 3595, + [SMALL_STATE(88)] = 3636, + [SMALL_STATE(89)] = 3665, + [SMALL_STATE(90)] = 3690, + [SMALL_STATE(91)] = 3717, + [SMALL_STATE(92)] = 3750, + [SMALL_STATE(93)] = 3783, + [SMALL_STATE(94)] = 3808, + [SMALL_STATE(95)] = 3833, + [SMALL_STATE(96)] = 3858, + [SMALL_STATE(97)] = 3883, + [SMALL_STATE(98)] = 3908, + [SMALL_STATE(99)] = 3933, + [SMALL_STATE(100)] = 3975, + [SMALL_STATE(101)] = 4017, + [SMALL_STATE(102)] = 4059, + [SMALL_STATE(103)] = 4095, + [SMALL_STATE(104)] = 4119, + [SMALL_STATE(105)] = 4161, + [SMALL_STATE(106)] = 4198, + [SMALL_STATE(107)] = 4235, + [SMALL_STATE(108)] = 4262, + [SMALL_STATE(109)] = 4299, + [SMALL_STATE(110)] = 4336, + [SMALL_STATE(111)] = 4367, + [SMALL_STATE(112)] = 4404, + [SMALL_STATE(113)] = 4437, + [SMALL_STATE(114)] = 4470, + [SMALL_STATE(115)] = 4497, + [SMALL_STATE(116)] = 4531, + [SMALL_STATE(117)] = 4559, + [SMALL_STATE(118)] = 4595, + [SMALL_STATE(119)] = 4631, + [SMALL_STATE(120)] = 4659, + [SMALL_STATE(121)] = 4680, + [SMALL_STATE(122)] = 4701, + [SMALL_STATE(123)] = 4722, + [SMALL_STATE(124)] = 4747, + [SMALL_STATE(125)] = 4772, + [SMALL_STATE(126)] = 4793, + [SMALL_STATE(127)] = 4818, + [SMALL_STATE(128)] = 4842, + [SMALL_STATE(129)] = 4862, + [SMALL_STATE(130)] = 4884, + [SMALL_STATE(131)] = 4904, + [SMALL_STATE(132)] = 4932, + [SMALL_STATE(133)] = 4960, + [SMALL_STATE(134)] = 4984, + [SMALL_STATE(135)] = 5001, + [SMALL_STATE(136)] = 5020, + [SMALL_STATE(137)] = 5047, + [SMALL_STATE(138)] = 5064, + [SMALL_STATE(139)] = 5091, + [SMALL_STATE(140)] = 5108, + [SMALL_STATE(141)] = 5131, + [SMALL_STATE(142)] = 5153, + [SMALL_STATE(143)] = 5175, + [SMALL_STATE(144)] = 5197, + [SMALL_STATE(145)] = 5219, + [SMALL_STATE(146)] = 5235, + [SMALL_STATE(147)] = 5251, + [SMALL_STATE(148)] = 5273, + [SMALL_STATE(149)] = 5295, + [SMALL_STATE(150)] = 5311, + [SMALL_STATE(151)] = 5327, + [SMALL_STATE(152)] = 5349, + [SMALL_STATE(153)] = 5365, + [SMALL_STATE(154)] = 5387, + [SMALL_STATE(155)] = 5409, + [SMALL_STATE(156)] = 5425, + [SMALL_STATE(157)] = 5442, + [SMALL_STATE(158)] = 5467, + [SMALL_STATE(159)] = 5486, + [SMALL_STATE(160)] = 5511, + [SMALL_STATE(161)] = 5528, + [SMALL_STATE(162)] = 5544, + [SMALL_STATE(163)] = 5560, + [SMALL_STATE(164)] = 5578, + [SMALL_STATE(165)] = 5594, + [SMALL_STATE(166)] = 5610, + [SMALL_STATE(167)] = 5632, + [SMALL_STATE(168)] = 5648, + [SMALL_STATE(169)] = 5664, + [SMALL_STATE(170)] = 5684, + [SMALL_STATE(171)] = 5700, + [SMALL_STATE(172)] = 5722, + [SMALL_STATE(173)] = 5746, + [SMALL_STATE(174)] = 5762, + [SMALL_STATE(175)] = 5778, + [SMALL_STATE(176)] = 5794, + [SMALL_STATE(177)] = 5810, + [SMALL_STATE(178)] = 5826, + [SMALL_STATE(179)] = 5842, + [SMALL_STATE(180)] = 5858, + [SMALL_STATE(181)] = 5873, + [SMALL_STATE(182)] = 5891, + [SMALL_STATE(183)] = 5909, + [SMALL_STATE(184)] = 5924, + [SMALL_STATE(185)] = 5941, + [SMALL_STATE(186)] = 5958, + [SMALL_STATE(187)] = 5970, + [SMALL_STATE(188)] = 5986, + [SMALL_STATE(189)] = 5998, + [SMALL_STATE(190)] = 6010, + [SMALL_STATE(191)] = 6022, + [SMALL_STATE(192)] = 6034, + [SMALL_STATE(193)] = 6050, + [SMALL_STATE(194)] = 6062, + [SMALL_STATE(195)] = 6074, + [SMALL_STATE(196)] = 6087, + [SMALL_STATE(197)] = 6100, + [SMALL_STATE(198)] = 6113, + [SMALL_STATE(199)] = 6126, + [SMALL_STATE(200)] = 6139, + [SMALL_STATE(201)] = 6152, + [SMALL_STATE(202)] = 6165, + [SMALL_STATE(203)] = 6178, + [SMALL_STATE(204)] = 6191, + [SMALL_STATE(205)] = 6204, + [SMALL_STATE(206)] = 6217, + [SMALL_STATE(207)] = 6230, + [SMALL_STATE(208)] = 6243, + [SMALL_STATE(209)] = 6254, + [SMALL_STATE(210)] = 6267, + [SMALL_STATE(211)] = 6280, + [SMALL_STATE(212)] = 6293, + [SMALL_STATE(213)] = 6306, + [SMALL_STATE(214)] = 6319, + [SMALL_STATE(215)] = 6332, + [SMALL_STATE(216)] = 6345, + [SMALL_STATE(217)] = 6358, + [SMALL_STATE(218)] = 6371, + [SMALL_STATE(219)] = 6384, + [SMALL_STATE(220)] = 6397, + [SMALL_STATE(221)] = 6410, + [SMALL_STATE(222)] = 6423, + [SMALL_STATE(223)] = 6434, + [SMALL_STATE(224)] = 6447, + [SMALL_STATE(225)] = 6458, + [SMALL_STATE(226)] = 6471, + [SMALL_STATE(227)] = 6484, + [SMALL_STATE(228)] = 6494, + [SMALL_STATE(229)] = 6502, + [SMALL_STATE(230)] = 6510, + [SMALL_STATE(231)] = 6520, + [SMALL_STATE(232)] = 6528, + [SMALL_STATE(233)] = 6536, + [SMALL_STATE(234)] = 6544, + [SMALL_STATE(235)] = 6554, + [SMALL_STATE(236)] = 6564, + [SMALL_STATE(237)] = 6572, + [SMALL_STATE(238)] = 6582, + [SMALL_STATE(239)] = 6590, + [SMALL_STATE(240)] = 6600, + [SMALL_STATE(241)] = 6610, + [SMALL_STATE(242)] = 6620, + [SMALL_STATE(243)] = 6630, + [SMALL_STATE(244)] = 6640, + [SMALL_STATE(245)] = 6648, + [SMALL_STATE(246)] = 6658, + [SMALL_STATE(247)] = 6668, + [SMALL_STATE(248)] = 6678, + [SMALL_STATE(249)] = 6688, + [SMALL_STATE(250)] = 6698, + [SMALL_STATE(251)] = 6706, + [SMALL_STATE(252)] = 6716, + [SMALL_STATE(253)] = 6726, + [SMALL_STATE(254)] = 6736, + [SMALL_STATE(255)] = 6744, + [SMALL_STATE(256)] = 6752, + [SMALL_STATE(257)] = 6762, + [SMALL_STATE(258)] = 6770, + [SMALL_STATE(259)] = 6780, + [SMALL_STATE(260)] = 6787, + [SMALL_STATE(261)] = 6794, + [SMALL_STATE(262)] = 6801, + [SMALL_STATE(263)] = 6808, + [SMALL_STATE(264)] = 6815, + [SMALL_STATE(265)] = 6822, + [SMALL_STATE(266)] = 6829, + [SMALL_STATE(267)] = 6836, + [SMALL_STATE(268)] = 6843, + [SMALL_STATE(269)] = 6850, + [SMALL_STATE(270)] = 6857, + [SMALL_STATE(271)] = 6864, + [SMALL_STATE(272)] = 6871, + [SMALL_STATE(273)] = 6878, + [SMALL_STATE(274)] = 6885, + [SMALL_STATE(275)] = 6892, + [SMALL_STATE(276)] = 6899, + [SMALL_STATE(277)] = 6906, + [SMALL_STATE(278)] = 6913, + [SMALL_STATE(279)] = 6920, + [SMALL_STATE(280)] = 6927, + [SMALL_STATE(281)] = 6934, + [SMALL_STATE(282)] = 6941, + [SMALL_STATE(283)] = 6948, + [SMALL_STATE(284)] = 6955, + [SMALL_STATE(285)] = 6962, + [SMALL_STATE(286)] = 6969, + [SMALL_STATE(287)] = 6976, + [SMALL_STATE(288)] = 6983, + [SMALL_STATE(289)] = 6990, + [SMALL_STATE(290)] = 6997, + [SMALL_STATE(291)] = 7004, + [SMALL_STATE(292)] = 7011, + [SMALL_STATE(293)] = 7018, + [SMALL_STATE(294)] = 7025, + [SMALL_STATE(295)] = 7032, + [SMALL_STATE(296)] = 7039, + [SMALL_STATE(297)] = 7046, + [SMALL_STATE(298)] = 7053, + [SMALL_STATE(299)] = 7060, + [SMALL_STATE(300)] = 7067, + [SMALL_STATE(301)] = 7074, }; static const TSParseActionEntry ts_parse_actions[] = { @@ -9622,384 +9960,392 @@ static const TSParseActionEntry ts_parse_actions[] = { [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(), [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(190), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [19] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3, .production_id = 3), - [21] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 3, .production_id = 3), - [23] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 1), - [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [27] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 1), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23), - [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24), - [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), - [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), - [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4), - [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272), - [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), - [47] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression, 1), - [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [51] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression, 1), - [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, .production_id = 6), - [59] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, .production_id = 6), - [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_cast, 3), - [63] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_cast, 3), - [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), - [67] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parenthesized_expression, 3), - [69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__parenthesized_expression, 3), - [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 5, .production_id = 11), - [73] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 5, .production_id = 11), - [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, .production_id = 2), - [77] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, .production_id = 2), - [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__type_alias, 1, .production_id = 1), - [81] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__type_alias, 1, .production_id = 1), - [83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_type, 3), - [85] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_type, 3), - [87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comparison_operator, 3, .production_id = 4), - [89] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comparison_operator, 3, .production_id = 4), - [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), - [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean_expression, 3), - [97] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean_expression, 3), - [99] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple, 3, .production_id = 12), - [101] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tuple, 3, .production_id = 12), - [103] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_distinct_from, 2), - [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_distinct_from, 2), - [109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), - [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), - [113] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), - [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_is_expression, 4), - [119] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_is_expression, 4), - [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_in_expression, 4, .production_id = 7), - [123] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_in_expression, 4, .production_id = 7), - [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_access, 3), - [127] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field_access, 3), - [129] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple, 4, .production_id = 18), - [131] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tuple, 4, .production_id = 18), - [133] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_in_expression, 3), - [135] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_in_expression, 3), - [137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_is_expression, 3), - [139] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_is_expression, 3), - [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_NULL, 1), - [143] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_NULL, 1), - [145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_TRUE, 1), - [147] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_TRUE, 1), - [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FALSE, 1), - [151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_FALSE, 1), - [153] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3), - [155] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3), - [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_check_constraint, 2), - [159] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_check_constraint, 2), - [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), - [163] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__aliasable_expression, 1), - [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), - [167] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__aliasable_expression, 1), - [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), - [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [173] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), - [175] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), - [177] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92), - [179] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), - [181] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), - [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), - [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), - [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_where_clause, 2), - [191] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_where_clause, 2), - [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), - [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), - [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_column_parameter, 2, .production_id = 5), - [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), - [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), - [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [209] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246), - [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), - [215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), - [219] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(258), - [222] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(164), - [225] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(47), - [228] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(134), - [231] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(146), - [234] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(246), - [237] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(259), - [240] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(23), - [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_column_parameter, 3, .production_id = 5), - [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), - [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), - [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), - [255] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), - [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), - [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_null_constraint, 1), - [269] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_null_constraint, 1), - [271] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_null_constraint, 2, .production_id = 9), - [273] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_null_constraint, 2, .production_id = 9), - [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), - [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_function_statement_repeat1, 2), - [279] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_function_statement_repeat1, 2), SHIFT_REPEAT(119), - [282] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_function_statement_repeat1, 2), SHIFT_REPEAT(286), - [285] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_function_statement_repeat1, 2), SHIFT_REPEAT(187), - [288] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_create_function_statement_repeat1, 2), - [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 6), - [292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), - [296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), - [298] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_function_statement, 6), - [300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_index_table_parameters_repeat1, 2), - [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 5), - [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_function_statement, 5), - [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_domain_statement, 4), - [314] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_domain_statement, 4), - [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), - [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_constrained_type, 2), - [320] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_constrained_type, 2), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(216), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [19] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 1), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [23] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 1), + [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(22), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23), + [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), + [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3, .production_id = 3), + [47] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 3, .production_id = 3), + [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression, 1), + [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [53] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression, 1), + [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 5, .production_id = 11), + [61] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 5, .production_id = 11), + [63] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parenthesized_expression, 3), + [65] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__parenthesized_expression, 3), + [67] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, .production_id = 2), + [69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, .production_id = 2), + [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, .production_id = 6), + [73] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, .production_id = 6), + [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__type_alias, 1, .production_id = 1), + [77] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__type_alias, 1, .production_id = 1), + [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_type, 3), + [81] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_type, 3), + [83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_cast, 3), + [85] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_cast, 3), + [87] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), + [89] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_distinct_from, 2), + [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [93] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_distinct_from, 2), + [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), + [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), + [99] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), + [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [103] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [107] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean_expression, 3), + [109] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean_expression, 3), + [111] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple, 3, .production_id = 12), + [113] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tuple, 3, .production_id = 12), + [115] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comparison_operator, 3, .production_id = 4), + [117] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comparison_operator, 3, .production_id = 4), + [119] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_in_expression, 3), + [121] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_in_expression, 3), + [123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3), + [125] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3), + [127] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_is_expression, 3), + [129] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_is_expression, 3), + [131] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_NULL, 1), + [133] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_NULL, 1), + [135] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_TRUE, 1), + [137] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_TRUE, 1), + [139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FALSE, 1), + [141] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_FALSE, 1), + [143] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_access, 3), + [145] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field_access, 3), + [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple, 4, .production_id = 18), + [149] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tuple, 4, .production_id = 18), + [151] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_is_expression, 4), + [153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_is_expression, 4), + [155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_in_expression, 4, .production_id = 7), + [157] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_in_expression, 4, .production_id = 7), + [159] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_check_constraint, 2), + [161] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_check_constraint, 2), + [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [165] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__aliasable_expression, 1), + [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), + [169] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__aliasable_expression, 1), + [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [173] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), + [175] = {.entry = {.count = 1, .reusable = false}}, SHIFT(96), + [177] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [179] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), + [181] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), + [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), + [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), + [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_group_by_clause, 2), + [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [193] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_group_by_clause, 2), + [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_group_by_clause_repeat1, 2), + [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_group_by_clause_repeat1, 2), + [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_where_clause, 2), + [203] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_where_clause, 2), + [205] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_column_parameter, 2, .production_id = 5), + [207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [209] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), + [215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), + [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), + [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), + [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), + [227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_column_parameter, 3, .production_id = 5), + [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), + [233] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(289), + [236] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(172), + [239] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(41), + [242] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(137), + [245] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(152), + [248] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(256), + [251] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(271), + [254] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_column_parameter_repeat1, 2), SHIFT_REPEAT(20), + [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), + [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), + [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), + [269] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46), + [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_null_constraint, 2, .production_id = 9), + [283] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_null_constraint, 2, .production_id = 9), + [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_null_constraint, 1), + [287] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_null_constraint, 1), + [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 5), + [291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), + [295] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), + [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_function_statement, 5), + [299] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_index_table_parameters_repeat1, 2), + [301] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_function_statement_repeat1, 2), + [303] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_function_statement_repeat1, 2), SHIFT_REPEAT(121), + [306] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_function_statement_repeat1, 2), SHIFT_REPEAT(291), + [309] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_function_statement_repeat1, 2), SHIFT_REPEAT(220), + [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_create_function_statement_repeat1, 2), + [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 6), + [316] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_function_statement, 6), + [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), - [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), - [326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameter, 4, .production_id = 13), - [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setof, 2), - [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [332] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setof, 2), - [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), - [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameter, 3, .production_id = 8), - [338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), - [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 2), - [342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), - [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_check, 2), - [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), - [350] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(282), - [353] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(294), - [356] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(290), - [359] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(190), - [362] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(283), - [365] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(3), - [368] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_domain_statement_repeat1, 2), - [370] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_create_domain_statement_repeat1, 2), - [372] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_domain_statement_repeat1, 2), SHIFT_REPEAT(47), - [375] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_domain_statement_repeat1, 2), SHIFT_REPEAT(246), - [378] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_domain_statement_repeat1, 2), SHIFT_REPEAT(23), - [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_domain_statement, 5), - [383] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_domain_statement, 5), - [385] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_tuple_repeat1, 2), - [387] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__create_function_return_type, 1), - [389] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__create_function_return_type, 1), - [391] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 5), - [393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [395] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 6), - [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [399] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 2, .production_id = 15), - [401] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 2, .production_id = 15), - [403] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_optimizer_hint, 1), - [405] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_optimizer_hint, 1), - [407] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_language, 2, .production_id = 14), - [409] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_language, 2, .production_id = 14), - [411] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_clause, 1), - [413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [415] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_clause, 1), - [417] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_clause, 2), - [419] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_clause, 2), - [421] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 2), - [423] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 2), - [425] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [429] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_default, 2), - [431] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_clause_repeat1, 2), - [433] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_clause_repeat1, 2), SHIFT_REPEAT(31), - [436] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_select_clause_repeat1, 2), - [438] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), - [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), - [442] = {.entry = {.count = 1, .reusable = false}}, SHIFT(254), - [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273), - [446] = {.entry = {.count = 1, .reusable = false}}, SHIFT(185), - [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__aliased_expression, 3), - [450] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__aliased_expression, 3), - [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 3), - [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 3), - [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 2), - [458] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 2), - [460] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_on_delete_action, 2, .production_id = 20), - [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_on_update_action, 2, .production_id = 20), - [464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unique_constraint, 1), - [466] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 8), - [468] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 3), - [470] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 3), - [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 7), - [474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_named_constraint, 2), - [476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 7, .production_id = 17), - [478] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 7, .production_id = 17), - [480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 7, .production_id = 10), - [482] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 7, .production_id = 10), - [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 4), - [486] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69), - [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primary_key_constraint, 1), - [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 8, .production_id = 17), - [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 8, .production_id = 17), - [494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 6, .production_id = 10), - [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 6, .production_id = 10), - [498] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_domain_statement, 2), - [500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), - [502] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_domain_statement, 2), - [504] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), - [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), - [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [522] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_table_parameters, 3), - [524] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_table_parameters, 3), - [526] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_table_parameters, 4), - [528] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_table_parameters, 4), - [530] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_type_statement, 4), - [532] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_type_statement, 4), - [534] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175), - [536] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 4), - [538] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 4), - [540] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_parameters, 3), - [542] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_table_parameters, 3), - [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 8, .production_id = 10), - [546] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 8, .production_id = 10), - [548] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 9, .production_id = 17), - [550] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 9, .production_id = 17), - [552] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), - [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_statement, 3), - [556] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_table_statement, 3), - [558] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__statement, 1), - [560] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), - [562] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__statement, 1), - [564] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_parameters, 4), - [566] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_table_parameters, 4), - [568] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 4), - [570] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parameters, 4), - [572] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 3), - [574] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parameters, 3), - [576] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__statement, 2), - [578] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__statement, 2), - [580] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), - [582] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [584] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [586] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameter, 2), - [588] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [590] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameter, 1), - [592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [594] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [596] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [598] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), - [600] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), - [602] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288), - [606] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), - [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), - [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), - [612] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [614] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), - [616] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), - [618] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), - [620] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_parameters_repeat1, 2), SHIFT_REPEAT(127), - [623] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_table_parameters_repeat1, 2), - [625] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2), SHIFT_REPEAT(230), - [628] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2), - [630] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_tuple_repeat1, 2), SHIFT_REPEAT(50), - [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), - [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), - [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [647] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), - [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), - [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), - [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), - [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), - [659] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_function_parameters_repeat1, 2), SHIFT_REPEAT(173), - [662] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_function_parameters_repeat1, 2), - [664] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_constraint_foreign_key_repeat1, 2), SHIFT_REPEAT(288), - [667] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_constraint_foreign_key_repeat1, 2), - [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), - [671] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 2), - [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), - [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), - [677] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_index_table_parameters_repeat1, 2), SHIFT_REPEAT(36), - [680] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ordered_expression, 2, .production_id = 19), - [682] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_unique, 5), - [684] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_primary_key, 5), - [686] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_unique, 4), - [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [690] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_foreign_key, 6), - [692] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [694] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_primary_key, 4), - [696] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), - [698] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), - [700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), - [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [704] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_foreign_key, 5), - [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), - [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218), - [710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), - [712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), - [714] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), - [716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), - [718] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [720] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [722] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameters, 3), - [724] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [726] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), - [728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [732] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_using_clause, 2, .production_id = 16), - [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), - [736] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), - [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), - [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), - [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), - [744] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), - [746] = {.entry = {.count = 1, .reusable = false}}, SHIFT(265), - [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278), - [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), - [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268), - [754] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243), - [756] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), - [758] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), - [760] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [764] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), - [766] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), - [768] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameters, 4), - [770] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [772] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [774] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), - [776] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), - [778] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [780] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), - [782] = {.entry = {.count = 1, .reusable = false}}, SHIFT(280), - [784] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), - [786] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), - [788] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), + [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_domain_statement, 4), + [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_domain_statement, 4), + [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_constrained_type, 2), + [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_constrained_type, 2), + [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [334] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameter, 3, .production_id = 8), + [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameter, 4, .production_id = 13), + [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setof, 2), + [340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [342] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setof, 2), + [344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), + [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), + [348] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(264), + [351] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(301), + [354] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(297), + [357] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(216), + [360] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(290), + [363] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(2), + [366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_check, 2), + [368] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), + [370] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 2), + [372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [376] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), + [378] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_domain_statement, 5), + [380] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_domain_statement, 5), + [382] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_domain_statement_repeat1, 2), + [384] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_create_domain_statement_repeat1, 2), + [386] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_domain_statement_repeat1, 2), SHIFT_REPEAT(41), + [389] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_domain_statement_repeat1, 2), SHIFT_REPEAT(256), + [392] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_domain_statement_repeat1, 2), SHIFT_REPEAT(20), + [395] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__create_function_return_type, 1), + [397] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__create_function_return_type, 1), + [399] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 2), + [401] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 2), + [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [407] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 5), + [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [413] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 6), + [415] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_language, 2, .production_id = 14), + [417] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_language, 2, .production_id = 14), + [419] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_optimizer_hint, 1), + [421] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_optimizer_hint, 1), + [423] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_clause_repeat1, 2), + [425] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_clause_repeat1, 2), SHIFT_REPEAT(31), + [428] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_select_clause_repeat1, 2), + [430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_clause, 1), + [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [434] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_clause, 1), + [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 2, .production_id = 15), + [438] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 2, .production_id = 15), + [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_clause, 2), + [442] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_clause, 2), + [444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 3), + [446] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 3), + [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_default, 2), + [450] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__aliased_expression, 3), + [452] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__aliased_expression, 3), + [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 3), + [456] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 3), + [458] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 2), + [460] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 2), + [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_on_delete_action, 2, .production_id = 20), + [464] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), + [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), + [468] = {.entry = {.count = 1, .reusable = false}}, SHIFT(278), + [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), + [472] = {.entry = {.count = 1, .reusable = false}}, SHIFT(190), + [474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unique_constraint, 1), + [476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_on_update_action, 2, .production_id = 20), + [478] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_group_by_clause_repeat1, 2), SHIFT_REPEAT(45), + [481] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 7, .production_id = 10), + [483] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 7, .production_id = 10), + [485] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 6, .production_id = 10), + [487] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 6, .production_id = 10), + [489] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 4), + [491] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 8), + [493] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 4), + [495] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 4), + [497] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 7, .production_id = 17), + [499] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 7, .production_id = 17), + [501] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_named_constraint, 2), + [503] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 8, .production_id = 17), + [505] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 8, .production_id = 17), + [507] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primary_key_constraint, 1), + [509] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), + [511] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_group_by_clause, 3), + [513] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_group_by_clause, 3), + [515] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_references_constraint, 7), + [517] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_table_parameters, 4), + [519] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_table_parameters, 4), + [521] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [525] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [529] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_domain_statement, 2), + [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [533] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_domain_statement, 2), + [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), + [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_table_parameters, 3), + [547] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_table_parameters, 3), + [549] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_type_statement, 4), + [551] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_type_statement, 4), + [553] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__statement, 1), + [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [557] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__statement, 1), + [559] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 3), + [561] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parameters, 3), + [563] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_statement, 3), + [565] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_table_statement, 3), + [567] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), + [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [571] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 9, .production_id = 17), + [573] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 9, .production_id = 17), + [575] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 4), + [577] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parameters, 4), + [579] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_parameters, 3), + [581] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_table_parameters, 3), + [583] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_parameters, 4), + [585] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_table_parameters, 4), + [587] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 5), + [589] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 5), + [591] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 8, .production_id = 10), + [593] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_create_index_statement, 8, .production_id = 10), + [595] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__statement, 2), + [597] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__statement, 2), + [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [605] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameter, 1), + [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [609] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameter, 2), + [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), + [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), + [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [627] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_function_parameters_repeat1, 2), SHIFT_REPEAT(181), + [630] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_function_parameters_repeat1, 2), + [632] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2), SHIFT_REPEAT(237), + [635] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2), + [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), + [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), + [647] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), + [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), + [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), + [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), + [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [665] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_parameters_repeat1, 2), SHIFT_REPEAT(138), + [668] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_table_parameters_repeat1, 2), + [670] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), + [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), + [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), + [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), + [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [682] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_constraint_foreign_key_repeat1, 2), SHIFT_REPEAT(283), + [685] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_constraint_foreign_key_repeat1, 2), + [687] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 2), + [689] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_index_table_parameters_repeat1, 2), SHIFT_REPEAT(38), + [692] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [696] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [698] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_foreign_key, 5), + [700] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_unique, 5), + [702] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_primary_key, 5), + [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [706] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_foreign_key, 6), + [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), + [712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [714] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), + [716] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ordered_expression, 2, .production_id = 19), + [718] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_unique, 4), + [720] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_primary_key, 4), + [722] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [724] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), + [726] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), + [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218), + [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), + [736] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273), + [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270), + [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), + [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), + [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), + [754] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), + [756] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), + [758] = {.entry = {.count = 1, .reusable = false}}, SHIFT(259), + [760] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), + [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268), + [764] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240), + [766] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), + [768] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [770] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), + [772] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [774] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [776] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameters, 4), + [778] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [780] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), + [782] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), + [784] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [786] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [788] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_using_clause, 2, .production_id = 16), + [790] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [792] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_parameters, 3), + [794] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [796] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), + [798] = {.entry = {.count = 1, .reusable = false}}, SHIFT(287), + [800] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288), + [802] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), + [804] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), }; #ifdef __cplusplus diff --git a/test/corpus/statements.txt b/test/corpus/statements.txt index c89153fa6..d608229e3 100644 --- a/test/corpus/statements.txt +++ b/test/corpus/statements.txt @@ -47,6 +47,22 @@ SELECT a, b AS c FROM table1 AS t; (select_clause (identifier) (alias (identifier) (identifier))) (from_clause (alias (identifier) (identifier))))) +================ +SELECT statement with group by +================ + +SELECT a, b +FROM table1 +GROUP BY lower(a), b; + +--- + +(source_file + (select_statement + (select_clause (identifier) (identifier)) + (from_clause (identifier)) + (group_by_clause (function_call (identifier) (identifier)) (identifier)))) + ================ SELECT statement FROM multiple tables ================