From 6303f6c3d86f89f54a49f20868905379d171b099 Mon Sep 17 00:00:00 2001 From: Christian De la Hoz Date: Sat, 28 Aug 2021 12:46:32 +0200 Subject: [PATCH] getting into shape --- Makefile | 3 +- corpus/alter_table_statement.txt | 353 + corpus/create_function/body.txt | 16 - corpus/create_function/errors.txt | 78 + corpus/create_function/general.txt | 88 +- corpus/create_function/parameters.txt | 129 +- corpus/create_index_statement.txt | 93 + corpus/create_schema_statement.txt | 77 + corpus/create_sequence_statement.txt | 235 + corpus/create_table_statement.txt | 293 + corpus/create_trigger_statement.txt | 184 + corpus/delete_statement.txt | 104 + corpus/execute_statement.txt | 106 + corpus/grant_statement.txt | 177 + corpus/insert_statement/insert.txt | 160 + corpus/insert_statement/on_conflict.txt | 169 + corpus/plpgsql/block.txt | 190 + corpus/plpgsql/return_statement.txt | 39 + corpus/select_statement/from.txt | 179 + corpus/select_statement/join.txt | 311 + corpus/select_statement/select.txt | 243 + corpus/select_statement/value_expression.txt | 216 + corpus/with_statement.txt | 152 + grammar.js | 677 +- src/grammar.json | 6619 ++- src/node-types.json | 3599 +- src/parser.c | 37223 ++++++++++++++++- 27 files changed, 50673 insertions(+), 1040 deletions(-) create mode 100644 corpus/alter_table_statement.txt delete mode 100644 corpus/create_function/body.txt create mode 100644 corpus/create_function/errors.txt create mode 100644 corpus/create_index_statement.txt create mode 100644 corpus/create_schema_statement.txt create mode 100644 corpus/create_sequence_statement.txt create mode 100644 corpus/create_table_statement.txt create mode 100644 corpus/create_trigger_statement.txt create mode 100644 corpus/delete_statement.txt create mode 100644 corpus/execute_statement.txt create mode 100644 corpus/grant_statement.txt create mode 100644 corpus/insert_statement/insert.txt create mode 100644 corpus/insert_statement/on_conflict.txt create mode 100644 corpus/plpgsql/block.txt create mode 100644 corpus/plpgsql/return_statement.txt create mode 100644 corpus/select_statement/from.txt create mode 100644 corpus/select_statement/join.txt create mode 100644 corpus/select_statement/select.txt create mode 100644 corpus/select_statement/value_expression.txt create mode 100644 corpus/with_statement.txt diff --git a/Makefile b/Makefile index 8ea07ae..5eb642c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.DEFAULT_GOAL := test +.DEFAULT_GOAL := build .PHONY: build test bless build: @@ -7,7 +7,6 @@ build: test: @$(MAKE) --no-print-directory build tree-sitter test - # watchexec --clear dune test bless: @$(MAKE) --no-print-directory build diff --git a/corpus/alter_table_statement.txt b/corpus/alter_table_statement.txt new file mode 100644 index 0000000..ab9a56c --- /dev/null +++ b/corpus/alter_table_statement.txt @@ -0,0 +1,353 @@ +================================================================================ +add column +================================================================================ +alter table foo add bar text; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (table_column_item + (identifier) + (identifier)))))) + +================================================================================ +if exists +================================================================================ +alter table if exists foo add bar text; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (if_exists) + (identifier) + (alter_table_change + (alter_table_action + (table_column_item + (identifier) + (identifier)))))) + +================================================================================ +add column if not exists +================================================================================ +alter table foo add column if not exists bar text; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (if_not_exists) + (table_column_item + (identifier) + (identifier)))))) + +================================================================================ +drop column +================================================================================ +alter table foo drop column bar; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier))))) + +================================================================================ +drop column cascade +================================================================================ +alter table foo drop column bar cascade; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_table_fk_ref_action))))) + +================================================================================ +drop column restrict +================================================================================ +alter table foo drop column bar restrict; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_table_fk_ref_action))))) + +================================================================================ +drop column if exists +================================================================================ +alter table foo drop column if exists bar restrict; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (if_exists) + (identifier) + (alter_table_fk_ref_action))))) + +================================================================================ +set column default +================================================================================ +alter table foo alter bar set default 4; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_column_action + (number)))))) + +================================================================================ +drop column default +================================================================================ +alter table foo alter bar drop default; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_column_action))))) + +================================================================================ +alter column type +================================================================================ +alter table foo alter bar type text; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_column_action + (alter_column_type + (identifier))))))) + +================================================================================ +alter column type(1) +================================================================================ +alter table foo alter bar set data type text; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_column_action + (alter_column_type + (identifier))))))) + +================================================================================ +alter column type(2) +================================================================================ +alter table foo alter column bar set data type timestamptz using created at time zone 'utc'; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_column_action + (alter_column_type + (identifier) + (time_expression + (identifier) + (string)))))))) + +================================================================================ +column set not null +================================================================================ +alter table foo alter bar set not null; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_column_action))))) + +================================================================================ +column drop not null +================================================================================ +alter table foo alter bar drop not null; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_column_action))))) + +================================================================================ +column add constraint +================================================================================ +alter table foo add constraint u_bar unique(bar); +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (table_constraint + (identifier) + (table_constraint_ty + (identifier))))))) + +================================================================================ +column drop constraint +================================================================================ +alter table foo drop constraint u_bar; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier))))) + +================================================================================ +column drop constraint cascade +================================================================================ +alter table foo drop constraint u_bar cascade; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_table_fk_ref_action))))) + +================================================================================ +column drop constraint restrict +================================================================================ +alter table foo drop constraint u_bar restrict; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier) + (alter_table_fk_ref_action))))) + +================================================================================ +column drop constraint if exists +================================================================================ +alter table foo drop constraint if exists u_bar restrict; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (if_exists) + (identifier) + (alter_table_fk_ref_action))))) + +================================================================================ +many changes in columns +================================================================================ +alter table foo drop constraint foo, add unique(foo); +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_action + (identifier)) + (alter_table_action + (table_constraint + (table_constraint_ty + (identifier))))))) + +================================================================================ +rename column +================================================================================ +alter table foo rename column foo to bar; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_rename_column + (identifier) + (identifier))))) + +================================================================================ +rename constraint +================================================================================ +alter table foo rename constraint foo to foo.bar; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_rename_constraint + (identifier) + (identifier))))) + +================================================================================ +rename table +================================================================================ +alter table foo rename to foo.bar; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_rename_table + (identifier))))) + +================================================================================ +change schema +================================================================================ +alter table foo set schema bar; +-------------------------------------------------------------------------------- + +(source_file + (alter_table_statement + (identifier) + (alter_table_change + (alter_table_change_schema + (identifier))))) diff --git a/corpus/create_function/body.txt b/corpus/create_function/body.txt deleted file mode 100644 index b5a4663..0000000 --- a/corpus/create_function/body.txt +++ /dev/null @@ -1,16 +0,0 @@ -================================================================================ -Empty # todo: body as string, body with code -================================================================================ -CREATE FUNCTION FOO () RETURNS BAZ AS $$ $$ LANGUAGE sql; --------------------------------------------------------------------------------- - -(source_file - (create_function_statement - (function_signature - (identifier) - (function_parameters)) - (identifier) - (block - (dollar_quote) - (dollar_quote)) - (identifier))) diff --git a/corpus/create_function/errors.txt b/corpus/create_function/errors.txt new file mode 100644 index 0000000..47e8346 --- /dev/null +++ b/corpus/create_function/errors.txt @@ -0,0 +1,78 @@ +================================================================================ +wrong - trailing comma (1) +================================================================================ +CREATE FUNCTION FOO (foo bar,) RETURNS void AS 'select' LANGUAGE sql; +-------------------------------------------------------------------------------- + +(source_file + (create_function_statement + (function_signature + (identifier) + (function_parameters + (var_declaration + (identifier) + (identifier)) + (ERROR))) + (function_return + (identifier)) + (string) + (identifier))) + +================================================================================ +wrong - trailing comma (2) +================================================================================ +CREATE FUNCTION FOO (foo bar, foo bar,) RETURNS void AS 'select' LANGUAGE sql; +-------------------------------------------------------------------------------- + +(source_file + (create_function_statement + (function_signature + (identifier) + (function_parameters + (var_declaration + (identifier) + (identifier)) + (var_declaration + (identifier) + (identifier)) + (ERROR))) + (function_return + (identifier)) + (string) + (identifier))) + +================================================================================ +wrong - missing type +================================================================================ +CREATE FUNCTION FOO (foo,) RETURNS void AS 'select' LANGUAGE sql; +-------------------------------------------------------------------------------- + +(source_file + (create_function_statement + (function_signature + (identifier) + (function_parameters + (ERROR + (identifier)))) + (function_return + (identifier)) + (string) + (identifier))) + +================================================================================ +wrong - many volatilities +================================================================================ +CREATE FUNCTION FOO () RETURNS void AS 'select' LANGUAGE sql STABLE VOLATILE; +-------------------------------------------------------------------------------- + +(source_file + (create_function_statement + (function_signature + (identifier) + (function_parameters)) + (function_return + (identifier)) + (string) + (identifier) + (function_volatility)) + (ERROR)) diff --git a/corpus/create_function/general.txt b/corpus/create_function/general.txt index f8b6d74..fdca2b4 100644 --- a/corpus/create_function/general.txt +++ b/corpus/create_function/general.txt @@ -1,7 +1,26 @@ +================================================================================ +body block +================================================================================ +CREATE FUNCTION FOO () RETURNS void AS $$ BEGIN END $$ LANGUAGE sql; +-------------------------------------------------------------------------------- + +(source_file + (create_function_statement + (function_signature + (identifier) + (function_parameters)) + (function_return + (identifier)) + (block + (dollar_quote) + (body) + (dollar_quote)) + (identifier))) + ================================================================================ or replace ================================================================================ -CREATE OR REPLACE FUNCTION FOO () AS $$ $$ LANGUAGE sql; +CREATE OR REPLACE FUNCTION FOO () RETURNS void AS 'select' LANGUAGE sql; -------------------------------------------------------------------------------- (source_file @@ -10,15 +29,15 @@ CREATE OR REPLACE FUNCTION FOO () AS $$ $$ LANGUAGE sql; (function_signature (identifier) (function_parameters)) - (block - (dollar_quote) - (dollar_quote)) + (function_return + (identifier)) + (string) (identifier))) ================================================================================ immutable ================================================================================ -CREATE FUNCTION FOO () AS $$ $$ LANGUAGE sql IMMUTABLE; +CREATE FUNCTION FOO () RETURNS void AS 'select' LANGUAGE sql IMMUTABLE; -------------------------------------------------------------------------------- (source_file @@ -26,16 +45,16 @@ CREATE FUNCTION FOO () AS $$ $$ LANGUAGE sql IMMUTABLE; (function_signature (identifier) (function_parameters)) - (block - (dollar_quote) - (dollar_quote)) + (function_return + (identifier)) + (string) (identifier) (function_volatility))) ================================================================================ stable ================================================================================ -CREATE FUNCTION FOO () AS $$ $$ LANGUAGE sql STABLE; +CREATE FUNCTION FOO () RETURNS void AS 'select' LANGUAGE sql STABLE; -------------------------------------------------------------------------------- (source_file @@ -43,16 +62,16 @@ CREATE FUNCTION FOO () AS $$ $$ LANGUAGE sql STABLE; (function_signature (identifier) (function_parameters)) - (block - (dollar_quote) - (dollar_quote)) + (function_return + (identifier)) + (string) (identifier) (function_volatility))) ================================================================================ volatile ================================================================================ -CREATE FUNCTION FOO () AS $$ $$ LANGUAGE sql VOLATILE; +CREATE FUNCTION FOO () RETURNS void AS 'select' LANGUAGE sql VOLATILE; -------------------------------------------------------------------------------- (source_file @@ -60,16 +79,16 @@ CREATE FUNCTION FOO () AS $$ $$ LANGUAGE sql VOLATILE; (function_signature (identifier) (function_parameters)) - (block - (dollar_quote) - (dollar_quote)) + (function_return + (identifier)) + (string) (identifier) (function_volatility))) ================================================================================ -wrong - many volatilities +returns setof ================================================================================ -CREATE FUNCTION FOO () AS $$ $$ LANGUAGE sql STABLE VOLATILE; +CREATE FUNCTION FOO () RETURNS SETOF text AS 'select' LANGUAGE sql; -------------------------------------------------------------------------------- (source_file @@ -77,9 +96,30 @@ CREATE FUNCTION FOO () AS $$ $$ LANGUAGE sql STABLE VOLATILE; (function_signature (identifier) (function_parameters)) - (block - (dollar_quote) - (dollar_quote)) - (identifier) - (function_volatility)) - (ERROR)) + (function_return + (return_setof + (identifier))) + (string) + (identifier))) + +================================================================================ +returns table +================================================================================ +CREATE FUNCTION FOO () RETURNS TABLE(a text, b bigint) AS 'select' LANGUAGE sql; +-------------------------------------------------------------------------------- + +(source_file + (create_function_statement + (function_signature + (identifier) + (function_parameters)) + (function_return + (return_table + (var_declaration + (identifier) + (identifier)) + (var_declaration + (identifier) + (identifier)))) + (string) + (identifier))) diff --git a/corpus/create_function/parameters.txt b/corpus/create_function/parameters.txt index 693729a..444d96b 100644 --- a/corpus/create_function/parameters.txt +++ b/corpus/create_function/parameters.txt @@ -1,7 +1,7 @@ ================================================================================ -Empty +empty ================================================================================ -CREATE FUNCTION FOO () AS $$ $$ LANGUAGE sql; +CREATE FUNCTION FOO () RETURNS void AS 'select' LANGUAGE sql; -------------------------------------------------------------------------------- (source_file @@ -9,15 +9,15 @@ CREATE FUNCTION FOO () AS $$ $$ LANGUAGE sql; (function_signature (identifier) (function_parameters)) - (block - (dollar_quote) - (dollar_quote)) + (function_return + (identifier)) + (string) (identifier))) ================================================================================ -With argument +with argument ================================================================================ -CREATE FUNCTION FOO (_foo bar.baz) AS $$ $$ LANGUAGE sql; +CREATE FUNCTION FOO (_foo bar.baz) RETURNS void AS 'select' LANGUAGE sql; -------------------------------------------------------------------------------- (source_file @@ -25,18 +25,18 @@ CREATE FUNCTION FOO (_foo bar.baz) AS $$ $$ LANGUAGE sql; (function_signature (identifier) (function_parameters - (function_parameter + (var_declaration (identifier) (identifier)))) - (block - (dollar_quote) - (dollar_quote)) + (function_return + (identifier)) + (string) (identifier))) ================================================================================ -With arguments +default value ================================================================================ -CREATE FUNCTION FOO (foo bar, foo bar) AS $$ $$ LANGUAGE sql; +CREATE FUNCTION FOO (_foo bar.baz default '42') RETURNS void AS 'select' LANGUAGE sql; -------------------------------------------------------------------------------- (source_file @@ -44,82 +44,41 @@ CREATE FUNCTION FOO (foo bar, foo bar) AS $$ $$ LANGUAGE sql; (function_signature (identifier) (function_parameters - (function_parameter + (var_declaration (identifier) (identifier)) - (function_parameter + (string))) + (function_return + (identifier)) + (string) + (identifier))) + +================================================================================ +with arguments +================================================================================ +CREATE FUNCTION FOO (foo bar, foo bar) RETURNS void AS 'select' LANGUAGE sql; +-------------------------------------------------------------------------------- + +(source_file + (create_function_statement + (function_signature + (identifier) + (function_parameters + (var_declaration + (identifier) + (identifier)) + (var_declaration (identifier) (identifier)))) - (block - (dollar_quote) - (dollar_quote)) - (identifier))) - -================================================================================ -Wrong - trailing comma (1) -================================================================================ -CREATE FUNCTION FOO (foo bar,) AS $$ $$ LANGUAGE sql; --------------------------------------------------------------------------------- - -(source_file - (create_function_statement - (function_signature - (identifier) - (function_parameters - (function_parameter - (identifier) - (identifier)) - (ERROR))) - (block - (dollar_quote) - (dollar_quote)) - (identifier))) - -================================================================================ -Wrong - trailing comma (2) -================================================================================ -CREATE FUNCTION FOO (foo bar, foo bar,) AS $$ $$ LANGUAGE sql; --------------------------------------------------------------------------------- - -(source_file - (create_function_statement - (function_signature - (identifier) - (function_parameters - (function_parameter - (identifier) - (identifier)) - (function_parameter - (identifier) - (identifier)) - (ERROR))) - (block - (dollar_quote) - (dollar_quote)) - (identifier))) - -================================================================================ -Wrong - missing type -================================================================================ -CREATE FUNCTION FOO (foo,) AS $$ $$ LANGUAGE sql; --------------------------------------------------------------------------------- - -(source_file - (create_function_statement - (function_signature - (identifier) - (function_parameters - (ERROR - (identifier)))) - (block - (dollar_quote) - (dollar_quote)) + (function_return + (identifier)) + (string) (identifier))) ================================================================================ arrays ================================================================================ -CREATE FUNCTION FOO (foo bar[], foo bar[][]) AS $$ $$ LANGUAGE sql; +CREATE FUNCTION FOO (foo bar[], foo bar[][]) RETURNS void AS 'select' LANGUAGE sql; -------------------------------------------------------------------------------- (source_file @@ -127,13 +86,13 @@ CREATE FUNCTION FOO (foo bar[], foo bar[][]) AS $$ $$ LANGUAGE sql; (function_signature (identifier) (function_parameters - (function_parameter + (var_declaration (identifier) (identifier)) - (function_parameter + (var_declaration (identifier) (identifier)))) - (block - (dollar_quote) - (dollar_quote)) + (function_return + (identifier)) + (string) (identifier))) diff --git a/corpus/create_index_statement.txt b/corpus/create_index_statement.txt new file mode 100644 index 0000000..5576858 --- /dev/null +++ b/corpus/create_index_statement.txt @@ -0,0 +1,93 @@ +================================================================================ +basic +================================================================================ +create index ON foo.bar(col); +-------------------------------------------------------------------------------- + +(source_file + (create_index_statement + (identifier) + (index_col + (identifier)))) + +================================================================================ +with columns +================================================================================ +create index on foo.bar ( + col ASC NULLS FIRST, + col DESC NULLS LAST, + col NULLS FIRST, + (upper(col)) DESC); +-------------------------------------------------------------------------------- + +(source_file + (create_index_statement + (identifier) + (index_col + (identifier) + (index_col_dir) + (index_col_nulls)) + (index_col + (identifier) + (index_col_dir) + (index_col_nulls)) + (index_col + (identifier) + (index_col_nulls)) + (index_col + (function_call + (identifier) + (identifier)) + (index_col_dir)))) + +================================================================================ +full syntax +================================================================================ +create unique index concurrently if not exists idx_name on foo.bar using gist (col, (upper(bar))); +-------------------------------------------------------------------------------- + +(source_file + (create_index_statement + (if_not_exists) + (identifier) + (identifier) + (index_using + (identifier)) + (index_col + (identifier)) + (index_col + (function_call + (identifier) + (identifier))))) + +================================================================================ +include +================================================================================ +create index ON foo.bar(col) include (col1, col2); +-------------------------------------------------------------------------------- + +(source_file + (create_index_statement + (identifier) + (index_col + (identifier)) + (index_includes + (identifier) + (identifier)))) + +================================================================================ +partial +================================================================================ +create index ON foo.bar(col) where col > 25; +-------------------------------------------------------------------------------- + +(source_file + (create_index_statement + (identifier) + (index_col + (identifier)) + (where_filter + (op_expression + (identifier) + (comparison_op) + (number))))) diff --git a/corpus/create_schema_statement.txt b/corpus/create_schema_statement.txt new file mode 100644 index 0000000..f64658b --- /dev/null +++ b/corpus/create_schema_statement.txt @@ -0,0 +1,77 @@ +================================================================================ +basic +================================================================================ +create schema foo; +-------------------------------------------------------------------------------- + +(source_file + (create_schema_statement + (identifier))) + +================================================================================ +for user +================================================================================ +create schema authorization joe; +-------------------------------------------------------------------------------- + +(source_file + (create_schema_statement + (schema_role + (identifier)))) + +================================================================================ +for current_user +================================================================================ +create schema authorization current_user; +-------------------------------------------------------------------------------- + +(source_file + (create_schema_statement + (schema_role))) + +================================================================================ +for session_user +================================================================================ +create schema authorization session_user; +-------------------------------------------------------------------------------- + +(source_file + (create_schema_statement + (schema_role))) + +================================================================================ +with name, for user +================================================================================ +create schema foo authorization joe; +-------------------------------------------------------------------------------- + +(source_file + (create_schema_statement + (identifier) + (schema_role + (identifier)))) + +================================================================================ +if not exists +================================================================================ +create schema if not exists foo authorization joe; +-------------------------------------------------------------------------------- + +(source_file + (create_schema_statement + (if_not_exists) + (identifier) + (schema_role + (identifier)))) + +================================================================================ +if not exists with name +================================================================================ +create schema if not exists authorization joe; +-------------------------------------------------------------------------------- + +(source_file + (create_schema_statement + (if_not_exists) + (schema_role + (identifier)))) diff --git a/corpus/create_sequence_statement.txt b/corpus/create_sequence_statement.txt new file mode 100644 index 0000000..036de7b --- /dev/null +++ b/corpus/create_sequence_statement.txt @@ -0,0 +1,235 @@ +================================================================================ +basic +================================================================================ +create sequence foo; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier))) + +================================================================================ +if not exists +================================================================================ +create sequence if not exists foo; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (if_not_exists) + (identifier))) + +================================================================================ +temp +================================================================================ +create temp sequence foo; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (temporary) + (identifier))) + +================================================================================ +temporary +================================================================================ +create temporary sequence foo; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (temporary) + (identifier))) + +================================================================================ +as +================================================================================ +create sequence foo as smallint; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (as + (identifier)))) + +================================================================================ +increment +================================================================================ +create sequence foo increment 5; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_increment + (number)))) + +================================================================================ +increment by +================================================================================ +create sequence foo increment by 5; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_increment + (number)))) + +================================================================================ +minvalue +================================================================================ +create sequence foo minvalue 5; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_min + (number)))) + +================================================================================ +no minvalue +================================================================================ +create sequence foo no minvalue; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_min))) + +================================================================================ +max value +================================================================================ +create sequence foo maxvalue 5; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_max + (number)))) + +================================================================================ +no max value +================================================================================ +create sequence foo no maxvalue; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_max))) + +================================================================================ +start +================================================================================ +create sequence foo start 5; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_start + (number)))) + +================================================================================ +start with +================================================================================ +create sequence foo start with 5; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_start + (number)))) + +================================================================================ +cache +================================================================================ +create sequence foo cache 4; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_cache + (number)))) + +================================================================================ +no cycle +================================================================================ +create sequence foo no cycle; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_cycle))) + +================================================================================ +cycle +================================================================================ +create sequence foo cycle; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_cycle))) + +================================================================================ +owned by +================================================================================ +create sequence foo owned by foo.bar; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_owned + (identifier)))) + +================================================================================ +owned by none +================================================================================ +create sequence foo owned by none; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (identifier) + (sequence_owned))) + +================================================================================ +full syntax +================================================================================ +create temp sequence if not exists foo +as bigint increment -5 +minvalue 5 no maxvalue +start with 3 cache 2 no cycle +owned by none; +-------------------------------------------------------------------------------- + +(source_file + (create_sequence_statement + (temporary) + (if_not_exists) + (identifier) + (as + (identifier)) + (sequence_increment + (ERROR) + (number)) + (sequence_min + (number)) + (sequence_max) + (sequence_start + (number)) + (sequence_cache + (number)) + (sequence_cycle) + (sequence_owned))) diff --git a/corpus/create_table_statement.txt b/corpus/create_table_statement.txt new file mode 100644 index 0000000..9197ba5 --- /dev/null +++ b/corpus/create_table_statement.txt @@ -0,0 +1,293 @@ +================================================================================ +empty table +================================================================================ +create table foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (identifier))) + +================================================================================ +temp +================================================================================ +create temp table foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (temporary) + (identifier))) + +================================================================================ +temporary +================================================================================ +create temporary table foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (temporary) + (identifier))) + +================================================================================ +if not exists +================================================================================ +create table if not exists foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (if_not_exists) + (identifier))) + +================================================================================ +unlogged +================================================================================ +create unlogged table foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (identifier))) + +================================================================================ +constraints with deferred +================================================================================ +create table foo( + col1 text not null deferrable, + col2 bigint not null deferrable initially immediate, + col3 numeric(2, 4) null deferrable initially deferred +); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (identifier) + (create_table_item + (table_column_item + (identifier) + (identifier) + (column_constraint + (column_constraint_ty) + (constraint_when)))) + (create_table_item + (table_column_item + (identifier) + (identifier) + (column_constraint + (column_constraint_ty) + (constraint_when)))) + (create_table_item + (table_column_item + (identifier) + (predefined_types + (precision + (number) + (number))) + (column_constraint + (column_constraint_ty) + (constraint_when)))))) + +================================================================================ +column constraints +================================================================================ +create table foo( + col1 text not null primary key check( col1 > b), + col2 bigint null default 25 deferrable initially immediate constraint a_name unique, + col3 numeric(2, 4) null deferrable initially deferred, + col4 int references foo.baz +); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (identifier) + (create_table_item + (table_column_item + (identifier) + (identifier) + (column_constraint + (column_constraint_ty)) + (column_constraint + (column_constraint_ty)) + (column_constraint + (column_constraint_ty + (op_expression + (identifier) + (comparison_op) + (identifier)))))) + (create_table_item + (table_column_item + (identifier) + (identifier) + (column_constraint + (column_constraint_ty)) + (column_constraint + (column_constraint_ty + (number)) + (constraint_when)) + (column_constraint + (identifier) + (column_constraint_ty)))) + (create_table_item + (table_column_item + (identifier) + (predefined_types + (precision + (number) + (number))) + (column_constraint + (column_constraint_ty) + (constraint_when)))) + (create_table_item + (table_column_item + (identifier) + (identifier) + (column_constraint + (column_constraint_ty + (constraint_foreign_key + (identifier)))))))) + +================================================================================ +column fk references +================================================================================ +create table foo( + col int references foo.baz(col1, col2), + col int references foo.baz on delete set default, + col int references foo.baz on delete no action on update cascade, + col int references foo.baz on delete restrict on update set null +); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (identifier) + (create_table_item + (table_column_item + (identifier) + (identifier) + (column_constraint + (column_constraint_ty + (constraint_foreign_key + (identifier) + (identifier) + (identifier)))))) + (create_table_item + (table_column_item + (identifier) + (identifier) + (column_constraint + (column_constraint_ty + (constraint_foreign_key + (identifier) + (fk_action + (fk_ref_action))))))) + (create_table_item + (table_column_item + (identifier) + (identifier) + (column_constraint + (column_constraint_ty + (constraint_foreign_key + (identifier) + (fk_action + (fk_ref_action)) + (fk_action + (fk_ref_action))))))) + (create_table_item + (table_column_item + (identifier) + (identifier) + (column_constraint + (column_constraint_ty + (constraint_foreign_key + (identifier) + (fk_action + (fk_ref_action)) + (fk_action + (fk_ref_action))))))))) + +================================================================================ +table constraints - check +================================================================================ +create table foo( + constraint one check (column_a > 5), + check (column_b > 5) +); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (identifier) + (create_table_item + (table_constraint + (identifier) + (table_constraint_ty + (op_expression + (identifier) + (comparison_op) + (number))))) + (create_table_item + (table_constraint + (table_constraint_ty + (op_expression + (identifier) + (comparison_op) + (number))))))) + +================================================================================ +table constraints - unique +================================================================================ +create table foo( + unique (column_a, column_b) +); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (identifier) + (create_table_item + (table_constraint + (table_constraint_ty + (identifier) + (identifier)))))) + +================================================================================ +table constraints - pk +================================================================================ +create table foo( + primary key (column_a, column_b) +); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (identifier) + (create_table_item + (table_constraint + (table_constraint_ty + (identifier) + (identifier)))))) + +================================================================================ +table constraints - fk +================================================================================ +create table foo( + foreign key (column_a, column_b) references foo(name, age, bar) +); +-------------------------------------------------------------------------------- + +(source_file + (create_table_statement + (identifier) + (create_table_item + (table_constraint + (table_constraint_ty + (identifier) + (identifier) + (constraint_foreign_key + (identifier) + (identifier) + (identifier) + (identifier))))))) diff --git a/corpus/create_trigger_statement.txt b/corpus/create_trigger_statement.txt new file mode 100644 index 0000000..361ab1b --- /dev/null +++ b/corpus/create_trigger_statement.txt @@ -0,0 +1,184 @@ +================================================================================ +basic +================================================================================ +create trigger tr before insert on mytable execute foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_exec + (function_call + (identifier))))) + +================================================================================ +constraint +================================================================================ +create constraint trigger tr before insert on mytable execute foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_exec + (function_call + (identifier))))) + +================================================================================ +after +================================================================================ +create trigger tr after insert on mytable execute foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_exec + (function_call + (identifier))))) + +================================================================================ +instead of +================================================================================ +create trigger tr instead of insert on mytable execute foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_exec + (function_call + (identifier))))) + +================================================================================ +many when +================================================================================ +create trigger tr before insert or update or delete or truncate on mytable execute foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_exec + (function_call + (identifier))))) + +================================================================================ +scope for statement +================================================================================ +create trigger tr before insert on mytable for statement execute foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_scope) + (trigger_exec + (function_call + (identifier))))) + +================================================================================ +scope for each row +================================================================================ +create trigger tr before insert on mytable for each row execute foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_scope) + (trigger_exec + (function_call + (identifier))))) + +================================================================================ +scope for each statement +================================================================================ +create trigger tr before insert on mytable for each statement execute foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_scope) + (trigger_exec + (function_call + (identifier))))) + +================================================================================ +execute procedure +================================================================================ +create trigger tr before insert on mytable execute procedure foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_exec + (function_call + (identifier))))) + +================================================================================ +execute function +================================================================================ +create trigger tr before insert on mytable execute function foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_exec + (function_call + (identifier))))) + +================================================================================ +when +================================================================================ +create constraint trigger a.tr before insert or delete on foo.mytable for each statement when (new.baz != old.baz) execute function foo(); +-------------------------------------------------------------------------------- + +(source_file + (create_trigger_statement + (identifier) + (trigger_when) + (trigger_event) + (identifier) + (trigger_scope) + (trigger_cond + (op_expression + (identifier) + (comparison_op) + (identifier))) + (trigger_exec + (function_call + (identifier))))) diff --git a/corpus/delete_statement.txt b/corpus/delete_statement.txt new file mode 100644 index 0000000..4ebd809 --- /dev/null +++ b/corpus/delete_statement.txt @@ -0,0 +1,104 @@ +================================================================================ +whole table +================================================================================ +delete from tasks; +-------------------------------------------------------------------------------- + +(source_file + (delete_statement + (identifier))) + +================================================================================ +where +================================================================================ +delete from tasks where status <> 'Musical'; +-------------------------------------------------------------------------------- + +(source_file + (delete_statement + (identifier) + (where_filter + (op_expression + (identifier) + (comparison_op) + (string))))) + +================================================================================ +returning +================================================================================ +DELETE FROM tasks WHERE status = 'DONE' RETURNING *; +-------------------------------------------------------------------------------- + +(source_file + (delete_statement + (identifier) + (where_filter + (op_expression + (identifier) + (comparison_op) + (string))) + (select_item + (star)))) + +================================================================================ +delete using subselect +================================================================================ +DELETE FROM foo a USING (select baz from bar) b WHERE a.b = b.b; +-------------------------------------------------------------------------------- + +(source_file + (delete_statement + (identifier) + (identifier) + (delete_using + (from_item + (from_select + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier))))) + (identifier)))) + (where_filter + (op_expression + (identifier) + (comparison_op) + (identifier))))) + +================================================================================ +with cte +================================================================================ +with foo as (select * from bar) +delete from baz; +-------------------------------------------------------------------------------- + +(source_file + (delete_statement + (with_query + (with_query_item + (identifier) + (select_statement + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier))))))) + (identifier))) + +================================================================================ +returning into +================================================================================ +delete from foo +returning id into _backup_id; +-------------------------------------------------------------------------------- + +(source_file + (delete_statement + (identifier) + (select_item + (identifier)) + (into + (identifier)))) diff --git a/corpus/execute_statement.txt b/corpus/execute_statement.txt new file mode 100644 index 0000000..72fc7da --- /dev/null +++ b/corpus/execute_statement.txt @@ -0,0 +1,106 @@ +================================================================================ +basic +================================================================================ +do $$ begin execute 'command'; end $$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (execute_statement + (string))) + (dollar_quote)))) + +================================================================================ +into +================================================================================ +do $$ begin execute 'command' into var; end $$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (execute_statement + (string) + (into + (identifier)))) + (dollar_quote)))) + +================================================================================ +into strict +================================================================================ +do $$ begin execute 'command' into strict var; end $$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (execute_statement + (string) + (into + (identifier)))) + (dollar_quote)))) + +================================================================================ +using +================================================================================ +do $$ begin execute 'command' using 1, foo(bar); end $$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (execute_statement + (string) + (number) + (function_call + (identifier) + (identifier)))) + (dollar_quote)))) + +================================================================================ +function call +================================================================================ +do $$ begin execute foo() into strict var using 1; end $$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (execute_statement + (function_call + (identifier)) + (into + (identifier)) + (number))) + (dollar_quote)))) + +================================================================================ +string concatenation +================================================================================ +do $$ begin execute 'foo' || 'bar' into _date; end $$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (execute_statement + (op_expression + (string) + (other_op) + (string)) + (into + (identifier)))) + (dollar_quote)))) diff --git a/corpus/grant_statement.txt b/corpus/grant_statement.txt new file mode 100644 index 0000000..c12d6b6 --- /dev/null +++ b/corpus/grant_statement.txt @@ -0,0 +1,177 @@ +================================================================================ +basic +================================================================================ +grant all on table foo to postgres; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges) + (grant_targets + (identifier)) + (grant_roles + (identifier)))) + +================================================================================ +all privileges +================================================================================ +grant all privileges on table foo.bar to postgres; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges) + (grant_targets + (identifier)) + (grant_roles + (identifier)))) + +================================================================================ +many users +================================================================================ +grant all on table foo to my_user, group another_user, current_user, public, session_user; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges) + (grant_targets + (identifier)) + (grant_roles + (identifier) + (identifier)))) + +================================================================================ +on schema +================================================================================ +GRANT CREATE, USAGE ON SCHEMA esl, esl_archive TO mercures_ws; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges + (identifier) + (identifier)) + (grant_targets + (identifier) + (identifier)) + (grant_roles + (identifier)))) + +================================================================================ +all tables in schema +================================================================================ +grant all on all tables in schema foo to my_user; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges) + (grant_targets + (identifier)) + (grant_roles + (identifier)))) + +================================================================================ +many tables +================================================================================ +grant all on table bar, baz to my_user; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges) + (grant_targets + (identifier) + (identifier)) + (grant_roles + (identifier)))) + +================================================================================ +functions +================================================================================ +grant all on all functions in schema foo to my_user; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges) + (grant_targets + (identifier)) + (grant_roles + (identifier)))) + +================================================================================ +function +================================================================================ +grant all on function bar(text), baz(_arg my.type) to my_user; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges) + (grant_targets + (grant_function + (identifier) + (identifier)) + (grant_function + (identifier) + (identifier) + (identifier))) + (grant_roles + (identifier)))) + +================================================================================ +all sequences +================================================================================ +grant all on all sequences in schema foo to my_user; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges) + (grant_targets + (identifier)) + (grant_roles + (identifier)))) + +================================================================================ +many sequences +================================================================================ +grant all on sequence bar, baz to my_user; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges) + (grant_targets + (identifier) + (identifier)) + (grant_roles + (identifier)))) + +================================================================================ +many privileges +================================================================================ +grant connect, create, delete, execute, insert, references, select, temporary, trigger, truncate, update, usage on table bar to my_user; +-------------------------------------------------------------------------------- + +(source_file + (grant_statement + (grant_privileges + (identifier) + (identifier) + (identifier) + (identifier) + (identifier) + (identifier) + (identifier) + (identifier) + (identifier) + (identifier) + (identifier) + (identifier)) + (grant_targets + (identifier)) + (grant_roles + (identifier)))) diff --git a/corpus/insert_statement/insert.txt b/corpus/insert_statement/insert.txt new file mode 100644 index 0000000..156b1e2 --- /dev/null +++ b/corpus/insert_statement/insert.txt @@ -0,0 +1,160 @@ +================================================================================ +basic +================================================================================ +insert into my_table values(1); +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items + (insert_item + (number))))) + +================================================================================ +alias +================================================================================ +insert into foo.my_table as alias values(1); +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (as + (identifier)) + (insert_items + (insert_item + (number))))) + +================================================================================ +default values +================================================================================ +insert into foo.my_table default values; +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items))) + +================================================================================ +many values +================================================================================ +insert into foo.my_table values(1, 2); +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items + (insert_item + (number)) + (insert_item + (number))))) + +================================================================================ +different kind of values +================================================================================ +insert into foo.my_table values(1, DEFAULT, (select 1, 2)); +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items + (insert_item + (number)) + (insert_item) + (insert_item + (select_statement + (select_item + (number)) + (select_item + (number))))))) + +================================================================================ +insert from select +================================================================================ +insert into foo.my_table select column1 from foo bar; +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier) + (identifier)))))))) + +================================================================================ +returning +================================================================================ +insert into foo values(1) returning *, 1; +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items + (insert_item + (number))) + (insert_returning + (select_item + (star)) + (select_item + (number))))) + +================================================================================ +with cte +================================================================================ +with foo as (select * from bar) +insert into my_table values(1); +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (with_query + (with_query_item + (identifier) + (select_statement + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier))))))) + (identifier) + (insert_items + (insert_item + (number))))) + +================================================================================ +returning into +================================================================================ +insert into foo(bar, baz) select * from another +returning id into _var; +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (identifier) + (identifier) + (insert_items + (select_statement + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier)))))) + (insert_returning + (select_item + (identifier))) + (into + (identifier)))) diff --git a/corpus/insert_statement/on_conflict.txt b/corpus/insert_statement/on_conflict.txt new file mode 100644 index 0000000..0e489a1 --- /dev/null +++ b/corpus/insert_statement/on_conflict.txt @@ -0,0 +1,169 @@ +================================================================================ +on constraint do nothing +================================================================================ +insert into foo default values on conflict on constraint foo do nothing; +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items) + (insert_conflict + (conflict_target + (identifier))))) + +================================================================================ +on conflict column names +================================================================================ +insert into foo default values on conflict (foo, bar) do nothing; +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items) + (insert_conflict + (conflict_target + (identifier) + (identifier))))) + +================================================================================ +on conflict value expressions +================================================================================ +insert into foo default values on conflict (coalesce(one, two), bar) do nothing; +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items) + (insert_conflict + (conflict_target + (function_call + (identifier) + (identifier) + (identifier)) + (identifier))))) + +================================================================================ +update with default +================================================================================ +insert into foo default values on conflict (foo) do update set foo = default; +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items) + (insert_conflict + (conflict_target + (identifier)) + (update_set + (identifier) + (update_value))))) + +================================================================================ +update with expression +================================================================================ +insert into foo default values on conflict (foo) do update set foo = 1; +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items) + (insert_conflict + (conflict_target + (identifier)) + (update_set + (identifier) + (update_value + (number)))))) + +================================================================================ +update with expression(1) +================================================================================ +insert into foo default values on conflict (foo) do update set (foo) = (1); +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items) + (insert_conflict + (conflict_target + (identifier)) + (update_set + (identifier) + (update_value + (number)))))) + +================================================================================ +update with expression(2) +================================================================================ +insert into foo default values on conflict (foo) do update set (foo, bar) = (1, 2, default); +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items) + (insert_conflict + (conflict_target + (identifier)) + (update_set + (identifier) + (identifier) + (update_value + (number)) + (update_value + (number)) + (update_value))))) + +================================================================================ +update with expression(3) +================================================================================ +insert into foo default values on conflict (foo) do update set foo = 1, bar = default, baz = (select 1); +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items) + (insert_conflict + (conflict_target + (identifier)) + (update_set + (identifier) + (update_value + (number))) + (update_set + (identifier) + (update_value)) + (update_set + (identifier) + (update_value + (select_statement + (select_item + (number)))))))) + +================================================================================ +update with expression(4) +================================================================================ +insert into foo default values on conflict (foo) do update set (foo) = (1), bar = default; +-------------------------------------------------------------------------------- + +(source_file + (insert_statement + (identifier) + (insert_items) + (insert_conflict + (conflict_target + (identifier)) + (update_set + (identifier) + (update_value + (number))) + (update_set + (identifier) + (update_value))))) diff --git a/corpus/plpgsql/block.txt b/corpus/plpgsql/block.txt new file mode 100644 index 0000000..0a3f235 --- /dev/null +++ b/corpus/plpgsql/block.txt @@ -0,0 +1,190 @@ +================================================================================ +empty +================================================================================ +DO $$ BEGIN END $$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body) + (dollar_quote)))) + +================================================================================ +empty(1) +================================================================================ +DO $$ DECLARE BEGIN END $$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (declarations) + (body) + (dollar_quote)))) + +================================================================================ +many declare(s) +================================================================================ +DO $$ +DECLARE one text; +DECLARE + name text; + age bigint; +BEGIN END +$$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (declarations + (var_definition + (var_declaration + (identifier) + (identifier)))) + (declarations + (var_definition + (var_declaration + (identifier) + (identifier))) + (var_definition + (var_declaration + (identifier) + (identifier)))) + (body) + (dollar_quote)))) + +================================================================================ +declare variables +================================================================================ +DO $$ +DECLARE + name text; + age bigint; +BEGIN END +$$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (declarations + (var_definition + (var_declaration + (identifier) + (identifier))) + (var_definition + (var_declaration + (identifier) + (identifier)))) + (body) + (dollar_quote)))) + +================================================================================ +declare with assignment +================================================================================ +DO $$ +DECLARE + name text := 'hello'; + age bigint:= (SELECT foo() + 1); +BEGIN END +$$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (declarations + (var_definition + (var_declaration + (identifier) + (identifier)) + (string)) + (var_definition + (var_declaration + (identifier) + (identifier)) + (select_statement + (select_item + (op_expression + (function_call + (identifier)) + (number)))))) + (body) + (dollar_quote)))) + +================================================================================ +perform +================================================================================ +DO $$ +BEGIN + PERFORM foo(); +END +$$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (perform_statement + (select_item + (function_call + (identifier))))) + (dollar_quote)))) + +================================================================================ +many statements +================================================================================ +DO $$ +BEGIN + SELECT 1; + foo.bar = lower(foo.baz); + RETURN 2; +END +$$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (select_statement + (select_item + (number))) + (assign_statement + (identifier) + (function_call + (identifier) + (identifier))) + (return_statement + (number))) + (dollar_quote)))) + +================================================================================ +function call with select +================================================================================ +DO $$ BEGIN perform exists(select 1); END $$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (perform_statement + (select_item + (function_call + (identifier) + (select_statement + (select_item + (number))))))) + (dollar_quote)))) diff --git a/corpus/plpgsql/return_statement.txt b/corpus/plpgsql/return_statement.txt new file mode 100644 index 0000000..884d8be --- /dev/null +++ b/corpus/plpgsql/return_statement.txt @@ -0,0 +1,39 @@ +================================================================================ +return +================================================================================ +DO $$ +BEGIN + RETURN 1; +END +$$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (return_statement + (number))) + (dollar_quote)))) + +================================================================================ +return query +================================================================================ +DO $$ +BEGIN + RETURN QUERY select 1; +END +$$; +-------------------------------------------------------------------------------- + +(source_file + (do_block + (block + (dollar_quote) + (body + (return_statement + (select_statement + (select_item + (number))))) + (dollar_quote)))) diff --git a/corpus/select_statement/from.txt b/corpus/select_statement/from.txt new file mode 100644 index 0000000..e2924d7 --- /dev/null +++ b/corpus/select_statement/from.txt @@ -0,0 +1,179 @@ +================================================================================ +from table +================================================================================ +SELECT name FROM products; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)))))) + +================================================================================ +from many tables +================================================================================ +SELECT products.name, i.name FROM products, items i, bar as baz; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier))) + (from_item + (from_table + (identifier) + (identifier))) + (from_item + (from_table + (identifier) + (identifier)))))) + +================================================================================ +sub select +================================================================================ +SELECT name FROM (select foo from bar) alias, (select baz from bar) as alias1; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_select + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier))))) + (identifier))) + (from_item + (from_select + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier))))) + (identifier)))))) + +================================================================================ +from function call +================================================================================ +select name from foo(bar, baz); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_function + (function_call + (identifier) + (identifier) + (identifier))))))) + +================================================================================ +from function call with alias +================================================================================ +select name from foo() bar; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_function + (function_call + (identifier)) + (identifier)))))) + +================================================================================ +from function call with alias(1) +================================================================================ +select name from foo() as bar; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_function + (function_call + (identifier)) + (identifier)))))) + +================================================================================ +from function call with alias in params +================================================================================ +select name from foo() bar(alias1, alias2); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_function + (function_call + (identifier)) + (identifier) + (identifier) + (identifier)))))) + +================================================================================ +from function call with alias in params(1) +================================================================================ +select name from foo() as bar(alias1, alias2); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_function + (function_call + (identifier)) + (identifier) + (identifier) + (identifier)))))) + +================================================================================ +from function call with alias in params(2) +================================================================================ +select name from foo() as (alias1, alias2); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_function + (function_call + (identifier)) + (identifier) + (identifier)))))) diff --git a/corpus/select_statement/join.txt b/corpus/select_statement/join.txt new file mode 100644 index 0000000..67c42a0 --- /dev/null +++ b/corpus/select_statement/join.txt @@ -0,0 +1,311 @@ +================================================================================ +cross join +================================================================================ +SELECT name FROM products cross join items; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (from_table + (identifier))))))) + +================================================================================ +join on +================================================================================ +SELECT name FROM products join items on products.name = items.name; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (op_expression + (identifier) + (comparison_op) + (identifier)))))))) + +================================================================================ +join using +================================================================================ +select name from products join items using(foo); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (identifier))))))) + +================================================================================ +natural join +================================================================================ +select name from products natural join items; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier))))))) + +================================================================================ +inner join +================================================================================ +select name from products inner join items on true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (true))))))) + +================================================================================ +left join +================================================================================ +select name from products left join items on true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (true))))))) + +================================================================================ +right join +================================================================================ +select name from products right join items on true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (true))))))) + +================================================================================ +full join +================================================================================ +select name from products full join items on true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (true))))))) + +================================================================================ +left outer join +================================================================================ +select name from products left outer join items on true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (true))))))) + +================================================================================ +right outer join +================================================================================ +select name from products right outer join items on true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (true))))))) + +================================================================================ +full outer join +================================================================================ +select name from products full outer join items on true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (true))))))) + +================================================================================ +many joins +================================================================================ +select name from products + natural join a + cross join a + join a on a.foo=b.foo + inner join a using(foo) + left join a using(foo) + left outer join a using(foo) + right join a using(foo) + right outer join a using(foo) + full outer join a using(foo) + full join a using(foo); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)) + (join_item + (join_type) + (from_table + (identifier))) + (join_item + (from_table + (identifier))) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (op_expression + (identifier) + (comparison_op) + (identifier)))) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (identifier))) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (identifier))) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (identifier))) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (identifier))) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (identifier))) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (identifier))) + (join_item + (join_type) + (from_table + (identifier)) + (join_condition + (identifier))))))) diff --git a/corpus/select_statement/select.txt b/corpus/select_statement/select.txt new file mode 100644 index 0000000..60a6077 --- /dev/null +++ b/corpus/select_statement/select.txt @@ -0,0 +1,243 @@ +================================================================================ +where +================================================================================ +select name from items where true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)))) + (select_where + (where_filter + (true))))) + +================================================================================ +into +================================================================================ +select name into bar from items where true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (into + (identifier)) + (select_from + (from_item + (from_table + (identifier)))) + (select_where + (where_filter + (true))))) + +================================================================================ +into strict +================================================================================ +select name into strict bar from items where true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (into + (identifier)) + (select_from + (from_item + (from_table + (identifier)))) + (select_where + (where_filter + (true))))) + +================================================================================ +into many +================================================================================ +select foo, bar into a_foo, a_bar from items where true; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_item + (identifier)) + (into + (identifier) + (identifier)) + (select_from + (from_item + (from_table + (identifier)))) + (select_where + (where_filter + (true))))) + +================================================================================ +having +================================================================================ +select sum(len) from items having sum(len) < 5; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (function_call + (identifier) + (identifier))) + (select_from + (from_item + (from_table + (identifier)))) + (select_having + (op_expression + (function_call + (identifier) + (identifier)) + (comparison_op) + (number))))) + +================================================================================ +group by +================================================================================ +select name from items group by 1, 2; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)))) + (select_group_by + (number) + (number)))) + +================================================================================ +order by +================================================================================ +select name from items order by 1, 2 asc, 3 desc, 4 + 4; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_from + (from_item + (from_table + (identifier)))) + (select_order_by + (order_by_item + (number)) + (order_by_item + (number) + (order_by_direction)) + (order_by_item + (number) + (order_by_direction)) + (order_by_item + (op_expression + (number) + (number)))))) + +================================================================================ +limit +================================================================================ +select name limit 1; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier))) + (ERROR + (number))) + +================================================================================ +limit offet +================================================================================ +select name limit 1 offset 5; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_limit + (number) + (number)))) + +================================================================================ +offset limit +================================================================================ +select name offset 5 limit 1; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_limit + (number) + (number)))) + +================================================================================ +limit all offset +================================================================================ +select name limit all offset 5; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_limit + (number)))) + +================================================================================ +offset limit all +================================================================================ +select name offset 5 limit all; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_limit + (number)))) + +================================================================================ +with cte +================================================================================ +with foo as (select * from bar) +select * from foo; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (with_query + (with_query_item + (identifier) + (select_statement + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier))))))) + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier)))))) diff --git a/corpus/select_statement/value_expression.txt b/corpus/select_statement/value_expression.txt new file mode 100644 index 0000000..234114f --- /dev/null +++ b/corpus/select_statement/value_expression.txt @@ -0,0 +1,216 @@ +================================================================================ +string +================================================================================ +SELECT 'hello'; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (string)))) + +================================================================================ +nested select +================================================================================ +SELECT (SELECT 'hello'); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (select_statement + (select_item + (string)))))) + +================================================================================ +many +================================================================================ +SELECT 1234, -25, TRUE, FALSE, NULL, *; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (number)) + (select_item + (op_expression + (minus) + (number))) + (select_item + (true)) + (select_item + (false)) + (select_item + (null)) + (select_item + (star)))) + +================================================================================ +identifiers +================================================================================ +SELECT foo, foo.bar; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (identifier)) + (select_item + (identifier)))) + +================================================================================ +binary_expression +================================================================================ +SELECT a + b - c / d * e % f; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (op_expression + (op_expression + (identifier) + (identifier)) + (op_expression + (op_expression + (op_expression + (identifier) + (identifier)) + (identifier)) + (identifier)))))) + +================================================================================ +unary prec over binary +================================================================================ +SELECT -22 + - (5 + 1); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (op_expression + (op_expression + (minus) + (number)) + (op_expression + (minus) + (op_expression + (number) + (number))))))) + +================================================================================ +nested parens +================================================================================ +SELECT ((((24 + 24)))); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (op_expression + (number) + (number))))) + +================================================================================ +logical expressions +================================================================================ +SELECT 1 - 2 AND TRUE OR (5 = 2); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (op_expression + (op_expression + (op_expression + (number) + (number)) + (and) + (true)) + (or) + (op_expression + (number) + (comparison_op) + (number)))))) + +================================================================================ +function call +================================================================================ +SELECT foo.bar(param) + baz(); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (op_expression + (function_call + (identifier) + (identifier)) + (function_call + (identifier)))))) + +================================================================================ +nested function call +================================================================================ +SELECT coalesce(null, nullif(false, true), ops.my_fn(5)); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (function_call + (identifier) + (null) + (function_call + (identifier) + (false) + (true)) + (function_call + (identifier) + (number)))))) + +================================================================================ +casting +================================================================================ +SELECT 1::text; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (op_expression + (number) + (cast) + (identifier))))) + +================================================================================ +string concatenation +================================================================================ +SELECT 'hello' || 1 || now(); +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (op_expression + (op_expression + (string) + (other_op) + (number)) + (other_op) + (function_call + (identifier)))))) + +================================================================================ +string quote +================================================================================ +SELECT 'hello' || 'quote''s everywh''ere'; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (op_expression + (string) + (other_op) + (string))))) diff --git a/corpus/with_statement.txt b/corpus/with_statement.txt new file mode 100644 index 0000000..1786eca --- /dev/null +++ b/corpus/with_statement.txt @@ -0,0 +1,152 @@ +================================================================================ +basic +================================================================================ +with w as (select * from foo) select * from w; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (with_query + (with_query_item + (identifier) + (select_statement + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier))))))) + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier)))))) + +================================================================================ +materialized +================================================================================ +with w as materialized (select * from foo) select * from w; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (with_query + (with_query_item + (identifier) + (select_statement + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier))))))) + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier)))))) + +================================================================================ +not materialized +================================================================================ +with w as not materialized (select * from foo) select * from w; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (with_query + (with_query_item + (identifier) + (select_statement + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier))))))) + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier)))))) + +================================================================================ +with delete +================================================================================ +with new as (delete from productes returning *) select 1; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (with_query + (with_query_item + (identifier) + (delete_statement + (identifier) + (select_item + (star))))) + (select_item + (number)))) + +================================================================================ +with insert +================================================================================ +with new as (insert into foo values(1)) select 1; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (with_query + (with_query_item + (identifier) + (insert_statement + (identifier) + (insert_items + (insert_item + (number)))))) + (select_item + (number)))) + +================================================================================ +many +================================================================================ +with w as ( + select * from foo +), x as ( + select * from bar +) select * from foo, bar; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (with_query + (with_query_item + (identifier) + (select_statement + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier)))))) + (with_query_item + (identifier) + (select_statement + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier))))))) + (select_item + (star)) + (select_from + (from_item + (from_table + (identifier))) + (from_item + (from_table + (identifier)))))) diff --git a/grammar.js b/grammar.js index 56d22cf..787c646 100644 --- a/grammar.js +++ b/grammar.js @@ -1,59 +1,548 @@ -function kw(keyword, aliasAsWord = true) { - let result = new RegExp(keyword - .split('') - .map(l => l !== l.toUpperCase() ? `[${l}${l.toUpperCase()}]` : l) - .join('') - ); - if (aliasAsWord) { - result = alias(result, keyword); +function kw(word, aliasAsWord = true) { + let pattern = "" + for (const letter of word) { + pattern += `[${letter}${letter.toUpperCase()}]` } - return result; -} - -function delimited(left, rule, right = left) { - return seq(left, rule, right) + let result = new RegExp(pattern) + if (aliasAsWord) { + result = alias(result, word); + } + return result } function separated(separator, rule) { - return choice( - optional(rule), - seq(rule, repeat1(seq(",", rule)))) + return optional(separated1(separator, rule)); +} + +function separated1(separator, rule) { + return seq(rule, repeat(seq(separator, rule))); +} + +function commaSep1(rule) { + return separated1(",", rule); +} + +function commaSep(rule) { + return optional(commaSep1(rule)); } module.exports = grammar({ - name: 'plpgsql', + name: "plpgsql", + // NOTE(chrde): https://github.com/tree-sitter/tree-sitter-javascript/blob/1ddbf1588c353edab37791cdcc9f17e56fb4ea73/grammar.js#L9 + extras: $ => [ + $.comment, + /[\s\uFEFF\u2060\u200B\u00A0]/ + ], rules: { - source_file: $ => repeat($._statement), - - _statement: $ => seq( + source_file: $ => repeat( choice( - $.create_function_statement, + $.psql_statement, + seq($._statement, ";") ), - ";" + ), + + _statement: $ => choice( + $.psql_statement, + $.create_function_statement, + $.create_table_statement, + $.create_schema_statement, + $.select_statement, + $.insert_statement, + $.delete_statement, + $.grant_statement, + $.create_trigger_statement, + $.create_sequence_statement, + $.create_index_statement, + $.alter_table_statement, + $.do_block, + ), + + // TODO(chrde): update, values + _with_query_statement: $ => choice( + $.select_statement, + $.insert_statement, + $.delete_statement, + ), + + insert_statement: $ => seq( + optional($.with_query), + kw("insert"), kw("into"), $.identifier, optional($.as), + optional($._list_of_identifiers), + $.insert_items, optional($.insert_conflict), + optional($.insert_returning), + optional($.into), + ), + insert_items: $ => choice( + seq(kw("default"), kw("values")), + seq(kw("values"), "(", commaSep($.insert_item), ")"), + $.select_statement + ), + insert_item: $ => choice( + kw("default"), + $._value_expression, + ), + insert_conflict: $ => choice( + seq(kw("on"), kw("conflict"), optional($.conflict_target), kw("do"), kw("nothing")), + seq( + kw("on"), kw("conflict"), $.conflict_target, kw("do"), kw("update"), kw("set"), + commaSep1($.update_set), optional($.where_filter) + ), + ), + conflict_target: $ => choice( + seq(kw("on"), kw("constraint"), $.identifier), + seq("(", commaSep($._value_expression), ")", ), + ), + update_set: $ => choice( + seq($.identifier, "=", $.update_value), + seq($._list_of_identifiers, "=", optional(kw("row")), "(", commaSep1($.update_value), ")"), + ), + update_value: $ => choice(kw("default"), $._value_expression), + insert_returning: $ => seq(kw("returning"), commaSep1($.select_item)), + + create_table_statement: $ => seq( + kw("create"), optional($.temporary), optional(kw("unlogged")), kw("table"), + optional($.if_not_exists), $.identifier, + "(", commaSep($.create_table_item), ")", + ), + + create_table_item: $ => choice( + $.table_column_item, + $.table_constraint, + ), + + create_schema_statement: $ => seq( + kw("create"), kw("schema"), optional($.if_not_exists), choice( + seq($.identifier, optional($.schema_role)), + $.schema_role, + ), + ), + + schema_role: $ => seq( + kw("authorization"), + choice($.identifier, kw("current_user"), kw("session_user")), + ), + + create_index_statement: $ => seq( + kw("create"), optional(kw("unique")), kw("index"), optional(kw("concurrently")), + optional($.if_not_exists), optional($.identifier), kw("on"), $.identifier, + optional($.index_using), + "(", commaSep1($.index_col), ")", + optional($.index_includes), + optional($.where_filter), + ), + + index_using: $ => seq(kw("using"), $.identifier), + index_col: $ => choice( + seq($.identifier, optional($.index_col_dir), optional($.index_col_nulls)), + seq("(", $._value_expression, ")", optional($.index_col_dir), optional($.index_col_nulls)), + ), + index_col_dir: $ => choice(kw("asc"), kw("desc")), + index_col_nulls: $ => choice( + seq(kw("nulls"), kw("first")), + seq(kw("nulls"), kw("last")), + ), + index_includes: $ => seq(kw("include"), $._list_of_identifiers), + + delete_statement: $ => seq( + optional($.with_query), + kw("delete"), kw("from"), $.identifier, optional(kw("as")), optional($.identifier), + optional($.delete_using), + optional($.where_filter), + optional(seq(kw("returning"), commaSep1($.select_item))), + optional($.into), + ), + + delete_using: $ => seq(kw("using"), commaSep1($.from_item)), + + alter_table_statement: $ => seq( + kw("alter"), kw("table"), optional($.if_exists), $.identifier, + $.alter_table_change + ), + + alter_table_change: $ => choice( + commaSep1($.alter_table_action), + $.alter_table_rename_column, + $.alter_table_rename_constraint, + $.alter_table_rename_table, + $.alter_table_change_schema, + ), + + alter_table_action: $ => choice( + seq(kw("add"), $.table_constraint), + seq(kw("add"), optional(kw("column")), optional($.if_not_exists), $.table_column_item), + seq(kw("drop"), kw("constraint"), optional($.if_exists), $.identifier, optional($.alter_table_fk_ref_action)), + seq(kw("drop"), optional(kw("column")), optional($.if_exists), $.identifier, optional($.alter_table_fk_ref_action)), + seq(kw("alter"), optional(kw("column")), $.identifier, optional($.alter_column_action)), + ), + + alter_column_action: $ => choice( + seq(kw("set"), kw("default"), $._value_expression), + seq(kw("drop"), kw("default")), + seq(kw("set"), kw("not"), kw("null")), + seq(kw("drop"), kw("not"), kw("null")), + seq(kw("type"), $.alter_column_type), + seq(kw("set"), kw("data"), kw("type"), $.alter_column_type), + ), + + table_constraint: $ => choice( + seq($.table_constraint_ty, optional($.constraint_when)), + seq(kw("constraint"), $.identifier, $.table_constraint_ty, optional($.constraint_when)), + ), + + constraint_when: $ => choice( + kw("deferrable"), + seq(kw("deferrable"), kw("initially"), kw("immediate")), + seq(kw("deferrable"), kw("initially"), kw("deferred")), + ), + + table_constraint_ty: $ => choice( + seq(kw("check"), "(", $._value_expression, ")"), + seq(kw("unique"), $._list_of_identifiers), + seq(kw("primary"), kw("key"), $._list_of_identifiers), + seq(kw("foreign"), kw("key"), $._list_of_identifiers, $.constraint_foreign_key), + ), + + constraint_foreign_key: $ => seq( + kw("references"), $.identifier, + optional($._list_of_identifiers), repeat($.fk_action) + ), + + fk_action: $ => choice( + seq(kw("on"), kw("delete"), $.fk_ref_action), + seq(kw("on"), kw("update"), $.fk_ref_action), + ), + + fk_ref_action: $ => choice( + seq(kw("no"), kw("action")), + kw("restrict"), + kw("cascade"), + seq(kw("set"), kw("null")), + seq(kw("set"), kw("default")) + ), + + alter_column_type: $ => seq( + $._type, + optional(seq(kw("using"), $._value_expression)), + ), + alter_table_fk_ref_action: $ => choice(kw("restrict"), kw("cascade")), + table_column_item: $ => seq($.identifier, $._type, repeat($.column_constraint)), + + column_constraint: $ => choice( + seq(kw("constraint"), $.identifier, $.column_constraint_ty, optional($.constraint_when)), + seq($.column_constraint_ty, optional($.constraint_when)), + ), + + column_constraint_ty: $ => choice( + seq(kw("not"), kw("null")), + kw("null"), + seq(kw("check"), "(", $._value_expression, ")"), + seq(kw("default"), $._value_expression), + kw("unique"), + seq(kw("primary"), kw("key")), + $.constraint_foreign_key, + ), + + alter_table_rename_column: $ => seq( + kw("rename"), optional(kw("column")), + $.identifier, kw("to"), $.identifier, + ), + alter_table_rename_constraint: $ => seq( + kw("rename"), kw("constraint"), + $.identifier, kw("to"), $.identifier, + ), + alter_table_rename_table: $ => seq(kw("rename"), kw("to"), $.identifier), + alter_table_change_schema: $ => seq(kw("set"), kw("schema"), $.identifier), + + + grant_statement: $ => seq( + kw("grant"), $.grant_privileges, + kw("on"), $.grant_targets, + kw("to"), $.grant_roles, + ), + + grant_roles: $ => commaSep1(choice( + kw("public"), + kw("current_user"), + kw("session_user"), + seq(optional(kw("group")), $.identifier), + )), + + + grant_privileges: $ => choice( + seq(kw("all"), optional("privileges")), + commaSep1($.identifier), + ), + + grant_targets: $ => choice( + seq( + kw("all"), + choice(kw("tables"), kw("sequences"), kw("functions")), + kw("in"), kw("schema"), $.identifier + ), + seq(kw("sequence"), commaSep1($.identifier)), + seq(optional(kw("table")), commaSep1($.identifier)), + seq(kw("schema"), commaSep1($.identifier)), + seq( + choice(kw("function"), kw("procedure"), kw("routine")), + commaSep1($.grant_function), + ), + ), + + grant_function: $ => seq( + $.identifier, + "(", + commaSep1(seq(optional($.identifier), $._type)), + ")", + ), + + grant_all_in_schema: $ => seq(kw("in"), kw("schema")), + + psql_statement: $ => seq( + "\\", + repeat1($.identifier), + /[\n\r]/, + ), + + create_sequence_statement: $ => seq( + kw("create"), optional($.temporary), kw("sequence"), optional($.if_not_exists), + $.identifier, + repeat(choice( + $.as, + $.sequence_increment, + $.sequence_min, + $.sequence_max, + $.sequence_start, + $.sequence_cache, + $.sequence_cycle, + $.sequence_owned, + )), + ), + + sequence_increment: $ => seq(kw("increment"), optional(kw("by")), $.number), + sequence_min: $ => choice( + seq(kw("no"), kw("minvalue")), + seq(kw("minvalue"), $.number,), + ), + sequence_max: $ => choice( + seq(kw("no"), kw("maxvalue")), + seq(kw("maxvalue"), $.number,), + ), + sequence_start: $ => seq(kw("start"), optional(kw("with")), $.number), + sequence_cache: $ => seq(kw("cache"), $.number), + sequence_cycle: $ => seq(optional(kw("no")), kw("cycle")), + sequence_owned: $ => seq( + kw("owned"), kw("by"), + choice( + kw("none"), + $.identifier + ), + ), + + create_trigger_statement: $ => seq( + kw("create"), optional(kw("constraint")), kw("trigger"), + $.identifier, + $.trigger_when, $.trigger_event, + kw("on"), $.identifier, optional($.trigger_scope), + optional($.trigger_cond), + $.trigger_exec, + ), + + trigger_when: $ => choice( + kw("before"), + kw("after"), + kw("instead of"), + ), + + trigger_event: $ => separated1( + kw("or"), choice( + kw("insert"), + kw("update"), + kw("delete"), + kw("truncate"), + ), + ), + + trigger_scope: $ => seq( + optional(seq(kw("for"), optional(kw("each")))), + choice(kw("statement"), kw("row")), + ), + + trigger_exec: $ => seq( + kw("execute"), + optional(choice(kw("procedure"), kw("function"))), + $.function_call, + ), + + trigger_cond: $ => seq( + kw("when"), + "(", $._value_expression, ")", + ), + + _plpgsql_statement: $ => seq( + choice( + $._statement, + $.assign_statement, + $.return_statement, + $.execute_statement, + $.perform_statement, + ), + ";", + ), + + execute_statement: $ => seq( + kw("execute"), + $._value_expression, + optional($.into), + optional(seq(kw("using"), commaSep1($._value_expression))), + ), + assign_statement: $ => seq($.identifier, "=", $._value_expression), + return_statement: $ => seq(kw("return"), choice( + seq(kw("query"), $.select_statement), + $._value_expression), + ), + perform_statement: $ => seq(kw("perform"), commaSep($.select_item)), + + do_block: $ => seq( + kw("do"), + $.block, + ), + + select_statement: $ => prec.left(seq( + optional($.with_query), + kw("select"), + commaSep($.select_item), + optional($.into), + optional($.select_from), + optional($.select_where), + optional($.select_group_by), + optional($.select_having), + optional($.select_order_by), + optional($.select_limit), + )), + + with_query: $ => seq(kw("with"), commaSep1($.with_query_item)), + with_query_item: $ => seq( + $.identifier, + // TODO(chrde): columns + kw("as"), + optional(choice(kw("materialized"), seq(kw("not"), kw("materialized")))), + "(", $._with_query_statement, ")" + ), + + into: $ => seq(kw("into"), optional(kw("strict")), commaSep1($.identifier)), + select_having: $ => seq(kw("having"), $._value_expression), + select_limit: $ => choice( + seq(kw("limit"), $._value_expression, kw("offset"), $._value_expression), + seq(kw("limit"), kw("all"), kw("offset"), $._value_expression), + seq(kw("offset"), $._value_expression, kw("limit"), kw("all")), + seq(kw("offset"), $._value_expression, kw("limit"), $._value_expression), + ), + select_group_by: $ => seq(kw("group"), kw("by"), commaSep1($._value_expression)), + select_order_by: $ => seq(kw("order"), kw("by"), commaSep1($.order_by_item)), + order_by_item: $ => seq($._value_expression, optional($.order_by_direction)), + order_by_direction: $ => choice(kw("asc"), kw("desc")), + select_where: $ => $.where_filter, + select_item: $ => seq( + $._value_expression, + optional(kw("as")), + optional($.identifier) + ), + select_from: $ => seq(kw("from"), commaSep1($.from_item)), + from_item: $ => seq( + // TODO(chrde): https://www.postgresql.org/docs/current/sql-select.html + choice( + $.from_select, + $.from_table, + $.from_function, + ), + repeat($.join_item), + ), + from_select: $ => seq("(", $.select_statement, ")", optional(kw("as")), $.identifier), + from_table: $ => seq($.identifier, optional(kw("as")), optional($.identifier)), + from_function: $ => seq( + $.function_call, + optional(choice( + seq(kw("as"), $.identifier, optional($._list_of_identifiers)), + seq($.identifier, optional($._list_of_identifiers)), + seq(kw("as"), $._list_of_identifiers), + )), + ), + + join_item: $ => choice( + seq(kw("natural"), $.join_type, $.from_table), + seq($.join_type, $.from_table, $.join_condition), + seq(kw("cross"), kw("join"), $.from_table) + ), + join_condition: $ => choice( + seq(kw("on"), $._value_expression), + seq(kw("using"), $._list_of_identifiers) + ), + join_type: $ => seq( + choice( + optional(kw("inner")), + seq(kw("left"), optional(kw("outer"))), + seq(kw("right"), optional(kw("outer"))), + seq(kw("full"), optional(kw("outer"))), + ), + kw("join") ), create_function_statement: $ => seq( - kw("CREATE"), optional($.or_replace), kw("FUNCTION"), + kw("create"), optional($.or_replace), kw("function"), $.function_signature, - optional(seq(kw("RETURNS"), $.identifier)), - kw("AS"), $.block, - kw("LANGUAGE"), $.identifier, + $.function_return, + kw("as"), choice( + $.block, + $.string, + ), + kw("language"), choice($.identifier, $.string), optional($.function_volatility) ), + function_return: $ => seq( + kw("returns"), + choice( + $.identifier, + $.return_setof, + $.return_table, + ), + ), + return_setof: $ => seq(kw("setof"), $.identifier), + return_table: $ => seq(kw("table"), "(", commaSep1($.var_declaration), ")"), + function_volatility: $ => choice( - kw("IMMUTABLE"), - kw("STABLE"), - kw("VOLATILE"), + kw("immutable"), + kw("stable"), + kw("volatile"), ), block: $ => seq( $.dollar_quote, + repeat($.declarations), + $.body, $.dollar_quote, ), - dollar_quote: $ => delimited("$", optional($.identifier)), + body: $ => seq( + kw("begin"), + repeat($._plpgsql_statement), + kw("end"), + optional(";"), + ), + + dollar_quote: $ => seq("$", optional($.identifier), "$"), + + declarations: $ => seq( + kw("declare"), + repeat($.var_definition), + ), + + var_definition: $ => seq( + $.var_declaration, + optional(seq(":=", $._value_expression)), + ";", + ), function_signature: $ => seq( $.identifier, @@ -62,22 +551,144 @@ module.exports = grammar({ function_parameters: $ => seq( "(", - separated(",", $.function_parameter), + commaSep($.var_declaration), + optional(seq(kw("default"), field("default_value", ($._value_expression)))), ")" ), - function_parameter: $ => seq( + var_declaration: $ => seq( field("name", $.identifier), field("type", $._type), ), - or_replace: $ => seq("OR", "REPLACE"), + where_filter: $ => seq(kw("where"), $._value_expression), + or_replace: $ => seq(kw("or"), kw("replace")), + temporary: $ => choice(kw("temp"), kw("temporary")), + if_not_exists: $ => seq(kw("if"), kw("not"), kw("exists")), + if_exists: $ => seq(kw("if"), kw("exists")), + as: $ => seq(kw("as"), $.identifier), _type: $ => choice( + $.predefined_types, $.identifier, seq($._type, "[", "]"), ), +// predefined_type: +// | BIGINT { BigInt } +// | BIT VARYING? l = type_length? { BitVarying(l) } +// | BOOLEAN { Boolean } +// | CHAR VARYING? l = type_length? { Char(l) } +// | CHARACTER VARYING? l = type_length? { Char(l) } +// | DEC p = precision_param? { Dec(p) } +// | DECIMAL p = precision_param? { Decimal(p) } +// | DOUBLE PRECISION { Double } +// | FLOAT p = precision_param? { Float(p) } +// | INT { Int } +// | INTEGER { Integer } +// | INTERVAL interval = interval_field? l = type_length? { Interval(interval, l) } +// | NCHAR VARYING? l = type_length? { Nchar(l) } +// | NUMERIC p = precision_param? { Numeric(p) } +// | REAL { Real } +// | SMALLINT { SmallInt } +// | TEXT { Text } +// (* | TIME l = type_length? (1* NOTE(chrde): what here? *1) *) +// | TIME l = type_length? WITH TIME ZONE { TimeTz(l) } +// | TIME l = type_length? WITHOUT TIME ZONE { Time(l) } +// (* | TIMESTAMP l = type_length? (1* NOTE(chrde): what here? *1) *) +// | TIMESTAMP l = type_length? WITH TIME ZONE { TimestampTz(l) } +// | TIMESTAMPTZ l = type_length? { TimestampTz(l) } +// | TIMESTAMP l = type_length? WITHOUT TIME ZONE { Timestamp(l) } +// | VARCHAR l = type_length? { VarChar(l) } +// (* | schema_qualified_name_nontype (LEFT_PAREN vex (COMMA vex)* RIGHT_PAREN)? *) + // TODO(chrde): moar types!! + predefined_types: $ => choice( + seq(kw("numeric"), optional($.precision)) + ), + + precision: $ => seq("(", $.number, optional(seq(",", $.number)), ")"), + + string: $ => seq( + "'", + repeat(choice( + prec(1, /''/), + prec(2, /[^']/), + )), + "'", + ), + + // NOTE(chrde): taken from https://github.com/tree-sitter/tree-sitter-javascript/blob/1ddbf1588c353edab37791cdcc9f17e56fb4ea73/grammar.js#L899 + comment: $ => token(choice( + seq('--', /.*/), + seq( + '/*', + /[^*]*\*+([^/*][^*]*\*+)*/, + '/' + ) + )), + + _value_expression: $ => choice( + $.string, + $.number, + $.true, + $.false, + $.null, + $.star, + seq("(", $.select_statement, ")"), + seq("(", $._value_expression, ")"), + $.function_call, + $.op_expression, + $.time_expression, + $.identifier, + ), + + time_expression: $ => choice( + seq($.identifier, kw("at"), kw("time"), kw("zone"), $._value_expression), + ), + + function_call: $ => seq( + $.identifier, + "(", + choice( + $.select_statement, + commaSep($._value_expression), + ), + ")" + ), + + op_expression: $ => choice( + prec.left(12, seq($._value_expression, $.cast, $._value_expression)), + // array access + prec.right(10, seq(choice($.minus, $.plus), $._value_expression)), + // ^ + prec.left(8, seq($._value_expression, choice("*", "/", "%"), $._value_expression,)), + prec.left(7, seq($._value_expression, choice("-", "+"), $._value_expression,)), + prec.left(6, seq($._value_expression, $.other_op, $._value_expression)), + // between in like ilike similar + prec.left(4, seq($._value_expression, $.comparison_op, $._value_expression,)), + // is isnull notnull + prec.right(2, seq($.not, $._value_expression)), + prec.left(1, seq($._value_expression, choice($.and, $.or), $._value_expression,)), + ), + + _list_of_identifiers: $ => seq("(", commaSep($.identifier), ")"), + + // TODO(chrde): https://www.postgresql.org/docs/13/sql-syntax-lexical.html + comparison_op: $ => choice("<", ">", "=", "<=", ">=", "<>", "!="), + // TODO(chrde): this should be a regex + other_op: $ => choice("||"), + cast: $ => "::", + minus: $ => "-", + plus: $ => "+", + not: $ => kw("not"), + and: $ => kw("and"), + or: $ => kw("or"), + true: $ => kw("true"), + false: $ => kw("false"), + null: $ => kw("null"), + star: $ => "*", + any: $ => /.*/, + number: $ => /\d+/, identifier: $ => /[a-zA-Z0-9_]+[.a-zA-Z0-9_]*/, } }); diff --git a/src/grammar.json b/src/grammar.json index 6502564..69dcc7f 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -4,11 +4,103 @@ "source_file": { "type": "REPEAT", "content": { - "type": "SYMBOL", - "name": "_statement" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "psql_statement" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_statement" + }, + { + "type": "STRING", + "value": ";" + } + ] + } + ] } }, "_statement": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "psql_statement" + }, + { + "type": "SYMBOL", + "name": "create_function_statement" + }, + { + "type": "SYMBOL", + "name": "create_table_statement" + }, + { + "type": "SYMBOL", + "name": "create_schema_statement" + }, + { + "type": "SYMBOL", + "name": "select_statement" + }, + { + "type": "SYMBOL", + "name": "insert_statement" + }, + { + "type": "SYMBOL", + "name": "delete_statement" + }, + { + "type": "SYMBOL", + "name": "grant_statement" + }, + { + "type": "SYMBOL", + "name": "create_trigger_statement" + }, + { + "type": "SYMBOL", + "name": "create_sequence_statement" + }, + { + "type": "SYMBOL", + "name": "create_index_statement" + }, + { + "type": "SYMBOL", + "name": "alter_table_statement" + }, + { + "type": "SYMBOL", + "name": "do_block" + } + ] + }, + "_with_query_statement": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "select_statement" + }, + { + "type": "SYMBOL", + "name": "insert_statement" + }, + { + "type": "SYMBOL", + "name": "delete_statement" + } + ] + }, + "insert_statement": { "type": "SEQ", "members": [ { @@ -16,7 +108,4015 @@ "members": [ { "type": "SYMBOL", - "name": "create_function_statement" + "name": "with_query" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][sS][eE][rR][tT]" + }, + "named": false, + "value": "insert" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][tT][oO]" + }, + "named": false, + "value": "into" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "as" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "insert_items" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "insert_conflict" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "insert_returning" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "into" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "insert_items": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][aA][uU][lL][tT]" + }, + "named": false, + "value": "default" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[vV][aA][lL][uU][eE][sS]" + }, + "named": false, + "value": "values" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[vV][aA][lL][uU][eE][sS]" + }, + "named": false, + "value": "values" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "insert_item" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "insert_item" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + { + "type": "SYMBOL", + "name": "select_statement" + } + ] + }, + "insert_item": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][aA][uU][lL][tT]" + }, + "named": false, + "value": "default" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + "insert_conflict": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][nN]" + }, + "named": false, + "value": "on" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][nN][fF][lL][iI][cC][tT]" + }, + "named": false, + "value": "conflict" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "conflict_target" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][oO]" + }, + "named": false, + "value": "do" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO][tT][hH][iI][nN][gG]" + }, + "named": false, + "value": "nothing" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][nN]" + }, + "named": false, + "value": "on" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][nN][fF][lL][iI][cC][tT]" + }, + "named": false, + "value": "conflict" + }, + { + "type": "SYMBOL", + "name": "conflict_target" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][oO]" + }, + "named": false, + "value": "do" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][pP][dD][aA][tT][eE]" + }, + "named": false, + "value": "update" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][tT]" + }, + "named": false, + "value": "set" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "update_set" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "update_set" + } + ] + } + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "where_filter" + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + "conflict_target": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][nN]" + }, + "named": false, + "value": "on" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][nN][sS][tT][rR][aA][iI][nN][tT]" + }, + "named": false, + "value": "constraint" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + } + ] + }, + "update_set": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "STRING", + "value": "=" + }, + { + "type": "SYMBOL", + "name": "update_value" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + }, + { + "type": "STRING", + "value": "=" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][oO][wW]" + }, + "named": false, + "value": "row" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "update_value" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "update_value" + } + ] + } + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + } + ] + }, + "update_value": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][aA][uU][lL][tT]" + }, + "named": false, + "value": "default" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + "insert_returning": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][tT][uU][rR][nN][iI][nN][gG]" + }, + "named": false, + "value": "returning" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "select_item" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "select_item" + } + ] + } + } + ] + } + ] + }, + "create_table_statement": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][rR][eE][aA][tT][eE]" + }, + "named": false, + "value": "create" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "temporary" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][nN][lL][oO][gG][gG][eE][dD]" + }, + "named": false, + "value": "unlogged" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][aA][bB][lL][eE]" + }, + "named": false, + "value": "table" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "if_not_exists" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "create_table_item" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "create_table_item" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + "create_table_item": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "table_column_item" + }, + { + "type": "SYMBOL", + "name": "table_constraint" + } + ] + }, + "create_schema_statement": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][rR][eE][aA][tT][eE]" + }, + "named": false, + "value": "create" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][cC][hH][eE][mM][aA]" + }, + "named": false, + "value": "schema" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "if_not_exists" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "schema_role" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SYMBOL", + "name": "schema_role" + } + ] + } + ] + }, + "schema_role": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][uU][tT][hH][oO][rR][iI][zZ][aA][tT][iI][oO][nN]" + }, + "named": false, + "value": "authorization" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][uU][rR][rR][eE][nN][tT][__][uU][sS][eE][rR]" + }, + "named": false, + "value": "current_user" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][sS][sS][iI][oO][nN][__][uU][sS][eE][rR]" + }, + "named": false, + "value": "session_user" + } + ] + } + ] + }, + "create_index_statement": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][rR][eE][aA][tT][eE]" + }, + "named": false, + "value": "create" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][nN][iI][qQ][uU][eE]" + }, + "named": false, + "value": "unique" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][dD][eE][xX]" + }, + "named": false, + "value": "index" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][nN][cC][uU][rR][rR][eE][nN][tT][lL][yY]" + }, + "named": false, + "value": "concurrently" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "if_not_exists" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][nN]" + }, + "named": false, + "value": "on" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "index_using" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "index_col" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "index_col" + } + ] + } + } + ] + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "index_includes" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "where_filter" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "index_using": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][sS][iI][nN][gG]" + }, + "named": false, + "value": "using" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + }, + "index_col": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "index_col_dir" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "index_col_nulls" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "index_col_dir" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "index_col_nulls" + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + "index_col_dir": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS][cC]" + }, + "named": false, + "value": "asc" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][sS][cC]" + }, + "named": false, + "value": "desc" + } + ] + }, + "index_col_nulls": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][uU][lL][lL][sS]" + }, + "named": false, + "value": "nulls" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[fF][iI][rR][sS][tT]" + }, + "named": false, + "value": "first" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][uU][lL][lL][sS]" + }, + "named": false, + "value": "nulls" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[lL][aA][sS][tT]" + }, + "named": false, + "value": "last" + } + ] + } + ] + }, + "index_includes": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][cC][lL][uU][dD][eE]" + }, + "named": false, + "value": "include" + }, + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + } + ] + }, + "delete_statement": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "with_query" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][lL][eE][tT][eE]" + }, + "named": false, + "value": "delete" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[fF][rR][oO][mM]" + }, + "named": false, + "value": "from" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS]" + }, + "named": false, + "value": "as" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "delete_using" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "where_filter" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][tT][uU][rR][nN][iI][nN][gG]" + }, + "named": false, + "value": "returning" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "select_item" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "select_item" + } + ] + } + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "into" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "delete_using": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][sS][iI][nN][gG]" + }, + "named": false, + "value": "using" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "from_item" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "from_item" + } + ] + } + } + ] + } + ] + }, + "alter_table_statement": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][lL][tT][eE][rR]" + }, + "named": false, + "value": "alter" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][aA][bB][lL][eE]" + }, + "named": false, + "value": "table" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "if_exists" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "alter_table_change" + } + ] + }, + "alter_table_change": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "alter_table_action" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "alter_table_action" + } + ] + } + } + ] + }, + { + "type": "SYMBOL", + "name": "alter_table_rename_column" + }, + { + "type": "SYMBOL", + "name": "alter_table_rename_constraint" + }, + { + "type": "SYMBOL", + "name": "alter_table_rename_table" + }, + { + "type": "SYMBOL", + "name": "alter_table_change_schema" + } + ] + }, + "alter_table_action": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][dD][dD]" + }, + "named": false, + "value": "add" + }, + { + "type": "SYMBOL", + "name": "table_constraint" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][dD][dD]" + }, + "named": false, + "value": "add" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][lL][uU][mM][nN]" + }, + "named": false, + "value": "column" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "if_not_exists" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "table_column_item" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][rR][oO][pP]" + }, + "named": false, + "value": "drop" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][nN][sS][tT][rR][aA][iI][nN][tT]" + }, + "named": false, + "value": "constraint" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "if_exists" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "alter_table_fk_ref_action" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][rR][oO][pP]" + }, + "named": false, + "value": "drop" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][lL][uU][mM][nN]" + }, + "named": false, + "value": "column" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "if_exists" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "alter_table_fk_ref_action" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][lL][tT][eE][rR]" + }, + "named": false, + "value": "alter" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][lL][uU][mM][nN]" + }, + "named": false, + "value": "column" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "alter_column_action" + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + "alter_column_action": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][tT]" + }, + "named": false, + "value": "set" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][aA][uU][lL][tT]" + }, + "named": false, + "value": "default" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][rR][oO][pP]" + }, + "named": false, + "value": "drop" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][aA][uU][lL][tT]" + }, + "named": false, + "value": "default" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][tT]" + }, + "named": false, + "value": "set" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO][tT]" + }, + "named": false, + "value": "not" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][uU][lL][lL]" + }, + "named": false, + "value": "null" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][rR][oO][pP]" + }, + "named": false, + "value": "drop" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO][tT]" + }, + "named": false, + "value": "not" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][uU][lL][lL]" + }, + "named": false, + "value": "null" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][yY][pP][eE]" + }, + "named": false, + "value": "type" + }, + { + "type": "SYMBOL", + "name": "alter_column_type" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][tT]" + }, + "named": false, + "value": "set" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][aA][tT][aA]" + }, + "named": false, + "value": "data" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][yY][pP][eE]" + }, + "named": false, + "value": "type" + }, + { + "type": "SYMBOL", + "name": "alter_column_type" + } + ] + } + ] + }, + "table_constraint": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "table_constraint_ty" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "constraint_when" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][nN][sS][tT][rR][aA][iI][nN][tT]" + }, + "named": false, + "value": "constraint" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "table_constraint_ty" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "constraint_when" + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + "constraint_when": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][eE][rR][rR][aA][bB][lL][eE]" + }, + "named": false, + "value": "deferrable" + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][eE][rR][rR][aA][bB][lL][eE]" + }, + "named": false, + "value": "deferrable" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][iI][tT][iI][aA][lL][lL][yY]" + }, + "named": false, + "value": "initially" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][mM][mM][eE][dD][iI][aA][tT][eE]" + }, + "named": false, + "value": "immediate" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][eE][rR][rR][aA][bB][lL][eE]" + }, + "named": false, + "value": "deferrable" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][iI][tT][iI][aA][lL][lL][yY]" + }, + "named": false, + "value": "initially" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][eE][rR][rR][eE][dD]" + }, + "named": false, + "value": "deferred" + } + ] + } + ] + }, + "table_constraint_ty": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][hH][eE][cC][kK]" + }, + "named": false, + "value": "check" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][nN][iI][qQ][uU][eE]" + }, + "named": false, + "value": "unique" + }, + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[pP][rR][iI][mM][aA][rR][yY]" + }, + "named": false, + "value": "primary" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[kK][eE][yY]" + }, + "named": false, + "value": "key" + }, + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[fF][oO][rR][eE][iI][gG][nN]" + }, + "named": false, + "value": "foreign" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[kK][eE][yY]" + }, + "named": false, + "value": "key" + }, + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + }, + { + "type": "SYMBOL", + "name": "constraint_foreign_key" + } + ] + } + ] + }, + "constraint_foreign_key": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][fF][eE][rR][eE][nN][cC][eE][sS]" + }, + "named": false, + "value": "references" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "fk_action" + } + } + ] + }, + "fk_action": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][nN]" + }, + "named": false, + "value": "on" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][lL][eE][tT][eE]" + }, + "named": false, + "value": "delete" + }, + { + "type": "SYMBOL", + "name": "fk_ref_action" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][nN]" + }, + "named": false, + "value": "on" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][pP][dD][aA][tT][eE]" + }, + "named": false, + "value": "update" + }, + { + "type": "SYMBOL", + "name": "fk_ref_action" + } + ] + } + ] + }, + "fk_ref_action": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO]" + }, + "named": false, + "value": "no" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][cC][tT][iI][oO][nN]" + }, + "named": false, + "value": "action" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][sS][tT][rR][iI][cC][tT]" + }, + "named": false, + "value": "restrict" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][aA][sS][cC][aA][dD][eE]" + }, + "named": false, + "value": "cascade" + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][tT]" + }, + "named": false, + "value": "set" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][uU][lL][lL]" + }, + "named": false, + "value": "null" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][tT]" + }, + "named": false, + "value": "set" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][aA][uU][lL][tT]" + }, + "named": false, + "value": "default" + } + ] + } + ] + }, + "alter_column_type": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_type" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][sS][iI][nN][gG]" + }, + "named": false, + "value": "using" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "alter_table_fk_ref_action": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][sS][tT][rR][iI][cC][tT]" + }, + "named": false, + "value": "restrict" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][aA][sS][cC][aA][dD][eE]" + }, + "named": false, + "value": "cascade" + } + ] + }, + "table_column_item": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "_type" + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "column_constraint" + } + } + ] + }, + "column_constraint": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][nN][sS][tT][rR][aA][iI][nN][tT]" + }, + "named": false, + "value": "constraint" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "column_constraint_ty" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "constraint_when" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "column_constraint_ty" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "constraint_when" + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + "column_constraint_ty": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO][tT]" + }, + "named": false, + "value": "not" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][uU][lL][lL]" + }, + "named": false, + "value": "null" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][uU][lL][lL]" + }, + "named": false, + "value": "null" + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][hH][eE][cC][kK]" + }, + "named": false, + "value": "check" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][aA][uU][lL][tT]" + }, + "named": false, + "value": "default" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][nN][iI][qQ][uU][eE]" + }, + "named": false, + "value": "unique" + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[pP][rR][iI][mM][aA][rR][yY]" + }, + "named": false, + "value": "primary" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[kK][eE][yY]" + }, + "named": false, + "value": "key" + } + ] + }, + { + "type": "SYMBOL", + "name": "constraint_foreign_key" + } + ] + }, + "alter_table_rename_column": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][nN][aA][mM][eE]" + }, + "named": false, + "value": "rename" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][lL][uU][mM][nN]" + }, + "named": false, + "value": "column" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][oO]" + }, + "named": false, + "value": "to" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + }, + "alter_table_rename_constraint": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][nN][aA][mM][eE]" + }, + "named": false, + "value": "rename" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][nN][sS][tT][rR][aA][iI][nN][tT]" + }, + "named": false, + "value": "constraint" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][oO]" + }, + "named": false, + "value": "to" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + }, + "alter_table_rename_table": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][nN][aA][mM][eE]" + }, + "named": false, + "value": "rename" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][oO]" + }, + "named": false, + "value": "to" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + }, + "alter_table_change_schema": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][tT]" + }, + "named": false, + "value": "set" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][cC][hH][eE][mM][aA]" + }, + "named": false, + "value": "schema" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + }, + "grant_statement": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[gG][rR][aA][nN][tT]" + }, + "named": false, + "value": "grant" + }, + { + "type": "SYMBOL", + "name": "grant_privileges" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][nN]" + }, + "named": false, + "value": "on" + }, + { + "type": "SYMBOL", + "name": "grant_targets" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][oO]" + }, + "named": false, + "value": "to" + }, + { + "type": "SYMBOL", + "name": "grant_roles" + } + ] + }, + "grant_roles": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[pP][uU][bB][lL][iI][cC]" + }, + "named": false, + "value": "public" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][uU][rR][rR][eE][nN][tT][__][uU][sS][eE][rR]" + }, + "named": false, + "value": "current_user" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][sS][sS][iI][oO][nN][__][uU][sS][eE][rR]" + }, + "named": false, + "value": "session_user" + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[gG][rR][oO][uU][pP]" + }, + "named": false, + "value": "group" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[pP][uU][bB][lL][iI][cC]" + }, + "named": false, + "value": "public" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][uU][rR][rR][eE][nN][tT][__][uU][sS][eE][rR]" + }, + "named": false, + "value": "current_user" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][sS][sS][iI][oO][nN][__][uU][sS][eE][rR]" + }, + "named": false, + "value": "session_user" + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[gG][rR][oO][uU][pP]" + }, + "named": false, + "value": "group" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + ] + } + ] + } + } + ] + }, + "grant_privileges": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][lL][lL]" + }, + "named": false, + "value": "all" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "privileges" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + } + ] + } + ] + }, + "grant_targets": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][lL][lL]" + }, + "named": false, + "value": "all" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][aA][bB][lL][eE][sS]" + }, + "named": false, + "value": "tables" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][qQ][uU][eE][nN][cC][eE][sS]" + }, + "named": false, + "value": "sequences" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[fF][uU][nN][cC][tT][iI][oO][nN][sS]" + }, + "named": false, + "value": "functions" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN]" + }, + "named": false, + "value": "in" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][cC][hH][eE][mM][aA]" + }, + "named": false, + "value": "schema" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][qQ][uU][eE][nN][cC][eE]" + }, + "named": false, + "value": "sequence" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][aA][bB][lL][eE]" + }, + "named": false, + "value": "table" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][cC][hH][eE][mM][aA]" + }, + "named": false, + "value": "schema" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[fF][uU][nN][cC][tT][iI][oO][nN]" + }, + "named": false, + "value": "function" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[pP][rR][oO][cC][eE][dD][uU][rR][eE]" + }, + "named": false, + "value": "procedure" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][oO][uU][tT][iI][nN][eE]" + }, + "named": false, + "value": "routine" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "grant_function" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "grant_function" + } + ] + } + } + ] + } + ] + } + ] + }, + "grant_function": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "_type" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "_type" + } + ] + } + ] + } + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + "grant_all_in_schema": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN]" + }, + "named": false, + "value": "in" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][cC][hH][eE][mM][aA]" + }, + "named": false, + "value": "schema" + } + ] + }, + "psql_statement": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "\\" + }, + { + "type": "REPEAT1", + "content": { + "type": "SYMBOL", + "name": "identifier" + } + }, + { + "type": "PATTERN", + "value": "[\\n\\r]" + } + ] + }, + "create_sequence_statement": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][rR][eE][aA][tT][eE]" + }, + "named": false, + "value": "create" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "temporary" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][qQ][uU][eE][nN][cC][eE]" + }, + "named": false, + "value": "sequence" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "if_not_exists" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "as" + }, + { + "type": "SYMBOL", + "name": "sequence_increment" + }, + { + "type": "SYMBOL", + "name": "sequence_min" + }, + { + "type": "SYMBOL", + "name": "sequence_max" + }, + { + "type": "SYMBOL", + "name": "sequence_start" + }, + { + "type": "SYMBOL", + "name": "sequence_cache" + }, + { + "type": "SYMBOL", + "name": "sequence_cycle" + }, + { + "type": "SYMBOL", + "name": "sequence_owned" + } + ] + } + } + ] + }, + "sequence_increment": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][cC][rR][eE][mM][eE][nN][tT]" + }, + "named": false, + "value": "increment" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[bB][yY]" + }, + "named": false, + "value": "by" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "number" + } + ] + }, + "sequence_min": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO]" + }, + "named": false, + "value": "no" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[mM][iI][nN][vV][aA][lL][uU][eE]" + }, + "named": false, + "value": "minvalue" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[mM][iI][nN][vV][aA][lL][uU][eE]" + }, + "named": false, + "value": "minvalue" + }, + { + "type": "SYMBOL", + "name": "number" + } + ] + } + ] + }, + "sequence_max": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO]" + }, + "named": false, + "value": "no" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[mM][aA][xX][vV][aA][lL][uU][eE]" + }, + "named": false, + "value": "maxvalue" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[mM][aA][xX][vV][aA][lL][uU][eE]" + }, + "named": false, + "value": "maxvalue" + }, + { + "type": "SYMBOL", + "name": "number" + } + ] + } + ] + }, + "sequence_start": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][tT][aA][rR][tT]" + }, + "named": false, + "value": "start" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[wW][iI][tT][hH]" + }, + "named": false, + "value": "with" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "number" + } + ] + }, + "sequence_cache": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][aA][cC][hH][eE]" + }, + "named": false, + "value": "cache" + }, + { + "type": "SYMBOL", + "name": "number" + } + ] + }, + "sequence_cycle": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO]" + }, + "named": false, + "value": "no" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][yY][cC][lL][eE]" + }, + "named": false, + "value": "cycle" + } + ] + }, + "sequence_owned": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][wW][nN][eE][dD]" + }, + "named": false, + "value": "owned" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[bB][yY]" + }, + "named": false, + "value": "by" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO][nN][eE]" + }, + "named": false, + "value": "none" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + ] + }, + "create_trigger_statement": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][rR][eE][aA][tT][eE]" + }, + "named": false, + "value": "create" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][oO][nN][sS][tT][rR][aA][iI][nN][tT]" + }, + "named": false, + "value": "constraint" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][rR][iI][gG][gG][eE][rR]" + }, + "named": false, + "value": "trigger" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "trigger_when" + }, + { + "type": "SYMBOL", + "name": "trigger_event" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][nN]" + }, + "named": false, + "value": "on" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "trigger_scope" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "trigger_cond" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "trigger_exec" + } + ] + }, + "trigger_when": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[bB][eE][fF][oO][rR][eE]" + }, + "named": false, + "value": "before" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][fF][tT][eE][rR]" + }, + "named": false, + "value": "after" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][sS][tT][eE][aA][dD][ ][oO][fF]" + }, + "named": false, + "value": "instead of" + } + ] + }, + "trigger_event": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][sS][eE][rR][tT]" + }, + "named": false, + "value": "insert" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][pP][dD][aA][tT][eE]" + }, + "named": false, + "value": "update" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][lL][eE][tT][eE]" + }, + "named": false, + "value": "delete" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][rR][uU][nN][cC][aA][tT][eE]" + }, + "named": false, + "value": "truncate" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][rR]" + }, + "named": false, + "value": "or" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][sS][eE][rR][tT]" + }, + "named": false, + "value": "insert" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][pP][dD][aA][tT][eE]" + }, + "named": false, + "value": "update" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][lL][eE][tT][eE]" + }, + "named": false, + "value": "delete" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][rR][uU][nN][cC][aA][tT][eE]" + }, + "named": false, + "value": "truncate" + } + ] + } + ] + } + } + ] + }, + "trigger_scope": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[fF][oO][rR]" + }, + "named": false, + "value": "for" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[eE][aA][cC][hH]" + }, + "named": false, + "value": "each" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][tT][aA][tT][eE][mM][eE][nN][tT]" + }, + "named": false, + "value": "statement" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][oO][wW]" + }, + "named": false, + "value": "row" + } + ] + } + ] + }, + "trigger_exec": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[eE][xX][eE][cC][uU][tT][eE]" + }, + "named": false, + "value": "execute" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[pP][rR][oO][cC][eE][dD][uU][rR][eE]" + }, + "named": false, + "value": "procedure" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[fF][uU][nN][cC][tT][iI][oO][nN]" + }, + "named": false, + "value": "function" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "function_call" + } + ] + }, + "trigger_cond": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[wW][hH][eE][nN]" + }, + "named": false, + "value": "when" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + "_plpgsql_statement": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_statement" + }, + { + "type": "SYMBOL", + "name": "assign_statement" + }, + { + "type": "SYMBOL", + "name": "return_statement" + }, + { + "type": "SYMBOL", + "name": "execute_statement" + }, + { + "type": "SYMBOL", + "name": "perform_statement" } ] }, @@ -26,6 +4126,1338 @@ } ] }, + "execute_statement": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[eE][xX][eE][cC][uU][tT][eE]" + }, + "named": false, + "value": "execute" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "into" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][sS][iI][nN][gG]" + }, + "named": false, + "value": "using" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "assign_statement": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "STRING", + "value": "=" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + "return_statement": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][tT][uU][rR][nN]" + }, + "named": false, + "value": "return" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[qQ][uU][eE][rR][yY]" + }, + "named": false, + "value": "query" + }, + { + "type": "SYMBOL", + "name": "select_statement" + } + ] + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + ] + }, + "perform_statement": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[pP][eE][rR][fF][oO][rR][mM]" + }, + "named": false, + "value": "perform" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "select_item" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "select_item" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "do_block": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][oO]" + }, + "named": false, + "value": "do" + }, + { + "type": "SYMBOL", + "name": "block" + } + ] + }, + "select_statement": { + "type": "PREC_LEFT", + "value": 0, + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "with_query" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][lL][eE][cC][tT]" + }, + "named": false, + "value": "select" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "select_item" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "select_item" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "into" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "select_from" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "select_where" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "select_group_by" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "select_having" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "select_order_by" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "select_limit" + }, + { + "type": "BLANK" + } + ] + } + ] + } + }, + "with_query": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[wW][iI][tT][hH]" + }, + "named": false, + "value": "with" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "with_query_item" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "with_query_item" + } + ] + } + } + ] + } + ] + }, + "with_query_item": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS]" + }, + "named": false, + "value": "as" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[mM][aA][tT][eE][rR][iI][aA][lL][iI][zZ][eE][dD]" + }, + "named": false, + "value": "materialized" + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO][tT]" + }, + "named": false, + "value": "not" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[mM][aA][tT][eE][rR][iI][aA][lL][iI][zZ][eE][dD]" + }, + "named": false, + "value": "materialized" + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "_with_query_statement" + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + "into": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][tT][oO]" + }, + "named": false, + "value": "into" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][tT][rR][iI][cC][tT]" + }, + "named": false, + "value": "strict" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + } + ] + } + ] + }, + "select_having": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[hH][aA][vV][iI][nN][gG]" + }, + "named": false, + "value": "having" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + "select_limit": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[lL][iI][mM][iI][tT]" + }, + "named": false, + "value": "limit" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][fF][fF][sS][eE][tT]" + }, + "named": false, + "value": "offset" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[lL][iI][mM][iI][tT]" + }, + "named": false, + "value": "limit" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][lL][lL]" + }, + "named": false, + "value": "all" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][fF][fF][sS][eE][tT]" + }, + "named": false, + "value": "offset" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][fF][fF][sS][eE][tT]" + }, + "named": false, + "value": "offset" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[lL][iI][mM][iI][tT]" + }, + "named": false, + "value": "limit" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][lL][lL]" + }, + "named": false, + "value": "all" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][fF][fF][sS][eE][tT]" + }, + "named": false, + "value": "offset" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[lL][iI][mM][iI][tT]" + }, + "named": false, + "value": "limit" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + ] + }, + "select_group_by": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[gG][rR][oO][uU][pP]" + }, + "named": false, + "value": "group" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[bB][yY]" + }, + "named": false, + "value": "by" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + } + ] + } + ] + }, + "select_order_by": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][rR][dD][eE][rR]" + }, + "named": false, + "value": "order" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[bB][yY]" + }, + "named": false, + "value": "by" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "order_by_item" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "order_by_item" + } + ] + } + } + ] + } + ] + }, + "order_by_item": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "order_by_direction" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "order_by_direction": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS][cC]" + }, + "named": false, + "value": "asc" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][sS][cC]" + }, + "named": false, + "value": "desc" + } + ] + }, + "select_where": { + "type": "SYMBOL", + "name": "where_filter" + }, + "select_item": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS]" + }, + "named": false, + "value": "as" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "select_from": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[fF][rR][oO][mM]" + }, + "named": false, + "value": "from" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "from_item" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "from_item" + } + ] + } + } + ] + } + ] + }, + "from_item": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "from_select" + }, + { + "type": "SYMBOL", + "name": "from_table" + }, + { + "type": "SYMBOL", + "name": "from_function" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "join_item" + } + } + ] + }, + "from_select": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "select_statement" + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS]" + }, + "named": false, + "value": "as" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + }, + "from_table": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS]" + }, + "named": false, + "value": "as" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "from_function": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "function_call" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS]" + }, + "named": false, + "value": "as" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS]" + }, + "named": false, + "value": "as" + }, + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "join_item": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][aA][tT][uU][rR][aA][lL]" + }, + "named": false, + "value": "natural" + }, + { + "type": "SYMBOL", + "name": "join_type" + }, + { + "type": "SYMBOL", + "name": "from_table" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "join_type" + }, + { + "type": "SYMBOL", + "name": "from_table" + }, + { + "type": "SYMBOL", + "name": "join_condition" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[cC][rR][oO][sS][sS]" + }, + "named": false, + "value": "cross" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[jJ][oO][iI][nN]" + }, + "named": false, + "value": "join" + }, + { + "type": "SYMBOL", + "name": "from_table" + } + ] + } + ] + }, + "join_condition": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][nN]" + }, + "named": false, + "value": "on" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[uU][sS][iI][nN][gG]" + }, + "named": false, + "value": "using" + }, + { + "type": "SYMBOL", + "name": "_list_of_identifiers" + } + ] + } + ] + }, + "join_type": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][nN][nN][eE][rR]" + }, + "named": false, + "value": "inner" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[lL][eE][fF][tT]" + }, + "named": false, + "value": "left" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][uU][tT][eE][rR]" + }, + "named": false, + "value": "outer" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][iI][gG][hH][tT]" + }, + "named": false, + "value": "right" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][uU][tT][eE][rR]" + }, + "named": false, + "value": "outer" + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[fF][uU][lL][lL]" + }, + "named": false, + "value": "full" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][uU][tT][eE][rR]" + }, + "named": false, + "value": "outer" + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[jJ][oO][iI][nN]" + }, + "named": false, + "value": "join" + } + ] + }, "create_function_statement": { "type": "SEQ", "members": [ @@ -33,10 +5465,10 @@ "type": "ALIAS", "content": { "type": "PATTERN", - "value": "CREATE" + "value": "[cC][rR][eE][aA][tT][eE]" }, "named": false, - "value": "CREATE" + "value": "create" }, { "type": "CHOICE", @@ -54,38 +5486,38 @@ "type": "ALIAS", "content": { "type": "PATTERN", - "value": "FUNCTION" + "value": "[fF][uU][nN][cC][tT][iI][oO][nN]" }, "named": false, - "value": "FUNCTION" + "value": "function" }, { "type": "SYMBOL", "name": "function_signature" }, + { + "type": "SYMBOL", + "name": "function_return" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS]" + }, + "named": false, + "value": "as" + }, { "type": "CHOICE", "members": [ { - "type": "SEQ", - "members": [ - { - "type": "ALIAS", - "content": { - "type": "PATTERN", - "value": "RETURNS" - }, - "named": false, - "value": "RETURNS" - }, - { - "type": "SYMBOL", - "name": "identifier" - } - ] + "type": "SYMBOL", + "name": "block" }, { - "type": "BLANK" + "type": "SYMBOL", + "name": "string" } ] }, @@ -93,27 +5525,23 @@ "type": "ALIAS", "content": { "type": "PATTERN", - "value": "AS" + "value": "[lL][aA][nN][gG][uU][aA][gG][eE]" }, "named": false, - "value": "AS" + "value": "language" }, { - "type": "SYMBOL", - "name": "block" - }, - { - "type": "ALIAS", - "content": { - "type": "PATTERN", - "value": "LANGUAGE" - }, - "named": false, - "value": "LANGUAGE" - }, - { - "type": "SYMBOL", - "name": "identifier" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "string" + } + ] }, { "type": "CHOICE", @@ -129,6 +5557,102 @@ } ] }, + "function_return": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][tT][uU][rR][nN][sS]" + }, + "named": false, + "value": "returns" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "return_setof" + }, + { + "type": "SYMBOL", + "name": "return_table" + } + ] + } + ] + }, + "return_setof": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[sS][eE][tT][oO][fF]" + }, + "named": false, + "value": "setof" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + }, + "return_table": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][aA][bB][lL][eE]" + }, + "named": false, + "value": "table" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "var_declaration" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "var_declaration" + } + ] + } + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + }, "function_volatility": { "type": "CHOICE", "members": [ @@ -136,28 +5660,28 @@ "type": "ALIAS", "content": { "type": "PATTERN", - "value": "IMMUTABLE" + "value": "[iI][mM][mM][uU][tT][aA][bB][lL][eE]" }, "named": false, - "value": "IMMUTABLE" + "value": "immutable" }, { "type": "ALIAS", "content": { "type": "PATTERN", - "value": "STABLE" + "value": "[sS][tT][aA][bB][lL][eE]" }, "named": false, - "value": "STABLE" + "value": "stable" }, { "type": "ALIAS", "content": { "type": "PATTERN", - "value": "VOLATILE" + "value": "[vV][oO][lL][aA][tT][iI][lL][eE]" }, "named": false, - "value": "VOLATILE" + "value": "volatile" } ] }, @@ -168,12 +5692,65 @@ "type": "SYMBOL", "name": "dollar_quote" }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "declarations" + } + }, + { + "type": "SYMBOL", + "name": "body" + }, { "type": "SYMBOL", "name": "dollar_quote" } ] }, + "body": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[bB][eE][gG][iI][nN]" + }, + "named": false, + "value": "begin" + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_plpgsql_statement" + } + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[eE][nN][dD]" + }, + "named": false, + "value": "end" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": ";" + }, + { + "type": "BLANK" + } + ] + } + ] + }, "dollar_quote": { "type": "SEQ", "members": [ @@ -199,6 +5776,61 @@ } ] }, + "declarations": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][cC][lL][aA][rR][eE]" + }, + "named": false, + "value": "declare" + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "var_definition" + } + } + ] + }, + "var_definition": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "var_declaration" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": ":=" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ";" + } + ] + }, "function_signature": { "type": "SEQ", "members": [ @@ -222,27 +5854,15 @@ { "type": "CHOICE", "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "function_parameter" - }, - { - "type": "BLANK" - } - ] - }, { "type": "SEQ", "members": [ { "type": "SYMBOL", - "name": "function_parameter" + "name": "var_declaration" }, { - "type": "REPEAT1", + "type": "REPEAT", "content": { "type": "SEQ", "members": [ @@ -252,12 +5872,45 @@ }, { "type": "SYMBOL", - "name": "function_parameter" + "name": "var_declaration" } ] } } ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[dD][eE][fF][aA][uU][lL][tT]" + }, + "named": false, + "value": "default" + }, + { + "type": "FIELD", + "name": "default_value", + "content": { + "type": "SYMBOL", + "name": "_value_expression" + } + } + ] + }, + { + "type": "BLANK" } ] }, @@ -267,7 +5920,7 @@ } ] }, - "function_parameter": { + "var_declaration": { "type": "SEQ", "members": [ { @@ -288,22 +5941,150 @@ } ] }, + "where_filter": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[wW][hH][eE][rR][eE]" + }, + "named": false, + "value": "where" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + }, "or_replace": { "type": "SEQ", "members": [ { - "type": "STRING", - "value": "OR" + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][rR]" + }, + "named": false, + "value": "or" }, { - "type": "STRING", - "value": "REPLACE" + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[rR][eE][pP][lL][aA][cC][eE]" + }, + "named": false, + "value": "replace" + } + ] + }, + "temporary": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][eE][mM][pP]" + }, + "named": false, + "value": "temp" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][eE][mM][pP][oO][rR][aA][rR][yY]" + }, + "named": false, + "value": "temporary" + } + ] + }, + "if_not_exists": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][fF]" + }, + "named": false, + "value": "if" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO][tT]" + }, + "named": false, + "value": "not" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[eE][xX][iI][sS][tT][sS]" + }, + "named": false, + "value": "exists" + } + ] + }, + "if_exists": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[iI][fF]" + }, + "named": false, + "value": "if" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[eE][xX][iI][sS][tT][sS]" + }, + "named": false, + "value": "exists" + } + ] + }, + "as": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][sS]" + }, + "named": false, + "value": "as" + }, + { + "type": "SYMBOL", + "name": "identifier" } ] }, "_type": { "type": "CHOICE", "members": [ + { + "type": "SYMBOL", + "name": "predefined_types" + }, { "type": "SYMBOL", "name": "identifier" @@ -327,15 +6108,717 @@ } ] }, + "predefined_types": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][uU][mM][eE][rR][iI][cC]" + }, + "named": false, + "value": "numeric" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "precision" + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + "precision": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "number" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "number" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + "string": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "'" + }, + { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "PREC", + "value": 1, + "content": { + "type": "PATTERN", + "value": "''" + } + }, + { + "type": "PREC", + "value": 2, + "content": { + "type": "PATTERN", + "value": "[^']" + } + } + ] + } + }, + { + "type": "STRING", + "value": "'" + } + ] + }, + "comment": { + "type": "TOKEN", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "--" + }, + { + "type": "PATTERN", + "value": ".*" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "/*" + }, + { + "type": "PATTERN", + "value": "[^*]*\\*+([^/*][^*]*\\*+)*" + }, + { + "type": "STRING", + "value": "/" + } + ] + } + ] + } + }, + "_value_expression": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "string" + }, + { + "type": "SYMBOL", + "name": "number" + }, + { + "type": "SYMBOL", + "name": "true" + }, + { + "type": "SYMBOL", + "name": "false" + }, + { + "type": "SYMBOL", + "name": "null" + }, + { + "type": "SYMBOL", + "name": "star" + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "select_statement" + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + { + "type": "SYMBOL", + "name": "function_call" + }, + { + "type": "SYMBOL", + "name": "op_expression" + }, + { + "type": "SYMBOL", + "name": "time_expression" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + }, + "time_expression": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][tT]" + }, + "named": false, + "value": "at" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][iI][mM][eE]" + }, + "named": false, + "value": "time" + }, + { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[zZ][oO][nN][eE]" + }, + "named": false, + "value": "zone" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + ] + }, + "function_call": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "select_statement" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + "op_expression": { + "type": "CHOICE", + "members": [ + { + "type": "PREC_LEFT", + "value": 12, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "SYMBOL", + "name": "cast" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + }, + { + "type": "PREC_RIGHT", + "value": 10, + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "minus" + }, + { + "type": "SYMBOL", + "name": "plus" + } + ] + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + }, + { + "type": "PREC_LEFT", + "value": 8, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "*" + }, + { + "type": "STRING", + "value": "/" + }, + { + "type": "STRING", + "value": "%" + } + ] + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + }, + { + "type": "PREC_LEFT", + "value": 7, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "-" + }, + { + "type": "STRING", + "value": "+" + } + ] + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + }, + { + "type": "PREC_LEFT", + "value": 6, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "SYMBOL", + "name": "other_op" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + }, + { + "type": "PREC_LEFT", + "value": 4, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "SYMBOL", + "name": "comparison_op" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + }, + { + "type": "PREC_RIGHT", + "value": 2, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "not" + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + }, + { + "type": "PREC_LEFT", + "value": 1, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_value_expression" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "and" + }, + { + "type": "SYMBOL", + "name": "or" + } + ] + }, + { + "type": "SYMBOL", + "name": "_value_expression" + } + ] + } + } + ] + }, + "_list_of_identifiers": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + "comparison_op": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "<" + }, + { + "type": "STRING", + "value": ">" + }, + { + "type": "STRING", + "value": "=" + }, + { + "type": "STRING", + "value": "<=" + }, + { + "type": "STRING", + "value": ">=" + }, + { + "type": "STRING", + "value": "<>" + }, + { + "type": "STRING", + "value": "!=" + } + ] + }, + "other_op": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "||" + } + ] + }, + "cast": { + "type": "STRING", + "value": "::" + }, + "minus": { + "type": "STRING", + "value": "-" + }, + "plus": { + "type": "STRING", + "value": "+" + }, + "not": { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][oO][tT]" + }, + "named": false, + "value": "not" + }, + "and": { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[aA][nN][dD]" + }, + "named": false, + "value": "and" + }, + "or": { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[oO][rR]" + }, + "named": false, + "value": "or" + }, + "true": { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[tT][rR][uU][eE]" + }, + "named": false, + "value": "true" + }, + "false": { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[fF][aA][lL][sS][eE]" + }, + "named": false, + "value": "false" + }, + "null": { + "type": "ALIAS", + "content": { + "type": "PATTERN", + "value": "[nN][uU][lL][lL]" + }, + "named": false, + "value": "null" + }, + "star": { + "type": "STRING", + "value": "*" + }, + "any": { + "type": "PATTERN", + "value": ".*" + }, + "number": { + "type": "PATTERN", + "value": "\\d+" + }, "identifier": { "type": "PATTERN", "value": "[a-zA-Z0-9_]+[.a-zA-Z0-9_]*" } }, "extras": [ + { + "type": "SYMBOL", + "name": "comment" + }, { "type": "PATTERN", - "value": "\\s" + "value": "[\\s\\uFEFF\\u2060\\u200B\\u00A0]" } ], "conflicts": [], diff --git a/src/node-types.json b/src/node-types.json index 156e798..f759bdd 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -1,4 +1,355 @@ [ + { + "type": "alter_column_action", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "alter_column_type", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "alter_column_type", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "predefined_types", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "alter_table_action", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "alter_column_action", + "named": true + }, + { + "type": "alter_table_fk_ref_action", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "if_exists", + "named": true + }, + { + "type": "if_not_exists", + "named": true + }, + { + "type": "table_column_item", + "named": true + }, + { + "type": "table_constraint", + "named": true + } + ] + } + }, + { + "type": "alter_table_change", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "alter_table_action", + "named": true + }, + { + "type": "alter_table_change_schema", + "named": true + }, + { + "type": "alter_table_rename_column", + "named": true + }, + { + "type": "alter_table_rename_constraint", + "named": true + }, + { + "type": "alter_table_rename_table", + "named": true + } + ] + } + }, + { + "type": "alter_table_change_schema", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "alter_table_fk_ref_action", + "named": true, + "fields": {} + }, + { + "type": "alter_table_rename_column", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "alter_table_rename_constraint", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "alter_table_rename_table", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "alter_table_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "alter_table_change", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "if_exists", + "named": true + } + ] + } + }, + { + "type": "and", + "named": true, + "fields": {} + }, + { + "type": "as", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "assign_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, { "type": "block", "named": true, @@ -7,6 +358,14 @@ "multiple": true, "required": true, "types": [ + { + "type": "body", + "named": true + }, + { + "type": "declarations", + "named": true + }, { "type": "dollar_quote", "named": true @@ -14,6 +373,251 @@ ] } }, + { + "type": "body", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "alter_table_statement", + "named": true + }, + { + "type": "assign_statement", + "named": true + }, + { + "type": "create_function_statement", + "named": true + }, + { + "type": "create_index_statement", + "named": true + }, + { + "type": "create_schema_statement", + "named": true + }, + { + "type": "create_sequence_statement", + "named": true + }, + { + "type": "create_table_statement", + "named": true + }, + { + "type": "create_trigger_statement", + "named": true + }, + { + "type": "delete_statement", + "named": true + }, + { + "type": "do_block", + "named": true + }, + { + "type": "execute_statement", + "named": true + }, + { + "type": "grant_statement", + "named": true + }, + { + "type": "insert_statement", + "named": true + }, + { + "type": "perform_statement", + "named": true + }, + { + "type": "psql_statement", + "named": true + }, + { + "type": "return_statement", + "named": true + }, + { + "type": "select_statement", + "named": true + } + ] + } + }, + { + "type": "column_constraint", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "column_constraint_ty", + "named": true + }, + { + "type": "constraint_when", + "named": true + }, + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "column_constraint_ty", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "constraint_foreign_key", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "comparison_op", + "named": true, + "fields": {} + }, + { + "type": "conflict_target", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "constraint_foreign_key", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "fk_action", + "named": true + }, + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "constraint_when", + "named": true, + "fields": {} + }, { "type": "create_function_statement", "named": true, @@ -26,6 +630,10 @@ "type": "block", "named": true }, + { + "type": "function_return", + "named": true + }, { "type": "function_signature", "named": true @@ -41,6 +649,284 @@ { "type": "or_replace", "named": true + }, + { + "type": "string", + "named": true + } + ] + } + }, + { + "type": "create_index_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + }, + { + "type": "if_not_exists", + "named": true + }, + { + "type": "index_col", + "named": true + }, + { + "type": "index_includes", + "named": true + }, + { + "type": "index_using", + "named": true + }, + { + "type": "where_filter", + "named": true + } + ] + } + }, + { + "type": "create_schema_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + }, + { + "type": "if_not_exists", + "named": true + }, + { + "type": "schema_role", + "named": true + } + ] + } + }, + { + "type": "create_sequence_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "as", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "if_not_exists", + "named": true + }, + { + "type": "sequence_cache", + "named": true + }, + { + "type": "sequence_cycle", + "named": true + }, + { + "type": "sequence_increment", + "named": true + }, + { + "type": "sequence_max", + "named": true + }, + { + "type": "sequence_min", + "named": true + }, + { + "type": "sequence_owned", + "named": true + }, + { + "type": "sequence_start", + "named": true + }, + { + "type": "temporary", + "named": true + } + ] + } + }, + { + "type": "create_table_item", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "table_column_item", + "named": true + }, + { + "type": "table_constraint", + "named": true + } + ] + } + }, + { + "type": "create_table_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "create_table_item", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "if_not_exists", + "named": true + }, + { + "type": "temporary", + "named": true + } + ] + } + }, + { + "type": "create_trigger_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + }, + { + "type": "trigger_cond", + "named": true + }, + { + "type": "trigger_event", + "named": true + }, + { + "type": "trigger_exec", + "named": true + }, + { + "type": "trigger_scope", + "named": true + }, + { + "type": "trigger_when", + "named": true + } + ] + } + }, + { + "type": "declarations", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "var_definition", + "named": true + } + ] + } + }, + { + "type": "delete_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "delete_using", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "into", + "named": true + }, + { + "type": "select_item", + "named": true + }, + { + "type": "where_filter", + "named": true + }, + { + "type": "with_query", + "named": true + } + ] + } + }, + { + "type": "delete_using", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "from_item", + "named": true + } + ] + } + }, + { + "type": "do_block", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "block", + "named": true } ] } @@ -61,49 +947,316 @@ } }, { - "type": "function_parameter", + "type": "execute_statement", "named": true, - "fields": { - "name": { - "multiple": false, - "required": true, - "types": [ - { - "type": "identifier", - "named": true - } - ] - }, - "type": { - "multiple": true, - "required": true, - "types": [ - { - "type": "[", - "named": false - }, - { - "type": "]", - "named": false - }, - { - "type": "identifier", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "into", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "false", + "named": true, + "fields": {} + }, + { + "type": "fk_action", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "fk_ref_action", + "named": true + } + ] + } + }, + { + "type": "fk_ref_action", + "named": true, + "fields": {} + }, + { + "type": "from_function", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "from_item", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "from_function", + "named": true + }, + { + "type": "from_select", + "named": true + }, + { + "type": "from_table", + "named": true + }, + { + "type": "join_item", + "named": true + } + ] + } + }, + { + "type": "from_select", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + }, + { + "type": "select_statement", + "named": true + } + ] + } + }, + { + "type": "from_table", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "function_call", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] } }, { "type": "function_parameters", "named": true, - "fields": {}, + "fields": { + "default_value": { + "multiple": true, + "required": false, + "types": [ + { + "type": "(", + "named": false + }, + { + "type": ")", + "named": false + }, + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, "children": { "multiple": true, "required": false, "types": [ { - "type": "function_parameter", + "type": "var_declaration", + "named": true + } + ] + } + }, + { + "type": "function_return", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + }, + { + "type": "return_setof", + "named": true + }, + { + "type": "return_table", "named": true } ] @@ -133,11 +1286,1212 @@ "named": true, "fields": {} }, + { + "type": "grant_function", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + }, + { + "type": "predefined_types", + "named": true + } + ] + } + }, + { + "type": "grant_privileges", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "grant_roles", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "grant_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "grant_privileges", + "named": true + }, + { + "type": "grant_roles", + "named": true + }, + { + "type": "grant_targets", + "named": true + } + ] + } + }, + { + "type": "grant_targets", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "grant_function", + "named": true + }, + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "if_exists", + "named": true, + "fields": {} + }, + { + "type": "if_not_exists", + "named": true, + "fields": {} + }, + { + "type": "index_col", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "index_col_dir", + "named": true + }, + { + "type": "index_col_nulls", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "index_col_dir", + "named": true, + "fields": {} + }, + { + "type": "index_col_nulls", + "named": true, + "fields": {} + }, + { + "type": "index_includes", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "index_using", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "insert_conflict", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "conflict_target", + "named": true + }, + { + "type": "update_set", + "named": true + }, + { + "type": "where_filter", + "named": true + } + ] + } + }, + { + "type": "insert_item", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "insert_items", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "insert_item", + "named": true + }, + { + "type": "select_statement", + "named": true + } + ] + } + }, + { + "type": "insert_returning", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "select_item", + "named": true + } + ] + } + }, + { + "type": "insert_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "as", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "insert_conflict", + "named": true + }, + { + "type": "insert_items", + "named": true + }, + { + "type": "insert_returning", + "named": true + }, + { + "type": "into", + "named": true + }, + { + "type": "with_query", + "named": true + } + ] + } + }, + { + "type": "into", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "join_condition", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "join_item", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "from_table", + "named": true + }, + { + "type": "join_condition", + "named": true + }, + { + "type": "join_type", + "named": true + } + ] + } + }, + { + "type": "join_type", + "named": true, + "fields": {} + }, + { + "type": "minus", + "named": true, + "fields": {} + }, + { + "type": "not", + "named": true, + "fields": {} + }, + { + "type": "null", + "named": true, + "fields": {} + }, + { + "type": "op_expression", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "and", + "named": true + }, + { + "type": "cast", + "named": true + }, + { + "type": "comparison_op", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "minus", + "named": true + }, + { + "type": "not", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "or", + "named": true + }, + { + "type": "other_op", + "named": true + }, + { + "type": "plus", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "or", + "named": true, + "fields": {} + }, { "type": "or_replace", "named": true, "fields": {} }, + { + "type": "order_by_direction", + "named": true, + "fields": {} + }, + { + "type": "order_by_item", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "order_by_direction", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "other_op", + "named": true, + "fields": {} + }, + { + "type": "perform_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "select_item", + "named": true + } + ] + } + }, + { + "type": "plus", + "named": true, + "fields": {} + }, + { + "type": "precision", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "number", + "named": true + } + ] + } + }, + { + "type": "predefined_types", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "precision", + "named": true + } + ] + } + }, + { + "type": "psql_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "return_setof", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "return_statement", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "return_table", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "var_declaration", + "named": true + } + ] + } + }, + { + "type": "schema_role", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "select_from", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "from_item", + "named": true + } + ] + } + }, + { + "type": "select_group_by", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "select_having", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "select_item", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "select_limit", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "select_order_by", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "order_by_item", + "named": true + } + ] + } + }, + { + "type": "select_statement", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "into", + "named": true + }, + { + "type": "select_from", + "named": true + }, + { + "type": "select_group_by", + "named": true + }, + { + "type": "select_having", + "named": true + }, + { + "type": "select_item", + "named": true + }, + { + "type": "select_limit", + "named": true + }, + { + "type": "select_order_by", + "named": true + }, + { + "type": "select_where", + "named": true + }, + { + "type": "with_query", + "named": true + } + ] + } + }, + { + "type": "select_where", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "where_filter", + "named": true + } + ] + } + }, + { + "type": "sequence_cache", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "number", + "named": true + } + ] + } + }, + { + "type": "sequence_cycle", + "named": true, + "fields": {} + }, + { + "type": "sequence_increment", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "number", + "named": true + } + ] + } + }, + { + "type": "sequence_max", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "number", + "named": true + } + ] + } + }, + { + "type": "sequence_min", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "number", + "named": true + } + ] + } + }, + { + "type": "sequence_owned", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "sequence_start", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "number", + "named": true + } + ] + } + }, { "type": "source_file", "named": true, @@ -146,17 +2500,610 @@ "multiple": true, "required": false, "types": [ + { + "type": "alter_table_statement", + "named": true + }, { "type": "create_function_statement", "named": true + }, + { + "type": "create_index_statement", + "named": true + }, + { + "type": "create_schema_statement", + "named": true + }, + { + "type": "create_sequence_statement", + "named": true + }, + { + "type": "create_table_statement", + "named": true + }, + { + "type": "create_trigger_statement", + "named": true + }, + { + "type": "delete_statement", + "named": true + }, + { + "type": "do_block", + "named": true + }, + { + "type": "grant_statement", + "named": true + }, + { + "type": "insert_statement", + "named": true + }, + { + "type": "psql_statement", + "named": true + }, + { + "type": "select_statement", + "named": true } ] } }, + { + "type": "star", + "named": true, + "fields": {} + }, + { + "type": "string", + "named": true, + "fields": {} + }, + { + "type": "table_column_item", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "column_constraint", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "predefined_types", + "named": true + } + ] + } + }, + { + "type": "table_constraint", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "constraint_when", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "table_constraint_ty", + "named": true + } + ] + } + }, + { + "type": "table_constraint_ty", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "constraint_foreign_key", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "temporary", + "named": true, + "fields": {} + }, + { + "type": "time_expression", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "trigger_cond", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "trigger_event", + "named": true, + "fields": {} + }, + { + "type": "trigger_exec", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "function_call", + "named": true + } + ] + } + }, + { + "type": "trigger_scope", + "named": true, + "fields": {} + }, + { + "type": "trigger_when", + "named": true, + "fields": {} + }, + { + "type": "true", + "named": true, + "fields": {} + }, + { + "type": "update_set", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + }, + { + "type": "update_value", + "named": true + } + ] + } + }, + { + "type": "update_value", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "var_declaration", + "named": true, + "fields": { + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + }, + "type": { + "multiple": true, + "required": true, + "types": [ + { + "type": "[", + "named": false + }, + { + "type": "]", + "named": false + }, + { + "type": "identifier", + "named": true + }, + { + "type": "predefined_types", + "named": true + } + ] + } + } + }, + { + "type": "var_definition", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "var_declaration", + "named": true + } + ] + } + }, + { + "type": "where_filter", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "false", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "null", + "named": true + }, + { + "type": "number", + "named": true + }, + { + "type": "op_expression", + "named": true + }, + { + "type": "select_statement", + "named": true + }, + { + "type": "star", + "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "time_expression", + "named": true + }, + { + "type": "true", + "named": true + } + ] + } + }, + { + "type": "with_query", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "with_query_item", + "named": true + } + ] + } + }, + { + "type": "with_query_item", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "delete_statement", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "insert_statement", + "named": true + }, + { + "type": "select_statement", + "named": true + } + ] + } + }, + { + "type": "!=", + "named": false + }, { "type": "$", "named": false }, + { + "type": "%", + "named": false + }, + { + "type": "'", + "named": false + }, { "type": "(", "named": false @@ -165,64 +3112,608 @@ "type": ")", "named": false }, + { + "type": "*", + "named": false + }, + { + "type": "+", + "named": false + }, { "type": ",", "named": false }, + { + "type": "-", + "named": false + }, + { + "type": "/", + "named": false + }, + { + "type": ":=", + "named": false + }, { "type": ";", "named": false }, { - "type": "AS", + "type": "<", "named": false }, { - "type": "CREATE", + "type": "<=", "named": false }, { - "type": "FUNCTION", + "type": "<>", "named": false }, { - "type": "IMMUTABLE", + "type": "=", "named": false }, { - "type": "LANGUAGE", + "type": ">", "named": false }, { - "type": "OR", - "named": false - }, - { - "type": "REPLACE", - "named": false - }, - { - "type": "RETURNS", - "named": false - }, - { - "type": "STABLE", - "named": false - }, - { - "type": "VOLATILE", + "type": ">=", "named": false }, { "type": "[", "named": false }, + { + "type": "\\", + "named": false + }, { "type": "]", "named": false }, + { + "type": "action", + "named": false + }, + { + "type": "add", + "named": false + }, + { + "type": "after", + "named": false + }, + { + "type": "all", + "named": false + }, + { + "type": "alter", + "named": false + }, + { + "type": "and", + "named": false + }, + { + "type": "as", + "named": false + }, + { + "type": "asc", + "named": false + }, + { + "type": "at", + "named": false + }, + { + "type": "authorization", + "named": false + }, + { + "type": "before", + "named": false + }, + { + "type": "begin", + "named": false + }, + { + "type": "by", + "named": false + }, + { + "type": "cache", + "named": false + }, + { + "type": "cascade", + "named": false + }, + { + "type": "cast", + "named": true + }, + { + "type": "check", + "named": false + }, + { + "type": "column", + "named": false + }, + { + "type": "comment", + "named": true + }, + { + "type": "concurrently", + "named": false + }, + { + "type": "conflict", + "named": false + }, + { + "type": "constraint", + "named": false + }, + { + "type": "create", + "named": false + }, + { + "type": "cross", + "named": false + }, + { + "type": "current_user", + "named": false + }, + { + "type": "cycle", + "named": false + }, + { + "type": "data", + "named": false + }, + { + "type": "declare", + "named": false + }, + { + "type": "default", + "named": false + }, + { + "type": "deferrable", + "named": false + }, + { + "type": "deferred", + "named": false + }, + { + "type": "delete", + "named": false + }, + { + "type": "desc", + "named": false + }, + { + "type": "do", + "named": false + }, + { + "type": "drop", + "named": false + }, + { + "type": "each", + "named": false + }, + { + "type": "end", + "named": false + }, + { + "type": "execute", + "named": false + }, + { + "type": "exists", + "named": false + }, + { + "type": "false", + "named": false + }, + { + "type": "first", + "named": false + }, + { + "type": "for", + "named": false + }, + { + "type": "foreign", + "named": false + }, + { + "type": "from", + "named": false + }, + { + "type": "full", + "named": false + }, + { + "type": "function", + "named": false + }, + { + "type": "functions", + "named": false + }, + { + "type": "grant", + "named": false + }, + { + "type": "group", + "named": false + }, + { + "type": "having", + "named": false + }, { "type": "identifier", "named": true + }, + { + "type": "if", + "named": false + }, + { + "type": "immediate", + "named": false + }, + { + "type": "immutable", + "named": false + }, + { + "type": "in", + "named": false + }, + { + "type": "include", + "named": false + }, + { + "type": "increment", + "named": false + }, + { + "type": "index", + "named": false + }, + { + "type": "initially", + "named": false + }, + { + "type": "inner", + "named": false + }, + { + "type": "insert", + "named": false + }, + { + "type": "instead of", + "named": false + }, + { + "type": "into", + "named": false + }, + { + "type": "join", + "named": false + }, + { + "type": "key", + "named": false + }, + { + "type": "language", + "named": false + }, + { + "type": "last", + "named": false + }, + { + "type": "left", + "named": false + }, + { + "type": "limit", + "named": false + }, + { + "type": "materialized", + "named": false + }, + { + "type": "maxvalue", + "named": false + }, + { + "type": "minvalue", + "named": false + }, + { + "type": "natural", + "named": false + }, + { + "type": "no", + "named": false + }, + { + "type": "none", + "named": false + }, + { + "type": "not", + "named": false + }, + { + "type": "nothing", + "named": false + }, + { + "type": "null", + "named": false + }, + { + "type": "nulls", + "named": false + }, + { + "type": "number", + "named": true + }, + { + "type": "numeric", + "named": false + }, + { + "type": "offset", + "named": false + }, + { + "type": "on", + "named": false + }, + { + "type": "or", + "named": false + }, + { + "type": "order", + "named": false + }, + { + "type": "outer", + "named": false + }, + { + "type": "owned", + "named": false + }, + { + "type": "perform", + "named": false + }, + { + "type": "primary", + "named": false + }, + { + "type": "privileges", + "named": false + }, + { + "type": "procedure", + "named": false + }, + { + "type": "public", + "named": false + }, + { + "type": "query", + "named": false + }, + { + "type": "references", + "named": false + }, + { + "type": "rename", + "named": false + }, + { + "type": "replace", + "named": false + }, + { + "type": "restrict", + "named": false + }, + { + "type": "return", + "named": false + }, + { + "type": "returning", + "named": false + }, + { + "type": "returns", + "named": false + }, + { + "type": "right", + "named": false + }, + { + "type": "routine", + "named": false + }, + { + "type": "row", + "named": false + }, + { + "type": "schema", + "named": false + }, + { + "type": "select", + "named": false + }, + { + "type": "sequence", + "named": false + }, + { + "type": "sequences", + "named": false + }, + { + "type": "session_user", + "named": false + }, + { + "type": "set", + "named": false + }, + { + "type": "setof", + "named": false + }, + { + "type": "stable", + "named": false + }, + { + "type": "start", + "named": false + }, + { + "type": "statement", + "named": false + }, + { + "type": "strict", + "named": false + }, + { + "type": "table", + "named": false + }, + { + "type": "tables", + "named": false + }, + { + "type": "temp", + "named": false + }, + { + "type": "temporary", + "named": false + }, + { + "type": "time", + "named": false + }, + { + "type": "to", + "named": false + }, + { + "type": "trigger", + "named": false + }, + { + "type": "true", + "named": false + }, + { + "type": "truncate", + "named": false + }, + { + "type": "type", + "named": false + }, + { + "type": "unique", + "named": false + }, + { + "type": "unlogged", + "named": false + }, + { + "type": "update", + "named": false + }, + { + "type": "using", + "named": false + }, + { + "type": "values", + "named": false + }, + { + "type": "volatile", + "named": false + }, + { + "type": "when", + "named": false + }, + { + "type": "where", + "named": false + }, + { + "type": "with", + "named": false + }, + { + "type": "zone", + "named": false + }, + { + "type": "||", + "named": false } ] \ No newline at end of file diff --git a/src/parser.c b/src/parser.c index 915cce9..a855ef8 100644 --- a/src/parser.c +++ b/src/parser.c @@ -5,119 +5,976 @@ #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #endif +#ifdef _MSC_VER +#pragma optimize("", off) +#elif defined(__clang__) +#pragma clang optimize off +#elif defined(__GNUC__) +#pragma GCC optimize ("O0") +#endif + #define LANGUAGE_VERSION 13 -#define STATE_COUNT 61 +#define STATE_COUNT 1155 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 32 +#define SYMBOL_COUNT 315 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 19 +#define TOKEN_COUNT 161 #define EXTERNAL_TOKEN_COUNT 0 -#define FIELD_COUNT 2 -#define MAX_ALIAS_SEQUENCE_LENGTH 11 -#define PRODUCTION_ID_COUNT 2 +#define FIELD_COUNT 3 +#define MAX_ALIAS_SEQUENCE_LENGTH 15 +#define PRODUCTION_ID_COUNT 5 enum { anon_sym_SEMI = 1, - aux_sym_create_function_statement_token1 = 2, - aux_sym_create_function_statement_token2 = 3, - aux_sym_create_function_statement_token3 = 4, - aux_sym_create_function_statement_token4 = 5, - aux_sym_create_function_statement_token5 = 6, - aux_sym_function_volatility_token1 = 7, - aux_sym_function_volatility_token2 = 8, - aux_sym_function_volatility_token3 = 9, - anon_sym_DOLLAR = 10, - anon_sym_LPAREN = 11, - anon_sym_COMMA = 12, - anon_sym_RPAREN = 13, - anon_sym_OR = 14, - anon_sym_REPLACE = 15, - anon_sym_LBRACK = 16, - anon_sym_RBRACK = 17, - sym_identifier = 18, - sym_source_file = 19, - sym__statement = 20, - sym_create_function_statement = 21, - sym_function_volatility = 22, - sym_block = 23, - sym_dollar_quote = 24, - sym_function_signature = 25, - sym_function_parameters = 26, - sym_function_parameter = 27, - sym_or_replace = 28, - sym__type = 29, - aux_sym_source_file_repeat1 = 30, - aux_sym_function_parameters_repeat1 = 31, + aux_sym_insert_statement_token1 = 2, + aux_sym_insert_statement_token2 = 3, + aux_sym_insert_items_token1 = 4, + aux_sym_insert_items_token2 = 5, + anon_sym_LPAREN = 6, + anon_sym_COMMA = 7, + anon_sym_RPAREN = 8, + aux_sym_insert_conflict_token1 = 9, + aux_sym_insert_conflict_token2 = 10, + aux_sym_insert_conflict_token3 = 11, + aux_sym_insert_conflict_token4 = 12, + aux_sym_insert_conflict_token5 = 13, + aux_sym_insert_conflict_token6 = 14, + aux_sym_conflict_target_token1 = 15, + anon_sym_EQ = 16, + aux_sym_update_set_token1 = 17, + aux_sym_insert_returning_token1 = 18, + aux_sym_create_table_statement_token1 = 19, + aux_sym_create_table_statement_token2 = 20, + aux_sym_create_table_statement_token3 = 21, + aux_sym_create_schema_statement_token1 = 22, + aux_sym_schema_role_token1 = 23, + aux_sym_schema_role_token2 = 24, + aux_sym_schema_role_token3 = 25, + aux_sym_create_index_statement_token1 = 26, + aux_sym_create_index_statement_token2 = 27, + aux_sym_create_index_statement_token3 = 28, + aux_sym_index_using_token1 = 29, + aux_sym_index_col_dir_token1 = 30, + aux_sym_index_col_dir_token2 = 31, + aux_sym_index_col_nulls_token1 = 32, + aux_sym_index_col_nulls_token2 = 33, + aux_sym_index_col_nulls_token3 = 34, + aux_sym_index_includes_token1 = 35, + aux_sym_delete_statement_token1 = 36, + aux_sym_delete_statement_token2 = 37, + aux_sym_delete_statement_token3 = 38, + aux_sym_alter_table_statement_token1 = 39, + aux_sym_alter_table_action_token1 = 40, + aux_sym_alter_table_action_token2 = 41, + aux_sym_alter_table_action_token3 = 42, + aux_sym_alter_column_action_token1 = 43, + aux_sym_alter_column_action_token2 = 44, + aux_sym_alter_column_action_token3 = 45, + aux_sym_alter_column_action_token4 = 46, + aux_sym_constraint_when_token1 = 47, + aux_sym_constraint_when_token2 = 48, + aux_sym_constraint_when_token3 = 49, + aux_sym_constraint_when_token4 = 50, + aux_sym_table_constraint_ty_token1 = 51, + aux_sym_table_constraint_ty_token2 = 52, + aux_sym_table_constraint_ty_token3 = 53, + aux_sym_table_constraint_ty_token4 = 54, + aux_sym_constraint_foreign_key_token1 = 55, + aux_sym_fk_ref_action_token1 = 56, + aux_sym_fk_ref_action_token2 = 57, + aux_sym_fk_ref_action_token3 = 58, + aux_sym_fk_ref_action_token4 = 59, + aux_sym_alter_table_rename_column_token1 = 60, + aux_sym_alter_table_rename_column_token2 = 61, + aux_sym_grant_statement_token1 = 62, + aux_sym_grant_roles_token1 = 63, + aux_sym_grant_roles_token2 = 64, + aux_sym_grant_privileges_token1 = 65, + anon_sym_privileges = 66, + aux_sym_grant_targets_token1 = 67, + aux_sym_grant_targets_token2 = 68, + aux_sym_grant_targets_token3 = 69, + aux_sym_grant_targets_token4 = 70, + aux_sym_grant_targets_token5 = 71, + aux_sym_grant_targets_token6 = 72, + aux_sym_grant_targets_token7 = 73, + aux_sym_grant_targets_token8 = 74, + anon_sym_BSLASH = 75, + aux_sym_psql_statement_token1 = 76, + aux_sym_sequence_increment_token1 = 77, + aux_sym_sequence_increment_token2 = 78, + aux_sym_sequence_min_token1 = 79, + aux_sym_sequence_max_token1 = 80, + aux_sym_sequence_start_token1 = 81, + aux_sym_sequence_start_token2 = 82, + aux_sym_sequence_cache_token1 = 83, + aux_sym_sequence_cycle_token1 = 84, + aux_sym_sequence_owned_token1 = 85, + aux_sym_sequence_owned_token2 = 86, + aux_sym_create_trigger_statement_token1 = 87, + aux_sym_trigger_when_token1 = 88, + aux_sym_trigger_when_token2 = 89, + aux_sym_trigger_when_token3 = 90, + aux_sym_trigger_event_token1 = 91, + aux_sym_trigger_event_token2 = 92, + aux_sym_trigger_scope_token1 = 93, + aux_sym_trigger_scope_token2 = 94, + aux_sym_trigger_scope_token3 = 95, + aux_sym_trigger_exec_token1 = 96, + aux_sym_trigger_cond_token1 = 97, + aux_sym_return_statement_token1 = 98, + aux_sym_return_statement_token2 = 99, + aux_sym_perform_statement_token1 = 100, + aux_sym_select_statement_token1 = 101, + aux_sym_with_query_item_token1 = 102, + aux_sym_into_token1 = 103, + aux_sym_select_having_token1 = 104, + aux_sym_select_limit_token1 = 105, + aux_sym_select_limit_token2 = 106, + aux_sym_select_order_by_token1 = 107, + aux_sym_join_item_token1 = 108, + aux_sym_join_item_token2 = 109, + aux_sym_join_item_token3 = 110, + aux_sym_join_type_token1 = 111, + aux_sym_join_type_token2 = 112, + aux_sym_join_type_token3 = 113, + aux_sym_join_type_token4 = 114, + aux_sym_join_type_token5 = 115, + aux_sym_create_function_statement_token1 = 116, + aux_sym_function_return_token1 = 117, + aux_sym_return_setof_token1 = 118, + aux_sym_function_volatility_token1 = 119, + aux_sym_function_volatility_token2 = 120, + aux_sym_function_volatility_token3 = 121, + aux_sym_body_token1 = 122, + aux_sym_body_token2 = 123, + anon_sym_DOLLAR = 124, + aux_sym_declarations_token1 = 125, + anon_sym_COLON_EQ = 126, + aux_sym_where_filter_token1 = 127, + aux_sym_or_replace_token1 = 128, + aux_sym_temporary_token1 = 129, + aux_sym_temporary_token2 = 130, + aux_sym_if_not_exists_token1 = 131, + aux_sym_if_not_exists_token2 = 132, + anon_sym_LBRACK = 133, + anon_sym_RBRACK = 134, + aux_sym_predefined_types_token1 = 135, + anon_sym_SQUOTE = 136, + aux_sym_string_token1 = 137, + aux_sym_string_token2 = 138, + sym_comment = 139, + aux_sym_time_expression_token1 = 140, + aux_sym_time_expression_token2 = 141, + aux_sym_time_expression_token3 = 142, + anon_sym_STAR = 143, + anon_sym_SLASH = 144, + anon_sym_PERCENT = 145, + anon_sym_DASH = 146, + anon_sym_PLUS = 147, + anon_sym_LT = 148, + anon_sym_GT = 149, + anon_sym_LT_EQ = 150, + anon_sym_GT_EQ = 151, + anon_sym_LT_GT = 152, + anon_sym_BANG_EQ = 153, + anon_sym_PIPE_PIPE = 154, + sym_cast = 155, + aux_sym_and_token1 = 156, + aux_sym_true_token1 = 157, + aux_sym_false_token1 = 158, + sym_number = 159, + sym_identifier = 160, + sym_source_file = 161, + sym__statement = 162, + sym__with_query_statement = 163, + sym_insert_statement = 164, + sym_insert_items = 165, + sym_insert_item = 166, + sym_insert_conflict = 167, + sym_conflict_target = 168, + sym_update_set = 169, + sym_update_value = 170, + sym_insert_returning = 171, + sym_create_table_statement = 172, + sym_create_table_item = 173, + sym_create_schema_statement = 174, + sym_schema_role = 175, + sym_create_index_statement = 176, + sym_index_using = 177, + sym_index_col = 178, + sym_index_col_dir = 179, + sym_index_col_nulls = 180, + sym_index_includes = 181, + sym_delete_statement = 182, + sym_delete_using = 183, + sym_alter_table_statement = 184, + sym_alter_table_change = 185, + sym_alter_table_action = 186, + sym_alter_column_action = 187, + sym_table_constraint = 188, + sym_constraint_when = 189, + sym_table_constraint_ty = 190, + sym_constraint_foreign_key = 191, + sym_fk_action = 192, + sym_fk_ref_action = 193, + sym_alter_column_type = 194, + sym_alter_table_fk_ref_action = 195, + sym_table_column_item = 196, + sym_column_constraint = 197, + sym_column_constraint_ty = 198, + sym_alter_table_rename_column = 199, + sym_alter_table_rename_constraint = 200, + sym_alter_table_rename_table = 201, + sym_alter_table_change_schema = 202, + sym_grant_statement = 203, + sym_grant_roles = 204, + sym_grant_privileges = 205, + sym_grant_targets = 206, + sym_grant_function = 207, + sym_psql_statement = 208, + sym_create_sequence_statement = 209, + sym_sequence_increment = 210, + sym_sequence_min = 211, + sym_sequence_max = 212, + sym_sequence_start = 213, + sym_sequence_cache = 214, + sym_sequence_cycle = 215, + sym_sequence_owned = 216, + sym_create_trigger_statement = 217, + sym_trigger_when = 218, + sym_trigger_event = 219, + sym_trigger_scope = 220, + sym_trigger_exec = 221, + sym_trigger_cond = 222, + sym__plpgsql_statement = 223, + sym_execute_statement = 224, + sym_assign_statement = 225, + sym_return_statement = 226, + sym_perform_statement = 227, + sym_do_block = 228, + sym_select_statement = 229, + sym_with_query = 230, + sym_with_query_item = 231, + sym_into = 232, + sym_select_having = 233, + sym_select_limit = 234, + sym_select_group_by = 235, + sym_select_order_by = 236, + sym_order_by_item = 237, + sym_order_by_direction = 238, + sym_select_where = 239, + sym_select_item = 240, + sym_select_from = 241, + sym_from_item = 242, + sym_from_select = 243, + sym_from_table = 244, + sym_from_function = 245, + sym_join_item = 246, + sym_join_condition = 247, + sym_join_type = 248, + sym_create_function_statement = 249, + sym_function_return = 250, + sym_return_setof = 251, + sym_return_table = 252, + sym_function_volatility = 253, + sym_block = 254, + sym_body = 255, + sym_dollar_quote = 256, + sym_declarations = 257, + sym_var_definition = 258, + sym_function_signature = 259, + sym_function_parameters = 260, + sym_var_declaration = 261, + sym_where_filter = 262, + sym_or_replace = 263, + sym_temporary = 264, + sym_if_not_exists = 265, + sym_if_exists = 266, + sym_as = 267, + sym__type = 268, + sym_predefined_types = 269, + sym_precision = 270, + sym_string = 271, + sym__value_expression = 272, + sym_time_expression = 273, + sym_function_call = 274, + sym_op_expression = 275, + sym__list_of_identifiers = 276, + sym_comparison_op = 277, + sym_other_op = 278, + sym_minus = 279, + sym_plus = 280, + sym_not = 281, + sym_and = 282, + sym_or = 283, + sym_true = 284, + sym_false = 285, + sym_null = 286, + sym_star = 287, + aux_sym_source_file_repeat1 = 288, + aux_sym_insert_items_repeat1 = 289, + aux_sym_insert_conflict_repeat1 = 290, + aux_sym_conflict_target_repeat1 = 291, + aux_sym_update_set_repeat1 = 292, + aux_sym_insert_returning_repeat1 = 293, + aux_sym_create_table_statement_repeat1 = 294, + aux_sym_create_index_statement_repeat1 = 295, + aux_sym_delete_using_repeat1 = 296, + aux_sym_alter_table_change_repeat1 = 297, + aux_sym_constraint_foreign_key_repeat1 = 298, + aux_sym_table_column_item_repeat1 = 299, + aux_sym_grant_roles_repeat1 = 300, + aux_sym_grant_privileges_repeat1 = 301, + aux_sym_grant_targets_repeat1 = 302, + aux_sym_grant_function_repeat1 = 303, + aux_sym_psql_statement_repeat1 = 304, + aux_sym_create_sequence_statement_repeat1 = 305, + aux_sym_trigger_event_repeat1 = 306, + aux_sym_with_query_repeat1 = 307, + aux_sym_select_order_by_repeat1 = 308, + aux_sym_from_item_repeat1 = 309, + aux_sym_return_table_repeat1 = 310, + aux_sym_block_repeat1 = 311, + aux_sym_body_repeat1 = 312, + aux_sym_declarations_repeat1 = 313, + aux_sym_string_repeat1 = 314, }; static const char * const ts_symbol_names[] = { [ts_builtin_sym_end] = "end", [anon_sym_SEMI] = ";", - [aux_sym_create_function_statement_token1] = "CREATE", - [aux_sym_create_function_statement_token2] = "FUNCTION", - [aux_sym_create_function_statement_token3] = "RETURNS", - [aux_sym_create_function_statement_token4] = "AS", - [aux_sym_create_function_statement_token5] = "LANGUAGE", - [aux_sym_function_volatility_token1] = "IMMUTABLE", - [aux_sym_function_volatility_token2] = "STABLE", - [aux_sym_function_volatility_token3] = "VOLATILE", - [anon_sym_DOLLAR] = "$", + [aux_sym_insert_statement_token1] = "insert", + [aux_sym_insert_statement_token2] = "into", + [aux_sym_insert_items_token1] = "default", + [aux_sym_insert_items_token2] = "values", [anon_sym_LPAREN] = "(", [anon_sym_COMMA] = ",", [anon_sym_RPAREN] = ")", - [anon_sym_OR] = "OR", - [anon_sym_REPLACE] = "REPLACE", + [aux_sym_insert_conflict_token1] = "on", + [aux_sym_insert_conflict_token2] = "conflict", + [aux_sym_insert_conflict_token3] = "do", + [aux_sym_insert_conflict_token4] = "nothing", + [aux_sym_insert_conflict_token5] = "update", + [aux_sym_insert_conflict_token6] = "set", + [aux_sym_conflict_target_token1] = "constraint", + [anon_sym_EQ] = "=", + [aux_sym_update_set_token1] = "row", + [aux_sym_insert_returning_token1] = "returning", + [aux_sym_create_table_statement_token1] = "create", + [aux_sym_create_table_statement_token2] = "unlogged", + [aux_sym_create_table_statement_token3] = "table", + [aux_sym_create_schema_statement_token1] = "schema", + [aux_sym_schema_role_token1] = "authorization", + [aux_sym_schema_role_token2] = "current_user", + [aux_sym_schema_role_token3] = "session_user", + [aux_sym_create_index_statement_token1] = "unique", + [aux_sym_create_index_statement_token2] = "index", + [aux_sym_create_index_statement_token3] = "concurrently", + [aux_sym_index_using_token1] = "using", + [aux_sym_index_col_dir_token1] = "asc", + [aux_sym_index_col_dir_token2] = "desc", + [aux_sym_index_col_nulls_token1] = "nulls", + [aux_sym_index_col_nulls_token2] = "first", + [aux_sym_index_col_nulls_token3] = "last", + [aux_sym_index_includes_token1] = "include", + [aux_sym_delete_statement_token1] = "delete", + [aux_sym_delete_statement_token2] = "from", + [aux_sym_delete_statement_token3] = "as", + [aux_sym_alter_table_statement_token1] = "alter", + [aux_sym_alter_table_action_token1] = "add", + [aux_sym_alter_table_action_token2] = "column", + [aux_sym_alter_table_action_token3] = "drop", + [aux_sym_alter_column_action_token1] = "not", + [aux_sym_alter_column_action_token2] = "null", + [aux_sym_alter_column_action_token3] = "type", + [aux_sym_alter_column_action_token4] = "data", + [aux_sym_constraint_when_token1] = "deferrable", + [aux_sym_constraint_when_token2] = "initially", + [aux_sym_constraint_when_token3] = "immediate", + [aux_sym_constraint_when_token4] = "deferred", + [aux_sym_table_constraint_ty_token1] = "check", + [aux_sym_table_constraint_ty_token2] = "primary", + [aux_sym_table_constraint_ty_token3] = "key", + [aux_sym_table_constraint_ty_token4] = "foreign", + [aux_sym_constraint_foreign_key_token1] = "references", + [aux_sym_fk_ref_action_token1] = "no", + [aux_sym_fk_ref_action_token2] = "action", + [aux_sym_fk_ref_action_token3] = "restrict", + [aux_sym_fk_ref_action_token4] = "cascade", + [aux_sym_alter_table_rename_column_token1] = "rename", + [aux_sym_alter_table_rename_column_token2] = "to", + [aux_sym_grant_statement_token1] = "grant", + [aux_sym_grant_roles_token1] = "public", + [aux_sym_grant_roles_token2] = "group", + [aux_sym_grant_privileges_token1] = "all", + [anon_sym_privileges] = "privileges", + [aux_sym_grant_targets_token1] = "tables", + [aux_sym_grant_targets_token2] = "sequences", + [aux_sym_grant_targets_token3] = "functions", + [aux_sym_grant_targets_token4] = "in", + [aux_sym_grant_targets_token5] = "sequence", + [aux_sym_grant_targets_token6] = "function", + [aux_sym_grant_targets_token7] = "procedure", + [aux_sym_grant_targets_token8] = "routine", + [anon_sym_BSLASH] = "\\", + [aux_sym_psql_statement_token1] = "psql_statement_token1", + [aux_sym_sequence_increment_token1] = "increment", + [aux_sym_sequence_increment_token2] = "by", + [aux_sym_sequence_min_token1] = "minvalue", + [aux_sym_sequence_max_token1] = "maxvalue", + [aux_sym_sequence_start_token1] = "start", + [aux_sym_sequence_start_token2] = "with", + [aux_sym_sequence_cache_token1] = "cache", + [aux_sym_sequence_cycle_token1] = "cycle", + [aux_sym_sequence_owned_token1] = "owned", + [aux_sym_sequence_owned_token2] = "none", + [aux_sym_create_trigger_statement_token1] = "trigger", + [aux_sym_trigger_when_token1] = "before", + [aux_sym_trigger_when_token2] = "after", + [aux_sym_trigger_when_token3] = "instead of", + [aux_sym_trigger_event_token1] = "truncate", + [aux_sym_trigger_event_token2] = "or", + [aux_sym_trigger_scope_token1] = "for", + [aux_sym_trigger_scope_token2] = "each", + [aux_sym_trigger_scope_token3] = "statement", + [aux_sym_trigger_exec_token1] = "execute", + [aux_sym_trigger_cond_token1] = "when", + [aux_sym_return_statement_token1] = "return", + [aux_sym_return_statement_token2] = "query", + [aux_sym_perform_statement_token1] = "perform", + [aux_sym_select_statement_token1] = "select", + [aux_sym_with_query_item_token1] = "materialized", + [aux_sym_into_token1] = "strict", + [aux_sym_select_having_token1] = "having", + [aux_sym_select_limit_token1] = "limit", + [aux_sym_select_limit_token2] = "offset", + [aux_sym_select_order_by_token1] = "order", + [aux_sym_join_item_token1] = "natural", + [aux_sym_join_item_token2] = "cross", + [aux_sym_join_item_token3] = "join", + [aux_sym_join_type_token1] = "inner", + [aux_sym_join_type_token2] = "left", + [aux_sym_join_type_token3] = "outer", + [aux_sym_join_type_token4] = "right", + [aux_sym_join_type_token5] = "full", + [aux_sym_create_function_statement_token1] = "language", + [aux_sym_function_return_token1] = "returns", + [aux_sym_return_setof_token1] = "setof", + [aux_sym_function_volatility_token1] = "immutable", + [aux_sym_function_volatility_token2] = "stable", + [aux_sym_function_volatility_token3] = "volatile", + [aux_sym_body_token1] = "begin", + [aux_sym_body_token2] = "end", + [anon_sym_DOLLAR] = "$", + [aux_sym_declarations_token1] = "declare", + [anon_sym_COLON_EQ] = ":=", + [aux_sym_where_filter_token1] = "where", + [aux_sym_or_replace_token1] = "replace", + [aux_sym_temporary_token1] = "temp", + [aux_sym_temporary_token2] = "temporary", + [aux_sym_if_not_exists_token1] = "if", + [aux_sym_if_not_exists_token2] = "exists", [anon_sym_LBRACK] = "[", [anon_sym_RBRACK] = "]", + [aux_sym_predefined_types_token1] = "numeric", + [anon_sym_SQUOTE] = "'", + [aux_sym_string_token1] = "string_token1", + [aux_sym_string_token2] = "string_token2", + [sym_comment] = "comment", + [aux_sym_time_expression_token1] = "at", + [aux_sym_time_expression_token2] = "time", + [aux_sym_time_expression_token3] = "zone", + [anon_sym_STAR] = "*", + [anon_sym_SLASH] = "/", + [anon_sym_PERCENT] = "%", + [anon_sym_DASH] = "-", + [anon_sym_PLUS] = "+", + [anon_sym_LT] = "<", + [anon_sym_GT] = ">", + [anon_sym_LT_EQ] = "<=", + [anon_sym_GT_EQ] = ">=", + [anon_sym_LT_GT] = "<>", + [anon_sym_BANG_EQ] = "!=", + [anon_sym_PIPE_PIPE] = "||", + [sym_cast] = "cast", + [aux_sym_and_token1] = "and", + [aux_sym_true_token1] = "true", + [aux_sym_false_token1] = "false", + [sym_number] = "number", [sym_identifier] = "identifier", [sym_source_file] = "source_file", [sym__statement] = "_statement", + [sym__with_query_statement] = "_with_query_statement", + [sym_insert_statement] = "insert_statement", + [sym_insert_items] = "insert_items", + [sym_insert_item] = "insert_item", + [sym_insert_conflict] = "insert_conflict", + [sym_conflict_target] = "conflict_target", + [sym_update_set] = "update_set", + [sym_update_value] = "update_value", + [sym_insert_returning] = "insert_returning", + [sym_create_table_statement] = "create_table_statement", + [sym_create_table_item] = "create_table_item", + [sym_create_schema_statement] = "create_schema_statement", + [sym_schema_role] = "schema_role", + [sym_create_index_statement] = "create_index_statement", + [sym_index_using] = "index_using", + [sym_index_col] = "index_col", + [sym_index_col_dir] = "index_col_dir", + [sym_index_col_nulls] = "index_col_nulls", + [sym_index_includes] = "index_includes", + [sym_delete_statement] = "delete_statement", + [sym_delete_using] = "delete_using", + [sym_alter_table_statement] = "alter_table_statement", + [sym_alter_table_change] = "alter_table_change", + [sym_alter_table_action] = "alter_table_action", + [sym_alter_column_action] = "alter_column_action", + [sym_table_constraint] = "table_constraint", + [sym_constraint_when] = "constraint_when", + [sym_table_constraint_ty] = "table_constraint_ty", + [sym_constraint_foreign_key] = "constraint_foreign_key", + [sym_fk_action] = "fk_action", + [sym_fk_ref_action] = "fk_ref_action", + [sym_alter_column_type] = "alter_column_type", + [sym_alter_table_fk_ref_action] = "alter_table_fk_ref_action", + [sym_table_column_item] = "table_column_item", + [sym_column_constraint] = "column_constraint", + [sym_column_constraint_ty] = "column_constraint_ty", + [sym_alter_table_rename_column] = "alter_table_rename_column", + [sym_alter_table_rename_constraint] = "alter_table_rename_constraint", + [sym_alter_table_rename_table] = "alter_table_rename_table", + [sym_alter_table_change_schema] = "alter_table_change_schema", + [sym_grant_statement] = "grant_statement", + [sym_grant_roles] = "grant_roles", + [sym_grant_privileges] = "grant_privileges", + [sym_grant_targets] = "grant_targets", + [sym_grant_function] = "grant_function", + [sym_psql_statement] = "psql_statement", + [sym_create_sequence_statement] = "create_sequence_statement", + [sym_sequence_increment] = "sequence_increment", + [sym_sequence_min] = "sequence_min", + [sym_sequence_max] = "sequence_max", + [sym_sequence_start] = "sequence_start", + [sym_sequence_cache] = "sequence_cache", + [sym_sequence_cycle] = "sequence_cycle", + [sym_sequence_owned] = "sequence_owned", + [sym_create_trigger_statement] = "create_trigger_statement", + [sym_trigger_when] = "trigger_when", + [sym_trigger_event] = "trigger_event", + [sym_trigger_scope] = "trigger_scope", + [sym_trigger_exec] = "trigger_exec", + [sym_trigger_cond] = "trigger_cond", + [sym__plpgsql_statement] = "_plpgsql_statement", + [sym_execute_statement] = "execute_statement", + [sym_assign_statement] = "assign_statement", + [sym_return_statement] = "return_statement", + [sym_perform_statement] = "perform_statement", + [sym_do_block] = "do_block", + [sym_select_statement] = "select_statement", + [sym_with_query] = "with_query", + [sym_with_query_item] = "with_query_item", + [sym_into] = "into", + [sym_select_having] = "select_having", + [sym_select_limit] = "select_limit", + [sym_select_group_by] = "select_group_by", + [sym_select_order_by] = "select_order_by", + [sym_order_by_item] = "order_by_item", + [sym_order_by_direction] = "order_by_direction", + [sym_select_where] = "select_where", + [sym_select_item] = "select_item", + [sym_select_from] = "select_from", + [sym_from_item] = "from_item", + [sym_from_select] = "from_select", + [sym_from_table] = "from_table", + [sym_from_function] = "from_function", + [sym_join_item] = "join_item", + [sym_join_condition] = "join_condition", + [sym_join_type] = "join_type", [sym_create_function_statement] = "create_function_statement", + [sym_function_return] = "function_return", + [sym_return_setof] = "return_setof", + [sym_return_table] = "return_table", [sym_function_volatility] = "function_volatility", [sym_block] = "block", + [sym_body] = "body", [sym_dollar_quote] = "dollar_quote", + [sym_declarations] = "declarations", + [sym_var_definition] = "var_definition", [sym_function_signature] = "function_signature", [sym_function_parameters] = "function_parameters", - [sym_function_parameter] = "function_parameter", + [sym_var_declaration] = "var_declaration", + [sym_where_filter] = "where_filter", [sym_or_replace] = "or_replace", + [sym_temporary] = "temporary", + [sym_if_not_exists] = "if_not_exists", + [sym_if_exists] = "if_exists", + [sym_as] = "as", [sym__type] = "_type", + [sym_predefined_types] = "predefined_types", + [sym_precision] = "precision", + [sym_string] = "string", + [sym__value_expression] = "_value_expression", + [sym_time_expression] = "time_expression", + [sym_function_call] = "function_call", + [sym_op_expression] = "op_expression", + [sym__list_of_identifiers] = "_list_of_identifiers", + [sym_comparison_op] = "comparison_op", + [sym_other_op] = "other_op", + [sym_minus] = "minus", + [sym_plus] = "plus", + [sym_not] = "not", + [sym_and] = "and", + [sym_or] = "or", + [sym_true] = "true", + [sym_false] = "false", + [sym_null] = "null", + [sym_star] = "star", [aux_sym_source_file_repeat1] = "source_file_repeat1", - [aux_sym_function_parameters_repeat1] = "function_parameters_repeat1", + [aux_sym_insert_items_repeat1] = "insert_items_repeat1", + [aux_sym_insert_conflict_repeat1] = "insert_conflict_repeat1", + [aux_sym_conflict_target_repeat1] = "conflict_target_repeat1", + [aux_sym_update_set_repeat1] = "update_set_repeat1", + [aux_sym_insert_returning_repeat1] = "insert_returning_repeat1", + [aux_sym_create_table_statement_repeat1] = "create_table_statement_repeat1", + [aux_sym_create_index_statement_repeat1] = "create_index_statement_repeat1", + [aux_sym_delete_using_repeat1] = "delete_using_repeat1", + [aux_sym_alter_table_change_repeat1] = "alter_table_change_repeat1", + [aux_sym_constraint_foreign_key_repeat1] = "constraint_foreign_key_repeat1", + [aux_sym_table_column_item_repeat1] = "table_column_item_repeat1", + [aux_sym_grant_roles_repeat1] = "grant_roles_repeat1", + [aux_sym_grant_privileges_repeat1] = "grant_privileges_repeat1", + [aux_sym_grant_targets_repeat1] = "grant_targets_repeat1", + [aux_sym_grant_function_repeat1] = "grant_function_repeat1", + [aux_sym_psql_statement_repeat1] = "psql_statement_repeat1", + [aux_sym_create_sequence_statement_repeat1] = "create_sequence_statement_repeat1", + [aux_sym_trigger_event_repeat1] = "trigger_event_repeat1", + [aux_sym_with_query_repeat1] = "with_query_repeat1", + [aux_sym_select_order_by_repeat1] = "select_order_by_repeat1", + [aux_sym_from_item_repeat1] = "from_item_repeat1", + [aux_sym_return_table_repeat1] = "return_table_repeat1", + [aux_sym_block_repeat1] = "block_repeat1", + [aux_sym_body_repeat1] = "body_repeat1", + [aux_sym_declarations_repeat1] = "declarations_repeat1", + [aux_sym_string_repeat1] = "string_repeat1", }; static const TSSymbol ts_symbol_map[] = { [ts_builtin_sym_end] = ts_builtin_sym_end, [anon_sym_SEMI] = anon_sym_SEMI, - [aux_sym_create_function_statement_token1] = aux_sym_create_function_statement_token1, - [aux_sym_create_function_statement_token2] = aux_sym_create_function_statement_token2, - [aux_sym_create_function_statement_token3] = aux_sym_create_function_statement_token3, - [aux_sym_create_function_statement_token4] = aux_sym_create_function_statement_token4, - [aux_sym_create_function_statement_token5] = aux_sym_create_function_statement_token5, - [aux_sym_function_volatility_token1] = aux_sym_function_volatility_token1, - [aux_sym_function_volatility_token2] = aux_sym_function_volatility_token2, - [aux_sym_function_volatility_token3] = aux_sym_function_volatility_token3, - [anon_sym_DOLLAR] = anon_sym_DOLLAR, + [aux_sym_insert_statement_token1] = aux_sym_insert_statement_token1, + [aux_sym_insert_statement_token2] = aux_sym_insert_statement_token2, + [aux_sym_insert_items_token1] = aux_sym_insert_items_token1, + [aux_sym_insert_items_token2] = aux_sym_insert_items_token2, [anon_sym_LPAREN] = anon_sym_LPAREN, [anon_sym_COMMA] = anon_sym_COMMA, [anon_sym_RPAREN] = anon_sym_RPAREN, - [anon_sym_OR] = anon_sym_OR, - [anon_sym_REPLACE] = anon_sym_REPLACE, + [aux_sym_insert_conflict_token1] = aux_sym_insert_conflict_token1, + [aux_sym_insert_conflict_token2] = aux_sym_insert_conflict_token2, + [aux_sym_insert_conflict_token3] = aux_sym_insert_conflict_token3, + [aux_sym_insert_conflict_token4] = aux_sym_insert_conflict_token4, + [aux_sym_insert_conflict_token5] = aux_sym_insert_conflict_token5, + [aux_sym_insert_conflict_token6] = aux_sym_insert_conflict_token6, + [aux_sym_conflict_target_token1] = aux_sym_conflict_target_token1, + [anon_sym_EQ] = anon_sym_EQ, + [aux_sym_update_set_token1] = aux_sym_update_set_token1, + [aux_sym_insert_returning_token1] = aux_sym_insert_returning_token1, + [aux_sym_create_table_statement_token1] = aux_sym_create_table_statement_token1, + [aux_sym_create_table_statement_token2] = aux_sym_create_table_statement_token2, + [aux_sym_create_table_statement_token3] = aux_sym_create_table_statement_token3, + [aux_sym_create_schema_statement_token1] = aux_sym_create_schema_statement_token1, + [aux_sym_schema_role_token1] = aux_sym_schema_role_token1, + [aux_sym_schema_role_token2] = aux_sym_schema_role_token2, + [aux_sym_schema_role_token3] = aux_sym_schema_role_token3, + [aux_sym_create_index_statement_token1] = aux_sym_create_index_statement_token1, + [aux_sym_create_index_statement_token2] = aux_sym_create_index_statement_token2, + [aux_sym_create_index_statement_token3] = aux_sym_create_index_statement_token3, + [aux_sym_index_using_token1] = aux_sym_index_using_token1, + [aux_sym_index_col_dir_token1] = aux_sym_index_col_dir_token1, + [aux_sym_index_col_dir_token2] = aux_sym_index_col_dir_token2, + [aux_sym_index_col_nulls_token1] = aux_sym_index_col_nulls_token1, + [aux_sym_index_col_nulls_token2] = aux_sym_index_col_nulls_token2, + [aux_sym_index_col_nulls_token3] = aux_sym_index_col_nulls_token3, + [aux_sym_index_includes_token1] = aux_sym_index_includes_token1, + [aux_sym_delete_statement_token1] = aux_sym_delete_statement_token1, + [aux_sym_delete_statement_token2] = aux_sym_delete_statement_token2, + [aux_sym_delete_statement_token3] = aux_sym_delete_statement_token3, + [aux_sym_alter_table_statement_token1] = aux_sym_alter_table_statement_token1, + [aux_sym_alter_table_action_token1] = aux_sym_alter_table_action_token1, + [aux_sym_alter_table_action_token2] = aux_sym_alter_table_action_token2, + [aux_sym_alter_table_action_token3] = aux_sym_alter_table_action_token3, + [aux_sym_alter_column_action_token1] = aux_sym_alter_column_action_token1, + [aux_sym_alter_column_action_token2] = aux_sym_alter_column_action_token2, + [aux_sym_alter_column_action_token3] = aux_sym_alter_column_action_token3, + [aux_sym_alter_column_action_token4] = aux_sym_alter_column_action_token4, + [aux_sym_constraint_when_token1] = aux_sym_constraint_when_token1, + [aux_sym_constraint_when_token2] = aux_sym_constraint_when_token2, + [aux_sym_constraint_when_token3] = aux_sym_constraint_when_token3, + [aux_sym_constraint_when_token4] = aux_sym_constraint_when_token4, + [aux_sym_table_constraint_ty_token1] = aux_sym_table_constraint_ty_token1, + [aux_sym_table_constraint_ty_token2] = aux_sym_table_constraint_ty_token2, + [aux_sym_table_constraint_ty_token3] = aux_sym_table_constraint_ty_token3, + [aux_sym_table_constraint_ty_token4] = aux_sym_table_constraint_ty_token4, + [aux_sym_constraint_foreign_key_token1] = aux_sym_constraint_foreign_key_token1, + [aux_sym_fk_ref_action_token1] = aux_sym_fk_ref_action_token1, + [aux_sym_fk_ref_action_token2] = aux_sym_fk_ref_action_token2, + [aux_sym_fk_ref_action_token3] = aux_sym_fk_ref_action_token3, + [aux_sym_fk_ref_action_token4] = aux_sym_fk_ref_action_token4, + [aux_sym_alter_table_rename_column_token1] = aux_sym_alter_table_rename_column_token1, + [aux_sym_alter_table_rename_column_token2] = aux_sym_alter_table_rename_column_token2, + [aux_sym_grant_statement_token1] = aux_sym_grant_statement_token1, + [aux_sym_grant_roles_token1] = aux_sym_grant_roles_token1, + [aux_sym_grant_roles_token2] = aux_sym_grant_roles_token2, + [aux_sym_grant_privileges_token1] = aux_sym_grant_privileges_token1, + [anon_sym_privileges] = anon_sym_privileges, + [aux_sym_grant_targets_token1] = aux_sym_grant_targets_token1, + [aux_sym_grant_targets_token2] = aux_sym_grant_targets_token2, + [aux_sym_grant_targets_token3] = aux_sym_grant_targets_token3, + [aux_sym_grant_targets_token4] = aux_sym_grant_targets_token4, + [aux_sym_grant_targets_token5] = aux_sym_grant_targets_token5, + [aux_sym_grant_targets_token6] = aux_sym_grant_targets_token6, + [aux_sym_grant_targets_token7] = aux_sym_grant_targets_token7, + [aux_sym_grant_targets_token8] = aux_sym_grant_targets_token8, + [anon_sym_BSLASH] = anon_sym_BSLASH, + [aux_sym_psql_statement_token1] = aux_sym_psql_statement_token1, + [aux_sym_sequence_increment_token1] = aux_sym_sequence_increment_token1, + [aux_sym_sequence_increment_token2] = aux_sym_sequence_increment_token2, + [aux_sym_sequence_min_token1] = aux_sym_sequence_min_token1, + [aux_sym_sequence_max_token1] = aux_sym_sequence_max_token1, + [aux_sym_sequence_start_token1] = aux_sym_sequence_start_token1, + [aux_sym_sequence_start_token2] = aux_sym_sequence_start_token2, + [aux_sym_sequence_cache_token1] = aux_sym_sequence_cache_token1, + [aux_sym_sequence_cycle_token1] = aux_sym_sequence_cycle_token1, + [aux_sym_sequence_owned_token1] = aux_sym_sequence_owned_token1, + [aux_sym_sequence_owned_token2] = aux_sym_sequence_owned_token2, + [aux_sym_create_trigger_statement_token1] = aux_sym_create_trigger_statement_token1, + [aux_sym_trigger_when_token1] = aux_sym_trigger_when_token1, + [aux_sym_trigger_when_token2] = aux_sym_trigger_when_token2, + [aux_sym_trigger_when_token3] = aux_sym_trigger_when_token3, + [aux_sym_trigger_event_token1] = aux_sym_trigger_event_token1, + [aux_sym_trigger_event_token2] = aux_sym_trigger_event_token2, + [aux_sym_trigger_scope_token1] = aux_sym_trigger_scope_token1, + [aux_sym_trigger_scope_token2] = aux_sym_trigger_scope_token2, + [aux_sym_trigger_scope_token3] = aux_sym_trigger_scope_token3, + [aux_sym_trigger_exec_token1] = aux_sym_trigger_exec_token1, + [aux_sym_trigger_cond_token1] = aux_sym_trigger_cond_token1, + [aux_sym_return_statement_token1] = aux_sym_return_statement_token1, + [aux_sym_return_statement_token2] = aux_sym_return_statement_token2, + [aux_sym_perform_statement_token1] = aux_sym_perform_statement_token1, + [aux_sym_select_statement_token1] = aux_sym_select_statement_token1, + [aux_sym_with_query_item_token1] = aux_sym_with_query_item_token1, + [aux_sym_into_token1] = aux_sym_into_token1, + [aux_sym_select_having_token1] = aux_sym_select_having_token1, + [aux_sym_select_limit_token1] = aux_sym_select_limit_token1, + [aux_sym_select_limit_token2] = aux_sym_select_limit_token2, + [aux_sym_select_order_by_token1] = aux_sym_select_order_by_token1, + [aux_sym_join_item_token1] = aux_sym_join_item_token1, + [aux_sym_join_item_token2] = aux_sym_join_item_token2, + [aux_sym_join_item_token3] = aux_sym_join_item_token3, + [aux_sym_join_type_token1] = aux_sym_join_type_token1, + [aux_sym_join_type_token2] = aux_sym_join_type_token2, + [aux_sym_join_type_token3] = aux_sym_join_type_token3, + [aux_sym_join_type_token4] = aux_sym_join_type_token4, + [aux_sym_join_type_token5] = aux_sym_join_type_token5, + [aux_sym_create_function_statement_token1] = aux_sym_create_function_statement_token1, + [aux_sym_function_return_token1] = aux_sym_function_return_token1, + [aux_sym_return_setof_token1] = aux_sym_return_setof_token1, + [aux_sym_function_volatility_token1] = aux_sym_function_volatility_token1, + [aux_sym_function_volatility_token2] = aux_sym_function_volatility_token2, + [aux_sym_function_volatility_token3] = aux_sym_function_volatility_token3, + [aux_sym_body_token1] = aux_sym_body_token1, + [aux_sym_body_token2] = aux_sym_body_token2, + [anon_sym_DOLLAR] = anon_sym_DOLLAR, + [aux_sym_declarations_token1] = aux_sym_declarations_token1, + [anon_sym_COLON_EQ] = anon_sym_COLON_EQ, + [aux_sym_where_filter_token1] = aux_sym_where_filter_token1, + [aux_sym_or_replace_token1] = aux_sym_or_replace_token1, + [aux_sym_temporary_token1] = aux_sym_temporary_token1, + [aux_sym_temporary_token2] = aux_sym_temporary_token2, + [aux_sym_if_not_exists_token1] = aux_sym_if_not_exists_token1, + [aux_sym_if_not_exists_token2] = aux_sym_if_not_exists_token2, [anon_sym_LBRACK] = anon_sym_LBRACK, [anon_sym_RBRACK] = anon_sym_RBRACK, + [aux_sym_predefined_types_token1] = aux_sym_predefined_types_token1, + [anon_sym_SQUOTE] = anon_sym_SQUOTE, + [aux_sym_string_token1] = aux_sym_string_token1, + [aux_sym_string_token2] = aux_sym_string_token2, + [sym_comment] = sym_comment, + [aux_sym_time_expression_token1] = aux_sym_time_expression_token1, + [aux_sym_time_expression_token2] = aux_sym_time_expression_token2, + [aux_sym_time_expression_token3] = aux_sym_time_expression_token3, + [anon_sym_STAR] = anon_sym_STAR, + [anon_sym_SLASH] = anon_sym_SLASH, + [anon_sym_PERCENT] = anon_sym_PERCENT, + [anon_sym_DASH] = anon_sym_DASH, + [anon_sym_PLUS] = anon_sym_PLUS, + [anon_sym_LT] = anon_sym_LT, + [anon_sym_GT] = anon_sym_GT, + [anon_sym_LT_EQ] = anon_sym_LT_EQ, + [anon_sym_GT_EQ] = anon_sym_GT_EQ, + [anon_sym_LT_GT] = anon_sym_LT_GT, + [anon_sym_BANG_EQ] = anon_sym_BANG_EQ, + [anon_sym_PIPE_PIPE] = anon_sym_PIPE_PIPE, + [sym_cast] = sym_cast, + [aux_sym_and_token1] = aux_sym_and_token1, + [aux_sym_true_token1] = aux_sym_true_token1, + [aux_sym_false_token1] = aux_sym_false_token1, + [sym_number] = sym_number, [sym_identifier] = sym_identifier, [sym_source_file] = sym_source_file, [sym__statement] = sym__statement, + [sym__with_query_statement] = sym__with_query_statement, + [sym_insert_statement] = sym_insert_statement, + [sym_insert_items] = sym_insert_items, + [sym_insert_item] = sym_insert_item, + [sym_insert_conflict] = sym_insert_conflict, + [sym_conflict_target] = sym_conflict_target, + [sym_update_set] = sym_update_set, + [sym_update_value] = sym_update_value, + [sym_insert_returning] = sym_insert_returning, + [sym_create_table_statement] = sym_create_table_statement, + [sym_create_table_item] = sym_create_table_item, + [sym_create_schema_statement] = sym_create_schema_statement, + [sym_schema_role] = sym_schema_role, + [sym_create_index_statement] = sym_create_index_statement, + [sym_index_using] = sym_index_using, + [sym_index_col] = sym_index_col, + [sym_index_col_dir] = sym_index_col_dir, + [sym_index_col_nulls] = sym_index_col_nulls, + [sym_index_includes] = sym_index_includes, + [sym_delete_statement] = sym_delete_statement, + [sym_delete_using] = sym_delete_using, + [sym_alter_table_statement] = sym_alter_table_statement, + [sym_alter_table_change] = sym_alter_table_change, + [sym_alter_table_action] = sym_alter_table_action, + [sym_alter_column_action] = sym_alter_column_action, + [sym_table_constraint] = sym_table_constraint, + [sym_constraint_when] = sym_constraint_when, + [sym_table_constraint_ty] = sym_table_constraint_ty, + [sym_constraint_foreign_key] = sym_constraint_foreign_key, + [sym_fk_action] = sym_fk_action, + [sym_fk_ref_action] = sym_fk_ref_action, + [sym_alter_column_type] = sym_alter_column_type, + [sym_alter_table_fk_ref_action] = sym_alter_table_fk_ref_action, + [sym_table_column_item] = sym_table_column_item, + [sym_column_constraint] = sym_column_constraint, + [sym_column_constraint_ty] = sym_column_constraint_ty, + [sym_alter_table_rename_column] = sym_alter_table_rename_column, + [sym_alter_table_rename_constraint] = sym_alter_table_rename_constraint, + [sym_alter_table_rename_table] = sym_alter_table_rename_table, + [sym_alter_table_change_schema] = sym_alter_table_change_schema, + [sym_grant_statement] = sym_grant_statement, + [sym_grant_roles] = sym_grant_roles, + [sym_grant_privileges] = sym_grant_privileges, + [sym_grant_targets] = sym_grant_targets, + [sym_grant_function] = sym_grant_function, + [sym_psql_statement] = sym_psql_statement, + [sym_create_sequence_statement] = sym_create_sequence_statement, + [sym_sequence_increment] = sym_sequence_increment, + [sym_sequence_min] = sym_sequence_min, + [sym_sequence_max] = sym_sequence_max, + [sym_sequence_start] = sym_sequence_start, + [sym_sequence_cache] = sym_sequence_cache, + [sym_sequence_cycle] = sym_sequence_cycle, + [sym_sequence_owned] = sym_sequence_owned, + [sym_create_trigger_statement] = sym_create_trigger_statement, + [sym_trigger_when] = sym_trigger_when, + [sym_trigger_event] = sym_trigger_event, + [sym_trigger_scope] = sym_trigger_scope, + [sym_trigger_exec] = sym_trigger_exec, + [sym_trigger_cond] = sym_trigger_cond, + [sym__plpgsql_statement] = sym__plpgsql_statement, + [sym_execute_statement] = sym_execute_statement, + [sym_assign_statement] = sym_assign_statement, + [sym_return_statement] = sym_return_statement, + [sym_perform_statement] = sym_perform_statement, + [sym_do_block] = sym_do_block, + [sym_select_statement] = sym_select_statement, + [sym_with_query] = sym_with_query, + [sym_with_query_item] = sym_with_query_item, + [sym_into] = sym_into, + [sym_select_having] = sym_select_having, + [sym_select_limit] = sym_select_limit, + [sym_select_group_by] = sym_select_group_by, + [sym_select_order_by] = sym_select_order_by, + [sym_order_by_item] = sym_order_by_item, + [sym_order_by_direction] = sym_order_by_direction, + [sym_select_where] = sym_select_where, + [sym_select_item] = sym_select_item, + [sym_select_from] = sym_select_from, + [sym_from_item] = sym_from_item, + [sym_from_select] = sym_from_select, + [sym_from_table] = sym_from_table, + [sym_from_function] = sym_from_function, + [sym_join_item] = sym_join_item, + [sym_join_condition] = sym_join_condition, + [sym_join_type] = sym_join_type, [sym_create_function_statement] = sym_create_function_statement, + [sym_function_return] = sym_function_return, + [sym_return_setof] = sym_return_setof, + [sym_return_table] = sym_return_table, [sym_function_volatility] = sym_function_volatility, [sym_block] = sym_block, + [sym_body] = sym_body, [sym_dollar_quote] = sym_dollar_quote, + [sym_declarations] = sym_declarations, + [sym_var_definition] = sym_var_definition, [sym_function_signature] = sym_function_signature, [sym_function_parameters] = sym_function_parameters, - [sym_function_parameter] = sym_function_parameter, + [sym_var_declaration] = sym_var_declaration, + [sym_where_filter] = sym_where_filter, [sym_or_replace] = sym_or_replace, + [sym_temporary] = sym_temporary, + [sym_if_not_exists] = sym_if_not_exists, + [sym_if_exists] = sym_if_exists, + [sym_as] = sym_as, [sym__type] = sym__type, + [sym_predefined_types] = sym_predefined_types, + [sym_precision] = sym_precision, + [sym_string] = sym_string, + [sym__value_expression] = sym__value_expression, + [sym_time_expression] = sym_time_expression, + [sym_function_call] = sym_function_call, + [sym_op_expression] = sym_op_expression, + [sym__list_of_identifiers] = sym__list_of_identifiers, + [sym_comparison_op] = sym_comparison_op, + [sym_other_op] = sym_other_op, + [sym_minus] = sym_minus, + [sym_plus] = sym_plus, + [sym_not] = sym_not, + [sym_and] = sym_and, + [sym_or] = sym_or, + [sym_true] = sym_true, + [sym_false] = sym_false, + [sym_null] = sym_null, + [sym_star] = sym_star, [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1, - [aux_sym_function_parameters_repeat1] = aux_sym_function_parameters_repeat1, + [aux_sym_insert_items_repeat1] = aux_sym_insert_items_repeat1, + [aux_sym_insert_conflict_repeat1] = aux_sym_insert_conflict_repeat1, + [aux_sym_conflict_target_repeat1] = aux_sym_conflict_target_repeat1, + [aux_sym_update_set_repeat1] = aux_sym_update_set_repeat1, + [aux_sym_insert_returning_repeat1] = aux_sym_insert_returning_repeat1, + [aux_sym_create_table_statement_repeat1] = aux_sym_create_table_statement_repeat1, + [aux_sym_create_index_statement_repeat1] = aux_sym_create_index_statement_repeat1, + [aux_sym_delete_using_repeat1] = aux_sym_delete_using_repeat1, + [aux_sym_alter_table_change_repeat1] = aux_sym_alter_table_change_repeat1, + [aux_sym_constraint_foreign_key_repeat1] = aux_sym_constraint_foreign_key_repeat1, + [aux_sym_table_column_item_repeat1] = aux_sym_table_column_item_repeat1, + [aux_sym_grant_roles_repeat1] = aux_sym_grant_roles_repeat1, + [aux_sym_grant_privileges_repeat1] = aux_sym_grant_privileges_repeat1, + [aux_sym_grant_targets_repeat1] = aux_sym_grant_targets_repeat1, + [aux_sym_grant_function_repeat1] = aux_sym_grant_function_repeat1, + [aux_sym_psql_statement_repeat1] = aux_sym_psql_statement_repeat1, + [aux_sym_create_sequence_statement_repeat1] = aux_sym_create_sequence_statement_repeat1, + [aux_sym_trigger_event_repeat1] = aux_sym_trigger_event_repeat1, + [aux_sym_with_query_repeat1] = aux_sym_with_query_repeat1, + [aux_sym_select_order_by_repeat1] = aux_sym_select_order_by_repeat1, + [aux_sym_from_item_repeat1] = aux_sym_from_item_repeat1, + [aux_sym_return_table_repeat1] = aux_sym_return_table_repeat1, + [aux_sym_block_repeat1] = aux_sym_block_repeat1, + [aux_sym_body_repeat1] = aux_sym_body_repeat1, + [aux_sym_declarations_repeat1] = aux_sym_declarations_repeat1, + [aux_sym_string_repeat1] = aux_sym_string_repeat1, }; static const TSSymbolMetadata ts_symbol_metadata[] = { @@ -129,39 +986,19 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [aux_sym_create_function_statement_token1] = { + [aux_sym_insert_statement_token1] = { .visible = true, .named = false, }, - [aux_sym_create_function_statement_token2] = { + [aux_sym_insert_statement_token2] = { .visible = true, .named = false, }, - [aux_sym_create_function_statement_token3] = { + [aux_sym_insert_items_token1] = { .visible = true, .named = false, }, - [aux_sym_create_function_statement_token4] = { - .visible = true, - .named = false, - }, - [aux_sym_create_function_statement_token5] = { - .visible = true, - .named = false, - }, - [aux_sym_function_volatility_token1] = { - .visible = true, - .named = false, - }, - [aux_sym_function_volatility_token2] = { - .visible = true, - .named = false, - }, - [aux_sym_function_volatility_token3] = { - .visible = true, - .named = false, - }, - [anon_sym_DOLLAR] = { + [aux_sym_insert_items_token2] = { .visible = true, .named = false, }, @@ -177,11 +1014,499 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [anon_sym_OR] = { + [aux_sym_insert_conflict_token1] = { .visible = true, .named = false, }, - [anon_sym_REPLACE] = { + [aux_sym_insert_conflict_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_insert_conflict_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_insert_conflict_token4] = { + .visible = true, + .named = false, + }, + [aux_sym_insert_conflict_token5] = { + .visible = true, + .named = false, + }, + [aux_sym_insert_conflict_token6] = { + .visible = true, + .named = false, + }, + [aux_sym_conflict_target_token1] = { + .visible = true, + .named = false, + }, + [anon_sym_EQ] = { + .visible = true, + .named = false, + }, + [aux_sym_update_set_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_insert_returning_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_create_table_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_create_table_statement_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_create_table_statement_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_create_schema_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_schema_role_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_schema_role_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_schema_role_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_create_index_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_create_index_statement_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_create_index_statement_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_index_using_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_index_col_dir_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_index_col_dir_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_index_col_nulls_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_index_col_nulls_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_index_col_nulls_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_index_includes_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_delete_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_delete_statement_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_delete_statement_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_alter_table_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_alter_table_action_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_alter_table_action_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_alter_table_action_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_alter_column_action_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_alter_column_action_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_alter_column_action_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_alter_column_action_token4] = { + .visible = true, + .named = false, + }, + [aux_sym_constraint_when_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_constraint_when_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_constraint_when_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_constraint_when_token4] = { + .visible = true, + .named = false, + }, + [aux_sym_table_constraint_ty_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_table_constraint_ty_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_table_constraint_ty_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_table_constraint_ty_token4] = { + .visible = true, + .named = false, + }, + [aux_sym_constraint_foreign_key_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_fk_ref_action_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_fk_ref_action_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_fk_ref_action_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_fk_ref_action_token4] = { + .visible = true, + .named = false, + }, + [aux_sym_alter_table_rename_column_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_alter_table_rename_column_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_roles_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_roles_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_privileges_token1] = { + .visible = true, + .named = false, + }, + [anon_sym_privileges] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_targets_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_targets_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_targets_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_targets_token4] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_targets_token5] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_targets_token6] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_targets_token7] = { + .visible = true, + .named = false, + }, + [aux_sym_grant_targets_token8] = { + .visible = true, + .named = false, + }, + [anon_sym_BSLASH] = { + .visible = true, + .named = false, + }, + [aux_sym_psql_statement_token1] = { + .visible = false, + .named = false, + }, + [aux_sym_sequence_increment_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_sequence_increment_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_sequence_min_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_sequence_max_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_sequence_start_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_sequence_start_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_sequence_cache_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_sequence_cycle_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_sequence_owned_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_sequence_owned_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_create_trigger_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_trigger_when_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_trigger_when_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_trigger_when_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_trigger_event_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_trigger_event_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_trigger_scope_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_trigger_scope_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_trigger_scope_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_trigger_exec_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_trigger_cond_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_return_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_return_statement_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_perform_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_select_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_with_query_item_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_into_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_select_having_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_select_limit_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_select_limit_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_select_order_by_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_join_item_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_join_item_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_join_item_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_join_type_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_join_type_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_join_type_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_join_type_token4] = { + .visible = true, + .named = false, + }, + [aux_sym_join_type_token5] = { + .visible = true, + .named = false, + }, + [aux_sym_create_function_statement_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_function_return_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_return_setof_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_function_volatility_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_function_volatility_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_function_volatility_token3] = { + .visible = true, + .named = false, + }, + [aux_sym_body_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_body_token2] = { + .visible = true, + .named = false, + }, + [anon_sym_DOLLAR] = { + .visible = true, + .named = false, + }, + [aux_sym_declarations_token1] = { + .visible = true, + .named = false, + }, + [anon_sym_COLON_EQ] = { + .visible = true, + .named = false, + }, + [aux_sym_where_filter_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_or_replace_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_temporary_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_temporary_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_if_not_exists_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_if_not_exists_token2] = { .visible = true, .named = false, }, @@ -193,6 +1518,106 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [aux_sym_predefined_types_token1] = { + .visible = true, + .named = false, + }, + [anon_sym_SQUOTE] = { + .visible = true, + .named = false, + }, + [aux_sym_string_token1] = { + .visible = false, + .named = false, + }, + [aux_sym_string_token2] = { + .visible = false, + .named = false, + }, + [sym_comment] = { + .visible = true, + .named = true, + }, + [aux_sym_time_expression_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_time_expression_token2] = { + .visible = true, + .named = false, + }, + [aux_sym_time_expression_token3] = { + .visible = true, + .named = false, + }, + [anon_sym_STAR] = { + .visible = true, + .named = false, + }, + [anon_sym_SLASH] = { + .visible = true, + .named = false, + }, + [anon_sym_PERCENT] = { + .visible = true, + .named = false, + }, + [anon_sym_DASH] = { + .visible = true, + .named = false, + }, + [anon_sym_PLUS] = { + .visible = true, + .named = false, + }, + [anon_sym_LT] = { + .visible = true, + .named = false, + }, + [anon_sym_GT] = { + .visible = true, + .named = false, + }, + [anon_sym_LT_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_GT_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_LT_GT] = { + .visible = true, + .named = false, + }, + [anon_sym_BANG_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_PIPE_PIPE] = { + .visible = true, + .named = false, + }, + [sym_cast] = { + .visible = true, + .named = true, + }, + [aux_sym_and_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_true_token1] = { + .visible = true, + .named = false, + }, + [aux_sym_false_token1] = { + .visible = true, + .named = false, + }, + [sym_number] = { + .visible = true, + .named = true, + }, [sym_identifier] = { .visible = true, .named = true, @@ -205,10 +1630,366 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = true, }, + [sym__with_query_statement] = { + .visible = false, + .named = true, + }, + [sym_insert_statement] = { + .visible = true, + .named = true, + }, + [sym_insert_items] = { + .visible = true, + .named = true, + }, + [sym_insert_item] = { + .visible = true, + .named = true, + }, + [sym_insert_conflict] = { + .visible = true, + .named = true, + }, + [sym_conflict_target] = { + .visible = true, + .named = true, + }, + [sym_update_set] = { + .visible = true, + .named = true, + }, + [sym_update_value] = { + .visible = true, + .named = true, + }, + [sym_insert_returning] = { + .visible = true, + .named = true, + }, + [sym_create_table_statement] = { + .visible = true, + .named = true, + }, + [sym_create_table_item] = { + .visible = true, + .named = true, + }, + [sym_create_schema_statement] = { + .visible = true, + .named = true, + }, + [sym_schema_role] = { + .visible = true, + .named = true, + }, + [sym_create_index_statement] = { + .visible = true, + .named = true, + }, + [sym_index_using] = { + .visible = true, + .named = true, + }, + [sym_index_col] = { + .visible = true, + .named = true, + }, + [sym_index_col_dir] = { + .visible = true, + .named = true, + }, + [sym_index_col_nulls] = { + .visible = true, + .named = true, + }, + [sym_index_includes] = { + .visible = true, + .named = true, + }, + [sym_delete_statement] = { + .visible = true, + .named = true, + }, + [sym_delete_using] = { + .visible = true, + .named = true, + }, + [sym_alter_table_statement] = { + .visible = true, + .named = true, + }, + [sym_alter_table_change] = { + .visible = true, + .named = true, + }, + [sym_alter_table_action] = { + .visible = true, + .named = true, + }, + [sym_alter_column_action] = { + .visible = true, + .named = true, + }, + [sym_table_constraint] = { + .visible = true, + .named = true, + }, + [sym_constraint_when] = { + .visible = true, + .named = true, + }, + [sym_table_constraint_ty] = { + .visible = true, + .named = true, + }, + [sym_constraint_foreign_key] = { + .visible = true, + .named = true, + }, + [sym_fk_action] = { + .visible = true, + .named = true, + }, + [sym_fk_ref_action] = { + .visible = true, + .named = true, + }, + [sym_alter_column_type] = { + .visible = true, + .named = true, + }, + [sym_alter_table_fk_ref_action] = { + .visible = true, + .named = true, + }, + [sym_table_column_item] = { + .visible = true, + .named = true, + }, + [sym_column_constraint] = { + .visible = true, + .named = true, + }, + [sym_column_constraint_ty] = { + .visible = true, + .named = true, + }, + [sym_alter_table_rename_column] = { + .visible = true, + .named = true, + }, + [sym_alter_table_rename_constraint] = { + .visible = true, + .named = true, + }, + [sym_alter_table_rename_table] = { + .visible = true, + .named = true, + }, + [sym_alter_table_change_schema] = { + .visible = true, + .named = true, + }, + [sym_grant_statement] = { + .visible = true, + .named = true, + }, + [sym_grant_roles] = { + .visible = true, + .named = true, + }, + [sym_grant_privileges] = { + .visible = true, + .named = true, + }, + [sym_grant_targets] = { + .visible = true, + .named = true, + }, + [sym_grant_function] = { + .visible = true, + .named = true, + }, + [sym_psql_statement] = { + .visible = true, + .named = true, + }, + [sym_create_sequence_statement] = { + .visible = true, + .named = true, + }, + [sym_sequence_increment] = { + .visible = true, + .named = true, + }, + [sym_sequence_min] = { + .visible = true, + .named = true, + }, + [sym_sequence_max] = { + .visible = true, + .named = true, + }, + [sym_sequence_start] = { + .visible = true, + .named = true, + }, + [sym_sequence_cache] = { + .visible = true, + .named = true, + }, + [sym_sequence_cycle] = { + .visible = true, + .named = true, + }, + [sym_sequence_owned] = { + .visible = true, + .named = true, + }, + [sym_create_trigger_statement] = { + .visible = true, + .named = true, + }, + [sym_trigger_when] = { + .visible = true, + .named = true, + }, + [sym_trigger_event] = { + .visible = true, + .named = true, + }, + [sym_trigger_scope] = { + .visible = true, + .named = true, + }, + [sym_trigger_exec] = { + .visible = true, + .named = true, + }, + [sym_trigger_cond] = { + .visible = true, + .named = true, + }, + [sym__plpgsql_statement] = { + .visible = false, + .named = true, + }, + [sym_execute_statement] = { + .visible = true, + .named = true, + }, + [sym_assign_statement] = { + .visible = true, + .named = true, + }, + [sym_return_statement] = { + .visible = true, + .named = true, + }, + [sym_perform_statement] = { + .visible = true, + .named = true, + }, + [sym_do_block] = { + .visible = true, + .named = true, + }, + [sym_select_statement] = { + .visible = true, + .named = true, + }, + [sym_with_query] = { + .visible = true, + .named = true, + }, + [sym_with_query_item] = { + .visible = true, + .named = true, + }, + [sym_into] = { + .visible = true, + .named = true, + }, + [sym_select_having] = { + .visible = true, + .named = true, + }, + [sym_select_limit] = { + .visible = true, + .named = true, + }, + [sym_select_group_by] = { + .visible = true, + .named = true, + }, + [sym_select_order_by] = { + .visible = true, + .named = true, + }, + [sym_order_by_item] = { + .visible = true, + .named = true, + }, + [sym_order_by_direction] = { + .visible = true, + .named = true, + }, + [sym_select_where] = { + .visible = true, + .named = true, + }, + [sym_select_item] = { + .visible = true, + .named = true, + }, + [sym_select_from] = { + .visible = true, + .named = true, + }, + [sym_from_item] = { + .visible = true, + .named = true, + }, + [sym_from_select] = { + .visible = true, + .named = true, + }, + [sym_from_table] = { + .visible = true, + .named = true, + }, + [sym_from_function] = { + .visible = true, + .named = true, + }, + [sym_join_item] = { + .visible = true, + .named = true, + }, + [sym_join_condition] = { + .visible = true, + .named = true, + }, + [sym_join_type] = { + .visible = true, + .named = true, + }, [sym_create_function_statement] = { .visible = true, .named = true, }, + [sym_function_return] = { + .visible = true, + .named = true, + }, + [sym_return_setof] = { + .visible = true, + .named = true, + }, + [sym_return_table] = { + .visible = true, + .named = true, + }, [sym_function_volatility] = { .visible = true, .named = true, @@ -217,10 +1998,22 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_body] = { + .visible = true, + .named = true, + }, [sym_dollar_quote] = { .visible = true, .named = true, }, + [sym_declarations] = { + .visible = true, + .named = true, + }, + [sym_var_definition] = { + .visible = true, + .named = true, + }, [sym_function_signature] = { .visible = true, .named = true, @@ -229,7 +2022,11 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_function_parameter] = { + [sym_var_declaration] = { + .visible = true, + .named = true, + }, + [sym_where_filter] = { .visible = true, .named = true, }, @@ -237,39 +2034,242 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_temporary] = { + .visible = true, + .named = true, + }, + [sym_if_not_exists] = { + .visible = true, + .named = true, + }, + [sym_if_exists] = { + .visible = true, + .named = true, + }, + [sym_as] = { + .visible = true, + .named = true, + }, [sym__type] = { .visible = false, .named = true, }, + [sym_predefined_types] = { + .visible = true, + .named = true, + }, + [sym_precision] = { + .visible = true, + .named = true, + }, + [sym_string] = { + .visible = true, + .named = true, + }, + [sym__value_expression] = { + .visible = false, + .named = true, + }, + [sym_time_expression] = { + .visible = true, + .named = true, + }, + [sym_function_call] = { + .visible = true, + .named = true, + }, + [sym_op_expression] = { + .visible = true, + .named = true, + }, + [sym__list_of_identifiers] = { + .visible = false, + .named = true, + }, + [sym_comparison_op] = { + .visible = true, + .named = true, + }, + [sym_other_op] = { + .visible = true, + .named = true, + }, + [sym_minus] = { + .visible = true, + .named = true, + }, + [sym_plus] = { + .visible = true, + .named = true, + }, + [sym_not] = { + .visible = true, + .named = true, + }, + [sym_and] = { + .visible = true, + .named = true, + }, + [sym_or] = { + .visible = true, + .named = true, + }, + [sym_true] = { + .visible = true, + .named = true, + }, + [sym_false] = { + .visible = true, + .named = true, + }, + [sym_null] = { + .visible = true, + .named = true, + }, + [sym_star] = { + .visible = true, + .named = true, + }, [aux_sym_source_file_repeat1] = { .visible = false, .named = false, }, - [aux_sym_function_parameters_repeat1] = { + [aux_sym_insert_items_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_insert_conflict_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_conflict_target_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_update_set_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_insert_returning_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_create_table_statement_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_create_index_statement_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_delete_using_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_alter_table_change_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_constraint_foreign_key_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_table_column_item_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_grant_roles_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_grant_privileges_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_grant_targets_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_grant_function_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_psql_statement_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_create_sequence_statement_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_trigger_event_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_with_query_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_select_order_by_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_from_item_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_return_table_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_block_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_body_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_declarations_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_string_repeat1] = { .visible = false, .named = false, }, }; enum { - field_name = 1, - field_type = 2, + field_default_value = 1, + field_name = 2, + field_type = 3, }; static const char * const ts_field_names[] = { [0] = NULL, + [field_default_value] = "default_value", [field_name] = "name", [field_type] = "type", }; static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { [1] = {.index = 0, .length = 2}, + [2] = {.index = 2, .length = 1}, + [3] = {.index = 3, .length = 1}, + [4] = {.index = 4, .length = 1}, }; static const TSFieldMapEntry ts_field_map_entries[] = { [0] = {field_name, 0}, {field_type, 1}, + [2] = + {field_default_value, 2}, + [3] = + {field_default_value, 3}, + [4] = + {field_default_value, 4}, }; static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { @@ -285,263 +2285,8537 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(53); - if (lookahead == '$') ADVANCE(63); - if (lookahead == '(') ADVANCE(64); - if (lookahead == ')') ADVANCE(66); - if (lookahead == ',') ADVANCE(65); - if (lookahead == ';') ADVANCE(54); - if (lookahead == 'A') ADVANCE(42); - if (lookahead == 'C') ADVANCE(40); - if (lookahead == 'F') ADVANCE(49); - if (lookahead == 'I') ADVANCE(31); - if (lookahead == 'L') ADVANCE(4); - if (lookahead == 'O') ADVANCE(39); - if (lookahead == 'R') ADVANCE(13); - if (lookahead == 'S') ADVANCE(45); - if (lookahead == 'V') ADVANCE(36); - if (lookahead == '[') ADVANCE(69); - if (lookahead == ']') ADVANCE(70); + if (eof) ADVANCE(618); + if (lookahead == '!') ADVANCE(66); + if (lookahead == '$') ADVANCE(803); + if (lookahead == '%') ADVANCE(834); + if (lookahead == '\'') ADVANCE(820); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(65); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == 'P') ADVANCE(220); + if (lookahead == '[') ADVANCE(815); + if (lookahead == '\\') ADVANCE(730); + if (lookahead == ']') ADVANCE(816); + if (lookahead == 'p') ADVANCE(68); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(138); + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(180); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(79); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(94); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(88); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(81); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(474); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(82); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(270); + if (lookahead == 'J' || + lookahead == 'j') ADVANCE(438); + if (lookahead == 'K' || + lookahead == 'k') ADVANCE(181); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(83); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(84); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(96); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(274); + if (lookahead == 'Q' || + lookahead == 'q') ADVANCE(580); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(183); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(139); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(109); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(397); + if (lookahead == 'V' || + lookahead == 'v') ADVANCE(90); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(303); + if (lookahead == 'Z' || + lookahead == 'z') ADVANCE(455); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(0) + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(0) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(852); END_STATE(); case 1: - if (lookahead == '$') ADVANCE(63); - if (lookahead == ')') ADVANCE(66); + if (lookahead == ' ') ADVANCE(445); + END_STATE(); + case 2: + if (lookahead == '!') ADVANCE(66); + if (lookahead == '%') ADVANCE(834); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(64); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(409); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(302); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(225); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(479); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(486); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(82); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(412); + if (lookahead == 'J' || + lookahead == 'j') ADVANCE(438); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(182); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(97); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(273); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(485); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(264); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(268); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(129); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(422); + if (lookahead == 'V' || + lookahead == 'v') ADVANCE(89); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(309); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(1) - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(71); - END_STATE(); - case 2: - if (lookahead == 'A') ADVANCE(9); + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(2) END_STATE(); case 3: - if (lookahead == 'A') ADVANCE(47); + if (lookahead == '!') ADVANCE(66); + if (lookahead == '%') ADVANCE(834); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(64); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1015); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1060); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(957); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(935); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(905); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(3) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); END_STATE(); case 4: - if (lookahead == 'A') ADVANCE(33); + if (lookahead == '!') ADVANCE(66); + if (lookahead == '%') ADVANCE(834); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(64); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1015); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1060); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(957); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(937); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(4) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); END_STATE(); case 5: - if (lookahead == 'A') ADVANCE(12); + if (lookahead == '!') ADVANCE(66); + if (lookahead == '%') ADVANCE(834); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(64); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1015); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1064); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(5) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); END_STATE(); case 6: - if (lookahead == 'A') ADVANCE(22); + if (lookahead == '!') ADVANCE(66); + if (lookahead == '%') ADVANCE(834); + if (lookahead == '(') ADVANCE(627); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(64); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1015); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1064); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(6) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); END_STATE(); case 7: - if (lookahead == 'A') ADVANCE(46); + if (lookahead == '!') ADVANCE(66); + if (lookahead == '%') ADVANCE(834); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(64); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1016); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1060); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(957); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(935); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(905); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(7) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); END_STATE(); case 8: - if (lookahead == 'A') ADVANCE(10); + if (lookahead == '!') ADVANCE(66); + if (lookahead == '%') ADVANCE(834); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(64); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1016); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1060); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(957); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(937); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(8) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); END_STATE(); case 9: - if (lookahead == 'B') ADVANCE(26); + if (lookahead == '!') ADVANCE(66); + if (lookahead == '%') ADVANCE(834); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(64); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1016); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1064); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(9) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); END_STATE(); case 10: - if (lookahead == 'B') ADVANCE(29); + if (lookahead == '!') ADVANCE(66); + if (lookahead == '%') ADVANCE(834); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(64); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1016); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1064); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(10) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); END_STATE(); case 11: - if (lookahead == 'C') ADVANCE(44); - END_STATE(); - case 12: - if (lookahead == 'C') ADVANCE(16); - END_STATE(); - case 13: - if (lookahead == 'E') ADVANCE(38); - END_STATE(); - case 14: - if (lookahead == 'E') ADVANCE(55); - END_STATE(); - case 15: - if (lookahead == 'E') ADVANCE(61); - END_STATE(); - case 16: - if (lookahead == 'E') ADVANCE(68); - END_STATE(); - case 17: - if (lookahead == 'E') ADVANCE(59); - END_STATE(); - case 18: - if (lookahead == 'E') ADVANCE(62); - END_STATE(); - case 19: - if (lookahead == 'E') ADVANCE(60); - END_STATE(); - case 20: - if (lookahead == 'E') ADVANCE(3); - END_STATE(); - case 21: - if (lookahead == 'G') ADVANCE(51); - END_STATE(); - case 22: - if (lookahead == 'G') ADVANCE(17); - END_STATE(); - case 23: - if (lookahead == 'I') ADVANCE(37); - END_STATE(); - case 24: - if (lookahead == 'I') ADVANCE(28); - END_STATE(); - case 25: - if (lookahead == 'L') ADVANCE(7); - END_STATE(); - case 26: - if (lookahead == 'L') ADVANCE(15); - END_STATE(); - case 27: - if (lookahead == 'L') ADVANCE(5); - END_STATE(); - case 28: - if (lookahead == 'L') ADVANCE(18); - END_STATE(); - case 29: - if (lookahead == 'L') ADVANCE(19); - END_STATE(); - case 30: - if (lookahead == 'M') ADVANCE(52); - END_STATE(); - case 31: - if (lookahead == 'M') ADVANCE(30); - END_STATE(); - case 32: - if (lookahead == 'N') ADVANCE(11); - END_STATE(); - case 33: - if (lookahead == 'N') ADVANCE(21); - END_STATE(); - case 34: - if (lookahead == 'N') ADVANCE(56); - END_STATE(); - case 35: - if (lookahead == 'N') ADVANCE(43); - END_STATE(); - case 36: - if (lookahead == 'O') ADVANCE(25); - END_STATE(); - case 37: - if (lookahead == 'O') ADVANCE(34); - END_STATE(); - case 38: - if (lookahead == 'P') ADVANCE(27); - if (lookahead == 'T') ADVANCE(50); - END_STATE(); - case 39: - if (lookahead == 'R') ADVANCE(67); - END_STATE(); - case 40: - if (lookahead == 'R') ADVANCE(20); - END_STATE(); - case 41: - if (lookahead == 'R') ADVANCE(35); - END_STATE(); - case 42: - if (lookahead == 'S') ADVANCE(58); - END_STATE(); - case 43: - if (lookahead == 'S') ADVANCE(57); - END_STATE(); - case 44: - if (lookahead == 'T') ADVANCE(23); - END_STATE(); - case 45: - if (lookahead == 'T') ADVANCE(2); - END_STATE(); - case 46: - if (lookahead == 'T') ADVANCE(24); - END_STATE(); - case 47: - if (lookahead == 'T') ADVANCE(14); - END_STATE(); - case 48: - if (lookahead == 'T') ADVANCE(8); - END_STATE(); - case 49: - if (lookahead == 'U') ADVANCE(32); - END_STATE(); - case 50: - if (lookahead == 'U') ADVANCE(41); - END_STATE(); - case 51: - if (lookahead == 'U') ADVANCE(6); - END_STATE(); - case 52: - if (lookahead == 'U') ADVANCE(48); - END_STATE(); - case 53: - ACCEPT_TOKEN(ts_builtin_sym_end); - END_STATE(); - case 54: - ACCEPT_TOKEN(anon_sym_SEMI); - END_STATE(); - case 55: - ACCEPT_TOKEN(aux_sym_create_function_statement_token1); - END_STATE(); - case 56: - ACCEPT_TOKEN(aux_sym_create_function_statement_token2); - END_STATE(); - case 57: - ACCEPT_TOKEN(aux_sym_create_function_statement_token3); - END_STATE(); - case 58: - ACCEPT_TOKEN(aux_sym_create_function_statement_token4); - END_STATE(); - case 59: - ACCEPT_TOKEN(aux_sym_create_function_statement_token5); - END_STATE(); - case 60: - ACCEPT_TOKEN(aux_sym_function_volatility_token1); - END_STATE(); - case 61: - ACCEPT_TOKEN(aux_sym_function_volatility_token2); - END_STATE(); - case 62: - ACCEPT_TOKEN(aux_sym_function_volatility_token3); - END_STATE(); - case 63: - ACCEPT_TOKEN(anon_sym_DOLLAR); - END_STATE(); - case 64: - ACCEPT_TOKEN(anon_sym_LPAREN); - END_STATE(); - case 65: - ACCEPT_TOKEN(anon_sym_COMMA); - END_STATE(); - case 66: - ACCEPT_TOKEN(anon_sym_RPAREN); - END_STATE(); - case 67: - ACCEPT_TOKEN(anon_sym_OR); - END_STATE(); - case 68: - ACCEPT_TOKEN(anon_sym_REPLACE); - END_STATE(); - case 69: - ACCEPT_TOKEN(anon_sym_LBRACK); - END_STATE(); - case 70: - ACCEPT_TOKEN(anon_sym_RBRACK); - END_STATE(); - case 71: - ACCEPT_TOKEN(sym_identifier); - if (lookahead == '.') ADVANCE(72); + if (lookahead == '$') ADVANCE(803); + if (lookahead == '\'') ADVANCE(819); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(11) if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(71); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 12: + if (lookahead == '\'') ADVANCE(820); + if (lookahead == '-') ADVANCE(824); + if (lookahead == '/') ADVANCE(823); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) ADVANCE(825); + if (lookahead != 0) ADVANCE(822); + END_STATE(); + case 13: + if (lookahead == '\'') ADVANCE(819); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(855); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(957); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1040); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(934); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(905); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1061); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(13) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(851); + if (('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 14: + if (lookahead == '\'') ADVANCE(819); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(855); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(957); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1040); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(936); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1061); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(14) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(851); + if (('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 15: + if (lookahead == '\'') ADVANCE(819); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(856); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1040); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1061); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(15) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(851); + if (('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 16: + if (lookahead == '\'') ADVANCE(819); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(906); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(856); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1040); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1061); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(16) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(851); + if (('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 17: + if (lookahead == '\'') ADVANCE(819); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(856); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1040); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(914); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1061); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(967); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(17) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(851); + if (('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 18: + if (lookahead == '\'') ADVANCE(819); + if (lookahead == '(') ADVANCE(627); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(987); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(856); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1040); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1061); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(18) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(851); + if (('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 19: + if (lookahead == '\'') ADVANCE(819); + if (lookahead == '(') ADVANCE(627); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(856); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1040); + if (lookahead == 'Q' || + lookahead == 'q') ADVANCE(1153); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1061); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(19) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(851); + if (('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 20: + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1094); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1078); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1150); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1008); + if (lookahead == 'J' || + lookahead == 'j') ADVANCE(1045); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(909); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(868); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(934); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(904); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(20) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 21: + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1094); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1078); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1150); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1024); + if (lookahead == 'J' || + lookahead == 'j') ADVANCE(1045); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(909); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(868); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(936); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(961); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(21) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 22: + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1094); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1078); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1150); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1008); + if (lookahead == 'J' || + lookahead == 'j') ADVANCE(1045); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(910); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(868); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(904); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(22) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 23: + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(512); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(80); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(227); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(423); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(91); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(441); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(606); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(260); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(222); + if (lookahead == 'V' || + lookahead == 'v') ADVANCE(89); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(320); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(23) + END_STATE(); + case 24: + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1078); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1150); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1008); + if (lookahead == 'J' || + lookahead == 'j') ADVANCE(1045); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(909); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(868); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(934); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(904); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(24) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 25: + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1078); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1150); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1024); + if (lookahead == 'J' || + lookahead == 'j') ADVANCE(1045); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(909); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(868); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(936); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(961); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(25) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 26: + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1078); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1150); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1008); + if (lookahead == 'J' || + lookahead == 'j') ADVANCE(1045); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(910); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(868); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(904); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(26) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 27: + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1060); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(957); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(934); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(905); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(27) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 28: + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1060); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(857); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(957); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(936); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(28) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 29: + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(29) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 30: + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == '[') ADVANCE(815); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1139); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(30) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 31: + if (lookahead == ')') ADVANCE(629); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(526); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(247); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(408); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(454); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(462); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(31) + END_STATE(); + case 32: + if (lookahead == ')') ADVANCE(629); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1094); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(905); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1101); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(32) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 33: + if (lookahead == ')') ADVANCE(629); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ';') ADVANCE(619); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1004); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(905); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1101); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(951); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(33) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 34: + if (lookahead == ')') ADVANCE(629); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(954); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1056); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(1090); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1022); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(34) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 35: + if (lookahead == ')') ADVANCE(629); + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(906); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(35) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 36: + if (lookahead == '*') ADVANCE(38); + END_STATE(); + case 37: + if (lookahead == '*') ADVANCE(37); + if (lookahead == '/') ADVANCE(826); + if (lookahead != 0) ADVANCE(38); + END_STATE(); + case 38: + if (lookahead == '*') ADVANCE(37); + if (lookahead != 0) ADVANCE(38); + END_STATE(); + case 39: + if (lookahead == '-') ADVANCE(827); + END_STATE(); + case 40: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == '\\') ADVANCE(730); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(986); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1079); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(912); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1018); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1069); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1030); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(917); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(933); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(914); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(967); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(40) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 41: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == '\n' || + lookahead == '\r') ADVANCE(731); + if (lookahead == '\t' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(41) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 42: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1094); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1005); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1101); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(42) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 43: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1094); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(43) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 44: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(987); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1142); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(1081); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1054); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(881); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(858); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(44) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 45: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(987); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(45) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 46: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1147); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(938); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(46) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 47: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1147); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(47) + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 48: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(915); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(916); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(48) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 49: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(953); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1056); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(938); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(1090); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1022); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(49) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 50: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1038); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(938); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(50) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 51: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1038); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1039); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(51) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 52: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1048); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(52) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 53: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1051); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(938); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1005); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(53) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 54: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1145); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1070); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(1148); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(929); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(54) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 55: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1145); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(929); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(55) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 56: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1142); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(1081); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(56) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 57: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(938); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1005); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(57) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 58: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(938); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(58) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 59: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1055); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(59) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 60: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1005); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1101); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(60) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 61: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1005); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(61) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 62: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(1129); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(62) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 63: + if (lookahead == '-') ADVANCE(39); + if (lookahead == '/') ADVANCE(36); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(927); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(858); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(63) + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 64: + if (lookahead == ':') ADVANCE(844); + END_STATE(); + case 65: + if (lookahead == ':') ADVANCE(844); + if (lookahead == '=') ADVANCE(806); + END_STATE(); + case 66: + if (lookahead == '=') ADVANCE(842); + END_STATE(); + case 67: + if (lookahead == 'I') ADVANCE(388); + if (lookahead == 'i') ADVANCE(77); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(151); + END_STATE(); + case 68: + if (lookahead == 'R') ADVANCE(318); + if (lookahead == 'r') ADVANCE(67); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(478); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(131); + END_STATE(); + case 69: + if (lookahead == '_') ADVANCE(584); + END_STATE(); + case 70: + if (lookahead == '_') ADVANCE(600); + END_STATE(); + case 71: + if (lookahead == 'e') ADVANCE(73); END_STATE(); case 72: + if (lookahead == 'e') ADVANCE(76); + END_STATE(); + case 73: + if (lookahead == 'g') ADVANCE(72); + END_STATE(); + case 74: + if (lookahead == 'i') ADVANCE(75); + END_STATE(); + case 75: + if (lookahead == 'l') ADVANCE(71); + END_STATE(); + case 76: + if (lookahead == 's') ADVANCE(716); + END_STATE(); + case 77: + if (lookahead == 'v') ADVANCE(74); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(106); + END_STATE(); + case 78: + if (lookahead == '|') ADVANCE(843); + END_STATE(); + case 79: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(161); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(224); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(349); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(221); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(481); + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(148); + END_STATE(); + case 80: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(161); + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(148); + END_STATE(); + case 81: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(350); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(503); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(465); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(446); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(353); + END_STATE(); + case 82: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(604); + END_STATE(); + case 83: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(411); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(278); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(386); + END_STATE(); + case 84: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(575); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(437); + END_STATE(); + case 85: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(134); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(330); + END_STATE(); + case 86: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(687); + END_STATE(); + case 87: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(649); + END_STATE(); + case 88: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(146); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(169); + if (lookahead == 'X' || + lookahead == 'x') ADVANCE(230); + END_STATE(); + case 89: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(379); + END_STATE(); + case 90: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(379); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(352); + END_STATE(); + case 91: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(608); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(437); + END_STATE(); + case 92: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(421); + END_STATE(); + case 93: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(421); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(581); + END_STATE(); + case 94: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(554); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(162); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(633); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(442); + END_STATE(); + case 95: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(554); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(286); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(633); + END_STATE(); + case 96: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(555); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(701); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(357); + END_STATE(); + case 97: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(555); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(533); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(356); + END_STATE(); + case 98: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(583); + END_STATE(); + case 99: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(583); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(494); + END_STATE(); + case 100: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(583); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(498); + END_STATE(); + case 101: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(176); + END_STATE(); + case 102: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(363); + END_STATE(); + case 103: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(348); + END_STATE(); + case 104: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(174); + END_STATE(); + case 105: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(410); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(278); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(386); + END_STATE(); + case 106: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(477); + END_STATE(); + case 107: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(480); + END_STATE(); + case 108: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(490); + END_STATE(); + case 109: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(132); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(387); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(391); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(706); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(314); + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(463); + END_STATE(); + case 110: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(132); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(387); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(315); + END_STATE(); + case 111: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(563); + END_STATE(); + case 112: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(157); + END_STATE(); + case 113: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(361); + END_STATE(); + case 114: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(394); + END_STATE(); + case 115: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(297); + END_STATE(); + case 116: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(560); + END_STATE(); + case 117: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(565); + END_STATE(); + case 118: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(500); + END_STATE(); + case 119: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(342); + END_STATE(); + case 120: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(567); + END_STATE(); + case 121: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(568); + END_STATE(); + case 122: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(380); + END_STATE(); + case 123: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(135); + END_STATE(); + case 124: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(381); + END_STATE(); + case 125: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(136); + END_STATE(); + case 126: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(136); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(171); + END_STATE(); + case 127: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(574); + END_STATE(); + case 128: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(133); + END_STATE(); + case 129: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(137); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(706); + END_STATE(); + case 130: + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(578); + END_STATE(); + case 131: + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(378); + END_STATE(); + case 132: + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(366); + END_STATE(); + case 133: + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(368); + END_STATE(); + case 134: + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(368); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(540); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(269); + END_STATE(); + case 135: + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(370); + END_STATE(); + case 136: + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(371); + END_STATE(); + case 137: + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(372); + END_STATE(); + case 138: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(552); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(167); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(569); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(345); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(168); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(674); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(828); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(553); + END_STATE(); + case 139: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(304); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(375); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(85); + END_STATE(); + case 140: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(304); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(374); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(128); + END_STATE(); + case 141: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(344); + END_STATE(); + case 142: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(665); + END_STATE(); + case 143: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(710); + END_STATE(); + case 144: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(817); + END_STATE(); + case 145: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(664); + END_STATE(); + case 146: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(299); + END_STATE(); + case 147: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(602); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(382); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(570); + END_STATE(); + case 148: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(365); + END_STATE(); + case 149: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(101); + END_STATE(); + case 150: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(598); + END_STATE(); + case 151: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(229); + END_STATE(); + case 152: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(359); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(185); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(556); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(236); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(252); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(440); + END_STATE(); + case 153: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(542); + END_STATE(); + case 154: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(543); + END_STATE(); + case 155: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(546); + END_STATE(); + case 156: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(547); + END_STATE(); + case 157: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(207); + END_STATE(); + case 158: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(212); + END_STATE(); + case 159: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(235); + END_STATE(); + case 160: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(243); + END_STATE(); + case 161: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(305); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(149); + END_STATE(); + case 162: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(358); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(99); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(256); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(142); + END_STATE(); + case 163: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(493); + END_STATE(); + case 164: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(120); + END_STATE(); + case 165: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(577); + END_STATE(); + case 166: + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(579); + END_STATE(); + case 167: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(678); + END_STATE(); + case 168: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(845); + END_STATE(); + case 169: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(801); + END_STATE(); + case 170: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(741); + END_STATE(); + case 171: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(691); + END_STATE(); + case 172: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(646); + END_STATE(); + case 173: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(767); + END_STATE(); + case 174: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(1); + END_STATE(); + case 175: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(343); + END_STATE(); + case 176: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(203); + END_STATE(); + case 177: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(206); + END_STATE(); + case 178: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(599); + END_STATE(); + case 179: + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(117); + END_STATE(); + case 180: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(277); + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(733); + END_STATE(); + case 181: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(609); + END_STATE(); + case 182: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(278); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(386); + END_STATE(); + case 183: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(282); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(292); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(597); + END_STATE(); + case 184: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(399); + END_STATE(); + case 185: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(607); + END_STATE(); + case 186: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(742); + END_STATE(); + case 187: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(830); + END_STATE(); + case 188: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(847); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(164); + END_STATE(); + case 189: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(686); + END_STATE(); + case 190: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(831); + END_STATE(); + case 191: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(739); + END_STATE(); + case 192: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(740); + END_STATE(); + case 193: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(849); + END_STATE(); + case 194: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(647); + END_STATE(); + case 195: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(807); + END_STATE(); + case 196: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(745); + END_STATE(); + case 197: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(644); + END_STATE(); + case 198: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(670); + END_STATE(); + case 199: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(705); + END_STATE(); + case 200: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(797); + END_STATE(); + case 201: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(657); + END_STATE(); + case 202: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(636); + END_STATE(); + case 203: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(704); + END_STATE(); + case 204: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(804); + END_STATE(); + case 205: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(756); + END_STATE(); + case 206: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(669); + END_STATE(); + case 207: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(809); + END_STATE(); + case 208: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(728); + END_STATE(); + case 209: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(793); + END_STATE(); + case 210: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(735); + END_STATE(); + case 211: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(734); + END_STATE(); + case 212: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(722); + END_STATE(); + case 213: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(748); + END_STATE(); + case 214: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(798); + END_STATE(); + case 215: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(726); + END_STATE(); + case 216: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(690); + END_STATE(); + case 217: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(796); + END_STATE(); + case 218: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(688); + END_STATE(); + case 219: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(283); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(292); + END_STATE(); + case 220: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(478); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(318); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(131); + END_STATE(); + case 221: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(111); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(521); + END_STATE(); + case 222: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(377); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(108); + END_STATE(); + case 223: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(175); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(561); + END_STATE(); + case 224: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(141); + END_STATE(); + case 225: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(285); + END_STATE(); + case 226: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(170); + END_STATE(); + case 227: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(279); + END_STATE(); + case 228: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(475); + END_STATE(); + case 229: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(178); + END_STATE(); + case 230: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(150); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(524); + END_STATE(); + case 231: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(515); + END_STATE(); + case 232: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(466); + END_STATE(); + case 233: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(467); + END_STATE(); + case 234: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(153); + END_STATE(); + case 235: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(516); + END_STATE(); + case 236: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(468); + END_STATE(); + case 237: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(172); + END_STATE(); + case 238: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(431); + END_STATE(); + case 239: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(517); + END_STATE(); + case 240: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(504); + END_STATE(); + case 241: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(173); + END_STATE(); + case 242: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(322); + END_STATE(); + case 243: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(519); + END_STATE(); + case 244: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(506); + END_STATE(); + case 245: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(469); + END_STATE(); + case 246: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(470); + END_STATE(); + case 247: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(522); + END_STATE(); + case 248: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(541); + END_STATE(); + case 249: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(471); + END_STATE(); + case 250: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(472); + END_STATE(); + case 251: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(473); + END_STATE(); + case 252: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(499); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(255); + END_STATE(); + case 253: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(424); + END_STATE(); + case 254: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(393); + END_STATE(); + case 255: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(104); + END_STATE(); + case 256: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(564); + END_STATE(); + case 257: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(425); + END_STATE(); + case 258: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(395); + END_STATE(); + case 259: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(507); + END_STATE(); + case 260: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(523); + END_STATE(); + case 261: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(426); + END_STATE(); + case 262: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(427); + END_STATE(); + case 263: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(496); + END_STATE(); + case 264: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(284); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(292); + END_STATE(); + case 265: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(276); + END_STATE(); + case 266: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(433); + END_STATE(); + case 267: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(434); + END_STATE(); + case 268: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(376); + END_STATE(); + case 269: + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(396); + END_STATE(); + case 270: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(812); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(383); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(721); + END_STATE(); + case 271: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(747); + END_STATE(); + case 272: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(569); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(572); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(168); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(145); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(828); + END_STATE(); + case 273: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(280); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(630); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(752); + END_STATE(); + case 274: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(280); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(630); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(752); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(576); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(415); + END_STATE(); + case 275: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(280); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(630); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(749); + END_STATE(); + case 276: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(457); + END_STATE(); + case 277: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(457); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(321); + END_STATE(); + case 278: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(535); + END_STATE(); + case 279: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(98); + END_STATE(); + case 280: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(528); + END_STATE(); + case 281: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(451); + END_STATE(); + case 282: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(259); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(114); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(362); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(571); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(588); + END_STATE(); + case 283: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(259); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(591); + END_STATE(); + case 284: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(259); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(593); + END_STATE(); + case 285: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(100); + END_STATE(); + case 286: + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(100); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(256); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(142); + END_STATE(); + case 287: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(662); + END_STATE(); + case 288: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(770); + END_STATE(); + case 289: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(642); + END_STATE(); + case 290: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(635); + END_STATE(); + case 291: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(298); + END_STATE(); + case 292: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(306); + END_STATE(); + case 293: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(296); + END_STATE(); + case 294: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(586); + END_STATE(); + case 295: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(407); + END_STATE(); + case 296: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(237); + END_STATE(); + case 297: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(209); + END_STATE(); + case 298: + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(249); + END_STATE(); + case 299: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(754); + END_STATE(); + case 300: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(737); + END_STATE(); + case 301: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(224); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(430); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(221); + END_STATE(); + case 302: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(224); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(430); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(439); + END_STATE(); + case 303: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(184); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(557); + END_STATE(); + case 304: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(254); + END_STATE(); + case 305: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(191); + END_STATE(); + case 306: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(539); + END_STATE(); + case 307: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(452); + END_STATE(); + case 308: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(338); + END_STATE(); + case 309: + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(263); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(557); + END_STATE(); + case 310: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(464); + END_STATE(); + case 311: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(464); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(456); + END_STATE(); + case 312: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(616); + END_STATE(); + case 313: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(615); + END_STATE(); + case 314: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(291); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(188); + END_STATE(); + case 315: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(291); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(417); + END_STATE(); + case 316: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(398); + END_STATE(); + case 317: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(388); + END_STATE(); + case 318: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(388); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(151); + END_STATE(); + case 319: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(413); + END_STATE(); + case 320: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(557); + END_STATE(); + case 321: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(400); + END_STATE(); + case 322: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(295); + END_STATE(); + case 323: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(143); + END_STATE(); + case 324: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(102); + END_STATE(); + case 325: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(144); + END_STATE(); + case 326: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(538); + END_STATE(); + case 327: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(113); + END_STATE(); + case 328: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(447); + END_STATE(); + case 329: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(414); + END_STATE(); + case 330: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(154); + END_STATE(); + case 331: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(448); + END_STATE(); + case 332: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(429); + END_STATE(); + case 333: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(416); + END_STATE(); + case 334: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(416); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(794); + END_STATE(); + case 335: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(155); + END_STATE(); + case 336: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(449); + END_STATE(); + case 337: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(369); + END_STATE(); + case 338: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(418); + END_STATE(); + case 339: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(156); + END_STATE(); + case 340: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(450); + END_STATE(); + case 341: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(453); + END_STATE(); + case 342: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(428); + END_STATE(); + case 343: + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(121); + END_STATE(); + case 344: + if (lookahead == 'K' || + lookahead == 'k') ADVANCE(692); + END_STATE(); + case 345: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(714); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(233); + END_STATE(); + case 346: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(791); + END_STATE(); + case 347: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(684); + END_STATE(); + case 348: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(778); + END_STATE(); + case 349: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(582); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(147); + END_STATE(); + case 350: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(527); + END_STATE(); + case 351: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(612); + END_STATE(); + case 352: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(116); + END_STATE(); + case 353: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(346); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(165); + END_STATE(); + case 354: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(346); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(166); + END_STATE(); + case 355: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(614); + END_STATE(); + case 356: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(347); + END_STATE(); + case 357: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(347); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(244); + END_STATE(); + case 358: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(118); + END_STATE(); + case 359: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(596); + END_STATE(); + case 360: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(596); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(258); + END_STATE(); + case 361: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(313); + END_STATE(); + case 362: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(112); + END_STATE(); + case 363: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(351); + END_STATE(); + case 364: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(520); + END_STATE(); + case 365: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(192); + END_STATE(); + case 366: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(194); + END_STATE(); + case 367: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(545); + END_STATE(); + case 368: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(200); + END_STATE(); + case 369: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(214); + END_STATE(); + case 370: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(217); + END_STATE(); + case 371: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(218); + END_STATE(); + case 372: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(239); + END_STATE(); + case 373: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(364); + END_STATE(); + case 374: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(234); + if (lookahead == 'Q' || + lookahead == 'q') ADVANCE(589); + END_STATE(); + case 375: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(234); + if (lookahead == 'Q' || + lookahead == 'q') ADVANCE(589); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(532); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(637); + END_STATE(); + case 376: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(234); + if (lookahead == 'Q' || + lookahead == 'q') ADVANCE(601); + END_STATE(); + case 377: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(234); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(637); + END_STATE(); + case 378: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(323); + END_STATE(); + case 379: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(590); + END_STATE(); + case 380: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(594); + END_STATE(); + case 381: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(595); + END_STATE(); + case 382: + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(335); + END_STATE(); + case 383: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(223); + END_STATE(); + case 384: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(672); + END_STATE(); + case 385: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(763); + END_STATE(); + case 386: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(326); + END_STATE(); + case 387: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(460); + END_STATE(); + case 388: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(106); + END_STATE(); + case 389: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(402); + END_STATE(); + case 390: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(392); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(152); + END_STATE(); + case 391: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(187); + END_STATE(); + case 392: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(587); + END_STATE(); + case 393: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(87); + END_STATE(); + case 394: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(199); + END_STATE(); + case 395: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(257); + END_STATE(); + case 396: + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(261); + END_STATE(); + case 397: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(311); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(179); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(319); + END_STATE(); + case 398: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(782); + END_STATE(); + case 399: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(758); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(195); + END_STATE(); + case 400: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(799); + END_STATE(); + case 401: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(702); + END_STATE(); + case 402: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(679); + END_STATE(); + case 403: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(759); + END_STATE(); + case 404: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(724); + END_STATE(); + case 405: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(651); + END_STATE(); + case 406: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(334); + END_STATE(); + case 407: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(697); + END_STATE(); + case 408: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(720); + END_STATE(); + case 409: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(168); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(828); + END_STATE(); + case 410: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(294); + END_STATE(); + case 411: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(294); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(534); + END_STATE(); + case 412: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(432); + END_STATE(); + case 413: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(287); + END_STATE(); + case 414: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(288); + END_STATE(); + case 415: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(226); + END_STATE(); + case 416: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(289); + END_STATE(); + case 417: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(164); + END_STATE(); + case 418: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(290); + END_STATE(); + case 419: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(518); + END_STATE(); + case 420: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(190); + END_STATE(); + case 421: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(537); + END_STATE(); + case 422: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(310); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(319); + END_STATE(); + case 423: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(163); + END_STATE(); + case 424: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(544); + END_STATE(); + case 425: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(548); + END_STATE(); + case 426: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(549); + END_STATE(); + case 427: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(562); + END_STATE(); + case 428: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(550); + END_STATE(); + case 429: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(208); + END_STATE(); + case 430: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(529); + END_STATE(); + case 431: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(158); + END_STATE(); + case 432: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(236); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(440); + END_STATE(); + case 433: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(159); + END_STATE(); + case 434: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(160); + END_STATE(); + case 435: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(333); + END_STATE(); + case 436: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(70); + END_STATE(); + case 437: + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(605); + END_STATE(); + case 438: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(316); + END_STATE(); + case 439: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(521); + END_STATE(); + case 440: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(622); + END_STATE(); + case 441: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(700); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(373); + END_STATE(); + case 442: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(459); + END_STATE(); + case 443: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(581); + END_STATE(); + case 444: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(352); + END_STATE(); + case 445: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(271); + END_STATE(); + case 446: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(384); + END_STATE(); + case 447: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(401); + END_STATE(); + case 448: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(436); + END_STATE(); + case 449: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(404); + END_STATE(); + case 450: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(405); + END_STATE(); + case 451: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(482); + END_STATE(); + case 452: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(483); + END_STATE(); + case 453: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(419); + END_STATE(); + case 454: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(558); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(373); + END_STATE(); + case 455: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(420); + END_STATE(); + case 456: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(293); + END_STATE(); + case 457: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(497); + END_STATE(); + case 458: + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(502); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(353); + END_STATE(); + case 459: + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(681); + END_STATE(); + case 460: + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(810); + END_STATE(); + case 461: + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(712); + END_STATE(); + case 462: + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(179); + END_STATE(); + case 463: + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(189); + END_STATE(); + case 464: + if (lookahead == 'Q' || + lookahead == 'q') ADVANCE(592); + END_STATE(); + case 465: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(753); + END_STATE(); + case 466: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(746); + END_STATE(); + case 467: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(676); + END_STATE(); + case 468: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(784); + END_STATE(); + case 469: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(776); + END_STATE(); + case 470: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(788); + END_STATE(); + case 471: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(744); + END_STATE(); + case 472: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(653); + END_STATE(); + case 473: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(655); + END_STATE(); + case 474: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(93); + END_STATE(); + case 475: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(610); + END_STATE(); + case 476: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(126); + END_STATE(); + case 477: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(611); + END_STATE(); + case 478: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(281); + END_STATE(); + case 479: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(446); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(354); + END_STATE(); + case 480: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(613); + END_STATE(); + case 481: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(488); + END_STATE(); + case 482: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(385); + END_STATE(); + case 483: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(312); + END_STATE(); + case 484: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(403); + END_STATE(); + case 485: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(317); + END_STATE(); + case 486: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(443); + END_STATE(); + case 487: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(103); + END_STATE(); + case 488: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(253); + END_STATE(); + case 489: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(119); + END_STATE(); + case 490: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(540); + END_STATE(); + case 491: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(406); + END_STATE(); + case 492: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(92); + END_STATE(); + case 493: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(258); + END_STATE(); + case 494: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(476); + END_STATE(); + case 495: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(435); + END_STATE(); + case 496: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(195); + END_STATE(); + case 497: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(196); + END_STATE(); + case 498: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(511); + END_STATE(); + case 499: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(551); + END_STATE(); + case 500: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(204); + END_STATE(); + case 501: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(215); + END_STATE(); + case 502: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(242); + END_STATE(); + case 503: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(525); + END_STATE(); + case 504: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(327); + END_STATE(); + case 505: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(107); + END_STATE(); + case 506: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(325); + END_STATE(); + case 507: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(266); + END_STATE(); + case 508: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(339); + END_STATE(); + case 509: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(262); + END_STATE(); + case 510: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(509); + END_STATE(); + case 511: + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(125); + END_STATE(); + case 512: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(674); + END_STATE(); + case 513: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(780); + END_STATE(); + case 514: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(814); + END_STATE(); + case 515: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(626); + END_STATE(); + case 516: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(699); + END_STATE(); + case 517: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(717); + END_STATE(); + case 518: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(719); + END_STATE(); + case 519: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(718); + END_STATE(); + case 520: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(666); + END_STATE(); + case 521: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(513); + END_STATE(); + case 522: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(142); + END_STATE(); + case 523: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(571); + END_STATE(); + case 524: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(559); + END_STATE(); + case 525: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(536); + END_STATE(); + case 526: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(145); + END_STATE(); + case 527: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(193); + END_STATE(); + case 528: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(248); + END_STATE(); + case 529: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(570); + END_STATE(); + case 530: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(250); + END_STATE(); + case 531: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(251); + END_STATE(); + case 532: + if (lookahead == 'S' || + lookahead == 's') ADVANCE(331); + END_STATE(); + case 533: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(682); + END_STATE(); + case 534: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(668); + END_STATE(); + case 535: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(786); + END_STATE(); + case 536: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(667); + END_STATE(); + case 537: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(708); + END_STATE(); + case 538: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(772); + END_STATE(); + case 539: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(789); + END_STATE(); + case 540: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(736); + END_STATE(); + case 541: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(774); + END_STATE(); + case 542: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(765); + END_STATE(); + case 543: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(768); + END_STATE(); + case 544: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(69); + END_STATE(); + case 545: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(624); + END_STATE(); + case 546: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(632); + END_STATE(); + case 547: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(703); + END_STATE(); + case 548: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(732); + END_STATE(); + case 549: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(755); + END_STATE(); + case 550: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(638); + END_STATE(); + case 551: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(620); + END_STATE(); + case 552: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(328); + END_STATE(); + case 553: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(307); + END_STATE(); + case 554: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(86); + END_STATE(); + case 555: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(585); + END_STATE(); + case 556: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(324); + END_STATE(); + case 557: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(300); + END_STATE(); + case 558: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(308); + END_STATE(); + case 559: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(514); + END_STATE(); + case 560: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(337); + END_STATE(); + case 561: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(123); + END_STATE(); + case 562: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(355); + END_STATE(); + case 563: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(197); + END_STATE(); + case 564: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(198); + END_STATE(); + case 565: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(202); + END_STATE(); + case 566: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(205); + END_STATE(); + case 567: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(213); + END_STATE(); + case 568: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(216); + END_STATE(); + case 569: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(232); + END_STATE(); + case 570: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(489); + END_STATE(); + case 571: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(508); + END_STATE(); + case 572: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(233); + END_STATE(); + case 573: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(332); + END_STATE(); + case 574: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(240); + END_STATE(); + case 575: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(240); + if (lookahead == 'X' || + lookahead == 'x') ADVANCE(603); + END_STATE(); + case 576: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(246); + END_STATE(); + case 577: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(336); + END_STATE(); + case 578: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(340); + END_STATE(); + case 579: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(341); + END_STATE(); + case 580: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(228); + END_STATE(); + case 581: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(461); + END_STATE(); + case 582: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(389); + END_STATE(); + case 583: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(367); + END_STATE(); + case 584: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(530); + END_STATE(); + case 585: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(487); + END_STATE(); + case 586: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(115); + END_STATE(); + case 587: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(561); + END_STATE(); + case 588: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(484); + END_STATE(); + case 589: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(238); + END_STATE(); + case 590: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(231); + END_STATE(); + case 591: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(491); + END_STATE(); + case 592: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(201); + END_STATE(); + case 593: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(495); + END_STATE(); + case 594: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(210); + END_STATE(); + case 595: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(211); + END_STATE(); + case 596: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(177); + END_STATE(); + case 597: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(573); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(641); + END_STATE(); + case 598: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(566); + END_STATE(); + case 599: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(501); + END_STATE(); + case 600: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(531); + END_STATE(); + case 601: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(267); + END_STATE(); + case 602: + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(510); + END_STATE(); + case 603: + if (lookahead == 'V' || + lookahead == 'v') ADVANCE(122); + END_STATE(); + case 604: + if (lookahead == 'V' || + lookahead == 'v') ADVANCE(329); + END_STATE(); + case 605: + if (lookahead == 'V' || + lookahead == 'v') ADVANCE(124); + END_STATE(); + case 606: + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(415); + END_STATE(); + case 607: + if (lookahead == 'X' || + lookahead == 'x') ADVANCE(659); + END_STATE(); + case 608: + if (lookahead == 'X' || + lookahead == 'x') ADVANCE(603); + END_STATE(); + case 609: + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(696); + END_STATE(); + case 610: + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(761); + END_STATE(); + case 611: + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(694); + END_STATE(); + case 612: + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(689); + END_STATE(); + case 613: + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(811); + END_STATE(); + case 614: + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(660); + END_STATE(); + case 615: + if (lookahead == 'Z' || + lookahead == 'z') ADVANCE(241); + END_STATE(); + case 616: + if (lookahead == 'Z' || + lookahead == 'z') ADVANCE(130); + END_STATE(); + case 617: + if (eof) ADVANCE(618); + if (lookahead == '!') ADVANCE(66); + if (lookahead == '$') ADVANCE(803); + if (lookahead == '%') ADVANCE(834); + if (lookahead == '\'') ADVANCE(819); + if (lookahead == '(') ADVANCE(627); + if (lookahead == ')') ADVANCE(629); + if (lookahead == '*') ADVANCE(832); + if (lookahead == '+') ADVANCE(836); + if (lookahead == ',') ADVANCE(628); + if (lookahead == '-') ADVANCE(835); + if (lookahead == '/') ADVANCE(833); + if (lookahead == ':') ADVANCE(65); + if (lookahead == ';') ADVANCE(619); + if (lookahead == '<') ADVANCE(837); + if (lookahead == '=') ADVANCE(640); + if (lookahead == '>') ADVANCE(838); + if (lookahead == '[') ADVANCE(815); + if (lookahead == '\\') ADVANCE(730); + if (lookahead == '|') ADVANCE(78); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(272); + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(265); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(301); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(95); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(458); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(492); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(390); + if (lookahead == 'J' || + lookahead == 'j') ADVANCE(438); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(105); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(127); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(97); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(275); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(485); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(219); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(140); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(110); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(397); + if (lookahead == 'V' || + lookahead == 'v') ADVANCE(444); + if (lookahead == 'W' || + lookahead == 'w') ADVANCE(309); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) SKIP(617) + END_STATE(); + case 618: + ACCEPT_TOKEN(ts_builtin_sym_end); + END_STATE(); + case 619: + ACCEPT_TOKEN(anon_sym_SEMI); + END_STATE(); + case 620: + ACCEPT_TOKEN(aux_sym_insert_statement_token1); + END_STATE(); + case 621: + ACCEPT_TOKEN(aux_sym_insert_statement_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 622: + ACCEPT_TOKEN(aux_sym_insert_statement_token2); + END_STATE(); + case 623: + ACCEPT_TOKEN(aux_sym_insert_statement_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 624: + ACCEPT_TOKEN(aux_sym_insert_items_token1); + END_STATE(); + case 625: + ACCEPT_TOKEN(aux_sym_insert_items_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 626: + ACCEPT_TOKEN(aux_sym_insert_items_token2); + END_STATE(); + case 627: + ACCEPT_TOKEN(anon_sym_LPAREN); + END_STATE(); + case 628: + ACCEPT_TOKEN(anon_sym_COMMA); + END_STATE(); + case 629: + ACCEPT_TOKEN(anon_sym_RPAREN); + END_STATE(); + case 630: + ACCEPT_TOKEN(aux_sym_insert_conflict_token1); + END_STATE(); + case 631: + ACCEPT_TOKEN(aux_sym_insert_conflict_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 632: + ACCEPT_TOKEN(aux_sym_insert_conflict_token2); + END_STATE(); + case 633: + ACCEPT_TOKEN(aux_sym_insert_conflict_token3); + END_STATE(); + case 634: + ACCEPT_TOKEN(aux_sym_insert_conflict_token3); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 635: + ACCEPT_TOKEN(aux_sym_insert_conflict_token4); + END_STATE(); + case 636: + ACCEPT_TOKEN(aux_sym_insert_conflict_token5); + END_STATE(); + case 637: + ACCEPT_TOKEN(aux_sym_insert_conflict_token6); + END_STATE(); + case 638: + ACCEPT_TOKEN(aux_sym_conflict_target_token1); + END_STATE(); + case 639: + ACCEPT_TOKEN(aux_sym_conflict_target_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 640: + ACCEPT_TOKEN(anon_sym_EQ); + END_STATE(); + case 641: + ACCEPT_TOKEN(aux_sym_update_set_token1); + END_STATE(); + case 642: + ACCEPT_TOKEN(aux_sym_insert_returning_token1); + END_STATE(); + case 643: + ACCEPT_TOKEN(aux_sym_insert_returning_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 644: + ACCEPT_TOKEN(aux_sym_create_table_statement_token1); + END_STATE(); + case 645: + ACCEPT_TOKEN(aux_sym_create_table_statement_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 646: + ACCEPT_TOKEN(aux_sym_create_table_statement_token2); + END_STATE(); + case 647: + ACCEPT_TOKEN(aux_sym_create_table_statement_token3); + END_STATE(); + case 648: + ACCEPT_TOKEN(aux_sym_create_table_statement_token3); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 649: + ACCEPT_TOKEN(aux_sym_create_schema_statement_token1); + END_STATE(); + case 650: + ACCEPT_TOKEN(aux_sym_create_schema_statement_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 651: + ACCEPT_TOKEN(aux_sym_schema_role_token1); + END_STATE(); + case 652: + ACCEPT_TOKEN(aux_sym_schema_role_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 653: + ACCEPT_TOKEN(aux_sym_schema_role_token2); + END_STATE(); + case 654: + ACCEPT_TOKEN(aux_sym_schema_role_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 655: + ACCEPT_TOKEN(aux_sym_schema_role_token3); + END_STATE(); + case 656: + ACCEPT_TOKEN(aux_sym_schema_role_token3); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 657: + ACCEPT_TOKEN(aux_sym_create_index_statement_token1); + END_STATE(); + case 658: + ACCEPT_TOKEN(aux_sym_create_index_statement_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 659: + ACCEPT_TOKEN(aux_sym_create_index_statement_token2); + END_STATE(); + case 660: + ACCEPT_TOKEN(aux_sym_create_index_statement_token3); + END_STATE(); + case 661: + ACCEPT_TOKEN(aux_sym_create_index_statement_token3); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 662: + ACCEPT_TOKEN(aux_sym_index_using_token1); + END_STATE(); + case 663: + ACCEPT_TOKEN(aux_sym_index_using_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 664: + ACCEPT_TOKEN(aux_sym_index_col_dir_token1); + END_STATE(); + case 665: + ACCEPT_TOKEN(aux_sym_index_col_dir_token2); + END_STATE(); + case 666: + ACCEPT_TOKEN(aux_sym_index_col_nulls_token1); + END_STATE(); + case 667: + ACCEPT_TOKEN(aux_sym_index_col_nulls_token2); + END_STATE(); + case 668: + ACCEPT_TOKEN(aux_sym_index_col_nulls_token3); + END_STATE(); + case 669: + ACCEPT_TOKEN(aux_sym_index_includes_token1); + END_STATE(); + case 670: + ACCEPT_TOKEN(aux_sym_delete_statement_token1); + END_STATE(); + case 671: + ACCEPT_TOKEN(aux_sym_delete_statement_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 672: + ACCEPT_TOKEN(aux_sym_delete_statement_token2); + END_STATE(); + case 673: + ACCEPT_TOKEN(aux_sym_delete_statement_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 674: + ACCEPT_TOKEN(aux_sym_delete_statement_token3); + END_STATE(); + case 675: + ACCEPT_TOKEN(aux_sym_delete_statement_token3); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 676: + ACCEPT_TOKEN(aux_sym_alter_table_statement_token1); + END_STATE(); + case 677: + ACCEPT_TOKEN(aux_sym_alter_table_statement_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 678: + ACCEPT_TOKEN(aux_sym_alter_table_action_token1); + END_STATE(); + case 679: + ACCEPT_TOKEN(aux_sym_alter_table_action_token2); + END_STATE(); + case 680: + ACCEPT_TOKEN(aux_sym_alter_table_action_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 681: + ACCEPT_TOKEN(aux_sym_alter_table_action_token3); + END_STATE(); + case 682: + ACCEPT_TOKEN(aux_sym_alter_column_action_token1); + END_STATE(); + case 683: + ACCEPT_TOKEN(aux_sym_alter_column_action_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 684: + ACCEPT_TOKEN(aux_sym_alter_column_action_token2); + END_STATE(); + case 685: + ACCEPT_TOKEN(aux_sym_alter_column_action_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 686: + ACCEPT_TOKEN(aux_sym_alter_column_action_token3); + END_STATE(); + case 687: + ACCEPT_TOKEN(aux_sym_alter_column_action_token4); + END_STATE(); + case 688: + ACCEPT_TOKEN(aux_sym_constraint_when_token1); + END_STATE(); + case 689: + ACCEPT_TOKEN(aux_sym_constraint_when_token2); + END_STATE(); + case 690: + ACCEPT_TOKEN(aux_sym_constraint_when_token3); + END_STATE(); + case 691: + ACCEPT_TOKEN(aux_sym_constraint_when_token4); + END_STATE(); + case 692: + ACCEPT_TOKEN(aux_sym_table_constraint_ty_token1); + END_STATE(); + case 693: + ACCEPT_TOKEN(aux_sym_table_constraint_ty_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 694: + ACCEPT_TOKEN(aux_sym_table_constraint_ty_token2); + END_STATE(); + case 695: + ACCEPT_TOKEN(aux_sym_table_constraint_ty_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 696: + ACCEPT_TOKEN(aux_sym_table_constraint_ty_token3); + END_STATE(); + case 697: + ACCEPT_TOKEN(aux_sym_table_constraint_ty_token4); + END_STATE(); + case 698: + ACCEPT_TOKEN(aux_sym_table_constraint_ty_token4); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 699: + ACCEPT_TOKEN(aux_sym_constraint_foreign_key_token1); + END_STATE(); + case 700: + ACCEPT_TOKEN(aux_sym_fk_ref_action_token1); + END_STATE(); + case 701: + ACCEPT_TOKEN(aux_sym_fk_ref_action_token1); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(186); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(682); + END_STATE(); + case 702: + ACCEPT_TOKEN(aux_sym_fk_ref_action_token2); + END_STATE(); + case 703: + ACCEPT_TOKEN(aux_sym_fk_ref_action_token3); + END_STATE(); + case 704: + ACCEPT_TOKEN(aux_sym_fk_ref_action_token4); + END_STATE(); + case 705: + ACCEPT_TOKEN(aux_sym_alter_table_rename_column_token1); + END_STATE(); + case 706: + ACCEPT_TOKEN(aux_sym_alter_table_rename_column_token2); + END_STATE(); + case 707: + ACCEPT_TOKEN(aux_sym_alter_table_rename_column_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 708: + ACCEPT_TOKEN(aux_sym_grant_statement_token1); + END_STATE(); + case 709: + ACCEPT_TOKEN(aux_sym_grant_statement_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 710: + ACCEPT_TOKEN(aux_sym_grant_roles_token1); + END_STATE(); + case 711: + ACCEPT_TOKEN(aux_sym_grant_roles_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 712: + ACCEPT_TOKEN(aux_sym_grant_roles_token2); + END_STATE(); + case 713: + ACCEPT_TOKEN(aux_sym_grant_roles_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 714: + ACCEPT_TOKEN(aux_sym_grant_privileges_token1); + END_STATE(); + case 715: + ACCEPT_TOKEN(aux_sym_grant_privileges_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 716: + ACCEPT_TOKEN(anon_sym_privileges); + END_STATE(); + case 717: + ACCEPT_TOKEN(aux_sym_grant_targets_token1); + END_STATE(); + case 718: + ACCEPT_TOKEN(aux_sym_grant_targets_token2); + END_STATE(); + case 719: + ACCEPT_TOKEN(aux_sym_grant_targets_token3); + END_STATE(); + case 720: + ACCEPT_TOKEN(aux_sym_grant_targets_token4); + END_STATE(); + case 721: + ACCEPT_TOKEN(aux_sym_grant_targets_token4); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(360); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(185); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(556); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(236); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(440); + END_STATE(); + case 722: + ACCEPT_TOKEN(aux_sym_grant_targets_token5); + END_STATE(); + case 723: + ACCEPT_TOKEN(aux_sym_grant_targets_token5); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 724: + ACCEPT_TOKEN(aux_sym_grant_targets_token6); + END_STATE(); + case 725: + ACCEPT_TOKEN(aux_sym_grant_targets_token6); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 726: + ACCEPT_TOKEN(aux_sym_grant_targets_token7); + END_STATE(); + case 727: + ACCEPT_TOKEN(aux_sym_grant_targets_token7); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 728: + ACCEPT_TOKEN(aux_sym_grant_targets_token8); + END_STATE(); + case 729: + ACCEPT_TOKEN(aux_sym_grant_targets_token8); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 730: + ACCEPT_TOKEN(anon_sym_BSLASH); + END_STATE(); + case 731: + ACCEPT_TOKEN(aux_sym_psql_statement_token1); + if (lookahead == '\n' || + lookahead == '\r') ADVANCE(731); + END_STATE(); + case 732: + ACCEPT_TOKEN(aux_sym_sequence_increment_token1); + END_STATE(); + case 733: + ACCEPT_TOKEN(aux_sym_sequence_increment_token2); + END_STATE(); + case 734: + ACCEPT_TOKEN(aux_sym_sequence_min_token1); + END_STATE(); + case 735: + ACCEPT_TOKEN(aux_sym_sequence_max_token1); + END_STATE(); + case 736: + ACCEPT_TOKEN(aux_sym_sequence_start_token1); + END_STATE(); + case 737: + ACCEPT_TOKEN(aux_sym_sequence_start_token2); + END_STATE(); + case 738: + ACCEPT_TOKEN(aux_sym_sequence_start_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 739: + ACCEPT_TOKEN(aux_sym_sequence_cache_token1); + END_STATE(); + case 740: + ACCEPT_TOKEN(aux_sym_sequence_cycle_token1); + END_STATE(); + case 741: + ACCEPT_TOKEN(aux_sym_sequence_owned_token1); + END_STATE(); + case 742: + ACCEPT_TOKEN(aux_sym_sequence_owned_token2); + END_STATE(); + case 743: + ACCEPT_TOKEN(aux_sym_sequence_owned_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 744: + ACCEPT_TOKEN(aux_sym_create_trigger_statement_token1); + END_STATE(); + case 745: + ACCEPT_TOKEN(aux_sym_trigger_when_token1); + END_STATE(); + case 746: + ACCEPT_TOKEN(aux_sym_trigger_when_token2); + END_STATE(); + case 747: + ACCEPT_TOKEN(aux_sym_trigger_when_token3); + END_STATE(); + case 748: + ACCEPT_TOKEN(aux_sym_trigger_event_token1); + END_STATE(); + case 749: + ACCEPT_TOKEN(aux_sym_trigger_event_token2); + END_STATE(); + case 750: + ACCEPT_TOKEN(aux_sym_trigger_event_token2); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(908); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 751: + ACCEPT_TOKEN(aux_sym_trigger_event_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 752: + ACCEPT_TOKEN(aux_sym_trigger_event_token2); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(245); + END_STATE(); + case 753: + ACCEPT_TOKEN(aux_sym_trigger_scope_token1); + END_STATE(); + case 754: + ACCEPT_TOKEN(aux_sym_trigger_scope_token2); + END_STATE(); + case 755: + ACCEPT_TOKEN(aux_sym_trigger_scope_token3); + END_STATE(); + case 756: + ACCEPT_TOKEN(aux_sym_trigger_exec_token1); + END_STATE(); + case 757: + ACCEPT_TOKEN(aux_sym_trigger_exec_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 758: + ACCEPT_TOKEN(aux_sym_trigger_cond_token1); + END_STATE(); + case 759: + ACCEPT_TOKEN(aux_sym_return_statement_token1); + END_STATE(); + case 760: + ACCEPT_TOKEN(aux_sym_return_statement_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 761: + ACCEPT_TOKEN(aux_sym_return_statement_token2); + END_STATE(); + case 762: + ACCEPT_TOKEN(aux_sym_return_statement_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 763: + ACCEPT_TOKEN(aux_sym_perform_statement_token1); + END_STATE(); + case 764: + ACCEPT_TOKEN(aux_sym_perform_statement_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 765: + ACCEPT_TOKEN(aux_sym_select_statement_token1); + END_STATE(); + case 766: + ACCEPT_TOKEN(aux_sym_select_statement_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 767: + ACCEPT_TOKEN(aux_sym_with_query_item_token1); + END_STATE(); + case 768: + ACCEPT_TOKEN(aux_sym_into_token1); + END_STATE(); + case 769: + ACCEPT_TOKEN(aux_sym_into_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 770: + ACCEPT_TOKEN(aux_sym_select_having_token1); + END_STATE(); + case 771: + ACCEPT_TOKEN(aux_sym_select_having_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 772: + ACCEPT_TOKEN(aux_sym_select_limit_token1); + END_STATE(); + case 773: + ACCEPT_TOKEN(aux_sym_select_limit_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 774: + ACCEPT_TOKEN(aux_sym_select_limit_token2); + END_STATE(); + case 775: + ACCEPT_TOKEN(aux_sym_select_limit_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 776: + ACCEPT_TOKEN(aux_sym_select_order_by_token1); + END_STATE(); + case 777: + ACCEPT_TOKEN(aux_sym_select_order_by_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 778: + ACCEPT_TOKEN(aux_sym_join_item_token1); + END_STATE(); + case 779: + ACCEPT_TOKEN(aux_sym_join_item_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 780: + ACCEPT_TOKEN(aux_sym_join_item_token2); + END_STATE(); + case 781: + ACCEPT_TOKEN(aux_sym_join_item_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 782: + ACCEPT_TOKEN(aux_sym_join_item_token3); + END_STATE(); + case 783: + ACCEPT_TOKEN(aux_sym_join_item_token3); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 784: + ACCEPT_TOKEN(aux_sym_join_type_token1); + END_STATE(); + case 785: + ACCEPT_TOKEN(aux_sym_join_type_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 786: + ACCEPT_TOKEN(aux_sym_join_type_token2); + END_STATE(); + case 787: + ACCEPT_TOKEN(aux_sym_join_type_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 788: + ACCEPT_TOKEN(aux_sym_join_type_token3); + END_STATE(); + case 789: + ACCEPT_TOKEN(aux_sym_join_type_token4); + END_STATE(); + case 790: + ACCEPT_TOKEN(aux_sym_join_type_token4); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 791: + ACCEPT_TOKEN(aux_sym_join_type_token5); + END_STATE(); + case 792: + ACCEPT_TOKEN(aux_sym_join_type_token5); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 793: + ACCEPT_TOKEN(aux_sym_create_function_statement_token1); + END_STATE(); + case 794: + ACCEPT_TOKEN(aux_sym_function_return_token1); + END_STATE(); + case 795: + ACCEPT_TOKEN(aux_sym_return_setof_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 796: + ACCEPT_TOKEN(aux_sym_function_volatility_token1); + END_STATE(); + case 797: + ACCEPT_TOKEN(aux_sym_function_volatility_token2); + END_STATE(); + case 798: + ACCEPT_TOKEN(aux_sym_function_volatility_token3); + END_STATE(); + case 799: + ACCEPT_TOKEN(aux_sym_body_token1); + END_STATE(); + case 800: + ACCEPT_TOKEN(aux_sym_body_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 801: + ACCEPT_TOKEN(aux_sym_body_token2); + END_STATE(); + case 802: + ACCEPT_TOKEN(aux_sym_body_token2); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 803: + ACCEPT_TOKEN(anon_sym_DOLLAR); + END_STATE(); + case 804: + ACCEPT_TOKEN(aux_sym_declarations_token1); + END_STATE(); + case 805: + ACCEPT_TOKEN(aux_sym_declarations_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 806: + ACCEPT_TOKEN(anon_sym_COLON_EQ); + END_STATE(); + case 807: + ACCEPT_TOKEN(aux_sym_where_filter_token1); + END_STATE(); + case 808: + ACCEPT_TOKEN(aux_sym_where_filter_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 809: + ACCEPT_TOKEN(aux_sym_or_replace_token1); + END_STATE(); + case 810: + ACCEPT_TOKEN(aux_sym_temporary_token1); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(505); + END_STATE(); + case 811: + ACCEPT_TOKEN(aux_sym_temporary_token2); + END_STATE(); + case 812: + ACCEPT_TOKEN(aux_sym_if_not_exists_token1); + END_STATE(); + case 813: + ACCEPT_TOKEN(aux_sym_if_not_exists_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 814: + ACCEPT_TOKEN(aux_sym_if_not_exists_token2); + END_STATE(); + case 815: + ACCEPT_TOKEN(anon_sym_LBRACK); + END_STATE(); + case 816: + ACCEPT_TOKEN(anon_sym_RBRACK); + END_STATE(); + case 817: + ACCEPT_TOKEN(aux_sym_predefined_types_token1); + END_STATE(); + case 818: + ACCEPT_TOKEN(aux_sym_predefined_types_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 819: + ACCEPT_TOKEN(anon_sym_SQUOTE); + END_STATE(); + case 820: + ACCEPT_TOKEN(anon_sym_SQUOTE); + if (lookahead == '\'') ADVANCE(821); + END_STATE(); + case 821: + ACCEPT_TOKEN(aux_sym_string_token1); + END_STATE(); + case 822: + ACCEPT_TOKEN(aux_sym_string_token2); + END_STATE(); + case 823: + ACCEPT_TOKEN(aux_sym_string_token2); + if (lookahead == '*') ADVANCE(38); + END_STATE(); + case 824: + ACCEPT_TOKEN(aux_sym_string_token2); + if (lookahead == '-') ADVANCE(827); + END_STATE(); + case 825: + ACCEPT_TOKEN(aux_sym_string_token2); + if (lookahead == '-') ADVANCE(824); + if (lookahead == '/') ADVANCE(823); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == 160 || + lookahead == 8203 || + lookahead == 8288 || + lookahead == 65279) ADVANCE(825); + if (lookahead != 0 && + lookahead != '\'') ADVANCE(822); + END_STATE(); + case 826: + ACCEPT_TOKEN(sym_comment); + END_STATE(); + case 827: + ACCEPT_TOKEN(sym_comment); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(827); + END_STATE(); + case 828: + ACCEPT_TOKEN(aux_sym_time_expression_token1); + END_STATE(); + case 829: + ACCEPT_TOKEN(aux_sym_time_expression_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 830: + ACCEPT_TOKEN(aux_sym_time_expression_token2); + END_STATE(); + case 831: + ACCEPT_TOKEN(aux_sym_time_expression_token3); + END_STATE(); + case 832: + ACCEPT_TOKEN(anon_sym_STAR); + END_STATE(); + case 833: + ACCEPT_TOKEN(anon_sym_SLASH); + if (lookahead == '*') ADVANCE(38); + END_STATE(); + case 834: + ACCEPT_TOKEN(anon_sym_PERCENT); + END_STATE(); + case 835: + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '-') ADVANCE(827); + END_STATE(); + case 836: + ACCEPT_TOKEN(anon_sym_PLUS); + END_STATE(); + case 837: + ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '=') ADVANCE(839); + if (lookahead == '>') ADVANCE(841); + END_STATE(); + case 838: + ACCEPT_TOKEN(anon_sym_GT); + if (lookahead == '=') ADVANCE(840); + END_STATE(); + case 839: + ACCEPT_TOKEN(anon_sym_LT_EQ); + END_STATE(); + case 840: + ACCEPT_TOKEN(anon_sym_GT_EQ); + END_STATE(); + case 841: + ACCEPT_TOKEN(anon_sym_LT_GT); + END_STATE(); + case 842: + ACCEPT_TOKEN(anon_sym_BANG_EQ); + END_STATE(); + case 843: + ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + END_STATE(); + case 844: + ACCEPT_TOKEN(sym_cast); + END_STATE(); + case 845: + ACCEPT_TOKEN(aux_sym_and_token1); + END_STATE(); + case 846: + ACCEPT_TOKEN(aux_sym_and_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 847: + ACCEPT_TOKEN(aux_sym_true_token1); + END_STATE(); + case 848: + ACCEPT_TOKEN(aux_sym_true_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 849: + ACCEPT_TOKEN(aux_sym_false_token1); + END_STATE(); + case 850: + ACCEPT_TOKEN(aux_sym_false_token1); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 851: + ACCEPT_TOKEN(sym_number); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(851); + if (('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 852: + ACCEPT_TOKEN(sym_number); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(852); + END_STATE(); + case 853: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == '_') ADVANCE(1154); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 854: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == '_') ADVANCE(1155); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 855: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(979); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1041); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 856: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(979); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 857: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1157); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 858: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(870); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 859: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(650); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 860: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1149); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 861: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1123); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 862: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(975); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 863: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(983); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 864: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1072); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 865: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1023); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 866: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1133); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 867: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1088); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 868: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(1131); + if (('0' <= lookahead && lookahead <= '9') || + ('B' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 869: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(993); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 870: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'B' || + lookahead == 'b') ADVANCE(995); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 871: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(978); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 872: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(818); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 873: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(711); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 874: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1151); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 875: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(992); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 876: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1111); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 877: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1122); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 878: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(911); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 879: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1117); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 880: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(897); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 881: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(955); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1059); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 882: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(1156); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 883: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(846); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 884: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(802); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 885: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(1152); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 886: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'D' || + lookahead == 'd') ADVANCE(908); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 887: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(848); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 888: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(850); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 889: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(808); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 890: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(874); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 891: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(645); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 892: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(671); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 893: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(757); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 894: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(658); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 895: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(648); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 896: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(729); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 897: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(723); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 898: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(727); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 899: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(805); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 900: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(743); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 901: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(876); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 902: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1075); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 903: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(861); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 904: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1120); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(947); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 905: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1120); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 906: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(942); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 907: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(871); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 908: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1062); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 909: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(943); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(999); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 910: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(943); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 911: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(885); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 912: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(996); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(634); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 913: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1108); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 914: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(991); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 915: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(949); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 916: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(875); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 917: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1071); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 918: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1063); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 919: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(965); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 920: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1082); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 921: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1065); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 922: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1066); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 923: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1033); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 924: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1083); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 925: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1067); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 926: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1068); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 927: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1125); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 928: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1001); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 929: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1098); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 930: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1124); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 931: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1026); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 932: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1027); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 933: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(1130); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 934: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(940); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(631); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(886); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 935: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(940); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(631); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(750); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 936: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(940); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(886); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 937: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(940); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(750); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 938: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(813); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 939: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(795); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 940: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1100); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 941: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1047); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 942: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(860); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 943: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'F' || + lookahead == 'f') ADVANCE(1113); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 944: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(771); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 945: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(643); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 946: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(663); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 947: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(952); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 948: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(1011); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 949: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'G' || + lookahead == 'g') ADVANCE(973); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 950: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(738); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 951: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(902); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 952: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(1114); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 953: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(907); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(988); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 954: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(907); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1021); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 955: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(928); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 956: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'H' || + lookahead == 'h') ADVANCE(1052); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 957: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(999); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 958: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1058); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 959: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1161); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 960: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1006); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 961: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(947); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 962: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1017); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 963: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1107); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 964: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1000); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 965: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(948); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 966: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(872); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 967: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1118); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 968: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(873); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 969: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1009); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 970: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1049); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 971: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1020); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 972: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1028); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 973: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1013); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 974: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1050); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 975: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1025); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 976: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(879); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 977: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(1053); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 978: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'K' || + lookahead == 'k') ADVANCE(693); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 979: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(1096); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 980: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(685); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 981: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(715); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 982: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(792); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 983: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(779); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 984: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(980); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 985: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(1160); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 986: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(1134); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 987: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(981); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 988: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(1138); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1099); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 989: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(1138); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 990: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(982); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 991: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(901); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 992: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(867); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 993: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(968); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 994: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(1112); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 995: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(895); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 996: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'L' || + lookahead == 'l') ADVANCE(930); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 997: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(673); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 998: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(764); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 999: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(963); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1000: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(864); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1001: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(859); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1002: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(1010); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1003: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'M' || + lookahead == 'm') ADVANCE(924); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1004: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1119); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1005: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(631); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1006: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(944); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1007: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(760); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1008: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1034); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1009: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(783); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1010: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(680); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1011: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(698); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1012: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(725); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1013: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(800); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1014: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(652); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1015: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(883); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(675); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(829); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1016: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(883); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(675); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1017: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(945); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1018: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(884); + if (lookahead == 'X' || + lookahead == 'x') ADVANCE(890); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1019: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(962); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1020: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(946); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1021: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1099); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1022: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(958); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1023: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1109); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1024: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1035); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1025: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1115); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1026: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1116); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1027: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1127); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1028: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(896); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1029: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(900); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1030: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(1103); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1031: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(882); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1032: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(877); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1033: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(880); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1034: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(922); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1037); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1035: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(922); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1036: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'N' || + lookahead == 'n') ADVANCE(854); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1037: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(623); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1038: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(988); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1039: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(707); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1040: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1106); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(984); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1041: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(997); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1042: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1135); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1043: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1097); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1044: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(878); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1045: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(969); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1046: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(939); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1047: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1074); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1048: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(989); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1049: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1012); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1050: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1036); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1051: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1031); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1052: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1084); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1053: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1014); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1054: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1144); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1055: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1029); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1056: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(1086); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1057: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(713); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1058: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'Q' || + lookahead == 'q') ADVANCE(1143); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1059: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'Q' || + lookahead == 'q') ADVANCE(1146); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1060: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1041); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1061: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1136); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1062: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(777); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1063: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(677); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1064: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(751); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1065: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1158); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1066: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(785); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1067: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(654); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1068: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(656); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1069: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(865); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1070: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1042); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1071: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(941); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1072: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1159); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1073: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1019); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1074: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(998); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1075: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(889); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1076: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(863); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1077: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1007); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1078: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1043); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1079: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(903); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1080: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(862); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1081: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1044); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1082: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1110); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1083: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(966); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1084: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(959); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1085: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(976); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1086: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(919); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1087: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(898); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1088: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(899); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1089: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(931); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1090: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(964); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1091: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1089); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1092: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(932); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1093: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'R' || + lookahead == 'r') ADVANCE(1092); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1094: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(675); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1095: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(781); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1096: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(888); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1097: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(1095); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1098: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(1102); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1099: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(1128); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1100: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(913); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1101: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(971); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1102: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(974); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1103: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(920); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1104: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(925); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1105: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(926); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1106: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(683); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1107: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(773); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1108: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(775); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1109: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(709); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1110: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(621); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1111: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(766); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1112: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(625); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1113: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(787); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1114: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(790); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1115: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(639); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1116: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(853); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1117: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(769); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1118: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(950); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1119: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1037); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1120: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1137); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1121: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(956); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1122: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(970); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1123: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(891); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1124: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(892); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1125: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1046); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1126: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(893); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1127: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(985); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1128: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1080); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1129: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1085); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1130: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1140); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1131: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(1141); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1132: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(972); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1133: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(977); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1134: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'T' || + lookahead == 't') ADVANCE(918); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1135: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1057); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1136: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(887); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1137: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1073); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1138: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1002); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1139: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1003); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1140: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1077); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1141: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1076); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1142: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1032); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1143: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(894); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1144: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1132); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1145: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1091); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1146: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(923); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1147: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1121); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1148: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(869); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1149: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(994); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1150: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(990); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1151: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1126); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1152: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1087); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1153: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(921); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1154: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1104); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1155: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1105); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1156: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(1093); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1157: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'V' || + lookahead == 'v') ADVANCE(960); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1158: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(762); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1159: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(695); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1160: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(661); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1161: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (lookahead == 'Z' || + lookahead == 'z') ADVANCE(866); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Y') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'y')) ADVANCE(1162); + END_STATE(); + case 1162: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '.') ADVANCE(1163); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1162); + END_STATE(); + case 1163: ACCEPT_TOKEN(sym_identifier); if (lookahead == '.' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(72); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1163); END_STATE(); default: return false; @@ -550,510 +10824,25943 @@ 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 = 0}, - [3] = {.lex_state = 0}, - [4] = {.lex_state = 0}, - [5] = {.lex_state = 0}, - [6] = {.lex_state = 0}, - [7] = {.lex_state = 0}, - [8] = {.lex_state = 0}, - [9] = {.lex_state = 0}, - [10] = {.lex_state = 0}, - [11] = {.lex_state = 0}, - [12] = {.lex_state = 0}, - [13] = {.lex_state = 0}, - [14] = {.lex_state = 0}, - [15] = {.lex_state = 1}, - [16] = {.lex_state = 0}, - [17] = {.lex_state = 0}, - [18] = {.lex_state = 0}, - [19] = {.lex_state = 1}, - [20] = {.lex_state = 1}, - [21] = {.lex_state = 0}, - [22] = {.lex_state = 1}, - [23] = {.lex_state = 0}, - [24] = {.lex_state = 0}, - [25] = {.lex_state = 1}, - [26] = {.lex_state = 0}, - [27] = {.lex_state = 1}, - [28] = {.lex_state = 0}, - [29] = {.lex_state = 0}, - [30] = {.lex_state = 0}, - [31] = {.lex_state = 0}, - [32] = {.lex_state = 0}, - [33] = {.lex_state = 0}, - [34] = {.lex_state = 0}, - [35] = {.lex_state = 0}, - [36] = {.lex_state = 0}, - [37] = {.lex_state = 0}, - [38] = {.lex_state = 0}, - [39] = {.lex_state = 0}, - [40] = {.lex_state = 1}, - [41] = {.lex_state = 1}, - [42] = {.lex_state = 0}, - [43] = {.lex_state = 0}, - [44] = {.lex_state = 0}, - [45] = {.lex_state = 0}, - [46] = {.lex_state = 1}, - [47] = {.lex_state = 0}, - [48] = {.lex_state = 1}, - [49] = {.lex_state = 0}, - [50] = {.lex_state = 1}, - [51] = {.lex_state = 0}, - [52] = {.lex_state = 0}, - [53] = {.lex_state = 0}, - [54] = {.lex_state = 0}, - [55] = {.lex_state = 0}, - [56] = {.lex_state = 1}, - [57] = {.lex_state = 0}, - [58] = {.lex_state = 0}, - [59] = {.lex_state = 0}, - [60] = {.lex_state = 0}, + [1] = {.lex_state = 617}, + [2] = {.lex_state = 617}, + [3] = {.lex_state = 617}, + [4] = {.lex_state = 617}, + [5] = {.lex_state = 617}, + [6] = {.lex_state = 617}, + [7] = {.lex_state = 617}, + [8] = {.lex_state = 617}, + [9] = {.lex_state = 617}, + [10] = {.lex_state = 617}, + [11] = {.lex_state = 617}, + [12] = {.lex_state = 617}, + [13] = {.lex_state = 617}, + [14] = {.lex_state = 13}, + [15] = {.lex_state = 617}, + [16] = {.lex_state = 617}, + [17] = {.lex_state = 617}, + [18] = {.lex_state = 617}, + [19] = {.lex_state = 13}, + [20] = {.lex_state = 617}, + [21] = {.lex_state = 617}, + [22] = {.lex_state = 617}, + [23] = {.lex_state = 617}, + [24] = {.lex_state = 14}, + [25] = {.lex_state = 14}, + [26] = {.lex_state = 2}, + [27] = {.lex_state = 2}, + [28] = {.lex_state = 2}, + [29] = {.lex_state = 2}, + [30] = {.lex_state = 2}, + [31] = {.lex_state = 2}, + [32] = {.lex_state = 2}, + [33] = {.lex_state = 2}, + [34] = {.lex_state = 2}, + [35] = {.lex_state = 2}, + [36] = {.lex_state = 2}, + [37] = {.lex_state = 7}, + [38] = {.lex_state = 7}, + [39] = {.lex_state = 7}, + [40] = {.lex_state = 2}, + [41] = {.lex_state = 7}, + [42] = {.lex_state = 2}, + [43] = {.lex_state = 7}, + [44] = {.lex_state = 7}, + [45] = {.lex_state = 7}, + [46] = {.lex_state = 2}, + [47] = {.lex_state = 7}, + [48] = {.lex_state = 2}, + [49] = {.lex_state = 40}, + [50] = {.lex_state = 2}, + [51] = {.lex_state = 7}, + [52] = {.lex_state = 40}, + [53] = {.lex_state = 2}, + [54] = {.lex_state = 7}, + [55] = {.lex_state = 2}, + [56] = {.lex_state = 2}, + [57] = {.lex_state = 2}, + [58] = {.lex_state = 40}, + [59] = {.lex_state = 2}, + [60] = {.lex_state = 8}, + [61] = {.lex_state = 8}, + [62] = {.lex_state = 8}, + [63] = {.lex_state = 8}, + [64] = {.lex_state = 8}, + [65] = {.lex_state = 8}, + [66] = {.lex_state = 8}, + [67] = {.lex_state = 8}, + [68] = {.lex_state = 8}, + [69] = {.lex_state = 8}, + [70] = {.lex_state = 3}, + [71] = {.lex_state = 617}, + [72] = {.lex_state = 2}, + [73] = {.lex_state = 2}, + [74] = {.lex_state = 617}, + [75] = {.lex_state = 2}, + [76] = {.lex_state = 7}, + [77] = {.lex_state = 7}, + [78] = {.lex_state = 7}, + [79] = {.lex_state = 7}, + [80] = {.lex_state = 7}, + [81] = {.lex_state = 4}, + [82] = {.lex_state = 2}, + [83] = {.lex_state = 617}, + [84] = {.lex_state = 7}, + [85] = {.lex_state = 7}, + [86] = {.lex_state = 7}, + [87] = {.lex_state = 7}, + [88] = {.lex_state = 7}, + [89] = {.lex_state = 2}, + [90] = {.lex_state = 2}, + [91] = {.lex_state = 8}, + [92] = {.lex_state = 8}, + [93] = {.lex_state = 8}, + [94] = {.lex_state = 8}, + [95] = {.lex_state = 8}, + [96] = {.lex_state = 8}, + [97] = {.lex_state = 8}, + [98] = {.lex_state = 8}, + [99] = {.lex_state = 8}, + [100] = {.lex_state = 8}, + [101] = {.lex_state = 17}, + [102] = {.lex_state = 17}, + [103] = {.lex_state = 17}, + [104] = {.lex_state = 17}, + [105] = {.lex_state = 2}, + [106] = {.lex_state = 17}, + [107] = {.lex_state = 17}, + [108] = {.lex_state = 17}, + [109] = {.lex_state = 17}, + [110] = {.lex_state = 17}, + [111] = {.lex_state = 17}, + [112] = {.lex_state = 17}, + [113] = {.lex_state = 17}, + [114] = {.lex_state = 17}, + [115] = {.lex_state = 17}, + [116] = {.lex_state = 17}, + [117] = {.lex_state = 9}, + [118] = {.lex_state = 9}, + [119] = {.lex_state = 617}, + [120] = {.lex_state = 9}, + [121] = {.lex_state = 9}, + [122] = {.lex_state = 9}, + [123] = {.lex_state = 9}, + [124] = {.lex_state = 9}, + [125] = {.lex_state = 16}, + [126] = {.lex_state = 617}, + [127] = {.lex_state = 9}, + [128] = {.lex_state = 617}, + [129] = {.lex_state = 9}, + [130] = {.lex_state = 9}, + [131] = {.lex_state = 617}, + [132] = {.lex_state = 15}, + [133] = {.lex_state = 16}, + [134] = {.lex_state = 16}, + [135] = {.lex_state = 16}, + [136] = {.lex_state = 16}, + [137] = {.lex_state = 16}, + [138] = {.lex_state = 15}, + [139] = {.lex_state = 10}, + [140] = {.lex_state = 617}, + [141] = {.lex_state = 15}, + [142] = {.lex_state = 18}, + [143] = {.lex_state = 15}, + [144] = {.lex_state = 15}, + [145] = {.lex_state = 15}, + [146] = {.lex_state = 15}, + [147] = {.lex_state = 15}, + [148] = {.lex_state = 15}, + [149] = {.lex_state = 617}, + [150] = {.lex_state = 18}, + [151] = {.lex_state = 10}, + [152] = {.lex_state = 15}, + [153] = {.lex_state = 15}, + [154] = {.lex_state = 15}, + [155] = {.lex_state = 10}, + [156] = {.lex_state = 10}, + [157] = {.lex_state = 15}, + [158] = {.lex_state = 10}, + [159] = {.lex_state = 10}, + [160] = {.lex_state = 10}, + [161] = {.lex_state = 15}, + [162] = {.lex_state = 15}, + [163] = {.lex_state = 19}, + [164] = {.lex_state = 10}, + [165] = {.lex_state = 10}, + [166] = {.lex_state = 10}, + [167] = {.lex_state = 5}, + [168] = {.lex_state = 15}, + [169] = {.lex_state = 15}, + [170] = {.lex_state = 15}, + [171] = {.lex_state = 15}, + [172] = {.lex_state = 15}, + [173] = {.lex_state = 15}, + [174] = {.lex_state = 15}, + [175] = {.lex_state = 15}, + [176] = {.lex_state = 15}, + [177] = {.lex_state = 15}, + [178] = {.lex_state = 15}, + [179] = {.lex_state = 15}, + [180] = {.lex_state = 15}, + [181] = {.lex_state = 15}, + [182] = {.lex_state = 15}, + [183] = {.lex_state = 15}, + [184] = {.lex_state = 15}, + [185] = {.lex_state = 15}, + [186] = {.lex_state = 15}, + [187] = {.lex_state = 15}, + [188] = {.lex_state = 15}, + [189] = {.lex_state = 15}, + [190] = {.lex_state = 15}, + [191] = {.lex_state = 15}, + [192] = {.lex_state = 15}, + [193] = {.lex_state = 15}, + [194] = {.lex_state = 15}, + [195] = {.lex_state = 15}, + [196] = {.lex_state = 15}, + [197] = {.lex_state = 15}, + [198] = {.lex_state = 15}, + [199] = {.lex_state = 15}, + [200] = {.lex_state = 15}, + [201] = {.lex_state = 15}, + [202] = {.lex_state = 617}, + [203] = {.lex_state = 617}, + [204] = {.lex_state = 15}, + [205] = {.lex_state = 15}, + [206] = {.lex_state = 15}, + [207] = {.lex_state = 15}, + [208] = {.lex_state = 15}, + [209] = {.lex_state = 15}, + [210] = {.lex_state = 15}, + [211] = {.lex_state = 15}, + [212] = {.lex_state = 15}, + [213] = {.lex_state = 15}, + [214] = {.lex_state = 15}, + [215] = {.lex_state = 15}, + [216] = {.lex_state = 617}, + [217] = {.lex_state = 15}, + [218] = {.lex_state = 15}, + [219] = {.lex_state = 15}, + [220] = {.lex_state = 15}, + [221] = {.lex_state = 15}, + [222] = {.lex_state = 15}, + [223] = {.lex_state = 15}, + [224] = {.lex_state = 15}, + [225] = {.lex_state = 15}, + [226] = {.lex_state = 15}, + [227] = {.lex_state = 617}, + [228] = {.lex_state = 15}, + [229] = {.lex_state = 15}, + [230] = {.lex_state = 15}, + [231] = {.lex_state = 15}, + [232] = {.lex_state = 15}, + [233] = {.lex_state = 15}, + [234] = {.lex_state = 15}, + [235] = {.lex_state = 617}, + [236] = {.lex_state = 15}, + [237] = {.lex_state = 15}, + [238] = {.lex_state = 15}, + [239] = {.lex_state = 15}, + [240] = {.lex_state = 15}, + [241] = {.lex_state = 617}, + [242] = {.lex_state = 15}, + [243] = {.lex_state = 15}, + [244] = {.lex_state = 617}, + [245] = {.lex_state = 15}, + [246] = {.lex_state = 15}, + [247] = {.lex_state = 617}, + [248] = {.lex_state = 15}, + [249] = {.lex_state = 617}, + [250] = {.lex_state = 15}, + [251] = {.lex_state = 617}, + [252] = {.lex_state = 617}, + [253] = {.lex_state = 15}, + [254] = {.lex_state = 15}, + [255] = {.lex_state = 617}, + [256] = {.lex_state = 617}, + [257] = {.lex_state = 15}, + [258] = {.lex_state = 15}, + [259] = {.lex_state = 15}, + [260] = {.lex_state = 9}, + [261] = {.lex_state = 9}, + [262] = {.lex_state = 617}, + [263] = {.lex_state = 2}, + [264] = {.lex_state = 2}, + [265] = {.lex_state = 9}, + [266] = {.lex_state = 9}, + [267] = {.lex_state = 2}, + [268] = {.lex_state = 9}, + [269] = {.lex_state = 9}, + [270] = {.lex_state = 2}, + [271] = {.lex_state = 617}, + [272] = {.lex_state = 2}, + [273] = {.lex_state = 2}, + [274] = {.lex_state = 6}, + [275] = {.lex_state = 2}, + [276] = {.lex_state = 20}, + [277] = {.lex_state = 9}, + [278] = {.lex_state = 617}, + [279] = {.lex_state = 9}, + [280] = {.lex_state = 9}, + [281] = {.lex_state = 9}, + [282] = {.lex_state = 617}, + [283] = {.lex_state = 617}, + [284] = {.lex_state = 2}, + [285] = {.lex_state = 2}, + [286] = {.lex_state = 617}, + [287] = {.lex_state = 617}, + [288] = {.lex_state = 617}, + [289] = {.lex_state = 20}, + [290] = {.lex_state = 20}, + [291] = {.lex_state = 20}, + [292] = {.lex_state = 20}, + [293] = {.lex_state = 20}, + [294] = {.lex_state = 617}, + [295] = {.lex_state = 617}, + [296] = {.lex_state = 617}, + [297] = {.lex_state = 617}, + [298] = {.lex_state = 617}, + [299] = {.lex_state = 617}, + [300] = {.lex_state = 617}, + [301] = {.lex_state = 617}, + [302] = {.lex_state = 617}, + [303] = {.lex_state = 617}, + [304] = {.lex_state = 617}, + [305] = {.lex_state = 617}, + [306] = {.lex_state = 617}, + [307] = {.lex_state = 10}, + [308] = {.lex_state = 2}, + [309] = {.lex_state = 10}, + [310] = {.lex_state = 10}, + [311] = {.lex_state = 10}, + [312] = {.lex_state = 10}, + [313] = {.lex_state = 2}, + [314] = {.lex_state = 2}, + [315] = {.lex_state = 10}, + [316] = {.lex_state = 24}, + [317] = {.lex_state = 2}, + [318] = {.lex_state = 2}, + [319] = {.lex_state = 2}, + [320] = {.lex_state = 10}, + [321] = {.lex_state = 10}, + [322] = {.lex_state = 10}, + [323] = {.lex_state = 10}, + [324] = {.lex_state = 23}, + [325] = {.lex_state = 23}, + [326] = {.lex_state = 2}, + [327] = {.lex_state = 2}, + [328] = {.lex_state = 2}, + [329] = {.lex_state = 2}, + [330] = {.lex_state = 2}, + [331] = {.lex_state = 2}, + [332] = {.lex_state = 2}, + [333] = {.lex_state = 2}, + [334] = {.lex_state = 23}, + [335] = {.lex_state = 23}, + [336] = {.lex_state = 21}, + [337] = {.lex_state = 2}, + [338] = {.lex_state = 23}, + [339] = {.lex_state = 2}, + [340] = {.lex_state = 23}, + [341] = {.lex_state = 2}, + [342] = {.lex_state = 2}, + [343] = {.lex_state = 23}, + [344] = {.lex_state = 2}, + [345] = {.lex_state = 21}, + [346] = {.lex_state = 21}, + [347] = {.lex_state = 21}, + [348] = {.lex_state = 21}, + [349] = {.lex_state = 21}, + [350] = {.lex_state = 2}, + [351] = {.lex_state = 2}, + [352] = {.lex_state = 2}, + [353] = {.lex_state = 617}, + [354] = {.lex_state = 25}, + [355] = {.lex_state = 2}, + [356] = {.lex_state = 2}, + [357] = {.lex_state = 617}, + [358] = {.lex_state = 22}, + [359] = {.lex_state = 617}, + [360] = {.lex_state = 617}, + [361] = {.lex_state = 0}, + [362] = {.lex_state = 0}, + [363] = {.lex_state = 617}, + [364] = {.lex_state = 0}, + [365] = {.lex_state = 2}, + [366] = {.lex_state = 617}, + [367] = {.lex_state = 0}, + [368] = {.lex_state = 617}, + [369] = {.lex_state = 22}, + [370] = {.lex_state = 22}, + [371] = {.lex_state = 23}, + [372] = {.lex_state = 22}, + [373] = {.lex_state = 617}, + [374] = {.lex_state = 22}, + [375] = {.lex_state = 617}, + [376] = {.lex_state = 22}, + [377] = {.lex_state = 617}, + [378] = {.lex_state = 2}, + [379] = {.lex_state = 617}, + [380] = {.lex_state = 2}, + [381] = {.lex_state = 2}, + [382] = {.lex_state = 617}, + [383] = {.lex_state = 2}, + [384] = {.lex_state = 2}, + [385] = {.lex_state = 2}, + [386] = {.lex_state = 2}, + [387] = {.lex_state = 27}, + [388] = {.lex_state = 2}, + [389] = {.lex_state = 617}, + [390] = {.lex_state = 617}, + [391] = {.lex_state = 617}, + [392] = {.lex_state = 40}, + [393] = {.lex_state = 2}, + [394] = {.lex_state = 617}, + [395] = {.lex_state = 2}, + [396] = {.lex_state = 2}, + [397] = {.lex_state = 2}, + [398] = {.lex_state = 617}, + [399] = {.lex_state = 26}, + [400] = {.lex_state = 2}, + [401] = {.lex_state = 2}, + [402] = {.lex_state = 2}, + [403] = {.lex_state = 617}, + [404] = {.lex_state = 617}, + [405] = {.lex_state = 617}, + [406] = {.lex_state = 2}, + [407] = {.lex_state = 617}, + [408] = {.lex_state = 2}, + [409] = {.lex_state = 2}, + [410] = {.lex_state = 617}, + [411] = {.lex_state = 617}, + [412] = {.lex_state = 2}, + [413] = {.lex_state = 617}, + [414] = {.lex_state = 2}, + [415] = {.lex_state = 2}, + [416] = {.lex_state = 2}, + [417] = {.lex_state = 28}, + [418] = {.lex_state = 2}, + [419] = {.lex_state = 2}, + [420] = {.lex_state = 2}, + [421] = {.lex_state = 617}, + [422] = {.lex_state = 617}, + [423] = {.lex_state = 2}, + [424] = {.lex_state = 2}, + [425] = {.lex_state = 49}, + [426] = {.lex_state = 0}, + [427] = {.lex_state = 617}, + [428] = {.lex_state = 15}, + [429] = {.lex_state = 617}, + [430] = {.lex_state = 15}, + [431] = {.lex_state = 32}, + [432] = {.lex_state = 0}, + [433] = {.lex_state = 0}, + [434] = {.lex_state = 15}, + [435] = {.lex_state = 34}, + [436] = {.lex_state = 2}, + [437] = {.lex_state = 2}, + [438] = {.lex_state = 15}, + [439] = {.lex_state = 15}, + [440] = {.lex_state = 15}, + [441] = {.lex_state = 617}, + [442] = {.lex_state = 34}, + [443] = {.lex_state = 34}, + [444] = {.lex_state = 15}, + [445] = {.lex_state = 32}, + [446] = {.lex_state = 34}, + [447] = {.lex_state = 617}, + [448] = {.lex_state = 617}, + [449] = {.lex_state = 0}, + [450] = {.lex_state = 23}, + [451] = {.lex_state = 23}, + [452] = {.lex_state = 23}, + [453] = {.lex_state = 0}, + [454] = {.lex_state = 2}, + [455] = {.lex_state = 23}, + [456] = {.lex_state = 23}, + [457] = {.lex_state = 23}, + [458] = {.lex_state = 2}, + [459] = {.lex_state = 0}, + [460] = {.lex_state = 2}, + [461] = {.lex_state = 23}, + [462] = {.lex_state = 2}, + [463] = {.lex_state = 2}, + [464] = {.lex_state = 23}, + [465] = {.lex_state = 34}, + [466] = {.lex_state = 33}, + [467] = {.lex_state = 33}, + [468] = {.lex_state = 2}, + [469] = {.lex_state = 2}, + [470] = {.lex_state = 617}, + [471] = {.lex_state = 23}, + [472] = {.lex_state = 2}, + [473] = {.lex_state = 2}, + [474] = {.lex_state = 23}, + [475] = {.lex_state = 0}, + [476] = {.lex_state = 617}, + [477] = {.lex_state = 617}, + [478] = {.lex_state = 617}, + [479] = {.lex_state = 617}, + [480] = {.lex_state = 0}, + [481] = {.lex_state = 617}, + [482] = {.lex_state = 617}, + [483] = {.lex_state = 617}, + [484] = {.lex_state = 44}, + [485] = {.lex_state = 617}, + [486] = {.lex_state = 617}, + [487] = {.lex_state = 0}, + [488] = {.lex_state = 617}, + [489] = {.lex_state = 617}, + [490] = {.lex_state = 617}, + [491] = {.lex_state = 617}, + [492] = {.lex_state = 617}, + [493] = {.lex_state = 617}, + [494] = {.lex_state = 617}, + [495] = {.lex_state = 617}, + [496] = {.lex_state = 617}, + [497] = {.lex_state = 617}, + [498] = {.lex_state = 617}, + [499] = {.lex_state = 617}, + [500] = {.lex_state = 617}, + [501] = {.lex_state = 0}, + [502] = {.lex_state = 617}, + [503] = {.lex_state = 617}, + [504] = {.lex_state = 617}, + [505] = {.lex_state = 0}, + [506] = {.lex_state = 617}, + [507] = {.lex_state = 617}, + [508] = {.lex_state = 617}, + [509] = {.lex_state = 0}, + [510] = {.lex_state = 11}, + [511] = {.lex_state = 30}, + [512] = {.lex_state = 11}, + [513] = {.lex_state = 617}, + [514] = {.lex_state = 617}, + [515] = {.lex_state = 30}, + [516] = {.lex_state = 617}, + [517] = {.lex_state = 0}, + [518] = {.lex_state = 11}, + [519] = {.lex_state = 617}, + [520] = {.lex_state = 617}, + [521] = {.lex_state = 31}, + [522] = {.lex_state = 0}, + [523] = {.lex_state = 11}, + [524] = {.lex_state = 617}, + [525] = {.lex_state = 11}, + [526] = {.lex_state = 11}, + [527] = {.lex_state = 617}, + [528] = {.lex_state = 31}, + [529] = {.lex_state = 617}, + [530] = {.lex_state = 617}, + [531] = {.lex_state = 617}, + [532] = {.lex_state = 617}, + [533] = {.lex_state = 617}, + [534] = {.lex_state = 617}, + [535] = {.lex_state = 617}, + [536] = {.lex_state = 617}, + [537] = {.lex_state = 617}, + [538] = {.lex_state = 617}, + [539] = {.lex_state = 617}, + [540] = {.lex_state = 617}, + [541] = {.lex_state = 617}, + [542] = {.lex_state = 617}, + [543] = {.lex_state = 617}, + [544] = {.lex_state = 617}, + [545] = {.lex_state = 617}, + [546] = {.lex_state = 617}, + [547] = {.lex_state = 48}, + [548] = {.lex_state = 0}, + [549] = {.lex_state = 617}, + [550] = {.lex_state = 617}, + [551] = {.lex_state = 0}, + [552] = {.lex_state = 0}, + [553] = {.lex_state = 48}, + [554] = {.lex_state = 617}, + [555] = {.lex_state = 54}, + [556] = {.lex_state = 617}, + [557] = {.lex_state = 617}, + [558] = {.lex_state = 48}, + [559] = {.lex_state = 617}, + [560] = {.lex_state = 617}, + [561] = {.lex_state = 617}, + [562] = {.lex_state = 617}, + [563] = {.lex_state = 617}, + [564] = {.lex_state = 617}, + [565] = {.lex_state = 617}, + [566] = {.lex_state = 0}, + [567] = {.lex_state = 30}, + [568] = {.lex_state = 53}, + [569] = {.lex_state = 0}, + [570] = {.lex_state = 617}, + [571] = {.lex_state = 0}, + [572] = {.lex_state = 0}, + [573] = {.lex_state = 617}, + [574] = {.lex_state = 0}, + [575] = {.lex_state = 0}, + [576] = {.lex_state = 617}, + [577] = {.lex_state = 617}, + [578] = {.lex_state = 617}, + [579] = {.lex_state = 30}, + [580] = {.lex_state = 617}, + [581] = {.lex_state = 617}, + [582] = {.lex_state = 617}, + [583] = {.lex_state = 617}, + [584] = {.lex_state = 617}, + [585] = {.lex_state = 617}, + [586] = {.lex_state = 617}, + [587] = {.lex_state = 617}, + [588] = {.lex_state = 50}, + [589] = {.lex_state = 617}, + [590] = {.lex_state = 617}, + [591] = {.lex_state = 617}, + [592] = {.lex_state = 617}, + [593] = {.lex_state = 617}, + [594] = {.lex_state = 617}, + [595] = {.lex_state = 617}, + [596] = {.lex_state = 617}, + [597] = {.lex_state = 617}, + [598] = {.lex_state = 53}, + [599] = {.lex_state = 617}, + [600] = {.lex_state = 0}, + [601] = {.lex_state = 617}, + [602] = {.lex_state = 617}, + [603] = {.lex_state = 617}, + [604] = {.lex_state = 617}, + [605] = {.lex_state = 617}, + [606] = {.lex_state = 46}, + [607] = {.lex_state = 617}, + [608] = {.lex_state = 63}, + [609] = {.lex_state = 0}, + [610] = {.lex_state = 617}, + [611] = {.lex_state = 617}, + [612] = {.lex_state = 617}, + [613] = {.lex_state = 29}, + [614] = {.lex_state = 617}, + [615] = {.lex_state = 0}, + [616] = {.lex_state = 23}, + [617] = {.lex_state = 617}, + [618] = {.lex_state = 617}, + [619] = {.lex_state = 54}, + [620] = {.lex_state = 51}, + [621] = {.lex_state = 617}, + [622] = {.lex_state = 30}, + [623] = {.lex_state = 0}, + [624] = {.lex_state = 12}, + [625] = {.lex_state = 0}, + [626] = {.lex_state = 12}, + [627] = {.lex_state = 12}, + [628] = {.lex_state = 11}, + [629] = {.lex_state = 12}, + [630] = {.lex_state = 0}, + [631] = {.lex_state = 0}, + [632] = {.lex_state = 617}, + [633] = {.lex_state = 617}, + [634] = {.lex_state = 11}, + [635] = {.lex_state = 0}, + [636] = {.lex_state = 23}, + [637] = {.lex_state = 617}, + [638] = {.lex_state = 12}, + [639] = {.lex_state = 0}, + [640] = {.lex_state = 0}, + [641] = {.lex_state = 617}, + [642] = {.lex_state = 12}, + [643] = {.lex_state = 617}, + [644] = {.lex_state = 0}, + [645] = {.lex_state = 0}, + [646] = {.lex_state = 0}, + [647] = {.lex_state = 0}, + [648] = {.lex_state = 12}, + [649] = {.lex_state = 57}, + [650] = {.lex_state = 23}, + [651] = {.lex_state = 617}, + [652] = {.lex_state = 12}, + [653] = {.lex_state = 0}, + [654] = {.lex_state = 617}, + [655] = {.lex_state = 617}, + [656] = {.lex_state = 12}, + [657] = {.lex_state = 617}, + [658] = {.lex_state = 617}, + [659] = {.lex_state = 617}, + [660] = {.lex_state = 58}, + [661] = {.lex_state = 12}, + [662] = {.lex_state = 30}, + [663] = {.lex_state = 12}, + [664] = {.lex_state = 0}, + [665] = {.lex_state = 617}, + [666] = {.lex_state = 0}, + [667] = {.lex_state = 617}, + [668] = {.lex_state = 12}, + [669] = {.lex_state = 42}, + [670] = {.lex_state = 12}, + [671] = {.lex_state = 0}, + [672] = {.lex_state = 617}, + [673] = {.lex_state = 617}, + [674] = {.lex_state = 35}, + [675] = {.lex_state = 57}, + [676] = {.lex_state = 30}, + [677] = {.lex_state = 617}, + [678] = {.lex_state = 56}, + [679] = {.lex_state = 0}, + [680] = {.lex_state = 0}, + [681] = {.lex_state = 30}, + [682] = {.lex_state = 0}, + [683] = {.lex_state = 0}, + [684] = {.lex_state = 11}, + [685] = {.lex_state = 0}, + [686] = {.lex_state = 0}, + [687] = {.lex_state = 0}, + [688] = {.lex_state = 0}, + [689] = {.lex_state = 60}, + [690] = {.lex_state = 0}, + [691] = {.lex_state = 45}, + [692] = {.lex_state = 0}, + [693] = {.lex_state = 0}, + [694] = {.lex_state = 58}, + [695] = {.lex_state = 0}, + [696] = {.lex_state = 11}, + [697] = {.lex_state = 58}, + [698] = {.lex_state = 11}, + [699] = {.lex_state = 0}, + [700] = {.lex_state = 0}, + [701] = {.lex_state = 11}, + [702] = {.lex_state = 0}, + [703] = {.lex_state = 2}, + [704] = {.lex_state = 0}, + [705] = {.lex_state = 0}, + [706] = {.lex_state = 617}, + [707] = {.lex_state = 0}, + [708] = {.lex_state = 48}, + [709] = {.lex_state = 11}, + [710] = {.lex_state = 11}, + [711] = {.lex_state = 0}, + [712] = {.lex_state = 0}, + [713] = {.lex_state = 0}, + [714] = {.lex_state = 0}, + [715] = {.lex_state = 0}, + [716] = {.lex_state = 0}, + [717] = {.lex_state = 0}, + [718] = {.lex_state = 0}, + [719] = {.lex_state = 0}, + [720] = {.lex_state = 0}, + [721] = {.lex_state = 0}, + [722] = {.lex_state = 0}, + [723] = {.lex_state = 0}, + [724] = {.lex_state = 0}, + [725] = {.lex_state = 0}, + [726] = {.lex_state = 58}, + [727] = {.lex_state = 0}, + [728] = {.lex_state = 0}, + [729] = {.lex_state = 0}, + [730] = {.lex_state = 0}, + [731] = {.lex_state = 0}, + [732] = {.lex_state = 0}, + [733] = {.lex_state = 0}, + [734] = {.lex_state = 0}, + [735] = {.lex_state = 0}, + [736] = {.lex_state = 0}, + [737] = {.lex_state = 0}, + [738] = {.lex_state = 58}, + [739] = {.lex_state = 0}, + [740] = {.lex_state = 0}, + [741] = {.lex_state = 11}, + [742] = {.lex_state = 0}, + [743] = {.lex_state = 48}, + [744] = {.lex_state = 0}, + [745] = {.lex_state = 0}, + [746] = {.lex_state = 0}, + [747] = {.lex_state = 0}, + [748] = {.lex_state = 0}, + [749] = {.lex_state = 0}, + [750] = {.lex_state = 0}, + [751] = {.lex_state = 11}, + [752] = {.lex_state = 0}, + [753] = {.lex_state = 0}, + [754] = {.lex_state = 0}, + [755] = {.lex_state = 0}, + [756] = {.lex_state = 0}, + [757] = {.lex_state = 0}, + [758] = {.lex_state = 0}, + [759] = {.lex_state = 58}, + [760] = {.lex_state = 23}, + [761] = {.lex_state = 0}, + [762] = {.lex_state = 0}, + [763] = {.lex_state = 0}, + [764] = {.lex_state = 0}, + [765] = {.lex_state = 0}, + [766] = {.lex_state = 0}, + [767] = {.lex_state = 0}, + [768] = {.lex_state = 0}, + [769] = {.lex_state = 0}, + [770] = {.lex_state = 41}, + [771] = {.lex_state = 617}, + [772] = {.lex_state = 0}, + [773] = {.lex_state = 617}, + [774] = {.lex_state = 0}, + [775] = {.lex_state = 0}, + [776] = {.lex_state = 0}, + [777] = {.lex_state = 0}, + [778] = {.lex_state = 0}, + [779] = {.lex_state = 0}, + [780] = {.lex_state = 0}, + [781] = {.lex_state = 0}, + [782] = {.lex_state = 617}, + [783] = {.lex_state = 0}, + [784] = {.lex_state = 0}, + [785] = {.lex_state = 0}, + [786] = {.lex_state = 0}, + [787] = {.lex_state = 0}, + [788] = {.lex_state = 11}, + [789] = {.lex_state = 617}, + [790] = {.lex_state = 617}, + [791] = {.lex_state = 0}, + [792] = {.lex_state = 0}, + [793] = {.lex_state = 11}, + [794] = {.lex_state = 0}, + [795] = {.lex_state = 0}, + [796] = {.lex_state = 41}, + [797] = {.lex_state = 0}, + [798] = {.lex_state = 0}, + [799] = {.lex_state = 11}, + [800] = {.lex_state = 0}, + [801] = {.lex_state = 0}, + [802] = {.lex_state = 0}, + [803] = {.lex_state = 0}, + [804] = {.lex_state = 0}, + [805] = {.lex_state = 58}, + [806] = {.lex_state = 0}, + [807] = {.lex_state = 55}, + [808] = {.lex_state = 58}, + [809] = {.lex_state = 0}, + [810] = {.lex_state = 0}, + [811] = {.lex_state = 0}, + [812] = {.lex_state = 47}, + [813] = {.lex_state = 0}, + [814] = {.lex_state = 0}, + [815] = {.lex_state = 617}, + [816] = {.lex_state = 0}, + [817] = {.lex_state = 11}, + [818] = {.lex_state = 0}, + [819] = {.lex_state = 0}, + [820] = {.lex_state = 11}, + [821] = {.lex_state = 0}, + [822] = {.lex_state = 0}, + [823] = {.lex_state = 0}, + [824] = {.lex_state = 0}, + [825] = {.lex_state = 0}, + [826] = {.lex_state = 0}, + [827] = {.lex_state = 11}, + [828] = {.lex_state = 0}, + [829] = {.lex_state = 0}, + [830] = {.lex_state = 0}, + [831] = {.lex_state = 0}, + [832] = {.lex_state = 617}, + [833] = {.lex_state = 0}, + [834] = {.lex_state = 0}, + [835] = {.lex_state = 0}, + [836] = {.lex_state = 11}, + [837] = {.lex_state = 0}, + [838] = {.lex_state = 62}, + [839] = {.lex_state = 61}, + [840] = {.lex_state = 0}, + [841] = {.lex_state = 0}, + [842] = {.lex_state = 11}, + [843] = {.lex_state = 0}, + [844] = {.lex_state = 0}, + [845] = {.lex_state = 0}, + [846] = {.lex_state = 0}, + [847] = {.lex_state = 0}, + [848] = {.lex_state = 617}, + [849] = {.lex_state = 0}, + [850] = {.lex_state = 11}, + [851] = {.lex_state = 0}, + [852] = {.lex_state = 0}, + [853] = {.lex_state = 11}, + [854] = {.lex_state = 0}, + [855] = {.lex_state = 0}, + [856] = {.lex_state = 0}, + [857] = {.lex_state = 0}, + [858] = {.lex_state = 11}, + [859] = {.lex_state = 11}, + [860] = {.lex_state = 61}, + [861] = {.lex_state = 0}, + [862] = {.lex_state = 0}, + [863] = {.lex_state = 0}, + [864] = {.lex_state = 0}, + [865] = {.lex_state = 52}, + [866] = {.lex_state = 0}, + [867] = {.lex_state = 0}, + [868] = {.lex_state = 0}, + [869] = {.lex_state = 0}, + [870] = {.lex_state = 61}, + [871] = {.lex_state = 0}, + [872] = {.lex_state = 0}, + [873] = {.lex_state = 11}, + [874] = {.lex_state = 0}, + [875] = {.lex_state = 0}, + [876] = {.lex_state = 31}, + [877] = {.lex_state = 0}, + [878] = {.lex_state = 0}, + [879] = {.lex_state = 0}, + [880] = {.lex_state = 0}, + [881] = {.lex_state = 0}, + [882] = {.lex_state = 0}, + [883] = {.lex_state = 11}, + [884] = {.lex_state = 0}, + [885] = {.lex_state = 0}, + [886] = {.lex_state = 0}, + [887] = {.lex_state = 0}, + [888] = {.lex_state = 61}, + [889] = {.lex_state = 0}, + [890] = {.lex_state = 0}, + [891] = {.lex_state = 0}, + [892] = {.lex_state = 11}, + [893] = {.lex_state = 0}, + [894] = {.lex_state = 0}, + [895] = {.lex_state = 0}, + [896] = {.lex_state = 11}, + [897] = {.lex_state = 0}, + [898] = {.lex_state = 0}, + [899] = {.lex_state = 0}, + [900] = {.lex_state = 0}, + [901] = {.lex_state = 0}, + [902] = {.lex_state = 0}, + [903] = {.lex_state = 47}, + [904] = {.lex_state = 11}, + [905] = {.lex_state = 11}, + [906] = {.lex_state = 0}, + [907] = {.lex_state = 0}, + [908] = {.lex_state = 0}, + [909] = {.lex_state = 43}, + [910] = {.lex_state = 0}, + [911] = {.lex_state = 11}, + [912] = {.lex_state = 11}, + [913] = {.lex_state = 0}, + [914] = {.lex_state = 11}, + [915] = {.lex_state = 0}, + [916] = {.lex_state = 0}, + [917] = {.lex_state = 617}, + [918] = {.lex_state = 11}, + [919] = {.lex_state = 59}, + [920] = {.lex_state = 11}, + [921] = {.lex_state = 0}, + [922] = {.lex_state = 11}, + [923] = {.lex_state = 11}, + [924] = {.lex_state = 617}, + [925] = {.lex_state = 31}, + [926] = {.lex_state = 0}, + [927] = {.lex_state = 11}, + [928] = {.lex_state = 0}, + [929] = {.lex_state = 0}, + [930] = {.lex_state = 0}, + [931] = {.lex_state = 0}, + [932] = {.lex_state = 11}, + [933] = {.lex_state = 0}, + [934] = {.lex_state = 11}, + [935] = {.lex_state = 11}, + [936] = {.lex_state = 0}, + [937] = {.lex_state = 11}, + [938] = {.lex_state = 11}, + [939] = {.lex_state = 0}, + [940] = {.lex_state = 11}, + [941] = {.lex_state = 0}, + [942] = {.lex_state = 0}, + [943] = {.lex_state = 11}, + [944] = {.lex_state = 617}, + [945] = {.lex_state = 0}, + [946] = {.lex_state = 0}, + [947] = {.lex_state = 0}, + [948] = {.lex_state = 0}, + [949] = {.lex_state = 0}, + [950] = {.lex_state = 0}, + [951] = {.lex_state = 0}, + [952] = {.lex_state = 0}, + [953] = {.lex_state = 11}, + [954] = {.lex_state = 0}, + [955] = {.lex_state = 0}, + [956] = {.lex_state = 0}, + [957] = {.lex_state = 0}, + [958] = {.lex_state = 11}, + [959] = {.lex_state = 11}, + [960] = {.lex_state = 11}, + [961] = {.lex_state = 0}, + [962] = {.lex_state = 0}, + [963] = {.lex_state = 0}, + [964] = {.lex_state = 0}, + [965] = {.lex_state = 0}, + [966] = {.lex_state = 11}, + [967] = {.lex_state = 0}, + [968] = {.lex_state = 11}, + [969] = {.lex_state = 0}, + [970] = {.lex_state = 11}, + [971] = {.lex_state = 0}, + [972] = {.lex_state = 0}, + [973] = {.lex_state = 0}, + [974] = {.lex_state = 0}, + [975] = {.lex_state = 0}, + [976] = {.lex_state = 0}, + [977] = {.lex_state = 0}, + [978] = {.lex_state = 11}, + [979] = {.lex_state = 11}, + [980] = {.lex_state = 0}, + [981] = {.lex_state = 0}, + [982] = {.lex_state = 0}, + [983] = {.lex_state = 11}, + [984] = {.lex_state = 0}, + [985] = {.lex_state = 0}, + [986] = {.lex_state = 0}, + [987] = {.lex_state = 11}, + [988] = {.lex_state = 11}, + [989] = {.lex_state = 0}, + [990] = {.lex_state = 11}, + [991] = {.lex_state = 0}, + [992] = {.lex_state = 0}, + [993] = {.lex_state = 0}, + [994] = {.lex_state = 0}, + [995] = {.lex_state = 0}, + [996] = {.lex_state = 0}, + [997] = {.lex_state = 617}, + [998] = {.lex_state = 0}, + [999] = {.lex_state = 0}, + [1000] = {.lex_state = 11}, + [1001] = {.lex_state = 11}, + [1002] = {.lex_state = 617}, + [1003] = {.lex_state = 0}, + [1004] = {.lex_state = 0}, + [1005] = {.lex_state = 11}, + [1006] = {.lex_state = 0}, + [1007] = {.lex_state = 0}, + [1008] = {.lex_state = 0}, + [1009] = {.lex_state = 11}, + [1010] = {.lex_state = 0}, + [1011] = {.lex_state = 0}, + [1012] = {.lex_state = 0}, + [1013] = {.lex_state = 11}, + [1014] = {.lex_state = 0}, + [1015] = {.lex_state = 11}, + [1016] = {.lex_state = 0}, + [1017] = {.lex_state = 0}, + [1018] = {.lex_state = 0}, + [1019] = {.lex_state = 0}, + [1020] = {.lex_state = 0}, + [1021] = {.lex_state = 0}, + [1022] = {.lex_state = 0}, + [1023] = {.lex_state = 0}, + [1024] = {.lex_state = 0}, + [1025] = {.lex_state = 0}, + [1026] = {.lex_state = 11}, + [1027] = {.lex_state = 617}, + [1028] = {.lex_state = 0}, + [1029] = {.lex_state = 0}, + [1030] = {.lex_state = 11}, + [1031] = {.lex_state = 0}, + [1032] = {.lex_state = 0}, + [1033] = {.lex_state = 0}, + [1034] = {.lex_state = 11}, + [1035] = {.lex_state = 0}, + [1036] = {.lex_state = 11}, + [1037] = {.lex_state = 0}, + [1038] = {.lex_state = 617}, + [1039] = {.lex_state = 0}, + [1040] = {.lex_state = 11}, + [1041] = {.lex_state = 0}, + [1042] = {.lex_state = 0}, + [1043] = {.lex_state = 0}, + [1044] = {.lex_state = 0}, + [1045] = {.lex_state = 0}, + [1046] = {.lex_state = 11}, + [1047] = {.lex_state = 0}, + [1048] = {.lex_state = 617}, + [1049] = {.lex_state = 0}, + [1050] = {.lex_state = 0}, + [1051] = {.lex_state = 0}, + [1052] = {.lex_state = 0}, + [1053] = {.lex_state = 11}, + [1054] = {.lex_state = 31}, + [1055] = {.lex_state = 11}, + [1056] = {.lex_state = 0}, + [1057] = {.lex_state = 0}, + [1058] = {.lex_state = 11}, + [1059] = {.lex_state = 0}, + [1060] = {.lex_state = 0}, + [1061] = {.lex_state = 0}, + [1062] = {.lex_state = 0}, + [1063] = {.lex_state = 0}, + [1064] = {.lex_state = 0}, + [1065] = {.lex_state = 0}, + [1066] = {.lex_state = 0}, + [1067] = {.lex_state = 0}, + [1068] = {.lex_state = 0}, + [1069] = {.lex_state = 0}, + [1070] = {.lex_state = 11}, + [1071] = {.lex_state = 0}, + [1072] = {.lex_state = 0}, + [1073] = {.lex_state = 0}, + [1074] = {.lex_state = 0}, + [1075] = {.lex_state = 0}, + [1076] = {.lex_state = 0}, + [1077] = {.lex_state = 617}, + [1078] = {.lex_state = 0}, + [1079] = {.lex_state = 0}, + [1080] = {.lex_state = 0}, + [1081] = {.lex_state = 0}, + [1082] = {.lex_state = 0}, + [1083] = {.lex_state = 0}, + [1084] = {.lex_state = 0}, + [1085] = {.lex_state = 0}, + [1086] = {.lex_state = 11}, + [1087] = {.lex_state = 0}, + [1088] = {.lex_state = 0}, + [1089] = {.lex_state = 0}, + [1090] = {.lex_state = 0}, + [1091] = {.lex_state = 0}, + [1092] = {.lex_state = 617}, + [1093] = {.lex_state = 0}, + [1094] = {.lex_state = 0}, + [1095] = {.lex_state = 0}, + [1096] = {.lex_state = 0}, + [1097] = {.lex_state = 0}, + [1098] = {.lex_state = 0}, + [1099] = {.lex_state = 0}, + [1100] = {.lex_state = 11}, + [1101] = {.lex_state = 0}, + [1102] = {.lex_state = 0}, + [1103] = {.lex_state = 11}, + [1104] = {.lex_state = 11}, + [1105] = {.lex_state = 0}, + [1106] = {.lex_state = 0}, + [1107] = {.lex_state = 0}, + [1108] = {.lex_state = 0}, + [1109] = {.lex_state = 0}, + [1110] = {.lex_state = 0}, + [1111] = {.lex_state = 0}, + [1112] = {.lex_state = 0}, + [1113] = {.lex_state = 0}, + [1114] = {.lex_state = 617}, + [1115] = {.lex_state = 0}, + [1116] = {.lex_state = 0}, + [1117] = {.lex_state = 0}, + [1118] = {.lex_state = 0}, + [1119] = {.lex_state = 0}, + [1120] = {.lex_state = 0}, + [1121] = {.lex_state = 0}, + [1122] = {.lex_state = 0}, + [1123] = {.lex_state = 0}, + [1124] = {.lex_state = 0}, + [1125] = {.lex_state = 11}, + [1126] = {.lex_state = 11}, + [1127] = {.lex_state = 0}, + [1128] = {.lex_state = 0}, + [1129] = {.lex_state = 0}, + [1130] = {.lex_state = 0}, + [1131] = {.lex_state = 11}, + [1132] = {.lex_state = 617}, + [1133] = {.lex_state = 0}, + [1134] = {.lex_state = 0}, + [1135] = {.lex_state = 0}, + [1136] = {.lex_state = 11}, + [1137] = {.lex_state = 0}, + [1138] = {.lex_state = 0}, + [1139] = {.lex_state = 0}, + [1140] = {.lex_state = 617}, + [1141] = {.lex_state = 0}, + [1142] = {.lex_state = 0}, + [1143] = {.lex_state = 0}, + [1144] = {.lex_state = 0}, + [1145] = {.lex_state = 0}, + [1146] = {.lex_state = 0}, + [1147] = {.lex_state = 0}, + [1148] = {.lex_state = 0}, + [1149] = {.lex_state = 0}, + [1150] = {.lex_state = 0}, + [1151] = {.lex_state = 0}, + [1152] = {.lex_state = 0}, + [1153] = {.lex_state = 0}, + [1154] = {.lex_state = 617}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [0] = { [ts_builtin_sym_end] = ACTIONS(1), [anon_sym_SEMI] = ACTIONS(1), - [aux_sym_create_function_statement_token1] = ACTIONS(1), - [aux_sym_create_function_statement_token2] = ACTIONS(1), - [aux_sym_create_function_statement_token3] = ACTIONS(1), - [aux_sym_create_function_statement_token4] = ACTIONS(1), - [aux_sym_create_function_statement_token5] = ACTIONS(1), - [aux_sym_function_volatility_token1] = ACTIONS(1), - [aux_sym_function_volatility_token2] = ACTIONS(1), - [aux_sym_function_volatility_token3] = ACTIONS(1), - [anon_sym_DOLLAR] = ACTIONS(1), + [aux_sym_insert_statement_token2] = ACTIONS(1), + [aux_sym_insert_items_token1] = ACTIONS(1), + [aux_sym_insert_items_token2] = ACTIONS(1), [anon_sym_LPAREN] = ACTIONS(1), [anon_sym_COMMA] = ACTIONS(1), [anon_sym_RPAREN] = ACTIONS(1), - [anon_sym_OR] = ACTIONS(1), - [anon_sym_REPLACE] = ACTIONS(1), + [aux_sym_insert_conflict_token1] = ACTIONS(1), + [aux_sym_insert_conflict_token2] = ACTIONS(1), + [aux_sym_insert_conflict_token3] = ACTIONS(1), + [aux_sym_insert_conflict_token5] = ACTIONS(1), + [aux_sym_insert_conflict_token6] = ACTIONS(1), + [aux_sym_conflict_target_token1] = ACTIONS(1), + [anon_sym_EQ] = ACTIONS(1), + [aux_sym_update_set_token1] = ACTIONS(1), + [aux_sym_create_table_statement_token1] = ACTIONS(1), + [aux_sym_create_table_statement_token2] = ACTIONS(1), + [aux_sym_create_table_statement_token3] = ACTIONS(1), + [aux_sym_create_schema_statement_token1] = ACTIONS(1), + [aux_sym_schema_role_token1] = ACTIONS(1), + [aux_sym_schema_role_token2] = ACTIONS(1), + [aux_sym_schema_role_token3] = ACTIONS(1), + [aux_sym_create_index_statement_token1] = ACTIONS(1), + [aux_sym_create_index_statement_token2] = ACTIONS(1), + [aux_sym_create_index_statement_token3] = ACTIONS(1), + [aux_sym_index_using_token1] = ACTIONS(1), + [aux_sym_index_col_dir_token2] = ACTIONS(1), + [aux_sym_index_col_nulls_token2] = ACTIONS(1), + [aux_sym_index_col_nulls_token3] = ACTIONS(1), + [aux_sym_index_includes_token1] = ACTIONS(1), + [aux_sym_delete_statement_token1] = ACTIONS(1), + [aux_sym_delete_statement_token2] = ACTIONS(1), + [aux_sym_delete_statement_token3] = ACTIONS(1), + [aux_sym_alter_table_statement_token1] = ACTIONS(1), + [aux_sym_alter_table_action_token1] = ACTIONS(1), + [aux_sym_alter_table_action_token2] = ACTIONS(1), + [aux_sym_alter_table_action_token3] = ACTIONS(1), + [aux_sym_alter_column_action_token1] = ACTIONS(1), + [aux_sym_alter_column_action_token2] = ACTIONS(1), + [aux_sym_alter_column_action_token3] = ACTIONS(1), + [aux_sym_alter_column_action_token4] = ACTIONS(1), + [aux_sym_constraint_when_token1] = ACTIONS(1), + [aux_sym_constraint_when_token2] = ACTIONS(1), + [aux_sym_constraint_when_token3] = ACTIONS(1), + [aux_sym_constraint_when_token4] = ACTIONS(1), + [aux_sym_table_constraint_ty_token1] = ACTIONS(1), + [aux_sym_table_constraint_ty_token2] = ACTIONS(1), + [aux_sym_table_constraint_ty_token3] = ACTIONS(1), + [aux_sym_constraint_foreign_key_token1] = ACTIONS(1), + [aux_sym_fk_ref_action_token1] = ACTIONS(1), + [aux_sym_fk_ref_action_token2] = ACTIONS(1), + [aux_sym_fk_ref_action_token3] = ACTIONS(1), + [aux_sym_fk_ref_action_token4] = ACTIONS(1), + [aux_sym_alter_table_rename_column_token1] = ACTIONS(1), + [aux_sym_alter_table_rename_column_token2] = ACTIONS(1), + [aux_sym_grant_statement_token1] = ACTIONS(1), + [aux_sym_grant_roles_token1] = ACTIONS(1), + [aux_sym_grant_roles_token2] = ACTIONS(1), + [aux_sym_grant_privileges_token1] = ACTIONS(1), + [anon_sym_privileges] = ACTIONS(1), + [aux_sym_grant_targets_token4] = ACTIONS(1), + [aux_sym_grant_targets_token5] = ACTIONS(1), + [aux_sym_grant_targets_token6] = ACTIONS(1), + [aux_sym_grant_targets_token7] = ACTIONS(1), + [aux_sym_grant_targets_token8] = ACTIONS(1), + [anon_sym_BSLASH] = ACTIONS(1), + [aux_sym_sequence_increment_token1] = ACTIONS(1), + [aux_sym_sequence_increment_token2] = ACTIONS(1), + [aux_sym_sequence_min_token1] = ACTIONS(1), + [aux_sym_sequence_max_token1] = ACTIONS(1), + [aux_sym_sequence_start_token1] = ACTIONS(1), + [aux_sym_sequence_start_token2] = ACTIONS(1), + [aux_sym_sequence_cache_token1] = ACTIONS(1), + [aux_sym_sequence_cycle_token1] = ACTIONS(1), + [aux_sym_sequence_owned_token1] = ACTIONS(1), + [aux_sym_sequence_owned_token2] = ACTIONS(1), + [aux_sym_create_trigger_statement_token1] = ACTIONS(1), + [aux_sym_trigger_when_token1] = ACTIONS(1), + [aux_sym_trigger_when_token2] = ACTIONS(1), + [aux_sym_trigger_event_token1] = ACTIONS(1), + [aux_sym_trigger_event_token2] = ACTIONS(1), + [aux_sym_trigger_scope_token1] = ACTIONS(1), + [aux_sym_trigger_scope_token2] = ACTIONS(1), + [aux_sym_trigger_scope_token3] = ACTIONS(1), + [aux_sym_trigger_exec_token1] = ACTIONS(1), + [aux_sym_trigger_cond_token1] = ACTIONS(1), + [aux_sym_return_statement_token1] = ACTIONS(1), + [aux_sym_return_statement_token2] = ACTIONS(1), + [aux_sym_perform_statement_token1] = ACTIONS(1), + [aux_sym_select_statement_token1] = ACTIONS(1), + [aux_sym_with_query_item_token1] = ACTIONS(1), + [aux_sym_into_token1] = ACTIONS(1), + [aux_sym_select_having_token1] = ACTIONS(1), + [aux_sym_select_limit_token1] = ACTIONS(1), + [aux_sym_select_limit_token2] = ACTIONS(1), + [aux_sym_select_order_by_token1] = ACTIONS(1), + [aux_sym_join_item_token1] = ACTIONS(1), + [aux_sym_join_item_token2] = ACTIONS(1), + [aux_sym_join_item_token3] = ACTIONS(1), + [aux_sym_join_type_token1] = ACTIONS(1), + [aux_sym_join_type_token2] = ACTIONS(1), + [aux_sym_join_type_token3] = ACTIONS(1), + [aux_sym_join_type_token4] = ACTIONS(1), + [aux_sym_join_type_token5] = ACTIONS(1), + [aux_sym_create_function_statement_token1] = ACTIONS(1), + [aux_sym_function_volatility_token1] = ACTIONS(1), + [aux_sym_function_volatility_token2] = ACTIONS(1), + [aux_sym_function_volatility_token3] = ACTIONS(1), + [aux_sym_body_token1] = ACTIONS(1), + [aux_sym_body_token2] = ACTIONS(1), + [anon_sym_DOLLAR] = ACTIONS(1), + [aux_sym_declarations_token1] = ACTIONS(1), + [anon_sym_COLON_EQ] = ACTIONS(1), + [aux_sym_where_filter_token1] = ACTIONS(1), + [aux_sym_or_replace_token1] = ACTIONS(1), + [aux_sym_temporary_token1] = ACTIONS(1), + [aux_sym_temporary_token2] = ACTIONS(1), + [aux_sym_if_not_exists_token1] = ACTIONS(1), + [aux_sym_if_not_exists_token2] = ACTIONS(1), [anon_sym_LBRACK] = ACTIONS(1), [anon_sym_RBRACK] = ACTIONS(1), + [aux_sym_predefined_types_token1] = ACTIONS(1), + [anon_sym_SQUOTE] = ACTIONS(1), + [aux_sym_string_token1] = ACTIONS(1), + [sym_comment] = ACTIONS(3), + [aux_sym_time_expression_token1] = ACTIONS(1), + [aux_sym_time_expression_token2] = ACTIONS(1), + [aux_sym_time_expression_token3] = ACTIONS(1), + [anon_sym_STAR] = ACTIONS(1), + [anon_sym_SLASH] = ACTIONS(1), + [anon_sym_PERCENT] = ACTIONS(1), + [anon_sym_DASH] = ACTIONS(1), + [anon_sym_PLUS] = ACTIONS(1), + [anon_sym_LT] = ACTIONS(1), + [anon_sym_GT] = ACTIONS(1), + [anon_sym_LT_EQ] = ACTIONS(1), + [anon_sym_GT_EQ] = ACTIONS(1), + [anon_sym_LT_GT] = ACTIONS(1), + [anon_sym_BANG_EQ] = ACTIONS(1), + [anon_sym_PIPE_PIPE] = ACTIONS(1), + [sym_cast] = ACTIONS(1), + [aux_sym_and_token1] = ACTIONS(1), + [aux_sym_true_token1] = ACTIONS(1), + [aux_sym_false_token1] = ACTIONS(1), + [sym_number] = ACTIONS(1), }, [1] = { - [sym_source_file] = STATE(45), - [sym__statement] = STATE(4), - [sym_create_function_statement] = STATE(59), - [aux_sym_source_file_repeat1] = STATE(4), - [ts_builtin_sym_end] = ACTIONS(3), - [aux_sym_create_function_statement_token1] = ACTIONS(5), + [sym_source_file] = STATE(1144), + [sym__statement] = STATE(1139), + [sym_insert_statement] = STATE(1139), + [sym_create_table_statement] = STATE(1139), + [sym_create_schema_statement] = STATE(1139), + [sym_create_index_statement] = STATE(1139), + [sym_delete_statement] = STATE(1139), + [sym_alter_table_statement] = STATE(1139), + [sym_grant_statement] = STATE(1139), + [sym_psql_statement] = STATE(441), + [sym_create_sequence_statement] = STATE(1139), + [sym_create_trigger_statement] = STATE(1139), + [sym_do_block] = STATE(1139), + [sym_select_statement] = STATE(1139), + [sym_with_query] = STATE(706), + [sym_create_function_statement] = STATE(1139), + [aux_sym_source_file_repeat1] = STATE(128), + [ts_builtin_sym_end] = ACTIONS(5), + [aux_sym_insert_statement_token1] = ACTIONS(7), + [aux_sym_insert_conflict_token3] = ACTIONS(9), + [aux_sym_create_table_statement_token1] = ACTIONS(11), + [aux_sym_delete_statement_token1] = ACTIONS(13), + [aux_sym_alter_table_statement_token1] = ACTIONS(15), + [aux_sym_grant_statement_token1] = ACTIONS(17), + [anon_sym_BSLASH] = ACTIONS(19), + [aux_sym_sequence_start_token2] = ACTIONS(21), + [aux_sym_select_statement_token1] = ACTIONS(23), + [sym_comment] = ACTIONS(3), }, }; static const uint16_t ts_small_parse_table[] = { - [0] = 3, - ACTIONS(7), 1, + [0] = 6, + ACTIONS(3), 1, + sym_comment, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(27), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(25), 40, anon_sym_SEMI, - STATE(60), 1, - sym_function_volatility, - ACTIONS(9), 3, - aux_sym_function_volatility_token1, - aux_sym_function_volatility_token2, - aux_sym_function_volatility_token3, - [12] = 3, - ACTIONS(11), 1, - anon_sym_SEMI, - STATE(58), 1, - sym_function_volatility, - ACTIONS(9), 3, - aux_sym_function_volatility_token1, - aux_sym_function_volatility_token2, - aux_sym_function_volatility_token3, - [24] = 4, - ACTIONS(5), 1, - aux_sym_create_function_statement_token1, - ACTIONS(13), 1, - ts_builtin_sym_end, - STATE(59), 1, - sym_create_function_statement, - STATE(7), 2, - sym__statement, - aux_sym_source_file_repeat1, - [38] = 3, - ACTIONS(15), 1, - anon_sym_SEMI, - STATE(57), 1, - sym_function_volatility, - ACTIONS(9), 3, - aux_sym_function_volatility_token1, - aux_sym_function_volatility_token2, - aux_sym_function_volatility_token3, - [50] = 3, - ACTIONS(17), 1, - anon_sym_SEMI, - STATE(52), 1, - sym_function_volatility, - ACTIONS(9), 3, - aux_sym_function_volatility_token1, - aux_sym_function_volatility_token2, - aux_sym_function_volatility_token3, - [62] = 4, - ACTIONS(19), 1, - ts_builtin_sym_end, - ACTIONS(21), 1, - aux_sym_create_function_statement_token1, - STATE(59), 1, - sym_create_function_statement, - STATE(7), 2, - sym__statement, - aux_sym_source_file_repeat1, - [76] = 2, - ACTIONS(26), 1, - anon_sym_LBRACK, - ACTIONS(24), 2, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, anon_sym_COMMA, anon_sym_RPAREN, - [84] = 3, - ACTIONS(28), 1, - aux_sym_create_function_statement_token2, - ACTIONS(30), 1, - anon_sym_OR, - STATE(37), 1, - sym_or_replace, - [94] = 1, - ACTIONS(32), 3, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_LBRACK, - [100] = 3, - ACTIONS(34), 1, - anon_sym_DOLLAR, - STATE(29), 1, - sym_dollar_quote, - STATE(53), 1, - sym_block, - [110] = 3, - ACTIONS(36), 1, - anon_sym_COMMA, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [62] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, ACTIONS(39), 1, - anon_sym_RPAREN, - STATE(12), 1, - aux_sym_function_parameters_repeat1, - [120] = 3, - ACTIONS(34), 1, - anon_sym_DOLLAR, - STATE(29), 1, - sym_dollar_quote, - STATE(44), 1, - sym_block, - [130] = 3, + anon_sym_DASH, ACTIONS(41), 1, - anon_sym_COMMA, - ACTIONS(43), 1, - anon_sym_RPAREN, - STATE(12), 1, - aux_sym_function_parameters_repeat1, - [140] = 3, + anon_sym_PLUS, ACTIONS(45), 1, - anon_sym_RPAREN, + anon_sym_PIPE_PIPE, ACTIONS(47), 1, - sym_identifier, - STATE(17), 1, - sym_function_parameter, - [150] = 3, - ACTIONS(34), 1, - anon_sym_DOLLAR, - STATE(29), 1, - sym_dollar_quote, - STATE(39), 1, - sym_block, - [160] = 3, - ACTIONS(41), 1, - anon_sym_COMMA, + sym_cast, ACTIONS(49), 1, - anon_sym_RPAREN, - STATE(14), 1, - aux_sym_function_parameters_repeat1, - [170] = 3, - ACTIONS(34), 1, - anon_sym_DOLLAR, - STATE(29), 1, - sym_dollar_quote, - STATE(47), 1, - sym_block, - [180] = 2, - ACTIONS(47), 1, - sym_identifier, - STATE(35), 1, - sym_function_parameter, - [187] = 2, - ACTIONS(51), 1, - sym_identifier, - STATE(23), 1, - sym_function_signature, - [194] = 1, - ACTIONS(53), 2, - aux_sym_create_function_statement_token3, - aux_sym_create_function_statement_token4, - [199] = 2, - ACTIONS(51), 1, - sym_identifier, - STATE(32), 1, - sym_function_signature, - [206] = 2, - ACTIONS(55), 1, - aux_sym_create_function_statement_token3, - ACTIONS(57), 1, - aux_sym_create_function_statement_token4, - [213] = 1, - ACTIONS(59), 2, - aux_sym_create_function_statement_token3, - aux_sym_create_function_statement_token4, - [218] = 2, - ACTIONS(61), 1, - sym_identifier, - STATE(8), 1, - sym__type, - [225] = 1, - ACTIONS(63), 2, - ts_builtin_sym_end, - aux_sym_create_function_statement_token1, - [230] = 2, - ACTIONS(65), 1, - anon_sym_DOLLAR, - ACTIONS(67), 1, - sym_identifier, - [237] = 2, - ACTIONS(69), 1, - anon_sym_LPAREN, - STATE(21), 1, - sym_function_parameters, - [244] = 2, - ACTIONS(34), 1, - anon_sym_DOLLAR, - STATE(49), 1, - sym_dollar_quote, - [251] = 1, - ACTIONS(71), 2, - aux_sym_create_function_statement_token5, - anon_sym_DOLLAR, - [256] = 1, - ACTIONS(73), 2, - aux_sym_create_function_statement_token3, - aux_sym_create_function_statement_token4, - [261] = 2, - ACTIONS(75), 1, - aux_sym_create_function_statement_token3, - ACTIONS(77), 1, - aux_sym_create_function_statement_token4, - [268] = 1, - ACTIONS(79), 2, - aux_sym_create_function_statement_token3, - aux_sym_create_function_statement_token4, - [273] = 1, - ACTIONS(81), 2, - aux_sym_create_function_statement_token5, - anon_sym_DOLLAR, - [278] = 1, - ACTIONS(39), 2, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(29), 28, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, anon_sym_COMMA, anon_sym_RPAREN, - [283] = 1, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [142] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(27), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(25), 35, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + aux_sym_and_token1, + [216] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(53), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(51), 44, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_create_function_statement_token1, + aux_sym_function_volatility_token1, + aux_sym_function_volatility_token2, + aux_sym_function_volatility_token3, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [272] = 13, + ACTIONS(3), 1, + sym_comment, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(55), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + aux_sym_and_token1, + [348] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(47), 1, + sym_cast, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(57), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(55), 39, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + aux_sym_and_token1, + [412] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(61), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(59), 44, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_create_function_statement_token1, + aux_sym_function_volatility_token1, + aux_sym_function_volatility_token2, + aux_sym_function_volatility_token3, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [468] = 13, + ACTIONS(3), 1, + sym_comment, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(25), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + aux_sym_and_token1, + [544] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(47), 1, + sym_cast, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(27), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(25), 39, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + aux_sym_and_token1, + [608] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(47), 1, + sym_cast, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(27), 3, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(25), 37, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + aux_sym_and_token1, + [676] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(47), 1, + sym_cast, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(27), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(25), 36, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + aux_sym_and_token1, + [748] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(65), 1, + anon_sym_LPAREN, + ACTIONS(67), 1, + aux_sym_time_expression_token1, + ACTIONS(69), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(63), 40, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [806] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(77), 1, + aux_sym_delete_statement_token2, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, ACTIONS(83), 1, - anon_sym_RBRACK, - [287] = 1, + aux_sym_grant_roles_token2, ACTIONS(85), 1, - aux_sym_create_function_statement_token2, - [291] = 1, + aux_sym_select_having_token1, ACTIONS(87), 1, - aux_sym_create_function_statement_token4, - [295] = 1, + aux_sym_select_limit_token1, ACTIONS(89), 1, - aux_sym_create_function_statement_token5, - [299] = 1, + aux_sym_select_limit_token2, ACTIONS(91), 1, - sym_identifier, - [303] = 1, + aux_sym_select_order_by_token1, ACTIONS(93), 1, - sym_identifier, - [307] = 1, + aux_sym_where_filter_token1, ACTIONS(95), 1, - anon_sym_DOLLAR, - [311] = 1, + anon_sym_SQUOTE, ACTIONS(97), 1, - aux_sym_create_function_statement_token2, - [315] = 1, + anon_sym_STAR, ACTIONS(99), 1, - aux_sym_create_function_statement_token5, - [319] = 1, + anon_sym_DASH, ACTIONS(101), 1, - ts_builtin_sym_end, - [323] = 1, + anon_sym_PLUS, ACTIONS(103), 1, - sym_identifier, - [327] = 1, + aux_sym_true_token1, ACTIONS(105), 1, - aux_sym_create_function_statement_token5, - [331] = 1, + aux_sym_false_token1, ACTIONS(107), 1, - sym_identifier, - [335] = 1, + sym_number, ACTIONS(109), 1, - aux_sym_create_function_statement_token5, - [339] = 1, - ACTIONS(111), 1, sym_identifier, - [343] = 1, - ACTIONS(113), 1, + STATE(192), 1, + sym_not, + STATE(273), 1, + sym_select_item, + STATE(333), 1, + sym_into, + STATE(350), 1, + sym_select_from, + STATE(395), 1, + sym_select_where, + STATE(420), 1, + sym_select_group_by, + STATE(463), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(506), 1, + sym_select_order_by, + STATE(578), 1, + sym_select_limit, + ACTIONS(71), 2, anon_sym_SEMI, - [347] = 1, - ACTIONS(15), 1, + anon_sym_RPAREN, + STATE(193), 2, + sym_minus, + sym_plus, + ACTIONS(73), 3, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + STATE(38), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [918] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(113), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(111), 40, anon_sym_SEMI, - [351] = 1, - ACTIONS(115), 1, - aux_sym_create_function_statement_token5, - [355] = 1, - ACTIONS(117), 1, - anon_sym_REPLACE, - [359] = 1, - ACTIONS(119), 1, - aux_sym_create_function_statement_token4, - [363] = 1, - ACTIONS(121), 1, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [970] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(117), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(115), 40, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [1022] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(121), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(119), 40, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [1074] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(125), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 40, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [1126] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(77), 1, + aux_sym_delete_statement_token2, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(83), 1, + aux_sym_grant_roles_token2, + ACTIONS(85), 1, + aux_sym_select_having_token1, + ACTIONS(87), 1, + aux_sym_select_limit_token1, + ACTIONS(89), 1, + aux_sym_select_limit_token2, + ACTIONS(91), 1, + aux_sym_select_order_by_token1, + ACTIONS(93), 1, + aux_sym_where_filter_token1, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(107), 1, + sym_number, + ACTIONS(109), 1, sym_identifier, - [367] = 1, - ACTIONS(11), 1, + STATE(192), 1, + sym_not, + STATE(264), 1, + sym_select_item, + STATE(331), 1, + sym_into, + STATE(356), 1, + sym_select_from, + STATE(397), 1, + sym_select_where, + STATE(423), 1, + sym_select_group_by, + STATE(458), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(494), 1, + sym_select_order_by, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 2, anon_sym_SEMI, - [371] = 1, + anon_sym_RPAREN, + STATE(193), 2, + sym_minus, + sym_plus, + ACTIONS(129), 3, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + STATE(38), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [1238] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(133), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(131), 40, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [1290] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(137), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(135), 40, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [1342] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(141), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(139), 40, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [1394] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(145), 4, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(143), 40, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_trigger_event_token2, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [1446] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(83), 1, + aux_sym_grant_roles_token2, + ACTIONS(85), 1, + aux_sym_select_having_token1, + ACTIONS(87), 1, + aux_sym_select_limit_token1, + ACTIONS(89), 1, + aux_sym_select_limit_token2, + ACTIONS(91), 1, + aux_sym_select_order_by_token1, + ACTIONS(93), 1, + aux_sym_where_filter_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(147), 1, + aux_sym_insert_statement_token2, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(151), 1, + aux_sym_delete_statement_token2, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(163), 1, + sym_number, + ACTIONS(165), 1, + sym_identifier, + STATE(205), 1, + sym_not, + STATE(308), 1, + sym_select_item, + STATE(350), 1, + sym_select_from, + STATE(367), 1, + sym_into, + STATE(395), 1, + sym_select_where, + STATE(420), 1, + sym_select_group_by, + STATE(463), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(506), 1, + sym_select_order_by, + STATE(578), 1, + sym_select_limit, + ACTIONS(71), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(66), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [1556] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(83), 1, + aux_sym_grant_roles_token2, + ACTIONS(85), 1, + aux_sym_select_having_token1, + ACTIONS(87), 1, + aux_sym_select_limit_token1, + ACTIONS(89), 1, + aux_sym_select_limit_token2, + ACTIONS(91), 1, + aux_sym_select_order_by_token1, + ACTIONS(93), 1, + aux_sym_where_filter_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(147), 1, + aux_sym_insert_statement_token2, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(151), 1, + aux_sym_delete_statement_token2, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(163), 1, + sym_number, + ACTIONS(165), 1, + sym_identifier, + STATE(205), 1, + sym_not, + STATE(318), 1, + sym_select_item, + STATE(356), 1, + sym_select_from, + STATE(362), 1, + sym_into, + STATE(397), 1, + sym_select_where, + STATE(423), 1, + sym_select_group_by, + STATE(458), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(494), 1, + sym_select_order_by, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(66), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [1666] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(27), 1, + aux_sym_trigger_event_token2, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(171), 1, + anon_sym_DASH, + ACTIONS(173), 1, + anon_sym_PLUS, + ACTIONS(175), 1, + sym_cast, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(25), 20, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + aux_sym_and_token1, + [1735] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(175), 1, + sym_cast, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(57), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(55), 29, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + aux_sym_and_token1, + [1790] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(171), 1, + anon_sym_DASH, + ACTIONS(173), 1, + anon_sym_PLUS, + ACTIONS(175), 1, + sym_cast, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(29), 19, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [1861] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(171), 1, + anon_sym_DASH, + ACTIONS(173), 1, + anon_sym_PLUS, + ACTIONS(175), 1, + sym_cast, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(27), 3, + aux_sym_trigger_event_token2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(25), 26, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + aux_sym_and_token1, + [1924] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(171), 1, + anon_sym_DASH, + ACTIONS(173), 1, + anon_sym_PLUS, + ACTIONS(175), 1, + sym_cast, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(179), 19, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [1995] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(171), 1, + anon_sym_DASH, + ACTIONS(173), 1, + anon_sym_PLUS, + ACTIONS(175), 1, + sym_cast, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(27), 3, + aux_sym_trigger_event_token2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(25), 25, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + aux_sym_and_token1, + [2060] = 6, + ACTIONS(3), 1, + sym_comment, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(27), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(25), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [2113] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(175), 1, + sym_cast, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(27), 4, + aux_sym_trigger_event_token2, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(25), 27, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + aux_sym_and_token1, + [2172] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(175), 1, + sym_cast, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(27), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(25), 29, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + aux_sym_and_token1, + [2227] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(57), 1, + aux_sym_trigger_event_token2, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(171), 1, + anon_sym_DASH, + ACTIONS(173), 1, + anon_sym_PLUS, + ACTIONS(175), 1, + sym_cast, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(55), 20, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + aux_sym_and_token1, + [2296] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(181), 1, + anon_sym_LPAREN, + ACTIONS(183), 1, + aux_sym_time_expression_token1, + ACTIONS(69), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(63), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [2345] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(187), 1, + anon_sym_SLASH, + ACTIONS(189), 1, + sym_cast, + STATE(186), 1, + sym_other_op, + STATE(187), 1, + sym_comparison_op, + ACTIONS(185), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(185), 2, + sym_and, + sym_or, + ACTIONS(25), 10, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + ACTIONS(27), 17, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [2400] = 18, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + ACTIONS(187), 1, + anon_sym_SLASH, + ACTIONS(189), 1, + sym_cast, + ACTIONS(195), 1, + aux_sym_delete_statement_token3, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_PLUS, + ACTIONS(201), 1, + aux_sym_and_token1, + ACTIONS(203), 1, + sym_identifier, + STATE(186), 1, + sym_other_op, + STATE(187), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(185), 2, + sym_and, + sym_or, + ACTIONS(191), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(193), 10, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [2473] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(189), 1, + sym_cast, + STATE(186), 1, + sym_other_op, + STATE(187), 1, + sym_comparison_op, + STATE(185), 2, + sym_and, + sym_or, + ACTIONS(55), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + ACTIONS(57), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [2524] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(133), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(131), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [2567] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(187), 1, + anon_sym_SLASH, + ACTIONS(189), 1, + sym_cast, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_PLUS, + STATE(186), 1, + sym_other_op, + STATE(187), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(185), 2, + sym_and, + sym_or, + ACTIONS(25), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(27), 14, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + aux_sym_and_token1, + sym_identifier, + [2632] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(137), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(135), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [2675] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(187), 1, + anon_sym_SLASH, + ACTIONS(189), 1, + sym_cast, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_PLUS, + STATE(186), 1, + sym_other_op, + STATE(187), 1, + sym_comparison_op, + ACTIONS(185), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(185), 2, + sym_and, + sym_or, + ACTIONS(25), 9, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + ACTIONS(27), 16, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [2734] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(187), 1, + anon_sym_SLASH, + ACTIONS(189), 1, + sym_cast, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_PLUS, + STATE(186), 1, + sym_other_op, + STATE(187), 1, + sym_comparison_op, + ACTIONS(185), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(185), 2, + sym_and, + sym_or, + ACTIONS(25), 8, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(27), 16, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [2795] = 6, + ACTIONS(3), 1, + sym_comment, + STATE(186), 1, + sym_other_op, + STATE(187), 1, + sym_comparison_op, + STATE(185), 2, + sym_and, + sym_or, + ACTIONS(25), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(27), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [2844] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(121), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(119), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [2887] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(187), 1, + anon_sym_SLASH, + ACTIONS(189), 1, + sym_cast, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_PLUS, + STATE(186), 1, + sym_other_op, + STATE(187), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(185), 2, + sym_and, + sym_or, + ACTIONS(55), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(57), 14, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + aux_sym_and_token1, + sym_identifier, + [2952] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(145), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(143), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [2995] = 18, + ACTIONS(3), 1, + sym_comment, + ACTIONS(19), 1, + anon_sym_BSLASH, + ACTIONS(205), 1, + aux_sym_insert_statement_token1, + ACTIONS(207), 1, + aux_sym_insert_conflict_token3, + ACTIONS(209), 1, + aux_sym_create_table_statement_token1, + ACTIONS(211), 1, + aux_sym_delete_statement_token1, + ACTIONS(213), 1, + aux_sym_alter_table_statement_token1, + ACTIONS(215), 1, + aux_sym_grant_statement_token1, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(219), 1, + aux_sym_trigger_exec_token1, + ACTIONS(221), 1, + aux_sym_return_statement_token1, + ACTIONS(223), 1, + aux_sym_perform_statement_token1, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(227), 1, + aux_sym_body_token2, + ACTIONS(229), 1, + sym_identifier, + STATE(706), 1, + sym_with_query, + STATE(58), 2, + sym__plpgsql_statement, + aux_sym_body_repeat1, + STATE(975), 18, + sym__statement, + sym_insert_statement, + sym_create_table_statement, + sym_create_schema_statement, + sym_create_index_statement, + sym_delete_statement, + sym_alter_table_statement, + sym_grant_statement, + sym_psql_statement, + sym_create_sequence_statement, + sym_create_trigger_statement, + sym_execute_statement, + sym_assign_statement, + sym_return_statement, + sym_perform_statement, + sym_do_block, + sym_select_statement, + sym_create_function_statement, + [3068] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(113), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(111), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [3111] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + ACTIONS(187), 1, + anon_sym_SLASH, + ACTIONS(189), 1, + sym_cast, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_PLUS, + ACTIONS(201), 1, + aux_sym_and_token1, + STATE(186), 1, + sym_other_op, + STATE(187), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(185), 2, + sym_and, + sym_or, + ACTIONS(29), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(231), 12, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + sym_identifier, + [3180] = 18, + ACTIONS(3), 1, + sym_comment, + ACTIONS(233), 1, + aux_sym_insert_statement_token1, + ACTIONS(236), 1, + aux_sym_insert_conflict_token3, + ACTIONS(239), 1, + aux_sym_create_table_statement_token1, + ACTIONS(242), 1, + aux_sym_delete_statement_token1, + ACTIONS(245), 1, + aux_sym_alter_table_statement_token1, + ACTIONS(248), 1, + aux_sym_grant_statement_token1, + ACTIONS(251), 1, + anon_sym_BSLASH, + ACTIONS(254), 1, + aux_sym_sequence_start_token2, + ACTIONS(257), 1, + aux_sym_trigger_exec_token1, + ACTIONS(260), 1, + aux_sym_return_statement_token1, + ACTIONS(263), 1, + aux_sym_perform_statement_token1, + ACTIONS(266), 1, + aux_sym_select_statement_token1, + ACTIONS(269), 1, + aux_sym_body_token2, + ACTIONS(271), 1, + sym_identifier, + STATE(706), 1, + sym_with_query, + STATE(52), 2, + sym__plpgsql_statement, + aux_sym_body_repeat1, + STATE(975), 18, + sym__statement, + sym_insert_statement, + sym_create_table_statement, + sym_create_schema_statement, + sym_create_index_statement, + sym_delete_statement, + sym_alter_table_statement, + sym_grant_statement, + sym_psql_statement, + sym_create_sequence_statement, + sym_create_trigger_statement, + sym_execute_statement, + sym_assign_statement, + sym_return_statement, + sym_perform_statement, + sym_do_block, + sym_select_statement, + sym_create_function_statement, + [3253] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(53), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(51), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [3296] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(189), 1, + sym_cast, + STATE(186), 1, + sym_other_op, + STATE(187), 1, + sym_comparison_op, + STATE(185), 2, + sym_and, + sym_or, + ACTIONS(25), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + ACTIONS(27), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [3347] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(117), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(115), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [3390] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(125), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [3433] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(141), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(139), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [3476] = 18, + ACTIONS(3), 1, + sym_comment, + ACTIONS(19), 1, + anon_sym_BSLASH, + ACTIONS(205), 1, + aux_sym_insert_statement_token1, + ACTIONS(207), 1, + aux_sym_insert_conflict_token3, + ACTIONS(209), 1, + aux_sym_create_table_statement_token1, + ACTIONS(211), 1, + aux_sym_delete_statement_token1, + ACTIONS(213), 1, + aux_sym_alter_table_statement_token1, + ACTIONS(215), 1, + aux_sym_grant_statement_token1, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(219), 1, + aux_sym_trigger_exec_token1, + ACTIONS(221), 1, + aux_sym_return_statement_token1, + ACTIONS(223), 1, + aux_sym_perform_statement_token1, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(229), 1, + sym_identifier, + ACTIONS(274), 1, + aux_sym_body_token2, + STATE(706), 1, + sym_with_query, + STATE(52), 2, + sym__plpgsql_statement, + aux_sym_body_repeat1, + STATE(975), 18, + sym__statement, + sym_insert_statement, + sym_create_table_statement, + sym_create_schema_statement, + sym_create_index_statement, + sym_delete_statement, + sym_alter_table_statement, + sym_grant_statement, + sym_psql_statement, + sym_create_sequence_statement, + sym_create_trigger_statement, + sym_execute_statement, + sym_assign_statement, + sym_return_statement, + sym_perform_statement, + sym_do_block, + sym_select_statement, + sym_create_function_statement, + [3549] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(61), 5, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(59), 30, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + aux_sym_and_token1, + [3592] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + ACTIONS(201), 1, + aux_sym_and_token1, + ACTIONS(278), 1, + anon_sym_SLASH, + ACTIONS(280), 1, + anon_sym_DASH, + ACTIONS(282), 1, + anon_sym_PLUS, + ACTIONS(284), 1, + sym_cast, + STATE(171), 1, + sym_comparison_op, + STATE(172), 1, + sym_other_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(276), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(173), 2, + sym_and, + sym_or, + ACTIONS(29), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(231), 10, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + sym_identifier, + [3659] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(278), 1, + anon_sym_SLASH, + ACTIONS(280), 1, + anon_sym_DASH, + ACTIONS(282), 1, + anon_sym_PLUS, + ACTIONS(284), 1, + sym_cast, + STATE(171), 1, + sym_comparison_op, + STATE(172), 1, + sym_other_op, + ACTIONS(276), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(173), 2, + sym_and, + sym_or, + ACTIONS(25), 8, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(27), 14, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [3718] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(278), 1, + anon_sym_SLASH, + ACTIONS(280), 1, + anon_sym_DASH, + ACTIONS(282), 1, + anon_sym_PLUS, + ACTIONS(284), 1, + sym_cast, + STATE(171), 1, + sym_comparison_op, + STATE(172), 1, + sym_other_op, + ACTIONS(276), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(173), 2, + sym_and, + sym_or, + ACTIONS(25), 9, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + ACTIONS(27), 14, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [3775] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(278), 1, + anon_sym_SLASH, + ACTIONS(280), 1, + anon_sym_DASH, + ACTIONS(282), 1, + anon_sym_PLUS, + ACTIONS(284), 1, + sym_cast, + STATE(171), 1, + sym_comparison_op, + STATE(172), 1, + sym_other_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(276), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(173), 2, + sym_and, + sym_or, + ACTIONS(55), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(57), 12, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + aux_sym_and_token1, + sym_identifier, + [3838] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(284), 1, + sym_cast, + STATE(171), 1, + sym_comparison_op, + STATE(172), 1, + sym_other_op, + STATE(173), 2, + sym_and, + sym_or, + ACTIONS(55), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + ACTIONS(57), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [3887] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(278), 1, + anon_sym_SLASH, + ACTIONS(280), 1, + anon_sym_DASH, + ACTIONS(282), 1, + anon_sym_PLUS, + ACTIONS(284), 1, + sym_cast, + STATE(171), 1, + sym_comparison_op, + STATE(172), 1, + sym_other_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(276), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(173), 2, + sym_and, + sym_or, + ACTIONS(25), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(27), 12, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + aux_sym_and_token1, + sym_identifier, + [3950] = 18, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + ACTIONS(201), 1, + aux_sym_and_token1, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(278), 1, + anon_sym_SLASH, + ACTIONS(280), 1, + anon_sym_DASH, + ACTIONS(282), 1, + anon_sym_PLUS, + ACTIONS(284), 1, + sym_cast, + ACTIONS(286), 1, + aux_sym_delete_statement_token3, + STATE(171), 1, + sym_comparison_op, + STATE(172), 1, + sym_other_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(276), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(173), 2, + sym_and, + sym_or, + ACTIONS(191), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(193), 8, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [4021] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(284), 1, + sym_cast, + STATE(171), 1, + sym_comparison_op, + STATE(172), 1, + sym_other_op, + STATE(173), 2, + sym_and, + sym_or, + ACTIONS(25), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + ACTIONS(27), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4070] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(278), 1, + anon_sym_SLASH, + ACTIONS(284), 1, + sym_cast, + STATE(171), 1, + sym_comparison_op, + STATE(172), 1, + sym_other_op, + ACTIONS(276), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(173), 2, + sym_and, + sym_or, + ACTIONS(25), 10, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + ACTIONS(27), 15, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4123] = 6, + ACTIONS(3), 1, + sym_comment, + STATE(171), 1, + sym_comparison_op, + STATE(172), 1, + sym_other_op, + STATE(173), 2, + sym_and, + sym_or, + ACTIONS(25), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(27), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4170] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(288), 1, + anon_sym_LPAREN, + ACTIONS(290), 1, + aux_sym_time_expression_token1, + ACTIONS(63), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(69), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4215] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(179), 13, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [4280] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(292), 32, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + aux_sym_insert_items_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_grant_roles_token2, + aux_sym_sequence_start_token2, + aux_sym_select_statement_token1, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [4318] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(294), 32, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + aux_sym_insert_items_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_grant_roles_token2, + aux_sym_sequence_start_token2, + aux_sym_select_statement_token1, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [4356] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(296), 12, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [4420] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(298), 32, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + aux_sym_insert_items_token1, + aux_sym_insert_items_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + anon_sym_EQ, + aux_sym_insert_returning_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + aux_sym_grant_roles_token2, + aux_sym_sequence_start_token2, + aux_sym_select_statement_token1, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [4458] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(123), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(125), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4497] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(115), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(117), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4536] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(59), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(61), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4575] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(131), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(133), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4614] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(139), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(141), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4653] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(300), 1, + anon_sym_LPAREN, + ACTIONS(302), 1, + aux_sym_time_expression_token1, + ACTIONS(63), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(69), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4696] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(171), 1, + anon_sym_DASH, + ACTIONS(173), 1, + anon_sym_PLUS, + ACTIONS(175), 1, + sym_cast, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + ACTIONS(306), 1, + anon_sym_COMMA, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + STATE(437), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(304), 9, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + [4763] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(496), 1, + sym_order_by_direction, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(310), 2, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(308), 8, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + [4830] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(119), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(121), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4869] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(51), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(53), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4908] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(135), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(137), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4947] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(143), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(145), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [4986] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(111), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(113), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5025] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(171), 1, + anon_sym_DASH, + ACTIONS(173), 1, + anon_sym_PLUS, + ACTIONS(175), 1, + sym_cast, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(312), 10, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + [5087] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(171), 1, + anon_sym_DASH, + ACTIONS(173), 1, + anon_sym_PLUS, + ACTIONS(175), 1, + sym_cast, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(314), 10, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + [5149] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(143), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(145), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5186] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(123), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(125), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5223] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(131), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(133), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5260] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(115), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(117), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5297] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(59), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(61), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5334] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(119), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(121), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5371] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(139), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(141), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5408] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(135), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(137), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5445] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(111), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(113), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5482] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(51), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + ACTIONS(53), 16, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_trigger_event_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + [5519] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(318), 1, + anon_sym_RPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(330), 1, + sym_number, + ACTIONS(332), 1, + sym_identifier, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1128), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(256), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [5589] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_RPAREN, + ACTIONS(336), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1085), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(244), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [5659] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(338), 1, + anon_sym_RPAREN, + ACTIONS(340), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1124), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(255), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [5729] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(342), 1, + anon_sym_RPAREN, + ACTIONS(344), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(955), 1, + sym_select_statement, + STATE(1003), 1, + sym_with_query, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(227), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [5799] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(169), 1, + anon_sym_SLASH, + ACTIONS(171), 1, + anon_sym_DASH, + ACTIONS(173), 1, + anon_sym_PLUS, + ACTIONS(175), 1, + sym_cast, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + STATE(219), 1, + sym_other_op, + STATE(221), 1, + sym_comparison_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(167), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(218), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(346), 8, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + [5859] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(348), 1, + anon_sym_RPAREN, + ACTIONS(350), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1120), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(252), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [5929] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(352), 1, + anon_sym_RPAREN, + ACTIONS(354), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1115), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(251), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [5999] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(356), 1, + anon_sym_RPAREN, + ACTIONS(358), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1106), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(249), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [6069] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(360), 1, + anon_sym_RPAREN, + ACTIONS(362), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1067), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(235), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [6139] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(364), 1, + anon_sym_RPAREN, + ACTIONS(366), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1097), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(247), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [6209] = 19, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(368), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1111), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(303), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [6276] = 19, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(370), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1102), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(301), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [6343] = 19, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(372), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1093), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(300), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [6410] = 19, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(374), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1004), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(306), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [6477] = 19, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(376), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1060), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(283), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [6544] = 19, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(217), 1, + aux_sym_sequence_start_token2, + ACTIONS(225), 1, + aux_sym_select_statement_token1, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(378), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(1003), 1, + sym_with_query, + STATE(1080), 1, + sym_select_statement, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(296), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [6611] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + ACTIONS(201), 1, + aux_sym_and_token1, + ACTIONS(382), 1, + anon_sym_SLASH, + ACTIONS(384), 1, + anon_sym_DASH, + ACTIONS(386), 1, + anon_sym_PLUS, + ACTIONS(388), 1, + sym_cast, + STATE(194), 1, + sym_comparison_op, + STATE(195), 1, + sym_other_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(380), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(196), 2, + sym_and, + sym_or, + ACTIONS(29), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(231), 3, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + sym_identifier, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [6671] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(382), 1, + anon_sym_SLASH, + ACTIONS(384), 1, + anon_sym_DASH, + ACTIONS(386), 1, + anon_sym_PLUS, + ACTIONS(388), 1, + sym_cast, + STATE(194), 1, + sym_comparison_op, + STATE(195), 1, + sym_other_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(380), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(196), 2, + sym_and, + sym_or, + ACTIONS(55), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(57), 5, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + aux_sym_and_token1, + sym_identifier, + [6727] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(390), 6, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [6785] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(388), 1, + sym_cast, + STATE(194), 1, + sym_comparison_op, + STATE(195), 1, + sym_other_op, + STATE(196), 2, + sym_and, + sym_or, + ACTIONS(27), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(25), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + [6827] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(388), 1, + sym_cast, + STATE(194), 1, + sym_comparison_op, + STATE(195), 1, + sym_other_op, + STATE(196), 2, + sym_and, + sym_or, + ACTIONS(57), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(55), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + [6869] = 18, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + ACTIONS(193), 1, + aux_sym_insert_statement_token2, + ACTIONS(201), 1, + aux_sym_and_token1, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(382), 1, + anon_sym_SLASH, + ACTIONS(384), 1, + anon_sym_DASH, + ACTIONS(386), 1, + anon_sym_PLUS, + ACTIONS(388), 1, + sym_cast, + ACTIONS(392), 1, + aux_sym_delete_statement_token3, + STATE(194), 1, + sym_comparison_op, + STATE(195), 1, + sym_other_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(380), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(196), 2, + sym_and, + sym_or, + ACTIONS(191), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [6933] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(382), 1, + anon_sym_SLASH, + ACTIONS(388), 1, + sym_cast, + STATE(194), 1, + sym_comparison_op, + STATE(195), 1, + sym_other_op, + ACTIONS(380), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(196), 2, + sym_and, + sym_or, + ACTIONS(27), 8, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(25), 10, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + [6979] = 6, + ACTIONS(3), 1, + sym_comment, + STATE(194), 1, + sym_comparison_op, + STATE(195), 1, + sym_other_op, + STATE(196), 2, + sym_and, + sym_or, + ACTIONS(27), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(25), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [7019] = 18, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(394), 1, + aux_sym_insert_items_token1, + ACTIONS(396), 1, + anon_sym_RPAREN, + ACTIONS(398), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(742), 1, + sym_insert_item, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(262), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [7083] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(400), 1, + ts_builtin_sym_end, + ACTIONS(402), 1, + aux_sym_insert_statement_token1, + ACTIONS(405), 1, + aux_sym_insert_conflict_token3, + ACTIONS(408), 1, + aux_sym_create_table_statement_token1, + ACTIONS(411), 1, + aux_sym_delete_statement_token1, + ACTIONS(414), 1, + aux_sym_alter_table_statement_token1, + ACTIONS(417), 1, + aux_sym_grant_statement_token1, + ACTIONS(420), 1, + anon_sym_BSLASH, + ACTIONS(423), 1, + aux_sym_sequence_start_token2, + ACTIONS(426), 1, + aux_sym_select_statement_token1, + STATE(126), 1, + aux_sym_source_file_repeat1, + STATE(441), 1, + sym_psql_statement, + STATE(706), 1, + sym_with_query, + STATE(1139), 13, + sym__statement, + sym_insert_statement, + sym_create_table_statement, + sym_create_schema_statement, + sym_create_index_statement, + sym_delete_statement, + sym_alter_table_statement, + sym_grant_statement, + sym_create_sequence_statement, + sym_create_trigger_statement, + sym_do_block, + sym_select_statement, + sym_create_function_statement, + [7141] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(382), 1, + anon_sym_SLASH, + ACTIONS(384), 1, + anon_sym_DASH, + ACTIONS(386), 1, + anon_sym_PLUS, + ACTIONS(388), 1, + sym_cast, + STATE(194), 1, + sym_comparison_op, + STATE(195), 1, + sym_other_op, + ACTIONS(380), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(196), 2, + sym_and, + sym_or, + ACTIONS(27), 7, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(25), 8, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [7193] = 15, + ACTIONS(3), 1, + sym_comment, ACTIONS(7), 1, + aux_sym_insert_statement_token1, + ACTIONS(9), 1, + aux_sym_insert_conflict_token3, + ACTIONS(11), 1, + aux_sym_create_table_statement_token1, + ACTIONS(13), 1, + aux_sym_delete_statement_token1, + ACTIONS(15), 1, + aux_sym_alter_table_statement_token1, + ACTIONS(17), 1, + aux_sym_grant_statement_token1, + ACTIONS(19), 1, + anon_sym_BSLASH, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(23), 1, + aux_sym_select_statement_token1, + ACTIONS(429), 1, + ts_builtin_sym_end, + STATE(126), 1, + aux_sym_source_file_repeat1, + STATE(441), 1, + sym_psql_statement, + STATE(706), 1, + sym_with_query, + STATE(1139), 13, + sym__statement, + sym_insert_statement, + sym_create_table_statement, + sym_create_schema_statement, + sym_create_index_statement, + sym_delete_statement, + sym_alter_table_statement, + sym_grant_statement, + sym_create_sequence_statement, + sym_create_trigger_statement, + sym_do_block, + sym_select_statement, + sym_create_function_statement, + [7251] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(382), 1, + anon_sym_SLASH, + ACTIONS(384), 1, + anon_sym_DASH, + ACTIONS(386), 1, + anon_sym_PLUS, + ACTIONS(388), 1, + sym_cast, + STATE(194), 1, + sym_comparison_op, + STATE(195), 1, + sym_other_op, + ACTIONS(380), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(196), 2, + sym_and, + sym_or, + ACTIONS(27), 7, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(25), 9, anon_sym_SEMI, - [375] = 1, - ACTIONS(123), 1, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + [7301] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(382), 1, + anon_sym_SLASH, + ACTIONS(384), 1, + anon_sym_DASH, + ACTIONS(386), 1, + anon_sym_PLUS, + ACTIONS(388), 1, + sym_cast, + STATE(194), 1, + sym_comparison_op, + STATE(195), 1, + sym_other_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(380), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(196), 2, + sym_and, + sym_or, + ACTIONS(25), 3, anon_sym_SEMI, - [379] = 1, - ACTIONS(125), 1, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(27), 5, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + aux_sym_and_token1, + sym_identifier, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [7357] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + ACTIONS(431), 5, anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [7414] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(433), 1, + anon_sym_SEMI, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(447), 1, + sym_number, + ACTIONS(449), 1, + sym_identifier, + STATE(214), 1, + sym_not, + STATE(740), 1, + sym_select_item, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(151), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [7475] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(394), 1, + aux_sym_insert_items_token1, + ACTIONS(398), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(846), 1, + sym_insert_item, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(262), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [7536] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(451), 1, + aux_sym_insert_items_token1, + ACTIONS(453), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(541), 1, + sym_update_value, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(119), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [7597] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(451), 1, + aux_sym_insert_items_token1, + ACTIONS(453), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(862), 1, + sym_update_value, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(119), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [7658] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(451), 1, + aux_sym_insert_items_token1, + ACTIONS(453), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(685), 1, + sym_update_value, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(119), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [7719] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(451), 1, + aux_sym_insert_items_token1, + ACTIONS(453), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(762), 1, + sym_update_value, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(119), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [7780] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(467), 1, + sym_number, + ACTIONS(469), 1, + sym_identifier, + STATE(182), 1, + sym_not, + STATE(531), 1, + sym_select_item, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(122), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [7838] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(471), 1, + sym_cast, + STATE(174), 1, + sym_comparison_op, + STATE(175), 1, + sym_other_op, + STATE(176), 2, + sym_and, + sym_or, + ACTIONS(27), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(25), 11, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + [7878] = 18, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(473), 1, + anon_sym_SEMI, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(477), 1, + aux_sym_index_using_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(823), 1, + sym_into, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [7940] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(479), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(498), 1, + sym_order_by_item, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(83), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [7998] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(481), 1, + aux_sym_grant_privileges_token1, + ACTIONS(483), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(131), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8056] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(467), 1, + sym_number, + ACTIONS(469), 1, + sym_identifier, + STATE(182), 1, + sym_not, + STATE(409), 1, + sym_select_item, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(122), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8114] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(467), 1, + sym_number, + ACTIONS(469), 1, + sym_identifier, + STATE(182), 1, + sym_not, + STATE(535), 1, + sym_select_item, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(122), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8172] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(447), 1, + sym_number, + ACTIONS(449), 1, + sym_identifier, + STATE(214), 1, + sym_not, + STATE(409), 1, + sym_select_item, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(151), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8230] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(163), 1, + sym_number, + ACTIONS(165), 1, + sym_identifier, + STATE(205), 1, + sym_not, + STATE(409), 1, + sym_select_item, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(66), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8288] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(479), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(483), 1, + sym_order_by_item, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(83), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8346] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(467), 1, + sym_number, + ACTIONS(469), 1, + sym_identifier, + STATE(182), 1, + sym_not, + STATE(576), 1, + sym_select_item, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(122), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8404] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(314), 4, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [8460] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(485), 1, + aux_sym_grant_privileges_token1, + ACTIONS(487), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(287), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8518] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + ACTIONS(201), 1, + aux_sym_and_token1, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(471), 1, + sym_cast, + ACTIONS(489), 1, + aux_sym_delete_statement_token3, + ACTIONS(493), 1, + anon_sym_SLASH, + ACTIONS(495), 1, + anon_sym_DASH, + ACTIONS(497), 1, + anon_sym_PLUS, + STATE(174), 1, + sym_comparison_op, + STATE(175), 1, + sym_other_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(191), 2, + anon_sym_SEMI, + anon_sym_COMMA, + ACTIONS(491), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(176), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [8578] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(467), 1, + sym_number, + ACTIONS(469), 1, + sym_identifier, + STATE(182), 1, + sym_not, + STATE(557), 1, + sym_select_item, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(122), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8636] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(499), 1, + anon_sym_RPAREN, + ACTIONS(501), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(203), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8694] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(467), 1, + sym_number, + ACTIONS(469), 1, + sym_identifier, + STATE(182), 1, + sym_not, + STATE(543), 1, + sym_select_item, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(122), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8752] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(471), 1, + sym_cast, + ACTIONS(493), 1, + anon_sym_SLASH, + STATE(174), 1, + sym_comparison_op, + STATE(175), 1, + sym_other_op, + ACTIONS(491), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(176), 2, + sym_and, + sym_or, + ACTIONS(27), 7, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(25), 9, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + [8796] = 6, + ACTIONS(3), 1, + sym_comment, + STATE(174), 1, + sym_comparison_op, + STATE(175), 1, + sym_other_op, + STATE(176), 2, + sym_and, + sym_or, + ACTIONS(27), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(25), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [8834] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(107), 1, + sym_number, + ACTIONS(109), 1, + sym_identifier, + STATE(192), 1, + sym_not, + STATE(409), 1, + sym_select_item, + STATE(193), 2, + sym_minus, + sym_plus, + STATE(38), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [8892] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(471), 1, + sym_cast, + ACTIONS(493), 1, + anon_sym_SLASH, + ACTIONS(495), 1, + anon_sym_DASH, + ACTIONS(497), 1, + anon_sym_PLUS, + STATE(174), 1, + sym_comparison_op, + STATE(175), 1, + sym_other_op, + ACTIONS(491), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(176), 2, + sym_and, + sym_or, + ACTIONS(27), 6, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(25), 7, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [8942] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(471), 1, + sym_cast, + ACTIONS(493), 1, + anon_sym_SLASH, + ACTIONS(495), 1, + anon_sym_DASH, + ACTIONS(497), 1, + anon_sym_PLUS, + STATE(174), 1, + sym_comparison_op, + STATE(175), 1, + sym_other_op, + ACTIONS(491), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(176), 2, + sym_and, + sym_or, + ACTIONS(27), 6, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(25), 8, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + [8990] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(471), 1, + sym_cast, + ACTIONS(493), 1, + anon_sym_SLASH, + ACTIONS(495), 1, + anon_sym_DASH, + ACTIONS(497), 1, + anon_sym_PLUS, + STATE(174), 1, + sym_comparison_op, + STATE(175), 1, + sym_other_op, + ACTIONS(25), 2, + anon_sym_SEMI, + anon_sym_COMMA, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(491), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(176), 2, + sym_and, + sym_or, + ACTIONS(27), 4, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + aux_sym_and_token1, + sym_identifier, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [9044] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(467), 1, + sym_number, + ACTIONS(469), 1, + sym_identifier, + STATE(182), 1, + sym_not, + STATE(534), 1, + sym_select_item, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(122), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9102] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(467), 1, + sym_number, + ACTIONS(469), 1, + sym_identifier, + STATE(182), 1, + sym_not, + STATE(550), 1, + sym_select_item, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(122), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9160] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(503), 1, + aux_sym_return_statement_token2, + ACTIONS(505), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(297), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9218] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(177), 1, + aux_sym_trigger_event_token2, + ACTIONS(201), 1, + aux_sym_and_token1, + ACTIONS(471), 1, + sym_cast, + ACTIONS(493), 1, + anon_sym_SLASH, + ACTIONS(495), 1, + anon_sym_DASH, + ACTIONS(497), 1, + anon_sym_PLUS, + STATE(174), 1, + sym_comparison_op, + STATE(175), 1, + sym_other_op, + ACTIONS(29), 2, + anon_sym_SEMI, + anon_sym_COMMA, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(231), 2, + aux_sym_delete_statement_token3, + sym_identifier, + ACTIONS(491), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(176), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [9276] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(471), 1, + sym_cast, + STATE(174), 1, + sym_comparison_op, + STATE(175), 1, + sym_other_op, + STATE(176), 2, + sym_and, + sym_or, + ACTIONS(57), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(55), 11, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + [9316] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(471), 1, + sym_cast, + ACTIONS(493), 1, + anon_sym_SLASH, + ACTIONS(495), 1, + anon_sym_DASH, + ACTIONS(497), 1, + anon_sym_PLUS, + STATE(174), 1, + sym_comparison_op, + STATE(175), 1, + sym_other_op, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(55), 2, + anon_sym_SEMI, + anon_sym_COMMA, + ACTIONS(491), 2, + anon_sym_STAR, + anon_sym_PERCENT, + STATE(176), 2, + sym_and, + sym_or, + ACTIONS(57), 4, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + aux_sym_and_token1, + sym_identifier, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [9370] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(507), 1, + anon_sym_LPAREN, + ACTIONS(509), 1, + aux_sym_time_expression_token1, + ACTIONS(69), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(63), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [9406] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(511), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(294), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9461] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(513), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(4), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9516] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(515), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(304), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9571] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(517), 1, + sym_number, + STATE(205), 1, + sym_not, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(61), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9626] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(519), 1, + sym_number, + STATE(205), 1, + sym_not, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(62), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9681] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(521), 1, + sym_number, + STATE(205), 1, + sym_not, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(65), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9736] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(449), 1, + sym_identifier, + ACTIONS(523), 1, + sym_number, + STATE(214), 1, + sym_not, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(158), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9791] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(449), 1, + sym_identifier, + ACTIONS(525), 1, + sym_number, + STATE(214), 1, + sym_not, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(159), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9846] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(449), 1, + sym_identifier, + ACTIONS(527), 1, + sym_number, + STATE(214), 1, + sym_not, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(160), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9901] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(109), 1, + sym_identifier, + ACTIONS(529), 1, + sym_number, + STATE(192), 1, + sym_not, + STATE(193), 2, + sym_minus, + sym_plus, + STATE(51), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [9956] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(531), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(302), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10011] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(449), 1, + sym_identifier, + ACTIONS(533), 1, + sym_number, + STATE(214), 1, + sym_not, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(164), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10066] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(535), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(140), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10121] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(537), 1, + sym_number, + STATE(182), 1, + sym_not, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(121), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10176] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(539), 1, + sym_number, + STATE(182), 1, + sym_not, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(118), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10231] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(541), 1, + sym_number, + STATE(182), 1, + sym_not, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(120), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10286] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(543), 1, + sym_number, + STATE(182), 1, + sym_not, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(123), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10341] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(109), 1, + sym_identifier, + ACTIONS(545), 1, + sym_number, + STATE(192), 1, + sym_not, + STATE(193), 2, + sym_minus, + sym_plus, + STATE(41), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10396] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(109), 1, + sym_identifier, + ACTIONS(547), 1, + sym_number, + STATE(192), 1, + sym_not, + STATE(193), 2, + sym_minus, + sym_plus, + STATE(43), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10451] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(109), 1, + sym_identifier, + ACTIONS(549), 1, + sym_number, + STATE(192), 1, + sym_not, + STATE(193), 2, + sym_minus, + sym_plus, + STATE(44), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10506] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(109), 1, + sym_identifier, + ACTIONS(551), 1, + sym_number, + STATE(192), 1, + sym_not, + STATE(193), 2, + sym_minus, + sym_plus, + STATE(45), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10561] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(109), 1, + sym_identifier, + ACTIONS(553), 1, + sym_number, + STATE(192), 1, + sym_not, + STATE(193), 2, + sym_minus, + sym_plus, + STATE(37), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10616] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(109), 1, + sym_identifier, + ACTIONS(555), 1, + sym_number, + STATE(192), 1, + sym_not, + STATE(193), 2, + sym_minus, + sym_plus, + STATE(54), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10671] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(557), 1, + sym_number, + STATE(182), 1, + sym_not, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(124), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10726] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(109), 1, + sym_identifier, + ACTIONS(559), 1, + sym_number, + STATE(192), 1, + sym_not, + STATE(193), 2, + sym_minus, + sym_plus, + STATE(47), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10781] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_LPAREN, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(81), 1, + aux_sym_alter_column_action_token2, + ACTIONS(95), 1, + anon_sym_SQUOTE, + ACTIONS(97), 1, + anon_sym_STAR, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(103), 1, + aux_sym_true_token1, + ACTIONS(105), 1, + aux_sym_false_token1, + ACTIONS(109), 1, + sym_identifier, + ACTIONS(561), 1, + sym_number, + STATE(192), 1, + sym_not, + STATE(193), 2, + sym_minus, + sym_plus, + STATE(39), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10836] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(563), 1, + sym_number, + STATE(182), 1, + sym_not, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(127), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10891] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(565), 1, + sym_number, + STATE(182), 1, + sym_not, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(129), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [10946] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(567), 1, + sym_number, + STATE(182), 1, + sym_not, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(130), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11001] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(569), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(305), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11056] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(571), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(271), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11111] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(449), 1, + sym_identifier, + ACTIONS(573), 1, + sym_number, + STATE(214), 1, + sym_not, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(139), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11166] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(455), 1, + anon_sym_LPAREN, + ACTIONS(457), 1, + aux_sym_alter_column_action_token2, + ACTIONS(459), 1, + anon_sym_SQUOTE, + ACTIONS(461), 1, + anon_sym_STAR, + ACTIONS(463), 1, + aux_sym_true_token1, + ACTIONS(465), 1, + aux_sym_false_token1, + ACTIONS(469), 1, + sym_identifier, + ACTIONS(575), 1, + sym_number, + STATE(182), 1, + sym_not, + STATE(181), 2, + sym_minus, + sym_plus, + STATE(117), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11221] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(589), 1, + sym_number, + ACTIONS(591), 1, + sym_identifier, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(28), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11276] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(593), 1, + anon_sym_SEMI, + ACTIONS(595), 1, + anon_sym_COMMA, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(735), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [11335] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(597), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(731), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [11394] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(599), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(10), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11449] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(601), 1, + sym_number, + STATE(205), 1, + sym_not, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(63), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11504] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(603), 1, + sym_number, + STATE(205), 1, + sym_not, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(64), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11559] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(605), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(298), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11614] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(607), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(278), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11669] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(609), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(11), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11724] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(611), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(2), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11779] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(613), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(288), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11834] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(615), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(74), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11889] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(617), 1, + sym_number, + STATE(205), 1, + sym_not, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(69), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11944] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(449), 1, + sym_identifier, + ACTIONS(619), 1, + sym_number, + STATE(214), 1, + sym_not, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(166), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [11999] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(621), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(202), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12054] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(623), 1, + anon_sym_SEMI, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(729), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [12113] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(625), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(82), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12168] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(627), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(26), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12223] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(629), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(29), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12278] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(631), 1, + sym_number, + STATE(205), 1, + sym_not, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(68), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12333] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(633), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(31), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12388] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(635), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(32), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12443] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(637), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(33), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12498] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(639), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(34), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12553] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(641), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(149), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12608] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(643), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(12), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12663] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(645), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(730), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [12722] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(647), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(35), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12777] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(649), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(27), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12832] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(651), 1, + sym_number, + STATE(205), 1, + sym_not, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(67), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12887] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(653), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(90), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12942] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(655), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(299), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [12997] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(149), 1, + anon_sym_LPAREN, + ACTIONS(153), 1, + aux_sym_alter_column_action_token2, + ACTIONS(155), 1, + anon_sym_SQUOTE, + ACTIONS(157), 1, + anon_sym_STAR, + ACTIONS(159), 1, + aux_sym_true_token1, + ACTIONS(161), 1, + aux_sym_false_token1, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(657), 1, + sym_number, + STATE(205), 1, + sym_not, + STATE(206), 2, + sym_minus, + sym_plus, + STATE(60), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13052] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(659), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(105), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13107] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(661), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(772), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [13166] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(663), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(241), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13221] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(665), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(9), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13276] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(667), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(30), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13331] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(669), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(71), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13386] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(449), 1, + sym_identifier, + ACTIONS(671), 1, + sym_number, + STATE(214), 1, + sym_not, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(156), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13441] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(312), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [13496] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(673), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(3), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13551] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(675), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(6), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13606] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(677), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(757), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [13665] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(679), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(7), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13720] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(681), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(282), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13775] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(683), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(747), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [13834] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(685), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(295), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [13889] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(687), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(736), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [13948] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(689), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(286), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [14003] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(691), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(727), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [14062] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(693), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(720), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [14121] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(449), 1, + sym_identifier, + ACTIONS(695), 1, + sym_number, + STATE(214), 1, + sym_not, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(155), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [14176] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(483), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(131), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [14231] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(697), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(714), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [14290] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(699), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + STATE(712), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [14349] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(577), 1, + anon_sym_LPAREN, + ACTIONS(579), 1, + aux_sym_alter_column_action_token2, + ACTIONS(581), 1, + anon_sym_SQUOTE, + ACTIONS(583), 1, + anon_sym_STAR, + ACTIONS(585), 1, + aux_sym_true_token1, + ACTIONS(587), 1, + aux_sym_false_token1, + ACTIONS(591), 1, + sym_identifier, + ACTIONS(701), 1, + sym_number, + STATE(228), 1, + sym_not, + STATE(229), 2, + sym_minus, + sym_plus, + STATE(89), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [14404] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(435), 1, + anon_sym_LPAREN, + ACTIONS(437), 1, + aux_sym_alter_column_action_token2, + ACTIONS(439), 1, + anon_sym_SQUOTE, + ACTIONS(441), 1, + anon_sym_STAR, + ACTIONS(443), 1, + aux_sym_true_token1, + ACTIONS(445), 1, + aux_sym_false_token1, + ACTIONS(449), 1, + sym_identifier, + ACTIONS(703), 1, + sym_number, + STATE(214), 1, + sym_not, + STATE(258), 2, + sym_minus, + sym_plus, + STATE(165), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [14459] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(79), 1, + aux_sym_alter_column_action_token1, + ACTIONS(99), 1, + anon_sym_DASH, + ACTIONS(101), 1, + anon_sym_PLUS, + ACTIONS(316), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + aux_sym_alter_column_action_token2, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(324), 1, + anon_sym_STAR, + ACTIONS(326), 1, + aux_sym_true_token1, + ACTIONS(328), 1, + aux_sym_false_token1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(705), 1, + sym_number, + STATE(243), 1, + sym_not, + STATE(245), 2, + sym_minus, + sym_plus, + STATE(216), 9, + sym_string, + sym__value_expression, + sym_time_expression, + sym_function_call, + sym_op_expression, + sym_true, + sym_false, + sym_null, + sym_star, + [14514] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(113), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(111), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [14544] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(125), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(123), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [14574] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(707), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [14628] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(711), 1, + aux_sym_join_item_token1, + ACTIONS(714), 1, + aux_sym_join_item_token2, + ACTIONS(717), 1, + aux_sym_join_item_token3, + ACTIONS(720), 1, + aux_sym_join_type_token1, + STATE(896), 1, + sym_join_type, + STATE(263), 2, + sym_join_item, + aux_sym_from_item_repeat1, + ACTIONS(723), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + ACTIONS(709), 12, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [14670] = 19, + ACTIONS(3), 1, + sym_comment, + ACTIONS(728), 1, + anon_sym_COMMA, + ACTIONS(730), 1, + aux_sym_delete_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(272), 1, + aux_sym_insert_returning_repeat1, + STATE(327), 1, + sym_into, + STATE(355), 1, + sym_select_from, + STATE(393), 1, + sym_select_where, + STATE(419), 1, + sym_select_group_by, + STATE(469), 1, + sym_where_filter, + STATE(472), 1, + sym_select_having, + STATE(508), 1, + sym_select_order_by, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [14732] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(145), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(143), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [14762] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(137), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(135), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [14792] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(746), 1, + aux_sym_join_item_token1, + ACTIONS(748), 1, + aux_sym_join_item_token2, + ACTIONS(750), 1, + aux_sym_join_item_token3, + ACTIONS(752), 1, + aux_sym_join_type_token1, + STATE(896), 1, + sym_join_type, + STATE(263), 2, + sym_join_item, + aux_sym_from_item_repeat1, + ACTIONS(754), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + ACTIONS(744), 12, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [14834] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(133), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(131), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [14864] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(53), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(51), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [14894] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(746), 1, + aux_sym_join_item_token1, + ACTIONS(748), 1, + aux_sym_join_item_token2, + ACTIONS(750), 1, + aux_sym_join_item_token3, + ACTIONS(752), 1, + aux_sym_join_type_token1, + STATE(896), 1, + sym_join_type, + STATE(267), 2, + sym_join_item, + aux_sym_from_item_repeat1, + ACTIONS(754), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + ACTIONS(756), 12, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [14936] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(758), 2, + anon_sym_SEMI, + anon_sym_COMMA, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [14990] = 19, + ACTIONS(3), 1, + sym_comment, + ACTIONS(728), 1, + anon_sym_COMMA, + ACTIONS(730), 1, + aux_sym_delete_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(328), 1, + sym_into, + STATE(352), 1, + sym_select_from, + STATE(385), 1, + aux_sym_insert_returning_repeat1, + STATE(386), 1, + sym_select_where, + STATE(424), 1, + sym_select_group_by, + STATE(468), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(503), 1, + sym_select_order_by, + STATE(589), 1, + sym_select_limit, + ACTIONS(760), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [15052] = 19, + ACTIONS(3), 1, + sym_comment, + ACTIONS(728), 1, + anon_sym_COMMA, + ACTIONS(730), 1, + aux_sym_delete_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(275), 1, + aux_sym_insert_returning_repeat1, + STATE(331), 1, + sym_into, + STATE(356), 1, + sym_select_from, + STATE(397), 1, + sym_select_where, + STATE(423), 1, + sym_select_group_by, + STATE(458), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(494), 1, + sym_select_order_by, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [15114] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(762), 1, + anon_sym_LPAREN, + ACTIONS(764), 1, + aux_sym_time_expression_token1, + ACTIONS(69), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(63), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [15148] = 19, + ACTIONS(3), 1, + sym_comment, + ACTIONS(728), 1, + anon_sym_COMMA, + ACTIONS(730), 1, + aux_sym_delete_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(327), 1, + sym_into, + STATE(355), 1, + sym_select_from, + STATE(385), 1, + aux_sym_insert_returning_repeat1, + STATE(393), 1, + sym_select_where, + STATE(419), 1, + sym_select_group_by, + STATE(469), 1, + sym_where_filter, + STATE(472), 1, + sym_select_having, + STATE(508), 1, + sym_select_order_by, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [15210] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(770), 1, + anon_sym_LPAREN, + ACTIONS(772), 1, + aux_sym_delete_statement_token3, + ACTIONS(774), 1, + sym_identifier, + ACTIONS(766), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(768), 16, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [15246] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(141), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(139), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [15276] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(776), 2, + anon_sym_SEMI, + anon_sym_COMMA, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [15330] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(61), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(59), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [15360] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(117), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(115), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [15390] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(121), 9, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(119), 13, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [15420] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(778), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [15473] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(780), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [15526] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + STATE(330), 1, + sym__list_of_identifiers, + ACTIONS(782), 19, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [15557] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + STATE(342), 1, + sym__list_of_identifiers, + ACTIONS(786), 19, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [15588] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(788), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [15641] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(790), 1, + aux_sym_select_limit_token2, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [15694] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(792), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [15747] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(115), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(117), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + sym_identifier, + [15776] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(119), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(121), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + sym_identifier, + [15805] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(123), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(125), 18, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + sym_identifier, + [15834] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(772), 1, + aux_sym_delete_statement_token3, + ACTIONS(774), 1, + sym_identifier, + ACTIONS(766), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(768), 16, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [15867] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(798), 1, + aux_sym_delete_statement_token3, + ACTIONS(800), 1, + sym_identifier, + ACTIONS(794), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(796), 16, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [15900] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(802), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [15953] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(804), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16006] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(806), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16059] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(808), 1, + anon_sym_SEMI, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16112] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(810), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16165] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(812), 1, + aux_sym_select_limit_token1, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16218] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(814), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16271] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(816), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16324] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(818), 1, + anon_sym_SEMI, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16377] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(820), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16430] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(822), 1, + anon_sym_SEMI, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16483] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(824), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16536] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(33), 1, + aux_sym_trigger_event_token2, + ACTIONS(37), 1, + anon_sym_SLASH, + ACTIONS(39), 1, + anon_sym_DASH, + ACTIONS(41), 1, + anon_sym_PLUS, + ACTIONS(45), 1, + anon_sym_PIPE_PIPE, + ACTIONS(47), 1, + sym_cast, + ACTIONS(49), 1, + aux_sym_and_token1, + ACTIONS(826), 1, + anon_sym_RPAREN, + STATE(169), 1, + sym_comparison_op, + STATE(226), 1, + sym_other_op, + ACTIONS(35), 2, + anon_sym_STAR, + anon_sym_PERCENT, + ACTIONS(43), 2, + anon_sym_LT, + anon_sym_GT, + STATE(237), 2, + sym_and, + sym_or, + ACTIONS(31), 5, + anon_sym_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + [16589] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(137), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(135), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [16617] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + ACTIONS(828), 1, + anon_sym_COMMA, + ACTIONS(830), 1, + aux_sym_delete_statement_token2, + STATE(317), 1, + aux_sym_insert_returning_repeat1, + STATE(356), 1, + sym_select_from, + STATE(362), 1, + sym_into, + STATE(397), 1, + sym_select_where, + STATE(423), 1, + sym_select_group_by, + STATE(458), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(494), 1, + sym_select_order_by, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [16679] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(121), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(119), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [16707] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(133), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(131), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [16735] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(117), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(115), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [16763] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(145), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(143), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [16791] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(832), 20, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_index_using_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [16817] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(834), 20, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_index_using_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [16843] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(113), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(111), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [16871] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(838), 1, + sym_identifier, + ACTIONS(834), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(836), 16, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [16901] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + ACTIONS(828), 1, + anon_sym_COMMA, + ACTIONS(830), 1, + aux_sym_delete_statement_token2, + STATE(355), 1, + sym_select_from, + STATE(364), 1, + sym_into, + STATE(393), 1, + sym_select_where, + STATE(415), 1, + aux_sym_insert_returning_repeat1, + STATE(419), 1, + sym_select_group_by, + STATE(469), 1, + sym_where_filter, + STATE(472), 1, + sym_select_having, + STATE(508), 1, + sym_select_order_by, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [16963] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + ACTIONS(828), 1, + anon_sym_COMMA, + ACTIONS(830), 1, + aux_sym_delete_statement_token2, + STATE(319), 1, + aux_sym_insert_returning_repeat1, + STATE(355), 1, + sym_select_from, + STATE(364), 1, + sym_into, + STATE(393), 1, + sym_select_where, + STATE(419), 1, + sym_select_group_by, + STATE(469), 1, + sym_where_filter, + STATE(472), 1, + sym_select_having, + STATE(508), 1, + sym_select_order_by, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [17025] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + ACTIONS(828), 1, + anon_sym_COMMA, + ACTIONS(830), 1, + aux_sym_delete_statement_token2, + STATE(352), 1, + sym_select_from, + STATE(361), 1, + sym_into, + STATE(386), 1, + sym_select_where, + STATE(415), 1, + aux_sym_insert_returning_repeat1, + STATE(424), 1, + sym_select_group_by, + STATE(468), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(503), 1, + sym_select_order_by, + STATE(589), 1, + sym_select_limit, + ACTIONS(760), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [17087] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(125), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(123), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [17115] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(53), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(51), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [17143] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(61), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(59), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [17171] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(141), 8, + aux_sym_delete_statement_token3, + aux_sym_trigger_event_token2, + anon_sym_SLASH, + anon_sym_DASH, + anon_sym_LT, + anon_sym_GT, + aux_sym_and_token1, + sym_identifier, + ACTIONS(139), 12, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_STAR, + anon_sym_PERCENT, + anon_sym_PLUS, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_LT_GT, + anon_sym_BANG_EQ, + anon_sym_PIPE_PIPE, + sym_cast, + [17199] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(840), 1, + anon_sym_SEMI, + ACTIONS(842), 1, + aux_sym_delete_statement_token3, + ACTIONS(844), 1, + aux_sym_fk_ref_action_token1, + ACTIONS(846), 1, + aux_sym_sequence_increment_token1, + ACTIONS(848), 1, + aux_sym_sequence_min_token1, + ACTIONS(850), 1, + aux_sym_sequence_max_token1, + ACTIONS(852), 1, + aux_sym_sequence_start_token1, + ACTIONS(854), 1, + aux_sym_sequence_cache_token1, + ACTIONS(856), 1, + aux_sym_sequence_cycle_token1, + ACTIONS(858), 1, + aux_sym_sequence_owned_token1, + STATE(335), 9, + sym_sequence_increment, + sym_sequence_min, + sym_sequence_max, + sym_sequence_start, + sym_sequence_cache, + sym_sequence_cycle, + sym_sequence_owned, + sym_as, + aux_sym_create_sequence_statement_repeat1, + [17244] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(842), 1, + aux_sym_delete_statement_token3, + ACTIONS(844), 1, + aux_sym_fk_ref_action_token1, + ACTIONS(846), 1, + aux_sym_sequence_increment_token1, + ACTIONS(848), 1, + aux_sym_sequence_min_token1, + ACTIONS(850), 1, + aux_sym_sequence_max_token1, + ACTIONS(852), 1, + aux_sym_sequence_start_token1, + ACTIONS(854), 1, + aux_sym_sequence_cache_token1, + ACTIONS(856), 1, + aux_sym_sequence_cycle_token1, + ACTIONS(858), 1, + aux_sym_sequence_owned_token1, + ACTIONS(860), 1, + anon_sym_SEMI, + STATE(343), 9, + sym_sequence_increment, + sym_sequence_min, + sym_sequence_max, + sym_sequence_start, + sym_sequence_cache, + sym_sequence_cycle, + sym_sequence_owned, + sym_as, + aux_sym_create_sequence_statement_repeat1, + [17289] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(750), 1, + aux_sym_join_item_token3, + ACTIONS(752), 1, + aux_sym_join_type_token1, + ACTIONS(862), 1, + aux_sym_join_item_token1, + ACTIONS(864), 1, + aux_sym_join_item_token2, + STATE(896), 1, + sym_join_type, + STATE(341), 2, + sym_join_item, + aux_sym_from_item_repeat1, + ACTIONS(754), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + ACTIONS(756), 9, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [17328] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(730), 1, + aux_sym_delete_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(352), 1, + sym_select_from, + STATE(386), 1, + sym_select_where, + STATE(424), 1, + sym_select_group_by, + STATE(468), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(503), 1, + sym_select_order_by, + STATE(589), 1, + sym_select_limit, + ACTIONS(760), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [17381] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(730), 1, + aux_sym_delete_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(351), 1, + sym_select_from, + STATE(396), 1, + sym_select_where, + STATE(412), 1, + sym_select_group_by, + STATE(460), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(489), 1, + sym_select_order_by, + STATE(596), 1, + sym_select_limit, + ACTIONS(866), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [17434] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(868), 19, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [17459] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(870), 19, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [17484] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(730), 1, + aux_sym_delete_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(355), 1, + sym_select_from, + STATE(393), 1, + sym_select_where, + STATE(419), 1, + sym_select_group_by, + STATE(469), 1, + sym_where_filter, + STATE(472), 1, + sym_select_having, + STATE(508), 1, + sym_select_order_by, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [17537] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(717), 1, + aux_sym_join_item_token3, + ACTIONS(720), 1, + aux_sym_join_type_token1, + ACTIONS(872), 1, + aux_sym_join_item_token1, + ACTIONS(875), 1, + aux_sym_join_item_token2, + STATE(896), 1, + sym_join_type, + STATE(332), 2, + sym_join_item, + aux_sym_from_item_repeat1, + ACTIONS(723), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + ACTIONS(709), 9, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [17576] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(730), 1, + aux_sym_delete_statement_token2, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(356), 1, + sym_select_from, + STATE(397), 1, + sym_select_where, + STATE(423), 1, + sym_select_group_by, + STATE(458), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(494), 1, + sym_select_order_by, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [17629] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(842), 1, + aux_sym_delete_statement_token3, + ACTIONS(844), 1, + aux_sym_fk_ref_action_token1, + ACTIONS(846), 1, + aux_sym_sequence_increment_token1, + ACTIONS(848), 1, + aux_sym_sequence_min_token1, + ACTIONS(850), 1, + aux_sym_sequence_max_token1, + ACTIONS(852), 1, + aux_sym_sequence_start_token1, + ACTIONS(854), 1, + aux_sym_sequence_cache_token1, + ACTIONS(856), 1, + aux_sym_sequence_cycle_token1, + ACTIONS(858), 1, + aux_sym_sequence_owned_token1, + ACTIONS(878), 1, + anon_sym_SEMI, + STATE(338), 9, + sym_sequence_increment, + sym_sequence_min, + sym_sequence_max, + sym_sequence_start, + sym_sequence_cache, + sym_sequence_cycle, + sym_sequence_owned, + sym_as, + aux_sym_create_sequence_statement_repeat1, + [17674] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(842), 1, + aux_sym_delete_statement_token3, + ACTIONS(844), 1, + aux_sym_fk_ref_action_token1, + ACTIONS(846), 1, + aux_sym_sequence_increment_token1, + ACTIONS(848), 1, + aux_sym_sequence_min_token1, + ACTIONS(850), 1, + aux_sym_sequence_max_token1, + ACTIONS(852), 1, + aux_sym_sequence_start_token1, + ACTIONS(854), 1, + aux_sym_sequence_cache_token1, + ACTIONS(856), 1, + aux_sym_sequence_cycle_token1, + ACTIONS(858), 1, + aux_sym_sequence_owned_token1, + ACTIONS(878), 1, + anon_sym_SEMI, + STATE(343), 9, + sym_sequence_increment, + sym_sequence_min, + sym_sequence_max, + sym_sequence_start, + sym_sequence_cache, + sym_sequence_cycle, + sym_sequence_owned, + sym_as, + aux_sym_create_sequence_statement_repeat1, + [17719] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(774), 1, + sym_identifier, + ACTIONS(880), 1, + anon_sym_LPAREN, + ACTIONS(882), 1, + aux_sym_delete_statement_token3, + ACTIONS(766), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(768), 13, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [17752] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(884), 19, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [17777] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(842), 1, + aux_sym_delete_statement_token3, + ACTIONS(844), 1, + aux_sym_fk_ref_action_token1, + ACTIONS(846), 1, + aux_sym_sequence_increment_token1, + ACTIONS(848), 1, + aux_sym_sequence_min_token1, + ACTIONS(850), 1, + aux_sym_sequence_max_token1, + ACTIONS(852), 1, + aux_sym_sequence_start_token1, + ACTIONS(854), 1, + aux_sym_sequence_cache_token1, + ACTIONS(856), 1, + aux_sym_sequence_cycle_token1, + ACTIONS(858), 1, + aux_sym_sequence_owned_token1, + ACTIONS(886), 1, + anon_sym_SEMI, + STATE(343), 9, + sym_sequence_increment, + sym_sequence_min, + sym_sequence_max, + sym_sequence_start, + sym_sequence_cache, + sym_sequence_cycle, + sym_sequence_owned, + sym_as, + aux_sym_create_sequence_statement_repeat1, + [17822] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(888), 19, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [17847] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(842), 1, + aux_sym_delete_statement_token3, + ACTIONS(844), 1, + aux_sym_fk_ref_action_token1, + ACTIONS(846), 1, + aux_sym_sequence_increment_token1, + ACTIONS(848), 1, + aux_sym_sequence_min_token1, + ACTIONS(850), 1, + aux_sym_sequence_max_token1, + ACTIONS(852), 1, + aux_sym_sequence_start_token1, + ACTIONS(854), 1, + aux_sym_sequence_cache_token1, + ACTIONS(856), 1, + aux_sym_sequence_cycle_token1, + ACTIONS(858), 1, + aux_sym_sequence_owned_token1, + ACTIONS(886), 1, + anon_sym_SEMI, + STATE(325), 9, + sym_sequence_increment, + sym_sequence_min, + sym_sequence_max, + sym_sequence_start, + sym_sequence_cache, + sym_sequence_cycle, + sym_sequence_owned, + sym_as, + aux_sym_create_sequence_statement_repeat1, + [17892] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(750), 1, + aux_sym_join_item_token3, + ACTIONS(752), 1, + aux_sym_join_type_token1, + ACTIONS(862), 1, + aux_sym_join_item_token1, + ACTIONS(864), 1, + aux_sym_join_item_token2, + STATE(896), 1, + sym_join_type, + STATE(332), 2, + sym_join_item, + aux_sym_from_item_repeat1, + ACTIONS(754), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + ACTIONS(744), 9, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [17931] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(782), 19, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [17956] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(890), 1, + anon_sym_SEMI, + ACTIONS(892), 1, + aux_sym_delete_statement_token3, + ACTIONS(895), 1, + aux_sym_fk_ref_action_token1, + ACTIONS(898), 1, + aux_sym_sequence_increment_token1, + ACTIONS(901), 1, + aux_sym_sequence_min_token1, + ACTIONS(904), 1, + aux_sym_sequence_max_token1, + ACTIONS(907), 1, + aux_sym_sequence_start_token1, + ACTIONS(910), 1, + aux_sym_sequence_cache_token1, + ACTIONS(913), 1, + aux_sym_sequence_cycle_token1, + ACTIONS(916), 1, + aux_sym_sequence_owned_token1, + STATE(343), 9, + sym_sequence_increment, + sym_sequence_min, + sym_sequence_max, + sym_sequence_start, + sym_sequence_cache, + sym_sequence_cycle, + sym_sequence_owned, + sym_as, + aux_sym_create_sequence_statement_repeat1, + [18001] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(179), 19, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [18026] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(119), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(121), 15, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + sym_identifier, + [18052] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(123), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(125), 15, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + sym_identifier, + [18078] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(774), 1, + sym_identifier, + ACTIONS(882), 1, + aux_sym_delete_statement_token3, + ACTIONS(766), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(768), 13, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [18108] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(115), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(117), 15, + aux_sym_delete_statement_token3, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + sym_identifier, + [18134] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(798), 1, + aux_sym_delete_statement_token3, + ACTIONS(800), 1, + sym_identifier, + ACTIONS(794), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(796), 13, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [18164] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(397), 1, + sym_select_where, + STATE(423), 1, + sym_select_group_by, + STATE(458), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(494), 1, + sym_select_order_by, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [18211] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(388), 1, + sym_select_where, + STATE(414), 1, + sym_select_group_by, + STATE(469), 1, + sym_where_filter, + STATE(473), 1, + sym_select_having, + STATE(507), 1, + sym_select_order_by, + STATE(580), 1, + sym_select_limit, + ACTIONS(919), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [18258] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(396), 1, + sym_select_where, + STATE(412), 1, + sym_select_group_by, + STATE(460), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(489), 1, + sym_select_order_by, + STATE(596), 1, + sym_select_limit, + ACTIONS(866), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [18305] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + ACTIONS(923), 1, + aux_sym_insert_conflict_token1, + STATE(368), 1, + sym__list_of_identifiers, + STATE(375), 2, + sym_fk_action, + aux_sym_constraint_foreign_key_repeat1, + ACTIONS(921), 12, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [18336] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(838), 1, + sym_identifier, + ACTIONS(834), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(836), 13, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [18363] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(386), 1, + sym_select_where, + STATE(424), 1, + sym_select_group_by, + STATE(468), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(503), 1, + sym_select_order_by, + STATE(589), 1, + sym_select_limit, + ACTIONS(760), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [18410] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + STATE(393), 1, + sym_select_where, + STATE(419), 1, + sym_select_group_by, + STATE(469), 1, + sym_where_filter, + STATE(472), 1, + sym_select_having, + STATE(508), 1, + sym_select_order_by, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [18457] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(750), 1, + aux_sym_join_item_token3, + ACTIONS(752), 1, + aux_sym_join_type_token1, + ACTIONS(925), 1, + aux_sym_join_item_token1, + ACTIONS(927), 1, + aux_sym_join_item_token2, + STATE(918), 1, + sym_join_type, + STATE(360), 2, + sym_join_item, + aux_sym_from_item_repeat1, + ACTIONS(754), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + ACTIONS(756), 6, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [18493] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(774), 1, + sym_identifier, + ACTIONS(929), 1, + anon_sym_LPAREN, + ACTIONS(931), 1, + aux_sym_delete_statement_token3, + ACTIONS(766), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(768), 10, + aux_sym_insert_statement_token2, + aux_sym_insert_returning_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [18523] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(717), 1, + aux_sym_join_item_token3, + ACTIONS(720), 1, + aux_sym_join_type_token1, + ACTIONS(933), 1, + aux_sym_join_item_token1, + ACTIONS(936), 1, + aux_sym_join_item_token2, + STATE(918), 1, + sym_join_type, + STATE(359), 2, + sym_join_item, + aux_sym_from_item_repeat1, + ACTIONS(723), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + ACTIONS(709), 6, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [18559] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(750), 1, + aux_sym_join_item_token3, + ACTIONS(752), 1, + aux_sym_join_type_token1, + ACTIONS(925), 1, + aux_sym_join_item_token1, + ACTIONS(927), 1, + aux_sym_join_item_token2, + STATE(918), 1, + sym_join_type, + STATE(359), 2, + sym_join_item, + aux_sym_from_item_repeat1, + ACTIONS(754), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + ACTIONS(744), 6, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [18595] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + ACTIONS(830), 1, + aux_sym_delete_statement_token2, + STATE(351), 1, + sym_select_from, + STATE(396), 1, + sym_select_where, + STATE(412), 1, + sym_select_group_by, + STATE(460), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(489), 1, + sym_select_order_by, + STATE(596), 1, + sym_select_limit, + ACTIONS(866), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [18645] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + ACTIONS(830), 1, + aux_sym_delete_statement_token2, + STATE(355), 1, + sym_select_from, + STATE(393), 1, + sym_select_where, + STATE(419), 1, + sym_select_group_by, + STATE(469), 1, + sym_where_filter, + STATE(472), 1, + sym_select_having, + STATE(508), 1, + sym_select_order_by, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [18695] = 13, + ACTIONS(3), 1, + sym_comment, + ACTIONS(941), 1, + aux_sym_insert_items_token1, + ACTIONS(943), 1, + aux_sym_conflict_target_token1, + ACTIONS(947), 1, + aux_sym_alter_column_action_token1, + ACTIONS(949), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(951), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(953), 1, + aux_sym_constraint_foreign_key_token1, + ACTIONS(955), 1, + anon_sym_LBRACK, + STATE(407), 1, + sym_column_constraint_ty, + STATE(411), 1, + sym_constraint_foreign_key, + ACTIONS(945), 2, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token2, + STATE(382), 2, + sym_column_constraint, + aux_sym_table_column_item_repeat1, + ACTIONS(939), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [18739] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + ACTIONS(830), 1, + aux_sym_delete_statement_token2, + STATE(352), 1, + sym_select_from, + STATE(386), 1, + sym_select_where, + STATE(424), 1, + sym_select_group_by, + STATE(468), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(503), 1, + sym_select_order_by, + STATE(589), 1, + sym_select_limit, + ACTIONS(760), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [18789] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(959), 1, + anon_sym_COMMA, + STATE(365), 1, + aux_sym_grant_privileges_repeat1, + ACTIONS(957), 14, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_index_using_token1, + aux_sym_delete_statement_token2, + aux_sym_alter_table_rename_column_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [18815] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(964), 1, + anon_sym_LPAREN, + STATE(394), 1, + sym_precision, + ACTIONS(962), 14, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + anon_sym_COLON_EQ, + anon_sym_LBRACK, + [18841] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + ACTIONS(742), 1, + aux_sym_where_filter_token1, + ACTIONS(830), 1, + aux_sym_delete_statement_token2, + STATE(356), 1, + sym_select_from, + STATE(397), 1, + sym_select_where, + STATE(423), 1, + sym_select_group_by, + STATE(458), 1, + sym_select_having, + STATE(469), 1, + sym_where_filter, + STATE(494), 1, + sym_select_order_by, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [18891] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(923), 1, + aux_sym_insert_conflict_token1, + STATE(377), 2, + sym_fk_action, + aux_sym_constraint_foreign_key_repeat1, + ACTIONS(966), 12, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [18916] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(115), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(117), 12, + aux_sym_insert_statement_token2, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token3, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + sym_identifier, + [18939] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(119), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(121), 12, + aux_sym_insert_statement_token2, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token3, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + sym_identifier, + [18962] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(968), 15, + anon_sym_SEMI, + aux_sym_insert_items_token1, + aux_sym_insert_items_token2, + anon_sym_LPAREN, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_start_token2, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + aux_sym_select_statement_token1, + [18983] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(123), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(125), 12, + aux_sym_insert_statement_token2, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token3, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + sym_identifier, + [19006] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(972), 1, + aux_sym_insert_items_token1, + ACTIONS(975), 1, + aux_sym_conflict_target_token1, + ACTIONS(981), 1, + aux_sym_alter_column_action_token1, + ACTIONS(984), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(987), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(990), 1, + aux_sym_constraint_foreign_key_token1, + STATE(407), 1, + sym_column_constraint_ty, + STATE(411), 1, + sym_constraint_foreign_key, + ACTIONS(978), 2, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token2, + STATE(373), 2, + sym_column_constraint, + aux_sym_table_column_item_repeat1, + ACTIONS(970), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [19047] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(798), 1, + aux_sym_delete_statement_token3, + ACTIONS(800), 1, + sym_identifier, + ACTIONS(794), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(796), 10, + aux_sym_insert_statement_token2, + aux_sym_insert_returning_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [19074] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(923), 1, + aux_sym_insert_conflict_token1, + STATE(379), 2, + sym_fk_action, + aux_sym_constraint_foreign_key_repeat1, + ACTIONS(966), 12, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [19099] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(774), 1, + sym_identifier, + ACTIONS(931), 1, + aux_sym_delete_statement_token3, + ACTIONS(766), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(768), 10, + aux_sym_insert_statement_token2, + aux_sym_insert_returning_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [19126] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(923), 1, + aux_sym_insert_conflict_token1, + STATE(379), 2, + sym_fk_action, + aux_sym_constraint_foreign_key_repeat1, + ACTIONS(993), 12, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [19151] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + STATE(365), 1, + aux_sym_grant_privileges_repeat1, + ACTIONS(995), 13, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_index_using_token1, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19176] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1001), 1, + aux_sym_insert_conflict_token1, + STATE(379), 2, + sym_fk_action, + aux_sym_constraint_foreign_key_repeat1, + ACTIONS(999), 12, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [19201] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + STATE(365), 1, + aux_sym_grant_privileges_repeat1, + ACTIONS(1004), 13, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_index_using_token1, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19226] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + STATE(378), 1, + aux_sym_grant_privileges_repeat1, + ACTIONS(1004), 13, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_index_using_token1, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19251] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(941), 1, + aux_sym_insert_items_token1, + ACTIONS(943), 1, + aux_sym_conflict_target_token1, + ACTIONS(947), 1, + aux_sym_alter_column_action_token1, + ACTIONS(949), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(951), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(953), 1, + aux_sym_constraint_foreign_key_token1, + STATE(407), 1, + sym_column_constraint_ty, + STATE(411), 1, + sym_constraint_foreign_key, + ACTIONS(945), 2, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token2, + STATE(373), 2, + sym_column_constraint, + aux_sym_table_column_item_repeat1, + ACTIONS(1006), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [19292] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(957), 15, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_index_using_token1, + aux_sym_delete_statement_token2, + aux_sym_alter_table_rename_column_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19313] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + STATE(380), 1, + aux_sym_grant_privileges_repeat1, + ACTIONS(1008), 13, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_index_using_token1, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19338] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1012), 1, + anon_sym_COMMA, + STATE(385), 1, + aux_sym_insert_returning_repeat1, + ACTIONS(1010), 12, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19362] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(412), 1, + sym_select_group_by, + STATE(460), 1, + sym_select_having, + STATE(489), 1, + sym_select_order_by, + STATE(596), 1, + sym_select_limit, + ACTIONS(866), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [19400] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1019), 1, + sym_identifier, + ACTIONS(1015), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(1017), 10, + aux_sym_insert_statement_token2, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19424] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(416), 1, + sym_select_group_by, + STATE(462), 1, + sym_select_having, + STATE(497), 1, + sym_select_order_by, + STATE(590), 1, + sym_select_limit, + ACTIONS(1021), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [19462] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1023), 14, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + anon_sym_COLON_EQ, + anon_sym_LBRACK, + [19482] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1025), 1, + aux_sym_conflict_target_token1, + ACTIONS(1027), 1, + aux_sym_create_table_statement_token2, + ACTIONS(1029), 1, + aux_sym_create_table_statement_token3, + ACTIONS(1031), 1, + aux_sym_create_schema_statement_token1, + ACTIONS(1033), 1, + aux_sym_create_index_statement_token1, + ACTIONS(1035), 1, + aux_sym_create_index_statement_token2, + ACTIONS(1037), 1, + aux_sym_grant_targets_token5, + ACTIONS(1039), 1, + aux_sym_grant_targets_token6, + ACTIONS(1041), 1, + aux_sym_create_trigger_statement_token1, + ACTIONS(1043), 1, + aux_sym_trigger_event_token2, + ACTIONS(1045), 1, + aux_sym_temporary_token1, + ACTIONS(1047), 1, + aux_sym_temporary_token2, + STATE(756), 1, + sym_temporary, + STATE(1094), 1, + sym_or_replace, + [19528] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1049), 14, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + anon_sym_COLON_EQ, + anon_sym_LBRACK, + [19548] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1053), 1, + anon_sym_BSLASH, + ACTIONS(1051), 13, + aux_sym_insert_statement_token1, + aux_sym_insert_conflict_token3, + aux_sym_create_table_statement_token1, + aux_sym_delete_statement_token1, + aux_sym_alter_table_statement_token1, + aux_sym_grant_statement_token1, + aux_sym_sequence_start_token2, + aux_sym_trigger_exec_token1, + aux_sym_return_statement_token1, + aux_sym_perform_statement_token1, + aux_sym_select_statement_token1, + aux_sym_body_token2, + sym_identifier, + [19570] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(424), 1, + sym_select_group_by, + STATE(468), 1, + sym_select_having, + STATE(503), 1, + sym_select_order_by, + STATE(589), 1, + sym_select_limit, + ACTIONS(760), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [19608] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1055), 14, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + anon_sym_COLON_EQ, + anon_sym_LBRACK, + [19628] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(423), 1, + sym_select_group_by, + STATE(458), 1, + sym_select_having, + STATE(494), 1, + sym_select_order_by, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [19666] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(414), 1, + sym_select_group_by, + STATE(473), 1, + sym_select_having, + STATE(507), 1, + sym_select_order_by, + STATE(580), 1, + sym_select_limit, + ACTIONS(919), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [19704] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(732), 1, + aux_sym_grant_roles_token2, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(419), 1, + sym_select_group_by, + STATE(472), 1, + sym_select_having, + STATE(508), 1, + sym_select_order_by, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [19742] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1057), 14, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_index_using_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + anon_sym_COLON_EQ, + anon_sym_LBRACK, + [19762] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(838), 1, + sym_identifier, + ACTIONS(834), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(836), 10, + aux_sym_insert_statement_token2, + aux_sym_insert_returning_token1, + aux_sym_join_item_token1, + aux_sym_join_item_token2, + aux_sym_join_item_token3, + aux_sym_join_type_token1, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + aux_sym_where_filter_token1, + [19786] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1015), 13, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19805] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1059), 13, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19824] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1063), 1, + anon_sym_COMMA, + STATE(408), 1, + aux_sym_delete_using_repeat1, + ACTIONS(1061), 11, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19847] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1067), 1, + aux_sym_constraint_when_token1, + STATE(447), 1, + sym_constraint_when, + ACTIONS(1065), 11, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [19870] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1069), 13, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [19889] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1071), 13, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [19908] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1075), 1, + anon_sym_COMMA, + STATE(406), 1, + aux_sym_delete_using_repeat1, + ACTIONS(1073), 11, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19931] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1067), 1, + aux_sym_constraint_when_token1, + STATE(427), 1, + sym_constraint_when, + ACTIONS(1078), 11, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [19954] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1063), 1, + anon_sym_COMMA, + STATE(406), 1, + aux_sym_delete_using_repeat1, + ACTIONS(1080), 11, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19977] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1010), 13, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [19996] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1082), 13, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [20015] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1084), 12, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [20033] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(473), 1, + sym_select_having, + STATE(507), 1, + sym_select_order_by, + STATE(580), 1, + sym_select_limit, + ACTIONS(919), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [20065] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1086), 12, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [20083] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(462), 1, + sym_select_having, + STATE(497), 1, + sym_select_order_by, + STATE(590), 1, + sym_select_limit, + ACTIONS(1021), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [20115] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1088), 1, + anon_sym_COMMA, + STATE(415), 1, + aux_sym_insert_returning_repeat1, + ACTIONS(1010), 10, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [20137] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(454), 1, + sym_select_having, + STATE(493), 1, + sym_select_order_by, + STATE(595), 1, + sym_select_limit, + ACTIONS(1091), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [20169] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1019), 1, + sym_identifier, + ACTIONS(1015), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(1017), 8, + aux_sym_insert_statement_token2, + aux_sym_delete_statement_token2, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [20191] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1073), 12, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [20209] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(468), 1, + sym_select_having, + STATE(503), 1, + sym_select_order_by, + STATE(589), 1, + sym_select_limit, + ACTIONS(760), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [20241] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(458), 1, + sym_select_having, + STATE(494), 1, + sym_select_order_by, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [20273] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1095), 1, + aux_sym_constraint_when_token2, + ACTIONS(1093), 11, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [20293] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(296), 12, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_constraint_when_token1, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [20311] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(472), 1, + sym_select_having, + STATE(508), 1, + sym_select_order_by, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [20343] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(734), 1, + aux_sym_select_having_token1, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(460), 1, + sym_select_having, + STATE(489), 1, + sym_select_order_by, + STATE(596), 1, + sym_select_limit, + ACTIONS(866), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [20375] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1097), 1, + aux_sym_conflict_target_token1, + ACTIONS(1099), 1, + aux_sym_create_index_statement_token1, + ACTIONS(1101), 1, + aux_sym_alter_table_action_token2, + ACTIONS(1103), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(1105), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(1107), 1, + aux_sym_table_constraint_ty_token4, + ACTIONS(1109), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1111), 1, + sym_identifier, + STATE(569), 1, + sym_table_constraint_ty, + STATE(911), 1, + sym_if_not_exists, + STATE(887), 2, + sym_table_constraint, + sym_table_column_item, + [20413] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1113), 1, + aux_sym_insert_conflict_token6, + ACTIONS(1115), 1, + aux_sym_alter_table_statement_token1, + ACTIONS(1117), 1, + aux_sym_alter_table_action_token1, + ACTIONS(1119), 1, + aux_sym_alter_table_action_token3, + ACTIONS(1121), 1, + aux_sym_alter_table_rename_column_token1, + STATE(700), 1, + sym_alter_table_action, + STATE(921), 1, + sym_alter_table_change, + STATE(941), 4, + sym_alter_table_rename_column, + sym_alter_table_rename_constraint, + sym_alter_table_rename_table, + sym_alter_table_change_schema, + [20444] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1123), 11, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [20461] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1125), 4, + anon_sym_LPAREN, + anon_sym_SQUOTE, + anon_sym_STAR, + anon_sym_PLUS, + ACTIONS(1127), 7, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + anon_sym_DASH, + aux_sym_true_token1, + aux_sym_false_token1, + sym_number, + sym_identifier, + [20480] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1129), 11, + ts_builtin_sym_end, + anon_sym_SEMI, + aux_sym_insert_statement_token1, + aux_sym_insert_conflict_token3, + aux_sym_create_table_statement_token1, + aux_sym_delete_statement_token1, + aux_sym_alter_table_statement_token1, + aux_sym_grant_statement_token1, + anon_sym_BSLASH, + aux_sym_sequence_start_token2, + aux_sym_select_statement_token1, + [20497] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1131), 4, + anon_sym_LPAREN, + anon_sym_SQUOTE, + anon_sym_STAR, + anon_sym_PLUS, + ACTIONS(1133), 7, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + anon_sym_DASH, + aux_sym_true_token1, + aux_sym_false_token1, + sym_number, + sym_identifier, + [20516] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(147), 1, + aux_sym_insert_statement_token2, + ACTIONS(1137), 1, + aux_sym_insert_returning_token1, + ACTIONS(1139), 1, + aux_sym_index_using_token1, + ACTIONS(1141), 1, + aux_sym_delete_statement_token3, + ACTIONS(1143), 1, + aux_sym_where_filter_token1, + ACTIONS(1145), 1, + sym_identifier, + STATE(527), 1, + sym_delete_using, + STATE(599), 1, + sym_where_filter, + STATE(913), 1, + sym_into, + ACTIONS(1135), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [20551] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1113), 1, + aux_sym_insert_conflict_token6, + ACTIONS(1115), 1, + aux_sym_alter_table_statement_token1, + ACTIONS(1117), 1, + aux_sym_alter_table_action_token1, + ACTIONS(1119), 1, + aux_sym_alter_table_action_token3, + ACTIONS(1121), 1, + aux_sym_alter_table_rename_column_token1, + STATE(700), 1, + sym_alter_table_action, + STATE(1029), 1, + sym_alter_table_change, + STATE(941), 4, + sym_alter_table_rename_column, + sym_alter_table_rename_constraint, + sym_alter_table_rename_table, + sym_alter_table_change_schema, + [20582] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(784), 1, + anon_sym_LPAREN, + ACTIONS(842), 1, + aux_sym_delete_statement_token3, + ACTIONS(1147), 1, + aux_sym_insert_items_token1, + ACTIONS(1149), 1, + aux_sym_insert_items_token2, + ACTIONS(1151), 1, + aux_sym_select_statement_token1, + STATE(487), 1, + sym_as, + STATE(502), 1, + sym_insert_items, + STATE(522), 1, + sym__list_of_identifiers, + STATE(573), 1, + sym_select_statement, + STATE(973), 1, + sym_with_query, + [20619] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1153), 4, + anon_sym_LPAREN, + anon_sym_SQUOTE, + anon_sym_STAR, + anon_sym_PLUS, + ACTIONS(1155), 7, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + anon_sym_DASH, + aux_sym_true_token1, + aux_sym_false_token1, + sym_number, + sym_identifier, + [20638] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1097), 1, + aux_sym_conflict_target_token1, + ACTIONS(1099), 1, + aux_sym_create_index_statement_token1, + ACTIONS(1103), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(1105), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(1107), 1, + aux_sym_table_constraint_ty_token4, + ACTIONS(1111), 1, + sym_identifier, + ACTIONS(1157), 1, + anon_sym_RPAREN, + STATE(569), 1, + sym_table_constraint_ty, + STATE(786), 1, + sym_create_table_item, + STATE(837), 2, + sym_table_constraint, + sym_table_column_item, + [20673] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1159), 1, + anon_sym_COMMA, + STATE(436), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(312), 9, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + [20694] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(306), 1, + anon_sym_COMMA, + STATE(436), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(1162), 9, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + [20715] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1164), 4, + anon_sym_LPAREN, + anon_sym_SQUOTE, + anon_sym_STAR, + anon_sym_PLUS, + ACTIONS(1166), 7, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + anon_sym_DASH, + aux_sym_true_token1, + aux_sym_false_token1, + sym_number, + sym_identifier, + [20734] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1168), 4, + anon_sym_LPAREN, + anon_sym_SQUOTE, + anon_sym_STAR, + anon_sym_PLUS, + ACTIONS(1170), 7, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + anon_sym_DASH, + aux_sym_true_token1, + aux_sym_false_token1, + sym_number, + sym_identifier, + [20753] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1172), 4, + anon_sym_LPAREN, + anon_sym_SQUOTE, + anon_sym_STAR, + anon_sym_PLUS, + ACTIONS(1174), 7, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + anon_sym_DASH, + aux_sym_true_token1, + aux_sym_false_token1, + sym_number, + sym_identifier, + [20772] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1178), 1, + anon_sym_SEMI, + ACTIONS(1176), 10, + ts_builtin_sym_end, + aux_sym_insert_statement_token1, + aux_sym_insert_conflict_token3, + aux_sym_create_table_statement_token1, + aux_sym_delete_statement_token1, + aux_sym_alter_table_statement_token1, + aux_sym_grant_statement_token1, + anon_sym_BSLASH, + aux_sym_sequence_start_token2, + aux_sym_select_statement_token1, + [20791] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1097), 1, + aux_sym_conflict_target_token1, + ACTIONS(1099), 1, + aux_sym_create_index_statement_token1, + ACTIONS(1103), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(1105), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(1107), 1, + aux_sym_table_constraint_ty_token4, + ACTIONS(1111), 1, + sym_identifier, + ACTIONS(1180), 1, + anon_sym_RPAREN, + STATE(569), 1, + sym_table_constraint_ty, + STATE(702), 1, + sym_create_table_item, + STATE(837), 2, + sym_table_constraint, + sym_table_column_item, + [20826] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1097), 1, + aux_sym_conflict_target_token1, + ACTIONS(1099), 1, + aux_sym_create_index_statement_token1, + ACTIONS(1103), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(1105), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(1107), 1, + aux_sym_table_constraint_ty_token4, + ACTIONS(1111), 1, + sym_identifier, + ACTIONS(1182), 1, + anon_sym_RPAREN, + STATE(569), 1, + sym_table_constraint_ty, + STATE(716), 1, + sym_create_table_item, + STATE(837), 2, + sym_table_constraint, + sym_table_column_item, + [20861] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1184), 4, + anon_sym_LPAREN, + anon_sym_SQUOTE, + anon_sym_STAR, + anon_sym_PLUS, + ACTIONS(1186), 7, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + anon_sym_DASH, + aux_sym_true_token1, + aux_sym_false_token1, + sym_number, + sym_identifier, + [20880] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(147), 1, + aux_sym_insert_statement_token2, + ACTIONS(1139), 1, + aux_sym_index_using_token1, + ACTIONS(1143), 1, + aux_sym_where_filter_token1, + ACTIONS(1190), 1, + aux_sym_insert_returning_token1, + ACTIONS(1192), 1, + aux_sym_delete_statement_token3, + ACTIONS(1194), 1, + sym_identifier, + STATE(524), 1, + sym_delete_using, + STATE(565), 1, + sym_where_filter, + STATE(901), 1, + sym_into, + ACTIONS(1188), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [20915] = 11, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1097), 1, + aux_sym_conflict_target_token1, + ACTIONS(1099), 1, + aux_sym_create_index_statement_token1, + ACTIONS(1103), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(1105), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(1107), 1, + aux_sym_table_constraint_ty_token4, + ACTIONS(1111), 1, + sym_identifier, + ACTIONS(1196), 1, + anon_sym_RPAREN, + STATE(569), 1, + sym_table_constraint_ty, + STATE(787), 1, + sym_create_table_item, + STATE(837), 2, + sym_table_constraint, + sym_table_column_item, + [20950] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1198), 11, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [20967] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1200), 11, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_conflict_target_token1, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token1, + aux_sym_alter_column_action_token2, + aux_sym_table_constraint_ty_token1, + aux_sym_table_constraint_ty_token2, + aux_sym_constraint_foreign_key_token1, + [20984] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(784), 1, + anon_sym_LPAREN, + ACTIONS(842), 1, + aux_sym_delete_statement_token3, + ACTIONS(1147), 1, + aux_sym_insert_items_token1, + ACTIONS(1149), 1, + aux_sym_insert_items_token2, + ACTIONS(1151), 1, + aux_sym_select_statement_token1, + STATE(480), 1, + sym_as, + STATE(495), 1, + sym_insert_items, + STATE(517), 1, + sym__list_of_identifiers, + STATE(573), 1, + sym_select_statement, + STATE(973), 1, + sym_with_query, + [21021] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1202), 10, + anon_sym_SEMI, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + [21037] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1204), 10, + anon_sym_SEMI, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + [21053] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1206), 10, + anon_sym_SEMI, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + [21069] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1208), 1, + anon_sym_COMMA, + STATE(453), 1, + aux_sym_delete_using_repeat1, + ACTIONS(1073), 8, + anon_sym_SEMI, + anon_sym_RPAREN, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [21089] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(500), 1, + sym_select_order_by, + STATE(612), 1, + sym_select_limit, + ACTIONS(1211), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [21115] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1213), 10, + anon_sym_SEMI, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + [21131] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1215), 10, + anon_sym_SEMI, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + [21147] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1217), 10, + anon_sym_SEMI, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + [21163] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(508), 1, + sym_select_order_by, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [21189] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1219), 1, + anon_sym_COMMA, + STATE(475), 1, + aux_sym_delete_using_repeat1, + ACTIONS(1061), 8, + anon_sym_SEMI, + anon_sym_RPAREN, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [21209] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(507), 1, + sym_select_order_by, + STATE(580), 1, + sym_select_limit, + ACTIONS(919), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [21235] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1221), 10, + anon_sym_SEMI, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + [21251] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(493), 1, + sym_select_order_by, + STATE(595), 1, + sym_select_limit, + ACTIONS(1091), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [21277] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(494), 1, + sym_select_order_by, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [21303] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1223), 10, + anon_sym_SEMI, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + [21319] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1097), 1, + aux_sym_conflict_target_token1, + ACTIONS(1099), 1, + aux_sym_create_index_statement_token1, + ACTIONS(1103), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(1105), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(1107), 1, + aux_sym_table_constraint_ty_token4, + ACTIONS(1111), 1, + sym_identifier, + STATE(569), 1, + sym_table_constraint_ty, + STATE(879), 1, + sym_create_table_item, + STATE(837), 2, + sym_table_constraint, + sym_table_column_item, + [21351] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(147), 1, + aux_sym_insert_statement_token2, + ACTIONS(1139), 1, + aux_sym_index_using_token1, + ACTIONS(1143), 1, + aux_sym_where_filter_token1, + ACTIONS(1190), 1, + aux_sym_insert_returning_token1, + ACTIONS(1194), 1, + sym_identifier, + STATE(524), 1, + sym_delete_using, + STATE(565), 1, + sym_where_filter, + STATE(901), 1, + sym_into, + ACTIONS(1188), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [21383] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(147), 1, + aux_sym_insert_statement_token2, + ACTIONS(1139), 1, + aux_sym_index_using_token1, + ACTIONS(1143), 1, + aux_sym_where_filter_token1, + ACTIONS(1227), 1, + aux_sym_insert_returning_token1, + ACTIONS(1229), 1, + sym_identifier, + STATE(516), 1, + sym_delete_using, + STATE(593), 1, + sym_where_filter, + STATE(844), 1, + sym_into, + ACTIONS(1225), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [21415] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(489), 1, + sym_select_order_by, + STATE(596), 1, + sym_select_limit, + ACTIONS(866), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [21441] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1231), 10, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + [21457] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(400), 10, + ts_builtin_sym_end, + aux_sym_insert_statement_token1, + aux_sym_insert_conflict_token3, + aux_sym_create_table_statement_token1, + aux_sym_delete_statement_token1, + aux_sym_alter_table_statement_token1, + aux_sym_grant_statement_token1, + anon_sym_BSLASH, + aux_sym_sequence_start_token2, + aux_sym_select_statement_token1, + [21473] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1233), 10, + anon_sym_SEMI, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + [21489] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(503), 1, + sym_select_order_by, + STATE(589), 1, + sym_select_limit, + ACTIONS(760), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [21515] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + ACTIONS(740), 1, + aux_sym_select_order_by_token1, + STATE(497), 1, + sym_select_order_by, + STATE(590), 1, + sym_select_limit, + ACTIONS(1021), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [21541] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1235), 10, + anon_sym_SEMI, + aux_sym_delete_statement_token3, + aux_sym_fk_ref_action_token1, + aux_sym_sequence_increment_token1, + aux_sym_sequence_min_token1, + aux_sym_sequence_max_token1, + aux_sym_sequence_start_token1, + aux_sym_sequence_cache_token1, + aux_sym_sequence_cycle_token1, + aux_sym_sequence_owned_token1, + [21557] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1219), 1, + anon_sym_COMMA, + STATE(453), 1, + aux_sym_delete_using_repeat1, + ACTIONS(1080), 8, + anon_sym_SEMI, + anon_sym_RPAREN, + aux_sym_grant_roles_token2, + aux_sym_select_having_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + aux_sym_select_order_by_token1, + aux_sym_where_filter_token1, + [21577] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1239), 1, + anon_sym_COMMA, + STATE(477), 1, + aux_sym_select_order_by_repeat1, + ACTIONS(1237), 7, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + [21596] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1243), 1, + anon_sym_COMMA, + STATE(477), 1, + aux_sym_select_order_by_repeat1, + ACTIONS(1241), 7, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + [21615] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(7), 1, + aux_sym_insert_statement_token1, + ACTIONS(13), 1, + aux_sym_delete_statement_token1, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(23), 1, + aux_sym_select_statement_token1, + STATE(706), 1, + sym_with_query, + STATE(945), 4, + sym__with_query_statement, + sym_insert_statement, + sym_delete_statement, + sym_select_statement, + [21640] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1246), 1, + aux_sym_insert_returning_token1, + ACTIONS(1248), 1, + aux_sym_index_using_token1, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + STATE(516), 1, + sym_delete_using, + STATE(593), 1, + sym_where_filter, + STATE(844), 1, + sym_into, + ACTIONS(1225), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [21669] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(784), 1, + anon_sym_LPAREN, + ACTIONS(1147), 1, + aux_sym_insert_items_token1, + ACTIONS(1149), 1, + aux_sym_insert_items_token2, + ACTIONS(1151), 1, + aux_sym_select_statement_token1, + STATE(504), 1, + sym_insert_items, + STATE(509), 1, + sym__list_of_identifiers, + STATE(573), 1, + sym_select_statement, + STATE(973), 1, + sym_with_query, + [21700] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(7), 1, + aux_sym_insert_statement_token1, + ACTIONS(13), 1, + aux_sym_delete_statement_token1, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(23), 1, + aux_sym_select_statement_token1, + STATE(706), 1, + sym_with_query, + STATE(1071), 4, + sym__with_query_statement, + sym_insert_statement, + sym_delete_statement, + sym_select_statement, + [21725] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(941), 1, + aux_sym_insert_items_token1, + ACTIONS(947), 1, + aux_sym_alter_column_action_token1, + ACTIONS(949), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(951), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(953), 1, + aux_sym_constraint_foreign_key_token1, + STATE(403), 1, + sym_column_constraint_ty, + STATE(411), 1, + sym_constraint_foreign_key, + ACTIONS(945), 2, + aux_sym_create_index_statement_token1, + aux_sym_alter_column_action_token2, + [21754] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1239), 1, + anon_sym_COMMA, + STATE(476), 1, + aux_sym_select_order_by_repeat1, + ACTIONS(1252), 7, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + [21773] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1256), 1, + aux_sym_grant_privileges_token1, + ACTIONS(1260), 1, + sym_identifier, + STATE(930), 1, + sym_grant_targets, + ACTIONS(1254), 3, + aux_sym_create_table_statement_token3, + aux_sym_create_schema_statement_token1, + aux_sym_grant_targets_token5, + ACTIONS(1258), 3, + aux_sym_grant_targets_token6, + aux_sym_grant_targets_token7, + aux_sym_grant_targets_token8, + [21796] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1248), 1, + aux_sym_index_using_token1, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1264), 1, + aux_sym_insert_returning_token1, + STATE(520), 1, + sym_delete_using, + STATE(610), 1, + sym_where_filter, + STATE(824), 1, + sym_into, + ACTIONS(1262), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [21825] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(7), 1, + aux_sym_insert_statement_token1, + ACTIONS(13), 1, + aux_sym_delete_statement_token1, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(23), 1, + aux_sym_select_statement_token1, + STATE(706), 1, + sym_with_query, + STATE(1016), 4, + sym__with_query_statement, + sym_insert_statement, + sym_delete_statement, + sym_select_statement, + [21850] = 10, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(784), 1, + anon_sym_LPAREN, + ACTIONS(1147), 1, + aux_sym_insert_items_token1, + ACTIONS(1149), 1, + aux_sym_insert_items_token2, + ACTIONS(1151), 1, + aux_sym_select_statement_token1, + STATE(495), 1, + sym_insert_items, + STATE(517), 1, + sym__list_of_identifiers, + STATE(573), 1, + sym_select_statement, + STATE(973), 1, + sym_with_query, + [21881] = 9, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1248), 1, + aux_sym_index_using_token1, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1266), 1, + aux_sym_insert_returning_token1, + STATE(524), 1, + sym_delete_using, + STATE(565), 1, + sym_where_filter, + STATE(901), 1, + sym_into, + ACTIONS(1188), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [21910] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + STATE(580), 1, + sym_select_limit, + ACTIONS(919), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [21930] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1270), 1, + anon_sym_COMMA, + STATE(513), 1, + aux_sym_insert_conflict_repeat1, + STATE(621), 1, + sym_where_filter, + ACTIONS(1268), 4, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + [21952] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1272), 8, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + [21966] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1276), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1278), 1, + aux_sym_insert_returning_token1, + STATE(549), 1, + sym_insert_conflict, + STATE(657), 1, + sym_insert_returning, + STATE(884), 1, + sym_into, + ACTIONS(1274), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [21992] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + STATE(612), 1, + sym_select_limit, + ACTIONS(1211), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [22012] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + STATE(570), 1, + sym_select_limit, + ACTIONS(726), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [22032] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1276), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1278), 1, + aux_sym_insert_returning_token1, + STATE(560), 1, + sym_insert_conflict, + STATE(643), 1, + sym_insert_returning, + STATE(868), 1, + sym_into, + ACTIONS(1280), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22058] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1282), 8, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + [22072] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + STATE(595), 1, + sym_select_limit, + ACTIONS(1091), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [22092] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1241), 8, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + aux_sym_select_limit_token1, + aux_sym_select_limit_token2, + [22106] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1270), 1, + anon_sym_COMMA, + STATE(490), 1, + aux_sym_insert_conflict_repeat1, + STATE(633), 1, + sym_where_filter, + ACTIONS(1284), 4, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + [22128] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + STATE(603), 1, + sym_select_limit, + ACTIONS(1286), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [22148] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1290), 1, + aux_sym_trigger_scope_token1, + ACTIONS(1292), 1, + aux_sym_trigger_exec_token1, + ACTIONS(1294), 1, + aux_sym_trigger_cond_token1, + STATE(653), 1, + sym_trigger_scope, + STATE(874), 1, + sym_trigger_cond, + STATE(1109), 1, + sym_trigger_exec, + ACTIONS(1288), 2, + aux_sym_update_set_token1, + aux_sym_trigger_scope_token3, + [22174] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1276), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1278), 1, + aux_sym_insert_returning_token1, + STATE(556), 1, + sym_insert_conflict, + STATE(641), 1, + sym_insert_returning, + STATE(877), 1, + sym_into, + ACTIONS(1296), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22200] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + STATE(596), 1, + sym_select_limit, + ACTIONS(866), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [22220] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1276), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1278), 1, + aux_sym_insert_returning_token1, + STATE(561), 1, + sym_insert_conflict, + STATE(651), 1, + sym_insert_returning, + STATE(902), 1, + sym_into, + ACTIONS(1298), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22246] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1290), 1, + aux_sym_trigger_scope_token1, + ACTIONS(1292), 1, + aux_sym_trigger_exec_token1, + ACTIONS(1294), 1, + aux_sym_trigger_cond_token1, + STATE(679), 1, + sym_trigger_scope, + STATE(908), 1, + sym_trigger_cond, + STATE(1145), 1, + sym_trigger_exec, + ACTIONS(1288), 2, + aux_sym_update_set_token1, + aux_sym_trigger_scope_token3, + [22272] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + STATE(617), 1, + sym_select_limit, + ACTIONS(127), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [22292] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + STATE(590), 1, + sym_select_limit, + ACTIONS(1021), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [22312] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(736), 1, + aux_sym_select_limit_token1, + ACTIONS(738), 1, + aux_sym_select_limit_token2, + STATE(589), 1, + sym_select_limit, + ACTIONS(760), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [22332] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(1147), 1, + aux_sym_insert_items_token1, + ACTIONS(1149), 1, + aux_sym_insert_items_token2, + ACTIONS(1151), 1, + aux_sym_select_statement_token1, + STATE(492), 1, + sym_insert_items, + STATE(573), 1, + sym_select_statement, + STATE(973), 1, + sym_with_query, + [22357] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1300), 1, + anon_sym_LPAREN, + ACTIONS(1302), 1, + sym_identifier, + STATE(293), 1, + sym_function_call, + STATE(418), 1, + sym_from_item, + STATE(270), 3, + sym_from_select, + sym_from_table, + sym_from_function, + [22378] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1306), 1, + aux_sym_predefined_types_token1, + ACTIONS(1308), 1, + sym_identifier, + STATE(683), 2, + sym__type, + sym_predefined_types, + ACTIONS(1304), 3, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_LBRACK, + [22397] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1300), 1, + anon_sym_LPAREN, + ACTIONS(1310), 1, + sym_identifier, + STATE(349), 1, + sym_function_call, + STATE(459), 1, + sym_from_item, + STATE(326), 3, + sym_from_select, + sym_from_table, + sym_from_function, + [22418] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1314), 1, + anon_sym_COMMA, + STATE(513), 1, + aux_sym_insert_conflict_repeat1, + ACTIONS(1312), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [22435] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1319), 1, + anon_sym_COMMA, + STATE(529), 1, + aux_sym_delete_using_repeat1, + ACTIONS(1317), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [22452] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1306), 1, + aux_sym_predefined_types_token1, + ACTIONS(1321), 1, + sym_identifier, + STATE(809), 2, + sym__type, + sym_predefined_types, + ACTIONS(1304), 3, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_LBRACK, + [22471] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1264), 1, + aux_sym_insert_returning_token1, + STATE(610), 1, + sym_where_filter, + STATE(824), 1, + sym_into, + ACTIONS(1262), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22494] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(1147), 1, + aux_sym_insert_items_token1, + ACTIONS(1149), 1, + aux_sym_insert_items_token2, + ACTIONS(1151), 1, + aux_sym_select_statement_token1, + STATE(504), 1, + sym_insert_items, + STATE(573), 1, + sym_select_statement, + STATE(973), 1, + sym_with_query, + [22519] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1300), 1, + anon_sym_LPAREN, + ACTIONS(1302), 1, + sym_identifier, + STATE(293), 1, + sym_function_call, + STATE(402), 1, + sym_from_item, + STATE(270), 3, + sym_from_select, + sym_from_table, + sym_from_function, + [22540] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1319), 1, + anon_sym_COMMA, + STATE(514), 1, + aux_sym_delete_using_repeat1, + ACTIONS(1323), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [22557] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1327), 1, + aux_sym_insert_returning_token1, + STATE(583), 1, + sym_where_filter, + STATE(906), 1, + sym_into, + ACTIONS(1325), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22580] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1333), 1, + aux_sym_index_col_nulls_token1, + STATE(636), 1, + sym_index_col_dir, + STATE(852), 1, + sym_index_col_nulls, + ACTIONS(1329), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + ACTIONS(1331), 2, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + [22601] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(1147), 1, + aux_sym_insert_items_token1, + ACTIONS(1149), 1, + aux_sym_insert_items_token2, + ACTIONS(1151), 1, + aux_sym_select_statement_token1, + STATE(495), 1, + sym_insert_items, + STATE(573), 1, + sym_select_statement, + STATE(973), 1, + sym_with_query, + [22626] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1300), 1, + anon_sym_LPAREN, + ACTIONS(1335), 1, + sym_identifier, + STATE(374), 1, + sym_function_call, + STATE(418), 1, + sym_from_item, + STATE(357), 3, + sym_from_select, + sym_from_table, + sym_from_function, + [22647] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1246), 1, + aux_sym_insert_returning_token1, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + STATE(593), 1, + sym_where_filter, + STATE(844), 1, + sym_into, + ACTIONS(1225), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22670] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1300), 1, + anon_sym_LPAREN, + ACTIONS(1310), 1, + sym_identifier, + STATE(349), 1, + sym_function_call, + STATE(418), 1, + sym_from_item, + STATE(326), 3, + sym_from_select, + sym_from_table, + sym_from_function, + [22691] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1300), 1, + anon_sym_LPAREN, + ACTIONS(1335), 1, + sym_identifier, + STATE(374), 1, + sym_function_call, + STATE(519), 1, + sym_from_item, + STATE(357), 3, + sym_from_select, + sym_from_table, + sym_from_function, + [22712] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1266), 1, + aux_sym_insert_returning_token1, + STATE(565), 1, + sym_where_filter, + STATE(901), 1, + sym_into, + ACTIONS(1188), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22735] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1333), 1, + aux_sym_index_col_nulls_token1, + STATE(650), 1, + sym_index_col_dir, + STATE(813), 1, + sym_index_col_nulls, + ACTIONS(1331), 2, + aux_sym_index_col_dir_token1, + aux_sym_index_col_dir_token2, + ACTIONS(1337), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [22756] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1339), 1, + anon_sym_COMMA, + STATE(529), 1, + aux_sym_delete_using_repeat1, + ACTIONS(1073), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [22773] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(750), 1, + aux_sym_join_item_token3, + ACTIONS(752), 1, + aux_sym_join_type_token1, + STATE(904), 1, + sym_join_type, + ACTIONS(754), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + [22791] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(554), 1, + aux_sym_insert_returning_repeat1, + STATE(847), 1, + sym_into, + ACTIONS(1342), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22811] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(618), 1, + aux_sym_insert_returning_repeat1, + STATE(828), 1, + sym_into, + ACTIONS(1346), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22831] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(750), 1, + aux_sym_join_item_token3, + ACTIONS(752), 1, + aux_sym_join_type_token1, + STATE(859), 1, + sym_join_type, + ACTIONS(754), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + [22849] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(539), 1, + aux_sym_insert_returning_repeat1, + STATE(828), 1, + sym_into, + ACTIONS(1346), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22869] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(559), 1, + aux_sym_insert_returning_repeat1, + STATE(906), 1, + sym_into, + ACTIONS(1325), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22889] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(750), 1, + aux_sym_join_item_token3, + ACTIONS(752), 1, + aux_sym_join_type_token1, + STATE(842), 1, + sym_join_type, + ACTIONS(754), 3, + aux_sym_join_type_token2, + aux_sym_join_type_token4, + aux_sym_join_type_token5, + [22907] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(618), 1, + aux_sym_insert_returning_repeat1, + STATE(906), 1, + sym_into, + ACTIONS(1325), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22927] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(618), 1, + aux_sym_insert_returning_repeat1, + STATE(824), 1, + sym_into, + ACTIONS(1262), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22947] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(618), 1, + aux_sym_insert_returning_repeat1, + STATE(841), 1, + sym_into, + ACTIONS(1348), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [22967] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(390), 6, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [22979] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1350), 6, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [22991] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1312), 6, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [23003] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(537), 1, + aux_sym_insert_returning_repeat1, + STATE(824), 1, + sym_into, + ACTIONS(1262), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23023] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1352), 6, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [23035] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1354), 6, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [23047] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1356), 6, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + aux_sym_where_filter_token1, + [23059] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1360), 1, + sym_identifier, + STATE(872), 1, + sym_var_declaration, + ACTIONS(1358), 2, + aux_sym_body_token1, + aux_sym_declarations_token1, + STATE(547), 2, + sym_var_definition, + aux_sym_declarations_repeat1, + [23077] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(955), 1, + anon_sym_LBRACK, + ACTIONS(1363), 5, + anon_sym_SEMI, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_COLON_EQ, + [23091] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1278), 1, + aux_sym_insert_returning_token1, + STATE(632), 1, + sym_insert_returning, + STATE(878), 1, + sym_into, + ACTIONS(1365), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23111] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(532), 1, + aux_sym_insert_returning_repeat1, + STATE(867), 1, + sym_into, + ACTIONS(1367), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23131] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1371), 1, + aux_sym_insert_conflict_token6, + ACTIONS(1373), 1, + aux_sym_alter_table_action_token3, + ACTIONS(1375), 1, + aux_sym_alter_column_action_token3, + STATE(910), 1, + sym_alter_column_action, + ACTIONS(1369), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [23151] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1371), 1, + aux_sym_insert_conflict_token6, + ACTIONS(1373), 1, + aux_sym_alter_table_action_token3, + ACTIONS(1375), 1, + aux_sym_alter_column_action_token3, + STATE(849), 1, + sym_alter_column_action, + ACTIONS(1377), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [23171] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1381), 1, + sym_identifier, + STATE(872), 1, + sym_var_declaration, + ACTIONS(1379), 2, + aux_sym_body_token1, + aux_sym_declarations_token1, + STATE(547), 2, + sym_var_definition, + aux_sym_declarations_repeat1, + [23189] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(618), 1, + aux_sym_insert_returning_repeat1, + STATE(867), 1, + sym_into, + ACTIONS(1367), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23209] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1385), 1, + aux_sym_grant_roles_token2, + STATE(947), 1, + sym_grant_roles, + ACTIONS(1383), 4, + aux_sym_schema_role_token2, + aux_sym_schema_role_token3, + aux_sym_grant_roles_token1, + sym_identifier, + [23225] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1278), 1, + aux_sym_insert_returning_token1, + STATE(643), 1, + sym_insert_returning, + STATE(868), 1, + sym_into, + ACTIONS(1280), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23245] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(538), 1, + aux_sym_insert_returning_repeat1, + STATE(844), 1, + sym_into, + ACTIONS(1225), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23265] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1381), 1, + sym_identifier, + STATE(872), 1, + sym_var_declaration, + ACTIONS(1387), 2, + aux_sym_body_token1, + aux_sym_declarations_token1, + STATE(553), 2, + sym_var_definition, + aux_sym_declarations_repeat1, + [23283] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(618), 1, + aux_sym_insert_returning_repeat1, + STATE(847), 1, + sym_into, + ACTIONS(1342), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23303] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1278), 1, + aux_sym_insert_returning_token1, + STATE(651), 1, + sym_insert_returning, + STATE(902), 1, + sym_into, + ACTIONS(1298), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23323] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1278), 1, + aux_sym_insert_returning_token1, + STATE(657), 1, + sym_insert_returning, + STATE(884), 1, + sym_into, + ACTIONS(1274), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23343] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1389), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23354] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(431), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23365] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1391), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23376] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1246), 1, + aux_sym_insert_returning_token1, + STATE(844), 1, + sym_into, + ACTIONS(1225), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23393] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1393), 1, + anon_sym_SEMI, + STATE(1042), 1, + sym_function_volatility, + ACTIONS(1395), 3, + aux_sym_function_volatility_token1, + aux_sym_function_volatility_token2, + aux_sym_function_volatility_token3, + [23408] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1306), 1, + aux_sym_predefined_types_token1, + ACTIONS(1397), 1, + sym_identifier, + STATE(845), 1, + sym_alter_column_type, + STATE(623), 2, + sym__type, + sym_predefined_types, + [23425] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1399), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1401), 1, + aux_sym_create_index_statement_token3, + ACTIONS(1403), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1405), 1, + sym_identifier, + STATE(888), 1, + sym_if_not_exists, + [23444] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1067), 1, + aux_sym_constraint_when_token1, + STATE(792), 1, + sym_constraint_when, + ACTIONS(1407), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [23459] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(760), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23470] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1067), 1, + aux_sym_constraint_when_token1, + STATE(724), 1, + sym_constraint_when, + ACTIONS(1409), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [23485] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1411), 1, + aux_sym_body_token1, + ACTIONS(1413), 1, + aux_sym_declarations_token1, + STATE(881), 1, + sym_body, + STATE(680), 2, + sym_declarations, + aux_sym_block_repeat1, + [23502] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1415), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23513] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1417), 1, + anon_sym_SEMI, + STATE(1088), 1, + sym_function_volatility, + ACTIONS(1395), 3, + aux_sym_function_volatility_token1, + aux_sym_function_volatility_token2, + aux_sym_function_volatility_token3, + [23528] = 4, + ACTIONS(3), 1, + sym_comment, + STATE(910), 1, + sym_alter_table_fk_ref_action, + ACTIONS(1369), 2, + anon_sym_SEMI, + anon_sym_COMMA, + ACTIONS(1419), 2, + aux_sym_fk_ref_action_token3, + aux_sym_fk_ref_action_token4, + [23543] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(591), 1, + aux_sym_insert_returning_repeat1, + ACTIONS(1421), 3, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + [23558] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1425), 1, + anon_sym_COMMA, + STATE(577), 1, + aux_sym_with_query_repeat1, + ACTIONS(1423), 3, + aux_sym_insert_statement_token1, + aux_sym_delete_statement_token1, + aux_sym_select_statement_token1, + [23573] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(127), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23584] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1306), 1, + aux_sym_predefined_types_token1, + ACTIONS(1397), 1, + sym_identifier, + STATE(829), 1, + sym_alter_column_type, + STATE(623), 2, + sym__type, + sym_predefined_types, + [23601] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1021), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23612] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1428), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23623] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1430), 1, + anon_sym_SEMI, + ACTIONS(1432), 1, + aux_sym_index_includes_token1, + STATE(795), 1, + sym_index_includes, + STATE(1051), 1, + sym_where_filter, + [23642] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1434), 1, + aux_sym_insert_returning_token1, + STATE(847), 1, + sym_into, + ACTIONS(1342), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23659] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1436), 1, + aux_sym_create_index_statement_token1, + ACTIONS(1438), 1, + aux_sym_table_constraint_ty_token1, + ACTIONS(1440), 1, + aux_sym_table_constraint_ty_token2, + ACTIONS(1442), 1, + aux_sym_table_constraint_ty_token4, + STATE(571), 1, + sym_table_constraint_ty, + [23678] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(1444), 1, + anon_sym_DOLLAR, + STATE(609), 1, + sym_dollar_quote, + STATE(1011), 2, + sym_block, + sym_string, + [23695] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1446), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23706] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1450), 1, + anon_sym_COMMA, + STATE(577), 1, + aux_sym_with_query_repeat1, + ACTIONS(1448), 3, + aux_sym_insert_statement_token1, + aux_sym_delete_statement_token1, + aux_sym_select_statement_token1, + [23721] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1454), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1456), 1, + sym_identifier, + STATE(932), 1, + sym_if_exists, + ACTIONS(1452), 2, + aux_sym_conflict_target_token1, + aux_sym_alter_table_action_token2, + [23738] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(866), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23749] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1091), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23760] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1344), 1, + anon_sym_COMMA, + STATE(618), 1, + aux_sym_insert_returning_repeat1, + ACTIONS(1458), 3, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + [23775] = 3, + ACTIONS(3), 1, + sym_comment, + STATE(1063), 1, + sym_trigger_event, + ACTIONS(1460), 4, + aux_sym_insert_statement_token1, + aux_sym_insert_conflict_token5, + aux_sym_delete_statement_token1, + aux_sym_trigger_event_token1, + [23788] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1264), 1, + aux_sym_insert_returning_token1, + STATE(824), 1, + sym_into, + ACTIONS(1262), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23805] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1432), 1, + aux_sym_index_includes_token1, + ACTIONS(1462), 1, + anon_sym_SEMI, + STATE(761), 1, + sym_index_includes, + STATE(991), 1, + sym_where_filter, + [23824] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1211), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23835] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(919), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23846] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1432), 1, + aux_sym_index_includes_token1, + ACTIONS(1464), 1, + anon_sym_SEMI, + STATE(686), 1, + sym_index_includes, + STATE(1032), 1, + sym_where_filter, + [23865] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1403), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1466), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1468), 1, + aux_sym_create_index_statement_token3, + ACTIONS(1470), 1, + sym_identifier, + STATE(839), 1, + sym_if_not_exists, + [23884] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1266), 1, + aux_sym_insert_returning_token1, + STATE(901), 1, + sym_into, + ACTIONS(1188), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [23901] = 4, + ACTIONS(3), 1, + sym_comment, + STATE(849), 1, + sym_alter_table_fk_ref_action, + ACTIONS(1377), 2, + anon_sym_SEMI, + anon_sym_COMMA, + ACTIONS(1419), 2, + aux_sym_fk_ref_action_token3, + aux_sym_fk_ref_action_token4, + [23916] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1432), 1, + aux_sym_index_includes_token1, + ACTIONS(1472), 1, + anon_sym_SEMI, + STATE(764), 1, + sym_index_includes, + STATE(992), 1, + sym_where_filter, + [23935] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(1444), 1, + anon_sym_DOLLAR, + STATE(609), 1, + sym_dollar_quote, + STATE(1006), 2, + sym_block, + sym_string, + [23952] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1474), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [23963] = 3, + ACTIONS(3), 1, + sym_comment, + STATE(989), 1, + sym_trigger_event, + ACTIONS(1460), 4, + aux_sym_insert_statement_token1, + aux_sym_insert_conflict_token5, + aux_sym_delete_statement_token1, + aux_sym_trigger_event_token1, + [23976] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1432), 1, + aux_sym_index_includes_token1, + ACTIONS(1476), 1, + anon_sym_SEMI, + STATE(779), 1, + sym_index_includes, + STATE(1007), 1, + sym_where_filter, + [23995] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1478), 1, + aux_sym_schema_role_token1, + ACTIONS(1480), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1482), 1, + sym_identifier, + STATE(812), 1, + sym_if_not_exists, + STATE(1033), 1, + sym_schema_role, + [24014] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1450), 1, + anon_sym_COMMA, + STATE(587), 1, + aux_sym_with_query_repeat1, + ACTIONS(1484), 3, + aux_sym_insert_statement_token1, + aux_sym_delete_statement_token1, + aux_sym_select_statement_token1, + [24029] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1486), 1, + aux_sym_create_table_statement_token3, + ACTIONS(1488), 1, + aux_sym_return_setof_token1, + ACTIONS(1490), 1, + sym_identifier, + STATE(950), 2, + sym_return_setof, + sym_return_table, + [24046] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1411), 1, + aux_sym_body_token1, + ACTIONS(1413), 1, + aux_sym_declarations_token1, + STATE(814), 1, + sym_body, + STATE(572), 2, + sym_declarations, + aux_sym_block_repeat1, + [24063] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + ACTIONS(1327), 1, + aux_sym_insert_returning_token1, + STATE(906), 1, + sym_into, + ACTIONS(1325), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [24080] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1432), 1, + aux_sym_index_includes_token1, + ACTIONS(1492), 1, + anon_sym_SEMI, + STATE(746), 1, + sym_index_includes, + STATE(1101), 1, + sym_where_filter, + [24099] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1286), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [24110] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1017), 1, + aux_sym_insert_statement_token2, + ACTIONS(1019), 1, + sym_identifier, + ACTIONS(1015), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [24125] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1432), 1, + aux_sym_index_includes_token1, + ACTIONS(1494), 1, + anon_sym_SEMI, + STATE(803), 1, + sym_index_includes, + STATE(1018), 1, + sym_where_filter, + [24144] = 4, + ACTIONS(3), 1, + sym_comment, + STATE(893), 1, + sym_alter_table_fk_ref_action, + ACTIONS(1419), 2, + aux_sym_fk_ref_action_token3, + aux_sym_fk_ref_action_token4, + ACTIONS(1496), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [24159] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1498), 1, + aux_sym_insert_conflict_token6, + ACTIONS(1500), 1, + aux_sym_fk_ref_action_token1, + STATE(405), 1, + sym_fk_ref_action, + ACTIONS(1502), 2, + aux_sym_fk_ref_action_token3, + aux_sym_fk_ref_action_token4, + [24176] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(726), 5, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_conflict_token1, + aux_sym_insert_returning_token1, + [24187] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1504), 1, + anon_sym_COMMA, + STATE(618), 1, + aux_sym_insert_returning_repeat1, + ACTIONS(1010), 3, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + [24202] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1509), 1, + aux_sym_grant_roles_token2, + ACTIONS(1507), 4, + aux_sym_schema_role_token2, + aux_sym_schema_role_token3, + aux_sym_grant_roles_token1, + sym_identifier, + [24215] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1511), 1, + aux_sym_conflict_target_token1, + ACTIONS(1513), 1, + aux_sym_alter_table_action_token2, + ACTIONS(1515), 1, + aux_sym_alter_table_rename_column_token2, + ACTIONS(1517), 1, + sym_identifier, + [24231] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1519), 4, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + [24241] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1306), 1, + aux_sym_predefined_types_token1, + ACTIONS(1521), 1, + sym_identifier, + STATE(363), 2, + sym__type, + sym_predefined_types, + [24255] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(955), 1, + anon_sym_LBRACK, + ACTIONS(1525), 1, + aux_sym_index_using_token1, + ACTIONS(1523), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [24269] = 4, + ACTIONS(1527), 1, + anon_sym_SQUOTE, + ACTIONS(1531), 1, + sym_comment, + STATE(668), 1, + aux_sym_string_repeat1, + ACTIONS(1529), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24283] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1533), 1, + anon_sym_COMMA, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + ACTIONS(312), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [24297] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1536), 1, + anon_sym_SQUOTE, + STATE(627), 1, + aux_sym_string_repeat1, + ACTIONS(1538), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24311] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1540), 1, + anon_sym_SQUOTE, + STATE(648), 1, + aux_sym_string_repeat1, + ACTIONS(1542), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24325] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + ACTIONS(1544), 1, + sym_identifier, + STATE(499), 1, + sym_update_set, + STATE(1024), 1, + sym__list_of_identifiers, + [24341] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1546), 1, + anon_sym_SQUOTE, + STATE(648), 1, + aux_sym_string_repeat1, + ACTIONS(1542), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24355] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(955), 1, + anon_sym_LBRACK, + ACTIONS(1548), 1, + anon_sym_COMMA, + ACTIONS(1550), 1, + anon_sym_RPAREN, + STATE(718), 1, + aux_sym_grant_function_repeat1, + [24371] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1554), 1, + anon_sym_COMMA, + STATE(631), 1, + aux_sym_return_table_repeat1, + ACTIONS(1552), 2, + aux_sym_insert_items_token1, + anon_sym_RPAREN, + [24385] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + STATE(816), 1, + sym_into, + ACTIONS(1557), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [24399] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1268), 4, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + [24409] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + ACTIONS(1544), 1, + sym_identifier, + STATE(542), 1, + sym_update_set, + STATE(1024), 1, + sym__list_of_identifiers, + [24425] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1115), 1, + aux_sym_alter_table_statement_token1, + ACTIONS(1117), 1, + aux_sym_alter_table_action_token1, + ACTIONS(1119), 1, + aux_sym_alter_table_action_token3, + STATE(861), 1, + sym_alter_table_action, + [24441] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1333), 1, + aux_sym_index_col_nulls_token1, + STATE(891), 1, + sym_index_col_nulls, + ACTIONS(1559), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [24455] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1561), 4, + aux_sym_insert_statement_token1, + anon_sym_COMMA, + aux_sym_delete_statement_token1, + aux_sym_select_statement_token1, + [24465] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1563), 1, + anon_sym_SQUOTE, + STATE(629), 1, + aux_sym_string_repeat1, + ACTIONS(1565), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24479] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1567), 1, + aux_sym_insert_items_token1, + ACTIONS(1569), 1, + anon_sym_COMMA, + ACTIONS(1571), 1, + anon_sym_RPAREN, + STATE(671), 1, + aux_sym_return_table_repeat1, + [24495] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(23), 1, + aux_sym_select_statement_token1, + STATE(1003), 1, + sym_with_query, + STATE(1091), 1, + sym_select_statement, + [24511] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + STATE(868), 1, + sym_into, + ACTIONS(1280), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [24525] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1573), 1, + anon_sym_SQUOTE, + STATE(652), 1, + aux_sym_string_repeat1, + ACTIONS(1575), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24539] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + STATE(902), 1, + sym_into, + ACTIONS(1298), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [24553] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1577), 4, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_constraint_when_token1, + [24563] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1579), 1, + anon_sym_LPAREN, + ACTIONS(1581), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1583), 1, + aux_sym_insert_conflict_token3, + STATE(939), 1, + sym_conflict_target, + [24579] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1585), 4, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_body_token1, + aux_sym_declarations_token1, + [24589] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1587), 4, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_constraint_when_token1, + [24599] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1589), 1, + anon_sym_SQUOTE, + STATE(648), 1, + aux_sym_string_repeat1, + ACTIONS(1591), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24613] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1399), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1403), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1405), 1, + sym_identifier, + STATE(888), 1, + sym_if_not_exists, + [24629] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1333), 1, + aux_sym_index_col_nulls_token1, + STATE(826), 1, + sym_index_col_nulls, + ACTIONS(1594), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [24643] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + STATE(884), 1, + sym_into, + ACTIONS(1274), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [24657] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1596), 1, + anon_sym_SQUOTE, + STATE(648), 1, + aux_sym_string_repeat1, + ACTIONS(1542), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24671] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1292), 1, + aux_sym_trigger_exec_token1, + ACTIONS(1294), 1, + aux_sym_trigger_cond_token1, + STATE(833), 1, + sym_trigger_cond, + STATE(1064), 1, + sym_trigger_exec, + [24687] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1598), 4, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + [24697] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1600), 4, + anon_sym_SEMI, + aux_sym_insert_statement_token2, + anon_sym_RPAREN, + aux_sym_insert_returning_token1, + [24707] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1602), 1, + anon_sym_SQUOTE, + STATE(661), 1, + aux_sym_string_repeat1, + ACTIONS(1604), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24721] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(475), 1, + aux_sym_insert_statement_token2, + STATE(878), 1, + sym_into, + ACTIONS(1365), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [24735] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1423), 4, + aux_sym_insert_statement_token1, + anon_sym_COMMA, + aux_sym_delete_statement_token1, + aux_sym_select_statement_token1, + [24745] = 3, + ACTIONS(3), 1, + sym_comment, + STATE(604), 1, + sym_trigger_when, + ACTIONS(1606), 3, + aux_sym_trigger_when_token1, + aux_sym_trigger_when_token2, + aux_sym_trigger_when_token3, + [24757] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1109), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1111), 1, + sym_identifier, + STATE(849), 1, + sym_table_column_item, + STATE(850), 1, + sym_if_not_exists, + [24773] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1608), 1, + anon_sym_SQUOTE, + STATE(648), 1, + aux_sym_string_repeat1, + ACTIONS(1542), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24787] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1306), 1, + aux_sym_predefined_types_token1, + ACTIONS(1610), 1, + sym_identifier, + STATE(776), 2, + sym__type, + sym_predefined_types, + [24801] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1612), 1, + anon_sym_SQUOTE, + STATE(670), 1, + aux_sym_string_repeat1, + ACTIONS(1614), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24815] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_sequence_start_token2, + ACTIONS(23), 1, + aux_sym_select_statement_token1, + STATE(933), 1, + sym_select_statement, + STATE(1003), 1, + sym_with_query, + [24831] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1616), 4, + aux_sym_insert_statement_token1, + anon_sym_COMMA, + aux_sym_delete_statement_token1, + aux_sym_select_statement_token1, + [24841] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1618), 4, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_constraint_when_token1, + [24851] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1620), 4, + aux_sym_insert_statement_token1, + aux_sym_insert_conflict_token5, + aux_sym_delete_statement_token1, + aux_sym_trigger_event_token1, + [24861] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1622), 1, + anon_sym_SQUOTE, + STATE(648), 1, + aux_sym_string_repeat1, + ACTIONS(1542), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24875] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(774), 1, + sym_identifier, + ACTIONS(1624), 1, + aux_sym_delete_statement_token3, + ACTIONS(768), 2, + aux_sym_insert_conflict_token1, + aux_sym_index_using_token1, + [24889] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1626), 1, + anon_sym_SQUOTE, + STATE(648), 1, + aux_sym_string_repeat1, + ACTIONS(1542), 2, + aux_sym_string_token1, + aux_sym_string_token2, + [24903] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1569), 1, + anon_sym_COMMA, + ACTIONS(1628), 1, + aux_sym_insert_items_token1, + ACTIONS(1630), 1, + anon_sym_RPAREN, + STATE(631), 1, + aux_sym_return_table_repeat1, + [24919] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1632), 4, + aux_sym_insert_statement_token1, + aux_sym_insert_conflict_token5, + aux_sym_delete_statement_token1, + aux_sym_trigger_event_token1, + [24929] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1634), 4, + aux_sym_insert_statement_token1, + anon_sym_COMMA, + aux_sym_delete_statement_token1, + aux_sym_select_statement_token1, + [24939] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1381), 1, + sym_identifier, + ACTIONS(1636), 1, + aux_sym_insert_items_token1, + ACTIONS(1638), 1, + anon_sym_RPAREN, + STATE(639), 1, + sym_var_declaration, + [24955] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1403), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1640), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1642), 1, + sym_identifier, + STATE(870), 1, + sym_if_not_exists, + [24971] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1306), 1, + aux_sym_predefined_types_token1, + ACTIONS(1644), 1, + sym_identifier, + STATE(630), 2, + sym__type, + sym_predefined_types, + [24985] = 3, + ACTIONS(3), 1, + sym_comment, + STATE(592), 1, + sym_trigger_when, + ACTIONS(1606), 3, + aux_sym_trigger_when_token1, + aux_sym_trigger_when_token2, + aux_sym_trigger_when_token3, + [24997] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1648), 1, + sym_identifier, + STATE(1082), 1, + sym_function_call, + ACTIONS(1646), 2, + aux_sym_grant_targets_token6, + aux_sym_grant_targets_token7, + [25011] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1292), 1, + aux_sym_trigger_exec_token1, + ACTIONS(1294), 1, + aux_sym_trigger_cond_token1, + STATE(874), 1, + sym_trigger_cond, + STATE(1109), 1, + sym_trigger_exec, + [25027] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1650), 1, + aux_sym_body_token1, + ACTIONS(1652), 1, + aux_sym_declarations_token1, + STATE(680), 2, + sym_declarations, + aux_sym_block_repeat1, + [25041] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1306), 1, + aux_sym_predefined_types_token1, + ACTIONS(1655), 1, + sym_identifier, + STATE(548), 2, + sym__type, + sym_predefined_types, + [25055] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1657), 4, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + aux_sym_body_token1, + aux_sym_declarations_token1, + [25065] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(955), 1, + anon_sym_LBRACK, + ACTIONS(1548), 1, + anon_sym_COMMA, + ACTIONS(1659), 1, + anon_sym_RPAREN, + STATE(774), 1, + aux_sym_grant_function_repeat1, + [25081] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1661), 1, + anon_sym_LPAREN, + ACTIONS(1663), 1, + sym_identifier, + STATE(890), 1, + sym_index_col, + [25094] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1665), 1, + anon_sym_COMMA, + ACTIONS(1667), 1, + anon_sym_RPAREN, + STATE(754), 1, + aux_sym_update_set_repeat1, + [25107] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1492), 1, + anon_sym_SEMI, + STATE(1101), 1, + sym_where_filter, + [25120] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1444), 1, + anon_sym_DOLLAR, + STATE(609), 1, + sym_dollar_quote, + STATE(1127), 1, + sym_block, + [25133] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1669), 1, + anon_sym_COMMA, + ACTIONS(1672), 1, + anon_sym_RPAREN, + STATE(688), 1, + aux_sym_create_index_statement_repeat1, + [25146] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(838), 1, + sym_identifier, + ACTIONS(836), 2, + aux_sym_insert_conflict_token1, + aux_sym_index_using_token1, + [25157] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1676), 1, + anon_sym_RPAREN, + STATE(688), 1, + aux_sym_create_index_statement_repeat1, + [25170] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1678), 1, + aux_sym_grant_privileges_token1, + ACTIONS(1680), 1, + sym_identifier, + STATE(1075), 1, + sym_grant_privileges, + [25183] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1569), 1, + anon_sym_COMMA, + ACTIONS(1682), 1, + anon_sym_RPAREN, + STATE(631), 1, + aux_sym_return_table_repeat1, + [25196] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1676), 1, + anon_sym_RPAREN, + STATE(749), 1, + aux_sym_create_index_statement_repeat1, + [25209] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1109), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1684), 1, + sym_identifier, + STATE(970), 1, + sym_if_not_exists, + [25222] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1688), 1, + aux_sym_trigger_scope_token2, + ACTIONS(1686), 2, + aux_sym_update_set_token1, + aux_sym_trigger_scope_token3, + [25233] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1661), 1, + anon_sym_LPAREN, + ACTIONS(1663), 1, + sym_identifier, + STATE(750), 1, + sym_index_col, + [25246] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1454), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1690), 1, + sym_identifier, + STATE(990), 1, + sym_if_exists, + [25259] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1692), 1, + sym_identifier, + ACTIONS(1015), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [25270] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1694), 1, + anon_sym_COMMA, + ACTIONS(1696), 1, + anon_sym_RPAREN, + STATE(723), 1, + aux_sym_insert_items_repeat1, + [25283] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1698), 1, + anon_sym_SEMI, + ACTIONS(1700), 1, + anon_sym_COMMA, + STATE(811), 1, + aux_sym_alter_table_change_repeat1, + [25296] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(1702), 1, + sym_identifier, + STATE(566), 1, + sym_string, + [25309] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1704), 1, + anon_sym_COMMA, + ACTIONS(1706), 1, + anon_sym_RPAREN, + STATE(767), 1, + aux_sym_create_table_statement_repeat1, + [25322] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1708), 3, + aux_sym_grant_targets_token1, + aux_sym_grant_targets_token2, + aux_sym_grant_targets_token3, + [25331] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1710), 1, + anon_sym_LPAREN, + ACTIONS(1712), 1, + aux_sym_index_using_token1, + STATE(1096), 1, + sym_index_using, + [25344] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1714), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1716), 1, + aux_sym_index_using_token1, + STATE(337), 1, + sym_join_condition, + [25357] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1718), 1, + aux_sym_insert_statement_token1, + ACTIONS(1720), 1, + aux_sym_delete_statement_token1, + ACTIONS(1722), 1, + aux_sym_select_statement_token1, + [25370] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + ACTIONS(1724), 1, + aux_sym_alter_table_rename_column_token2, + STATE(768), 1, + aux_sym_grant_privileges_repeat1, + [25383] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1726), 3, + aux_sym_body_token1, + aux_sym_declarations_token1, + sym_identifier, + [25392] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + ACTIONS(1728), 1, + sym_identifier, + STATE(342), 1, + sym__list_of_identifiers, + [25405] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1661), 1, + anon_sym_LPAREN, + ACTIONS(1663), 1, + sym_identifier, + STATE(804), 1, + sym_index_col, + [25418] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1180), 1, + anon_sym_RPAREN, + ACTIONS(1704), 1, + anon_sym_COMMA, + STATE(737), 1, + aux_sym_create_table_statement_repeat1, + [25431] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1730), 1, + anon_sym_RPAREN, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [25444] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1732), 1, + aux_sym_sequence_min_token1, + ACTIONS(1734), 1, + aux_sym_sequence_max_token1, + ACTIONS(1736), 1, + aux_sym_sequence_cycle_token1, + [25457] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1738), 1, + anon_sym_RPAREN, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [25470] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1712), 1, + aux_sym_index_using_token1, + ACTIONS(1740), 1, + anon_sym_LPAREN, + STATE(1137), 1, + sym_index_using, + [25483] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1180), 1, + anon_sym_RPAREN, + ACTIONS(1704), 1, + anon_sym_COMMA, + STATE(725), 1, + aux_sym_create_table_statement_repeat1, + [25496] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1742), 1, + anon_sym_SEMI, + ACTIONS(1744), 1, + aux_sym_schema_role_token1, + STATE(1081), 1, + sym_schema_role, + [25509] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1548), 1, + anon_sym_COMMA, + ACTIONS(1659), 1, + anon_sym_RPAREN, + STATE(777), 1, + aux_sym_grant_function_repeat1, + [25522] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1746), 1, + anon_sym_SEMI, + ACTIONS(1748), 1, + anon_sym_COMMA, + STATE(781), 1, + aux_sym_grant_roles_repeat1, + [25535] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1750), 1, + anon_sym_RPAREN, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [25548] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1752), 1, + anon_sym_SEMI, + ACTIONS(1754), 1, + anon_sym_COMMA, + STATE(721), 1, + aux_sym_grant_roles_repeat1, + [25561] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1748), 1, + anon_sym_COMMA, + ACTIONS(1757), 1, + anon_sym_SEMI, + STATE(721), 1, + aux_sym_grant_roles_repeat1, + [25574] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1759), 1, + anon_sym_COMMA, + ACTIONS(1762), 1, + anon_sym_RPAREN, + STATE(723), 1, + aux_sym_insert_items_repeat1, + [25587] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1764), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [25596] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1704), 1, + anon_sym_COMMA, + ACTIONS(1706), 1, + anon_sym_RPAREN, + STATE(737), 1, + aux_sym_create_table_statement_repeat1, + [25609] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1109), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1766), 1, + sym_identifier, + STATE(1036), 1, + sym_if_not_exists, + [25622] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1768), 1, + anon_sym_RPAREN, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [25635] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1716), 1, + aux_sym_index_using_token1, + ACTIONS(1770), 1, + aux_sym_insert_conflict_token1, + STATE(337), 1, + sym_join_condition, + [25648] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(593), 1, + anon_sym_SEMI, + ACTIONS(595), 1, + anon_sym_COMMA, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [25661] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1772), 1, + anon_sym_RPAREN, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [25674] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1774), 1, + anon_sym_RPAREN, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [25687] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1776), 1, + anon_sym_COMMA, + ACTIONS(1778), 1, + aux_sym_alter_table_rename_column_token2, + STATE(783), 1, + aux_sym_grant_targets_repeat1, + [25700] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + ACTIONS(1780), 1, + anon_sym_RPAREN, + STATE(744), 1, + aux_sym_grant_privileges_repeat1, + [25713] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + ACTIONS(1778), 1, + aux_sym_alter_table_rename_column_token2, + STATE(365), 1, + aux_sym_grant_privileges_repeat1, + [25726] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1782), 1, + anon_sym_SEMI, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [25739] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1784), 1, + anon_sym_RPAREN, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [25752] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1786), 1, + anon_sym_COMMA, + ACTIONS(1789), 1, + anon_sym_RPAREN, + STATE(737), 1, + aux_sym_create_table_statement_repeat1, + [25765] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1109), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1791), 1, + sym_identifier, + STATE(1026), 1, + sym_if_not_exists, + [25778] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1793), 1, + anon_sym_RPAREN, + STATE(690), 1, + aux_sym_create_index_statement_repeat1, + [25791] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1795), 1, + anon_sym_SEMI, + ACTIONS(1797), 1, + anon_sym_COMMA, + STATE(763), 1, + aux_sym_insert_returning_repeat1, + [25804] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1661), 1, + anon_sym_LPAREN, + ACTIONS(1663), 1, + sym_identifier, + STATE(693), 1, + sym_index_col, + [25817] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1694), 1, + anon_sym_COMMA, + ACTIONS(1799), 1, + anon_sym_RPAREN, + STATE(699), 1, + aux_sym_insert_items_repeat1, + [25830] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1801), 3, + aux_sym_body_token1, + aux_sym_declarations_token1, + sym_identifier, + [25839] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + ACTIONS(1803), 1, + anon_sym_RPAREN, + STATE(365), 1, + aux_sym_grant_privileges_repeat1, + [25852] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1712), 1, + aux_sym_index_using_token1, + ACTIONS(1805), 1, + anon_sym_LPAREN, + STATE(1050), 1, + sym_index_using, + [25865] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1430), 1, + anon_sym_SEMI, + STATE(1051), 1, + sym_where_filter, + [25878] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1807), 1, + anon_sym_RPAREN, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [25891] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1809), 3, + aux_sym_create_table_statement_token2, + aux_sym_create_table_statement_token3, + aux_sym_grant_targets_token5, + [25900] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1811), 1, + anon_sym_RPAREN, + STATE(688), 1, + aux_sym_create_index_statement_repeat1, + [25913] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1811), 1, + anon_sym_RPAREN, + STATE(797), 1, + aux_sym_create_index_statement_repeat1, + [25926] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1661), 1, + anon_sym_LPAREN, + ACTIONS(1663), 1, + sym_identifier, + STATE(798), 1, + sym_index_col, + [25939] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1813), 1, + anon_sym_SEMI, + ACTIONS(1815), 1, + anon_sym_COMMA, + STATE(752), 1, + aux_sym_alter_table_change_repeat1, + [25952] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1712), 1, + aux_sym_index_using_token1, + ACTIONS(1818), 1, + anon_sym_LPAREN, + STATE(1146), 1, + sym_index_using, + [25965] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1665), 1, + anon_sym_COMMA, + ACTIONS(1820), 1, + anon_sym_RPAREN, + STATE(755), 1, + aux_sym_update_set_repeat1, + [25978] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1822), 1, + anon_sym_COMMA, + ACTIONS(1825), 1, + anon_sym_RPAREN, + STATE(755), 1, + aux_sym_update_set_repeat1, + [25991] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1827), 1, + aux_sym_create_table_statement_token2, + ACTIONS(1829), 1, + aux_sym_create_table_statement_token3, + ACTIONS(1831), 1, + aux_sym_grant_targets_token5, + [26004] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1833), 1, + anon_sym_RPAREN, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [26017] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1665), 1, + anon_sym_COMMA, + ACTIONS(1667), 1, + anon_sym_RPAREN, + STATE(755), 1, + aux_sym_update_set_repeat1, + [26030] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1454), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1835), 1, + sym_identifier, + STATE(1015), 1, + sym_if_exists, + [26043] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1837), 3, + anon_sym_COMMA, + anon_sym_RPAREN, + aux_sym_index_col_nulls_token1, + [26052] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1839), 1, + anon_sym_SEMI, + STATE(984), 1, + sym_where_filter, + [26065] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1665), 1, + anon_sym_COMMA, + ACTIONS(1841), 1, + anon_sym_RPAREN, + STATE(758), 1, + aux_sym_update_set_repeat1, + [26078] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1797), 1, + anon_sym_COMMA, + ACTIONS(1843), 1, + anon_sym_SEMI, + STATE(765), 1, + aux_sym_insert_returning_repeat1, + [26091] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1462), 1, + anon_sym_SEMI, + STATE(991), 1, + sym_where_filter, + [26104] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1010), 1, + anon_sym_SEMI, + ACTIONS(1845), 1, + anon_sym_COMMA, + STATE(765), 1, + aux_sym_insert_returning_repeat1, + [26117] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + ACTIONS(1848), 1, + aux_sym_insert_conflict_token1, + STATE(806), 1, + aux_sym_grant_privileges_repeat1, + [26130] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1704), 1, + anon_sym_COMMA, + ACTIONS(1850), 1, + anon_sym_RPAREN, + STATE(737), 1, + aux_sym_create_table_statement_repeat1, + [26143] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + ACTIONS(1852), 1, + aux_sym_alter_table_rename_column_token2, + STATE(365), 1, + aux_sym_grant_privileges_repeat1, + [26156] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1793), 1, + anon_sym_RPAREN, + STATE(688), 1, + aux_sym_create_index_statement_repeat1, + [26169] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1854), 1, + aux_sym_psql_statement_token1, + ACTIONS(1856), 1, + sym_identifier, + STATE(796), 1, + aux_sym_psql_statement_repeat1, + [26182] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1858), 1, + aux_sym_insert_items_token1, + ACTIONS(1860), 1, + aux_sym_alter_column_action_token1, + ACTIONS(1862), 1, + aux_sym_alter_column_action_token4, + [26195] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_COMMA, + ACTIONS(1864), 1, + anon_sym_RPAREN, + STATE(625), 1, + aux_sym_conflict_target_repeat1, + [26208] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1866), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1868), 1, + aux_sym_trigger_event_token2, + STATE(782), 1, + aux_sym_trigger_event_repeat1, + [26221] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1548), 1, + anon_sym_COMMA, + ACTIONS(1870), 1, + anon_sym_RPAREN, + STATE(777), 1, + aux_sym_grant_function_repeat1, + [26234] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1552), 3, + aux_sym_insert_items_token1, + anon_sym_COMMA, + anon_sym_RPAREN, + [26243] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(955), 1, + anon_sym_LBRACK, + ACTIONS(1872), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [26254] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1872), 1, + anon_sym_RPAREN, + ACTIONS(1874), 1, + anon_sym_COMMA, + STATE(777), 1, + aux_sym_grant_function_repeat1, + [26267] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1877), 1, + anon_sym_RPAREN, + STATE(688), 1, + aux_sym_create_index_statement_repeat1, + [26280] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1472), 1, + anon_sym_SEMI, + STATE(992), 1, + sym_where_filter, + [26293] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1748), 1, + anon_sym_COMMA, + ACTIONS(1879), 1, + anon_sym_SEMI, + STATE(722), 1, + aux_sym_grant_roles_repeat1, + [26306] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1748), 1, + anon_sym_COMMA, + ACTIONS(1879), 1, + anon_sym_SEMI, + STATE(721), 1, + aux_sym_grant_roles_repeat1, + [26319] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1868), 1, + aux_sym_trigger_event_token2, + ACTIONS(1881), 1, + aux_sym_insert_conflict_token1, + STATE(790), 1, + aux_sym_trigger_event_repeat1, + [26332] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1883), 1, + anon_sym_COMMA, + ACTIONS(1886), 1, + aux_sym_alter_table_rename_column_token2, + STATE(783), 1, + aux_sym_grant_targets_repeat1, + [26345] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1776), 1, + anon_sym_COMMA, + ACTIONS(1852), 1, + aux_sym_alter_table_rename_column_token2, + STATE(732), 1, + aux_sym_grant_targets_repeat1, + [26358] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1569), 1, + anon_sym_COMMA, + ACTIONS(1888), 1, + anon_sym_RPAREN, + STATE(692), 1, + aux_sym_return_table_repeat1, + [26371] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1196), 1, + anon_sym_RPAREN, + ACTIONS(1704), 1, + anon_sym_COMMA, + STATE(791), 1, + aux_sym_create_table_statement_repeat1, + [26384] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1182), 1, + anon_sym_RPAREN, + ACTIONS(1704), 1, + anon_sym_COMMA, + STATE(711), 1, + aux_sym_create_table_statement_repeat1, + [26397] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(322), 1, + anon_sym_SQUOTE, + ACTIONS(1890), 1, + sym_identifier, + STATE(574), 1, + sym_string, + [26410] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1892), 1, + anon_sym_LPAREN, + ACTIONS(1894), 1, + aux_sym_alter_column_action_token1, + ACTIONS(1896), 1, + aux_sym_with_query_item_token1, + [26423] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1898), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1900), 1, + aux_sym_trigger_event_token2, + STATE(790), 1, + aux_sym_trigger_event_repeat1, + [26436] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1182), 1, + anon_sym_RPAREN, + ACTIONS(1704), 1, + anon_sym_COMMA, + STATE(737), 1, + aux_sym_create_table_statement_repeat1, + [26449] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1903), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [26458] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1661), 1, + anon_sym_LPAREN, + ACTIONS(1663), 1, + sym_identifier, + STATE(739), 1, + sym_index_col, + [26471] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1712), 1, + aux_sym_index_using_token1, + ACTIONS(1905), 1, + anon_sym_LPAREN, + STATE(977), 1, + sym_index_using, + [26484] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1494), 1, + anon_sym_SEMI, + STATE(1018), 1, + sym_where_filter, + [26497] = 4, + ACTIONS(1531), 1, + sym_comment, + ACTIONS(1907), 1, + aux_sym_psql_statement_token1, + ACTIONS(1909), 1, + sym_identifier, + STATE(796), 1, + aux_sym_psql_statement_repeat1, + [26510] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1912), 1, + anon_sym_RPAREN, + STATE(688), 1, + aux_sym_create_index_statement_repeat1, + [26523] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1912), 1, + anon_sym_RPAREN, + STATE(801), 1, + aux_sym_create_index_statement_repeat1, + [26536] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1661), 1, + anon_sym_LPAREN, + ACTIONS(1663), 1, + sym_identifier, + STATE(800), 1, + sym_index_col, + [26549] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1914), 1, + anon_sym_RPAREN, + STATE(778), 1, + aux_sym_create_index_statement_repeat1, + [26562] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1914), 1, + anon_sym_RPAREN, + STATE(688), 1, + aux_sym_create_index_statement_repeat1, + [26575] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + ACTIONS(1852), 1, + aux_sym_alter_table_rename_column_token2, + STATE(734), 1, + aux_sym_grant_privileges_repeat1, + [26588] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1250), 1, + aux_sym_where_filter_token1, + ACTIONS(1476), 1, + anon_sym_SEMI, + STATE(1007), 1, + sym_where_filter, + [26601] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1674), 1, + anon_sym_COMMA, + ACTIONS(1916), 1, + anon_sym_RPAREN, + STATE(769), 1, + aux_sym_create_index_statement_repeat1, + [26614] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1109), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1918), 1, + sym_identifier, + STATE(966), 1, + sym_if_not_exists, + [26627] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(997), 1, + anon_sym_COMMA, + ACTIONS(1920), 1, + aux_sym_insert_conflict_token1, + STATE(365), 1, + aux_sym_grant_privileges_repeat1, + [26640] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1922), 3, + aux_sym_schema_role_token2, + aux_sym_schema_role_token3, + sym_identifier, + [26649] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1109), 1, + aux_sym_if_not_exists_token1, + ACTIONS(1924), 1, + sym_identifier, + STATE(935), 1, + sym_if_not_exists, + [26662] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(955), 1, + anon_sym_LBRACK, + ACTIONS(1926), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [26673] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1744), 1, + aux_sym_schema_role_token1, + ACTIONS(1928), 1, + anon_sym_SEMI, + STATE(961), 1, + sym_schema_role, + [26686] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1700), 1, + anon_sym_COMMA, + ACTIONS(1930), 1, + anon_sym_SEMI, + STATE(752), 1, + aux_sym_alter_table_change_repeat1, + [26699] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1478), 1, + aux_sym_schema_role_token1, + ACTIONS(1932), 1, + sym_identifier, + STATE(961), 1, + sym_schema_role, + [26712] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1594), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [26720] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1444), 1, + anon_sym_DOLLAR, + STATE(880), 1, + sym_dollar_quote, + [26730] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1934), 1, + aux_sym_function_return_token1, + STATE(942), 1, + sym_function_return, + [26740] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1936), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [26748] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1938), 1, + sym_identifier, + STATE(917), 1, + sym_function_signature, + [26758] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1940), 2, + aux_sym_insert_items_token1, + aux_sym_alter_column_action_token2, + [26766] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1942), 2, + anon_sym_COMMA, + aux_sym_alter_table_rename_column_token2, + [26774] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1944), 1, + sym_identifier, + STATE(775), 1, + sym_var_declaration, + [26784] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + STATE(644), 1, + sym__list_of_identifiers, + [26794] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1946), 2, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + [26802] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1948), 1, + anon_sym_SEMI, + ACTIONS(1950), 1, + aux_sym_index_using_token1, + [26812] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1325), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [26820] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1952), 2, + aux_sym_trigger_exec_token1, + aux_sym_trigger_cond_token1, + [26828] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1954), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [26836] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1944), 1, + sym_identifier, + STATE(785), 1, + sym_var_declaration, + [26846] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1348), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [26854] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1956), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [26862] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + STATE(889), 1, + sym__list_of_identifiers, + [26872] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + STATE(647), 1, + sym__list_of_identifiers, + [26882] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1898), 2, + aux_sym_insert_conflict_token1, + aux_sym_trigger_event_token2, + [26890] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1292), 1, + aux_sym_trigger_exec_token1, + STATE(1023), 1, + sym_trigger_exec, + [26900] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1886), 2, + anon_sym_COMMA, + aux_sym_alter_table_rename_column_token2, + [26908] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1958), 1, + anon_sym_LPAREN, + ACTIONS(1960), 1, + aux_sym_update_set_token1, + [26918] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1962), 1, + sym_identifier, + STATE(658), 1, + sym_with_query_item, + [26928] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1964), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [26936] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1966), 1, + aux_sym_into_token1, + ACTIONS(1968), 1, + sym_identifier, + [26946] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1399), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1405), 1, + sym_identifier, + [26956] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1970), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [26964] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1972), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [26972] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1974), 1, + sym_identifier, + STATE(337), 1, + sym_from_table, + [26982] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1976), 2, + anon_sym_COMMA, + aux_sym_alter_table_rename_column_token2, + [26990] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1262), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [26998] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1978), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [27006] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1762), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [27014] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1367), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [27022] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1860), 1, + aux_sym_alter_column_action_token1, + ACTIONS(1980), 1, + aux_sym_insert_items_token1, + [27032] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1369), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [27040] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1982), 1, + sym_identifier, + STATE(910), 1, + sym_table_column_item, + [27050] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1848), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1984), 1, + anon_sym_privileges, + [27060] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1559), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [27068] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1986), 1, + sym_identifier, + STATE(1049), 1, + sym_function_call, + [27078] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1988), 2, + aux_sym_index_col_nulls_token2, + aux_sym_index_col_nulls_token3, + [27086] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1990), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [27094] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1992), 2, + aux_sym_update_set_token1, + aux_sym_trigger_scope_token3, + [27102] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1994), 2, + aux_sym_trigger_exec_token1, + aux_sym_trigger_cond_token1, + [27110] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1996), 1, + anon_sym_RPAREN, + ACTIONS(1998), 1, + sym_identifier, + [27120] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2000), 1, + sym_identifier, + STATE(337), 1, + sym_from_table, + [27130] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2002), 2, + aux_sym_insert_conflict_token1, + sym_identifier, + [27138] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1813), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [27146] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1825), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [27154] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2004), 1, + anon_sym_SEMI, + ACTIONS(2006), 1, + anon_sym_DOLLAR, + [27164] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2008), 2, + anon_sym_SEMI, + aux_sym_where_filter_token1, + [27172] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2010), 1, + aux_sym_alter_table_action_token2, + ACTIONS(2012), 1, + sym_identifier, + [27182] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2014), 1, + anon_sym_LPAREN, + STATE(944), 1, + sym_function_parameters, + [27192] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1346), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [27200] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1298), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [27208] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2016), 2, + aux_sym_insert_conflict_token5, + aux_sym_delete_statement_token1, + [27216] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2018), 1, + aux_sym_insert_conflict_token1, + ACTIONS(2020), 1, + sym_identifier, + [27226] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2022), 1, + anon_sym_SEMI, + ACTIONS(2024), 1, + anon_sym_DOLLAR, + [27236] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2026), 1, + anon_sym_SEMI, + ACTIONS(2028), 1, + anon_sym_COLON_EQ, + [27246] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1938), 1, + sym_identifier, + STATE(815), 1, + sym_function_signature, + [27256] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1292), 1, + aux_sym_trigger_exec_token1, + STATE(1064), 1, + sym_trigger_exec, + [27266] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2030), 2, + aux_sym_constraint_when_token3, + aux_sym_constraint_when_token4, + [27274] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2032), 1, + aux_sym_insert_conflict_token4, + ACTIONS(2034), 1, + aux_sym_insert_conflict_token5, + [27284] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1280), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [27292] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1557), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [27300] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1789), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [27308] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2036), 2, + anon_sym_SEMI, + aux_sym_create_function_statement_token1, + [27316] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1444), 1, + anon_sym_DOLLAR, + STATE(822), 1, + sym_dollar_quote, + [27326] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(707), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [27334] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2038), 1, + sym_identifier, + STATE(834), 1, + sym_grant_function, + [27344] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1365), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [27352] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1752), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [27360] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2040), 2, + anon_sym_COMMA, + aux_sym_alter_table_rename_column_token2, + [27368] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1377), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [27376] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1640), 1, + aux_sym_insert_conflict_token1, + ACTIONS(1642), 1, + sym_identifier, + [27386] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(953), 1, + aux_sym_constraint_foreign_key_token1, + STATE(666), 1, + sym_constraint_foreign_key, + [27396] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1672), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [27404] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1337), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [27412] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2042), 1, + anon_sym_DOLLAR, + ACTIONS(2044), 1, + sym_identifier, + [27422] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2046), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [27430] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2048), 1, + aux_sym_sequence_increment_token2, + ACTIONS(2050), 1, + sym_number, + [27440] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2052), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [27448] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2054), 1, + sym_identifier, + STATE(728), 1, + sym_from_table, + [27458] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2056), 1, + aux_sym_sequence_start_token2, + ACTIONS(2058), 1, + sym_number, + [27468] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2060), 1, + aux_sym_join_item_token3, + ACTIONS(2062), 1, + aux_sym_join_type_token3, + [27478] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(776), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [27486] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2064), 1, + anon_sym_COMMA, + ACTIONS(2066), 1, + anon_sym_RPAREN, + [27496] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1225), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [27504] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1274), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [27512] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2002), 2, + aux_sym_schema_role_token1, + sym_identifier, + [27520] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2068), 1, + sym_identifier, + STATE(337), 1, + sym_from_table, + [27530] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2038), 1, + sym_identifier, + STATE(784), 1, + sym_grant_function, + [27540] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1342), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [27548] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + STATE(864), 1, + sym__list_of_identifiers, + [27558] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1292), 1, + aux_sym_trigger_exec_token1, + STATE(1109), 1, + sym_trigger_exec, + [27568] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2070), 1, + aux_sym_delete_statement_token3, + ACTIONS(2072), 1, + sym_identifier, + [27578] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1496), 2, + anon_sym_SEMI, + anon_sym_COMMA, + [27586] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1982), 1, + sym_identifier, + STATE(849), 1, + sym_table_column_item, + [27596] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1962), 1, + sym_identifier, + STATE(607), 1, + sym_with_query_item, + [27606] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1188), 2, + anon_sym_SEMI, + anon_sym_RPAREN, + [27614] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2074), 1, + sym_identifier, + STATE(770), 1, + aux_sym_psql_statement_repeat1, + [27624] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + STATE(344), 1, + sym__list_of_identifiers, + [27634] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2076), 2, + aux_sym_trigger_exec_token1, + aux_sym_trigger_cond_token1, + [27642] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1934), 1, + aux_sym_function_return_token1, + STATE(972), 1, + sym_function_return, + [27652] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2054), 1, + sym_identifier, + STATE(705), 1, + sym_from_table, + [27662] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2078), 2, + aux_sym_sequence_owned_token2, + sym_identifier, + [27670] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2080), 1, + sym_identifier, + [27677] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2082), 1, + anon_sym_SEMI, + [27684] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2084), 1, + sym_identifier, + [27691] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2086), 1, + sym_identifier, + [27698] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2088), 1, + aux_sym_function_return_token1, + [27705] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2090), 1, + aux_sym_insert_conflict_token4, + [27712] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2092), 1, + aux_sym_create_schema_statement_token1, + [27719] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2094), 1, + sym_identifier, + [27726] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2096), 1, + aux_sym_with_query_item_token1, + [27733] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2098), 1, + aux_sym_conflict_target_token1, + [27740] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2100), 1, + aux_sym_alter_table_rename_column_token2, + [27747] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(790), 1, + aux_sym_select_limit_token2, + [27754] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2102), 1, + sym_identifier, + [27761] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2104), 1, + anon_sym_RPAREN, + [27768] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2106), 1, + sym_identifier, + [27775] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2108), 1, + sym_identifier, + [27782] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2110), 1, + aux_sym_join_item_token3, + [27789] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2112), 1, + sym_identifier, + [27796] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2114), 1, + sym_identifier, + [27803] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2116), 1, + aux_sym_insert_conflict_token3, + [27810] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2118), 1, + sym_identifier, + [27817] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1698), 1, + anon_sym_SEMI, + [27824] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2120), 1, + aux_sym_delete_statement_token3, + [27831] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2122), 1, + sym_identifier, + [27838] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2124), 1, + aux_sym_function_return_token1, + [27845] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2126), 1, + anon_sym_RPAREN, + [27852] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2128), 1, + aux_sym_sequence_increment_token2, + [27859] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2130), 1, + anon_sym_SEMI, + [27866] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2132), 1, + sym_number, + [27873] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2134), 1, + anon_sym_LPAREN, + [27880] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2136), 1, + aux_sym_delete_statement_token3, + [27887] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1734), 1, + sym_number, + [27894] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1732), 1, + sym_number, + [27901] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2138), 1, + sym_identifier, + [27908] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2140), 1, + anon_sym_SEMI, + [27915] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(645), 1, + anon_sym_RPAREN, + [27922] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2142), 1, + aux_sym_time_expression_token3, + [27929] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2144), 1, + aux_sym_insert_conflict_token1, + [27936] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2146), 1, + sym_identifier, + [27943] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2148), 1, + sym_identifier, + [27950] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2150), 1, + sym_identifier, + [27957] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1742), 1, + anon_sym_SEMI, + [27964] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2152), 1, + anon_sym_SEMI, + [27971] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2154), 1, + anon_sym_LPAREN, + [27978] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2156), 1, + aux_sym_if_not_exists_token2, + [27985] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2158), 1, + aux_sym_table_constraint_ty_token3, + [27992] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2160), 1, + sym_identifier, + [27999] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2162), 1, + anon_sym_LPAREN, + [28006] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2164), 1, + sym_identifier, + [28013] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2166), 1, + aux_sym_create_schema_statement_token1, + [28020] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2168), 1, + sym_identifier, + [28027] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2170), 1, + aux_sym_insert_conflict_token2, + [28034] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2172), 1, + aux_sym_delete_statement_token3, + [28041] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2174), 1, + aux_sym_select_statement_token1, + [28048] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2024), 1, + anon_sym_DOLLAR, + [28055] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2176), 1, + anon_sym_SEMI, + [28062] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2178), 1, + anon_sym_EQ, + [28069] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1818), 1, + anon_sym_LPAREN, + [28076] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2180), 1, + sym_identifier, + [28083] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2182), 1, + sym_identifier, + [28090] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2184), 1, + anon_sym_SEMI, + [28097] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2186), 1, + aux_sym_alter_table_rename_column_token2, + [28104] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2188), 1, + aux_sym_alter_table_rename_column_token2, + [28111] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2190), 1, + sym_identifier, + [28118] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2192), 1, + anon_sym_SEMI, + [28125] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2194), 1, + anon_sym_LPAREN, + [28132] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2196), 1, + aux_sym_insert_items_token2, + [28139] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2198), 1, + sym_identifier, + [28146] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2200), 1, + sym_identifier, + [28153] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2202), 1, + aux_sym_insert_conflict_token1, + [28160] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2204), 1, + sym_identifier, + [28167] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1839), 1, + anon_sym_SEMI, + [28174] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1462), 1, + anon_sym_SEMI, + [28181] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2206), 1, + anon_sym_LPAREN, + [28188] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2208), 1, + anon_sym_LPAREN, + [28195] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2210), 1, + anon_sym_SEMI, + [28202] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2212), 1, + aux_sym_alter_table_rename_column_token2, + [28209] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2214), 1, + aux_sym_function_return_token1, + [28216] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2216), 1, + aux_sym_time_expression_token2, + [28223] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2218), 1, + anon_sym_LPAREN, + [28230] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2220), 1, + sym_identifier, + [28237] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2222), 1, + sym_identifier, + [28244] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2224), 1, + aux_sym_function_return_token1, + [28251] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1722), 1, + aux_sym_select_statement_token1, + [28258] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(826), 1, + anon_sym_RPAREN, + [28265] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2226), 1, + sym_identifier, + [28272] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2228), 1, + aux_sym_create_function_statement_token1, + [28279] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1472), 1, + anon_sym_SEMI, + [28286] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2230), 1, + anon_sym_SEMI, + [28293] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2232), 1, + sym_identifier, + [28300] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2234), 1, + aux_sym_delete_statement_token3, + [28307] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2236), 1, + aux_sym_create_function_statement_token1, + [28314] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2238), 1, + aux_sym_trigger_exec_token1, + [28321] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2240), 1, + sym_identifier, + [28328] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1920), 1, + aux_sym_insert_conflict_token1, + [28335] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2242), 1, + sym_identifier, + [28342] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2244), 1, + anon_sym_RPAREN, + [28349] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2246), 1, + aux_sym_if_not_exists_token2, + [28356] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1476), 1, + anon_sym_SEMI, + [28363] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2248), 1, + anon_sym_LPAREN, + [28370] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2250), 1, + aux_sym_create_table_statement_token3, + [28377] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1940), 1, + aux_sym_fk_ref_action_token2, + [28384] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2252), 1, + aux_sym_grant_targets_token6, + [28391] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2254), 1, + anon_sym_SEMI, + [28398] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2256), 1, + anon_sym_EQ, + [28405] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2258), 1, + anon_sym_EQ, + [28412] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2260), 1, + sym_identifier, + [28419] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2262), 1, + aux_sym_insert_statement_token2, + [28426] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2264), 1, + aux_sym_insert_conflict_token1, + [28433] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2266), 1, + anon_sym_SEMI, + [28440] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2268), 1, + sym_identifier, + [28447] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2270), 1, + anon_sym_LPAREN, + [28454] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1492), 1, + anon_sym_SEMI, + [28461] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1928), 1, + anon_sym_SEMI, + [28468] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2272), 1, + sym_identifier, + [28475] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2274), 1, + aux_sym_alter_column_action_token2, + [28482] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2276), 1, + sym_identifier, + [28489] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2278), 1, + anon_sym_LPAREN, + [28496] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2280), 1, + aux_sym_alter_column_action_token1, + [28503] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2282), 1, + aux_sym_alter_column_action_token3, + [28510] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2284), 1, + sym_identifier, + [28517] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2286), 1, + anon_sym_SEMI, + [28524] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2288), 1, + anon_sym_SEMI, + [28531] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2290), 1, + aux_sym_table_constraint_ty_token3, + [28538] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2292), 1, + anon_sym_DOLLAR, + [28545] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2294), 1, + aux_sym_insert_conflict_token1, + [28552] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2296), 1, + sym_identifier, + [28559] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2298), 1, + aux_sym_delete_statement_token2, + [28566] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2300), 1, + aux_sym_insert_statement_token2, + [28573] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2302), 1, + anon_sym_SEMI, + [28580] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1905), 1, + anon_sym_LPAREN, + [28587] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1494), 1, + anon_sym_SEMI, + [28594] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2304), 1, + aux_sym_table_constraint_ty_token3, + [28601] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2306), 1, + sym_identifier, + [28608] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2308), 1, + aux_sym_grant_targets_token4, + [28615] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2310), 1, + sym_identifier, + [28622] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2312), 1, + anon_sym_SEMI, + [28629] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2314), 1, + anon_sym_LPAREN, + [28636] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2316), 1, + sym_identifier, + [28643] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2318), 1, + anon_sym_SEMI, + [28650] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(780), 1, + anon_sym_RPAREN, + [28657] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2320), 1, + aux_sym_sequence_increment_token2, + [28664] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2322), 1, + aux_sym_sequence_increment_token2, + [28671] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2324), 1, + aux_sym_insert_conflict_token1, + [28678] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2326), 1, + anon_sym_SEMI, + [28685] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2328), 1, + anon_sym_RBRACK, + [28692] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2330), 1, + aux_sym_if_not_exists_token2, + [28699] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(661), 1, + anon_sym_RPAREN, + [28706] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2332), 1, + aux_sym_insert_conflict_token3, + [28713] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2334), 1, + aux_sym_time_expression_token3, + [28720] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2336), 1, + sym_identifier, + [28727] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2338), 1, + anon_sym_RPAREN, + [28734] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2340), 1, + aux_sym_delete_statement_token3, + [28741] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2342), 1, + anon_sym_LPAREN, + [28748] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2060), 1, + aux_sym_join_item_token3, + [28755] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2344), 1, + aux_sym_insert_conflict_token1, + [28762] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2346), 1, + sym_number, + [28769] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2348), 1, + aux_sym_function_return_token1, + [28776] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2158), 1, + aux_sym_alter_column_action_token2, + [28783] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2350), 1, + anon_sym_DOLLAR, + [28790] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(806), 1, + anon_sym_RPAREN, + [28797] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2352), 1, + anon_sym_SEMI, + [28804] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2354), 1, + anon_sym_SEMI, + [28811] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(300), 1, + anon_sym_LPAREN, + [28818] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2356), 1, + aux_sym_if_not_exists_token2, + [28825] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(677), 1, + anon_sym_RPAREN, + [28832] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2358), 1, + sym_identifier, + [28839] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2360), 1, + aux_sym_time_expression_token3, + [28846] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1393), 1, + anon_sym_SEMI, + [28853] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2362), 1, + anon_sym_SEMI, + [28860] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2364), 1, + aux_sym_delete_statement_token3, + [28867] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2366), 1, + anon_sym_SEMI, + [28874] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2368), 1, + aux_sym_function_return_token1, + [28881] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(814), 1, + anon_sym_RPAREN, + [28888] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2370), 1, + aux_sym_grant_targets_token6, + [28895] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2372), 1, + aux_sym_insert_conflict_token3, + [28902] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2374), 1, + anon_sym_LPAREN, + [28909] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(683), 1, + anon_sym_RPAREN, + [28916] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2376), 1, + aux_sym_or_replace_token1, + [28923] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2378), 1, + aux_sym_time_expression_token3, + [28930] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(597), 1, + sym_identifier, + [28937] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1430), 1, + anon_sym_SEMI, + [28944] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(816), 1, + anon_sym_RPAREN, + [28951] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2380), 1, + sym_identifier, + [28958] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2382), 1, + sym_identifier, + [28965] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2384), 1, + aux_sym_insert_conflict_token1, + [28972] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(687), 1, + anon_sym_RPAREN, + [28979] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2386), 1, + anon_sym_SEMI, + [28986] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2388), 1, + aux_sym_time_expression_token3, + [28993] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2390), 1, + anon_sym_SEMI, + [29000] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2392), 1, + anon_sym_RPAREN, + [29007] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(820), 1, + anon_sym_RPAREN, + [29014] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2394), 1, + aux_sym_insert_conflict_token6, + [29021] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2396), 1, + aux_sym_insert_conflict_token3, + [29028] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2398), 1, + aux_sym_create_index_statement_token2, + [29035] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(691), 1, + anon_sym_RPAREN, + [29042] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2400), 1, + aux_sym_join_item_token3, + [29049] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2402), 1, + aux_sym_time_expression_token3, + [29056] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2404), 1, + sym_number, + [29063] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2406), 1, + sym_number, + [29070] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(693), 1, + anon_sym_RPAREN, + [29077] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1829), 1, + aux_sym_create_table_statement_token3, + [29084] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2408), 1, + anon_sym_SEMI, + [29091] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2410), 1, + aux_sym_create_trigger_statement_token1, + [29098] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(697), 1, + anon_sym_RPAREN, + [29105] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2412), 1, + sym_identifier, + [29112] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2414), 1, + sym_identifier, + [29119] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2416), 1, + anon_sym_SEMI, + [29126] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(699), 1, + anon_sym_RPAREN, + [29133] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2418), 1, + aux_sym_alter_table_rename_column_token2, + [29140] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2420), 1, + anon_sym_SEMI, + [29147] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2422), 1, + sym_identifier, + [29154] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2424), 1, + aux_sym_alter_column_action_token1, + [29161] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2426), 1, + aux_sym_time_expression_token2, + [29168] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2428), 1, + anon_sym_SEMI, + [29175] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2430), 1, + aux_sym_join_item_token3, + [29182] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2432), 1, + sym_identifier, + [29189] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1805), 1, + anon_sym_LPAREN, + [29196] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2434), 1, + sym_number, + [29203] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2436), 1, + anon_sym_SEMI, + [29210] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2438), 1, + aux_sym_alter_column_action_token1, + [29217] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2440), 1, + aux_sym_time_expression_token2, + [29224] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2442), 1, + anon_sym_LPAREN, + [29231] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2444), 1, + aux_sym_join_item_token3, + [29238] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2446), 1, + ts_builtin_sym_end, + [29245] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2448), 1, + anon_sym_SEMI, + [29252] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(1710), 1, + anon_sym_LPAREN, + [29259] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2450), 1, + aux_sym_time_expression_token2, + [29266] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2452), 1, + anon_sym_LPAREN, + [29273] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2454), 1, + aux_sym_time_expression_token2, + [29280] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2456), 1, + aux_sym_create_table_statement_token3, + [29287] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2458), 1, + aux_sym_time_expression_token2, + [29294] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2460), 1, + aux_sym_delete_statement_token2, + [29301] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2462), 1, + aux_sym_delete_statement_token3, + [29308] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(2464), 1, + aux_sym_function_return_token1, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 12, - [SMALL_STATE(4)] = 24, - [SMALL_STATE(5)] = 38, - [SMALL_STATE(6)] = 50, - [SMALL_STATE(7)] = 62, - [SMALL_STATE(8)] = 76, - [SMALL_STATE(9)] = 84, - [SMALL_STATE(10)] = 94, - [SMALL_STATE(11)] = 100, - [SMALL_STATE(12)] = 110, - [SMALL_STATE(13)] = 120, - [SMALL_STATE(14)] = 130, - [SMALL_STATE(15)] = 140, - [SMALL_STATE(16)] = 150, - [SMALL_STATE(17)] = 160, - [SMALL_STATE(18)] = 170, - [SMALL_STATE(19)] = 180, - [SMALL_STATE(20)] = 187, - [SMALL_STATE(21)] = 194, - [SMALL_STATE(22)] = 199, - [SMALL_STATE(23)] = 206, - [SMALL_STATE(24)] = 213, - [SMALL_STATE(25)] = 218, - [SMALL_STATE(26)] = 225, - [SMALL_STATE(27)] = 230, - [SMALL_STATE(28)] = 237, - [SMALL_STATE(29)] = 244, - [SMALL_STATE(30)] = 251, - [SMALL_STATE(31)] = 256, - [SMALL_STATE(32)] = 261, - [SMALL_STATE(33)] = 268, - [SMALL_STATE(34)] = 273, - [SMALL_STATE(35)] = 278, - [SMALL_STATE(36)] = 283, - [SMALL_STATE(37)] = 287, - [SMALL_STATE(38)] = 291, - [SMALL_STATE(39)] = 295, - [SMALL_STATE(40)] = 299, - [SMALL_STATE(41)] = 303, - [SMALL_STATE(42)] = 307, - [SMALL_STATE(43)] = 311, - [SMALL_STATE(44)] = 315, - [SMALL_STATE(45)] = 319, - [SMALL_STATE(46)] = 323, - [SMALL_STATE(47)] = 327, - [SMALL_STATE(48)] = 331, - [SMALL_STATE(49)] = 335, - [SMALL_STATE(50)] = 339, - [SMALL_STATE(51)] = 343, - [SMALL_STATE(52)] = 347, - [SMALL_STATE(53)] = 351, - [SMALL_STATE(54)] = 355, - [SMALL_STATE(55)] = 359, - [SMALL_STATE(56)] = 363, - [SMALL_STATE(57)] = 367, - [SMALL_STATE(58)] = 371, - [SMALL_STATE(59)] = 375, - [SMALL_STATE(60)] = 379, + [SMALL_STATE(3)] = 62, + [SMALL_STATE(4)] = 142, + [SMALL_STATE(5)] = 216, + [SMALL_STATE(6)] = 272, + [SMALL_STATE(7)] = 348, + [SMALL_STATE(8)] = 412, + [SMALL_STATE(9)] = 468, + [SMALL_STATE(10)] = 544, + [SMALL_STATE(11)] = 608, + [SMALL_STATE(12)] = 676, + [SMALL_STATE(13)] = 748, + [SMALL_STATE(14)] = 806, + [SMALL_STATE(15)] = 918, + [SMALL_STATE(16)] = 970, + [SMALL_STATE(17)] = 1022, + [SMALL_STATE(18)] = 1074, + [SMALL_STATE(19)] = 1126, + [SMALL_STATE(20)] = 1238, + [SMALL_STATE(21)] = 1290, + [SMALL_STATE(22)] = 1342, + [SMALL_STATE(23)] = 1394, + [SMALL_STATE(24)] = 1446, + [SMALL_STATE(25)] = 1556, + [SMALL_STATE(26)] = 1666, + [SMALL_STATE(27)] = 1735, + [SMALL_STATE(28)] = 1790, + [SMALL_STATE(29)] = 1861, + [SMALL_STATE(30)] = 1924, + [SMALL_STATE(31)] = 1995, + [SMALL_STATE(32)] = 2060, + [SMALL_STATE(33)] = 2113, + [SMALL_STATE(34)] = 2172, + [SMALL_STATE(35)] = 2227, + [SMALL_STATE(36)] = 2296, + [SMALL_STATE(37)] = 2345, + [SMALL_STATE(38)] = 2400, + [SMALL_STATE(39)] = 2473, + [SMALL_STATE(40)] = 2524, + [SMALL_STATE(41)] = 2567, + [SMALL_STATE(42)] = 2632, + [SMALL_STATE(43)] = 2675, + [SMALL_STATE(44)] = 2734, + [SMALL_STATE(45)] = 2795, + [SMALL_STATE(46)] = 2844, + [SMALL_STATE(47)] = 2887, + [SMALL_STATE(48)] = 2952, + [SMALL_STATE(49)] = 2995, + [SMALL_STATE(50)] = 3068, + [SMALL_STATE(51)] = 3111, + [SMALL_STATE(52)] = 3180, + [SMALL_STATE(53)] = 3253, + [SMALL_STATE(54)] = 3296, + [SMALL_STATE(55)] = 3347, + [SMALL_STATE(56)] = 3390, + [SMALL_STATE(57)] = 3433, + [SMALL_STATE(58)] = 3476, + [SMALL_STATE(59)] = 3549, + [SMALL_STATE(60)] = 3592, + [SMALL_STATE(61)] = 3659, + [SMALL_STATE(62)] = 3718, + [SMALL_STATE(63)] = 3775, + [SMALL_STATE(64)] = 3838, + [SMALL_STATE(65)] = 3887, + [SMALL_STATE(66)] = 3950, + [SMALL_STATE(67)] = 4021, + [SMALL_STATE(68)] = 4070, + [SMALL_STATE(69)] = 4123, + [SMALL_STATE(70)] = 4170, + [SMALL_STATE(71)] = 4215, + [SMALL_STATE(72)] = 4280, + [SMALL_STATE(73)] = 4318, + [SMALL_STATE(74)] = 4356, + [SMALL_STATE(75)] = 4420, + [SMALL_STATE(76)] = 4458, + [SMALL_STATE(77)] = 4497, + [SMALL_STATE(78)] = 4536, + [SMALL_STATE(79)] = 4575, + [SMALL_STATE(80)] = 4614, + [SMALL_STATE(81)] = 4653, + [SMALL_STATE(82)] = 4696, + [SMALL_STATE(83)] = 4763, + [SMALL_STATE(84)] = 4830, + [SMALL_STATE(85)] = 4869, + [SMALL_STATE(86)] = 4908, + [SMALL_STATE(87)] = 4947, + [SMALL_STATE(88)] = 4986, + [SMALL_STATE(89)] = 5025, + [SMALL_STATE(90)] = 5087, + [SMALL_STATE(91)] = 5149, + [SMALL_STATE(92)] = 5186, + [SMALL_STATE(93)] = 5223, + [SMALL_STATE(94)] = 5260, + [SMALL_STATE(95)] = 5297, + [SMALL_STATE(96)] = 5334, + [SMALL_STATE(97)] = 5371, + [SMALL_STATE(98)] = 5408, + [SMALL_STATE(99)] = 5445, + [SMALL_STATE(100)] = 5482, + [SMALL_STATE(101)] = 5519, + [SMALL_STATE(102)] = 5589, + [SMALL_STATE(103)] = 5659, + [SMALL_STATE(104)] = 5729, + [SMALL_STATE(105)] = 5799, + [SMALL_STATE(106)] = 5859, + [SMALL_STATE(107)] = 5929, + [SMALL_STATE(108)] = 5999, + [SMALL_STATE(109)] = 6069, + [SMALL_STATE(110)] = 6139, + [SMALL_STATE(111)] = 6209, + [SMALL_STATE(112)] = 6276, + [SMALL_STATE(113)] = 6343, + [SMALL_STATE(114)] = 6410, + [SMALL_STATE(115)] = 6477, + [SMALL_STATE(116)] = 6544, + [SMALL_STATE(117)] = 6611, + [SMALL_STATE(118)] = 6671, + [SMALL_STATE(119)] = 6727, + [SMALL_STATE(120)] = 6785, + [SMALL_STATE(121)] = 6827, + [SMALL_STATE(122)] = 6869, + [SMALL_STATE(123)] = 6933, + [SMALL_STATE(124)] = 6979, + [SMALL_STATE(125)] = 7019, + [SMALL_STATE(126)] = 7083, + [SMALL_STATE(127)] = 7141, + [SMALL_STATE(128)] = 7193, + [SMALL_STATE(129)] = 7251, + [SMALL_STATE(130)] = 7301, + [SMALL_STATE(131)] = 7357, + [SMALL_STATE(132)] = 7414, + [SMALL_STATE(133)] = 7475, + [SMALL_STATE(134)] = 7536, + [SMALL_STATE(135)] = 7597, + [SMALL_STATE(136)] = 7658, + [SMALL_STATE(137)] = 7719, + [SMALL_STATE(138)] = 7780, + [SMALL_STATE(139)] = 7838, + [SMALL_STATE(140)] = 7878, + [SMALL_STATE(141)] = 7940, + [SMALL_STATE(142)] = 7998, + [SMALL_STATE(143)] = 8056, + [SMALL_STATE(144)] = 8114, + [SMALL_STATE(145)] = 8172, + [SMALL_STATE(146)] = 8230, + [SMALL_STATE(147)] = 8288, + [SMALL_STATE(148)] = 8346, + [SMALL_STATE(149)] = 8404, + [SMALL_STATE(150)] = 8460, + [SMALL_STATE(151)] = 8518, + [SMALL_STATE(152)] = 8578, + [SMALL_STATE(153)] = 8636, + [SMALL_STATE(154)] = 8694, + [SMALL_STATE(155)] = 8752, + [SMALL_STATE(156)] = 8796, + [SMALL_STATE(157)] = 8834, + [SMALL_STATE(158)] = 8892, + [SMALL_STATE(159)] = 8942, + [SMALL_STATE(160)] = 8990, + [SMALL_STATE(161)] = 9044, + [SMALL_STATE(162)] = 9102, + [SMALL_STATE(163)] = 9160, + [SMALL_STATE(164)] = 9218, + [SMALL_STATE(165)] = 9276, + [SMALL_STATE(166)] = 9316, + [SMALL_STATE(167)] = 9370, + [SMALL_STATE(168)] = 9406, + [SMALL_STATE(169)] = 9461, + [SMALL_STATE(170)] = 9516, + [SMALL_STATE(171)] = 9571, + [SMALL_STATE(172)] = 9626, + [SMALL_STATE(173)] = 9681, + [SMALL_STATE(174)] = 9736, + [SMALL_STATE(175)] = 9791, + [SMALL_STATE(176)] = 9846, + [SMALL_STATE(177)] = 9901, + [SMALL_STATE(178)] = 9956, + [SMALL_STATE(179)] = 10011, + [SMALL_STATE(180)] = 10066, + [SMALL_STATE(181)] = 10121, + [SMALL_STATE(182)] = 10176, + [SMALL_STATE(183)] = 10231, + [SMALL_STATE(184)] = 10286, + [SMALL_STATE(185)] = 10341, + [SMALL_STATE(186)] = 10396, + [SMALL_STATE(187)] = 10451, + [SMALL_STATE(188)] = 10506, + [SMALL_STATE(189)] = 10561, + [SMALL_STATE(190)] = 10616, + [SMALL_STATE(191)] = 10671, + [SMALL_STATE(192)] = 10726, + [SMALL_STATE(193)] = 10781, + [SMALL_STATE(194)] = 10836, + [SMALL_STATE(195)] = 10891, + [SMALL_STATE(196)] = 10946, + [SMALL_STATE(197)] = 11001, + [SMALL_STATE(198)] = 11056, + [SMALL_STATE(199)] = 11111, + [SMALL_STATE(200)] = 11166, + [SMALL_STATE(201)] = 11221, + [SMALL_STATE(202)] = 11276, + [SMALL_STATE(203)] = 11335, + [SMALL_STATE(204)] = 11394, + [SMALL_STATE(205)] = 11449, + [SMALL_STATE(206)] = 11504, + [SMALL_STATE(207)] = 11559, + [SMALL_STATE(208)] = 11614, + [SMALL_STATE(209)] = 11669, + [SMALL_STATE(210)] = 11724, + [SMALL_STATE(211)] = 11779, + [SMALL_STATE(212)] = 11834, + [SMALL_STATE(213)] = 11889, + [SMALL_STATE(214)] = 11944, + [SMALL_STATE(215)] = 11999, + [SMALL_STATE(216)] = 12054, + [SMALL_STATE(217)] = 12113, + [SMALL_STATE(218)] = 12168, + [SMALL_STATE(219)] = 12223, + [SMALL_STATE(220)] = 12278, + [SMALL_STATE(221)] = 12333, + [SMALL_STATE(222)] = 12388, + [SMALL_STATE(223)] = 12443, + [SMALL_STATE(224)] = 12498, + [SMALL_STATE(225)] = 12553, + [SMALL_STATE(226)] = 12608, + [SMALL_STATE(227)] = 12663, + [SMALL_STATE(228)] = 12722, + [SMALL_STATE(229)] = 12777, + [SMALL_STATE(230)] = 12832, + [SMALL_STATE(231)] = 12887, + [SMALL_STATE(232)] = 12942, + [SMALL_STATE(233)] = 12997, + [SMALL_STATE(234)] = 13052, + [SMALL_STATE(235)] = 13107, + [SMALL_STATE(236)] = 13166, + [SMALL_STATE(237)] = 13221, + [SMALL_STATE(238)] = 13276, + [SMALL_STATE(239)] = 13331, + [SMALL_STATE(240)] = 13386, + [SMALL_STATE(241)] = 13441, + [SMALL_STATE(242)] = 13496, + [SMALL_STATE(243)] = 13551, + [SMALL_STATE(244)] = 13606, + [SMALL_STATE(245)] = 13665, + [SMALL_STATE(246)] = 13720, + [SMALL_STATE(247)] = 13775, + [SMALL_STATE(248)] = 13834, + [SMALL_STATE(249)] = 13889, + [SMALL_STATE(250)] = 13948, + [SMALL_STATE(251)] = 14003, + [SMALL_STATE(252)] = 14062, + [SMALL_STATE(253)] = 14121, + [SMALL_STATE(254)] = 14176, + [SMALL_STATE(255)] = 14231, + [SMALL_STATE(256)] = 14290, + [SMALL_STATE(257)] = 14349, + [SMALL_STATE(258)] = 14404, + [SMALL_STATE(259)] = 14459, + [SMALL_STATE(260)] = 14514, + [SMALL_STATE(261)] = 14544, + [SMALL_STATE(262)] = 14574, + [SMALL_STATE(263)] = 14628, + [SMALL_STATE(264)] = 14670, + [SMALL_STATE(265)] = 14732, + [SMALL_STATE(266)] = 14762, + [SMALL_STATE(267)] = 14792, + [SMALL_STATE(268)] = 14834, + [SMALL_STATE(269)] = 14864, + [SMALL_STATE(270)] = 14894, + [SMALL_STATE(271)] = 14936, + [SMALL_STATE(272)] = 14990, + [SMALL_STATE(273)] = 15052, + [SMALL_STATE(274)] = 15114, + [SMALL_STATE(275)] = 15148, + [SMALL_STATE(276)] = 15210, + [SMALL_STATE(277)] = 15246, + [SMALL_STATE(278)] = 15276, + [SMALL_STATE(279)] = 15330, + [SMALL_STATE(280)] = 15360, + [SMALL_STATE(281)] = 15390, + [SMALL_STATE(282)] = 15420, + [SMALL_STATE(283)] = 15473, + [SMALL_STATE(284)] = 15526, + [SMALL_STATE(285)] = 15557, + [SMALL_STATE(286)] = 15588, + [SMALL_STATE(287)] = 15641, + [SMALL_STATE(288)] = 15694, + [SMALL_STATE(289)] = 15747, + [SMALL_STATE(290)] = 15776, + [SMALL_STATE(291)] = 15805, + [SMALL_STATE(292)] = 15834, + [SMALL_STATE(293)] = 15867, + [SMALL_STATE(294)] = 15900, + [SMALL_STATE(295)] = 15953, + [SMALL_STATE(296)] = 16006, + [SMALL_STATE(297)] = 16059, + [SMALL_STATE(298)] = 16112, + [SMALL_STATE(299)] = 16165, + [SMALL_STATE(300)] = 16218, + [SMALL_STATE(301)] = 16271, + [SMALL_STATE(302)] = 16324, + [SMALL_STATE(303)] = 16377, + [SMALL_STATE(304)] = 16430, + [SMALL_STATE(305)] = 16483, + [SMALL_STATE(306)] = 16536, + [SMALL_STATE(307)] = 16589, + [SMALL_STATE(308)] = 16617, + [SMALL_STATE(309)] = 16679, + [SMALL_STATE(310)] = 16707, + [SMALL_STATE(311)] = 16735, + [SMALL_STATE(312)] = 16763, + [SMALL_STATE(313)] = 16791, + [SMALL_STATE(314)] = 16817, + [SMALL_STATE(315)] = 16843, + [SMALL_STATE(316)] = 16871, + [SMALL_STATE(317)] = 16901, + [SMALL_STATE(318)] = 16963, + [SMALL_STATE(319)] = 17025, + [SMALL_STATE(320)] = 17087, + [SMALL_STATE(321)] = 17115, + [SMALL_STATE(322)] = 17143, + [SMALL_STATE(323)] = 17171, + [SMALL_STATE(324)] = 17199, + [SMALL_STATE(325)] = 17244, + [SMALL_STATE(326)] = 17289, + [SMALL_STATE(327)] = 17328, + [SMALL_STATE(328)] = 17381, + [SMALL_STATE(329)] = 17434, + [SMALL_STATE(330)] = 17459, + [SMALL_STATE(331)] = 17484, + [SMALL_STATE(332)] = 17537, + [SMALL_STATE(333)] = 17576, + [SMALL_STATE(334)] = 17629, + [SMALL_STATE(335)] = 17674, + [SMALL_STATE(336)] = 17719, + [SMALL_STATE(337)] = 17752, + [SMALL_STATE(338)] = 17777, + [SMALL_STATE(339)] = 17822, + [SMALL_STATE(340)] = 17847, + [SMALL_STATE(341)] = 17892, + [SMALL_STATE(342)] = 17931, + [SMALL_STATE(343)] = 17956, + [SMALL_STATE(344)] = 18001, + [SMALL_STATE(345)] = 18026, + [SMALL_STATE(346)] = 18052, + [SMALL_STATE(347)] = 18078, + [SMALL_STATE(348)] = 18108, + [SMALL_STATE(349)] = 18134, + [SMALL_STATE(350)] = 18164, + [SMALL_STATE(351)] = 18211, + [SMALL_STATE(352)] = 18258, + [SMALL_STATE(353)] = 18305, + [SMALL_STATE(354)] = 18336, + [SMALL_STATE(355)] = 18363, + [SMALL_STATE(356)] = 18410, + [SMALL_STATE(357)] = 18457, + [SMALL_STATE(358)] = 18493, + [SMALL_STATE(359)] = 18523, + [SMALL_STATE(360)] = 18559, + [SMALL_STATE(361)] = 18595, + [SMALL_STATE(362)] = 18645, + [SMALL_STATE(363)] = 18695, + [SMALL_STATE(364)] = 18739, + [SMALL_STATE(365)] = 18789, + [SMALL_STATE(366)] = 18815, + [SMALL_STATE(367)] = 18841, + [SMALL_STATE(368)] = 18891, + [SMALL_STATE(369)] = 18916, + [SMALL_STATE(370)] = 18939, + [SMALL_STATE(371)] = 18962, + [SMALL_STATE(372)] = 18983, + [SMALL_STATE(373)] = 19006, + [SMALL_STATE(374)] = 19047, + [SMALL_STATE(375)] = 19074, + [SMALL_STATE(376)] = 19099, + [SMALL_STATE(377)] = 19126, + [SMALL_STATE(378)] = 19151, + [SMALL_STATE(379)] = 19176, + [SMALL_STATE(380)] = 19201, + [SMALL_STATE(381)] = 19226, + [SMALL_STATE(382)] = 19251, + [SMALL_STATE(383)] = 19292, + [SMALL_STATE(384)] = 19313, + [SMALL_STATE(385)] = 19338, + [SMALL_STATE(386)] = 19362, + [SMALL_STATE(387)] = 19400, + [SMALL_STATE(388)] = 19424, + [SMALL_STATE(389)] = 19462, + [SMALL_STATE(390)] = 19482, + [SMALL_STATE(391)] = 19528, + [SMALL_STATE(392)] = 19548, + [SMALL_STATE(393)] = 19570, + [SMALL_STATE(394)] = 19608, + [SMALL_STATE(395)] = 19628, + [SMALL_STATE(396)] = 19666, + [SMALL_STATE(397)] = 19704, + [SMALL_STATE(398)] = 19742, + [SMALL_STATE(399)] = 19762, + [SMALL_STATE(400)] = 19786, + [SMALL_STATE(401)] = 19805, + [SMALL_STATE(402)] = 19824, + [SMALL_STATE(403)] = 19847, + [SMALL_STATE(404)] = 19870, + [SMALL_STATE(405)] = 19889, + [SMALL_STATE(406)] = 19908, + [SMALL_STATE(407)] = 19931, + [SMALL_STATE(408)] = 19954, + [SMALL_STATE(409)] = 19977, + [SMALL_STATE(410)] = 19996, + [SMALL_STATE(411)] = 20015, + [SMALL_STATE(412)] = 20033, + [SMALL_STATE(413)] = 20065, + [SMALL_STATE(414)] = 20083, + [SMALL_STATE(415)] = 20115, + [SMALL_STATE(416)] = 20137, + [SMALL_STATE(417)] = 20169, + [SMALL_STATE(418)] = 20191, + [SMALL_STATE(419)] = 20209, + [SMALL_STATE(420)] = 20241, + [SMALL_STATE(421)] = 20273, + [SMALL_STATE(422)] = 20293, + [SMALL_STATE(423)] = 20311, + [SMALL_STATE(424)] = 20343, + [SMALL_STATE(425)] = 20375, + [SMALL_STATE(426)] = 20413, + [SMALL_STATE(427)] = 20444, + [SMALL_STATE(428)] = 20461, + [SMALL_STATE(429)] = 20480, + [SMALL_STATE(430)] = 20497, + [SMALL_STATE(431)] = 20516, + [SMALL_STATE(432)] = 20551, + [SMALL_STATE(433)] = 20582, + [SMALL_STATE(434)] = 20619, + [SMALL_STATE(435)] = 20638, + [SMALL_STATE(436)] = 20673, + [SMALL_STATE(437)] = 20694, + [SMALL_STATE(438)] = 20715, + [SMALL_STATE(439)] = 20734, + [SMALL_STATE(440)] = 20753, + [SMALL_STATE(441)] = 20772, + [SMALL_STATE(442)] = 20791, + [SMALL_STATE(443)] = 20826, + [SMALL_STATE(444)] = 20861, + [SMALL_STATE(445)] = 20880, + [SMALL_STATE(446)] = 20915, + [SMALL_STATE(447)] = 20950, + [SMALL_STATE(448)] = 20967, + [SMALL_STATE(449)] = 20984, + [SMALL_STATE(450)] = 21021, + [SMALL_STATE(451)] = 21037, + [SMALL_STATE(452)] = 21053, + [SMALL_STATE(453)] = 21069, + [SMALL_STATE(454)] = 21089, + [SMALL_STATE(455)] = 21115, + [SMALL_STATE(456)] = 21131, + [SMALL_STATE(457)] = 21147, + [SMALL_STATE(458)] = 21163, + [SMALL_STATE(459)] = 21189, + [SMALL_STATE(460)] = 21209, + [SMALL_STATE(461)] = 21235, + [SMALL_STATE(462)] = 21251, + [SMALL_STATE(463)] = 21277, + [SMALL_STATE(464)] = 21303, + [SMALL_STATE(465)] = 21319, + [SMALL_STATE(466)] = 21351, + [SMALL_STATE(467)] = 21383, + [SMALL_STATE(468)] = 21415, + [SMALL_STATE(469)] = 21441, + [SMALL_STATE(470)] = 21457, + [SMALL_STATE(471)] = 21473, + [SMALL_STATE(472)] = 21489, + [SMALL_STATE(473)] = 21515, + [SMALL_STATE(474)] = 21541, + [SMALL_STATE(475)] = 21557, + [SMALL_STATE(476)] = 21577, + [SMALL_STATE(477)] = 21596, + [SMALL_STATE(478)] = 21615, + [SMALL_STATE(479)] = 21640, + [SMALL_STATE(480)] = 21669, + [SMALL_STATE(481)] = 21700, + [SMALL_STATE(482)] = 21725, + [SMALL_STATE(483)] = 21754, + [SMALL_STATE(484)] = 21773, + [SMALL_STATE(485)] = 21796, + [SMALL_STATE(486)] = 21825, + [SMALL_STATE(487)] = 21850, + [SMALL_STATE(488)] = 21881, + [SMALL_STATE(489)] = 21910, + [SMALL_STATE(490)] = 21930, + [SMALL_STATE(491)] = 21952, + [SMALL_STATE(492)] = 21966, + [SMALL_STATE(493)] = 21992, + [SMALL_STATE(494)] = 22012, + [SMALL_STATE(495)] = 22032, + [SMALL_STATE(496)] = 22058, + [SMALL_STATE(497)] = 22072, + [SMALL_STATE(498)] = 22092, + [SMALL_STATE(499)] = 22106, + [SMALL_STATE(500)] = 22128, + [SMALL_STATE(501)] = 22148, + [SMALL_STATE(502)] = 22174, + [SMALL_STATE(503)] = 22200, + [SMALL_STATE(504)] = 22220, + [SMALL_STATE(505)] = 22246, + [SMALL_STATE(506)] = 22272, + [SMALL_STATE(507)] = 22292, + [SMALL_STATE(508)] = 22312, + [SMALL_STATE(509)] = 22332, + [SMALL_STATE(510)] = 22357, + [SMALL_STATE(511)] = 22378, + [SMALL_STATE(512)] = 22397, + [SMALL_STATE(513)] = 22418, + [SMALL_STATE(514)] = 22435, + [SMALL_STATE(515)] = 22452, + [SMALL_STATE(516)] = 22471, + [SMALL_STATE(517)] = 22494, + [SMALL_STATE(518)] = 22519, + [SMALL_STATE(519)] = 22540, + [SMALL_STATE(520)] = 22557, + [SMALL_STATE(521)] = 22580, + [SMALL_STATE(522)] = 22601, + [SMALL_STATE(523)] = 22626, + [SMALL_STATE(524)] = 22647, + [SMALL_STATE(525)] = 22670, + [SMALL_STATE(526)] = 22691, + [SMALL_STATE(527)] = 22712, + [SMALL_STATE(528)] = 22735, + [SMALL_STATE(529)] = 22756, + [SMALL_STATE(530)] = 22773, + [SMALL_STATE(531)] = 22791, + [SMALL_STATE(532)] = 22811, + [SMALL_STATE(533)] = 22831, + [SMALL_STATE(534)] = 22849, + [SMALL_STATE(535)] = 22869, + [SMALL_STATE(536)] = 22889, + [SMALL_STATE(537)] = 22907, + [SMALL_STATE(538)] = 22927, + [SMALL_STATE(539)] = 22947, + [SMALL_STATE(540)] = 22967, + [SMALL_STATE(541)] = 22979, + [SMALL_STATE(542)] = 22991, + [SMALL_STATE(543)] = 23003, + [SMALL_STATE(544)] = 23023, + [SMALL_STATE(545)] = 23035, + [SMALL_STATE(546)] = 23047, + [SMALL_STATE(547)] = 23059, + [SMALL_STATE(548)] = 23077, + [SMALL_STATE(549)] = 23091, + [SMALL_STATE(550)] = 23111, + [SMALL_STATE(551)] = 23131, + [SMALL_STATE(552)] = 23151, + [SMALL_STATE(553)] = 23171, + [SMALL_STATE(554)] = 23189, + [SMALL_STATE(555)] = 23209, + [SMALL_STATE(556)] = 23225, + [SMALL_STATE(557)] = 23245, + [SMALL_STATE(558)] = 23265, + [SMALL_STATE(559)] = 23283, + [SMALL_STATE(560)] = 23303, + [SMALL_STATE(561)] = 23323, + [SMALL_STATE(562)] = 23343, + [SMALL_STATE(563)] = 23354, + [SMALL_STATE(564)] = 23365, + [SMALL_STATE(565)] = 23376, + [SMALL_STATE(566)] = 23393, + [SMALL_STATE(567)] = 23408, + [SMALL_STATE(568)] = 23425, + [SMALL_STATE(569)] = 23444, + [SMALL_STATE(570)] = 23459, + [SMALL_STATE(571)] = 23470, + [SMALL_STATE(572)] = 23485, + [SMALL_STATE(573)] = 23502, + [SMALL_STATE(574)] = 23513, + [SMALL_STATE(575)] = 23528, + [SMALL_STATE(576)] = 23543, + [SMALL_STATE(577)] = 23558, + [SMALL_STATE(578)] = 23573, + [SMALL_STATE(579)] = 23584, + [SMALL_STATE(580)] = 23601, + [SMALL_STATE(581)] = 23612, + [SMALL_STATE(582)] = 23623, + [SMALL_STATE(583)] = 23642, + [SMALL_STATE(584)] = 23659, + [SMALL_STATE(585)] = 23678, + [SMALL_STATE(586)] = 23695, + [SMALL_STATE(587)] = 23706, + [SMALL_STATE(588)] = 23721, + [SMALL_STATE(589)] = 23738, + [SMALL_STATE(590)] = 23749, + [SMALL_STATE(591)] = 23760, + [SMALL_STATE(592)] = 23775, + [SMALL_STATE(593)] = 23788, + [SMALL_STATE(594)] = 23805, + [SMALL_STATE(595)] = 23824, + [SMALL_STATE(596)] = 23835, + [SMALL_STATE(597)] = 23846, + [SMALL_STATE(598)] = 23865, + [SMALL_STATE(599)] = 23884, + [SMALL_STATE(600)] = 23901, + [SMALL_STATE(601)] = 23916, + [SMALL_STATE(602)] = 23935, + [SMALL_STATE(603)] = 23952, + [SMALL_STATE(604)] = 23963, + [SMALL_STATE(605)] = 23976, + [SMALL_STATE(606)] = 23995, + [SMALL_STATE(607)] = 24014, + [SMALL_STATE(608)] = 24029, + [SMALL_STATE(609)] = 24046, + [SMALL_STATE(610)] = 24063, + [SMALL_STATE(611)] = 24080, + [SMALL_STATE(612)] = 24099, + [SMALL_STATE(613)] = 24110, + [SMALL_STATE(614)] = 24125, + [SMALL_STATE(615)] = 24144, + [SMALL_STATE(616)] = 24159, + [SMALL_STATE(617)] = 24176, + [SMALL_STATE(618)] = 24187, + [SMALL_STATE(619)] = 24202, + [SMALL_STATE(620)] = 24215, + [SMALL_STATE(621)] = 24231, + [SMALL_STATE(622)] = 24241, + [SMALL_STATE(623)] = 24255, + [SMALL_STATE(624)] = 24269, + [SMALL_STATE(625)] = 24283, + [SMALL_STATE(626)] = 24297, + [SMALL_STATE(627)] = 24311, + [SMALL_STATE(628)] = 24325, + [SMALL_STATE(629)] = 24341, + [SMALL_STATE(630)] = 24355, + [SMALL_STATE(631)] = 24371, + [SMALL_STATE(632)] = 24385, + [SMALL_STATE(633)] = 24399, + [SMALL_STATE(634)] = 24409, + [SMALL_STATE(635)] = 24425, + [SMALL_STATE(636)] = 24441, + [SMALL_STATE(637)] = 24455, + [SMALL_STATE(638)] = 24465, + [SMALL_STATE(639)] = 24479, + [SMALL_STATE(640)] = 24495, + [SMALL_STATE(641)] = 24511, + [SMALL_STATE(642)] = 24525, + [SMALL_STATE(643)] = 24539, + [SMALL_STATE(644)] = 24553, + [SMALL_STATE(645)] = 24563, + [SMALL_STATE(646)] = 24579, + [SMALL_STATE(647)] = 24589, + [SMALL_STATE(648)] = 24599, + [SMALL_STATE(649)] = 24613, + [SMALL_STATE(650)] = 24629, + [SMALL_STATE(651)] = 24643, + [SMALL_STATE(652)] = 24657, + [SMALL_STATE(653)] = 24671, + [SMALL_STATE(654)] = 24687, + [SMALL_STATE(655)] = 24697, + [SMALL_STATE(656)] = 24707, + [SMALL_STATE(657)] = 24721, + [SMALL_STATE(658)] = 24735, + [SMALL_STATE(659)] = 24745, + [SMALL_STATE(660)] = 24757, + [SMALL_STATE(661)] = 24773, + [SMALL_STATE(662)] = 24787, + [SMALL_STATE(663)] = 24801, + [SMALL_STATE(664)] = 24815, + [SMALL_STATE(665)] = 24831, + [SMALL_STATE(666)] = 24841, + [SMALL_STATE(667)] = 24851, + [SMALL_STATE(668)] = 24861, + [SMALL_STATE(669)] = 24875, + [SMALL_STATE(670)] = 24889, + [SMALL_STATE(671)] = 24903, + [SMALL_STATE(672)] = 24919, + [SMALL_STATE(673)] = 24929, + [SMALL_STATE(674)] = 24939, + [SMALL_STATE(675)] = 24955, + [SMALL_STATE(676)] = 24971, + [SMALL_STATE(677)] = 24985, + [SMALL_STATE(678)] = 24997, + [SMALL_STATE(679)] = 25011, + [SMALL_STATE(680)] = 25027, + [SMALL_STATE(681)] = 25041, + [SMALL_STATE(682)] = 25055, + [SMALL_STATE(683)] = 25065, + [SMALL_STATE(684)] = 25081, + [SMALL_STATE(685)] = 25094, + [SMALL_STATE(686)] = 25107, + [SMALL_STATE(687)] = 25120, + [SMALL_STATE(688)] = 25133, + [SMALL_STATE(689)] = 25146, + [SMALL_STATE(690)] = 25157, + [SMALL_STATE(691)] = 25170, + [SMALL_STATE(692)] = 25183, + [SMALL_STATE(693)] = 25196, + [SMALL_STATE(694)] = 25209, + [SMALL_STATE(695)] = 25222, + [SMALL_STATE(696)] = 25233, + [SMALL_STATE(697)] = 25246, + [SMALL_STATE(698)] = 25259, + [SMALL_STATE(699)] = 25270, + [SMALL_STATE(700)] = 25283, + [SMALL_STATE(701)] = 25296, + [SMALL_STATE(702)] = 25309, + [SMALL_STATE(703)] = 25322, + [SMALL_STATE(704)] = 25331, + [SMALL_STATE(705)] = 25344, + [SMALL_STATE(706)] = 25357, + [SMALL_STATE(707)] = 25370, + [SMALL_STATE(708)] = 25383, + [SMALL_STATE(709)] = 25392, + [SMALL_STATE(710)] = 25405, + [SMALL_STATE(711)] = 25418, + [SMALL_STATE(712)] = 25431, + [SMALL_STATE(713)] = 25444, + [SMALL_STATE(714)] = 25457, + [SMALL_STATE(715)] = 25470, + [SMALL_STATE(716)] = 25483, + [SMALL_STATE(717)] = 25496, + [SMALL_STATE(718)] = 25509, + [SMALL_STATE(719)] = 25522, + [SMALL_STATE(720)] = 25535, + [SMALL_STATE(721)] = 25548, + [SMALL_STATE(722)] = 25561, + [SMALL_STATE(723)] = 25574, + [SMALL_STATE(724)] = 25587, + [SMALL_STATE(725)] = 25596, + [SMALL_STATE(726)] = 25609, + [SMALL_STATE(727)] = 25622, + [SMALL_STATE(728)] = 25635, + [SMALL_STATE(729)] = 25648, + [SMALL_STATE(730)] = 25661, + [SMALL_STATE(731)] = 25674, + [SMALL_STATE(732)] = 25687, + [SMALL_STATE(733)] = 25700, + [SMALL_STATE(734)] = 25713, + [SMALL_STATE(735)] = 25726, + [SMALL_STATE(736)] = 25739, + [SMALL_STATE(737)] = 25752, + [SMALL_STATE(738)] = 25765, + [SMALL_STATE(739)] = 25778, + [SMALL_STATE(740)] = 25791, + [SMALL_STATE(741)] = 25804, + [SMALL_STATE(742)] = 25817, + [SMALL_STATE(743)] = 25830, + [SMALL_STATE(744)] = 25839, + [SMALL_STATE(745)] = 25852, + [SMALL_STATE(746)] = 25865, + [SMALL_STATE(747)] = 25878, + [SMALL_STATE(748)] = 25891, + [SMALL_STATE(749)] = 25900, + [SMALL_STATE(750)] = 25913, + [SMALL_STATE(751)] = 25926, + [SMALL_STATE(752)] = 25939, + [SMALL_STATE(753)] = 25952, + [SMALL_STATE(754)] = 25965, + [SMALL_STATE(755)] = 25978, + [SMALL_STATE(756)] = 25991, + [SMALL_STATE(757)] = 26004, + [SMALL_STATE(758)] = 26017, + [SMALL_STATE(759)] = 26030, + [SMALL_STATE(760)] = 26043, + [SMALL_STATE(761)] = 26052, + [SMALL_STATE(762)] = 26065, + [SMALL_STATE(763)] = 26078, + [SMALL_STATE(764)] = 26091, + [SMALL_STATE(765)] = 26104, + [SMALL_STATE(766)] = 26117, + [SMALL_STATE(767)] = 26130, + [SMALL_STATE(768)] = 26143, + [SMALL_STATE(769)] = 26156, + [SMALL_STATE(770)] = 26169, + [SMALL_STATE(771)] = 26182, + [SMALL_STATE(772)] = 26195, + [SMALL_STATE(773)] = 26208, + [SMALL_STATE(774)] = 26221, + [SMALL_STATE(775)] = 26234, + [SMALL_STATE(776)] = 26243, + [SMALL_STATE(777)] = 26254, + [SMALL_STATE(778)] = 26267, + [SMALL_STATE(779)] = 26280, + [SMALL_STATE(780)] = 26293, + [SMALL_STATE(781)] = 26306, + [SMALL_STATE(782)] = 26319, + [SMALL_STATE(783)] = 26332, + [SMALL_STATE(784)] = 26345, + [SMALL_STATE(785)] = 26358, + [SMALL_STATE(786)] = 26371, + [SMALL_STATE(787)] = 26384, + [SMALL_STATE(788)] = 26397, + [SMALL_STATE(789)] = 26410, + [SMALL_STATE(790)] = 26423, + [SMALL_STATE(791)] = 26436, + [SMALL_STATE(792)] = 26449, + [SMALL_STATE(793)] = 26458, + [SMALL_STATE(794)] = 26471, + [SMALL_STATE(795)] = 26484, + [SMALL_STATE(796)] = 26497, + [SMALL_STATE(797)] = 26510, + [SMALL_STATE(798)] = 26523, + [SMALL_STATE(799)] = 26536, + [SMALL_STATE(800)] = 26549, + [SMALL_STATE(801)] = 26562, + [SMALL_STATE(802)] = 26575, + [SMALL_STATE(803)] = 26588, + [SMALL_STATE(804)] = 26601, + [SMALL_STATE(805)] = 26614, + [SMALL_STATE(806)] = 26627, + [SMALL_STATE(807)] = 26640, + [SMALL_STATE(808)] = 26649, + [SMALL_STATE(809)] = 26662, + [SMALL_STATE(810)] = 26673, + [SMALL_STATE(811)] = 26686, + [SMALL_STATE(812)] = 26699, + [SMALL_STATE(813)] = 26712, + [SMALL_STATE(814)] = 26720, + [SMALL_STATE(815)] = 26730, + [SMALL_STATE(816)] = 26740, + [SMALL_STATE(817)] = 26748, + [SMALL_STATE(818)] = 26758, + [SMALL_STATE(819)] = 26766, + [SMALL_STATE(820)] = 26774, + [SMALL_STATE(821)] = 26784, + [SMALL_STATE(822)] = 26794, + [SMALL_STATE(823)] = 26802, + [SMALL_STATE(824)] = 26812, + [SMALL_STATE(825)] = 26820, + [SMALL_STATE(826)] = 26828, + [SMALL_STATE(827)] = 26836, + [SMALL_STATE(828)] = 26846, + [SMALL_STATE(829)] = 26854, + [SMALL_STATE(830)] = 26862, + [SMALL_STATE(831)] = 26872, + [SMALL_STATE(832)] = 26882, + [SMALL_STATE(833)] = 26890, + [SMALL_STATE(834)] = 26900, + [SMALL_STATE(835)] = 26908, + [SMALL_STATE(836)] = 26918, + [SMALL_STATE(837)] = 26928, + [SMALL_STATE(838)] = 26936, + [SMALL_STATE(839)] = 26946, + [SMALL_STATE(840)] = 26956, + [SMALL_STATE(841)] = 26964, + [SMALL_STATE(842)] = 26972, + [SMALL_STATE(843)] = 26982, + [SMALL_STATE(844)] = 26990, + [SMALL_STATE(845)] = 26998, + [SMALL_STATE(846)] = 27006, + [SMALL_STATE(847)] = 27014, + [SMALL_STATE(848)] = 27022, + [SMALL_STATE(849)] = 27032, + [SMALL_STATE(850)] = 27040, + [SMALL_STATE(851)] = 27050, + [SMALL_STATE(852)] = 27060, + [SMALL_STATE(853)] = 27068, + [SMALL_STATE(854)] = 27078, + [SMALL_STATE(855)] = 27086, + [SMALL_STATE(856)] = 27094, + [SMALL_STATE(857)] = 27102, + [SMALL_STATE(858)] = 27110, + [SMALL_STATE(859)] = 27120, + [SMALL_STATE(860)] = 27130, + [SMALL_STATE(861)] = 27138, + [SMALL_STATE(862)] = 27146, + [SMALL_STATE(863)] = 27154, + [SMALL_STATE(864)] = 27164, + [SMALL_STATE(865)] = 27172, + [SMALL_STATE(866)] = 27182, + [SMALL_STATE(867)] = 27192, + [SMALL_STATE(868)] = 27200, + [SMALL_STATE(869)] = 27208, + [SMALL_STATE(870)] = 27216, + [SMALL_STATE(871)] = 27226, + [SMALL_STATE(872)] = 27236, + [SMALL_STATE(873)] = 27246, + [SMALL_STATE(874)] = 27256, + [SMALL_STATE(875)] = 27266, + [SMALL_STATE(876)] = 27274, + [SMALL_STATE(877)] = 27284, + [SMALL_STATE(878)] = 27292, + [SMALL_STATE(879)] = 27300, + [SMALL_STATE(880)] = 27308, + [SMALL_STATE(881)] = 27316, + [SMALL_STATE(882)] = 27326, + [SMALL_STATE(883)] = 27334, + [SMALL_STATE(884)] = 27344, + [SMALL_STATE(885)] = 27352, + [SMALL_STATE(886)] = 27360, + [SMALL_STATE(887)] = 27368, + [SMALL_STATE(888)] = 27376, + [SMALL_STATE(889)] = 27386, + [SMALL_STATE(890)] = 27396, + [SMALL_STATE(891)] = 27404, + [SMALL_STATE(892)] = 27412, + [SMALL_STATE(893)] = 27422, + [SMALL_STATE(894)] = 27430, + [SMALL_STATE(895)] = 27440, + [SMALL_STATE(896)] = 27448, + [SMALL_STATE(897)] = 27458, + [SMALL_STATE(898)] = 27468, + [SMALL_STATE(899)] = 27478, + [SMALL_STATE(900)] = 27486, + [SMALL_STATE(901)] = 27496, + [SMALL_STATE(902)] = 27504, + [SMALL_STATE(903)] = 27512, + [SMALL_STATE(904)] = 27520, + [SMALL_STATE(905)] = 27530, + [SMALL_STATE(906)] = 27540, + [SMALL_STATE(907)] = 27548, + [SMALL_STATE(908)] = 27558, + [SMALL_STATE(909)] = 27568, + [SMALL_STATE(910)] = 27578, + [SMALL_STATE(911)] = 27586, + [SMALL_STATE(912)] = 27596, + [SMALL_STATE(913)] = 27606, + [SMALL_STATE(914)] = 27614, + [SMALL_STATE(915)] = 27624, + [SMALL_STATE(916)] = 27634, + [SMALL_STATE(917)] = 27642, + [SMALL_STATE(918)] = 27652, + [SMALL_STATE(919)] = 27662, + [SMALL_STATE(920)] = 27670, + [SMALL_STATE(921)] = 27677, + [SMALL_STATE(922)] = 27684, + [SMALL_STATE(923)] = 27691, + [SMALL_STATE(924)] = 27698, + [SMALL_STATE(925)] = 27705, + [SMALL_STATE(926)] = 27712, + [SMALL_STATE(927)] = 27719, + [SMALL_STATE(928)] = 27726, + [SMALL_STATE(929)] = 27733, + [SMALL_STATE(930)] = 27740, + [SMALL_STATE(931)] = 27747, + [SMALL_STATE(932)] = 27754, + [SMALL_STATE(933)] = 27761, + [SMALL_STATE(934)] = 27768, + [SMALL_STATE(935)] = 27775, + [SMALL_STATE(936)] = 27782, + [SMALL_STATE(937)] = 27789, + [SMALL_STATE(938)] = 27796, + [SMALL_STATE(939)] = 27803, + [SMALL_STATE(940)] = 27810, + [SMALL_STATE(941)] = 27817, + [SMALL_STATE(942)] = 27824, + [SMALL_STATE(943)] = 27831, + [SMALL_STATE(944)] = 27838, + [SMALL_STATE(945)] = 27845, + [SMALL_STATE(946)] = 27852, + [SMALL_STATE(947)] = 27859, + [SMALL_STATE(948)] = 27866, + [SMALL_STATE(949)] = 27873, + [SMALL_STATE(950)] = 27880, + [SMALL_STATE(951)] = 27887, + [SMALL_STATE(952)] = 27894, + [SMALL_STATE(953)] = 27901, + [SMALL_STATE(954)] = 27908, + [SMALL_STATE(955)] = 27915, + [SMALL_STATE(956)] = 27922, + [SMALL_STATE(957)] = 27929, + [SMALL_STATE(958)] = 27936, + [SMALL_STATE(959)] = 27943, + [SMALL_STATE(960)] = 27950, + [SMALL_STATE(961)] = 27957, + [SMALL_STATE(962)] = 27964, + [SMALL_STATE(963)] = 27971, + [SMALL_STATE(964)] = 27978, + [SMALL_STATE(965)] = 27985, + [SMALL_STATE(966)] = 27992, + [SMALL_STATE(967)] = 27999, + [SMALL_STATE(968)] = 28006, + [SMALL_STATE(969)] = 28013, + [SMALL_STATE(970)] = 28020, + [SMALL_STATE(971)] = 28027, + [SMALL_STATE(972)] = 28034, + [SMALL_STATE(973)] = 28041, + [SMALL_STATE(974)] = 28048, + [SMALL_STATE(975)] = 28055, + [SMALL_STATE(976)] = 28062, + [SMALL_STATE(977)] = 28069, + [SMALL_STATE(978)] = 28076, + [SMALL_STATE(979)] = 28083, + [SMALL_STATE(980)] = 28090, + [SMALL_STATE(981)] = 28097, + [SMALL_STATE(982)] = 28104, + [SMALL_STATE(983)] = 28111, + [SMALL_STATE(984)] = 28118, + [SMALL_STATE(985)] = 28125, + [SMALL_STATE(986)] = 28132, + [SMALL_STATE(987)] = 28139, + [SMALL_STATE(988)] = 28146, + [SMALL_STATE(989)] = 28153, + [SMALL_STATE(990)] = 28160, + [SMALL_STATE(991)] = 28167, + [SMALL_STATE(992)] = 28174, + [SMALL_STATE(993)] = 28181, + [SMALL_STATE(994)] = 28188, + [SMALL_STATE(995)] = 28195, + [SMALL_STATE(996)] = 28202, + [SMALL_STATE(997)] = 28209, + [SMALL_STATE(998)] = 28216, + [SMALL_STATE(999)] = 28223, + [SMALL_STATE(1000)] = 28230, + [SMALL_STATE(1001)] = 28237, + [SMALL_STATE(1002)] = 28244, + [SMALL_STATE(1003)] = 28251, + [SMALL_STATE(1004)] = 28258, + [SMALL_STATE(1005)] = 28265, + [SMALL_STATE(1006)] = 28272, + [SMALL_STATE(1007)] = 28279, + [SMALL_STATE(1008)] = 28286, + [SMALL_STATE(1009)] = 28293, + [SMALL_STATE(1010)] = 28300, + [SMALL_STATE(1011)] = 28307, + [SMALL_STATE(1012)] = 28314, + [SMALL_STATE(1013)] = 28321, + [SMALL_STATE(1014)] = 28328, + [SMALL_STATE(1015)] = 28335, + [SMALL_STATE(1016)] = 28342, + [SMALL_STATE(1017)] = 28349, + [SMALL_STATE(1018)] = 28356, + [SMALL_STATE(1019)] = 28363, + [SMALL_STATE(1020)] = 28370, + [SMALL_STATE(1021)] = 28377, + [SMALL_STATE(1022)] = 28384, + [SMALL_STATE(1023)] = 28391, + [SMALL_STATE(1024)] = 28398, + [SMALL_STATE(1025)] = 28405, + [SMALL_STATE(1026)] = 28412, + [SMALL_STATE(1027)] = 28419, + [SMALL_STATE(1028)] = 28426, + [SMALL_STATE(1029)] = 28433, + [SMALL_STATE(1030)] = 28440, + [SMALL_STATE(1031)] = 28447, + [SMALL_STATE(1032)] = 28454, + [SMALL_STATE(1033)] = 28461, + [SMALL_STATE(1034)] = 28468, + [SMALL_STATE(1035)] = 28475, + [SMALL_STATE(1036)] = 28482, + [SMALL_STATE(1037)] = 28489, + [SMALL_STATE(1038)] = 28496, + [SMALL_STATE(1039)] = 28503, + [SMALL_STATE(1040)] = 28510, + [SMALL_STATE(1041)] = 28517, + [SMALL_STATE(1042)] = 28524, + [SMALL_STATE(1043)] = 28531, + [SMALL_STATE(1044)] = 28538, + [SMALL_STATE(1045)] = 28545, + [SMALL_STATE(1046)] = 28552, + [SMALL_STATE(1047)] = 28559, + [SMALL_STATE(1048)] = 28566, + [SMALL_STATE(1049)] = 28573, + [SMALL_STATE(1050)] = 28580, + [SMALL_STATE(1051)] = 28587, + [SMALL_STATE(1052)] = 28594, + [SMALL_STATE(1053)] = 28601, + [SMALL_STATE(1054)] = 28608, + [SMALL_STATE(1055)] = 28615, + [SMALL_STATE(1056)] = 28622, + [SMALL_STATE(1057)] = 28629, + [SMALL_STATE(1058)] = 28636, + [SMALL_STATE(1059)] = 28643, + [SMALL_STATE(1060)] = 28650, + [SMALL_STATE(1061)] = 28657, + [SMALL_STATE(1062)] = 28664, + [SMALL_STATE(1063)] = 28671, + [SMALL_STATE(1064)] = 28678, + [SMALL_STATE(1065)] = 28685, + [SMALL_STATE(1066)] = 28692, + [SMALL_STATE(1067)] = 28699, + [SMALL_STATE(1068)] = 28706, + [SMALL_STATE(1069)] = 28713, + [SMALL_STATE(1070)] = 28720, + [SMALL_STATE(1071)] = 28727, + [SMALL_STATE(1072)] = 28734, + [SMALL_STATE(1073)] = 28741, + [SMALL_STATE(1074)] = 28748, + [SMALL_STATE(1075)] = 28755, + [SMALL_STATE(1076)] = 28762, + [SMALL_STATE(1077)] = 28769, + [SMALL_STATE(1078)] = 28776, + [SMALL_STATE(1079)] = 28783, + [SMALL_STATE(1080)] = 28790, + [SMALL_STATE(1081)] = 28797, + [SMALL_STATE(1082)] = 28804, + [SMALL_STATE(1083)] = 28811, + [SMALL_STATE(1084)] = 28818, + [SMALL_STATE(1085)] = 28825, + [SMALL_STATE(1086)] = 28832, + [SMALL_STATE(1087)] = 28839, + [SMALL_STATE(1088)] = 28846, + [SMALL_STATE(1089)] = 28853, + [SMALL_STATE(1090)] = 28860, + [SMALL_STATE(1091)] = 28867, + [SMALL_STATE(1092)] = 28874, + [SMALL_STATE(1093)] = 28881, + [SMALL_STATE(1094)] = 28888, + [SMALL_STATE(1095)] = 28895, + [SMALL_STATE(1096)] = 28902, + [SMALL_STATE(1097)] = 28909, + [SMALL_STATE(1098)] = 28916, + [SMALL_STATE(1099)] = 28923, + [SMALL_STATE(1100)] = 28930, + [SMALL_STATE(1101)] = 28937, + [SMALL_STATE(1102)] = 28944, + [SMALL_STATE(1103)] = 28951, + [SMALL_STATE(1104)] = 28958, + [SMALL_STATE(1105)] = 28965, + [SMALL_STATE(1106)] = 28972, + [SMALL_STATE(1107)] = 28979, + [SMALL_STATE(1108)] = 28986, + [SMALL_STATE(1109)] = 28993, + [SMALL_STATE(1110)] = 29000, + [SMALL_STATE(1111)] = 29007, + [SMALL_STATE(1112)] = 29014, + [SMALL_STATE(1113)] = 29021, + [SMALL_STATE(1114)] = 29028, + [SMALL_STATE(1115)] = 29035, + [SMALL_STATE(1116)] = 29042, + [SMALL_STATE(1117)] = 29049, + [SMALL_STATE(1118)] = 29056, + [SMALL_STATE(1119)] = 29063, + [SMALL_STATE(1120)] = 29070, + [SMALL_STATE(1121)] = 29077, + [SMALL_STATE(1122)] = 29084, + [SMALL_STATE(1123)] = 29091, + [SMALL_STATE(1124)] = 29098, + [SMALL_STATE(1125)] = 29105, + [SMALL_STATE(1126)] = 29112, + [SMALL_STATE(1127)] = 29119, + [SMALL_STATE(1128)] = 29126, + [SMALL_STATE(1129)] = 29133, + [SMALL_STATE(1130)] = 29140, + [SMALL_STATE(1131)] = 29147, + [SMALL_STATE(1132)] = 29154, + [SMALL_STATE(1133)] = 29161, + [SMALL_STATE(1134)] = 29168, + [SMALL_STATE(1135)] = 29175, + [SMALL_STATE(1136)] = 29182, + [SMALL_STATE(1137)] = 29189, + [SMALL_STATE(1138)] = 29196, + [SMALL_STATE(1139)] = 29203, + [SMALL_STATE(1140)] = 29210, + [SMALL_STATE(1141)] = 29217, + [SMALL_STATE(1142)] = 29224, + [SMALL_STATE(1143)] = 29231, + [SMALL_STATE(1144)] = 29238, + [SMALL_STATE(1145)] = 29245, + [SMALL_STATE(1146)] = 29252, + [SMALL_STATE(1147)] = 29259, + [SMALL_STATE(1148)] = 29266, + [SMALL_STATE(1149)] = 29273, + [SMALL_STATE(1150)] = 29280, + [SMALL_STATE(1151)] = 29287, + [SMALL_STATE(1152)] = 29294, + [SMALL_STATE(1153)] = 29301, + [SMALL_STATE(1154)] = 29308, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), - [3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [7] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 10), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [11] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 9), - [13] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), - [15] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 8), - [17] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 7), - [19] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), - [21] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(9), - [24] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_parameter, 2, .production_id = 1), - [26] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [28] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [30] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [32] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__type, 3), - [34] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [36] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_parameters_repeat1, 2), SHIFT_REPEAT(19), - [39] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_parameters_repeat1, 2), - [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [53] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_signature, 2), - [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), - [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_parameters, 2), - [61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [63] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__statement, 2), - [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [69] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), - [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dollar_quote, 3), - [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_parameters, 3), - [75] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [77] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_parameters, 4), - [81] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dollar_quote, 2), - [83] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [85] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [87] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [89] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [97] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_or_replace, 2), - [99] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [101] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [103] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 2), - [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [113] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_volatility, 1), - [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 11), + [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(1027), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(687), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(390), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1152), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1150), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(691), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(914), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(912), + [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [25] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_op_expression, 3), + [27] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_op_expression, 3), + [29] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_time_expression, 5), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(438), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(440), + [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(204), + [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(209), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), + [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(438), + [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(434), + [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), + [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(428), + [51] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 2), + [53] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 2), + [55] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_op_expression, 2), + [57] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_op_expression, 2), + [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3), + [61] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 3), + [63] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value_expression, 1), + [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1133), + [69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__value_expression, 1), + [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 1), + [73] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 1), + [75] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [77] = {.entry = {.count = 1, .reusable = false}}, SHIFT(518), + [79] = {.entry = {.count = 1, .reusable = false}}, SHIFT(444), + [81] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), + [83] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1062), + [85] = {.entry = {.count = 1, .reusable = false}}, SHIFT(234), + [87] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150), + [89] = {.entry = {.count = 1, .reusable = false}}, SHIFT(232), + [91] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1061), + [93] = {.entry = {.count = 1, .reusable = false}}, SHIFT(231), + [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(642), + [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [99] = {.entry = {.count = 1, .reusable = false}}, SHIFT(430), + [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(439), + [103] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), + [105] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), + [107] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), + [109] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), + [111] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_false, 1), + [113] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_false, 1), + [115] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [117] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [119] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [121] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 5), + [125] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 5), + [127] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 2), + [129] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_statement, 2), + [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_star, 1), + [137] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_star, 1), + [139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value_expression, 3), + [141] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__value_expression, 3), + [143] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_true, 1), + [145] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_true, 1), + [147] = {.entry = {.count = 1, .reusable = false}}, SHIFT(838), + [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [151] = {.entry = {.count = 1, .reusable = false}}, SHIFT(512), + [153] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93), + [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(624), + [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [159] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), + [161] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), + [163] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), + [165] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), + [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), + [169] = {.entry = {.count = 1, .reusable = false}}, SHIFT(224), + [171] = {.entry = {.count = 1, .reusable = false}}, SHIFT(223), + [173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), + [175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), + [177] = {.entry = {.count = 1, .reusable = false}}, SHIFT(440), + [179] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_join_condition, 2), + [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1141), + [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [187] = {.entry = {.count = 1, .reusable = false}}, SHIFT(190), + [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [191] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_item, 1), + [193] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_item, 1), + [195] = {.entry = {.count = 1, .reusable = false}}, SHIFT(387), + [197] = {.entry = {.count = 1, .reusable = false}}, SHIFT(189), + [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [201] = {.entry = {.count = 1, .reusable = false}}, SHIFT(428), + [203] = {.entry = {.count = 1, .reusable = false}}, SHIFT(400), + [205] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1027), + [207] = {.entry = {.count = 1, .reusable = false}}, SHIFT(687), + [209] = {.entry = {.count = 1, .reusable = false}}, SHIFT(390), + [211] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1152), + [213] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1150), + [215] = {.entry = {.count = 1, .reusable = false}}, SHIFT(691), + [217] = {.entry = {.count = 1, .reusable = false}}, SHIFT(912), + [219] = {.entry = {.count = 1, .reusable = false}}, SHIFT(180), + [221] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163), + [223] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132), + [225] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24), + [227] = {.entry = {.count = 1, .reusable = false}}, SHIFT(863), + [229] = {.entry = {.count = 1, .reusable = false}}, SHIFT(976), + [231] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_time_expression, 5), + [233] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(1027), + [236] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(687), + [239] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(390), + [242] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(1152), + [245] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(1150), + [248] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(691), + [251] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(914), + [254] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(912), + [257] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(180), + [260] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(163), + [263] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(132), + [266] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(24), + [269] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), + [271] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_repeat1, 2), SHIFT_REPEAT(976), + [274] = {.entry = {.count = 1, .reusable = false}}, SHIFT(871), + [276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), + [278] = {.entry = {.count = 1, .reusable = false}}, SHIFT(230), + [280] = {.entry = {.count = 1, .reusable = false}}, SHIFT(220), + [282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), + [284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213), + [286] = {.entry = {.count = 1, .reusable = false}}, SHIFT(417), + [288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [290] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1147), + [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__list_of_identifiers, 3), + [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__list_of_identifiers, 4), + [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_constraint_ty, 2), + [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__list_of_identifiers, 2), + [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [302] = {.entry = {.count = 1, .reusable = false}}, SHIFT(998), + [304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_group_by, 3), + [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), + [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_by_item, 1), + [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(491), + [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_conflict_target_repeat1, 2), + [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_where_filter, 2), + [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [320] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), + [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(638), + [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [326] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23), + [328] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), + [330] = {.entry = {.count = 1, .reusable = false}}, SHIFT(256), + [332] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13), + [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(348), + [336] = {.entry = {.count = 1, .reusable = false}}, SHIFT(244), + [338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(369), + [340] = {.entry = {.count = 1, .reusable = false}}, SHIFT(255), + [342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [344] = {.entry = {.count = 1, .reusable = false}}, SHIFT(227), + [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_having, 2), + [348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), + [350] = {.entry = {.count = 1, .reusable = false}}, SHIFT(252), + [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311), + [354] = {.entry = {.count = 1, .reusable = false}}, SHIFT(251), + [356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [358] = {.entry = {.count = 1, .reusable = false}}, SHIFT(249), + [360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [362] = {.entry = {.count = 1, .reusable = false}}, SHIFT(235), + [364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [366] = {.entry = {.count = 1, .reusable = false}}, SHIFT(247), + [368] = {.entry = {.count = 1, .reusable = false}}, SHIFT(303), + [370] = {.entry = {.count = 1, .reusable = false}}, SHIFT(301), + [372] = {.entry = {.count = 1, .reusable = false}}, SHIFT(300), + [374] = {.entry = {.count = 1, .reusable = false}}, SHIFT(306), + [376] = {.entry = {.count = 1, .reusable = false}}, SHIFT(283), + [378] = {.entry = {.count = 1, .reusable = false}}, SHIFT(296), + [380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), + [382] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), + [384] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), + [386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), + [388] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [390] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_update_value, 1), + [392] = {.entry = {.count = 1, .reusable = false}}, SHIFT(613), + [394] = {.entry = {.count = 1, .reusable = false}}, SHIFT(882), + [396] = {.entry = {.count = 1, .reusable = true}}, SHIFT(586), + [398] = {.entry = {.count = 1, .reusable = false}}, SHIFT(262), + [400] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), + [402] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(1027), + [405] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(687), + [408] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(390), + [411] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(1152), + [414] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(1150), + [417] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(691), + [420] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(914), + [423] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(912), + [426] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(24), + [429] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), + [431] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_limit, 4), + [433] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_perform_statement, 1), + [435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [437] = {.entry = {.count = 1, .reusable = false}}, SHIFT(310), + [439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(656), + [441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(307), + [443] = {.entry = {.count = 1, .reusable = false}}, SHIFT(312), + [445] = {.entry = {.count = 1, .reusable = false}}, SHIFT(315), + [447] = {.entry = {.count = 1, .reusable = false}}, SHIFT(151), + [449] = {.entry = {.count = 1, .reusable = false}}, SHIFT(274), + [451] = {.entry = {.count = 1, .reusable = false}}, SHIFT(540), + [453] = {.entry = {.count = 1, .reusable = false}}, SHIFT(119), + [455] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [457] = {.entry = {.count = 1, .reusable = false}}, SHIFT(268), + [459] = {.entry = {.count = 1, .reusable = true}}, SHIFT(663), + [461] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), + [463] = {.entry = {.count = 1, .reusable = false}}, SHIFT(265), + [465] = {.entry = {.count = 1, .reusable = false}}, SHIFT(260), + [467] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122), + [469] = {.entry = {.count = 1, .reusable = false}}, SHIFT(167), + [471] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240), + [473] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_execute_statement, 2), + [475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(838), + [477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), + [479] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), + [481] = {.entry = {.count = 1, .reusable = false}}, SHIFT(563), + [483] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131), + [485] = {.entry = {.count = 1, .reusable = false}}, SHIFT(931), + [487] = {.entry = {.count = 1, .reusable = false}}, SHIFT(287), + [489] = {.entry = {.count = 1, .reusable = false}}, SHIFT(698), + [491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [493] = {.entry = {.count = 1, .reusable = false}}, SHIFT(199), + [495] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253), + [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), + [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1095), + [501] = {.entry = {.count = 1, .reusable = false}}, SHIFT(203), + [503] = {.entry = {.count = 1, .reusable = false}}, SHIFT(640), + [505] = {.entry = {.count = 1, .reusable = false}}, SHIFT(297), + [507] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [509] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1151), + [511] = {.entry = {.count = 1, .reusable = false}}, SHIFT(294), + [513] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4), + [515] = {.entry = {.count = 1, .reusable = false}}, SHIFT(304), + [517] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), + [519] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), + [521] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), + [523] = {.entry = {.count = 1, .reusable = false}}, SHIFT(158), + [525] = {.entry = {.count = 1, .reusable = false}}, SHIFT(159), + [527] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), + [529] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), + [531] = {.entry = {.count = 1, .reusable = false}}, SHIFT(302), + [533] = {.entry = {.count = 1, .reusable = false}}, SHIFT(164), + [535] = {.entry = {.count = 1, .reusable = false}}, SHIFT(140), + [537] = {.entry = {.count = 1, .reusable = false}}, SHIFT(121), + [539] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), + [541] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120), + [543] = {.entry = {.count = 1, .reusable = false}}, SHIFT(123), + [545] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41), + [547] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), + [549] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), + [551] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), + [553] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37), + [555] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), + [557] = {.entry = {.count = 1, .reusable = false}}, SHIFT(124), + [559] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47), + [561] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), + [563] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127), + [565] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129), + [567] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), + [569] = {.entry = {.count = 1, .reusable = false}}, SHIFT(305), + [571] = {.entry = {.count = 1, .reusable = false}}, SHIFT(271), + [573] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139), + [575] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), + [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), + [579] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), + [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(626), + [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [585] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), + [587] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), + [589] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28), + [591] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), + [593] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_execute_statement, 5), + [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), + [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1113), + [599] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10), + [601] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63), + [603] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64), + [605] = {.entry = {.count = 1, .reusable = false}}, SHIFT(298), + [607] = {.entry = {.count = 1, .reusable = false}}, SHIFT(278), + [609] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11), + [611] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), + [613] = {.entry = {.count = 1, .reusable = false}}, SHIFT(288), + [615] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), + [617] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69), + [619] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166), + [621] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202), + [623] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_execute_statement, 4), + [625] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), + [627] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), + [629] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29), + [631] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), + [633] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), + [635] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), + [637] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), + [639] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34), + [641] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149), + [643] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), + [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [647] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35), + [649] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), + [651] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67), + [653] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), + [655] = {.entry = {.count = 1, .reusable = false}}, SHIFT(299), + [657] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), + [659] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105), + [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [663] = {.entry = {.count = 1, .reusable = false}}, SHIFT(241), + [665] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9), + [667] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), + [669] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), + [671] = {.entry = {.count = 1, .reusable = false}}, SHIFT(156), + [673] = {.entry = {.count = 1, .reusable = false}}, SHIFT(3), + [675] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6), + [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(345), + [679] = {.entry = {.count = 1, .reusable = false}}, SHIFT(7), + [681] = {.entry = {.count = 1, .reusable = false}}, SHIFT(282), + [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [685] = {.entry = {.count = 1, .reusable = false}}, SHIFT(295), + [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [689] = {.entry = {.count = 1, .reusable = false}}, SHIFT(286), + [691] = {.entry = {.count = 1, .reusable = true}}, SHIFT(309), + [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), + [695] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155), + [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370), + [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), + [701] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), + [703] = {.entry = {.count = 1, .reusable = false}}, SHIFT(165), + [705] = {.entry = {.count = 1, .reusable = false}}, SHIFT(216), + [707] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_item, 1), + [709] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_from_item_repeat1, 2), + [711] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_item_repeat1, 2), SHIFT_REPEAT(533), + [714] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_item_repeat1, 2), SHIFT_REPEAT(1143), + [717] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_item_repeat1, 2), SHIFT_REPEAT(923), + [720] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_item_repeat1, 2), SHIFT_REPEAT(1074), + [723] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_item_repeat1, 2), SHIFT_REPEAT(898), + [726] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 3), + [728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(518), + [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1062), + [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234), + [736] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), + [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1061), + [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), + [744] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_item, 2), + [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(533), + [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1143), + [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(923), + [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1074), + [754] = {.entry = {.count = 1, .reusable = true}}, SHIFT(898), + [756] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_item, 1), + [758] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_column_type, 3), + [760] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 4), + [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [764] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1149), + [766] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_table, 1), + [768] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_table, 1), + [770] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [772] = {.entry = {.count = 1, .reusable = false}}, SHIFT(316), + [774] = {.entry = {.count = 1, .reusable = false}}, SHIFT(314), + [776] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_column_action, 3), + [778] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1154), + [780] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [782] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_function, 3), + [784] = {.entry = {.count = 1, .reusable = true}}, SHIFT(858), + [786] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_function, 2), + [788] = {.entry = {.count = 1, .reusable = true}}, SHIFT(666), + [790] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [792] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1092), + [794] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_function, 1), + [796] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_function, 1), + [798] = {.entry = {.count = 1, .reusable = false}}, SHIFT(709), + [800] = {.entry = {.count = 1, .reusable = false}}, SHIFT(285), + [802] = {.entry = {.count = 1, .reusable = true}}, SHIFT(413), + [804] = {.entry = {.count = 1, .reusable = true}}, SHIFT(528), + [806] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [808] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 2), + [810] = {.entry = {.count = 1, .reusable = true}}, SHIFT(997), + [812] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [814] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [816] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323), + [818] = {.entry = {.count = 1, .reusable = true}}, SHIFT(708), + [820] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), + [822] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assign_statement, 3), + [824] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1012), + [826] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [828] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [830] = {.entry = {.count = 1, .reusable = true}}, SHIFT(512), + [832] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_table, 3), + [834] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_table, 2), + [836] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_table, 2), + [838] = {.entry = {.count = 1, .reusable = false}}, SHIFT(313), + [840] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_sequence_statement, 3), + [842] = {.entry = {.count = 1, .reusable = true}}, SHIFT(983), + [844] = {.entry = {.count = 1, .reusable = true}}, SHIFT(713), + [846] = {.entry = {.count = 1, .reusable = true}}, SHIFT(894), + [848] = {.entry = {.count = 1, .reusable = true}}, SHIFT(952), + [850] = {.entry = {.count = 1, .reusable = true}}, SHIFT(951), + [852] = {.entry = {.count = 1, .reusable = true}}, SHIFT(897), + [854] = {.entry = {.count = 1, .reusable = true}}, SHIFT(948), + [856] = {.entry = {.count = 1, .reusable = true}}, SHIFT(456), + [858] = {.entry = {.count = 1, .reusable = true}}, SHIFT(946), + [860] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_sequence_statement, 6), + [862] = {.entry = {.count = 1, .reusable = true}}, SHIFT(530), + [864] = {.entry = {.count = 1, .reusable = true}}, SHIFT(936), + [866] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 5), + [868] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_select, 4), + [870] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_function, 4), + [872] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_item_repeat1, 2), SHIFT_REPEAT(530), + [875] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_item_repeat1, 2), SHIFT_REPEAT(936), + [878] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_sequence_statement, 4), + [880] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [882] = {.entry = {.count = 1, .reusable = false}}, SHIFT(354), + [884] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_join_item, 3), + [886] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_sequence_statement, 5), + [888] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_select, 5), + [890] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_sequence_statement_repeat1, 2), + [892] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_sequence_statement_repeat1, 2), SHIFT_REPEAT(983), + [895] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_sequence_statement_repeat1, 2), SHIFT_REPEAT(713), + [898] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_sequence_statement_repeat1, 2), SHIFT_REPEAT(894), + [901] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_sequence_statement_repeat1, 2), SHIFT_REPEAT(952), + [904] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_sequence_statement_repeat1, 2), SHIFT_REPEAT(951), + [907] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_sequence_statement_repeat1, 2), SHIFT_REPEAT(897), + [910] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_sequence_statement_repeat1, 2), SHIFT_REPEAT(948), + [913] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_sequence_statement_repeat1, 2), SHIFT_REPEAT(456), + [916] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_sequence_statement_repeat1, 2), SHIFT_REPEAT(946), + [919] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 6), + [921] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_constraint_foreign_key, 2), + [923] = {.entry = {.count = 1, .reusable = true}}, SHIFT(869), + [925] = {.entry = {.count = 1, .reusable = true}}, SHIFT(536), + [927] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1135), + [929] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [931] = {.entry = {.count = 1, .reusable = false}}, SHIFT(399), + [933] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_item_repeat1, 2), SHIFT_REPEAT(536), + [936] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_item_repeat1, 2), SHIFT_REPEAT(1135), + [939] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_column_item, 2), + [941] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212), + [943] = {.entry = {.count = 1, .reusable = true}}, SHIFT(960), + [945] = {.entry = {.count = 1, .reusable = true}}, SHIFT(411), + [947] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1078), + [949] = {.entry = {.count = 1, .reusable = true}}, SHIFT(963), + [951] = {.entry = {.count = 1, .reusable = true}}, SHIFT(965), + [953] = {.entry = {.count = 1, .reusable = true}}, SHIFT(968), + [955] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1065), + [957] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_grant_privileges_repeat1, 2), + [959] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_grant_privileges_repeat1, 2), SHIFT_REPEAT(1013), + [962] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_predefined_types, 1), + [964] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1076), + [966] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_constraint_foreign_key, 3), + [968] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_as, 2), + [970] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_table_column_item_repeat1, 2), + [972] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_column_item_repeat1, 2), SHIFT_REPEAT(212), + [975] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_column_item_repeat1, 2), SHIFT_REPEAT(960), + [978] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_column_item_repeat1, 2), SHIFT_REPEAT(411), + [981] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_column_item_repeat1, 2), SHIFT_REPEAT(1078), + [984] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_column_item_repeat1, 2), SHIFT_REPEAT(963), + [987] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_column_item_repeat1, 2), SHIFT_REPEAT(965), + [990] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_column_item_repeat1, 2), SHIFT_REPEAT(968), + [993] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_constraint_foreign_key, 4), + [995] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_into, 4), + [997] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1013), + [999] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_constraint_foreign_key_repeat1, 2), + [1001] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_constraint_foreign_key_repeat1, 2), SHIFT_REPEAT(869), + [1004] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_into, 3), + [1006] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_column_item, 3), + [1008] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_into, 2), + [1010] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_insert_returning_repeat1, 2), + [1012] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_insert_returning_repeat1, 2), SHIFT_REPEAT(157), + [1015] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_item, 2), + [1017] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select_item, 2), + [1019] = {.entry = {.count = 1, .reusable = false}}, SHIFT(401), + [1021] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 7), + [1023] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__type, 3), + [1025] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1123), + [1027] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1121), + [1029] = {.entry = {.count = 1, .reusable = true}}, SHIFT(726), + [1031] = {.entry = {.count = 1, .reusable = true}}, SHIFT(606), + [1033] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1114), + [1035] = {.entry = {.count = 1, .reusable = true}}, SHIFT(598), + [1037] = {.entry = {.count = 1, .reusable = true}}, SHIFT(738), + [1039] = {.entry = {.count = 1, .reusable = true}}, SHIFT(873), + [1041] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1103), + [1043] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1098), + [1045] = {.entry = {.count = 1, .reusable = false}}, SHIFT(748), + [1047] = {.entry = {.count = 1, .reusable = true}}, SHIFT(748), + [1049] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_precision, 3), + [1051] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__plpgsql_statement, 2), + [1053] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__plpgsql_statement, 2), + [1055] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_predefined_types, 2), + [1057] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_precision, 5), + [1059] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_item, 3), + [1061] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_from, 2), + [1063] = {.entry = {.count = 1, .reusable = true}}, SHIFT(510), + [1065] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_constraint, 3), + [1067] = {.entry = {.count = 1, .reusable = true}}, SHIFT(421), + [1069] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_fk_ref_action, 1), + [1071] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_fk_action, 3), + [1073] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_delete_using_repeat1, 2), + [1075] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_delete_using_repeat1, 2), SHIFT_REPEAT(510), + [1078] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_constraint, 1), + [1080] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_from, 3), + [1082] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_fk_ref_action, 2), + [1084] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_constraint_ty, 1), + [1086] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_constraint_ty, 4), + [1088] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_insert_returning_repeat1, 2), SHIFT_REPEAT(146), + [1091] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 8), + [1093] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_constraint_when, 1), + [1095] = {.entry = {.count = 1, .reusable = true}}, SHIFT(875), + [1097] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1009), + [1099] = {.entry = {.count = 1, .reusable = false}}, SHIFT(821), + [1101] = {.entry = {.count = 1, .reusable = false}}, SHIFT(660), + [1103] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1019), + [1105] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1043), + [1107] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1052), + [1109] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1038), + [1111] = {.entry = {.count = 1, .reusable = false}}, SHIFT(622), + [1113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(926), + [1115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(865), + [1117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(425), + [1119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(588), + [1121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(620), + [1123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_constraint, 2), + [1125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_and, 1), + [1127] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_and, 1), + [1129] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_psql_statement, 3), + [1131] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_minus, 1), + [1133] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_minus, 1), + [1135] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 3), + [1137] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152), + [1139] = {.entry = {.count = 1, .reusable = false}}, SHIFT(526), + [1141] = {.entry = {.count = 1, .reusable = false}}, SHIFT(466), + [1143] = {.entry = {.count = 1, .reusable = false}}, SHIFT(225), + [1145] = {.entry = {.count = 1, .reusable = false}}, SHIFT(488), + [1147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(986), + [1149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(985), + [1151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [1153] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_other_op, 1), + [1155] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_other_op, 1), + [1157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1008), + [1159] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_conflict_target_repeat1, 2), SHIFT_REPEAT(257), + [1162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_group_by, 4), + [1164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comparison_op, 1), + [1166] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comparison_op, 1), + [1168] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_plus, 1), + [1170] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_plus, 1), + [1172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_or, 1), + [1174] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_or, 1), + [1176] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 1), + [1178] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__statement, 1), + [1180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1122), + [1182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(954), + [1184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_not, 1), + [1186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_not, 1), + [1188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 4), + [1190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154), + [1192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(467), + [1194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(479), + [1196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1059), + [1198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_constraint, 4), + [1200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_constraint_when, 3), + [1202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_start, 2), + [1204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_start, 3), + [1206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_max, 2), + [1208] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_delete_using_repeat1, 2), SHIFT_REPEAT(525), + [1211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 9), + [1213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_cycle, 2), + [1215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_cycle, 1), + [1217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_increment, 2), + [1219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(525), + [1221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_min, 2), + [1223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_cache, 2), + [1225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 5), + [1227] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), + [1229] = {.entry = {.count = 1, .reusable = false}}, SHIFT(485), + [1231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_where, 1), + [1233] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_owned, 3), + [1235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_increment, 3), + [1237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_order_by, 4), + [1239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [1241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_order_by_repeat1, 2), + [1243] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_order_by_repeat1, 2), SHIFT_REPEAT(141), + [1246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [1248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(526), + [1250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), + [1252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_order_by, 3), + [1254] = {.entry = {.count = 1, .reusable = false}}, SHIFT(937), + [1256] = {.entry = {.count = 1, .reusable = false}}, SHIFT(703), + [1258] = {.entry = {.count = 1, .reusable = false}}, SHIFT(905), + [1260] = {.entry = {.count = 1, .reusable = false}}, SHIFT(707), + [1262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 6), + [1264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [1266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [1268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_conflict, 8), + [1270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(634), + [1272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_by_direction, 1), + [1274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_statement, 7), + [1276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(971), + [1278] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [1280] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_statement, 5), + [1282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_by_item, 2), + [1284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_conflict, 7), + [1286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 10), + [1288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(916), + [1290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(695), + [1292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(678), + [1294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1148), + [1296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_statement, 4), + [1298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_statement, 6), + [1300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(664), + [1302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), + [1304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__type, 1), + [1306] = {.entry = {.count = 1, .reusable = false}}, SHIFT(366), + [1308] = {.entry = {.count = 1, .reusable = false}}, SHIFT(683), + [1310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), + [1312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_insert_conflict_repeat1, 2), + [1314] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_insert_conflict_repeat1, 2), SHIFT_REPEAT(634), + [1317] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_using, 3), + [1319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(523), + [1321] = {.entry = {.count = 1, .reusable = false}}, SHIFT(809), + [1323] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_using, 2), + [1325] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 7), + [1327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [1329] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_col, 1), + [1331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(760), + [1333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(854), + [1335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358), + [1337] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_col, 3), + [1339] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_delete_using_repeat1, 2), SHIFT_REPEAT(523), + [1342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 8), + [1344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), + [1346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 10), + [1348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 11), + [1350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_update_set, 3), + [1352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_update_set, 5), + [1354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_update_set, 6), + [1356] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_update_set, 7), + [1358] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_declarations_repeat1, 2), + [1360] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_declarations_repeat1, 2), SHIFT_REPEAT(681), + [1363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_var_declaration, 2, .production_id = 1), + [1365] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_statement, 8), + [1367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 9), + [1369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_action, 3), + [1371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(771), + [1373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(848), + [1375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(579), + [1377] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_action, 2), + [1379] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declarations, 2), + [1381] = {.entry = {.count = 1, .reusable = false}}, SHIFT(681), + [1383] = {.entry = {.count = 1, .reusable = false}}, SHIFT(719), + [1385] = {.entry = {.count = 1, .reusable = false}}, SHIFT(958), + [1387] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declarations, 1), + [1389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_items, 4), + [1391] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_items, 5), + [1393] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 9), + [1395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1089), + [1397] = {.entry = {.count = 1, .reusable = false}}, SHIFT(623), + [1399] = {.entry = {.count = 1, .reusable = false}}, SHIFT(959), + [1401] = {.entry = {.count = 1, .reusable = false}}, SHIFT(675), + [1403] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1140), + [1405] = {.entry = {.count = 1, .reusable = false}}, SHIFT(957), + [1407] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint, 1), + [1409] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint, 3), + [1411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [1413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(558), + [1415] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_items, 1), + [1417] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 8), + [1419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(855), + [1421] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_returning, 2), + [1423] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_with_query_repeat1, 2), + [1425] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_with_query_repeat1, 2), SHIFT_REPEAT(836), + [1428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_items, 2), + [1430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 9), + [1432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(907), + [1434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [1436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(821), + [1438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1019), + [1440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1043), + [1442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1052), + [1444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(892), + [1446] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_items, 3), + [1448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_query, 3), + [1450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(836), + [1452] = {.entry = {.count = 1, .reusable = false}}, SHIFT(697), + [1454] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1017), + [1456] = {.entry = {.count = 1, .reusable = false}}, SHIFT(600), + [1458] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_returning, 3), + [1460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(773), + [1462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 13), + [1464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 7), + [1466] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1030), + [1468] = {.entry = {.count = 1, .reusable = false}}, SHIFT(649), + [1470] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1028), + [1472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 12), + [1474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 11), + [1476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 11), + [1478] = {.entry = {.count = 1, .reusable = false}}, SHIFT(807), + [1480] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1132), + [1482] = {.entry = {.count = 1, .reusable = false}}, SHIFT(810), + [1484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_query, 2), + [1486] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1073), + [1488] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1034), + [1490] = {.entry = {.count = 1, .reusable = false}}, SHIFT(950), + [1492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 8), + [1494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 10), + [1496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_action, 4), + [1498] = {.entry = {.count = 1, .reusable = true}}, SHIFT(818), + [1500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1021), + [1502] = {.entry = {.count = 1, .reusable = true}}, SHIFT(404), + [1504] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_insert_returning_repeat1, 2), SHIFT_REPEAT(143), + [1507] = {.entry = {.count = 1, .reusable = false}}, SHIFT(885), + [1509] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1126), + [1511] = {.entry = {.count = 1, .reusable = false}}, SHIFT(934), + [1513] = {.entry = {.count = 1, .reusable = false}}, SHIFT(940), + [1515] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1070), + [1517] = {.entry = {.count = 1, .reusable = false}}, SHIFT(996), + [1519] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_conflict, 9), + [1521] = {.entry = {.count = 1, .reusable = false}}, SHIFT(363), + [1523] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_column_type, 1), + [1525] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [1527] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), + [1529] = {.entry = {.count = 1, .reusable = false}}, SHIFT(668), + [1531] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), + [1533] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_conflict_target_repeat1, 2), SHIFT_REPEAT(236), + [1536] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), + [1538] = {.entry = {.count = 1, .reusable = false}}, SHIFT(627), + [1540] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), + [1542] = {.entry = {.count = 1, .reusable = false}}, SHIFT(648), + [1544] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1025), + [1546] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), + [1548] = {.entry = {.count = 1, .reusable = true}}, SHIFT(662), + [1550] = {.entry = {.count = 1, .reusable = true}}, SHIFT(886), + [1552] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_return_table_repeat1, 2), + [1554] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_return_table_repeat1, 2), SHIFT_REPEAT(820), + [1557] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_statement, 9), + [1559] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_col, 2), + [1561] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_query_item, 6), + [1563] = {.entry = {.count = 1, .reusable = false}}, SHIFT(5), + [1565] = {.entry = {.count = 1, .reusable = false}}, SHIFT(629), + [1567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246), + [1569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(820), + [1571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(924), + [1573] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), + [1575] = {.entry = {.count = 1, .reusable = false}}, SHIFT(652), + [1577] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_ty, 2), + [1579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [1581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(929), + [1583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(925), + [1585] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dollar_quote, 2), + [1587] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_ty, 3), + [1589] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2), + [1591] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(648), + [1594] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_col, 4), + [1596] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), + [1598] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_conflict, 4), + [1600] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_conflict, 5), + [1602] = {.entry = {.count = 1, .reusable = false}}, SHIFT(321), + [1604] = {.entry = {.count = 1, .reusable = false}}, SHIFT(661), + [1606] = {.entry = {.count = 1, .reusable = true}}, SHIFT(672), + [1608] = {.entry = {.count = 1, .reusable = false}}, SHIFT(322), + [1610] = {.entry = {.count = 1, .reusable = false}}, SHIFT(515), + [1612] = {.entry = {.count = 1, .reusable = false}}, SHIFT(269), + [1614] = {.entry = {.count = 1, .reusable = false}}, SHIFT(670), + [1616] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_query_item, 7), + [1618] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint_ty, 4), + [1620] = {.entry = {.count = 1, .reusable = true}}, SHIFT(832), + [1622] = {.entry = {.count = 1, .reusable = false}}, SHIFT(95), + [1624] = {.entry = {.count = 1, .reusable = false}}, SHIFT(689), + [1626] = {.entry = {.count = 1, .reusable = false}}, SHIFT(279), + [1628] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), + [1630] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1002), + [1632] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_trigger_when, 1), + [1634] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_query_item, 5), + [1636] = {.entry = {.count = 1, .reusable = false}}, SHIFT(207), + [1638] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1077), + [1640] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1104), + [1642] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1105), + [1644] = {.entry = {.count = 1, .reusable = false}}, SHIFT(511), + [1646] = {.entry = {.count = 1, .reusable = false}}, SHIFT(853), + [1648] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1083), + [1650] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_block_repeat1, 2), + [1652] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_block_repeat1, 2), SHIFT_REPEAT(558), + [1655] = {.entry = {.count = 1, .reusable = false}}, SHIFT(548), + [1657] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dollar_quote, 3), + [1659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(843), + [1661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), + [1663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(521), + [1665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [1667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(545), + [1669] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_index_statement_repeat1, 2), SHIFT_REPEAT(684), + [1672] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_index_statement_repeat1, 2), + [1674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(684), + [1676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(582), + [1678] = {.entry = {.count = 1, .reusable = false}}, SHIFT(851), + [1680] = {.entry = {.count = 1, .reusable = false}}, SHIFT(766), + [1682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1090), + [1684] = {.entry = {.count = 1, .reusable = false}}, SHIFT(994), + [1686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(857), + [1688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(856), + [1690] = {.entry = {.count = 1, .reusable = false}}, SHIFT(575), + [1692] = {.entry = {.count = 1, .reusable = true}}, SHIFT(401), + [1694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [1696] = {.entry = {.count = 1, .reusable = true}}, SHIFT(564), + [1698] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_change, 1), + [1700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(635), + [1702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(566), + [1704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(465), + [1706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1107), + [1708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1054), + [1710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(751), + [1712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1136), + [1714] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), + [1716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(915), + [1718] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1048), + [1720] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1047), + [1722] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [1724] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_targets, 1), + [1726] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_var_definition, 4), + [1728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), + [1730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), + [1732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(461), + [1734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(452), + [1736] = {.entry = {.count = 1, .reusable = true}}, SHIFT(455), + [1738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(372), + [1740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(710), + [1742] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_schema_statement, 4), + [1744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(807), + [1746] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_roles, 1), + [1748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(619), + [1750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), + [1752] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_grant_roles_repeat1, 2), + [1754] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_grant_roles_repeat1, 2), SHIFT_REPEAT(619), + [1757] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_roles, 3), + [1759] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_insert_items_repeat1, 2), SHIFT_REPEAT(133), + [1762] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_insert_items_repeat1, 2), + [1764] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint, 4), + [1766] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1037), + [1768] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), + [1770] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), + [1772] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [1774] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1068), + [1776] = {.entry = {.count = 1, .reusable = true}}, SHIFT(883), + [1778] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_targets, 3), + [1780] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [1782] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_execute_statement, 6), + [1784] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [1786] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_table_statement_repeat1, 2), SHIFT_REPEAT(465), + [1789] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_table_statement_repeat1, 2), + [1791] = {.entry = {.count = 1, .reusable = false}}, SHIFT(324), + [1793] = {.entry = {.count = 1, .reusable = true}}, SHIFT(611), + [1795] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_perform_statement, 2), + [1797] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), + [1799] = {.entry = {.count = 1, .reusable = true}}, SHIFT(562), + [1801] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_var_definition, 2), + [1803] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [1805] = {.entry = {.count = 1, .reusable = true}}, SHIFT(793), + [1807] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [1809] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_temporary, 1), + [1811] = {.entry = {.count = 1, .reusable = true}}, SHIFT(614), + [1813] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_alter_table_change_repeat1, 2), + [1815] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_alter_table_change_repeat1, 2), SHIFT_REPEAT(635), + [1818] = {.entry = {.count = 1, .reusable = true}}, SHIFT(696), + [1820] = {.entry = {.count = 1, .reusable = true}}, SHIFT(546), + [1822] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_update_set_repeat1, 2), SHIFT_REPEAT(135), + [1825] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_update_set_repeat1, 2), + [1827] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1020), + [1829] = {.entry = {.count = 1, .reusable = true}}, SHIFT(805), + [1831] = {.entry = {.count = 1, .reusable = true}}, SHIFT(808), + [1833] = {.entry = {.count = 1, .reusable = true}}, SHIFT(346), + [1835] = {.entry = {.count = 1, .reusable = false}}, SHIFT(426), + [1837] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_col_dir, 1), + [1839] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 14), + [1841] = {.entry = {.count = 1, .reusable = true}}, SHIFT(544), + [1843] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_perform_statement, 3), + [1845] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_insert_returning_repeat1, 2), SHIFT_REPEAT(145), + [1848] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_privileges, 1), + [1850] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1041), + [1852] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_targets, 2), + [1854] = {.entry = {.count = 1, .reusable = true}}, SHIFT(429), + [1856] = {.entry = {.count = 1, .reusable = false}}, SHIFT(796), + [1858] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [1860] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1035), + [1862] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1039), + [1864] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [1866] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_trigger_event, 1), + [1868] = {.entry = {.count = 1, .reusable = true}}, SHIFT(667), + [1870] = {.entry = {.count = 1, .reusable = true}}, SHIFT(819), + [1872] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_grant_function_repeat1, 2), + [1874] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_grant_function_repeat1, 2), SHIFT_REPEAT(662), + [1877] = {.entry = {.count = 1, .reusable = true}}, SHIFT(594), + [1879] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_roles, 2), + [1881] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_trigger_event, 2), + [1883] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_grant_targets_repeat1, 2), SHIFT_REPEAT(883), + [1886] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_grant_targets_repeat1, 2), + [1888] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1153), + [1890] = {.entry = {.count = 1, .reusable = true}}, SHIFT(574), + [1892] = {.entry = {.count = 1, .reusable = true}}, SHIFT(486), + [1894] = {.entry = {.count = 1, .reusable = true}}, SHIFT(928), + [1896] = {.entry = {.count = 1, .reusable = true}}, SHIFT(949), + [1898] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_trigger_event_repeat1, 2), + [1900] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_trigger_event_repeat1, 2), SHIFT_REPEAT(667), + [1903] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constraint, 2), + [1905] = {.entry = {.count = 1, .reusable = true}}, SHIFT(741), + [1907] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_psql_statement_repeat1, 2), + [1909] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_psql_statement_repeat1, 2), SHIFT_REPEAT(796), + [1912] = {.entry = {.count = 1, .reusable = true}}, SHIFT(605), + [1914] = {.entry = {.count = 1, .reusable = true}}, SHIFT(601), + [1916] = {.entry = {.count = 1, .reusable = true}}, SHIFT(597), + [1918] = {.entry = {.count = 1, .reusable = false}}, SHIFT(967), + [1920] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_privileges, 2), + [1922] = {.entry = {.count = 1, .reusable = false}}, SHIFT(962), + [1924] = {.entry = {.count = 1, .reusable = false}}, SHIFT(334), + [1926] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_grant_function_repeat1, 3), + [1928] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_schema_statement, 3), + [1930] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_change, 2), + [1932] = {.entry = {.count = 1, .reusable = false}}, SHIFT(717), + [1934] = {.entry = {.count = 1, .reusable = true}}, SHIFT(608), + [1936] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_statement, 10), + [1938] = {.entry = {.count = 1, .reusable = true}}, SHIFT(866), + [1940] = {.entry = {.count = 1, .reusable = true}}, SHIFT(410), + [1942] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_function, 6), + [1944] = {.entry = {.count = 1, .reusable = true}}, SHIFT(681), + [1946] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), + [1948] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_execute_statement, 3), + [1950] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), + [1952] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_trigger_scope, 3), + [1954] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_col, 5), + [1956] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_column_action, 2), + [1958] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), + [1960] = {.entry = {.count = 1, .reusable = true}}, SHIFT(993), + [1962] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1072), + [1964] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_item, 1), + [1966] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1005), + [1968] = {.entry = {.count = 1, .reusable = false}}, SHIFT(384), + [1970] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_grant_roles_repeat1, 3), + [1972] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 12), + [1974] = {.entry = {.count = 1, .reusable = true}}, SHIFT(376), + [1976] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_function, 5), + [1978] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_column_action, 4), + [1980] = {.entry = {.count = 1, .reusable = true}}, SHIFT(829), + [1982] = {.entry = {.count = 1, .reusable = true}}, SHIFT(622), + [1984] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1014), + [1986] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1083), + [1988] = {.entry = {.count = 1, .reusable = true}}, SHIFT(895), + [1990] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_fk_ref_action, 1), + [1992] = {.entry = {.count = 1, .reusable = true}}, SHIFT(825), + [1994] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_trigger_scope, 2), + [1996] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [1998] = {.entry = {.count = 1, .reusable = true}}, SHIFT(733), + [2000] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), + [2002] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_not_exists, 3), + [2004] = {.entry = {.count = 1, .reusable = true}}, SHIFT(974), + [2006] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body, 2), + [2008] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_includes, 2), + [2010] = {.entry = {.count = 1, .reusable = false}}, SHIFT(922), + [2012] = {.entry = {.count = 1, .reusable = false}}, SHIFT(552), + [2014] = {.entry = {.count = 1, .reusable = true}}, SHIFT(674), + [2016] = {.entry = {.count = 1, .reusable = true}}, SHIFT(616), + [2018] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1046), + [2020] = {.entry = {.count = 1, .reusable = false}}, SHIFT(1045), + [2022] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1079), + [2024] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body, 3), + [2026] = {.entry = {.count = 1, .reusable = true}}, SHIFT(743), + [2028] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [2030] = {.entry = {.count = 1, .reusable = true}}, SHIFT(448), + [2032] = {.entry = {.count = 1, .reusable = true}}, SHIFT(655), + [2034] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1112), + [2036] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), + [2038] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1057), + [2040] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_function, 4), + [2042] = {.entry = {.count = 1, .reusable = true}}, SHIFT(646), + [2044] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1044), + [2046] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_action, 5), + [2048] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1138), + [2050] = {.entry = {.count = 1, .reusable = true}}, SHIFT(457), + [2052] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_col_nulls, 2), + [2054] = {.entry = {.count = 1, .reusable = true}}, SHIFT(669), + [2056] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1119), + [2058] = {.entry = {.count = 1, .reusable = true}}, SHIFT(450), + [2060] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1125), + [2062] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1116), + [2064] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1118), + [2066] = {.entry = {.count = 1, .reusable = true}}, SHIFT(391), + [2068] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347), + [2070] = {.entry = {.count = 1, .reusable = false}}, SHIFT(943), + [2072] = {.entry = {.count = 1, .reusable = false}}, SHIFT(329), + [2074] = {.entry = {.count = 1, .reusable = true}}, SHIFT(770), + [2076] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_trigger_scope, 1), + [2078] = {.entry = {.count = 1, .reusable = false}}, SHIFT(471), + [2080] = {.entry = {.count = 1, .reusable = true}}, SHIFT(995), + [2082] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_statement, 4), + [2084] = {.entry = {.count = 1, .reusable = true}}, SHIFT(551), + [2086] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_join_type, 1), + [2088] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_parameters, 3), + [2090] = {.entry = {.count = 1, .reusable = true}}, SHIFT(654), + [2092] = {.entry = {.count = 1, .reusable = true}}, SHIFT(920), + [2094] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_exists, 2), + [2096] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1142), + [2098] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1100), + [2100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(555), + [2102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(575), + [2104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(909), + [2106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(982), + [2108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340), + [2110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(904), + [2112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(802), + [2114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_join_type, 3), + [2116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(876), + [2118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(981), + [2120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(602), + [2122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339), + [2124] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_signature, 2), + [2126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(637), + [2128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(919), + [2130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_statement, 6), + [2132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(464), + [2134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(478), + [2136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_return, 2), + [2138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(501), + [2140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_statement, 7), + [2142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), + [2144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1104), + [2146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(780), + [2148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(745), + [2150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(482), + [2152] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schema_role, 2), + [2154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [2156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1000), + [2158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(422), + [2160] = {.entry = {.count = 1, .reusable = true}}, SHIFT(994), + [2162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(446), + [2164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353), + [2166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1058), + [2168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(999), + [2170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(645), + [2172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(585), + [2174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [2176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(392), + [2178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [2180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(704), + [2182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1056), + [2184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_rename_table, 3), + [2186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1055), + [2188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1053), + [2190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371), + [2192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_index_statement, 15), + [2194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [2196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(581), + [2198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(445), + [2200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(449), + [2202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1001), + [2204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(615), + [2206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [2208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(443), + [2210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_change_schema, 3), + [2212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(979), + [2214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_parameters, 4, .production_id = 2), + [2216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(956), + [2218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(442), + [2220] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_not_exists, 3), + [2222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(505), + [2224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_parameters, 4), + [2226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(381), + [2228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(788), + [2230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_statement, 5), + [2232] = {.entry = {.count = 1, .reusable = true}}, SHIFT(584), + [2234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_setof, 2), + [2236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(701), + [2238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_trigger_cond, 4), + [2240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(383), + [2242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(432), + [2244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(673), + [2246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(927), + [2248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), + [2250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(694), + [2252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_or_replace, 2), + [2254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_trigger_statement, 11), + [2256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(835), + [2258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [2260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), + [2262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1131), + [2264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(959), + [2266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_statement, 5), + [2268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(715), + [2270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_using, 2), + [2272] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1010), + [2274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(899), + [2276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(967), + [2278] = {.entry = {.count = 1, .reusable = true}}, SHIFT(435), + [2280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(964), + [2282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(567), + [2284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(677), + [2286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_statement, 10), + [2288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_function_statement, 10), + [2290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(831), + [2292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(682), + [2294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(978), + [2296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(753), + [2298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(987), + [2300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(988), + [2302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_trigger_exec, 3), + [2304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(830), + [2306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1134), + [2308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(969), + [2310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1130), + [2312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_rename_column, 4), + [2314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(676), + [2316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1129), + [2318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_statement, 6), + [2320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [2322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217), + [2324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(953), + [2326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_trigger_statement, 10), + [2328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(389), + [2330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(903), + [2332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_conflict_target, 4), + [2334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), + [2336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(980), + [2338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(665), + [2340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(789), + [2342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(827), + [2344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(484), + [2346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(900), + [2348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_parameters, 2), + [2350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body, 4), + [2352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_schema_statement, 5), + [2354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_trigger_exec, 2), + [2356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(860), + [2358] = {.entry = {.count = 1, .reusable = true}}, SHIFT(431), + [2360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), + [2362] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_volatility, 1), + [2364] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_table, 5), + [2366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 3), + [2368] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_parameters, 6, .production_id = 4), + [2370] = {.entry = {.count = 1, .reusable = true}}, SHIFT(817), + [2372] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_conflict_target, 2), + [2374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(799), + [2376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1022), + [2378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [2380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(659), + [2382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(794), + [2384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1046), + [2386] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_statement, 9), + [2388] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [2390] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_trigger_statement, 9), + [2392] = {.entry = {.count = 1, .reusable = true}}, SHIFT(398), + [2394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(628), + [2396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_conflict_target, 3), + [2398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(568), + [2400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(938), + [2402] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), + [2404] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1110), + [2406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(451), + [2408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_table_statement, 8), + [2410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1040), + [2412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_join_type, 2), + [2414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(840), + [2416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_do_block, 2), + [2418] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_grant_targets, 5), + [2420] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_rename_column, 5), + [2422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(433), + [2424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1066), + [2426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1069), + [2428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alter_table_rename_constraint, 5), + [2430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(842), + [2432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1031), + [2434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(474), + [2436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(470), + [2438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1084), + [2440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1087), + [2442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(481), + [2444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(859), + [2446] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [2448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_trigger_statement, 8), + [2450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1099), + [2452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [2454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1108), + [2456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(759), + [2458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1117), + [2460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(1086), + [2462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_table, 4), + [2464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_parameters, 5, .production_id = 3), }; #ifdef __cplusplus