Files
mayfly-go/server/internal/db/dbm/sqlparser/pgsql/antlr4/PostgreSQLParser.interp

2181 lines
412 KiB
Plaintext
Raw Normal View History

token literal names:
null
'$'
'('
')'
'['
']'
','
';'
':'
'*'
'='
'.'
'+'
'-'
'/'
'^'
'<'
'>'
'<<'
'>>'
':='
'<='
'=>'
'>='
'..'
'<>'
'::'
'%'
null
null
'ALL'
'ANALYSE'
'ANALYZE'
'AND'
'ANY'
'ARRAY'
'AS'
'ASC'
'ASYMMETRIC'
'BOTH'
'CASE'
'CAST'
'CHECK'
'COLLATE'
'COLUMN'
'CONSTRAINT'
'CREATE'
'CURRENT_CATALOG'
'CURRENT_DATE'
'CURRENT_ROLE'
'CURRENT_TIME'
'CURRENT_TIMESTAMP'
'CURRENT_USER'
'DEFAULT'
'DEFERRABLE'
'DESC'
'DISTINCT'
'DO'
'ELSE'
'EXCEPT'
'FALSE'
'FETCH'
'FOR'
'FOREIGN'
'FROM'
'GRANT'
'GROUP'
'HAVING'
'IN'
'INITIALLY'
'INTERSECT'
'INTO'
'LATERAL'
'LEADING'
'LIMIT'
'LOCALTIME'
'LOCALTIMESTAMP'
'NOT'
'NULL'
'OFFSET'
'ON'
'ONLY'
'OR'
'ORDER'
'PLACING'
'PRIMARY'
'REFERENCES'
'RETURNING'
'SELECT'
'SESSION_USER'
'SOME'
'SYMMETRIC'
'TABLE'
'THEN'
'TO'
'TRAILING'
'TRUE'
'UNION'
'UNIQUE'
'USER'
'USING'
'VARIADIC'
'WHEN'
'WHERE'
'WINDOW'
'WITH'
'AUTHORIZATION'
'BINARY'
'COLLATION'
'CONCURRENTLY'
'CROSS'
'CURRENT_SCHEMA'
'FREEZE'
'FULL'
'ILIKE'
'INNER'
'IS'
'ISNULL'
'JOIN'
'LEFT'
'LIKE'
'NATURAL'
'NOTNULL'
'OUTER'
'OVER'
'OVERLAPS'
'RIGHT'
'SIMILAR'
'VERBOSE'
'ABORT'
'ABSOLUTE'
'ACCESS'
'ACTION'
'ADD'
'ADMIN'
'AFTER'
'AGGREGATE'
'ALSO'
'ALTER'
'ALWAYS'
'ASSERTION'
'ASSIGNMENT'
'AT'
'ATTRIBUTE'
'BACKWARD'
'BEFORE'
'BEGIN'
'BY'
'CACHE'
'CALLED'
'CASCADE'
'CASCADED'
'CATALOG'
'CHAIN'
'CHARACTERISTICS'
'CHECKPOINT'
'CLASS'
'CLOSE'
'CLUSTER'
'COMMENT'
'COMMENTS'
'COMMIT'
'COMMITTED'
'CONFIGURATION'
'CONNECTION'
'CONSTRAINTS'
'CONTENT'
'CONTINUE'
'CONVERSION'
'COPY'
'COST'
'CSV'
'CURSOR'
'CYCLE'
'DATA'
'DATABASE'
'DAY'
'DEALLOCATE'
'DECLARE'
'DEFAULTS'
'DEFERRED'
'DEFINER'
'DELETE'
'DELIMITER'
'DELIMITERS'
'DICTIONARY'
'DISABLE'
'DISCARD'
'DOCUMENT'
'DOMAIN'
'DOUBLE'
'DROP'
'EACH'
'ENABLE'
'ENCODING'
'ENCRYPTED'
'ENUM'
'ESCAPE'
'EVENT'
'EXCLUDE'
'EXCLUDING'
'EXCLUSIVE'
'EXECUTE'
'EXPLAIN'
'EXTENSION'
'EXTERNAL'
'FAMILY'
'FIRST'
'FOLLOWING'
'FORCE'
'FORWARD'
'FUNCTION'
'FUNCTIONS'
'GLOBAL'
'GRANTED'
'HANDLER'
'HEADER'
'HOLD'
'HOUR'
'IDENTITY'
'IF'
'IMMEDIATE'
'IMMUTABLE'
'IMPLICIT'
'INCLUDING'
'INCREMENT'
'INDEX'
'INDEXES'
'INHERIT'
'INHERITS'
'INLINE'
'INSENSITIVE'
'INSERT'
'INSTEAD'
'INVOKER'
'ISOLATION'
'KEY'
'LABEL'
'LANGUAGE'
'LARGE'
'LAST'
'LEAKPROOF'
'LEVEL'
'LISTEN'
'LOAD'
'LOCAL'
'LOCATION'
'LOCK'
'MAPPING'
'MATCH'
'MATCHED'
'MATERIALIZED'
'MAXVALUE'
'MERGE'
'MINUTE'
'MINVALUE'
'MODE'
'MONTH'
'MOVE'
'NAME'
'NAMES'
'NEXT'
'NO'
'NOTHING'
'NOTIFY'
'NOWAIT'
'NULLS'
'OBJECT'
'OF'
'OFF'
'OIDS'
'OPERATOR'
'OPTION'
'OPTIONS'
'OWNED'
'OWNER'
'PARSER'
'PARTIAL'
'PARTITION'
'PASSING'
'PASSWORD'
'PLANS'
'PRECEDING'
'PREPARE'
'PREPARED'
'PRESERVE'
'PRIOR'
'PRIVILEGES'
'PROCEDURAL'
'PROCEDURE'
'PROGRAM'
'QUOTE'
'RANGE'
'READ'
'REASSIGN'
'RECHECK'
'RECURSIVE'
'REF'
'REFRESH'
'REINDEX'
'RELATIVE'
'RELEASE'
'RENAME'
'REPEATABLE'
'REPLACE'
'REPLICA'
'RESET'
'RESTART'
'RESTRICT'
'RETURNS'
'REVOKE'
'ROLE'
'ROLLBACK'
'ROWS'
'RULE'
'SAVEPOINT'
'SCHEMA'
'SCROLL'
'SEARCH'
'SECOND'
'SECURITY'
'SEQUENCE'
'SEQUENCES'
'SERIALIZABLE'
'SERVER'
'SESSION'
'SET'
'SHARE'
'SHOW'
'SIMPLE'
'SNAPSHOT'
'STABLE'
'STANDALONE'
'START'
'STATEMENT'
'STATISTICS'
'STDIN'
'STDOUT'
'STORAGE'
'STRICT'
'STRIP'
'SYSID'
'SYSTEM'
'TABLES'
'TABLESPACE'
'TEMP'
'TEMPLATE'
'TEMPORARY'
'TEXT'
'TRANSACTION'
'TRIGGER'
'TRUNCATE'
'TRUSTED'
'TYPE'
'TYPES'
'UNBOUNDED'
'UNCOMMITTED'
'UNENCRYPTED'
'UNKNOWN'
'UNLISTEN'
'UNLOGGED'
'UNTIL'
'UPDATE'
'VACUUM'
'VALID'
'VALIDATE'
'VALIDATOR'
'VARYING'
'VERSION'
'VIEW'
'VOLATILE'
'WHITESPACE'
'WITHOUT'
'WORK'
'WRAPPER'
'WRITE'
'XML'
'YEAR'
'YES'
'ZONE'
'BETWEEN'
'BIGINT'
'BIT'
'BOOLEAN'
'CHAR'
'CHARACTER'
'COALESCE'
'DEC'
'DECIMAL'
'EXISTS'
'EXTRACT'
'FLOAT'
'GREATEST'
'INOUT'
'INT'
'INTEGER'
'INTERVAL'
'LEAST'
'NATIONAL'
'NCHAR'
'NONE'
'NULLIF'
'NUMERIC'
'OVERLAY'
'POSITION'
'PRECISION'
'REAL'
'ROW'
'SETOF'
'SMALLINT'
'SUBSTRING'
'TIME'
'TIMESTAMP'
'TREAT'
'TRIM'
'VALUES'
'VARCHAR'
'XMLATTRIBUTES'
'XMLCOMMENT'
'XMLAGG'
'XML_IS_WELL_FORMED'
'XML_IS_WELL_FORMED_DOCUMENT'
'XML_IS_WELL_FORMED_CONTENT'
'XPATH'
'XPATH_EXISTS'
'XMLCONCAT'
'XMLELEMENT'
'XMLEXISTS'
'XMLFOREST'
'XMLPARSE'
'XMLPI'
'XMLROOT'
'XMLSERIALIZE'
'CALL'
'CURRENT'
'ATTACH'
'DETACH'
'EXPRESSION'
'GENERATED'
'LOGGED'
'STORED'
'INCLUDE'
'ROUTINE'
'TRANSFORM'
'IMPORT'
'POLICY'
'METHOD'
'REFERENCING'
'NEW'
'OLD'
'VALUE'
'SUBSCRIPTION'
'PUBLICATION'
'OUT'
'END'
'ROUTINES'
'SCHEMAS'
'PROCEDURES'
'INPUT'
'SUPPORT'
'PARALLEL'
'SQL'
'DEPENDS'
'OVERRIDING'
'CONFLICT'
'SKIP'
'LOCKED'
'TIES'
'ROLLUP'
'CUBE'
'GROUPING'
'SETS'
'TABLESAMPLE'
'ORDINALITY'
'XMLTABLE'
'COLUMNS'
'XMLNAMESPACES'
'ROWTYPE'
'NORMALIZED'
'WITHIN'
'FILTER'
'GROUPS'
'OTHERS'
'NFC'
'NFD'
'NFKC'
'NFKD'
'UESCAPE'
'VIEWS'
'NORMALIZE'
'DUMP'
'PRINT_STRICT_PARAMS'
'VARIABLE_CONFLICT'
'ERROR'
'USE_VARIABLE'
'USE_COLUMN'
'ALIAS'
'CONSTANT'
'PERFORM'
'GET'
'DIAGNOSTICS'
'STACKED'
'ELSIF'
'WHILE'
'REVERSE'
'FOREACH'
'SLICE'
'EXIT'
'RETURN'
'QUERY'
'RAISE'
'SQLSTATE'
'DEBUG'
'LOG'
'INFO'
'NOTICE'
'WARNING'
'EXCEPTION'
'ASSERT'
'LOOP'
'OPEN'
'ABS'
'CBRT'
'CEIL'
'CEILING'
'DEGREES'
'DIV'
'EXP'
'FACTORIAL'
'FLOOR'
'GCD'
'LCM'
'LN'
'LOG10'
'MIN_SCALE'
'MOD'
'PI'
'POWER'
'RADIANS'
'ROUND'
'SCALE'
'SIGN'
'SQRT'
'TRIM_SCALE'
'TRUNC'
'WIDTH_BUCKET'
'RANDOM'
'SETSEED'
'ACOS'
'ACOSD'
'ASIN'
'ASIND'
'ATAN'
'ATAND'
'ATAN2'
'ATAN2D'
'COS'
'COSD'
'COT'
'COTD'
'SIN'
'SIND'
'TAN'
'TAND'
'SINH'
'COSH'
'TANH'
'ASINH'
'ACOSH'
'ATANH'
'BIT_LENGTH'
'CHAR_LENGTH'
'CHARACTER_LENGTH'
'LOWER'
'OCTET_LENGTH'
'UPPER'
'ASCII'
'BTRIM'
'CHR'
'CONCAT'
'CONCAT_WS'
'FORMAT'
'INITCAP'
'LENGTH'
'LPAD'
'LTRIM'
'MD5'
'PARSE_IDENT'
'PG_CLIENT_ENCODING'
'QUOTE_IDENT'
'QUOTE_LITERAL'
'QUOTE_NULLABLE'
'REGEXP_COUNT'
'REGEXP_INSTR'
'REGEXP_LIKE'
'REGEXP_MATCH'
'REGEXP_MATCHES'
'REGEXP_REPLACE'
'REGEXP_SPLIT_TO_ARRAY'
'REGEXP_SPLIT_TO_TABLE'
'REGEXP_SUBSTR'
'REPEAT'
'RPAD'
'RTRIM'
'SPLIT_PART'
'STARTS_WITH'
'STRING_TO_ARRAY'
'STRING_TO_TABLE'
'STRPOS'
'SUBSTR'
'TO_ASCII'
'TO_HEX'
'TRANSLATE'
'UNISTR'
'AGE'
'CLOCK_TIMESTAMP'
'DATE_BIN'
'DATE_PART'
'DATE_TRUNC'
'ISFINITE'
'JUSTIFY_DAYS'
'JUSTIFY_HOURS'
'JUSTIFY_INTERVAL'
'MAKE_DATE'
'MAKE_INTERVAL'
'MAKE_TIME'
'MAKE_TIMESTAMP'
'MAKE_TIMESTAMPTZ'
'NOW'
'STATEMENT_TIMESTAMP'
'TIMEOFDAY'
'TRANSACTION_TIMESTAMP'
'TO_TIMESTAMP'
'TO_CHAR'
'TO_DATE'
'TO_NUMBER'
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
'\\\\'
null
null
null
null
null
null
null
null
null
'\''
token symbolic names:
null
Dollar
OPEN_PAREN
CLOSE_PAREN
OPEN_BRACKET
CLOSE_BRACKET
COMMA
SEMI
COLON
STAR
EQUAL
DOT
PLUS
MINUS
SLASH
CARET
LT
GT
LESS_LESS
GREATER_GREATER
COLON_EQUALS
LESS_EQUALS
EQUALS_GREATER
GREATER_EQUALS
DOT_DOT
NOT_EQUALS
TYPECAST
PERCENT
PARAM
Operator
ALL
ANALYSE
ANALYZE
AND
ANY
ARRAY
AS
ASC
ASYMMETRIC
BOTH
CASE
CAST
CHECK
COLLATE
COLUMN
CONSTRAINT
CREATE
CURRENT_CATALOG
CURRENT_DATE
CURRENT_ROLE
CURRENT_TIME
CURRENT_TIMESTAMP
CURRENT_USER
DEFAULT
DEFERRABLE
DESC
DISTINCT
DO
ELSE
EXCEPT
FALSE_P
FETCH
FOR
FOREIGN
FROM
GRANT
GROUP_P
HAVING
IN_P
INITIALLY
INTERSECT
INTO
LATERAL_P
LEADING
LIMIT
LOCALTIME
LOCALTIMESTAMP
NOT
NULL_P
OFFSET
ON
ONLY
OR
ORDER
PLACING
PRIMARY
REFERENCES
RETURNING
SELECT
SESSION_USER
SOME
SYMMETRIC
TABLE
THEN
TO
TRAILING
TRUE_P
UNION
UNIQUE
USER
USING
VARIADIC
WHEN
WHERE
WINDOW
WITH
AUTHORIZATION
BINARY
COLLATION
CONCURRENTLY
CROSS
CURRENT_SCHEMA
FREEZE
FULL
ILIKE
INNER_P
IS
ISNULL
JOIN
LEFT
LIKE
NATURAL
NOTNULL
OUTER_P
OVER
OVERLAPS
RIGHT
SIMILAR
VERBOSE
ABORT_P
ABSOLUTE_P
ACCESS
ACTION
ADD_P
ADMIN
AFTER
AGGREGATE
ALSO
ALTER
ALWAYS
ASSERTION
ASSIGNMENT
AT
ATTRIBUTE
BACKWARD
BEFORE
BEGIN_P
BY
CACHE
CALLED
CASCADE
CASCADED
CATALOG
CHAIN
CHARACTERISTICS
CHECKPOINT
CLASS
CLOSE
CLUSTER
COMMENT
COMMENTS
COMMIT
COMMITTED
CONFIGURATION
CONNECTION
CONSTRAINTS
CONTENT_P
CONTINUE_P
CONVERSION_P
COPY
COST
CSV
CURSOR
CYCLE
DATA_P
DATABASE
DAY_P
DEALLOCATE
DECLARE
DEFAULTS
DEFERRED
DEFINER
DELETE_P
DELIMITER
DELIMITERS
DICTIONARY
DISABLE_P
DISCARD
DOCUMENT_P
DOMAIN_P
DOUBLE_P
DROP
EACH
ENABLE_P
ENCODING
ENCRYPTED
ENUM_P
ESCAPE
EVENT
EXCLUDE
EXCLUDING
EXCLUSIVE
EXECUTE
EXPLAIN
EXTENSION
EXTERNAL
FAMILY
FIRST_P
FOLLOWING
FORCE
FORWARD
FUNCTION
FUNCTIONS
GLOBAL
GRANTED
HANDLER
HEADER_P
HOLD
HOUR_P
IDENTITY_P
IF_P
IMMEDIATE
IMMUTABLE
IMPLICIT_P
INCLUDING
INCREMENT
INDEX
INDEXES
INHERIT
INHERITS
INLINE_P
INSENSITIVE
INSERT
INSTEAD
INVOKER
ISOLATION
KEY
LABEL
LANGUAGE
LARGE_P
LAST_P
LEAKPROOF
LEVEL
LISTEN
LOAD
LOCAL
LOCATION
LOCK_P
MAPPING
MATCH
MATCHED
MATERIALIZED
MAXVALUE
MERGE
MINUTE_P
MINVALUE
MODE
MONTH_P
MOVE
NAME_P
NAMES
NEXT
NO
NOTHING
NOTIFY
NOWAIT
NULLS_P
OBJECT_P
OF
OFF
OIDS
OPERATOR
OPTION
OPTIONS
OWNED
OWNER
PARSER
PARTIAL
PARTITION
PASSING
PASSWORD
PLANS
PRECEDING
PREPARE
PREPARED
PRESERVE
PRIOR
PRIVILEGES
PROCEDURAL
PROCEDURE
PROGRAM
QUOTE
RANGE
READ
REASSIGN
RECHECK
RECURSIVE
REF
REFRESH
REINDEX
RELATIVE_P
RELEASE
RENAME
REPEATABLE
REPLACE
REPLICA
RESET
RESTART
RESTRICT
RETURNS
REVOKE
ROLE
ROLLBACK
ROWS
RULE
SAVEPOINT
SCHEMA
SCROLL
SEARCH
SECOND_P
SECURITY
SEQUENCE
SEQUENCES
SERIALIZABLE
SERVER
SESSION
SET
SHARE
SHOW
SIMPLE
SNAPSHOT
STABLE
STANDALONE_P
START
STATEMENT
STATISTICS
STDIN
STDOUT
STORAGE
STRICT_P
STRIP_P
SYSID
SYSTEM_P
TABLES
TABLESPACE
TEMP
TEMPLATE
TEMPORARY
TEXT_P
TRANSACTION
TRIGGER
TRUNCATE
TRUSTED
TYPE_P
TYPES_P
UNBOUNDED
UNCOMMITTED
UNENCRYPTED
UNKNOWN
UNLISTEN
UNLOGGED
UNTIL
UPDATE
VACUUM
VALID
VALIDATE
VALIDATOR
VARYING
VERSION_P
VIEW
VOLATILE
WHITESPACE_P
WITHOUT
WORK
WRAPPER
WRITE
XML_P
YEAR_P
YES_P
ZONE
BETWEEN
BIGINT
BIT
BOOLEAN_P
CHAR_P
CHARACTER
COALESCE
DEC
DECIMAL_P
EXISTS
EXTRACT
FLOAT_P
GREATEST
INOUT
INT_P
INTEGER
INTERVAL
LEAST
NATIONAL
NCHAR
NONE
NULLIF
NUMERIC
OVERLAY
POSITION
PRECISION
REAL
ROW
SETOF
SMALLINT
SUBSTRING
TIME
TIMESTAMP
TREAT
TRIM
VALUES
VARCHAR
XMLATTRIBUTES
XMLCOMMENT
XMLAGG
XML_IS_WELL_FORMED
XML_IS_WELL_FORMED_DOCUMENT
XML_IS_WELL_FORMED_CONTENT
XPATH
XPATH_EXISTS
XMLCONCAT
XMLELEMENT
XMLEXISTS
XMLFOREST
XMLPARSE
XMLPI
XMLROOT
XMLSERIALIZE
CALL
CURRENT_P
ATTACH
DETACH
EXPRESSION
GENERATED
LOGGED
STORED
INCLUDE
ROUTINE
TRANSFORM
IMPORT_P
POLICY
METHOD
REFERENCING
NEW
OLD
VALUE_P
SUBSCRIPTION
PUBLICATION
OUT_P
END_P
ROUTINES
SCHEMAS
PROCEDURES
INPUT_P
SUPPORT
PARALLEL
SQL_P
DEPENDS
OVERRIDING
CONFLICT
SKIP_P
LOCKED
TIES
ROLLUP
CUBE
GROUPING
SETS
TABLESAMPLE
ORDINALITY
XMLTABLE
COLUMNS
XMLNAMESPACES
ROWTYPE
NORMALIZED
WITHIN
FILTER
GROUPS
OTHERS
NFC
NFD
NFKC
NFKD
UESCAPE
VIEWS
NORMALIZE
DUMP
PRINT_STRICT_PARAMS
VARIABLE_CONFLICT
ERROR
USE_VARIABLE
USE_COLUMN
ALIAS
CONSTANT
PERFORM
GET
DIAGNOSTICS
STACKED
ELSIF
WHILE
REVERSE
FOREACH
SLICE
EXIT
RETURN
QUERY
RAISE
SQLSTATE
DEBUG
LOG
INFO
NOTICE
WARNING
EXCEPTION
ASSERT
LOOP
OPEN
ABS
CBRT
CEIL
CEILING
DEGREES
DIV
EXP
FACTORIAL
FLOOR
GCD
LCM
LN
LOG10
MIN_SCALE
MOD
PI
POWER
RADIANS
ROUND
SCALE
SIGN
SQRT
TRIM_SCALE
TRUNC
WIDTH_BUCKET
RANDOM
SETSEED
ACOS
ACOSD
ASIN
ASIND
ATAN
ATAND
ATAN2
ATAN2D
COS
COSD
COT
COTD
SIN
SIND
TAN
TAND
SINH
COSH
TANH
ASINH
ACOSH
ATANH
BIT_LENGTH
CHAR_LENGTH
CHARACTER_LENGTH
LOWER
OCTET_LENGTH
UPPER
ASCII
BTRIM
CHR
CONCAT
CONCAT_WS
FORMAT
INITCAP
LENGTH
LPAD
LTRIM
MD5
PARSE_IDENT
PG_CLIENT_ENCODING
QUOTE_IDENT
QUOTE_LITERAL
QUOTE_NULLABLE
REGEXP_COUNT
REGEXP_INSTR
REGEXP_LIKE
REGEXP_MATCH
REGEXP_MATCHES
REGEXP_REPLACE
REGEXP_SPLIT_TO_ARRAY
REGEXP_SPLIT_TO_TABLE
REGEXP_SUBSTR
REPEAT
RPAD
RTRIM
SPLIT_PART
STARTS_WITH
STRING_TO_ARRAY
STRING_TO_TABLE
STRPOS
SUBSTR
TO_ASCII
TO_HEX
TRANSLATE
UNISTR
AGE
CLOCK_TIMESTAMP
DATE_BIN
DATE_PART
DATE_TRUNC
ISFINITE
JUSTIFY_DAYS
JUSTIFY_HOURS
JUSTIFY_INTERVAL
MAKE_DATE
MAKE_INTERVAL
MAKE_TIME
MAKE_TIMESTAMP
MAKE_TIMESTAMPTZ
NOW
STATEMENT_TIMESTAMP
TIMEOFDAY
TRANSACTION_TIMESTAMP
TO_TIMESTAMP
TO_CHAR
TO_DATE
TO_NUMBER
Identifier
QuotedIdentifier
UnterminatedQuotedIdentifier
InvalidQuotedIdentifier
InvalidUnterminatedQuotedIdentifier
UnicodeQuotedIdentifier
UnterminatedUnicodeQuotedIdentifier
InvalidUnicodeQuotedIdentifier
InvalidUnterminatedUnicodeQuotedIdentifier
StringConstant
UnterminatedStringConstant
UnicodeEscapeStringConstant
UnterminatedUnicodeEscapeStringConstant
BeginDollarStringConstant
BinaryStringConstant
UnterminatedBinaryStringConstant
InvalidBinaryStringConstant
InvalidUnterminatedBinaryStringConstant
HexadecimalStringConstant
UnterminatedHexadecimalStringConstant
InvalidHexadecimalStringConstant
InvalidUnterminatedHexadecimalStringConstant
Integral
NumericFail
Numeric
PLSQLVARIABLENAME
PLSQLIDENTIFIER
Whitespace
Newline
LineComment
BlockComment
UnterminatedBlockComment
MetaCommand
EndMetaCommand
ErrorCharacter
EscapeStringConstant
UnterminatedEscapeStringConstant
InvalidEscapeStringConstant
InvalidUnterminatedEscapeStringConstant
AfterEscapeStringConstantMode_NotContinued
AfterEscapeStringConstantWithNewlineMode_NotContinued
DollarText
EndDollarStringConstant
AfterEscapeStringConstantWithNewlineMode_Continued
rule names:
root
plsqlroot
stmtblock
stmtmulti
stmt
plsqlconsolecommand
callstmt
createrolestmt
opt_with
optrolelist
alteroptrolelist
alteroptroleelem
createoptroleelem
createuserstmt
alterrolestmt
opt_in_database
alterrolesetstmt
droprolestmt
creategroupstmt
altergroupstmt
add_drop
createschemastmt
optschemaname
optschemaeltlist
schema_stmt
variablesetstmt
set_rest
generic_set
set_rest_more
var_name
var_list
var_value
iso_level
opt_boolean_or_string
zone_value
opt_encoding
nonreservedword_or_sconst
variableresetstmt
reset_rest
generic_reset
setresetclause
functionsetresetclause
variableshowstmt
constraintssetstmt
constraints_set_list
constraints_set_mode
checkpointstmt
discardstmt
altertablestmt
alter_table_cmds
partition_cmd
index_partition_cmd
alter_table_cmd
alter_column_default
opt_drop_behavior
opt_collate_clause
alter_using
replica_identity
reloptions
opt_reloptions
reloption_list
reloption_elem
alter_identity_column_option_list
alter_identity_column_option
partitionboundspec
hash_partbound_elem
hash_partbound
altercompositetypestmt
alter_type_cmds
alter_type_cmd
closeportalstmt
copystmt
copy_from
opt_program
copy_file_name
copy_options
copy_opt_list
copy_opt_item
opt_binary
copy_delimiter
opt_using
copy_generic_opt_list
copy_generic_opt_elem
copy_generic_opt_arg
copy_generic_opt_arg_list
copy_generic_opt_arg_list_item
createstmt
opttemp
opttableelementlist
opttypedtableelementlist
tableelementlist
typedtableelementlist
tableelement
typedtableelement
columnDef
columnOptions
colquallist
colconstraint
colconstraintelem
generated_when
constraintattr
tablelikeclause
tablelikeoptionlist
tablelikeoption
tableconstraint
constraintelem
opt_no_inherit
opt_column_list
columnlist
columnElem
opt_c_include
key_match
exclusionconstraintlist
exclusionconstraintelem
exclusionwhereclause
key_actions
key_update
key_delete
key_action
optinherit
optpartitionspec
partitionspec
part_params
part_elem
table_access_method_clause
optwith
oncommitoption
opttablespace
optconstablespace
existingindex
createstatsstmt
alterstatsstmt
createasstmt
create_as_target
opt_with_data
creatematviewstmt
create_mv_target
optnolog
refreshmatviewstmt
createseqstmt
alterseqstmt
optseqoptlist
optparenthesizedseqoptlist
seqoptlist
seqoptelem
opt_by
numericonly
numericonly_list
createplangstmt
opt_trusted
handler_name
opt_inline_handler
validator_clause
opt_validator
opt_procedural
createtablespacestmt
opttablespaceowner
droptablespacestmt
createextensionstmt
create_extension_opt_list
create_extension_opt_item
alterextensionstmt
alter_extension_opt_list
alter_extension_opt_item
alterextensioncontentsstmt
createfdwstmt
fdw_option
fdw_options
opt_fdw_options
alterfdwstmt
create_generic_options
generic_option_list
alter_generic_options
alter_generic_option_list
alter_generic_option_elem
generic_option_elem
generic_option_name
generic_option_arg
createforeignserverstmt
opt_type
foreign_server_version
opt_foreign_server_version
alterforeignserverstmt
createforeigntablestmt
importforeignschemastmt
import_qualification_type
import_qualification
createusermappingstmt
auth_ident
dropusermappingstmt
alterusermappingstmt
createpolicystmt
alterpolicystmt
rowsecurityoptionalexpr
rowsecurityoptionalwithcheck
rowsecuritydefaulttorole
rowsecurityoptionaltorole
rowsecuritydefaultpermissive
rowsecuritydefaultforcmd
row_security_cmd
createamstmt
am_type
createtrigstmt
triggeractiontime
triggerevents
triggeroneevent
triggerreferencing
triggertransitions
triggertransition
transitionoldornew
transitionrowortable
transitionrelname
triggerforspec
triggerforopteach
triggerfortype
triggerwhen
function_or_procedure
triggerfuncargs
triggerfuncarg
optconstrfromtable
constraintattributespec
constraintattributeElem
createeventtrigstmt
event_trigger_when_list
event_trigger_when_item
event_trigger_value_list
altereventtrigstmt
enable_trigger
createassertionstmt
definestmt
definition
def_list
def_elem
def_arg
old_aggr_definition
old_aggr_list
old_aggr_elem
opt_enum_val_list
enum_val_list
alterenumstmt
opt_if_not_exists
createopclassstmt
opclass_item_list
opclass_item
opt_default
opt_opfamily
opclass_purpose
opt_recheck
createopfamilystmt
alteropfamilystmt
opclass_drop_list
opclass_drop
dropopclassstmt
dropopfamilystmt
dropownedstmt
reassignownedstmt
dropstmt
object_type_any_name
object_type_name
drop_type_name
object_type_name_on_any_name
any_name_list
any_name
attrs
type_name_list
truncatestmt
opt_restart_seqs
commentstmt
comment_text
seclabelstmt
opt_provider
security_label
fetchstmt
fetch_args
from_in
opt_from_in
grantstmt
revokestmt
privileges
privilege_list
privilege
privilege_target
grantee_list
grantee
opt_grant_grant_option
grantrolestmt
revokerolestmt
opt_grant_admin_option
opt_granted_by
alterdefaultprivilegesstmt
defacloptionlist
defacloption
defaclaction
defacl_privilege_target
indexstmt
opt_unique
opt_concurrently
opt_index_name
access_method_clause
index_params
index_elem_options
index_elem
opt_include
index_including_params
opt_collate
opt_class
opt_asc_desc
opt_nulls_order
createfunctionstmt
opt_or_replace
func_args
func_args_list
function_with_argtypes_list
function_with_argtypes
func_args_with_defaults
func_args_with_defaults_list
func_arg
arg_class
param_name
func_return
func_type
func_arg_with_default
aggr_arg
aggr_args
aggr_args_list
aggregate_with_argtypes
aggregate_with_argtypes_list
createfunc_opt_list
common_func_opt_item
createfunc_opt_item
func_as
transform_type_list
opt_definition
table_func_column
table_func_column_list
alterfunctionstmt
alterfunc_opt_list
opt_restrict
removefuncstmt
removeaggrstmt
removeoperstmt
oper_argtypes
any_operator
operator_with_argtypes_list
operator_with_argtypes
dostmt
dostmt_opt_list
dostmt_opt_item
createcaststmt
cast_context
dropcaststmt
opt_if_exists
createtransformstmt
transform_element_list
droptransformstmt
reindexstmt
reindex_target_type
reindex_target_multitable
reindex_option_list
reindex_option_elem
altertblspcstmt
renamestmt
opt_column
opt_set_data
alterobjectdependsstmt
opt_no
alterobjectschemastmt
alteroperatorstmt
operator_def_list
operator_def_elem
operator_def_arg
altertypestmt
alterownerstmt
createpublicationstmt
opt_publication_for_tables
publication_for_tables
alterpublicationstmt
createsubscriptionstmt
publication_name_list
publication_name_item
altersubscriptionstmt
dropsubscriptionstmt
rulestmt
ruleactionlist
ruleactionmulti
ruleactionstmt
ruleactionstmtOrEmpty
event
opt_instead
notifystmt
notify_payload
listenstmt
unlistenstmt
transactionstmt
opt_transaction
transaction_mode_item
transaction_mode_list
transaction_mode_list_or_empty
opt_transaction_chain
viewstmt
opt_check_option
loadstmt
createdbstmt
createdb_opt_list
createdb_opt_items
createdb_opt_item
createdb_opt_name
opt_equal
alterdatabasestmt
alterdatabasesetstmt
dropdbstmt
drop_option_list
drop_option
altercollationstmt
altersystemstmt
createdomainstmt
alterdomainstmt
opt_as
altertsdictionarystmt
altertsconfigurationstmt
any_with
createconversionstmt
clusterstmt
cluster_index_specification
vacuumstmt
analyzestmt
vac_analyze_option_list
analyze_keyword
vac_analyze_option_elem
vac_analyze_option_name
vac_analyze_option_arg
opt_analyze
opt_verbose
opt_full
opt_freeze
opt_name_list
vacuum_relation
vacuum_relation_list
opt_vacuum_relation_list
explainstmt
explainablestmt
explain_option_list
explain_option_elem
explain_option_name
explain_option_arg
preparestmt
prep_type_clause
preparablestmt
executestmt
execute_param_clause
deallocatestmt
insertstmt
insert_target
insert_rest
override_kind
insert_column_list
insert_column_item
opt_on_conflict
opt_conf_expr
returning_clause
mergestmt
merge_insert_clause
merge_update_clause
merge_delete_clause
deletestmt
using_clause
lockstmt
opt_lock
lock_type
opt_nowait
opt_nowait_or_skip
updatestmt
set_clause_list
set_clause
set_target
set_target_list
declarecursorstmt
cursor_name
cursor_options
opt_hold
selectstmt
select_with_parens
select_no_parens
select_clause
simple_select_intersect
simple_select_pramary
with_clause
cte_list
common_table_expr
opt_materialized
opt_with_clause
into_clause
opt_strict
opttempTableName
opt_table
all_or_distinct
distinct_clause
opt_all_clause
opt_sort_clause
sort_clause
sortby_list
sortby
select_limit
opt_select_limit
limit_clause
offset_clause
select_limit_value
select_offset_value
select_fetch_first_value
i_or_f_const
row_or_rows
first_or_next
group_clause
group_by_list
group_by_item
empty_grouping_set
rollup_clause
cube_clause
grouping_sets_clause
having_clause
for_locking_clause
opt_for_locking_clause
for_locking_items
for_locking_item
for_locking_strength
locked_rels_list
values_clause
from_clause
from_list
non_ansi_join
table_ref
alias_clause
opt_alias_clause
table_alias_clause
func_alias_clause
join_type
join_qual
relation_expr
relation_expr_list
relation_expr_opt_alias
tablesample_clause
opt_repeatable_clause
func_table
rowsfrom_item
rowsfrom_list
opt_col_def_list
opt_ordinality
where_clause
where_or_current_clause
opttablefuncelementlist
tablefuncelementlist
tablefuncelement
xmltable
xmltable_column_list
xmltable_column_el
xmltable_column_option_list
xmltable_column_option_el
xml_namespace_list
xml_namespace_el
typename
opt_array_bounds
simpletypename
consttypename
generictype
opt_type_modifiers
numeric
opt_float
bit
constbit
bitwithlength
bitwithoutlength
character
constcharacter
character_c
opt_varying
constdatetime
constinterval
opt_timezone
opt_interval
interval_second
opt_escape
a_expr
a_expr_qual
a_expr_lessless
a_expr_or
a_expr_and
a_expr_between
a_expr_in
a_expr_unary_not
a_expr_isnull
a_expr_is_not
a_expr_compare
a_expr_like
a_expr_qual_op
a_expr_unary_qualop
a_expr_add
a_expr_mul
a_expr_caret
a_expr_unary_sign
a_expr_at_time_zone
a_expr_collate
a_expr_typecast
b_expr
c_expr
plsqlvariablename
func_application
func_expr
func_expr_windowless
func_expr_common_subexpr
xml_root_version
opt_xml_root_standalone
xml_attributes
xml_attribute_list
xml_attribute_el
document_or_content
xml_whitespace_option
xmlexists_argument
xml_passing_mech
within_group_clause
filter_clause
window_clause
window_definition_list
window_definition
over_clause
window_specification
opt_existing_window_name
opt_partition_clause
opt_frame_clause
frame_extent
frame_bound
opt_window_exclusion_clause
row
explicit_row
implicit_row
sub_type
all_op
mathop
qual_op
qual_all_op
subquery_Op
expr_list
func_arg_list
func_arg_expr
type_list
array_expr
array_expr_list
extract_list
extract_arg
unicode_normal_form
overlay_list
position_list
substr_list
trim_list
in_expr
case_expr
when_clause_list
when_clause
case_default
case_arg
columnref
indirection_el
opt_slice_bound
indirection
opt_indirection
opt_target_list
target_list
target_el
qualified_name_list
qualified_name
name_list
name
attr_name
file_name
func_name
aexprconst
xconst
bconst
fconst
iconst
sconst
anysconst
opt_uescape
signediconst
roleid
rolespec
role_list
colid
table_alias
type_function_name
nonreservedword
collabel
identifier
plsqlidentifier
unreserved_keyword
col_name_keyword
type_func_name_keyword
reserved_keyword
builtin_function_name
pl_function
comp_options
comp_option
sharp
option_value
opt_semi
pl_block
decl_sect
decl_start
decl_stmts
label_decl
decl_stmt
decl_statement
opt_scrollable
decl_cursor_query
decl_cursor_args
decl_cursor_arglist
decl_cursor_arg
decl_is_for
decl_aliasitem
decl_varname
decl_const
decl_datatype
decl_collate
decl_notnull
decl_defval
decl_defkey
assign_operator
proc_sect
proc_stmt
stmt_perform
stmt_call
opt_expr_list
stmt_assign
stmt_getdiag
getdiag_area_opt
getdiag_list
getdiag_list_item
getdiag_item
getdiag_target
assign_var
stmt_if
stmt_elsifs
stmt_else
stmt_case
opt_expr_until_when
case_when_list
case_when
opt_case_else
stmt_loop
stmt_while
stmt_for
for_control
opt_for_using_expression
opt_cursor_parameters
opt_reverse
opt_by_expression
for_variable
stmt_foreach_a
foreach_slice
stmt_exit
exit_type
stmt_return
opt_return_result
stmt_raise
opt_stmt_raise_level
opt_raise_list
opt_raise_using
opt_raise_using_elem
opt_raise_using_elem_list
stmt_assert
opt_stmt_assert_message
loop_body
stmt_execsql
stmt_dynexecute
opt_execute_using
opt_execute_using_list
opt_execute_into
stmt_open
opt_open_bound_list_item
opt_open_bound_list
opt_open_using
opt_scroll_option
opt_scroll_option_no
stmt_fetch
into_target
opt_cursor_from
opt_fetch_direction
stmt_move
stmt_close
stmt_null
stmt_commit
stmt_rollback
plsql_opt_transaction_chain
stmt_set
cursor_variable
exception_sect
proc_exceptions
proc_exception
proc_conditions
proc_condition
opt_block_label
opt_loop_label
opt_label
opt_exitcond
any_identifier
plsql_unreserved_keyword
sql_expression
expr_until_then
expr_until_semi
expr_until_rightbracket
expr_until_loop
make_execsql_stmt
opt_returning_clause_into
atn:
[4, 1, 679, 10695, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 2, 101, 7, 101, 2, 102, 7, 102, 2, 103, 7, 103, 2, 104, 7, 104, 2, 105, 7, 105, 2, 106, 7, 106, 2, 107, 7, 107, 2, 108, 7, 108, 2, 109, 7, 109, 2, 110, 7, 110, 2, 111, 7, 111, 2, 112, 7, 112, 2, 113, 7, 113, 2, 114, 7, 114, 2, 115, 7, 115, 2, 116, 7, 116, 2, 117, 7, 117, 2, 118, 7, 118, 2, 119, 7, 119, 2, 120, 7, 120, 2, 121, 7, 121, 2, 122, 7, 122, 2, 123, 7, 123, 2, 124, 7, 124, 2, 125, 7, 125, 2, 126, 7, 126, 2, 127, 7, 127, 2, 128, 7, 128, 2, 129, 7, 129, 2, 130, 7, 130, 2, 131, 7, 131, 2, 132, 7, 132, 2, 133, 7, 133, 2, 134, 7, 134, 2, 135, 7, 135, 2, 136, 7, 136, 2, 137, 7, 137, 2, 138, 7, 138, 2, 139, 7, 139, 2, 140, 7, 140, 2, 141, 7, 141, 2, 142, 7, 142, 2, 143, 7, 143, 2, 144, 7, 144, 2, 145, 7, 145, 2, 146, 7, 146, 2, 147, 7, 147, 2, 148, 7, 148, 2, 149, 7, 149, 2, 150, 7, 150, 2, 151, 7, 151, 2, 152, 7, 152, 2, 153, 7, 153, 2, 154, 7, 154, 2, 155, 7, 155, 2, 156, 7, 156, 2, 157, 7, 157, 2, 158, 7, 158, 2, 159, 7, 159, 2, 160, 7, 160, 2, 161, 7, 161, 2, 162, 7, 162, 2, 163, 7, 163, 2, 164, 7, 164, 2, 165, 7, 165, 2, 166, 7, 166, 2, 167, 7, 167, 2, 168, 7, 168, 2, 169, 7, 169, 2, 170, 7, 170, 2, 171, 7, 171, 2, 172, 7, 172, 2, 173, 7, 173, 2, 174, 7, 174, 2, 175, 7, 175, 2, 176, 7, 176, 2, 177, 7, 177, 2, 178, 7, 178, 2, 179, 7, 179, 2, 180, 7, 180, 2, 181, 7, 181, 2, 182, 7, 182, 2, 183, 7, 183, 2, 184, 7, 184, 2, 185, 7, 185, 2, 186, 7, 186, 2, 187, 7, 187, 2, 188, 7, 188, 2, 189, 7, 189, 2, 190, 7, 190, 2, 191, 7, 191, 2, 192, 7, 192, 2, 193, 7, 193, 2, 194, 7, 194, 2, 195, 7, 195, 2, 196, 7, 196, 2, 197, 7, 197, 2, 198, 7, 198, 2, 199, 7, 199, 2, 200, 7, 200, 2, 201, 7, 201, 2, 202, 7, 202, 2, 203, 7, 203, 2, 204, 7, 204, 2, 205, 7, 205, 2, 206, 7, 206, 2, 207, 7, 207, 2, 208, 7, 208, 2, 209, 7, 209, 2, 210, 7, 210, 2, 211, 7, 211, 2, 212, 7, 212, 2, 213, 7, 213, 2, 214, 7, 214, 2, 215, 7, 215, 2, 216, 7, 216, 2, 217, 7, 217, 2, 218, 7, 218, 2, 219, 7, 219, 2, 220, 7, 220, 2, 221, 7, 221, 2, 222, 7, 222, 2, 223, 7, 223, 2, 224, 7, 224, 2, 225, 7, 225, 2, 226, 7, 226, 2, 227, 7, 227, 2, 228, 7, 228, 2, 229, 7, 229, 2, 230, 7, 230, 2, 231, 7, 231, 2, 232, 7, 232, 2, 233, 7, 233, 2, 234, 7, 234, 2, 235, 7, 235, 2, 236, 7, 236, 2, 237, 7, 237, 2, 238, 7, 238, 2, 239, 7, 239, 2, 240, 7, 240, 2, 241, 7, 241, 2, 242, 7, 242, 2, 243, 7, 243, 2, 244, 7, 244, 2, 245, 7, 245, 2, 246, 7, 246, 2, 247, 7, 247, 2, 248, 7, 248, 2, 249, 7, 249, 2, 250, 7, 250, 2, 251, 7, 251, 2, 252, 7, 252, 2, 253, 7, 253, 2, 254, 7, 254, 2, 255, 7, 255, 2, 256, 7, 256, 2, 257, 7, 257, 2, 258, 7, 258, 2, 259, 7, 259, 2, 260, 7, 260, 2, 261, 7, 261, 2, 262, 7, 262, 2, 263, 7, 263, 2, 264, 7, 264, 2, 265, 7, 265, 2, 266, 7, 266, 2, 267, 7, 267, 2, 268,