From 99d06ca64419b9eeaeb6e0f3fc6f541dede11637 Mon Sep 17 00:00:00 2001 From: Hayden Date: Tue, 25 Jun 2024 10:55:59 +0800 Subject: [PATCH 1/6] feat: upgrade trino grammar to 450 --- src/grammar/trino/TrinoSql.g4 | 1895 +++++++++++++++++++-------------- 1 file changed, 1096 insertions(+), 799 deletions(-) diff --git a/src/grammar/trino/TrinoSql.g4 b/src/grammar/trino/TrinoSql.g4 index 98a2e0c6..31042c75 100644 --- a/src/grammar/trino/TrinoSql.g4 +++ b/src/grammar/trino/TrinoSql.g4 @@ -45,13 +45,6 @@ statements : singleStatement ; -standaloneClause - : standaloneExpression - | standalonePathSpecification - | standaloneType - | standaloneRowPattern - ; - singleStatement : statement SEMICOLON? ; @@ -72,122 +65,132 @@ standaloneRowPattern : rowPattern SEMICOLON? ; +standaloneFunctionSpecification + : functionSpecification EOF + ; + statement - : query # statementDefault - | KW_USE schemaName # use - | KW_CREATE KW_SCHEMA (KW_IF KW_NOT KW_EXISTS)? schemaNameCreate (KW_AUTHORIZATION principal)? ( - KW_WITH properties - )? # createSchema - | KW_DROP KW_SCHEMA (KW_IF KW_EXISTS)? schemaName (KW_CASCADE | KW_RESTRICT)? # dropSchema - | KW_ALTER KW_SCHEMA schemaName KW_RENAME KW_TO schemaNameCreate # renameSchema - | KW_ALTER KW_SCHEMA schemaName KW_SET KW_AUTHORIZATION principal # setSchemaAuthorization - | KW_CREATE KW_TABLE (KW_IF KW_NOT KW_EXISTS)? tableNameCreate columnListCreate? ( - KW_COMMENT string - )? (KW_WITH properties)? KW_AS (query | '(' query ')') (KW_WITH (KW_NO)? KW_DATA)? # createTableAsSelect - | KW_CREATE KW_TABLE (KW_IF KW_NOT KW_EXISTS)? tableNameCreate '(' tableElement ( - ',' tableElement - )* ')' (KW_COMMENT string)? (KW_WITH properties)? # createTable - | KW_DROP KW_TABLE (KW_IF KW_EXISTS)? tableName # dropTable - | KW_INSERT KW_INTO tableName columnList? query # insertInto - | KW_DELETE KW_FROM tableName (KW_WHERE booleanExpression)? # delete - | KW_TRUNCATE KW_TABLE tableName # truncateTable - | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? from= tableName KW_RENAME KW_TO to= tableNameCreate # renameTable - | KW_COMMENT KW_ON KW_TABLE tableName KW_IS (string | KW_NULL) # commentTable - | KW_COMMENT KW_ON KW_COLUMN columnName KW_IS (string | KW_NULL) # commentColumn - | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName KW_RENAME KW_COLUMN (KW_IF KW_EXISTS)? from= columnName KW_TO to= columnNameCreate # renameColumn - | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName KW_DROP KW_COLUMN (KW_IF KW_EXISTS)? column= columnName # dropColumn - | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName KW_ADD KW_COLUMN (KW_IF KW_NOT KW_EXISTS)? column= columnDefinition # addColumn - | KW_ALTER KW_TABLE tableName KW_SET KW_AUTHORIZATION principal # setTableAuthorization - | KW_ALTER KW_TABLE tableName KW_SET KW_PROPERTIES propertyAssignments # setTableProperties - | KW_ALTER KW_TABLE tableName KW_EXECUTE procedureName= identifier ( + : rootQuery # statementDefault + | USE schema=identifier # use + | USE catalog=identifier '.' schema=identifier # use + | CREATE CATALOG (IF NOT EXISTS)? catalog=identifier USING connectorName=identifier ( + COMMENT string + )? (AUTHORIZATION principal)? (WITH properties)? # createCatalog + | DROP CATALOG (IF EXISTS)? catalog=identifier (CASCADE | RESTRICT)? # dropCatalog + | CREATE SCHEMA (IF NOT EXISTS)? qualifiedName (AUTHORIZATION principal)? (WITH properties)? # createSchema + | DROP SCHEMA (IF EXISTS)? qualifiedName (CASCADE | RESTRICT)? # dropSchema + | ALTER SCHEMA qualifiedName RENAME TO identifier # renameSchema + | ALTER SCHEMA qualifiedName SET AUTHORIZATION principal # setSchemaAuthorization + | CREATE (OR REPLACE)? TABLE (IF NOT EXISTS)? qualifiedName columnAliases? (COMMENT string)? ( + WITH properties + )? AS (rootQuery | '(' rootQuery ')') (WITH (NO)? DATA)? # createTableAsSelect + | CREATE (OR REPLACE)? TABLE (IF NOT EXISTS)? qualifiedName '(' tableElement (',' tableElement)* ')' ( + COMMENT string + )? (WITH properties)? # createTable + | DROP TABLE (IF EXISTS)? qualifiedName # dropTable + | INSERT INTO qualifiedName columnAliases? rootQuery # insertInto + | DELETE FROM qualifiedName (WHERE booleanExpression)? # delete + | TRUNCATE TABLE qualifiedName # truncateTable + | COMMENT ON TABLE qualifiedName IS (string | NULL) # commentTable + | COMMENT ON VIEW qualifiedName IS (string | NULL) # commentView + | COMMENT ON COLUMN qualifiedName IS (string | NULL) # commentColumn + | ALTER TABLE (IF EXISTS)? from=qualifiedName RENAME TO to=qualifiedName # renameTable + | ALTER TABLE (IF EXISTS)? tableName=qualifiedName ADD COLUMN (IF NOT EXISTS)? column=columnDefinition # addColumn + | ALTER TABLE (IF EXISTS)? tableName=qualifiedName RENAME COLUMN (IF EXISTS)? from=qualifiedName TO to=identifier # renameColumn + | ALTER TABLE (IF EXISTS)? tableName=qualifiedName DROP COLUMN (IF EXISTS)? column=qualifiedName # dropColumn + | ALTER TABLE (IF EXISTS)? tableName=qualifiedName ALTER COLUMN columnName=qualifiedName SET DATA TYPE type # setColumnType + | ALTER TABLE (IF EXISTS)? tableName=qualifiedName ALTER COLUMN columnName=identifier DROP NOT NULL # dropNotNullConstraint + | ALTER TABLE tableName=qualifiedName SET AUTHORIZATION principal # setTableAuthorization + | ALTER TABLE tableName=qualifiedName SET PROPERTIES propertyAssignments # setTableProperties + | ALTER TABLE tableName=qualifiedName EXECUTE procedureName=identifier ( '(' (callArgument (',' callArgument)*)? ')' - )? (KW_WHERE where= booleanExpression)? # tableExecute - | KW_ANALYZE tableName (KW_WITH properties)? # analyze - | KW_CREATE (KW_OR KW_REPLACE)? KW_MATERIALIZED KW_VIEW (KW_IF KW_NOT KW_EXISTS)? viewNameCreate ( - KW_COMMENT string - )? (KW_WITH properties)? KW_AS query # createMaterializedView - | KW_CREATE (KW_OR KW_REPLACE)? KW_VIEW viewNameCreate (KW_COMMENT string)? ( - KW_SECURITY (KW_DEFINER | KW_INVOKER) - )? KW_AS query # createView - | KW_REFRESH KW_MATERIALIZED KW_VIEW viewName # refreshMaterializedView - | KW_DROP KW_MATERIALIZED KW_VIEW (KW_IF KW_EXISTS)? viewName # dropMaterializedView - | KW_ALTER KW_MATERIALIZED KW_VIEW (KW_IF KW_EXISTS)? from= viewName KW_RENAME KW_TO to= viewNameCreate # renameMaterializedView - | KW_ALTER KW_MATERIALIZED KW_VIEW viewName KW_SET KW_PROPERTIES propertyAssignments # setMaterializedViewProperties - | KW_DROP KW_VIEW (KW_IF KW_EXISTS)? viewName # dropView - | KW_ALTER KW_VIEW from= viewName KW_RENAME KW_TO to= viewNameCreate # renameView - | KW_ALTER KW_VIEW from= viewName KW_SET KW_AUTHORIZATION principal # setViewAuthorization - | KW_CALL functionName '(' (callArgument (',' callArgument)*)? ')' # call - | KW_CREATE KW_ROLE name= identifier (KW_WITH KW_ADMIN grantor)? (KW_IN catalogName)? # createRole - | KW_DROP KW_ROLE name= identifier # dropRole - | KW_GRANT roles KW_TO principal (',' principal)* (KW_WITH KW_ADMIN KW_OPTION)? ( - KW_GRANTED KW_BY grantor - )? (KW_IN catalogName)? # grantRoles - | KW_REVOKE (KW_ADMIN KW_OPTION KW_FOR)? roles KW_FROM principal (',' principal)* ( - KW_GRANTED KW_BY grantor - )? (KW_IN catalogName)? # revokeRoles - | KW_SET KW_ROLE (KW_ALL | KW_NONE | role= identifier) (KW_IN catalogName)? # setRole - | KW_GRANT (privilege (',' privilege)* | KW_ALL KW_PRIVILEGES) KW_ON ( - KW_SCHEMA? schemaName - | KW_TABLE? tableName - )? KW_TO grantee= principal (KW_WITH KW_GRANT KW_OPTION)? # grant - | KW_DENY (privilege (',' privilege)* | KW_ALL KW_PRIVILEGES) KW_ON ( - KW_SCHEMA? schemaName - | KW_TABLE? tableName - ) KW_TO grantee= principal # deny - | KW_REVOKE (KW_GRANT KW_OPTION KW_FOR)? (privilege (',' privilege)* | KW_ALL KW_PRIVILEGES) KW_ON ( - KW_SCHEMA? schemaName - | KW_TABLE? tableName - )? KW_FROM grantee= principal # revoke - | KW_SHOW KW_GRANTS (KW_ON KW_TABLE? tableName)? # showGrants - | KW_EXPLAIN KW_ANALYZE? KW_VERBOSE? ('(' explainOption (',' explainOption)* ')')? statement # explain - | KW_SHOW KW_CREATE KW_TABLE tableName # showCreateTable - | KW_SHOW KW_CREATE KW_SCHEMA schemaName # showCreateSchema - | KW_SHOW KW_CREATE KW_VIEW viewName # showCreateView - | KW_SHOW KW_CREATE KW_MATERIALIZED KW_VIEW viewName # showCreateMaterializedView - | KW_SHOW KW_TABLES ((KW_FROM | KW_IN) schemaName)? ( - KW_LIKE pattern= string (KW_ESCAPE escape= string)? - )? # showTables - | KW_SHOW KW_SCHEMAS ((KW_FROM | KW_IN) catalogName)? ( - KW_LIKE pattern= string (KW_ESCAPE escape= string)? - )? # showSchemas - | KW_SHOW KW_CATALOGS (KW_LIKE pattern= string (KW_ESCAPE escape= string)?)? # showCatalogs - | KW_SHOW KW_COLUMNS (KW_FROM | KW_IN) tableOrViewName? ( - KW_LIKE pattern= string (KW_ESCAPE escape= string)? - )? # showColumns - | KW_SHOW KW_STATS KW_FOR tableName # showStats - | KW_SHOW KW_STATS KW_FOR '(' query ')' # showStatsForQuery - | KW_SHOW KW_CURRENT? KW_ROLES ((KW_FROM | KW_IN) identifier)? # showRoles - | KW_SHOW KW_ROLE KW_GRANTS ((KW_FROM | KW_IN) identifier)? # showRoleGrants - | KW_DESCRIBE tableOrViewName # showColumns - | KW_DESC tableOrViewName # showColumns - | KW_SHOW KW_FUNCTIONS (KW_LIKE pattern= string (KW_ESCAPE escape= string)?)? # showFunctions - | KW_SHOW KW_SESSION (KW_LIKE pattern= string (KW_ESCAPE escape= string)?)? # showSession - | KW_SET KW_SESSION qualifiedName EQ expression # setSession - | KW_RESET KW_SESSION qualifiedName # resetSession - | KW_START KW_TRANSACTION (transactionMode (',' transactionMode)*)? # startTransaction - | KW_COMMIT KW_WORK? # commit - | KW_ROLLBACK KW_WORK? # rollback - | KW_PREPARE identifier KW_FROM statement # prepare - | KW_DEALLOCATE KW_PREPARE identifier # deallocate - | KW_EXECUTE identifier (KW_USING expression (',' expression)*)? # execute - | KW_DESCRIBE KW_INPUT identifier # describeInput - | KW_DESCRIBE KW_OUTPUT identifier # describeOutput - | KW_SET KW_PATH pathSpecification # setPath - | KW_SET KW_TIME KW_ZONE (KW_LOCAL | expression) # setTimeZone - | KW_UPDATE tableName KW_SET updateAssignment (',' updateAssignment)* ( - KW_WHERE where= booleanExpression - )? # update - | KW_MERGE KW_INTO tableName (KW_AS? identifier)? KW_USING relation KW_ON expression mergeCase+ # merge - | KW_SHOW KW_COMMENT KW_ON KW_TABLE tableName # showTableComment // dtstack - | KW_SHOW KW_COMMENT KW_ON KW_COLUMN columnName # showColumnComment // dtstack + )? (WHERE where=booleanExpression)? # tableExecute + | ANALYZE qualifiedName (WITH properties)? # analyze + | CREATE (OR REPLACE)? MATERIALIZED VIEW (IF NOT EXISTS)? qualifiedName (GRACE PERIOD interval)? ( + COMMENT string + )? (WITH properties)? AS rootQuery # createMaterializedView + | CREATE (OR REPLACE)? VIEW qualifiedName (COMMENT string)? (SECURITY (DEFINER | INVOKER))? ( + WITH properties + )? AS rootQuery # createView + | REFRESH MATERIALIZED VIEW qualifiedName # refreshMaterializedView + | DROP MATERIALIZED VIEW (IF EXISTS)? qualifiedName # dropMaterializedView + | ALTER MATERIALIZED VIEW (IF EXISTS)? from=qualifiedName RENAME TO to=qualifiedName # renameMaterializedView + | ALTER MATERIALIZED VIEW qualifiedName SET PROPERTIES propertyAssignments # setMaterializedViewProperties + | DROP VIEW (IF EXISTS)? qualifiedName # dropView + | ALTER VIEW from=qualifiedName RENAME TO to=qualifiedName # renameView + | ALTER VIEW from=qualifiedName SET AUTHORIZATION principal # setViewAuthorization + | CALL qualifiedName '(' (callArgument (',' callArgument)*)? ')' # call + | CREATE (OR REPLACE)? functionSpecification # createFunction + | DROP FUNCTION (IF EXISTS)? functionDeclaration # dropFunction + | CREATE ROLE name=identifier (WITH ADMIN grantor)? (IN catalog=identifier)? # createRole + | DROP ROLE name=identifier (IN catalog=identifier)? # dropRole + | GRANT privilegeOrRole (',' privilegeOrRole)* TO principal (',' principal)* ( + WITH ADMIN OPTION + )? (GRANTED BY grantor)? (IN catalog=identifier)? # grantRoles + | GRANT ((privilegeOrRole (',' privilegeOrRole)*) | ALL PRIVILEGES) ON grantObject TO principal ( + WITH GRANT OPTION + )? # grantPrivileges + | REVOKE (ADMIN OPTION FOR)? privilegeOrRole (',' privilegeOrRole)* FROM principal ( + ',' principal + )* (GRANTED BY grantor)? (IN catalog=identifier)? # revokeRoles + | REVOKE (GRANT OPTION FOR)? ((privilegeOrRole (',' privilegeOrRole)*) | ALL PRIVILEGES) ON grantObject FROM grantee=principal # revokePrivileges + | DENY (privilege (',' privilege)* | ALL PRIVILEGES) ON grantObject TO grantee=principal # deny + | SET ROLE (ALL | NONE | role=identifier) (IN catalog=identifier)? # setRole + | SHOW GRANTS (ON grantObject)? # showGrants + | EXPLAIN ('(' explainOption (',' explainOption)* ')')? statement # explain + | EXPLAIN ANALYZE VERBOSE? statement # explainAnalyze + | SHOW CREATE TABLE qualifiedName # showCreateTable + | SHOW CREATE SCHEMA qualifiedName # showCreateSchema + | SHOW CREATE VIEW qualifiedName # showCreateView + | SHOW CREATE MATERIALIZED VIEW qualifiedName # showCreateMaterializedView + | SHOW CREATE FUNCTION qualifiedName # showCreateFunction + | SHOW TABLES ((FROM | IN) qualifiedName)? (LIKE pattern=string (ESCAPE escape=string)?)? # showTables + | SHOW SCHEMAS ((FROM | IN) identifier)? (LIKE pattern=string (ESCAPE escape=string)?)? # showSchemas + | SHOW CATALOGS (LIKE pattern=string (ESCAPE escape=string)?)? # showCatalogs + | SHOW COLUMNS (FROM | IN) qualifiedName (LIKE pattern=string (ESCAPE escape=string)?)? # showColumns + | SHOW STATS FOR qualifiedName # showStats + | SHOW STATS FOR '(' rootQuery ')' # showStatsForQuery + | SHOW CURRENT? ROLES ((FROM | IN) identifier)? # showRoles + | SHOW ROLE GRANTS ((FROM | IN) identifier)? # showRoleGrants + | DESCRIBE qualifiedName # showColumns + | DESC qualifiedName # showColumns + | SHOW FUNCTIONS ((FROM | IN) qualifiedName)? (LIKE pattern=string (ESCAPE escape=string)?)? # showFunctions + | SHOW SESSION (LIKE pattern=string (ESCAPE escape=string)?)? # showSession + | SET SESSION AUTHORIZATION authorizationUser # setSessionAuthorization + | RESET SESSION AUTHORIZATION # resetSessionAuthorization + | SET SESSION qualifiedName EQ expression # setSession + | RESET SESSION qualifiedName # resetSession + | START TRANSACTION (transactionMode (',' transactionMode)*)? # startTransaction + | COMMIT WORK? # commit + | ROLLBACK WORK? # rollback + | PREPARE identifier FROM statement # prepare + | DEALLOCATE PREPARE identifier # deallocate + | EXECUTE identifier (USING expression (',' expression)*)? # execute + | EXECUTE IMMEDIATE string (USING expression (',' expression)*)? # executeImmediate + | DESCRIBE INPUT identifier # describeInput + | DESCRIBE OUTPUT identifier # describeOutput + | SET PATH pathSpecification # setPath + | SET TIME ZONE (LOCAL | expression) # setTimeZone + | UPDATE qualifiedName SET updateAssignment (',' updateAssignment)* ( + WHERE where=booleanExpression + )? # update + | MERGE INTO qualifiedName (AS? identifier)? USING relation ON expression mergeCase+ # merge + ; + +rootQuery + : withFunction? query + ; + +withFunction + : WITH functionSpecification (',' functionSpecification)* ; query - : with? queryNoWith # queryStatement + : with? queryNoWith ; with - : KW_WITH KW_RECURSIVE? namedQuery (',' namedQuery)* + : WITH RECURSIVE? namedQuery (',' namedQuery)* ; tableElement @@ -196,11 +199,11 @@ tableElement ; columnDefinition - : columnNameCreate type (KW_NOT KW_NULL)? (KW_COMMENT string)? (KW_WITH properties)? + : qualifiedName type (NOT NULL)? (COMMENT string)? (WITH properties)? ; likeClause - : KW_LIKE tableName (optionType= (KW_INCLUDING | KW_EXCLUDING) KW_PROPERTIES)? + : LIKE qualifiedName (optionType=(INCLUDING | EXCLUDING) PROPERTIES)? ; properties @@ -216,26 +219,19 @@ property ; propertyValue - : KW_DEFAULT # defaultPropertyValue + : DEFAULT # defaultPropertyValue | expression # nonDefaultPropertyValue ; queryNoWith - : queryTerm (KW_ORDER KW_BY sortItem (',' sortItem)*)? ( - KW_OFFSET offset= rowCount (KW_ROW | KW_ROWS)? - )? ( - (KW_LIMIT limit= limitRowCount) - | ( - KW_FETCH (KW_FIRST | KW_NEXT) (fetchFirst= rowCount)? (KW_ROW | KW_ROWS) ( - KW_ONLY - | KW_WITH KW_TIES - ) - ) + : queryTerm (ORDER BY sortItem (',' sortItem)*)? (OFFSET offset=rowCount (ROW | ROWS)?)? ( + (LIMIT limit=limitRowCount) + | (FETCH (FIRST | NEXT) (fetchFirst=rowCount)? (ROW | ROWS) (ONLY | WITH TIES)) )? ; limitRowCount - : KW_ALL + : ALL | rowCount ; @@ -245,29 +241,27 @@ rowCount ; queryTerm - : queryPrimary # queryTermDefault - | left= queryTerm operator= KW_INTERSECT setQuantifier? right= queryTerm # setOperation - | left= queryTerm operator= (KW_UNION | KW_EXCEPT) setQuantifier? right= queryTerm # setOperation + : queryPrimary # queryTermDefault + | left=queryTerm operator=INTERSECT setQuantifier? right=queryTerm # setOperation + | left=queryTerm operator=(UNION | EXCEPT) setQuantifier? right=queryTerm # setOperation ; queryPrimary - : querySpecification # queryPrimaryDefault - | KW_TABLE tableName # table - | KW_VALUES expression (',' expression)* # inlineTable - | '(' queryNoWith ')' # subquery + : querySpecification # queryPrimaryDefault + | TABLE qualifiedName # table + | VALUES expression (',' expression)* # inlineTable + | '(' queryNoWith ')' # subquery ; sortItem - : (columnName | expression) ordering= (KW_ASC | KW_DESC)? ( - KW_NULLS nullOrdering= (KW_FIRST | KW_LAST) - )? + : expression ordering=(ASC | DESC)? (NULLS nullOrdering=(FIRST | LAST))? ; querySpecification - : KW_SELECT setQuantifier? selectItem (',' selectItem)* (KW_FROM relation (',' relation)*)? ( - KW_WHERE where= booleanExpression - )? (KW_GROUP KW_BY groupBy)? (KW_HAVING having= booleanExpression)? ( - KW_WINDOW windowDefinition (',' windowDefinition)* + : SELECT setQuantifier? selectItem (',' selectItem)* (FROM relation (',' relation)*)? ( + WHERE where=booleanExpression + )? (GROUP BY groupBy)? (HAVING having=booleanExpression)? ( + WINDOW windowDefinition (',' windowDefinition)* )? ; @@ -276,144 +270,221 @@ groupBy ; groupingElement - : groupingSet # singleGroupingSet - | KW_ROLLUP '(' (groupingTerm (',' groupingTerm)*)? ')' # rollup - | KW_CUBE '(' (groupingTerm (',' groupingTerm)*)? ')' # cube - | KW_GROUPING KW_SETS '(' groupingSet (',' groupingSet)* ')' # multipleGroupingSets + : groupingSet # singleGroupingSet + | ROLLUP '(' (groupingSet (',' groupingSet)*)? ')' # rollup + | CUBE '(' (groupingSet (',' groupingSet)*)? ')' # cube + | GROUPING SETS '(' groupingSet (',' groupingSet)* ')' # multipleGroupingSets ; groupingSet - : '(' (groupingTerm (',' groupingTerm)*)? ')' - | groupingTerm - ; - -groupingTerm - : columnName + : '(' (expression (',' expression)*)? ')' | expression ; windowDefinition - : name= identifier KW_AS '(' windowSpecification ')' + : name=identifier AS '(' windowSpecification ')' ; windowSpecification - : (existingWindowName= identifier)? ( - KW_PARTITION KW_BY partition+= expression (',' partition+= expression)* - )? (KW_ORDER KW_BY sortItem (',' sortItem)*)? windowFrame? + : (existingWindowName=identifier)? ( + PARTITION BY partition+=expression (',' partition+=expression)* + )? (ORDER BY sortItem (',' sortItem)*)? windowFrame? ; namedQuery - : name= identifier (columnAliases)? KW_AS '(' query ')' + : name=identifier (columnAliases)? AS '(' query ')' ; setQuantifier - : KW_DISTINCT - | KW_ALL + : DISTINCT + | ALL ; selectItem - : (columnName | expression) (KW_AS? identifier)? # selectSingle - | primaryExpression '.' ASTERISK (KW_AS columnAliases)? # selectAll - | ASTERISK # selectAll + : expression (AS? identifier)? # selectSingle + | primaryExpression '.' ASTERISK (AS columnAliases)? # selectAll + | ASTERISK # selectAll ; relation - : left= relation ( - KW_CROSS KW_JOIN right= sampledRelation - | joinType KW_JOIN rightRelation= relation joinCriteria - | KW_NATURAL joinType KW_JOIN right= sampledRelation + : left=relation ( + CROSS JOIN right=sampledRelation + | joinType JOIN rightRelation=relation joinCriteria + | NATURAL joinType JOIN right=sampledRelation ) # joinRelation | sampledRelation # relationDefault ; joinType - : KW_INNER? - | KW_LEFT KW_OUTER? - | KW_RIGHT KW_OUTER? - | KW_FULL KW_OUTER? + : INNER? + | LEFT OUTER? + | RIGHT OUTER? + | FULL OUTER? ; joinCriteria - : KW_ON booleanExpression - | KW_USING '(' identifier (',' identifier)* ')' + : ON booleanExpression + | USING '(' identifier (',' identifier)* ')' ; sampledRelation - : patternRecognition (KW_TABLESAMPLE sampleType '(' percentage= expression ')')? + : patternRecognition (TABLESAMPLE sampleType '(' percentage=expression ')')? ; sampleType - : KW_BERNOULLI - | KW_SYSTEM + : BERNOULLI + | SYSTEM + ; + +trimsSpecification + : LEADING + | TRAILING + | BOTH + ; + +listAggOverflowBehavior + : ERROR + | TRUNCATE string? listaggCountIndication + ; + +listaggCountIndication + : WITH COUNT + | WITHOUT COUNT ; patternRecognition : aliasedRelation ( - KW_MATCH_RECOGNIZE '(' ( - KW_PARTITION KW_BY partition+= expression (',' partition+= expression)* - )? (KW_ORDER KW_BY sortItem (',' sortItem)*)? ( - KW_MEASURES measureDefinition (',' measureDefinition)* - )? rowsPerMatch? (KW_AFTER KW_MATCH skipTo)? (KW_INITIAL | KW_SEEK)? KW_PATTERN '(' rowPattern ')' ( - KW_SUBSET subsetDefinition (',' subsetDefinition)* - )? KW_DEFINE variableDefinition (',' variableDefinition)* ')' ( - KW_AS? identifier columnAliases? - )? + MATCH_RECOGNIZE '(' (PARTITION BY partition+=expression (',' partition+=expression)*)? ( + ORDER BY sortItem (',' sortItem)* + )? (MEASURES measureDefinition (',' measureDefinition)*)? rowsPerMatch? ( + AFTER MATCH skipTo + )? (INITIAL | SEEK)? PATTERN '(' rowPattern ')' ( + SUBSET subsetDefinition (',' subsetDefinition)* + )? DEFINE variableDefinition (',' variableDefinition)* ')' (AS? identifier columnAliases?)? )? ; measureDefinition - : expression KW_AS identifier + : expression AS identifier ; rowsPerMatch - : KW_ONE KW_ROW KW_PER KW_MATCH - | KW_ALL KW_ROWS KW_PER KW_MATCH emptyMatchHandling? + : ONE ROW PER MATCH + | ALL ROWS PER MATCH emptyMatchHandling? ; emptyMatchHandling - : KW_SHOW KW_EMPTY KW_MATCHES - | KW_OMIT KW_EMPTY KW_MATCHES - | KW_WITH KW_UNMATCHED KW_ROWS + : SHOW EMPTY MATCHES + | OMIT EMPTY MATCHES + | WITH UNMATCHED ROWS ; skipTo - : 'SKIP' KW_TO KW_NEXT KW_ROW - | 'SKIP' KW_PAST KW_LAST KW_ROW - | 'SKIP' KW_TO KW_FIRST identifier - | 'SKIP' KW_TO KW_LAST identifier - | 'SKIP' KW_TO identifier + : 'SKIP' TO NEXT ROW + | 'SKIP' PAST LAST ROW + | 'SKIP' TO FIRST identifier + | 'SKIP' TO LAST identifier + | 'SKIP' TO identifier ; subsetDefinition - : name= identifier EQ '(' union+= identifier (',' union+= identifier)* ')' + : name=identifier EQ '(' union+=identifier (',' union+=identifier)* ')' ; variableDefinition - : identifier KW_AS expression + : identifier AS expression ; aliasedRelation - : relationPrimary (KW_AS? identifier columnAliases?)? + : relationPrimary (AS? identifier columnAliases?)? + ; + +columnAliases + : '(' identifier (',' identifier)* ')' ; -columnListCreate - : '(' columnNameCreate (',' columnNameCreate)* ')' +relationPrimary + : qualifiedName queryPeriod? # tableName + | '(' query ')' # subqueryRelation + | UNNEST '(' expression (',' expression)* ')' (WITH ORDINALITY)? # unnest + | LATERAL '(' query ')' # lateral + | TABLE '(' tableFunctionCall ')' # tableFunctionInvocation + | '(' relation ')' # parenthesizedRelation + | JSON_TABLE '(' jsonPathInvocation COLUMNS '(' jsonTableColumn (',' jsonTableColumn)* ')' ( + PLAN '(' jsonTableSpecificPlan ')' + | PLAN DEFAULT '(' jsonTableDefaultPlan ')' + )? ((ERROR | EMPTY) ON ERROR)? ')' # jsonTable + ; + +jsonTableColumn + : identifier FOR ORDINALITY # ordinalityColumn + | identifier type (PATH string)? (emptyBehavior=jsonValueBehavior ON EMPTY)? ( + errorBehavior=jsonValueBehavior ON ERROR + )? # valueColumn + | identifier type FORMAT jsonRepresentation (PATH string)? (jsonQueryWrapperBehavior WRAPPER)? ( + (KEEP | OMIT) QUOTES (ON SCALAR TEXT_STRING)? + )? (emptyBehavior=jsonQueryBehavior ON EMPTY)? (errorBehavior=jsonQueryBehavior ON ERROR)? # queryColumn + | NESTED PATH? string (AS identifier)? COLUMNS '(' jsonTableColumn (',' jsonTableColumn)* ')' # nestedColumns + ; + +jsonTableSpecificPlan + : jsonTablePathName # leafPlan + | jsonTablePathName (OUTER | INNER) planPrimary # joinPlan + | planPrimary UNION planPrimary (UNION planPrimary)* # unionPlan + | planPrimary CROSS planPrimary (CROSS planPrimary)* # crossPlan + ; + +jsonTablePathName + : identifier ; -columnList - : '(' columnName (',' columnName)* ')' +planPrimary + : jsonTablePathName + | '(' jsonTableSpecificPlan ')' ; -columnAliases - : '(' identifier (',' identifier)* ')' +jsonTableDefaultPlan + : (OUTER | INNER) (',' (UNION | CROSS))? + | (UNION | CROSS) (',' (OUTER | INNER))? ; -relationPrimary - : tableOrViewName # tableOrViewRelation - | '(' query ')' # subqueryRelation - | KW_UNNEST '(' expression (',' expression)* ')' (KW_WITH KW_ORDINALITY)? # unnest - | KW_LATERAL '(' query ')' # lateral - | '(' relation ')' # parenthesizedRelation +tableFunctionCall + : qualifiedName '(' (tableFunctionArgument (',' tableFunctionArgument)*)? ( + COPARTITION copartitionTables (',' copartitionTables)* + )? ')' + ; + +tableFunctionArgument + : (identifier '=>')? ( + tableArgument + | descriptorArgument + | expression + ) // descriptor before expression to avoid parsing descriptor as a function call + ; + +tableArgument + : tableArgumentRelation (PARTITION BY ('(' (expression (',' expression)*)? ')' | expression))? ( + PRUNE WHEN EMPTY + | KEEP WHEN EMPTY + )? (ORDER BY ('(' sortItem (',' sortItem)* ')' | sortItem))? + ; + +tableArgumentRelation + : TABLE '(' qualifiedName ')' (AS? identifier columnAliases?)? # tableArgumentTable + | TABLE '(' query ')' (AS? identifier columnAliases?)? # tableArgumentQuery + ; + +descriptorArgument + : DESCRIPTOR '(' descriptorField (',' descriptorField)* ')' + | CAST '(' NULL AS DESCRIPTOR ')' + ; + +descriptorField + : identifier type? + ; + +copartitionTables + : '(' qualifiedName ',' qualifiedName (',' qualifiedName)* ')' ; expression @@ -421,98 +492,169 @@ expression ; booleanExpression - : valueExpression predicate[$valueExpression.ctx]? # predicated - | KW_NOT booleanExpression # logicalNot - | left= booleanExpression operator= KW_AND right= booleanExpression # logicalBinary - | left= booleanExpression operator= KW_OR right= booleanExpression # logicalBinary + : valueExpression predicate[$valueExpression.ctx]? # predicated + | NOT booleanExpression # logicalNot + | booleanExpression AND booleanExpression # and + | booleanExpression OR booleanExpression # or ; // workaround for https://github.com/antlr/antlr4/issues/780 -predicate[antlr.ParserRuleContext value] - : comparisonOperator right= valueExpression # comparison - | comparisonOperator comparisonQuantifier '(' query ')' # quantifiedComparison - | KW_NOT? KW_BETWEEN lower= valueExpression KW_AND upper= valueExpression # between - | KW_NOT? KW_IN '(' expression (',' expression)* ')' # inList - | KW_NOT? KW_IN '(' query ')' # inSubquery - | KW_NOT? KW_LIKE pattern= valueExpression (KW_ESCAPE escape= valueExpression)? # like - | KW_IS KW_NOT? KW_NULL # nullPredicate - | KW_IS KW_NOT? KW_DISTINCT KW_FROM right= valueExpression # distinctFrom +predicate[ParserRuleContext value] + : comparisonOperator right=valueExpression # comparison + | comparisonOperator comparisonQuantifier '(' query ')' # quantifiedComparison + | NOT? BETWEEN lower=valueExpression AND upper=valueExpression # between + | NOT? IN '(' expression (',' expression)* ')' # inList + | NOT? IN '(' query ')' # inSubquery + | NOT? LIKE pattern=valueExpression (ESCAPE escape=valueExpression)? # like + | IS NOT? NULL # nullPredicate + | IS NOT? DISTINCT FROM right=valueExpression # distinctFrom ; valueExpression - : primaryExpression # valueExpressionDefault - | valueExpression KW_AT timeZoneSpecifier # atTimeZone - | operator= (MINUS | PLUS) valueExpression # arithmeticUnary - | left= valueExpression operator= (ASTERISK | SLASH | PERCENT) right= valueExpression # arithmeticBinary - | left= valueExpression operator= (PLUS | MINUS) right= valueExpression # arithmeticBinary - | left= valueExpression CONCAT right= valueExpression # concatenation + : primaryExpression # valueExpressionDefault + | valueExpression AT timeZoneSpecifier # atTimeZone + | operator=(MINUS | PLUS) valueExpression # arithmeticUnary + | left=valueExpression operator=(ASTERISK | SLASH | PERCENT) right=valueExpression # arithmeticBinary + | left=valueExpression operator=(PLUS | MINUS) right=valueExpression # arithmeticBinary + | left=valueExpression CONCAT right=valueExpression # concatenation ; primaryExpression - : KW_NULL # nullLiteral - | interval # intervalLiteral - | identifier string # typeConstructor - | KW_DOUBLE KW_PRECISION string # typeConstructor - | number # numericLiteral - | booleanValue # booleanLiteral - | string # stringLiteral - | BINARY_LITERAL # binaryLiteral - | QUESTION_MARK # parameter - | KW_POSITION '(' valueExpression KW_IN valueExpression ')' # position - | '(' expression (',' expression)+ ')' # rowConstructor - | KW_ROW '(' expression (',' expression)* ')' # rowConstructor - | functionName '(' ASTERISK ')' filter? over? # functionCall - | processingMode? functionName '(' (setQuantifier? expression (',' expression)*)? ( - KW_ORDER KW_BY sortItem (',' sortItem)* + : NULL # nullLiteral + | interval # intervalLiteral + | identifier string # typeConstructor + | DOUBLE PRECISION string # typeConstructor + | number # numericLiteral + | booleanValue # booleanLiteral + | string # stringLiteral + | BINARY_LITERAL # binaryLiteral + | QUESTION_MARK # parameter + | POSITION '(' valueExpression IN valueExpression ')' # position + | '(' expression (',' expression)+ ')' # rowConstructor + | ROW '(' expression (',' expression)* ')' # rowConstructor + | name=LISTAGG '(' setQuantifier? expression (',' string)? ( + ON OVERFLOW listAggOverflowBehavior + )? ')' (WITHIN GROUP '(' ORDER BY sortItem (',' sortItem)* ')') filter? # listagg + | processingMode? qualifiedName '(' (label=identifier '.')? ASTERISK ')' filter? over? # functionCall + | processingMode? qualifiedName '(' (setQuantifier? expression (',' expression)*)? ( + ORDER BY sortItem (',' sortItem)* )? ')' filter? (nullTreatment? over)? # functionCall | identifier over # measure | identifier '->' expression # lambda | '(' (identifier (',' identifier)*)? ')' '->' expression # lambda | '(' query ')' # subqueryExpression - // This is an extension to ANSI SQL, which considers KW_EXISTS to be a - | KW_EXISTS '(' query ')' # exists - | KW_CASE operand= expression whenClause+ (KW_ELSE elseExpression= expression)? KW_END # simpleCase - | KW_CASE whenClause+ (KW_ELSE elseExpression= expression)? KW_END # searchedCase - | KW_CAST '(' expression KW_AS type ')' # cast - | KW_TRY_CAST '(' expression KW_AS type ')' # cast - | KW_ARRAY '[' (expression (',' expression)*)? ']' # arrayConstructor - | value= primaryExpression '[' index= valueExpression ']' # subscript - | identifier # columnReference - | base= primaryExpression '.' fieldName= identifier # dereference - | name= KW_CURRENT_DATE # specialDateTimeFunction - | name= KW_CURRENT_TIME ('(' precision= INTEGER_VALUE ')')? # specialDateTimeFunction - | name= KW_CURRENT_TIMESTAMP ('(' precision= INTEGER_VALUE ')')? # specialDateTimeFunction - | name= KW_LOCALTIME ('(' precision= INTEGER_VALUE ')')? # specialDateTimeFunction - | name= KW_LOCALTIMESTAMP ('(' precision= INTEGER_VALUE ')')? # specialDateTimeFunction - | name= KW_CURRENT_USER # currentUser - | name= KW_CURRENT_CATALOG # currentCatalog - | name= KW_CURRENT_SCHEMA # currentSchema - | name= KW_CURRENT_PATH # currentPath - | KW_SUBSTRING '(' valueExpression KW_FROM valueExpression (KW_FOR valueExpression)? ')' # substring - | KW_NORMALIZE '(' valueExpression (',' normalForm)? ')' # normalize - | KW_EXTRACT '(' identifier KW_FROM valueExpression ')' # extract - | '(' expression ')' # parenthesizedExpression - | KW_GROUPING '(' (qualifiedName (',' qualifiedName)*)? ')' # groupingOperation + // This is an extension to ANSI SQL, which considers EXISTS to be a + | EXISTS '(' query ')' # exists + | CASE operand=expression whenClause+ (ELSE elseExpression=expression)? END # simpleCase + | CASE whenClause+ (ELSE elseExpression=expression)? END # searchedCase + | CAST '(' expression AS type ')' # cast + | TRY_CAST '(' expression AS type ')' # cast + | ARRAY '[' (expression (',' expression)*)? ']' # arrayConstructor + | value=primaryExpression '[' index=valueExpression ']' # subscript + | identifier # columnReference + | base=primaryExpression '.' fieldName=identifier # dereference + | name=CURRENT_DATE # currentDate + | name=CURRENT_TIME ('(' precision=INTEGER_VALUE ')')? # currentTime + | name=CURRENT_TIMESTAMP ('(' precision=INTEGER_VALUE ')')? # currentTimestamp + | name=LOCALTIME ('(' precision=INTEGER_VALUE ')')? # localTime + | name=LOCALTIMESTAMP ('(' precision=INTEGER_VALUE ')')? # localTimestamp + | name=CURRENT_USER # currentUser + | name=CURRENT_CATALOG # currentCatalog + | name=CURRENT_SCHEMA # currentSchema + | name=CURRENT_PATH # currentPath + | TRIM '(' (trimsSpecification? trimChar=valueExpression? FROM)? trimSource=valueExpression ')' # trim + | TRIM '(' trimSource=valueExpression ',' trimChar=valueExpression ')' # trim + | SUBSTRING '(' valueExpression FROM valueExpression (FOR valueExpression)? ')' # substring + | NORMALIZE '(' valueExpression (',' normalForm)? ')' # normalize + | EXTRACT '(' identifier FROM valueExpression ')' # extract + | '(' expression ')' # parenthesizedExpression + | GROUPING '(' (qualifiedName (',' qualifiedName)*)? ')' # groupingOperation + | JSON_EXISTS '(' jsonPathInvocation (jsonExistsErrorBehavior ON ERROR)? ')' # jsonExists + | JSON_VALUE '(' jsonPathInvocation (RETURNING type)? ( + emptyBehavior=jsonValueBehavior ON EMPTY + )? (errorBehavior=jsonValueBehavior ON ERROR)? ')' # jsonValue + | JSON_QUERY '(' jsonPathInvocation (RETURNING type (FORMAT jsonRepresentation)?)? ( + jsonQueryWrapperBehavior WRAPPER + )? ((KEEP | OMIT) QUOTES (ON SCALAR TEXT_STRING)?)? ( + emptyBehavior=jsonQueryBehavior ON EMPTY + )? (errorBehavior=jsonQueryBehavior ON ERROR)? ')' # jsonQuery + | JSON_OBJECT '(' ( + jsonObjectMember (',' jsonObjectMember)* (NULL ON NULL | ABSENT ON NULL)? ( + WITH UNIQUE KEYS? + | WITHOUT UNIQUE KEYS? + )? + )? (RETURNING type (FORMAT jsonRepresentation)?)? ')' # jsonObject + | JSON_ARRAY '(' ( + jsonValueExpression (',' jsonValueExpression)* (NULL ON NULL | ABSENT ON NULL)? + )? (RETURNING type (FORMAT jsonRepresentation)?)? ')' # jsonArray + ; + +jsonPathInvocation + : jsonValueExpression ',' path=string (AS pathName=identifier)? ( + PASSING jsonArgument (',' jsonArgument)* + )? + ; + +jsonValueExpression + : expression (FORMAT jsonRepresentation)? + ; + +jsonRepresentation + : JSON (ENCODING (UTF8 | UTF16 | UTF32))? // TODO add implementation-defined JSON representation option + ; + +jsonArgument + : jsonValueExpression AS identifier + ; + +jsonExistsErrorBehavior + : TRUE + | FALSE + | UNKNOWN + | ERROR + ; + +jsonValueBehavior + : ERROR + | NULL + | DEFAULT expression + ; + +jsonQueryWrapperBehavior + : WITHOUT ARRAY? + | WITH (CONDITIONAL | UNCONDITIONAL)? ARRAY? + ; + +jsonQueryBehavior + : ERROR + | NULL + | EMPTY ARRAY + | EMPTY OBJECT + ; + +jsonObjectMember + : KEY? expression VALUE jsonValueExpression + | expression ':' jsonValueExpression ; processingMode - : KW_RUNNING - | KW_FINAL + : RUNNING + | FINAL ; nullTreatment - : KW_IGNORE KW_NULLS - | KW_RESPECT KW_NULLS + : IGNORE NULLS + | RESPECT NULLS ; string - : STRING # basicStringLiteral - | UNICODE_STRING (KW_UESCAPE STRING)? # unicodeStringLiteral + : STRING # basicStringLiteral + | UNICODE_STRING (UESCAPE STRING)? # unicodeStringLiteral ; timeZoneSpecifier - : KW_TIME KW_ZONE interval # timeZoneInterval - | KW_TIME KW_ZONE string # timeZoneString + : TIME ZONE interval # timeZoneInterval + | TIME ZONE string # timeZoneString ; comparisonOperator @@ -525,48 +667,48 @@ comparisonOperator ; comparisonQuantifier - : KW_ALL - | KW_SOME - | KW_ANY + : ALL + | SOME + | ANY ; booleanValue - : KW_TRUE - | KW_FALSE + : TRUE + | FALSE ; interval - : KW_INTERVAL sign= (PLUS | MINUS)? string from= intervalField (KW_TO to= intervalField)? + : INTERVAL sign=(PLUS | MINUS)? string from=intervalField (TO to=intervalField)? ; intervalField - : KW_YEAR - | KW_MONTH - | KW_DAY - | KW_HOUR - | KW_MINUTE - | KW_SECOND + : YEAR + | MONTH + | DAY + | HOUR + | MINUTE + | SECOND ; normalForm - : KW_NFD - | KW_NFC - | KW_NFKD - | KW_NFKC + : NFD + | NFC + | NFKD + | NFKC ; type - : KW_ROW '(' rowField (',' rowField)* ')' # rowType - | KW_INTERVAL from= intervalField (KW_TO to= intervalField)? # intervalType - | base= KW_TIMESTAMP ('(' precision= typeParameter ')')? (KW_WITHOUT KW_TIME KW_ZONE)? # dateTimeType - | base= KW_TIMESTAMP ('(' precision= typeParameter ')')? KW_WITH KW_TIME KW_ZONE # dateTimeType - | base= KW_TIME ('(' precision= typeParameter ')')? (KW_WITHOUT KW_TIME KW_ZONE)? # dateTimeType - | base= KW_TIME ('(' precision= typeParameter ')')? KW_WITH KW_TIME KW_ZONE # dateTimeType - | KW_DOUBLE KW_PRECISION # doublePrecisionType - | KW_ARRAY '<' type '>' # legacyArrayType - | KW_MAP '<' keyType= type ',' valueType= type '>' # legacyMapType - | type KW_ARRAY ('[' INTEGER_VALUE ']')? # arrayType - | identifier ('(' typeParameter (',' typeParameter)* ')')? # genericType + : ROW '(' rowField (',' rowField)* ')' # rowType + | INTERVAL from=intervalField (TO to=intervalField)? # intervalType + | base=TIMESTAMP ('(' precision= typeParameter ')')? (WITHOUT TIME ZONE)? # dateTimeType + | base=TIMESTAMP ('(' precision= typeParameter ')')? WITH TIME ZONE # dateTimeType + | base=TIME ('(' precision= typeParameter ')')? (WITHOUT TIME ZONE)? # dateTimeType + | base=TIME ('(' precision= typeParameter ')')? WITH TIME ZONE # dateTimeType + | DOUBLE PRECISION # doublePrecisionType + | ARRAY '<' type '>' # legacyArrayType + | MAP '<' keyType=type ',' valueType=type '>' # legacyMapType + | type ARRAY ('[' INTEGER_VALUE ']')? # arrayType + | identifier ('(' typeParameter (',' typeParameter)* ')')? # genericType ; rowField @@ -580,49 +722,50 @@ typeParameter ; whenClause - : KW_WHEN condition= expression KW_THEN result= expression + : WHEN condition=expression THEN result=expression ; filter - : KW_FILTER '(' KW_WHERE booleanExpression ')' + : FILTER '(' WHERE booleanExpression ')' ; mergeCase - : KW_WHEN KW_MATCHED (KW_AND condition= expression)? KW_THEN KW_UPDATE KW_SET targets+= identifier EQ values+= expression ( - ',' targets+= identifier EQ values+= expression - )* # mergeUpdate - | KW_WHEN KW_MATCHED (KW_AND condition= expression)? KW_THEN KW_DELETE # mergeDelete - | KW_WHEN KW_NOT KW_MATCHED (KW_AND condition= expression)? KW_THEN KW_INSERT ( - '(' targets+= identifier (',' targets+= identifier)* ')' - )? KW_VALUES '(' values+= expression (',' values+= expression)* ')' # mergeInsert + : WHEN MATCHED (AND condition=expression)? THEN UPDATE SET targets+=identifier EQ values+=expression ( + ',' targets+=identifier EQ values+=expression + )* # mergeUpdate + | WHEN MATCHED (AND condition=expression)? THEN DELETE # mergeDelete + | WHEN NOT MATCHED (AND condition=expression)? THEN INSERT ( + '(' targets+=identifier (',' targets+=identifier)* ')' + )? VALUES '(' values+=expression (',' values+=expression)* ')' # mergeInsert ; over - : KW_OVER (windowName= identifier | '(' windowSpecification ')') + : OVER (windowName=identifier | '(' windowSpecification ')') ; windowFrame - : (KW_MEASURES measureDefinition (',' measureDefinition)*)? frameExtent ( - KW_AFTER KW_MATCH skipTo - )? (KW_INITIAL | KW_SEEK)? (KW_PATTERN '(' rowPattern ')')? ( - KW_SUBSET subsetDefinition (',' subsetDefinition)* - )? (KW_DEFINE variableDefinition (',' variableDefinition)*)? + : (MEASURES measureDefinition (',' measureDefinition)*)? frameExtent (AFTER MATCH skipTo)? ( + INITIAL + | SEEK + )? (PATTERN '(' rowPattern ')')? (SUBSET subsetDefinition (',' subsetDefinition)*)? ( + DEFINE variableDefinition (',' variableDefinition)* + )? ; frameExtent - : frameType= KW_RANGE frameStart= frameBound - | frameType= KW_ROWS frameStart= frameBound - | frameType= KW_GROUPS frameStart= frameBound - | frameType= KW_RANGE KW_BETWEEN frameStart= frameBound KW_AND end= frameBound - | frameType= KW_ROWS KW_BETWEEN frameStart= frameBound KW_AND end= frameBound - | frameType= KW_GROUPS KW_BETWEEN frameStart= frameBound KW_AND end= frameBound + : frameType=RANGE start=frameBound + | frameType=ROWS start=frameBound + | frameType=GROUPS start=frameBound + | frameType=RANGE BETWEEN start=frameBound AND end=frameBound + | frameType=ROWS BETWEEN start=frameBound AND end=frameBound + | frameType=GROUPS BETWEEN start=frameBound AND end=frameBound ; frameBound - : KW_UNBOUNDED boundType= KW_PRECEDING # unboundedFrame - | KW_UNBOUNDED boundType= KW_FOLLOWING # unboundedFrame - | KW_CURRENT KW_ROW # currentRowBound - | expression boundType= (KW_PRECEDING | KW_FOLLOWING) # boundedFrame + : UNBOUNDED boundType=PRECEDING # unboundedFrame + | UNBOUNDED boundType=FOLLOWING # unboundedFrame + | CURRENT ROW # currentRowBound + | expression boundType=(PRECEDING | FOLLOWING) # boundedFrame ; rowPattern @@ -632,21 +775,21 @@ rowPattern ; patternPrimary - : identifier # patternVariable - | '(' ')' # emptyPattern - | KW_PERMUTE '(' rowPattern (',' rowPattern)* ')' # patternPermutation - | '(' rowPattern ')' # groupedPattern - | '^' # partitionStartAnchor - | '$' # partitionEndAnchor - | '{-' rowPattern '-}' # excludedPattern + : identifier # patternVariable + | '(' ')' # emptyPattern + | PERMUTE '(' rowPattern (',' rowPattern)* ')' # patternPermutation + | '(' rowPattern ')' # groupedPattern + | '^' # partitionStartAnchor + | '$' # partitionEndAnchor + | '{-' rowPattern '-}' # excludedPattern ; patternQuantifier - : ASTERISK (reluctant= QUESTION_MARK)? # zeroOrMoreQuantifier - | PLUS (reluctant= QUESTION_MARK)? # oneOrMoreQuantifier - | QUESTION_MARK (reluctant= QUESTION_MARK)? # zeroOrOneQuantifier - | '{' exactly= INTEGER_VALUE '}' (reluctant= QUESTION_MARK)? # rangeQuantifier - | '{' (atLeast= INTEGER_VALUE)? ',' (atMost= INTEGER_VALUE)? '}' (reluctant= QUESTION_MARK)? # rangeQuantifier + : ASTERISK (reluctant=QUESTION_MARK)? # zeroOrMoreQuantifier + | PLUS (reluctant=QUESTION_MARK)? # oneOrMoreQuantifier + | QUESTION_MARK (reluctant=QUESTION_MARK)? # zeroOrOneQuantifier + | '{' exactly=INTEGER_VALUE '}' (reluctant=QUESTION_MARK)? # rangeQuantifier + | '{' (atLeast=INTEGER_VALUE)? ',' (atMost=INTEGER_VALUE)? '}' (reluctant=QUESTION_MARK)? # rangeQuantifier ; updateAssignment @@ -654,20 +797,20 @@ updateAssignment ; explainOption - : KW_FORMAT value= (KW_TEXT | KW_GRAPHVIZ | KW_JSON) # explainFormat - | KW_TYPE value= (KW_LOGICAL | KW_DISTRIBUTED | KW_VALIDATE | KW_IO) # explainType + : FORMAT value=(TEXT | GRAPHVIZ | JSON) # explainFormat + | TYPE value=(LOGICAL | DISTRIBUTED | VALIDATE | IO) # explainType ; transactionMode - : KW_ISOLATION KW_LEVEL levelOfIsolation # isolationLevel - | KW_READ accessMode= (KW_ONLY | KW_WRITE) # transactionAccessMode + : ISOLATION LEVEL levelOfIsolation # isolationLevel + | READ accessMode=(ONLY | WRITE) # transactionAccessMode ; levelOfIsolation - : KW_READ KW_UNCOMMITTED # readUncommitted - | KW_READ KW_COMMITTED # readCommitted - | KW_REPEATABLE KW_READ # repeatableRead - | KW_SERIALIZABLE # serializable + : READ UNCOMMITTED # readUncommitted + | READ COMMITTED # readCommitted + | REPEATABLE READ # repeatableRead + | SERIALIZABLE # serializable ; callArgument @@ -684,100 +827,123 @@ pathSpecification : pathElement (',' pathElement)* ; -privilege - : KW_SELECT - | KW_DELETE - | KW_INSERT - | KW_UPDATE +functionSpecification + : FUNCTION functionDeclaration returnsClause routineCharacteristic* controlStatement ; -tableOrViewName - : tableName - | viewName +functionDeclaration + : qualifiedName '(' (parameterDeclaration (',' parameterDeclaration)*)? ')' ; -tableName - : tablePath +parameterDeclaration + : identifier? type ; -tableNameCreate - : tablePath +returnsClause + : RETURNS type ; -viewName - : viewPath +routineCharacteristic + : LANGUAGE identifier # languageCharacteristic + | NOT? DETERMINISTIC # deterministicCharacteristic + | RETURNS NULL ON NULL INPUT # returnsNullOnNullInputCharacteristic + | CALLED ON NULL INPUT # calledOnNullInputCharacteristic + | SECURITY (DEFINER | INVOKER) # securityCharacteristic + | COMMENT string # commentCharacteristic ; -viewNameCreate - : viewPath +controlStatement + : RETURN valueExpression # returnStatement + | SET identifier EQ expression # assignmentStatement + | CASE expression caseStatementWhenClause+ elseClause? END CASE # simpleCaseStatement + | CASE caseStatementWhenClause+ elseClause? END CASE # searchedCaseStatement + | IF expression THEN sqlStatementList elseIfClause* elseClause? END IF # ifStatement + | ITERATE identifier # iterateStatement + | LEAVE identifier # leaveStatement + | BEGIN (variableDeclaration SEMICOLON)* sqlStatementList? END # compoundStatement + | (label=identifier ':')? LOOP sqlStatementList END LOOP # loopStatement + | (label=identifier ':')? WHILE expression DO sqlStatementList END WHILE # whileStatement + | (label=identifier ':')? REPEAT sqlStatementList UNTIL expression END REPEAT # repeatStatement ; -tablePath - : table= identifier - | schema= identifier '.' table= identifier - | catalog= identifier '.' schema= identifier '.' table= identifier +caseStatementWhenClause + : WHEN expression THEN sqlStatementList ; -viewPath - : view= identifier - | schema= identifier '.' view= identifier - | catalog= identifier '.' schema= identifier '.' view= identifier +elseIfClause + : ELSEIF expression THEN sqlStatementList ; -schemaName - : schemaPath +elseClause + : ELSE sqlStatementList ; -schemaNameCreate - : schemaPath +variableDeclaration + : DECLARE identifier (',' identifier)* type (DEFAULT valueExpression)? ; -schemaPath - : schema= identifier - | catalog= identifier '.' schema= identifier +sqlStatementList + : (controlStatement SEMICOLON)+ ; -catalogName - : catalog= identifier +privilege + : CREATE + | SELECT + | DELETE + | INSERT + | UPDATE + | identifier ; -catalogNameCreate - : catalog= identifier +entityKind + : TABLE + | SCHEMA + | identifier ; -functionName - : qualifiedName +grantObject + : entityKind? qualifiedName ; -columnName - : qualifiedName - | {this.shouldMatchEmpty()}? +qualifiedName + : identifier ('.' identifier)* ; -columnNameCreate - : identifier +queryPeriod + : FOR rangeType AS OF end=valueExpression ; -qualifiedName - : identifier ('.' identifier)* +rangeType + : TIMESTAMP + | VERSION ; grantor - : principal # specifiedPrincipal - | KW_CURRENT_USER # currentUserGrantor - | KW_CURRENT_ROLE # currentRoleGrantor + : principal # specifiedPrincipal + | CURRENT_USER # currentUserGrantor + | CURRENT_ROLE # currentRoleGrantor ; principal - : identifier # unspecifiedPrincipal - | KW_USER identifier # userPrincipal - | KW_ROLE identifier # rolePrincipal + : identifier # unspecifiedPrincipal + | USER identifier # userPrincipal + | ROLE identifier # rolePrincipal ; roles : identifier (',' identifier)* ; +privilegeOrRole + : CREATE + | SELECT + | DELETE + | INSERT + | UPDATE + | EXECUTE + | identifier + ; + identifier : IDENTIFIER # unquotedIdentifier | QUOTED_IDENTIFIER # quotedIdentifier @@ -792,166 +958,226 @@ number | MINUS? INTEGER_VALUE # integerLiteral ; +authorizationUser + : identifier # identifierUser + | string # stringUser + ; + nonReserved - : KW_ADD - | KW_ADMIN - | KW_AFTER - | KW_ALL - | KW_ANALYZE - | KW_ANY - | KW_ARRAY - | KW_ASC - | KW_AT - | KW_AUTHORIZATION - | KW_BERNOULLI - | KW_CALL - | KW_CASCADE - | KW_CATALOGS - | KW_COLUMN - | KW_COLUMNS - | KW_COMMENT - | KW_COMMIT - | KW_COMMITTED - | KW_CURRENT - | KW_DATA - | KW_DATE - | KW_DAY - | KW_DEFAULT - | KW_DEFINE - | KW_DEFINER - | KW_DESC - | KW_DISTRIBUTED - | KW_DOUBLE - | KW_EMPTY - | KW_EXCLUDING - | KW_EXPLAIN - | KW_FETCH - | KW_FILTER - | KW_FINAL - | KW_FIRST - | KW_FOLLOWING - | KW_FORMAT - | KW_FUNCTIONS - | KW_GRANT - | KW_GRANTED - | KW_GRANTS - | KW_DENY - | KW_GRAPHVIZ - | KW_GROUPS - | KW_HOUR - | KW_IF - | KW_IGNORE - | KW_INCLUDING - | KW_INITIAL - | KW_INPUT - | KW_INTERVAL - | KW_INVOKER - | KW_IO - | KW_ISOLATION - | KW_JSON - | KW_LAST - | KW_LATERAL - | KW_LEVEL - | KW_LIMIT - | KW_LOCAL - | KW_LOGICAL - | KW_MAP - | KW_MATCH - | KW_MATCHED - | KW_MATCHES - | KW_MATCH_RECOGNIZE - | KW_MATERIALIZED - | KW_MEASURES - | KW_MERGE - | KW_MINUTE - | KW_MONTH - | KW_NEXT - | KW_NFC - | KW_NFD - | KW_NFKC - | KW_NFKD - | KW_NO - | KW_NONE - | KW_NULLIF - | KW_NULLS - | KW_OFFSET - | KW_OMIT - | KW_ONE - | KW_ONLY - | KW_OPTION - | KW_ORDINALITY - | KW_OUTPUT - | KW_OVER - | KW_PARTITION - | KW_PARTITIONS - | KW_PAST - | KW_PATH - | KW_PATTERN - | KW_PER - | KW_PERMUTE - | KW_POSITION - | KW_PRECEDING - | KW_PRECISION - | KW_PRIVILEGES - | KW_PROPERTIES - | KW_RANGE - | KW_READ - | KW_REFRESH - | KW_RENAME - | KW_REPEATABLE - | KW_REPLACE - | KW_RESET - | KW_RESPECT - | KW_RESTRICT - | KW_REVOKE - | KW_ROLE - | KW_ROLES - | KW_ROLLBACK - | KW_ROW - | KW_ROWS - | KW_RUNNING - | KW_SCHEMA - | KW_SCHEMAS - | KW_SECOND - | KW_SECURITY - | KW_SEEK - | KW_SERIALIZABLE - | KW_SESSION - | KW_SET - | KW_SETS - | KW_SHOW - | KW_SOME - | KW_START - | KW_STATS - | KW_SUBSET - | KW_SUBSTRING - | KW_SYSTEM - | KW_TABLES - | KW_TABLESAMPLE - | KW_TEXT - | KW_TIES - | KW_TIME - | KW_TIMESTAMP - | KW_TO - | KW_TRANSACTION - | KW_TRUNCATE - | KW_TRY_CAST - | KW_TYPE - | KW_UNBOUNDED - | KW_UNCOMMITTED - | KW_UNMATCHED - | KW_UPDATE - | KW_USE - | KW_USER - | KW_VALIDATE - | KW_VERBOSE - | KW_VIEW - | KW_WINDOW - | KW_WITHOUT - | KW_WORK - | KW_WRITE - | KW_YEAR - | KW_ZONE + // IMPORTANT: this rule must only contain tokens. Nested rules are not supported. See SqlParser.exitNonReserved + : ABSENT + | ADD + | ADMIN + | AFTER + | ALL + | ANALYZE + | ANY + | ARRAY + | ASC + | AT + | AUTHORIZATION + | BEGIN + | BERNOULLI + | BOTH + | CALL + | CALLED + | CASCADE + | CATALOG + | CATALOGS + | COLUMN + | COLUMNS + | COMMENT + | COMMIT + | COMMITTED + | CONDITIONAL + | COPARTITION + | COUNT + | CURRENT + | DATA + | DATE + | DAY + | DECLARE + | DEFAULT + | DEFINE + | DEFINER + | DENY + | DESC + | DESCRIPTOR + | DETERMINISTIC + | DISTRIBUTED + | DO + | DOUBLE + | ELSEIF + | EMPTY + | ENCODING + | ERROR + | EXCLUDING + | EXPLAIN + | FETCH + | FILTER + | FINAL + | FIRST + | FOLLOWING + | FORMAT + | FUNCTION + | FUNCTIONS + | GRACE + | GRANT + | GRANTED + | GRANTS + | GRAPHVIZ + | GROUPS + | HOUR + | IF + | IGNORE + | IMMEDIATE + | INCLUDING + | INITIAL + | INPUT + | INTERVAL + | INVOKER + | IO + | ITERATE + | ISOLATION + | JSON + | KEEP + | KEY + | KEYS + | LANGUAGE + | LAST + | LATERAL + | LEADING + | LEAVE + | LEVEL + | LIMIT + | LOCAL + | LOGICAL + | LOOP + | MAP + | MATCH + | MATCHED + | MATCHES + | MATCH_RECOGNIZE + | MATERIALIZED + | MEASURES + | MERGE + | MINUTE + | MONTH + | NESTED + | NEXT + | NFC + | NFD + | NFKC + | NFKD + | NO + | NONE + | NULLIF + | NULLS + | OBJECT + | OF + | OFFSET + | OMIT + | ONE + | ONLY + | OPTION + | ORDINALITY + | OUTPUT + | OVER + | OVERFLOW + | PARTITION + | PARTITIONS + | PASSING + | PAST + | PATH + | PATTERN + | PER + | PERIOD + | PERMUTE + | PLAN + | POSITION + | PRECEDING + | PRECISION + | PRIVILEGES + | PROPERTIES + | PRUNE + | QUOTES + | RANGE + | READ + | REFRESH + | RENAME + | REPEAT + | REPEATABLE + | REPLACE + | RESET + | RESPECT + | RESTRICT + | RETURN + | RETURNING + | RETURNS + | REVOKE + | ROLE + | ROLES + | ROLLBACK + | ROW + | ROWS + | RUNNING + | SCALAR + | SCHEMA + | SCHEMAS + | SECOND + | SECURITY + | SEEK + | SERIALIZABLE + | SESSION + | SET + | SETS + | SHOW + | SOME + | START + | STATS + | SUBSET + | SUBSTRING + | SYSTEM + | TABLES + | TABLESAMPLE + | TEXT + | TEXT_STRING + | TIES + | TIME + | TIMESTAMP + | TO + | TRAILING + | TRANSACTION + | TRUNCATE + | TRY_CAST + | TYPE + | UNBOUNDED + | UNCOMMITTED + | UNCONDITIONAL + | UNIQUE + | UNKNOWN + | UNMATCHED + | UNTIL + | UPDATE + | USE + | USER + | UTF16 + | UTF32 + | UTF8 + | VALIDATE + | VALUE + | VERBOSE + | VERSION + | VIEW + | WHILE + | WINDOW + | WITHIN + | WITHOUT + | WORK + | WRAPPER + | WRITE + | YEAR + | ZONE ; /** @@ -965,238 +1191,300 @@ nonReserved // $antlr-format singleLineOverrulesHangingColon true, alignLexerCommands true, alignLabels true, alignTrailers true // $antlr-format spaceBeforeAssignmentOperators false, groupedAlignments true -KW_ADD : 'ADD'; -KW_ADMIN : 'ADMIN'; -KW_AFTER : 'AFTER'; -KW_ALL : 'ALL'; -KW_ALTER : 'ALTER'; -KW_ANALYZE : 'ANALYZE'; -KW_AND : 'AND'; -KW_ANY : 'ANY'; -KW_ARRAY : 'ARRAY'; -KW_AS : 'AS'; -KW_ASC : 'ASC'; -KW_AT : 'AT'; -KW_AUTHORIZATION : 'AUTHORIZATION'; -KW_BERNOULLI : 'BERNOULLI'; -KW_BETWEEN : 'BETWEEN'; -KW_BY : 'BY'; -KW_CALL : 'CALL'; -KW_CASCADE : 'CASCADE'; -KW_CASE : 'CASE'; -KW_CAST : 'CAST'; -KW_CATALOGS : 'CATALOGS'; -KW_COLUMN : 'COLUMN'; -KW_COLUMNS : 'COLUMNS'; -KW_COMMENT : 'COMMENT'; -KW_COMMIT : 'COMMIT'; -KW_COMMITTED : 'COMMITTED'; -KW_CONSTRAINT : 'CONSTRAINT'; -KW_CREATE : 'CREATE'; -KW_CROSS : 'CROSS'; -KW_CUBE : 'CUBE'; -KW_CURRENT : 'CURRENT'; -KW_CURRENT_CATALOG : 'CURRENT_CATALOG'; -KW_CURRENT_DATE : 'CURRENT_DATE'; -KW_CURRENT_PATH : 'CURRENT_PATH'; -KW_CURRENT_ROLE : 'CURRENT_ROLE'; -KW_CURRENT_SCHEMA : 'CURRENT_SCHEMA'; -KW_CURRENT_TIME : 'CURRENT_TIME'; -KW_CURRENT_TIMESTAMP : 'CURRENT_TIMESTAMP'; -KW_CURRENT_USER : 'CURRENT_USER'; -KW_DATA : 'DATA'; -KW_DATE : 'DATE'; -KW_DAY : 'DAY'; -KW_DEFAULT : 'DEFAULT'; -KW_DEALLOCATE : 'DEALLOCATE'; -KW_DEFINER : 'DEFINER'; -KW_DELETE : 'DELETE'; -KW_DESC : 'DESC'; -KW_DESCRIBE : 'DESCRIBE'; -KW_DEFINE : 'DEFINE'; -KW_DISTINCT : 'DISTINCT'; -KW_DISTRIBUTED : 'DISTRIBUTED'; -KW_DOUBLE : 'DOUBLE'; -KW_DROP : 'DROP'; -KW_ELSE : 'ELSE'; -KW_EMPTY : 'EMPTY'; -KW_END : 'END'; -KW_ESCAPE : 'ESCAPE'; -KW_EXCEPT : 'EXCEPT'; -KW_EXCLUDING : 'EXCLUDING'; -KW_EXECUTE : 'EXECUTE'; -KW_EXISTS : 'EXISTS'; -KW_EXPLAIN : 'EXPLAIN'; -KW_EXTRACT : 'EXTRACT'; -KW_FALSE : 'FALSE'; -KW_FETCH : 'FETCH'; -KW_FILTER : 'FILTER'; -KW_FINAL : 'FINAL'; -KW_FIRST : 'FIRST'; -KW_FOLLOWING : 'FOLLOWING'; -KW_FOR : 'FOR'; -KW_FORMAT : 'FORMAT'; -KW_FROM : 'FROM'; -KW_FULL : 'FULL'; -KW_FUNCTIONS : 'FUNCTIONS'; -KW_GRANT : 'GRANT'; -KW_GRANTED : 'GRANTED'; -KW_GRANTS : 'GRANTS'; -KW_DENY : 'DENY'; -KW_GRAPHVIZ : 'GRAPHVIZ'; -KW_GROUP : 'GROUP'; -KW_GROUPING : 'GROUPING'; -KW_GROUPS : 'GROUPS'; -KW_HAVING : 'HAVING'; -KW_HOUR : 'HOUR'; -KW_IF : 'IF'; -KW_IGNORE : 'IGNORE'; -KW_IN : 'IN'; -KW_INCLUDING : 'INCLUDING'; -KW_INITIAL : 'INITIAL'; -KW_INNER : 'INNER'; -KW_INPUT : 'INPUT'; -KW_INSERT : 'INSERT'; -KW_INTERSECT : 'INTERSECT'; -KW_INTERVAL : 'INTERVAL'; -KW_INTO : 'INTO'; -KW_INVOKER : 'INVOKER'; -KW_IO : 'IO'; -KW_IS : 'IS'; -KW_ISOLATION : 'ISOLATION'; -KW_JOIN : 'JOIN'; -KW_JSON : 'JSON'; -KW_LAST : 'LAST'; -KW_LATERAL : 'LATERAL'; -KW_LEFT : 'LEFT'; -KW_LEVEL : 'LEVEL'; -KW_LIKE : 'LIKE'; -KW_LIMIT : 'LIMIT'; -KW_LOCAL : 'LOCAL'; -KW_LOCALTIME : 'LOCALTIME'; -KW_LOCALTIMESTAMP : 'LOCALTIMESTAMP'; -KW_LOGICAL : 'LOGICAL'; -KW_MAP : 'MAP'; -KW_MATCH : 'MATCH'; -KW_MATCHED : 'MATCHED'; -KW_MATCHES : 'MATCHES'; -KW_MATCH_RECOGNIZE : 'MATCH_RECOGNIZE'; -KW_MATERIALIZED : 'MATERIALIZED'; -KW_MEASURES : 'MEASURES'; -KW_MERGE : 'MERGE'; -KW_MINUTE : 'MINUTE'; -KW_MONTH : 'MONTH'; -KW_NATURAL : 'NATURAL'; -KW_NEXT : 'NEXT'; -KW_NFC : 'NFC'; -KW_NFD : 'NFD'; -KW_NFKC : 'NFKC'; -KW_NFKD : 'NFKD'; -KW_NO : 'NO'; -KW_NONE : 'NONE'; -KW_NORMALIZE : 'NORMALIZE'; -KW_NOT : 'NOT'; -KW_NULL : 'NULL'; -KW_NULLIF : 'NULLIF'; -KW_NULLS : 'NULLS'; -KW_OFFSET : 'OFFSET'; -KW_OMIT : 'OMIT'; -KW_ON : 'ON'; -KW_ONE : 'ONE'; -KW_ONLY : 'ONLY'; -KW_OPTION : 'OPTION'; -KW_OR : 'OR'; -KW_ORDER : 'ORDER'; -KW_ORDINALITY : 'ORDINALITY'; -KW_OUTER : 'OUTER'; -KW_OUTPUT : 'OUTPUT'; -KW_OVER : 'OVER'; -KW_PARTITION : 'PARTITION'; -KW_PARTITIONS : 'PARTITIONS'; -KW_PAST : 'PAST'; -KW_PATH : 'PATH'; -KW_PATTERN : 'PATTERN'; -KW_PER : 'PER'; -KW_PERMUTE : 'PERMUTE'; -KW_POSITION : 'POSITION'; -KW_PRECEDING : 'PRECEDING'; -KW_PRECISION : 'PRECISION'; -KW_PREPARE : 'PREPARE'; -KW_PRIVILEGES : 'PRIVILEGES'; -KW_PROPERTIES : 'PROPERTIES'; -KW_RANGE : 'RANGE'; -KW_READ : 'READ'; -KW_RECURSIVE : 'RECURSIVE'; -KW_REFRESH : 'REFRESH'; -KW_RENAME : 'RENAME'; -KW_REPEATABLE : 'REPEATABLE'; -KW_REPLACE : 'REPLACE'; -KW_RESET : 'RESET'; -KW_RESPECT : 'RESPECT'; -KW_RESTRICT : 'RESTRICT'; -KW_REVOKE : 'REVOKE'; -KW_RIGHT : 'RIGHT'; -KW_ROLE : 'ROLE'; -KW_ROLES : 'ROLES'; -KW_ROLLBACK : 'ROLLBACK'; -KW_ROLLUP : 'ROLLUP'; -KW_ROW : 'ROW'; -KW_ROWS : 'ROWS'; -KW_RUNNING : 'RUNNING'; -KW_SCHEMA : 'SCHEMA'; -KW_SCHEMAS : 'SCHEMAS'; -KW_SECOND : 'SECOND'; -KW_SECURITY : 'SECURITY'; -KW_SEEK : 'SEEK'; -KW_SELECT : 'SELECT'; -KW_SERIALIZABLE : 'SERIALIZABLE'; -KW_SESSION : 'SESSION'; -KW_SET : 'SET'; -KW_SETS : 'SETS'; -KW_SHOW : 'SHOW'; -KW_SOME : 'SOME'; -KW_START : 'START'; -KW_STATS : 'STATS'; -KW_SUBSET : 'SUBSET'; -KW_SUBSTRING : 'SUBSTRING'; -KW_SYSTEM : 'SYSTEM'; -KW_TABLE : 'TABLE'; -KW_TABLES : 'TABLES'; -KW_TABLESAMPLE : 'TABLESAMPLE'; -KW_TEXT : 'TEXT'; -KW_THEN : 'THEN'; -KW_TIES : 'TIES'; -KW_TIME : 'TIME'; -KW_TIMESTAMP : 'TIMESTAMP'; -KW_TO : 'TO'; -KW_TRANSACTION : 'TRANSACTION'; -KW_TRUNCATE : 'TRUNCATE'; -KW_TRUE : 'TRUE'; -KW_TRY_CAST : 'TRY_CAST'; -KW_TYPE : 'TYPE'; -KW_UESCAPE : 'UESCAPE'; -KW_UNBOUNDED : 'UNBOUNDED'; -KW_UNCOMMITTED : 'UNCOMMITTED'; -KW_UNION : 'UNION'; -KW_UNMATCHED : 'UNMATCHED'; -KW_UNNEST : 'UNNEST'; -KW_UPDATE : 'UPDATE'; -KW_USE : 'USE'; -KW_USER : 'USER'; -KW_USING : 'USING'; -KW_VALIDATE : 'VALIDATE'; -KW_VALUES : 'VALUES'; -KW_VERBOSE : 'VERBOSE'; -KW_VIEW : 'VIEW'; -KW_WHEN : 'WHEN'; -KW_WHERE : 'WHERE'; -KW_WINDOW : 'WINDOW'; -KW_WITH : 'WITH'; -KW_WITHOUT : 'WITHOUT'; -KW_WORK : 'WORK'; -KW_WRITE : 'WRITE'; -KW_YEAR : 'YEAR'; -KW_ZONE : 'ZONE'; +ABSENT : 'ABSENT'; +ADD : 'ADD'; +ADMIN : 'ADMIN'; +AFTER : 'AFTER'; +ALL : 'ALL'; +ALTER : 'ALTER'; +ANALYZE : 'ANALYZE'; +AND : 'AND'; +ANY : 'ANY'; +ARRAY : 'ARRAY'; +AS : 'AS'; +ASC : 'ASC'; +AT : 'AT'; +AUTHORIZATION : 'AUTHORIZATION'; +BEGIN : 'BEGIN'; +BERNOULLI : 'BERNOULLI'; +BETWEEN : 'BETWEEN'; +BOTH : 'BOTH'; +BY : 'BY'; +CALL : 'CALL'; +CALLED : 'CALLED'; +CASCADE : 'CASCADE'; +CASE : 'CASE'; +CAST : 'CAST'; +CATALOG : 'CATALOG'; +CATALOGS : 'CATALOGS'; +COLUMN : 'COLUMN'; +COLUMNS : 'COLUMNS'; +COMMENT : 'COMMENT'; +COMMIT : 'COMMIT'; +COMMITTED : 'COMMITTED'; +CONDITIONAL : 'CONDITIONAL'; +CONSTRAINT : 'CONSTRAINT'; +COUNT : 'COUNT'; +COPARTITION : 'COPARTITION'; +CREATE : 'CREATE'; +CROSS : 'CROSS'; +CUBE : 'CUBE'; +CURRENT : 'CURRENT'; +CURRENT_CATALOG : 'CURRENT_CATALOG'; +CURRENT_DATE : 'CURRENT_DATE'; +CURRENT_PATH : 'CURRENT_PATH'; +CURRENT_ROLE : 'CURRENT_ROLE'; +CURRENT_SCHEMA : 'CURRENT_SCHEMA'; +CURRENT_TIME : 'CURRENT_TIME'; +CURRENT_TIMESTAMP : 'CURRENT_TIMESTAMP'; +CURRENT_USER : 'CURRENT_USER'; +DATA : 'DATA'; +DATE : 'DATE'; +DAY : 'DAY'; +DEALLOCATE : 'DEALLOCATE'; +DECLARE : 'DECLARE'; +DEFAULT : 'DEFAULT'; +DEFINE : 'DEFINE'; +DEFINER : 'DEFINER'; +DELETE : 'DELETE'; +DENY : 'DENY'; +DESC : 'DESC'; +DESCRIBE : 'DESCRIBE'; +DESCRIPTOR : 'DESCRIPTOR'; +DETERMINISTIC : 'DETERMINISTIC'; +DISTINCT : 'DISTINCT'; +DISTRIBUTED : 'DISTRIBUTED'; +DO : 'DO'; +DOUBLE : 'DOUBLE'; +DROP : 'DROP'; +ELSE : 'ELSE'; +EMPTY : 'EMPTY'; +ELSEIF : 'ELSEIF'; +ENCODING : 'ENCODING'; +END : 'END'; +ERROR : 'ERROR'; +ESCAPE : 'ESCAPE'; +EXCEPT : 'EXCEPT'; +EXCLUDING : 'EXCLUDING'; +EXECUTE : 'EXECUTE'; +EXISTS : 'EXISTS'; +EXPLAIN : 'EXPLAIN'; +EXTRACT : 'EXTRACT'; +FALSE : 'FALSE'; +FETCH : 'FETCH'; +FILTER : 'FILTER'; +FINAL : 'FINAL'; +FIRST : 'FIRST'; +FOLLOWING : 'FOLLOWING'; +FOR : 'FOR'; +FORMAT : 'FORMAT'; +FROM : 'FROM'; +FULL : 'FULL'; +FUNCTION : 'FUNCTION'; +FUNCTIONS : 'FUNCTIONS'; +GRACE : 'GRACE'; +GRANT : 'GRANT'; +GRANTED : 'GRANTED'; +GRANTS : 'GRANTS'; +GRAPHVIZ : 'GRAPHVIZ'; +GROUP : 'GROUP'; +GROUPING : 'GROUPING'; +GROUPS : 'GROUPS'; +HAVING : 'HAVING'; +HOUR : 'HOUR'; +IF : 'IF'; +IGNORE : 'IGNORE'; +IMMEDIATE : 'IMMEDIATE'; +IN : 'IN'; +INCLUDING : 'INCLUDING'; +INITIAL : 'INITIAL'; +INNER : 'INNER'; +INPUT : 'INPUT'; +INSERT : 'INSERT'; +INTERSECT : 'INTERSECT'; +INTERVAL : 'INTERVAL'; +INTO : 'INTO'; +INVOKER : 'INVOKER'; +IO : 'IO'; +IS : 'IS'; +ISOLATION : 'ISOLATION'; +ITERATE : 'ITERATE'; +JOIN : 'JOIN'; +JSON : 'JSON'; +JSON_ARRAY : 'JSON_ARRAY'; +JSON_EXISTS : 'JSON_EXISTS'; +JSON_OBJECT : 'JSON_OBJECT'; +JSON_QUERY : 'JSON_QUERY'; +JSON_TABLE : 'JSON_TABLE'; +JSON_VALUE : 'JSON_VALUE'; +KEEP : 'KEEP'; +KEY : 'KEY'; +KEYS : 'KEYS'; +LANGUAGE : 'LANGUAGE'; +LAST : 'LAST'; +LATERAL : 'LATERAL'; +LEADING : 'LEADING'; +LEAVE : 'LEAVE'; +LEFT : 'LEFT'; +LEVEL : 'LEVEL'; +LIKE : 'LIKE'; +LIMIT : 'LIMIT'; +LISTAGG : 'LISTAGG'; +LOCAL : 'LOCAL'; +LOCALTIME : 'LOCALTIME'; +LOCALTIMESTAMP : 'LOCALTIMESTAMP'; +LOGICAL : 'LOGICAL'; +LOOP : 'LOOP'; +MAP : 'MAP'; +MATCH : 'MATCH'; +MATCHED : 'MATCHED'; +MATCHES : 'MATCHES'; +MATCH_RECOGNIZE : 'MATCH_RECOGNIZE'; +MATERIALIZED : 'MATERIALIZED'; +MEASURES : 'MEASURES'; +MERGE : 'MERGE'; +MINUTE : 'MINUTE'; +MONTH : 'MONTH'; +NATURAL : 'NATURAL'; +NESTED : 'NESTED'; +NEXT : 'NEXT'; +NFC : 'NFC'; +NFD : 'NFD'; +NFKC : 'NFKC'; +NFKD : 'NFKD'; +NO : 'NO'; +NONE : 'NONE'; +NORMALIZE : 'NORMALIZE'; +NOT : 'NOT'; +NULL : 'NULL'; +NULLIF : 'NULLIF'; +NULLS : 'NULLS'; +OBJECT : 'OBJECT'; +OF : 'OF'; +OFFSET : 'OFFSET'; +OMIT : 'OMIT'; +ON : 'ON'; +ONE : 'ONE'; +ONLY : 'ONLY'; +OPTION : 'OPTION'; +OR : 'OR'; +ORDER : 'ORDER'; +ORDINALITY : 'ORDINALITY'; +OUTER : 'OUTER'; +OUTPUT : 'OUTPUT'; +OVER : 'OVER'; +OVERFLOW : 'OVERFLOW'; +PARTITION : 'PARTITION'; +PARTITIONS : 'PARTITIONS'; +PASSING : 'PASSING'; +PAST : 'PAST'; +PATH : 'PATH'; +PATTERN : 'PATTERN'; +PER : 'PER'; +PERIOD : 'PERIOD'; +PERMUTE : 'PERMUTE'; +PLAN : 'PLAN'; +POSITION : 'POSITION'; +PRECEDING : 'PRECEDING'; +PRECISION : 'PRECISION'; +PREPARE : 'PREPARE'; +PRIVILEGES : 'PRIVILEGES'; +PROPERTIES : 'PROPERTIES'; +PRUNE : 'PRUNE'; +QUOTES : 'QUOTES'; +RANGE : 'RANGE'; +READ : 'READ'; +RECURSIVE : 'RECURSIVE'; +REFRESH : 'REFRESH'; +RENAME : 'RENAME'; +REPEAT : 'REPEAT'; +REPEATABLE : 'REPEATABLE'; +REPLACE : 'REPLACE'; +RESET : 'RESET'; +RESPECT : 'RESPECT'; +RESTRICT : 'RESTRICT'; +RETURN : 'RETURN'; +RETURNING : 'RETURNING'; +RETURNS : 'RETURNS'; +REVOKE : 'REVOKE'; +RIGHT : 'RIGHT'; +ROLE : 'ROLE'; +ROLES : 'ROLES'; +ROLLBACK : 'ROLLBACK'; +ROLLUP : 'ROLLUP'; +ROW : 'ROW'; +ROWS : 'ROWS'; +RUNNING : 'RUNNING'; +SCALAR : 'SCALAR'; +SCHEMA : 'SCHEMA'; +SCHEMAS : 'SCHEMAS'; +SECOND : 'SECOND'; +SECURITY : 'SECURITY'; +SEEK : 'SEEK'; +SELECT : 'SELECT'; +SERIALIZABLE : 'SERIALIZABLE'; +SESSION : 'SESSION'; +SET : 'SET'; +SETS : 'SETS'; +SHOW : 'SHOW'; +SOME : 'SOME'; +START : 'START'; +STATS : 'STATS'; +SUBSET : 'SUBSET'; +SUBSTRING : 'SUBSTRING'; +SYSTEM : 'SYSTEM'; +TABLE : 'TABLE'; +TABLES : 'TABLES'; +TABLESAMPLE : 'TABLESAMPLE'; +TEXT : 'TEXT'; +TEXT_STRING : 'STRING'; +THEN : 'THEN'; +TIES : 'TIES'; +TIME : 'TIME'; +TIMESTAMP : 'TIMESTAMP'; +TO : 'TO'; +TRAILING : 'TRAILING'; +TRANSACTION : 'TRANSACTION'; +TRIM : 'TRIM'; +TRUE : 'TRUE'; +TRUNCATE : 'TRUNCATE'; +TRY_CAST : 'TRY_CAST'; +TYPE : 'TYPE'; +UESCAPE : 'UESCAPE'; +UNBOUNDED : 'UNBOUNDED'; +UNCOMMITTED : 'UNCOMMITTED'; +UNCONDITIONAL : 'UNCONDITIONAL'; +UNION : 'UNION'; +UNIQUE : 'UNIQUE'; +UNKNOWN : 'UNKNOWN'; +UNMATCHED : 'UNMATCHED'; +UNNEST : 'UNNEST'; +UNTIL : 'UNTIL'; +UPDATE : 'UPDATE'; +USE : 'USE'; +USER : 'USER'; +USING : 'USING'; +UTF16 : 'UTF16'; +UTF32 : 'UTF32'; +UTF8 : 'UTF8'; +VALIDATE : 'VALIDATE'; +VALUE : 'VALUE'; +VALUES : 'VALUES'; +VERBOSE : 'VERBOSE'; +VERSION : 'VERSION'; +VIEW : 'VIEW'; +WHEN : 'WHEN'; +WHERE : 'WHERE'; +WHILE : 'WHILE'; +WINDOW : 'WINDOW'; +WITH : 'WITH'; +WITHIN : 'WITHIN'; +WITHOUT : 'WITHOUT'; +WORK : 'WORK'; +WRAPPER : 'WRAPPER'; +WRITE : 'WRITE'; +YEAR : 'YEAR'; +ZONE : 'ZONE'; EQ : '='; NEQ : '<>' | '!='; @@ -1212,19 +1500,20 @@ SLASH : '/'; PERCENT : '%'; CONCAT : '||'; QUESTION_MARK : '?'; +SEMICOLON : ';'; STRING: '\'' ( ~'\'' | '\'\'')* '\''; UNICODE_STRING: 'U&\'' ( ~'\'' | '\'\'')* '\''; -// Note: we allow any character inside the binary literal and validate its a correct literal when -// the AST is being constructed. This allows us to provide more meaningful error messages to the -// user +// Note: we allow any character inside the binary literal and validate +// its a correct literal when the AST is being constructed. This +// allows us to provide more meaningful error messages to the user BINARY_LITERAL: 'X\'' (~'\'')* '\''; -INTEGER_VALUE: DIGIT+; +INTEGER_VALUE: DECIMAL_INTEGER | HEXADECIMAL_INTEGER | OCTAL_INTEGER | BINARY_INTEGER; -DECIMAL_VALUE: DIGIT+ '.' DIGIT* | '.' DIGIT+; +DECIMAL_VALUE: DECIMAL_INTEGER '.' DECIMAL_INTEGER? | '.' DECIMAL_INTEGER; DOUBLE_VALUE: DIGIT+ ('.' DIGIT*)? EXPONENT | '.' DIGIT+ EXPONENT; @@ -1234,8 +1523,15 @@ DIGIT_IDENTIFIER: DIGIT (LETTER | DIGIT | '_')+; QUOTED_IDENTIFIER: '"' ( ~'"' | '""')* '"'; -BACKQUOTED_IDENTIFIER : '`' ( ~'`' | '``')* '`'; -SEMICOLON : ';'; +BACKQUOTED_IDENTIFIER: '`' ( ~'`' | '``')* '`'; + +fragment DECIMAL_INTEGER: DIGIT ('_'? DIGIT)*; + +fragment HEXADECIMAL_INTEGER: '0X' ('_'? (DIGIT | [A-F]))+; + +fragment OCTAL_INTEGER: '0O' ('_'? [0-7])+; + +fragment BINARY_INTEGER: '0B' ('_'? [01])+; fragment EXPONENT: 'E' [+-]? DIGIT+; @@ -1249,6 +1545,7 @@ BRACKETED_COMMENT: '/*' .*? '*/' -> channel(HIDDEN); WS: [ \r\n\t]+ -> channel(HIDDEN); -// Catch-all for anything we can't recognize. We use this to be able to ignore and recover all the -// text when splitting statements with DelimiterLexer +// Catch-all for anything we can't recognize. +// We use this to be able to ignore and recover all the text +// when splitting statements with DelimiterLexer UNRECOGNIZED: .; \ No newline at end of file From 9efd486561482b1295ee89219c9cecbad55f8f2c Mon Sep 17 00:00:00 2001 From: Hayden Date: Tue, 25 Jun 2024 15:09:58 +0800 Subject: [PATCH 2/6] feat: prefix KW to keyword rule --- src/grammar/trino/TrinoSql.g4 | 1873 +++++++++++++++++---------------- 1 file changed, 950 insertions(+), 923 deletions(-) diff --git a/src/grammar/trino/TrinoSql.g4 b/src/grammar/trino/TrinoSql.g4 index 31042c75..13155259 100644 --- a/src/grammar/trino/TrinoSql.g4 +++ b/src/grammar/trino/TrinoSql.g4 @@ -15,9 +15,10 @@ /** * This file is an adaptation of trino's trino/core/trino-parser/src/main/antlr4/io/trino/sql/parser/SqlBase.g4 grammar. * Reference: https://github.com/trinodb/trino/blob/385/core/trino-parser/src/main/antlr4/io/trino/sql/parser/SqlBase.g4 + * current version 450 */ -// $antlr-format alignTrailingComments true, columnLimit 150, minEmptyLines 1, maxEmptyLinesToKeep 1, reflowComments false, useTab false +// $antlr-format alignTrailingComments true, columnLimit 160, minEmptyLines 1, maxEmptyLinesToKeep 1, reflowComments false, useTab false // $antlr-format allowShortRulesOnASingleLine false, allowShortBlocksOnASingleLine true, alignSemicolons hanging, alignColons hanging // $antlr-format spaceBeforeAssignmentOperators false, keepEmptyLinesAtTheStartOfBlocks true @@ -70,111 +71,128 @@ standaloneFunctionSpecification ; statement - : rootQuery # statementDefault - | USE schema=identifier # use - | USE catalog=identifier '.' schema=identifier # use - | CREATE CATALOG (IF NOT EXISTS)? catalog=identifier USING connectorName=identifier ( - COMMENT string - )? (AUTHORIZATION principal)? (WITH properties)? # createCatalog - | DROP CATALOG (IF EXISTS)? catalog=identifier (CASCADE | RESTRICT)? # dropCatalog - | CREATE SCHEMA (IF NOT EXISTS)? qualifiedName (AUTHORIZATION principal)? (WITH properties)? # createSchema - | DROP SCHEMA (IF EXISTS)? qualifiedName (CASCADE | RESTRICT)? # dropSchema - | ALTER SCHEMA qualifiedName RENAME TO identifier # renameSchema - | ALTER SCHEMA qualifiedName SET AUTHORIZATION principal # setSchemaAuthorization - | CREATE (OR REPLACE)? TABLE (IF NOT EXISTS)? qualifiedName columnAliases? (COMMENT string)? ( - WITH properties - )? AS (rootQuery | '(' rootQuery ')') (WITH (NO)? DATA)? # createTableAsSelect - | CREATE (OR REPLACE)? TABLE (IF NOT EXISTS)? qualifiedName '(' tableElement (',' tableElement)* ')' ( - COMMENT string - )? (WITH properties)? # createTable - | DROP TABLE (IF EXISTS)? qualifiedName # dropTable - | INSERT INTO qualifiedName columnAliases? rootQuery # insertInto - | DELETE FROM qualifiedName (WHERE booleanExpression)? # delete - | TRUNCATE TABLE qualifiedName # truncateTable - | COMMENT ON TABLE qualifiedName IS (string | NULL) # commentTable - | COMMENT ON VIEW qualifiedName IS (string | NULL) # commentView - | COMMENT ON COLUMN qualifiedName IS (string | NULL) # commentColumn - | ALTER TABLE (IF EXISTS)? from=qualifiedName RENAME TO to=qualifiedName # renameTable - | ALTER TABLE (IF EXISTS)? tableName=qualifiedName ADD COLUMN (IF NOT EXISTS)? column=columnDefinition # addColumn - | ALTER TABLE (IF EXISTS)? tableName=qualifiedName RENAME COLUMN (IF EXISTS)? from=qualifiedName TO to=identifier # renameColumn - | ALTER TABLE (IF EXISTS)? tableName=qualifiedName DROP COLUMN (IF EXISTS)? column=qualifiedName # dropColumn - | ALTER TABLE (IF EXISTS)? tableName=qualifiedName ALTER COLUMN columnName=qualifiedName SET DATA TYPE type # setColumnType - | ALTER TABLE (IF EXISTS)? tableName=qualifiedName ALTER COLUMN columnName=identifier DROP NOT NULL # dropNotNullConstraint - | ALTER TABLE tableName=qualifiedName SET AUTHORIZATION principal # setTableAuthorization - | ALTER TABLE tableName=qualifiedName SET PROPERTIES propertyAssignments # setTableProperties - | ALTER TABLE tableName=qualifiedName EXECUTE procedureName=identifier ( + : rootQuery # statementDefault + | KW_USE schema=identifier # use + | KW_USE catalog=identifier '.' schema=identifier # use + | KW_CREATE KW_CATALOG (KW_IF KW_NOT KW_EXISTS)? catalog=identifier KW_USING connectorName=identifier ( + KW_COMMENT string + )? (KW_AUTHORIZATION principal)? (KW_WITH properties)? # createCatalog + | KW_DROP KW_CATALOG (KW_IF KW_EXISTS)? catalog=identifier (KW_CASCADE | KW_RESTRICT)? # dropCatalog + | KW_CREATE KW_SCHEMA (KW_IF KW_NOT KW_EXISTS)? qualifiedName (KW_AUTHORIZATION principal)? ( + KW_WITH properties + )? # createSchema + | KW_DROP KW_SCHEMA (KW_IF KW_EXISTS)? qualifiedName (KW_CASCADE | KW_RESTRICT)? # dropSchema + | KW_ALTER KW_SCHEMA qualifiedName KW_RENAME KW_TO identifier # renameSchema + | KW_ALTER KW_SCHEMA qualifiedName KW_SET KW_AUTHORIZATION principal # setSchemaAuthorization + | KW_CREATE (KW_OR KW_REPLACE)? KW_TABLE (KW_IF KW_NOT KW_EXISTS)? qualifiedName columnAliases? ( + KW_COMMENT string + )? (KW_WITH properties)? KW_AS (rootQuery | '(' rootQuery ')') (KW_WITH (KW_NO)? KW_DATA)? # createTableAsSelect + | KW_CREATE (KW_OR KW_REPLACE)? KW_TABLE (KW_IF KW_NOT KW_EXISTS)? qualifiedName '(' tableElement ( + ',' tableElement + )* ')' (KW_COMMENT string)? (KW_WITH properties)? # createTable + | KW_DROP KW_TABLE (KW_IF KW_EXISTS)? qualifiedName # dropTable + | KW_INSERT KW_INTO qualifiedName columnAliases? rootQuery # insertInto + | KW_DELETE KW_FROM qualifiedName (KW_WHERE booleanExpression)? # delete + | KW_TRUNCATE KW_TABLE qualifiedName # truncateTable + | KW_COMMENT KW_ON KW_TABLE qualifiedName KW_IS (string | KW_NULL) # commentTable + | KW_COMMENT KW_ON KW_VIEW qualifiedName KW_IS (string | KW_NULL) # commentView + | KW_COMMENT KW_ON KW_COLUMN qualifiedName KW_IS (string | KW_NULL) # commentColumn + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? from=qualifiedName KW_RENAME KW_TO to=qualifiedName # renameTable + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=qualifiedName KW_ADD KW_COLUMN ( + KW_IF KW_NOT KW_EXISTS + )? column=columnDefinition # addColumn + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=qualifiedName KW_RENAME KW_COLUMN (KW_IF KW_EXISTS)? from=qualifiedName KW_TO to=identifier # renameColumn + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=qualifiedName KW_DROP KW_COLUMN (KW_IF KW_EXISTS)? column=qualifiedName # dropColumn + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=qualifiedName KW_ALTER KW_COLUMN columnRef=qualifiedName KW_SET KW_DATA KW_TYPE type # setColumnType + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=qualifiedName KW_ALTER KW_COLUMN columnRef=identifier KW_DROP KW_NOT KW_NULL # dropNotNullConstraint + | KW_ALTER KW_TABLE tableName=qualifiedName KW_SET KW_AUTHORIZATION principal # setTableAuthorization + | KW_ALTER KW_TABLE tableName=qualifiedName KW_SET KW_PROPERTIES propertyAssignments # setTableProperties + | KW_ALTER KW_TABLE tableName=qualifiedName KW_EXECUTE procedureName=identifier ( '(' (callArgument (',' callArgument)*)? ')' - )? (WHERE where=booleanExpression)? # tableExecute - | ANALYZE qualifiedName (WITH properties)? # analyze - | CREATE (OR REPLACE)? MATERIALIZED VIEW (IF NOT EXISTS)? qualifiedName (GRACE PERIOD interval)? ( - COMMENT string - )? (WITH properties)? AS rootQuery # createMaterializedView - | CREATE (OR REPLACE)? VIEW qualifiedName (COMMENT string)? (SECURITY (DEFINER | INVOKER))? ( - WITH properties - )? AS rootQuery # createView - | REFRESH MATERIALIZED VIEW qualifiedName # refreshMaterializedView - | DROP MATERIALIZED VIEW (IF EXISTS)? qualifiedName # dropMaterializedView - | ALTER MATERIALIZED VIEW (IF EXISTS)? from=qualifiedName RENAME TO to=qualifiedName # renameMaterializedView - | ALTER MATERIALIZED VIEW qualifiedName SET PROPERTIES propertyAssignments # setMaterializedViewProperties - | DROP VIEW (IF EXISTS)? qualifiedName # dropView - | ALTER VIEW from=qualifiedName RENAME TO to=qualifiedName # renameView - | ALTER VIEW from=qualifiedName SET AUTHORIZATION principal # setViewAuthorization - | CALL qualifiedName '(' (callArgument (',' callArgument)*)? ')' # call - | CREATE (OR REPLACE)? functionSpecification # createFunction - | DROP FUNCTION (IF EXISTS)? functionDeclaration # dropFunction - | CREATE ROLE name=identifier (WITH ADMIN grantor)? (IN catalog=identifier)? # createRole - | DROP ROLE name=identifier (IN catalog=identifier)? # dropRole - | GRANT privilegeOrRole (',' privilegeOrRole)* TO principal (',' principal)* ( - WITH ADMIN OPTION - )? (GRANTED BY grantor)? (IN catalog=identifier)? # grantRoles - | GRANT ((privilegeOrRole (',' privilegeOrRole)*) | ALL PRIVILEGES) ON grantObject TO principal ( - WITH GRANT OPTION + )? (KW_WHERE where=booleanExpression)? # tableExecute + | KW_ANALYZE qualifiedName (KW_WITH properties)? # analyze + | KW_CREATE (KW_OR KW_REPLACE)? KW_MATERIALIZED KW_VIEW (KW_IF KW_NOT KW_EXISTS)? qualifiedName ( + KW_GRACE KW_PERIOD interval + )? (KW_COMMENT string)? (KW_WITH properties)? KW_AS rootQuery # createMaterializedView + | KW_CREATE (KW_OR KW_REPLACE)? KW_VIEW qualifiedName (KW_COMMENT string)? ( + KW_SECURITY (KW_DEFINER | KW_INVOKER) + )? (KW_WITH properties)? KW_AS rootQuery # createView + | KW_REFRESH KW_MATERIALIZED KW_VIEW qualifiedName # refreshMaterializedView + | KW_DROP KW_MATERIALIZED KW_VIEW (KW_IF KW_EXISTS)? qualifiedName # dropMaterializedView + | KW_ALTER KW_MATERIALIZED KW_VIEW (KW_IF KW_EXISTS)? from=qualifiedName KW_RENAME KW_TO to=qualifiedName # renameMaterializedView + | KW_ALTER KW_MATERIALIZED KW_VIEW qualifiedName KW_SET KW_PROPERTIES propertyAssignments # setMaterializedViewProperties + | KW_DROP KW_VIEW (KW_IF KW_EXISTS)? qualifiedName # dropView + | KW_ALTER KW_VIEW from=qualifiedName KW_RENAME KW_TO to=qualifiedName # renameView + | KW_ALTER KW_VIEW from=qualifiedName KW_SET KW_AUTHORIZATION principal # setViewAuthorization + | KW_CALL qualifiedName '(' (callArgument (',' callArgument)*)? ')' # call + | KW_CREATE (KW_OR KW_REPLACE)? functionSpecification # createFunction + | KW_DROP KW_FUNCTION (KW_IF KW_EXISTS)? functionDeclaration # dropFunction + | KW_CREATE KW_ROLE name=identifier (KW_WITH KW_ADMIN grantor)? (KW_IN catalog=identifier)? # createRole + | KW_DROP KW_ROLE name=identifier (KW_IN catalog=identifier)? # dropRole + | KW_GRANT privilegeOrRole (',' privilegeOrRole)* KW_TO principal (',' principal)* ( + KW_WITH KW_ADMIN KW_OPTION + )? (KW_GRANTED KW_BY grantor)? (KW_IN catalog=identifier)? # grantRoles + | KW_GRANT ((privilegeOrRole (',' privilegeOrRole)*) | KW_ALL KW_PRIVILEGES) KW_ON grantObject KW_TO principal ( + KW_WITH KW_GRANT KW_OPTION )? # grantPrivileges - | REVOKE (ADMIN OPTION FOR)? privilegeOrRole (',' privilegeOrRole)* FROM principal ( + | KW_REVOKE (KW_ADMIN KW_OPTION KW_FOR)? privilegeOrRole (',' privilegeOrRole)* KW_FROM principal ( ',' principal - )* (GRANTED BY grantor)? (IN catalog=identifier)? # revokeRoles - | REVOKE (GRANT OPTION FOR)? ((privilegeOrRole (',' privilegeOrRole)*) | ALL PRIVILEGES) ON grantObject FROM grantee=principal # revokePrivileges - | DENY (privilege (',' privilege)* | ALL PRIVILEGES) ON grantObject TO grantee=principal # deny - | SET ROLE (ALL | NONE | role=identifier) (IN catalog=identifier)? # setRole - | SHOW GRANTS (ON grantObject)? # showGrants - | EXPLAIN ('(' explainOption (',' explainOption)* ')')? statement # explain - | EXPLAIN ANALYZE VERBOSE? statement # explainAnalyze - | SHOW CREATE TABLE qualifiedName # showCreateTable - | SHOW CREATE SCHEMA qualifiedName # showCreateSchema - | SHOW CREATE VIEW qualifiedName # showCreateView - | SHOW CREATE MATERIALIZED VIEW qualifiedName # showCreateMaterializedView - | SHOW CREATE FUNCTION qualifiedName # showCreateFunction - | SHOW TABLES ((FROM | IN) qualifiedName)? (LIKE pattern=string (ESCAPE escape=string)?)? # showTables - | SHOW SCHEMAS ((FROM | IN) identifier)? (LIKE pattern=string (ESCAPE escape=string)?)? # showSchemas - | SHOW CATALOGS (LIKE pattern=string (ESCAPE escape=string)?)? # showCatalogs - | SHOW COLUMNS (FROM | IN) qualifiedName (LIKE pattern=string (ESCAPE escape=string)?)? # showColumns - | SHOW STATS FOR qualifiedName # showStats - | SHOW STATS FOR '(' rootQuery ')' # showStatsForQuery - | SHOW CURRENT? ROLES ((FROM | IN) identifier)? # showRoles - | SHOW ROLE GRANTS ((FROM | IN) identifier)? # showRoleGrants - | DESCRIBE qualifiedName # showColumns - | DESC qualifiedName # showColumns - | SHOW FUNCTIONS ((FROM | IN) qualifiedName)? (LIKE pattern=string (ESCAPE escape=string)?)? # showFunctions - | SHOW SESSION (LIKE pattern=string (ESCAPE escape=string)?)? # showSession - | SET SESSION AUTHORIZATION authorizationUser # setSessionAuthorization - | RESET SESSION AUTHORIZATION # resetSessionAuthorization - | SET SESSION qualifiedName EQ expression # setSession - | RESET SESSION qualifiedName # resetSession - | START TRANSACTION (transactionMode (',' transactionMode)*)? # startTransaction - | COMMIT WORK? # commit - | ROLLBACK WORK? # rollback - | PREPARE identifier FROM statement # prepare - | DEALLOCATE PREPARE identifier # deallocate - | EXECUTE identifier (USING expression (',' expression)*)? # execute - | EXECUTE IMMEDIATE string (USING expression (',' expression)*)? # executeImmediate - | DESCRIBE INPUT identifier # describeInput - | DESCRIBE OUTPUT identifier # describeOutput - | SET PATH pathSpecification # setPath - | SET TIME ZONE (LOCAL | expression) # setTimeZone - | UPDATE qualifiedName SET updateAssignment (',' updateAssignment)* ( - WHERE where=booleanExpression - )? # update - | MERGE INTO qualifiedName (AS? identifier)? USING relation ON expression mergeCase+ # merge + )* (KW_GRANTED KW_BY grantor)? (KW_IN catalog=identifier)? # revokeRoles + | KW_REVOKE (KW_GRANT KW_OPTION KW_FOR)? ( + (privilegeOrRole (',' privilegeOrRole)*) + | KW_ALL KW_PRIVILEGES + ) KW_ON grantObject KW_FROM grantee=principal # revokePrivileges + | KW_DENY (privilege (',' privilege)* | KW_ALL KW_PRIVILEGES) KW_ON grantObject KW_TO grantee=principal # deny + | KW_SET KW_ROLE (KW_ALL | KW_NONE | role=identifier) (KW_IN catalog=identifier)? # setRole + | KW_SHOW KW_GRANTS (KW_ON grantObject)? # showGrants + | KW_EXPLAIN ('(' explainOption (',' explainOption)* ')')? statement # explain + | KW_EXPLAIN KW_ANALYZE KW_VERBOSE? statement # explainAnalyze + | KW_SHOW KW_CREATE KW_TABLE qualifiedName # showCreateTable + | KW_SHOW KW_CREATE KW_SCHEMA qualifiedName # showCreateSchema + | KW_SHOW KW_CREATE KW_VIEW qualifiedName # showCreateView + | KW_SHOW KW_CREATE KW_MATERIALIZED KW_VIEW qualifiedName # showCreateMaterializedView + | KW_SHOW KW_CREATE KW_FUNCTION qualifiedName # showCreateFunction + | KW_SHOW KW_TABLES ((KW_FROM | KW_IN) qualifiedName)? ( + KW_LIKE pattern=string (KW_ESCAPE escape=string)? + )? # showTables + | KW_SHOW KW_SCHEMAS ((KW_FROM | KW_IN) identifier)? ( + KW_LIKE pattern=string (KW_ESCAPE escape=string)? + )? # showSchemas + | KW_SHOW KW_CATALOGS (KW_LIKE pattern=string (KW_ESCAPE escape=string)?)? # showCatalogs + | KW_SHOW KW_COLUMNS (KW_FROM | KW_IN) qualifiedName ( + KW_LIKE pattern=string (KW_ESCAPE escape=string)? + )? # showColumns + | KW_SHOW KW_STATS KW_FOR qualifiedName # showStats + | KW_SHOW KW_STATS KW_FOR '(' rootQuery ')' # showStatsForQuery + | KW_SHOW KW_CURRENT? KW_ROLES ((KW_FROM | KW_IN) identifier)? # showRoles + | KW_SHOW KW_ROLE KW_GRANTS ((KW_FROM | KW_IN) identifier)? # showRoleGrants + | KW_DESCRIBE qualifiedName # showColumns + | KW_DESC qualifiedName # showColumns + | KW_SHOW KW_FUNCTIONS ((KW_FROM | KW_IN) qualifiedName)? ( + KW_LIKE pattern=string (KW_ESCAPE escape=string)? + )? # showFunctions + | KW_SHOW KW_SESSION (KW_LIKE pattern=string (KW_ESCAPE escape=string)?)? # showSession + | KW_SET KW_SESSION KW_AUTHORIZATION authorizationUser # setSessionAuthorization + | KW_RESET KW_SESSION KW_AUTHORIZATION # resetSessionAuthorization + | KW_SET KW_SESSION qualifiedName EQ expression # setSession + | KW_RESET KW_SESSION qualifiedName # resetSession + | KW_START KW_TRANSACTION (transactionMode (',' transactionMode)*)? # startTransaction + | KW_COMMIT KW_WORK? # commit + | KW_ROLLBACK KW_WORK? # rollback + | KW_PREPARE identifier KW_FROM statement # prepare + | KW_DEALLOCATE KW_PREPARE identifier # deallocate + | KW_EXECUTE identifier (KW_USING expression (',' expression)*)? # execute + | KW_EXECUTE KW_IMMEDIATE string (KW_USING expression (',' expression)*)? # executeImmediate + | KW_DESCRIBE KW_INPUT identifier # describeInput + | KW_DESCRIBE KW_OUTPUT identifier # describeOutput + | KW_SET KW_PATH pathSpecification # setPath + | KW_SET KW_TIME KW_ZONE ( KW_LOCAL | expression) # setTimeZone + | KW_UPDATE qualifiedName KW_SET updateAssignment (',' updateAssignment)* ( + KW_WHERE where=booleanExpression + )? # update + | KW_MERGE KW_INTO qualifiedName (KW_AS? identifier)? KW_USING relation KW_ON expression mergeCase+ # merge + | KW_SHOW KW_COMMENT KW_ON KW_TABLE qualifiedName # showTableComment // dtstack + | KW_SHOW KW_COMMENT KW_ON KW_COLUMN qualifiedName # showColumnComment // dtstack ; rootQuery @@ -182,7 +200,7 @@ rootQuery ; withFunction - : WITH functionSpecification (',' functionSpecification)* + : KW_WITH functionSpecification (',' functionSpecification)* ; query @@ -190,7 +208,7 @@ query ; with - : WITH RECURSIVE? namedQuery (',' namedQuery)* + : KW_WITH KW_RECURSIVE? namedQuery (',' namedQuery)* ; tableElement @@ -199,11 +217,11 @@ tableElement ; columnDefinition - : qualifiedName type (NOT NULL)? (COMMENT string)? (WITH properties)? + : qualifiedName type (KW_NOT KW_NULL)? (KW_COMMENT string)? (KW_WITH properties)? ; likeClause - : LIKE qualifiedName (optionType=(INCLUDING | EXCLUDING) PROPERTIES)? + : KW_LIKE qualifiedName (optionType=( KW_INCLUDING | KW_EXCLUDING) KW_PROPERTIES)? ; properties @@ -219,19 +237,26 @@ property ; propertyValue - : DEFAULT # defaultPropertyValue + : KW_DEFAULT # defaultPropertyValue | expression # nonDefaultPropertyValue ; queryNoWith - : queryTerm (ORDER BY sortItem (',' sortItem)*)? (OFFSET offset=rowCount (ROW | ROWS)?)? ( - (LIMIT limit=limitRowCount) - | (FETCH (FIRST | NEXT) (fetchFirst=rowCount)? (ROW | ROWS) (ONLY | WITH TIES)) + : queryTerm (KW_ORDER KW_BY sortItem (',' sortItem)*)? ( + KW_OFFSET offset=rowCount (KW_ROW | KW_ROWS)? + )? ( + (KW_LIMIT limit=limitRowCount) + | ( + KW_FETCH (KW_FIRST | KW_NEXT) (fetchFirst=rowCount)? (KW_ROW | KW_ROWS) ( + KW_ONLY + | KW_WITH KW_TIES + ) + ) )? ; limitRowCount - : ALL + : KW_ALL | rowCount ; @@ -241,27 +266,27 @@ rowCount ; queryTerm - : queryPrimary # queryTermDefault - | left=queryTerm operator=INTERSECT setQuantifier? right=queryTerm # setOperation - | left=queryTerm operator=(UNION | EXCEPT) setQuantifier? right=queryTerm # setOperation + : queryPrimary # queryTermDefault + | left=queryTerm operator=KW_INTERSECT setQuantifier? right=queryTerm # setOperation + | left=queryTerm operator=(KW_UNION | KW_EXCEPT) setQuantifier? right=queryTerm # setOperation ; queryPrimary - : querySpecification # queryPrimaryDefault - | TABLE qualifiedName # table - | VALUES expression (',' expression)* # inlineTable - | '(' queryNoWith ')' # subquery + : querySpecification # queryPrimaryDefault + | KW_TABLE qualifiedName # table + | KW_VALUES expression (',' expression)* # inlineTable + | '(' queryNoWith ')' # subquery ; sortItem - : expression ordering=(ASC | DESC)? (NULLS nullOrdering=(FIRST | LAST))? + : expression ordering=(KW_ASC | KW_DESC)? (KW_NULLS nullOrdering=(KW_FIRST | KW_LAST))? ; querySpecification - : SELECT setQuantifier? selectItem (',' selectItem)* (FROM relation (',' relation)*)? ( - WHERE where=booleanExpression - )? (GROUP BY groupBy)? (HAVING having=booleanExpression)? ( - WINDOW windowDefinition (',' windowDefinition)* + : KW_SELECT setQuantifier? selectItem (',' selectItem)* (KW_FROM relation (',' relation)*)? ( + KW_WHERE where=booleanExpression + )? (KW_GROUP KW_BY groupBy)? (KW_HAVING having=booleanExpression)? ( + KW_WINDOW windowDefinition (',' windowDefinition)* )? ; @@ -270,10 +295,10 @@ groupBy ; groupingElement - : groupingSet # singleGroupingSet - | ROLLUP '(' (groupingSet (',' groupingSet)*)? ')' # rollup - | CUBE '(' (groupingSet (',' groupingSet)*)? ')' # cube - | GROUPING SETS '(' groupingSet (',' groupingSet)* ')' # multipleGroupingSets + : groupingSet # singleGroupingSet + | KW_ROLLUP '(' (groupingSet (',' groupingSet)*)? ')' # rollup + | KW_CUBE '(' (groupingSet (',' groupingSet)*)? ')' # cube + | KW_GROUPING KW_SETS '(' groupingSet (',' groupingSet)* ')' # multipleGroupingSets ; groupingSet @@ -282,109 +307,109 @@ groupingSet ; windowDefinition - : name=identifier AS '(' windowSpecification ')' + : name=identifier KW_AS '(' windowSpecification ')' ; windowSpecification : (existingWindowName=identifier)? ( - PARTITION BY partition+=expression (',' partition+=expression)* - )? (ORDER BY sortItem (',' sortItem)*)? windowFrame? + KW_PARTITION KW_BY partition+=expression (',' partition+=expression)* + )? (KW_ORDER KW_BY sortItem (',' sortItem)*)? windowFrame? ; namedQuery - : name=identifier (columnAliases)? AS '(' query ')' + : name=identifier (columnAliases)? KW_AS '(' query ')' ; setQuantifier - : DISTINCT - | ALL + : KW_DISTINCT + | KW_ALL ; selectItem - : expression (AS? identifier)? # selectSingle - | primaryExpression '.' ASTERISK (AS columnAliases)? # selectAll - | ASTERISK # selectAll + : expression (KW_AS? identifier)? # selectSingle + | primaryExpression '.' ASTERISK (KW_AS columnAliases)? # selectAll + | ASTERISK # selectAll ; relation : left=relation ( - CROSS JOIN right=sampledRelation - | joinType JOIN rightRelation=relation joinCriteria - | NATURAL joinType JOIN right=sampledRelation + KW_CROSS KW_JOIN right=sampledRelation + | joinType KW_JOIN rightRelation=relation joinCriteria + | KW_NATURAL joinType KW_JOIN right=sampledRelation ) # joinRelation | sampledRelation # relationDefault ; joinType - : INNER? - | LEFT OUTER? - | RIGHT OUTER? - | FULL OUTER? + : KW_INNER? + | KW_LEFT KW_OUTER? + | KW_RIGHT KW_OUTER? + | KW_FULL KW_OUTER? ; joinCriteria - : ON booleanExpression - | USING '(' identifier (',' identifier)* ')' + : KW_ON booleanExpression + | KW_USING '(' identifier (',' identifier)* ')' ; sampledRelation - : patternRecognition (TABLESAMPLE sampleType '(' percentage=expression ')')? + : patternRecognition (KW_TABLESAMPLE sampleType '(' percentage=expression ')')? ; sampleType - : BERNOULLI - | SYSTEM + : KW_BERNOULLI + | KW_SYSTEM ; trimsSpecification - : LEADING - | TRAILING - | BOTH + : KW_LEADING + | KW_TRAILING + | KW_BOTH ; listAggOverflowBehavior - : ERROR - | TRUNCATE string? listaggCountIndication + : KW_ERROR + | KW_TRUNCATE string? listaggCountIndication ; listaggCountIndication - : WITH COUNT - | WITHOUT COUNT + : KW_WITH KW_COUNT + | KW_WITHOUT KW_COUNT ; patternRecognition : aliasedRelation ( - MATCH_RECOGNIZE '(' (PARTITION BY partition+=expression (',' partition+=expression)*)? ( - ORDER BY sortItem (',' sortItem)* - )? (MEASURES measureDefinition (',' measureDefinition)*)? rowsPerMatch? ( - AFTER MATCH skipTo - )? (INITIAL | SEEK)? PATTERN '(' rowPattern ')' ( - SUBSET subsetDefinition (',' subsetDefinition)* - )? DEFINE variableDefinition (',' variableDefinition)* ')' (AS? identifier columnAliases?)? + KW_MATCH_RECOGNIZE '(' ( + KW_PARTITION KW_BY partition+=expression (',' partition+=expression)* + )? (KW_ORDER KW_BY sortItem (',' sortItem)*)? ( + KW_MEASURES measureDefinition (',' measureDefinition)* + )? rowsPerMatch? (KW_AFTER KW_MATCH skipTo)? (KW_INITIAL | KW_SEEK)? KW_PATTERN '(' rowPattern ')' ( + KW_SUBSET subsetDefinition (',' subsetDefinition)* + )? KW_DEFINE variableDefinition (',' variableDefinition)* ')' (KW_AS? identifier columnAliases?)? )? ; measureDefinition - : expression AS identifier + : expression KW_AS identifier ; rowsPerMatch - : ONE ROW PER MATCH - | ALL ROWS PER MATCH emptyMatchHandling? + : KW_ONE KW_ROW KW_PER KW_MATCH + | KW_ALL KW_ROWS KW_PER KW_MATCH emptyMatchHandling? ; emptyMatchHandling - : SHOW EMPTY MATCHES - | OMIT EMPTY MATCHES - | WITH UNMATCHED ROWS + : KW_SHOW KW_EMPTY KW_MATCHES + | KW_OMIT KW_EMPTY KW_MATCHES + | KW_WITH KW_UNMATCHED KW_ROWS ; skipTo - : 'SKIP' TO NEXT ROW - | 'SKIP' PAST LAST ROW - | 'SKIP' TO FIRST identifier - | 'SKIP' TO LAST identifier - | 'SKIP' TO identifier + : 'SKIP' KW_TO KW_NEXT KW_ROW + | 'SKIP' KW_PAST KW_LAST KW_ROW + | 'SKIP' KW_TO KW_FIRST identifier + | 'SKIP' KW_TO KW_LAST identifier + | 'SKIP' KW_TO identifier ; subsetDefinition @@ -392,11 +417,11 @@ subsetDefinition ; variableDefinition - : identifier AS expression + : identifier KW_AS expression ; aliasedRelation - : relationPrimary (AS? identifier columnAliases?)? + : relationPrimary (KW_AS? identifier columnAliases?)? ; columnAliases @@ -404,34 +429,36 @@ columnAliases ; relationPrimary - : qualifiedName queryPeriod? # tableName - | '(' query ')' # subqueryRelation - | UNNEST '(' expression (',' expression)* ')' (WITH ORDINALITY)? # unnest - | LATERAL '(' query ')' # lateral - | TABLE '(' tableFunctionCall ')' # tableFunctionInvocation - | '(' relation ')' # parenthesizedRelation - | JSON_TABLE '(' jsonPathInvocation COLUMNS '(' jsonTableColumn (',' jsonTableColumn)* ')' ( - PLAN '(' jsonTableSpecificPlan ')' - | PLAN DEFAULT '(' jsonTableDefaultPlan ')' - )? ((ERROR | EMPTY) ON ERROR)? ')' # jsonTable + : qualifiedName queryPeriod? # tableName + | '(' query ')' # subqueryRelation + | KW_UNNEST '(' expression (',' expression)* ')' (KW_WITH KW_ORDINALITY)? # unnest + | KW_LATERAL '(' query ')' # lateral + | KW_TABLE '(' tableFunctionCall ')' # tableFunctionInvocation + | '(' relation ')' # parenthesizedRelation + | KW_JSON_TABLE '(' jsonPathInvocation KW_COLUMNS '(' jsonTableColumn (',' jsonTableColumn)* ')' ( + KW_PLAN '(' jsonTableSpecificPlan ')' + | KW_PLAN KW_DEFAULT '(' jsonTableDefaultPlan ')' + )? ((KW_ERROR | KW_EMPTY) KW_ON KW_ERROR)? ')' # jsonTable ; jsonTableColumn - : identifier FOR ORDINALITY # ordinalityColumn - | identifier type (PATH string)? (emptyBehavior=jsonValueBehavior ON EMPTY)? ( - errorBehavior=jsonValueBehavior ON ERROR + : identifier KW_FOR KW_ORDINALITY # ordinalityColumn + | identifier type (KW_PATH string)? (emptyBehavior=jsonValueBehavior KW_ON KW_EMPTY)? ( + errorBehavior=jsonValueBehavior KW_ON KW_ERROR )? # valueColumn - | identifier type FORMAT jsonRepresentation (PATH string)? (jsonQueryWrapperBehavior WRAPPER)? ( - (KEEP | OMIT) QUOTES (ON SCALAR TEXT_STRING)? - )? (emptyBehavior=jsonQueryBehavior ON EMPTY)? (errorBehavior=jsonQueryBehavior ON ERROR)? # queryColumn - | NESTED PATH? string (AS identifier)? COLUMNS '(' jsonTableColumn (',' jsonTableColumn)* ')' # nestedColumns + | identifier type KW_FORMAT jsonRepresentation (KW_PATH string)? ( + jsonQueryWrapperBehavior KW_WRAPPER + )? ((KW_KEEP | KW_OMIT) KW_QUOTES (KW_ON KW_SCALAR KW_TEXT_STRING)?)? ( + emptyBehavior=jsonQueryBehavior KW_ON KW_EMPTY + )? (errorBehavior=jsonQueryBehavior KW_ON KW_ERROR)? # queryColumn + | KW_NESTED KW_PATH? string (KW_AS identifier)? KW_COLUMNS '(' jsonTableColumn (',' jsonTableColumn)* ')' # nestedColumns ; jsonTableSpecificPlan - : jsonTablePathName # leafPlan - | jsonTablePathName (OUTER | INNER) planPrimary # joinPlan - | planPrimary UNION planPrimary (UNION planPrimary)* # unionPlan - | planPrimary CROSS planPrimary (CROSS planPrimary)* # crossPlan + : jsonTablePathName # leafPlan + | jsonTablePathName (KW_OUTER | KW_INNER) planPrimary # joinPlan + | planPrimary KW_UNION planPrimary (KW_UNION planPrimary)* # unionPlan + | planPrimary KW_CROSS planPrimary (KW_CROSS planPrimary)* # crossPlan ; jsonTablePathName @@ -444,13 +471,13 @@ planPrimary ; jsonTableDefaultPlan - : (OUTER | INNER) (',' (UNION | CROSS))? - | (UNION | CROSS) (',' (OUTER | INNER))? + : (KW_OUTER | KW_INNER) (',' (KW_UNION | KW_CROSS))? + | (KW_UNION | KW_CROSS) (',' (KW_OUTER | KW_INNER))? ; tableFunctionCall : qualifiedName '(' (tableFunctionArgument (',' tableFunctionArgument)*)? ( - COPARTITION copartitionTables (',' copartitionTables)* + KW_COPARTITION copartitionTables (',' copartitionTables)* )? ')' ; @@ -463,20 +490,20 @@ tableFunctionArgument ; tableArgument - : tableArgumentRelation (PARTITION BY ('(' (expression (',' expression)*)? ')' | expression))? ( - PRUNE WHEN EMPTY - | KEEP WHEN EMPTY - )? (ORDER BY ('(' sortItem (',' sortItem)* ')' | sortItem))? + : tableArgumentRelation (KW_PARTITION KW_BY ('(' (expression (',' expression)*)? ')' | expression))? ( + KW_PRUNE KW_WHEN KW_EMPTY + | KW_KEEP KW_WHEN KW_EMPTY + )? (KW_ORDER KW_BY ('(' sortItem (',' sortItem)* ')' | sortItem))? ; tableArgumentRelation - : TABLE '(' qualifiedName ')' (AS? identifier columnAliases?)? # tableArgumentTable - | TABLE '(' query ')' (AS? identifier columnAliases?)? # tableArgumentQuery + : KW_TABLE '(' qualifiedName ')' (KW_AS? identifier columnAliases?)? # tableArgumentTable + | KW_TABLE '(' query ')' (KW_AS? identifier columnAliases?)? # tableArgumentQuery ; descriptorArgument - : DESCRIPTOR '(' descriptorField (',' descriptorField)* ')' - | CAST '(' NULL AS DESCRIPTOR ')' + : KW_DESCRIPTOR '(' descriptorField (',' descriptorField)* ')' + | KW_CAST '(' KW_NULL KW_AS KW_DESCRIPTOR ')' ; descriptorField @@ -493,26 +520,26 @@ expression booleanExpression : valueExpression predicate[$valueExpression.ctx]? # predicated - | NOT booleanExpression # logicalNot - | booleanExpression AND booleanExpression # and - | booleanExpression OR booleanExpression # or + | KW_NOT booleanExpression # logicalNot + | booleanExpression KW_AND booleanExpression # and + | booleanExpression KW_OR booleanExpression # or ; // workaround for https://github.com/antlr/antlr4/issues/780 predicate[ParserRuleContext value] - : comparisonOperator right=valueExpression # comparison - | comparisonOperator comparisonQuantifier '(' query ')' # quantifiedComparison - | NOT? BETWEEN lower=valueExpression AND upper=valueExpression # between - | NOT? IN '(' expression (',' expression)* ')' # inList - | NOT? IN '(' query ')' # inSubquery - | NOT? LIKE pattern=valueExpression (ESCAPE escape=valueExpression)? # like - | IS NOT? NULL # nullPredicate - | IS NOT? DISTINCT FROM right=valueExpression # distinctFrom + : comparisonOperator right=valueExpression # comparison + | comparisonOperator comparisonQuantifier '(' query ')' # quantifiedComparison + | KW_NOT? KW_BETWEEN lower=valueExpression KW_AND upper=valueExpression # between + | KW_NOT? KW_IN '(' expression (',' expression)* ')' # inList + | KW_NOT? KW_IN '(' query ')' # inSubquery + | KW_NOT? KW_LIKE pattern=valueExpression (KW_ESCAPE escape=valueExpression)? # like + | KW_IS KW_NOT? KW_NULL # nullPredicate + | KW_IS KW_NOT? KW_DISTINCT KW_FROM right=valueExpression # distinctFrom ; valueExpression : primaryExpression # valueExpressionDefault - | valueExpression AT timeZoneSpecifier # atTimeZone + | valueExpression KW_AT timeZoneSpecifier # atTimeZone | operator=(MINUS | PLUS) valueExpression # arithmeticUnary | left=valueExpression operator=(ASTERISK | SLASH | PERCENT) right=valueExpression # arithmeticBinary | left=valueExpression operator=(PLUS | MINUS) right=valueExpression # arithmeticBinary @@ -520,141 +547,141 @@ valueExpression ; primaryExpression - : NULL # nullLiteral - | interval # intervalLiteral - | identifier string # typeConstructor - | DOUBLE PRECISION string # typeConstructor - | number # numericLiteral - | booleanValue # booleanLiteral - | string # stringLiteral - | BINARY_LITERAL # binaryLiteral - | QUESTION_MARK # parameter - | POSITION '(' valueExpression IN valueExpression ')' # position - | '(' expression (',' expression)+ ')' # rowConstructor - | ROW '(' expression (',' expression)* ')' # rowConstructor - | name=LISTAGG '(' setQuantifier? expression (',' string)? ( - ON OVERFLOW listAggOverflowBehavior - )? ')' (WITHIN GROUP '(' ORDER BY sortItem (',' sortItem)* ')') filter? # listagg + : KW_NULL # nullLiteral + | interval # intervalLiteral + | identifier string # typeConstructor + | KW_DOUBLE KW_PRECISION string # typeConstructor + | number # numericLiteral + | booleanValue # booleanLiteral + | string # stringLiteral + | BINARY_LITERAL # binaryLiteral + | QUESTION_MARK # parameter + | KW_POSITION '(' valueExpression KW_IN valueExpression ')' # position + | '(' expression (',' expression)+ ')' # rowConstructor + | KW_ROW '(' expression (',' expression)* ')' # rowConstructor + | name=KW_LISTAGG '(' setQuantifier? expression (',' string)? ( + KW_ON KW_OVERFLOW listAggOverflowBehavior + )? ')' (KW_WITHIN KW_GROUP '(' KW_ORDER KW_BY sortItem (',' sortItem)* ')') filter? # listagg | processingMode? qualifiedName '(' (label=identifier '.')? ASTERISK ')' filter? over? # functionCall | processingMode? qualifiedName '(' (setQuantifier? expression (',' expression)*)? ( - ORDER BY sortItem (',' sortItem)* + KW_ORDER KW_BY sortItem (',' sortItem)* )? ')' filter? (nullTreatment? over)? # functionCall | identifier over # measure | identifier '->' expression # lambda | '(' (identifier (',' identifier)*)? ')' '->' expression # lambda | '(' query ')' # subqueryExpression - // This is an extension to ANSI SQL, which considers EXISTS to be a - | EXISTS '(' query ')' # exists - | CASE operand=expression whenClause+ (ELSE elseExpression=expression)? END # simpleCase - | CASE whenClause+ (ELSE elseExpression=expression)? END # searchedCase - | CAST '(' expression AS type ')' # cast - | TRY_CAST '(' expression AS type ')' # cast - | ARRAY '[' (expression (',' expression)*)? ']' # arrayConstructor - | value=primaryExpression '[' index=valueExpression ']' # subscript - | identifier # columnReference - | base=primaryExpression '.' fieldName=identifier # dereference - | name=CURRENT_DATE # currentDate - | name=CURRENT_TIME ('(' precision=INTEGER_VALUE ')')? # currentTime - | name=CURRENT_TIMESTAMP ('(' precision=INTEGER_VALUE ')')? # currentTimestamp - | name=LOCALTIME ('(' precision=INTEGER_VALUE ')')? # localTime - | name=LOCALTIMESTAMP ('(' precision=INTEGER_VALUE ')')? # localTimestamp - | name=CURRENT_USER # currentUser - | name=CURRENT_CATALOG # currentCatalog - | name=CURRENT_SCHEMA # currentSchema - | name=CURRENT_PATH # currentPath - | TRIM '(' (trimsSpecification? trimChar=valueExpression? FROM)? trimSource=valueExpression ')' # trim - | TRIM '(' trimSource=valueExpression ',' trimChar=valueExpression ')' # trim - | SUBSTRING '(' valueExpression FROM valueExpression (FOR valueExpression)? ')' # substring - | NORMALIZE '(' valueExpression (',' normalForm)? ')' # normalize - | EXTRACT '(' identifier FROM valueExpression ')' # extract - | '(' expression ')' # parenthesizedExpression - | GROUPING '(' (qualifiedName (',' qualifiedName)*)? ')' # groupingOperation - | JSON_EXISTS '(' jsonPathInvocation (jsonExistsErrorBehavior ON ERROR)? ')' # jsonExists - | JSON_VALUE '(' jsonPathInvocation (RETURNING type)? ( - emptyBehavior=jsonValueBehavior ON EMPTY - )? (errorBehavior=jsonValueBehavior ON ERROR)? ')' # jsonValue - | JSON_QUERY '(' jsonPathInvocation (RETURNING type (FORMAT jsonRepresentation)?)? ( - jsonQueryWrapperBehavior WRAPPER - )? ((KEEP | OMIT) QUOTES (ON SCALAR TEXT_STRING)?)? ( - emptyBehavior=jsonQueryBehavior ON EMPTY - )? (errorBehavior=jsonQueryBehavior ON ERROR)? ')' # jsonQuery - | JSON_OBJECT '(' ( - jsonObjectMember (',' jsonObjectMember)* (NULL ON NULL | ABSENT ON NULL)? ( - WITH UNIQUE KEYS? - | WITHOUT UNIQUE KEYS? + // This is an extension to ANSI SQL, which considers KW_EXISTS to be a + | KW_EXISTS '(' query ')' # exists + | KW_CASE operand=expression whenClause+ (KW_ELSE elseExpression=expression)? KW_END # simpleCase + | KW_CASE whenClause+ (KW_ELSE elseExpression=expression)? KW_END # searchedCase + | KW_CAST '(' expression KW_AS type ')' # cast + | KW_TRY_CAST '(' expression KW_AS type ')' # cast + | KW_ARRAY '[' (expression (',' expression)*)? ']' # arrayConstructor + | value=primaryExpression '[' index=valueExpression ']' # subscript + | identifier # columnReference + | base=primaryExpression '.' fieldName=identifier # dereference + | name=KW_CURRENT_DATE # currentDate + | name=KW_CURRENT_TIME ('(' precision=INTEGER_VALUE ')')? # currentTime + | name=KW_CURRENT_TIMESTAMP ('(' precision=INTEGER_VALUE ')')? # currentTimestamp + | name=KW_LOCALTIME ('(' precision=INTEGER_VALUE ')')? # localTime + | name=KW_LOCALTIMESTAMP ('(' precision=INTEGER_VALUE ')')? # localTimestamp + | name=KW_CURRENT_USER # currentUser + | name=KW_CURRENT_CATALOG # currentCatalog + | name=KW_CURRENT_SCHEMA # currentSchema + | name=KW_CURRENT_PATH # currentPath + | KW_TRIM '(' (trimsSpecification? trimChar=valueExpression? KW_FROM)? trimSource=valueExpression ')' # trim + | KW_TRIM '(' trimSource=valueExpression ',' trimChar=valueExpression ')' # trim + | KW_SUBSTRING '(' valueExpression KW_FROM valueExpression (KW_FOR valueExpression)? ')' # substring + | KW_NORMALIZE '(' valueExpression (',' normalForm)? ')' # normalize + | KW_EXTRACT '(' identifier KW_FROM valueExpression ')' # extract + | '(' expression ')' # parenthesizedExpression + | KW_GROUPING '(' (qualifiedName (',' qualifiedName)*)? ')' # groupingOperation + | KW_JSON_EXISTS '(' jsonPathInvocation (jsonExistsErrorBehavior KW_ON KW_ERROR)? ')' # jsonExists + | KW_JSON_VALUE '(' jsonPathInvocation (KW_RETURNING type)? ( + emptyBehavior=jsonValueBehavior KW_ON KW_EMPTY + )? (errorBehavior=jsonValueBehavior KW_ON KW_ERROR)? ')' # jsonValue + | KW_JSON_QUERY '(' jsonPathInvocation (KW_RETURNING type (KW_FORMAT jsonRepresentation)?)? ( + jsonQueryWrapperBehavior KW_WRAPPER + )? ((KW_KEEP | KW_OMIT) KW_QUOTES (KW_ON KW_SCALAR KW_TEXT_STRING)?)? ( + emptyBehavior=jsonQueryBehavior KW_ON KW_EMPTY + )? (errorBehavior=jsonQueryBehavior KW_ON KW_ERROR)? ')' # jsonQuery + | KW_JSON_OBJECT '(' ( + jsonObjectMember (',' jsonObjectMember)* (KW_NULL KW_ON KW_NULL | KW_ABSENT KW_ON KW_NULL)? ( + KW_WITH KW_UNIQUE KW_KEYS? + | KW_WITHOUT KW_UNIQUE KW_KEYS? )? - )? (RETURNING type (FORMAT jsonRepresentation)?)? ')' # jsonObject - | JSON_ARRAY '(' ( - jsonValueExpression (',' jsonValueExpression)* (NULL ON NULL | ABSENT ON NULL)? - )? (RETURNING type (FORMAT jsonRepresentation)?)? ')' # jsonArray + )? (KW_RETURNING type (KW_FORMAT jsonRepresentation)?)? ')' # jsonObject + | KW_JSON_ARRAY '(' ( + jsonValueExpression (',' jsonValueExpression)* (KW_NULL KW_ON KW_NULL | KW_ABSENT KW_ON KW_NULL)? + )? (KW_RETURNING type (KW_FORMAT jsonRepresentation)?)? ')' # jsonArray ; jsonPathInvocation - : jsonValueExpression ',' path=string (AS pathName=identifier)? ( - PASSING jsonArgument (',' jsonArgument)* + : jsonValueExpression ',' path=string (KW_AS pathName=identifier)? ( + KW_PASSING jsonArgument (',' jsonArgument)* )? ; jsonValueExpression - : expression (FORMAT jsonRepresentation)? + : expression (KW_FORMAT jsonRepresentation)? ; jsonRepresentation - : JSON (ENCODING (UTF8 | UTF16 | UTF32))? // TODO add implementation-defined JSON representation option + : KW_JSON (KW_ENCODING (KW_UTF8 | KW_UTF16 | KW_UTF32))? // TODO add implementation-defined JSON representation option ; jsonArgument - : jsonValueExpression AS identifier + : jsonValueExpression KW_AS identifier ; jsonExistsErrorBehavior - : TRUE - | FALSE - | UNKNOWN - | ERROR + : KW_TRUE + | KW_FALSE + | KW_UNKNOWN + | KW_ERROR ; jsonValueBehavior - : ERROR - | NULL - | DEFAULT expression + : KW_ERROR + | KW_NULL + | KW_DEFAULT expression ; jsonQueryWrapperBehavior - : WITHOUT ARRAY? - | WITH (CONDITIONAL | UNCONDITIONAL)? ARRAY? + : KW_WITHOUT KW_ARRAY? + | KW_WITH (KW_CONDITIONAL | KW_UNCONDITIONAL)? KW_ARRAY? ; jsonQueryBehavior - : ERROR - | NULL - | EMPTY ARRAY - | EMPTY OBJECT + : KW_ERROR + | KW_NULL + | KW_EMPTY KW_ARRAY + | KW_EMPTY KW_OBJECT ; jsonObjectMember - : KEY? expression VALUE jsonValueExpression + : KW_KEY? expression KW_VALUE jsonValueExpression | expression ':' jsonValueExpression ; processingMode - : RUNNING - | FINAL + : KW_RUNNING + | KW_FINAL ; nullTreatment - : IGNORE NULLS - | RESPECT NULLS + : KW_IGNORE KW_NULLS + | KW_RESPECT KW_NULLS ; string - : STRING # basicStringLiteral - | UNICODE_STRING (UESCAPE STRING)? # unicodeStringLiteral + : STRING # basicStringLiteral + | UNICODE_STRING (KW_UESCAPE STRING)? # unicodeStringLiteral ; timeZoneSpecifier - : TIME ZONE interval # timeZoneInterval - | TIME ZONE string # timeZoneString + : KW_TIME KW_ZONE interval # timeZoneInterval + | KW_TIME KW_ZONE string # timeZoneString ; comparisonOperator @@ -667,48 +694,48 @@ comparisonOperator ; comparisonQuantifier - : ALL - | SOME - | ANY + : KW_ALL + | KW_SOME + | KW_ANY ; booleanValue - : TRUE - | FALSE + : KW_TRUE + | KW_FALSE ; interval - : INTERVAL sign=(PLUS | MINUS)? string from=intervalField (TO to=intervalField)? + : KW_INTERVAL sign=(PLUS | MINUS)? string from=intervalField (KW_TO to=intervalField)? ; intervalField - : YEAR - | MONTH - | DAY - | HOUR - | MINUTE - | SECOND + : KW_YEAR + | KW_MONTH + | KW_DAY + | KW_HOUR + | KW_MINUTE + | KW_SECOND ; normalForm - : NFD - | NFC - | NFKD - | NFKC + : KW_NFD + | KW_NFC + | KW_NFKD + | KW_NFKC ; type - : ROW '(' rowField (',' rowField)* ')' # rowType - | INTERVAL from=intervalField (TO to=intervalField)? # intervalType - | base=TIMESTAMP ('(' precision= typeParameter ')')? (WITHOUT TIME ZONE)? # dateTimeType - | base=TIMESTAMP ('(' precision= typeParameter ')')? WITH TIME ZONE # dateTimeType - | base=TIME ('(' precision= typeParameter ')')? (WITHOUT TIME ZONE)? # dateTimeType - | base=TIME ('(' precision= typeParameter ')')? WITH TIME ZONE # dateTimeType - | DOUBLE PRECISION # doublePrecisionType - | ARRAY '<' type '>' # legacyArrayType - | MAP '<' keyType=type ',' valueType=type '>' # legacyMapType - | type ARRAY ('[' INTEGER_VALUE ']')? # arrayType - | identifier ('(' typeParameter (',' typeParameter)* ')')? # genericType + : KW_ROW '(' rowField (',' rowField)* ')' # rowType + | KW_INTERVAL from=intervalField (KW_TO to=intervalField)? # intervalType + | base=KW_TIMESTAMP ('(' precision= typeParameter ')')? (KW_WITHOUT KW_TIME KW_ZONE)? # dateTimeType + | base=KW_TIMESTAMP ('(' precision= typeParameter ')')? KW_WITH KW_TIME KW_ZONE # dateTimeType + | base=KW_TIME ('(' precision= typeParameter ')')? (KW_WITHOUT KW_TIME KW_ZONE)? # dateTimeType + | base=KW_TIME ('(' precision= typeParameter ')')? KW_WITH KW_TIME KW_ZONE # dateTimeType + | KW_DOUBLE KW_PRECISION # doublePrecisionType + | KW_ARRAY '<' type '>' # legacyArrayType + | KW_MAP '<' keyType=type ',' valueType=type '>' # legacyMapType + | type KW_ARRAY ('[' INTEGER_VALUE ']')? # arrayType + | identifier ('(' typeParameter (',' typeParameter)* ')')? # genericType ; rowField @@ -722,50 +749,50 @@ typeParameter ; whenClause - : WHEN condition=expression THEN result=expression + : KW_WHEN condition=expression KW_THEN result=expression ; filter - : FILTER '(' WHERE booleanExpression ')' + : KW_FILTER '(' KW_WHERE booleanExpression ')' ; mergeCase - : WHEN MATCHED (AND condition=expression)? THEN UPDATE SET targets+=identifier EQ values+=expression ( + : KW_WHEN KW_MATCHED (KW_AND condition=expression)? KW_THEN KW_UPDATE KW_SET targets+=identifier EQ values+=expression ( ',' targets+=identifier EQ values+=expression - )* # mergeUpdate - | WHEN MATCHED (AND condition=expression)? THEN DELETE # mergeDelete - | WHEN NOT MATCHED (AND condition=expression)? THEN INSERT ( + )* # mergeUpdate + | KW_WHEN KW_MATCHED (KW_AND condition=expression)? KW_THEN KW_DELETE # mergeDelete + | KW_WHEN KW_NOT KW_MATCHED (KW_AND condition=expression)? KW_THEN KW_INSERT ( '(' targets+=identifier (',' targets+=identifier)* ')' - )? VALUES '(' values+=expression (',' values+=expression)* ')' # mergeInsert + )? KW_VALUES '(' values+=expression (',' values+=expression)* ')' # mergeInsert ; over - : OVER (windowName=identifier | '(' windowSpecification ')') + : KW_OVER (windowName=identifier | '(' windowSpecification ')') ; windowFrame - : (MEASURES measureDefinition (',' measureDefinition)*)? frameExtent (AFTER MATCH skipTo)? ( - INITIAL - | SEEK - )? (PATTERN '(' rowPattern ')')? (SUBSET subsetDefinition (',' subsetDefinition)*)? ( - DEFINE variableDefinition (',' variableDefinition)* + : (KW_MEASURES measureDefinition (',' measureDefinition)*)? frameExtent (KW_AFTER KW_MATCH skipTo)? ( + KW_INITIAL + | KW_SEEK + )? (KW_PATTERN '(' rowPattern ')')? (KW_SUBSET subsetDefinition (',' subsetDefinition)*)? ( + KW_DEFINE variableDefinition (',' variableDefinition)* )? ; frameExtent - : frameType=RANGE start=frameBound - | frameType=ROWS start=frameBound - | frameType=GROUPS start=frameBound - | frameType=RANGE BETWEEN start=frameBound AND end=frameBound - | frameType=ROWS BETWEEN start=frameBound AND end=frameBound - | frameType=GROUPS BETWEEN start=frameBound AND end=frameBound + : frameType=KW_RANGE start=frameBound + | frameType=KW_ROWS start=frameBound + | frameType=KW_GROUPS start=frameBound + | frameType=KW_RANGE KW_BETWEEN start=frameBound KW_AND end=frameBound + | frameType=KW_ROWS KW_BETWEEN start=frameBound KW_AND end=frameBound + | frameType=KW_GROUPS KW_BETWEEN start=frameBound KW_AND end=frameBound ; frameBound - : UNBOUNDED boundType=PRECEDING # unboundedFrame - | UNBOUNDED boundType=FOLLOWING # unboundedFrame - | CURRENT ROW # currentRowBound - | expression boundType=(PRECEDING | FOLLOWING) # boundedFrame + : KW_UNBOUNDED boundType=KW_PRECEDING # unboundedFrame + | KW_UNBOUNDED boundType=KW_FOLLOWING # unboundedFrame + | KW_CURRENT KW_ROW # currentRowBound + | expression boundType=(KW_PRECEDING | KW_FOLLOWING) # boundedFrame ; rowPattern @@ -775,13 +802,13 @@ rowPattern ; patternPrimary - : identifier # patternVariable - | '(' ')' # emptyPattern - | PERMUTE '(' rowPattern (',' rowPattern)* ')' # patternPermutation - | '(' rowPattern ')' # groupedPattern - | '^' # partitionStartAnchor - | '$' # partitionEndAnchor - | '{-' rowPattern '-}' # excludedPattern + : identifier # patternVariable + | '(' ')' # emptyPattern + | KW_PERMUTE '(' rowPattern (',' rowPattern)* ')' # patternPermutation + | '(' rowPattern ')' # groupedPattern + | '^' # partitionStartAnchor + | '$' # partitionEndAnchor + | '{-' rowPattern '-}' # excludedPattern ; patternQuantifier @@ -797,20 +824,20 @@ updateAssignment ; explainOption - : FORMAT value=(TEXT | GRAPHVIZ | JSON) # explainFormat - | TYPE value=(LOGICAL | DISTRIBUTED | VALIDATE | IO) # explainType + : KW_FORMAT value=(KW_TEXT | KW_GRAPHVIZ | KW_JSON) # explainFormat + | KW_TYPE value=(KW_LOGICAL | KW_DISTRIBUTED | KW_VALIDATE | KW_IO) # explainType ; transactionMode - : ISOLATION LEVEL levelOfIsolation # isolationLevel - | READ accessMode=(ONLY | WRITE) # transactionAccessMode + : KW_ISOLATION KW_LEVEL levelOfIsolation # isolationLevel + | KW_READ accessMode=(KW_ONLY | KW_WRITE) # transactionAccessMode ; levelOfIsolation - : READ UNCOMMITTED # readUncommitted - | READ COMMITTED # readCommitted - | REPEATABLE READ # repeatableRead - | SERIALIZABLE # serializable + : KW_READ KW_UNCOMMITTED # readUncommitted + | KW_READ KW_COMMITTED # readCommitted + | KW_REPEATABLE KW_READ # repeatableRead + | KW_SERIALIZABLE # serializable ; callArgument @@ -828,7 +855,7 @@ pathSpecification ; functionSpecification - : FUNCTION functionDeclaration returnsClause routineCharacteristic* controlStatement + : KW_FUNCTION functionDeclaration returnsClause routineCharacteristic* controlStatement ; functionDeclaration @@ -840,46 +867,46 @@ parameterDeclaration ; returnsClause - : RETURNS type + : KW_RETURNS type ; routineCharacteristic - : LANGUAGE identifier # languageCharacteristic - | NOT? DETERMINISTIC # deterministicCharacteristic - | RETURNS NULL ON NULL INPUT # returnsNullOnNullInputCharacteristic - | CALLED ON NULL INPUT # calledOnNullInputCharacteristic - | SECURITY (DEFINER | INVOKER) # securityCharacteristic - | COMMENT string # commentCharacteristic + : KW_LANGUAGE identifier # languageCharacteristic + | KW_NOT? KW_DETERMINISTIC # deterministicCharacteristic + | KW_RETURNS KW_NULL KW_ON KW_NULL KW_INPUT # returnsNullOnNullInputCharacteristic + | KW_CALLED KW_ON KW_NULL KW_INPUT # calledOnNullInputCharacteristic + | KW_SECURITY (KW_DEFINER | KW_INVOKER) # securityCharacteristic + | KW_COMMENT string # commentCharacteristic ; controlStatement - : RETURN valueExpression # returnStatement - | SET identifier EQ expression # assignmentStatement - | CASE expression caseStatementWhenClause+ elseClause? END CASE # simpleCaseStatement - | CASE caseStatementWhenClause+ elseClause? END CASE # searchedCaseStatement - | IF expression THEN sqlStatementList elseIfClause* elseClause? END IF # ifStatement - | ITERATE identifier # iterateStatement - | LEAVE identifier # leaveStatement - | BEGIN (variableDeclaration SEMICOLON)* sqlStatementList? END # compoundStatement - | (label=identifier ':')? LOOP sqlStatementList END LOOP # loopStatement - | (label=identifier ':')? WHILE expression DO sqlStatementList END WHILE # whileStatement - | (label=identifier ':')? REPEAT sqlStatementList UNTIL expression END REPEAT # repeatStatement + : KW_RETURN valueExpression # returnStatement + | KW_SET identifier EQ expression # assignmentStatement + | KW_CASE expression caseStatementWhenClause+ elseClause? KW_END KW_CASE # simpleCaseStatement + | KW_CASE caseStatementWhenClause+ elseClause? KW_END KW_CASE # searchedCaseStatement + | KW_IF expression KW_THEN sqlStatementList elseIfClause* elseClause? KW_END KW_IF # ifStatement + | KW_ITERATE identifier # iterateStatement + | KW_LEAVE identifier # leaveStatement + | KW_BEGIN (variableDeclaration SEMICOLON)* sqlStatementList? KW_END # compoundStatement + | (label=identifier ':')? KW_LOOP sqlStatementList KW_END KW_LOOP # loopStatement + | (label=identifier ':')? KW_WHILE expression KW_DO sqlStatementList KW_END KW_WHILE # whileStatement + | (label=identifier ':')? KW_REPEAT sqlStatementList KW_UNTIL expression KW_END KW_REPEAT # repeatStatement ; caseStatementWhenClause - : WHEN expression THEN sqlStatementList + : KW_WHEN expression KW_THEN sqlStatementList ; elseIfClause - : ELSEIF expression THEN sqlStatementList + : KW_ELSEIF expression KW_THEN sqlStatementList ; elseClause - : ELSE sqlStatementList + : KW_ELSE sqlStatementList ; variableDeclaration - : DECLARE identifier (',' identifier)* type (DEFAULT valueExpression)? + : KW_DECLARE identifier (',' identifier)* type (KW_DEFAULT valueExpression)? ; sqlStatementList @@ -887,17 +914,17 @@ sqlStatementList ; privilege - : CREATE - | SELECT - | DELETE - | INSERT - | UPDATE + : KW_CREATE + | KW_SELECT + | KW_DELETE + | KW_INSERT + | KW_UPDATE | identifier ; entityKind - : TABLE - | SCHEMA + : KW_TABLE + | KW_SCHEMA | identifier ; @@ -910,24 +937,24 @@ qualifiedName ; queryPeriod - : FOR rangeType AS OF end=valueExpression + : KW_FOR rangeType KW_AS KW_OF end=valueExpression ; rangeType - : TIMESTAMP - | VERSION + : KW_TIMESTAMP + | KW_VERSION ; grantor - : principal # specifiedPrincipal - | CURRENT_USER # currentUserGrantor - | CURRENT_ROLE # currentRoleGrantor + : principal # specifiedPrincipal + | KW_CURRENT_USER # currentUserGrantor + | KW_CURRENT_ROLE # currentRoleGrantor ; principal - : identifier # unspecifiedPrincipal - | USER identifier # userPrincipal - | ROLE identifier # rolePrincipal + : identifier # unspecifiedPrincipal + | KW_USER identifier # userPrincipal + | KW_ROLE identifier # rolePrincipal ; roles @@ -935,12 +962,12 @@ roles ; privilegeOrRole - : CREATE - | SELECT - | DELETE - | INSERT - | UPDATE - | EXECUTE + : KW_CREATE + | KW_SELECT + | KW_DELETE + | KW_INSERT + | KW_UPDATE + | KW_EXECUTE | identifier ; @@ -965,219 +992,219 @@ authorizationUser nonReserved // IMPORTANT: this rule must only contain tokens. Nested rules are not supported. See SqlParser.exitNonReserved - : ABSENT - | ADD - | ADMIN - | AFTER - | ALL - | ANALYZE - | ANY - | ARRAY - | ASC - | AT - | AUTHORIZATION - | BEGIN - | BERNOULLI - | BOTH - | CALL - | CALLED - | CASCADE - | CATALOG - | CATALOGS - | COLUMN - | COLUMNS - | COMMENT - | COMMIT - | COMMITTED - | CONDITIONAL - | COPARTITION - | COUNT - | CURRENT - | DATA - | DATE - | DAY - | DECLARE - | DEFAULT - | DEFINE - | DEFINER - | DENY - | DESC - | DESCRIPTOR - | DETERMINISTIC - | DISTRIBUTED - | DO - | DOUBLE - | ELSEIF - | EMPTY - | ENCODING - | ERROR - | EXCLUDING - | EXPLAIN - | FETCH - | FILTER - | FINAL - | FIRST - | FOLLOWING - | FORMAT - | FUNCTION - | FUNCTIONS - | GRACE - | GRANT - | GRANTED - | GRANTS - | GRAPHVIZ - | GROUPS - | HOUR - | IF - | IGNORE - | IMMEDIATE - | INCLUDING - | INITIAL - | INPUT - | INTERVAL - | INVOKER - | IO - | ITERATE - | ISOLATION - | JSON - | KEEP - | KEY - | KEYS - | LANGUAGE - | LAST - | LATERAL - | LEADING - | LEAVE - | LEVEL - | LIMIT - | LOCAL - | LOGICAL - | LOOP - | MAP - | MATCH - | MATCHED - | MATCHES - | MATCH_RECOGNIZE - | MATERIALIZED - | MEASURES - | MERGE - | MINUTE - | MONTH - | NESTED - | NEXT - | NFC - | NFD - | NFKC - | NFKD - | NO - | NONE - | NULLIF - | NULLS - | OBJECT - | OF - | OFFSET - | OMIT - | ONE - | ONLY - | OPTION - | ORDINALITY - | OUTPUT - | OVER - | OVERFLOW - | PARTITION - | PARTITIONS - | PASSING - | PAST - | PATH - | PATTERN - | PER - | PERIOD - | PERMUTE - | PLAN - | POSITION - | PRECEDING - | PRECISION - | PRIVILEGES - | PROPERTIES - | PRUNE - | QUOTES - | RANGE - | READ - | REFRESH - | RENAME - | REPEAT - | REPEATABLE - | REPLACE - | RESET - | RESPECT - | RESTRICT - | RETURN - | RETURNING - | RETURNS - | REVOKE - | ROLE - | ROLES - | ROLLBACK - | ROW - | ROWS - | RUNNING - | SCALAR - | SCHEMA - | SCHEMAS - | SECOND - | SECURITY - | SEEK - | SERIALIZABLE - | SESSION - | SET - | SETS - | SHOW - | SOME - | START - | STATS - | SUBSET - | SUBSTRING - | SYSTEM - | TABLES - | TABLESAMPLE - | TEXT - | TEXT_STRING - | TIES - | TIME - | TIMESTAMP - | TO - | TRAILING - | TRANSACTION - | TRUNCATE - | TRY_CAST - | TYPE - | UNBOUNDED - | UNCOMMITTED - | UNCONDITIONAL - | UNIQUE - | UNKNOWN - | UNMATCHED - | UNTIL - | UPDATE - | USE - | USER - | UTF16 - | UTF32 - | UTF8 - | VALIDATE - | VALUE - | VERBOSE - | VERSION - | VIEW - | WHILE - | WINDOW - | WITHIN - | WITHOUT - | WORK - | WRAPPER - | WRITE - | YEAR - | ZONE + : KW_ABSENT + | KW_ADD + | KW_ADMIN + | KW_AFTER + | KW_ALL + | KW_ANALYZE + | KW_ANY + | KW_ARRAY + | KW_ASC + | KW_AT + | KW_AUTHORIZATION + | KW_BEGIN + | KW_BERNOULLI + | KW_BOTH + | KW_CALL + | KW_CALLED + | KW_CASCADE + | KW_CATALOG + | KW_CATALOGS + | KW_COLUMN + | KW_COLUMNS + | KW_COMMENT + | KW_COMMIT + | KW_COMMITTED + | KW_CONDITIONAL + | KW_COPARTITION + | KW_COUNT + | KW_CURRENT + | KW_DATA + | KW_DATE + | KW_DAY + | KW_DECLARE + | KW_DEFAULT + | KW_DEFINE + | KW_DEFINER + | KW_DENY + | KW_DESC + | KW_DESCRIPTOR + | KW_DETERMINISTIC + | KW_DISTRIBUTED + | KW_DO + | KW_DOUBLE + | KW_ELSEIF + | KW_EMPTY + | KW_ENCODING + | KW_ERROR + | KW_EXCLUDING + | KW_EXPLAIN + | KW_FETCH + | KW_FILTER + | KW_FINAL + | KW_FIRST + | KW_FOLLOWING + | KW_FORMAT + | KW_FUNCTION + | KW_FUNCTIONS + | KW_GRACE + | KW_GRANT + | KW_GRANTED + | KW_GRANTS + | KW_GRAPHVIZ + | KW_GROUPS + | KW_HOUR + | KW_IF + | KW_IGNORE + | KW_IMMEDIATE + | KW_INCLUDING + | KW_INITIAL + | KW_INPUT + | KW_INTERVAL + | KW_INVOKER + | KW_IO + | KW_ITERATE + | KW_ISOLATION + | KW_JSON + | KW_KEEP + | KW_KEY + | KW_KEYS + | KW_LANGUAGE + | KW_LAST + | KW_LATERAL + | KW_LEADING + | KW_LEAVE + | KW_LEVEL + | KW_LIMIT + | KW_LOCAL + | KW_LOGICAL + | KW_LOOP + | KW_MAP + | KW_MATCH + | KW_MATCHED + | KW_MATCHES + | KW_MATCH_RECOGNIZE + | KW_MATERIALIZED + | KW_MEASURES + | KW_MERGE + | KW_MINUTE + | KW_MONTH + | KW_NESTED + | KW_NEXT + | KW_NFC + | KW_NFD + | KW_NFKC + | KW_NFKD + | KW_NO + | KW_NONE + | KW_NULLIF + | KW_NULLS + | KW_OBJECT + | KW_OF + | KW_OFFSET + | KW_OMIT + | KW_ONE + | KW_ONLY + | KW_OPTION + | KW_ORDINALITY + | KW_OUTPUT + | KW_OVER + | KW_OVERFLOW + | KW_PARTITION + | KW_PARTITIONS + | KW_PASSING + | KW_PAST + | KW_PATH + | KW_PATTERN + | KW_PER + | KW_PERIOD + | KW_PERMUTE + | KW_PLAN + | KW_POSITION + | KW_PRECEDING + | KW_PRECISION + | KW_PRIVILEGES + | KW_PROPERTIES + | KW_PRUNE + | KW_QUOTES + | KW_RANGE + | KW_READ + | KW_REFRESH + | KW_RENAME + | KW_REPEAT + | KW_REPEATABLE + | KW_REPLACE + | KW_RESET + | KW_RESPECT + | KW_RESTRICT + | KW_RETURN + | KW_RETURNING + | KW_RETURNS + | KW_REVOKE + | KW_ROLE + | KW_ROLES + | KW_ROLLBACK + | KW_ROW + | KW_ROWS + | KW_RUNNING + | KW_SCALAR + | KW_SCHEMA + | KW_SCHEMAS + | KW_SECOND + | KW_SECURITY + | KW_SEEK + | KW_SERIALIZABLE + | KW_SESSION + | KW_SET + | KW_SETS + | KW_SHOW + | KW_SOME + | KW_START + | KW_STATS + | KW_SUBSET + | KW_SUBSTRING + | KW_SYSTEM + | KW_TABLES + | KW_TABLESAMPLE + | KW_TEXT + | KW_TEXT_STRING + | KW_TIES + | KW_TIME + | KW_TIMESTAMP + | KW_TO + | KW_TRAILING + | KW_TRANSACTION + | KW_TRUNCATE + | KW_TRY_CAST + | KW_TYPE + | KW_UNBOUNDED + | KW_UNCOMMITTED + | KW_UNCONDITIONAL + | KW_UNIQUE + | KW_UNKNOWN + | KW_UNMATCHED + | KW_UNTIL + | KW_UPDATE + | KW_USE + | KW_USER + | KW_UTF16 + | KW_UTF32 + | KW_UTF8 + | KW_VALIDATE + | KW_VALUE + | KW_VERBOSE + | KW_VERSION + | KW_VIEW + | KW_WHILE + | KW_WINDOW + | KW_WITHIN + | KW_WITHOUT + | KW_WORK + | KW_WRAPPER + | KW_WRITE + | KW_YEAR + | KW_ZONE ; /** @@ -1191,300 +1218,300 @@ nonReserved // $antlr-format singleLineOverrulesHangingColon true, alignLexerCommands true, alignLabels true, alignTrailers true // $antlr-format spaceBeforeAssignmentOperators false, groupedAlignments true -ABSENT : 'ABSENT'; -ADD : 'ADD'; -ADMIN : 'ADMIN'; -AFTER : 'AFTER'; -ALL : 'ALL'; -ALTER : 'ALTER'; -ANALYZE : 'ANALYZE'; -AND : 'AND'; -ANY : 'ANY'; -ARRAY : 'ARRAY'; -AS : 'AS'; -ASC : 'ASC'; -AT : 'AT'; -AUTHORIZATION : 'AUTHORIZATION'; -BEGIN : 'BEGIN'; -BERNOULLI : 'BERNOULLI'; -BETWEEN : 'BETWEEN'; -BOTH : 'BOTH'; -BY : 'BY'; -CALL : 'CALL'; -CALLED : 'CALLED'; -CASCADE : 'CASCADE'; -CASE : 'CASE'; -CAST : 'CAST'; -CATALOG : 'CATALOG'; -CATALOGS : 'CATALOGS'; -COLUMN : 'COLUMN'; -COLUMNS : 'COLUMNS'; -COMMENT : 'COMMENT'; -COMMIT : 'COMMIT'; -COMMITTED : 'COMMITTED'; -CONDITIONAL : 'CONDITIONAL'; -CONSTRAINT : 'CONSTRAINT'; -COUNT : 'COUNT'; -COPARTITION : 'COPARTITION'; -CREATE : 'CREATE'; -CROSS : 'CROSS'; -CUBE : 'CUBE'; -CURRENT : 'CURRENT'; -CURRENT_CATALOG : 'CURRENT_CATALOG'; -CURRENT_DATE : 'CURRENT_DATE'; -CURRENT_PATH : 'CURRENT_PATH'; -CURRENT_ROLE : 'CURRENT_ROLE'; -CURRENT_SCHEMA : 'CURRENT_SCHEMA'; -CURRENT_TIME : 'CURRENT_TIME'; -CURRENT_TIMESTAMP : 'CURRENT_TIMESTAMP'; -CURRENT_USER : 'CURRENT_USER'; -DATA : 'DATA'; -DATE : 'DATE'; -DAY : 'DAY'; -DEALLOCATE : 'DEALLOCATE'; -DECLARE : 'DECLARE'; -DEFAULT : 'DEFAULT'; -DEFINE : 'DEFINE'; -DEFINER : 'DEFINER'; -DELETE : 'DELETE'; -DENY : 'DENY'; -DESC : 'DESC'; -DESCRIBE : 'DESCRIBE'; -DESCRIPTOR : 'DESCRIPTOR'; -DETERMINISTIC : 'DETERMINISTIC'; -DISTINCT : 'DISTINCT'; -DISTRIBUTED : 'DISTRIBUTED'; -DO : 'DO'; -DOUBLE : 'DOUBLE'; -DROP : 'DROP'; -ELSE : 'ELSE'; -EMPTY : 'EMPTY'; -ELSEIF : 'ELSEIF'; -ENCODING : 'ENCODING'; -END : 'END'; -ERROR : 'ERROR'; -ESCAPE : 'ESCAPE'; -EXCEPT : 'EXCEPT'; -EXCLUDING : 'EXCLUDING'; -EXECUTE : 'EXECUTE'; -EXISTS : 'EXISTS'; -EXPLAIN : 'EXPLAIN'; -EXTRACT : 'EXTRACT'; -FALSE : 'FALSE'; -FETCH : 'FETCH'; -FILTER : 'FILTER'; -FINAL : 'FINAL'; -FIRST : 'FIRST'; -FOLLOWING : 'FOLLOWING'; -FOR : 'FOR'; -FORMAT : 'FORMAT'; -FROM : 'FROM'; -FULL : 'FULL'; -FUNCTION : 'FUNCTION'; -FUNCTIONS : 'FUNCTIONS'; -GRACE : 'GRACE'; -GRANT : 'GRANT'; -GRANTED : 'GRANTED'; -GRANTS : 'GRANTS'; -GRAPHVIZ : 'GRAPHVIZ'; -GROUP : 'GROUP'; -GROUPING : 'GROUPING'; -GROUPS : 'GROUPS'; -HAVING : 'HAVING'; -HOUR : 'HOUR'; -IF : 'IF'; -IGNORE : 'IGNORE'; -IMMEDIATE : 'IMMEDIATE'; -IN : 'IN'; -INCLUDING : 'INCLUDING'; -INITIAL : 'INITIAL'; -INNER : 'INNER'; -INPUT : 'INPUT'; -INSERT : 'INSERT'; -INTERSECT : 'INTERSECT'; -INTERVAL : 'INTERVAL'; -INTO : 'INTO'; -INVOKER : 'INVOKER'; -IO : 'IO'; -IS : 'IS'; -ISOLATION : 'ISOLATION'; -ITERATE : 'ITERATE'; -JOIN : 'JOIN'; -JSON : 'JSON'; -JSON_ARRAY : 'JSON_ARRAY'; -JSON_EXISTS : 'JSON_EXISTS'; -JSON_OBJECT : 'JSON_OBJECT'; -JSON_QUERY : 'JSON_QUERY'; -JSON_TABLE : 'JSON_TABLE'; -JSON_VALUE : 'JSON_VALUE'; -KEEP : 'KEEP'; -KEY : 'KEY'; -KEYS : 'KEYS'; -LANGUAGE : 'LANGUAGE'; -LAST : 'LAST'; -LATERAL : 'LATERAL'; -LEADING : 'LEADING'; -LEAVE : 'LEAVE'; -LEFT : 'LEFT'; -LEVEL : 'LEVEL'; -LIKE : 'LIKE'; -LIMIT : 'LIMIT'; -LISTAGG : 'LISTAGG'; -LOCAL : 'LOCAL'; -LOCALTIME : 'LOCALTIME'; -LOCALTIMESTAMP : 'LOCALTIMESTAMP'; -LOGICAL : 'LOGICAL'; -LOOP : 'LOOP'; -MAP : 'MAP'; -MATCH : 'MATCH'; -MATCHED : 'MATCHED'; -MATCHES : 'MATCHES'; -MATCH_RECOGNIZE : 'MATCH_RECOGNIZE'; -MATERIALIZED : 'MATERIALIZED'; -MEASURES : 'MEASURES'; -MERGE : 'MERGE'; -MINUTE : 'MINUTE'; -MONTH : 'MONTH'; -NATURAL : 'NATURAL'; -NESTED : 'NESTED'; -NEXT : 'NEXT'; -NFC : 'NFC'; -NFD : 'NFD'; -NFKC : 'NFKC'; -NFKD : 'NFKD'; -NO : 'NO'; -NONE : 'NONE'; -NORMALIZE : 'NORMALIZE'; -NOT : 'NOT'; -NULL : 'NULL'; -NULLIF : 'NULLIF'; -NULLS : 'NULLS'; -OBJECT : 'OBJECT'; -OF : 'OF'; -OFFSET : 'OFFSET'; -OMIT : 'OMIT'; -ON : 'ON'; -ONE : 'ONE'; -ONLY : 'ONLY'; -OPTION : 'OPTION'; -OR : 'OR'; -ORDER : 'ORDER'; -ORDINALITY : 'ORDINALITY'; -OUTER : 'OUTER'; -OUTPUT : 'OUTPUT'; -OVER : 'OVER'; -OVERFLOW : 'OVERFLOW'; -PARTITION : 'PARTITION'; -PARTITIONS : 'PARTITIONS'; -PASSING : 'PASSING'; -PAST : 'PAST'; -PATH : 'PATH'; -PATTERN : 'PATTERN'; -PER : 'PER'; -PERIOD : 'PERIOD'; -PERMUTE : 'PERMUTE'; -PLAN : 'PLAN'; -POSITION : 'POSITION'; -PRECEDING : 'PRECEDING'; -PRECISION : 'PRECISION'; -PREPARE : 'PREPARE'; -PRIVILEGES : 'PRIVILEGES'; -PROPERTIES : 'PROPERTIES'; -PRUNE : 'PRUNE'; -QUOTES : 'QUOTES'; -RANGE : 'RANGE'; -READ : 'READ'; -RECURSIVE : 'RECURSIVE'; -REFRESH : 'REFRESH'; -RENAME : 'RENAME'; -REPEAT : 'REPEAT'; -REPEATABLE : 'REPEATABLE'; -REPLACE : 'REPLACE'; -RESET : 'RESET'; -RESPECT : 'RESPECT'; -RESTRICT : 'RESTRICT'; -RETURN : 'RETURN'; -RETURNING : 'RETURNING'; -RETURNS : 'RETURNS'; -REVOKE : 'REVOKE'; -RIGHT : 'RIGHT'; -ROLE : 'ROLE'; -ROLES : 'ROLES'; -ROLLBACK : 'ROLLBACK'; -ROLLUP : 'ROLLUP'; -ROW : 'ROW'; -ROWS : 'ROWS'; -RUNNING : 'RUNNING'; -SCALAR : 'SCALAR'; -SCHEMA : 'SCHEMA'; -SCHEMAS : 'SCHEMAS'; -SECOND : 'SECOND'; -SECURITY : 'SECURITY'; -SEEK : 'SEEK'; -SELECT : 'SELECT'; -SERIALIZABLE : 'SERIALIZABLE'; -SESSION : 'SESSION'; -SET : 'SET'; -SETS : 'SETS'; -SHOW : 'SHOW'; -SOME : 'SOME'; -START : 'START'; -STATS : 'STATS'; -SUBSET : 'SUBSET'; -SUBSTRING : 'SUBSTRING'; -SYSTEM : 'SYSTEM'; -TABLE : 'TABLE'; -TABLES : 'TABLES'; -TABLESAMPLE : 'TABLESAMPLE'; -TEXT : 'TEXT'; -TEXT_STRING : 'STRING'; -THEN : 'THEN'; -TIES : 'TIES'; -TIME : 'TIME'; -TIMESTAMP : 'TIMESTAMP'; -TO : 'TO'; -TRAILING : 'TRAILING'; -TRANSACTION : 'TRANSACTION'; -TRIM : 'TRIM'; -TRUE : 'TRUE'; -TRUNCATE : 'TRUNCATE'; -TRY_CAST : 'TRY_CAST'; -TYPE : 'TYPE'; -UESCAPE : 'UESCAPE'; -UNBOUNDED : 'UNBOUNDED'; -UNCOMMITTED : 'UNCOMMITTED'; -UNCONDITIONAL : 'UNCONDITIONAL'; -UNION : 'UNION'; -UNIQUE : 'UNIQUE'; -UNKNOWN : 'UNKNOWN'; -UNMATCHED : 'UNMATCHED'; -UNNEST : 'UNNEST'; -UNTIL : 'UNTIL'; -UPDATE : 'UPDATE'; -USE : 'USE'; -USER : 'USER'; -USING : 'USING'; -UTF16 : 'UTF16'; -UTF32 : 'UTF32'; -UTF8 : 'UTF8'; -VALIDATE : 'VALIDATE'; -VALUE : 'VALUE'; -VALUES : 'VALUES'; -VERBOSE : 'VERBOSE'; -VERSION : 'VERSION'; -VIEW : 'VIEW'; -WHEN : 'WHEN'; -WHERE : 'WHERE'; -WHILE : 'WHILE'; -WINDOW : 'WINDOW'; -WITH : 'WITH'; -WITHIN : 'WITHIN'; -WITHOUT : 'WITHOUT'; -WORK : 'WORK'; -WRAPPER : 'WRAPPER'; -WRITE : 'WRITE'; -YEAR : 'YEAR'; -ZONE : 'ZONE'; +KW_ABSENT : 'ABSENT'; +KW_ADD : 'ADD'; +KW_ADMIN : 'ADMIN'; +KW_AFTER : 'AFTER'; +KW_ALL : 'ALL'; +KW_ALTER : 'ALTER'; +KW_ANALYZE : 'ANALYZE'; +KW_AND : 'AND'; +KW_ANY : 'ANY'; +KW_ARRAY : 'ARRAY'; +KW_AS : 'AS'; +KW_ASC : 'ASC'; +KW_AT : 'AT'; +KW_AUTHORIZATION : 'AUTHORIZATION'; +KW_BEGIN : 'BEGIN'; +KW_BERNOULLI : 'BERNOULLI'; +KW_BETWEEN : 'BETWEEN'; +KW_BOTH : 'BOTH'; +KW_BY : 'BY'; +KW_CALL : 'CALL'; +KW_CALLED : 'CALLED'; +KW_CASCADE : 'CASCADE'; +KW_CASE : 'CASE'; +KW_CAST : 'CAST'; +KW_CATALOG : 'CATALOG'; +KW_CATALOGS : 'CATALOGS'; +KW_COLUMN : 'COLUMN'; +KW_COLUMNS : 'COLUMNS'; +KW_COMMENT : 'COMMENT'; +KW_COMMIT : 'COMMIT'; +KW_COMMITTED : 'COMMITTED'; +KW_CONDITIONAL : 'CONDITIONAL'; +KW_CONSTRAINT : 'CONSTRAINT'; +KW_COUNT : 'COUNT'; +KW_COPARTITION : 'COPARTITION'; +KW_CREATE : 'CREATE'; +KW_CROSS : 'CROSS'; +KW_CUBE : 'CUBE'; +KW_CURRENT : 'CURRENT'; +KW_CURRENT_CATALOG : 'CURRENT_CATALOG'; +KW_CURRENT_DATE : 'CURRENT_DATE'; +KW_CURRENT_PATH : 'CURRENT_PATH'; +KW_CURRENT_ROLE : 'CURRENT_ROLE'; +KW_CURRENT_SCHEMA : 'CURRENT_SCHEMA'; +KW_CURRENT_TIME : 'CURRENT_TIME'; +KW_CURRENT_TIMESTAMP : 'CURRENT_TIMESTAMP'; +KW_CURRENT_USER : 'CURRENT_USER'; +KW_DATA : 'DATA'; +KW_DATE : 'DATE'; +KW_DAY : 'DAY'; +KW_DEALLOCATE : 'DEALLOCATE'; +KW_DECLARE : 'DECLARE'; +KW_DEFAULT : 'DEFAULT'; +KW_DEFINE : 'DEFINE'; +KW_DEFINER : 'DEFINER'; +KW_DELETE : 'DELETE'; +KW_DENY : 'DENY'; +KW_DESC : 'DESC'; +KW_DESCRIBE : 'DESCRIBE'; +KW_DESCRIPTOR : 'DESCRIPTOR'; +KW_DETERMINISTIC : 'DETERMINISTIC'; +KW_DISTINCT : 'DISTINCT'; +KW_DISTRIBUTED : 'DISTRIBUTED'; +KW_DO : 'DO'; +KW_DOUBLE : 'DOUBLE'; +KW_DROP : 'DROP'; +KW_ELSE : 'ELSE'; +KW_EMPTY : 'EMPTY'; +KW_ELSEIF : 'ELSEIF'; +KW_ENCODING : 'ENCODING'; +KW_END : 'END'; +KW_ERROR : 'ERROR'; +KW_ESCAPE : 'ESCAPE'; +KW_EXCEPT : 'EXCEPT'; +KW_EXCLUDING : 'EXCLUDING'; +KW_EXECUTE : 'EXECUTE'; +KW_EXISTS : 'EXISTS'; +KW_EXPLAIN : 'EXPLAIN'; +KW_EXTRACT : 'EXTRACT'; +KW_FALSE : 'FALSE'; +KW_FETCH : 'FETCH'; +KW_FILTER : 'FILTER'; +KW_FINAL : 'FINAL'; +KW_FIRST : 'FIRST'; +KW_FOLLOWING : 'FOLLOWING'; +KW_FOR : 'FOR'; +KW_FORMAT : 'FORMAT'; +KW_FROM : 'FROM'; +KW_FULL : 'FULL'; +KW_FUNCTION : 'FUNCTION'; +KW_FUNCTIONS : 'FUNCTIONS'; +KW_GRACE : 'GRACE'; +KW_GRANT : 'GRANT'; +KW_GRANTED : 'GRANTED'; +KW_GRANTS : 'GRANTS'; +KW_GRAPHVIZ : 'GRAPHVIZ'; +KW_GROUP : 'GROUP'; +KW_GROUPING : 'GROUPING'; +KW_GROUPS : 'GROUPS'; +KW_HAVING : 'HAVING'; +KW_HOUR : 'HOUR'; +KW_IF : 'IF'; +KW_IGNORE : 'IGNORE'; +KW_IMMEDIATE : 'IMMEDIATE'; +KW_IN : 'IN'; +KW_INCLUDING : 'INCLUDING'; +KW_INITIAL : 'INITIAL'; +KW_INNER : 'INNER'; +KW_INPUT : 'INPUT'; +KW_INSERT : 'INSERT'; +KW_INTERSECT : 'INTERSECT'; +KW_INTERVAL : 'INTERVAL'; +KW_INTO : 'INTO'; +KW_INVOKER : 'INVOKER'; +KW_IO : 'IO'; +KW_IS : 'IS'; +KW_ISOLATION : 'ISOLATION'; +KW_ITERATE : 'ITERATE'; +KW_JOIN : 'JOIN'; +KW_JSON : 'JSON'; +KW_JSON_ARRAY : 'JSON_ARRAY'; +KW_JSON_EXISTS : 'JSON_EXISTS'; +KW_JSON_OBJECT : 'JSON_OBJECT'; +KW_JSON_QUERY : 'JSON_QUERY'; +KW_JSON_TABLE : 'JSON_TABLE'; +KW_JSON_VALUE : 'JSON_VALUE'; +KW_KEEP : 'KEEP'; +KW_KEY : 'KEY'; +KW_KEYS : 'KEYS'; +KW_LANGUAGE : 'LANGUAGE'; +KW_LAST : 'LAST'; +KW_LATERAL : 'LATERAL'; +KW_LEADING : 'LEADING'; +KW_LEAVE : 'LEAVE'; +KW_LEFT : 'LEFT'; +KW_LEVEL : 'LEVEL'; +KW_LIKE : 'LIKE'; +KW_LIMIT : 'LIMIT'; +KW_LISTAGG : 'LISTAGG'; +KW_LOCAL : 'LOCAL'; +KW_LOCALTIME : 'LOCALTIME'; +KW_LOCALTIMESTAMP : 'LOCALTIMESTAMP'; +KW_LOGICAL : 'LOGICAL'; +KW_LOOP : 'LOOP'; +KW_MAP : 'MAP'; +KW_MATCH : 'MATCH'; +KW_MATCHED : 'MATCHED'; +KW_MATCHES : 'MATCHES'; +KW_MATCH_RECOGNIZE : 'MATCH_RECOGNIZE'; +KW_MATERIALIZED : 'MATERIALIZED'; +KW_MEASURES : 'MEASURES'; +KW_MERGE : 'MERGE'; +KW_MINUTE : 'MINUTE'; +KW_MONTH : 'MONTH'; +KW_NATURAL : 'NATURAL'; +KW_NESTED : 'NESTED'; +KW_NEXT : 'NEXT'; +KW_NFC : 'NFC'; +KW_NFD : 'NFD'; +KW_NFKC : 'NFKC'; +KW_NFKD : 'NFKD'; +KW_NO : 'NO'; +KW_NONE : 'NONE'; +KW_NORMALIZE : 'NORMALIZE'; +KW_NOT : 'NOT'; +KW_NULL : 'NULL'; +KW_NULLIF : 'NULLIF'; +KW_NULLS : 'NULLS'; +KW_OBJECT : 'OBJECT'; +KW_OF : 'OF'; +KW_OFFSET : 'OFFSET'; +KW_OMIT : 'OMIT'; +KW_ON : 'ON'; +KW_ONE : 'ONE'; +KW_ONLY : 'ONLY'; +KW_OPTION : 'OPTION'; +KW_OR : 'OR'; +KW_ORDER : 'ORDER'; +KW_ORDINALITY : 'ORDINALITY'; +KW_OUTER : 'OUTER'; +KW_OUTPUT : 'OUTPUT'; +KW_OVER : 'OVER'; +KW_OVERFLOW : 'OVERFLOW'; +KW_PARTITION : 'PARTITION'; +KW_PARTITIONS : 'PARTITIONS'; +KW_PASSING : 'PASSING'; +KW_PAST : 'PAST'; +KW_PATH : 'PATH'; +KW_PATTERN : 'PATTERN'; +KW_PER : 'PER'; +KW_PERIOD : 'PERIOD'; +KW_PERMUTE : 'PERMUTE'; +KW_PLAN : 'PLAN'; +KW_POSITION : 'POSITION'; +KW_PRECEDING : 'PRECEDING'; +KW_PRECISION : 'PRECISION'; +KW_PREPARE : 'PREPARE'; +KW_PRIVILEGES : 'PRIVILEGES'; +KW_PROPERTIES : 'PROPERTIES'; +KW_PRUNE : 'PRUNE'; +KW_QUOTES : 'QUOTES'; +KW_RANGE : 'RANGE'; +KW_READ : 'READ'; +KW_RECURSIVE : 'RECURSIVE'; +KW_REFRESH : 'REFRESH'; +KW_RENAME : 'RENAME'; +KW_REPEAT : 'REPEAT'; +KW_REPEATABLE : 'REPEATABLE'; +KW_REPLACE : 'REPLACE'; +KW_RESET : 'RESET'; +KW_RESPECT : 'RESPECT'; +KW_RESTRICT : 'RESTRICT'; +KW_RETURN : 'RETURN'; +KW_RETURNING : 'RETURNING'; +KW_RETURNS : 'RETURNS'; +KW_REVOKE : 'REVOKE'; +KW_RIGHT : 'RIGHT'; +KW_ROLE : 'ROLE'; +KW_ROLES : 'ROLES'; +KW_ROLLBACK : 'ROLLBACK'; +KW_ROLLUP : 'ROLLUP'; +KW_ROW : 'ROW'; +KW_ROWS : 'ROWS'; +KW_RUNNING : 'RUNNING'; +KW_SCALAR : 'SCALAR'; +KW_SCHEMA : 'SCHEMA'; +KW_SCHEMAS : 'SCHEMAS'; +KW_SECOND : 'SECOND'; +KW_SECURITY : 'SECURITY'; +KW_SEEK : 'SEEK'; +KW_SELECT : 'SELECT'; +KW_SERIALIZABLE : 'SERIALIZABLE'; +KW_SESSION : 'SESSION'; +KW_SET : 'SET'; +KW_SETS : 'SETS'; +KW_SHOW : 'SHOW'; +KW_SOME : 'SOME'; +KW_START : 'START'; +KW_STATS : 'STATS'; +KW_SUBSET : 'SUBSET'; +KW_SUBSTRING : 'SUBSTRING'; +KW_SYSTEM : 'SYSTEM'; +KW_TABLE : 'TABLE'; +KW_TABLES : 'TABLES'; +KW_TABLESAMPLE : 'TABLESAMPLE'; +KW_TEXT : 'TEXT'; +KW_TEXT_STRING : 'STRING'; +KW_THEN : 'THEN'; +KW_TIES : 'TIES'; +KW_TIME : 'TIME'; +KW_TIMESTAMP : 'TIMESTAMP'; +KW_TO : 'TO'; +KW_TRAILING : 'TRAILING'; +KW_TRANSACTION : 'TRANSACTION'; +KW_TRIM : 'TRIM'; +KW_TRUE : 'TRUE'; +KW_TRUNCATE : 'TRUNCATE'; +KW_TRY_CAST : 'TRY_CAST'; +KW_TYPE : 'TYPE'; +KW_UESCAPE : 'UESCAPE'; +KW_UNBOUNDED : 'UNBOUNDED'; +KW_UNCOMMITTED : 'UNCOMMITTED'; +KW_UNCONDITIONAL : 'UNCONDITIONAL'; +KW_UNION : 'UNION'; +KW_UNIQUE : 'UNIQUE'; +KW_UNKNOWN : 'UNKNOWN'; +KW_UNMATCHED : 'UNMATCHED'; +KW_UNNEST : 'UNNEST'; +KW_UNTIL : 'UNTIL'; +KW_UPDATE : 'UPDATE'; +KW_USE : 'USE'; +KW_USER : 'USER'; +KW_USING : 'USING'; +KW_UTF16 : 'UTF16'; +KW_UTF32 : 'UTF32'; +KW_UTF8 : 'UTF8'; +KW_VALIDATE : 'VALIDATE'; +KW_VALUE : 'VALUE'; +KW_VALUES : 'VALUES'; +KW_VERBOSE : 'VERBOSE'; +KW_VERSION : 'VERSION'; +KW_VIEW : 'VIEW'; +KW_WHEN : 'WHEN'; +KW_WHERE : 'WHERE'; +KW_WHILE : 'WHILE'; +KW_WINDOW : 'WINDOW'; +KW_WITH : 'WITH'; +KW_WITHIN : 'WITHIN'; +KW_WITHOUT : 'WITHOUT'; +KW_WORK : 'WORK'; +KW_WRAPPER : 'WRAPPER'; +KW_WRITE : 'WRITE'; +KW_YEAR : 'YEAR'; +KW_ZONE : 'ZONE'; EQ : '='; NEQ : '<>' | '!='; From e29a5defda6d31b522bb13e5c9adff03e8251b02 Mon Sep 17 00:00:00 2001 From: Hayden Date: Tue, 25 Jun 2024 17:56:19 +0800 Subject: [PATCH 3/6] feat: resume suggestion and collect entity --- src/grammar/trino/TrinoSql.g4 | 246 +- src/lib/trino/TrinoSql.interp | 209 +- src/lib/trino/TrinoSql.tokens | 1160 +- src/lib/trino/TrinoSqlLexer.interp | 227 +- src/lib/trino/TrinoSqlLexer.tokens | 1158 +- src/lib/trino/TrinoSqlLexer.ts | 2871 +- src/lib/trino/TrinoSqlListener.ts | 1512 +- src/lib/trino/TrinoSqlParser.ts | 35131 ++++++++++------ src/lib/trino/TrinoSqlVisitor.ts | 823 +- src/parser/trino/index.ts | 20 +- src/parser/trino/trinoEntityCollector.ts | 24 +- .../trino/suggestion/tokenSuggestion.test.ts | 20 +- 12 files changed, 27773 insertions(+), 15628 deletions(-) diff --git a/src/grammar/trino/TrinoSql.g4 b/src/grammar/trino/TrinoSql.g4 index 13155259..b25ceee5 100644 --- a/src/grammar/trino/TrinoSql.g4 +++ b/src/grammar/trino/TrinoSql.g4 @@ -71,104 +71,101 @@ standaloneFunctionSpecification ; statement - : rootQuery # statementDefault - | KW_USE schema=identifier # use - | KW_USE catalog=identifier '.' schema=identifier # use - | KW_CREATE KW_CATALOG (KW_IF KW_NOT KW_EXISTS)? catalog=identifier KW_USING connectorName=identifier ( + : rootQuery # statementDefault + | KW_USE schemaRef # use + | KW_CREATE KW_CATALOG (KW_IF KW_NOT KW_EXISTS)? catalog=catalogNameCreate KW_USING connectorName=identifier ( KW_COMMENT string )? (KW_AUTHORIZATION principal)? (KW_WITH properties)? # createCatalog - | KW_DROP KW_CATALOG (KW_IF KW_EXISTS)? catalog=identifier (KW_CASCADE | KW_RESTRICT)? # dropCatalog - | KW_CREATE KW_SCHEMA (KW_IF KW_NOT KW_EXISTS)? qualifiedName (KW_AUTHORIZATION principal)? ( + | KW_DROP KW_CATALOG (KW_IF KW_EXISTS)? catalog=catalogRef (KW_CASCADE | KW_RESTRICT)? # dropCatalog + | KW_CREATE KW_SCHEMA (KW_IF KW_NOT KW_EXISTS)? schemaNameCreate (KW_AUTHORIZATION principal)? ( KW_WITH properties - )? # createSchema - | KW_DROP KW_SCHEMA (KW_IF KW_EXISTS)? qualifiedName (KW_CASCADE | KW_RESTRICT)? # dropSchema - | KW_ALTER KW_SCHEMA qualifiedName KW_RENAME KW_TO identifier # renameSchema - | KW_ALTER KW_SCHEMA qualifiedName KW_SET KW_AUTHORIZATION principal # setSchemaAuthorization - | KW_CREATE (KW_OR KW_REPLACE)? KW_TABLE (KW_IF KW_NOT KW_EXISTS)? qualifiedName columnAliases? ( + )? # createSchema + | KW_DROP KW_SCHEMA (KW_IF KW_EXISTS)? schemaRef (KW_CASCADE | KW_RESTRICT)? # dropSchema + | KW_ALTER KW_SCHEMA schemaRef KW_RENAME KW_TO schemaNameCreate # renameSchema + | KW_ALTER KW_SCHEMA schemaRef KW_SET KW_AUTHORIZATION principal # setSchemaAuthorization + | KW_CREATE (KW_OR KW_REPLACE)? KW_TABLE (KW_IF KW_NOT KW_EXISTS)? tableNameCreate columnListCreate? ( KW_COMMENT string )? (KW_WITH properties)? KW_AS (rootQuery | '(' rootQuery ')') (KW_WITH (KW_NO)? KW_DATA)? # createTableAsSelect - | KW_CREATE (KW_OR KW_REPLACE)? KW_TABLE (KW_IF KW_NOT KW_EXISTS)? qualifiedName '(' tableElement ( + | KW_CREATE (KW_OR KW_REPLACE)? KW_TABLE (KW_IF KW_NOT KW_EXISTS)? tableNameCreate '(' tableElement ( ',' tableElement - )* ')' (KW_COMMENT string)? (KW_WITH properties)? # createTable - | KW_DROP KW_TABLE (KW_IF KW_EXISTS)? qualifiedName # dropTable - | KW_INSERT KW_INTO qualifiedName columnAliases? rootQuery # insertInto - | KW_DELETE KW_FROM qualifiedName (KW_WHERE booleanExpression)? # delete - | KW_TRUNCATE KW_TABLE qualifiedName # truncateTable - | KW_COMMENT KW_ON KW_TABLE qualifiedName KW_IS (string | KW_NULL) # commentTable - | KW_COMMENT KW_ON KW_VIEW qualifiedName KW_IS (string | KW_NULL) # commentView - | KW_COMMENT KW_ON KW_COLUMN qualifiedName KW_IS (string | KW_NULL) # commentColumn - | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? from=qualifiedName KW_RENAME KW_TO to=qualifiedName # renameTable - | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=qualifiedName KW_ADD KW_COLUMN ( - KW_IF KW_NOT KW_EXISTS - )? column=columnDefinition # addColumn - | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=qualifiedName KW_RENAME KW_COLUMN (KW_IF KW_EXISTS)? from=qualifiedName KW_TO to=identifier # renameColumn - | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=qualifiedName KW_DROP KW_COLUMN (KW_IF KW_EXISTS)? column=qualifiedName # dropColumn - | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=qualifiedName KW_ALTER KW_COLUMN columnRef=qualifiedName KW_SET KW_DATA KW_TYPE type # setColumnType - | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=qualifiedName KW_ALTER KW_COLUMN columnRef=identifier KW_DROP KW_NOT KW_NULL # dropNotNullConstraint - | KW_ALTER KW_TABLE tableName=qualifiedName KW_SET KW_AUTHORIZATION principal # setTableAuthorization - | KW_ALTER KW_TABLE tableName=qualifiedName KW_SET KW_PROPERTIES propertyAssignments # setTableProperties - | KW_ALTER KW_TABLE tableName=qualifiedName KW_EXECUTE procedureName=identifier ( + )* ')' (KW_COMMENT string)? (KW_WITH properties)? # createTable + | KW_DROP KW_TABLE (KW_IF KW_EXISTS)? tableRef # dropTable + | KW_INSERT KW_INTO tableRef columnList? rootQuery # insertInto + | KW_DELETE KW_FROM tableRef (KW_WHERE booleanExpression)? # delete + | KW_TRUNCATE KW_TABLE tableRef # truncateTable + | KW_COMMENT KW_ON KW_TABLE tableRef KW_IS (string | KW_NULL) # commentTable + | KW_COMMENT KW_ON KW_VIEW viewRef KW_IS (string | KW_NULL) # commentView + | KW_COMMENT KW_ON KW_COLUMN columnRef KW_IS (string | KW_NULL) # commentColumn + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? from=tableRef KW_RENAME KW_TO to=tableNameCreate # renameTable + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=tableRef KW_ADD KW_COLUMN (KW_IF KW_NOT KW_EXISTS)? column=columnDefinition # addColumn + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=tableRef KW_RENAME KW_COLUMN (KW_IF KW_EXISTS)? from=columnRef KW_TO to=columnNameCreate # renameColumn + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=tableRef KW_DROP KW_COLUMN (KW_IF KW_EXISTS)? column=columnRef # dropColumn + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=tableRef KW_ALTER KW_COLUMN column=columnRef KW_SET KW_DATA KW_TYPE type # setColumnType + | KW_ALTER KW_TABLE (KW_IF KW_EXISTS)? tableName=tableRef KW_ALTER KW_COLUMN column=columnRef KW_DROP KW_NOT KW_NULL # dropNotNullConstraint + | KW_ALTER KW_TABLE tableName=tableRef KW_SET KW_AUTHORIZATION principal # setTableAuthorization + | KW_ALTER KW_TABLE tableName=tableRef KW_SET KW_PROPERTIES propertyAssignments # setTableProperties + | KW_ALTER KW_TABLE tableName=tableRef KW_EXECUTE procedureName=functionName ( '(' (callArgument (',' callArgument)*)? ')' - )? (KW_WHERE where=booleanExpression)? # tableExecute - | KW_ANALYZE qualifiedName (KW_WITH properties)? # analyze - | KW_CREATE (KW_OR KW_REPLACE)? KW_MATERIALIZED KW_VIEW (KW_IF KW_NOT KW_EXISTS)? qualifiedName ( + )? (KW_WHERE where=booleanExpression)? # tableExecute + | KW_ANALYZE tableRef (KW_WITH properties)? # analyze + | KW_CREATE (KW_OR KW_REPLACE)? KW_MATERIALIZED KW_VIEW (KW_IF KW_NOT KW_EXISTS)? viewNameCreate ( KW_GRACE KW_PERIOD interval )? (KW_COMMENT string)? (KW_WITH properties)? KW_AS rootQuery # createMaterializedView - | KW_CREATE (KW_OR KW_REPLACE)? KW_VIEW qualifiedName (KW_COMMENT string)? ( + | KW_CREATE (KW_OR KW_REPLACE)? KW_VIEW viewNameCreate (KW_COMMENT string)? ( KW_SECURITY (KW_DEFINER | KW_INVOKER) - )? (KW_WITH properties)? KW_AS rootQuery # createView - | KW_REFRESH KW_MATERIALIZED KW_VIEW qualifiedName # refreshMaterializedView - | KW_DROP KW_MATERIALIZED KW_VIEW (KW_IF KW_EXISTS)? qualifiedName # dropMaterializedView - | KW_ALTER KW_MATERIALIZED KW_VIEW (KW_IF KW_EXISTS)? from=qualifiedName KW_RENAME KW_TO to=qualifiedName # renameMaterializedView - | KW_ALTER KW_MATERIALIZED KW_VIEW qualifiedName KW_SET KW_PROPERTIES propertyAssignments # setMaterializedViewProperties - | KW_DROP KW_VIEW (KW_IF KW_EXISTS)? qualifiedName # dropView - | KW_ALTER KW_VIEW from=qualifiedName KW_RENAME KW_TO to=qualifiedName # renameView - | KW_ALTER KW_VIEW from=qualifiedName KW_SET KW_AUTHORIZATION principal # setViewAuthorization - | KW_CALL qualifiedName '(' (callArgument (',' callArgument)*)? ')' # call - | KW_CREATE (KW_OR KW_REPLACE)? functionSpecification # createFunction - | KW_DROP KW_FUNCTION (KW_IF KW_EXISTS)? functionDeclaration # dropFunction - | KW_CREATE KW_ROLE name=identifier (KW_WITH KW_ADMIN grantor)? (KW_IN catalog=identifier)? # createRole - | KW_DROP KW_ROLE name=identifier (KW_IN catalog=identifier)? # dropRole + )? (KW_WITH properties)? KW_AS rootQuery # createView + | KW_REFRESH KW_MATERIALIZED KW_VIEW viewRef # refreshMaterializedView + | KW_DROP KW_MATERIALIZED KW_VIEW (KW_IF KW_EXISTS)? viewRef # dropMaterializedView + | KW_ALTER KW_MATERIALIZED KW_VIEW (KW_IF KW_EXISTS)? from=viewRef KW_RENAME KW_TO to=viewNameCreate # renameMaterializedView + | KW_ALTER KW_MATERIALIZED KW_VIEW viewRef KW_SET KW_PROPERTIES propertyAssignments # setMaterializedViewProperties + | KW_DROP KW_VIEW (KW_IF KW_EXISTS)? viewRef # dropView + | KW_ALTER KW_VIEW from=viewRef KW_RENAME KW_TO to=viewNameCreate # renameView + | KW_ALTER KW_VIEW from=viewRef KW_SET KW_AUTHORIZATION principal # setViewAuthorization + | KW_CALL functionName '(' (callArgument (',' callArgument)*)? ')' # call + | KW_CREATE (KW_OR KW_REPLACE)? functionSpecification # createFunction + | KW_DROP KW_FUNCTION (KW_IF KW_EXISTS)? functionDeclaration # dropFunction + | KW_CREATE KW_ROLE name=identifier (KW_WITH KW_ADMIN grantor)? (KW_IN catalog=catalogRef)? # createRole + | KW_DROP KW_ROLE name=identifier (KW_IN catalog=catalogRef)? # dropRole | KW_GRANT privilegeOrRole (',' privilegeOrRole)* KW_TO principal (',' principal)* ( KW_WITH KW_ADMIN KW_OPTION - )? (KW_GRANTED KW_BY grantor)? (KW_IN catalog=identifier)? # grantRoles + )? (KW_GRANTED KW_BY grantor)? (KW_IN catalog=catalogRef)? # grantRoles | KW_GRANT ((privilegeOrRole (',' privilegeOrRole)*) | KW_ALL KW_PRIVILEGES) KW_ON grantObject KW_TO principal ( KW_WITH KW_GRANT KW_OPTION )? # grantPrivileges | KW_REVOKE (KW_ADMIN KW_OPTION KW_FOR)? privilegeOrRole (',' privilegeOrRole)* KW_FROM principal ( ',' principal - )* (KW_GRANTED KW_BY grantor)? (KW_IN catalog=identifier)? # revokeRoles + )* (KW_GRANTED KW_BY grantor)? (KW_IN catalog=catalogRef)? # revokeRoles | KW_REVOKE (KW_GRANT KW_OPTION KW_FOR)? ( (privilegeOrRole (',' privilegeOrRole)*) | KW_ALL KW_PRIVILEGES ) KW_ON grantObject KW_FROM grantee=principal # revokePrivileges | KW_DENY (privilege (',' privilege)* | KW_ALL KW_PRIVILEGES) KW_ON grantObject KW_TO grantee=principal # deny - | KW_SET KW_ROLE (KW_ALL | KW_NONE | role=identifier) (KW_IN catalog=identifier)? # setRole + | KW_SET KW_ROLE (KW_ALL | KW_NONE | role=identifier) (KW_IN catalog=catalogRef)? # setRole | KW_SHOW KW_GRANTS (KW_ON grantObject)? # showGrants | KW_EXPLAIN ('(' explainOption (',' explainOption)* ')')? statement # explain | KW_EXPLAIN KW_ANALYZE KW_VERBOSE? statement # explainAnalyze - | KW_SHOW KW_CREATE KW_TABLE qualifiedName # showCreateTable - | KW_SHOW KW_CREATE KW_SCHEMA qualifiedName # showCreateSchema - | KW_SHOW KW_CREATE KW_VIEW qualifiedName # showCreateView - | KW_SHOW KW_CREATE KW_MATERIALIZED KW_VIEW qualifiedName # showCreateMaterializedView - | KW_SHOW KW_CREATE KW_FUNCTION qualifiedName # showCreateFunction - | KW_SHOW KW_TABLES ((KW_FROM | KW_IN) qualifiedName)? ( + | KW_SHOW KW_CREATE KW_TABLE tableRef # showCreateTable + | KW_SHOW KW_CREATE KW_SCHEMA schemaRef # showCreateSchema + | KW_SHOW KW_CREATE KW_VIEW viewRef # showCreateView + | KW_SHOW KW_CREATE KW_MATERIALIZED KW_VIEW viewRef # showCreateMaterializedView + | KW_SHOW KW_CREATE KW_FUNCTION functionName # showCreateFunction + | KW_SHOW KW_TABLES ((KW_FROM | KW_IN) schemaRef)? ( KW_LIKE pattern=string (KW_ESCAPE escape=string)? )? # showTables - | KW_SHOW KW_SCHEMAS ((KW_FROM | KW_IN) identifier)? ( + | KW_SHOW KW_SCHEMAS ((KW_FROM | KW_IN) catalogRef)? ( KW_LIKE pattern=string (KW_ESCAPE escape=string)? )? # showSchemas | KW_SHOW KW_CATALOGS (KW_LIKE pattern=string (KW_ESCAPE escape=string)?)? # showCatalogs - | KW_SHOW KW_COLUMNS (KW_FROM | KW_IN) qualifiedName ( + | KW_SHOW KW_COLUMNS (KW_FROM | KW_IN) tableOrViewName ( KW_LIKE pattern=string (KW_ESCAPE escape=string)? )? # showColumns - | KW_SHOW KW_STATS KW_FOR qualifiedName # showStats + | KW_SHOW KW_STATS KW_FOR tableOrViewName # showStats | KW_SHOW KW_STATS KW_FOR '(' rootQuery ')' # showStatsForQuery - | KW_SHOW KW_CURRENT? KW_ROLES ((KW_FROM | KW_IN) identifier)? # showRoles - | KW_SHOW KW_ROLE KW_GRANTS ((KW_FROM | KW_IN) identifier)? # showRoleGrants - | KW_DESCRIBE qualifiedName # showColumns - | KW_DESC qualifiedName # showColumns - | KW_SHOW KW_FUNCTIONS ((KW_FROM | KW_IN) qualifiedName)? ( + | KW_SHOW KW_CURRENT? KW_ROLES ((KW_FROM | KW_IN) catalogRef)? # showRoles + | KW_SHOW KW_ROLE KW_GRANTS ((KW_FROM | KW_IN) catalogRef)? # showRoleGrants + | KW_DESCRIBE tableOrViewName # showColumns + | KW_DESC tableOrViewName # showColumns + | KW_SHOW KW_FUNCTIONS ((KW_FROM | KW_IN) schemaRef)? ( KW_LIKE pattern=string (KW_ESCAPE escape=string)? )? # showFunctions | KW_SHOW KW_SESSION (KW_LIKE pattern=string (KW_ESCAPE escape=string)?)? # showSession @@ -187,12 +184,12 @@ statement | KW_DESCRIBE KW_OUTPUT identifier # describeOutput | KW_SET KW_PATH pathSpecification # setPath | KW_SET KW_TIME KW_ZONE ( KW_LOCAL | expression) # setTimeZone - | KW_UPDATE qualifiedName KW_SET updateAssignment (',' updateAssignment)* ( + | KW_UPDATE tableRef KW_SET updateAssignment (',' updateAssignment)* ( KW_WHERE where=booleanExpression - )? # update - | KW_MERGE KW_INTO qualifiedName (KW_AS? identifier)? KW_USING relation KW_ON expression mergeCase+ # merge - | KW_SHOW KW_COMMENT KW_ON KW_TABLE qualifiedName # showTableComment // dtstack - | KW_SHOW KW_COMMENT KW_ON KW_COLUMN qualifiedName # showColumnComment // dtstack + )? # update + | KW_MERGE KW_INTO tableRef (KW_AS? identifier)? KW_USING relation KW_ON expression mergeCase+ # merge + | KW_SHOW KW_COMMENT KW_ON KW_TABLE tableRef # showTableComment // dtstack + | KW_SHOW KW_COMMENT KW_ON KW_COLUMN columnRef # showColumnComment // dtstack ; rootQuery @@ -204,7 +201,7 @@ withFunction ; query - : with? queryNoWith + : with? queryNoWith # queryStatement ; with @@ -217,11 +214,11 @@ tableElement ; columnDefinition - : qualifiedName type (KW_NOT KW_NULL)? (KW_COMMENT string)? (KW_WITH properties)? + : columnNameCreate type (KW_NOT KW_NULL)? (KW_COMMENT string)? (KW_WITH properties)? ; likeClause - : KW_LIKE qualifiedName (optionType=( KW_INCLUDING | KW_EXCLUDING) KW_PROPERTIES)? + : KW_LIKE tableRef (optionType=( KW_INCLUDING | KW_EXCLUDING) KW_PROPERTIES)? ; properties @@ -273,13 +270,15 @@ queryTerm queryPrimary : querySpecification # queryPrimaryDefault - | KW_TABLE qualifiedName # table + | KW_TABLE tableRef # table | KW_VALUES expression (',' expression)* # inlineTable | '(' queryNoWith ')' # subquery ; sortItem - : expression ordering=(KW_ASC | KW_DESC)? (KW_NULLS nullOrdering=(KW_FIRST | KW_LAST))? + : (columnRef | expression) ordering=(KW_ASC | KW_DESC)? ( + KW_NULLS nullOrdering=(KW_FIRST | KW_LAST) + )? ; querySpecification @@ -302,7 +301,12 @@ groupingElement ; groupingSet - : '(' (expression (',' expression)*)? ')' + : '(' (groupingTerm (',' groupingTerm)*)? ')' + | groupingTerm + ; + +groupingTerm + : columnRef | expression ; @@ -326,7 +330,7 @@ setQuantifier ; selectItem - : expression (KW_AS? identifier)? # selectSingle + : (columnRef | expression) (KW_AS? identifier)? # selectSingle | primaryExpression '.' ASTERISK (KW_AS columnAliases)? # selectAll | ASTERISK # selectAll ; @@ -424,12 +428,20 @@ aliasedRelation : relationPrimary (KW_AS? identifier columnAliases?)? ; +columnListCreate + : '(' columnNameCreate (',' columnNameCreate)* ')' + ; + +columnList + : '(' columnRef (',' columnRef)* ')' + ; + columnAliases : '(' identifier (',' identifier)* ')' ; relationPrimary - : qualifiedName queryPeriod? # tableName + : tableOrViewName queryPeriod? # tableName | '(' query ')' # subqueryRelation | KW_UNNEST '(' expression (',' expression)* ')' (KW_WITH KW_ORDINALITY)? # unnest | KW_LATERAL '(' query ')' # lateral @@ -476,7 +488,7 @@ jsonTableDefaultPlan ; tableFunctionCall - : qualifiedName '(' (tableFunctionArgument (',' tableFunctionArgument)*)? ( + : functionName '(' (tableFunctionArgument (',' tableFunctionArgument)*)? ( KW_COPARTITION copartitionTables (',' copartitionTables)* )? ')' ; @@ -497,8 +509,8 @@ tableArgument ; tableArgumentRelation - : KW_TABLE '(' qualifiedName ')' (KW_AS? identifier columnAliases?)? # tableArgumentTable - | KW_TABLE '(' query ')' (KW_AS? identifier columnAliases?)? # tableArgumentQuery + : KW_TABLE '(' tableRef ')' (KW_AS? identifier columnAliases?)? # tableArgumentTable + | KW_TABLE '(' query ')' (KW_AS? identifier columnAliases?)? # tableArgumentQuery ; descriptorArgument @@ -561,9 +573,9 @@ primaryExpression | KW_ROW '(' expression (',' expression)* ')' # rowConstructor | name=KW_LISTAGG '(' setQuantifier? expression (',' string)? ( KW_ON KW_OVERFLOW listAggOverflowBehavior - )? ')' (KW_WITHIN KW_GROUP '(' KW_ORDER KW_BY sortItem (',' sortItem)* ')') filter? # listagg - | processingMode? qualifiedName '(' (label=identifier '.')? ASTERISK ')' filter? over? # functionCall - | processingMode? qualifiedName '(' (setQuantifier? expression (',' expression)*)? ( + )? ')' (KW_WITHIN KW_GROUP '(' KW_ORDER KW_BY sortItem (',' sortItem)* ')') filter? # listagg + | processingMode? functionName '(' (label=identifier '.')? ASTERISK ')' filter? over? # functionCall + | processingMode? functionName '(' (setQuantifier? expression (',' expression)*)? ( KW_ORDER KW_BY sortItem (',' sortItem)* )? ')' filter? (nullTreatment? over)? # functionCall | identifier over # measure @@ -859,7 +871,7 @@ functionSpecification ; functionDeclaration - : qualifiedName '(' (parameterDeclaration (',' parameterDeclaration)*)? ')' + : functionNameCreate '(' (parameterDeclaration (',' parameterDeclaration)*)? ')' ; parameterDeclaration @@ -932,6 +944,70 @@ grantObject : entityKind? qualifiedName ; +tableOrViewName + : tableRef + | viewRef + ; + +tableRef + : table= identifier + | schema= identifier '.' table= identifier + | catalog= identifier '.' schema= identifier '.' table= identifier + ; + +tableNameCreate + : table= identifier + | schema= identifier '.' table= identifier + | catalog= identifier '.' schema= identifier '.' table= identifier + ; + +viewRef + : view= identifier + | schema= identifier '.' view= identifier + | catalog= identifier '.' schema= identifier '.' view= identifier + ; + +viewNameCreate + : view= identifier + | schema= identifier '.' view= identifier + | catalog= identifier '.' schema= identifier '.' view= identifier + ; + +schemaRef + : schema= identifier + | catalog= identifier '.' schema= identifier + ; + +schemaNameCreate + : schema= identifier + | catalog= identifier '.' schema= identifier + ; + +catalogRef + : catalog= identifier + ; + +catalogNameCreate + : catalog= identifier + ; + +functionName + : qualifiedName + ; + +functionNameCreate + : qualifiedName + ; + +columnRef + : qualifiedName + | {this.shouldMatchEmpty()}? + ; + +columnNameCreate + : identifier + ; + qualifiedName : identifier ('.' identifier)* ; diff --git a/src/lib/trino/TrinoSql.interp b/src/lib/trino/TrinoSql.interp index 2b47bb1e..187d4741 100644 --- a/src/lib/trino/TrinoSql.interp +++ b/src/lib/trino/TrinoSql.interp @@ -5,9 +5,11 @@ null ',' '.' 'SKIP' +'=>' '->' '[' ']' +':' '|' '^' '$' @@ -15,7 +17,7 @@ null '-}' '{' '}' -'=>' +'ABSENT' 'ADD' 'ADMIN' 'AFTER' @@ -29,20 +31,27 @@ null 'ASC' 'AT' 'AUTHORIZATION' +'BEGIN' 'BERNOULLI' 'BETWEEN' +'BOTH' 'BY' 'CALL' +'CALLED' 'CASCADE' 'CASE' 'CAST' +'CATALOG' 'CATALOGS' 'COLUMN' 'COLUMNS' 'COMMENT' 'COMMIT' 'COMMITTED' +'CONDITIONAL' 'CONSTRAINT' +'COUNT' +'COPARTITION' 'CREATE' 'CROSS' 'CUBE' @@ -58,20 +67,28 @@ null 'DATA' 'DATE' 'DAY' -'DEFAULT' 'DEALLOCATE' +'DECLARE' +'DEFAULT' +'DEFINE' 'DEFINER' 'DELETE' +'DENY' 'DESC' 'DESCRIBE' -'DEFINE' +'DESCRIPTOR' +'DETERMINISTIC' 'DISTINCT' 'DISTRIBUTED' +'DO' 'DOUBLE' 'DROP' 'ELSE' 'EMPTY' +'ELSEIF' +'ENCODING' 'END' +'ERROR' 'ESCAPE' 'EXCEPT' 'EXCLUDING' @@ -89,11 +106,12 @@ null 'FORMAT' 'FROM' 'FULL' +'FUNCTION' 'FUNCTIONS' +'GRACE' 'GRANT' 'GRANTED' 'GRANTS' -'DENY' 'GRAPHVIZ' 'GROUP' 'GROUPING' @@ -102,6 +120,7 @@ null 'HOUR' 'IF' 'IGNORE' +'IMMEDIATE' 'IN' 'INCLUDING' 'INITIAL' @@ -115,18 +134,33 @@ null 'IO' 'IS' 'ISOLATION' +'ITERATE' 'JOIN' 'JSON' +'JSON_ARRAY' +'JSON_EXISTS' +'JSON_OBJECT' +'JSON_QUERY' +'JSON_TABLE' +'JSON_VALUE' +'KEEP' +'KEY' +'KEYS' +'LANGUAGE' 'LAST' 'LATERAL' +'LEADING' +'LEAVE' 'LEFT' 'LEVEL' 'LIKE' 'LIMIT' +'LISTAGG' 'LOCAL' 'LOCALTIME' 'LOCALTIMESTAMP' 'LOGICAL' +'LOOP' 'MAP' 'MATCH' 'MATCHED' @@ -138,6 +172,7 @@ null 'MINUTE' 'MONTH' 'NATURAL' +'NESTED' 'NEXT' 'NFC' 'NFD' @@ -150,6 +185,8 @@ null 'NULL' 'NULLIF' 'NULLS' +'OBJECT' +'OF' 'OFFSET' 'OMIT' 'ON' @@ -162,29 +199,39 @@ null 'OUTER' 'OUTPUT' 'OVER' +'OVERFLOW' 'PARTITION' 'PARTITIONS' +'PASSING' 'PAST' 'PATH' 'PATTERN' 'PER' +'PERIOD' 'PERMUTE' +'PLAN' 'POSITION' 'PRECEDING' 'PRECISION' 'PREPARE' 'PRIVILEGES' 'PROPERTIES' +'PRUNE' +'QUOTES' 'RANGE' 'READ' 'RECURSIVE' 'REFRESH' 'RENAME' +'REPEAT' 'REPEATABLE' 'REPLACE' 'RESET' 'RESPECT' 'RESTRICT' +'RETURN' +'RETURNING' +'RETURNS' 'REVOKE' 'RIGHT' 'ROLE' @@ -194,6 +241,7 @@ null 'ROW' 'ROWS' 'RUNNING' +'SCALAR' 'SCHEMA' 'SCHEMAS' 'SECOND' @@ -215,36 +263,51 @@ null 'TABLES' 'TABLESAMPLE' 'TEXT' +'STRING' 'THEN' 'TIES' 'TIME' 'TIMESTAMP' 'TO' +'TRAILING' 'TRANSACTION' -'TRUNCATE' +'TRIM' 'TRUE' +'TRUNCATE' 'TRY_CAST' 'TYPE' 'UESCAPE' 'UNBOUNDED' 'UNCOMMITTED' +'UNCONDITIONAL' 'UNION' +'UNIQUE' +'UNKNOWN' 'UNMATCHED' 'UNNEST' +'UNTIL' 'UPDATE' 'USE' 'USER' 'USING' +'UTF16' +'UTF32' +'UTF8' 'VALIDATE' +'VALUE' 'VALUES' 'VERBOSE' +'VERSION' 'VIEW' 'WHEN' 'WHERE' +'WHILE' 'WINDOW' 'WITH' +'WITHIN' 'WITHOUT' 'WORK' +'WRAPPER' 'WRITE' 'YEAR' 'ZONE' @@ -261,6 +324,7 @@ null '%' '||' '?' +';' null null null @@ -271,7 +335,6 @@ null null null null -';' null null null @@ -296,6 +359,8 @@ null null null null +null +KW_ABSENT KW_ADD KW_ADMIN KW_AFTER @@ -309,20 +374,27 @@ KW_AS KW_ASC KW_AT KW_AUTHORIZATION +KW_BEGIN KW_BERNOULLI KW_BETWEEN +KW_BOTH KW_BY KW_CALL +KW_CALLED KW_CASCADE KW_CASE KW_CAST +KW_CATALOG KW_CATALOGS KW_COLUMN KW_COLUMNS KW_COMMENT KW_COMMIT KW_COMMITTED +KW_CONDITIONAL KW_CONSTRAINT +KW_COUNT +KW_COPARTITION KW_CREATE KW_CROSS KW_CUBE @@ -338,20 +410,28 @@ KW_CURRENT_USER KW_DATA KW_DATE KW_DAY -KW_DEFAULT KW_DEALLOCATE +KW_DECLARE +KW_DEFAULT +KW_DEFINE KW_DEFINER KW_DELETE +KW_DENY KW_DESC KW_DESCRIBE -KW_DEFINE +KW_DESCRIPTOR +KW_DETERMINISTIC KW_DISTINCT KW_DISTRIBUTED +KW_DO KW_DOUBLE KW_DROP KW_ELSE KW_EMPTY +KW_ELSEIF +KW_ENCODING KW_END +KW_ERROR KW_ESCAPE KW_EXCEPT KW_EXCLUDING @@ -369,11 +449,12 @@ KW_FOR KW_FORMAT KW_FROM KW_FULL +KW_FUNCTION KW_FUNCTIONS +KW_GRACE KW_GRANT KW_GRANTED KW_GRANTS -KW_DENY KW_GRAPHVIZ KW_GROUP KW_GROUPING @@ -382,6 +463,7 @@ KW_HAVING KW_HOUR KW_IF KW_IGNORE +KW_IMMEDIATE KW_IN KW_INCLUDING KW_INITIAL @@ -395,18 +477,33 @@ KW_INVOKER KW_IO KW_IS KW_ISOLATION +KW_ITERATE KW_JOIN KW_JSON +KW_JSON_ARRAY +KW_JSON_EXISTS +KW_JSON_OBJECT +KW_JSON_QUERY +KW_JSON_TABLE +KW_JSON_VALUE +KW_KEEP +KW_KEY +KW_KEYS +KW_LANGUAGE KW_LAST KW_LATERAL +KW_LEADING +KW_LEAVE KW_LEFT KW_LEVEL KW_LIKE KW_LIMIT +KW_LISTAGG KW_LOCAL KW_LOCALTIME KW_LOCALTIMESTAMP KW_LOGICAL +KW_LOOP KW_MAP KW_MATCH KW_MATCHED @@ -418,6 +515,7 @@ KW_MERGE KW_MINUTE KW_MONTH KW_NATURAL +KW_NESTED KW_NEXT KW_NFC KW_NFD @@ -430,6 +528,8 @@ KW_NOT KW_NULL KW_NULLIF KW_NULLS +KW_OBJECT +KW_OF KW_OFFSET KW_OMIT KW_ON @@ -442,29 +542,39 @@ KW_ORDINALITY KW_OUTER KW_OUTPUT KW_OVER +KW_OVERFLOW KW_PARTITION KW_PARTITIONS +KW_PASSING KW_PAST KW_PATH KW_PATTERN KW_PER +KW_PERIOD KW_PERMUTE +KW_PLAN KW_POSITION KW_PRECEDING KW_PRECISION KW_PREPARE KW_PRIVILEGES KW_PROPERTIES +KW_PRUNE +KW_QUOTES KW_RANGE KW_READ KW_RECURSIVE KW_REFRESH KW_RENAME +KW_REPEAT KW_REPEATABLE KW_REPLACE KW_RESET KW_RESPECT KW_RESTRICT +KW_RETURN +KW_RETURNING +KW_RETURNS KW_REVOKE KW_RIGHT KW_ROLE @@ -474,6 +584,7 @@ KW_ROLLUP KW_ROW KW_ROWS KW_RUNNING +KW_SCALAR KW_SCHEMA KW_SCHEMAS KW_SECOND @@ -495,36 +606,51 @@ KW_TABLE KW_TABLES KW_TABLESAMPLE KW_TEXT +KW_TEXT_STRING KW_THEN KW_TIES KW_TIME KW_TIMESTAMP KW_TO +KW_TRAILING KW_TRANSACTION -KW_TRUNCATE +KW_TRIM KW_TRUE +KW_TRUNCATE KW_TRY_CAST KW_TYPE KW_UESCAPE KW_UNBOUNDED KW_UNCOMMITTED +KW_UNCONDITIONAL KW_UNION +KW_UNIQUE +KW_UNKNOWN KW_UNMATCHED KW_UNNEST +KW_UNTIL KW_UPDATE KW_USE KW_USER KW_USING +KW_UTF16 +KW_UTF32 +KW_UTF8 KW_VALIDATE +KW_VALUE KW_VALUES KW_VERBOSE +KW_VERSION KW_VIEW KW_WHEN KW_WHERE +KW_WHILE KW_WINDOW KW_WITH +KW_WITHIN KW_WITHOUT KW_WORK +KW_WRAPPER KW_WRITE KW_YEAR KW_ZONE @@ -541,6 +667,7 @@ SLASH PERCENT CONCAT QUESTION_MARK +SEMICOLON STRING UNICODE_STRING BINARY_LITERAL @@ -551,7 +678,6 @@ IDENTIFIER DIGIT_IDENTIFIER QUOTED_IDENTIFIER BACKQUOTED_IDENTIFIER -SEMICOLON SIMPLE_COMMENT BRACKETED_COMMENT WS @@ -561,13 +687,15 @@ DELIMITER rule names: program statements -standaloneClause singleStatement standaloneExpression standalonePathSpecification standaloneType standaloneRowPattern +standaloneFunctionSpecification statement +rootQuery +withFunction query with tableElement @@ -598,6 +726,9 @@ joinType joinCriteria sampledRelation sampleType +trimsSpecification +listAggOverflowBehavior +listaggCountIndication patternRecognition measureDefinition rowsPerMatch @@ -610,11 +741,32 @@ columnListCreate columnList columnAliases relationPrimary +jsonTableColumn +jsonTableSpecificPlan +jsonTablePathName +planPrimary +jsonTableDefaultPlan +tableFunctionCall +tableFunctionArgument +tableArgument +tableArgumentRelation +descriptorArgument +descriptorField +copartitionTables expression booleanExpression predicate valueExpression primaryExpression +jsonPathInvocation +jsonValueExpression +jsonRepresentation +jsonArgument +jsonExistsErrorBehavior +jsonValueBehavior +jsonQueryWrapperBehavior +jsonQueryBehavior +jsonObjectMember processingMode nullTreatment string @@ -645,30 +797,45 @@ levelOfIsolation callArgument pathElement pathSpecification +functionSpecification +functionDeclaration +parameterDeclaration +returnsClause +routineCharacteristic +controlStatement +caseStatementWhenClause +elseIfClause +elseClause +variableDeclaration +sqlStatementList privilege +entityKind +grantObject tableOrViewName -tableName +tableRef tableNameCreate -viewName +viewRef viewNameCreate -tablePath -viewPath -schemaName +schemaRef schemaNameCreate -schemaPath -catalogName +catalogRef catalogNameCreate functionName -columnName +functionNameCreate +columnRef columnNameCreate qualifiedName +queryPeriod +rangeType grantor principal roles +privilegeOrRole identifier number +authorizationUser nonReserved atn: -[4, 1, 277, 2607, 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, 1, 0, 5, 0, 220, 8, 0, 10, 0, 12, 0, 223, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 233, 8, 2, 1, 3, 1, 3, 3, 3, 237, 8, 3, 1, 4, 1, 4, 3, 4, 241, 8, 4, 1, 5, 1, 5, 3, 5, 245, 8, 5, 1, 6, 1, 6, 3, 6, 249, 8, 6, 1, 7, 1, 7, 3, 7, 253, 8, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 263, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 268, 8, 8, 1, 8, 1, 8, 3, 8, 272, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 278, 8, 8, 1, 8, 1, 8, 3, 8, 282, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 303, 8, 8, 1, 8, 1, 8, 3, 8, 307, 8, 8, 1, 8, 1, 8, 3, 8, 311, 8, 8, 1, 8, 1, 8, 3, 8, 315, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 323, 8, 8, 1, 8, 1, 8, 3, 8, 327, 8, 8, 1, 8, 3, 8, 330, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 337, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 344, 8, 8, 10, 8, 12, 8, 347, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 352, 8, 8, 1, 8, 1, 8, 3, 8, 356, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 362, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 369, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 378, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 387, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 401, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 410, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 416, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 423, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 433, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 440, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 448, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 456, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 483, 8, 8, 10, 8, 12, 8, 486, 9, 8, 3, 8, 488, 8, 8, 1, 8, 3, 8, 491, 8, 8, 1, 8, 1, 8, 3, 8, 495, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 501, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 506, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 513, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 518, 8, 8, 1, 8, 1, 8, 3, 8, 522, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 530, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 536, 8, 8, 1, 8, 1, 8, 3, 8, 540, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 554, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 562, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 581, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 604, 8, 8, 10, 8, 12, 8, 607, 9, 8, 3, 8, 609, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 619, 8, 8, 1, 8, 1, 8, 3, 8, 623, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 634, 8, 8, 10, 8, 12, 8, 637, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 642, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 647, 8, 8, 1, 8, 1, 8, 3, 8, 651, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 657, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 664, 8, 8, 10, 8, 12, 8, 667, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 672, 8, 8, 1, 8, 1, 8, 3, 8, 676, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 683, 8, 8, 1, 8, 1, 8, 3, 8, 687, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 693, 8, 8, 10, 8, 12, 8, 696, 9, 8, 1, 8, 1, 8, 3, 8, 700, 8, 8, 1, 8, 1, 8, 3, 8, 704, 8, 8, 1, 8, 1, 8, 3, 8, 708, 8, 8, 1, 8, 3, 8, 711, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 718, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 724, 8, 8, 10, 8, 12, 8, 727, 9, 8, 1, 8, 1, 8, 3, 8, 731, 8, 8, 1, 8, 1, 8, 3, 8, 735, 8, 8, 1, 8, 1, 8, 3, 8, 739, 8, 8, 1, 8, 3, 8, 742, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 751, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 756, 8, 8, 10, 8, 12, 8, 759, 9, 8, 1, 8, 1, 8, 3, 8, 763, 8, 8, 1, 8, 1, 8, 3, 8, 767, 8, 8, 1, 8, 1, 8, 3, 8, 771, 8, 8, 1, 8, 3, 8, 774, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 782, 8, 8, 1, 8, 3, 8, 785, 8, 8, 1, 8, 1, 8, 3, 8, 789, 8, 8, 1, 8, 3, 8, 792, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 798, 8, 8, 10, 8, 12, 8, 801, 9, 8, 1, 8, 1, 8, 3, 8, 805, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 829, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 835, 8, 8, 3, 8, 837, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 843, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 849, 8, 8, 3, 8, 851, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 859, 8, 8, 3, 8, 861, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 867, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 873, 8, 8, 3, 8, 875, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 890, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 895, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 902, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 914, 8, 8, 3, 8, 916, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 924, 8, 8, 3, 8, 926, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 942, 8, 8, 10, 8, 12, 8, 945, 9, 8, 3, 8, 947, 8, 8, 1, 8, 1, 8, 3, 8, 951, 8, 8, 1, 8, 1, 8, 3, 8, 955, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 971, 8, 8, 10, 8, 12, 8, 974, 9, 8, 3, 8, 976, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 992, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1000, 8, 8, 10, 8, 12, 8, 1003, 9, 8, 1, 8, 1, 8, 3, 8, 1007, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1013, 8, 8, 1, 8, 3, 8, 1016, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 4, 8, 1023, 8, 8, 11, 8, 12, 8, 1024, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1037, 8, 8, 1, 9, 3, 9, 1040, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 3, 10, 1046, 8, 10, 1, 10, 1, 10, 1, 10, 5, 10, 1051, 8, 10, 10, 10, 12, 10, 1054, 9, 10, 1, 11, 1, 11, 3, 11, 1058, 8, 11, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 1064, 8, 12, 1, 12, 1, 12, 3, 12, 1068, 8, 12, 1, 12, 1, 12, 3, 12, 1072, 8, 12, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 1078, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 5, 15, 1087, 8, 15, 10, 15, 12, 15, 1090, 9, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 3, 17, 1098, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 5, 18, 1106, 8, 18, 10, 18, 12, 18, 1109, 9, 18, 3, 18, 1111, 8, 18, 1, 18, 1, 18, 1, 18, 3, 18, 1116, 8, 18, 3, 18, 1118, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 1125, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 1131, 8, 18, 3, 18, 1133, 8, 18, 1, 19, 1, 19, 3, 19, 1137, 8, 19, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 1147, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 1153, 8, 21, 1, 21, 5, 21, 1156, 8, 21, 10, 21, 12, 21, 1159, 9, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 5, 22, 1168, 8, 22, 10, 22, 12, 22, 1171, 9, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 1177, 8, 22, 1, 23, 1, 23, 3, 23, 1181, 8, 23, 1, 23, 3, 23, 1184, 8, 23, 1, 23, 1, 23, 3, 23, 1188, 8, 23, 1, 24, 1, 24, 3, 24, 1192, 8, 24, 1, 24, 1, 24, 1, 24, 5, 24, 1197, 8, 24, 10, 24, 12, 24, 1200, 9, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 1206, 8, 24, 10, 24, 12, 24, 1209, 9, 24, 3, 24, 1211, 8, 24, 1, 24, 1, 24, 3, 24, 1215, 8, 24, 1, 24, 1, 24, 1, 24, 3, 24, 1220, 8, 24, 1, 24, 1, 24, 3, 24, 1224, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 1230, 8, 24, 10, 24, 12, 24, 1233, 9, 24, 3, 24, 1235, 8, 24, 1, 25, 3, 25, 1238, 8, 25, 1, 25, 1, 25, 1, 25, 5, 25, 1243, 8, 25, 10, 25, 12, 25, 1246, 9, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1254, 8, 26, 10, 26, 12, 26, 1257, 9, 26, 3, 26, 1259, 8, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1267, 8, 26, 10, 26, 12, 26, 1270, 9, 26, 3, 26, 1272, 8, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1281, 8, 26, 10, 26, 12, 26, 1284, 9, 26, 1, 26, 1, 26, 3, 26, 1288, 8, 26, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 1294, 8, 27, 10, 27, 12, 27, 1297, 9, 27, 3, 27, 1299, 8, 27, 1, 27, 1, 27, 3, 27, 1303, 8, 27, 1, 28, 1, 28, 3, 28, 1307, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 3, 30, 1316, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 1323, 8, 30, 10, 30, 12, 30, 1326, 9, 30, 3, 30, 1328, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 1335, 8, 30, 10, 30, 12, 30, 1338, 9, 30, 3, 30, 1340, 8, 30, 1, 30, 3, 30, 1343, 8, 30, 1, 31, 1, 31, 3, 31, 1347, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 33, 1, 33, 3, 33, 1358, 8, 33, 1, 33, 3, 33, 1361, 8, 33, 1, 33, 3, 33, 1364, 8, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 3, 33, 1371, 8, 33, 1, 33, 3, 33, 1374, 8, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 1393, 8, 34, 5, 34, 1395, 8, 34, 10, 34, 12, 34, 1398, 9, 34, 1, 35, 3, 35, 1401, 8, 35, 1, 35, 1, 35, 3, 35, 1405, 8, 35, 1, 35, 1, 35, 3, 35, 1409, 8, 35, 1, 35, 1, 35, 3, 35, 1413, 8, 35, 3, 35, 1415, 8, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 5, 36, 1424, 8, 36, 10, 36, 12, 36, 1427, 9, 36, 1, 36, 1, 36, 3, 36, 1431, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 1440, 8, 37, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 1452, 8, 39, 10, 39, 12, 39, 1455, 9, 39, 3, 39, 1457, 8, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 1464, 8, 39, 10, 39, 12, 39, 1467, 9, 39, 3, 39, 1469, 8, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 1475, 8, 39, 10, 39, 12, 39, 1478, 9, 39, 3, 39, 1480, 8, 39, 1, 39, 3, 39, 1483, 8, 39, 1, 39, 1, 39, 1, 39, 3, 39, 1488, 8, 39, 1, 39, 3, 39, 1491, 8, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 1501, 8, 39, 10, 39, 12, 39, 1504, 9, 39, 3, 39, 1506, 8, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 1512, 8, 39, 10, 39, 12, 39, 1515, 9, 39, 1, 39, 1, 39, 3, 39, 1519, 8, 39, 1, 39, 1, 39, 3, 39, 1523, 8, 39, 3, 39, 1525, 8, 39, 3, 39, 1527, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 1542, 8, 41, 3, 41, 1544, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 1555, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 1576, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1584, 8, 44, 10, 44, 12, 44, 1587, 9, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 3, 46, 1597, 8, 46, 1, 46, 1, 46, 3, 46, 1601, 8, 46, 3, 46, 1603, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 5, 47, 1609, 8, 47, 10, 47, 12, 47, 1612, 9, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 1620, 8, 48, 10, 48, 12, 48, 1623, 9, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 1631, 8, 49, 10, 49, 12, 49, 1634, 9, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 5, 50, 1648, 8, 50, 10, 50, 12, 50, 1651, 9, 50, 1, 50, 1, 50, 1, 50, 3, 50, 1656, 8, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 1667, 8, 50, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 3, 52, 1674, 8, 52, 1, 52, 1, 52, 3, 52, 1678, 8, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 1686, 8, 52, 10, 52, 12, 52, 1689, 9, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1701, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1709, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 5, 53, 1716, 8, 53, 10, 53, 12, 53, 1719, 9, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1724, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1732, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1738, 8, 53, 1, 53, 1, 53, 3, 53, 1742, 8, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1747, 8, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1752, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1758, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 1772, 8, 54, 10, 54, 12, 54, 1775, 9, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 4, 55, 1802, 8, 55, 11, 55, 12, 55, 1803, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1813, 8, 55, 10, 55, 12, 55, 1816, 9, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1825, 8, 55, 1, 55, 3, 55, 1828, 8, 55, 1, 55, 3, 55, 1831, 8, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1836, 8, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1841, 8, 55, 10, 55, 12, 55, 1844, 9, 55, 3, 55, 1846, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1853, 8, 55, 10, 55, 12, 55, 1856, 9, 55, 3, 55, 1858, 8, 55, 1, 55, 1, 55, 3, 55, 1862, 8, 55, 1, 55, 3, 55, 1865, 8, 55, 1, 55, 3, 55, 1868, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1881, 8, 55, 10, 55, 12, 55, 1884, 9, 55, 3, 55, 1886, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 4, 55, 1903, 8, 55, 11, 55, 12, 55, 1904, 1, 55, 1, 55, 3, 55, 1909, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 4, 55, 1915, 8, 55, 11, 55, 12, 55, 1916, 1, 55, 1, 55, 3, 55, 1921, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1944, 8, 55, 10, 55, 12, 55, 1947, 9, 55, 3, 55, 1949, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1958, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1964, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1970, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1976, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1989, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1998, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 2018, 8, 55, 10, 55, 12, 55, 2021, 9, 55, 3, 55, 2023, 8, 55, 1, 55, 3, 55, 2026, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 2036, 8, 55, 10, 55, 12, 55, 2039, 9, 55, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 2047, 8, 57, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 2053, 8, 58, 3, 58, 2055, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 2063, 8, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 3, 63, 2073, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 2079, 8, 63, 1, 64, 1, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 2091, 8, 66, 10, 66, 12, 66, 2094, 9, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 2102, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 2109, 8, 66, 1, 66, 1, 66, 1, 66, 3, 66, 2114, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 2121, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 2131, 8, 66, 1, 66, 1, 66, 1, 66, 3, 66, 2136, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 2143, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 2167, 8, 66, 10, 66, 12, 66, 2170, 9, 66, 1, 66, 1, 66, 3, 66, 2174, 8, 66, 3, 66, 2176, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 2183, 8, 66, 5, 66, 2185, 8, 66, 10, 66, 12, 66, 2188, 9, 66, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2194, 8, 67, 1, 68, 1, 68, 3, 68, 2198, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2215, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2228, 8, 71, 10, 71, 12, 71, 2231, 9, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2237, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2246, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2254, 8, 71, 10, 71, 12, 71, 2257, 9, 71, 1, 71, 1, 71, 3, 71, 2261, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2268, 8, 71, 10, 71, 12, 71, 2271, 9, 71, 1, 71, 1, 71, 3, 71, 2275, 8, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2283, 8, 72, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 2289, 8, 73, 10, 73, 12, 73, 2292, 9, 73, 3, 73, 2294, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 2300, 8, 73, 1, 73, 3, 73, 2303, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 2310, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 2316, 8, 73, 10, 73, 12, 73, 2319, 9, 73, 3, 73, 2321, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 2327, 8, 73, 10, 73, 12, 73, 2330, 9, 73, 3, 73, 2332, 8, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2358, 8, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 3, 75, 2369, 8, 75, 1, 76, 1, 76, 1, 76, 3, 76, 2374, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2381, 8, 76, 10, 76, 12, 76, 2384, 9, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 5, 77, 2394, 8, 77, 10, 77, 12, 77, 2397, 9, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 3, 77, 2411, 8, 77, 1, 78, 1, 78, 3, 78, 2415, 8, 78, 1, 78, 1, 78, 3, 78, 2419, 8, 78, 1, 78, 1, 78, 3, 78, 2423, 8, 78, 1, 78, 1, 78, 1, 78, 1, 78, 3, 78, 2429, 8, 78, 1, 78, 1, 78, 3, 78, 2433, 8, 78, 1, 78, 1, 78, 3, 78, 2437, 8, 78, 1, 78, 1, 78, 3, 78, 2441, 8, 78, 3, 78, 2443, 8, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 3, 80, 2453, 8, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2460, 8, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 3, 82, 2469, 8, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2476, 8, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 3, 84, 2483, 8, 84, 1, 85, 1, 85, 1, 85, 5, 85, 2488, 8, 85, 10, 85, 12, 85, 2491, 9, 85, 1, 86, 1, 86, 1, 87, 1, 87, 3, 87, 2497, 8, 87, 1, 88, 1, 88, 1, 89, 1, 89, 1, 90, 1, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2518, 8, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 3, 93, 2531, 8, 93, 1, 94, 1, 94, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 3, 96, 2542, 8, 96, 1, 97, 1, 97, 1, 98, 1, 98, 1, 99, 1, 99, 1, 100, 1, 100, 3, 100, 2552, 8, 100, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 5, 102, 2559, 8, 102, 10, 102, 12, 102, 2562, 9, 102, 1, 103, 1, 103, 1, 103, 3, 103, 2567, 8, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 3, 104, 2574, 8, 104, 1, 105, 1, 105, 1, 105, 5, 105, 2579, 8, 105, 10, 105, 12, 105, 2582, 9, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 3, 106, 2589, 8, 106, 1, 107, 3, 107, 2592, 8, 107, 1, 107, 1, 107, 3, 107, 2596, 8, 107, 1, 107, 1, 107, 3, 107, 2600, 8, 107, 1, 107, 3, 107, 2603, 8, 107, 1, 108, 1, 108, 1, 108, 0, 7, 42, 68, 104, 108, 110, 132, 152, 109, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 0, 27, 2, 0, 34, 34, 185, 185, 2, 0, 61, 61, 112, 112, 2, 0, 88, 88, 103, 103, 2, 0, 75, 75, 104, 104, 1, 0, 192, 193, 2, 0, 84, 84, 139, 139, 2, 0, 261, 261, 265, 265, 2, 0, 74, 74, 229, 229, 2, 0, 27, 27, 63, 63, 2, 0, 84, 84, 118, 118, 2, 0, 20, 20, 66, 66, 2, 0, 30, 30, 211, 211, 2, 0, 105, 105, 199, 199, 1, 0, 255, 256, 1, 0, 257, 259, 2, 0, 83, 83, 194, 194, 1, 0, 249, 254, 3, 0, 20, 20, 24, 24, 206, 206, 2, 0, 80, 80, 223, 223, 5, 0, 58, 58, 100, 100, 136, 137, 197, 197, 247, 247, 1, 0, 140, 143, 2, 0, 85, 85, 171, 171, 3, 0, 95, 95, 117, 117, 215, 215, 4, 0, 67, 67, 113, 113, 127, 127, 236, 236, 2, 0, 155, 155, 246, 246, 4, 0, 62, 62, 108, 108, 200, 200, 232, 232, 49, 0, 17, 20, 22, 22, 24, 25, 27, 30, 33, 34, 37, 42, 47, 47, 56, 59, 61, 61, 63, 63, 65, 65, 67, 68, 71, 71, 75, 75, 78, 78, 81, 85, 87, 87, 90, 95, 98, 98, 100, 102, 104, 105, 107, 107, 110, 110, 112, 113, 115, 115, 117, 119, 121, 121, 123, 124, 127, 137, 139, 145, 149, 152, 154, 156, 159, 159, 161, 172, 174, 177, 179, 186, 188, 190, 192, 199, 201, 211, 213, 215, 217, 222, 224, 225, 227, 228, 230, 230, 232, 234, 236, 236, 238, 239, 242, 242, 244, 248, 3008, 0, 221, 1, 0, 0, 0, 2, 226, 1, 0, 0, 0, 4, 232, 1, 0, 0, 0, 6, 234, 1, 0, 0, 0, 8, 238, 1, 0, 0, 0, 10, 242, 1, 0, 0, 0, 12, 246, 1, 0, 0, 0, 14, 250, 1, 0, 0, 0, 16, 1036, 1, 0, 0, 0, 18, 1039, 1, 0, 0, 0, 20, 1043, 1, 0, 0, 0, 22, 1057, 1, 0, 0, 0, 24, 1059, 1, 0, 0, 0, 26, 1073, 1, 0, 0, 0, 28, 1079, 1, 0, 0, 0, 30, 1083, 1, 0, 0, 0, 32, 1091, 1, 0, 0, 0, 34, 1097, 1, 0, 0, 0, 36, 1099, 1, 0, 0, 0, 38, 1136, 1, 0, 0, 0, 40, 1138, 1, 0, 0, 0, 42, 1140, 1, 0, 0, 0, 44, 1176, 1, 0, 0, 0, 46, 1180, 1, 0, 0, 0, 48, 1189, 1, 0, 0, 0, 50, 1237, 1, 0, 0, 0, 52, 1287, 1, 0, 0, 0, 54, 1302, 1, 0, 0, 0, 56, 1306, 1, 0, 0, 0, 58, 1308, 1, 0, 0, 0, 60, 1315, 1, 0, 0, 0, 62, 1344, 1, 0, 0, 0, 64, 1353, 1, 0, 0, 0, 66, 1373, 1, 0, 0, 0, 68, 1375, 1, 0, 0, 0, 70, 1414, 1, 0, 0, 0, 72, 1430, 1, 0, 0, 0, 74, 1432, 1, 0, 0, 0, 76, 1441, 1, 0, 0, 0, 78, 1443, 1, 0, 0, 0, 80, 1528, 1, 0, 0, 0, 82, 1543, 1, 0, 0, 0, 84, 1554, 1, 0, 0, 0, 86, 1575, 1, 0, 0, 0, 88, 1577, 1, 0, 0, 0, 90, 1590, 1, 0, 0, 0, 92, 1594, 1, 0, 0, 0, 94, 1604, 1, 0, 0, 0, 96, 1615, 1, 0, 0, 0, 98, 1626, 1, 0, 0, 0, 100, 1666, 1, 0, 0, 0, 102, 1668, 1, 0, 0, 0, 104, 1677, 1, 0, 0, 0, 106, 1751, 1, 0, 0, 0, 108, 1757, 1, 0, 0, 0, 110, 2025, 1, 0, 0, 0, 112, 2040, 1, 0, 0, 0, 114, 2046, 1, 0, 0, 0, 116, 2054, 1, 0, 0, 0, 118, 2062, 1, 0, 0, 0, 120, 2064, 1, 0, 0, 0, 122, 2066, 1, 0, 0, 0, 124, 2068, 1, 0, 0, 0, 126, 2070, 1, 0, 0, 0, 128, 2080, 1, 0, 0, 0, 130, 2082, 1, 0, 0, 0, 132, 2175, 1, 0, 0, 0, 134, 2193, 1, 0, 0, 0, 136, 2197, 1, 0, 0, 0, 138, 2199, 1, 0, 0, 0, 140, 2204, 1, 0, 0, 0, 142, 2274, 1, 0, 0, 0, 144, 2276, 1, 0, 0, 0, 146, 2293, 1, 0, 0, 0, 148, 2357, 1, 0, 0, 0, 150, 2368, 1, 0, 0, 0, 152, 2370, 1, 0, 0, 0, 154, 2410, 1, 0, 0, 0, 156, 2442, 1, 0, 0, 0, 158, 2444, 1, 0, 0, 0, 160, 2452, 1, 0, 0, 0, 162, 2459, 1, 0, 0, 0, 164, 2468, 1, 0, 0, 0, 166, 2475, 1, 0, 0, 0, 168, 2482, 1, 0, 0, 0, 170, 2484, 1, 0, 0, 0, 172, 2492, 1, 0, 0, 0, 174, 2496, 1, 0, 0, 0, 176, 2498, 1, 0, 0, 0, 178, 2500, 1, 0, 0, 0, 180, 2502, 1, 0, 0, 0, 182, 2504, 1, 0, 0, 0, 184, 2517, 1, 0, 0, 0, 186, 2530, 1, 0, 0, 0, 188, 2532, 1, 0, 0, 0, 190, 2534, 1, 0, 0, 0, 192, 2541, 1, 0, 0, 0, 194, 2543, 1, 0, 0, 0, 196, 2545, 1, 0, 0, 0, 198, 2547, 1, 0, 0, 0, 200, 2551, 1, 0, 0, 0, 202, 2553, 1, 0, 0, 0, 204, 2555, 1, 0, 0, 0, 206, 2566, 1, 0, 0, 0, 208, 2573, 1, 0, 0, 0, 210, 2575, 1, 0, 0, 0, 212, 2588, 1, 0, 0, 0, 214, 2602, 1, 0, 0, 0, 216, 2604, 1, 0, 0, 0, 218, 220, 3, 2, 1, 0, 219, 218, 1, 0, 0, 0, 220, 223, 1, 0, 0, 0, 221, 219, 1, 0, 0, 0, 221, 222, 1, 0, 0, 0, 222, 224, 1, 0, 0, 0, 223, 221, 1, 0, 0, 0, 224, 225, 5, 0, 0, 1, 225, 1, 1, 0, 0, 0, 226, 227, 3, 6, 3, 0, 227, 3, 1, 0, 0, 0, 228, 233, 3, 8, 4, 0, 229, 233, 3, 10, 5, 0, 230, 233, 3, 12, 6, 0, 231, 233, 3, 14, 7, 0, 232, 228, 1, 0, 0, 0, 232, 229, 1, 0, 0, 0, 232, 230, 1, 0, 0, 0, 232, 231, 1, 0, 0, 0, 233, 5, 1, 0, 0, 0, 234, 236, 3, 16, 8, 0, 235, 237, 5, 272, 0, 0, 236, 235, 1, 0, 0, 0, 236, 237, 1, 0, 0, 0, 237, 7, 1, 0, 0, 0, 238, 240, 3, 102, 51, 0, 239, 241, 5, 272, 0, 0, 240, 239, 1, 0, 0, 0, 240, 241, 1, 0, 0, 0, 241, 9, 1, 0, 0, 0, 242, 244, 3, 170, 85, 0, 243, 245, 5, 272, 0, 0, 244, 243, 1, 0, 0, 0, 244, 245, 1, 0, 0, 0, 245, 11, 1, 0, 0, 0, 246, 248, 3, 132, 66, 0, 247, 249, 5, 272, 0, 0, 248, 247, 1, 0, 0, 0, 248, 249, 1, 0, 0, 0, 249, 13, 1, 0, 0, 0, 250, 252, 3, 152, 76, 0, 251, 253, 5, 272, 0, 0, 252, 251, 1, 0, 0, 0, 252, 253, 1, 0, 0, 0, 253, 15, 1, 0, 0, 0, 254, 1037, 3, 18, 9, 0, 255, 256, 5, 233, 0, 0, 256, 1037, 3, 188, 94, 0, 257, 258, 5, 44, 0, 0, 258, 262, 5, 195, 0, 0, 259, 260, 5, 101, 0, 0, 260, 261, 5, 147, 0, 0, 261, 263, 5, 77, 0, 0, 262, 259, 1, 0, 0, 0, 262, 263, 1, 0, 0, 0, 263, 264, 1, 0, 0, 0, 264, 267, 3, 190, 95, 0, 265, 266, 5, 29, 0, 0, 266, 268, 3, 208, 104, 0, 267, 265, 1, 0, 0, 0, 267, 268, 1, 0, 0, 0, 268, 271, 1, 0, 0, 0, 269, 270, 5, 243, 0, 0, 270, 272, 3, 28, 14, 0, 271, 269, 1, 0, 0, 0, 271, 272, 1, 0, 0, 0, 272, 1037, 1, 0, 0, 0, 273, 274, 5, 69, 0, 0, 274, 277, 5, 195, 0, 0, 275, 276, 5, 101, 0, 0, 276, 278, 5, 77, 0, 0, 277, 275, 1, 0, 0, 0, 277, 278, 1, 0, 0, 0, 278, 279, 1, 0, 0, 0, 279, 281, 3, 188, 94, 0, 280, 282, 7, 0, 0, 0, 281, 280, 1, 0, 0, 0, 281, 282, 1, 0, 0, 0, 282, 1037, 1, 0, 0, 0, 283, 284, 5, 21, 0, 0, 284, 285, 5, 195, 0, 0, 285, 286, 3, 188, 94, 0, 286, 287, 5, 180, 0, 0, 287, 288, 5, 220, 0, 0, 288, 289, 3, 190, 95, 0, 289, 1037, 1, 0, 0, 0, 290, 291, 5, 21, 0, 0, 291, 292, 5, 195, 0, 0, 292, 293, 3, 188, 94, 0, 293, 294, 5, 203, 0, 0, 294, 295, 5, 29, 0, 0, 295, 296, 3, 208, 104, 0, 296, 1037, 1, 0, 0, 0, 297, 298, 5, 44, 0, 0, 298, 302, 5, 212, 0, 0, 299, 300, 5, 101, 0, 0, 300, 301, 5, 147, 0, 0, 301, 303, 5, 77, 0, 0, 302, 299, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 306, 3, 178, 89, 0, 305, 307, 3, 94, 47, 0, 306, 305, 1, 0, 0, 0, 306, 307, 1, 0, 0, 0, 307, 310, 1, 0, 0, 0, 308, 309, 5, 40, 0, 0, 309, 311, 3, 116, 58, 0, 310, 308, 1, 0, 0, 0, 310, 311, 1, 0, 0, 0, 311, 314, 1, 0, 0, 0, 312, 313, 5, 243, 0, 0, 313, 315, 3, 28, 14, 0, 314, 312, 1, 0, 0, 0, 314, 315, 1, 0, 0, 0, 315, 316, 1, 0, 0, 0, 316, 322, 5, 26, 0, 0, 317, 323, 3, 18, 9, 0, 318, 319, 5, 1, 0, 0, 319, 320, 3, 18, 9, 0, 320, 321, 5, 2, 0, 0, 321, 323, 1, 0, 0, 0, 322, 317, 1, 0, 0, 0, 322, 318, 1, 0, 0, 0, 323, 329, 1, 0, 0, 0, 324, 326, 5, 243, 0, 0, 325, 327, 5, 144, 0, 0, 326, 325, 1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 328, 1, 0, 0, 0, 328, 330, 5, 56, 0, 0, 329, 324, 1, 0, 0, 0, 329, 330, 1, 0, 0, 0, 330, 1037, 1, 0, 0, 0, 331, 332, 5, 44, 0, 0, 332, 336, 5, 212, 0, 0, 333, 334, 5, 101, 0, 0, 334, 335, 5, 147, 0, 0, 335, 337, 5, 77, 0, 0, 336, 333, 1, 0, 0, 0, 336, 337, 1, 0, 0, 0, 337, 338, 1, 0, 0, 0, 338, 339, 3, 178, 89, 0, 339, 340, 5, 1, 0, 0, 340, 345, 3, 22, 11, 0, 341, 342, 5, 3, 0, 0, 342, 344, 3, 22, 11, 0, 343, 341, 1, 0, 0, 0, 344, 347, 1, 0, 0, 0, 345, 343, 1, 0, 0, 0, 345, 346, 1, 0, 0, 0, 346, 348, 1, 0, 0, 0, 347, 345, 1, 0, 0, 0, 348, 351, 5, 2, 0, 0, 349, 350, 5, 40, 0, 0, 350, 352, 3, 116, 58, 0, 351, 349, 1, 0, 0, 0, 351, 352, 1, 0, 0, 0, 352, 355, 1, 0, 0, 0, 353, 354, 5, 243, 0, 0, 354, 356, 3, 28, 14, 0, 355, 353, 1, 0, 0, 0, 355, 356, 1, 0, 0, 0, 356, 1037, 1, 0, 0, 0, 357, 358, 5, 69, 0, 0, 358, 361, 5, 212, 0, 0, 359, 360, 5, 101, 0, 0, 360, 362, 5, 77, 0, 0, 361, 359, 1, 0, 0, 0, 361, 362, 1, 0, 0, 0, 362, 363, 1, 0, 0, 0, 363, 1037, 3, 176, 88, 0, 364, 365, 5, 108, 0, 0, 365, 366, 5, 111, 0, 0, 366, 368, 3, 176, 88, 0, 367, 369, 3, 96, 48, 0, 368, 367, 1, 0, 0, 0, 368, 369, 1, 0, 0, 0, 369, 370, 1, 0, 0, 0, 370, 371, 3, 18, 9, 0, 371, 1037, 1, 0, 0, 0, 372, 373, 5, 62, 0, 0, 373, 374, 5, 88, 0, 0, 374, 377, 3, 176, 88, 0, 375, 376, 5, 241, 0, 0, 376, 378, 3, 104, 52, 0, 377, 375, 1, 0, 0, 0, 377, 378, 1, 0, 0, 0, 378, 1037, 1, 0, 0, 0, 379, 380, 5, 222, 0, 0, 380, 381, 5, 212, 0, 0, 381, 1037, 3, 176, 88, 0, 382, 383, 5, 21, 0, 0, 383, 386, 5, 212, 0, 0, 384, 385, 5, 101, 0, 0, 385, 387, 5, 77, 0, 0, 386, 384, 1, 0, 0, 0, 386, 387, 1, 0, 0, 0, 387, 388, 1, 0, 0, 0, 388, 389, 3, 176, 88, 0, 389, 390, 5, 180, 0, 0, 390, 391, 5, 220, 0, 0, 391, 392, 3, 178, 89, 0, 392, 1037, 1, 0, 0, 0, 393, 394, 5, 40, 0, 0, 394, 395, 5, 153, 0, 0, 395, 396, 5, 212, 0, 0, 396, 397, 3, 176, 88, 0, 397, 400, 5, 114, 0, 0, 398, 401, 3, 116, 58, 0, 399, 401, 5, 148, 0, 0, 400, 398, 1, 0, 0, 0, 400, 399, 1, 0, 0, 0, 401, 1037, 1, 0, 0, 0, 402, 403, 5, 40, 0, 0, 403, 404, 5, 153, 0, 0, 404, 405, 5, 38, 0, 0, 405, 406, 3, 200, 100, 0, 406, 409, 5, 114, 0, 0, 407, 410, 3, 116, 58, 0, 408, 410, 5, 148, 0, 0, 409, 407, 1, 0, 0, 0, 409, 408, 1, 0, 0, 0, 410, 1037, 1, 0, 0, 0, 411, 412, 5, 21, 0, 0, 412, 415, 5, 212, 0, 0, 413, 414, 5, 101, 0, 0, 414, 416, 5, 77, 0, 0, 415, 413, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 417, 1, 0, 0, 0, 417, 418, 3, 176, 88, 0, 418, 419, 5, 180, 0, 0, 419, 422, 5, 38, 0, 0, 420, 421, 5, 101, 0, 0, 421, 423, 5, 77, 0, 0, 422, 420, 1, 0, 0, 0, 422, 423, 1, 0, 0, 0, 423, 424, 1, 0, 0, 0, 424, 425, 3, 200, 100, 0, 425, 426, 5, 220, 0, 0, 426, 427, 3, 202, 101, 0, 427, 1037, 1, 0, 0, 0, 428, 429, 5, 21, 0, 0, 429, 432, 5, 212, 0, 0, 430, 431, 5, 101, 0, 0, 431, 433, 5, 77, 0, 0, 432, 430, 1, 0, 0, 0, 432, 433, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, 434, 435, 3, 176, 88, 0, 435, 436, 5, 69, 0, 0, 436, 439, 5, 38, 0, 0, 437, 438, 5, 101, 0, 0, 438, 440, 5, 77, 0, 0, 439, 437, 1, 0, 0, 0, 439, 440, 1, 0, 0, 0, 440, 441, 1, 0, 0, 0, 441, 442, 3, 200, 100, 0, 442, 1037, 1, 0, 0, 0, 443, 444, 5, 21, 0, 0, 444, 447, 5, 212, 0, 0, 445, 446, 5, 101, 0, 0, 446, 448, 5, 77, 0, 0, 447, 445, 1, 0, 0, 0, 447, 448, 1, 0, 0, 0, 448, 449, 1, 0, 0, 0, 449, 450, 3, 176, 88, 0, 450, 451, 5, 17, 0, 0, 451, 455, 5, 38, 0, 0, 452, 453, 5, 101, 0, 0, 453, 454, 5, 147, 0, 0, 454, 456, 5, 77, 0, 0, 455, 452, 1, 0, 0, 0, 455, 456, 1, 0, 0, 0, 456, 457, 1, 0, 0, 0, 457, 458, 3, 24, 12, 0, 458, 1037, 1, 0, 0, 0, 459, 460, 5, 21, 0, 0, 460, 461, 5, 212, 0, 0, 461, 462, 3, 176, 88, 0, 462, 463, 5, 203, 0, 0, 463, 464, 5, 29, 0, 0, 464, 465, 3, 208, 104, 0, 465, 1037, 1, 0, 0, 0, 466, 467, 5, 21, 0, 0, 467, 468, 5, 212, 0, 0, 468, 469, 3, 176, 88, 0, 469, 470, 5, 203, 0, 0, 470, 471, 5, 175, 0, 0, 471, 472, 3, 30, 15, 0, 472, 1037, 1, 0, 0, 0, 473, 474, 5, 21, 0, 0, 474, 475, 5, 212, 0, 0, 475, 476, 3, 176, 88, 0, 476, 477, 5, 76, 0, 0, 477, 490, 3, 212, 106, 0, 478, 487, 5, 1, 0, 0, 479, 484, 3, 166, 83, 0, 480, 481, 5, 3, 0, 0, 481, 483, 3, 166, 83, 0, 482, 480, 1, 0, 0, 0, 483, 486, 1, 0, 0, 0, 484, 482, 1, 0, 0, 0, 484, 485, 1, 0, 0, 0, 485, 488, 1, 0, 0, 0, 486, 484, 1, 0, 0, 0, 487, 479, 1, 0, 0, 0, 487, 488, 1, 0, 0, 0, 488, 489, 1, 0, 0, 0, 489, 491, 5, 2, 0, 0, 490, 478, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, 494, 1, 0, 0, 0, 492, 493, 5, 241, 0, 0, 493, 495, 3, 104, 52, 0, 494, 492, 1, 0, 0, 0, 494, 495, 1, 0, 0, 0, 495, 1037, 1, 0, 0, 0, 496, 497, 5, 22, 0, 0, 497, 500, 3, 176, 88, 0, 498, 499, 5, 243, 0, 0, 499, 501, 3, 28, 14, 0, 500, 498, 1, 0, 0, 0, 500, 501, 1, 0, 0, 0, 501, 1037, 1, 0, 0, 0, 502, 505, 5, 44, 0, 0, 503, 504, 5, 157, 0, 0, 504, 506, 5, 182, 0, 0, 505, 503, 1, 0, 0, 0, 505, 506, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 508, 5, 133, 0, 0, 508, 512, 5, 239, 0, 0, 509, 510, 5, 101, 0, 0, 510, 511, 5, 147, 0, 0, 511, 513, 5, 77, 0, 0, 512, 509, 1, 0, 0, 0, 512, 513, 1, 0, 0, 0, 513, 514, 1, 0, 0, 0, 514, 517, 3, 182, 91, 0, 515, 516, 5, 40, 0, 0, 516, 518, 3, 116, 58, 0, 517, 515, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 521, 1, 0, 0, 0, 519, 520, 5, 243, 0, 0, 520, 522, 3, 28, 14, 0, 521, 519, 1, 0, 0, 0, 521, 522, 1, 0, 0, 0, 522, 523, 1, 0, 0, 0, 523, 524, 5, 26, 0, 0, 524, 525, 3, 18, 9, 0, 525, 1037, 1, 0, 0, 0, 526, 529, 5, 44, 0, 0, 527, 528, 5, 157, 0, 0, 528, 530, 5, 182, 0, 0, 529, 527, 1, 0, 0, 0, 529, 530, 1, 0, 0, 0, 530, 531, 1, 0, 0, 0, 531, 532, 5, 239, 0, 0, 532, 535, 3, 182, 91, 0, 533, 534, 5, 40, 0, 0, 534, 536, 3, 116, 58, 0, 535, 533, 1, 0, 0, 0, 535, 536, 1, 0, 0, 0, 536, 539, 1, 0, 0, 0, 537, 538, 5, 198, 0, 0, 538, 540, 7, 1, 0, 0, 539, 537, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 541, 1, 0, 0, 0, 541, 542, 5, 26, 0, 0, 542, 543, 3, 18, 9, 0, 543, 1037, 1, 0, 0, 0, 544, 545, 5, 179, 0, 0, 545, 546, 5, 133, 0, 0, 546, 547, 5, 239, 0, 0, 547, 1037, 3, 180, 90, 0, 548, 549, 5, 69, 0, 0, 549, 550, 5, 133, 0, 0, 550, 553, 5, 239, 0, 0, 551, 552, 5, 101, 0, 0, 552, 554, 5, 77, 0, 0, 553, 551, 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 1037, 3, 180, 90, 0, 556, 557, 5, 21, 0, 0, 557, 558, 5, 133, 0, 0, 558, 561, 5, 239, 0, 0, 559, 560, 5, 101, 0, 0, 560, 562, 5, 77, 0, 0, 561, 559, 1, 0, 0, 0, 561, 562, 1, 0, 0, 0, 562, 563, 1, 0, 0, 0, 563, 564, 3, 180, 90, 0, 564, 565, 5, 180, 0, 0, 565, 566, 5, 220, 0, 0, 566, 567, 3, 182, 91, 0, 567, 1037, 1, 0, 0, 0, 568, 569, 5, 21, 0, 0, 569, 570, 5, 133, 0, 0, 570, 571, 5, 239, 0, 0, 571, 572, 3, 180, 90, 0, 572, 573, 5, 203, 0, 0, 573, 574, 5, 175, 0, 0, 574, 575, 3, 30, 15, 0, 575, 1037, 1, 0, 0, 0, 576, 577, 5, 69, 0, 0, 577, 580, 5, 239, 0, 0, 578, 579, 5, 101, 0, 0, 579, 581, 5, 77, 0, 0, 580, 578, 1, 0, 0, 0, 580, 581, 1, 0, 0, 0, 581, 582, 1, 0, 0, 0, 582, 1037, 3, 180, 90, 0, 583, 584, 5, 21, 0, 0, 584, 585, 5, 239, 0, 0, 585, 586, 3, 180, 90, 0, 586, 587, 5, 180, 0, 0, 587, 588, 5, 220, 0, 0, 588, 589, 3, 182, 91, 0, 589, 1037, 1, 0, 0, 0, 590, 591, 5, 21, 0, 0, 591, 592, 5, 239, 0, 0, 592, 593, 3, 180, 90, 0, 593, 594, 5, 203, 0, 0, 594, 595, 5, 29, 0, 0, 595, 596, 3, 208, 104, 0, 596, 1037, 1, 0, 0, 0, 597, 598, 5, 33, 0, 0, 598, 599, 3, 198, 99, 0, 599, 608, 5, 1, 0, 0, 600, 605, 3, 166, 83, 0, 601, 602, 5, 3, 0, 0, 602, 604, 3, 166, 83, 0, 603, 601, 1, 0, 0, 0, 604, 607, 1, 0, 0, 0, 605, 603, 1, 0, 0, 0, 605, 606, 1, 0, 0, 0, 606, 609, 1, 0, 0, 0, 607, 605, 1, 0, 0, 0, 608, 600, 1, 0, 0, 0, 608, 609, 1, 0, 0, 0, 609, 610, 1, 0, 0, 0, 610, 611, 5, 2, 0, 0, 611, 1037, 1, 0, 0, 0, 612, 613, 5, 44, 0, 0, 613, 614, 5, 188, 0, 0, 614, 618, 3, 212, 106, 0, 615, 616, 5, 243, 0, 0, 616, 617, 5, 18, 0, 0, 617, 619, 3, 206, 103, 0, 618, 615, 1, 0, 0, 0, 618, 619, 1, 0, 0, 0, 619, 622, 1, 0, 0, 0, 620, 621, 5, 103, 0, 0, 621, 623, 3, 194, 97, 0, 622, 620, 1, 0, 0, 0, 622, 623, 1, 0, 0, 0, 623, 1037, 1, 0, 0, 0, 624, 625, 5, 69, 0, 0, 625, 626, 5, 188, 0, 0, 626, 1037, 3, 212, 106, 0, 627, 628, 5, 91, 0, 0, 628, 629, 3, 210, 105, 0, 629, 630, 5, 220, 0, 0, 630, 635, 3, 208, 104, 0, 631, 632, 5, 3, 0, 0, 632, 634, 3, 208, 104, 0, 633, 631, 1, 0, 0, 0, 634, 637, 1, 0, 0, 0, 635, 633, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 641, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 638, 639, 5, 243, 0, 0, 639, 640, 5, 18, 0, 0, 640, 642, 5, 156, 0, 0, 641, 638, 1, 0, 0, 0, 641, 642, 1, 0, 0, 0, 642, 646, 1, 0, 0, 0, 643, 644, 5, 92, 0, 0, 644, 645, 5, 32, 0, 0, 645, 647, 3, 206, 103, 0, 646, 643, 1, 0, 0, 0, 646, 647, 1, 0, 0, 0, 647, 650, 1, 0, 0, 0, 648, 649, 5, 103, 0, 0, 649, 651, 3, 194, 97, 0, 650, 648, 1, 0, 0, 0, 650, 651, 1, 0, 0, 0, 651, 1037, 1, 0, 0, 0, 652, 656, 5, 186, 0, 0, 653, 654, 5, 18, 0, 0, 654, 655, 5, 156, 0, 0, 655, 657, 5, 86, 0, 0, 656, 653, 1, 0, 0, 0, 656, 657, 1, 0, 0, 0, 657, 658, 1, 0, 0, 0, 658, 659, 3, 210, 105, 0, 659, 660, 5, 88, 0, 0, 660, 665, 3, 208, 104, 0, 661, 662, 5, 3, 0, 0, 662, 664, 3, 208, 104, 0, 663, 661, 1, 0, 0, 0, 664, 667, 1, 0, 0, 0, 665, 663, 1, 0, 0, 0, 665, 666, 1, 0, 0, 0, 666, 671, 1, 0, 0, 0, 667, 665, 1, 0, 0, 0, 668, 669, 5, 92, 0, 0, 669, 670, 5, 32, 0, 0, 670, 672, 3, 206, 103, 0, 671, 668, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 675, 1, 0, 0, 0, 673, 674, 5, 103, 0, 0, 674, 676, 3, 194, 97, 0, 675, 673, 1, 0, 0, 0, 675, 676, 1, 0, 0, 0, 676, 1037, 1, 0, 0, 0, 677, 678, 5, 203, 0, 0, 678, 682, 5, 188, 0, 0, 679, 683, 5, 20, 0, 0, 680, 683, 5, 145, 0, 0, 681, 683, 3, 212, 106, 0, 682, 679, 1, 0, 0, 0, 682, 680, 1, 0, 0, 0, 682, 681, 1, 0, 0, 0, 683, 686, 1, 0, 0, 0, 684, 685, 5, 103, 0, 0, 685, 687, 3, 194, 97, 0, 686, 684, 1, 0, 0, 0, 686, 687, 1, 0, 0, 0, 687, 1037, 1, 0, 0, 0, 688, 699, 5, 91, 0, 0, 689, 694, 3, 172, 86, 0, 690, 691, 5, 3, 0, 0, 691, 693, 3, 172, 86, 0, 692, 690, 1, 0, 0, 0, 693, 696, 1, 0, 0, 0, 694, 692, 1, 0, 0, 0, 694, 695, 1, 0, 0, 0, 695, 700, 1, 0, 0, 0, 696, 694, 1, 0, 0, 0, 697, 698, 5, 20, 0, 0, 698, 700, 5, 174, 0, 0, 699, 689, 1, 0, 0, 0, 699, 697, 1, 0, 0, 0, 700, 701, 1, 0, 0, 0, 701, 710, 5, 153, 0, 0, 702, 704, 5, 195, 0, 0, 703, 702, 1, 0, 0, 0, 703, 704, 1, 0, 0, 0, 704, 705, 1, 0, 0, 0, 705, 711, 3, 188, 94, 0, 706, 708, 5, 212, 0, 0, 707, 706, 1, 0, 0, 0, 707, 708, 1, 0, 0, 0, 708, 709, 1, 0, 0, 0, 709, 711, 3, 176, 88, 0, 710, 703, 1, 0, 0, 0, 710, 707, 1, 0, 0, 0, 710, 711, 1, 0, 0, 0, 711, 712, 1, 0, 0, 0, 712, 713, 5, 220, 0, 0, 713, 717, 3, 208, 104, 0, 714, 715, 5, 243, 0, 0, 715, 716, 5, 91, 0, 0, 716, 718, 5, 156, 0, 0, 717, 714, 1, 0, 0, 0, 717, 718, 1, 0, 0, 0, 718, 1037, 1, 0, 0, 0, 719, 730, 5, 94, 0, 0, 720, 725, 3, 172, 86, 0, 721, 722, 5, 3, 0, 0, 722, 724, 3, 172, 86, 0, 723, 721, 1, 0, 0, 0, 724, 727, 1, 0, 0, 0, 725, 723, 1, 0, 0, 0, 725, 726, 1, 0, 0, 0, 726, 731, 1, 0, 0, 0, 727, 725, 1, 0, 0, 0, 728, 729, 5, 20, 0, 0, 729, 731, 5, 174, 0, 0, 730, 720, 1, 0, 0, 0, 730, 728, 1, 0, 0, 0, 731, 732, 1, 0, 0, 0, 732, 741, 5, 153, 0, 0, 733, 735, 5, 195, 0, 0, 734, 733, 1, 0, 0, 0, 734, 735, 1, 0, 0, 0, 735, 736, 1, 0, 0, 0, 736, 742, 3, 188, 94, 0, 737, 739, 5, 212, 0, 0, 738, 737, 1, 0, 0, 0, 738, 739, 1, 0, 0, 0, 739, 740, 1, 0, 0, 0, 740, 742, 3, 176, 88, 0, 741, 734, 1, 0, 0, 0, 741, 738, 1, 0, 0, 0, 742, 743, 1, 0, 0, 0, 743, 744, 5, 220, 0, 0, 744, 745, 3, 208, 104, 0, 745, 1037, 1, 0, 0, 0, 746, 750, 5, 186, 0, 0, 747, 748, 5, 91, 0, 0, 748, 749, 5, 156, 0, 0, 749, 751, 5, 86, 0, 0, 750, 747, 1, 0, 0, 0, 750, 751, 1, 0, 0, 0, 751, 762, 1, 0, 0, 0, 752, 757, 3, 172, 86, 0, 753, 754, 5, 3, 0, 0, 754, 756, 3, 172, 86, 0, 755, 753, 1, 0, 0, 0, 756, 759, 1, 0, 0, 0, 757, 755, 1, 0, 0, 0, 757, 758, 1, 0, 0, 0, 758, 763, 1, 0, 0, 0, 759, 757, 1, 0, 0, 0, 760, 761, 5, 20, 0, 0, 761, 763, 5, 174, 0, 0, 762, 752, 1, 0, 0, 0, 762, 760, 1, 0, 0, 0, 763, 764, 1, 0, 0, 0, 764, 773, 5, 153, 0, 0, 765, 767, 5, 195, 0, 0, 766, 765, 1, 0, 0, 0, 766, 767, 1, 0, 0, 0, 767, 768, 1, 0, 0, 0, 768, 774, 3, 188, 94, 0, 769, 771, 5, 212, 0, 0, 770, 769, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 774, 3, 176, 88, 0, 773, 766, 1, 0, 0, 0, 773, 770, 1, 0, 0, 0, 773, 774, 1, 0, 0, 0, 774, 775, 1, 0, 0, 0, 775, 776, 5, 88, 0, 0, 776, 1037, 3, 208, 104, 0, 777, 778, 5, 205, 0, 0, 778, 784, 5, 93, 0, 0, 779, 781, 5, 153, 0, 0, 780, 782, 5, 212, 0, 0, 781, 780, 1, 0, 0, 0, 781, 782, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 785, 3, 176, 88, 0, 784, 779, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 1037, 1, 0, 0, 0, 786, 788, 5, 78, 0, 0, 787, 789, 5, 22, 0, 0, 788, 787, 1, 0, 0, 0, 788, 789, 1, 0, 0, 0, 789, 791, 1, 0, 0, 0, 790, 792, 5, 238, 0, 0, 791, 790, 1, 0, 0, 0, 791, 792, 1, 0, 0, 0, 792, 804, 1, 0, 0, 0, 793, 794, 5, 1, 0, 0, 794, 799, 3, 160, 80, 0, 795, 796, 5, 3, 0, 0, 796, 798, 3, 160, 80, 0, 797, 795, 1, 0, 0, 0, 798, 801, 1, 0, 0, 0, 799, 797, 1, 0, 0, 0, 799, 800, 1, 0, 0, 0, 800, 802, 1, 0, 0, 0, 801, 799, 1, 0, 0, 0, 802, 803, 5, 2, 0, 0, 803, 805, 1, 0, 0, 0, 804, 793, 1, 0, 0, 0, 804, 805, 1, 0, 0, 0, 805, 806, 1, 0, 0, 0, 806, 1037, 3, 16, 8, 0, 807, 808, 5, 205, 0, 0, 808, 809, 5, 44, 0, 0, 809, 810, 5, 212, 0, 0, 810, 1037, 3, 176, 88, 0, 811, 812, 5, 205, 0, 0, 812, 813, 5, 44, 0, 0, 813, 814, 5, 195, 0, 0, 814, 1037, 3, 188, 94, 0, 815, 816, 5, 205, 0, 0, 816, 817, 5, 44, 0, 0, 817, 818, 5, 239, 0, 0, 818, 1037, 3, 180, 90, 0, 819, 820, 5, 205, 0, 0, 820, 821, 5, 44, 0, 0, 821, 822, 5, 133, 0, 0, 822, 823, 5, 239, 0, 0, 823, 1037, 3, 180, 90, 0, 824, 825, 5, 205, 0, 0, 825, 828, 5, 213, 0, 0, 826, 827, 7, 2, 0, 0, 827, 829, 3, 188, 94, 0, 828, 826, 1, 0, 0, 0, 828, 829, 1, 0, 0, 0, 829, 836, 1, 0, 0, 0, 830, 831, 5, 122, 0, 0, 831, 834, 3, 116, 58, 0, 832, 833, 5, 73, 0, 0, 833, 835, 3, 116, 58, 0, 834, 832, 1, 0, 0, 0, 834, 835, 1, 0, 0, 0, 835, 837, 1, 0, 0, 0, 836, 830, 1, 0, 0, 0, 836, 837, 1, 0, 0, 0, 837, 1037, 1, 0, 0, 0, 838, 839, 5, 205, 0, 0, 839, 842, 5, 196, 0, 0, 840, 841, 7, 2, 0, 0, 841, 843, 3, 194, 97, 0, 842, 840, 1, 0, 0, 0, 842, 843, 1, 0, 0, 0, 843, 850, 1, 0, 0, 0, 844, 845, 5, 122, 0, 0, 845, 848, 3, 116, 58, 0, 846, 847, 5, 73, 0, 0, 847, 849, 3, 116, 58, 0, 848, 846, 1, 0, 0, 0, 848, 849, 1, 0, 0, 0, 849, 851, 1, 0, 0, 0, 850, 844, 1, 0, 0, 0, 850, 851, 1, 0, 0, 0, 851, 1037, 1, 0, 0, 0, 852, 853, 5, 205, 0, 0, 853, 860, 5, 37, 0, 0, 854, 855, 5, 122, 0, 0, 855, 858, 3, 116, 58, 0, 856, 857, 5, 73, 0, 0, 857, 859, 3, 116, 58, 0, 858, 856, 1, 0, 0, 0, 858, 859, 1, 0, 0, 0, 859, 861, 1, 0, 0, 0, 860, 854, 1, 0, 0, 0, 860, 861, 1, 0, 0, 0, 861, 1037, 1, 0, 0, 0, 862, 863, 5, 205, 0, 0, 863, 864, 5, 39, 0, 0, 864, 866, 7, 2, 0, 0, 865, 867, 3, 174, 87, 0, 866, 865, 1, 0, 0, 0, 866, 867, 1, 0, 0, 0, 867, 874, 1, 0, 0, 0, 868, 869, 5, 122, 0, 0, 869, 872, 3, 116, 58, 0, 870, 871, 5, 73, 0, 0, 871, 873, 3, 116, 58, 0, 872, 870, 1, 0, 0, 0, 872, 873, 1, 0, 0, 0, 873, 875, 1, 0, 0, 0, 874, 868, 1, 0, 0, 0, 874, 875, 1, 0, 0, 0, 875, 1037, 1, 0, 0, 0, 876, 877, 5, 205, 0, 0, 877, 878, 5, 208, 0, 0, 878, 879, 5, 86, 0, 0, 879, 1037, 3, 176, 88, 0, 880, 881, 5, 205, 0, 0, 881, 882, 5, 208, 0, 0, 882, 883, 5, 86, 0, 0, 883, 884, 5, 1, 0, 0, 884, 885, 3, 18, 9, 0, 885, 886, 5, 2, 0, 0, 886, 1037, 1, 0, 0, 0, 887, 889, 5, 205, 0, 0, 888, 890, 5, 47, 0, 0, 889, 888, 1, 0, 0, 0, 889, 890, 1, 0, 0, 0, 890, 891, 1, 0, 0, 0, 891, 894, 5, 189, 0, 0, 892, 893, 7, 2, 0, 0, 893, 895, 3, 212, 106, 0, 894, 892, 1, 0, 0, 0, 894, 895, 1, 0, 0, 0, 895, 1037, 1, 0, 0, 0, 896, 897, 5, 205, 0, 0, 897, 898, 5, 188, 0, 0, 898, 901, 5, 93, 0, 0, 899, 900, 7, 2, 0, 0, 900, 902, 3, 212, 106, 0, 901, 899, 1, 0, 0, 0, 901, 902, 1, 0, 0, 0, 902, 1037, 1, 0, 0, 0, 903, 904, 5, 64, 0, 0, 904, 1037, 3, 174, 87, 0, 905, 906, 5, 63, 0, 0, 906, 1037, 3, 174, 87, 0, 907, 908, 5, 205, 0, 0, 908, 915, 5, 90, 0, 0, 909, 910, 5, 122, 0, 0, 910, 913, 3, 116, 58, 0, 911, 912, 5, 73, 0, 0, 912, 914, 3, 116, 58, 0, 913, 911, 1, 0, 0, 0, 913, 914, 1, 0, 0, 0, 914, 916, 1, 0, 0, 0, 915, 909, 1, 0, 0, 0, 915, 916, 1, 0, 0, 0, 916, 1037, 1, 0, 0, 0, 917, 918, 5, 205, 0, 0, 918, 925, 5, 202, 0, 0, 919, 920, 5, 122, 0, 0, 920, 923, 3, 116, 58, 0, 921, 922, 5, 73, 0, 0, 922, 924, 3, 116, 58, 0, 923, 921, 1, 0, 0, 0, 923, 924, 1, 0, 0, 0, 924, 926, 1, 0, 0, 0, 925, 919, 1, 0, 0, 0, 925, 926, 1, 0, 0, 0, 926, 1037, 1, 0, 0, 0, 927, 928, 5, 203, 0, 0, 928, 929, 5, 202, 0, 0, 929, 930, 3, 204, 102, 0, 930, 931, 5, 249, 0, 0, 931, 932, 3, 102, 51, 0, 932, 1037, 1, 0, 0, 0, 933, 934, 5, 183, 0, 0, 934, 935, 5, 202, 0, 0, 935, 1037, 3, 204, 102, 0, 936, 937, 5, 207, 0, 0, 937, 946, 5, 221, 0, 0, 938, 943, 3, 162, 81, 0, 939, 940, 5, 3, 0, 0, 940, 942, 3, 162, 81, 0, 941, 939, 1, 0, 0, 0, 942, 945, 1, 0, 0, 0, 943, 941, 1, 0, 0, 0, 943, 944, 1, 0, 0, 0, 944, 947, 1, 0, 0, 0, 945, 943, 1, 0, 0, 0, 946, 938, 1, 0, 0, 0, 946, 947, 1, 0, 0, 0, 947, 1037, 1, 0, 0, 0, 948, 950, 5, 41, 0, 0, 949, 951, 5, 245, 0, 0, 950, 949, 1, 0, 0, 0, 950, 951, 1, 0, 0, 0, 951, 1037, 1, 0, 0, 0, 952, 954, 5, 190, 0, 0, 953, 955, 5, 245, 0, 0, 954, 953, 1, 0, 0, 0, 954, 955, 1, 0, 0, 0, 955, 1037, 1, 0, 0, 0, 956, 957, 5, 173, 0, 0, 957, 958, 3, 212, 106, 0, 958, 959, 5, 88, 0, 0, 959, 960, 3, 16, 8, 0, 960, 1037, 1, 0, 0, 0, 961, 962, 5, 60, 0, 0, 962, 963, 5, 173, 0, 0, 963, 1037, 3, 212, 106, 0, 964, 965, 5, 76, 0, 0, 965, 975, 3, 212, 106, 0, 966, 967, 5, 235, 0, 0, 967, 972, 3, 102, 51, 0, 968, 969, 5, 3, 0, 0, 969, 971, 3, 102, 51, 0, 970, 968, 1, 0, 0, 0, 971, 974, 1, 0, 0, 0, 972, 970, 1, 0, 0, 0, 972, 973, 1, 0, 0, 0, 973, 976, 1, 0, 0, 0, 974, 972, 1, 0, 0, 0, 975, 966, 1, 0, 0, 0, 975, 976, 1, 0, 0, 0, 976, 1037, 1, 0, 0, 0, 977, 978, 5, 64, 0, 0, 978, 979, 5, 107, 0, 0, 979, 1037, 3, 212, 106, 0, 980, 981, 5, 64, 0, 0, 981, 982, 5, 161, 0, 0, 982, 1037, 3, 212, 106, 0, 983, 984, 5, 203, 0, 0, 984, 985, 5, 166, 0, 0, 985, 1037, 3, 170, 85, 0, 986, 987, 5, 203, 0, 0, 987, 988, 5, 218, 0, 0, 988, 991, 5, 248, 0, 0, 989, 992, 5, 124, 0, 0, 990, 992, 3, 102, 51, 0, 991, 989, 1, 0, 0, 0, 991, 990, 1, 0, 0, 0, 992, 1037, 1, 0, 0, 0, 993, 994, 5, 232, 0, 0, 994, 995, 3, 176, 88, 0, 995, 996, 5, 203, 0, 0, 996, 1001, 3, 158, 79, 0, 997, 998, 5, 3, 0, 0, 998, 1000, 3, 158, 79, 0, 999, 997, 1, 0, 0, 0, 1000, 1003, 1, 0, 0, 0, 1001, 999, 1, 0, 0, 0, 1001, 1002, 1, 0, 0, 0, 1002, 1006, 1, 0, 0, 0, 1003, 1001, 1, 0, 0, 0, 1004, 1005, 5, 241, 0, 0, 1005, 1007, 3, 104, 52, 0, 1006, 1004, 1, 0, 0, 0, 1006, 1007, 1, 0, 0, 0, 1007, 1037, 1, 0, 0, 0, 1008, 1009, 5, 135, 0, 0, 1009, 1010, 5, 111, 0, 0, 1010, 1015, 3, 176, 88, 0, 1011, 1013, 5, 26, 0, 0, 1012, 1011, 1, 0, 0, 0, 1012, 1013, 1, 0, 0, 0, 1013, 1014, 1, 0, 0, 0, 1014, 1016, 3, 212, 106, 0, 1015, 1012, 1, 0, 0, 0, 1015, 1016, 1, 0, 0, 0, 1016, 1017, 1, 0, 0, 0, 1017, 1018, 5, 235, 0, 0, 1018, 1019, 3, 68, 34, 0, 1019, 1020, 5, 153, 0, 0, 1020, 1022, 3, 102, 51, 0, 1021, 1023, 3, 142, 71, 0, 1022, 1021, 1, 0, 0, 0, 1023, 1024, 1, 0, 0, 0, 1024, 1022, 1, 0, 0, 0, 1024, 1025, 1, 0, 0, 0, 1025, 1037, 1, 0, 0, 0, 1026, 1027, 5, 205, 0, 0, 1027, 1028, 5, 40, 0, 0, 1028, 1029, 5, 153, 0, 0, 1029, 1030, 5, 212, 0, 0, 1030, 1037, 3, 176, 88, 0, 1031, 1032, 5, 205, 0, 0, 1032, 1033, 5, 40, 0, 0, 1033, 1034, 5, 153, 0, 0, 1034, 1035, 5, 38, 0, 0, 1035, 1037, 3, 200, 100, 0, 1036, 254, 1, 0, 0, 0, 1036, 255, 1, 0, 0, 0, 1036, 257, 1, 0, 0, 0, 1036, 273, 1, 0, 0, 0, 1036, 283, 1, 0, 0, 0, 1036, 290, 1, 0, 0, 0, 1036, 297, 1, 0, 0, 0, 1036, 331, 1, 0, 0, 0, 1036, 357, 1, 0, 0, 0, 1036, 364, 1, 0, 0, 0, 1036, 372, 1, 0, 0, 0, 1036, 379, 1, 0, 0, 0, 1036, 382, 1, 0, 0, 0, 1036, 393, 1, 0, 0, 0, 1036, 402, 1, 0, 0, 0, 1036, 411, 1, 0, 0, 0, 1036, 428, 1, 0, 0, 0, 1036, 443, 1, 0, 0, 0, 1036, 459, 1, 0, 0, 0, 1036, 466, 1, 0, 0, 0, 1036, 473, 1, 0, 0, 0, 1036, 496, 1, 0, 0, 0, 1036, 502, 1, 0, 0, 0, 1036, 526, 1, 0, 0, 0, 1036, 544, 1, 0, 0, 0, 1036, 548, 1, 0, 0, 0, 1036, 556, 1, 0, 0, 0, 1036, 568, 1, 0, 0, 0, 1036, 576, 1, 0, 0, 0, 1036, 583, 1, 0, 0, 0, 1036, 590, 1, 0, 0, 0, 1036, 597, 1, 0, 0, 0, 1036, 612, 1, 0, 0, 0, 1036, 624, 1, 0, 0, 0, 1036, 627, 1, 0, 0, 0, 1036, 652, 1, 0, 0, 0, 1036, 677, 1, 0, 0, 0, 1036, 688, 1, 0, 0, 0, 1036, 719, 1, 0, 0, 0, 1036, 746, 1, 0, 0, 0, 1036, 777, 1, 0, 0, 0, 1036, 786, 1, 0, 0, 0, 1036, 807, 1, 0, 0, 0, 1036, 811, 1, 0, 0, 0, 1036, 815, 1, 0, 0, 0, 1036, 819, 1, 0, 0, 0, 1036, 824, 1, 0, 0, 0, 1036, 838, 1, 0, 0, 0, 1036, 852, 1, 0, 0, 0, 1036, 862, 1, 0, 0, 0, 1036, 876, 1, 0, 0, 0, 1036, 880, 1, 0, 0, 0, 1036, 887, 1, 0, 0, 0, 1036, 896, 1, 0, 0, 0, 1036, 903, 1, 0, 0, 0, 1036, 905, 1, 0, 0, 0, 1036, 907, 1, 0, 0, 0, 1036, 917, 1, 0, 0, 0, 1036, 927, 1, 0, 0, 0, 1036, 933, 1, 0, 0, 0, 1036, 936, 1, 0, 0, 0, 1036, 948, 1, 0, 0, 0, 1036, 952, 1, 0, 0, 0, 1036, 956, 1, 0, 0, 0, 1036, 961, 1, 0, 0, 0, 1036, 964, 1, 0, 0, 0, 1036, 977, 1, 0, 0, 0, 1036, 980, 1, 0, 0, 0, 1036, 983, 1, 0, 0, 0, 1036, 986, 1, 0, 0, 0, 1036, 993, 1, 0, 0, 0, 1036, 1008, 1, 0, 0, 0, 1036, 1026, 1, 0, 0, 0, 1036, 1031, 1, 0, 0, 0, 1037, 17, 1, 0, 0, 0, 1038, 1040, 3, 20, 10, 0, 1039, 1038, 1, 0, 0, 0, 1039, 1040, 1, 0, 0, 0, 1040, 1041, 1, 0, 0, 0, 1041, 1042, 3, 36, 18, 0, 1042, 19, 1, 0, 0, 0, 1043, 1045, 5, 243, 0, 0, 1044, 1046, 5, 178, 0, 0, 1045, 1044, 1, 0, 0, 0, 1045, 1046, 1, 0, 0, 0, 1046, 1047, 1, 0, 0, 0, 1047, 1052, 3, 62, 31, 0, 1048, 1049, 5, 3, 0, 0, 1049, 1051, 3, 62, 31, 0, 1050, 1048, 1, 0, 0, 0, 1051, 1054, 1, 0, 0, 0, 1052, 1050, 1, 0, 0, 0, 1052, 1053, 1, 0, 0, 0, 1053, 21, 1, 0, 0, 0, 1054, 1052, 1, 0, 0, 0, 1055, 1058, 3, 24, 12, 0, 1056, 1058, 3, 26, 13, 0, 1057, 1055, 1, 0, 0, 0, 1057, 1056, 1, 0, 0, 0, 1058, 23, 1, 0, 0, 0, 1059, 1060, 3, 202, 101, 0, 1060, 1063, 3, 132, 66, 0, 1061, 1062, 5, 147, 0, 0, 1062, 1064, 5, 148, 0, 0, 1063, 1061, 1, 0, 0, 0, 1063, 1064, 1, 0, 0, 0, 1064, 1067, 1, 0, 0, 0, 1065, 1066, 5, 40, 0, 0, 1066, 1068, 3, 116, 58, 0, 1067, 1065, 1, 0, 0, 0, 1067, 1068, 1, 0, 0, 0, 1068, 1071, 1, 0, 0, 0, 1069, 1070, 5, 243, 0, 0, 1070, 1072, 3, 28, 14, 0, 1071, 1069, 1, 0, 0, 0, 1071, 1072, 1, 0, 0, 0, 1072, 25, 1, 0, 0, 0, 1073, 1074, 5, 122, 0, 0, 1074, 1077, 3, 176, 88, 0, 1075, 1076, 7, 3, 0, 0, 1076, 1078, 5, 175, 0, 0, 1077, 1075, 1, 0, 0, 0, 1077, 1078, 1, 0, 0, 0, 1078, 27, 1, 0, 0, 0, 1079, 1080, 5, 1, 0, 0, 1080, 1081, 3, 30, 15, 0, 1081, 1082, 5, 2, 0, 0, 1082, 29, 1, 0, 0, 0, 1083, 1088, 3, 32, 16, 0, 1084, 1085, 5, 3, 0, 0, 1085, 1087, 3, 32, 16, 0, 1086, 1084, 1, 0, 0, 0, 1087, 1090, 1, 0, 0, 0, 1088, 1086, 1, 0, 0, 0, 1088, 1089, 1, 0, 0, 0, 1089, 31, 1, 0, 0, 0, 1090, 1088, 1, 0, 0, 0, 1091, 1092, 3, 212, 106, 0, 1092, 1093, 5, 249, 0, 0, 1093, 1094, 3, 34, 17, 0, 1094, 33, 1, 0, 0, 0, 1095, 1098, 5, 59, 0, 0, 1096, 1098, 3, 102, 51, 0, 1097, 1095, 1, 0, 0, 0, 1097, 1096, 1, 0, 0, 0, 1098, 35, 1, 0, 0, 0, 1099, 1110, 3, 42, 21, 0, 1100, 1101, 5, 158, 0, 0, 1101, 1102, 5, 32, 0, 0, 1102, 1107, 3, 46, 23, 0, 1103, 1104, 5, 3, 0, 0, 1104, 1106, 3, 46, 23, 0, 1105, 1103, 1, 0, 0, 0, 1106, 1109, 1, 0, 0, 0, 1107, 1105, 1, 0, 0, 0, 1107, 1108, 1, 0, 0, 0, 1108, 1111, 1, 0, 0, 0, 1109, 1107, 1, 0, 0, 0, 1110, 1100, 1, 0, 0, 0, 1110, 1111, 1, 0, 0, 0, 1111, 1117, 1, 0, 0, 0, 1112, 1113, 5, 151, 0, 0, 1113, 1115, 3, 40, 20, 0, 1114, 1116, 7, 4, 0, 0, 1115, 1114, 1, 0, 0, 0, 1115, 1116, 1, 0, 0, 0, 1116, 1118, 1, 0, 0, 0, 1117, 1112, 1, 0, 0, 0, 1117, 1118, 1, 0, 0, 0, 1118, 1132, 1, 0, 0, 0, 1119, 1120, 5, 123, 0, 0, 1120, 1133, 3, 38, 19, 0, 1121, 1122, 5, 81, 0, 0, 1122, 1124, 7, 5, 0, 0, 1123, 1125, 3, 40, 20, 0, 1124, 1123, 1, 0, 0, 0, 1124, 1125, 1, 0, 0, 0, 1125, 1126, 1, 0, 0, 0, 1126, 1130, 7, 4, 0, 0, 1127, 1131, 5, 155, 0, 0, 1128, 1129, 5, 243, 0, 0, 1129, 1131, 5, 217, 0, 0, 1130, 1127, 1, 0, 0, 0, 1130, 1128, 1, 0, 0, 0, 1131, 1133, 1, 0, 0, 0, 1132, 1119, 1, 0, 0, 0, 1132, 1121, 1, 0, 0, 0, 1132, 1133, 1, 0, 0, 0, 1133, 37, 1, 0, 0, 0, 1134, 1137, 5, 20, 0, 0, 1135, 1137, 3, 40, 20, 0, 1136, 1134, 1, 0, 0, 0, 1136, 1135, 1, 0, 0, 0, 1137, 39, 1, 0, 0, 0, 1138, 1139, 7, 6, 0, 0, 1139, 41, 1, 0, 0, 0, 1140, 1141, 6, 21, -1, 0, 1141, 1142, 3, 44, 22, 0, 1142, 1157, 1, 0, 0, 0, 1143, 1144, 10, 2, 0, 0, 1144, 1146, 5, 109, 0, 0, 1145, 1147, 3, 64, 32, 0, 1146, 1145, 1, 0, 0, 0, 1146, 1147, 1, 0, 0, 0, 1147, 1148, 1, 0, 0, 0, 1148, 1156, 3, 42, 21, 3, 1149, 1150, 10, 1, 0, 0, 1150, 1152, 7, 7, 0, 0, 1151, 1153, 3, 64, 32, 0, 1152, 1151, 1, 0, 0, 0, 1152, 1153, 1, 0, 0, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1156, 3, 42, 21, 2, 1155, 1143, 1, 0, 0, 0, 1155, 1149, 1, 0, 0, 0, 1156, 1159, 1, 0, 0, 0, 1157, 1155, 1, 0, 0, 0, 1157, 1158, 1, 0, 0, 0, 1158, 43, 1, 0, 0, 0, 1159, 1157, 1, 0, 0, 0, 1160, 1177, 3, 48, 24, 0, 1161, 1162, 5, 212, 0, 0, 1162, 1177, 3, 176, 88, 0, 1163, 1164, 5, 237, 0, 0, 1164, 1169, 3, 102, 51, 0, 1165, 1166, 5, 3, 0, 0, 1166, 1168, 3, 102, 51, 0, 1167, 1165, 1, 0, 0, 0, 1168, 1171, 1, 0, 0, 0, 1169, 1167, 1, 0, 0, 0, 1169, 1170, 1, 0, 0, 0, 1170, 1177, 1, 0, 0, 0, 1171, 1169, 1, 0, 0, 0, 1172, 1173, 5, 1, 0, 0, 1173, 1174, 3, 36, 18, 0, 1174, 1175, 5, 2, 0, 0, 1175, 1177, 1, 0, 0, 0, 1176, 1160, 1, 0, 0, 0, 1176, 1161, 1, 0, 0, 0, 1176, 1163, 1, 0, 0, 0, 1176, 1172, 1, 0, 0, 0, 1177, 45, 1, 0, 0, 0, 1178, 1181, 3, 200, 100, 0, 1179, 1181, 3, 102, 51, 0, 1180, 1178, 1, 0, 0, 0, 1180, 1179, 1, 0, 0, 0, 1181, 1183, 1, 0, 0, 0, 1182, 1184, 7, 8, 0, 0, 1183, 1182, 1, 0, 0, 0, 1183, 1184, 1, 0, 0, 0, 1184, 1187, 1, 0, 0, 0, 1185, 1186, 5, 150, 0, 0, 1186, 1188, 7, 9, 0, 0, 1187, 1185, 1, 0, 0, 0, 1187, 1188, 1, 0, 0, 0, 1188, 47, 1, 0, 0, 0, 1189, 1191, 5, 200, 0, 0, 1190, 1192, 3, 64, 32, 0, 1191, 1190, 1, 0, 0, 0, 1191, 1192, 1, 0, 0, 0, 1192, 1193, 1, 0, 0, 0, 1193, 1198, 3, 66, 33, 0, 1194, 1195, 5, 3, 0, 0, 1195, 1197, 3, 66, 33, 0, 1196, 1194, 1, 0, 0, 0, 1197, 1200, 1, 0, 0, 0, 1198, 1196, 1, 0, 0, 0, 1198, 1199, 1, 0, 0, 0, 1199, 1210, 1, 0, 0, 0, 1200, 1198, 1, 0, 0, 0, 1201, 1202, 5, 88, 0, 0, 1202, 1207, 3, 68, 34, 0, 1203, 1204, 5, 3, 0, 0, 1204, 1206, 3, 68, 34, 0, 1205, 1203, 1, 0, 0, 0, 1206, 1209, 1, 0, 0, 0, 1207, 1205, 1, 0, 0, 0, 1207, 1208, 1, 0, 0, 0, 1208, 1211, 1, 0, 0, 0, 1209, 1207, 1, 0, 0, 0, 1210, 1201, 1, 0, 0, 0, 1210, 1211, 1, 0, 0, 0, 1211, 1214, 1, 0, 0, 0, 1212, 1213, 5, 241, 0, 0, 1213, 1215, 3, 104, 52, 0, 1214, 1212, 1, 0, 0, 0, 1214, 1215, 1, 0, 0, 0, 1215, 1219, 1, 0, 0, 0, 1216, 1217, 5, 96, 0, 0, 1217, 1218, 5, 32, 0, 0, 1218, 1220, 3, 50, 25, 0, 1219, 1216, 1, 0, 0, 0, 1219, 1220, 1, 0, 0, 0, 1220, 1223, 1, 0, 0, 0, 1221, 1222, 5, 99, 0, 0, 1222, 1224, 3, 104, 52, 0, 1223, 1221, 1, 0, 0, 0, 1223, 1224, 1, 0, 0, 0, 1224, 1234, 1, 0, 0, 0, 1225, 1226, 5, 242, 0, 0, 1226, 1231, 3, 58, 29, 0, 1227, 1228, 5, 3, 0, 0, 1228, 1230, 3, 58, 29, 0, 1229, 1227, 1, 0, 0, 0, 1230, 1233, 1, 0, 0, 0, 1231, 1229, 1, 0, 0, 0, 1231, 1232, 1, 0, 0, 0, 1232, 1235, 1, 0, 0, 0, 1233, 1231, 1, 0, 0, 0, 1234, 1225, 1, 0, 0, 0, 1234, 1235, 1, 0, 0, 0, 1235, 49, 1, 0, 0, 0, 1236, 1238, 3, 64, 32, 0, 1237, 1236, 1, 0, 0, 0, 1237, 1238, 1, 0, 0, 0, 1238, 1239, 1, 0, 0, 0, 1239, 1244, 3, 52, 26, 0, 1240, 1241, 5, 3, 0, 0, 1241, 1243, 3, 52, 26, 0, 1242, 1240, 1, 0, 0, 0, 1243, 1246, 1, 0, 0, 0, 1244, 1242, 1, 0, 0, 0, 1244, 1245, 1, 0, 0, 0, 1245, 51, 1, 0, 0, 0, 1246, 1244, 1, 0, 0, 0, 1247, 1288, 3, 54, 27, 0, 1248, 1249, 5, 191, 0, 0, 1249, 1258, 5, 1, 0, 0, 1250, 1255, 3, 56, 28, 0, 1251, 1252, 5, 3, 0, 0, 1252, 1254, 3, 56, 28, 0, 1253, 1251, 1, 0, 0, 0, 1254, 1257, 1, 0, 0, 0, 1255, 1253, 1, 0, 0, 0, 1255, 1256, 1, 0, 0, 0, 1256, 1259, 1, 0, 0, 0, 1257, 1255, 1, 0, 0, 0, 1258, 1250, 1, 0, 0, 0, 1258, 1259, 1, 0, 0, 0, 1259, 1260, 1, 0, 0, 0, 1260, 1288, 5, 2, 0, 0, 1261, 1262, 5, 46, 0, 0, 1262, 1271, 5, 1, 0, 0, 1263, 1268, 3, 56, 28, 0, 1264, 1265, 5, 3, 0, 0, 1265, 1267, 3, 56, 28, 0, 1266, 1264, 1, 0, 0, 0, 1267, 1270, 1, 0, 0, 0, 1268, 1266, 1, 0, 0, 0, 1268, 1269, 1, 0, 0, 0, 1269, 1272, 1, 0, 0, 0, 1270, 1268, 1, 0, 0, 0, 1271, 1263, 1, 0, 0, 0, 1271, 1272, 1, 0, 0, 0, 1272, 1273, 1, 0, 0, 0, 1273, 1288, 5, 2, 0, 0, 1274, 1275, 5, 97, 0, 0, 1275, 1276, 5, 204, 0, 0, 1276, 1277, 5, 1, 0, 0, 1277, 1282, 3, 54, 27, 0, 1278, 1279, 5, 3, 0, 0, 1279, 1281, 3, 54, 27, 0, 1280, 1278, 1, 0, 0, 0, 1281, 1284, 1, 0, 0, 0, 1282, 1280, 1, 0, 0, 0, 1282, 1283, 1, 0, 0, 0, 1283, 1285, 1, 0, 0, 0, 1284, 1282, 1, 0, 0, 0, 1285, 1286, 5, 2, 0, 0, 1286, 1288, 1, 0, 0, 0, 1287, 1247, 1, 0, 0, 0, 1287, 1248, 1, 0, 0, 0, 1287, 1261, 1, 0, 0, 0, 1287, 1274, 1, 0, 0, 0, 1288, 53, 1, 0, 0, 0, 1289, 1298, 5, 1, 0, 0, 1290, 1295, 3, 56, 28, 0, 1291, 1292, 5, 3, 0, 0, 1292, 1294, 3, 56, 28, 0, 1293, 1291, 1, 0, 0, 0, 1294, 1297, 1, 0, 0, 0, 1295, 1293, 1, 0, 0, 0, 1295, 1296, 1, 0, 0, 0, 1296, 1299, 1, 0, 0, 0, 1297, 1295, 1, 0, 0, 0, 1298, 1290, 1, 0, 0, 0, 1298, 1299, 1, 0, 0, 0, 1299, 1300, 1, 0, 0, 0, 1300, 1303, 5, 2, 0, 0, 1301, 1303, 3, 56, 28, 0, 1302, 1289, 1, 0, 0, 0, 1302, 1301, 1, 0, 0, 0, 1303, 55, 1, 0, 0, 0, 1304, 1307, 3, 200, 100, 0, 1305, 1307, 3, 102, 51, 0, 1306, 1304, 1, 0, 0, 0, 1306, 1305, 1, 0, 0, 0, 1307, 57, 1, 0, 0, 0, 1308, 1309, 3, 212, 106, 0, 1309, 1310, 5, 26, 0, 0, 1310, 1311, 5, 1, 0, 0, 1311, 1312, 3, 60, 30, 0, 1312, 1313, 5, 2, 0, 0, 1313, 59, 1, 0, 0, 0, 1314, 1316, 3, 212, 106, 0, 1315, 1314, 1, 0, 0, 0, 1315, 1316, 1, 0, 0, 0, 1316, 1327, 1, 0, 0, 0, 1317, 1318, 5, 163, 0, 0, 1318, 1319, 5, 32, 0, 0, 1319, 1324, 3, 102, 51, 0, 1320, 1321, 5, 3, 0, 0, 1321, 1323, 3, 102, 51, 0, 1322, 1320, 1, 0, 0, 0, 1323, 1326, 1, 0, 0, 0, 1324, 1322, 1, 0, 0, 0, 1324, 1325, 1, 0, 0, 0, 1325, 1328, 1, 0, 0, 0, 1326, 1324, 1, 0, 0, 0, 1327, 1317, 1, 0, 0, 0, 1327, 1328, 1, 0, 0, 0, 1328, 1339, 1, 0, 0, 0, 1329, 1330, 5, 158, 0, 0, 1330, 1331, 5, 32, 0, 0, 1331, 1336, 3, 46, 23, 0, 1332, 1333, 5, 3, 0, 0, 1333, 1335, 3, 46, 23, 0, 1334, 1332, 1, 0, 0, 0, 1335, 1338, 1, 0, 0, 0, 1336, 1334, 1, 0, 0, 0, 1336, 1337, 1, 0, 0, 0, 1337, 1340, 1, 0, 0, 0, 1338, 1336, 1, 0, 0, 0, 1339, 1329, 1, 0, 0, 0, 1339, 1340, 1, 0, 0, 0, 1340, 1342, 1, 0, 0, 0, 1341, 1343, 3, 146, 73, 0, 1342, 1341, 1, 0, 0, 0, 1342, 1343, 1, 0, 0, 0, 1343, 61, 1, 0, 0, 0, 1344, 1346, 3, 212, 106, 0, 1345, 1347, 3, 98, 49, 0, 1346, 1345, 1, 0, 0, 0, 1346, 1347, 1, 0, 0, 0, 1347, 1348, 1, 0, 0, 0, 1348, 1349, 5, 26, 0, 0, 1349, 1350, 5, 1, 0, 0, 1350, 1351, 3, 18, 9, 0, 1351, 1352, 5, 2, 0, 0, 1352, 63, 1, 0, 0, 0, 1353, 1354, 7, 10, 0, 0, 1354, 65, 1, 0, 0, 0, 1355, 1358, 3, 200, 100, 0, 1356, 1358, 3, 102, 51, 0, 1357, 1355, 1, 0, 0, 0, 1357, 1356, 1, 0, 0, 0, 1358, 1363, 1, 0, 0, 0, 1359, 1361, 5, 26, 0, 0, 1360, 1359, 1, 0, 0, 0, 1360, 1361, 1, 0, 0, 0, 1361, 1362, 1, 0, 0, 0, 1362, 1364, 3, 212, 106, 0, 1363, 1360, 1, 0, 0, 0, 1363, 1364, 1, 0, 0, 0, 1364, 1374, 1, 0, 0, 0, 1365, 1366, 3, 110, 55, 0, 1366, 1367, 5, 4, 0, 0, 1367, 1370, 5, 257, 0, 0, 1368, 1369, 5, 26, 0, 0, 1369, 1371, 3, 98, 49, 0, 1370, 1368, 1, 0, 0, 0, 1370, 1371, 1, 0, 0, 0, 1371, 1374, 1, 0, 0, 0, 1372, 1374, 5, 257, 0, 0, 1373, 1357, 1, 0, 0, 0, 1373, 1365, 1, 0, 0, 0, 1373, 1372, 1, 0, 0, 0, 1374, 67, 1, 0, 0, 0, 1375, 1376, 6, 34, -1, 0, 1376, 1377, 3, 74, 37, 0, 1377, 1396, 1, 0, 0, 0, 1378, 1392, 10, 2, 0, 0, 1379, 1380, 5, 45, 0, 0, 1380, 1381, 5, 116, 0, 0, 1381, 1393, 3, 74, 37, 0, 1382, 1383, 3, 70, 35, 0, 1383, 1384, 5, 116, 0, 0, 1384, 1385, 3, 68, 34, 0, 1385, 1386, 3, 72, 36, 0, 1386, 1393, 1, 0, 0, 0, 1387, 1388, 5, 138, 0, 0, 1388, 1389, 3, 70, 35, 0, 1389, 1390, 5, 116, 0, 0, 1390, 1391, 3, 74, 37, 0, 1391, 1393, 1, 0, 0, 0, 1392, 1379, 1, 0, 0, 0, 1392, 1382, 1, 0, 0, 0, 1392, 1387, 1, 0, 0, 0, 1393, 1395, 1, 0, 0, 0, 1394, 1378, 1, 0, 0, 0, 1395, 1398, 1, 0, 0, 0, 1396, 1394, 1, 0, 0, 0, 1396, 1397, 1, 0, 0, 0, 1397, 69, 1, 0, 0, 0, 1398, 1396, 1, 0, 0, 0, 1399, 1401, 5, 106, 0, 0, 1400, 1399, 1, 0, 0, 0, 1400, 1401, 1, 0, 0, 0, 1401, 1415, 1, 0, 0, 0, 1402, 1404, 5, 120, 0, 0, 1403, 1405, 5, 160, 0, 0, 1404, 1403, 1, 0, 0, 0, 1404, 1405, 1, 0, 0, 0, 1405, 1415, 1, 0, 0, 0, 1406, 1408, 5, 187, 0, 0, 1407, 1409, 5, 160, 0, 0, 1408, 1407, 1, 0, 0, 0, 1408, 1409, 1, 0, 0, 0, 1409, 1415, 1, 0, 0, 0, 1410, 1412, 5, 89, 0, 0, 1411, 1413, 5, 160, 0, 0, 1412, 1411, 1, 0, 0, 0, 1412, 1413, 1, 0, 0, 0, 1413, 1415, 1, 0, 0, 0, 1414, 1400, 1, 0, 0, 0, 1414, 1402, 1, 0, 0, 0, 1414, 1406, 1, 0, 0, 0, 1414, 1410, 1, 0, 0, 0, 1415, 71, 1, 0, 0, 0, 1416, 1417, 5, 153, 0, 0, 1417, 1431, 3, 104, 52, 0, 1418, 1419, 5, 235, 0, 0, 1419, 1420, 5, 1, 0, 0, 1420, 1425, 3, 212, 106, 0, 1421, 1422, 5, 3, 0, 0, 1422, 1424, 3, 212, 106, 0, 1423, 1421, 1, 0, 0, 0, 1424, 1427, 1, 0, 0, 0, 1425, 1423, 1, 0, 0, 0, 1425, 1426, 1, 0, 0, 0, 1426, 1428, 1, 0, 0, 0, 1427, 1425, 1, 0, 0, 0, 1428, 1429, 5, 2, 0, 0, 1429, 1431, 1, 0, 0, 0, 1430, 1416, 1, 0, 0, 0, 1430, 1418, 1, 0, 0, 0, 1431, 73, 1, 0, 0, 0, 1432, 1439, 3, 78, 39, 0, 1433, 1434, 5, 214, 0, 0, 1434, 1435, 3, 76, 38, 0, 1435, 1436, 5, 1, 0, 0, 1436, 1437, 3, 102, 51, 0, 1437, 1438, 5, 2, 0, 0, 1438, 1440, 1, 0, 0, 0, 1439, 1433, 1, 0, 0, 0, 1439, 1440, 1, 0, 0, 0, 1440, 75, 1, 0, 0, 0, 1441, 1442, 7, 11, 0, 0, 1442, 77, 1, 0, 0, 0, 1443, 1526, 3, 92, 46, 0, 1444, 1445, 5, 132, 0, 0, 1445, 1456, 5, 1, 0, 0, 1446, 1447, 5, 163, 0, 0, 1447, 1448, 5, 32, 0, 0, 1448, 1453, 3, 102, 51, 0, 1449, 1450, 5, 3, 0, 0, 1450, 1452, 3, 102, 51, 0, 1451, 1449, 1, 0, 0, 0, 1452, 1455, 1, 0, 0, 0, 1453, 1451, 1, 0, 0, 0, 1453, 1454, 1, 0, 0, 0, 1454, 1457, 1, 0, 0, 0, 1455, 1453, 1, 0, 0, 0, 1456, 1446, 1, 0, 0, 0, 1456, 1457, 1, 0, 0, 0, 1457, 1468, 1, 0, 0, 0, 1458, 1459, 5, 158, 0, 0, 1459, 1460, 5, 32, 0, 0, 1460, 1465, 3, 46, 23, 0, 1461, 1462, 5, 3, 0, 0, 1462, 1464, 3, 46, 23, 0, 1463, 1461, 1, 0, 0, 0, 1464, 1467, 1, 0, 0, 0, 1465, 1463, 1, 0, 0, 0, 1465, 1466, 1, 0, 0, 0, 1466, 1469, 1, 0, 0, 0, 1467, 1465, 1, 0, 0, 0, 1468, 1458, 1, 0, 0, 0, 1468, 1469, 1, 0, 0, 0, 1469, 1479, 1, 0, 0, 0, 1470, 1471, 5, 134, 0, 0, 1471, 1476, 3, 80, 40, 0, 1472, 1473, 5, 3, 0, 0, 1473, 1475, 3, 80, 40, 0, 1474, 1472, 1, 0, 0, 0, 1475, 1478, 1, 0, 0, 0, 1476, 1474, 1, 0, 0, 0, 1476, 1477, 1, 0, 0, 0, 1477, 1480, 1, 0, 0, 0, 1478, 1476, 1, 0, 0, 0, 1479, 1470, 1, 0, 0, 0, 1479, 1480, 1, 0, 0, 0, 1480, 1482, 1, 0, 0, 0, 1481, 1483, 3, 82, 41, 0, 1482, 1481, 1, 0, 0, 0, 1482, 1483, 1, 0, 0, 0, 1483, 1487, 1, 0, 0, 0, 1484, 1485, 5, 19, 0, 0, 1485, 1486, 5, 129, 0, 0, 1486, 1488, 3, 86, 43, 0, 1487, 1484, 1, 0, 0, 0, 1487, 1488, 1, 0, 0, 0, 1488, 1490, 1, 0, 0, 0, 1489, 1491, 7, 12, 0, 0, 1490, 1489, 1, 0, 0, 0, 1490, 1491, 1, 0, 0, 0, 1491, 1492, 1, 0, 0, 0, 1492, 1493, 5, 167, 0, 0, 1493, 1494, 5, 1, 0, 0, 1494, 1495, 3, 152, 76, 0, 1495, 1505, 5, 2, 0, 0, 1496, 1497, 5, 209, 0, 0, 1497, 1502, 3, 88, 44, 0, 1498, 1499, 5, 3, 0, 0, 1499, 1501, 3, 88, 44, 0, 1500, 1498, 1, 0, 0, 0, 1501, 1504, 1, 0, 0, 0, 1502, 1500, 1, 0, 0, 0, 1502, 1503, 1, 0, 0, 0, 1503, 1506, 1, 0, 0, 0, 1504, 1502, 1, 0, 0, 0, 1505, 1496, 1, 0, 0, 0, 1505, 1506, 1, 0, 0, 0, 1506, 1507, 1, 0, 0, 0, 1507, 1508, 5, 65, 0, 0, 1508, 1513, 3, 90, 45, 0, 1509, 1510, 5, 3, 0, 0, 1510, 1512, 3, 90, 45, 0, 1511, 1509, 1, 0, 0, 0, 1512, 1515, 1, 0, 0, 0, 1513, 1511, 1, 0, 0, 0, 1513, 1514, 1, 0, 0, 0, 1514, 1516, 1, 0, 0, 0, 1515, 1513, 1, 0, 0, 0, 1516, 1524, 5, 2, 0, 0, 1517, 1519, 5, 26, 0, 0, 1518, 1517, 1, 0, 0, 0, 1518, 1519, 1, 0, 0, 0, 1519, 1520, 1, 0, 0, 0, 1520, 1522, 3, 212, 106, 0, 1521, 1523, 3, 98, 49, 0, 1522, 1521, 1, 0, 0, 0, 1522, 1523, 1, 0, 0, 0, 1523, 1525, 1, 0, 0, 0, 1524, 1518, 1, 0, 0, 0, 1524, 1525, 1, 0, 0, 0, 1525, 1527, 1, 0, 0, 0, 1526, 1444, 1, 0, 0, 0, 1526, 1527, 1, 0, 0, 0, 1527, 79, 1, 0, 0, 0, 1528, 1529, 3, 102, 51, 0, 1529, 1530, 5, 26, 0, 0, 1530, 1531, 3, 212, 106, 0, 1531, 81, 1, 0, 0, 0, 1532, 1533, 5, 154, 0, 0, 1533, 1534, 5, 192, 0, 0, 1534, 1535, 5, 168, 0, 0, 1535, 1544, 5, 129, 0, 0, 1536, 1537, 5, 20, 0, 0, 1537, 1538, 5, 193, 0, 0, 1538, 1539, 5, 168, 0, 0, 1539, 1541, 5, 129, 0, 0, 1540, 1542, 3, 84, 42, 0, 1541, 1540, 1, 0, 0, 0, 1541, 1542, 1, 0, 0, 0, 1542, 1544, 1, 0, 0, 0, 1543, 1532, 1, 0, 0, 0, 1543, 1536, 1, 0, 0, 0, 1544, 83, 1, 0, 0, 0, 1545, 1546, 5, 205, 0, 0, 1546, 1547, 5, 71, 0, 0, 1547, 1555, 5, 131, 0, 0, 1548, 1549, 5, 152, 0, 0, 1549, 1550, 5, 71, 0, 0, 1550, 1555, 5, 131, 0, 0, 1551, 1552, 5, 243, 0, 0, 1552, 1553, 5, 230, 0, 0, 1553, 1555, 5, 193, 0, 0, 1554, 1545, 1, 0, 0, 0, 1554, 1548, 1, 0, 0, 0, 1554, 1551, 1, 0, 0, 0, 1555, 85, 1, 0, 0, 0, 1556, 1557, 5, 5, 0, 0, 1557, 1558, 5, 220, 0, 0, 1558, 1559, 5, 139, 0, 0, 1559, 1576, 5, 192, 0, 0, 1560, 1561, 5, 5, 0, 0, 1561, 1562, 5, 165, 0, 0, 1562, 1563, 5, 118, 0, 0, 1563, 1576, 5, 192, 0, 0, 1564, 1565, 5, 5, 0, 0, 1565, 1566, 5, 220, 0, 0, 1566, 1567, 5, 84, 0, 0, 1567, 1576, 3, 212, 106, 0, 1568, 1569, 5, 5, 0, 0, 1569, 1570, 5, 220, 0, 0, 1570, 1571, 5, 118, 0, 0, 1571, 1576, 3, 212, 106, 0, 1572, 1573, 5, 5, 0, 0, 1573, 1574, 5, 220, 0, 0, 1574, 1576, 3, 212, 106, 0, 1575, 1556, 1, 0, 0, 0, 1575, 1560, 1, 0, 0, 0, 1575, 1564, 1, 0, 0, 0, 1575, 1568, 1, 0, 0, 0, 1575, 1572, 1, 0, 0, 0, 1576, 87, 1, 0, 0, 0, 1577, 1578, 3, 212, 106, 0, 1578, 1579, 5, 249, 0, 0, 1579, 1580, 5, 1, 0, 0, 1580, 1585, 3, 212, 106, 0, 1581, 1582, 5, 3, 0, 0, 1582, 1584, 3, 212, 106, 0, 1583, 1581, 1, 0, 0, 0, 1584, 1587, 1, 0, 0, 0, 1585, 1583, 1, 0, 0, 0, 1585, 1586, 1, 0, 0, 0, 1586, 1588, 1, 0, 0, 0, 1587, 1585, 1, 0, 0, 0, 1588, 1589, 5, 2, 0, 0, 1589, 89, 1, 0, 0, 0, 1590, 1591, 3, 212, 106, 0, 1591, 1592, 5, 26, 0, 0, 1592, 1593, 3, 102, 51, 0, 1593, 91, 1, 0, 0, 0, 1594, 1602, 3, 100, 50, 0, 1595, 1597, 5, 26, 0, 0, 1596, 1595, 1, 0, 0, 0, 1596, 1597, 1, 0, 0, 0, 1597, 1598, 1, 0, 0, 0, 1598, 1600, 3, 212, 106, 0, 1599, 1601, 3, 98, 49, 0, 1600, 1599, 1, 0, 0, 0, 1600, 1601, 1, 0, 0, 0, 1601, 1603, 1, 0, 0, 0, 1602, 1596, 1, 0, 0, 0, 1602, 1603, 1, 0, 0, 0, 1603, 93, 1, 0, 0, 0, 1604, 1605, 5, 1, 0, 0, 1605, 1610, 3, 202, 101, 0, 1606, 1607, 5, 3, 0, 0, 1607, 1609, 3, 202, 101, 0, 1608, 1606, 1, 0, 0, 0, 1609, 1612, 1, 0, 0, 0, 1610, 1608, 1, 0, 0, 0, 1610, 1611, 1, 0, 0, 0, 1611, 1613, 1, 0, 0, 0, 1612, 1610, 1, 0, 0, 0, 1613, 1614, 5, 2, 0, 0, 1614, 95, 1, 0, 0, 0, 1615, 1616, 5, 1, 0, 0, 1616, 1621, 3, 200, 100, 0, 1617, 1618, 5, 3, 0, 0, 1618, 1620, 3, 200, 100, 0, 1619, 1617, 1, 0, 0, 0, 1620, 1623, 1, 0, 0, 0, 1621, 1619, 1, 0, 0, 0, 1621, 1622, 1, 0, 0, 0, 1622, 1624, 1, 0, 0, 0, 1623, 1621, 1, 0, 0, 0, 1624, 1625, 5, 2, 0, 0, 1625, 97, 1, 0, 0, 0, 1626, 1627, 5, 1, 0, 0, 1627, 1632, 3, 212, 106, 0, 1628, 1629, 5, 3, 0, 0, 1629, 1631, 3, 212, 106, 0, 1630, 1628, 1, 0, 0, 0, 1631, 1634, 1, 0, 0, 0, 1632, 1630, 1, 0, 0, 0, 1632, 1633, 1, 0, 0, 0, 1633, 1635, 1, 0, 0, 0, 1634, 1632, 1, 0, 0, 0, 1635, 1636, 5, 2, 0, 0, 1636, 99, 1, 0, 0, 0, 1637, 1667, 3, 174, 87, 0, 1638, 1639, 5, 1, 0, 0, 1639, 1640, 3, 18, 9, 0, 1640, 1641, 5, 2, 0, 0, 1641, 1667, 1, 0, 0, 0, 1642, 1643, 5, 231, 0, 0, 1643, 1644, 5, 1, 0, 0, 1644, 1649, 3, 102, 51, 0, 1645, 1646, 5, 3, 0, 0, 1646, 1648, 3, 102, 51, 0, 1647, 1645, 1, 0, 0, 0, 1648, 1651, 1, 0, 0, 0, 1649, 1647, 1, 0, 0, 0, 1649, 1650, 1, 0, 0, 0, 1650, 1652, 1, 0, 0, 0, 1651, 1649, 1, 0, 0, 0, 1652, 1655, 5, 2, 0, 0, 1653, 1654, 5, 243, 0, 0, 1654, 1656, 5, 159, 0, 0, 1655, 1653, 1, 0, 0, 0, 1655, 1656, 1, 0, 0, 0, 1656, 1667, 1, 0, 0, 0, 1657, 1658, 5, 119, 0, 0, 1658, 1659, 5, 1, 0, 0, 1659, 1660, 3, 18, 9, 0, 1660, 1661, 5, 2, 0, 0, 1661, 1667, 1, 0, 0, 0, 1662, 1663, 5, 1, 0, 0, 1663, 1664, 3, 68, 34, 0, 1664, 1665, 5, 2, 0, 0, 1665, 1667, 1, 0, 0, 0, 1666, 1637, 1, 0, 0, 0, 1666, 1638, 1, 0, 0, 0, 1666, 1642, 1, 0, 0, 0, 1666, 1657, 1, 0, 0, 0, 1666, 1662, 1, 0, 0, 0, 1667, 101, 1, 0, 0, 0, 1668, 1669, 3, 104, 52, 0, 1669, 103, 1, 0, 0, 0, 1670, 1671, 6, 52, -1, 0, 1671, 1673, 3, 108, 54, 0, 1672, 1674, 3, 106, 53, 0, 1673, 1672, 1, 0, 0, 0, 1673, 1674, 1, 0, 0, 0, 1674, 1678, 1, 0, 0, 0, 1675, 1676, 5, 147, 0, 0, 1676, 1678, 3, 104, 52, 3, 1677, 1670, 1, 0, 0, 0, 1677, 1675, 1, 0, 0, 0, 1678, 1687, 1, 0, 0, 0, 1679, 1680, 10, 2, 0, 0, 1680, 1681, 5, 23, 0, 0, 1681, 1686, 3, 104, 52, 3, 1682, 1683, 10, 1, 0, 0, 1683, 1684, 5, 157, 0, 0, 1684, 1686, 3, 104, 52, 2, 1685, 1679, 1, 0, 0, 0, 1685, 1682, 1, 0, 0, 0, 1686, 1689, 1, 0, 0, 0, 1687, 1685, 1, 0, 0, 0, 1687, 1688, 1, 0, 0, 0, 1688, 105, 1, 0, 0, 0, 1689, 1687, 1, 0, 0, 0, 1690, 1691, 3, 120, 60, 0, 1691, 1692, 3, 108, 54, 0, 1692, 1752, 1, 0, 0, 0, 1693, 1694, 3, 120, 60, 0, 1694, 1695, 3, 122, 61, 0, 1695, 1696, 5, 1, 0, 0, 1696, 1697, 3, 18, 9, 0, 1697, 1698, 5, 2, 0, 0, 1698, 1752, 1, 0, 0, 0, 1699, 1701, 5, 147, 0, 0, 1700, 1699, 1, 0, 0, 0, 1700, 1701, 1, 0, 0, 0, 1701, 1702, 1, 0, 0, 0, 1702, 1703, 5, 31, 0, 0, 1703, 1704, 3, 108, 54, 0, 1704, 1705, 5, 23, 0, 0, 1705, 1706, 3, 108, 54, 0, 1706, 1752, 1, 0, 0, 0, 1707, 1709, 5, 147, 0, 0, 1708, 1707, 1, 0, 0, 0, 1708, 1709, 1, 0, 0, 0, 1709, 1710, 1, 0, 0, 0, 1710, 1711, 5, 103, 0, 0, 1711, 1712, 5, 1, 0, 0, 1712, 1717, 3, 102, 51, 0, 1713, 1714, 5, 3, 0, 0, 1714, 1716, 3, 102, 51, 0, 1715, 1713, 1, 0, 0, 0, 1716, 1719, 1, 0, 0, 0, 1717, 1715, 1, 0, 0, 0, 1717, 1718, 1, 0, 0, 0, 1718, 1720, 1, 0, 0, 0, 1719, 1717, 1, 0, 0, 0, 1720, 1721, 5, 2, 0, 0, 1721, 1752, 1, 0, 0, 0, 1722, 1724, 5, 147, 0, 0, 1723, 1722, 1, 0, 0, 0, 1723, 1724, 1, 0, 0, 0, 1724, 1725, 1, 0, 0, 0, 1725, 1726, 5, 103, 0, 0, 1726, 1727, 5, 1, 0, 0, 1727, 1728, 3, 18, 9, 0, 1728, 1729, 5, 2, 0, 0, 1729, 1752, 1, 0, 0, 0, 1730, 1732, 5, 147, 0, 0, 1731, 1730, 1, 0, 0, 0, 1731, 1732, 1, 0, 0, 0, 1732, 1733, 1, 0, 0, 0, 1733, 1734, 5, 122, 0, 0, 1734, 1737, 3, 108, 54, 0, 1735, 1736, 5, 73, 0, 0, 1736, 1738, 3, 108, 54, 0, 1737, 1735, 1, 0, 0, 0, 1737, 1738, 1, 0, 0, 0, 1738, 1752, 1, 0, 0, 0, 1739, 1741, 5, 114, 0, 0, 1740, 1742, 5, 147, 0, 0, 1741, 1740, 1, 0, 0, 0, 1741, 1742, 1, 0, 0, 0, 1742, 1743, 1, 0, 0, 0, 1743, 1752, 5, 148, 0, 0, 1744, 1746, 5, 114, 0, 0, 1745, 1747, 5, 147, 0, 0, 1746, 1745, 1, 0, 0, 0, 1746, 1747, 1, 0, 0, 0, 1747, 1748, 1, 0, 0, 0, 1748, 1749, 5, 66, 0, 0, 1749, 1750, 5, 88, 0, 0, 1750, 1752, 3, 108, 54, 0, 1751, 1690, 1, 0, 0, 0, 1751, 1693, 1, 0, 0, 0, 1751, 1700, 1, 0, 0, 0, 1751, 1708, 1, 0, 0, 0, 1751, 1723, 1, 0, 0, 0, 1751, 1731, 1, 0, 0, 0, 1751, 1739, 1, 0, 0, 0, 1751, 1744, 1, 0, 0, 0, 1752, 107, 1, 0, 0, 0, 1753, 1754, 6, 54, -1, 0, 1754, 1758, 3, 110, 55, 0, 1755, 1756, 7, 13, 0, 0, 1756, 1758, 3, 108, 54, 4, 1757, 1753, 1, 0, 0, 0, 1757, 1755, 1, 0, 0, 0, 1758, 1773, 1, 0, 0, 0, 1759, 1760, 10, 3, 0, 0, 1760, 1761, 7, 14, 0, 0, 1761, 1772, 3, 108, 54, 4, 1762, 1763, 10, 2, 0, 0, 1763, 1764, 7, 13, 0, 0, 1764, 1772, 3, 108, 54, 3, 1765, 1766, 10, 1, 0, 0, 1766, 1767, 5, 260, 0, 0, 1767, 1772, 3, 108, 54, 2, 1768, 1769, 10, 5, 0, 0, 1769, 1770, 5, 28, 0, 0, 1770, 1772, 3, 118, 59, 0, 1771, 1759, 1, 0, 0, 0, 1771, 1762, 1, 0, 0, 0, 1771, 1765, 1, 0, 0, 0, 1771, 1768, 1, 0, 0, 0, 1772, 1775, 1, 0, 0, 0, 1773, 1771, 1, 0, 0, 0, 1773, 1774, 1, 0, 0, 0, 1774, 109, 1, 0, 0, 0, 1775, 1773, 1, 0, 0, 0, 1776, 1777, 6, 55, -1, 0, 1777, 2026, 5, 148, 0, 0, 1778, 2026, 3, 126, 63, 0, 1779, 1780, 3, 212, 106, 0, 1780, 1781, 3, 116, 58, 0, 1781, 2026, 1, 0, 0, 0, 1782, 1783, 5, 68, 0, 0, 1783, 1784, 5, 172, 0, 0, 1784, 2026, 3, 116, 58, 0, 1785, 2026, 3, 214, 107, 0, 1786, 2026, 3, 124, 62, 0, 1787, 2026, 3, 116, 58, 0, 1788, 2026, 5, 264, 0, 0, 1789, 2026, 5, 261, 0, 0, 1790, 1791, 5, 170, 0, 0, 1791, 1792, 5, 1, 0, 0, 1792, 1793, 3, 108, 54, 0, 1793, 1794, 5, 103, 0, 0, 1794, 1795, 3, 108, 54, 0, 1795, 1796, 5, 2, 0, 0, 1796, 2026, 1, 0, 0, 0, 1797, 1798, 5, 1, 0, 0, 1798, 1801, 3, 102, 51, 0, 1799, 1800, 5, 3, 0, 0, 1800, 1802, 3, 102, 51, 0, 1801, 1799, 1, 0, 0, 0, 1802, 1803, 1, 0, 0, 0, 1803, 1801, 1, 0, 0, 0, 1803, 1804, 1, 0, 0, 0, 1804, 1805, 1, 0, 0, 0, 1805, 1806, 5, 2, 0, 0, 1806, 2026, 1, 0, 0, 0, 1807, 1808, 5, 192, 0, 0, 1808, 1809, 5, 1, 0, 0, 1809, 1814, 3, 102, 51, 0, 1810, 1811, 5, 3, 0, 0, 1811, 1813, 3, 102, 51, 0, 1812, 1810, 1, 0, 0, 0, 1813, 1816, 1, 0, 0, 0, 1814, 1812, 1, 0, 0, 0, 1814, 1815, 1, 0, 0, 0, 1815, 1817, 1, 0, 0, 0, 1816, 1814, 1, 0, 0, 0, 1817, 1818, 5, 2, 0, 0, 1818, 2026, 1, 0, 0, 0, 1819, 1820, 3, 198, 99, 0, 1820, 1821, 5, 1, 0, 0, 1821, 1822, 5, 257, 0, 0, 1822, 1824, 5, 2, 0, 0, 1823, 1825, 3, 140, 70, 0, 1824, 1823, 1, 0, 0, 0, 1824, 1825, 1, 0, 0, 0, 1825, 1827, 1, 0, 0, 0, 1826, 1828, 3, 144, 72, 0, 1827, 1826, 1, 0, 0, 0, 1827, 1828, 1, 0, 0, 0, 1828, 2026, 1, 0, 0, 0, 1829, 1831, 3, 112, 56, 0, 1830, 1829, 1, 0, 0, 0, 1830, 1831, 1, 0, 0, 0, 1831, 1832, 1, 0, 0, 0, 1832, 1833, 3, 198, 99, 0, 1833, 1845, 5, 1, 0, 0, 1834, 1836, 3, 64, 32, 0, 1835, 1834, 1, 0, 0, 0, 1835, 1836, 1, 0, 0, 0, 1836, 1837, 1, 0, 0, 0, 1837, 1842, 3, 102, 51, 0, 1838, 1839, 5, 3, 0, 0, 1839, 1841, 3, 102, 51, 0, 1840, 1838, 1, 0, 0, 0, 1841, 1844, 1, 0, 0, 0, 1842, 1840, 1, 0, 0, 0, 1842, 1843, 1, 0, 0, 0, 1843, 1846, 1, 0, 0, 0, 1844, 1842, 1, 0, 0, 0, 1845, 1835, 1, 0, 0, 0, 1845, 1846, 1, 0, 0, 0, 1846, 1857, 1, 0, 0, 0, 1847, 1848, 5, 158, 0, 0, 1848, 1849, 5, 32, 0, 0, 1849, 1854, 3, 46, 23, 0, 1850, 1851, 5, 3, 0, 0, 1851, 1853, 3, 46, 23, 0, 1852, 1850, 1, 0, 0, 0, 1853, 1856, 1, 0, 0, 0, 1854, 1852, 1, 0, 0, 0, 1854, 1855, 1, 0, 0, 0, 1855, 1858, 1, 0, 0, 0, 1856, 1854, 1, 0, 0, 0, 1857, 1847, 1, 0, 0, 0, 1857, 1858, 1, 0, 0, 0, 1858, 1859, 1, 0, 0, 0, 1859, 1861, 5, 2, 0, 0, 1860, 1862, 3, 140, 70, 0, 1861, 1860, 1, 0, 0, 0, 1861, 1862, 1, 0, 0, 0, 1862, 1867, 1, 0, 0, 0, 1863, 1865, 3, 114, 57, 0, 1864, 1863, 1, 0, 0, 0, 1864, 1865, 1, 0, 0, 0, 1865, 1866, 1, 0, 0, 0, 1866, 1868, 3, 144, 72, 0, 1867, 1864, 1, 0, 0, 0, 1867, 1868, 1, 0, 0, 0, 1868, 2026, 1, 0, 0, 0, 1869, 1870, 3, 212, 106, 0, 1870, 1871, 3, 144, 72, 0, 1871, 2026, 1, 0, 0, 0, 1872, 1873, 3, 212, 106, 0, 1873, 1874, 5, 6, 0, 0, 1874, 1875, 3, 102, 51, 0, 1875, 2026, 1, 0, 0, 0, 1876, 1885, 5, 1, 0, 0, 1877, 1882, 3, 212, 106, 0, 1878, 1879, 5, 3, 0, 0, 1879, 1881, 3, 212, 106, 0, 1880, 1878, 1, 0, 0, 0, 1881, 1884, 1, 0, 0, 0, 1882, 1880, 1, 0, 0, 0, 1882, 1883, 1, 0, 0, 0, 1883, 1886, 1, 0, 0, 0, 1884, 1882, 1, 0, 0, 0, 1885, 1877, 1, 0, 0, 0, 1885, 1886, 1, 0, 0, 0, 1886, 1887, 1, 0, 0, 0, 1887, 1888, 5, 2, 0, 0, 1888, 1889, 5, 6, 0, 0, 1889, 2026, 3, 102, 51, 0, 1890, 1891, 5, 1, 0, 0, 1891, 1892, 3, 18, 9, 0, 1892, 1893, 5, 2, 0, 0, 1893, 2026, 1, 0, 0, 0, 1894, 1895, 5, 77, 0, 0, 1895, 1896, 5, 1, 0, 0, 1896, 1897, 3, 18, 9, 0, 1897, 1898, 5, 2, 0, 0, 1898, 2026, 1, 0, 0, 0, 1899, 1900, 5, 35, 0, 0, 1900, 1902, 3, 102, 51, 0, 1901, 1903, 3, 138, 69, 0, 1902, 1901, 1, 0, 0, 0, 1903, 1904, 1, 0, 0, 0, 1904, 1902, 1, 0, 0, 0, 1904, 1905, 1, 0, 0, 0, 1905, 1908, 1, 0, 0, 0, 1906, 1907, 5, 70, 0, 0, 1907, 1909, 3, 102, 51, 0, 1908, 1906, 1, 0, 0, 0, 1908, 1909, 1, 0, 0, 0, 1909, 1910, 1, 0, 0, 0, 1910, 1911, 5, 72, 0, 0, 1911, 2026, 1, 0, 0, 0, 1912, 1914, 5, 35, 0, 0, 1913, 1915, 3, 138, 69, 0, 1914, 1913, 1, 0, 0, 0, 1915, 1916, 1, 0, 0, 0, 1916, 1914, 1, 0, 0, 0, 1916, 1917, 1, 0, 0, 0, 1917, 1920, 1, 0, 0, 0, 1918, 1919, 5, 70, 0, 0, 1919, 1921, 3, 102, 51, 0, 1920, 1918, 1, 0, 0, 0, 1920, 1921, 1, 0, 0, 0, 1921, 1922, 1, 0, 0, 0, 1922, 1923, 5, 72, 0, 0, 1923, 2026, 1, 0, 0, 0, 1924, 1925, 5, 36, 0, 0, 1925, 1926, 5, 1, 0, 0, 1926, 1927, 3, 102, 51, 0, 1927, 1928, 5, 26, 0, 0, 1928, 1929, 3, 132, 66, 0, 1929, 1930, 5, 2, 0, 0, 1930, 2026, 1, 0, 0, 0, 1931, 1932, 5, 224, 0, 0, 1932, 1933, 5, 1, 0, 0, 1933, 1934, 3, 102, 51, 0, 1934, 1935, 5, 26, 0, 0, 1935, 1936, 3, 132, 66, 0, 1936, 1937, 5, 2, 0, 0, 1937, 2026, 1, 0, 0, 0, 1938, 1939, 5, 25, 0, 0, 1939, 1948, 5, 7, 0, 0, 1940, 1945, 3, 102, 51, 0, 1941, 1942, 5, 3, 0, 0, 1942, 1944, 3, 102, 51, 0, 1943, 1941, 1, 0, 0, 0, 1944, 1947, 1, 0, 0, 0, 1945, 1943, 1, 0, 0, 0, 1945, 1946, 1, 0, 0, 0, 1946, 1949, 1, 0, 0, 0, 1947, 1945, 1, 0, 0, 0, 1948, 1940, 1, 0, 0, 0, 1948, 1949, 1, 0, 0, 0, 1949, 1950, 1, 0, 0, 0, 1950, 2026, 5, 8, 0, 0, 1951, 2026, 3, 212, 106, 0, 1952, 2026, 5, 49, 0, 0, 1953, 1957, 5, 53, 0, 0, 1954, 1955, 5, 1, 0, 0, 1955, 1956, 5, 265, 0, 0, 1956, 1958, 5, 2, 0, 0, 1957, 1954, 1, 0, 0, 0, 1957, 1958, 1, 0, 0, 0, 1958, 2026, 1, 0, 0, 0, 1959, 1963, 5, 54, 0, 0, 1960, 1961, 5, 1, 0, 0, 1961, 1962, 5, 265, 0, 0, 1962, 1964, 5, 2, 0, 0, 1963, 1960, 1, 0, 0, 0, 1963, 1964, 1, 0, 0, 0, 1964, 2026, 1, 0, 0, 0, 1965, 1969, 5, 125, 0, 0, 1966, 1967, 5, 1, 0, 0, 1967, 1968, 5, 265, 0, 0, 1968, 1970, 5, 2, 0, 0, 1969, 1966, 1, 0, 0, 0, 1969, 1970, 1, 0, 0, 0, 1970, 2026, 1, 0, 0, 0, 1971, 1975, 5, 126, 0, 0, 1972, 1973, 5, 1, 0, 0, 1973, 1974, 5, 265, 0, 0, 1974, 1976, 5, 2, 0, 0, 1975, 1972, 1, 0, 0, 0, 1975, 1976, 1, 0, 0, 0, 1976, 2026, 1, 0, 0, 0, 1977, 2026, 5, 55, 0, 0, 1978, 2026, 5, 48, 0, 0, 1979, 2026, 5, 52, 0, 0, 1980, 2026, 5, 50, 0, 0, 1981, 1982, 5, 210, 0, 0, 1982, 1983, 5, 1, 0, 0, 1983, 1984, 3, 108, 54, 0, 1984, 1985, 5, 88, 0, 0, 1985, 1988, 3, 108, 54, 0, 1986, 1987, 5, 86, 0, 0, 1987, 1989, 3, 108, 54, 0, 1988, 1986, 1, 0, 0, 0, 1988, 1989, 1, 0, 0, 0, 1989, 1990, 1, 0, 0, 0, 1990, 1991, 5, 2, 0, 0, 1991, 2026, 1, 0, 0, 0, 1992, 1993, 5, 146, 0, 0, 1993, 1994, 5, 1, 0, 0, 1994, 1997, 3, 108, 54, 0, 1995, 1996, 5, 3, 0, 0, 1996, 1998, 3, 130, 65, 0, 1997, 1995, 1, 0, 0, 0, 1997, 1998, 1, 0, 0, 0, 1998, 1999, 1, 0, 0, 0, 1999, 2000, 5, 2, 0, 0, 2000, 2026, 1, 0, 0, 0, 2001, 2002, 5, 79, 0, 0, 2002, 2003, 5, 1, 0, 0, 2003, 2004, 3, 212, 106, 0, 2004, 2005, 5, 88, 0, 0, 2005, 2006, 3, 108, 54, 0, 2006, 2007, 5, 2, 0, 0, 2007, 2026, 1, 0, 0, 0, 2008, 2009, 5, 1, 0, 0, 2009, 2010, 3, 102, 51, 0, 2010, 2011, 5, 2, 0, 0, 2011, 2026, 1, 0, 0, 0, 2012, 2013, 5, 97, 0, 0, 2013, 2022, 5, 1, 0, 0, 2014, 2019, 3, 204, 102, 0, 2015, 2016, 5, 3, 0, 0, 2016, 2018, 3, 204, 102, 0, 2017, 2015, 1, 0, 0, 0, 2018, 2021, 1, 0, 0, 0, 2019, 2017, 1, 0, 0, 0, 2019, 2020, 1, 0, 0, 0, 2020, 2023, 1, 0, 0, 0, 2021, 2019, 1, 0, 0, 0, 2022, 2014, 1, 0, 0, 0, 2022, 2023, 1, 0, 0, 0, 2023, 2024, 1, 0, 0, 0, 2024, 2026, 5, 2, 0, 0, 2025, 1776, 1, 0, 0, 0, 2025, 1778, 1, 0, 0, 0, 2025, 1779, 1, 0, 0, 0, 2025, 1782, 1, 0, 0, 0, 2025, 1785, 1, 0, 0, 0, 2025, 1786, 1, 0, 0, 0, 2025, 1787, 1, 0, 0, 0, 2025, 1788, 1, 0, 0, 0, 2025, 1789, 1, 0, 0, 0, 2025, 1790, 1, 0, 0, 0, 2025, 1797, 1, 0, 0, 0, 2025, 1807, 1, 0, 0, 0, 2025, 1819, 1, 0, 0, 0, 2025, 1830, 1, 0, 0, 0, 2025, 1869, 1, 0, 0, 0, 2025, 1872, 1, 0, 0, 0, 2025, 1876, 1, 0, 0, 0, 2025, 1890, 1, 0, 0, 0, 2025, 1894, 1, 0, 0, 0, 2025, 1899, 1, 0, 0, 0, 2025, 1912, 1, 0, 0, 0, 2025, 1924, 1, 0, 0, 0, 2025, 1931, 1, 0, 0, 0, 2025, 1938, 1, 0, 0, 0, 2025, 1951, 1, 0, 0, 0, 2025, 1952, 1, 0, 0, 0, 2025, 1953, 1, 0, 0, 0, 2025, 1959, 1, 0, 0, 0, 2025, 1965, 1, 0, 0, 0, 2025, 1971, 1, 0, 0, 0, 2025, 1977, 1, 0, 0, 0, 2025, 1978, 1, 0, 0, 0, 2025, 1979, 1, 0, 0, 0, 2025, 1980, 1, 0, 0, 0, 2025, 1981, 1, 0, 0, 0, 2025, 1992, 1, 0, 0, 0, 2025, 2001, 1, 0, 0, 0, 2025, 2008, 1, 0, 0, 0, 2025, 2012, 1, 0, 0, 0, 2026, 2037, 1, 0, 0, 0, 2027, 2028, 10, 17, 0, 0, 2028, 2029, 5, 7, 0, 0, 2029, 2030, 3, 108, 54, 0, 2030, 2031, 5, 8, 0, 0, 2031, 2036, 1, 0, 0, 0, 2032, 2033, 10, 15, 0, 0, 2033, 2034, 5, 4, 0, 0, 2034, 2036, 3, 212, 106, 0, 2035, 2027, 1, 0, 0, 0, 2035, 2032, 1, 0, 0, 0, 2036, 2039, 1, 0, 0, 0, 2037, 2035, 1, 0, 0, 0, 2037, 2038, 1, 0, 0, 0, 2038, 111, 1, 0, 0, 0, 2039, 2037, 1, 0, 0, 0, 2040, 2041, 7, 15, 0, 0, 2041, 113, 1, 0, 0, 0, 2042, 2043, 5, 102, 0, 0, 2043, 2047, 5, 150, 0, 0, 2044, 2045, 5, 184, 0, 0, 2045, 2047, 5, 150, 0, 0, 2046, 2042, 1, 0, 0, 0, 2046, 2044, 1, 0, 0, 0, 2047, 115, 1, 0, 0, 0, 2048, 2055, 5, 262, 0, 0, 2049, 2052, 5, 263, 0, 0, 2050, 2051, 5, 226, 0, 0, 2051, 2053, 5, 262, 0, 0, 2052, 2050, 1, 0, 0, 0, 2052, 2053, 1, 0, 0, 0, 2053, 2055, 1, 0, 0, 0, 2054, 2048, 1, 0, 0, 0, 2054, 2049, 1, 0, 0, 0, 2055, 117, 1, 0, 0, 0, 2056, 2057, 5, 218, 0, 0, 2057, 2058, 5, 248, 0, 0, 2058, 2063, 3, 126, 63, 0, 2059, 2060, 5, 218, 0, 0, 2060, 2061, 5, 248, 0, 0, 2061, 2063, 3, 116, 58, 0, 2062, 2056, 1, 0, 0, 0, 2062, 2059, 1, 0, 0, 0, 2063, 119, 1, 0, 0, 0, 2064, 2065, 7, 16, 0, 0, 2065, 121, 1, 0, 0, 0, 2066, 2067, 7, 17, 0, 0, 2067, 123, 1, 0, 0, 0, 2068, 2069, 7, 18, 0, 0, 2069, 125, 1, 0, 0, 0, 2070, 2072, 5, 110, 0, 0, 2071, 2073, 7, 13, 0, 0, 2072, 2071, 1, 0, 0, 0, 2072, 2073, 1, 0, 0, 0, 2073, 2074, 1, 0, 0, 0, 2074, 2075, 3, 116, 58, 0, 2075, 2078, 3, 128, 64, 0, 2076, 2077, 5, 220, 0, 0, 2077, 2079, 3, 128, 64, 0, 2078, 2076, 1, 0, 0, 0, 2078, 2079, 1, 0, 0, 0, 2079, 127, 1, 0, 0, 0, 2080, 2081, 7, 19, 0, 0, 2081, 129, 1, 0, 0, 0, 2082, 2083, 7, 20, 0, 0, 2083, 131, 1, 0, 0, 0, 2084, 2085, 6, 66, -1, 0, 2085, 2086, 5, 192, 0, 0, 2086, 2087, 5, 1, 0, 0, 2087, 2092, 3, 134, 67, 0, 2088, 2089, 5, 3, 0, 0, 2089, 2091, 3, 134, 67, 0, 2090, 2088, 1, 0, 0, 0, 2091, 2094, 1, 0, 0, 0, 2092, 2090, 1, 0, 0, 0, 2092, 2093, 1, 0, 0, 0, 2093, 2095, 1, 0, 0, 0, 2094, 2092, 1, 0, 0, 0, 2095, 2096, 5, 2, 0, 0, 2096, 2176, 1, 0, 0, 0, 2097, 2098, 5, 110, 0, 0, 2098, 2101, 3, 128, 64, 0, 2099, 2100, 5, 220, 0, 0, 2100, 2102, 3, 128, 64, 0, 2101, 2099, 1, 0, 0, 0, 2101, 2102, 1, 0, 0, 0, 2102, 2176, 1, 0, 0, 0, 2103, 2108, 5, 219, 0, 0, 2104, 2105, 5, 1, 0, 0, 2105, 2106, 3, 136, 68, 0, 2106, 2107, 5, 2, 0, 0, 2107, 2109, 1, 0, 0, 0, 2108, 2104, 1, 0, 0, 0, 2108, 2109, 1, 0, 0, 0, 2109, 2113, 1, 0, 0, 0, 2110, 2111, 5, 244, 0, 0, 2111, 2112, 5, 218, 0, 0, 2112, 2114, 5, 248, 0, 0, 2113, 2110, 1, 0, 0, 0, 2113, 2114, 1, 0, 0, 0, 2114, 2176, 1, 0, 0, 0, 2115, 2120, 5, 219, 0, 0, 2116, 2117, 5, 1, 0, 0, 2117, 2118, 3, 136, 68, 0, 2118, 2119, 5, 2, 0, 0, 2119, 2121, 1, 0, 0, 0, 2120, 2116, 1, 0, 0, 0, 2120, 2121, 1, 0, 0, 0, 2121, 2122, 1, 0, 0, 0, 2122, 2123, 5, 243, 0, 0, 2123, 2124, 5, 218, 0, 0, 2124, 2176, 5, 248, 0, 0, 2125, 2130, 5, 218, 0, 0, 2126, 2127, 5, 1, 0, 0, 2127, 2128, 3, 136, 68, 0, 2128, 2129, 5, 2, 0, 0, 2129, 2131, 1, 0, 0, 0, 2130, 2126, 1, 0, 0, 0, 2130, 2131, 1, 0, 0, 0, 2131, 2135, 1, 0, 0, 0, 2132, 2133, 5, 244, 0, 0, 2133, 2134, 5, 218, 0, 0, 2134, 2136, 5, 248, 0, 0, 2135, 2132, 1, 0, 0, 0, 2135, 2136, 1, 0, 0, 0, 2136, 2176, 1, 0, 0, 0, 2137, 2142, 5, 218, 0, 0, 2138, 2139, 5, 1, 0, 0, 2139, 2140, 3, 136, 68, 0, 2140, 2141, 5, 2, 0, 0, 2141, 2143, 1, 0, 0, 0, 2142, 2138, 1, 0, 0, 0, 2142, 2143, 1, 0, 0, 0, 2143, 2144, 1, 0, 0, 0, 2144, 2145, 5, 243, 0, 0, 2145, 2146, 5, 218, 0, 0, 2146, 2176, 5, 248, 0, 0, 2147, 2148, 5, 68, 0, 0, 2148, 2176, 5, 172, 0, 0, 2149, 2150, 5, 25, 0, 0, 2150, 2151, 5, 251, 0, 0, 2151, 2152, 3, 132, 66, 0, 2152, 2153, 5, 253, 0, 0, 2153, 2176, 1, 0, 0, 0, 2154, 2155, 5, 128, 0, 0, 2155, 2156, 5, 251, 0, 0, 2156, 2157, 3, 132, 66, 0, 2157, 2158, 5, 3, 0, 0, 2158, 2159, 3, 132, 66, 0, 2159, 2160, 5, 253, 0, 0, 2160, 2176, 1, 0, 0, 0, 2161, 2173, 3, 212, 106, 0, 2162, 2163, 5, 1, 0, 0, 2163, 2168, 3, 136, 68, 0, 2164, 2165, 5, 3, 0, 0, 2165, 2167, 3, 136, 68, 0, 2166, 2164, 1, 0, 0, 0, 2167, 2170, 1, 0, 0, 0, 2168, 2166, 1, 0, 0, 0, 2168, 2169, 1, 0, 0, 0, 2169, 2171, 1, 0, 0, 0, 2170, 2168, 1, 0, 0, 0, 2171, 2172, 5, 2, 0, 0, 2172, 2174, 1, 0, 0, 0, 2173, 2162, 1, 0, 0, 0, 2173, 2174, 1, 0, 0, 0, 2174, 2176, 1, 0, 0, 0, 2175, 2084, 1, 0, 0, 0, 2175, 2097, 1, 0, 0, 0, 2175, 2103, 1, 0, 0, 0, 2175, 2115, 1, 0, 0, 0, 2175, 2125, 1, 0, 0, 0, 2175, 2137, 1, 0, 0, 0, 2175, 2147, 1, 0, 0, 0, 2175, 2149, 1, 0, 0, 0, 2175, 2154, 1, 0, 0, 0, 2175, 2161, 1, 0, 0, 0, 2176, 2186, 1, 0, 0, 0, 2177, 2178, 10, 2, 0, 0, 2178, 2182, 5, 25, 0, 0, 2179, 2180, 5, 7, 0, 0, 2180, 2181, 5, 265, 0, 0, 2181, 2183, 5, 8, 0, 0, 2182, 2179, 1, 0, 0, 0, 2182, 2183, 1, 0, 0, 0, 2183, 2185, 1, 0, 0, 0, 2184, 2177, 1, 0, 0, 0, 2185, 2188, 1, 0, 0, 0, 2186, 2184, 1, 0, 0, 0, 2186, 2187, 1, 0, 0, 0, 2187, 133, 1, 0, 0, 0, 2188, 2186, 1, 0, 0, 0, 2189, 2194, 3, 132, 66, 0, 2190, 2191, 3, 212, 106, 0, 2191, 2192, 3, 132, 66, 0, 2192, 2194, 1, 0, 0, 0, 2193, 2189, 1, 0, 0, 0, 2193, 2190, 1, 0, 0, 0, 2194, 135, 1, 0, 0, 0, 2195, 2198, 5, 265, 0, 0, 2196, 2198, 3, 132, 66, 0, 2197, 2195, 1, 0, 0, 0, 2197, 2196, 1, 0, 0, 0, 2198, 137, 1, 0, 0, 0, 2199, 2200, 5, 240, 0, 0, 2200, 2201, 3, 102, 51, 0, 2201, 2202, 5, 216, 0, 0, 2202, 2203, 3, 102, 51, 0, 2203, 139, 1, 0, 0, 0, 2204, 2205, 5, 82, 0, 0, 2205, 2206, 5, 1, 0, 0, 2206, 2207, 5, 241, 0, 0, 2207, 2208, 3, 104, 52, 0, 2208, 2209, 5, 2, 0, 0, 2209, 141, 1, 0, 0, 0, 2210, 2211, 5, 240, 0, 0, 2211, 2214, 5, 130, 0, 0, 2212, 2213, 5, 23, 0, 0, 2213, 2215, 3, 102, 51, 0, 2214, 2212, 1, 0, 0, 0, 2214, 2215, 1, 0, 0, 0, 2215, 2216, 1, 0, 0, 0, 2216, 2217, 5, 216, 0, 0, 2217, 2218, 5, 232, 0, 0, 2218, 2219, 5, 203, 0, 0, 2219, 2220, 3, 212, 106, 0, 2220, 2221, 5, 249, 0, 0, 2221, 2229, 3, 102, 51, 0, 2222, 2223, 5, 3, 0, 0, 2223, 2224, 3, 212, 106, 0, 2224, 2225, 5, 249, 0, 0, 2225, 2226, 3, 102, 51, 0, 2226, 2228, 1, 0, 0, 0, 2227, 2222, 1, 0, 0, 0, 2228, 2231, 1, 0, 0, 0, 2229, 2227, 1, 0, 0, 0, 2229, 2230, 1, 0, 0, 0, 2230, 2275, 1, 0, 0, 0, 2231, 2229, 1, 0, 0, 0, 2232, 2233, 5, 240, 0, 0, 2233, 2236, 5, 130, 0, 0, 2234, 2235, 5, 23, 0, 0, 2235, 2237, 3, 102, 51, 0, 2236, 2234, 1, 0, 0, 0, 2236, 2237, 1, 0, 0, 0, 2237, 2238, 1, 0, 0, 0, 2238, 2239, 5, 216, 0, 0, 2239, 2275, 5, 62, 0, 0, 2240, 2241, 5, 240, 0, 0, 2241, 2242, 5, 147, 0, 0, 2242, 2245, 5, 130, 0, 0, 2243, 2244, 5, 23, 0, 0, 2244, 2246, 3, 102, 51, 0, 2245, 2243, 1, 0, 0, 0, 2245, 2246, 1, 0, 0, 0, 2246, 2247, 1, 0, 0, 0, 2247, 2248, 5, 216, 0, 0, 2248, 2260, 5, 108, 0, 0, 2249, 2250, 5, 1, 0, 0, 2250, 2255, 3, 212, 106, 0, 2251, 2252, 5, 3, 0, 0, 2252, 2254, 3, 212, 106, 0, 2253, 2251, 1, 0, 0, 0, 2254, 2257, 1, 0, 0, 0, 2255, 2253, 1, 0, 0, 0, 2255, 2256, 1, 0, 0, 0, 2256, 2258, 1, 0, 0, 0, 2257, 2255, 1, 0, 0, 0, 2258, 2259, 5, 2, 0, 0, 2259, 2261, 1, 0, 0, 0, 2260, 2249, 1, 0, 0, 0, 2260, 2261, 1, 0, 0, 0, 2261, 2262, 1, 0, 0, 0, 2262, 2263, 5, 237, 0, 0, 2263, 2264, 5, 1, 0, 0, 2264, 2269, 3, 102, 51, 0, 2265, 2266, 5, 3, 0, 0, 2266, 2268, 3, 102, 51, 0, 2267, 2265, 1, 0, 0, 0, 2268, 2271, 1, 0, 0, 0, 2269, 2267, 1, 0, 0, 0, 2269, 2270, 1, 0, 0, 0, 2270, 2272, 1, 0, 0, 0, 2271, 2269, 1, 0, 0, 0, 2272, 2273, 5, 2, 0, 0, 2273, 2275, 1, 0, 0, 0, 2274, 2210, 1, 0, 0, 0, 2274, 2232, 1, 0, 0, 0, 2274, 2240, 1, 0, 0, 0, 2275, 143, 1, 0, 0, 0, 2276, 2282, 5, 162, 0, 0, 2277, 2283, 3, 212, 106, 0, 2278, 2279, 5, 1, 0, 0, 2279, 2280, 3, 60, 30, 0, 2280, 2281, 5, 2, 0, 0, 2281, 2283, 1, 0, 0, 0, 2282, 2277, 1, 0, 0, 0, 2282, 2278, 1, 0, 0, 0, 2283, 145, 1, 0, 0, 0, 2284, 2285, 5, 134, 0, 0, 2285, 2290, 3, 80, 40, 0, 2286, 2287, 5, 3, 0, 0, 2287, 2289, 3, 80, 40, 0, 2288, 2286, 1, 0, 0, 0, 2289, 2292, 1, 0, 0, 0, 2290, 2288, 1, 0, 0, 0, 2290, 2291, 1, 0, 0, 0, 2291, 2294, 1, 0, 0, 0, 2292, 2290, 1, 0, 0, 0, 2293, 2284, 1, 0, 0, 0, 2293, 2294, 1, 0, 0, 0, 2294, 2295, 1, 0, 0, 0, 2295, 2299, 3, 148, 74, 0, 2296, 2297, 5, 19, 0, 0, 2297, 2298, 5, 129, 0, 0, 2298, 2300, 3, 86, 43, 0, 2299, 2296, 1, 0, 0, 0, 2299, 2300, 1, 0, 0, 0, 2300, 2302, 1, 0, 0, 0, 2301, 2303, 7, 12, 0, 0, 2302, 2301, 1, 0, 0, 0, 2302, 2303, 1, 0, 0, 0, 2303, 2309, 1, 0, 0, 0, 2304, 2305, 5, 167, 0, 0, 2305, 2306, 5, 1, 0, 0, 2306, 2307, 3, 152, 76, 0, 2307, 2308, 5, 2, 0, 0, 2308, 2310, 1, 0, 0, 0, 2309, 2304, 1, 0, 0, 0, 2309, 2310, 1, 0, 0, 0, 2310, 2320, 1, 0, 0, 0, 2311, 2312, 5, 209, 0, 0, 2312, 2317, 3, 88, 44, 0, 2313, 2314, 5, 3, 0, 0, 2314, 2316, 3, 88, 44, 0, 2315, 2313, 1, 0, 0, 0, 2316, 2319, 1, 0, 0, 0, 2317, 2315, 1, 0, 0, 0, 2317, 2318, 1, 0, 0, 0, 2318, 2321, 1, 0, 0, 0, 2319, 2317, 1, 0, 0, 0, 2320, 2311, 1, 0, 0, 0, 2320, 2321, 1, 0, 0, 0, 2321, 2331, 1, 0, 0, 0, 2322, 2323, 5, 65, 0, 0, 2323, 2328, 3, 90, 45, 0, 2324, 2325, 5, 3, 0, 0, 2325, 2327, 3, 90, 45, 0, 2326, 2324, 1, 0, 0, 0, 2327, 2330, 1, 0, 0, 0, 2328, 2326, 1, 0, 0, 0, 2328, 2329, 1, 0, 0, 0, 2329, 2332, 1, 0, 0, 0, 2330, 2328, 1, 0, 0, 0, 2331, 2322, 1, 0, 0, 0, 2331, 2332, 1, 0, 0, 0, 2332, 147, 1, 0, 0, 0, 2333, 2334, 5, 176, 0, 0, 2334, 2358, 3, 150, 75, 0, 2335, 2336, 5, 193, 0, 0, 2336, 2358, 3, 150, 75, 0, 2337, 2338, 5, 98, 0, 0, 2338, 2358, 3, 150, 75, 0, 2339, 2340, 5, 176, 0, 0, 2340, 2341, 5, 31, 0, 0, 2341, 2342, 3, 150, 75, 0, 2342, 2343, 5, 23, 0, 0, 2343, 2344, 3, 150, 75, 0, 2344, 2358, 1, 0, 0, 0, 2345, 2346, 5, 193, 0, 0, 2346, 2347, 5, 31, 0, 0, 2347, 2348, 3, 150, 75, 0, 2348, 2349, 5, 23, 0, 0, 2349, 2350, 3, 150, 75, 0, 2350, 2358, 1, 0, 0, 0, 2351, 2352, 5, 98, 0, 0, 2352, 2353, 5, 31, 0, 0, 2353, 2354, 3, 150, 75, 0, 2354, 2355, 5, 23, 0, 0, 2355, 2356, 3, 150, 75, 0, 2356, 2358, 1, 0, 0, 0, 2357, 2333, 1, 0, 0, 0, 2357, 2335, 1, 0, 0, 0, 2357, 2337, 1, 0, 0, 0, 2357, 2339, 1, 0, 0, 0, 2357, 2345, 1, 0, 0, 0, 2357, 2351, 1, 0, 0, 0, 2358, 149, 1, 0, 0, 0, 2359, 2360, 5, 227, 0, 0, 2360, 2369, 5, 171, 0, 0, 2361, 2362, 5, 227, 0, 0, 2362, 2369, 5, 85, 0, 0, 2363, 2364, 5, 47, 0, 0, 2364, 2369, 5, 192, 0, 0, 2365, 2366, 3, 102, 51, 0, 2366, 2367, 7, 21, 0, 0, 2367, 2369, 1, 0, 0, 0, 2368, 2359, 1, 0, 0, 0, 2368, 2361, 1, 0, 0, 0, 2368, 2363, 1, 0, 0, 0, 2368, 2365, 1, 0, 0, 0, 2369, 151, 1, 0, 0, 0, 2370, 2371, 6, 76, -1, 0, 2371, 2373, 3, 154, 77, 0, 2372, 2374, 3, 156, 78, 0, 2373, 2372, 1, 0, 0, 0, 2373, 2374, 1, 0, 0, 0, 2374, 2382, 1, 0, 0, 0, 2375, 2376, 10, 2, 0, 0, 2376, 2381, 3, 152, 76, 3, 2377, 2378, 10, 1, 0, 0, 2378, 2379, 5, 9, 0, 0, 2379, 2381, 3, 152, 76, 2, 2380, 2375, 1, 0, 0, 0, 2380, 2377, 1, 0, 0, 0, 2381, 2384, 1, 0, 0, 0, 2382, 2380, 1, 0, 0, 0, 2382, 2383, 1, 0, 0, 0, 2383, 153, 1, 0, 0, 0, 2384, 2382, 1, 0, 0, 0, 2385, 2411, 3, 212, 106, 0, 2386, 2387, 5, 1, 0, 0, 2387, 2411, 5, 2, 0, 0, 2388, 2389, 5, 169, 0, 0, 2389, 2390, 5, 1, 0, 0, 2390, 2395, 3, 152, 76, 0, 2391, 2392, 5, 3, 0, 0, 2392, 2394, 3, 152, 76, 0, 2393, 2391, 1, 0, 0, 0, 2394, 2397, 1, 0, 0, 0, 2395, 2393, 1, 0, 0, 0, 2395, 2396, 1, 0, 0, 0, 2396, 2398, 1, 0, 0, 0, 2397, 2395, 1, 0, 0, 0, 2398, 2399, 5, 2, 0, 0, 2399, 2411, 1, 0, 0, 0, 2400, 2401, 5, 1, 0, 0, 2401, 2402, 3, 152, 76, 0, 2402, 2403, 5, 2, 0, 0, 2403, 2411, 1, 0, 0, 0, 2404, 2411, 5, 10, 0, 0, 2405, 2411, 5, 11, 0, 0, 2406, 2407, 5, 12, 0, 0, 2407, 2408, 3, 152, 76, 0, 2408, 2409, 5, 13, 0, 0, 2409, 2411, 1, 0, 0, 0, 2410, 2385, 1, 0, 0, 0, 2410, 2386, 1, 0, 0, 0, 2410, 2388, 1, 0, 0, 0, 2410, 2400, 1, 0, 0, 0, 2410, 2404, 1, 0, 0, 0, 2410, 2405, 1, 0, 0, 0, 2410, 2406, 1, 0, 0, 0, 2411, 155, 1, 0, 0, 0, 2412, 2414, 5, 257, 0, 0, 2413, 2415, 5, 261, 0, 0, 2414, 2413, 1, 0, 0, 0, 2414, 2415, 1, 0, 0, 0, 2415, 2443, 1, 0, 0, 0, 2416, 2418, 5, 255, 0, 0, 2417, 2419, 5, 261, 0, 0, 2418, 2417, 1, 0, 0, 0, 2418, 2419, 1, 0, 0, 0, 2419, 2443, 1, 0, 0, 0, 2420, 2422, 5, 261, 0, 0, 2421, 2423, 5, 261, 0, 0, 2422, 2421, 1, 0, 0, 0, 2422, 2423, 1, 0, 0, 0, 2423, 2443, 1, 0, 0, 0, 2424, 2425, 5, 14, 0, 0, 2425, 2426, 5, 265, 0, 0, 2426, 2428, 5, 15, 0, 0, 2427, 2429, 5, 261, 0, 0, 2428, 2427, 1, 0, 0, 0, 2428, 2429, 1, 0, 0, 0, 2429, 2443, 1, 0, 0, 0, 2430, 2432, 5, 14, 0, 0, 2431, 2433, 5, 265, 0, 0, 2432, 2431, 1, 0, 0, 0, 2432, 2433, 1, 0, 0, 0, 2433, 2434, 1, 0, 0, 0, 2434, 2436, 5, 3, 0, 0, 2435, 2437, 5, 265, 0, 0, 2436, 2435, 1, 0, 0, 0, 2436, 2437, 1, 0, 0, 0, 2437, 2438, 1, 0, 0, 0, 2438, 2440, 5, 15, 0, 0, 2439, 2441, 5, 261, 0, 0, 2440, 2439, 1, 0, 0, 0, 2440, 2441, 1, 0, 0, 0, 2441, 2443, 1, 0, 0, 0, 2442, 2412, 1, 0, 0, 0, 2442, 2416, 1, 0, 0, 0, 2442, 2420, 1, 0, 0, 0, 2442, 2424, 1, 0, 0, 0, 2442, 2430, 1, 0, 0, 0, 2443, 157, 1, 0, 0, 0, 2444, 2445, 3, 212, 106, 0, 2445, 2446, 5, 249, 0, 0, 2446, 2447, 3, 102, 51, 0, 2447, 159, 1, 0, 0, 0, 2448, 2449, 5, 87, 0, 0, 2449, 2453, 7, 22, 0, 0, 2450, 2451, 5, 225, 0, 0, 2451, 2453, 7, 23, 0, 0, 2452, 2448, 1, 0, 0, 0, 2452, 2450, 1, 0, 0, 0, 2453, 161, 1, 0, 0, 0, 2454, 2455, 5, 115, 0, 0, 2455, 2456, 5, 121, 0, 0, 2456, 2460, 3, 164, 82, 0, 2457, 2458, 5, 177, 0, 0, 2458, 2460, 7, 24, 0, 0, 2459, 2454, 1, 0, 0, 0, 2459, 2457, 1, 0, 0, 0, 2460, 163, 1, 0, 0, 0, 2461, 2462, 5, 177, 0, 0, 2462, 2469, 5, 228, 0, 0, 2463, 2464, 5, 177, 0, 0, 2464, 2469, 5, 42, 0, 0, 2465, 2466, 5, 181, 0, 0, 2466, 2469, 5, 177, 0, 0, 2467, 2469, 5, 201, 0, 0, 2468, 2461, 1, 0, 0, 0, 2468, 2463, 1, 0, 0, 0, 2468, 2465, 1, 0, 0, 0, 2468, 2467, 1, 0, 0, 0, 2469, 165, 1, 0, 0, 0, 2470, 2476, 3, 102, 51, 0, 2471, 2472, 3, 212, 106, 0, 2472, 2473, 5, 16, 0, 0, 2473, 2474, 3, 102, 51, 0, 2474, 2476, 1, 0, 0, 0, 2475, 2470, 1, 0, 0, 0, 2475, 2471, 1, 0, 0, 0, 2476, 167, 1, 0, 0, 0, 2477, 2478, 3, 212, 106, 0, 2478, 2479, 5, 4, 0, 0, 2479, 2480, 3, 212, 106, 0, 2480, 2483, 1, 0, 0, 0, 2481, 2483, 3, 212, 106, 0, 2482, 2477, 1, 0, 0, 0, 2482, 2481, 1, 0, 0, 0, 2483, 169, 1, 0, 0, 0, 2484, 2489, 3, 168, 84, 0, 2485, 2486, 5, 3, 0, 0, 2486, 2488, 3, 168, 84, 0, 2487, 2485, 1, 0, 0, 0, 2488, 2491, 1, 0, 0, 0, 2489, 2487, 1, 0, 0, 0, 2489, 2490, 1, 0, 0, 0, 2490, 171, 1, 0, 0, 0, 2491, 2489, 1, 0, 0, 0, 2492, 2493, 7, 25, 0, 0, 2493, 173, 1, 0, 0, 0, 2494, 2497, 3, 176, 88, 0, 2495, 2497, 3, 180, 90, 0, 2496, 2494, 1, 0, 0, 0, 2496, 2495, 1, 0, 0, 0, 2497, 175, 1, 0, 0, 0, 2498, 2499, 3, 184, 92, 0, 2499, 177, 1, 0, 0, 0, 2500, 2501, 3, 184, 92, 0, 2501, 179, 1, 0, 0, 0, 2502, 2503, 3, 186, 93, 0, 2503, 181, 1, 0, 0, 0, 2504, 2505, 3, 186, 93, 0, 2505, 183, 1, 0, 0, 0, 2506, 2518, 3, 212, 106, 0, 2507, 2508, 3, 212, 106, 0, 2508, 2509, 5, 4, 0, 0, 2509, 2510, 3, 212, 106, 0, 2510, 2518, 1, 0, 0, 0, 2511, 2512, 3, 212, 106, 0, 2512, 2513, 5, 4, 0, 0, 2513, 2514, 3, 212, 106, 0, 2514, 2515, 5, 4, 0, 0, 2515, 2516, 3, 212, 106, 0, 2516, 2518, 1, 0, 0, 0, 2517, 2506, 1, 0, 0, 0, 2517, 2507, 1, 0, 0, 0, 2517, 2511, 1, 0, 0, 0, 2518, 185, 1, 0, 0, 0, 2519, 2531, 3, 212, 106, 0, 2520, 2521, 3, 212, 106, 0, 2521, 2522, 5, 4, 0, 0, 2522, 2523, 3, 212, 106, 0, 2523, 2531, 1, 0, 0, 0, 2524, 2525, 3, 212, 106, 0, 2525, 2526, 5, 4, 0, 0, 2526, 2527, 3, 212, 106, 0, 2527, 2528, 5, 4, 0, 0, 2528, 2529, 3, 212, 106, 0, 2529, 2531, 1, 0, 0, 0, 2530, 2519, 1, 0, 0, 0, 2530, 2520, 1, 0, 0, 0, 2530, 2524, 1, 0, 0, 0, 2531, 187, 1, 0, 0, 0, 2532, 2533, 3, 192, 96, 0, 2533, 189, 1, 0, 0, 0, 2534, 2535, 3, 192, 96, 0, 2535, 191, 1, 0, 0, 0, 2536, 2542, 3, 212, 106, 0, 2537, 2538, 3, 212, 106, 0, 2538, 2539, 5, 4, 0, 0, 2539, 2540, 3, 212, 106, 0, 2540, 2542, 1, 0, 0, 0, 2541, 2536, 1, 0, 0, 0, 2541, 2537, 1, 0, 0, 0, 2542, 193, 1, 0, 0, 0, 2543, 2544, 3, 212, 106, 0, 2544, 195, 1, 0, 0, 0, 2545, 2546, 3, 212, 106, 0, 2546, 197, 1, 0, 0, 0, 2547, 2548, 3, 204, 102, 0, 2548, 199, 1, 0, 0, 0, 2549, 2552, 3, 204, 102, 0, 2550, 2552, 4, 100, 14, 0, 2551, 2549, 1, 0, 0, 0, 2551, 2550, 1, 0, 0, 0, 2552, 201, 1, 0, 0, 0, 2553, 2554, 3, 212, 106, 0, 2554, 203, 1, 0, 0, 0, 2555, 2560, 3, 212, 106, 0, 2556, 2557, 5, 4, 0, 0, 2557, 2559, 3, 212, 106, 0, 2558, 2556, 1, 0, 0, 0, 2559, 2562, 1, 0, 0, 0, 2560, 2558, 1, 0, 0, 0, 2560, 2561, 1, 0, 0, 0, 2561, 205, 1, 0, 0, 0, 2562, 2560, 1, 0, 0, 0, 2563, 2567, 3, 208, 104, 0, 2564, 2567, 5, 55, 0, 0, 2565, 2567, 5, 51, 0, 0, 2566, 2563, 1, 0, 0, 0, 2566, 2564, 1, 0, 0, 0, 2566, 2565, 1, 0, 0, 0, 2567, 207, 1, 0, 0, 0, 2568, 2574, 3, 212, 106, 0, 2569, 2570, 5, 234, 0, 0, 2570, 2574, 3, 212, 106, 0, 2571, 2572, 5, 188, 0, 0, 2572, 2574, 3, 212, 106, 0, 2573, 2568, 1, 0, 0, 0, 2573, 2569, 1, 0, 0, 0, 2573, 2571, 1, 0, 0, 0, 2574, 209, 1, 0, 0, 0, 2575, 2580, 3, 212, 106, 0, 2576, 2577, 5, 3, 0, 0, 2577, 2579, 3, 212, 106, 0, 2578, 2576, 1, 0, 0, 0, 2579, 2582, 1, 0, 0, 0, 2580, 2578, 1, 0, 0, 0, 2580, 2581, 1, 0, 0, 0, 2581, 211, 1, 0, 0, 0, 2582, 2580, 1, 0, 0, 0, 2583, 2589, 5, 268, 0, 0, 2584, 2589, 5, 270, 0, 0, 2585, 2589, 3, 216, 108, 0, 2586, 2589, 5, 271, 0, 0, 2587, 2589, 5, 269, 0, 0, 2588, 2583, 1, 0, 0, 0, 2588, 2584, 1, 0, 0, 0, 2588, 2585, 1, 0, 0, 0, 2588, 2586, 1, 0, 0, 0, 2588, 2587, 1, 0, 0, 0, 2589, 213, 1, 0, 0, 0, 2590, 2592, 5, 256, 0, 0, 2591, 2590, 1, 0, 0, 0, 2591, 2592, 1, 0, 0, 0, 2592, 2593, 1, 0, 0, 0, 2593, 2603, 5, 266, 0, 0, 2594, 2596, 5, 256, 0, 0, 2595, 2594, 1, 0, 0, 0, 2595, 2596, 1, 0, 0, 0, 2596, 2597, 1, 0, 0, 0, 2597, 2603, 5, 267, 0, 0, 2598, 2600, 5, 256, 0, 0, 2599, 2598, 1, 0, 0, 0, 2599, 2600, 1, 0, 0, 0, 2600, 2601, 1, 0, 0, 0, 2601, 2603, 5, 265, 0, 0, 2602, 2591, 1, 0, 0, 0, 2602, 2595, 1, 0, 0, 0, 2602, 2599, 1, 0, 0, 0, 2603, 215, 1, 0, 0, 0, 2604, 2605, 7, 26, 0, 0, 2605, 217, 1, 0, 0, 0, 340, 221, 232, 236, 240, 244, 248, 252, 262, 267, 271, 277, 281, 302, 306, 310, 314, 322, 326, 329, 336, 345, 351, 355, 361, 368, 377, 386, 400, 409, 415, 422, 432, 439, 447, 455, 484, 487, 490, 494, 500, 505, 512, 517, 521, 529, 535, 539, 553, 561, 580, 605, 608, 618, 622, 635, 641, 646, 650, 656, 665, 671, 675, 682, 686, 694, 699, 703, 707, 710, 717, 725, 730, 734, 738, 741, 750, 757, 762, 766, 770, 773, 781, 784, 788, 791, 799, 804, 828, 834, 836, 842, 848, 850, 858, 860, 866, 872, 874, 889, 894, 901, 913, 915, 923, 925, 943, 946, 950, 954, 972, 975, 991, 1001, 1006, 1012, 1015, 1024, 1036, 1039, 1045, 1052, 1057, 1063, 1067, 1071, 1077, 1088, 1097, 1107, 1110, 1115, 1117, 1124, 1130, 1132, 1136, 1146, 1152, 1155, 1157, 1169, 1176, 1180, 1183, 1187, 1191, 1198, 1207, 1210, 1214, 1219, 1223, 1231, 1234, 1237, 1244, 1255, 1258, 1268, 1271, 1282, 1287, 1295, 1298, 1302, 1306, 1315, 1324, 1327, 1336, 1339, 1342, 1346, 1357, 1360, 1363, 1370, 1373, 1392, 1396, 1400, 1404, 1408, 1412, 1414, 1425, 1430, 1439, 1453, 1456, 1465, 1468, 1476, 1479, 1482, 1487, 1490, 1502, 1505, 1513, 1518, 1522, 1524, 1526, 1541, 1543, 1554, 1575, 1585, 1596, 1600, 1602, 1610, 1621, 1632, 1649, 1655, 1666, 1673, 1677, 1685, 1687, 1700, 1708, 1717, 1723, 1731, 1737, 1741, 1746, 1751, 1757, 1771, 1773, 1803, 1814, 1824, 1827, 1830, 1835, 1842, 1845, 1854, 1857, 1861, 1864, 1867, 1882, 1885, 1904, 1908, 1916, 1920, 1945, 1948, 1957, 1963, 1969, 1975, 1988, 1997, 2019, 2022, 2025, 2035, 2037, 2046, 2052, 2054, 2062, 2072, 2078, 2092, 2101, 2108, 2113, 2120, 2130, 2135, 2142, 2168, 2173, 2175, 2182, 2186, 2193, 2197, 2214, 2229, 2236, 2245, 2255, 2260, 2269, 2274, 2282, 2290, 2293, 2299, 2302, 2309, 2317, 2320, 2328, 2331, 2357, 2368, 2373, 2380, 2382, 2395, 2410, 2414, 2418, 2422, 2428, 2432, 2436, 2440, 2442, 2452, 2459, 2468, 2475, 2482, 2489, 2496, 2517, 2530, 2541, 2551, 2560, 2566, 2573, 2580, 2588, 2591, 2595, 2599, 2602] \ No newline at end of file +[4, 1, 340, 3674, 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, 1, 0, 5, 0, 302, 8, 0, 10, 0, 12, 0, 305, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 3, 2, 313, 8, 2, 1, 3, 1, 3, 3, 3, 317, 8, 3, 1, 4, 1, 4, 3, 4, 321, 8, 4, 1, 5, 1, 5, 3, 5, 325, 8, 5, 1, 6, 1, 6, 3, 6, 329, 8, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 342, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 349, 8, 8, 1, 8, 1, 8, 3, 8, 353, 8, 8, 1, 8, 1, 8, 3, 8, 357, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 363, 8, 8, 1, 8, 1, 8, 3, 8, 367, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 374, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 379, 8, 8, 1, 8, 1, 8, 3, 8, 383, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 389, 8, 8, 1, 8, 1, 8, 3, 8, 393, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 412, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 418, 8, 8, 1, 8, 1, 8, 3, 8, 422, 8, 8, 1, 8, 1, 8, 3, 8, 426, 8, 8, 1, 8, 1, 8, 3, 8, 430, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 438, 8, 8, 1, 8, 1, 8, 3, 8, 442, 8, 8, 1, 8, 3, 8, 445, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 450, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 456, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 463, 8, 8, 10, 8, 12, 8, 466, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 471, 8, 8, 1, 8, 1, 8, 3, 8, 475, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 481, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 488, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 497, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 509, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 518, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 527, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 533, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 544, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 552, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 560, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 567, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 577, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 584, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 592, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 607, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 640, 8, 8, 10, 8, 12, 8, 643, 9, 8, 3, 8, 645, 8, 8, 1, 8, 3, 8, 648, 8, 8, 1, 8, 1, 8, 3, 8, 652, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 658, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 663, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 670, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 676, 8, 8, 1, 8, 1, 8, 3, 8, 680, 8, 8, 1, 8, 1, 8, 3, 8, 684, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 692, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 698, 8, 8, 1, 8, 1, 8, 3, 8, 702, 8, 8, 1, 8, 1, 8, 3, 8, 706, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 720, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 728, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 747, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 770, 8, 8, 10, 8, 12, 8, 773, 9, 8, 3, 8, 775, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 782, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 789, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 798, 8, 8, 1, 8, 1, 8, 3, 8, 802, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 809, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 815, 8, 8, 10, 8, 12, 8, 818, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 824, 8, 8, 10, 8, 12, 8, 827, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 832, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 837, 8, 8, 1, 8, 1, 8, 3, 8, 841, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 847, 8, 8, 10, 8, 12, 8, 850, 9, 8, 1, 8, 1, 8, 3, 8, 854, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 863, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 869, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 874, 8, 8, 10, 8, 12, 8, 877, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 883, 8, 8, 10, 8, 12, 8, 886, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 891, 8, 8, 1, 8, 1, 8, 3, 8, 895, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 901, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 906, 8, 8, 10, 8, 12, 8, 909, 9, 8, 1, 8, 1, 8, 3, 8, 913, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 924, 8, 8, 10, 8, 12, 8, 927, 9, 8, 1, 8, 1, 8, 3, 8, 931, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 943, 8, 8, 1, 8, 1, 8, 3, 8, 947, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 953, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 960, 8, 8, 10, 8, 12, 8, 963, 9, 8, 1, 8, 1, 8, 3, 8, 967, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 973, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1001, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1007, 8, 8, 3, 8, 1009, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1015, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1021, 8, 8, 3, 8, 1023, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1031, 8, 8, 3, 8, 1033, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1043, 8, 8, 3, 8, 1045, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1060, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1065, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1072, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1082, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1088, 8, 8, 3, 8, 1090, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1098, 8, 8, 3, 8, 1100, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1123, 8, 8, 10, 8, 12, 8, 1126, 9, 8, 3, 8, 1128, 8, 8, 1, 8, 1, 8, 3, 8, 1132, 8, 8, 1, 8, 1, 8, 3, 8, 1136, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1152, 8, 8, 10, 8, 12, 8, 1155, 9, 8, 3, 8, 1157, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1166, 8, 8, 10, 8, 12, 8, 1169, 9, 8, 3, 8, 1171, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1187, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1195, 8, 8, 10, 8, 12, 8, 1198, 9, 8, 1, 8, 1, 8, 3, 8, 1202, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1208, 8, 8, 1, 8, 3, 8, 1211, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 4, 8, 1218, 8, 8, 11, 8, 12, 8, 1219, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1232, 8, 8, 1, 9, 3, 9, 1235, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 1243, 8, 10, 10, 10, 12, 10, 1246, 9, 10, 1, 11, 3, 11, 1249, 8, 11, 1, 11, 1, 11, 1, 12, 1, 12, 3, 12, 1255, 8, 12, 1, 12, 1, 12, 1, 12, 5, 12, 1260, 8, 12, 10, 12, 12, 12, 1263, 9, 12, 1, 13, 1, 13, 3, 13, 1267, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 1273, 8, 14, 1, 14, 1, 14, 3, 14, 1277, 8, 14, 1, 14, 1, 14, 3, 14, 1281, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 1287, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 5, 17, 1296, 8, 17, 10, 17, 12, 17, 1299, 9, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 3, 19, 1307, 8, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 1315, 8, 20, 10, 20, 12, 20, 1318, 9, 20, 3, 20, 1320, 8, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1325, 8, 20, 3, 20, 1327, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1334, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1340, 8, 20, 3, 20, 1342, 8, 20, 1, 21, 1, 21, 3, 21, 1346, 8, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1356, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1362, 8, 23, 1, 23, 5, 23, 1365, 8, 23, 10, 23, 12, 23, 1368, 9, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 1377, 8, 24, 10, 24, 12, 24, 1380, 9, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 1386, 8, 24, 1, 25, 1, 25, 3, 25, 1390, 8, 25, 1, 25, 3, 25, 1393, 8, 25, 1, 25, 1, 25, 3, 25, 1397, 8, 25, 1, 26, 1, 26, 3, 26, 1401, 8, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1406, 8, 26, 10, 26, 12, 26, 1409, 9, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1415, 8, 26, 10, 26, 12, 26, 1418, 9, 26, 3, 26, 1420, 8, 26, 1, 26, 1, 26, 3, 26, 1424, 8, 26, 1, 26, 1, 26, 1, 26, 3, 26, 1429, 8, 26, 1, 26, 1, 26, 3, 26, 1433, 8, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1439, 8, 26, 10, 26, 12, 26, 1442, 9, 26, 3, 26, 1444, 8, 26, 1, 27, 3, 27, 1447, 8, 27, 1, 27, 1, 27, 1, 27, 5, 27, 1452, 8, 27, 10, 27, 12, 27, 1455, 9, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1463, 8, 28, 10, 28, 12, 28, 1466, 9, 28, 3, 28, 1468, 8, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1476, 8, 28, 10, 28, 12, 28, 1479, 9, 28, 3, 28, 1481, 8, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1490, 8, 28, 10, 28, 12, 28, 1493, 9, 28, 1, 28, 1, 28, 3, 28, 1497, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 5, 29, 1503, 8, 29, 10, 29, 12, 29, 1506, 9, 29, 3, 29, 1508, 8, 29, 1, 29, 1, 29, 3, 29, 1512, 8, 29, 1, 30, 1, 30, 3, 30, 1516, 8, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 3, 32, 1525, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1532, 8, 32, 10, 32, 12, 32, 1535, 9, 32, 3, 32, 1537, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1544, 8, 32, 10, 32, 12, 32, 1547, 9, 32, 3, 32, 1549, 8, 32, 1, 32, 3, 32, 1552, 8, 32, 1, 33, 1, 33, 3, 33, 1556, 8, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 3, 35, 1567, 8, 35, 1, 35, 3, 35, 1570, 8, 35, 1, 35, 3, 35, 1573, 8, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 1580, 8, 35, 1, 35, 3, 35, 1583, 8, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 3, 36, 1602, 8, 36, 5, 36, 1604, 8, 36, 10, 36, 12, 36, 1607, 9, 36, 1, 37, 3, 37, 1610, 8, 37, 1, 37, 1, 37, 3, 37, 1614, 8, 37, 1, 37, 1, 37, 3, 37, 1618, 8, 37, 1, 37, 1, 37, 3, 37, 1622, 8, 37, 3, 37, 1624, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 5, 38, 1633, 8, 38, 10, 38, 12, 38, 1636, 9, 38, 1, 38, 1, 38, 3, 38, 1640, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 1649, 8, 39, 1, 40, 1, 40, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 3, 42, 1658, 8, 42, 1, 42, 3, 42, 1661, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 1667, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1677, 8, 44, 10, 44, 12, 44, 1680, 9, 44, 3, 44, 1682, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1689, 8, 44, 10, 44, 12, 44, 1692, 9, 44, 3, 44, 1694, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1700, 8, 44, 10, 44, 12, 44, 1703, 9, 44, 3, 44, 1705, 8, 44, 1, 44, 3, 44, 1708, 8, 44, 1, 44, 1, 44, 1, 44, 3, 44, 1713, 8, 44, 1, 44, 3, 44, 1716, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1726, 8, 44, 10, 44, 12, 44, 1729, 9, 44, 3, 44, 1731, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1737, 8, 44, 10, 44, 12, 44, 1740, 9, 44, 1, 44, 1, 44, 3, 44, 1744, 8, 44, 1, 44, 1, 44, 3, 44, 1748, 8, 44, 3, 44, 1750, 8, 44, 3, 44, 1752, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 1767, 8, 46, 3, 46, 1769, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 1780, 8, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 1801, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 1809, 8, 49, 10, 49, 12, 49, 1812, 9, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 3, 51, 1822, 8, 51, 1, 51, 1, 51, 3, 51, 1826, 8, 51, 3, 51, 1828, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 1834, 8, 52, 10, 52, 12, 52, 1837, 9, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 5, 53, 1845, 8, 53, 10, 53, 12, 53, 1848, 9, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 1856, 8, 54, 10, 54, 12, 54, 1859, 9, 54, 1, 54, 1, 54, 1, 55, 1, 55, 3, 55, 1865, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1876, 8, 55, 10, 55, 12, 55, 1879, 9, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1884, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1908, 8, 55, 10, 55, 12, 55, 1911, 9, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1925, 8, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1930, 8, 55, 1, 55, 1, 55, 3, 55, 1934, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1944, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1950, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1956, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1964, 8, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1969, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1976, 8, 56, 3, 56, 1978, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1984, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1990, 8, 56, 1, 56, 1, 56, 3, 56, 1994, 8, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1999, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 2006, 8, 56, 10, 56, 12, 56, 2009, 9, 56, 1, 56, 1, 56, 3, 56, 2013, 8, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 2025, 8, 57, 10, 57, 12, 57, 2028, 9, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 2035, 8, 57, 10, 57, 12, 57, 2038, 9, 57, 3, 57, 2040, 8, 57, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 2049, 8, 59, 1, 60, 1, 60, 1, 60, 3, 60, 2054, 8, 60, 1, 60, 1, 60, 1, 60, 3, 60, 2059, 8, 60, 3, 60, 2061, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 5, 61, 2068, 8, 61, 10, 61, 12, 61, 2071, 9, 61, 3, 61, 2073, 8, 61, 1, 61, 1, 61, 1, 61, 1, 61, 5, 61, 2079, 8, 61, 10, 61, 12, 61, 2082, 9, 61, 3, 61, 2084, 8, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 3, 62, 2091, 8, 62, 1, 62, 1, 62, 1, 62, 3, 62, 2096, 8, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 2105, 8, 63, 10, 63, 12, 63, 2108, 9, 63, 3, 63, 2110, 8, 63, 1, 63, 1, 63, 3, 63, 2114, 8, 63, 3, 63, 2116, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 2124, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 2132, 8, 63, 10, 63, 12, 63, 2135, 9, 63, 1, 63, 1, 63, 1, 63, 3, 63, 2140, 8, 63, 3, 63, 2142, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 2149, 8, 64, 1, 64, 1, 64, 3, 64, 2153, 8, 64, 3, 64, 2155, 8, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 2162, 8, 64, 1, 64, 1, 64, 3, 64, 2166, 8, 64, 3, 64, 2168, 8, 64, 3, 64, 2170, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 2177, 8, 65, 10, 65, 12, 65, 2180, 9, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 2190, 8, 65, 1, 66, 1, 66, 3, 66, 2194, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 2202, 8, 67, 10, 67, 12, 67, 2205, 9, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 3, 69, 2214, 8, 69, 1, 69, 1, 69, 3, 69, 2218, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 2226, 8, 69, 10, 69, 12, 69, 2229, 9, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2241, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2249, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 5, 70, 2256, 8, 70, 10, 70, 12, 70, 2259, 9, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2264, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2272, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2278, 8, 70, 1, 70, 1, 70, 3, 70, 2282, 8, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2287, 8, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2292, 8, 70, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2298, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2312, 8, 71, 10, 71, 12, 71, 2315, 9, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 4, 72, 2342, 8, 72, 11, 72, 12, 72, 2343, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2353, 8, 72, 10, 72, 12, 72, 2356, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2363, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2368, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2373, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2384, 8, 72, 10, 72, 12, 72, 2387, 9, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2392, 8, 72, 1, 72, 3, 72, 2395, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2402, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2407, 8, 72, 1, 72, 3, 72, 2410, 8, 72, 1, 72, 3, 72, 2413, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2418, 8, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2423, 8, 72, 10, 72, 12, 72, 2426, 9, 72, 3, 72, 2428, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2435, 8, 72, 10, 72, 12, 72, 2438, 9, 72, 3, 72, 2440, 8, 72, 1, 72, 1, 72, 3, 72, 2444, 8, 72, 1, 72, 3, 72, 2447, 8, 72, 1, 72, 3, 72, 2450, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2463, 8, 72, 10, 72, 12, 72, 2466, 9, 72, 3, 72, 2468, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 4, 72, 2485, 8, 72, 11, 72, 12, 72, 2486, 1, 72, 1, 72, 3, 72, 2491, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 4, 72, 2497, 8, 72, 11, 72, 12, 72, 2498, 1, 72, 1, 72, 3, 72, 2503, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2526, 8, 72, 10, 72, 12, 72, 2529, 9, 72, 3, 72, 2531, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2540, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2546, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2552, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2558, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2567, 8, 72, 1, 72, 3, 72, 2570, 8, 72, 1, 72, 3, 72, 2573, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2592, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2601, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2621, 8, 72, 10, 72, 12, 72, 2624, 9, 72, 3, 72, 2626, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2636, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2645, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2651, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2657, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2668, 8, 72, 3, 72, 2670, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2675, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2682, 8, 72, 3, 72, 2684, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2690, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2696, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2705, 8, 72, 10, 72, 12, 72, 2708, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2716, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2721, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2726, 8, 72, 3, 72, 2728, 8, 72, 3, 72, 2730, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2736, 8, 72, 3, 72, 2738, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2746, 8, 72, 10, 72, 12, 72, 2749, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2757, 8, 72, 3, 72, 2759, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2765, 8, 72, 3, 72, 2767, 8, 72, 1, 72, 3, 72, 2770, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2780, 8, 72, 10, 72, 12, 72, 2783, 9, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 2790, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 2796, 8, 73, 10, 73, 12, 73, 2799, 9, 73, 3, 73, 2801, 8, 73, 1, 74, 1, 74, 1, 74, 3, 74, 2806, 8, 74, 1, 75, 1, 75, 1, 75, 3, 75, 2811, 8, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 3, 78, 2823, 8, 78, 1, 79, 1, 79, 3, 79, 2827, 8, 79, 1, 79, 1, 79, 3, 79, 2831, 8, 79, 1, 79, 3, 79, 2834, 8, 79, 3, 79, 2836, 8, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 3, 80, 2844, 8, 80, 1, 81, 3, 81, 2847, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2857, 8, 81, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2865, 8, 83, 1, 84, 1, 84, 1, 84, 1, 84, 3, 84, 2871, 8, 84, 3, 84, 2873, 8, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 3, 85, 2881, 8, 85, 1, 86, 1, 86, 1, 87, 1, 87, 1, 88, 1, 88, 1, 89, 1, 89, 3, 89, 2891, 8, 89, 1, 89, 1, 89, 1, 89, 1, 89, 3, 89, 2897, 8, 89, 1, 90, 1, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 5, 92, 2909, 8, 92, 10, 92, 12, 92, 2912, 9, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2920, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2927, 8, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2932, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2939, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2949, 8, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2954, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2961, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 5, 92, 2985, 8, 92, 10, 92, 12, 92, 2988, 9, 92, 1, 92, 1, 92, 3, 92, 2992, 8, 92, 3, 92, 2994, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 3001, 8, 92, 5, 92, 3003, 8, 92, 10, 92, 12, 92, 3006, 9, 92, 1, 93, 1, 93, 1, 93, 1, 93, 3, 93, 3012, 8, 93, 1, 94, 1, 94, 3, 94, 3016, 8, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3033, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 5, 97, 3046, 8, 97, 10, 97, 12, 97, 3049, 9, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3055, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3064, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 5, 97, 3072, 8, 97, 10, 97, 12, 97, 3075, 9, 97, 1, 97, 1, 97, 3, 97, 3079, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 5, 97, 3086, 8, 97, 10, 97, 12, 97, 3089, 9, 97, 1, 97, 1, 97, 3, 97, 3093, 8, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 3, 98, 3101, 8, 98, 1, 99, 1, 99, 1, 99, 1, 99, 5, 99, 3107, 8, 99, 10, 99, 12, 99, 3110, 9, 99, 3, 99, 3112, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 3, 99, 3118, 8, 99, 1, 99, 3, 99, 3121, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 3, 99, 3128, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 5, 99, 3134, 8, 99, 10, 99, 12, 99, 3137, 9, 99, 3, 99, 3139, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 5, 99, 3145, 8, 99, 10, 99, 12, 99, 3148, 9, 99, 3, 99, 3150, 8, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 3, 100, 3176, 8, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 3, 101, 3187, 8, 101, 1, 102, 1, 102, 1, 102, 3, 102, 3192, 8, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 5, 102, 3199, 8, 102, 10, 102, 12, 102, 3202, 9, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 5, 103, 3212, 8, 103, 10, 103, 12, 103, 3215, 9, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 3, 103, 3229, 8, 103, 1, 104, 1, 104, 3, 104, 3233, 8, 104, 1, 104, 1, 104, 3, 104, 3237, 8, 104, 1, 104, 1, 104, 3, 104, 3241, 8, 104, 1, 104, 1, 104, 1, 104, 1, 104, 3, 104, 3247, 8, 104, 1, 104, 1, 104, 3, 104, 3251, 8, 104, 1, 104, 1, 104, 3, 104, 3255, 8, 104, 1, 104, 1, 104, 3, 104, 3259, 8, 104, 3, 104, 3261, 8, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 3, 106, 3271, 8, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 3278, 8, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3287, 8, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 3, 109, 3294, 8, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 3, 110, 3301, 8, 110, 1, 111, 1, 111, 1, 111, 5, 111, 3306, 8, 111, 10, 111, 12, 111, 3309, 9, 111, 1, 112, 1, 112, 1, 112, 1, 112, 5, 112, 3315, 8, 112, 10, 112, 12, 112, 3318, 9, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 5, 113, 3327, 8, 113, 10, 113, 12, 113, 3330, 9, 113, 3, 113, 3332, 8, 113, 1, 113, 1, 113, 1, 114, 3, 114, 3337, 8, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 3, 116, 3347, 8, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 3, 116, 3363, 8, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 4, 117, 3375, 8, 117, 11, 117, 12, 117, 3376, 1, 117, 3, 117, 3380, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 4, 117, 3387, 8, 117, 11, 117, 12, 117, 3388, 1, 117, 3, 117, 3392, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 5, 117, 3402, 8, 117, 10, 117, 12, 117, 3405, 9, 117, 1, 117, 3, 117, 3408, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 5, 117, 3421, 8, 117, 10, 117, 12, 117, 3424, 9, 117, 1, 117, 3, 117, 3427, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3433, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3443, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3455, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3464, 8, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 120, 1, 120, 1, 120, 1, 121, 1, 121, 1, 121, 1, 121, 5, 121, 3483, 8, 121, 10, 121, 12, 121, 3486, 9, 121, 1, 121, 1, 121, 1, 121, 3, 121, 3491, 8, 121, 1, 122, 1, 122, 1, 122, 4, 122, 3496, 8, 122, 11, 122, 12, 122, 3497, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 3, 123, 3506, 8, 123, 1, 124, 1, 124, 1, 124, 3, 124, 3511, 8, 124, 1, 125, 3, 125, 3514, 8, 125, 1, 125, 1, 125, 1, 126, 1, 126, 3, 126, 3520, 8, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 3, 127, 3533, 8, 127, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 3, 128, 3546, 8, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 3, 129, 3559, 8, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 3, 130, 3572, 8, 130, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 3, 131, 3579, 8, 131, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 3, 132, 3586, 8, 132, 1, 133, 1, 133, 1, 134, 1, 134, 1, 135, 1, 135, 1, 136, 1, 136, 1, 137, 1, 137, 3, 137, 3598, 8, 137, 1, 138, 1, 138, 1, 139, 1, 139, 1, 139, 5, 139, 3605, 8, 139, 10, 139, 12, 139, 3608, 9, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 141, 1, 141, 1, 142, 1, 142, 1, 142, 3, 142, 3621, 8, 142, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 3, 143, 3628, 8, 143, 1, 144, 1, 144, 1, 144, 5, 144, 3633, 8, 144, 10, 144, 12, 144, 3636, 9, 144, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 3, 145, 3645, 8, 145, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 3, 146, 3652, 8, 146, 1, 147, 3, 147, 3655, 8, 147, 1, 147, 1, 147, 3, 147, 3659, 8, 147, 1, 147, 1, 147, 3, 147, 3663, 8, 147, 1, 147, 3, 147, 3666, 8, 147, 1, 148, 1, 148, 3, 148, 3670, 8, 148, 1, 149, 1, 149, 1, 149, 0, 7, 46, 72, 138, 142, 144, 184, 204, 150, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 246, 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 272, 274, 276, 278, 280, 282, 284, 286, 288, 290, 292, 294, 296, 298, 0, 35, 2, 0, 39, 39, 229, 229, 2, 0, 72, 72, 131, 131, 2, 0, 105, 105, 122, 122, 2, 0, 92, 92, 123, 123, 1, 0, 239, 240, 2, 0, 101, 101, 174, 174, 2, 0, 324, 324, 329, 329, 2, 0, 91, 91, 281, 281, 2, 0, 29, 29, 75, 75, 2, 0, 101, 101, 148, 148, 2, 0, 22, 22, 79, 79, 2, 0, 33, 33, 259, 259, 3, 0, 35, 35, 150, 150, 270, 270, 2, 0, 124, 124, 247, 247, 2, 0, 85, 85, 89, 89, 2, 0, 144, 144, 189, 189, 2, 0, 125, 125, 197, 197, 2, 0, 54, 54, 281, 281, 1, 0, 318, 319, 1, 0, 320, 322, 1, 0, 291, 293, 4, 0, 89, 89, 97, 97, 273, 273, 283, 283, 2, 0, 49, 49, 280, 280, 2, 0, 100, 100, 241, 241, 1, 0, 312, 317, 3, 0, 22, 22, 26, 26, 254, 254, 2, 0, 97, 97, 273, 273, 5, 0, 67, 67, 118, 118, 170, 171, 245, 245, 310, 310, 1, 0, 175, 178, 2, 0, 102, 102, 212, 212, 3, 0, 113, 113, 137, 137, 263, 263, 4, 0, 80, 80, 132, 132, 160, 160, 294, 294, 2, 0, 192, 192, 309, 309, 2, 0, 268, 268, 298, 298, 54, 0, 18, 22, 24, 24, 26, 27, 29, 33, 35, 35, 37, 39, 42, 49, 51, 52, 56, 56, 65, 67, 69, 72, 74, 75, 77, 78, 80, 82, 85, 87, 89, 89, 92, 92, 95, 95, 98, 102, 104, 104, 107, 113, 116, 116, 118, 121, 123, 124, 126, 126, 129, 129, 131, 132, 134, 135, 137, 137, 144, 151, 153, 153, 155, 155, 157, 157, 160, 171, 173, 180, 184, 189, 191, 193, 196, 196, 198, 213, 215, 220, 222, 233, 235, 237, 239, 247, 249, 259, 261, 264, 266, 271, 274, 276, 278, 280, 282, 284, 286, 289, 291, 295, 297, 299, 302, 303, 305, 311, 4228, 0, 303, 1, 0, 0, 0, 2, 308, 1, 0, 0, 0, 4, 310, 1, 0, 0, 0, 6, 314, 1, 0, 0, 0, 8, 318, 1, 0, 0, 0, 10, 322, 1, 0, 0, 0, 12, 326, 1, 0, 0, 0, 14, 330, 1, 0, 0, 0, 16, 1231, 1, 0, 0, 0, 18, 1234, 1, 0, 0, 0, 20, 1238, 1, 0, 0, 0, 22, 1248, 1, 0, 0, 0, 24, 1252, 1, 0, 0, 0, 26, 1266, 1, 0, 0, 0, 28, 1268, 1, 0, 0, 0, 30, 1282, 1, 0, 0, 0, 32, 1288, 1, 0, 0, 0, 34, 1292, 1, 0, 0, 0, 36, 1300, 1, 0, 0, 0, 38, 1306, 1, 0, 0, 0, 40, 1308, 1, 0, 0, 0, 42, 1345, 1, 0, 0, 0, 44, 1347, 1, 0, 0, 0, 46, 1349, 1, 0, 0, 0, 48, 1385, 1, 0, 0, 0, 50, 1389, 1, 0, 0, 0, 52, 1398, 1, 0, 0, 0, 54, 1446, 1, 0, 0, 0, 56, 1496, 1, 0, 0, 0, 58, 1511, 1, 0, 0, 0, 60, 1515, 1, 0, 0, 0, 62, 1517, 1, 0, 0, 0, 64, 1524, 1, 0, 0, 0, 66, 1553, 1, 0, 0, 0, 68, 1562, 1, 0, 0, 0, 70, 1582, 1, 0, 0, 0, 72, 1584, 1, 0, 0, 0, 74, 1623, 1, 0, 0, 0, 76, 1639, 1, 0, 0, 0, 78, 1641, 1, 0, 0, 0, 80, 1650, 1, 0, 0, 0, 82, 1652, 1, 0, 0, 0, 84, 1660, 1, 0, 0, 0, 86, 1666, 1, 0, 0, 0, 88, 1668, 1, 0, 0, 0, 90, 1753, 1, 0, 0, 0, 92, 1768, 1, 0, 0, 0, 94, 1779, 1, 0, 0, 0, 96, 1800, 1, 0, 0, 0, 98, 1802, 1, 0, 0, 0, 100, 1815, 1, 0, 0, 0, 102, 1819, 1, 0, 0, 0, 104, 1829, 1, 0, 0, 0, 106, 1840, 1, 0, 0, 0, 108, 1851, 1, 0, 0, 0, 110, 1933, 1, 0, 0, 0, 112, 2012, 1, 0, 0, 0, 114, 2039, 1, 0, 0, 0, 116, 2041, 1, 0, 0, 0, 118, 2048, 1, 0, 0, 0, 120, 2060, 1, 0, 0, 0, 122, 2062, 1, 0, 0, 0, 124, 2090, 1, 0, 0, 0, 126, 2097, 1, 0, 0, 0, 128, 2169, 1, 0, 0, 0, 130, 2189, 1, 0, 0, 0, 132, 2191, 1, 0, 0, 0, 134, 2195, 1, 0, 0, 0, 136, 2208, 1, 0, 0, 0, 138, 2217, 1, 0, 0, 0, 140, 2291, 1, 0, 0, 0, 142, 2297, 1, 0, 0, 0, 144, 2769, 1, 0, 0, 0, 146, 2784, 1, 0, 0, 0, 148, 2802, 1, 0, 0, 0, 150, 2807, 1, 0, 0, 0, 152, 2812, 1, 0, 0, 0, 154, 2816, 1, 0, 0, 0, 156, 2822, 1, 0, 0, 0, 158, 2835, 1, 0, 0, 0, 160, 2843, 1, 0, 0, 0, 162, 2856, 1, 0, 0, 0, 164, 2858, 1, 0, 0, 0, 166, 2864, 1, 0, 0, 0, 168, 2872, 1, 0, 0, 0, 170, 2880, 1, 0, 0, 0, 172, 2882, 1, 0, 0, 0, 174, 2884, 1, 0, 0, 0, 176, 2886, 1, 0, 0, 0, 178, 2888, 1, 0, 0, 0, 180, 2898, 1, 0, 0, 0, 182, 2900, 1, 0, 0, 0, 184, 2993, 1, 0, 0, 0, 186, 3011, 1, 0, 0, 0, 188, 3015, 1, 0, 0, 0, 190, 3017, 1, 0, 0, 0, 192, 3022, 1, 0, 0, 0, 194, 3092, 1, 0, 0, 0, 196, 3094, 1, 0, 0, 0, 198, 3111, 1, 0, 0, 0, 200, 3175, 1, 0, 0, 0, 202, 3186, 1, 0, 0, 0, 204, 3188, 1, 0, 0, 0, 206, 3228, 1, 0, 0, 0, 208, 3260, 1, 0, 0, 0, 210, 3262, 1, 0, 0, 0, 212, 3270, 1, 0, 0, 0, 214, 3277, 1, 0, 0, 0, 216, 3286, 1, 0, 0, 0, 218, 3293, 1, 0, 0, 0, 220, 3300, 1, 0, 0, 0, 222, 3302, 1, 0, 0, 0, 224, 3310, 1, 0, 0, 0, 226, 3321, 1, 0, 0, 0, 228, 3336, 1, 0, 0, 0, 230, 3340, 1, 0, 0, 0, 232, 3362, 1, 0, 0, 0, 234, 3463, 1, 0, 0, 0, 236, 3465, 1, 0, 0, 0, 238, 3470, 1, 0, 0, 0, 240, 3475, 1, 0, 0, 0, 242, 3478, 1, 0, 0, 0, 244, 3495, 1, 0, 0, 0, 246, 3505, 1, 0, 0, 0, 248, 3510, 1, 0, 0, 0, 250, 3513, 1, 0, 0, 0, 252, 3519, 1, 0, 0, 0, 254, 3532, 1, 0, 0, 0, 256, 3545, 1, 0, 0, 0, 258, 3558, 1, 0, 0, 0, 260, 3571, 1, 0, 0, 0, 262, 3578, 1, 0, 0, 0, 264, 3585, 1, 0, 0, 0, 266, 3587, 1, 0, 0, 0, 268, 3589, 1, 0, 0, 0, 270, 3591, 1, 0, 0, 0, 272, 3593, 1, 0, 0, 0, 274, 3597, 1, 0, 0, 0, 276, 3599, 1, 0, 0, 0, 278, 3601, 1, 0, 0, 0, 280, 3609, 1, 0, 0, 0, 282, 3615, 1, 0, 0, 0, 284, 3620, 1, 0, 0, 0, 286, 3627, 1, 0, 0, 0, 288, 3629, 1, 0, 0, 0, 290, 3644, 1, 0, 0, 0, 292, 3651, 1, 0, 0, 0, 294, 3665, 1, 0, 0, 0, 296, 3669, 1, 0, 0, 0, 298, 3671, 1, 0, 0, 0, 300, 302, 3, 2, 1, 0, 301, 300, 1, 0, 0, 0, 302, 305, 1, 0, 0, 0, 303, 301, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 306, 1, 0, 0, 0, 305, 303, 1, 0, 0, 0, 306, 307, 5, 0, 0, 1, 307, 1, 1, 0, 0, 0, 308, 309, 3, 4, 2, 0, 309, 3, 1, 0, 0, 0, 310, 312, 3, 16, 8, 0, 311, 313, 5, 325, 0, 0, 312, 311, 1, 0, 0, 0, 312, 313, 1, 0, 0, 0, 313, 5, 1, 0, 0, 0, 314, 316, 3, 136, 68, 0, 315, 317, 5, 325, 0, 0, 316, 315, 1, 0, 0, 0, 316, 317, 1, 0, 0, 0, 317, 7, 1, 0, 0, 0, 318, 320, 3, 222, 111, 0, 319, 321, 5, 325, 0, 0, 320, 319, 1, 0, 0, 0, 320, 321, 1, 0, 0, 0, 321, 9, 1, 0, 0, 0, 322, 324, 3, 184, 92, 0, 323, 325, 5, 325, 0, 0, 324, 323, 1, 0, 0, 0, 324, 325, 1, 0, 0, 0, 325, 11, 1, 0, 0, 0, 326, 328, 3, 204, 102, 0, 327, 329, 5, 325, 0, 0, 328, 327, 1, 0, 0, 0, 328, 329, 1, 0, 0, 0, 329, 13, 1, 0, 0, 0, 330, 331, 3, 224, 112, 0, 331, 332, 5, 0, 0, 1, 332, 15, 1, 0, 0, 0, 333, 1232, 3, 18, 9, 0, 334, 335, 5, 288, 0, 0, 335, 1232, 3, 262, 131, 0, 336, 337, 5, 53, 0, 0, 337, 341, 5, 42, 0, 0, 338, 339, 5, 119, 0, 0, 339, 340, 5, 182, 0, 0, 340, 342, 5, 94, 0, 0, 341, 338, 1, 0, 0, 0, 341, 342, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 344, 3, 268, 134, 0, 344, 345, 5, 290, 0, 0, 345, 348, 3, 292, 146, 0, 346, 347, 5, 46, 0, 0, 347, 349, 3, 168, 84, 0, 348, 346, 1, 0, 0, 0, 348, 349, 1, 0, 0, 0, 349, 352, 1, 0, 0, 0, 350, 351, 5, 31, 0, 0, 351, 353, 3, 286, 143, 0, 352, 350, 1, 0, 0, 0, 352, 353, 1, 0, 0, 0, 353, 356, 1, 0, 0, 0, 354, 355, 5, 304, 0, 0, 355, 357, 3, 32, 16, 0, 356, 354, 1, 0, 0, 0, 356, 357, 1, 0, 0, 0, 357, 1232, 1, 0, 0, 0, 358, 359, 5, 83, 0, 0, 359, 362, 5, 42, 0, 0, 360, 361, 5, 119, 0, 0, 361, 363, 5, 94, 0, 0, 362, 360, 1, 0, 0, 0, 362, 363, 1, 0, 0, 0, 363, 364, 1, 0, 0, 0, 364, 366, 3, 266, 133, 0, 365, 367, 7, 0, 0, 0, 366, 365, 1, 0, 0, 0, 366, 367, 1, 0, 0, 0, 367, 1232, 1, 0, 0, 0, 368, 369, 5, 53, 0, 0, 369, 373, 5, 243, 0, 0, 370, 371, 5, 119, 0, 0, 371, 372, 5, 182, 0, 0, 372, 374, 5, 94, 0, 0, 373, 370, 1, 0, 0, 0, 373, 374, 1, 0, 0, 0, 374, 375, 1, 0, 0, 0, 375, 378, 3, 264, 132, 0, 376, 377, 5, 31, 0, 0, 377, 379, 3, 286, 143, 0, 378, 376, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 382, 1, 0, 0, 0, 380, 381, 5, 304, 0, 0, 381, 383, 3, 32, 16, 0, 382, 380, 1, 0, 0, 0, 382, 383, 1, 0, 0, 0, 383, 1232, 1, 0, 0, 0, 384, 385, 5, 83, 0, 0, 385, 388, 5, 243, 0, 0, 386, 387, 5, 119, 0, 0, 387, 389, 5, 94, 0, 0, 388, 386, 1, 0, 0, 0, 388, 389, 1, 0, 0, 0, 389, 390, 1, 0, 0, 0, 390, 392, 3, 262, 131, 0, 391, 393, 7, 0, 0, 0, 392, 391, 1, 0, 0, 0, 392, 393, 1, 0, 0, 0, 393, 1232, 1, 0, 0, 0, 394, 395, 5, 23, 0, 0, 395, 396, 5, 243, 0, 0, 396, 397, 3, 262, 131, 0, 397, 398, 5, 223, 0, 0, 398, 399, 5, 269, 0, 0, 399, 400, 3, 264, 132, 0, 400, 1232, 1, 0, 0, 0, 401, 402, 5, 23, 0, 0, 402, 403, 5, 243, 0, 0, 403, 404, 3, 262, 131, 0, 404, 405, 5, 251, 0, 0, 405, 406, 5, 31, 0, 0, 406, 407, 3, 286, 143, 0, 407, 1232, 1, 0, 0, 0, 408, 411, 5, 53, 0, 0, 409, 410, 5, 194, 0, 0, 410, 412, 5, 226, 0, 0, 411, 409, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 413, 1, 0, 0, 0, 413, 417, 5, 260, 0, 0, 414, 415, 5, 119, 0, 0, 415, 416, 5, 182, 0, 0, 416, 418, 5, 94, 0, 0, 417, 414, 1, 0, 0, 0, 417, 418, 1, 0, 0, 0, 418, 419, 1, 0, 0, 0, 419, 421, 3, 256, 128, 0, 420, 422, 3, 104, 52, 0, 421, 420, 1, 0, 0, 0, 421, 422, 1, 0, 0, 0, 422, 425, 1, 0, 0, 0, 423, 424, 5, 46, 0, 0, 424, 426, 3, 168, 84, 0, 425, 423, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 429, 1, 0, 0, 0, 427, 428, 5, 304, 0, 0, 428, 430, 3, 32, 16, 0, 429, 427, 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 431, 1, 0, 0, 0, 431, 437, 5, 28, 0, 0, 432, 438, 3, 18, 9, 0, 433, 434, 5, 1, 0, 0, 434, 435, 3, 18, 9, 0, 435, 436, 5, 2, 0, 0, 436, 438, 1, 0, 0, 0, 437, 432, 1, 0, 0, 0, 437, 433, 1, 0, 0, 0, 438, 444, 1, 0, 0, 0, 439, 441, 5, 304, 0, 0, 440, 442, 5, 179, 0, 0, 441, 440, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 443, 1, 0, 0, 0, 443, 445, 5, 65, 0, 0, 444, 439, 1, 0, 0, 0, 444, 445, 1, 0, 0, 0, 445, 1232, 1, 0, 0, 0, 446, 449, 5, 53, 0, 0, 447, 448, 5, 194, 0, 0, 448, 450, 5, 226, 0, 0, 449, 447, 1, 0, 0, 0, 449, 450, 1, 0, 0, 0, 450, 451, 1, 0, 0, 0, 451, 455, 5, 260, 0, 0, 452, 453, 5, 119, 0, 0, 453, 454, 5, 182, 0, 0, 454, 456, 5, 94, 0, 0, 455, 452, 1, 0, 0, 0, 455, 456, 1, 0, 0, 0, 456, 457, 1, 0, 0, 0, 457, 458, 3, 256, 128, 0, 458, 459, 5, 1, 0, 0, 459, 464, 3, 26, 13, 0, 460, 461, 5, 3, 0, 0, 461, 463, 3, 26, 13, 0, 462, 460, 1, 0, 0, 0, 463, 466, 1, 0, 0, 0, 464, 462, 1, 0, 0, 0, 464, 465, 1, 0, 0, 0, 465, 467, 1, 0, 0, 0, 466, 464, 1, 0, 0, 0, 467, 470, 5, 2, 0, 0, 468, 469, 5, 46, 0, 0, 469, 471, 3, 168, 84, 0, 470, 468, 1, 0, 0, 0, 470, 471, 1, 0, 0, 0, 471, 474, 1, 0, 0, 0, 472, 473, 5, 304, 0, 0, 473, 475, 3, 32, 16, 0, 474, 472, 1, 0, 0, 0, 474, 475, 1, 0, 0, 0, 475, 1232, 1, 0, 0, 0, 476, 477, 5, 83, 0, 0, 477, 480, 5, 260, 0, 0, 478, 479, 5, 119, 0, 0, 479, 481, 5, 94, 0, 0, 480, 478, 1, 0, 0, 0, 480, 481, 1, 0, 0, 0, 481, 482, 1, 0, 0, 0, 482, 1232, 3, 254, 127, 0, 483, 484, 5, 127, 0, 0, 484, 485, 5, 130, 0, 0, 485, 487, 3, 254, 127, 0, 486, 488, 3, 106, 53, 0, 487, 486, 1, 0, 0, 0, 487, 488, 1, 0, 0, 0, 488, 489, 1, 0, 0, 0, 489, 490, 3, 18, 9, 0, 490, 1232, 1, 0, 0, 0, 491, 492, 5, 73, 0, 0, 492, 493, 5, 105, 0, 0, 493, 496, 3, 254, 127, 0, 494, 495, 5, 301, 0, 0, 495, 497, 3, 138, 69, 0, 496, 494, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0, 497, 1232, 1, 0, 0, 0, 498, 499, 5, 274, 0, 0, 499, 500, 5, 260, 0, 0, 500, 1232, 3, 254, 127, 0, 501, 502, 5, 46, 0, 0, 502, 503, 5, 190, 0, 0, 503, 504, 5, 260, 0, 0, 504, 505, 3, 254, 127, 0, 505, 508, 5, 133, 0, 0, 506, 509, 3, 168, 84, 0, 507, 509, 5, 183, 0, 0, 508, 506, 1, 0, 0, 0, 508, 507, 1, 0, 0, 0, 509, 1232, 1, 0, 0, 0, 510, 511, 5, 46, 0, 0, 511, 512, 5, 190, 0, 0, 512, 513, 5, 299, 0, 0, 513, 514, 3, 258, 129, 0, 514, 517, 5, 133, 0, 0, 515, 518, 3, 168, 84, 0, 516, 518, 5, 183, 0, 0, 517, 515, 1, 0, 0, 0, 517, 516, 1, 0, 0, 0, 518, 1232, 1, 0, 0, 0, 519, 520, 5, 46, 0, 0, 520, 521, 5, 190, 0, 0, 521, 522, 5, 44, 0, 0, 522, 523, 3, 274, 137, 0, 523, 526, 5, 133, 0, 0, 524, 527, 3, 168, 84, 0, 525, 527, 5, 183, 0, 0, 526, 524, 1, 0, 0, 0, 526, 525, 1, 0, 0, 0, 527, 1232, 1, 0, 0, 0, 528, 529, 5, 23, 0, 0, 529, 532, 5, 260, 0, 0, 530, 531, 5, 119, 0, 0, 531, 533, 5, 94, 0, 0, 532, 530, 1, 0, 0, 0, 532, 533, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, 534, 535, 3, 254, 127, 0, 535, 536, 5, 223, 0, 0, 536, 537, 5, 269, 0, 0, 537, 538, 3, 256, 128, 0, 538, 1232, 1, 0, 0, 0, 539, 540, 5, 23, 0, 0, 540, 543, 5, 260, 0, 0, 541, 542, 5, 119, 0, 0, 542, 544, 5, 94, 0, 0, 543, 541, 1, 0, 0, 0, 543, 544, 1, 0, 0, 0, 544, 545, 1, 0, 0, 0, 545, 546, 3, 254, 127, 0, 546, 547, 5, 19, 0, 0, 547, 551, 5, 44, 0, 0, 548, 549, 5, 119, 0, 0, 549, 550, 5, 182, 0, 0, 550, 552, 5, 94, 0, 0, 551, 548, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 553, 1, 0, 0, 0, 553, 554, 3, 28, 14, 0, 554, 1232, 1, 0, 0, 0, 555, 556, 5, 23, 0, 0, 556, 559, 5, 260, 0, 0, 557, 558, 5, 119, 0, 0, 558, 560, 5, 94, 0, 0, 559, 557, 1, 0, 0, 0, 559, 560, 1, 0, 0, 0, 560, 561, 1, 0, 0, 0, 561, 562, 3, 254, 127, 0, 562, 563, 5, 223, 0, 0, 563, 566, 5, 44, 0, 0, 564, 565, 5, 119, 0, 0, 565, 567, 5, 94, 0, 0, 566, 564, 1, 0, 0, 0, 566, 567, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 569, 3, 274, 137, 0, 569, 570, 5, 269, 0, 0, 570, 571, 3, 276, 138, 0, 571, 1232, 1, 0, 0, 0, 572, 573, 5, 23, 0, 0, 573, 576, 5, 260, 0, 0, 574, 575, 5, 119, 0, 0, 575, 577, 5, 94, 0, 0, 576, 574, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 578, 1, 0, 0, 0, 578, 579, 3, 254, 127, 0, 579, 580, 5, 83, 0, 0, 580, 583, 5, 44, 0, 0, 581, 582, 5, 119, 0, 0, 582, 584, 5, 94, 0, 0, 583, 581, 1, 0, 0, 0, 583, 584, 1, 0, 0, 0, 584, 585, 1, 0, 0, 0, 585, 586, 3, 274, 137, 0, 586, 1232, 1, 0, 0, 0, 587, 588, 5, 23, 0, 0, 588, 591, 5, 260, 0, 0, 589, 590, 5, 119, 0, 0, 590, 592, 5, 94, 0, 0, 591, 589, 1, 0, 0, 0, 591, 592, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 594, 3, 254, 127, 0, 594, 595, 5, 23, 0, 0, 595, 596, 5, 44, 0, 0, 596, 597, 3, 274, 137, 0, 597, 598, 5, 251, 0, 0, 598, 599, 5, 65, 0, 0, 599, 600, 5, 276, 0, 0, 600, 601, 3, 184, 92, 0, 601, 1232, 1, 0, 0, 0, 602, 603, 5, 23, 0, 0, 603, 606, 5, 260, 0, 0, 604, 605, 5, 119, 0, 0, 605, 607, 5, 94, 0, 0, 606, 604, 1, 0, 0, 0, 606, 607, 1, 0, 0, 0, 607, 608, 1, 0, 0, 0, 608, 609, 3, 254, 127, 0, 609, 610, 5, 23, 0, 0, 610, 611, 5, 44, 0, 0, 611, 612, 3, 274, 137, 0, 612, 613, 5, 83, 0, 0, 613, 614, 5, 182, 0, 0, 614, 615, 5, 183, 0, 0, 615, 1232, 1, 0, 0, 0, 616, 617, 5, 23, 0, 0, 617, 618, 5, 260, 0, 0, 618, 619, 3, 254, 127, 0, 619, 620, 5, 251, 0, 0, 620, 621, 5, 31, 0, 0, 621, 622, 3, 286, 143, 0, 622, 1232, 1, 0, 0, 0, 623, 624, 5, 23, 0, 0, 624, 625, 5, 260, 0, 0, 625, 626, 3, 254, 127, 0, 626, 627, 5, 251, 0, 0, 627, 628, 5, 216, 0, 0, 628, 629, 3, 34, 17, 0, 629, 1232, 1, 0, 0, 0, 630, 631, 5, 23, 0, 0, 631, 632, 5, 260, 0, 0, 632, 633, 3, 254, 127, 0, 633, 634, 5, 93, 0, 0, 634, 647, 3, 270, 135, 0, 635, 644, 5, 1, 0, 0, 636, 641, 3, 218, 109, 0, 637, 638, 5, 3, 0, 0, 638, 640, 3, 218, 109, 0, 639, 637, 1, 0, 0, 0, 640, 643, 1, 0, 0, 0, 641, 639, 1, 0, 0, 0, 641, 642, 1, 0, 0, 0, 642, 645, 1, 0, 0, 0, 643, 641, 1, 0, 0, 0, 644, 636, 1, 0, 0, 0, 644, 645, 1, 0, 0, 0, 645, 646, 1, 0, 0, 0, 646, 648, 5, 2, 0, 0, 647, 635, 1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 651, 1, 0, 0, 0, 649, 650, 5, 301, 0, 0, 650, 652, 3, 138, 69, 0, 651, 649, 1, 0, 0, 0, 651, 652, 1, 0, 0, 0, 652, 1232, 1, 0, 0, 0, 653, 654, 5, 24, 0, 0, 654, 657, 3, 254, 127, 0, 655, 656, 5, 304, 0, 0, 656, 658, 3, 32, 16, 0, 657, 655, 1, 0, 0, 0, 657, 658, 1, 0, 0, 0, 658, 1232, 1, 0, 0, 0, 659, 662, 5, 53, 0, 0, 660, 661, 5, 194, 0, 0, 661, 663, 5, 226, 0, 0, 662, 660, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 664, 1, 0, 0, 0, 664, 665, 5, 167, 0, 0, 665, 669, 5, 299, 0, 0, 666, 667, 5, 119, 0, 0, 667, 668, 5, 182, 0, 0, 668, 670, 5, 94, 0, 0, 669, 666, 1, 0, 0, 0, 669, 670, 1, 0, 0, 0, 670, 671, 1, 0, 0, 0, 671, 675, 3, 260, 130, 0, 672, 673, 5, 109, 0, 0, 673, 674, 5, 208, 0, 0, 674, 676, 3, 178, 89, 0, 675, 672, 1, 0, 0, 0, 675, 676, 1, 0, 0, 0, 676, 679, 1, 0, 0, 0, 677, 678, 5, 46, 0, 0, 678, 680, 3, 168, 84, 0, 679, 677, 1, 0, 0, 0, 679, 680, 1, 0, 0, 0, 680, 683, 1, 0, 0, 0, 681, 682, 5, 304, 0, 0, 682, 684, 3, 32, 16, 0, 683, 681, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 685, 1, 0, 0, 0, 685, 686, 5, 28, 0, 0, 686, 687, 3, 18, 9, 0, 687, 1232, 1, 0, 0, 0, 688, 691, 5, 53, 0, 0, 689, 690, 5, 194, 0, 0, 690, 692, 5, 226, 0, 0, 691, 689, 1, 0, 0, 0, 691, 692, 1, 0, 0, 0, 692, 693, 1, 0, 0, 0, 693, 694, 5, 299, 0, 0, 694, 697, 3, 260, 130, 0, 695, 696, 5, 46, 0, 0, 696, 698, 3, 168, 84, 0, 697, 695, 1, 0, 0, 0, 697, 698, 1, 0, 0, 0, 698, 701, 1, 0, 0, 0, 699, 700, 5, 246, 0, 0, 700, 702, 7, 1, 0, 0, 701, 699, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 705, 1, 0, 0, 0, 703, 704, 5, 304, 0, 0, 704, 706, 3, 32, 16, 0, 705, 703, 1, 0, 0, 0, 705, 706, 1, 0, 0, 0, 706, 707, 1, 0, 0, 0, 707, 708, 5, 28, 0, 0, 708, 709, 3, 18, 9, 0, 709, 1232, 1, 0, 0, 0, 710, 711, 5, 222, 0, 0, 711, 712, 5, 167, 0, 0, 712, 713, 5, 299, 0, 0, 713, 1232, 3, 258, 129, 0, 714, 715, 5, 83, 0, 0, 715, 716, 5, 167, 0, 0, 716, 719, 5, 299, 0, 0, 717, 718, 5, 119, 0, 0, 718, 720, 5, 94, 0, 0, 719, 717, 1, 0, 0, 0, 719, 720, 1, 0, 0, 0, 720, 721, 1, 0, 0, 0, 721, 1232, 3, 258, 129, 0, 722, 723, 5, 23, 0, 0, 723, 724, 5, 167, 0, 0, 724, 727, 5, 299, 0, 0, 725, 726, 5, 119, 0, 0, 726, 728, 5, 94, 0, 0, 727, 725, 1, 0, 0, 0, 727, 728, 1, 0, 0, 0, 728, 729, 1, 0, 0, 0, 729, 730, 3, 258, 129, 0, 730, 731, 5, 223, 0, 0, 731, 732, 5, 269, 0, 0, 732, 733, 3, 260, 130, 0, 733, 1232, 1, 0, 0, 0, 734, 735, 5, 23, 0, 0, 735, 736, 5, 167, 0, 0, 736, 737, 5, 299, 0, 0, 737, 738, 3, 258, 129, 0, 738, 739, 5, 251, 0, 0, 739, 740, 5, 216, 0, 0, 740, 741, 3, 34, 17, 0, 741, 1232, 1, 0, 0, 0, 742, 743, 5, 83, 0, 0, 743, 746, 5, 299, 0, 0, 744, 745, 5, 119, 0, 0, 745, 747, 5, 94, 0, 0, 746, 744, 1, 0, 0, 0, 746, 747, 1, 0, 0, 0, 747, 748, 1, 0, 0, 0, 748, 1232, 3, 258, 129, 0, 749, 750, 5, 23, 0, 0, 750, 751, 5, 299, 0, 0, 751, 752, 3, 258, 129, 0, 752, 753, 5, 223, 0, 0, 753, 754, 5, 269, 0, 0, 754, 755, 3, 260, 130, 0, 755, 1232, 1, 0, 0, 0, 756, 757, 5, 23, 0, 0, 757, 758, 5, 299, 0, 0, 758, 759, 3, 258, 129, 0, 759, 760, 5, 251, 0, 0, 760, 761, 5, 31, 0, 0, 761, 762, 3, 286, 143, 0, 762, 1232, 1, 0, 0, 0, 763, 764, 5, 37, 0, 0, 764, 765, 3, 270, 135, 0, 765, 774, 5, 1, 0, 0, 766, 771, 3, 218, 109, 0, 767, 768, 5, 3, 0, 0, 768, 770, 3, 218, 109, 0, 769, 767, 1, 0, 0, 0, 770, 773, 1, 0, 0, 0, 771, 769, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 775, 1, 0, 0, 0, 773, 771, 1, 0, 0, 0, 774, 766, 1, 0, 0, 0, 774, 775, 1, 0, 0, 0, 775, 776, 1, 0, 0, 0, 776, 777, 5, 2, 0, 0, 777, 1232, 1, 0, 0, 0, 778, 781, 5, 53, 0, 0, 779, 780, 5, 194, 0, 0, 780, 782, 5, 226, 0, 0, 781, 779, 1, 0, 0, 0, 781, 782, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 1232, 3, 224, 112, 0, 784, 785, 5, 83, 0, 0, 785, 788, 5, 107, 0, 0, 786, 787, 5, 119, 0, 0, 787, 789, 5, 94, 0, 0, 788, 786, 1, 0, 0, 0, 788, 789, 1, 0, 0, 0, 789, 790, 1, 0, 0, 0, 790, 1232, 3, 226, 113, 0, 791, 792, 5, 53, 0, 0, 792, 793, 5, 235, 0, 0, 793, 797, 3, 292, 146, 0, 794, 795, 5, 304, 0, 0, 795, 796, 5, 20, 0, 0, 796, 798, 3, 284, 142, 0, 797, 794, 1, 0, 0, 0, 797, 798, 1, 0, 0, 0, 798, 801, 1, 0, 0, 0, 799, 800, 5, 122, 0, 0, 800, 802, 3, 266, 133, 0, 801, 799, 1, 0, 0, 0, 801, 802, 1, 0, 0, 0, 802, 1232, 1, 0, 0, 0, 803, 804, 5, 83, 0, 0, 804, 805, 5, 235, 0, 0, 805, 808, 3, 292, 146, 0, 806, 807, 5, 122, 0, 0, 807, 809, 3, 266, 133, 0, 808, 806, 1, 0, 0, 0, 808, 809, 1, 0, 0, 0, 809, 1232, 1, 0, 0, 0, 810, 811, 5, 110, 0, 0, 811, 816, 3, 290, 145, 0, 812, 813, 5, 3, 0, 0, 813, 815, 3, 290, 145, 0, 814, 812, 1, 0, 0, 0, 815, 818, 1, 0, 0, 0, 816, 814, 1, 0, 0, 0, 816, 817, 1, 0, 0, 0, 817, 819, 1, 0, 0, 0, 818, 816, 1, 0, 0, 0, 819, 820, 5, 269, 0, 0, 820, 825, 3, 286, 143, 0, 821, 822, 5, 3, 0, 0, 822, 824, 3, 286, 143, 0, 823, 821, 1, 0, 0, 0, 824, 827, 1, 0, 0, 0, 825, 823, 1, 0, 0, 0, 825, 826, 1, 0, 0, 0, 826, 831, 1, 0, 0, 0, 827, 825, 1, 0, 0, 0, 828, 829, 5, 304, 0, 0, 829, 830, 5, 20, 0, 0, 830, 832, 5, 193, 0, 0, 831, 828, 1, 0, 0, 0, 831, 832, 1, 0, 0, 0, 832, 836, 1, 0, 0, 0, 833, 834, 5, 111, 0, 0, 834, 835, 5, 36, 0, 0, 835, 837, 3, 284, 142, 0, 836, 833, 1, 0, 0, 0, 836, 837, 1, 0, 0, 0, 837, 840, 1, 0, 0, 0, 838, 839, 5, 122, 0, 0, 839, 841, 3, 266, 133, 0, 840, 838, 1, 0, 0, 0, 840, 841, 1, 0, 0, 0, 841, 1232, 1, 0, 0, 0, 842, 853, 5, 110, 0, 0, 843, 848, 3, 290, 145, 0, 844, 845, 5, 3, 0, 0, 845, 847, 3, 290, 145, 0, 846, 844, 1, 0, 0, 0, 847, 850, 1, 0, 0, 0, 848, 846, 1, 0, 0, 0, 848, 849, 1, 0, 0, 0, 849, 854, 1, 0, 0, 0, 850, 848, 1, 0, 0, 0, 851, 852, 5, 22, 0, 0, 852, 854, 5, 215, 0, 0, 853, 843, 1, 0, 0, 0, 853, 851, 1, 0, 0, 0, 854, 855, 1, 0, 0, 0, 855, 856, 5, 190, 0, 0, 856, 857, 3, 250, 125, 0, 857, 858, 5, 269, 0, 0, 858, 862, 3, 286, 143, 0, 859, 860, 5, 304, 0, 0, 860, 861, 5, 110, 0, 0, 861, 863, 5, 193, 0, 0, 862, 859, 1, 0, 0, 0, 862, 863, 1, 0, 0, 0, 863, 1232, 1, 0, 0, 0, 864, 868, 5, 233, 0, 0, 865, 866, 5, 20, 0, 0, 866, 867, 5, 193, 0, 0, 867, 869, 5, 103, 0, 0, 868, 865, 1, 0, 0, 0, 868, 869, 1, 0, 0, 0, 869, 870, 1, 0, 0, 0, 870, 875, 3, 290, 145, 0, 871, 872, 5, 3, 0, 0, 872, 874, 3, 290, 145, 0, 873, 871, 1, 0, 0, 0, 874, 877, 1, 0, 0, 0, 875, 873, 1, 0, 0, 0, 875, 876, 1, 0, 0, 0, 876, 878, 1, 0, 0, 0, 877, 875, 1, 0, 0, 0, 878, 879, 5, 105, 0, 0, 879, 884, 3, 286, 143, 0, 880, 881, 5, 3, 0, 0, 881, 883, 3, 286, 143, 0, 882, 880, 1, 0, 0, 0, 883, 886, 1, 0, 0, 0, 884, 882, 1, 0, 0, 0, 884, 885, 1, 0, 0, 0, 885, 890, 1, 0, 0, 0, 886, 884, 1, 0, 0, 0, 887, 888, 5, 111, 0, 0, 888, 889, 5, 36, 0, 0, 889, 891, 3, 284, 142, 0, 890, 887, 1, 0, 0, 0, 890, 891, 1, 0, 0, 0, 891, 894, 1, 0, 0, 0, 892, 893, 5, 122, 0, 0, 893, 895, 3, 266, 133, 0, 894, 892, 1, 0, 0, 0, 894, 895, 1, 0, 0, 0, 895, 1232, 1, 0, 0, 0, 896, 900, 5, 233, 0, 0, 897, 898, 5, 110, 0, 0, 898, 899, 5, 193, 0, 0, 899, 901, 5, 103, 0, 0, 900, 897, 1, 0, 0, 0, 900, 901, 1, 0, 0, 0, 901, 912, 1, 0, 0, 0, 902, 907, 3, 290, 145, 0, 903, 904, 5, 3, 0, 0, 904, 906, 3, 290, 145, 0, 905, 903, 1, 0, 0, 0, 906, 909, 1, 0, 0, 0, 907, 905, 1, 0, 0, 0, 907, 908, 1, 0, 0, 0, 908, 913, 1, 0, 0, 0, 909, 907, 1, 0, 0, 0, 910, 911, 5, 22, 0, 0, 911, 913, 5, 215, 0, 0, 912, 902, 1, 0, 0, 0, 912, 910, 1, 0, 0, 0, 913, 914, 1, 0, 0, 0, 914, 915, 5, 190, 0, 0, 915, 916, 3, 250, 125, 0, 916, 917, 5, 105, 0, 0, 917, 918, 3, 286, 143, 0, 918, 1232, 1, 0, 0, 0, 919, 930, 5, 74, 0, 0, 920, 925, 3, 246, 123, 0, 921, 922, 5, 3, 0, 0, 922, 924, 3, 246, 123, 0, 923, 921, 1, 0, 0, 0, 924, 927, 1, 0, 0, 0, 925, 923, 1, 0, 0, 0, 925, 926, 1, 0, 0, 0, 926, 931, 1, 0, 0, 0, 927, 925, 1, 0, 0, 0, 928, 929, 5, 22, 0, 0, 929, 931, 5, 215, 0, 0, 930, 920, 1, 0, 0, 0, 930, 928, 1, 0, 0, 0, 931, 932, 1, 0, 0, 0, 932, 933, 5, 190, 0, 0, 933, 934, 3, 250, 125, 0, 934, 935, 5, 269, 0, 0, 935, 936, 3, 286, 143, 0, 936, 1232, 1, 0, 0, 0, 937, 938, 5, 251, 0, 0, 938, 942, 5, 235, 0, 0, 939, 943, 5, 22, 0, 0, 940, 943, 5, 180, 0, 0, 941, 943, 3, 292, 146, 0, 942, 939, 1, 0, 0, 0, 942, 940, 1, 0, 0, 0, 942, 941, 1, 0, 0, 0, 943, 946, 1, 0, 0, 0, 944, 945, 5, 122, 0, 0, 945, 947, 3, 266, 133, 0, 946, 944, 1, 0, 0, 0, 946, 947, 1, 0, 0, 0, 947, 1232, 1, 0, 0, 0, 948, 949, 5, 253, 0, 0, 949, 952, 5, 112, 0, 0, 950, 951, 5, 190, 0, 0, 951, 953, 3, 250, 125, 0, 952, 950, 1, 0, 0, 0, 952, 953, 1, 0, 0, 0, 953, 1232, 1, 0, 0, 0, 954, 966, 5, 95, 0, 0, 955, 956, 5, 1, 0, 0, 956, 961, 3, 212, 106, 0, 957, 958, 5, 3, 0, 0, 958, 960, 3, 212, 106, 0, 959, 957, 1, 0, 0, 0, 960, 963, 1, 0, 0, 0, 961, 959, 1, 0, 0, 0, 961, 962, 1, 0, 0, 0, 962, 964, 1, 0, 0, 0, 963, 961, 1, 0, 0, 0, 964, 965, 5, 2, 0, 0, 965, 967, 1, 0, 0, 0, 966, 955, 1, 0, 0, 0, 966, 967, 1, 0, 0, 0, 967, 968, 1, 0, 0, 0, 968, 1232, 3, 16, 8, 0, 969, 970, 5, 95, 0, 0, 970, 972, 5, 24, 0, 0, 971, 973, 5, 297, 0, 0, 972, 971, 1, 0, 0, 0, 972, 973, 1, 0, 0, 0, 973, 974, 1, 0, 0, 0, 974, 1232, 3, 16, 8, 0, 975, 976, 5, 253, 0, 0, 976, 977, 5, 53, 0, 0, 977, 978, 5, 260, 0, 0, 978, 1232, 3, 254, 127, 0, 979, 980, 5, 253, 0, 0, 980, 981, 5, 53, 0, 0, 981, 982, 5, 243, 0, 0, 982, 1232, 3, 262, 131, 0, 983, 984, 5, 253, 0, 0, 984, 985, 5, 53, 0, 0, 985, 986, 5, 299, 0, 0, 986, 1232, 3, 258, 129, 0, 987, 988, 5, 253, 0, 0, 988, 989, 5, 53, 0, 0, 989, 990, 5, 167, 0, 0, 990, 991, 5, 299, 0, 0, 991, 1232, 3, 258, 129, 0, 992, 993, 5, 253, 0, 0, 993, 994, 5, 53, 0, 0, 994, 995, 5, 107, 0, 0, 995, 1232, 3, 270, 135, 0, 996, 997, 5, 253, 0, 0, 997, 1000, 5, 261, 0, 0, 998, 999, 7, 2, 0, 0, 999, 1001, 3, 262, 131, 0, 1000, 998, 1, 0, 0, 0, 1000, 1001, 1, 0, 0, 0, 1001, 1008, 1, 0, 0, 0, 1002, 1003, 5, 154, 0, 0, 1003, 1006, 3, 168, 84, 0, 1004, 1005, 5, 90, 0, 0, 1005, 1007, 3, 168, 84, 0, 1006, 1004, 1, 0, 0, 0, 1006, 1007, 1, 0, 0, 0, 1007, 1009, 1, 0, 0, 0, 1008, 1002, 1, 0, 0, 0, 1008, 1009, 1, 0, 0, 0, 1009, 1232, 1, 0, 0, 0, 1010, 1011, 5, 253, 0, 0, 1011, 1014, 5, 244, 0, 0, 1012, 1013, 7, 2, 0, 0, 1013, 1015, 3, 266, 133, 0, 1014, 1012, 1, 0, 0, 0, 1014, 1015, 1, 0, 0, 0, 1015, 1022, 1, 0, 0, 0, 1016, 1017, 5, 154, 0, 0, 1017, 1020, 3, 168, 84, 0, 1018, 1019, 5, 90, 0, 0, 1019, 1021, 3, 168, 84, 0, 1020, 1018, 1, 0, 0, 0, 1020, 1021, 1, 0, 0, 0, 1021, 1023, 1, 0, 0, 0, 1022, 1016, 1, 0, 0, 0, 1022, 1023, 1, 0, 0, 0, 1023, 1232, 1, 0, 0, 0, 1024, 1025, 5, 253, 0, 0, 1025, 1032, 5, 43, 0, 0, 1026, 1027, 5, 154, 0, 0, 1027, 1030, 3, 168, 84, 0, 1028, 1029, 5, 90, 0, 0, 1029, 1031, 3, 168, 84, 0, 1030, 1028, 1, 0, 0, 0, 1030, 1031, 1, 0, 0, 0, 1031, 1033, 1, 0, 0, 0, 1032, 1026, 1, 0, 0, 0, 1032, 1033, 1, 0, 0, 0, 1033, 1232, 1, 0, 0, 0, 1034, 1035, 5, 253, 0, 0, 1035, 1036, 5, 45, 0, 0, 1036, 1037, 7, 2, 0, 0, 1037, 1044, 3, 252, 126, 0, 1038, 1039, 5, 154, 0, 0, 1039, 1042, 3, 168, 84, 0, 1040, 1041, 5, 90, 0, 0, 1041, 1043, 3, 168, 84, 0, 1042, 1040, 1, 0, 0, 0, 1042, 1043, 1, 0, 0, 0, 1043, 1045, 1, 0, 0, 0, 1044, 1038, 1, 0, 0, 0, 1044, 1045, 1, 0, 0, 0, 1045, 1232, 1, 0, 0, 0, 1046, 1047, 5, 253, 0, 0, 1047, 1048, 5, 256, 0, 0, 1048, 1049, 5, 103, 0, 0, 1049, 1232, 3, 252, 126, 0, 1050, 1051, 5, 253, 0, 0, 1051, 1052, 5, 256, 0, 0, 1052, 1053, 5, 103, 0, 0, 1053, 1054, 5, 1, 0, 0, 1054, 1055, 3, 18, 9, 0, 1055, 1056, 5, 2, 0, 0, 1056, 1232, 1, 0, 0, 0, 1057, 1059, 5, 253, 0, 0, 1058, 1060, 5, 56, 0, 0, 1059, 1058, 1, 0, 0, 0, 1059, 1060, 1, 0, 0, 0, 1060, 1061, 1, 0, 0, 0, 1061, 1064, 5, 236, 0, 0, 1062, 1063, 7, 2, 0, 0, 1063, 1065, 3, 266, 133, 0, 1064, 1062, 1, 0, 0, 0, 1064, 1065, 1, 0, 0, 0, 1065, 1232, 1, 0, 0, 0, 1066, 1067, 5, 253, 0, 0, 1067, 1068, 5, 235, 0, 0, 1068, 1071, 5, 112, 0, 0, 1069, 1070, 7, 2, 0, 0, 1070, 1072, 3, 266, 133, 0, 1071, 1069, 1, 0, 0, 0, 1071, 1072, 1, 0, 0, 0, 1072, 1232, 1, 0, 0, 0, 1073, 1074, 5, 76, 0, 0, 1074, 1232, 3, 252, 126, 0, 1075, 1076, 5, 75, 0, 0, 1076, 1232, 3, 252, 126, 0, 1077, 1078, 5, 253, 0, 0, 1078, 1081, 5, 108, 0, 0, 1079, 1080, 7, 2, 0, 0, 1080, 1082, 3, 262, 131, 0, 1081, 1079, 1, 0, 0, 0, 1081, 1082, 1, 0, 0, 0, 1082, 1089, 1, 0, 0, 0, 1083, 1084, 5, 154, 0, 0, 1084, 1087, 3, 168, 84, 0, 1085, 1086, 5, 90, 0, 0, 1086, 1088, 3, 168, 84, 0, 1087, 1085, 1, 0, 0, 0, 1087, 1088, 1, 0, 0, 0, 1088, 1090, 1, 0, 0, 0, 1089, 1083, 1, 0, 0, 0, 1089, 1090, 1, 0, 0, 0, 1090, 1232, 1, 0, 0, 0, 1091, 1092, 5, 253, 0, 0, 1092, 1099, 5, 250, 0, 0, 1093, 1094, 5, 154, 0, 0, 1094, 1097, 3, 168, 84, 0, 1095, 1096, 5, 90, 0, 0, 1096, 1098, 3, 168, 84, 0, 1097, 1095, 1, 0, 0, 0, 1097, 1098, 1, 0, 0, 0, 1098, 1100, 1, 0, 0, 0, 1099, 1093, 1, 0, 0, 0, 1099, 1100, 1, 0, 0, 0, 1100, 1232, 1, 0, 0, 0, 1101, 1102, 5, 251, 0, 0, 1102, 1103, 5, 250, 0, 0, 1103, 1104, 5, 31, 0, 0, 1104, 1232, 3, 296, 148, 0, 1105, 1106, 5, 227, 0, 0, 1106, 1107, 5, 250, 0, 0, 1107, 1232, 5, 31, 0, 0, 1108, 1109, 5, 251, 0, 0, 1109, 1110, 5, 250, 0, 0, 1110, 1111, 3, 278, 139, 0, 1111, 1112, 5, 312, 0, 0, 1112, 1113, 3, 136, 68, 0, 1113, 1232, 1, 0, 0, 0, 1114, 1115, 5, 227, 0, 0, 1115, 1116, 5, 250, 0, 0, 1116, 1232, 3, 278, 139, 0, 1117, 1118, 5, 255, 0, 0, 1118, 1127, 5, 271, 0, 0, 1119, 1124, 3, 214, 107, 0, 1120, 1121, 5, 3, 0, 0, 1121, 1123, 3, 214, 107, 0, 1122, 1120, 1, 0, 0, 0, 1123, 1126, 1, 0, 0, 0, 1124, 1122, 1, 0, 0, 0, 1124, 1125, 1, 0, 0, 0, 1125, 1128, 1, 0, 0, 0, 1126, 1124, 1, 0, 0, 0, 1127, 1119, 1, 0, 0, 0, 1127, 1128, 1, 0, 0, 0, 1128, 1232, 1, 0, 0, 0, 1129, 1131, 5, 47, 0, 0, 1130, 1132, 5, 307, 0, 0, 1131, 1130, 1, 0, 0, 0, 1131, 1132, 1, 0, 0, 0, 1132, 1232, 1, 0, 0, 0, 1133, 1135, 5, 237, 0, 0, 1134, 1136, 5, 307, 0, 0, 1135, 1134, 1, 0, 0, 0, 1135, 1136, 1, 0, 0, 0, 1136, 1232, 1, 0, 0, 0, 1137, 1138, 5, 214, 0, 0, 1138, 1139, 3, 292, 146, 0, 1139, 1140, 5, 105, 0, 0, 1140, 1141, 3, 16, 8, 0, 1141, 1232, 1, 0, 0, 0, 1142, 1143, 5, 68, 0, 0, 1143, 1144, 5, 214, 0, 0, 1144, 1232, 3, 292, 146, 0, 1145, 1146, 5, 93, 0, 0, 1146, 1156, 3, 292, 146, 0, 1147, 1148, 5, 290, 0, 0, 1148, 1153, 3, 136, 68, 0, 1149, 1150, 5, 3, 0, 0, 1150, 1152, 3, 136, 68, 0, 1151, 1149, 1, 0, 0, 0, 1152, 1155, 1, 0, 0, 0, 1153, 1151, 1, 0, 0, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1157, 1, 0, 0, 0, 1155, 1153, 1, 0, 0, 0, 1156, 1147, 1, 0, 0, 0, 1156, 1157, 1, 0, 0, 0, 1157, 1232, 1, 0, 0, 0, 1158, 1159, 5, 93, 0, 0, 1159, 1160, 5, 121, 0, 0, 1160, 1170, 3, 168, 84, 0, 1161, 1162, 5, 290, 0, 0, 1162, 1167, 3, 136, 68, 0, 1163, 1164, 5, 3, 0, 0, 1164, 1166, 3, 136, 68, 0, 1165, 1163, 1, 0, 0, 0, 1166, 1169, 1, 0, 0, 0, 1167, 1165, 1, 0, 0, 0, 1167, 1168, 1, 0, 0, 0, 1168, 1171, 1, 0, 0, 0, 1169, 1167, 1, 0, 0, 0, 1170, 1161, 1, 0, 0, 0, 1170, 1171, 1, 0, 0, 0, 1171, 1232, 1, 0, 0, 0, 1172, 1173, 5, 76, 0, 0, 1173, 1174, 5, 126, 0, 0, 1174, 1232, 3, 292, 146, 0, 1175, 1176, 5, 76, 0, 0, 1176, 1177, 5, 198, 0, 0, 1177, 1232, 3, 292, 146, 0, 1178, 1179, 5, 251, 0, 0, 1179, 1180, 5, 205, 0, 0, 1180, 1232, 3, 222, 111, 0, 1181, 1182, 5, 251, 0, 0, 1182, 1183, 5, 267, 0, 0, 1183, 1186, 5, 311, 0, 0, 1184, 1187, 5, 157, 0, 0, 1185, 1187, 3, 136, 68, 0, 1186, 1184, 1, 0, 0, 0, 1186, 1185, 1, 0, 0, 0, 1187, 1232, 1, 0, 0, 0, 1188, 1189, 5, 287, 0, 0, 1189, 1190, 3, 254, 127, 0, 1190, 1191, 5, 251, 0, 0, 1191, 1196, 3, 210, 105, 0, 1192, 1193, 5, 3, 0, 0, 1193, 1195, 3, 210, 105, 0, 1194, 1192, 1, 0, 0, 0, 1195, 1198, 1, 0, 0, 0, 1196, 1194, 1, 0, 0, 0, 1196, 1197, 1, 0, 0, 0, 1197, 1201, 1, 0, 0, 0, 1198, 1196, 1, 0, 0, 0, 1199, 1200, 5, 301, 0, 0, 1200, 1202, 3, 138, 69, 0, 1201, 1199, 1, 0, 0, 0, 1201, 1202, 1, 0, 0, 0, 1202, 1232, 1, 0, 0, 0, 1203, 1204, 5, 169, 0, 0, 1204, 1205, 5, 130, 0, 0, 1205, 1210, 3, 254, 127, 0, 1206, 1208, 5, 28, 0, 0, 1207, 1206, 1, 0, 0, 0, 1207, 1208, 1, 0, 0, 0, 1208, 1209, 1, 0, 0, 0, 1209, 1211, 3, 292, 146, 0, 1210, 1207, 1, 0, 0, 0, 1210, 1211, 1, 0, 0, 0, 1211, 1212, 1, 0, 0, 0, 1212, 1213, 5, 290, 0, 0, 1213, 1214, 3, 72, 36, 0, 1214, 1215, 5, 190, 0, 0, 1215, 1217, 3, 136, 68, 0, 1216, 1218, 3, 194, 97, 0, 1217, 1216, 1, 0, 0, 0, 1218, 1219, 1, 0, 0, 0, 1219, 1217, 1, 0, 0, 0, 1219, 1220, 1, 0, 0, 0, 1220, 1232, 1, 0, 0, 0, 1221, 1222, 5, 253, 0, 0, 1222, 1223, 5, 46, 0, 0, 1223, 1224, 5, 190, 0, 0, 1224, 1225, 5, 260, 0, 0, 1225, 1232, 3, 254, 127, 0, 1226, 1227, 5, 253, 0, 0, 1227, 1228, 5, 46, 0, 0, 1228, 1229, 5, 190, 0, 0, 1229, 1230, 5, 44, 0, 0, 1230, 1232, 3, 274, 137, 0, 1231, 333, 1, 0, 0, 0, 1231, 334, 1, 0, 0, 0, 1231, 336, 1, 0, 0, 0, 1231, 358, 1, 0, 0, 0, 1231, 368, 1, 0, 0, 0, 1231, 384, 1, 0, 0, 0, 1231, 394, 1, 0, 0, 0, 1231, 401, 1, 0, 0, 0, 1231, 408, 1, 0, 0, 0, 1231, 446, 1, 0, 0, 0, 1231, 476, 1, 0, 0, 0, 1231, 483, 1, 0, 0, 0, 1231, 491, 1, 0, 0, 0, 1231, 498, 1, 0, 0, 0, 1231, 501, 1, 0, 0, 0, 1231, 510, 1, 0, 0, 0, 1231, 519, 1, 0, 0, 0, 1231, 528, 1, 0, 0, 0, 1231, 539, 1, 0, 0, 0, 1231, 555, 1, 0, 0, 0, 1231, 572, 1, 0, 0, 0, 1231, 587, 1, 0, 0, 0, 1231, 602, 1, 0, 0, 0, 1231, 616, 1, 0, 0, 0, 1231, 623, 1, 0, 0, 0, 1231, 630, 1, 0, 0, 0, 1231, 653, 1, 0, 0, 0, 1231, 659, 1, 0, 0, 0, 1231, 688, 1, 0, 0, 0, 1231, 710, 1, 0, 0, 0, 1231, 714, 1, 0, 0, 0, 1231, 722, 1, 0, 0, 0, 1231, 734, 1, 0, 0, 0, 1231, 742, 1, 0, 0, 0, 1231, 749, 1, 0, 0, 0, 1231, 756, 1, 0, 0, 0, 1231, 763, 1, 0, 0, 0, 1231, 778, 1, 0, 0, 0, 1231, 784, 1, 0, 0, 0, 1231, 791, 1, 0, 0, 0, 1231, 803, 1, 0, 0, 0, 1231, 810, 1, 0, 0, 0, 1231, 842, 1, 0, 0, 0, 1231, 864, 1, 0, 0, 0, 1231, 896, 1, 0, 0, 0, 1231, 919, 1, 0, 0, 0, 1231, 937, 1, 0, 0, 0, 1231, 948, 1, 0, 0, 0, 1231, 954, 1, 0, 0, 0, 1231, 969, 1, 0, 0, 0, 1231, 975, 1, 0, 0, 0, 1231, 979, 1, 0, 0, 0, 1231, 983, 1, 0, 0, 0, 1231, 987, 1, 0, 0, 0, 1231, 992, 1, 0, 0, 0, 1231, 996, 1, 0, 0, 0, 1231, 1010, 1, 0, 0, 0, 1231, 1024, 1, 0, 0, 0, 1231, 1034, 1, 0, 0, 0, 1231, 1046, 1, 0, 0, 0, 1231, 1050, 1, 0, 0, 0, 1231, 1057, 1, 0, 0, 0, 1231, 1066, 1, 0, 0, 0, 1231, 1073, 1, 0, 0, 0, 1231, 1075, 1, 0, 0, 0, 1231, 1077, 1, 0, 0, 0, 1231, 1091, 1, 0, 0, 0, 1231, 1101, 1, 0, 0, 0, 1231, 1105, 1, 0, 0, 0, 1231, 1108, 1, 0, 0, 0, 1231, 1114, 1, 0, 0, 0, 1231, 1117, 1, 0, 0, 0, 1231, 1129, 1, 0, 0, 0, 1231, 1133, 1, 0, 0, 0, 1231, 1137, 1, 0, 0, 0, 1231, 1142, 1, 0, 0, 0, 1231, 1145, 1, 0, 0, 0, 1231, 1158, 1, 0, 0, 0, 1231, 1172, 1, 0, 0, 0, 1231, 1175, 1, 0, 0, 0, 1231, 1178, 1, 0, 0, 0, 1231, 1181, 1, 0, 0, 0, 1231, 1188, 1, 0, 0, 0, 1231, 1203, 1, 0, 0, 0, 1231, 1221, 1, 0, 0, 0, 1231, 1226, 1, 0, 0, 0, 1232, 17, 1, 0, 0, 0, 1233, 1235, 3, 20, 10, 0, 1234, 1233, 1, 0, 0, 0, 1234, 1235, 1, 0, 0, 0, 1235, 1236, 1, 0, 0, 0, 1236, 1237, 3, 22, 11, 0, 1237, 19, 1, 0, 0, 0, 1238, 1239, 5, 304, 0, 0, 1239, 1244, 3, 224, 112, 0, 1240, 1241, 5, 3, 0, 0, 1241, 1243, 3, 224, 112, 0, 1242, 1240, 1, 0, 0, 0, 1243, 1246, 1, 0, 0, 0, 1244, 1242, 1, 0, 0, 0, 1244, 1245, 1, 0, 0, 0, 1245, 21, 1, 0, 0, 0, 1246, 1244, 1, 0, 0, 0, 1247, 1249, 3, 24, 12, 0, 1248, 1247, 1, 0, 0, 0, 1248, 1249, 1, 0, 0, 0, 1249, 1250, 1, 0, 0, 0, 1250, 1251, 3, 40, 20, 0, 1251, 23, 1, 0, 0, 0, 1252, 1254, 5, 304, 0, 0, 1253, 1255, 5, 221, 0, 0, 1254, 1253, 1, 0, 0, 0, 1254, 1255, 1, 0, 0, 0, 1255, 1256, 1, 0, 0, 0, 1256, 1261, 3, 66, 33, 0, 1257, 1258, 5, 3, 0, 0, 1258, 1260, 3, 66, 33, 0, 1259, 1257, 1, 0, 0, 0, 1260, 1263, 1, 0, 0, 0, 1261, 1259, 1, 0, 0, 0, 1261, 1262, 1, 0, 0, 0, 1262, 25, 1, 0, 0, 0, 1263, 1261, 1, 0, 0, 0, 1264, 1267, 3, 28, 14, 0, 1265, 1267, 3, 30, 15, 0, 1266, 1264, 1, 0, 0, 0, 1266, 1265, 1, 0, 0, 0, 1267, 27, 1, 0, 0, 0, 1268, 1269, 3, 276, 138, 0, 1269, 1272, 3, 184, 92, 0, 1270, 1271, 5, 182, 0, 0, 1271, 1273, 5, 183, 0, 0, 1272, 1270, 1, 0, 0, 0, 1272, 1273, 1, 0, 0, 0, 1273, 1276, 1, 0, 0, 0, 1274, 1275, 5, 46, 0, 0, 1275, 1277, 3, 168, 84, 0, 1276, 1274, 1, 0, 0, 0, 1276, 1277, 1, 0, 0, 0, 1277, 1280, 1, 0, 0, 0, 1278, 1279, 5, 304, 0, 0, 1279, 1281, 3, 32, 16, 0, 1280, 1278, 1, 0, 0, 0, 1280, 1281, 1, 0, 0, 0, 1281, 29, 1, 0, 0, 0, 1282, 1283, 5, 154, 0, 0, 1283, 1286, 3, 254, 127, 0, 1284, 1285, 7, 3, 0, 0, 1285, 1287, 5, 216, 0, 0, 1286, 1284, 1, 0, 0, 0, 1286, 1287, 1, 0, 0, 0, 1287, 31, 1, 0, 0, 0, 1288, 1289, 5, 1, 0, 0, 1289, 1290, 3, 34, 17, 0, 1290, 1291, 5, 2, 0, 0, 1291, 33, 1, 0, 0, 0, 1292, 1297, 3, 36, 18, 0, 1293, 1294, 5, 3, 0, 0, 1294, 1296, 3, 36, 18, 0, 1295, 1293, 1, 0, 0, 0, 1296, 1299, 1, 0, 0, 0, 1297, 1295, 1, 0, 0, 0, 1297, 1298, 1, 0, 0, 0, 1298, 35, 1, 0, 0, 0, 1299, 1297, 1, 0, 0, 0, 1300, 1301, 3, 292, 146, 0, 1301, 1302, 5, 312, 0, 0, 1302, 1303, 3, 38, 19, 0, 1303, 37, 1, 0, 0, 0, 1304, 1307, 5, 70, 0, 0, 1305, 1307, 3, 136, 68, 0, 1306, 1304, 1, 0, 0, 0, 1306, 1305, 1, 0, 0, 0, 1307, 39, 1, 0, 0, 0, 1308, 1319, 3, 46, 23, 0, 1309, 1310, 5, 195, 0, 0, 1310, 1311, 5, 36, 0, 0, 1311, 1316, 3, 50, 25, 0, 1312, 1313, 5, 3, 0, 0, 1313, 1315, 3, 50, 25, 0, 1314, 1312, 1, 0, 0, 0, 1315, 1318, 1, 0, 0, 0, 1316, 1314, 1, 0, 0, 0, 1316, 1317, 1, 0, 0, 0, 1317, 1320, 1, 0, 0, 0, 1318, 1316, 1, 0, 0, 0, 1319, 1309, 1, 0, 0, 0, 1319, 1320, 1, 0, 0, 0, 1320, 1326, 1, 0, 0, 0, 1321, 1322, 5, 188, 0, 0, 1322, 1324, 3, 44, 22, 0, 1323, 1325, 7, 4, 0, 0, 1324, 1323, 1, 0, 0, 0, 1324, 1325, 1, 0, 0, 0, 1325, 1327, 1, 0, 0, 0, 1326, 1321, 1, 0, 0, 0, 1326, 1327, 1, 0, 0, 0, 1327, 1341, 1, 0, 0, 0, 1328, 1329, 5, 155, 0, 0, 1329, 1342, 3, 42, 21, 0, 1330, 1331, 5, 98, 0, 0, 1331, 1333, 7, 5, 0, 0, 1332, 1334, 3, 44, 22, 0, 1333, 1332, 1, 0, 0, 0, 1333, 1334, 1, 0, 0, 0, 1334, 1335, 1, 0, 0, 0, 1335, 1339, 7, 4, 0, 0, 1336, 1340, 5, 192, 0, 0, 1337, 1338, 5, 304, 0, 0, 1338, 1340, 5, 266, 0, 0, 1339, 1336, 1, 0, 0, 0, 1339, 1337, 1, 0, 0, 0, 1340, 1342, 1, 0, 0, 0, 1341, 1328, 1, 0, 0, 0, 1341, 1330, 1, 0, 0, 0, 1341, 1342, 1, 0, 0, 0, 1342, 41, 1, 0, 0, 0, 1343, 1346, 5, 22, 0, 0, 1344, 1346, 3, 44, 22, 0, 1345, 1343, 1, 0, 0, 0, 1345, 1344, 1, 0, 0, 0, 1346, 43, 1, 0, 0, 0, 1347, 1348, 7, 6, 0, 0, 1348, 45, 1, 0, 0, 0, 1349, 1350, 6, 23, -1, 0, 1350, 1351, 3, 48, 24, 0, 1351, 1366, 1, 0, 0, 0, 1352, 1353, 10, 2, 0, 0, 1353, 1355, 5, 128, 0, 0, 1354, 1356, 3, 68, 34, 0, 1355, 1354, 1, 0, 0, 0, 1355, 1356, 1, 0, 0, 0, 1356, 1357, 1, 0, 0, 0, 1357, 1365, 3, 46, 23, 3, 1358, 1359, 10, 1, 0, 0, 1359, 1361, 7, 7, 0, 0, 1360, 1362, 3, 68, 34, 0, 1361, 1360, 1, 0, 0, 0, 1361, 1362, 1, 0, 0, 0, 1362, 1363, 1, 0, 0, 0, 1363, 1365, 3, 46, 23, 2, 1364, 1352, 1, 0, 0, 0, 1364, 1358, 1, 0, 0, 0, 1365, 1368, 1, 0, 0, 0, 1366, 1364, 1, 0, 0, 0, 1366, 1367, 1, 0, 0, 0, 1367, 47, 1, 0, 0, 0, 1368, 1366, 1, 0, 0, 0, 1369, 1386, 3, 52, 26, 0, 1370, 1371, 5, 260, 0, 0, 1371, 1386, 3, 254, 127, 0, 1372, 1373, 5, 296, 0, 0, 1373, 1378, 3, 136, 68, 0, 1374, 1375, 5, 3, 0, 0, 1375, 1377, 3, 136, 68, 0, 1376, 1374, 1, 0, 0, 0, 1377, 1380, 1, 0, 0, 0, 1378, 1376, 1, 0, 0, 0, 1378, 1379, 1, 0, 0, 0, 1379, 1386, 1, 0, 0, 0, 1380, 1378, 1, 0, 0, 0, 1381, 1382, 5, 1, 0, 0, 1382, 1383, 3, 40, 20, 0, 1383, 1384, 5, 2, 0, 0, 1384, 1386, 1, 0, 0, 0, 1385, 1369, 1, 0, 0, 0, 1385, 1370, 1, 0, 0, 0, 1385, 1372, 1, 0, 0, 0, 1385, 1381, 1, 0, 0, 0, 1386, 49, 1, 0, 0, 0, 1387, 1390, 3, 274, 137, 0, 1388, 1390, 3, 136, 68, 0, 1389, 1387, 1, 0, 0, 0, 1389, 1388, 1, 0, 0, 0, 1390, 1392, 1, 0, 0, 0, 1391, 1393, 7, 8, 0, 0, 1392, 1391, 1, 0, 0, 0, 1392, 1393, 1, 0, 0, 0, 1393, 1396, 1, 0, 0, 0, 1394, 1395, 5, 185, 0, 0, 1395, 1397, 7, 9, 0, 0, 1396, 1394, 1, 0, 0, 0, 1396, 1397, 1, 0, 0, 0, 1397, 51, 1, 0, 0, 0, 1398, 1400, 5, 248, 0, 0, 1399, 1401, 3, 68, 34, 0, 1400, 1399, 1, 0, 0, 0, 1400, 1401, 1, 0, 0, 0, 1401, 1402, 1, 0, 0, 0, 1402, 1407, 3, 70, 35, 0, 1403, 1404, 5, 3, 0, 0, 1404, 1406, 3, 70, 35, 0, 1405, 1403, 1, 0, 0, 0, 1406, 1409, 1, 0, 0, 0, 1407, 1405, 1, 0, 0, 0, 1407, 1408, 1, 0, 0, 0, 1408, 1419, 1, 0, 0, 0, 1409, 1407, 1, 0, 0, 0, 1410, 1411, 5, 105, 0, 0, 1411, 1416, 3, 72, 36, 0, 1412, 1413, 5, 3, 0, 0, 1413, 1415, 3, 72, 36, 0, 1414, 1412, 1, 0, 0, 0, 1415, 1418, 1, 0, 0, 0, 1416, 1414, 1, 0, 0, 0, 1416, 1417, 1, 0, 0, 0, 1417, 1420, 1, 0, 0, 0, 1418, 1416, 1, 0, 0, 0, 1419, 1410, 1, 0, 0, 0, 1419, 1420, 1, 0, 0, 0, 1420, 1423, 1, 0, 0, 0, 1421, 1422, 5, 301, 0, 0, 1422, 1424, 3, 138, 69, 0, 1423, 1421, 1, 0, 0, 0, 1423, 1424, 1, 0, 0, 0, 1424, 1428, 1, 0, 0, 0, 1425, 1426, 5, 114, 0, 0, 1426, 1427, 5, 36, 0, 0, 1427, 1429, 3, 54, 27, 0, 1428, 1425, 1, 0, 0, 0, 1428, 1429, 1, 0, 0, 0, 1429, 1432, 1, 0, 0, 0, 1430, 1431, 5, 117, 0, 0, 1431, 1433, 3, 138, 69, 0, 1432, 1430, 1, 0, 0, 0, 1432, 1433, 1, 0, 0, 0, 1433, 1443, 1, 0, 0, 0, 1434, 1435, 5, 303, 0, 0, 1435, 1440, 3, 62, 31, 0, 1436, 1437, 5, 3, 0, 0, 1437, 1439, 3, 62, 31, 0, 1438, 1436, 1, 0, 0, 0, 1439, 1442, 1, 0, 0, 0, 1440, 1438, 1, 0, 0, 0, 1440, 1441, 1, 0, 0, 0, 1441, 1444, 1, 0, 0, 0, 1442, 1440, 1, 0, 0, 0, 1443, 1434, 1, 0, 0, 0, 1443, 1444, 1, 0, 0, 0, 1444, 53, 1, 0, 0, 0, 1445, 1447, 3, 68, 34, 0, 1446, 1445, 1, 0, 0, 0, 1446, 1447, 1, 0, 0, 0, 1447, 1448, 1, 0, 0, 0, 1448, 1453, 3, 56, 28, 0, 1449, 1450, 5, 3, 0, 0, 1450, 1452, 3, 56, 28, 0, 1451, 1449, 1, 0, 0, 0, 1452, 1455, 1, 0, 0, 0, 1453, 1451, 1, 0, 0, 0, 1453, 1454, 1, 0, 0, 0, 1454, 55, 1, 0, 0, 0, 1455, 1453, 1, 0, 0, 0, 1456, 1497, 3, 58, 29, 0, 1457, 1458, 5, 238, 0, 0, 1458, 1467, 5, 1, 0, 0, 1459, 1464, 3, 58, 29, 0, 1460, 1461, 5, 3, 0, 0, 1461, 1463, 3, 58, 29, 0, 1462, 1460, 1, 0, 0, 0, 1463, 1466, 1, 0, 0, 0, 1464, 1462, 1, 0, 0, 0, 1464, 1465, 1, 0, 0, 0, 1465, 1468, 1, 0, 0, 0, 1466, 1464, 1, 0, 0, 0, 1467, 1459, 1, 0, 0, 0, 1467, 1468, 1, 0, 0, 0, 1468, 1469, 1, 0, 0, 0, 1469, 1497, 5, 2, 0, 0, 1470, 1471, 5, 55, 0, 0, 1471, 1480, 5, 1, 0, 0, 1472, 1477, 3, 58, 29, 0, 1473, 1474, 5, 3, 0, 0, 1474, 1476, 3, 58, 29, 0, 1475, 1473, 1, 0, 0, 0, 1476, 1479, 1, 0, 0, 0, 1477, 1475, 1, 0, 0, 0, 1477, 1478, 1, 0, 0, 0, 1478, 1481, 1, 0, 0, 0, 1479, 1477, 1, 0, 0, 0, 1480, 1472, 1, 0, 0, 0, 1480, 1481, 1, 0, 0, 0, 1481, 1482, 1, 0, 0, 0, 1482, 1497, 5, 2, 0, 0, 1483, 1484, 5, 115, 0, 0, 1484, 1485, 5, 252, 0, 0, 1485, 1486, 5, 1, 0, 0, 1486, 1491, 3, 58, 29, 0, 1487, 1488, 5, 3, 0, 0, 1488, 1490, 3, 58, 29, 0, 1489, 1487, 1, 0, 0, 0, 1490, 1493, 1, 0, 0, 0, 1491, 1489, 1, 0, 0, 0, 1491, 1492, 1, 0, 0, 0, 1492, 1494, 1, 0, 0, 0, 1493, 1491, 1, 0, 0, 0, 1494, 1495, 5, 2, 0, 0, 1495, 1497, 1, 0, 0, 0, 1496, 1456, 1, 0, 0, 0, 1496, 1457, 1, 0, 0, 0, 1496, 1470, 1, 0, 0, 0, 1496, 1483, 1, 0, 0, 0, 1497, 57, 1, 0, 0, 0, 1498, 1507, 5, 1, 0, 0, 1499, 1504, 3, 60, 30, 0, 1500, 1501, 5, 3, 0, 0, 1501, 1503, 3, 60, 30, 0, 1502, 1500, 1, 0, 0, 0, 1503, 1506, 1, 0, 0, 0, 1504, 1502, 1, 0, 0, 0, 1504, 1505, 1, 0, 0, 0, 1505, 1508, 1, 0, 0, 0, 1506, 1504, 1, 0, 0, 0, 1507, 1499, 1, 0, 0, 0, 1507, 1508, 1, 0, 0, 0, 1508, 1509, 1, 0, 0, 0, 1509, 1512, 5, 2, 0, 0, 1510, 1512, 3, 60, 30, 0, 1511, 1498, 1, 0, 0, 0, 1511, 1510, 1, 0, 0, 0, 1512, 59, 1, 0, 0, 0, 1513, 1516, 3, 274, 137, 0, 1514, 1516, 3, 136, 68, 0, 1515, 1513, 1, 0, 0, 0, 1515, 1514, 1, 0, 0, 0, 1516, 61, 1, 0, 0, 0, 1517, 1518, 3, 292, 146, 0, 1518, 1519, 5, 28, 0, 0, 1519, 1520, 5, 1, 0, 0, 1520, 1521, 3, 64, 32, 0, 1521, 1522, 5, 2, 0, 0, 1522, 63, 1, 0, 0, 0, 1523, 1525, 3, 292, 146, 0, 1524, 1523, 1, 0, 0, 0, 1524, 1525, 1, 0, 0, 0, 1525, 1536, 1, 0, 0, 0, 1526, 1527, 5, 201, 0, 0, 1527, 1528, 5, 36, 0, 0, 1528, 1533, 3, 136, 68, 0, 1529, 1530, 5, 3, 0, 0, 1530, 1532, 3, 136, 68, 0, 1531, 1529, 1, 0, 0, 0, 1532, 1535, 1, 0, 0, 0, 1533, 1531, 1, 0, 0, 0, 1533, 1534, 1, 0, 0, 0, 1534, 1537, 1, 0, 0, 0, 1535, 1533, 1, 0, 0, 0, 1536, 1526, 1, 0, 0, 0, 1536, 1537, 1, 0, 0, 0, 1537, 1548, 1, 0, 0, 0, 1538, 1539, 5, 195, 0, 0, 1539, 1540, 5, 36, 0, 0, 1540, 1545, 3, 50, 25, 0, 1541, 1542, 5, 3, 0, 0, 1542, 1544, 3, 50, 25, 0, 1543, 1541, 1, 0, 0, 0, 1544, 1547, 1, 0, 0, 0, 1545, 1543, 1, 0, 0, 0, 1545, 1546, 1, 0, 0, 0, 1546, 1549, 1, 0, 0, 0, 1547, 1545, 1, 0, 0, 0, 1548, 1538, 1, 0, 0, 0, 1548, 1549, 1, 0, 0, 0, 1549, 1551, 1, 0, 0, 0, 1550, 1552, 3, 198, 99, 0, 1551, 1550, 1, 0, 0, 0, 1551, 1552, 1, 0, 0, 0, 1552, 65, 1, 0, 0, 0, 1553, 1555, 3, 292, 146, 0, 1554, 1556, 3, 108, 54, 0, 1555, 1554, 1, 0, 0, 0, 1555, 1556, 1, 0, 0, 0, 1556, 1557, 1, 0, 0, 0, 1557, 1558, 5, 28, 0, 0, 1558, 1559, 5, 1, 0, 0, 1559, 1560, 3, 22, 11, 0, 1560, 1561, 5, 2, 0, 0, 1561, 67, 1, 0, 0, 0, 1562, 1563, 7, 10, 0, 0, 1563, 69, 1, 0, 0, 0, 1564, 1567, 3, 274, 137, 0, 1565, 1567, 3, 136, 68, 0, 1566, 1564, 1, 0, 0, 0, 1566, 1565, 1, 0, 0, 0, 1567, 1572, 1, 0, 0, 0, 1568, 1570, 5, 28, 0, 0, 1569, 1568, 1, 0, 0, 0, 1569, 1570, 1, 0, 0, 0, 1570, 1571, 1, 0, 0, 0, 1571, 1573, 3, 292, 146, 0, 1572, 1569, 1, 0, 0, 0, 1572, 1573, 1, 0, 0, 0, 1573, 1583, 1, 0, 0, 0, 1574, 1575, 3, 144, 72, 0, 1575, 1576, 5, 4, 0, 0, 1576, 1579, 5, 320, 0, 0, 1577, 1578, 5, 28, 0, 0, 1578, 1580, 3, 108, 54, 0, 1579, 1577, 1, 0, 0, 0, 1579, 1580, 1, 0, 0, 0, 1580, 1583, 1, 0, 0, 0, 1581, 1583, 5, 320, 0, 0, 1582, 1566, 1, 0, 0, 0, 1582, 1574, 1, 0, 0, 0, 1582, 1581, 1, 0, 0, 0, 1583, 71, 1, 0, 0, 0, 1584, 1585, 6, 36, -1, 0, 1585, 1586, 3, 78, 39, 0, 1586, 1605, 1, 0, 0, 0, 1587, 1601, 10, 2, 0, 0, 1588, 1589, 5, 54, 0, 0, 1589, 1590, 5, 136, 0, 0, 1590, 1602, 3, 78, 39, 0, 1591, 1592, 3, 74, 37, 0, 1592, 1593, 5, 136, 0, 0, 1593, 1594, 3, 72, 36, 0, 1594, 1595, 3, 76, 38, 0, 1595, 1602, 1, 0, 0, 0, 1596, 1597, 5, 172, 0, 0, 1597, 1598, 3, 74, 37, 0, 1598, 1599, 5, 136, 0, 0, 1599, 1600, 3, 78, 39, 0, 1600, 1602, 1, 0, 0, 0, 1601, 1588, 1, 0, 0, 0, 1601, 1591, 1, 0, 0, 0, 1601, 1596, 1, 0, 0, 0, 1602, 1604, 1, 0, 0, 0, 1603, 1587, 1, 0, 0, 0, 1604, 1607, 1, 0, 0, 0, 1605, 1603, 1, 0, 0, 0, 1605, 1606, 1, 0, 0, 0, 1606, 73, 1, 0, 0, 0, 1607, 1605, 1, 0, 0, 0, 1608, 1610, 5, 125, 0, 0, 1609, 1608, 1, 0, 0, 0, 1609, 1610, 1, 0, 0, 0, 1610, 1624, 1, 0, 0, 0, 1611, 1613, 5, 152, 0, 0, 1612, 1614, 5, 197, 0, 0, 1613, 1612, 1, 0, 0, 0, 1613, 1614, 1, 0, 0, 0, 1614, 1624, 1, 0, 0, 0, 1615, 1617, 5, 234, 0, 0, 1616, 1618, 5, 197, 0, 0, 1617, 1616, 1, 0, 0, 0, 1617, 1618, 1, 0, 0, 0, 1618, 1624, 1, 0, 0, 0, 1619, 1621, 5, 106, 0, 0, 1620, 1622, 5, 197, 0, 0, 1621, 1620, 1, 0, 0, 0, 1621, 1622, 1, 0, 0, 0, 1622, 1624, 1, 0, 0, 0, 1623, 1609, 1, 0, 0, 0, 1623, 1611, 1, 0, 0, 0, 1623, 1615, 1, 0, 0, 0, 1623, 1619, 1, 0, 0, 0, 1624, 75, 1, 0, 0, 0, 1625, 1626, 5, 190, 0, 0, 1626, 1640, 3, 138, 69, 0, 1627, 1628, 5, 290, 0, 0, 1628, 1629, 5, 1, 0, 0, 1629, 1634, 3, 292, 146, 0, 1630, 1631, 5, 3, 0, 0, 1631, 1633, 3, 292, 146, 0, 1632, 1630, 1, 0, 0, 0, 1633, 1636, 1, 0, 0, 0, 1634, 1632, 1, 0, 0, 0, 1634, 1635, 1, 0, 0, 0, 1635, 1637, 1, 0, 0, 0, 1636, 1634, 1, 0, 0, 0, 1637, 1638, 5, 2, 0, 0, 1638, 1640, 1, 0, 0, 0, 1639, 1625, 1, 0, 0, 0, 1639, 1627, 1, 0, 0, 0, 1640, 77, 1, 0, 0, 0, 1641, 1648, 3, 88, 44, 0, 1642, 1643, 5, 262, 0, 0, 1643, 1644, 3, 80, 40, 0, 1644, 1645, 5, 1, 0, 0, 1645, 1646, 3, 136, 68, 0, 1646, 1647, 5, 2, 0, 0, 1647, 1649, 1, 0, 0, 0, 1648, 1642, 1, 0, 0, 0, 1648, 1649, 1, 0, 0, 0, 1649, 79, 1, 0, 0, 0, 1650, 1651, 7, 11, 0, 0, 1651, 81, 1, 0, 0, 0, 1652, 1653, 7, 12, 0, 0, 1653, 83, 1, 0, 0, 0, 1654, 1661, 5, 89, 0, 0, 1655, 1657, 5, 274, 0, 0, 1656, 1658, 3, 168, 84, 0, 1657, 1656, 1, 0, 0, 0, 1657, 1658, 1, 0, 0, 0, 1658, 1659, 1, 0, 0, 0, 1659, 1661, 3, 86, 43, 0, 1660, 1654, 1, 0, 0, 0, 1660, 1655, 1, 0, 0, 0, 1661, 85, 1, 0, 0, 0, 1662, 1663, 5, 304, 0, 0, 1663, 1667, 5, 51, 0, 0, 1664, 1665, 5, 306, 0, 0, 1665, 1667, 5, 51, 0, 0, 1666, 1662, 1, 0, 0, 0, 1666, 1664, 1, 0, 0, 0, 1667, 87, 1, 0, 0, 0, 1668, 1751, 3, 102, 51, 0, 1669, 1670, 5, 166, 0, 0, 1670, 1681, 5, 1, 0, 0, 1671, 1672, 5, 201, 0, 0, 1672, 1673, 5, 36, 0, 0, 1673, 1678, 3, 136, 68, 0, 1674, 1675, 5, 3, 0, 0, 1675, 1677, 3, 136, 68, 0, 1676, 1674, 1, 0, 0, 0, 1677, 1680, 1, 0, 0, 0, 1678, 1676, 1, 0, 0, 0, 1678, 1679, 1, 0, 0, 0, 1679, 1682, 1, 0, 0, 0, 1680, 1678, 1, 0, 0, 0, 1681, 1671, 1, 0, 0, 0, 1681, 1682, 1, 0, 0, 0, 1682, 1693, 1, 0, 0, 0, 1683, 1684, 5, 195, 0, 0, 1684, 1685, 5, 36, 0, 0, 1685, 1690, 3, 50, 25, 0, 1686, 1687, 5, 3, 0, 0, 1687, 1689, 3, 50, 25, 0, 1688, 1686, 1, 0, 0, 0, 1689, 1692, 1, 0, 0, 0, 1690, 1688, 1, 0, 0, 0, 1690, 1691, 1, 0, 0, 0, 1691, 1694, 1, 0, 0, 0, 1692, 1690, 1, 0, 0, 0, 1693, 1683, 1, 0, 0, 0, 1693, 1694, 1, 0, 0, 0, 1694, 1704, 1, 0, 0, 0, 1695, 1696, 5, 168, 0, 0, 1696, 1701, 3, 90, 45, 0, 1697, 1698, 5, 3, 0, 0, 1698, 1700, 3, 90, 45, 0, 1699, 1697, 1, 0, 0, 0, 1700, 1703, 1, 0, 0, 0, 1701, 1699, 1, 0, 0, 0, 1701, 1702, 1, 0, 0, 0, 1702, 1705, 1, 0, 0, 0, 1703, 1701, 1, 0, 0, 0, 1704, 1695, 1, 0, 0, 0, 1704, 1705, 1, 0, 0, 0, 1705, 1707, 1, 0, 0, 0, 1706, 1708, 3, 92, 46, 0, 1707, 1706, 1, 0, 0, 0, 1707, 1708, 1, 0, 0, 0, 1708, 1712, 1, 0, 0, 0, 1709, 1710, 5, 21, 0, 0, 1710, 1711, 5, 163, 0, 0, 1711, 1713, 3, 96, 48, 0, 1712, 1709, 1, 0, 0, 0, 1712, 1713, 1, 0, 0, 0, 1713, 1715, 1, 0, 0, 0, 1714, 1716, 7, 13, 0, 0, 1715, 1714, 1, 0, 0, 0, 1715, 1716, 1, 0, 0, 0, 1716, 1717, 1, 0, 0, 0, 1717, 1718, 5, 206, 0, 0, 1718, 1719, 5, 1, 0, 0, 1719, 1720, 3, 204, 102, 0, 1720, 1730, 5, 2, 0, 0, 1721, 1722, 5, 257, 0, 0, 1722, 1727, 3, 98, 49, 0, 1723, 1724, 5, 3, 0, 0, 1724, 1726, 3, 98, 49, 0, 1725, 1723, 1, 0, 0, 0, 1726, 1729, 1, 0, 0, 0, 1727, 1725, 1, 0, 0, 0, 1727, 1728, 1, 0, 0, 0, 1728, 1731, 1, 0, 0, 0, 1729, 1727, 1, 0, 0, 0, 1730, 1721, 1, 0, 0, 0, 1730, 1731, 1, 0, 0, 0, 1731, 1732, 1, 0, 0, 0, 1732, 1733, 5, 71, 0, 0, 1733, 1738, 3, 100, 50, 0, 1734, 1735, 5, 3, 0, 0, 1735, 1737, 3, 100, 50, 0, 1736, 1734, 1, 0, 0, 0, 1737, 1740, 1, 0, 0, 0, 1738, 1736, 1, 0, 0, 0, 1738, 1739, 1, 0, 0, 0, 1739, 1741, 1, 0, 0, 0, 1740, 1738, 1, 0, 0, 0, 1741, 1749, 5, 2, 0, 0, 1742, 1744, 5, 28, 0, 0, 1743, 1742, 1, 0, 0, 0, 1743, 1744, 1, 0, 0, 0, 1744, 1745, 1, 0, 0, 0, 1745, 1747, 3, 292, 146, 0, 1746, 1748, 3, 108, 54, 0, 1747, 1746, 1, 0, 0, 0, 1747, 1748, 1, 0, 0, 0, 1748, 1750, 1, 0, 0, 0, 1749, 1743, 1, 0, 0, 0, 1749, 1750, 1, 0, 0, 0, 1750, 1752, 1, 0, 0, 0, 1751, 1669, 1, 0, 0, 0, 1751, 1752, 1, 0, 0, 0, 1752, 89, 1, 0, 0, 0, 1753, 1754, 3, 136, 68, 0, 1754, 1755, 5, 28, 0, 0, 1755, 1756, 3, 292, 146, 0, 1756, 91, 1, 0, 0, 0, 1757, 1758, 5, 191, 0, 0, 1758, 1759, 5, 239, 0, 0, 1759, 1760, 5, 207, 0, 0, 1760, 1769, 5, 163, 0, 0, 1761, 1762, 5, 22, 0, 0, 1762, 1763, 5, 240, 0, 0, 1763, 1764, 5, 207, 0, 0, 1764, 1766, 5, 163, 0, 0, 1765, 1767, 3, 94, 47, 0, 1766, 1765, 1, 0, 0, 0, 1766, 1767, 1, 0, 0, 0, 1767, 1769, 1, 0, 0, 0, 1768, 1757, 1, 0, 0, 0, 1768, 1761, 1, 0, 0, 0, 1769, 93, 1, 0, 0, 0, 1770, 1771, 5, 253, 0, 0, 1771, 1772, 5, 85, 0, 0, 1772, 1780, 5, 165, 0, 0, 1773, 1774, 5, 189, 0, 0, 1774, 1775, 5, 85, 0, 0, 1775, 1780, 5, 165, 0, 0, 1776, 1777, 5, 304, 0, 0, 1777, 1778, 5, 284, 0, 0, 1778, 1780, 5, 240, 0, 0, 1779, 1770, 1, 0, 0, 0, 1779, 1773, 1, 0, 0, 0, 1779, 1776, 1, 0, 0, 0, 1780, 95, 1, 0, 0, 0, 1781, 1782, 5, 5, 0, 0, 1782, 1783, 5, 269, 0, 0, 1783, 1784, 5, 174, 0, 0, 1784, 1801, 5, 239, 0, 0, 1785, 1786, 5, 5, 0, 0, 1786, 1787, 5, 204, 0, 0, 1787, 1788, 5, 148, 0, 0, 1788, 1801, 5, 239, 0, 0, 1789, 1790, 5, 5, 0, 0, 1790, 1791, 5, 269, 0, 0, 1791, 1792, 5, 101, 0, 0, 1792, 1801, 3, 292, 146, 0, 1793, 1794, 5, 5, 0, 0, 1794, 1795, 5, 269, 0, 0, 1795, 1796, 5, 148, 0, 0, 1796, 1801, 3, 292, 146, 0, 1797, 1798, 5, 5, 0, 0, 1798, 1799, 5, 269, 0, 0, 1799, 1801, 3, 292, 146, 0, 1800, 1781, 1, 0, 0, 0, 1800, 1785, 1, 0, 0, 0, 1800, 1789, 1, 0, 0, 0, 1800, 1793, 1, 0, 0, 0, 1800, 1797, 1, 0, 0, 0, 1801, 97, 1, 0, 0, 0, 1802, 1803, 3, 292, 146, 0, 1803, 1804, 5, 312, 0, 0, 1804, 1805, 5, 1, 0, 0, 1805, 1810, 3, 292, 146, 0, 1806, 1807, 5, 3, 0, 0, 1807, 1809, 3, 292, 146, 0, 1808, 1806, 1, 0, 0, 0, 1809, 1812, 1, 0, 0, 0, 1810, 1808, 1, 0, 0, 0, 1810, 1811, 1, 0, 0, 0, 1811, 1813, 1, 0, 0, 0, 1812, 1810, 1, 0, 0, 0, 1813, 1814, 5, 2, 0, 0, 1814, 99, 1, 0, 0, 0, 1815, 1816, 3, 292, 146, 0, 1816, 1817, 5, 28, 0, 0, 1817, 1818, 3, 136, 68, 0, 1818, 101, 1, 0, 0, 0, 1819, 1827, 3, 110, 55, 0, 1820, 1822, 5, 28, 0, 0, 1821, 1820, 1, 0, 0, 0, 1821, 1822, 1, 0, 0, 0, 1822, 1823, 1, 0, 0, 0, 1823, 1825, 3, 292, 146, 0, 1824, 1826, 3, 108, 54, 0, 1825, 1824, 1, 0, 0, 0, 1825, 1826, 1, 0, 0, 0, 1826, 1828, 1, 0, 0, 0, 1827, 1821, 1, 0, 0, 0, 1827, 1828, 1, 0, 0, 0, 1828, 103, 1, 0, 0, 0, 1829, 1830, 5, 1, 0, 0, 1830, 1835, 3, 276, 138, 0, 1831, 1832, 5, 3, 0, 0, 1832, 1834, 3, 276, 138, 0, 1833, 1831, 1, 0, 0, 0, 1834, 1837, 1, 0, 0, 0, 1835, 1833, 1, 0, 0, 0, 1835, 1836, 1, 0, 0, 0, 1836, 1838, 1, 0, 0, 0, 1837, 1835, 1, 0, 0, 0, 1838, 1839, 5, 2, 0, 0, 1839, 105, 1, 0, 0, 0, 1840, 1841, 5, 1, 0, 0, 1841, 1846, 3, 274, 137, 0, 1842, 1843, 5, 3, 0, 0, 1843, 1845, 3, 274, 137, 0, 1844, 1842, 1, 0, 0, 0, 1845, 1848, 1, 0, 0, 0, 1846, 1844, 1, 0, 0, 0, 1846, 1847, 1, 0, 0, 0, 1847, 1849, 1, 0, 0, 0, 1848, 1846, 1, 0, 0, 0, 1849, 1850, 5, 2, 0, 0, 1850, 107, 1, 0, 0, 0, 1851, 1852, 5, 1, 0, 0, 1852, 1857, 3, 292, 146, 0, 1853, 1854, 5, 3, 0, 0, 1854, 1856, 3, 292, 146, 0, 1855, 1853, 1, 0, 0, 0, 1856, 1859, 1, 0, 0, 0, 1857, 1855, 1, 0, 0, 0, 1857, 1858, 1, 0, 0, 0, 1858, 1860, 1, 0, 0, 0, 1859, 1857, 1, 0, 0, 0, 1860, 1861, 5, 2, 0, 0, 1861, 109, 1, 0, 0, 0, 1862, 1864, 3, 252, 126, 0, 1863, 1865, 3, 280, 140, 0, 1864, 1863, 1, 0, 0, 0, 1864, 1865, 1, 0, 0, 0, 1865, 1934, 1, 0, 0, 0, 1866, 1867, 5, 1, 0, 0, 1867, 1868, 3, 22, 11, 0, 1868, 1869, 5, 2, 0, 0, 1869, 1934, 1, 0, 0, 0, 1870, 1871, 5, 285, 0, 0, 1871, 1872, 5, 1, 0, 0, 1872, 1877, 3, 136, 68, 0, 1873, 1874, 5, 3, 0, 0, 1874, 1876, 3, 136, 68, 0, 1875, 1873, 1, 0, 0, 0, 1876, 1879, 1, 0, 0, 0, 1877, 1875, 1, 0, 0, 0, 1877, 1878, 1, 0, 0, 0, 1878, 1880, 1, 0, 0, 0, 1879, 1877, 1, 0, 0, 0, 1880, 1883, 5, 2, 0, 0, 1881, 1882, 5, 304, 0, 0, 1882, 1884, 5, 196, 0, 0, 1883, 1881, 1, 0, 0, 0, 1883, 1884, 1, 0, 0, 0, 1884, 1934, 1, 0, 0, 0, 1885, 1886, 5, 149, 0, 0, 1886, 1887, 5, 1, 0, 0, 1887, 1888, 3, 22, 11, 0, 1888, 1889, 5, 2, 0, 0, 1889, 1934, 1, 0, 0, 0, 1890, 1891, 5, 260, 0, 0, 1891, 1892, 5, 1, 0, 0, 1892, 1893, 3, 122, 61, 0, 1893, 1894, 5, 2, 0, 0, 1894, 1934, 1, 0, 0, 0, 1895, 1896, 5, 1, 0, 0, 1896, 1897, 3, 72, 36, 0, 1897, 1898, 5, 2, 0, 0, 1898, 1934, 1, 0, 0, 0, 1899, 1900, 5, 142, 0, 0, 1900, 1901, 5, 1, 0, 0, 1901, 1902, 3, 146, 73, 0, 1902, 1903, 5, 45, 0, 0, 1903, 1904, 5, 1, 0, 0, 1904, 1909, 3, 112, 56, 0, 1905, 1906, 5, 3, 0, 0, 1906, 1908, 3, 112, 56, 0, 1907, 1905, 1, 0, 0, 0, 1908, 1911, 1, 0, 0, 0, 1909, 1907, 1, 0, 0, 0, 1909, 1910, 1, 0, 0, 0, 1910, 1912, 1, 0, 0, 0, 1911, 1909, 1, 0, 0, 0, 1912, 1924, 5, 2, 0, 0, 1913, 1914, 5, 210, 0, 0, 1914, 1915, 5, 1, 0, 0, 1915, 1916, 3, 114, 57, 0, 1916, 1917, 5, 2, 0, 0, 1917, 1925, 1, 0, 0, 0, 1918, 1919, 5, 210, 0, 0, 1919, 1920, 5, 70, 0, 0, 1920, 1921, 5, 1, 0, 0, 1921, 1922, 3, 120, 60, 0, 1922, 1923, 5, 2, 0, 0, 1923, 1925, 1, 0, 0, 0, 1924, 1913, 1, 0, 0, 0, 1924, 1918, 1, 0, 0, 0, 1924, 1925, 1, 0, 0, 0, 1925, 1929, 1, 0, 0, 0, 1926, 1927, 7, 14, 0, 0, 1927, 1928, 5, 190, 0, 0, 1928, 1930, 5, 89, 0, 0, 1929, 1926, 1, 0, 0, 0, 1929, 1930, 1, 0, 0, 0, 1930, 1931, 1, 0, 0, 0, 1931, 1932, 5, 2, 0, 0, 1932, 1934, 1, 0, 0, 0, 1933, 1862, 1, 0, 0, 0, 1933, 1866, 1, 0, 0, 0, 1933, 1870, 1, 0, 0, 0, 1933, 1885, 1, 0, 0, 0, 1933, 1890, 1, 0, 0, 0, 1933, 1895, 1, 0, 0, 0, 1933, 1899, 1, 0, 0, 0, 1934, 111, 1, 0, 0, 0, 1935, 1936, 3, 292, 146, 0, 1936, 1937, 5, 103, 0, 0, 1937, 1938, 5, 196, 0, 0, 1938, 2013, 1, 0, 0, 0, 1939, 1940, 3, 292, 146, 0, 1940, 1943, 3, 184, 92, 0, 1941, 1942, 5, 205, 0, 0, 1942, 1944, 3, 168, 84, 0, 1943, 1941, 1, 0, 0, 0, 1943, 1944, 1, 0, 0, 0, 1944, 1949, 1, 0, 0, 0, 1945, 1946, 3, 156, 78, 0, 1946, 1947, 5, 190, 0, 0, 1947, 1948, 5, 85, 0, 0, 1948, 1950, 1, 0, 0, 0, 1949, 1945, 1, 0, 0, 0, 1949, 1950, 1, 0, 0, 0, 1950, 1955, 1, 0, 0, 0, 1951, 1952, 3, 156, 78, 0, 1952, 1953, 5, 190, 0, 0, 1953, 1954, 5, 89, 0, 0, 1954, 1956, 1, 0, 0, 0, 1955, 1951, 1, 0, 0, 0, 1955, 1956, 1, 0, 0, 0, 1956, 2013, 1, 0, 0, 0, 1957, 1958, 3, 292, 146, 0, 1958, 1959, 3, 184, 92, 0, 1959, 1960, 5, 104, 0, 0, 1960, 1963, 3, 150, 75, 0, 1961, 1962, 5, 205, 0, 0, 1962, 1964, 3, 168, 84, 0, 1963, 1961, 1, 0, 0, 0, 1963, 1964, 1, 0, 0, 0, 1964, 1968, 1, 0, 0, 0, 1965, 1966, 3, 158, 79, 0, 1966, 1967, 5, 308, 0, 0, 1967, 1969, 1, 0, 0, 0, 1968, 1965, 1, 0, 0, 0, 1968, 1969, 1, 0, 0, 0, 1969, 1977, 1, 0, 0, 0, 1970, 1971, 7, 15, 0, 0, 1971, 1975, 5, 218, 0, 0, 1972, 1973, 5, 190, 0, 0, 1973, 1974, 5, 242, 0, 0, 1974, 1976, 5, 264, 0, 0, 1975, 1972, 1, 0, 0, 0, 1975, 1976, 1, 0, 0, 0, 1976, 1978, 1, 0, 0, 0, 1977, 1970, 1, 0, 0, 0, 1977, 1978, 1, 0, 0, 0, 1978, 1983, 1, 0, 0, 0, 1979, 1980, 3, 160, 80, 0, 1980, 1981, 5, 190, 0, 0, 1981, 1982, 5, 85, 0, 0, 1982, 1984, 1, 0, 0, 0, 1983, 1979, 1, 0, 0, 0, 1983, 1984, 1, 0, 0, 0, 1984, 1989, 1, 0, 0, 0, 1985, 1986, 3, 160, 80, 0, 1986, 1987, 5, 190, 0, 0, 1987, 1988, 5, 89, 0, 0, 1988, 1990, 1, 0, 0, 0, 1989, 1985, 1, 0, 0, 0, 1989, 1990, 1, 0, 0, 0, 1990, 2013, 1, 0, 0, 0, 1991, 1993, 5, 173, 0, 0, 1992, 1994, 5, 205, 0, 0, 1993, 1992, 1, 0, 0, 0, 1993, 1994, 1, 0, 0, 0, 1994, 1995, 1, 0, 0, 0, 1995, 1998, 3, 168, 84, 0, 1996, 1997, 5, 28, 0, 0, 1997, 1999, 3, 292, 146, 0, 1998, 1996, 1, 0, 0, 0, 1998, 1999, 1, 0, 0, 0, 1999, 2000, 1, 0, 0, 0, 2000, 2001, 5, 45, 0, 0, 2001, 2002, 5, 1, 0, 0, 2002, 2007, 3, 112, 56, 0, 2003, 2004, 5, 3, 0, 0, 2004, 2006, 3, 112, 56, 0, 2005, 2003, 1, 0, 0, 0, 2006, 2009, 1, 0, 0, 0, 2007, 2005, 1, 0, 0, 0, 2007, 2008, 1, 0, 0, 0, 2008, 2010, 1, 0, 0, 0, 2009, 2007, 1, 0, 0, 0, 2010, 2011, 5, 2, 0, 0, 2011, 2013, 1, 0, 0, 0, 2012, 1935, 1, 0, 0, 0, 2012, 1939, 1, 0, 0, 0, 2012, 1957, 1, 0, 0, 0, 2012, 1991, 1, 0, 0, 0, 2013, 113, 1, 0, 0, 0, 2014, 2040, 3, 116, 58, 0, 2015, 2016, 3, 116, 58, 0, 2016, 2017, 7, 16, 0, 0, 2017, 2018, 3, 118, 59, 0, 2018, 2040, 1, 0, 0, 0, 2019, 2020, 3, 118, 59, 0, 2020, 2021, 5, 281, 0, 0, 2021, 2026, 3, 118, 59, 0, 2022, 2023, 5, 281, 0, 0, 2023, 2025, 3, 118, 59, 0, 2024, 2022, 1, 0, 0, 0, 2025, 2028, 1, 0, 0, 0, 2026, 2024, 1, 0, 0, 0, 2026, 2027, 1, 0, 0, 0, 2027, 2040, 1, 0, 0, 0, 2028, 2026, 1, 0, 0, 0, 2029, 2030, 3, 118, 59, 0, 2030, 2031, 5, 54, 0, 0, 2031, 2036, 3, 118, 59, 0, 2032, 2033, 5, 54, 0, 0, 2033, 2035, 3, 118, 59, 0, 2034, 2032, 1, 0, 0, 0, 2035, 2038, 1, 0, 0, 0, 2036, 2034, 1, 0, 0, 0, 2036, 2037, 1, 0, 0, 0, 2037, 2040, 1, 0, 0, 0, 2038, 2036, 1, 0, 0, 0, 2039, 2014, 1, 0, 0, 0, 2039, 2015, 1, 0, 0, 0, 2039, 2019, 1, 0, 0, 0, 2039, 2029, 1, 0, 0, 0, 2040, 115, 1, 0, 0, 0, 2041, 2042, 3, 292, 146, 0, 2042, 117, 1, 0, 0, 0, 2043, 2049, 3, 116, 58, 0, 2044, 2045, 5, 1, 0, 0, 2045, 2046, 3, 114, 57, 0, 2046, 2047, 5, 2, 0, 0, 2047, 2049, 1, 0, 0, 0, 2048, 2043, 1, 0, 0, 0, 2048, 2044, 1, 0, 0, 0, 2049, 119, 1, 0, 0, 0, 2050, 2053, 7, 16, 0, 0, 2051, 2052, 5, 3, 0, 0, 2052, 2054, 7, 17, 0, 0, 2053, 2051, 1, 0, 0, 0, 2053, 2054, 1, 0, 0, 0, 2054, 2061, 1, 0, 0, 0, 2055, 2058, 7, 17, 0, 0, 2056, 2057, 5, 3, 0, 0, 2057, 2059, 7, 16, 0, 0, 2058, 2056, 1, 0, 0, 0, 2058, 2059, 1, 0, 0, 0, 2059, 2061, 1, 0, 0, 0, 2060, 2050, 1, 0, 0, 0, 2060, 2055, 1, 0, 0, 0, 2061, 121, 1, 0, 0, 0, 2062, 2063, 3, 270, 135, 0, 2063, 2072, 5, 1, 0, 0, 2064, 2069, 3, 124, 62, 0, 2065, 2066, 5, 3, 0, 0, 2066, 2068, 3, 124, 62, 0, 2067, 2065, 1, 0, 0, 0, 2068, 2071, 1, 0, 0, 0, 2069, 2067, 1, 0, 0, 0, 2069, 2070, 1, 0, 0, 0, 2070, 2073, 1, 0, 0, 0, 2071, 2069, 1, 0, 0, 0, 2072, 2064, 1, 0, 0, 0, 2072, 2073, 1, 0, 0, 0, 2073, 2083, 1, 0, 0, 0, 2074, 2075, 5, 52, 0, 0, 2075, 2080, 3, 134, 67, 0, 2076, 2077, 5, 3, 0, 0, 2077, 2079, 3, 134, 67, 0, 2078, 2076, 1, 0, 0, 0, 2079, 2082, 1, 0, 0, 0, 2080, 2078, 1, 0, 0, 0, 2080, 2081, 1, 0, 0, 0, 2081, 2084, 1, 0, 0, 0, 2082, 2080, 1, 0, 0, 0, 2083, 2074, 1, 0, 0, 0, 2083, 2084, 1, 0, 0, 0, 2084, 2085, 1, 0, 0, 0, 2085, 2086, 5, 2, 0, 0, 2086, 123, 1, 0, 0, 0, 2087, 2088, 3, 292, 146, 0, 2088, 2089, 5, 6, 0, 0, 2089, 2091, 1, 0, 0, 0, 2090, 2087, 1, 0, 0, 0, 2090, 2091, 1, 0, 0, 0, 2091, 2095, 1, 0, 0, 0, 2092, 2096, 3, 126, 63, 0, 2093, 2096, 3, 130, 65, 0, 2094, 2096, 3, 136, 68, 0, 2095, 2092, 1, 0, 0, 0, 2095, 2093, 1, 0, 0, 0, 2095, 2094, 1, 0, 0, 0, 2096, 125, 1, 0, 0, 0, 2097, 2115, 3, 128, 64, 0, 2098, 2099, 5, 201, 0, 0, 2099, 2113, 5, 36, 0, 0, 2100, 2109, 5, 1, 0, 0, 2101, 2106, 3, 136, 68, 0, 2102, 2103, 5, 3, 0, 0, 2103, 2105, 3, 136, 68, 0, 2104, 2102, 1, 0, 0, 0, 2105, 2108, 1, 0, 0, 0, 2106, 2104, 1, 0, 0, 0, 2106, 2107, 1, 0, 0, 0, 2107, 2110, 1, 0, 0, 0, 2108, 2106, 1, 0, 0, 0, 2109, 2101, 1, 0, 0, 0, 2109, 2110, 1, 0, 0, 0, 2110, 2111, 1, 0, 0, 0, 2111, 2114, 5, 2, 0, 0, 2112, 2114, 3, 136, 68, 0, 2113, 2100, 1, 0, 0, 0, 2113, 2112, 1, 0, 0, 0, 2114, 2116, 1, 0, 0, 0, 2115, 2098, 1, 0, 0, 0, 2115, 2116, 1, 0, 0, 0, 2116, 2123, 1, 0, 0, 0, 2117, 2118, 5, 217, 0, 0, 2118, 2119, 5, 300, 0, 0, 2119, 2124, 5, 85, 0, 0, 2120, 2121, 5, 144, 0, 0, 2121, 2122, 5, 300, 0, 0, 2122, 2124, 5, 85, 0, 0, 2123, 2117, 1, 0, 0, 0, 2123, 2120, 1, 0, 0, 0, 2123, 2124, 1, 0, 0, 0, 2124, 2141, 1, 0, 0, 0, 2125, 2126, 5, 195, 0, 0, 2126, 2139, 5, 36, 0, 0, 2127, 2128, 5, 1, 0, 0, 2128, 2133, 3, 50, 25, 0, 2129, 2130, 5, 3, 0, 0, 2130, 2132, 3, 50, 25, 0, 2131, 2129, 1, 0, 0, 0, 2132, 2135, 1, 0, 0, 0, 2133, 2131, 1, 0, 0, 0, 2133, 2134, 1, 0, 0, 0, 2134, 2136, 1, 0, 0, 0, 2135, 2133, 1, 0, 0, 0, 2136, 2137, 5, 2, 0, 0, 2137, 2140, 1, 0, 0, 0, 2138, 2140, 3, 50, 25, 0, 2139, 2127, 1, 0, 0, 0, 2139, 2138, 1, 0, 0, 0, 2140, 2142, 1, 0, 0, 0, 2141, 2125, 1, 0, 0, 0, 2141, 2142, 1, 0, 0, 0, 2142, 127, 1, 0, 0, 0, 2143, 2144, 5, 260, 0, 0, 2144, 2145, 5, 1, 0, 0, 2145, 2146, 3, 254, 127, 0, 2146, 2154, 5, 2, 0, 0, 2147, 2149, 5, 28, 0, 0, 2148, 2147, 1, 0, 0, 0, 2148, 2149, 1, 0, 0, 0, 2149, 2150, 1, 0, 0, 0, 2150, 2152, 3, 292, 146, 0, 2151, 2153, 3, 108, 54, 0, 2152, 2151, 1, 0, 0, 0, 2152, 2153, 1, 0, 0, 0, 2153, 2155, 1, 0, 0, 0, 2154, 2148, 1, 0, 0, 0, 2154, 2155, 1, 0, 0, 0, 2155, 2170, 1, 0, 0, 0, 2156, 2157, 5, 260, 0, 0, 2157, 2158, 5, 1, 0, 0, 2158, 2159, 3, 22, 11, 0, 2159, 2167, 5, 2, 0, 0, 2160, 2162, 5, 28, 0, 0, 2161, 2160, 1, 0, 0, 0, 2161, 2162, 1, 0, 0, 0, 2162, 2163, 1, 0, 0, 0, 2163, 2165, 3, 292, 146, 0, 2164, 2166, 3, 108, 54, 0, 2165, 2164, 1, 0, 0, 0, 2165, 2166, 1, 0, 0, 0, 2166, 2168, 1, 0, 0, 0, 2167, 2161, 1, 0, 0, 0, 2167, 2168, 1, 0, 0, 0, 2168, 2170, 1, 0, 0, 0, 2169, 2143, 1, 0, 0, 0, 2169, 2156, 1, 0, 0, 0, 2170, 129, 1, 0, 0, 0, 2171, 2172, 5, 77, 0, 0, 2172, 2173, 5, 1, 0, 0, 2173, 2178, 3, 132, 66, 0, 2174, 2175, 5, 3, 0, 0, 2175, 2177, 3, 132, 66, 0, 2176, 2174, 1, 0, 0, 0, 2177, 2180, 1, 0, 0, 0, 2178, 2176, 1, 0, 0, 0, 2178, 2179, 1, 0, 0, 0, 2179, 2181, 1, 0, 0, 0, 2180, 2178, 1, 0, 0, 0, 2181, 2182, 5, 2, 0, 0, 2182, 2190, 1, 0, 0, 0, 2183, 2184, 5, 41, 0, 0, 2184, 2185, 5, 1, 0, 0, 2185, 2186, 5, 183, 0, 0, 2186, 2187, 5, 28, 0, 0, 2187, 2188, 5, 77, 0, 0, 2188, 2190, 5, 2, 0, 0, 2189, 2171, 1, 0, 0, 0, 2189, 2183, 1, 0, 0, 0, 2190, 131, 1, 0, 0, 0, 2191, 2193, 3, 292, 146, 0, 2192, 2194, 3, 184, 92, 0, 2193, 2192, 1, 0, 0, 0, 2193, 2194, 1, 0, 0, 0, 2194, 133, 1, 0, 0, 0, 2195, 2196, 5, 1, 0, 0, 2196, 2197, 3, 278, 139, 0, 2197, 2198, 5, 3, 0, 0, 2198, 2203, 3, 278, 139, 0, 2199, 2200, 5, 3, 0, 0, 2200, 2202, 3, 278, 139, 0, 2201, 2199, 1, 0, 0, 0, 2202, 2205, 1, 0, 0, 0, 2203, 2201, 1, 0, 0, 0, 2203, 2204, 1, 0, 0, 0, 2204, 2206, 1, 0, 0, 0, 2205, 2203, 1, 0, 0, 0, 2206, 2207, 5, 2, 0, 0, 2207, 135, 1, 0, 0, 0, 2208, 2209, 3, 138, 69, 0, 2209, 137, 1, 0, 0, 0, 2210, 2211, 6, 69, -1, 0, 2211, 2213, 3, 142, 71, 0, 2212, 2214, 3, 140, 70, 0, 2213, 2212, 1, 0, 0, 0, 2213, 2214, 1, 0, 0, 0, 2214, 2218, 1, 0, 0, 0, 2215, 2216, 5, 182, 0, 0, 2216, 2218, 3, 138, 69, 3, 2217, 2210, 1, 0, 0, 0, 2217, 2215, 1, 0, 0, 0, 2218, 2227, 1, 0, 0, 0, 2219, 2220, 10, 2, 0, 0, 2220, 2221, 5, 25, 0, 0, 2221, 2226, 3, 138, 69, 3, 2222, 2223, 10, 1, 0, 0, 2223, 2224, 5, 194, 0, 0, 2224, 2226, 3, 138, 69, 2, 2225, 2219, 1, 0, 0, 0, 2225, 2222, 1, 0, 0, 0, 2226, 2229, 1, 0, 0, 0, 2227, 2225, 1, 0, 0, 0, 2227, 2228, 1, 0, 0, 0, 2228, 139, 1, 0, 0, 0, 2229, 2227, 1, 0, 0, 0, 2230, 2231, 3, 172, 86, 0, 2231, 2232, 3, 142, 71, 0, 2232, 2292, 1, 0, 0, 0, 2233, 2234, 3, 172, 86, 0, 2234, 2235, 3, 174, 87, 0, 2235, 2236, 5, 1, 0, 0, 2236, 2237, 3, 22, 11, 0, 2237, 2238, 5, 2, 0, 0, 2238, 2292, 1, 0, 0, 0, 2239, 2241, 5, 182, 0, 0, 2240, 2239, 1, 0, 0, 0, 2240, 2241, 1, 0, 0, 0, 2241, 2242, 1, 0, 0, 0, 2242, 2243, 5, 34, 0, 0, 2243, 2244, 3, 142, 71, 0, 2244, 2245, 5, 25, 0, 0, 2245, 2246, 3, 142, 71, 0, 2246, 2292, 1, 0, 0, 0, 2247, 2249, 5, 182, 0, 0, 2248, 2247, 1, 0, 0, 0, 2248, 2249, 1, 0, 0, 0, 2249, 2250, 1, 0, 0, 0, 2250, 2251, 5, 122, 0, 0, 2251, 2252, 5, 1, 0, 0, 2252, 2257, 3, 136, 68, 0, 2253, 2254, 5, 3, 0, 0, 2254, 2256, 3, 136, 68, 0, 2255, 2253, 1, 0, 0, 0, 2256, 2259, 1, 0, 0, 0, 2257, 2255, 1, 0, 0, 0, 2257, 2258, 1, 0, 0, 0, 2258, 2260, 1, 0, 0, 0, 2259, 2257, 1, 0, 0, 0, 2260, 2261, 5, 2, 0, 0, 2261, 2292, 1, 0, 0, 0, 2262, 2264, 5, 182, 0, 0, 2263, 2262, 1, 0, 0, 0, 2263, 2264, 1, 0, 0, 0, 2264, 2265, 1, 0, 0, 0, 2265, 2266, 5, 122, 0, 0, 2266, 2267, 5, 1, 0, 0, 2267, 2268, 3, 22, 11, 0, 2268, 2269, 5, 2, 0, 0, 2269, 2292, 1, 0, 0, 0, 2270, 2272, 5, 182, 0, 0, 2271, 2270, 1, 0, 0, 0, 2271, 2272, 1, 0, 0, 0, 2272, 2273, 1, 0, 0, 0, 2273, 2274, 5, 154, 0, 0, 2274, 2277, 3, 142, 71, 0, 2275, 2276, 5, 90, 0, 0, 2276, 2278, 3, 142, 71, 0, 2277, 2275, 1, 0, 0, 0, 2277, 2278, 1, 0, 0, 0, 2278, 2292, 1, 0, 0, 0, 2279, 2281, 5, 133, 0, 0, 2280, 2282, 5, 182, 0, 0, 2281, 2280, 1, 0, 0, 0, 2281, 2282, 1, 0, 0, 0, 2282, 2283, 1, 0, 0, 0, 2283, 2292, 5, 183, 0, 0, 2284, 2286, 5, 133, 0, 0, 2285, 2287, 5, 182, 0, 0, 2286, 2285, 1, 0, 0, 0, 2286, 2287, 1, 0, 0, 0, 2287, 2288, 1, 0, 0, 0, 2288, 2289, 5, 79, 0, 0, 2289, 2290, 5, 105, 0, 0, 2290, 2292, 3, 142, 71, 0, 2291, 2230, 1, 0, 0, 0, 2291, 2233, 1, 0, 0, 0, 2291, 2240, 1, 0, 0, 0, 2291, 2248, 1, 0, 0, 0, 2291, 2263, 1, 0, 0, 0, 2291, 2271, 1, 0, 0, 0, 2291, 2279, 1, 0, 0, 0, 2291, 2284, 1, 0, 0, 0, 2292, 141, 1, 0, 0, 0, 2293, 2294, 6, 71, -1, 0, 2294, 2298, 3, 144, 72, 0, 2295, 2296, 7, 18, 0, 0, 2296, 2298, 3, 142, 71, 4, 2297, 2293, 1, 0, 0, 0, 2297, 2295, 1, 0, 0, 0, 2298, 2313, 1, 0, 0, 0, 2299, 2300, 10, 3, 0, 0, 2300, 2301, 7, 19, 0, 0, 2301, 2312, 3, 142, 71, 4, 2302, 2303, 10, 2, 0, 0, 2303, 2304, 7, 18, 0, 0, 2304, 2312, 3, 142, 71, 3, 2305, 2306, 10, 1, 0, 0, 2306, 2307, 5, 323, 0, 0, 2307, 2312, 3, 142, 71, 2, 2308, 2309, 10, 5, 0, 0, 2309, 2310, 5, 30, 0, 0, 2310, 2312, 3, 170, 85, 0, 2311, 2299, 1, 0, 0, 0, 2311, 2302, 1, 0, 0, 0, 2311, 2305, 1, 0, 0, 0, 2311, 2308, 1, 0, 0, 0, 2312, 2315, 1, 0, 0, 0, 2313, 2311, 1, 0, 0, 0, 2313, 2314, 1, 0, 0, 0, 2314, 143, 1, 0, 0, 0, 2315, 2313, 1, 0, 0, 0, 2316, 2317, 6, 72, -1, 0, 2317, 2770, 5, 183, 0, 0, 2318, 2770, 3, 178, 89, 0, 2319, 2320, 3, 292, 146, 0, 2320, 2321, 3, 168, 84, 0, 2321, 2770, 1, 0, 0, 0, 2322, 2323, 5, 82, 0, 0, 2323, 2324, 5, 213, 0, 0, 2324, 2770, 3, 168, 84, 0, 2325, 2770, 3, 294, 147, 0, 2326, 2770, 3, 176, 88, 0, 2327, 2770, 3, 168, 84, 0, 2328, 2770, 5, 328, 0, 0, 2329, 2770, 5, 324, 0, 0, 2330, 2331, 5, 211, 0, 0, 2331, 2332, 5, 1, 0, 0, 2332, 2333, 3, 142, 71, 0, 2333, 2334, 5, 122, 0, 0, 2334, 2335, 3, 142, 71, 0, 2335, 2336, 5, 2, 0, 0, 2336, 2770, 1, 0, 0, 0, 2337, 2338, 5, 1, 0, 0, 2338, 2341, 3, 136, 68, 0, 2339, 2340, 5, 3, 0, 0, 2340, 2342, 3, 136, 68, 0, 2341, 2339, 1, 0, 0, 0, 2342, 2343, 1, 0, 0, 0, 2343, 2341, 1, 0, 0, 0, 2343, 2344, 1, 0, 0, 0, 2344, 2345, 1, 0, 0, 0, 2345, 2346, 5, 2, 0, 0, 2346, 2770, 1, 0, 0, 0, 2347, 2348, 5, 239, 0, 0, 2348, 2349, 5, 1, 0, 0, 2349, 2354, 3, 136, 68, 0, 2350, 2351, 5, 3, 0, 0, 2351, 2353, 3, 136, 68, 0, 2352, 2350, 1, 0, 0, 0, 2353, 2356, 1, 0, 0, 0, 2354, 2352, 1, 0, 0, 0, 2354, 2355, 1, 0, 0, 0, 2355, 2357, 1, 0, 0, 0, 2356, 2354, 1, 0, 0, 0, 2357, 2358, 5, 2, 0, 0, 2358, 2770, 1, 0, 0, 0, 2359, 2360, 5, 156, 0, 0, 2360, 2362, 5, 1, 0, 0, 2361, 2363, 3, 68, 34, 0, 2362, 2361, 1, 0, 0, 0, 2362, 2363, 1, 0, 0, 0, 2363, 2364, 1, 0, 0, 0, 2364, 2367, 3, 136, 68, 0, 2365, 2366, 5, 3, 0, 0, 2366, 2368, 3, 168, 84, 0, 2367, 2365, 1, 0, 0, 0, 2367, 2368, 1, 0, 0, 0, 2368, 2372, 1, 0, 0, 0, 2369, 2370, 5, 190, 0, 0, 2370, 2371, 5, 200, 0, 0, 2371, 2373, 3, 84, 42, 0, 2372, 2369, 1, 0, 0, 0, 2372, 2373, 1, 0, 0, 0, 2373, 2374, 1, 0, 0, 0, 2374, 2375, 5, 2, 0, 0, 2375, 2376, 5, 305, 0, 0, 2376, 2377, 5, 114, 0, 0, 2377, 2378, 5, 1, 0, 0, 2378, 2379, 5, 195, 0, 0, 2379, 2380, 5, 36, 0, 0, 2380, 2385, 3, 50, 25, 0, 2381, 2382, 5, 3, 0, 0, 2382, 2384, 3, 50, 25, 0, 2383, 2381, 1, 0, 0, 0, 2384, 2387, 1, 0, 0, 0, 2385, 2383, 1, 0, 0, 0, 2385, 2386, 1, 0, 0, 0, 2386, 2388, 1, 0, 0, 0, 2387, 2385, 1, 0, 0, 0, 2388, 2389, 5, 2, 0, 0, 2389, 2391, 1, 0, 0, 0, 2390, 2392, 3, 192, 96, 0, 2391, 2390, 1, 0, 0, 0, 2391, 2392, 1, 0, 0, 0, 2392, 2770, 1, 0, 0, 0, 2393, 2395, 3, 164, 82, 0, 2394, 2393, 1, 0, 0, 0, 2394, 2395, 1, 0, 0, 0, 2395, 2396, 1, 0, 0, 0, 2396, 2397, 3, 270, 135, 0, 2397, 2401, 5, 1, 0, 0, 2398, 2399, 3, 292, 146, 0, 2399, 2400, 5, 4, 0, 0, 2400, 2402, 1, 0, 0, 0, 2401, 2398, 1, 0, 0, 0, 2401, 2402, 1, 0, 0, 0, 2402, 2403, 1, 0, 0, 0, 2403, 2404, 5, 320, 0, 0, 2404, 2406, 5, 2, 0, 0, 2405, 2407, 3, 192, 96, 0, 2406, 2405, 1, 0, 0, 0, 2406, 2407, 1, 0, 0, 0, 2407, 2409, 1, 0, 0, 0, 2408, 2410, 3, 196, 98, 0, 2409, 2408, 1, 0, 0, 0, 2409, 2410, 1, 0, 0, 0, 2410, 2770, 1, 0, 0, 0, 2411, 2413, 3, 164, 82, 0, 2412, 2411, 1, 0, 0, 0, 2412, 2413, 1, 0, 0, 0, 2413, 2414, 1, 0, 0, 0, 2414, 2415, 3, 270, 135, 0, 2415, 2427, 5, 1, 0, 0, 2416, 2418, 3, 68, 34, 0, 2417, 2416, 1, 0, 0, 0, 2417, 2418, 1, 0, 0, 0, 2418, 2419, 1, 0, 0, 0, 2419, 2424, 3, 136, 68, 0, 2420, 2421, 5, 3, 0, 0, 2421, 2423, 3, 136, 68, 0, 2422, 2420, 1, 0, 0, 0, 2423, 2426, 1, 0, 0, 0, 2424, 2422, 1, 0, 0, 0, 2424, 2425, 1, 0, 0, 0, 2425, 2428, 1, 0, 0, 0, 2426, 2424, 1, 0, 0, 0, 2427, 2417, 1, 0, 0, 0, 2427, 2428, 1, 0, 0, 0, 2428, 2439, 1, 0, 0, 0, 2429, 2430, 5, 195, 0, 0, 2430, 2431, 5, 36, 0, 0, 2431, 2436, 3, 50, 25, 0, 2432, 2433, 5, 3, 0, 0, 2433, 2435, 3, 50, 25, 0, 2434, 2432, 1, 0, 0, 0, 2435, 2438, 1, 0, 0, 0, 2436, 2434, 1, 0, 0, 0, 2436, 2437, 1, 0, 0, 0, 2437, 2440, 1, 0, 0, 0, 2438, 2436, 1, 0, 0, 0, 2439, 2429, 1, 0, 0, 0, 2439, 2440, 1, 0, 0, 0, 2440, 2441, 1, 0, 0, 0, 2441, 2443, 5, 2, 0, 0, 2442, 2444, 3, 192, 96, 0, 2443, 2442, 1, 0, 0, 0, 2443, 2444, 1, 0, 0, 0, 2444, 2449, 1, 0, 0, 0, 2445, 2447, 3, 166, 83, 0, 2446, 2445, 1, 0, 0, 0, 2446, 2447, 1, 0, 0, 0, 2447, 2448, 1, 0, 0, 0, 2448, 2450, 3, 196, 98, 0, 2449, 2446, 1, 0, 0, 0, 2449, 2450, 1, 0, 0, 0, 2450, 2770, 1, 0, 0, 0, 2451, 2452, 3, 292, 146, 0, 2452, 2453, 3, 196, 98, 0, 2453, 2770, 1, 0, 0, 0, 2454, 2455, 3, 292, 146, 0, 2455, 2456, 5, 7, 0, 0, 2456, 2457, 3, 136, 68, 0, 2457, 2770, 1, 0, 0, 0, 2458, 2467, 5, 1, 0, 0, 2459, 2464, 3, 292, 146, 0, 2460, 2461, 5, 3, 0, 0, 2461, 2463, 3, 292, 146, 0, 2462, 2460, 1, 0, 0, 0, 2463, 2466, 1, 0, 0, 0, 2464, 2462, 1, 0, 0, 0, 2464, 2465, 1, 0, 0, 0, 2465, 2468, 1, 0, 0, 0, 2466, 2464, 1, 0, 0, 0, 2467, 2459, 1, 0, 0, 0, 2467, 2468, 1, 0, 0, 0, 2468, 2469, 1, 0, 0, 0, 2469, 2470, 5, 2, 0, 0, 2470, 2471, 5, 7, 0, 0, 2471, 2770, 3, 136, 68, 0, 2472, 2473, 5, 1, 0, 0, 2473, 2474, 3, 22, 11, 0, 2474, 2475, 5, 2, 0, 0, 2475, 2770, 1, 0, 0, 0, 2476, 2477, 5, 94, 0, 0, 2477, 2478, 5, 1, 0, 0, 2478, 2479, 3, 22, 11, 0, 2479, 2480, 5, 2, 0, 0, 2480, 2770, 1, 0, 0, 0, 2481, 2482, 5, 40, 0, 0, 2482, 2484, 3, 136, 68, 0, 2483, 2485, 3, 190, 95, 0, 2484, 2483, 1, 0, 0, 0, 2485, 2486, 1, 0, 0, 0, 2486, 2484, 1, 0, 0, 0, 2486, 2487, 1, 0, 0, 0, 2487, 2490, 1, 0, 0, 0, 2488, 2489, 5, 84, 0, 0, 2489, 2491, 3, 136, 68, 0, 2490, 2488, 1, 0, 0, 0, 2490, 2491, 1, 0, 0, 0, 2491, 2492, 1, 0, 0, 0, 2492, 2493, 5, 88, 0, 0, 2493, 2770, 1, 0, 0, 0, 2494, 2496, 5, 40, 0, 0, 2495, 2497, 3, 190, 95, 0, 2496, 2495, 1, 0, 0, 0, 2497, 2498, 1, 0, 0, 0, 2498, 2496, 1, 0, 0, 0, 2498, 2499, 1, 0, 0, 0, 2499, 2502, 1, 0, 0, 0, 2500, 2501, 5, 84, 0, 0, 2501, 2503, 3, 136, 68, 0, 2502, 2500, 1, 0, 0, 0, 2502, 2503, 1, 0, 0, 0, 2503, 2504, 1, 0, 0, 0, 2504, 2505, 5, 88, 0, 0, 2505, 2770, 1, 0, 0, 0, 2506, 2507, 5, 41, 0, 0, 2507, 2508, 5, 1, 0, 0, 2508, 2509, 3, 136, 68, 0, 2509, 2510, 5, 28, 0, 0, 2510, 2511, 3, 184, 92, 0, 2511, 2512, 5, 2, 0, 0, 2512, 2770, 1, 0, 0, 0, 2513, 2514, 5, 275, 0, 0, 2514, 2515, 5, 1, 0, 0, 2515, 2516, 3, 136, 68, 0, 2516, 2517, 5, 28, 0, 0, 2517, 2518, 3, 184, 92, 0, 2518, 2519, 5, 2, 0, 0, 2519, 2770, 1, 0, 0, 0, 2520, 2521, 5, 27, 0, 0, 2521, 2530, 5, 8, 0, 0, 2522, 2527, 3, 136, 68, 0, 2523, 2524, 5, 3, 0, 0, 2524, 2526, 3, 136, 68, 0, 2525, 2523, 1, 0, 0, 0, 2526, 2529, 1, 0, 0, 0, 2527, 2525, 1, 0, 0, 0, 2527, 2528, 1, 0, 0, 0, 2528, 2531, 1, 0, 0, 0, 2529, 2527, 1, 0, 0, 0, 2530, 2522, 1, 0, 0, 0, 2530, 2531, 1, 0, 0, 0, 2531, 2532, 1, 0, 0, 0, 2532, 2770, 5, 9, 0, 0, 2533, 2770, 3, 292, 146, 0, 2534, 2770, 5, 58, 0, 0, 2535, 2539, 5, 62, 0, 0, 2536, 2537, 5, 1, 0, 0, 2537, 2538, 5, 329, 0, 0, 2538, 2540, 5, 2, 0, 0, 2539, 2536, 1, 0, 0, 0, 2539, 2540, 1, 0, 0, 0, 2540, 2770, 1, 0, 0, 0, 2541, 2545, 5, 63, 0, 0, 2542, 2543, 5, 1, 0, 0, 2543, 2544, 5, 329, 0, 0, 2544, 2546, 5, 2, 0, 0, 2545, 2542, 1, 0, 0, 0, 2545, 2546, 1, 0, 0, 0, 2546, 2770, 1, 0, 0, 0, 2547, 2551, 5, 158, 0, 0, 2548, 2549, 5, 1, 0, 0, 2549, 2550, 5, 329, 0, 0, 2550, 2552, 5, 2, 0, 0, 2551, 2548, 1, 0, 0, 0, 2551, 2552, 1, 0, 0, 0, 2552, 2770, 1, 0, 0, 0, 2553, 2557, 5, 159, 0, 0, 2554, 2555, 5, 1, 0, 0, 2555, 2556, 5, 329, 0, 0, 2556, 2558, 5, 2, 0, 0, 2557, 2554, 1, 0, 0, 0, 2557, 2558, 1, 0, 0, 0, 2558, 2770, 1, 0, 0, 0, 2559, 2770, 5, 64, 0, 0, 2560, 2770, 5, 57, 0, 0, 2561, 2770, 5, 61, 0, 0, 2562, 2770, 5, 59, 0, 0, 2563, 2564, 5, 272, 0, 0, 2564, 2572, 5, 1, 0, 0, 2565, 2567, 3, 82, 41, 0, 2566, 2565, 1, 0, 0, 0, 2566, 2567, 1, 0, 0, 0, 2567, 2569, 1, 0, 0, 0, 2568, 2570, 3, 142, 71, 0, 2569, 2568, 1, 0, 0, 0, 2569, 2570, 1, 0, 0, 0, 2570, 2571, 1, 0, 0, 0, 2571, 2573, 5, 105, 0, 0, 2572, 2566, 1, 0, 0, 0, 2572, 2573, 1, 0, 0, 0, 2573, 2574, 1, 0, 0, 0, 2574, 2575, 3, 142, 71, 0, 2575, 2576, 5, 2, 0, 0, 2576, 2770, 1, 0, 0, 0, 2577, 2578, 5, 272, 0, 0, 2578, 2579, 5, 1, 0, 0, 2579, 2580, 3, 142, 71, 0, 2580, 2581, 5, 3, 0, 0, 2581, 2582, 3, 142, 71, 0, 2582, 2583, 5, 2, 0, 0, 2583, 2770, 1, 0, 0, 0, 2584, 2585, 5, 258, 0, 0, 2585, 2586, 5, 1, 0, 0, 2586, 2587, 3, 142, 71, 0, 2587, 2588, 5, 105, 0, 0, 2588, 2591, 3, 142, 71, 0, 2589, 2590, 5, 103, 0, 0, 2590, 2592, 3, 142, 71, 0, 2591, 2589, 1, 0, 0, 0, 2591, 2592, 1, 0, 0, 0, 2592, 2593, 1, 0, 0, 0, 2593, 2594, 5, 2, 0, 0, 2594, 2770, 1, 0, 0, 0, 2595, 2596, 5, 181, 0, 0, 2596, 2597, 5, 1, 0, 0, 2597, 2600, 3, 142, 71, 0, 2598, 2599, 5, 3, 0, 0, 2599, 2601, 3, 182, 91, 0, 2600, 2598, 1, 0, 0, 0, 2600, 2601, 1, 0, 0, 0, 2601, 2602, 1, 0, 0, 0, 2602, 2603, 5, 2, 0, 0, 2603, 2770, 1, 0, 0, 0, 2604, 2605, 5, 96, 0, 0, 2605, 2606, 5, 1, 0, 0, 2606, 2607, 3, 292, 146, 0, 2607, 2608, 5, 105, 0, 0, 2608, 2609, 3, 142, 71, 0, 2609, 2610, 5, 2, 0, 0, 2610, 2770, 1, 0, 0, 0, 2611, 2612, 5, 1, 0, 0, 2612, 2613, 3, 136, 68, 0, 2613, 2614, 5, 2, 0, 0, 2614, 2770, 1, 0, 0, 0, 2615, 2616, 5, 115, 0, 0, 2616, 2625, 5, 1, 0, 0, 2617, 2622, 3, 278, 139, 0, 2618, 2619, 5, 3, 0, 0, 2619, 2621, 3, 278, 139, 0, 2620, 2618, 1, 0, 0, 0, 2621, 2624, 1, 0, 0, 0, 2622, 2620, 1, 0, 0, 0, 2622, 2623, 1, 0, 0, 0, 2623, 2626, 1, 0, 0, 0, 2624, 2622, 1, 0, 0, 0, 2625, 2617, 1, 0, 0, 0, 2625, 2626, 1, 0, 0, 0, 2626, 2627, 1, 0, 0, 0, 2627, 2770, 5, 2, 0, 0, 2628, 2629, 5, 139, 0, 0, 2629, 2630, 5, 1, 0, 0, 2630, 2635, 3, 146, 73, 0, 2631, 2632, 3, 154, 77, 0, 2632, 2633, 5, 190, 0, 0, 2633, 2634, 5, 89, 0, 0, 2634, 2636, 1, 0, 0, 0, 2635, 2631, 1, 0, 0, 0, 2635, 2636, 1, 0, 0, 0, 2636, 2637, 1, 0, 0, 0, 2637, 2638, 5, 2, 0, 0, 2638, 2770, 1, 0, 0, 0, 2639, 2640, 5, 143, 0, 0, 2640, 2641, 5, 1, 0, 0, 2641, 2644, 3, 146, 73, 0, 2642, 2643, 5, 231, 0, 0, 2643, 2645, 3, 184, 92, 0, 2644, 2642, 1, 0, 0, 0, 2644, 2645, 1, 0, 0, 0, 2645, 2650, 1, 0, 0, 0, 2646, 2647, 3, 156, 78, 0, 2647, 2648, 5, 190, 0, 0, 2648, 2649, 5, 85, 0, 0, 2649, 2651, 1, 0, 0, 0, 2650, 2646, 1, 0, 0, 0, 2650, 2651, 1, 0, 0, 0, 2651, 2656, 1, 0, 0, 0, 2652, 2653, 3, 156, 78, 0, 2653, 2654, 5, 190, 0, 0, 2654, 2655, 5, 89, 0, 0, 2655, 2657, 1, 0, 0, 0, 2656, 2652, 1, 0, 0, 0, 2656, 2657, 1, 0, 0, 0, 2657, 2658, 1, 0, 0, 0, 2658, 2659, 5, 2, 0, 0, 2659, 2770, 1, 0, 0, 0, 2660, 2661, 5, 141, 0, 0, 2661, 2662, 5, 1, 0, 0, 2662, 2669, 3, 146, 73, 0, 2663, 2664, 5, 231, 0, 0, 2664, 2667, 3, 184, 92, 0, 2665, 2666, 5, 104, 0, 0, 2666, 2668, 3, 150, 75, 0, 2667, 2665, 1, 0, 0, 0, 2667, 2668, 1, 0, 0, 0, 2668, 2670, 1, 0, 0, 0, 2669, 2663, 1, 0, 0, 0, 2669, 2670, 1, 0, 0, 0, 2670, 2674, 1, 0, 0, 0, 2671, 2672, 3, 158, 79, 0, 2672, 2673, 5, 308, 0, 0, 2673, 2675, 1, 0, 0, 0, 2674, 2671, 1, 0, 0, 0, 2674, 2675, 1, 0, 0, 0, 2675, 2683, 1, 0, 0, 0, 2676, 2677, 7, 15, 0, 0, 2677, 2681, 5, 218, 0, 0, 2678, 2679, 5, 190, 0, 0, 2679, 2680, 5, 242, 0, 0, 2680, 2682, 5, 264, 0, 0, 2681, 2678, 1, 0, 0, 0, 2681, 2682, 1, 0, 0, 0, 2682, 2684, 1, 0, 0, 0, 2683, 2676, 1, 0, 0, 0, 2683, 2684, 1, 0, 0, 0, 2684, 2689, 1, 0, 0, 0, 2685, 2686, 3, 160, 80, 0, 2686, 2687, 5, 190, 0, 0, 2687, 2688, 5, 85, 0, 0, 2688, 2690, 1, 0, 0, 0, 2689, 2685, 1, 0, 0, 0, 2689, 2690, 1, 0, 0, 0, 2690, 2695, 1, 0, 0, 0, 2691, 2692, 3, 160, 80, 0, 2692, 2693, 5, 190, 0, 0, 2693, 2694, 5, 89, 0, 0, 2694, 2696, 1, 0, 0, 0, 2695, 2691, 1, 0, 0, 0, 2695, 2696, 1, 0, 0, 0, 2696, 2697, 1, 0, 0, 0, 2697, 2698, 5, 2, 0, 0, 2698, 2770, 1, 0, 0, 0, 2699, 2700, 5, 140, 0, 0, 2700, 2729, 5, 1, 0, 0, 2701, 2706, 3, 162, 81, 0, 2702, 2703, 5, 3, 0, 0, 2703, 2705, 3, 162, 81, 0, 2704, 2702, 1, 0, 0, 0, 2705, 2708, 1, 0, 0, 0, 2706, 2704, 1, 0, 0, 0, 2706, 2707, 1, 0, 0, 0, 2707, 2715, 1, 0, 0, 0, 2708, 2706, 1, 0, 0, 0, 2709, 2710, 5, 183, 0, 0, 2710, 2711, 5, 190, 0, 0, 2711, 2716, 5, 183, 0, 0, 2712, 2713, 5, 18, 0, 0, 2713, 2714, 5, 190, 0, 0, 2714, 2716, 5, 183, 0, 0, 2715, 2709, 1, 0, 0, 0, 2715, 2712, 1, 0, 0, 0, 2715, 2716, 1, 0, 0, 0, 2716, 2727, 1, 0, 0, 0, 2717, 2718, 5, 304, 0, 0, 2718, 2720, 5, 282, 0, 0, 2719, 2721, 5, 146, 0, 0, 2720, 2719, 1, 0, 0, 0, 2720, 2721, 1, 0, 0, 0, 2721, 2728, 1, 0, 0, 0, 2722, 2723, 5, 306, 0, 0, 2723, 2725, 5, 282, 0, 0, 2724, 2726, 5, 146, 0, 0, 2725, 2724, 1, 0, 0, 0, 2725, 2726, 1, 0, 0, 0, 2726, 2728, 1, 0, 0, 0, 2727, 2717, 1, 0, 0, 0, 2727, 2722, 1, 0, 0, 0, 2727, 2728, 1, 0, 0, 0, 2728, 2730, 1, 0, 0, 0, 2729, 2701, 1, 0, 0, 0, 2729, 2730, 1, 0, 0, 0, 2730, 2737, 1, 0, 0, 0, 2731, 2732, 5, 231, 0, 0, 2732, 2735, 3, 184, 92, 0, 2733, 2734, 5, 104, 0, 0, 2734, 2736, 3, 150, 75, 0, 2735, 2733, 1, 0, 0, 0, 2735, 2736, 1, 0, 0, 0, 2736, 2738, 1, 0, 0, 0, 2737, 2731, 1, 0, 0, 0, 2737, 2738, 1, 0, 0, 0, 2738, 2739, 1, 0, 0, 0, 2739, 2770, 5, 2, 0, 0, 2740, 2741, 5, 138, 0, 0, 2741, 2758, 5, 1, 0, 0, 2742, 2747, 3, 148, 74, 0, 2743, 2744, 5, 3, 0, 0, 2744, 2746, 3, 148, 74, 0, 2745, 2743, 1, 0, 0, 0, 2746, 2749, 1, 0, 0, 0, 2747, 2745, 1, 0, 0, 0, 2747, 2748, 1, 0, 0, 0, 2748, 2756, 1, 0, 0, 0, 2749, 2747, 1, 0, 0, 0, 2750, 2751, 5, 183, 0, 0, 2751, 2752, 5, 190, 0, 0, 2752, 2757, 5, 183, 0, 0, 2753, 2754, 5, 18, 0, 0, 2754, 2755, 5, 190, 0, 0, 2755, 2757, 5, 183, 0, 0, 2756, 2750, 1, 0, 0, 0, 2756, 2753, 1, 0, 0, 0, 2756, 2757, 1, 0, 0, 0, 2757, 2759, 1, 0, 0, 0, 2758, 2742, 1, 0, 0, 0, 2758, 2759, 1, 0, 0, 0, 2759, 2766, 1, 0, 0, 0, 2760, 2761, 5, 231, 0, 0, 2761, 2764, 3, 184, 92, 0, 2762, 2763, 5, 104, 0, 0, 2763, 2765, 3, 150, 75, 0, 2764, 2762, 1, 0, 0, 0, 2764, 2765, 1, 0, 0, 0, 2765, 2767, 1, 0, 0, 0, 2766, 2760, 1, 0, 0, 0, 2766, 2767, 1, 0, 0, 0, 2767, 2768, 1, 0, 0, 0, 2768, 2770, 5, 2, 0, 0, 2769, 2316, 1, 0, 0, 0, 2769, 2318, 1, 0, 0, 0, 2769, 2319, 1, 0, 0, 0, 2769, 2322, 1, 0, 0, 0, 2769, 2325, 1, 0, 0, 0, 2769, 2326, 1, 0, 0, 0, 2769, 2327, 1, 0, 0, 0, 2769, 2328, 1, 0, 0, 0, 2769, 2329, 1, 0, 0, 0, 2769, 2330, 1, 0, 0, 0, 2769, 2337, 1, 0, 0, 0, 2769, 2347, 1, 0, 0, 0, 2769, 2359, 1, 0, 0, 0, 2769, 2394, 1, 0, 0, 0, 2769, 2412, 1, 0, 0, 0, 2769, 2451, 1, 0, 0, 0, 2769, 2454, 1, 0, 0, 0, 2769, 2458, 1, 0, 0, 0, 2769, 2472, 1, 0, 0, 0, 2769, 2476, 1, 0, 0, 0, 2769, 2481, 1, 0, 0, 0, 2769, 2494, 1, 0, 0, 0, 2769, 2506, 1, 0, 0, 0, 2769, 2513, 1, 0, 0, 0, 2769, 2520, 1, 0, 0, 0, 2769, 2533, 1, 0, 0, 0, 2769, 2534, 1, 0, 0, 0, 2769, 2535, 1, 0, 0, 0, 2769, 2541, 1, 0, 0, 0, 2769, 2547, 1, 0, 0, 0, 2769, 2553, 1, 0, 0, 0, 2769, 2559, 1, 0, 0, 0, 2769, 2560, 1, 0, 0, 0, 2769, 2561, 1, 0, 0, 0, 2769, 2562, 1, 0, 0, 0, 2769, 2563, 1, 0, 0, 0, 2769, 2577, 1, 0, 0, 0, 2769, 2584, 1, 0, 0, 0, 2769, 2595, 1, 0, 0, 0, 2769, 2604, 1, 0, 0, 0, 2769, 2611, 1, 0, 0, 0, 2769, 2615, 1, 0, 0, 0, 2769, 2628, 1, 0, 0, 0, 2769, 2639, 1, 0, 0, 0, 2769, 2660, 1, 0, 0, 0, 2769, 2699, 1, 0, 0, 0, 2769, 2740, 1, 0, 0, 0, 2770, 2781, 1, 0, 0, 0, 2771, 2772, 10, 24, 0, 0, 2772, 2773, 5, 8, 0, 0, 2773, 2774, 3, 142, 71, 0, 2774, 2775, 5, 9, 0, 0, 2775, 2780, 1, 0, 0, 0, 2776, 2777, 10, 22, 0, 0, 2777, 2778, 5, 4, 0, 0, 2778, 2780, 3, 292, 146, 0, 2779, 2771, 1, 0, 0, 0, 2779, 2776, 1, 0, 0, 0, 2780, 2783, 1, 0, 0, 0, 2781, 2779, 1, 0, 0, 0, 2781, 2782, 1, 0, 0, 0, 2782, 145, 1, 0, 0, 0, 2783, 2781, 1, 0, 0, 0, 2784, 2785, 3, 148, 74, 0, 2785, 2786, 5, 3, 0, 0, 2786, 2789, 3, 168, 84, 0, 2787, 2788, 5, 28, 0, 0, 2788, 2790, 3, 292, 146, 0, 2789, 2787, 1, 0, 0, 0, 2789, 2790, 1, 0, 0, 0, 2790, 2800, 1, 0, 0, 0, 2791, 2792, 5, 203, 0, 0, 2792, 2797, 3, 152, 76, 0, 2793, 2794, 5, 3, 0, 0, 2794, 2796, 3, 152, 76, 0, 2795, 2793, 1, 0, 0, 0, 2796, 2799, 1, 0, 0, 0, 2797, 2795, 1, 0, 0, 0, 2797, 2798, 1, 0, 0, 0, 2798, 2801, 1, 0, 0, 0, 2799, 2797, 1, 0, 0, 0, 2800, 2791, 1, 0, 0, 0, 2800, 2801, 1, 0, 0, 0, 2801, 147, 1, 0, 0, 0, 2802, 2805, 3, 136, 68, 0, 2803, 2804, 5, 104, 0, 0, 2804, 2806, 3, 150, 75, 0, 2805, 2803, 1, 0, 0, 0, 2805, 2806, 1, 0, 0, 0, 2806, 149, 1, 0, 0, 0, 2807, 2810, 5, 137, 0, 0, 2808, 2809, 5, 87, 0, 0, 2809, 2811, 7, 20, 0, 0, 2810, 2808, 1, 0, 0, 0, 2810, 2811, 1, 0, 0, 0, 2811, 151, 1, 0, 0, 0, 2812, 2813, 3, 148, 74, 0, 2813, 2814, 5, 28, 0, 0, 2814, 2815, 3, 292, 146, 0, 2815, 153, 1, 0, 0, 0, 2816, 2817, 7, 21, 0, 0, 2817, 155, 1, 0, 0, 0, 2818, 2823, 5, 89, 0, 0, 2819, 2823, 5, 183, 0, 0, 2820, 2821, 5, 70, 0, 0, 2821, 2823, 3, 136, 68, 0, 2822, 2818, 1, 0, 0, 0, 2822, 2819, 1, 0, 0, 0, 2822, 2820, 1, 0, 0, 0, 2823, 157, 1, 0, 0, 0, 2824, 2826, 5, 306, 0, 0, 2825, 2827, 5, 27, 0, 0, 2826, 2825, 1, 0, 0, 0, 2826, 2827, 1, 0, 0, 0, 2827, 2836, 1, 0, 0, 0, 2828, 2830, 5, 304, 0, 0, 2829, 2831, 7, 22, 0, 0, 2830, 2829, 1, 0, 0, 0, 2830, 2831, 1, 0, 0, 0, 2831, 2833, 1, 0, 0, 0, 2832, 2834, 5, 27, 0, 0, 2833, 2832, 1, 0, 0, 0, 2833, 2834, 1, 0, 0, 0, 2834, 2836, 1, 0, 0, 0, 2835, 2824, 1, 0, 0, 0, 2835, 2828, 1, 0, 0, 0, 2836, 159, 1, 0, 0, 0, 2837, 2844, 5, 89, 0, 0, 2838, 2844, 5, 183, 0, 0, 2839, 2840, 5, 85, 0, 0, 2840, 2844, 5, 27, 0, 0, 2841, 2842, 5, 85, 0, 0, 2842, 2844, 5, 186, 0, 0, 2843, 2837, 1, 0, 0, 0, 2843, 2838, 1, 0, 0, 0, 2843, 2839, 1, 0, 0, 0, 2843, 2841, 1, 0, 0, 0, 2844, 161, 1, 0, 0, 0, 2845, 2847, 5, 145, 0, 0, 2846, 2845, 1, 0, 0, 0, 2846, 2847, 1, 0, 0, 0, 2847, 2848, 1, 0, 0, 0, 2848, 2849, 3, 136, 68, 0, 2849, 2850, 5, 295, 0, 0, 2850, 2851, 3, 148, 74, 0, 2851, 2857, 1, 0, 0, 0, 2852, 2853, 3, 136, 68, 0, 2853, 2854, 5, 10, 0, 0, 2854, 2855, 3, 148, 74, 0, 2855, 2857, 1, 0, 0, 0, 2856, 2846, 1, 0, 0, 0, 2856, 2852, 1, 0, 0, 0, 2857, 163, 1, 0, 0, 0, 2858, 2859, 7, 23, 0, 0, 2859, 165, 1, 0, 0, 0, 2860, 2861, 5, 120, 0, 0, 2861, 2865, 5, 185, 0, 0, 2862, 2863, 5, 228, 0, 0, 2863, 2865, 5, 185, 0, 0, 2864, 2860, 1, 0, 0, 0, 2864, 2862, 1, 0, 0, 0, 2865, 167, 1, 0, 0, 0, 2866, 2873, 5, 326, 0, 0, 2867, 2870, 5, 327, 0, 0, 2868, 2869, 5, 277, 0, 0, 2869, 2871, 5, 326, 0, 0, 2870, 2868, 1, 0, 0, 0, 2870, 2871, 1, 0, 0, 0, 2871, 2873, 1, 0, 0, 0, 2872, 2866, 1, 0, 0, 0, 2872, 2867, 1, 0, 0, 0, 2873, 169, 1, 0, 0, 0, 2874, 2875, 5, 267, 0, 0, 2875, 2876, 5, 311, 0, 0, 2876, 2881, 3, 178, 89, 0, 2877, 2878, 5, 267, 0, 0, 2878, 2879, 5, 311, 0, 0, 2879, 2881, 3, 168, 84, 0, 2880, 2874, 1, 0, 0, 0, 2880, 2877, 1, 0, 0, 0, 2881, 171, 1, 0, 0, 0, 2882, 2883, 7, 24, 0, 0, 2883, 173, 1, 0, 0, 0, 2884, 2885, 7, 25, 0, 0, 2885, 175, 1, 0, 0, 0, 2886, 2887, 7, 26, 0, 0, 2887, 177, 1, 0, 0, 0, 2888, 2890, 5, 129, 0, 0, 2889, 2891, 7, 18, 0, 0, 2890, 2889, 1, 0, 0, 0, 2890, 2891, 1, 0, 0, 0, 2891, 2892, 1, 0, 0, 0, 2892, 2893, 3, 168, 84, 0, 2893, 2896, 3, 180, 90, 0, 2894, 2895, 5, 269, 0, 0, 2895, 2897, 3, 180, 90, 0, 2896, 2894, 1, 0, 0, 0, 2896, 2897, 1, 0, 0, 0, 2897, 179, 1, 0, 0, 0, 2898, 2899, 7, 27, 0, 0, 2899, 181, 1, 0, 0, 0, 2900, 2901, 7, 28, 0, 0, 2901, 183, 1, 0, 0, 0, 2902, 2903, 6, 92, -1, 0, 2903, 2904, 5, 239, 0, 0, 2904, 2905, 5, 1, 0, 0, 2905, 2910, 3, 186, 93, 0, 2906, 2907, 5, 3, 0, 0, 2907, 2909, 3, 186, 93, 0, 2908, 2906, 1, 0, 0, 0, 2909, 2912, 1, 0, 0, 0, 2910, 2908, 1, 0, 0, 0, 2910, 2911, 1, 0, 0, 0, 2911, 2913, 1, 0, 0, 0, 2912, 2910, 1, 0, 0, 0, 2913, 2914, 5, 2, 0, 0, 2914, 2994, 1, 0, 0, 0, 2915, 2916, 5, 129, 0, 0, 2916, 2919, 3, 180, 90, 0, 2917, 2918, 5, 269, 0, 0, 2918, 2920, 3, 180, 90, 0, 2919, 2917, 1, 0, 0, 0, 2919, 2920, 1, 0, 0, 0, 2920, 2994, 1, 0, 0, 0, 2921, 2926, 5, 268, 0, 0, 2922, 2923, 5, 1, 0, 0, 2923, 2924, 3, 188, 94, 0, 2924, 2925, 5, 2, 0, 0, 2925, 2927, 1, 0, 0, 0, 2926, 2922, 1, 0, 0, 0, 2926, 2927, 1, 0, 0, 0, 2927, 2931, 1, 0, 0, 0, 2928, 2929, 5, 306, 0, 0, 2929, 2930, 5, 267, 0, 0, 2930, 2932, 5, 311, 0, 0, 2931, 2928, 1, 0, 0, 0, 2931, 2932, 1, 0, 0, 0, 2932, 2994, 1, 0, 0, 0, 2933, 2938, 5, 268, 0, 0, 2934, 2935, 5, 1, 0, 0, 2935, 2936, 3, 188, 94, 0, 2936, 2937, 5, 2, 0, 0, 2937, 2939, 1, 0, 0, 0, 2938, 2934, 1, 0, 0, 0, 2938, 2939, 1, 0, 0, 0, 2939, 2940, 1, 0, 0, 0, 2940, 2941, 5, 304, 0, 0, 2941, 2942, 5, 267, 0, 0, 2942, 2994, 5, 311, 0, 0, 2943, 2948, 5, 267, 0, 0, 2944, 2945, 5, 1, 0, 0, 2945, 2946, 3, 188, 94, 0, 2946, 2947, 5, 2, 0, 0, 2947, 2949, 1, 0, 0, 0, 2948, 2944, 1, 0, 0, 0, 2948, 2949, 1, 0, 0, 0, 2949, 2953, 1, 0, 0, 0, 2950, 2951, 5, 306, 0, 0, 2951, 2952, 5, 267, 0, 0, 2952, 2954, 5, 311, 0, 0, 2953, 2950, 1, 0, 0, 0, 2953, 2954, 1, 0, 0, 0, 2954, 2994, 1, 0, 0, 0, 2955, 2960, 5, 267, 0, 0, 2956, 2957, 5, 1, 0, 0, 2957, 2958, 3, 188, 94, 0, 2958, 2959, 5, 2, 0, 0, 2959, 2961, 1, 0, 0, 0, 2960, 2956, 1, 0, 0, 0, 2960, 2961, 1, 0, 0, 0, 2961, 2962, 1, 0, 0, 0, 2962, 2963, 5, 304, 0, 0, 2963, 2964, 5, 267, 0, 0, 2964, 2994, 5, 311, 0, 0, 2965, 2966, 5, 82, 0, 0, 2966, 2994, 5, 213, 0, 0, 2967, 2968, 5, 27, 0, 0, 2968, 2969, 5, 314, 0, 0, 2969, 2970, 3, 184, 92, 0, 2970, 2971, 5, 316, 0, 0, 2971, 2994, 1, 0, 0, 0, 2972, 2973, 5, 162, 0, 0, 2973, 2974, 5, 314, 0, 0, 2974, 2975, 3, 184, 92, 0, 2975, 2976, 5, 3, 0, 0, 2976, 2977, 3, 184, 92, 0, 2977, 2978, 5, 316, 0, 0, 2978, 2994, 1, 0, 0, 0, 2979, 2991, 3, 292, 146, 0, 2980, 2981, 5, 1, 0, 0, 2981, 2986, 3, 188, 94, 0, 2982, 2983, 5, 3, 0, 0, 2983, 2985, 3, 188, 94, 0, 2984, 2982, 1, 0, 0, 0, 2985, 2988, 1, 0, 0, 0, 2986, 2984, 1, 0, 0, 0, 2986, 2987, 1, 0, 0, 0, 2987, 2989, 1, 0, 0, 0, 2988, 2986, 1, 0, 0, 0, 2989, 2990, 5, 2, 0, 0, 2990, 2992, 1, 0, 0, 0, 2991, 2980, 1, 0, 0, 0, 2991, 2992, 1, 0, 0, 0, 2992, 2994, 1, 0, 0, 0, 2993, 2902, 1, 0, 0, 0, 2993, 2915, 1, 0, 0, 0, 2993, 2921, 1, 0, 0, 0, 2993, 2933, 1, 0, 0, 0, 2993, 2943, 1, 0, 0, 0, 2993, 2955, 1, 0, 0, 0, 2993, 2965, 1, 0, 0, 0, 2993, 2967, 1, 0, 0, 0, 2993, 2972, 1, 0, 0, 0, 2993, 2979, 1, 0, 0, 0, 2994, 3004, 1, 0, 0, 0, 2995, 2996, 10, 2, 0, 0, 2996, 3000, 5, 27, 0, 0, 2997, 2998, 5, 8, 0, 0, 2998, 2999, 5, 329, 0, 0, 2999, 3001, 5, 9, 0, 0, 3000, 2997, 1, 0, 0, 0, 3000, 3001, 1, 0, 0, 0, 3001, 3003, 1, 0, 0, 0, 3002, 2995, 1, 0, 0, 0, 3003, 3006, 1, 0, 0, 0, 3004, 3002, 1, 0, 0, 0, 3004, 3005, 1, 0, 0, 0, 3005, 185, 1, 0, 0, 0, 3006, 3004, 1, 0, 0, 0, 3007, 3012, 3, 184, 92, 0, 3008, 3009, 3, 292, 146, 0, 3009, 3010, 3, 184, 92, 0, 3010, 3012, 1, 0, 0, 0, 3011, 3007, 1, 0, 0, 0, 3011, 3008, 1, 0, 0, 0, 3012, 187, 1, 0, 0, 0, 3013, 3016, 5, 329, 0, 0, 3014, 3016, 3, 184, 92, 0, 3015, 3013, 1, 0, 0, 0, 3015, 3014, 1, 0, 0, 0, 3016, 189, 1, 0, 0, 0, 3017, 3018, 5, 300, 0, 0, 3018, 3019, 3, 136, 68, 0, 3019, 3020, 5, 265, 0, 0, 3020, 3021, 3, 136, 68, 0, 3021, 191, 1, 0, 0, 0, 3022, 3023, 5, 99, 0, 0, 3023, 3024, 5, 1, 0, 0, 3024, 3025, 5, 301, 0, 0, 3025, 3026, 3, 138, 69, 0, 3026, 3027, 5, 2, 0, 0, 3027, 193, 1, 0, 0, 0, 3028, 3029, 5, 300, 0, 0, 3029, 3032, 5, 164, 0, 0, 3030, 3031, 5, 25, 0, 0, 3031, 3033, 3, 136, 68, 0, 3032, 3030, 1, 0, 0, 0, 3032, 3033, 1, 0, 0, 0, 3033, 3034, 1, 0, 0, 0, 3034, 3035, 5, 265, 0, 0, 3035, 3036, 5, 287, 0, 0, 3036, 3037, 5, 251, 0, 0, 3037, 3038, 3, 292, 146, 0, 3038, 3039, 5, 312, 0, 0, 3039, 3047, 3, 136, 68, 0, 3040, 3041, 5, 3, 0, 0, 3041, 3042, 3, 292, 146, 0, 3042, 3043, 5, 312, 0, 0, 3043, 3044, 3, 136, 68, 0, 3044, 3046, 1, 0, 0, 0, 3045, 3040, 1, 0, 0, 0, 3046, 3049, 1, 0, 0, 0, 3047, 3045, 1, 0, 0, 0, 3047, 3048, 1, 0, 0, 0, 3048, 3093, 1, 0, 0, 0, 3049, 3047, 1, 0, 0, 0, 3050, 3051, 5, 300, 0, 0, 3051, 3054, 5, 164, 0, 0, 3052, 3053, 5, 25, 0, 0, 3053, 3055, 3, 136, 68, 0, 3054, 3052, 1, 0, 0, 0, 3054, 3055, 1, 0, 0, 0, 3055, 3056, 1, 0, 0, 0, 3056, 3057, 5, 265, 0, 0, 3057, 3093, 5, 73, 0, 0, 3058, 3059, 5, 300, 0, 0, 3059, 3060, 5, 182, 0, 0, 3060, 3063, 5, 164, 0, 0, 3061, 3062, 5, 25, 0, 0, 3062, 3064, 3, 136, 68, 0, 3063, 3061, 1, 0, 0, 0, 3063, 3064, 1, 0, 0, 0, 3064, 3065, 1, 0, 0, 0, 3065, 3066, 5, 265, 0, 0, 3066, 3078, 5, 127, 0, 0, 3067, 3068, 5, 1, 0, 0, 3068, 3073, 3, 292, 146, 0, 3069, 3070, 5, 3, 0, 0, 3070, 3072, 3, 292, 146, 0, 3071, 3069, 1, 0, 0, 0, 3072, 3075, 1, 0, 0, 0, 3073, 3071, 1, 0, 0, 0, 3073, 3074, 1, 0, 0, 0, 3074, 3076, 1, 0, 0, 0, 3075, 3073, 1, 0, 0, 0, 3076, 3077, 5, 2, 0, 0, 3077, 3079, 1, 0, 0, 0, 3078, 3067, 1, 0, 0, 0, 3078, 3079, 1, 0, 0, 0, 3079, 3080, 1, 0, 0, 0, 3080, 3081, 5, 296, 0, 0, 3081, 3082, 5, 1, 0, 0, 3082, 3087, 3, 136, 68, 0, 3083, 3084, 5, 3, 0, 0, 3084, 3086, 3, 136, 68, 0, 3085, 3083, 1, 0, 0, 0, 3086, 3089, 1, 0, 0, 0, 3087, 3085, 1, 0, 0, 0, 3087, 3088, 1, 0, 0, 0, 3088, 3090, 1, 0, 0, 0, 3089, 3087, 1, 0, 0, 0, 3090, 3091, 5, 2, 0, 0, 3091, 3093, 1, 0, 0, 0, 3092, 3028, 1, 0, 0, 0, 3092, 3050, 1, 0, 0, 0, 3092, 3058, 1, 0, 0, 0, 3093, 195, 1, 0, 0, 0, 3094, 3100, 5, 199, 0, 0, 3095, 3101, 3, 292, 146, 0, 3096, 3097, 5, 1, 0, 0, 3097, 3098, 3, 64, 32, 0, 3098, 3099, 5, 2, 0, 0, 3099, 3101, 1, 0, 0, 0, 3100, 3095, 1, 0, 0, 0, 3100, 3096, 1, 0, 0, 0, 3101, 197, 1, 0, 0, 0, 3102, 3103, 5, 168, 0, 0, 3103, 3108, 3, 90, 45, 0, 3104, 3105, 5, 3, 0, 0, 3105, 3107, 3, 90, 45, 0, 3106, 3104, 1, 0, 0, 0, 3107, 3110, 1, 0, 0, 0, 3108, 3106, 1, 0, 0, 0, 3108, 3109, 1, 0, 0, 0, 3109, 3112, 1, 0, 0, 0, 3110, 3108, 1, 0, 0, 0, 3111, 3102, 1, 0, 0, 0, 3111, 3112, 1, 0, 0, 0, 3112, 3113, 1, 0, 0, 0, 3113, 3117, 3, 200, 100, 0, 3114, 3115, 5, 21, 0, 0, 3115, 3116, 5, 163, 0, 0, 3116, 3118, 3, 96, 48, 0, 3117, 3114, 1, 0, 0, 0, 3117, 3118, 1, 0, 0, 0, 3118, 3120, 1, 0, 0, 0, 3119, 3121, 7, 13, 0, 0, 3120, 3119, 1, 0, 0, 0, 3120, 3121, 1, 0, 0, 0, 3121, 3127, 1, 0, 0, 0, 3122, 3123, 5, 206, 0, 0, 3123, 3124, 5, 1, 0, 0, 3124, 3125, 3, 204, 102, 0, 3125, 3126, 5, 2, 0, 0, 3126, 3128, 1, 0, 0, 0, 3127, 3122, 1, 0, 0, 0, 3127, 3128, 1, 0, 0, 0, 3128, 3138, 1, 0, 0, 0, 3129, 3130, 5, 257, 0, 0, 3130, 3135, 3, 98, 49, 0, 3131, 3132, 5, 3, 0, 0, 3132, 3134, 3, 98, 49, 0, 3133, 3131, 1, 0, 0, 0, 3134, 3137, 1, 0, 0, 0, 3135, 3133, 1, 0, 0, 0, 3135, 3136, 1, 0, 0, 0, 3136, 3139, 1, 0, 0, 0, 3137, 3135, 1, 0, 0, 0, 3138, 3129, 1, 0, 0, 0, 3138, 3139, 1, 0, 0, 0, 3139, 3149, 1, 0, 0, 0, 3140, 3141, 5, 71, 0, 0, 3141, 3146, 3, 100, 50, 0, 3142, 3143, 5, 3, 0, 0, 3143, 3145, 3, 100, 50, 0, 3144, 3142, 1, 0, 0, 0, 3145, 3148, 1, 0, 0, 0, 3146, 3144, 1, 0, 0, 0, 3146, 3147, 1, 0, 0, 0, 3147, 3150, 1, 0, 0, 0, 3148, 3146, 1, 0, 0, 0, 3149, 3140, 1, 0, 0, 0, 3149, 3150, 1, 0, 0, 0, 3150, 199, 1, 0, 0, 0, 3151, 3152, 5, 219, 0, 0, 3152, 3176, 3, 202, 101, 0, 3153, 3154, 5, 240, 0, 0, 3154, 3176, 3, 202, 101, 0, 3155, 3156, 5, 116, 0, 0, 3156, 3176, 3, 202, 101, 0, 3157, 3158, 5, 219, 0, 0, 3158, 3159, 5, 34, 0, 0, 3159, 3160, 3, 202, 101, 0, 3160, 3161, 5, 25, 0, 0, 3161, 3162, 3, 202, 101, 0, 3162, 3176, 1, 0, 0, 0, 3163, 3164, 5, 240, 0, 0, 3164, 3165, 5, 34, 0, 0, 3165, 3166, 3, 202, 101, 0, 3166, 3167, 5, 25, 0, 0, 3167, 3168, 3, 202, 101, 0, 3168, 3176, 1, 0, 0, 0, 3169, 3170, 5, 116, 0, 0, 3170, 3171, 5, 34, 0, 0, 3171, 3172, 3, 202, 101, 0, 3172, 3173, 5, 25, 0, 0, 3173, 3174, 3, 202, 101, 0, 3174, 3176, 1, 0, 0, 0, 3175, 3151, 1, 0, 0, 0, 3175, 3153, 1, 0, 0, 0, 3175, 3155, 1, 0, 0, 0, 3175, 3157, 1, 0, 0, 0, 3175, 3163, 1, 0, 0, 0, 3175, 3169, 1, 0, 0, 0, 3176, 201, 1, 0, 0, 0, 3177, 3178, 5, 278, 0, 0, 3178, 3187, 5, 212, 0, 0, 3179, 3180, 5, 278, 0, 0, 3180, 3187, 5, 102, 0, 0, 3181, 3182, 5, 56, 0, 0, 3182, 3187, 5, 239, 0, 0, 3183, 3184, 3, 136, 68, 0, 3184, 3185, 7, 29, 0, 0, 3185, 3187, 1, 0, 0, 0, 3186, 3177, 1, 0, 0, 0, 3186, 3179, 1, 0, 0, 0, 3186, 3181, 1, 0, 0, 0, 3186, 3183, 1, 0, 0, 0, 3187, 203, 1, 0, 0, 0, 3188, 3189, 6, 102, -1, 0, 3189, 3191, 3, 206, 103, 0, 3190, 3192, 3, 208, 104, 0, 3191, 3190, 1, 0, 0, 0, 3191, 3192, 1, 0, 0, 0, 3192, 3200, 1, 0, 0, 0, 3193, 3194, 10, 2, 0, 0, 3194, 3199, 3, 204, 102, 3, 3195, 3196, 10, 1, 0, 0, 3196, 3197, 5, 11, 0, 0, 3197, 3199, 3, 204, 102, 2, 3198, 3193, 1, 0, 0, 0, 3198, 3195, 1, 0, 0, 0, 3199, 3202, 1, 0, 0, 0, 3200, 3198, 1, 0, 0, 0, 3200, 3201, 1, 0, 0, 0, 3201, 205, 1, 0, 0, 0, 3202, 3200, 1, 0, 0, 0, 3203, 3229, 3, 292, 146, 0, 3204, 3205, 5, 1, 0, 0, 3205, 3229, 5, 2, 0, 0, 3206, 3207, 5, 209, 0, 0, 3207, 3208, 5, 1, 0, 0, 3208, 3213, 3, 204, 102, 0, 3209, 3210, 5, 3, 0, 0, 3210, 3212, 3, 204, 102, 0, 3211, 3209, 1, 0, 0, 0, 3212, 3215, 1, 0, 0, 0, 3213, 3211, 1, 0, 0, 0, 3213, 3214, 1, 0, 0, 0, 3214, 3216, 1, 0, 0, 0, 3215, 3213, 1, 0, 0, 0, 3216, 3217, 5, 2, 0, 0, 3217, 3229, 1, 0, 0, 0, 3218, 3219, 5, 1, 0, 0, 3219, 3220, 3, 204, 102, 0, 3220, 3221, 5, 2, 0, 0, 3221, 3229, 1, 0, 0, 0, 3222, 3229, 5, 12, 0, 0, 3223, 3229, 5, 13, 0, 0, 3224, 3225, 5, 14, 0, 0, 3225, 3226, 3, 204, 102, 0, 3226, 3227, 5, 15, 0, 0, 3227, 3229, 1, 0, 0, 0, 3228, 3203, 1, 0, 0, 0, 3228, 3204, 1, 0, 0, 0, 3228, 3206, 1, 0, 0, 0, 3228, 3218, 1, 0, 0, 0, 3228, 3222, 1, 0, 0, 0, 3228, 3223, 1, 0, 0, 0, 3228, 3224, 1, 0, 0, 0, 3229, 207, 1, 0, 0, 0, 3230, 3232, 5, 320, 0, 0, 3231, 3233, 5, 324, 0, 0, 3232, 3231, 1, 0, 0, 0, 3232, 3233, 1, 0, 0, 0, 3233, 3261, 1, 0, 0, 0, 3234, 3236, 5, 318, 0, 0, 3235, 3237, 5, 324, 0, 0, 3236, 3235, 1, 0, 0, 0, 3236, 3237, 1, 0, 0, 0, 3237, 3261, 1, 0, 0, 0, 3238, 3240, 5, 324, 0, 0, 3239, 3241, 5, 324, 0, 0, 3240, 3239, 1, 0, 0, 0, 3240, 3241, 1, 0, 0, 0, 3241, 3261, 1, 0, 0, 0, 3242, 3243, 5, 16, 0, 0, 3243, 3244, 5, 329, 0, 0, 3244, 3246, 5, 17, 0, 0, 3245, 3247, 5, 324, 0, 0, 3246, 3245, 1, 0, 0, 0, 3246, 3247, 1, 0, 0, 0, 3247, 3261, 1, 0, 0, 0, 3248, 3250, 5, 16, 0, 0, 3249, 3251, 5, 329, 0, 0, 3250, 3249, 1, 0, 0, 0, 3250, 3251, 1, 0, 0, 0, 3251, 3252, 1, 0, 0, 0, 3252, 3254, 5, 3, 0, 0, 3253, 3255, 5, 329, 0, 0, 3254, 3253, 1, 0, 0, 0, 3254, 3255, 1, 0, 0, 0, 3255, 3256, 1, 0, 0, 0, 3256, 3258, 5, 17, 0, 0, 3257, 3259, 5, 324, 0, 0, 3258, 3257, 1, 0, 0, 0, 3258, 3259, 1, 0, 0, 0, 3259, 3261, 1, 0, 0, 0, 3260, 3230, 1, 0, 0, 0, 3260, 3234, 1, 0, 0, 0, 3260, 3238, 1, 0, 0, 0, 3260, 3242, 1, 0, 0, 0, 3260, 3248, 1, 0, 0, 0, 3261, 209, 1, 0, 0, 0, 3262, 3263, 3, 292, 146, 0, 3263, 3264, 5, 312, 0, 0, 3264, 3265, 3, 136, 68, 0, 3265, 211, 1, 0, 0, 0, 3266, 3267, 5, 104, 0, 0, 3267, 3271, 7, 30, 0, 0, 3268, 3269, 5, 276, 0, 0, 3269, 3271, 7, 31, 0, 0, 3270, 3266, 1, 0, 0, 0, 3270, 3268, 1, 0, 0, 0, 3271, 213, 1, 0, 0, 0, 3272, 3273, 5, 134, 0, 0, 3273, 3274, 5, 153, 0, 0, 3274, 3278, 3, 216, 108, 0, 3275, 3276, 5, 220, 0, 0, 3276, 3278, 7, 32, 0, 0, 3277, 3272, 1, 0, 0, 0, 3277, 3275, 1, 0, 0, 0, 3278, 215, 1, 0, 0, 0, 3279, 3280, 5, 220, 0, 0, 3280, 3287, 5, 279, 0, 0, 3281, 3282, 5, 220, 0, 0, 3282, 3287, 5, 48, 0, 0, 3283, 3284, 5, 225, 0, 0, 3284, 3287, 5, 220, 0, 0, 3285, 3287, 5, 249, 0, 0, 3286, 3279, 1, 0, 0, 0, 3286, 3281, 1, 0, 0, 0, 3286, 3283, 1, 0, 0, 0, 3286, 3285, 1, 0, 0, 0, 3287, 217, 1, 0, 0, 0, 3288, 3294, 3, 136, 68, 0, 3289, 3290, 3, 292, 146, 0, 3290, 3291, 5, 6, 0, 0, 3291, 3292, 3, 136, 68, 0, 3292, 3294, 1, 0, 0, 0, 3293, 3288, 1, 0, 0, 0, 3293, 3289, 1, 0, 0, 0, 3294, 219, 1, 0, 0, 0, 3295, 3296, 3, 292, 146, 0, 3296, 3297, 5, 4, 0, 0, 3297, 3298, 3, 292, 146, 0, 3298, 3301, 1, 0, 0, 0, 3299, 3301, 3, 292, 146, 0, 3300, 3295, 1, 0, 0, 0, 3300, 3299, 1, 0, 0, 0, 3301, 221, 1, 0, 0, 0, 3302, 3307, 3, 220, 110, 0, 3303, 3304, 5, 3, 0, 0, 3304, 3306, 3, 220, 110, 0, 3305, 3303, 1, 0, 0, 0, 3306, 3309, 1, 0, 0, 0, 3307, 3305, 1, 0, 0, 0, 3307, 3308, 1, 0, 0, 0, 3308, 223, 1, 0, 0, 0, 3309, 3307, 1, 0, 0, 0, 3310, 3311, 5, 107, 0, 0, 3311, 3312, 3, 226, 113, 0, 3312, 3316, 3, 230, 115, 0, 3313, 3315, 3, 232, 116, 0, 3314, 3313, 1, 0, 0, 0, 3315, 3318, 1, 0, 0, 0, 3316, 3314, 1, 0, 0, 0, 3316, 3317, 1, 0, 0, 0, 3317, 3319, 1, 0, 0, 0, 3318, 3316, 1, 0, 0, 0, 3319, 3320, 3, 234, 117, 0, 3320, 225, 1, 0, 0, 0, 3321, 3322, 3, 272, 136, 0, 3322, 3331, 5, 1, 0, 0, 3323, 3328, 3, 228, 114, 0, 3324, 3325, 5, 3, 0, 0, 3325, 3327, 3, 228, 114, 0, 3326, 3324, 1, 0, 0, 0, 3327, 3330, 1, 0, 0, 0, 3328, 3326, 1, 0, 0, 0, 3328, 3329, 1, 0, 0, 0, 3329, 3332, 1, 0, 0, 0, 3330, 3328, 1, 0, 0, 0, 3331, 3323, 1, 0, 0, 0, 3331, 3332, 1, 0, 0, 0, 3332, 3333, 1, 0, 0, 0, 3333, 3334, 5, 2, 0, 0, 3334, 227, 1, 0, 0, 0, 3335, 3337, 3, 292, 146, 0, 3336, 3335, 1, 0, 0, 0, 3336, 3337, 1, 0, 0, 0, 3337, 3338, 1, 0, 0, 0, 3338, 3339, 3, 184, 92, 0, 3339, 229, 1, 0, 0, 0, 3340, 3341, 5, 232, 0, 0, 3341, 3342, 3, 184, 92, 0, 3342, 231, 1, 0, 0, 0, 3343, 3344, 5, 147, 0, 0, 3344, 3363, 3, 292, 146, 0, 3345, 3347, 5, 182, 0, 0, 3346, 3345, 1, 0, 0, 0, 3346, 3347, 1, 0, 0, 0, 3347, 3348, 1, 0, 0, 0, 3348, 3363, 5, 78, 0, 0, 3349, 3350, 5, 232, 0, 0, 3350, 3351, 5, 183, 0, 0, 3351, 3352, 5, 190, 0, 0, 3352, 3353, 5, 183, 0, 0, 3353, 3363, 5, 126, 0, 0, 3354, 3355, 5, 38, 0, 0, 3355, 3356, 5, 190, 0, 0, 3356, 3357, 5, 183, 0, 0, 3357, 3363, 5, 126, 0, 0, 3358, 3359, 5, 246, 0, 0, 3359, 3363, 7, 1, 0, 0, 3360, 3361, 5, 46, 0, 0, 3361, 3363, 3, 168, 84, 0, 3362, 3343, 1, 0, 0, 0, 3362, 3346, 1, 0, 0, 0, 3362, 3349, 1, 0, 0, 0, 3362, 3354, 1, 0, 0, 0, 3362, 3358, 1, 0, 0, 0, 3362, 3360, 1, 0, 0, 0, 3363, 233, 1, 0, 0, 0, 3364, 3365, 5, 230, 0, 0, 3365, 3464, 3, 142, 71, 0, 3366, 3367, 5, 251, 0, 0, 3367, 3368, 3, 292, 146, 0, 3368, 3369, 5, 312, 0, 0, 3369, 3370, 3, 136, 68, 0, 3370, 3464, 1, 0, 0, 0, 3371, 3372, 5, 40, 0, 0, 3372, 3374, 3, 136, 68, 0, 3373, 3375, 3, 236, 118, 0, 3374, 3373, 1, 0, 0, 0, 3375, 3376, 1, 0, 0, 0, 3376, 3374, 1, 0, 0, 0, 3376, 3377, 1, 0, 0, 0, 3377, 3379, 1, 0, 0, 0, 3378, 3380, 3, 240, 120, 0, 3379, 3378, 1, 0, 0, 0, 3379, 3380, 1, 0, 0, 0, 3380, 3381, 1, 0, 0, 0, 3381, 3382, 5, 88, 0, 0, 3382, 3383, 5, 40, 0, 0, 3383, 3464, 1, 0, 0, 0, 3384, 3386, 5, 40, 0, 0, 3385, 3387, 3, 236, 118, 0, 3386, 3385, 1, 0, 0, 0, 3387, 3388, 1, 0, 0, 0, 3388, 3386, 1, 0, 0, 0, 3388, 3389, 1, 0, 0, 0, 3389, 3391, 1, 0, 0, 0, 3390, 3392, 3, 240, 120, 0, 3391, 3390, 1, 0, 0, 0, 3391, 3392, 1, 0, 0, 0, 3392, 3393, 1, 0, 0, 0, 3393, 3394, 5, 88, 0, 0, 3394, 3395, 5, 40, 0, 0, 3395, 3464, 1, 0, 0, 0, 3396, 3397, 5, 119, 0, 0, 3397, 3398, 3, 136, 68, 0, 3398, 3399, 5, 265, 0, 0, 3399, 3403, 3, 244, 122, 0, 3400, 3402, 3, 238, 119, 0, 3401, 3400, 1, 0, 0, 0, 3402, 3405, 1, 0, 0, 0, 3403, 3401, 1, 0, 0, 0, 3403, 3404, 1, 0, 0, 0, 3404, 3407, 1, 0, 0, 0, 3405, 3403, 1, 0, 0, 0, 3406, 3408, 3, 240, 120, 0, 3407, 3406, 1, 0, 0, 0, 3407, 3408, 1, 0, 0, 0, 3408, 3409, 1, 0, 0, 0, 3409, 3410, 5, 88, 0, 0, 3410, 3411, 5, 119, 0, 0, 3411, 3464, 1, 0, 0, 0, 3412, 3413, 5, 135, 0, 0, 3413, 3464, 3, 292, 146, 0, 3414, 3415, 5, 151, 0, 0, 3415, 3464, 3, 292, 146, 0, 3416, 3422, 5, 32, 0, 0, 3417, 3418, 3, 242, 121, 0, 3418, 3419, 5, 325, 0, 0, 3419, 3421, 1, 0, 0, 0, 3420, 3417, 1, 0, 0, 0, 3421, 3424, 1, 0, 0, 0, 3422, 3420, 1, 0, 0, 0, 3422, 3423, 1, 0, 0, 0, 3423, 3426, 1, 0, 0, 0, 3424, 3422, 1, 0, 0, 0, 3425, 3427, 3, 244, 122, 0, 3426, 3425, 1, 0, 0, 0, 3426, 3427, 1, 0, 0, 0, 3427, 3428, 1, 0, 0, 0, 3428, 3464, 5, 88, 0, 0, 3429, 3430, 3, 292, 146, 0, 3430, 3431, 5, 10, 0, 0, 3431, 3433, 1, 0, 0, 0, 3432, 3429, 1, 0, 0, 0, 3432, 3433, 1, 0, 0, 0, 3433, 3434, 1, 0, 0, 0, 3434, 3435, 5, 161, 0, 0, 3435, 3436, 3, 244, 122, 0, 3436, 3437, 5, 88, 0, 0, 3437, 3438, 5, 161, 0, 0, 3438, 3464, 1, 0, 0, 0, 3439, 3440, 3, 292, 146, 0, 3440, 3441, 5, 10, 0, 0, 3441, 3443, 1, 0, 0, 0, 3442, 3439, 1, 0, 0, 0, 3442, 3443, 1, 0, 0, 0, 3443, 3444, 1, 0, 0, 0, 3444, 3445, 5, 302, 0, 0, 3445, 3446, 3, 136, 68, 0, 3446, 3447, 5, 81, 0, 0, 3447, 3448, 3, 244, 122, 0, 3448, 3449, 5, 88, 0, 0, 3449, 3450, 5, 302, 0, 0, 3450, 3464, 1, 0, 0, 0, 3451, 3452, 3, 292, 146, 0, 3452, 3453, 5, 10, 0, 0, 3453, 3455, 1, 0, 0, 0, 3454, 3451, 1, 0, 0, 0, 3454, 3455, 1, 0, 0, 0, 3455, 3456, 1, 0, 0, 0, 3456, 3457, 5, 224, 0, 0, 3457, 3458, 3, 244, 122, 0, 3458, 3459, 5, 286, 0, 0, 3459, 3460, 3, 136, 68, 0, 3460, 3461, 5, 88, 0, 0, 3461, 3462, 5, 224, 0, 0, 3462, 3464, 1, 0, 0, 0, 3463, 3364, 1, 0, 0, 0, 3463, 3366, 1, 0, 0, 0, 3463, 3371, 1, 0, 0, 0, 3463, 3384, 1, 0, 0, 0, 3463, 3396, 1, 0, 0, 0, 3463, 3412, 1, 0, 0, 0, 3463, 3414, 1, 0, 0, 0, 3463, 3416, 1, 0, 0, 0, 3463, 3432, 1, 0, 0, 0, 3463, 3442, 1, 0, 0, 0, 3463, 3454, 1, 0, 0, 0, 3464, 235, 1, 0, 0, 0, 3465, 3466, 5, 300, 0, 0, 3466, 3467, 3, 136, 68, 0, 3467, 3468, 5, 265, 0, 0, 3468, 3469, 3, 244, 122, 0, 3469, 237, 1, 0, 0, 0, 3470, 3471, 5, 86, 0, 0, 3471, 3472, 3, 136, 68, 0, 3472, 3473, 5, 265, 0, 0, 3473, 3474, 3, 244, 122, 0, 3474, 239, 1, 0, 0, 0, 3475, 3476, 5, 84, 0, 0, 3476, 3477, 3, 244, 122, 0, 3477, 241, 1, 0, 0, 0, 3478, 3479, 5, 69, 0, 0, 3479, 3484, 3, 292, 146, 0, 3480, 3481, 5, 3, 0, 0, 3481, 3483, 3, 292, 146, 0, 3482, 3480, 1, 0, 0, 0, 3483, 3486, 1, 0, 0, 0, 3484, 3482, 1, 0, 0, 0, 3484, 3485, 1, 0, 0, 0, 3485, 3487, 1, 0, 0, 0, 3486, 3484, 1, 0, 0, 0, 3487, 3490, 3, 184, 92, 0, 3488, 3489, 5, 70, 0, 0, 3489, 3491, 3, 142, 71, 0, 3490, 3488, 1, 0, 0, 0, 3490, 3491, 1, 0, 0, 0, 3491, 243, 1, 0, 0, 0, 3492, 3493, 3, 234, 117, 0, 3493, 3494, 5, 325, 0, 0, 3494, 3496, 1, 0, 0, 0, 3495, 3492, 1, 0, 0, 0, 3496, 3497, 1, 0, 0, 0, 3497, 3495, 1, 0, 0, 0, 3497, 3498, 1, 0, 0, 0, 3498, 245, 1, 0, 0, 0, 3499, 3506, 5, 53, 0, 0, 3500, 3506, 5, 248, 0, 0, 3501, 3506, 5, 73, 0, 0, 3502, 3506, 5, 127, 0, 0, 3503, 3506, 5, 287, 0, 0, 3504, 3506, 3, 292, 146, 0, 3505, 3499, 1, 0, 0, 0, 3505, 3500, 1, 0, 0, 0, 3505, 3501, 1, 0, 0, 0, 3505, 3502, 1, 0, 0, 0, 3505, 3503, 1, 0, 0, 0, 3505, 3504, 1, 0, 0, 0, 3506, 247, 1, 0, 0, 0, 3507, 3511, 5, 260, 0, 0, 3508, 3511, 5, 243, 0, 0, 3509, 3511, 3, 292, 146, 0, 3510, 3507, 1, 0, 0, 0, 3510, 3508, 1, 0, 0, 0, 3510, 3509, 1, 0, 0, 0, 3511, 249, 1, 0, 0, 0, 3512, 3514, 3, 248, 124, 0, 3513, 3512, 1, 0, 0, 0, 3513, 3514, 1, 0, 0, 0, 3514, 3515, 1, 0, 0, 0, 3515, 3516, 3, 278, 139, 0, 3516, 251, 1, 0, 0, 0, 3517, 3520, 3, 254, 127, 0, 3518, 3520, 3, 258, 129, 0, 3519, 3517, 1, 0, 0, 0, 3519, 3518, 1, 0, 0, 0, 3520, 253, 1, 0, 0, 0, 3521, 3533, 3, 292, 146, 0, 3522, 3523, 3, 292, 146, 0, 3523, 3524, 5, 4, 0, 0, 3524, 3525, 3, 292, 146, 0, 3525, 3533, 1, 0, 0, 0, 3526, 3527, 3, 292, 146, 0, 3527, 3528, 5, 4, 0, 0, 3528, 3529, 3, 292, 146, 0, 3529, 3530, 5, 4, 0, 0, 3530, 3531, 3, 292, 146, 0, 3531, 3533, 1, 0, 0, 0, 3532, 3521, 1, 0, 0, 0, 3532, 3522, 1, 0, 0, 0, 3532, 3526, 1, 0, 0, 0, 3533, 255, 1, 0, 0, 0, 3534, 3546, 3, 292, 146, 0, 3535, 3536, 3, 292, 146, 0, 3536, 3537, 5, 4, 0, 0, 3537, 3538, 3, 292, 146, 0, 3538, 3546, 1, 0, 0, 0, 3539, 3540, 3, 292, 146, 0, 3540, 3541, 5, 4, 0, 0, 3541, 3542, 3, 292, 146, 0, 3542, 3543, 5, 4, 0, 0, 3543, 3544, 3, 292, 146, 0, 3544, 3546, 1, 0, 0, 0, 3545, 3534, 1, 0, 0, 0, 3545, 3535, 1, 0, 0, 0, 3545, 3539, 1, 0, 0, 0, 3546, 257, 1, 0, 0, 0, 3547, 3559, 3, 292, 146, 0, 3548, 3549, 3, 292, 146, 0, 3549, 3550, 5, 4, 0, 0, 3550, 3551, 3, 292, 146, 0, 3551, 3559, 1, 0, 0, 0, 3552, 3553, 3, 292, 146, 0, 3553, 3554, 5, 4, 0, 0, 3554, 3555, 3, 292, 146, 0, 3555, 3556, 5, 4, 0, 0, 3556, 3557, 3, 292, 146, 0, 3557, 3559, 1, 0, 0, 0, 3558, 3547, 1, 0, 0, 0, 3558, 3548, 1, 0, 0, 0, 3558, 3552, 1, 0, 0, 0, 3559, 259, 1, 0, 0, 0, 3560, 3572, 3, 292, 146, 0, 3561, 3562, 3, 292, 146, 0, 3562, 3563, 5, 4, 0, 0, 3563, 3564, 3, 292, 146, 0, 3564, 3572, 1, 0, 0, 0, 3565, 3566, 3, 292, 146, 0, 3566, 3567, 5, 4, 0, 0, 3567, 3568, 3, 292, 146, 0, 3568, 3569, 5, 4, 0, 0, 3569, 3570, 3, 292, 146, 0, 3570, 3572, 1, 0, 0, 0, 3571, 3560, 1, 0, 0, 0, 3571, 3561, 1, 0, 0, 0, 3571, 3565, 1, 0, 0, 0, 3572, 261, 1, 0, 0, 0, 3573, 3579, 3, 292, 146, 0, 3574, 3575, 3, 292, 146, 0, 3575, 3576, 5, 4, 0, 0, 3576, 3577, 3, 292, 146, 0, 3577, 3579, 1, 0, 0, 0, 3578, 3573, 1, 0, 0, 0, 3578, 3574, 1, 0, 0, 0, 3579, 263, 1, 0, 0, 0, 3580, 3586, 3, 292, 146, 0, 3581, 3582, 3, 292, 146, 0, 3582, 3583, 5, 4, 0, 0, 3583, 3584, 3, 292, 146, 0, 3584, 3586, 1, 0, 0, 0, 3585, 3580, 1, 0, 0, 0, 3585, 3581, 1, 0, 0, 0, 3586, 265, 1, 0, 0, 0, 3587, 3588, 3, 292, 146, 0, 3588, 267, 1, 0, 0, 0, 3589, 3590, 3, 292, 146, 0, 3590, 269, 1, 0, 0, 0, 3591, 3592, 3, 278, 139, 0, 3592, 271, 1, 0, 0, 0, 3593, 3594, 3, 278, 139, 0, 3594, 273, 1, 0, 0, 0, 3595, 3598, 3, 278, 139, 0, 3596, 3598, 4, 137, 14, 0, 3597, 3595, 1, 0, 0, 0, 3597, 3596, 1, 0, 0, 0, 3598, 275, 1, 0, 0, 0, 3599, 3600, 3, 292, 146, 0, 3600, 277, 1, 0, 0, 0, 3601, 3606, 3, 292, 146, 0, 3602, 3603, 5, 4, 0, 0, 3603, 3605, 3, 292, 146, 0, 3604, 3602, 1, 0, 0, 0, 3605, 3608, 1, 0, 0, 0, 3606, 3604, 1, 0, 0, 0, 3606, 3607, 1, 0, 0, 0, 3607, 279, 1, 0, 0, 0, 3608, 3606, 1, 0, 0, 0, 3609, 3610, 5, 103, 0, 0, 3610, 3611, 3, 282, 141, 0, 3611, 3612, 5, 28, 0, 0, 3612, 3613, 5, 187, 0, 0, 3613, 3614, 3, 142, 71, 0, 3614, 281, 1, 0, 0, 0, 3615, 3616, 7, 33, 0, 0, 3616, 283, 1, 0, 0, 0, 3617, 3621, 3, 286, 143, 0, 3618, 3621, 5, 64, 0, 0, 3619, 3621, 5, 60, 0, 0, 3620, 3617, 1, 0, 0, 0, 3620, 3618, 1, 0, 0, 0, 3620, 3619, 1, 0, 0, 0, 3621, 285, 1, 0, 0, 0, 3622, 3628, 3, 292, 146, 0, 3623, 3624, 5, 289, 0, 0, 3624, 3628, 3, 292, 146, 0, 3625, 3626, 5, 235, 0, 0, 3626, 3628, 3, 292, 146, 0, 3627, 3622, 1, 0, 0, 0, 3627, 3623, 1, 0, 0, 0, 3627, 3625, 1, 0, 0, 0, 3628, 287, 1, 0, 0, 0, 3629, 3634, 3, 292, 146, 0, 3630, 3631, 5, 3, 0, 0, 3631, 3633, 3, 292, 146, 0, 3632, 3630, 1, 0, 0, 0, 3633, 3636, 1, 0, 0, 0, 3634, 3632, 1, 0, 0, 0, 3634, 3635, 1, 0, 0, 0, 3635, 289, 1, 0, 0, 0, 3636, 3634, 1, 0, 0, 0, 3637, 3645, 5, 53, 0, 0, 3638, 3645, 5, 248, 0, 0, 3639, 3645, 5, 73, 0, 0, 3640, 3645, 5, 127, 0, 0, 3641, 3645, 5, 287, 0, 0, 3642, 3645, 5, 93, 0, 0, 3643, 3645, 3, 292, 146, 0, 3644, 3637, 1, 0, 0, 0, 3644, 3638, 1, 0, 0, 0, 3644, 3639, 1, 0, 0, 0, 3644, 3640, 1, 0, 0, 0, 3644, 3641, 1, 0, 0, 0, 3644, 3642, 1, 0, 0, 0, 3644, 3643, 1, 0, 0, 0, 3645, 291, 1, 0, 0, 0, 3646, 3652, 5, 332, 0, 0, 3647, 3652, 5, 334, 0, 0, 3648, 3652, 3, 298, 149, 0, 3649, 3652, 5, 335, 0, 0, 3650, 3652, 5, 333, 0, 0, 3651, 3646, 1, 0, 0, 0, 3651, 3647, 1, 0, 0, 0, 3651, 3648, 1, 0, 0, 0, 3651, 3649, 1, 0, 0, 0, 3651, 3650, 1, 0, 0, 0, 3652, 293, 1, 0, 0, 0, 3653, 3655, 5, 319, 0, 0, 3654, 3653, 1, 0, 0, 0, 3654, 3655, 1, 0, 0, 0, 3655, 3656, 1, 0, 0, 0, 3656, 3666, 5, 330, 0, 0, 3657, 3659, 5, 319, 0, 0, 3658, 3657, 1, 0, 0, 0, 3658, 3659, 1, 0, 0, 0, 3659, 3660, 1, 0, 0, 0, 3660, 3666, 5, 331, 0, 0, 3661, 3663, 5, 319, 0, 0, 3662, 3661, 1, 0, 0, 0, 3662, 3663, 1, 0, 0, 0, 3663, 3664, 1, 0, 0, 0, 3664, 3666, 5, 329, 0, 0, 3665, 3654, 1, 0, 0, 0, 3665, 3658, 1, 0, 0, 0, 3665, 3662, 1, 0, 0, 0, 3666, 295, 1, 0, 0, 0, 3667, 3670, 3, 292, 146, 0, 3668, 3670, 3, 168, 84, 0, 3669, 3667, 1, 0, 0, 0, 3669, 3668, 1, 0, 0, 0, 3670, 297, 1, 0, 0, 0, 3671, 3672, 7, 34, 0, 0, 3672, 299, 1, 0, 0, 0, 478, 303, 312, 316, 320, 324, 328, 341, 348, 352, 356, 362, 366, 373, 378, 382, 388, 392, 411, 417, 421, 425, 429, 437, 441, 444, 449, 455, 464, 470, 474, 480, 487, 496, 508, 517, 526, 532, 543, 551, 559, 566, 576, 583, 591, 606, 641, 644, 647, 651, 657, 662, 669, 675, 679, 683, 691, 697, 701, 705, 719, 727, 746, 771, 774, 781, 788, 797, 801, 808, 816, 825, 831, 836, 840, 848, 853, 862, 868, 875, 884, 890, 894, 900, 907, 912, 925, 930, 942, 946, 952, 961, 966, 972, 1000, 1006, 1008, 1014, 1020, 1022, 1030, 1032, 1042, 1044, 1059, 1064, 1071, 1081, 1087, 1089, 1097, 1099, 1124, 1127, 1131, 1135, 1153, 1156, 1167, 1170, 1186, 1196, 1201, 1207, 1210, 1219, 1231, 1234, 1244, 1248, 1254, 1261, 1266, 1272, 1276, 1280, 1286, 1297, 1306, 1316, 1319, 1324, 1326, 1333, 1339, 1341, 1345, 1355, 1361, 1364, 1366, 1378, 1385, 1389, 1392, 1396, 1400, 1407, 1416, 1419, 1423, 1428, 1432, 1440, 1443, 1446, 1453, 1464, 1467, 1477, 1480, 1491, 1496, 1504, 1507, 1511, 1515, 1524, 1533, 1536, 1545, 1548, 1551, 1555, 1566, 1569, 1572, 1579, 1582, 1601, 1605, 1609, 1613, 1617, 1621, 1623, 1634, 1639, 1648, 1657, 1660, 1666, 1678, 1681, 1690, 1693, 1701, 1704, 1707, 1712, 1715, 1727, 1730, 1738, 1743, 1747, 1749, 1751, 1766, 1768, 1779, 1800, 1810, 1821, 1825, 1827, 1835, 1846, 1857, 1864, 1877, 1883, 1909, 1924, 1929, 1933, 1943, 1949, 1955, 1963, 1968, 1975, 1977, 1983, 1989, 1993, 1998, 2007, 2012, 2026, 2036, 2039, 2048, 2053, 2058, 2060, 2069, 2072, 2080, 2083, 2090, 2095, 2106, 2109, 2113, 2115, 2123, 2133, 2139, 2141, 2148, 2152, 2154, 2161, 2165, 2167, 2169, 2178, 2189, 2193, 2203, 2213, 2217, 2225, 2227, 2240, 2248, 2257, 2263, 2271, 2277, 2281, 2286, 2291, 2297, 2311, 2313, 2343, 2354, 2362, 2367, 2372, 2385, 2391, 2394, 2401, 2406, 2409, 2412, 2417, 2424, 2427, 2436, 2439, 2443, 2446, 2449, 2464, 2467, 2486, 2490, 2498, 2502, 2527, 2530, 2539, 2545, 2551, 2557, 2566, 2569, 2572, 2591, 2600, 2622, 2625, 2635, 2644, 2650, 2656, 2667, 2669, 2674, 2681, 2683, 2689, 2695, 2706, 2715, 2720, 2725, 2727, 2729, 2735, 2737, 2747, 2756, 2758, 2764, 2766, 2769, 2779, 2781, 2789, 2797, 2800, 2805, 2810, 2822, 2826, 2830, 2833, 2835, 2843, 2846, 2856, 2864, 2870, 2872, 2880, 2890, 2896, 2910, 2919, 2926, 2931, 2938, 2948, 2953, 2960, 2986, 2991, 2993, 3000, 3004, 3011, 3015, 3032, 3047, 3054, 3063, 3073, 3078, 3087, 3092, 3100, 3108, 3111, 3117, 3120, 3127, 3135, 3138, 3146, 3149, 3175, 3186, 3191, 3198, 3200, 3213, 3228, 3232, 3236, 3240, 3246, 3250, 3254, 3258, 3260, 3270, 3277, 3286, 3293, 3300, 3307, 3316, 3328, 3331, 3336, 3346, 3362, 3376, 3379, 3388, 3391, 3403, 3407, 3422, 3426, 3432, 3442, 3454, 3463, 3484, 3490, 3497, 3505, 3510, 3513, 3519, 3532, 3545, 3558, 3571, 3578, 3585, 3597, 3606, 3620, 3627, 3634, 3644, 3651, 3654, 3658, 3662, 3665, 3669] \ No newline at end of file diff --git a/src/lib/trino/TrinoSql.tokens b/src/lib/trino/TrinoSql.tokens index 50a3a1fe..48b31716 100644 --- a/src/lib/trino/TrinoSql.tokens +++ b/src/lib/trino/TrinoSql.tokens @@ -14,525 +14,651 @@ T__12=13 T__13=14 T__14=15 T__15=16 -KW_ADD=17 -KW_ADMIN=18 -KW_AFTER=19 -KW_ALL=20 -KW_ALTER=21 -KW_ANALYZE=22 -KW_AND=23 -KW_ANY=24 -KW_ARRAY=25 -KW_AS=26 -KW_ASC=27 -KW_AT=28 -KW_AUTHORIZATION=29 -KW_BERNOULLI=30 -KW_BETWEEN=31 -KW_BY=32 -KW_CALL=33 -KW_CASCADE=34 -KW_CASE=35 -KW_CAST=36 -KW_CATALOGS=37 -KW_COLUMN=38 -KW_COLUMNS=39 -KW_COMMENT=40 -KW_COMMIT=41 -KW_COMMITTED=42 -KW_CONSTRAINT=43 -KW_CREATE=44 -KW_CROSS=45 -KW_CUBE=46 -KW_CURRENT=47 -KW_CURRENT_CATALOG=48 -KW_CURRENT_DATE=49 -KW_CURRENT_PATH=50 -KW_CURRENT_ROLE=51 -KW_CURRENT_SCHEMA=52 -KW_CURRENT_TIME=53 -KW_CURRENT_TIMESTAMP=54 -KW_CURRENT_USER=55 -KW_DATA=56 -KW_DATE=57 -KW_DAY=58 -KW_DEFAULT=59 -KW_DEALLOCATE=60 -KW_DEFINER=61 -KW_DELETE=62 -KW_DESC=63 -KW_DESCRIBE=64 -KW_DEFINE=65 -KW_DISTINCT=66 -KW_DISTRIBUTED=67 -KW_DOUBLE=68 -KW_DROP=69 -KW_ELSE=70 -KW_EMPTY=71 -KW_END=72 -KW_ESCAPE=73 -KW_EXCEPT=74 -KW_EXCLUDING=75 -KW_EXECUTE=76 -KW_EXISTS=77 -KW_EXPLAIN=78 -KW_EXTRACT=79 -KW_FALSE=80 -KW_FETCH=81 -KW_FILTER=82 -KW_FINAL=83 -KW_FIRST=84 -KW_FOLLOWING=85 -KW_FOR=86 -KW_FORMAT=87 -KW_FROM=88 -KW_FULL=89 -KW_FUNCTIONS=90 -KW_GRANT=91 -KW_GRANTED=92 -KW_GRANTS=93 -KW_DENY=94 -KW_GRAPHVIZ=95 -KW_GROUP=96 -KW_GROUPING=97 -KW_GROUPS=98 -KW_HAVING=99 -KW_HOUR=100 -KW_IF=101 -KW_IGNORE=102 -KW_IN=103 -KW_INCLUDING=104 -KW_INITIAL=105 -KW_INNER=106 -KW_INPUT=107 -KW_INSERT=108 -KW_INTERSECT=109 -KW_INTERVAL=110 -KW_INTO=111 -KW_INVOKER=112 -KW_IO=113 -KW_IS=114 -KW_ISOLATION=115 -KW_JOIN=116 -KW_JSON=117 -KW_LAST=118 -KW_LATERAL=119 -KW_LEFT=120 -KW_LEVEL=121 -KW_LIKE=122 -KW_LIMIT=123 -KW_LOCAL=124 -KW_LOCALTIME=125 -KW_LOCALTIMESTAMP=126 -KW_LOGICAL=127 -KW_MAP=128 -KW_MATCH=129 -KW_MATCHED=130 -KW_MATCHES=131 -KW_MATCH_RECOGNIZE=132 -KW_MATERIALIZED=133 -KW_MEASURES=134 -KW_MERGE=135 -KW_MINUTE=136 -KW_MONTH=137 -KW_NATURAL=138 -KW_NEXT=139 -KW_NFC=140 -KW_NFD=141 -KW_NFKC=142 -KW_NFKD=143 -KW_NO=144 -KW_NONE=145 -KW_NORMALIZE=146 -KW_NOT=147 -KW_NULL=148 -KW_NULLIF=149 -KW_NULLS=150 -KW_OFFSET=151 -KW_OMIT=152 -KW_ON=153 -KW_ONE=154 -KW_ONLY=155 -KW_OPTION=156 -KW_OR=157 -KW_ORDER=158 -KW_ORDINALITY=159 -KW_OUTER=160 -KW_OUTPUT=161 -KW_OVER=162 -KW_PARTITION=163 -KW_PARTITIONS=164 -KW_PAST=165 -KW_PATH=166 -KW_PATTERN=167 -KW_PER=168 -KW_PERMUTE=169 -KW_POSITION=170 -KW_PRECEDING=171 -KW_PRECISION=172 -KW_PREPARE=173 -KW_PRIVILEGES=174 -KW_PROPERTIES=175 -KW_RANGE=176 -KW_READ=177 -KW_RECURSIVE=178 -KW_REFRESH=179 -KW_RENAME=180 -KW_REPEATABLE=181 -KW_REPLACE=182 -KW_RESET=183 -KW_RESPECT=184 -KW_RESTRICT=185 -KW_REVOKE=186 -KW_RIGHT=187 -KW_ROLE=188 -KW_ROLES=189 -KW_ROLLBACK=190 -KW_ROLLUP=191 -KW_ROW=192 -KW_ROWS=193 -KW_RUNNING=194 -KW_SCHEMA=195 -KW_SCHEMAS=196 -KW_SECOND=197 -KW_SECURITY=198 -KW_SEEK=199 -KW_SELECT=200 -KW_SERIALIZABLE=201 -KW_SESSION=202 -KW_SET=203 -KW_SETS=204 -KW_SHOW=205 -KW_SOME=206 -KW_START=207 -KW_STATS=208 -KW_SUBSET=209 -KW_SUBSTRING=210 -KW_SYSTEM=211 -KW_TABLE=212 -KW_TABLES=213 -KW_TABLESAMPLE=214 -KW_TEXT=215 -KW_THEN=216 -KW_TIES=217 -KW_TIME=218 -KW_TIMESTAMP=219 -KW_TO=220 -KW_TRANSACTION=221 -KW_TRUNCATE=222 -KW_TRUE=223 -KW_TRY_CAST=224 -KW_TYPE=225 -KW_UESCAPE=226 -KW_UNBOUNDED=227 -KW_UNCOMMITTED=228 -KW_UNION=229 -KW_UNMATCHED=230 -KW_UNNEST=231 -KW_UPDATE=232 -KW_USE=233 -KW_USER=234 -KW_USING=235 -KW_VALIDATE=236 -KW_VALUES=237 -KW_VERBOSE=238 -KW_VIEW=239 -KW_WHEN=240 -KW_WHERE=241 -KW_WINDOW=242 -KW_WITH=243 -KW_WITHOUT=244 -KW_WORK=245 -KW_WRITE=246 -KW_YEAR=247 -KW_ZONE=248 -EQ=249 -NEQ=250 -LT=251 -LTE=252 -GT=253 -GTE=254 -PLUS=255 -MINUS=256 -ASTERISK=257 -SLASH=258 -PERCENT=259 -CONCAT=260 -QUESTION_MARK=261 -STRING=262 -UNICODE_STRING=263 -BINARY_LITERAL=264 -INTEGER_VALUE=265 -DECIMAL_VALUE=266 -DOUBLE_VALUE=267 -IDENTIFIER=268 -DIGIT_IDENTIFIER=269 -QUOTED_IDENTIFIER=270 -BACKQUOTED_IDENTIFIER=271 -SEMICOLON=272 -SIMPLE_COMMENT=273 -BRACKETED_COMMENT=274 -WS=275 -UNRECOGNIZED=276 -DELIMITER=277 +T__16=17 +KW_ABSENT=18 +KW_ADD=19 +KW_ADMIN=20 +KW_AFTER=21 +KW_ALL=22 +KW_ALTER=23 +KW_ANALYZE=24 +KW_AND=25 +KW_ANY=26 +KW_ARRAY=27 +KW_AS=28 +KW_ASC=29 +KW_AT=30 +KW_AUTHORIZATION=31 +KW_BEGIN=32 +KW_BERNOULLI=33 +KW_BETWEEN=34 +KW_BOTH=35 +KW_BY=36 +KW_CALL=37 +KW_CALLED=38 +KW_CASCADE=39 +KW_CASE=40 +KW_CAST=41 +KW_CATALOG=42 +KW_CATALOGS=43 +KW_COLUMN=44 +KW_COLUMNS=45 +KW_COMMENT=46 +KW_COMMIT=47 +KW_COMMITTED=48 +KW_CONDITIONAL=49 +KW_CONSTRAINT=50 +KW_COUNT=51 +KW_COPARTITION=52 +KW_CREATE=53 +KW_CROSS=54 +KW_CUBE=55 +KW_CURRENT=56 +KW_CURRENT_CATALOG=57 +KW_CURRENT_DATE=58 +KW_CURRENT_PATH=59 +KW_CURRENT_ROLE=60 +KW_CURRENT_SCHEMA=61 +KW_CURRENT_TIME=62 +KW_CURRENT_TIMESTAMP=63 +KW_CURRENT_USER=64 +KW_DATA=65 +KW_DATE=66 +KW_DAY=67 +KW_DEALLOCATE=68 +KW_DECLARE=69 +KW_DEFAULT=70 +KW_DEFINE=71 +KW_DEFINER=72 +KW_DELETE=73 +KW_DENY=74 +KW_DESC=75 +KW_DESCRIBE=76 +KW_DESCRIPTOR=77 +KW_DETERMINISTIC=78 +KW_DISTINCT=79 +KW_DISTRIBUTED=80 +KW_DO=81 +KW_DOUBLE=82 +KW_DROP=83 +KW_ELSE=84 +KW_EMPTY=85 +KW_ELSEIF=86 +KW_ENCODING=87 +KW_END=88 +KW_ERROR=89 +KW_ESCAPE=90 +KW_EXCEPT=91 +KW_EXCLUDING=92 +KW_EXECUTE=93 +KW_EXISTS=94 +KW_EXPLAIN=95 +KW_EXTRACT=96 +KW_FALSE=97 +KW_FETCH=98 +KW_FILTER=99 +KW_FINAL=100 +KW_FIRST=101 +KW_FOLLOWING=102 +KW_FOR=103 +KW_FORMAT=104 +KW_FROM=105 +KW_FULL=106 +KW_FUNCTION=107 +KW_FUNCTIONS=108 +KW_GRACE=109 +KW_GRANT=110 +KW_GRANTED=111 +KW_GRANTS=112 +KW_GRAPHVIZ=113 +KW_GROUP=114 +KW_GROUPING=115 +KW_GROUPS=116 +KW_HAVING=117 +KW_HOUR=118 +KW_IF=119 +KW_IGNORE=120 +KW_IMMEDIATE=121 +KW_IN=122 +KW_INCLUDING=123 +KW_INITIAL=124 +KW_INNER=125 +KW_INPUT=126 +KW_INSERT=127 +KW_INTERSECT=128 +KW_INTERVAL=129 +KW_INTO=130 +KW_INVOKER=131 +KW_IO=132 +KW_IS=133 +KW_ISOLATION=134 +KW_ITERATE=135 +KW_JOIN=136 +KW_JSON=137 +KW_JSON_ARRAY=138 +KW_JSON_EXISTS=139 +KW_JSON_OBJECT=140 +KW_JSON_QUERY=141 +KW_JSON_TABLE=142 +KW_JSON_VALUE=143 +KW_KEEP=144 +KW_KEY=145 +KW_KEYS=146 +KW_LANGUAGE=147 +KW_LAST=148 +KW_LATERAL=149 +KW_LEADING=150 +KW_LEAVE=151 +KW_LEFT=152 +KW_LEVEL=153 +KW_LIKE=154 +KW_LIMIT=155 +KW_LISTAGG=156 +KW_LOCAL=157 +KW_LOCALTIME=158 +KW_LOCALTIMESTAMP=159 +KW_LOGICAL=160 +KW_LOOP=161 +KW_MAP=162 +KW_MATCH=163 +KW_MATCHED=164 +KW_MATCHES=165 +KW_MATCH_RECOGNIZE=166 +KW_MATERIALIZED=167 +KW_MEASURES=168 +KW_MERGE=169 +KW_MINUTE=170 +KW_MONTH=171 +KW_NATURAL=172 +KW_NESTED=173 +KW_NEXT=174 +KW_NFC=175 +KW_NFD=176 +KW_NFKC=177 +KW_NFKD=178 +KW_NO=179 +KW_NONE=180 +KW_NORMALIZE=181 +KW_NOT=182 +KW_NULL=183 +KW_NULLIF=184 +KW_NULLS=185 +KW_OBJECT=186 +KW_OF=187 +KW_OFFSET=188 +KW_OMIT=189 +KW_ON=190 +KW_ONE=191 +KW_ONLY=192 +KW_OPTION=193 +KW_OR=194 +KW_ORDER=195 +KW_ORDINALITY=196 +KW_OUTER=197 +KW_OUTPUT=198 +KW_OVER=199 +KW_OVERFLOW=200 +KW_PARTITION=201 +KW_PARTITIONS=202 +KW_PASSING=203 +KW_PAST=204 +KW_PATH=205 +KW_PATTERN=206 +KW_PER=207 +KW_PERIOD=208 +KW_PERMUTE=209 +KW_PLAN=210 +KW_POSITION=211 +KW_PRECEDING=212 +KW_PRECISION=213 +KW_PREPARE=214 +KW_PRIVILEGES=215 +KW_PROPERTIES=216 +KW_PRUNE=217 +KW_QUOTES=218 +KW_RANGE=219 +KW_READ=220 +KW_RECURSIVE=221 +KW_REFRESH=222 +KW_RENAME=223 +KW_REPEAT=224 +KW_REPEATABLE=225 +KW_REPLACE=226 +KW_RESET=227 +KW_RESPECT=228 +KW_RESTRICT=229 +KW_RETURN=230 +KW_RETURNING=231 +KW_RETURNS=232 +KW_REVOKE=233 +KW_RIGHT=234 +KW_ROLE=235 +KW_ROLES=236 +KW_ROLLBACK=237 +KW_ROLLUP=238 +KW_ROW=239 +KW_ROWS=240 +KW_RUNNING=241 +KW_SCALAR=242 +KW_SCHEMA=243 +KW_SCHEMAS=244 +KW_SECOND=245 +KW_SECURITY=246 +KW_SEEK=247 +KW_SELECT=248 +KW_SERIALIZABLE=249 +KW_SESSION=250 +KW_SET=251 +KW_SETS=252 +KW_SHOW=253 +KW_SOME=254 +KW_START=255 +KW_STATS=256 +KW_SUBSET=257 +KW_SUBSTRING=258 +KW_SYSTEM=259 +KW_TABLE=260 +KW_TABLES=261 +KW_TABLESAMPLE=262 +KW_TEXT=263 +KW_TEXT_STRING=264 +KW_THEN=265 +KW_TIES=266 +KW_TIME=267 +KW_TIMESTAMP=268 +KW_TO=269 +KW_TRAILING=270 +KW_TRANSACTION=271 +KW_TRIM=272 +KW_TRUE=273 +KW_TRUNCATE=274 +KW_TRY_CAST=275 +KW_TYPE=276 +KW_UESCAPE=277 +KW_UNBOUNDED=278 +KW_UNCOMMITTED=279 +KW_UNCONDITIONAL=280 +KW_UNION=281 +KW_UNIQUE=282 +KW_UNKNOWN=283 +KW_UNMATCHED=284 +KW_UNNEST=285 +KW_UNTIL=286 +KW_UPDATE=287 +KW_USE=288 +KW_USER=289 +KW_USING=290 +KW_UTF16=291 +KW_UTF32=292 +KW_UTF8=293 +KW_VALIDATE=294 +KW_VALUE=295 +KW_VALUES=296 +KW_VERBOSE=297 +KW_VERSION=298 +KW_VIEW=299 +KW_WHEN=300 +KW_WHERE=301 +KW_WHILE=302 +KW_WINDOW=303 +KW_WITH=304 +KW_WITHIN=305 +KW_WITHOUT=306 +KW_WORK=307 +KW_WRAPPER=308 +KW_WRITE=309 +KW_YEAR=310 +KW_ZONE=311 +EQ=312 +NEQ=313 +LT=314 +LTE=315 +GT=316 +GTE=317 +PLUS=318 +MINUS=319 +ASTERISK=320 +SLASH=321 +PERCENT=322 +CONCAT=323 +QUESTION_MARK=324 +SEMICOLON=325 +STRING=326 +UNICODE_STRING=327 +BINARY_LITERAL=328 +INTEGER_VALUE=329 +DECIMAL_VALUE=330 +DOUBLE_VALUE=331 +IDENTIFIER=332 +DIGIT_IDENTIFIER=333 +QUOTED_IDENTIFIER=334 +BACKQUOTED_IDENTIFIER=335 +SIMPLE_COMMENT=336 +BRACKETED_COMMENT=337 +WS=338 +UNRECOGNIZED=339 +DELIMITER=340 '('=1 ')'=2 ','=3 '.'=4 'SKIP'=5 -'->'=6 -'['=7 -']'=8 -'|'=9 -'^'=10 -'$'=11 -'{-'=12 -'-}'=13 -'{'=14 -'}'=15 -'=>'=16 -'ADD'=17 -'ADMIN'=18 -'AFTER'=19 -'ALL'=20 -'ALTER'=21 -'ANALYZE'=22 -'AND'=23 -'ANY'=24 -'ARRAY'=25 -'AS'=26 -'ASC'=27 -'AT'=28 -'AUTHORIZATION'=29 -'BERNOULLI'=30 -'BETWEEN'=31 -'BY'=32 -'CALL'=33 -'CASCADE'=34 -'CASE'=35 -'CAST'=36 -'CATALOGS'=37 -'COLUMN'=38 -'COLUMNS'=39 -'COMMENT'=40 -'COMMIT'=41 -'COMMITTED'=42 -'CONSTRAINT'=43 -'CREATE'=44 -'CROSS'=45 -'CUBE'=46 -'CURRENT'=47 -'CURRENT_CATALOG'=48 -'CURRENT_DATE'=49 -'CURRENT_PATH'=50 -'CURRENT_ROLE'=51 -'CURRENT_SCHEMA'=52 -'CURRENT_TIME'=53 -'CURRENT_TIMESTAMP'=54 -'CURRENT_USER'=55 -'DATA'=56 -'DATE'=57 -'DAY'=58 -'DEFAULT'=59 -'DEALLOCATE'=60 -'DEFINER'=61 -'DELETE'=62 -'DESC'=63 -'DESCRIBE'=64 -'DEFINE'=65 -'DISTINCT'=66 -'DISTRIBUTED'=67 -'DOUBLE'=68 -'DROP'=69 -'ELSE'=70 -'EMPTY'=71 -'END'=72 -'ESCAPE'=73 -'EXCEPT'=74 -'EXCLUDING'=75 -'EXECUTE'=76 -'EXISTS'=77 -'EXPLAIN'=78 -'EXTRACT'=79 -'FALSE'=80 -'FETCH'=81 -'FILTER'=82 -'FINAL'=83 -'FIRST'=84 -'FOLLOWING'=85 -'FOR'=86 -'FORMAT'=87 -'FROM'=88 -'FULL'=89 -'FUNCTIONS'=90 -'GRANT'=91 -'GRANTED'=92 -'GRANTS'=93 -'DENY'=94 -'GRAPHVIZ'=95 -'GROUP'=96 -'GROUPING'=97 -'GROUPS'=98 -'HAVING'=99 -'HOUR'=100 -'IF'=101 -'IGNORE'=102 -'IN'=103 -'INCLUDING'=104 -'INITIAL'=105 -'INNER'=106 -'INPUT'=107 -'INSERT'=108 -'INTERSECT'=109 -'INTERVAL'=110 -'INTO'=111 -'INVOKER'=112 -'IO'=113 -'IS'=114 -'ISOLATION'=115 -'JOIN'=116 -'JSON'=117 -'LAST'=118 -'LATERAL'=119 -'LEFT'=120 -'LEVEL'=121 -'LIKE'=122 -'LIMIT'=123 -'LOCAL'=124 -'LOCALTIME'=125 -'LOCALTIMESTAMP'=126 -'LOGICAL'=127 -'MAP'=128 -'MATCH'=129 -'MATCHED'=130 -'MATCHES'=131 -'MATCH_RECOGNIZE'=132 -'MATERIALIZED'=133 -'MEASURES'=134 -'MERGE'=135 -'MINUTE'=136 -'MONTH'=137 -'NATURAL'=138 -'NEXT'=139 -'NFC'=140 -'NFD'=141 -'NFKC'=142 -'NFKD'=143 -'NO'=144 -'NONE'=145 -'NORMALIZE'=146 -'NOT'=147 -'NULL'=148 -'NULLIF'=149 -'NULLS'=150 -'OFFSET'=151 -'OMIT'=152 -'ON'=153 -'ONE'=154 -'ONLY'=155 -'OPTION'=156 -'OR'=157 -'ORDER'=158 -'ORDINALITY'=159 -'OUTER'=160 -'OUTPUT'=161 -'OVER'=162 -'PARTITION'=163 -'PARTITIONS'=164 -'PAST'=165 -'PATH'=166 -'PATTERN'=167 -'PER'=168 -'PERMUTE'=169 -'POSITION'=170 -'PRECEDING'=171 -'PRECISION'=172 -'PREPARE'=173 -'PRIVILEGES'=174 -'PROPERTIES'=175 -'RANGE'=176 -'READ'=177 -'RECURSIVE'=178 -'REFRESH'=179 -'RENAME'=180 -'REPEATABLE'=181 -'REPLACE'=182 -'RESET'=183 -'RESPECT'=184 -'RESTRICT'=185 -'REVOKE'=186 -'RIGHT'=187 -'ROLE'=188 -'ROLES'=189 -'ROLLBACK'=190 -'ROLLUP'=191 -'ROW'=192 -'ROWS'=193 -'RUNNING'=194 -'SCHEMA'=195 -'SCHEMAS'=196 -'SECOND'=197 -'SECURITY'=198 -'SEEK'=199 -'SELECT'=200 -'SERIALIZABLE'=201 -'SESSION'=202 -'SET'=203 -'SETS'=204 -'SHOW'=205 -'SOME'=206 -'START'=207 -'STATS'=208 -'SUBSET'=209 -'SUBSTRING'=210 -'SYSTEM'=211 -'TABLE'=212 -'TABLES'=213 -'TABLESAMPLE'=214 -'TEXT'=215 -'THEN'=216 -'TIES'=217 -'TIME'=218 -'TIMESTAMP'=219 -'TO'=220 -'TRANSACTION'=221 -'TRUNCATE'=222 -'TRUE'=223 -'TRY_CAST'=224 -'TYPE'=225 -'UESCAPE'=226 -'UNBOUNDED'=227 -'UNCOMMITTED'=228 -'UNION'=229 -'UNMATCHED'=230 -'UNNEST'=231 -'UPDATE'=232 -'USE'=233 -'USER'=234 -'USING'=235 -'VALIDATE'=236 -'VALUES'=237 -'VERBOSE'=238 -'VIEW'=239 -'WHEN'=240 -'WHERE'=241 -'WINDOW'=242 -'WITH'=243 -'WITHOUT'=244 -'WORK'=245 -'WRITE'=246 -'YEAR'=247 -'ZONE'=248 -'='=249 -'<'=251 -'<='=252 -'>'=253 -'>='=254 -'+'=255 -'-'=256 -'*'=257 -'/'=258 -'%'=259 -'||'=260 -'?'=261 -';'=272 +'=>'=6 +'->'=7 +'['=8 +']'=9 +':'=10 +'|'=11 +'^'=12 +'$'=13 +'{-'=14 +'-}'=15 +'{'=16 +'}'=17 +'ABSENT'=18 +'ADD'=19 +'ADMIN'=20 +'AFTER'=21 +'ALL'=22 +'ALTER'=23 +'ANALYZE'=24 +'AND'=25 +'ANY'=26 +'ARRAY'=27 +'AS'=28 +'ASC'=29 +'AT'=30 +'AUTHORIZATION'=31 +'BEGIN'=32 +'BERNOULLI'=33 +'BETWEEN'=34 +'BOTH'=35 +'BY'=36 +'CALL'=37 +'CALLED'=38 +'CASCADE'=39 +'CASE'=40 +'CAST'=41 +'CATALOG'=42 +'CATALOGS'=43 +'COLUMN'=44 +'COLUMNS'=45 +'COMMENT'=46 +'COMMIT'=47 +'COMMITTED'=48 +'CONDITIONAL'=49 +'CONSTRAINT'=50 +'COUNT'=51 +'COPARTITION'=52 +'CREATE'=53 +'CROSS'=54 +'CUBE'=55 +'CURRENT'=56 +'CURRENT_CATALOG'=57 +'CURRENT_DATE'=58 +'CURRENT_PATH'=59 +'CURRENT_ROLE'=60 +'CURRENT_SCHEMA'=61 +'CURRENT_TIME'=62 +'CURRENT_TIMESTAMP'=63 +'CURRENT_USER'=64 +'DATA'=65 +'DATE'=66 +'DAY'=67 +'DEALLOCATE'=68 +'DECLARE'=69 +'DEFAULT'=70 +'DEFINE'=71 +'DEFINER'=72 +'DELETE'=73 +'DENY'=74 +'DESC'=75 +'DESCRIBE'=76 +'DESCRIPTOR'=77 +'DETERMINISTIC'=78 +'DISTINCT'=79 +'DISTRIBUTED'=80 +'DO'=81 +'DOUBLE'=82 +'DROP'=83 +'ELSE'=84 +'EMPTY'=85 +'ELSEIF'=86 +'ENCODING'=87 +'END'=88 +'ERROR'=89 +'ESCAPE'=90 +'EXCEPT'=91 +'EXCLUDING'=92 +'EXECUTE'=93 +'EXISTS'=94 +'EXPLAIN'=95 +'EXTRACT'=96 +'FALSE'=97 +'FETCH'=98 +'FILTER'=99 +'FINAL'=100 +'FIRST'=101 +'FOLLOWING'=102 +'FOR'=103 +'FORMAT'=104 +'FROM'=105 +'FULL'=106 +'FUNCTION'=107 +'FUNCTIONS'=108 +'GRACE'=109 +'GRANT'=110 +'GRANTED'=111 +'GRANTS'=112 +'GRAPHVIZ'=113 +'GROUP'=114 +'GROUPING'=115 +'GROUPS'=116 +'HAVING'=117 +'HOUR'=118 +'IF'=119 +'IGNORE'=120 +'IMMEDIATE'=121 +'IN'=122 +'INCLUDING'=123 +'INITIAL'=124 +'INNER'=125 +'INPUT'=126 +'INSERT'=127 +'INTERSECT'=128 +'INTERVAL'=129 +'INTO'=130 +'INVOKER'=131 +'IO'=132 +'IS'=133 +'ISOLATION'=134 +'ITERATE'=135 +'JOIN'=136 +'JSON'=137 +'JSON_ARRAY'=138 +'JSON_EXISTS'=139 +'JSON_OBJECT'=140 +'JSON_QUERY'=141 +'JSON_TABLE'=142 +'JSON_VALUE'=143 +'KEEP'=144 +'KEY'=145 +'KEYS'=146 +'LANGUAGE'=147 +'LAST'=148 +'LATERAL'=149 +'LEADING'=150 +'LEAVE'=151 +'LEFT'=152 +'LEVEL'=153 +'LIKE'=154 +'LIMIT'=155 +'LISTAGG'=156 +'LOCAL'=157 +'LOCALTIME'=158 +'LOCALTIMESTAMP'=159 +'LOGICAL'=160 +'LOOP'=161 +'MAP'=162 +'MATCH'=163 +'MATCHED'=164 +'MATCHES'=165 +'MATCH_RECOGNIZE'=166 +'MATERIALIZED'=167 +'MEASURES'=168 +'MERGE'=169 +'MINUTE'=170 +'MONTH'=171 +'NATURAL'=172 +'NESTED'=173 +'NEXT'=174 +'NFC'=175 +'NFD'=176 +'NFKC'=177 +'NFKD'=178 +'NO'=179 +'NONE'=180 +'NORMALIZE'=181 +'NOT'=182 +'NULL'=183 +'NULLIF'=184 +'NULLS'=185 +'OBJECT'=186 +'OF'=187 +'OFFSET'=188 +'OMIT'=189 +'ON'=190 +'ONE'=191 +'ONLY'=192 +'OPTION'=193 +'OR'=194 +'ORDER'=195 +'ORDINALITY'=196 +'OUTER'=197 +'OUTPUT'=198 +'OVER'=199 +'OVERFLOW'=200 +'PARTITION'=201 +'PARTITIONS'=202 +'PASSING'=203 +'PAST'=204 +'PATH'=205 +'PATTERN'=206 +'PER'=207 +'PERIOD'=208 +'PERMUTE'=209 +'PLAN'=210 +'POSITION'=211 +'PRECEDING'=212 +'PRECISION'=213 +'PREPARE'=214 +'PRIVILEGES'=215 +'PROPERTIES'=216 +'PRUNE'=217 +'QUOTES'=218 +'RANGE'=219 +'READ'=220 +'RECURSIVE'=221 +'REFRESH'=222 +'RENAME'=223 +'REPEAT'=224 +'REPEATABLE'=225 +'REPLACE'=226 +'RESET'=227 +'RESPECT'=228 +'RESTRICT'=229 +'RETURN'=230 +'RETURNING'=231 +'RETURNS'=232 +'REVOKE'=233 +'RIGHT'=234 +'ROLE'=235 +'ROLES'=236 +'ROLLBACK'=237 +'ROLLUP'=238 +'ROW'=239 +'ROWS'=240 +'RUNNING'=241 +'SCALAR'=242 +'SCHEMA'=243 +'SCHEMAS'=244 +'SECOND'=245 +'SECURITY'=246 +'SEEK'=247 +'SELECT'=248 +'SERIALIZABLE'=249 +'SESSION'=250 +'SET'=251 +'SETS'=252 +'SHOW'=253 +'SOME'=254 +'START'=255 +'STATS'=256 +'SUBSET'=257 +'SUBSTRING'=258 +'SYSTEM'=259 +'TABLE'=260 +'TABLES'=261 +'TABLESAMPLE'=262 +'TEXT'=263 +'STRING'=264 +'THEN'=265 +'TIES'=266 +'TIME'=267 +'TIMESTAMP'=268 +'TO'=269 +'TRAILING'=270 +'TRANSACTION'=271 +'TRIM'=272 +'TRUE'=273 +'TRUNCATE'=274 +'TRY_CAST'=275 +'TYPE'=276 +'UESCAPE'=277 +'UNBOUNDED'=278 +'UNCOMMITTED'=279 +'UNCONDITIONAL'=280 +'UNION'=281 +'UNIQUE'=282 +'UNKNOWN'=283 +'UNMATCHED'=284 +'UNNEST'=285 +'UNTIL'=286 +'UPDATE'=287 +'USE'=288 +'USER'=289 +'USING'=290 +'UTF16'=291 +'UTF32'=292 +'UTF8'=293 +'VALIDATE'=294 +'VALUE'=295 +'VALUES'=296 +'VERBOSE'=297 +'VERSION'=298 +'VIEW'=299 +'WHEN'=300 +'WHERE'=301 +'WHILE'=302 +'WINDOW'=303 +'WITH'=304 +'WITHIN'=305 +'WITHOUT'=306 +'WORK'=307 +'WRAPPER'=308 +'WRITE'=309 +'YEAR'=310 +'ZONE'=311 +'='=312 +'<'=314 +'<='=315 +'>'=316 +'>='=317 +'+'=318 +'-'=319 +'*'=320 +'/'=321 +'%'=322 +'||'=323 +'?'=324 +';'=325 diff --git a/src/lib/trino/TrinoSqlLexer.interp b/src/lib/trino/TrinoSqlLexer.interp index 83be15a3..6ba8c438 100644 --- a/src/lib/trino/TrinoSqlLexer.interp +++ b/src/lib/trino/TrinoSqlLexer.interp @@ -5,9 +5,11 @@ null ',' '.' 'SKIP' +'=>' '->' '[' ']' +':' '|' '^' '$' @@ -15,7 +17,7 @@ null '-}' '{' '}' -'=>' +'ABSENT' 'ADD' 'ADMIN' 'AFTER' @@ -29,20 +31,27 @@ null 'ASC' 'AT' 'AUTHORIZATION' +'BEGIN' 'BERNOULLI' 'BETWEEN' +'BOTH' 'BY' 'CALL' +'CALLED' 'CASCADE' 'CASE' 'CAST' +'CATALOG' 'CATALOGS' 'COLUMN' 'COLUMNS' 'COMMENT' 'COMMIT' 'COMMITTED' +'CONDITIONAL' 'CONSTRAINT' +'COUNT' +'COPARTITION' 'CREATE' 'CROSS' 'CUBE' @@ -58,20 +67,28 @@ null 'DATA' 'DATE' 'DAY' -'DEFAULT' 'DEALLOCATE' +'DECLARE' +'DEFAULT' +'DEFINE' 'DEFINER' 'DELETE' +'DENY' 'DESC' 'DESCRIBE' -'DEFINE' +'DESCRIPTOR' +'DETERMINISTIC' 'DISTINCT' 'DISTRIBUTED' +'DO' 'DOUBLE' 'DROP' 'ELSE' 'EMPTY' +'ELSEIF' +'ENCODING' 'END' +'ERROR' 'ESCAPE' 'EXCEPT' 'EXCLUDING' @@ -89,11 +106,12 @@ null 'FORMAT' 'FROM' 'FULL' +'FUNCTION' 'FUNCTIONS' +'GRACE' 'GRANT' 'GRANTED' 'GRANTS' -'DENY' 'GRAPHVIZ' 'GROUP' 'GROUPING' @@ -102,6 +120,7 @@ null 'HOUR' 'IF' 'IGNORE' +'IMMEDIATE' 'IN' 'INCLUDING' 'INITIAL' @@ -115,18 +134,33 @@ null 'IO' 'IS' 'ISOLATION' +'ITERATE' 'JOIN' 'JSON' +'JSON_ARRAY' +'JSON_EXISTS' +'JSON_OBJECT' +'JSON_QUERY' +'JSON_TABLE' +'JSON_VALUE' +'KEEP' +'KEY' +'KEYS' +'LANGUAGE' 'LAST' 'LATERAL' +'LEADING' +'LEAVE' 'LEFT' 'LEVEL' 'LIKE' 'LIMIT' +'LISTAGG' 'LOCAL' 'LOCALTIME' 'LOCALTIMESTAMP' 'LOGICAL' +'LOOP' 'MAP' 'MATCH' 'MATCHED' @@ -138,6 +172,7 @@ null 'MINUTE' 'MONTH' 'NATURAL' +'NESTED' 'NEXT' 'NFC' 'NFD' @@ -150,6 +185,8 @@ null 'NULL' 'NULLIF' 'NULLS' +'OBJECT' +'OF' 'OFFSET' 'OMIT' 'ON' @@ -162,29 +199,39 @@ null 'OUTER' 'OUTPUT' 'OVER' +'OVERFLOW' 'PARTITION' 'PARTITIONS' +'PASSING' 'PAST' 'PATH' 'PATTERN' 'PER' +'PERIOD' 'PERMUTE' +'PLAN' 'POSITION' 'PRECEDING' 'PRECISION' 'PREPARE' 'PRIVILEGES' 'PROPERTIES' +'PRUNE' +'QUOTES' 'RANGE' 'READ' 'RECURSIVE' 'REFRESH' 'RENAME' +'REPEAT' 'REPEATABLE' 'REPLACE' 'RESET' 'RESPECT' 'RESTRICT' +'RETURN' +'RETURNING' +'RETURNS' 'REVOKE' 'RIGHT' 'ROLE' @@ -194,6 +241,7 @@ null 'ROW' 'ROWS' 'RUNNING' +'SCALAR' 'SCHEMA' 'SCHEMAS' 'SECOND' @@ -215,36 +263,51 @@ null 'TABLES' 'TABLESAMPLE' 'TEXT' +'STRING' 'THEN' 'TIES' 'TIME' 'TIMESTAMP' 'TO' +'TRAILING' 'TRANSACTION' -'TRUNCATE' +'TRIM' 'TRUE' +'TRUNCATE' 'TRY_CAST' 'TYPE' 'UESCAPE' 'UNBOUNDED' 'UNCOMMITTED' +'UNCONDITIONAL' 'UNION' +'UNIQUE' +'UNKNOWN' 'UNMATCHED' 'UNNEST' +'UNTIL' 'UPDATE' 'USE' 'USER' 'USING' +'UTF16' +'UTF32' +'UTF8' 'VALIDATE' +'VALUE' 'VALUES' 'VERBOSE' +'VERSION' 'VIEW' 'WHEN' 'WHERE' +'WHILE' 'WINDOW' 'WITH' +'WITHIN' 'WITHOUT' 'WORK' +'WRAPPER' 'WRITE' 'YEAR' 'ZONE' @@ -261,6 +324,7 @@ null '%' '||' '?' +';' null null null @@ -271,7 +335,6 @@ null null null null -';' null null null @@ -295,6 +358,8 @@ null null null null +null +KW_ABSENT KW_ADD KW_ADMIN KW_AFTER @@ -308,20 +373,27 @@ KW_AS KW_ASC KW_AT KW_AUTHORIZATION +KW_BEGIN KW_BERNOULLI KW_BETWEEN +KW_BOTH KW_BY KW_CALL +KW_CALLED KW_CASCADE KW_CASE KW_CAST +KW_CATALOG KW_CATALOGS KW_COLUMN KW_COLUMNS KW_COMMENT KW_COMMIT KW_COMMITTED +KW_CONDITIONAL KW_CONSTRAINT +KW_COUNT +KW_COPARTITION KW_CREATE KW_CROSS KW_CUBE @@ -337,20 +409,28 @@ KW_CURRENT_USER KW_DATA KW_DATE KW_DAY -KW_DEFAULT KW_DEALLOCATE +KW_DECLARE +KW_DEFAULT +KW_DEFINE KW_DEFINER KW_DELETE +KW_DENY KW_DESC KW_DESCRIBE -KW_DEFINE +KW_DESCRIPTOR +KW_DETERMINISTIC KW_DISTINCT KW_DISTRIBUTED +KW_DO KW_DOUBLE KW_DROP KW_ELSE KW_EMPTY +KW_ELSEIF +KW_ENCODING KW_END +KW_ERROR KW_ESCAPE KW_EXCEPT KW_EXCLUDING @@ -368,11 +448,12 @@ KW_FOR KW_FORMAT KW_FROM KW_FULL +KW_FUNCTION KW_FUNCTIONS +KW_GRACE KW_GRANT KW_GRANTED KW_GRANTS -KW_DENY KW_GRAPHVIZ KW_GROUP KW_GROUPING @@ -381,6 +462,7 @@ KW_HAVING KW_HOUR KW_IF KW_IGNORE +KW_IMMEDIATE KW_IN KW_INCLUDING KW_INITIAL @@ -394,18 +476,33 @@ KW_INVOKER KW_IO KW_IS KW_ISOLATION +KW_ITERATE KW_JOIN KW_JSON +KW_JSON_ARRAY +KW_JSON_EXISTS +KW_JSON_OBJECT +KW_JSON_QUERY +KW_JSON_TABLE +KW_JSON_VALUE +KW_KEEP +KW_KEY +KW_KEYS +KW_LANGUAGE KW_LAST KW_LATERAL +KW_LEADING +KW_LEAVE KW_LEFT KW_LEVEL KW_LIKE KW_LIMIT +KW_LISTAGG KW_LOCAL KW_LOCALTIME KW_LOCALTIMESTAMP KW_LOGICAL +KW_LOOP KW_MAP KW_MATCH KW_MATCHED @@ -417,6 +514,7 @@ KW_MERGE KW_MINUTE KW_MONTH KW_NATURAL +KW_NESTED KW_NEXT KW_NFC KW_NFD @@ -429,6 +527,8 @@ KW_NOT KW_NULL KW_NULLIF KW_NULLS +KW_OBJECT +KW_OF KW_OFFSET KW_OMIT KW_ON @@ -441,29 +541,39 @@ KW_ORDINALITY KW_OUTER KW_OUTPUT KW_OVER +KW_OVERFLOW KW_PARTITION KW_PARTITIONS +KW_PASSING KW_PAST KW_PATH KW_PATTERN KW_PER +KW_PERIOD KW_PERMUTE +KW_PLAN KW_POSITION KW_PRECEDING KW_PRECISION KW_PREPARE KW_PRIVILEGES KW_PROPERTIES +KW_PRUNE +KW_QUOTES KW_RANGE KW_READ KW_RECURSIVE KW_REFRESH KW_RENAME +KW_REPEAT KW_REPEATABLE KW_REPLACE KW_RESET KW_RESPECT KW_RESTRICT +KW_RETURN +KW_RETURNING +KW_RETURNS KW_REVOKE KW_RIGHT KW_ROLE @@ -473,6 +583,7 @@ KW_ROLLUP KW_ROW KW_ROWS KW_RUNNING +KW_SCALAR KW_SCHEMA KW_SCHEMAS KW_SECOND @@ -494,36 +605,51 @@ KW_TABLE KW_TABLES KW_TABLESAMPLE KW_TEXT +KW_TEXT_STRING KW_THEN KW_TIES KW_TIME KW_TIMESTAMP KW_TO +KW_TRAILING KW_TRANSACTION -KW_TRUNCATE +KW_TRIM KW_TRUE +KW_TRUNCATE KW_TRY_CAST KW_TYPE KW_UESCAPE KW_UNBOUNDED KW_UNCOMMITTED +KW_UNCONDITIONAL KW_UNION +KW_UNIQUE +KW_UNKNOWN KW_UNMATCHED KW_UNNEST +KW_UNTIL KW_UPDATE KW_USE KW_USER KW_USING +KW_UTF16 +KW_UTF32 +KW_UTF8 KW_VALIDATE +KW_VALUE KW_VALUES KW_VERBOSE +KW_VERSION KW_VIEW KW_WHEN KW_WHERE +KW_WHILE KW_WINDOW KW_WITH +KW_WITHIN KW_WITHOUT KW_WORK +KW_WRAPPER KW_WRITE KW_YEAR KW_ZONE @@ -540,6 +666,7 @@ SLASH PERCENT CONCAT QUESTION_MARK +SEMICOLON STRING UNICODE_STRING BINARY_LITERAL @@ -550,7 +677,6 @@ IDENTIFIER DIGIT_IDENTIFIER QUOTED_IDENTIFIER BACKQUOTED_IDENTIFIER -SEMICOLON SIMPLE_COMMENT BRACKETED_COMMENT WS @@ -573,6 +699,8 @@ T__12 T__13 T__14 T__15 +T__16 +KW_ABSENT KW_ADD KW_ADMIN KW_AFTER @@ -586,20 +714,27 @@ KW_AS KW_ASC KW_AT KW_AUTHORIZATION +KW_BEGIN KW_BERNOULLI KW_BETWEEN +KW_BOTH KW_BY KW_CALL +KW_CALLED KW_CASCADE KW_CASE KW_CAST +KW_CATALOG KW_CATALOGS KW_COLUMN KW_COLUMNS KW_COMMENT KW_COMMIT KW_COMMITTED +KW_CONDITIONAL KW_CONSTRAINT +KW_COUNT +KW_COPARTITION KW_CREATE KW_CROSS KW_CUBE @@ -615,20 +750,28 @@ KW_CURRENT_USER KW_DATA KW_DATE KW_DAY -KW_DEFAULT KW_DEALLOCATE +KW_DECLARE +KW_DEFAULT +KW_DEFINE KW_DEFINER KW_DELETE +KW_DENY KW_DESC KW_DESCRIBE -KW_DEFINE +KW_DESCRIPTOR +KW_DETERMINISTIC KW_DISTINCT KW_DISTRIBUTED +KW_DO KW_DOUBLE KW_DROP KW_ELSE KW_EMPTY +KW_ELSEIF +KW_ENCODING KW_END +KW_ERROR KW_ESCAPE KW_EXCEPT KW_EXCLUDING @@ -646,11 +789,12 @@ KW_FOR KW_FORMAT KW_FROM KW_FULL +KW_FUNCTION KW_FUNCTIONS +KW_GRACE KW_GRANT KW_GRANTED KW_GRANTS -KW_DENY KW_GRAPHVIZ KW_GROUP KW_GROUPING @@ -659,6 +803,7 @@ KW_HAVING KW_HOUR KW_IF KW_IGNORE +KW_IMMEDIATE KW_IN KW_INCLUDING KW_INITIAL @@ -672,18 +817,33 @@ KW_INVOKER KW_IO KW_IS KW_ISOLATION +KW_ITERATE KW_JOIN KW_JSON +KW_JSON_ARRAY +KW_JSON_EXISTS +KW_JSON_OBJECT +KW_JSON_QUERY +KW_JSON_TABLE +KW_JSON_VALUE +KW_KEEP +KW_KEY +KW_KEYS +KW_LANGUAGE KW_LAST KW_LATERAL +KW_LEADING +KW_LEAVE KW_LEFT KW_LEVEL KW_LIKE KW_LIMIT +KW_LISTAGG KW_LOCAL KW_LOCALTIME KW_LOCALTIMESTAMP KW_LOGICAL +KW_LOOP KW_MAP KW_MATCH KW_MATCHED @@ -695,6 +855,7 @@ KW_MERGE KW_MINUTE KW_MONTH KW_NATURAL +KW_NESTED KW_NEXT KW_NFC KW_NFD @@ -707,6 +868,8 @@ KW_NOT KW_NULL KW_NULLIF KW_NULLS +KW_OBJECT +KW_OF KW_OFFSET KW_OMIT KW_ON @@ -719,29 +882,39 @@ KW_ORDINALITY KW_OUTER KW_OUTPUT KW_OVER +KW_OVERFLOW KW_PARTITION KW_PARTITIONS +KW_PASSING KW_PAST KW_PATH KW_PATTERN KW_PER +KW_PERIOD KW_PERMUTE +KW_PLAN KW_POSITION KW_PRECEDING KW_PRECISION KW_PREPARE KW_PRIVILEGES KW_PROPERTIES +KW_PRUNE +KW_QUOTES KW_RANGE KW_READ KW_RECURSIVE KW_REFRESH KW_RENAME +KW_REPEAT KW_REPEATABLE KW_REPLACE KW_RESET KW_RESPECT KW_RESTRICT +KW_RETURN +KW_RETURNING +KW_RETURNS KW_REVOKE KW_RIGHT KW_ROLE @@ -751,6 +924,7 @@ KW_ROLLUP KW_ROW KW_ROWS KW_RUNNING +KW_SCALAR KW_SCHEMA KW_SCHEMAS KW_SECOND @@ -772,36 +946,51 @@ KW_TABLE KW_TABLES KW_TABLESAMPLE KW_TEXT +KW_TEXT_STRING KW_THEN KW_TIES KW_TIME KW_TIMESTAMP KW_TO +KW_TRAILING KW_TRANSACTION -KW_TRUNCATE +KW_TRIM KW_TRUE +KW_TRUNCATE KW_TRY_CAST KW_TYPE KW_UESCAPE KW_UNBOUNDED KW_UNCOMMITTED +KW_UNCONDITIONAL KW_UNION +KW_UNIQUE +KW_UNKNOWN KW_UNMATCHED KW_UNNEST +KW_UNTIL KW_UPDATE KW_USE KW_USER KW_USING +KW_UTF16 +KW_UTF32 +KW_UTF8 KW_VALIDATE +KW_VALUE KW_VALUES KW_VERBOSE +KW_VERSION KW_VIEW KW_WHEN KW_WHERE +KW_WHILE KW_WINDOW KW_WITH +KW_WITHIN KW_WITHOUT KW_WORK +KW_WRAPPER KW_WRITE KW_YEAR KW_ZONE @@ -818,6 +1007,7 @@ SLASH PERCENT CONCAT QUESTION_MARK +SEMICOLON STRING UNICODE_STRING BINARY_LITERAL @@ -828,7 +1018,10 @@ IDENTIFIER DIGIT_IDENTIFIER QUOTED_IDENTIFIER BACKQUOTED_IDENTIFIER -SEMICOLON +DECIMAL_INTEGER +HEXADECIMAL_INTEGER +OCTAL_INTEGER +BINARY_INTEGER EXPONENT DIGIT LETTER @@ -845,4 +1038,4 @@ mode names: DEFAULT_MODE atn: -[4, 0, 276, 2467, 6, -1, 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, 7, 268, 2, 269, 7, 269, 2, 270, 7, 270, 2, 271, 7, 271, 2, 272, 7, 272, 2, 273, 7, 273, 2, 274, 7, 274, 2, 275, 7, 275, 2, 276, 7, 276, 2, 277, 7, 277, 2, 278, 7, 278, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 134, 1, 134, 1, 134, 1, 134, 1, 134, 1, 134, 1, 135, 1, 135, 1, 135, 1, 135, 1, 135, 1, 135, 1, 135, 1, 136, 1, 136, 1, 136, 1, 136, 1, 136, 1, 136, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 139, 1, 139, 1, 139, 1, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 143, 1, 143, 1, 143, 1, 144, 1, 144, 1, 144, 1, 144, 1, 144, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 146, 1, 146, 1, 146, 1, 146, 1, 147, 1, 147, 1, 147, 1, 147, 1, 147, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 149, 1, 149, 1, 149, 1, 149, 1, 149, 1, 149, 1, 150, 1, 150, 1, 150, 1, 150, 1, 150, 1, 150, 1, 150, 1, 151, 1, 151, 1, 151, 1, 151, 1, 151, 1, 152, 1, 152, 1, 152, 1, 153, 1, 153, 1, 153, 1, 153, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 156, 1, 156, 1, 156, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 1, 161, 1, 161, 1, 161, 1, 161, 1, 161, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 164, 1, 164, 1, 164, 1, 164, 1, 164, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 167, 1, 167, 1, 167, 1, 167, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 169, 1, 169, 1, 169, 1, 169, 1, 169, 1, 169, 1, 169, 1, 169, 1, 169, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 176, 1, 176, 1, 176, 1, 176, 1, 176, 1, 177, 1, 177, 1, 177, 1, 177, 1, 177, 1, 177, 1, 177, 1, 177, 1, 177, 1, 177, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 179, 1, 179, 1, 179, 1, 179, 1, 179, 1, 179, 1, 179, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 181, 1, 181, 1, 181, 1, 181, 1, 181, 1, 181, 1, 181, 1, 181, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 185, 1, 185, 1, 185, 1, 185, 1, 185, 1, 185, 1, 185, 1, 186, 1, 186, 1, 186, 1, 186, 1, 186, 1, 186, 1, 187, 1, 187, 1, 187, 1, 187, 1, 187, 1, 188, 1, 188, 1, 188, 1, 188, 1, 188, 1, 188, 1, 189, 1, 189, 1, 189, 1, 189, 1, 189, 1, 189, 1, 189, 1, 189, 1, 189, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 191, 1, 191, 1, 191, 1, 191, 1, 192, 1, 192, 1, 192, 1, 192, 1, 192, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 198, 1, 198, 1, 198, 1, 198, 1, 198, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 202, 1, 202, 1, 202, 1, 202, 1, 203, 1, 203, 1, 203, 1, 203, 1, 203, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 206, 1, 206, 1, 206, 1, 206, 1, 206, 1, 206, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 214, 1, 214, 1, 214, 1, 214, 1, 214, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 217, 1, 217, 1, 217, 1, 217, 1, 217, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 219, 1, 219, 1, 219, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 222, 1, 222, 1, 222, 1, 222, 1, 222, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 232, 1, 232, 1, 232, 1, 232, 1, 233, 1, 233, 1, 233, 1, 233, 1, 233, 1, 234, 1, 234, 1, 234, 1, 234, 1, 234, 1, 234, 1, 235, 1, 235, 1, 235, 1, 235, 1, 235, 1, 235, 1, 235, 1, 235, 1, 235, 1, 236, 1, 236, 1, 236, 1, 236, 1, 236, 1, 236, 1, 236, 1, 237, 1, 237, 1, 237, 1, 237, 1, 237, 1, 237, 1, 237, 1, 237, 1, 238, 1, 238, 1, 238, 1, 238, 1, 238, 1, 239, 1, 239, 1, 239, 1, 239, 1, 239, 1, 240, 1, 240, 1, 240, 1, 240, 1, 240, 1, 240, 1, 241, 1, 241, 1, 241, 1, 241, 1, 241, 1, 241, 1, 241, 1, 242, 1, 242, 1, 242, 1, 242, 1, 242, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 244, 1, 244, 1, 244, 1, 244, 1, 244, 1, 245, 1, 245, 1, 245, 1, 245, 1, 245, 1, 245, 1, 246, 1, 246, 1, 246, 1, 246, 1, 246, 1, 247, 1, 247, 1, 247, 1, 247, 1, 247, 1, 248, 1, 248, 1, 249, 1, 249, 1, 249, 1, 249, 3, 249, 2257, 8, 249, 1, 250, 1, 250, 1, 251, 1, 251, 1, 251, 1, 252, 1, 252, 1, 253, 1, 253, 1, 253, 1, 254, 1, 254, 1, 255, 1, 255, 1, 256, 1, 256, 1, 257, 1, 257, 1, 258, 1, 258, 1, 259, 1, 259, 1, 259, 1, 260, 1, 260, 1, 261, 1, 261, 1, 261, 1, 261, 5, 261, 2288, 8, 261, 10, 261, 12, 261, 2291, 9, 261, 1, 261, 1, 261, 1, 262, 1, 262, 1, 262, 1, 262, 1, 262, 1, 262, 1, 262, 5, 262, 2302, 8, 262, 10, 262, 12, 262, 2305, 9, 262, 1, 262, 1, 262, 1, 263, 1, 263, 1, 263, 1, 263, 5, 263, 2313, 8, 263, 10, 263, 12, 263, 2316, 9, 263, 1, 263, 1, 263, 1, 264, 4, 264, 2321, 8, 264, 11, 264, 12, 264, 2322, 1, 265, 4, 265, 2326, 8, 265, 11, 265, 12, 265, 2327, 1, 265, 1, 265, 5, 265, 2332, 8, 265, 10, 265, 12, 265, 2335, 9, 265, 1, 265, 1, 265, 4, 265, 2339, 8, 265, 11, 265, 12, 265, 2340, 3, 265, 2343, 8, 265, 1, 266, 4, 266, 2346, 8, 266, 11, 266, 12, 266, 2347, 1, 266, 1, 266, 5, 266, 2352, 8, 266, 10, 266, 12, 266, 2355, 9, 266, 3, 266, 2357, 8, 266, 1, 266, 1, 266, 1, 266, 1, 266, 4, 266, 2363, 8, 266, 11, 266, 12, 266, 2364, 1, 266, 1, 266, 3, 266, 2369, 8, 266, 1, 267, 1, 267, 3, 267, 2373, 8, 267, 1, 267, 1, 267, 1, 267, 5, 267, 2378, 8, 267, 10, 267, 12, 267, 2381, 9, 267, 1, 268, 1, 268, 1, 268, 1, 268, 4, 268, 2387, 8, 268, 11, 268, 12, 268, 2388, 1, 269, 1, 269, 1, 269, 1, 269, 5, 269, 2395, 8, 269, 10, 269, 12, 269, 2398, 9, 269, 1, 269, 1, 269, 1, 270, 1, 270, 1, 270, 1, 270, 5, 270, 2406, 8, 270, 10, 270, 12, 270, 2409, 9, 270, 1, 270, 1, 270, 1, 271, 1, 271, 1, 272, 1, 272, 3, 272, 2417, 8, 272, 1, 272, 4, 272, 2420, 8, 272, 11, 272, 12, 272, 2421, 1, 273, 1, 273, 1, 274, 1, 274, 1, 275, 1, 275, 1, 275, 1, 275, 5, 275, 2432, 8, 275, 10, 275, 12, 275, 2435, 9, 275, 1, 275, 3, 275, 2438, 8, 275, 1, 275, 3, 275, 2441, 8, 275, 1, 275, 1, 275, 1, 276, 1, 276, 1, 276, 1, 276, 5, 276, 2449, 8, 276, 10, 276, 12, 276, 2452, 9, 276, 1, 276, 1, 276, 1, 276, 1, 276, 1, 276, 1, 277, 4, 277, 2460, 8, 277, 11, 277, 12, 277, 2461, 1, 277, 1, 277, 1, 278, 1, 278, 1, 2450, 0, 279, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 201, 101, 203, 102, 205, 103, 207, 104, 209, 105, 211, 106, 213, 107, 215, 108, 217, 109, 219, 110, 221, 111, 223, 112, 225, 113, 227, 114, 229, 115, 231, 116, 233, 117, 235, 118, 237, 119, 239, 120, 241, 121, 243, 122, 245, 123, 247, 124, 249, 125, 251, 126, 253, 127, 255, 128, 257, 129, 259, 130, 261, 131, 263, 132, 265, 133, 267, 134, 269, 135, 271, 136, 273, 137, 275, 138, 277, 139, 279, 140, 281, 141, 283, 142, 285, 143, 287, 144, 289, 145, 291, 146, 293, 147, 295, 148, 297, 149, 299, 150, 301, 151, 303, 152, 305, 153, 307, 154, 309, 155, 311, 156, 313, 157, 315, 158, 317, 159, 319, 160, 321, 161, 323, 162, 325, 163, 327, 164, 329, 165, 331, 166, 333, 167, 335, 168, 337, 169, 339, 170, 341, 171, 343, 172, 345, 173, 347, 174, 349, 175, 351, 176, 353, 177, 355, 178, 357, 179, 359, 180, 361, 181, 363, 182, 365, 183, 367, 184, 369, 185, 371, 186, 373, 187, 375, 188, 377, 189, 379, 190, 381, 191, 383, 192, 385, 193, 387, 194, 389, 195, 391, 196, 393, 197, 395, 198, 397, 199, 399, 200, 401, 201, 403, 202, 405, 203, 407, 204, 409, 205, 411, 206, 413, 207, 415, 208, 417, 209, 419, 210, 421, 211, 423, 212, 425, 213, 427, 214, 429, 215, 431, 216, 433, 217, 435, 218, 437, 219, 439, 220, 441, 221, 443, 222, 445, 223, 447, 224, 449, 225, 451, 226, 453, 227, 455, 228, 457, 229, 459, 230, 461, 231, 463, 232, 465, 233, 467, 234, 469, 235, 471, 236, 473, 237, 475, 238, 477, 239, 479, 240, 481, 241, 483, 242, 485, 243, 487, 244, 489, 245, 491, 246, 493, 247, 495, 248, 497, 249, 499, 250, 501, 251, 503, 252, 505, 253, 507, 254, 509, 255, 511, 256, 513, 257, 515, 258, 517, 259, 519, 260, 521, 261, 523, 262, 525, 263, 527, 264, 529, 265, 531, 266, 533, 267, 535, 268, 537, 269, 539, 270, 541, 271, 543, 272, 545, 0, 547, 0, 549, 0, 551, 273, 553, 274, 555, 275, 557, 276, 1, 0, 33, 2, 0, 83, 83, 115, 115, 2, 0, 75, 75, 107, 107, 2, 0, 73, 73, 105, 105, 2, 0, 80, 80, 112, 112, 2, 0, 65, 65, 97, 97, 2, 0, 68, 68, 100, 100, 2, 0, 77, 77, 109, 109, 2, 0, 78, 78, 110, 110, 2, 0, 70, 70, 102, 102, 2, 0, 84, 84, 116, 116, 2, 0, 69, 69, 101, 101, 2, 0, 82, 82, 114, 114, 2, 0, 76, 76, 108, 108, 2, 0, 89, 89, 121, 121, 2, 0, 90, 90, 122, 122, 2, 0, 67, 67, 99, 99, 2, 0, 85, 85, 117, 117, 2, 0, 72, 72, 104, 104, 2, 0, 79, 79, 111, 111, 2, 0, 66, 66, 98, 98, 2, 0, 87, 87, 119, 119, 2, 0, 71, 71, 103, 103, 2, 0, 88, 88, 120, 120, 2, 0, 86, 86, 118, 118, 2, 0, 74, 74, 106, 106, 1, 0, 39, 39, 1, 0, 34, 34, 1, 0, 96, 96, 2, 0, 43, 43, 45, 45, 1, 0, 48, 57, 2, 0, 65, 90, 97, 122, 2, 0, 10, 10, 13, 13, 3, 0, 9, 10, 13, 13, 32, 32, 2497, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 0, 201, 1, 0, 0, 0, 0, 203, 1, 0, 0, 0, 0, 205, 1, 0, 0, 0, 0, 207, 1, 0, 0, 0, 0, 209, 1, 0, 0, 0, 0, 211, 1, 0, 0, 0, 0, 213, 1, 0, 0, 0, 0, 215, 1, 0, 0, 0, 0, 217, 1, 0, 0, 0, 0, 219, 1, 0, 0, 0, 0, 221, 1, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 225, 1, 0, 0, 0, 0, 227, 1, 0, 0, 0, 0, 229, 1, 0, 0, 0, 0, 231, 1, 0, 0, 0, 0, 233, 1, 0, 0, 0, 0, 235, 1, 0, 0, 0, 0, 237, 1, 0, 0, 0, 0, 239, 1, 0, 0, 0, 0, 241, 1, 0, 0, 0, 0, 243, 1, 0, 0, 0, 0, 245, 1, 0, 0, 0, 0, 247, 1, 0, 0, 0, 0, 249, 1, 0, 0, 0, 0, 251, 1, 0, 0, 0, 0, 253, 1, 0, 0, 0, 0, 255, 1, 0, 0, 0, 0, 257, 1, 0, 0, 0, 0, 259, 1, 0, 0, 0, 0, 261, 1, 0, 0, 0, 0, 263, 1, 0, 0, 0, 0, 265, 1, 0, 0, 0, 0, 267, 1, 0, 0, 0, 0, 269, 1, 0, 0, 0, 0, 271, 1, 0, 0, 0, 0, 273, 1, 0, 0, 0, 0, 275, 1, 0, 0, 0, 0, 277, 1, 0, 0, 0, 0, 279, 1, 0, 0, 0, 0, 281, 1, 0, 0, 0, 0, 283, 1, 0, 0, 0, 0, 285, 1, 0, 0, 0, 0, 287, 1, 0, 0, 0, 0, 289, 1, 0, 0, 0, 0, 291, 1, 0, 0, 0, 0, 293, 1, 0, 0, 0, 0, 295, 1, 0, 0, 0, 0, 297, 1, 0, 0, 0, 0, 299, 1, 0, 0, 0, 0, 301, 1, 0, 0, 0, 0, 303, 1, 0, 0, 0, 0, 305, 1, 0, 0, 0, 0, 307, 1, 0, 0, 0, 0, 309, 1, 0, 0, 0, 0, 311, 1, 0, 0, 0, 0, 313, 1, 0, 0, 0, 0, 315, 1, 0, 0, 0, 0, 317, 1, 0, 0, 0, 0, 319, 1, 0, 0, 0, 0, 321, 1, 0, 0, 0, 0, 323, 1, 0, 0, 0, 0, 325, 1, 0, 0, 0, 0, 327, 1, 0, 0, 0, 0, 329, 1, 0, 0, 0, 0, 331, 1, 0, 0, 0, 0, 333, 1, 0, 0, 0, 0, 335, 1, 0, 0, 0, 0, 337, 1, 0, 0, 0, 0, 339, 1, 0, 0, 0, 0, 341, 1, 0, 0, 0, 0, 343, 1, 0, 0, 0, 0, 345, 1, 0, 0, 0, 0, 347, 1, 0, 0, 0, 0, 349, 1, 0, 0, 0, 0, 351, 1, 0, 0, 0, 0, 353, 1, 0, 0, 0, 0, 355, 1, 0, 0, 0, 0, 357, 1, 0, 0, 0, 0, 359, 1, 0, 0, 0, 0, 361, 1, 0, 0, 0, 0, 363, 1, 0, 0, 0, 0, 365, 1, 0, 0, 0, 0, 367, 1, 0, 0, 0, 0, 369, 1, 0, 0, 0, 0, 371, 1, 0, 0, 0, 0, 373, 1, 0, 0, 0, 0, 375, 1, 0, 0, 0, 0, 377, 1, 0, 0, 0, 0, 379, 1, 0, 0, 0, 0, 381, 1, 0, 0, 0, 0, 383, 1, 0, 0, 0, 0, 385, 1, 0, 0, 0, 0, 387, 1, 0, 0, 0, 0, 389, 1, 0, 0, 0, 0, 391, 1, 0, 0, 0, 0, 393, 1, 0, 0, 0, 0, 395, 1, 0, 0, 0, 0, 397, 1, 0, 0, 0, 0, 399, 1, 0, 0, 0, 0, 401, 1, 0, 0, 0, 0, 403, 1, 0, 0, 0, 0, 405, 1, 0, 0, 0, 0, 407, 1, 0, 0, 0, 0, 409, 1, 0, 0, 0, 0, 411, 1, 0, 0, 0, 0, 413, 1, 0, 0, 0, 0, 415, 1, 0, 0, 0, 0, 417, 1, 0, 0, 0, 0, 419, 1, 0, 0, 0, 0, 421, 1, 0, 0, 0, 0, 423, 1, 0, 0, 0, 0, 425, 1, 0, 0, 0, 0, 427, 1, 0, 0, 0, 0, 429, 1, 0, 0, 0, 0, 431, 1, 0, 0, 0, 0, 433, 1, 0, 0, 0, 0, 435, 1, 0, 0, 0, 0, 437, 1, 0, 0, 0, 0, 439, 1, 0, 0, 0, 0, 441, 1, 0, 0, 0, 0, 443, 1, 0, 0, 0, 0, 445, 1, 0, 0, 0, 0, 447, 1, 0, 0, 0, 0, 449, 1, 0, 0, 0, 0, 451, 1, 0, 0, 0, 0, 453, 1, 0, 0, 0, 0, 455, 1, 0, 0, 0, 0, 457, 1, 0, 0, 0, 0, 459, 1, 0, 0, 0, 0, 461, 1, 0, 0, 0, 0, 463, 1, 0, 0, 0, 0, 465, 1, 0, 0, 0, 0, 467, 1, 0, 0, 0, 0, 469, 1, 0, 0, 0, 0, 471, 1, 0, 0, 0, 0, 473, 1, 0, 0, 0, 0, 475, 1, 0, 0, 0, 0, 477, 1, 0, 0, 0, 0, 479, 1, 0, 0, 0, 0, 481, 1, 0, 0, 0, 0, 483, 1, 0, 0, 0, 0, 485, 1, 0, 0, 0, 0, 487, 1, 0, 0, 0, 0, 489, 1, 0, 0, 0, 0, 491, 1, 0, 0, 0, 0, 493, 1, 0, 0, 0, 0, 495, 1, 0, 0, 0, 0, 497, 1, 0, 0, 0, 0, 499, 1, 0, 0, 0, 0, 501, 1, 0, 0, 0, 0, 503, 1, 0, 0, 0, 0, 505, 1, 0, 0, 0, 0, 507, 1, 0, 0, 0, 0, 509, 1, 0, 0, 0, 0, 511, 1, 0, 0, 0, 0, 513, 1, 0, 0, 0, 0, 515, 1, 0, 0, 0, 0, 517, 1, 0, 0, 0, 0, 519, 1, 0, 0, 0, 0, 521, 1, 0, 0, 0, 0, 523, 1, 0, 0, 0, 0, 525, 1, 0, 0, 0, 0, 527, 1, 0, 0, 0, 0, 529, 1, 0, 0, 0, 0, 531, 1, 0, 0, 0, 0, 533, 1, 0, 0, 0, 0, 535, 1, 0, 0, 0, 0, 537, 1, 0, 0, 0, 0, 539, 1, 0, 0, 0, 0, 541, 1, 0, 0, 0, 0, 543, 1, 0, 0, 0, 0, 551, 1, 0, 0, 0, 0, 553, 1, 0, 0, 0, 0, 555, 1, 0, 0, 0, 0, 557, 1, 0, 0, 0, 1, 559, 1, 0, 0, 0, 3, 561, 1, 0, 0, 0, 5, 563, 1, 0, 0, 0, 7, 565, 1, 0, 0, 0, 9, 567, 1, 0, 0, 0, 11, 572, 1, 0, 0, 0, 13, 575, 1, 0, 0, 0, 15, 577, 1, 0, 0, 0, 17, 579, 1, 0, 0, 0, 19, 581, 1, 0, 0, 0, 21, 583, 1, 0, 0, 0, 23, 585, 1, 0, 0, 0, 25, 588, 1, 0, 0, 0, 27, 591, 1, 0, 0, 0, 29, 593, 1, 0, 0, 0, 31, 595, 1, 0, 0, 0, 33, 598, 1, 0, 0, 0, 35, 602, 1, 0, 0, 0, 37, 608, 1, 0, 0, 0, 39, 614, 1, 0, 0, 0, 41, 618, 1, 0, 0, 0, 43, 624, 1, 0, 0, 0, 45, 632, 1, 0, 0, 0, 47, 636, 1, 0, 0, 0, 49, 640, 1, 0, 0, 0, 51, 646, 1, 0, 0, 0, 53, 649, 1, 0, 0, 0, 55, 653, 1, 0, 0, 0, 57, 656, 1, 0, 0, 0, 59, 670, 1, 0, 0, 0, 61, 680, 1, 0, 0, 0, 63, 688, 1, 0, 0, 0, 65, 691, 1, 0, 0, 0, 67, 696, 1, 0, 0, 0, 69, 704, 1, 0, 0, 0, 71, 709, 1, 0, 0, 0, 73, 714, 1, 0, 0, 0, 75, 723, 1, 0, 0, 0, 77, 730, 1, 0, 0, 0, 79, 738, 1, 0, 0, 0, 81, 746, 1, 0, 0, 0, 83, 753, 1, 0, 0, 0, 85, 763, 1, 0, 0, 0, 87, 774, 1, 0, 0, 0, 89, 781, 1, 0, 0, 0, 91, 787, 1, 0, 0, 0, 93, 792, 1, 0, 0, 0, 95, 800, 1, 0, 0, 0, 97, 816, 1, 0, 0, 0, 99, 829, 1, 0, 0, 0, 101, 842, 1, 0, 0, 0, 103, 855, 1, 0, 0, 0, 105, 870, 1, 0, 0, 0, 107, 883, 1, 0, 0, 0, 109, 901, 1, 0, 0, 0, 111, 914, 1, 0, 0, 0, 113, 919, 1, 0, 0, 0, 115, 924, 1, 0, 0, 0, 117, 928, 1, 0, 0, 0, 119, 936, 1, 0, 0, 0, 121, 947, 1, 0, 0, 0, 123, 955, 1, 0, 0, 0, 125, 962, 1, 0, 0, 0, 127, 967, 1, 0, 0, 0, 129, 976, 1, 0, 0, 0, 131, 983, 1, 0, 0, 0, 133, 992, 1, 0, 0, 0, 135, 1004, 1, 0, 0, 0, 137, 1011, 1, 0, 0, 0, 139, 1016, 1, 0, 0, 0, 141, 1021, 1, 0, 0, 0, 143, 1027, 1, 0, 0, 0, 145, 1031, 1, 0, 0, 0, 147, 1038, 1, 0, 0, 0, 149, 1045, 1, 0, 0, 0, 151, 1055, 1, 0, 0, 0, 153, 1063, 1, 0, 0, 0, 155, 1070, 1, 0, 0, 0, 157, 1078, 1, 0, 0, 0, 159, 1086, 1, 0, 0, 0, 161, 1092, 1, 0, 0, 0, 163, 1098, 1, 0, 0, 0, 165, 1105, 1, 0, 0, 0, 167, 1111, 1, 0, 0, 0, 169, 1117, 1, 0, 0, 0, 171, 1127, 1, 0, 0, 0, 173, 1131, 1, 0, 0, 0, 175, 1138, 1, 0, 0, 0, 177, 1143, 1, 0, 0, 0, 179, 1148, 1, 0, 0, 0, 181, 1158, 1, 0, 0, 0, 183, 1164, 1, 0, 0, 0, 185, 1172, 1, 0, 0, 0, 187, 1179, 1, 0, 0, 0, 189, 1184, 1, 0, 0, 0, 191, 1193, 1, 0, 0, 0, 193, 1199, 1, 0, 0, 0, 195, 1208, 1, 0, 0, 0, 197, 1215, 1, 0, 0, 0, 199, 1222, 1, 0, 0, 0, 201, 1227, 1, 0, 0, 0, 203, 1230, 1, 0, 0, 0, 205, 1237, 1, 0, 0, 0, 207, 1240, 1, 0, 0, 0, 209, 1250, 1, 0, 0, 0, 211, 1258, 1, 0, 0, 0, 213, 1264, 1, 0, 0, 0, 215, 1270, 1, 0, 0, 0, 217, 1277, 1, 0, 0, 0, 219, 1287, 1, 0, 0, 0, 221, 1296, 1, 0, 0, 0, 223, 1301, 1, 0, 0, 0, 225, 1309, 1, 0, 0, 0, 227, 1312, 1, 0, 0, 0, 229, 1315, 1, 0, 0, 0, 231, 1325, 1, 0, 0, 0, 233, 1330, 1, 0, 0, 0, 235, 1335, 1, 0, 0, 0, 237, 1340, 1, 0, 0, 0, 239, 1348, 1, 0, 0, 0, 241, 1353, 1, 0, 0, 0, 243, 1359, 1, 0, 0, 0, 245, 1364, 1, 0, 0, 0, 247, 1370, 1, 0, 0, 0, 249, 1376, 1, 0, 0, 0, 251, 1386, 1, 0, 0, 0, 253, 1401, 1, 0, 0, 0, 255, 1409, 1, 0, 0, 0, 257, 1413, 1, 0, 0, 0, 259, 1419, 1, 0, 0, 0, 261, 1427, 1, 0, 0, 0, 263, 1435, 1, 0, 0, 0, 265, 1451, 1, 0, 0, 0, 267, 1464, 1, 0, 0, 0, 269, 1473, 1, 0, 0, 0, 271, 1479, 1, 0, 0, 0, 273, 1486, 1, 0, 0, 0, 275, 1492, 1, 0, 0, 0, 277, 1500, 1, 0, 0, 0, 279, 1505, 1, 0, 0, 0, 281, 1509, 1, 0, 0, 0, 283, 1513, 1, 0, 0, 0, 285, 1518, 1, 0, 0, 0, 287, 1523, 1, 0, 0, 0, 289, 1526, 1, 0, 0, 0, 291, 1531, 1, 0, 0, 0, 293, 1541, 1, 0, 0, 0, 295, 1545, 1, 0, 0, 0, 297, 1550, 1, 0, 0, 0, 299, 1557, 1, 0, 0, 0, 301, 1563, 1, 0, 0, 0, 303, 1570, 1, 0, 0, 0, 305, 1575, 1, 0, 0, 0, 307, 1578, 1, 0, 0, 0, 309, 1582, 1, 0, 0, 0, 311, 1587, 1, 0, 0, 0, 313, 1594, 1, 0, 0, 0, 315, 1597, 1, 0, 0, 0, 317, 1603, 1, 0, 0, 0, 319, 1614, 1, 0, 0, 0, 321, 1620, 1, 0, 0, 0, 323, 1627, 1, 0, 0, 0, 325, 1632, 1, 0, 0, 0, 327, 1642, 1, 0, 0, 0, 329, 1653, 1, 0, 0, 0, 331, 1658, 1, 0, 0, 0, 333, 1663, 1, 0, 0, 0, 335, 1671, 1, 0, 0, 0, 337, 1675, 1, 0, 0, 0, 339, 1683, 1, 0, 0, 0, 341, 1692, 1, 0, 0, 0, 343, 1702, 1, 0, 0, 0, 345, 1712, 1, 0, 0, 0, 347, 1720, 1, 0, 0, 0, 349, 1731, 1, 0, 0, 0, 351, 1742, 1, 0, 0, 0, 353, 1748, 1, 0, 0, 0, 355, 1753, 1, 0, 0, 0, 357, 1763, 1, 0, 0, 0, 359, 1771, 1, 0, 0, 0, 361, 1778, 1, 0, 0, 0, 363, 1789, 1, 0, 0, 0, 365, 1797, 1, 0, 0, 0, 367, 1803, 1, 0, 0, 0, 369, 1811, 1, 0, 0, 0, 371, 1820, 1, 0, 0, 0, 373, 1827, 1, 0, 0, 0, 375, 1833, 1, 0, 0, 0, 377, 1838, 1, 0, 0, 0, 379, 1844, 1, 0, 0, 0, 381, 1853, 1, 0, 0, 0, 383, 1860, 1, 0, 0, 0, 385, 1864, 1, 0, 0, 0, 387, 1869, 1, 0, 0, 0, 389, 1877, 1, 0, 0, 0, 391, 1884, 1, 0, 0, 0, 393, 1892, 1, 0, 0, 0, 395, 1899, 1, 0, 0, 0, 397, 1908, 1, 0, 0, 0, 399, 1913, 1, 0, 0, 0, 401, 1920, 1, 0, 0, 0, 403, 1933, 1, 0, 0, 0, 405, 1941, 1, 0, 0, 0, 407, 1945, 1, 0, 0, 0, 409, 1950, 1, 0, 0, 0, 411, 1955, 1, 0, 0, 0, 413, 1960, 1, 0, 0, 0, 415, 1966, 1, 0, 0, 0, 417, 1972, 1, 0, 0, 0, 419, 1979, 1, 0, 0, 0, 421, 1989, 1, 0, 0, 0, 423, 1996, 1, 0, 0, 0, 425, 2002, 1, 0, 0, 0, 427, 2009, 1, 0, 0, 0, 429, 2021, 1, 0, 0, 0, 431, 2026, 1, 0, 0, 0, 433, 2031, 1, 0, 0, 0, 435, 2036, 1, 0, 0, 0, 437, 2041, 1, 0, 0, 0, 439, 2051, 1, 0, 0, 0, 441, 2054, 1, 0, 0, 0, 443, 2066, 1, 0, 0, 0, 445, 2075, 1, 0, 0, 0, 447, 2080, 1, 0, 0, 0, 449, 2089, 1, 0, 0, 0, 451, 2094, 1, 0, 0, 0, 453, 2102, 1, 0, 0, 0, 455, 2112, 1, 0, 0, 0, 457, 2124, 1, 0, 0, 0, 459, 2130, 1, 0, 0, 0, 461, 2140, 1, 0, 0, 0, 463, 2147, 1, 0, 0, 0, 465, 2154, 1, 0, 0, 0, 467, 2158, 1, 0, 0, 0, 469, 2163, 1, 0, 0, 0, 471, 2169, 1, 0, 0, 0, 473, 2178, 1, 0, 0, 0, 475, 2185, 1, 0, 0, 0, 477, 2193, 1, 0, 0, 0, 479, 2198, 1, 0, 0, 0, 481, 2203, 1, 0, 0, 0, 483, 2209, 1, 0, 0, 0, 485, 2216, 1, 0, 0, 0, 487, 2221, 1, 0, 0, 0, 489, 2229, 1, 0, 0, 0, 491, 2234, 1, 0, 0, 0, 493, 2240, 1, 0, 0, 0, 495, 2245, 1, 0, 0, 0, 497, 2250, 1, 0, 0, 0, 499, 2256, 1, 0, 0, 0, 501, 2258, 1, 0, 0, 0, 503, 2260, 1, 0, 0, 0, 505, 2263, 1, 0, 0, 0, 507, 2265, 1, 0, 0, 0, 509, 2268, 1, 0, 0, 0, 511, 2270, 1, 0, 0, 0, 513, 2272, 1, 0, 0, 0, 515, 2274, 1, 0, 0, 0, 517, 2276, 1, 0, 0, 0, 519, 2278, 1, 0, 0, 0, 521, 2281, 1, 0, 0, 0, 523, 2283, 1, 0, 0, 0, 525, 2294, 1, 0, 0, 0, 527, 2308, 1, 0, 0, 0, 529, 2320, 1, 0, 0, 0, 531, 2342, 1, 0, 0, 0, 533, 2368, 1, 0, 0, 0, 535, 2372, 1, 0, 0, 0, 537, 2382, 1, 0, 0, 0, 539, 2390, 1, 0, 0, 0, 541, 2401, 1, 0, 0, 0, 543, 2412, 1, 0, 0, 0, 545, 2414, 1, 0, 0, 0, 547, 2423, 1, 0, 0, 0, 549, 2425, 1, 0, 0, 0, 551, 2427, 1, 0, 0, 0, 553, 2444, 1, 0, 0, 0, 555, 2459, 1, 0, 0, 0, 557, 2465, 1, 0, 0, 0, 559, 560, 5, 40, 0, 0, 560, 2, 1, 0, 0, 0, 561, 562, 5, 41, 0, 0, 562, 4, 1, 0, 0, 0, 563, 564, 5, 44, 0, 0, 564, 6, 1, 0, 0, 0, 565, 566, 5, 46, 0, 0, 566, 8, 1, 0, 0, 0, 567, 568, 7, 0, 0, 0, 568, 569, 7, 1, 0, 0, 569, 570, 7, 2, 0, 0, 570, 571, 7, 3, 0, 0, 571, 10, 1, 0, 0, 0, 572, 573, 5, 45, 0, 0, 573, 574, 5, 62, 0, 0, 574, 12, 1, 0, 0, 0, 575, 576, 5, 91, 0, 0, 576, 14, 1, 0, 0, 0, 577, 578, 5, 93, 0, 0, 578, 16, 1, 0, 0, 0, 579, 580, 5, 124, 0, 0, 580, 18, 1, 0, 0, 0, 581, 582, 5, 94, 0, 0, 582, 20, 1, 0, 0, 0, 583, 584, 5, 36, 0, 0, 584, 22, 1, 0, 0, 0, 585, 586, 5, 123, 0, 0, 586, 587, 5, 45, 0, 0, 587, 24, 1, 0, 0, 0, 588, 589, 5, 45, 0, 0, 589, 590, 5, 125, 0, 0, 590, 26, 1, 0, 0, 0, 591, 592, 5, 123, 0, 0, 592, 28, 1, 0, 0, 0, 593, 594, 5, 125, 0, 0, 594, 30, 1, 0, 0, 0, 595, 596, 5, 61, 0, 0, 596, 597, 5, 62, 0, 0, 597, 32, 1, 0, 0, 0, 598, 599, 7, 4, 0, 0, 599, 600, 7, 5, 0, 0, 600, 601, 7, 5, 0, 0, 601, 34, 1, 0, 0, 0, 602, 603, 7, 4, 0, 0, 603, 604, 7, 5, 0, 0, 604, 605, 7, 6, 0, 0, 605, 606, 7, 2, 0, 0, 606, 607, 7, 7, 0, 0, 607, 36, 1, 0, 0, 0, 608, 609, 7, 4, 0, 0, 609, 610, 7, 8, 0, 0, 610, 611, 7, 9, 0, 0, 611, 612, 7, 10, 0, 0, 612, 613, 7, 11, 0, 0, 613, 38, 1, 0, 0, 0, 614, 615, 7, 4, 0, 0, 615, 616, 7, 12, 0, 0, 616, 617, 7, 12, 0, 0, 617, 40, 1, 0, 0, 0, 618, 619, 7, 4, 0, 0, 619, 620, 7, 12, 0, 0, 620, 621, 7, 9, 0, 0, 621, 622, 7, 10, 0, 0, 622, 623, 7, 11, 0, 0, 623, 42, 1, 0, 0, 0, 624, 625, 7, 4, 0, 0, 625, 626, 7, 7, 0, 0, 626, 627, 7, 4, 0, 0, 627, 628, 7, 12, 0, 0, 628, 629, 7, 13, 0, 0, 629, 630, 7, 14, 0, 0, 630, 631, 7, 10, 0, 0, 631, 44, 1, 0, 0, 0, 632, 633, 7, 4, 0, 0, 633, 634, 7, 7, 0, 0, 634, 635, 7, 5, 0, 0, 635, 46, 1, 0, 0, 0, 636, 637, 7, 4, 0, 0, 637, 638, 7, 7, 0, 0, 638, 639, 7, 13, 0, 0, 639, 48, 1, 0, 0, 0, 640, 641, 7, 4, 0, 0, 641, 642, 7, 11, 0, 0, 642, 643, 7, 11, 0, 0, 643, 644, 7, 4, 0, 0, 644, 645, 7, 13, 0, 0, 645, 50, 1, 0, 0, 0, 646, 647, 7, 4, 0, 0, 647, 648, 7, 0, 0, 0, 648, 52, 1, 0, 0, 0, 649, 650, 7, 4, 0, 0, 650, 651, 7, 0, 0, 0, 651, 652, 7, 15, 0, 0, 652, 54, 1, 0, 0, 0, 653, 654, 7, 4, 0, 0, 654, 655, 7, 9, 0, 0, 655, 56, 1, 0, 0, 0, 656, 657, 7, 4, 0, 0, 657, 658, 7, 16, 0, 0, 658, 659, 7, 9, 0, 0, 659, 660, 7, 17, 0, 0, 660, 661, 7, 18, 0, 0, 661, 662, 7, 11, 0, 0, 662, 663, 7, 2, 0, 0, 663, 664, 7, 14, 0, 0, 664, 665, 7, 4, 0, 0, 665, 666, 7, 9, 0, 0, 666, 667, 7, 2, 0, 0, 667, 668, 7, 18, 0, 0, 668, 669, 7, 7, 0, 0, 669, 58, 1, 0, 0, 0, 670, 671, 7, 19, 0, 0, 671, 672, 7, 10, 0, 0, 672, 673, 7, 11, 0, 0, 673, 674, 7, 7, 0, 0, 674, 675, 7, 18, 0, 0, 675, 676, 7, 16, 0, 0, 676, 677, 7, 12, 0, 0, 677, 678, 7, 12, 0, 0, 678, 679, 7, 2, 0, 0, 679, 60, 1, 0, 0, 0, 680, 681, 7, 19, 0, 0, 681, 682, 7, 10, 0, 0, 682, 683, 7, 9, 0, 0, 683, 684, 7, 20, 0, 0, 684, 685, 7, 10, 0, 0, 685, 686, 7, 10, 0, 0, 686, 687, 7, 7, 0, 0, 687, 62, 1, 0, 0, 0, 688, 689, 7, 19, 0, 0, 689, 690, 7, 13, 0, 0, 690, 64, 1, 0, 0, 0, 691, 692, 7, 15, 0, 0, 692, 693, 7, 4, 0, 0, 693, 694, 7, 12, 0, 0, 694, 695, 7, 12, 0, 0, 695, 66, 1, 0, 0, 0, 696, 697, 7, 15, 0, 0, 697, 698, 7, 4, 0, 0, 698, 699, 7, 0, 0, 0, 699, 700, 7, 15, 0, 0, 700, 701, 7, 4, 0, 0, 701, 702, 7, 5, 0, 0, 702, 703, 7, 10, 0, 0, 703, 68, 1, 0, 0, 0, 704, 705, 7, 15, 0, 0, 705, 706, 7, 4, 0, 0, 706, 707, 7, 0, 0, 0, 707, 708, 7, 10, 0, 0, 708, 70, 1, 0, 0, 0, 709, 710, 7, 15, 0, 0, 710, 711, 7, 4, 0, 0, 711, 712, 7, 0, 0, 0, 712, 713, 7, 9, 0, 0, 713, 72, 1, 0, 0, 0, 714, 715, 7, 15, 0, 0, 715, 716, 7, 4, 0, 0, 716, 717, 7, 9, 0, 0, 717, 718, 7, 4, 0, 0, 718, 719, 7, 12, 0, 0, 719, 720, 7, 18, 0, 0, 720, 721, 7, 21, 0, 0, 721, 722, 7, 0, 0, 0, 722, 74, 1, 0, 0, 0, 723, 724, 7, 15, 0, 0, 724, 725, 7, 18, 0, 0, 725, 726, 7, 12, 0, 0, 726, 727, 7, 16, 0, 0, 727, 728, 7, 6, 0, 0, 728, 729, 7, 7, 0, 0, 729, 76, 1, 0, 0, 0, 730, 731, 7, 15, 0, 0, 731, 732, 7, 18, 0, 0, 732, 733, 7, 12, 0, 0, 733, 734, 7, 16, 0, 0, 734, 735, 7, 6, 0, 0, 735, 736, 7, 7, 0, 0, 736, 737, 7, 0, 0, 0, 737, 78, 1, 0, 0, 0, 738, 739, 7, 15, 0, 0, 739, 740, 7, 18, 0, 0, 740, 741, 7, 6, 0, 0, 741, 742, 7, 6, 0, 0, 742, 743, 7, 10, 0, 0, 743, 744, 7, 7, 0, 0, 744, 745, 7, 9, 0, 0, 745, 80, 1, 0, 0, 0, 746, 747, 7, 15, 0, 0, 747, 748, 7, 18, 0, 0, 748, 749, 7, 6, 0, 0, 749, 750, 7, 6, 0, 0, 750, 751, 7, 2, 0, 0, 751, 752, 7, 9, 0, 0, 752, 82, 1, 0, 0, 0, 753, 754, 7, 15, 0, 0, 754, 755, 7, 18, 0, 0, 755, 756, 7, 6, 0, 0, 756, 757, 7, 6, 0, 0, 757, 758, 7, 2, 0, 0, 758, 759, 7, 9, 0, 0, 759, 760, 7, 9, 0, 0, 760, 761, 7, 10, 0, 0, 761, 762, 7, 5, 0, 0, 762, 84, 1, 0, 0, 0, 763, 764, 7, 15, 0, 0, 764, 765, 7, 18, 0, 0, 765, 766, 7, 7, 0, 0, 766, 767, 7, 0, 0, 0, 767, 768, 7, 9, 0, 0, 768, 769, 7, 11, 0, 0, 769, 770, 7, 4, 0, 0, 770, 771, 7, 2, 0, 0, 771, 772, 7, 7, 0, 0, 772, 773, 7, 9, 0, 0, 773, 86, 1, 0, 0, 0, 774, 775, 7, 15, 0, 0, 775, 776, 7, 11, 0, 0, 776, 777, 7, 10, 0, 0, 777, 778, 7, 4, 0, 0, 778, 779, 7, 9, 0, 0, 779, 780, 7, 10, 0, 0, 780, 88, 1, 0, 0, 0, 781, 782, 7, 15, 0, 0, 782, 783, 7, 11, 0, 0, 783, 784, 7, 18, 0, 0, 784, 785, 7, 0, 0, 0, 785, 786, 7, 0, 0, 0, 786, 90, 1, 0, 0, 0, 787, 788, 7, 15, 0, 0, 788, 789, 7, 16, 0, 0, 789, 790, 7, 19, 0, 0, 790, 791, 7, 10, 0, 0, 791, 92, 1, 0, 0, 0, 792, 793, 7, 15, 0, 0, 793, 794, 7, 16, 0, 0, 794, 795, 7, 11, 0, 0, 795, 796, 7, 11, 0, 0, 796, 797, 7, 10, 0, 0, 797, 798, 7, 7, 0, 0, 798, 799, 7, 9, 0, 0, 799, 94, 1, 0, 0, 0, 800, 801, 7, 15, 0, 0, 801, 802, 7, 16, 0, 0, 802, 803, 7, 11, 0, 0, 803, 804, 7, 11, 0, 0, 804, 805, 7, 10, 0, 0, 805, 806, 7, 7, 0, 0, 806, 807, 7, 9, 0, 0, 807, 808, 5, 95, 0, 0, 808, 809, 7, 15, 0, 0, 809, 810, 7, 4, 0, 0, 810, 811, 7, 9, 0, 0, 811, 812, 7, 4, 0, 0, 812, 813, 7, 12, 0, 0, 813, 814, 7, 18, 0, 0, 814, 815, 7, 21, 0, 0, 815, 96, 1, 0, 0, 0, 816, 817, 7, 15, 0, 0, 817, 818, 7, 16, 0, 0, 818, 819, 7, 11, 0, 0, 819, 820, 7, 11, 0, 0, 820, 821, 7, 10, 0, 0, 821, 822, 7, 7, 0, 0, 822, 823, 7, 9, 0, 0, 823, 824, 5, 95, 0, 0, 824, 825, 7, 5, 0, 0, 825, 826, 7, 4, 0, 0, 826, 827, 7, 9, 0, 0, 827, 828, 7, 10, 0, 0, 828, 98, 1, 0, 0, 0, 829, 830, 7, 15, 0, 0, 830, 831, 7, 16, 0, 0, 831, 832, 7, 11, 0, 0, 832, 833, 7, 11, 0, 0, 833, 834, 7, 10, 0, 0, 834, 835, 7, 7, 0, 0, 835, 836, 7, 9, 0, 0, 836, 837, 5, 95, 0, 0, 837, 838, 7, 3, 0, 0, 838, 839, 7, 4, 0, 0, 839, 840, 7, 9, 0, 0, 840, 841, 7, 17, 0, 0, 841, 100, 1, 0, 0, 0, 842, 843, 7, 15, 0, 0, 843, 844, 7, 16, 0, 0, 844, 845, 7, 11, 0, 0, 845, 846, 7, 11, 0, 0, 846, 847, 7, 10, 0, 0, 847, 848, 7, 7, 0, 0, 848, 849, 7, 9, 0, 0, 849, 850, 5, 95, 0, 0, 850, 851, 7, 11, 0, 0, 851, 852, 7, 18, 0, 0, 852, 853, 7, 12, 0, 0, 853, 854, 7, 10, 0, 0, 854, 102, 1, 0, 0, 0, 855, 856, 7, 15, 0, 0, 856, 857, 7, 16, 0, 0, 857, 858, 7, 11, 0, 0, 858, 859, 7, 11, 0, 0, 859, 860, 7, 10, 0, 0, 860, 861, 7, 7, 0, 0, 861, 862, 7, 9, 0, 0, 862, 863, 5, 95, 0, 0, 863, 864, 7, 0, 0, 0, 864, 865, 7, 15, 0, 0, 865, 866, 7, 17, 0, 0, 866, 867, 7, 10, 0, 0, 867, 868, 7, 6, 0, 0, 868, 869, 7, 4, 0, 0, 869, 104, 1, 0, 0, 0, 870, 871, 7, 15, 0, 0, 871, 872, 7, 16, 0, 0, 872, 873, 7, 11, 0, 0, 873, 874, 7, 11, 0, 0, 874, 875, 7, 10, 0, 0, 875, 876, 7, 7, 0, 0, 876, 877, 7, 9, 0, 0, 877, 878, 5, 95, 0, 0, 878, 879, 7, 9, 0, 0, 879, 880, 7, 2, 0, 0, 880, 881, 7, 6, 0, 0, 881, 882, 7, 10, 0, 0, 882, 106, 1, 0, 0, 0, 883, 884, 7, 15, 0, 0, 884, 885, 7, 16, 0, 0, 885, 886, 7, 11, 0, 0, 886, 887, 7, 11, 0, 0, 887, 888, 7, 10, 0, 0, 888, 889, 7, 7, 0, 0, 889, 890, 7, 9, 0, 0, 890, 891, 5, 95, 0, 0, 891, 892, 7, 9, 0, 0, 892, 893, 7, 2, 0, 0, 893, 894, 7, 6, 0, 0, 894, 895, 7, 10, 0, 0, 895, 896, 7, 0, 0, 0, 896, 897, 7, 9, 0, 0, 897, 898, 7, 4, 0, 0, 898, 899, 7, 6, 0, 0, 899, 900, 7, 3, 0, 0, 900, 108, 1, 0, 0, 0, 901, 902, 7, 15, 0, 0, 902, 903, 7, 16, 0, 0, 903, 904, 7, 11, 0, 0, 904, 905, 7, 11, 0, 0, 905, 906, 7, 10, 0, 0, 906, 907, 7, 7, 0, 0, 907, 908, 7, 9, 0, 0, 908, 909, 5, 95, 0, 0, 909, 910, 7, 16, 0, 0, 910, 911, 7, 0, 0, 0, 911, 912, 7, 10, 0, 0, 912, 913, 7, 11, 0, 0, 913, 110, 1, 0, 0, 0, 914, 915, 7, 5, 0, 0, 915, 916, 7, 4, 0, 0, 916, 917, 7, 9, 0, 0, 917, 918, 7, 4, 0, 0, 918, 112, 1, 0, 0, 0, 919, 920, 7, 5, 0, 0, 920, 921, 7, 4, 0, 0, 921, 922, 7, 9, 0, 0, 922, 923, 7, 10, 0, 0, 923, 114, 1, 0, 0, 0, 924, 925, 7, 5, 0, 0, 925, 926, 7, 4, 0, 0, 926, 927, 7, 13, 0, 0, 927, 116, 1, 0, 0, 0, 928, 929, 7, 5, 0, 0, 929, 930, 7, 10, 0, 0, 930, 931, 7, 8, 0, 0, 931, 932, 7, 4, 0, 0, 932, 933, 7, 16, 0, 0, 933, 934, 7, 12, 0, 0, 934, 935, 7, 9, 0, 0, 935, 118, 1, 0, 0, 0, 936, 937, 7, 5, 0, 0, 937, 938, 7, 10, 0, 0, 938, 939, 7, 4, 0, 0, 939, 940, 7, 12, 0, 0, 940, 941, 7, 12, 0, 0, 941, 942, 7, 18, 0, 0, 942, 943, 7, 15, 0, 0, 943, 944, 7, 4, 0, 0, 944, 945, 7, 9, 0, 0, 945, 946, 7, 10, 0, 0, 946, 120, 1, 0, 0, 0, 947, 948, 7, 5, 0, 0, 948, 949, 7, 10, 0, 0, 949, 950, 7, 8, 0, 0, 950, 951, 7, 2, 0, 0, 951, 952, 7, 7, 0, 0, 952, 953, 7, 10, 0, 0, 953, 954, 7, 11, 0, 0, 954, 122, 1, 0, 0, 0, 955, 956, 7, 5, 0, 0, 956, 957, 7, 10, 0, 0, 957, 958, 7, 12, 0, 0, 958, 959, 7, 10, 0, 0, 959, 960, 7, 9, 0, 0, 960, 961, 7, 10, 0, 0, 961, 124, 1, 0, 0, 0, 962, 963, 7, 5, 0, 0, 963, 964, 7, 10, 0, 0, 964, 965, 7, 0, 0, 0, 965, 966, 7, 15, 0, 0, 966, 126, 1, 0, 0, 0, 967, 968, 7, 5, 0, 0, 968, 969, 7, 10, 0, 0, 969, 970, 7, 0, 0, 0, 970, 971, 7, 15, 0, 0, 971, 972, 7, 11, 0, 0, 972, 973, 7, 2, 0, 0, 973, 974, 7, 19, 0, 0, 974, 975, 7, 10, 0, 0, 975, 128, 1, 0, 0, 0, 976, 977, 7, 5, 0, 0, 977, 978, 7, 10, 0, 0, 978, 979, 7, 8, 0, 0, 979, 980, 7, 2, 0, 0, 980, 981, 7, 7, 0, 0, 981, 982, 7, 10, 0, 0, 982, 130, 1, 0, 0, 0, 983, 984, 7, 5, 0, 0, 984, 985, 7, 2, 0, 0, 985, 986, 7, 0, 0, 0, 986, 987, 7, 9, 0, 0, 987, 988, 7, 2, 0, 0, 988, 989, 7, 7, 0, 0, 989, 990, 7, 15, 0, 0, 990, 991, 7, 9, 0, 0, 991, 132, 1, 0, 0, 0, 992, 993, 7, 5, 0, 0, 993, 994, 7, 2, 0, 0, 994, 995, 7, 0, 0, 0, 995, 996, 7, 9, 0, 0, 996, 997, 7, 11, 0, 0, 997, 998, 7, 2, 0, 0, 998, 999, 7, 19, 0, 0, 999, 1000, 7, 16, 0, 0, 1000, 1001, 7, 9, 0, 0, 1001, 1002, 7, 10, 0, 0, 1002, 1003, 7, 5, 0, 0, 1003, 134, 1, 0, 0, 0, 1004, 1005, 7, 5, 0, 0, 1005, 1006, 7, 18, 0, 0, 1006, 1007, 7, 16, 0, 0, 1007, 1008, 7, 19, 0, 0, 1008, 1009, 7, 12, 0, 0, 1009, 1010, 7, 10, 0, 0, 1010, 136, 1, 0, 0, 0, 1011, 1012, 7, 5, 0, 0, 1012, 1013, 7, 11, 0, 0, 1013, 1014, 7, 18, 0, 0, 1014, 1015, 7, 3, 0, 0, 1015, 138, 1, 0, 0, 0, 1016, 1017, 7, 10, 0, 0, 1017, 1018, 7, 12, 0, 0, 1018, 1019, 7, 0, 0, 0, 1019, 1020, 7, 10, 0, 0, 1020, 140, 1, 0, 0, 0, 1021, 1022, 7, 10, 0, 0, 1022, 1023, 7, 6, 0, 0, 1023, 1024, 7, 3, 0, 0, 1024, 1025, 7, 9, 0, 0, 1025, 1026, 7, 13, 0, 0, 1026, 142, 1, 0, 0, 0, 1027, 1028, 7, 10, 0, 0, 1028, 1029, 7, 7, 0, 0, 1029, 1030, 7, 5, 0, 0, 1030, 144, 1, 0, 0, 0, 1031, 1032, 7, 10, 0, 0, 1032, 1033, 7, 0, 0, 0, 1033, 1034, 7, 15, 0, 0, 1034, 1035, 7, 4, 0, 0, 1035, 1036, 7, 3, 0, 0, 1036, 1037, 7, 10, 0, 0, 1037, 146, 1, 0, 0, 0, 1038, 1039, 7, 10, 0, 0, 1039, 1040, 7, 22, 0, 0, 1040, 1041, 7, 15, 0, 0, 1041, 1042, 7, 10, 0, 0, 1042, 1043, 7, 3, 0, 0, 1043, 1044, 7, 9, 0, 0, 1044, 148, 1, 0, 0, 0, 1045, 1046, 7, 10, 0, 0, 1046, 1047, 7, 22, 0, 0, 1047, 1048, 7, 15, 0, 0, 1048, 1049, 7, 12, 0, 0, 1049, 1050, 7, 16, 0, 0, 1050, 1051, 7, 5, 0, 0, 1051, 1052, 7, 2, 0, 0, 1052, 1053, 7, 7, 0, 0, 1053, 1054, 7, 21, 0, 0, 1054, 150, 1, 0, 0, 0, 1055, 1056, 7, 10, 0, 0, 1056, 1057, 7, 22, 0, 0, 1057, 1058, 7, 10, 0, 0, 1058, 1059, 7, 15, 0, 0, 1059, 1060, 7, 16, 0, 0, 1060, 1061, 7, 9, 0, 0, 1061, 1062, 7, 10, 0, 0, 1062, 152, 1, 0, 0, 0, 1063, 1064, 7, 10, 0, 0, 1064, 1065, 7, 22, 0, 0, 1065, 1066, 7, 2, 0, 0, 1066, 1067, 7, 0, 0, 0, 1067, 1068, 7, 9, 0, 0, 1068, 1069, 7, 0, 0, 0, 1069, 154, 1, 0, 0, 0, 1070, 1071, 7, 10, 0, 0, 1071, 1072, 7, 22, 0, 0, 1072, 1073, 7, 3, 0, 0, 1073, 1074, 7, 12, 0, 0, 1074, 1075, 7, 4, 0, 0, 1075, 1076, 7, 2, 0, 0, 1076, 1077, 7, 7, 0, 0, 1077, 156, 1, 0, 0, 0, 1078, 1079, 7, 10, 0, 0, 1079, 1080, 7, 22, 0, 0, 1080, 1081, 7, 9, 0, 0, 1081, 1082, 7, 11, 0, 0, 1082, 1083, 7, 4, 0, 0, 1083, 1084, 7, 15, 0, 0, 1084, 1085, 7, 9, 0, 0, 1085, 158, 1, 0, 0, 0, 1086, 1087, 7, 8, 0, 0, 1087, 1088, 7, 4, 0, 0, 1088, 1089, 7, 12, 0, 0, 1089, 1090, 7, 0, 0, 0, 1090, 1091, 7, 10, 0, 0, 1091, 160, 1, 0, 0, 0, 1092, 1093, 7, 8, 0, 0, 1093, 1094, 7, 10, 0, 0, 1094, 1095, 7, 9, 0, 0, 1095, 1096, 7, 15, 0, 0, 1096, 1097, 7, 17, 0, 0, 1097, 162, 1, 0, 0, 0, 1098, 1099, 7, 8, 0, 0, 1099, 1100, 7, 2, 0, 0, 1100, 1101, 7, 12, 0, 0, 1101, 1102, 7, 9, 0, 0, 1102, 1103, 7, 10, 0, 0, 1103, 1104, 7, 11, 0, 0, 1104, 164, 1, 0, 0, 0, 1105, 1106, 7, 8, 0, 0, 1106, 1107, 7, 2, 0, 0, 1107, 1108, 7, 7, 0, 0, 1108, 1109, 7, 4, 0, 0, 1109, 1110, 7, 12, 0, 0, 1110, 166, 1, 0, 0, 0, 1111, 1112, 7, 8, 0, 0, 1112, 1113, 7, 2, 0, 0, 1113, 1114, 7, 11, 0, 0, 1114, 1115, 7, 0, 0, 0, 1115, 1116, 7, 9, 0, 0, 1116, 168, 1, 0, 0, 0, 1117, 1118, 7, 8, 0, 0, 1118, 1119, 7, 18, 0, 0, 1119, 1120, 7, 12, 0, 0, 1120, 1121, 7, 12, 0, 0, 1121, 1122, 7, 18, 0, 0, 1122, 1123, 7, 20, 0, 0, 1123, 1124, 7, 2, 0, 0, 1124, 1125, 7, 7, 0, 0, 1125, 1126, 7, 21, 0, 0, 1126, 170, 1, 0, 0, 0, 1127, 1128, 7, 8, 0, 0, 1128, 1129, 7, 18, 0, 0, 1129, 1130, 7, 11, 0, 0, 1130, 172, 1, 0, 0, 0, 1131, 1132, 7, 8, 0, 0, 1132, 1133, 7, 18, 0, 0, 1133, 1134, 7, 11, 0, 0, 1134, 1135, 7, 6, 0, 0, 1135, 1136, 7, 4, 0, 0, 1136, 1137, 7, 9, 0, 0, 1137, 174, 1, 0, 0, 0, 1138, 1139, 7, 8, 0, 0, 1139, 1140, 7, 11, 0, 0, 1140, 1141, 7, 18, 0, 0, 1141, 1142, 7, 6, 0, 0, 1142, 176, 1, 0, 0, 0, 1143, 1144, 7, 8, 0, 0, 1144, 1145, 7, 16, 0, 0, 1145, 1146, 7, 12, 0, 0, 1146, 1147, 7, 12, 0, 0, 1147, 178, 1, 0, 0, 0, 1148, 1149, 7, 8, 0, 0, 1149, 1150, 7, 16, 0, 0, 1150, 1151, 7, 7, 0, 0, 1151, 1152, 7, 15, 0, 0, 1152, 1153, 7, 9, 0, 0, 1153, 1154, 7, 2, 0, 0, 1154, 1155, 7, 18, 0, 0, 1155, 1156, 7, 7, 0, 0, 1156, 1157, 7, 0, 0, 0, 1157, 180, 1, 0, 0, 0, 1158, 1159, 7, 21, 0, 0, 1159, 1160, 7, 11, 0, 0, 1160, 1161, 7, 4, 0, 0, 1161, 1162, 7, 7, 0, 0, 1162, 1163, 7, 9, 0, 0, 1163, 182, 1, 0, 0, 0, 1164, 1165, 7, 21, 0, 0, 1165, 1166, 7, 11, 0, 0, 1166, 1167, 7, 4, 0, 0, 1167, 1168, 7, 7, 0, 0, 1168, 1169, 7, 9, 0, 0, 1169, 1170, 7, 10, 0, 0, 1170, 1171, 7, 5, 0, 0, 1171, 184, 1, 0, 0, 0, 1172, 1173, 7, 21, 0, 0, 1173, 1174, 7, 11, 0, 0, 1174, 1175, 7, 4, 0, 0, 1175, 1176, 7, 7, 0, 0, 1176, 1177, 7, 9, 0, 0, 1177, 1178, 7, 0, 0, 0, 1178, 186, 1, 0, 0, 0, 1179, 1180, 7, 5, 0, 0, 1180, 1181, 7, 10, 0, 0, 1181, 1182, 7, 7, 0, 0, 1182, 1183, 7, 13, 0, 0, 1183, 188, 1, 0, 0, 0, 1184, 1185, 7, 21, 0, 0, 1185, 1186, 7, 11, 0, 0, 1186, 1187, 7, 4, 0, 0, 1187, 1188, 7, 3, 0, 0, 1188, 1189, 7, 17, 0, 0, 1189, 1190, 7, 23, 0, 0, 1190, 1191, 7, 2, 0, 0, 1191, 1192, 7, 14, 0, 0, 1192, 190, 1, 0, 0, 0, 1193, 1194, 7, 21, 0, 0, 1194, 1195, 7, 11, 0, 0, 1195, 1196, 7, 18, 0, 0, 1196, 1197, 7, 16, 0, 0, 1197, 1198, 7, 3, 0, 0, 1198, 192, 1, 0, 0, 0, 1199, 1200, 7, 21, 0, 0, 1200, 1201, 7, 11, 0, 0, 1201, 1202, 7, 18, 0, 0, 1202, 1203, 7, 16, 0, 0, 1203, 1204, 7, 3, 0, 0, 1204, 1205, 7, 2, 0, 0, 1205, 1206, 7, 7, 0, 0, 1206, 1207, 7, 21, 0, 0, 1207, 194, 1, 0, 0, 0, 1208, 1209, 7, 21, 0, 0, 1209, 1210, 7, 11, 0, 0, 1210, 1211, 7, 18, 0, 0, 1211, 1212, 7, 16, 0, 0, 1212, 1213, 7, 3, 0, 0, 1213, 1214, 7, 0, 0, 0, 1214, 196, 1, 0, 0, 0, 1215, 1216, 7, 17, 0, 0, 1216, 1217, 7, 4, 0, 0, 1217, 1218, 7, 23, 0, 0, 1218, 1219, 7, 2, 0, 0, 1219, 1220, 7, 7, 0, 0, 1220, 1221, 7, 21, 0, 0, 1221, 198, 1, 0, 0, 0, 1222, 1223, 7, 17, 0, 0, 1223, 1224, 7, 18, 0, 0, 1224, 1225, 7, 16, 0, 0, 1225, 1226, 7, 11, 0, 0, 1226, 200, 1, 0, 0, 0, 1227, 1228, 7, 2, 0, 0, 1228, 1229, 7, 8, 0, 0, 1229, 202, 1, 0, 0, 0, 1230, 1231, 7, 2, 0, 0, 1231, 1232, 7, 21, 0, 0, 1232, 1233, 7, 7, 0, 0, 1233, 1234, 7, 18, 0, 0, 1234, 1235, 7, 11, 0, 0, 1235, 1236, 7, 10, 0, 0, 1236, 204, 1, 0, 0, 0, 1237, 1238, 7, 2, 0, 0, 1238, 1239, 7, 7, 0, 0, 1239, 206, 1, 0, 0, 0, 1240, 1241, 7, 2, 0, 0, 1241, 1242, 7, 7, 0, 0, 1242, 1243, 7, 15, 0, 0, 1243, 1244, 7, 12, 0, 0, 1244, 1245, 7, 16, 0, 0, 1245, 1246, 7, 5, 0, 0, 1246, 1247, 7, 2, 0, 0, 1247, 1248, 7, 7, 0, 0, 1248, 1249, 7, 21, 0, 0, 1249, 208, 1, 0, 0, 0, 1250, 1251, 7, 2, 0, 0, 1251, 1252, 7, 7, 0, 0, 1252, 1253, 7, 2, 0, 0, 1253, 1254, 7, 9, 0, 0, 1254, 1255, 7, 2, 0, 0, 1255, 1256, 7, 4, 0, 0, 1256, 1257, 7, 12, 0, 0, 1257, 210, 1, 0, 0, 0, 1258, 1259, 7, 2, 0, 0, 1259, 1260, 7, 7, 0, 0, 1260, 1261, 7, 7, 0, 0, 1261, 1262, 7, 10, 0, 0, 1262, 1263, 7, 11, 0, 0, 1263, 212, 1, 0, 0, 0, 1264, 1265, 7, 2, 0, 0, 1265, 1266, 7, 7, 0, 0, 1266, 1267, 7, 3, 0, 0, 1267, 1268, 7, 16, 0, 0, 1268, 1269, 7, 9, 0, 0, 1269, 214, 1, 0, 0, 0, 1270, 1271, 7, 2, 0, 0, 1271, 1272, 7, 7, 0, 0, 1272, 1273, 7, 0, 0, 0, 1273, 1274, 7, 10, 0, 0, 1274, 1275, 7, 11, 0, 0, 1275, 1276, 7, 9, 0, 0, 1276, 216, 1, 0, 0, 0, 1277, 1278, 7, 2, 0, 0, 1278, 1279, 7, 7, 0, 0, 1279, 1280, 7, 9, 0, 0, 1280, 1281, 7, 10, 0, 0, 1281, 1282, 7, 11, 0, 0, 1282, 1283, 7, 0, 0, 0, 1283, 1284, 7, 10, 0, 0, 1284, 1285, 7, 15, 0, 0, 1285, 1286, 7, 9, 0, 0, 1286, 218, 1, 0, 0, 0, 1287, 1288, 7, 2, 0, 0, 1288, 1289, 7, 7, 0, 0, 1289, 1290, 7, 9, 0, 0, 1290, 1291, 7, 10, 0, 0, 1291, 1292, 7, 11, 0, 0, 1292, 1293, 7, 23, 0, 0, 1293, 1294, 7, 4, 0, 0, 1294, 1295, 7, 12, 0, 0, 1295, 220, 1, 0, 0, 0, 1296, 1297, 7, 2, 0, 0, 1297, 1298, 7, 7, 0, 0, 1298, 1299, 7, 9, 0, 0, 1299, 1300, 7, 18, 0, 0, 1300, 222, 1, 0, 0, 0, 1301, 1302, 7, 2, 0, 0, 1302, 1303, 7, 7, 0, 0, 1303, 1304, 7, 23, 0, 0, 1304, 1305, 7, 18, 0, 0, 1305, 1306, 7, 1, 0, 0, 1306, 1307, 7, 10, 0, 0, 1307, 1308, 7, 11, 0, 0, 1308, 224, 1, 0, 0, 0, 1309, 1310, 7, 2, 0, 0, 1310, 1311, 7, 18, 0, 0, 1311, 226, 1, 0, 0, 0, 1312, 1313, 7, 2, 0, 0, 1313, 1314, 7, 0, 0, 0, 1314, 228, 1, 0, 0, 0, 1315, 1316, 7, 2, 0, 0, 1316, 1317, 7, 0, 0, 0, 1317, 1318, 7, 18, 0, 0, 1318, 1319, 7, 12, 0, 0, 1319, 1320, 7, 4, 0, 0, 1320, 1321, 7, 9, 0, 0, 1321, 1322, 7, 2, 0, 0, 1322, 1323, 7, 18, 0, 0, 1323, 1324, 7, 7, 0, 0, 1324, 230, 1, 0, 0, 0, 1325, 1326, 7, 24, 0, 0, 1326, 1327, 7, 18, 0, 0, 1327, 1328, 7, 2, 0, 0, 1328, 1329, 7, 7, 0, 0, 1329, 232, 1, 0, 0, 0, 1330, 1331, 7, 24, 0, 0, 1331, 1332, 7, 0, 0, 0, 1332, 1333, 7, 18, 0, 0, 1333, 1334, 7, 7, 0, 0, 1334, 234, 1, 0, 0, 0, 1335, 1336, 7, 12, 0, 0, 1336, 1337, 7, 4, 0, 0, 1337, 1338, 7, 0, 0, 0, 1338, 1339, 7, 9, 0, 0, 1339, 236, 1, 0, 0, 0, 1340, 1341, 7, 12, 0, 0, 1341, 1342, 7, 4, 0, 0, 1342, 1343, 7, 9, 0, 0, 1343, 1344, 7, 10, 0, 0, 1344, 1345, 7, 11, 0, 0, 1345, 1346, 7, 4, 0, 0, 1346, 1347, 7, 12, 0, 0, 1347, 238, 1, 0, 0, 0, 1348, 1349, 7, 12, 0, 0, 1349, 1350, 7, 10, 0, 0, 1350, 1351, 7, 8, 0, 0, 1351, 1352, 7, 9, 0, 0, 1352, 240, 1, 0, 0, 0, 1353, 1354, 7, 12, 0, 0, 1354, 1355, 7, 10, 0, 0, 1355, 1356, 7, 23, 0, 0, 1356, 1357, 7, 10, 0, 0, 1357, 1358, 7, 12, 0, 0, 1358, 242, 1, 0, 0, 0, 1359, 1360, 7, 12, 0, 0, 1360, 1361, 7, 2, 0, 0, 1361, 1362, 7, 1, 0, 0, 1362, 1363, 7, 10, 0, 0, 1363, 244, 1, 0, 0, 0, 1364, 1365, 7, 12, 0, 0, 1365, 1366, 7, 2, 0, 0, 1366, 1367, 7, 6, 0, 0, 1367, 1368, 7, 2, 0, 0, 1368, 1369, 7, 9, 0, 0, 1369, 246, 1, 0, 0, 0, 1370, 1371, 7, 12, 0, 0, 1371, 1372, 7, 18, 0, 0, 1372, 1373, 7, 15, 0, 0, 1373, 1374, 7, 4, 0, 0, 1374, 1375, 7, 12, 0, 0, 1375, 248, 1, 0, 0, 0, 1376, 1377, 7, 12, 0, 0, 1377, 1378, 7, 18, 0, 0, 1378, 1379, 7, 15, 0, 0, 1379, 1380, 7, 4, 0, 0, 1380, 1381, 7, 12, 0, 0, 1381, 1382, 7, 9, 0, 0, 1382, 1383, 7, 2, 0, 0, 1383, 1384, 7, 6, 0, 0, 1384, 1385, 7, 10, 0, 0, 1385, 250, 1, 0, 0, 0, 1386, 1387, 7, 12, 0, 0, 1387, 1388, 7, 18, 0, 0, 1388, 1389, 7, 15, 0, 0, 1389, 1390, 7, 4, 0, 0, 1390, 1391, 7, 12, 0, 0, 1391, 1392, 7, 9, 0, 0, 1392, 1393, 7, 2, 0, 0, 1393, 1394, 7, 6, 0, 0, 1394, 1395, 7, 10, 0, 0, 1395, 1396, 7, 0, 0, 0, 1396, 1397, 7, 9, 0, 0, 1397, 1398, 7, 4, 0, 0, 1398, 1399, 7, 6, 0, 0, 1399, 1400, 7, 3, 0, 0, 1400, 252, 1, 0, 0, 0, 1401, 1402, 7, 12, 0, 0, 1402, 1403, 7, 18, 0, 0, 1403, 1404, 7, 21, 0, 0, 1404, 1405, 7, 2, 0, 0, 1405, 1406, 7, 15, 0, 0, 1406, 1407, 7, 4, 0, 0, 1407, 1408, 7, 12, 0, 0, 1408, 254, 1, 0, 0, 0, 1409, 1410, 7, 6, 0, 0, 1410, 1411, 7, 4, 0, 0, 1411, 1412, 7, 3, 0, 0, 1412, 256, 1, 0, 0, 0, 1413, 1414, 7, 6, 0, 0, 1414, 1415, 7, 4, 0, 0, 1415, 1416, 7, 9, 0, 0, 1416, 1417, 7, 15, 0, 0, 1417, 1418, 7, 17, 0, 0, 1418, 258, 1, 0, 0, 0, 1419, 1420, 7, 6, 0, 0, 1420, 1421, 7, 4, 0, 0, 1421, 1422, 7, 9, 0, 0, 1422, 1423, 7, 15, 0, 0, 1423, 1424, 7, 17, 0, 0, 1424, 1425, 7, 10, 0, 0, 1425, 1426, 7, 5, 0, 0, 1426, 260, 1, 0, 0, 0, 1427, 1428, 7, 6, 0, 0, 1428, 1429, 7, 4, 0, 0, 1429, 1430, 7, 9, 0, 0, 1430, 1431, 7, 15, 0, 0, 1431, 1432, 7, 17, 0, 0, 1432, 1433, 7, 10, 0, 0, 1433, 1434, 7, 0, 0, 0, 1434, 262, 1, 0, 0, 0, 1435, 1436, 7, 6, 0, 0, 1436, 1437, 7, 4, 0, 0, 1437, 1438, 7, 9, 0, 0, 1438, 1439, 7, 15, 0, 0, 1439, 1440, 7, 17, 0, 0, 1440, 1441, 5, 95, 0, 0, 1441, 1442, 7, 11, 0, 0, 1442, 1443, 7, 10, 0, 0, 1443, 1444, 7, 15, 0, 0, 1444, 1445, 7, 18, 0, 0, 1445, 1446, 7, 21, 0, 0, 1446, 1447, 7, 7, 0, 0, 1447, 1448, 7, 2, 0, 0, 1448, 1449, 7, 14, 0, 0, 1449, 1450, 7, 10, 0, 0, 1450, 264, 1, 0, 0, 0, 1451, 1452, 7, 6, 0, 0, 1452, 1453, 7, 4, 0, 0, 1453, 1454, 7, 9, 0, 0, 1454, 1455, 7, 10, 0, 0, 1455, 1456, 7, 11, 0, 0, 1456, 1457, 7, 2, 0, 0, 1457, 1458, 7, 4, 0, 0, 1458, 1459, 7, 12, 0, 0, 1459, 1460, 7, 2, 0, 0, 1460, 1461, 7, 14, 0, 0, 1461, 1462, 7, 10, 0, 0, 1462, 1463, 7, 5, 0, 0, 1463, 266, 1, 0, 0, 0, 1464, 1465, 7, 6, 0, 0, 1465, 1466, 7, 10, 0, 0, 1466, 1467, 7, 4, 0, 0, 1467, 1468, 7, 0, 0, 0, 1468, 1469, 7, 16, 0, 0, 1469, 1470, 7, 11, 0, 0, 1470, 1471, 7, 10, 0, 0, 1471, 1472, 7, 0, 0, 0, 1472, 268, 1, 0, 0, 0, 1473, 1474, 7, 6, 0, 0, 1474, 1475, 7, 10, 0, 0, 1475, 1476, 7, 11, 0, 0, 1476, 1477, 7, 21, 0, 0, 1477, 1478, 7, 10, 0, 0, 1478, 270, 1, 0, 0, 0, 1479, 1480, 7, 6, 0, 0, 1480, 1481, 7, 2, 0, 0, 1481, 1482, 7, 7, 0, 0, 1482, 1483, 7, 16, 0, 0, 1483, 1484, 7, 9, 0, 0, 1484, 1485, 7, 10, 0, 0, 1485, 272, 1, 0, 0, 0, 1486, 1487, 7, 6, 0, 0, 1487, 1488, 7, 18, 0, 0, 1488, 1489, 7, 7, 0, 0, 1489, 1490, 7, 9, 0, 0, 1490, 1491, 7, 17, 0, 0, 1491, 274, 1, 0, 0, 0, 1492, 1493, 7, 7, 0, 0, 1493, 1494, 7, 4, 0, 0, 1494, 1495, 7, 9, 0, 0, 1495, 1496, 7, 16, 0, 0, 1496, 1497, 7, 11, 0, 0, 1497, 1498, 7, 4, 0, 0, 1498, 1499, 7, 12, 0, 0, 1499, 276, 1, 0, 0, 0, 1500, 1501, 7, 7, 0, 0, 1501, 1502, 7, 10, 0, 0, 1502, 1503, 7, 22, 0, 0, 1503, 1504, 7, 9, 0, 0, 1504, 278, 1, 0, 0, 0, 1505, 1506, 7, 7, 0, 0, 1506, 1507, 7, 8, 0, 0, 1507, 1508, 7, 15, 0, 0, 1508, 280, 1, 0, 0, 0, 1509, 1510, 7, 7, 0, 0, 1510, 1511, 7, 8, 0, 0, 1511, 1512, 7, 5, 0, 0, 1512, 282, 1, 0, 0, 0, 1513, 1514, 7, 7, 0, 0, 1514, 1515, 7, 8, 0, 0, 1515, 1516, 7, 1, 0, 0, 1516, 1517, 7, 15, 0, 0, 1517, 284, 1, 0, 0, 0, 1518, 1519, 7, 7, 0, 0, 1519, 1520, 7, 8, 0, 0, 1520, 1521, 7, 1, 0, 0, 1521, 1522, 7, 5, 0, 0, 1522, 286, 1, 0, 0, 0, 1523, 1524, 7, 7, 0, 0, 1524, 1525, 7, 18, 0, 0, 1525, 288, 1, 0, 0, 0, 1526, 1527, 7, 7, 0, 0, 1527, 1528, 7, 18, 0, 0, 1528, 1529, 7, 7, 0, 0, 1529, 1530, 7, 10, 0, 0, 1530, 290, 1, 0, 0, 0, 1531, 1532, 7, 7, 0, 0, 1532, 1533, 7, 18, 0, 0, 1533, 1534, 7, 11, 0, 0, 1534, 1535, 7, 6, 0, 0, 1535, 1536, 7, 4, 0, 0, 1536, 1537, 7, 12, 0, 0, 1537, 1538, 7, 2, 0, 0, 1538, 1539, 7, 14, 0, 0, 1539, 1540, 7, 10, 0, 0, 1540, 292, 1, 0, 0, 0, 1541, 1542, 7, 7, 0, 0, 1542, 1543, 7, 18, 0, 0, 1543, 1544, 7, 9, 0, 0, 1544, 294, 1, 0, 0, 0, 1545, 1546, 7, 7, 0, 0, 1546, 1547, 7, 16, 0, 0, 1547, 1548, 7, 12, 0, 0, 1548, 1549, 7, 12, 0, 0, 1549, 296, 1, 0, 0, 0, 1550, 1551, 7, 7, 0, 0, 1551, 1552, 7, 16, 0, 0, 1552, 1553, 7, 12, 0, 0, 1553, 1554, 7, 12, 0, 0, 1554, 1555, 7, 2, 0, 0, 1555, 1556, 7, 8, 0, 0, 1556, 298, 1, 0, 0, 0, 1557, 1558, 7, 7, 0, 0, 1558, 1559, 7, 16, 0, 0, 1559, 1560, 7, 12, 0, 0, 1560, 1561, 7, 12, 0, 0, 1561, 1562, 7, 0, 0, 0, 1562, 300, 1, 0, 0, 0, 1563, 1564, 7, 18, 0, 0, 1564, 1565, 7, 8, 0, 0, 1565, 1566, 7, 8, 0, 0, 1566, 1567, 7, 0, 0, 0, 1567, 1568, 7, 10, 0, 0, 1568, 1569, 7, 9, 0, 0, 1569, 302, 1, 0, 0, 0, 1570, 1571, 7, 18, 0, 0, 1571, 1572, 7, 6, 0, 0, 1572, 1573, 7, 2, 0, 0, 1573, 1574, 7, 9, 0, 0, 1574, 304, 1, 0, 0, 0, 1575, 1576, 7, 18, 0, 0, 1576, 1577, 7, 7, 0, 0, 1577, 306, 1, 0, 0, 0, 1578, 1579, 7, 18, 0, 0, 1579, 1580, 7, 7, 0, 0, 1580, 1581, 7, 10, 0, 0, 1581, 308, 1, 0, 0, 0, 1582, 1583, 7, 18, 0, 0, 1583, 1584, 7, 7, 0, 0, 1584, 1585, 7, 12, 0, 0, 1585, 1586, 7, 13, 0, 0, 1586, 310, 1, 0, 0, 0, 1587, 1588, 7, 18, 0, 0, 1588, 1589, 7, 3, 0, 0, 1589, 1590, 7, 9, 0, 0, 1590, 1591, 7, 2, 0, 0, 1591, 1592, 7, 18, 0, 0, 1592, 1593, 7, 7, 0, 0, 1593, 312, 1, 0, 0, 0, 1594, 1595, 7, 18, 0, 0, 1595, 1596, 7, 11, 0, 0, 1596, 314, 1, 0, 0, 0, 1597, 1598, 7, 18, 0, 0, 1598, 1599, 7, 11, 0, 0, 1599, 1600, 7, 5, 0, 0, 1600, 1601, 7, 10, 0, 0, 1601, 1602, 7, 11, 0, 0, 1602, 316, 1, 0, 0, 0, 1603, 1604, 7, 18, 0, 0, 1604, 1605, 7, 11, 0, 0, 1605, 1606, 7, 5, 0, 0, 1606, 1607, 7, 2, 0, 0, 1607, 1608, 7, 7, 0, 0, 1608, 1609, 7, 4, 0, 0, 1609, 1610, 7, 12, 0, 0, 1610, 1611, 7, 2, 0, 0, 1611, 1612, 7, 9, 0, 0, 1612, 1613, 7, 13, 0, 0, 1613, 318, 1, 0, 0, 0, 1614, 1615, 7, 18, 0, 0, 1615, 1616, 7, 16, 0, 0, 1616, 1617, 7, 9, 0, 0, 1617, 1618, 7, 10, 0, 0, 1618, 1619, 7, 11, 0, 0, 1619, 320, 1, 0, 0, 0, 1620, 1621, 7, 18, 0, 0, 1621, 1622, 7, 16, 0, 0, 1622, 1623, 7, 9, 0, 0, 1623, 1624, 7, 3, 0, 0, 1624, 1625, 7, 16, 0, 0, 1625, 1626, 7, 9, 0, 0, 1626, 322, 1, 0, 0, 0, 1627, 1628, 7, 18, 0, 0, 1628, 1629, 7, 23, 0, 0, 1629, 1630, 7, 10, 0, 0, 1630, 1631, 7, 11, 0, 0, 1631, 324, 1, 0, 0, 0, 1632, 1633, 7, 3, 0, 0, 1633, 1634, 7, 4, 0, 0, 1634, 1635, 7, 11, 0, 0, 1635, 1636, 7, 9, 0, 0, 1636, 1637, 7, 2, 0, 0, 1637, 1638, 7, 9, 0, 0, 1638, 1639, 7, 2, 0, 0, 1639, 1640, 7, 18, 0, 0, 1640, 1641, 7, 7, 0, 0, 1641, 326, 1, 0, 0, 0, 1642, 1643, 7, 3, 0, 0, 1643, 1644, 7, 4, 0, 0, 1644, 1645, 7, 11, 0, 0, 1645, 1646, 7, 9, 0, 0, 1646, 1647, 7, 2, 0, 0, 1647, 1648, 7, 9, 0, 0, 1648, 1649, 7, 2, 0, 0, 1649, 1650, 7, 18, 0, 0, 1650, 1651, 7, 7, 0, 0, 1651, 1652, 7, 0, 0, 0, 1652, 328, 1, 0, 0, 0, 1653, 1654, 7, 3, 0, 0, 1654, 1655, 7, 4, 0, 0, 1655, 1656, 7, 0, 0, 0, 1656, 1657, 7, 9, 0, 0, 1657, 330, 1, 0, 0, 0, 1658, 1659, 7, 3, 0, 0, 1659, 1660, 7, 4, 0, 0, 1660, 1661, 7, 9, 0, 0, 1661, 1662, 7, 17, 0, 0, 1662, 332, 1, 0, 0, 0, 1663, 1664, 7, 3, 0, 0, 1664, 1665, 7, 4, 0, 0, 1665, 1666, 7, 9, 0, 0, 1666, 1667, 7, 9, 0, 0, 1667, 1668, 7, 10, 0, 0, 1668, 1669, 7, 11, 0, 0, 1669, 1670, 7, 7, 0, 0, 1670, 334, 1, 0, 0, 0, 1671, 1672, 7, 3, 0, 0, 1672, 1673, 7, 10, 0, 0, 1673, 1674, 7, 11, 0, 0, 1674, 336, 1, 0, 0, 0, 1675, 1676, 7, 3, 0, 0, 1676, 1677, 7, 10, 0, 0, 1677, 1678, 7, 11, 0, 0, 1678, 1679, 7, 6, 0, 0, 1679, 1680, 7, 16, 0, 0, 1680, 1681, 7, 9, 0, 0, 1681, 1682, 7, 10, 0, 0, 1682, 338, 1, 0, 0, 0, 1683, 1684, 7, 3, 0, 0, 1684, 1685, 7, 18, 0, 0, 1685, 1686, 7, 0, 0, 0, 1686, 1687, 7, 2, 0, 0, 1687, 1688, 7, 9, 0, 0, 1688, 1689, 7, 2, 0, 0, 1689, 1690, 7, 18, 0, 0, 1690, 1691, 7, 7, 0, 0, 1691, 340, 1, 0, 0, 0, 1692, 1693, 7, 3, 0, 0, 1693, 1694, 7, 11, 0, 0, 1694, 1695, 7, 10, 0, 0, 1695, 1696, 7, 15, 0, 0, 1696, 1697, 7, 10, 0, 0, 1697, 1698, 7, 5, 0, 0, 1698, 1699, 7, 2, 0, 0, 1699, 1700, 7, 7, 0, 0, 1700, 1701, 7, 21, 0, 0, 1701, 342, 1, 0, 0, 0, 1702, 1703, 7, 3, 0, 0, 1703, 1704, 7, 11, 0, 0, 1704, 1705, 7, 10, 0, 0, 1705, 1706, 7, 15, 0, 0, 1706, 1707, 7, 2, 0, 0, 1707, 1708, 7, 0, 0, 0, 1708, 1709, 7, 2, 0, 0, 1709, 1710, 7, 18, 0, 0, 1710, 1711, 7, 7, 0, 0, 1711, 344, 1, 0, 0, 0, 1712, 1713, 7, 3, 0, 0, 1713, 1714, 7, 11, 0, 0, 1714, 1715, 7, 10, 0, 0, 1715, 1716, 7, 3, 0, 0, 1716, 1717, 7, 4, 0, 0, 1717, 1718, 7, 11, 0, 0, 1718, 1719, 7, 10, 0, 0, 1719, 346, 1, 0, 0, 0, 1720, 1721, 7, 3, 0, 0, 1721, 1722, 7, 11, 0, 0, 1722, 1723, 7, 2, 0, 0, 1723, 1724, 7, 23, 0, 0, 1724, 1725, 7, 2, 0, 0, 1725, 1726, 7, 12, 0, 0, 1726, 1727, 7, 10, 0, 0, 1727, 1728, 7, 21, 0, 0, 1728, 1729, 7, 10, 0, 0, 1729, 1730, 7, 0, 0, 0, 1730, 348, 1, 0, 0, 0, 1731, 1732, 7, 3, 0, 0, 1732, 1733, 7, 11, 0, 0, 1733, 1734, 7, 18, 0, 0, 1734, 1735, 7, 3, 0, 0, 1735, 1736, 7, 10, 0, 0, 1736, 1737, 7, 11, 0, 0, 1737, 1738, 7, 9, 0, 0, 1738, 1739, 7, 2, 0, 0, 1739, 1740, 7, 10, 0, 0, 1740, 1741, 7, 0, 0, 0, 1741, 350, 1, 0, 0, 0, 1742, 1743, 7, 11, 0, 0, 1743, 1744, 7, 4, 0, 0, 1744, 1745, 7, 7, 0, 0, 1745, 1746, 7, 21, 0, 0, 1746, 1747, 7, 10, 0, 0, 1747, 352, 1, 0, 0, 0, 1748, 1749, 7, 11, 0, 0, 1749, 1750, 7, 10, 0, 0, 1750, 1751, 7, 4, 0, 0, 1751, 1752, 7, 5, 0, 0, 1752, 354, 1, 0, 0, 0, 1753, 1754, 7, 11, 0, 0, 1754, 1755, 7, 10, 0, 0, 1755, 1756, 7, 15, 0, 0, 1756, 1757, 7, 16, 0, 0, 1757, 1758, 7, 11, 0, 0, 1758, 1759, 7, 0, 0, 0, 1759, 1760, 7, 2, 0, 0, 1760, 1761, 7, 23, 0, 0, 1761, 1762, 7, 10, 0, 0, 1762, 356, 1, 0, 0, 0, 1763, 1764, 7, 11, 0, 0, 1764, 1765, 7, 10, 0, 0, 1765, 1766, 7, 8, 0, 0, 1766, 1767, 7, 11, 0, 0, 1767, 1768, 7, 10, 0, 0, 1768, 1769, 7, 0, 0, 0, 1769, 1770, 7, 17, 0, 0, 1770, 358, 1, 0, 0, 0, 1771, 1772, 7, 11, 0, 0, 1772, 1773, 7, 10, 0, 0, 1773, 1774, 7, 7, 0, 0, 1774, 1775, 7, 4, 0, 0, 1775, 1776, 7, 6, 0, 0, 1776, 1777, 7, 10, 0, 0, 1777, 360, 1, 0, 0, 0, 1778, 1779, 7, 11, 0, 0, 1779, 1780, 7, 10, 0, 0, 1780, 1781, 7, 3, 0, 0, 1781, 1782, 7, 10, 0, 0, 1782, 1783, 7, 4, 0, 0, 1783, 1784, 7, 9, 0, 0, 1784, 1785, 7, 4, 0, 0, 1785, 1786, 7, 19, 0, 0, 1786, 1787, 7, 12, 0, 0, 1787, 1788, 7, 10, 0, 0, 1788, 362, 1, 0, 0, 0, 1789, 1790, 7, 11, 0, 0, 1790, 1791, 7, 10, 0, 0, 1791, 1792, 7, 3, 0, 0, 1792, 1793, 7, 12, 0, 0, 1793, 1794, 7, 4, 0, 0, 1794, 1795, 7, 15, 0, 0, 1795, 1796, 7, 10, 0, 0, 1796, 364, 1, 0, 0, 0, 1797, 1798, 7, 11, 0, 0, 1798, 1799, 7, 10, 0, 0, 1799, 1800, 7, 0, 0, 0, 1800, 1801, 7, 10, 0, 0, 1801, 1802, 7, 9, 0, 0, 1802, 366, 1, 0, 0, 0, 1803, 1804, 7, 11, 0, 0, 1804, 1805, 7, 10, 0, 0, 1805, 1806, 7, 0, 0, 0, 1806, 1807, 7, 3, 0, 0, 1807, 1808, 7, 10, 0, 0, 1808, 1809, 7, 15, 0, 0, 1809, 1810, 7, 9, 0, 0, 1810, 368, 1, 0, 0, 0, 1811, 1812, 7, 11, 0, 0, 1812, 1813, 7, 10, 0, 0, 1813, 1814, 7, 0, 0, 0, 1814, 1815, 7, 9, 0, 0, 1815, 1816, 7, 11, 0, 0, 1816, 1817, 7, 2, 0, 0, 1817, 1818, 7, 15, 0, 0, 1818, 1819, 7, 9, 0, 0, 1819, 370, 1, 0, 0, 0, 1820, 1821, 7, 11, 0, 0, 1821, 1822, 7, 10, 0, 0, 1822, 1823, 7, 23, 0, 0, 1823, 1824, 7, 18, 0, 0, 1824, 1825, 7, 1, 0, 0, 1825, 1826, 7, 10, 0, 0, 1826, 372, 1, 0, 0, 0, 1827, 1828, 7, 11, 0, 0, 1828, 1829, 7, 2, 0, 0, 1829, 1830, 7, 21, 0, 0, 1830, 1831, 7, 17, 0, 0, 1831, 1832, 7, 9, 0, 0, 1832, 374, 1, 0, 0, 0, 1833, 1834, 7, 11, 0, 0, 1834, 1835, 7, 18, 0, 0, 1835, 1836, 7, 12, 0, 0, 1836, 1837, 7, 10, 0, 0, 1837, 376, 1, 0, 0, 0, 1838, 1839, 7, 11, 0, 0, 1839, 1840, 7, 18, 0, 0, 1840, 1841, 7, 12, 0, 0, 1841, 1842, 7, 10, 0, 0, 1842, 1843, 7, 0, 0, 0, 1843, 378, 1, 0, 0, 0, 1844, 1845, 7, 11, 0, 0, 1845, 1846, 7, 18, 0, 0, 1846, 1847, 7, 12, 0, 0, 1847, 1848, 7, 12, 0, 0, 1848, 1849, 7, 19, 0, 0, 1849, 1850, 7, 4, 0, 0, 1850, 1851, 7, 15, 0, 0, 1851, 1852, 7, 1, 0, 0, 1852, 380, 1, 0, 0, 0, 1853, 1854, 7, 11, 0, 0, 1854, 1855, 7, 18, 0, 0, 1855, 1856, 7, 12, 0, 0, 1856, 1857, 7, 12, 0, 0, 1857, 1858, 7, 16, 0, 0, 1858, 1859, 7, 3, 0, 0, 1859, 382, 1, 0, 0, 0, 1860, 1861, 7, 11, 0, 0, 1861, 1862, 7, 18, 0, 0, 1862, 1863, 7, 20, 0, 0, 1863, 384, 1, 0, 0, 0, 1864, 1865, 7, 11, 0, 0, 1865, 1866, 7, 18, 0, 0, 1866, 1867, 7, 20, 0, 0, 1867, 1868, 7, 0, 0, 0, 1868, 386, 1, 0, 0, 0, 1869, 1870, 7, 11, 0, 0, 1870, 1871, 7, 16, 0, 0, 1871, 1872, 7, 7, 0, 0, 1872, 1873, 7, 7, 0, 0, 1873, 1874, 7, 2, 0, 0, 1874, 1875, 7, 7, 0, 0, 1875, 1876, 7, 21, 0, 0, 1876, 388, 1, 0, 0, 0, 1877, 1878, 7, 0, 0, 0, 1878, 1879, 7, 15, 0, 0, 1879, 1880, 7, 17, 0, 0, 1880, 1881, 7, 10, 0, 0, 1881, 1882, 7, 6, 0, 0, 1882, 1883, 7, 4, 0, 0, 1883, 390, 1, 0, 0, 0, 1884, 1885, 7, 0, 0, 0, 1885, 1886, 7, 15, 0, 0, 1886, 1887, 7, 17, 0, 0, 1887, 1888, 7, 10, 0, 0, 1888, 1889, 7, 6, 0, 0, 1889, 1890, 7, 4, 0, 0, 1890, 1891, 7, 0, 0, 0, 1891, 392, 1, 0, 0, 0, 1892, 1893, 7, 0, 0, 0, 1893, 1894, 7, 10, 0, 0, 1894, 1895, 7, 15, 0, 0, 1895, 1896, 7, 18, 0, 0, 1896, 1897, 7, 7, 0, 0, 1897, 1898, 7, 5, 0, 0, 1898, 394, 1, 0, 0, 0, 1899, 1900, 7, 0, 0, 0, 1900, 1901, 7, 10, 0, 0, 1901, 1902, 7, 15, 0, 0, 1902, 1903, 7, 16, 0, 0, 1903, 1904, 7, 11, 0, 0, 1904, 1905, 7, 2, 0, 0, 1905, 1906, 7, 9, 0, 0, 1906, 1907, 7, 13, 0, 0, 1907, 396, 1, 0, 0, 0, 1908, 1909, 7, 0, 0, 0, 1909, 1910, 7, 10, 0, 0, 1910, 1911, 7, 10, 0, 0, 1911, 1912, 7, 1, 0, 0, 1912, 398, 1, 0, 0, 0, 1913, 1914, 7, 0, 0, 0, 1914, 1915, 7, 10, 0, 0, 1915, 1916, 7, 12, 0, 0, 1916, 1917, 7, 10, 0, 0, 1917, 1918, 7, 15, 0, 0, 1918, 1919, 7, 9, 0, 0, 1919, 400, 1, 0, 0, 0, 1920, 1921, 7, 0, 0, 0, 1921, 1922, 7, 10, 0, 0, 1922, 1923, 7, 11, 0, 0, 1923, 1924, 7, 2, 0, 0, 1924, 1925, 7, 4, 0, 0, 1925, 1926, 7, 12, 0, 0, 1926, 1927, 7, 2, 0, 0, 1927, 1928, 7, 14, 0, 0, 1928, 1929, 7, 4, 0, 0, 1929, 1930, 7, 19, 0, 0, 1930, 1931, 7, 12, 0, 0, 1931, 1932, 7, 10, 0, 0, 1932, 402, 1, 0, 0, 0, 1933, 1934, 7, 0, 0, 0, 1934, 1935, 7, 10, 0, 0, 1935, 1936, 7, 0, 0, 0, 1936, 1937, 7, 0, 0, 0, 1937, 1938, 7, 2, 0, 0, 1938, 1939, 7, 18, 0, 0, 1939, 1940, 7, 7, 0, 0, 1940, 404, 1, 0, 0, 0, 1941, 1942, 7, 0, 0, 0, 1942, 1943, 7, 10, 0, 0, 1943, 1944, 7, 9, 0, 0, 1944, 406, 1, 0, 0, 0, 1945, 1946, 7, 0, 0, 0, 1946, 1947, 7, 10, 0, 0, 1947, 1948, 7, 9, 0, 0, 1948, 1949, 7, 0, 0, 0, 1949, 408, 1, 0, 0, 0, 1950, 1951, 7, 0, 0, 0, 1951, 1952, 7, 17, 0, 0, 1952, 1953, 7, 18, 0, 0, 1953, 1954, 7, 20, 0, 0, 1954, 410, 1, 0, 0, 0, 1955, 1956, 7, 0, 0, 0, 1956, 1957, 7, 18, 0, 0, 1957, 1958, 7, 6, 0, 0, 1958, 1959, 7, 10, 0, 0, 1959, 412, 1, 0, 0, 0, 1960, 1961, 7, 0, 0, 0, 1961, 1962, 7, 9, 0, 0, 1962, 1963, 7, 4, 0, 0, 1963, 1964, 7, 11, 0, 0, 1964, 1965, 7, 9, 0, 0, 1965, 414, 1, 0, 0, 0, 1966, 1967, 7, 0, 0, 0, 1967, 1968, 7, 9, 0, 0, 1968, 1969, 7, 4, 0, 0, 1969, 1970, 7, 9, 0, 0, 1970, 1971, 7, 0, 0, 0, 1971, 416, 1, 0, 0, 0, 1972, 1973, 7, 0, 0, 0, 1973, 1974, 7, 16, 0, 0, 1974, 1975, 7, 19, 0, 0, 1975, 1976, 7, 0, 0, 0, 1976, 1977, 7, 10, 0, 0, 1977, 1978, 7, 9, 0, 0, 1978, 418, 1, 0, 0, 0, 1979, 1980, 7, 0, 0, 0, 1980, 1981, 7, 16, 0, 0, 1981, 1982, 7, 19, 0, 0, 1982, 1983, 7, 0, 0, 0, 1983, 1984, 7, 9, 0, 0, 1984, 1985, 7, 11, 0, 0, 1985, 1986, 7, 2, 0, 0, 1986, 1987, 7, 7, 0, 0, 1987, 1988, 7, 21, 0, 0, 1988, 420, 1, 0, 0, 0, 1989, 1990, 7, 0, 0, 0, 1990, 1991, 7, 13, 0, 0, 1991, 1992, 7, 0, 0, 0, 1992, 1993, 7, 9, 0, 0, 1993, 1994, 7, 10, 0, 0, 1994, 1995, 7, 6, 0, 0, 1995, 422, 1, 0, 0, 0, 1996, 1997, 7, 9, 0, 0, 1997, 1998, 7, 4, 0, 0, 1998, 1999, 7, 19, 0, 0, 1999, 2000, 7, 12, 0, 0, 2000, 2001, 7, 10, 0, 0, 2001, 424, 1, 0, 0, 0, 2002, 2003, 7, 9, 0, 0, 2003, 2004, 7, 4, 0, 0, 2004, 2005, 7, 19, 0, 0, 2005, 2006, 7, 12, 0, 0, 2006, 2007, 7, 10, 0, 0, 2007, 2008, 7, 0, 0, 0, 2008, 426, 1, 0, 0, 0, 2009, 2010, 7, 9, 0, 0, 2010, 2011, 7, 4, 0, 0, 2011, 2012, 7, 19, 0, 0, 2012, 2013, 7, 12, 0, 0, 2013, 2014, 7, 10, 0, 0, 2014, 2015, 7, 0, 0, 0, 2015, 2016, 7, 4, 0, 0, 2016, 2017, 7, 6, 0, 0, 2017, 2018, 7, 3, 0, 0, 2018, 2019, 7, 12, 0, 0, 2019, 2020, 7, 10, 0, 0, 2020, 428, 1, 0, 0, 0, 2021, 2022, 7, 9, 0, 0, 2022, 2023, 7, 10, 0, 0, 2023, 2024, 7, 22, 0, 0, 2024, 2025, 7, 9, 0, 0, 2025, 430, 1, 0, 0, 0, 2026, 2027, 7, 9, 0, 0, 2027, 2028, 7, 17, 0, 0, 2028, 2029, 7, 10, 0, 0, 2029, 2030, 7, 7, 0, 0, 2030, 432, 1, 0, 0, 0, 2031, 2032, 7, 9, 0, 0, 2032, 2033, 7, 2, 0, 0, 2033, 2034, 7, 10, 0, 0, 2034, 2035, 7, 0, 0, 0, 2035, 434, 1, 0, 0, 0, 2036, 2037, 7, 9, 0, 0, 2037, 2038, 7, 2, 0, 0, 2038, 2039, 7, 6, 0, 0, 2039, 2040, 7, 10, 0, 0, 2040, 436, 1, 0, 0, 0, 2041, 2042, 7, 9, 0, 0, 2042, 2043, 7, 2, 0, 0, 2043, 2044, 7, 6, 0, 0, 2044, 2045, 7, 10, 0, 0, 2045, 2046, 7, 0, 0, 0, 2046, 2047, 7, 9, 0, 0, 2047, 2048, 7, 4, 0, 0, 2048, 2049, 7, 6, 0, 0, 2049, 2050, 7, 3, 0, 0, 2050, 438, 1, 0, 0, 0, 2051, 2052, 7, 9, 0, 0, 2052, 2053, 7, 18, 0, 0, 2053, 440, 1, 0, 0, 0, 2054, 2055, 7, 9, 0, 0, 2055, 2056, 7, 11, 0, 0, 2056, 2057, 7, 4, 0, 0, 2057, 2058, 7, 7, 0, 0, 2058, 2059, 7, 0, 0, 0, 2059, 2060, 7, 4, 0, 0, 2060, 2061, 7, 15, 0, 0, 2061, 2062, 7, 9, 0, 0, 2062, 2063, 7, 2, 0, 0, 2063, 2064, 7, 18, 0, 0, 2064, 2065, 7, 7, 0, 0, 2065, 442, 1, 0, 0, 0, 2066, 2067, 7, 9, 0, 0, 2067, 2068, 7, 11, 0, 0, 2068, 2069, 7, 16, 0, 0, 2069, 2070, 7, 7, 0, 0, 2070, 2071, 7, 15, 0, 0, 2071, 2072, 7, 4, 0, 0, 2072, 2073, 7, 9, 0, 0, 2073, 2074, 7, 10, 0, 0, 2074, 444, 1, 0, 0, 0, 2075, 2076, 7, 9, 0, 0, 2076, 2077, 7, 11, 0, 0, 2077, 2078, 7, 16, 0, 0, 2078, 2079, 7, 10, 0, 0, 2079, 446, 1, 0, 0, 0, 2080, 2081, 7, 9, 0, 0, 2081, 2082, 7, 11, 0, 0, 2082, 2083, 7, 13, 0, 0, 2083, 2084, 5, 95, 0, 0, 2084, 2085, 7, 15, 0, 0, 2085, 2086, 7, 4, 0, 0, 2086, 2087, 7, 0, 0, 0, 2087, 2088, 7, 9, 0, 0, 2088, 448, 1, 0, 0, 0, 2089, 2090, 7, 9, 0, 0, 2090, 2091, 7, 13, 0, 0, 2091, 2092, 7, 3, 0, 0, 2092, 2093, 7, 10, 0, 0, 2093, 450, 1, 0, 0, 0, 2094, 2095, 7, 16, 0, 0, 2095, 2096, 7, 10, 0, 0, 2096, 2097, 7, 0, 0, 0, 2097, 2098, 7, 15, 0, 0, 2098, 2099, 7, 4, 0, 0, 2099, 2100, 7, 3, 0, 0, 2100, 2101, 7, 10, 0, 0, 2101, 452, 1, 0, 0, 0, 2102, 2103, 7, 16, 0, 0, 2103, 2104, 7, 7, 0, 0, 2104, 2105, 7, 19, 0, 0, 2105, 2106, 7, 18, 0, 0, 2106, 2107, 7, 16, 0, 0, 2107, 2108, 7, 7, 0, 0, 2108, 2109, 7, 5, 0, 0, 2109, 2110, 7, 10, 0, 0, 2110, 2111, 7, 5, 0, 0, 2111, 454, 1, 0, 0, 0, 2112, 2113, 7, 16, 0, 0, 2113, 2114, 7, 7, 0, 0, 2114, 2115, 7, 15, 0, 0, 2115, 2116, 7, 18, 0, 0, 2116, 2117, 7, 6, 0, 0, 2117, 2118, 7, 6, 0, 0, 2118, 2119, 7, 2, 0, 0, 2119, 2120, 7, 9, 0, 0, 2120, 2121, 7, 9, 0, 0, 2121, 2122, 7, 10, 0, 0, 2122, 2123, 7, 5, 0, 0, 2123, 456, 1, 0, 0, 0, 2124, 2125, 7, 16, 0, 0, 2125, 2126, 7, 7, 0, 0, 2126, 2127, 7, 2, 0, 0, 2127, 2128, 7, 18, 0, 0, 2128, 2129, 7, 7, 0, 0, 2129, 458, 1, 0, 0, 0, 2130, 2131, 7, 16, 0, 0, 2131, 2132, 7, 7, 0, 0, 2132, 2133, 7, 6, 0, 0, 2133, 2134, 7, 4, 0, 0, 2134, 2135, 7, 9, 0, 0, 2135, 2136, 7, 15, 0, 0, 2136, 2137, 7, 17, 0, 0, 2137, 2138, 7, 10, 0, 0, 2138, 2139, 7, 5, 0, 0, 2139, 460, 1, 0, 0, 0, 2140, 2141, 7, 16, 0, 0, 2141, 2142, 7, 7, 0, 0, 2142, 2143, 7, 7, 0, 0, 2143, 2144, 7, 10, 0, 0, 2144, 2145, 7, 0, 0, 0, 2145, 2146, 7, 9, 0, 0, 2146, 462, 1, 0, 0, 0, 2147, 2148, 7, 16, 0, 0, 2148, 2149, 7, 3, 0, 0, 2149, 2150, 7, 5, 0, 0, 2150, 2151, 7, 4, 0, 0, 2151, 2152, 7, 9, 0, 0, 2152, 2153, 7, 10, 0, 0, 2153, 464, 1, 0, 0, 0, 2154, 2155, 7, 16, 0, 0, 2155, 2156, 7, 0, 0, 0, 2156, 2157, 7, 10, 0, 0, 2157, 466, 1, 0, 0, 0, 2158, 2159, 7, 16, 0, 0, 2159, 2160, 7, 0, 0, 0, 2160, 2161, 7, 10, 0, 0, 2161, 2162, 7, 11, 0, 0, 2162, 468, 1, 0, 0, 0, 2163, 2164, 7, 16, 0, 0, 2164, 2165, 7, 0, 0, 0, 2165, 2166, 7, 2, 0, 0, 2166, 2167, 7, 7, 0, 0, 2167, 2168, 7, 21, 0, 0, 2168, 470, 1, 0, 0, 0, 2169, 2170, 7, 23, 0, 0, 2170, 2171, 7, 4, 0, 0, 2171, 2172, 7, 12, 0, 0, 2172, 2173, 7, 2, 0, 0, 2173, 2174, 7, 5, 0, 0, 2174, 2175, 7, 4, 0, 0, 2175, 2176, 7, 9, 0, 0, 2176, 2177, 7, 10, 0, 0, 2177, 472, 1, 0, 0, 0, 2178, 2179, 7, 23, 0, 0, 2179, 2180, 7, 4, 0, 0, 2180, 2181, 7, 12, 0, 0, 2181, 2182, 7, 16, 0, 0, 2182, 2183, 7, 10, 0, 0, 2183, 2184, 7, 0, 0, 0, 2184, 474, 1, 0, 0, 0, 2185, 2186, 7, 23, 0, 0, 2186, 2187, 7, 10, 0, 0, 2187, 2188, 7, 11, 0, 0, 2188, 2189, 7, 19, 0, 0, 2189, 2190, 7, 18, 0, 0, 2190, 2191, 7, 0, 0, 0, 2191, 2192, 7, 10, 0, 0, 2192, 476, 1, 0, 0, 0, 2193, 2194, 7, 23, 0, 0, 2194, 2195, 7, 2, 0, 0, 2195, 2196, 7, 10, 0, 0, 2196, 2197, 7, 20, 0, 0, 2197, 478, 1, 0, 0, 0, 2198, 2199, 7, 20, 0, 0, 2199, 2200, 7, 17, 0, 0, 2200, 2201, 7, 10, 0, 0, 2201, 2202, 7, 7, 0, 0, 2202, 480, 1, 0, 0, 0, 2203, 2204, 7, 20, 0, 0, 2204, 2205, 7, 17, 0, 0, 2205, 2206, 7, 10, 0, 0, 2206, 2207, 7, 11, 0, 0, 2207, 2208, 7, 10, 0, 0, 2208, 482, 1, 0, 0, 0, 2209, 2210, 7, 20, 0, 0, 2210, 2211, 7, 2, 0, 0, 2211, 2212, 7, 7, 0, 0, 2212, 2213, 7, 5, 0, 0, 2213, 2214, 7, 18, 0, 0, 2214, 2215, 7, 20, 0, 0, 2215, 484, 1, 0, 0, 0, 2216, 2217, 7, 20, 0, 0, 2217, 2218, 7, 2, 0, 0, 2218, 2219, 7, 9, 0, 0, 2219, 2220, 7, 17, 0, 0, 2220, 486, 1, 0, 0, 0, 2221, 2222, 7, 20, 0, 0, 2222, 2223, 7, 2, 0, 0, 2223, 2224, 7, 9, 0, 0, 2224, 2225, 7, 17, 0, 0, 2225, 2226, 7, 18, 0, 0, 2226, 2227, 7, 16, 0, 0, 2227, 2228, 7, 9, 0, 0, 2228, 488, 1, 0, 0, 0, 2229, 2230, 7, 20, 0, 0, 2230, 2231, 7, 18, 0, 0, 2231, 2232, 7, 11, 0, 0, 2232, 2233, 7, 1, 0, 0, 2233, 490, 1, 0, 0, 0, 2234, 2235, 7, 20, 0, 0, 2235, 2236, 7, 11, 0, 0, 2236, 2237, 7, 2, 0, 0, 2237, 2238, 7, 9, 0, 0, 2238, 2239, 7, 10, 0, 0, 2239, 492, 1, 0, 0, 0, 2240, 2241, 7, 13, 0, 0, 2241, 2242, 7, 10, 0, 0, 2242, 2243, 7, 4, 0, 0, 2243, 2244, 7, 11, 0, 0, 2244, 494, 1, 0, 0, 0, 2245, 2246, 7, 14, 0, 0, 2246, 2247, 7, 18, 0, 0, 2247, 2248, 7, 7, 0, 0, 2248, 2249, 7, 10, 0, 0, 2249, 496, 1, 0, 0, 0, 2250, 2251, 5, 61, 0, 0, 2251, 498, 1, 0, 0, 0, 2252, 2253, 5, 60, 0, 0, 2253, 2257, 5, 62, 0, 0, 2254, 2255, 5, 33, 0, 0, 2255, 2257, 5, 61, 0, 0, 2256, 2252, 1, 0, 0, 0, 2256, 2254, 1, 0, 0, 0, 2257, 500, 1, 0, 0, 0, 2258, 2259, 5, 60, 0, 0, 2259, 502, 1, 0, 0, 0, 2260, 2261, 5, 60, 0, 0, 2261, 2262, 5, 61, 0, 0, 2262, 504, 1, 0, 0, 0, 2263, 2264, 5, 62, 0, 0, 2264, 506, 1, 0, 0, 0, 2265, 2266, 5, 62, 0, 0, 2266, 2267, 5, 61, 0, 0, 2267, 508, 1, 0, 0, 0, 2268, 2269, 5, 43, 0, 0, 2269, 510, 1, 0, 0, 0, 2270, 2271, 5, 45, 0, 0, 2271, 512, 1, 0, 0, 0, 2272, 2273, 5, 42, 0, 0, 2273, 514, 1, 0, 0, 0, 2274, 2275, 5, 47, 0, 0, 2275, 516, 1, 0, 0, 0, 2276, 2277, 5, 37, 0, 0, 2277, 518, 1, 0, 0, 0, 2278, 2279, 5, 124, 0, 0, 2279, 2280, 5, 124, 0, 0, 2280, 520, 1, 0, 0, 0, 2281, 2282, 5, 63, 0, 0, 2282, 522, 1, 0, 0, 0, 2283, 2289, 5, 39, 0, 0, 2284, 2288, 8, 25, 0, 0, 2285, 2286, 5, 39, 0, 0, 2286, 2288, 5, 39, 0, 0, 2287, 2284, 1, 0, 0, 0, 2287, 2285, 1, 0, 0, 0, 2288, 2291, 1, 0, 0, 0, 2289, 2287, 1, 0, 0, 0, 2289, 2290, 1, 0, 0, 0, 2290, 2292, 1, 0, 0, 0, 2291, 2289, 1, 0, 0, 0, 2292, 2293, 5, 39, 0, 0, 2293, 524, 1, 0, 0, 0, 2294, 2295, 7, 16, 0, 0, 2295, 2296, 5, 38, 0, 0, 2296, 2297, 5, 39, 0, 0, 2297, 2303, 1, 0, 0, 0, 2298, 2302, 8, 25, 0, 0, 2299, 2300, 5, 39, 0, 0, 2300, 2302, 5, 39, 0, 0, 2301, 2298, 1, 0, 0, 0, 2301, 2299, 1, 0, 0, 0, 2302, 2305, 1, 0, 0, 0, 2303, 2301, 1, 0, 0, 0, 2303, 2304, 1, 0, 0, 0, 2304, 2306, 1, 0, 0, 0, 2305, 2303, 1, 0, 0, 0, 2306, 2307, 5, 39, 0, 0, 2307, 526, 1, 0, 0, 0, 2308, 2309, 7, 22, 0, 0, 2309, 2310, 5, 39, 0, 0, 2310, 2314, 1, 0, 0, 0, 2311, 2313, 8, 25, 0, 0, 2312, 2311, 1, 0, 0, 0, 2313, 2316, 1, 0, 0, 0, 2314, 2312, 1, 0, 0, 0, 2314, 2315, 1, 0, 0, 0, 2315, 2317, 1, 0, 0, 0, 2316, 2314, 1, 0, 0, 0, 2317, 2318, 5, 39, 0, 0, 2318, 528, 1, 0, 0, 0, 2319, 2321, 3, 547, 273, 0, 2320, 2319, 1, 0, 0, 0, 2321, 2322, 1, 0, 0, 0, 2322, 2320, 1, 0, 0, 0, 2322, 2323, 1, 0, 0, 0, 2323, 530, 1, 0, 0, 0, 2324, 2326, 3, 547, 273, 0, 2325, 2324, 1, 0, 0, 0, 2326, 2327, 1, 0, 0, 0, 2327, 2325, 1, 0, 0, 0, 2327, 2328, 1, 0, 0, 0, 2328, 2329, 1, 0, 0, 0, 2329, 2333, 5, 46, 0, 0, 2330, 2332, 3, 547, 273, 0, 2331, 2330, 1, 0, 0, 0, 2332, 2335, 1, 0, 0, 0, 2333, 2331, 1, 0, 0, 0, 2333, 2334, 1, 0, 0, 0, 2334, 2343, 1, 0, 0, 0, 2335, 2333, 1, 0, 0, 0, 2336, 2338, 5, 46, 0, 0, 2337, 2339, 3, 547, 273, 0, 2338, 2337, 1, 0, 0, 0, 2339, 2340, 1, 0, 0, 0, 2340, 2338, 1, 0, 0, 0, 2340, 2341, 1, 0, 0, 0, 2341, 2343, 1, 0, 0, 0, 2342, 2325, 1, 0, 0, 0, 2342, 2336, 1, 0, 0, 0, 2343, 532, 1, 0, 0, 0, 2344, 2346, 3, 547, 273, 0, 2345, 2344, 1, 0, 0, 0, 2346, 2347, 1, 0, 0, 0, 2347, 2345, 1, 0, 0, 0, 2347, 2348, 1, 0, 0, 0, 2348, 2356, 1, 0, 0, 0, 2349, 2353, 5, 46, 0, 0, 2350, 2352, 3, 547, 273, 0, 2351, 2350, 1, 0, 0, 0, 2352, 2355, 1, 0, 0, 0, 2353, 2351, 1, 0, 0, 0, 2353, 2354, 1, 0, 0, 0, 2354, 2357, 1, 0, 0, 0, 2355, 2353, 1, 0, 0, 0, 2356, 2349, 1, 0, 0, 0, 2356, 2357, 1, 0, 0, 0, 2357, 2358, 1, 0, 0, 0, 2358, 2359, 3, 545, 272, 0, 2359, 2369, 1, 0, 0, 0, 2360, 2362, 5, 46, 0, 0, 2361, 2363, 3, 547, 273, 0, 2362, 2361, 1, 0, 0, 0, 2363, 2364, 1, 0, 0, 0, 2364, 2362, 1, 0, 0, 0, 2364, 2365, 1, 0, 0, 0, 2365, 2366, 1, 0, 0, 0, 2366, 2367, 3, 545, 272, 0, 2367, 2369, 1, 0, 0, 0, 2368, 2345, 1, 0, 0, 0, 2368, 2360, 1, 0, 0, 0, 2369, 534, 1, 0, 0, 0, 2370, 2373, 3, 549, 274, 0, 2371, 2373, 5, 95, 0, 0, 2372, 2370, 1, 0, 0, 0, 2372, 2371, 1, 0, 0, 0, 2373, 2379, 1, 0, 0, 0, 2374, 2378, 3, 549, 274, 0, 2375, 2378, 3, 547, 273, 0, 2376, 2378, 5, 95, 0, 0, 2377, 2374, 1, 0, 0, 0, 2377, 2375, 1, 0, 0, 0, 2377, 2376, 1, 0, 0, 0, 2378, 2381, 1, 0, 0, 0, 2379, 2377, 1, 0, 0, 0, 2379, 2380, 1, 0, 0, 0, 2380, 536, 1, 0, 0, 0, 2381, 2379, 1, 0, 0, 0, 2382, 2386, 3, 547, 273, 0, 2383, 2387, 3, 549, 274, 0, 2384, 2387, 3, 547, 273, 0, 2385, 2387, 5, 95, 0, 0, 2386, 2383, 1, 0, 0, 0, 2386, 2384, 1, 0, 0, 0, 2386, 2385, 1, 0, 0, 0, 2387, 2388, 1, 0, 0, 0, 2388, 2386, 1, 0, 0, 0, 2388, 2389, 1, 0, 0, 0, 2389, 538, 1, 0, 0, 0, 2390, 2396, 5, 34, 0, 0, 2391, 2395, 8, 26, 0, 0, 2392, 2393, 5, 34, 0, 0, 2393, 2395, 5, 34, 0, 0, 2394, 2391, 1, 0, 0, 0, 2394, 2392, 1, 0, 0, 0, 2395, 2398, 1, 0, 0, 0, 2396, 2394, 1, 0, 0, 0, 2396, 2397, 1, 0, 0, 0, 2397, 2399, 1, 0, 0, 0, 2398, 2396, 1, 0, 0, 0, 2399, 2400, 5, 34, 0, 0, 2400, 540, 1, 0, 0, 0, 2401, 2407, 5, 96, 0, 0, 2402, 2406, 8, 27, 0, 0, 2403, 2404, 5, 96, 0, 0, 2404, 2406, 5, 96, 0, 0, 2405, 2402, 1, 0, 0, 0, 2405, 2403, 1, 0, 0, 0, 2406, 2409, 1, 0, 0, 0, 2407, 2405, 1, 0, 0, 0, 2407, 2408, 1, 0, 0, 0, 2408, 2410, 1, 0, 0, 0, 2409, 2407, 1, 0, 0, 0, 2410, 2411, 5, 96, 0, 0, 2411, 542, 1, 0, 0, 0, 2412, 2413, 5, 59, 0, 0, 2413, 544, 1, 0, 0, 0, 2414, 2416, 7, 10, 0, 0, 2415, 2417, 7, 28, 0, 0, 2416, 2415, 1, 0, 0, 0, 2416, 2417, 1, 0, 0, 0, 2417, 2419, 1, 0, 0, 0, 2418, 2420, 3, 547, 273, 0, 2419, 2418, 1, 0, 0, 0, 2420, 2421, 1, 0, 0, 0, 2421, 2419, 1, 0, 0, 0, 2421, 2422, 1, 0, 0, 0, 2422, 546, 1, 0, 0, 0, 2423, 2424, 7, 29, 0, 0, 2424, 548, 1, 0, 0, 0, 2425, 2426, 7, 30, 0, 0, 2426, 550, 1, 0, 0, 0, 2427, 2428, 5, 45, 0, 0, 2428, 2429, 5, 45, 0, 0, 2429, 2433, 1, 0, 0, 0, 2430, 2432, 8, 31, 0, 0, 2431, 2430, 1, 0, 0, 0, 2432, 2435, 1, 0, 0, 0, 2433, 2431, 1, 0, 0, 0, 2433, 2434, 1, 0, 0, 0, 2434, 2437, 1, 0, 0, 0, 2435, 2433, 1, 0, 0, 0, 2436, 2438, 5, 13, 0, 0, 2437, 2436, 1, 0, 0, 0, 2437, 2438, 1, 0, 0, 0, 2438, 2440, 1, 0, 0, 0, 2439, 2441, 5, 10, 0, 0, 2440, 2439, 1, 0, 0, 0, 2440, 2441, 1, 0, 0, 0, 2441, 2442, 1, 0, 0, 0, 2442, 2443, 6, 275, 0, 0, 2443, 552, 1, 0, 0, 0, 2444, 2445, 5, 47, 0, 0, 2445, 2446, 5, 42, 0, 0, 2446, 2450, 1, 0, 0, 0, 2447, 2449, 9, 0, 0, 0, 2448, 2447, 1, 0, 0, 0, 2449, 2452, 1, 0, 0, 0, 2450, 2451, 1, 0, 0, 0, 2450, 2448, 1, 0, 0, 0, 2451, 2453, 1, 0, 0, 0, 2452, 2450, 1, 0, 0, 0, 2453, 2454, 5, 42, 0, 0, 2454, 2455, 5, 47, 0, 0, 2455, 2456, 1, 0, 0, 0, 2456, 2457, 6, 276, 0, 0, 2457, 554, 1, 0, 0, 0, 2458, 2460, 7, 32, 0, 0, 2459, 2458, 1, 0, 0, 0, 2460, 2461, 1, 0, 0, 0, 2461, 2459, 1, 0, 0, 0, 2461, 2462, 1, 0, 0, 0, 2462, 2463, 1, 0, 0, 0, 2463, 2464, 6, 277, 0, 0, 2464, 556, 1, 0, 0, 0, 2465, 2466, 9, 0, 0, 0, 2466, 558, 1, 0, 0, 0, 33, 0, 2256, 2287, 2289, 2301, 2303, 2314, 2322, 2327, 2333, 2340, 2342, 2347, 2353, 2356, 2364, 2368, 2372, 2377, 2379, 2386, 2388, 2394, 2396, 2405, 2407, 2416, 2421, 2433, 2437, 2440, 2450, 2461, 1, 0, 1, 0] \ No newline at end of file +[4, 0, 339, 3117, 6, -1, 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, 7, 268, 2, 269, 7, 269, 2, 270, 7, 270, 2, 271, 7, 271, 2, 272, 7, 272, 2, 273, 7, 273, 2, 274, 7, 274, 2, 275, 7, 275, 2, 276, 7, 276, 2, 277, 7, 277, 2, 278, 7, 278, 2, 279, 7, 279, 2, 280, 7, 280, 2, 281, 7, 281, 2, 282, 7, 282, 2, 283, 7, 283, 2, 284, 7, 284, 2, 285, 7, 285, 2, 286, 7, 286, 2, 287, 7, 287, 2, 288, 7, 288, 2, 289, 7, 289, 2, 290, 7, 290, 2, 291, 7, 291, 2, 292, 7, 292, 2, 293, 7, 293, 2, 294, 7, 294, 2, 295, 7, 295, 2, 296, 7, 296, 2, 297, 7, 297, 2, 298, 7, 298, 2, 299, 7, 299, 2, 300, 7, 300, 2, 301, 7, 301, 2, 302, 7, 302, 2, 303, 7, 303, 2, 304, 7, 304, 2, 305, 7, 305, 2, 306, 7, 306, 2, 307, 7, 307, 2, 308, 7, 308, 2, 309, 7, 309, 2, 310, 7, 310, 2, 311, 7, 311, 2, 312, 7, 312, 2, 313, 7, 313, 2, 314, 7, 314, 2, 315, 7, 315, 2, 316, 7, 316, 2, 317, 7, 317, 2, 318, 7, 318, 2, 319, 7, 319, 2, 320, 7, 320, 2, 321, 7, 321, 2, 322, 7, 322, 2, 323, 7, 323, 2, 324, 7, 324, 2, 325, 7, 325, 2, 326, 7, 326, 2, 327, 7, 327, 2, 328, 7, 328, 2, 329, 7, 329, 2, 330, 7, 330, 2, 331, 7, 331, 2, 332, 7, 332, 2, 333, 7, 333, 2, 334, 7, 334, 2, 335, 7, 335, 2, 336, 7, 336, 2, 337, 7, 337, 2, 338, 7, 338, 2, 339, 7, 339, 2, 340, 7, 340, 2, 341, 7, 341, 2, 342, 7, 342, 2, 343, 7, 343, 2, 344, 7, 344, 2, 345, 7, 345, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 118, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 121, 1, 121, 1, 121, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 131, 1, 131, 1, 131, 1, 132, 1, 132, 1, 132, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 134, 1, 134, 1, 134, 1, 134, 1, 134, 1, 134, 1, 134, 1, 134, 1, 135, 1, 135, 1, 135, 1, 135, 1, 135, 1, 136, 1, 136, 1, 136, 1, 136, 1, 136, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 1, 144, 1, 144, 1, 144, 1, 144, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 147, 1, 147, 1, 147, 1, 147, 1, 147, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 149, 1, 149, 1, 149, 1, 149, 1, 149, 1, 149, 1, 149, 1, 149, 1, 150, 1, 150, 1, 150, 1, 150, 1, 150, 1, 150, 1, 151, 1, 151, 1, 151, 1, 151, 1, 151, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 153, 1, 153, 1, 153, 1, 153, 1, 153, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 156, 1, 156, 1, 156, 1, 156, 1, 156, 1, 156, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 1, 161, 1, 161, 1, 161, 1, 161, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 164, 1, 164, 1, 164, 1, 164, 1, 164, 1, 164, 1, 164, 1, 164, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 169, 1, 169, 1, 169, 1, 169, 1, 169, 1, 169, 1, 169, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 170, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 174, 1, 174, 1, 174, 1, 174, 1, 175, 1, 175, 1, 175, 1, 175, 1, 176, 1, 176, 1, 176, 1, 176, 1, 176, 1, 177, 1, 177, 1, 177, 1, 177, 1, 177, 1, 178, 1, 178, 1, 178, 1, 179, 1, 179, 1, 179, 1, 179, 1, 179, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 181, 1, 181, 1, 181, 1, 181, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 185, 1, 185, 1, 185, 1, 185, 1, 185, 1, 185, 1, 185, 1, 186, 1, 186, 1, 186, 1, 187, 1, 187, 1, 187, 1, 187, 1, 187, 1, 187, 1, 187, 1, 188, 1, 188, 1, 188, 1, 188, 1, 188, 1, 189, 1, 189, 1, 189, 1, 190, 1, 190, 1, 190, 1, 190, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 192, 1, 192, 1, 192, 1, 192, 1, 192, 1, 192, 1, 192, 1, 193, 1, 193, 1, 193, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 198, 1, 198, 1, 198, 1, 198, 1, 198, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 203, 1, 203, 1, 203, 1, 203, 1, 203, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 206, 1, 206, 1, 206, 1, 206, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 213, 1, 214, 1, 214, 1, 214, 1, 214, 1, 214, 1, 214, 1, 214, 1, 214, 1, 214, 1, 214, 1, 214, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 217, 1, 217, 1, 217, 1, 217, 1, 217, 1, 217, 1, 217, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 219, 1, 219, 1, 219, 1, 219, 1, 219, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 222, 1, 222, 1, 222, 1, 222, 1, 222, 1, 222, 1, 222, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 233, 1, 233, 1, 233, 1, 233, 1, 233, 1, 233, 1, 234, 1, 234, 1, 234, 1, 234, 1, 234, 1, 235, 1, 235, 1, 235, 1, 235, 1, 235, 1, 235, 1, 236, 1, 236, 1, 236, 1, 236, 1, 236, 1, 236, 1, 236, 1, 236, 1, 236, 1, 237, 1, 237, 1, 237, 1, 237, 1, 237, 1, 237, 1, 237, 1, 238, 1, 238, 1, 238, 1, 238, 1, 239, 1, 239, 1, 239, 1, 239, 1, 239, 1, 240, 1, 240, 1, 240, 1, 240, 1, 240, 1, 240, 1, 240, 1, 240, 1, 241, 1, 241, 1, 241, 1, 241, 1, 241, 1, 241, 1, 241, 1, 242, 1, 242, 1, 242, 1, 242, 1, 242, 1, 242, 1, 242, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 244, 1, 244, 1, 244, 1, 244, 1, 244, 1, 244, 1, 244, 1, 245, 1, 245, 1, 245, 1, 245, 1, 245, 1, 245, 1, 245, 1, 245, 1, 245, 1, 246, 1, 246, 1, 246, 1, 246, 1, 246, 1, 247, 1, 247, 1, 247, 1, 247, 1, 247, 1, 247, 1, 247, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 249, 1, 249, 1, 249, 1, 249, 1, 249, 1, 249, 1, 249, 1, 249, 1, 250, 1, 250, 1, 250, 1, 250, 1, 251, 1, 251, 1, 251, 1, 251, 1, 251, 1, 252, 1, 252, 1, 252, 1, 252, 1, 252, 1, 253, 1, 253, 1, 253, 1, 253, 1, 253, 1, 254, 1, 254, 1, 254, 1, 254, 1, 254, 1, 254, 1, 255, 1, 255, 1, 255, 1, 255, 1, 255, 1, 255, 1, 256, 1, 256, 1, 256, 1, 256, 1, 256, 1, 256, 1, 256, 1, 257, 1, 257, 1, 257, 1, 257, 1, 257, 1, 257, 1, 257, 1, 257, 1, 257, 1, 257, 1, 258, 1, 258, 1, 258, 1, 258, 1, 258, 1, 258, 1, 258, 1, 259, 1, 259, 1, 259, 1, 259, 1, 259, 1, 259, 1, 260, 1, 260, 1, 260, 1, 260, 1, 260, 1, 260, 1, 260, 1, 261, 1, 261, 1, 261, 1, 261, 1, 261, 1, 261, 1, 261, 1, 261, 1, 261, 1, 261, 1, 261, 1, 261, 1, 262, 1, 262, 1, 262, 1, 262, 1, 262, 1, 263, 1, 263, 1, 263, 1, 263, 1, 263, 1, 263, 1, 263, 1, 264, 1, 264, 1, 264, 1, 264, 1, 264, 1, 265, 1, 265, 1, 265, 1, 265, 1, 265, 1, 266, 1, 266, 1, 266, 1, 266, 1, 266, 1, 267, 1, 267, 1, 267, 1, 267, 1, 267, 1, 267, 1, 267, 1, 267, 1, 267, 1, 267, 1, 268, 1, 268, 1, 268, 1, 269, 1, 269, 1, 269, 1, 269, 1, 269, 1, 269, 1, 269, 1, 269, 1, 269, 1, 270, 1, 270, 1, 270, 1, 270, 1, 270, 1, 270, 1, 270, 1, 270, 1, 270, 1, 270, 1, 270, 1, 270, 1, 271, 1, 271, 1, 271, 1, 271, 1, 271, 1, 272, 1, 272, 1, 272, 1, 272, 1, 272, 1, 273, 1, 273, 1, 273, 1, 273, 1, 273, 1, 273, 1, 273, 1, 273, 1, 273, 1, 274, 1, 274, 1, 274, 1, 274, 1, 274, 1, 274, 1, 274, 1, 274, 1, 274, 1, 275, 1, 275, 1, 275, 1, 275, 1, 275, 1, 276, 1, 276, 1, 276, 1, 276, 1, 276, 1, 276, 1, 276, 1, 276, 1, 277, 1, 277, 1, 277, 1, 277, 1, 277, 1, 277, 1, 277, 1, 277, 1, 277, 1, 277, 1, 278, 1, 278, 1, 278, 1, 278, 1, 278, 1, 278, 1, 278, 1, 278, 1, 278, 1, 278, 1, 278, 1, 278, 1, 279, 1, 279, 1, 279, 1, 279, 1, 279, 1, 279, 1, 279, 1, 279, 1, 279, 1, 279, 1, 279, 1, 279, 1, 279, 1, 279, 1, 280, 1, 280, 1, 280, 1, 280, 1, 280, 1, 280, 1, 281, 1, 281, 1, 281, 1, 281, 1, 281, 1, 281, 1, 281, 1, 282, 1, 282, 1, 282, 1, 282, 1, 282, 1, 282, 1, 282, 1, 282, 1, 283, 1, 283, 1, 283, 1, 283, 1, 283, 1, 283, 1, 283, 1, 283, 1, 283, 1, 283, 1, 284, 1, 284, 1, 284, 1, 284, 1, 284, 1, 284, 1, 284, 1, 285, 1, 285, 1, 285, 1, 285, 1, 285, 1, 285, 1, 286, 1, 286, 1, 286, 1, 286, 1, 286, 1, 286, 1, 286, 1, 287, 1, 287, 1, 287, 1, 287, 1, 288, 1, 288, 1, 288, 1, 288, 1, 288, 1, 289, 1, 289, 1, 289, 1, 289, 1, 289, 1, 289, 1, 290, 1, 290, 1, 290, 1, 290, 1, 290, 1, 290, 1, 291, 1, 291, 1, 291, 1, 291, 1, 291, 1, 291, 1, 292, 1, 292, 1, 292, 1, 292, 1, 292, 1, 293, 1, 293, 1, 293, 1, 293, 1, 293, 1, 293, 1, 293, 1, 293, 1, 293, 1, 294, 1, 294, 1, 294, 1, 294, 1, 294, 1, 294, 1, 295, 1, 295, 1, 295, 1, 295, 1, 295, 1, 295, 1, 295, 1, 296, 1, 296, 1, 296, 1, 296, 1, 296, 1, 296, 1, 296, 1, 296, 1, 297, 1, 297, 1, 297, 1, 297, 1, 297, 1, 297, 1, 297, 1, 297, 1, 298, 1, 298, 1, 298, 1, 298, 1, 298, 1, 299, 1, 299, 1, 299, 1, 299, 1, 299, 1, 300, 1, 300, 1, 300, 1, 300, 1, 300, 1, 300, 1, 301, 1, 301, 1, 301, 1, 301, 1, 301, 1, 301, 1, 302, 1, 302, 1, 302, 1, 302, 1, 302, 1, 302, 1, 302, 1, 303, 1, 303, 1, 303, 1, 303, 1, 303, 1, 304, 1, 304, 1, 304, 1, 304, 1, 304, 1, 304, 1, 304, 1, 305, 1, 305, 1, 305, 1, 305, 1, 305, 1, 305, 1, 305, 1, 305, 1, 306, 1, 306, 1, 306, 1, 306, 1, 306, 1, 307, 1, 307, 1, 307, 1, 307, 1, 307, 1, 307, 1, 307, 1, 307, 1, 308, 1, 308, 1, 308, 1, 308, 1, 308, 1, 308, 1, 309, 1, 309, 1, 309, 1, 309, 1, 309, 1, 310, 1, 310, 1, 310, 1, 310, 1, 310, 1, 311, 1, 311, 1, 312, 1, 312, 1, 312, 1, 312, 3, 312, 2871, 8, 312, 1, 313, 1, 313, 1, 314, 1, 314, 1, 314, 1, 315, 1, 315, 1, 316, 1, 316, 1, 316, 1, 317, 1, 317, 1, 318, 1, 318, 1, 319, 1, 319, 1, 320, 1, 320, 1, 321, 1, 321, 1, 322, 1, 322, 1, 322, 1, 323, 1, 323, 1, 324, 1, 324, 1, 325, 1, 325, 1, 325, 1, 325, 5, 325, 2904, 8, 325, 10, 325, 12, 325, 2907, 9, 325, 1, 325, 1, 325, 1, 326, 1, 326, 1, 326, 1, 326, 1, 326, 1, 326, 1, 326, 5, 326, 2918, 8, 326, 10, 326, 12, 326, 2921, 9, 326, 1, 326, 1, 326, 1, 327, 1, 327, 1, 327, 1, 327, 5, 327, 2929, 8, 327, 10, 327, 12, 327, 2932, 9, 327, 1, 327, 1, 327, 1, 328, 1, 328, 1, 328, 1, 328, 3, 328, 2940, 8, 328, 1, 329, 1, 329, 1, 329, 3, 329, 2945, 8, 329, 1, 329, 1, 329, 3, 329, 2949, 8, 329, 1, 330, 4, 330, 2952, 8, 330, 11, 330, 12, 330, 2953, 1, 330, 1, 330, 5, 330, 2958, 8, 330, 10, 330, 12, 330, 2961, 9, 330, 3, 330, 2963, 8, 330, 1, 330, 1, 330, 1, 330, 1, 330, 4, 330, 2969, 8, 330, 11, 330, 12, 330, 2970, 1, 330, 1, 330, 3, 330, 2975, 8, 330, 1, 331, 1, 331, 3, 331, 2979, 8, 331, 1, 331, 1, 331, 1, 331, 5, 331, 2984, 8, 331, 10, 331, 12, 331, 2987, 9, 331, 1, 332, 1, 332, 1, 332, 1, 332, 4, 332, 2993, 8, 332, 11, 332, 12, 332, 2994, 1, 333, 1, 333, 1, 333, 1, 333, 5, 333, 3001, 8, 333, 10, 333, 12, 333, 3004, 9, 333, 1, 333, 1, 333, 1, 334, 1, 334, 1, 334, 1, 334, 5, 334, 3012, 8, 334, 10, 334, 12, 334, 3015, 9, 334, 1, 334, 1, 334, 1, 335, 1, 335, 3, 335, 3021, 8, 335, 1, 335, 5, 335, 3024, 8, 335, 10, 335, 12, 335, 3027, 9, 335, 1, 336, 1, 336, 1, 336, 1, 336, 3, 336, 3033, 8, 336, 1, 336, 1, 336, 3, 336, 3037, 8, 336, 4, 336, 3039, 8, 336, 11, 336, 12, 336, 3040, 1, 337, 1, 337, 1, 337, 1, 337, 3, 337, 3047, 8, 337, 1, 337, 4, 337, 3050, 8, 337, 11, 337, 12, 337, 3051, 1, 338, 1, 338, 1, 338, 1, 338, 3, 338, 3058, 8, 338, 1, 338, 4, 338, 3061, 8, 338, 11, 338, 12, 338, 3062, 1, 339, 1, 339, 3, 339, 3067, 8, 339, 1, 339, 4, 339, 3070, 8, 339, 11, 339, 12, 339, 3071, 1, 340, 1, 340, 1, 341, 1, 341, 1, 342, 1, 342, 1, 342, 1, 342, 5, 342, 3082, 8, 342, 10, 342, 12, 342, 3085, 9, 342, 1, 342, 3, 342, 3088, 8, 342, 1, 342, 3, 342, 3091, 8, 342, 1, 342, 1, 342, 1, 343, 1, 343, 1, 343, 1, 343, 5, 343, 3099, 8, 343, 10, 343, 12, 343, 3102, 9, 343, 1, 343, 1, 343, 1, 343, 1, 343, 1, 343, 1, 344, 4, 344, 3110, 8, 344, 11, 344, 12, 344, 3111, 1, 344, 1, 344, 1, 345, 1, 345, 1, 3100, 0, 346, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 201, 101, 203, 102, 205, 103, 207, 104, 209, 105, 211, 106, 213, 107, 215, 108, 217, 109, 219, 110, 221, 111, 223, 112, 225, 113, 227, 114, 229, 115, 231, 116, 233, 117, 235, 118, 237, 119, 239, 120, 241, 121, 243, 122, 245, 123, 247, 124, 249, 125, 251, 126, 253, 127, 255, 128, 257, 129, 259, 130, 261, 131, 263, 132, 265, 133, 267, 134, 269, 135, 271, 136, 273, 137, 275, 138, 277, 139, 279, 140, 281, 141, 283, 142, 285, 143, 287, 144, 289, 145, 291, 146, 293, 147, 295, 148, 297, 149, 299, 150, 301, 151, 303, 152, 305, 153, 307, 154, 309, 155, 311, 156, 313, 157, 315, 158, 317, 159, 319, 160, 321, 161, 323, 162, 325, 163, 327, 164, 329, 165, 331, 166, 333, 167, 335, 168, 337, 169, 339, 170, 341, 171, 343, 172, 345, 173, 347, 174, 349, 175, 351, 176, 353, 177, 355, 178, 357, 179, 359, 180, 361, 181, 363, 182, 365, 183, 367, 184, 369, 185, 371, 186, 373, 187, 375, 188, 377, 189, 379, 190, 381, 191, 383, 192, 385, 193, 387, 194, 389, 195, 391, 196, 393, 197, 395, 198, 397, 199, 399, 200, 401, 201, 403, 202, 405, 203, 407, 204, 409, 205, 411, 206, 413, 207, 415, 208, 417, 209, 419, 210, 421, 211, 423, 212, 425, 213, 427, 214, 429, 215, 431, 216, 433, 217, 435, 218, 437, 219, 439, 220, 441, 221, 443, 222, 445, 223, 447, 224, 449, 225, 451, 226, 453, 227, 455, 228, 457, 229, 459, 230, 461, 231, 463, 232, 465, 233, 467, 234, 469, 235, 471, 236, 473, 237, 475, 238, 477, 239, 479, 240, 481, 241, 483, 242, 485, 243, 487, 244, 489, 245, 491, 246, 493, 247, 495, 248, 497, 249, 499, 250, 501, 251, 503, 252, 505, 253, 507, 254, 509, 255, 511, 256, 513, 257, 515, 258, 517, 259, 519, 260, 521, 261, 523, 262, 525, 263, 527, 264, 529, 265, 531, 266, 533, 267, 535, 268, 537, 269, 539, 270, 541, 271, 543, 272, 545, 273, 547, 274, 549, 275, 551, 276, 553, 277, 555, 278, 557, 279, 559, 280, 561, 281, 563, 282, 565, 283, 567, 284, 569, 285, 571, 286, 573, 287, 575, 288, 577, 289, 579, 290, 581, 291, 583, 292, 585, 293, 587, 294, 589, 295, 591, 296, 593, 297, 595, 298, 597, 299, 599, 300, 601, 301, 603, 302, 605, 303, 607, 304, 609, 305, 611, 306, 613, 307, 615, 308, 617, 309, 619, 310, 621, 311, 623, 312, 625, 313, 627, 314, 629, 315, 631, 316, 633, 317, 635, 318, 637, 319, 639, 320, 641, 321, 643, 322, 645, 323, 647, 324, 649, 325, 651, 326, 653, 327, 655, 328, 657, 329, 659, 330, 661, 331, 663, 332, 665, 333, 667, 334, 669, 335, 671, 0, 673, 0, 675, 0, 677, 0, 679, 0, 681, 0, 683, 0, 685, 336, 687, 337, 689, 338, 691, 339, 1, 0, 37, 2, 0, 83, 83, 115, 115, 2, 0, 75, 75, 107, 107, 2, 0, 73, 73, 105, 105, 2, 0, 80, 80, 112, 112, 2, 0, 65, 65, 97, 97, 2, 0, 66, 66, 98, 98, 2, 0, 69, 69, 101, 101, 2, 0, 78, 78, 110, 110, 2, 0, 84, 84, 116, 116, 2, 0, 68, 68, 100, 100, 2, 0, 77, 77, 109, 109, 2, 0, 70, 70, 102, 102, 2, 0, 82, 82, 114, 114, 2, 0, 76, 76, 108, 108, 2, 0, 89, 89, 121, 121, 2, 0, 90, 90, 122, 122, 2, 0, 67, 67, 99, 99, 2, 0, 85, 85, 117, 117, 2, 0, 72, 72, 104, 104, 2, 0, 79, 79, 111, 111, 2, 0, 71, 71, 103, 103, 2, 0, 87, 87, 119, 119, 2, 0, 88, 88, 120, 120, 2, 0, 86, 86, 118, 118, 2, 0, 74, 74, 106, 106, 2, 0, 81, 81, 113, 113, 1, 0, 39, 39, 1, 0, 34, 34, 1, 0, 96, 96, 2, 0, 65, 70, 97, 102, 1, 0, 48, 55, 1, 0, 48, 49, 2, 0, 43, 43, 45, 45, 1, 0, 48, 57, 2, 0, 65, 90, 97, 122, 2, 0, 10, 10, 13, 13, 3, 0, 9, 10, 13, 13, 32, 32, 3152, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 0, 201, 1, 0, 0, 0, 0, 203, 1, 0, 0, 0, 0, 205, 1, 0, 0, 0, 0, 207, 1, 0, 0, 0, 0, 209, 1, 0, 0, 0, 0, 211, 1, 0, 0, 0, 0, 213, 1, 0, 0, 0, 0, 215, 1, 0, 0, 0, 0, 217, 1, 0, 0, 0, 0, 219, 1, 0, 0, 0, 0, 221, 1, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 225, 1, 0, 0, 0, 0, 227, 1, 0, 0, 0, 0, 229, 1, 0, 0, 0, 0, 231, 1, 0, 0, 0, 0, 233, 1, 0, 0, 0, 0, 235, 1, 0, 0, 0, 0, 237, 1, 0, 0, 0, 0, 239, 1, 0, 0, 0, 0, 241, 1, 0, 0, 0, 0, 243, 1, 0, 0, 0, 0, 245, 1, 0, 0, 0, 0, 247, 1, 0, 0, 0, 0, 249, 1, 0, 0, 0, 0, 251, 1, 0, 0, 0, 0, 253, 1, 0, 0, 0, 0, 255, 1, 0, 0, 0, 0, 257, 1, 0, 0, 0, 0, 259, 1, 0, 0, 0, 0, 261, 1, 0, 0, 0, 0, 263, 1, 0, 0, 0, 0, 265, 1, 0, 0, 0, 0, 267, 1, 0, 0, 0, 0, 269, 1, 0, 0, 0, 0, 271, 1, 0, 0, 0, 0, 273, 1, 0, 0, 0, 0, 275, 1, 0, 0, 0, 0, 277, 1, 0, 0, 0, 0, 279, 1, 0, 0, 0, 0, 281, 1, 0, 0, 0, 0, 283, 1, 0, 0, 0, 0, 285, 1, 0, 0, 0, 0, 287, 1, 0, 0, 0, 0, 289, 1, 0, 0, 0, 0, 291, 1, 0, 0, 0, 0, 293, 1, 0, 0, 0, 0, 295, 1, 0, 0, 0, 0, 297, 1, 0, 0, 0, 0, 299, 1, 0, 0, 0, 0, 301, 1, 0, 0, 0, 0, 303, 1, 0, 0, 0, 0, 305, 1, 0, 0, 0, 0, 307, 1, 0, 0, 0, 0, 309, 1, 0, 0, 0, 0, 311, 1, 0, 0, 0, 0, 313, 1, 0, 0, 0, 0, 315, 1, 0, 0, 0, 0, 317, 1, 0, 0, 0, 0, 319, 1, 0, 0, 0, 0, 321, 1, 0, 0, 0, 0, 323, 1, 0, 0, 0, 0, 325, 1, 0, 0, 0, 0, 327, 1, 0, 0, 0, 0, 329, 1, 0, 0, 0, 0, 331, 1, 0, 0, 0, 0, 333, 1, 0, 0, 0, 0, 335, 1, 0, 0, 0, 0, 337, 1, 0, 0, 0, 0, 339, 1, 0, 0, 0, 0, 341, 1, 0, 0, 0, 0, 343, 1, 0, 0, 0, 0, 345, 1, 0, 0, 0, 0, 347, 1, 0, 0, 0, 0, 349, 1, 0, 0, 0, 0, 351, 1, 0, 0, 0, 0, 353, 1, 0, 0, 0, 0, 355, 1, 0, 0, 0, 0, 357, 1, 0, 0, 0, 0, 359, 1, 0, 0, 0, 0, 361, 1, 0, 0, 0, 0, 363, 1, 0, 0, 0, 0, 365, 1, 0, 0, 0, 0, 367, 1, 0, 0, 0, 0, 369, 1, 0, 0, 0, 0, 371, 1, 0, 0, 0, 0, 373, 1, 0, 0, 0, 0, 375, 1, 0, 0, 0, 0, 377, 1, 0, 0, 0, 0, 379, 1, 0, 0, 0, 0, 381, 1, 0, 0, 0, 0, 383, 1, 0, 0, 0, 0, 385, 1, 0, 0, 0, 0, 387, 1, 0, 0, 0, 0, 389, 1, 0, 0, 0, 0, 391, 1, 0, 0, 0, 0, 393, 1, 0, 0, 0, 0, 395, 1, 0, 0, 0, 0, 397, 1, 0, 0, 0, 0, 399, 1, 0, 0, 0, 0, 401, 1, 0, 0, 0, 0, 403, 1, 0, 0, 0, 0, 405, 1, 0, 0, 0, 0, 407, 1, 0, 0, 0, 0, 409, 1, 0, 0, 0, 0, 411, 1, 0, 0, 0, 0, 413, 1, 0, 0, 0, 0, 415, 1, 0, 0, 0, 0, 417, 1, 0, 0, 0, 0, 419, 1, 0, 0, 0, 0, 421, 1, 0, 0, 0, 0, 423, 1, 0, 0, 0, 0, 425, 1, 0, 0, 0, 0, 427, 1, 0, 0, 0, 0, 429, 1, 0, 0, 0, 0, 431, 1, 0, 0, 0, 0, 433, 1, 0, 0, 0, 0, 435, 1, 0, 0, 0, 0, 437, 1, 0, 0, 0, 0, 439, 1, 0, 0, 0, 0, 441, 1, 0, 0, 0, 0, 443, 1, 0, 0, 0, 0, 445, 1, 0, 0, 0, 0, 447, 1, 0, 0, 0, 0, 449, 1, 0, 0, 0, 0, 451, 1, 0, 0, 0, 0, 453, 1, 0, 0, 0, 0, 455, 1, 0, 0, 0, 0, 457, 1, 0, 0, 0, 0, 459, 1, 0, 0, 0, 0, 461, 1, 0, 0, 0, 0, 463, 1, 0, 0, 0, 0, 465, 1, 0, 0, 0, 0, 467, 1, 0, 0, 0, 0, 469, 1, 0, 0, 0, 0, 471, 1, 0, 0, 0, 0, 473, 1, 0, 0, 0, 0, 475, 1, 0, 0, 0, 0, 477, 1, 0, 0, 0, 0, 479, 1, 0, 0, 0, 0, 481, 1, 0, 0, 0, 0, 483, 1, 0, 0, 0, 0, 485, 1, 0, 0, 0, 0, 487, 1, 0, 0, 0, 0, 489, 1, 0, 0, 0, 0, 491, 1, 0, 0, 0, 0, 493, 1, 0, 0, 0, 0, 495, 1, 0, 0, 0, 0, 497, 1, 0, 0, 0, 0, 499, 1, 0, 0, 0, 0, 501, 1, 0, 0, 0, 0, 503, 1, 0, 0, 0, 0, 505, 1, 0, 0, 0, 0, 507, 1, 0, 0, 0, 0, 509, 1, 0, 0, 0, 0, 511, 1, 0, 0, 0, 0, 513, 1, 0, 0, 0, 0, 515, 1, 0, 0, 0, 0, 517, 1, 0, 0, 0, 0, 519, 1, 0, 0, 0, 0, 521, 1, 0, 0, 0, 0, 523, 1, 0, 0, 0, 0, 525, 1, 0, 0, 0, 0, 527, 1, 0, 0, 0, 0, 529, 1, 0, 0, 0, 0, 531, 1, 0, 0, 0, 0, 533, 1, 0, 0, 0, 0, 535, 1, 0, 0, 0, 0, 537, 1, 0, 0, 0, 0, 539, 1, 0, 0, 0, 0, 541, 1, 0, 0, 0, 0, 543, 1, 0, 0, 0, 0, 545, 1, 0, 0, 0, 0, 547, 1, 0, 0, 0, 0, 549, 1, 0, 0, 0, 0, 551, 1, 0, 0, 0, 0, 553, 1, 0, 0, 0, 0, 555, 1, 0, 0, 0, 0, 557, 1, 0, 0, 0, 0, 559, 1, 0, 0, 0, 0, 561, 1, 0, 0, 0, 0, 563, 1, 0, 0, 0, 0, 565, 1, 0, 0, 0, 0, 567, 1, 0, 0, 0, 0, 569, 1, 0, 0, 0, 0, 571, 1, 0, 0, 0, 0, 573, 1, 0, 0, 0, 0, 575, 1, 0, 0, 0, 0, 577, 1, 0, 0, 0, 0, 579, 1, 0, 0, 0, 0, 581, 1, 0, 0, 0, 0, 583, 1, 0, 0, 0, 0, 585, 1, 0, 0, 0, 0, 587, 1, 0, 0, 0, 0, 589, 1, 0, 0, 0, 0, 591, 1, 0, 0, 0, 0, 593, 1, 0, 0, 0, 0, 595, 1, 0, 0, 0, 0, 597, 1, 0, 0, 0, 0, 599, 1, 0, 0, 0, 0, 601, 1, 0, 0, 0, 0, 603, 1, 0, 0, 0, 0, 605, 1, 0, 0, 0, 0, 607, 1, 0, 0, 0, 0, 609, 1, 0, 0, 0, 0, 611, 1, 0, 0, 0, 0, 613, 1, 0, 0, 0, 0, 615, 1, 0, 0, 0, 0, 617, 1, 0, 0, 0, 0, 619, 1, 0, 0, 0, 0, 621, 1, 0, 0, 0, 0, 623, 1, 0, 0, 0, 0, 625, 1, 0, 0, 0, 0, 627, 1, 0, 0, 0, 0, 629, 1, 0, 0, 0, 0, 631, 1, 0, 0, 0, 0, 633, 1, 0, 0, 0, 0, 635, 1, 0, 0, 0, 0, 637, 1, 0, 0, 0, 0, 639, 1, 0, 0, 0, 0, 641, 1, 0, 0, 0, 0, 643, 1, 0, 0, 0, 0, 645, 1, 0, 0, 0, 0, 647, 1, 0, 0, 0, 0, 649, 1, 0, 0, 0, 0, 651, 1, 0, 0, 0, 0, 653, 1, 0, 0, 0, 0, 655, 1, 0, 0, 0, 0, 657, 1, 0, 0, 0, 0, 659, 1, 0, 0, 0, 0, 661, 1, 0, 0, 0, 0, 663, 1, 0, 0, 0, 0, 665, 1, 0, 0, 0, 0, 667, 1, 0, 0, 0, 0, 669, 1, 0, 0, 0, 0, 685, 1, 0, 0, 0, 0, 687, 1, 0, 0, 0, 0, 689, 1, 0, 0, 0, 0, 691, 1, 0, 0, 0, 1, 693, 1, 0, 0, 0, 3, 695, 1, 0, 0, 0, 5, 697, 1, 0, 0, 0, 7, 699, 1, 0, 0, 0, 9, 701, 1, 0, 0, 0, 11, 706, 1, 0, 0, 0, 13, 709, 1, 0, 0, 0, 15, 712, 1, 0, 0, 0, 17, 714, 1, 0, 0, 0, 19, 716, 1, 0, 0, 0, 21, 718, 1, 0, 0, 0, 23, 720, 1, 0, 0, 0, 25, 722, 1, 0, 0, 0, 27, 724, 1, 0, 0, 0, 29, 727, 1, 0, 0, 0, 31, 730, 1, 0, 0, 0, 33, 732, 1, 0, 0, 0, 35, 734, 1, 0, 0, 0, 37, 741, 1, 0, 0, 0, 39, 745, 1, 0, 0, 0, 41, 751, 1, 0, 0, 0, 43, 757, 1, 0, 0, 0, 45, 761, 1, 0, 0, 0, 47, 767, 1, 0, 0, 0, 49, 775, 1, 0, 0, 0, 51, 779, 1, 0, 0, 0, 53, 783, 1, 0, 0, 0, 55, 789, 1, 0, 0, 0, 57, 792, 1, 0, 0, 0, 59, 796, 1, 0, 0, 0, 61, 799, 1, 0, 0, 0, 63, 813, 1, 0, 0, 0, 65, 819, 1, 0, 0, 0, 67, 829, 1, 0, 0, 0, 69, 837, 1, 0, 0, 0, 71, 842, 1, 0, 0, 0, 73, 845, 1, 0, 0, 0, 75, 850, 1, 0, 0, 0, 77, 857, 1, 0, 0, 0, 79, 865, 1, 0, 0, 0, 81, 870, 1, 0, 0, 0, 83, 875, 1, 0, 0, 0, 85, 883, 1, 0, 0, 0, 87, 892, 1, 0, 0, 0, 89, 899, 1, 0, 0, 0, 91, 907, 1, 0, 0, 0, 93, 915, 1, 0, 0, 0, 95, 922, 1, 0, 0, 0, 97, 932, 1, 0, 0, 0, 99, 944, 1, 0, 0, 0, 101, 955, 1, 0, 0, 0, 103, 961, 1, 0, 0, 0, 105, 973, 1, 0, 0, 0, 107, 980, 1, 0, 0, 0, 109, 986, 1, 0, 0, 0, 111, 991, 1, 0, 0, 0, 113, 999, 1, 0, 0, 0, 115, 1015, 1, 0, 0, 0, 117, 1028, 1, 0, 0, 0, 119, 1041, 1, 0, 0, 0, 121, 1054, 1, 0, 0, 0, 123, 1069, 1, 0, 0, 0, 125, 1082, 1, 0, 0, 0, 127, 1100, 1, 0, 0, 0, 129, 1113, 1, 0, 0, 0, 131, 1118, 1, 0, 0, 0, 133, 1123, 1, 0, 0, 0, 135, 1127, 1, 0, 0, 0, 137, 1138, 1, 0, 0, 0, 139, 1146, 1, 0, 0, 0, 141, 1154, 1, 0, 0, 0, 143, 1161, 1, 0, 0, 0, 145, 1169, 1, 0, 0, 0, 147, 1176, 1, 0, 0, 0, 149, 1181, 1, 0, 0, 0, 151, 1186, 1, 0, 0, 0, 153, 1195, 1, 0, 0, 0, 155, 1206, 1, 0, 0, 0, 157, 1220, 1, 0, 0, 0, 159, 1229, 1, 0, 0, 0, 161, 1241, 1, 0, 0, 0, 163, 1244, 1, 0, 0, 0, 165, 1251, 1, 0, 0, 0, 167, 1256, 1, 0, 0, 0, 169, 1261, 1, 0, 0, 0, 171, 1267, 1, 0, 0, 0, 173, 1274, 1, 0, 0, 0, 175, 1283, 1, 0, 0, 0, 177, 1287, 1, 0, 0, 0, 179, 1293, 1, 0, 0, 0, 181, 1300, 1, 0, 0, 0, 183, 1307, 1, 0, 0, 0, 185, 1317, 1, 0, 0, 0, 187, 1325, 1, 0, 0, 0, 189, 1332, 1, 0, 0, 0, 191, 1340, 1, 0, 0, 0, 193, 1348, 1, 0, 0, 0, 195, 1354, 1, 0, 0, 0, 197, 1360, 1, 0, 0, 0, 199, 1367, 1, 0, 0, 0, 201, 1373, 1, 0, 0, 0, 203, 1379, 1, 0, 0, 0, 205, 1389, 1, 0, 0, 0, 207, 1393, 1, 0, 0, 0, 209, 1400, 1, 0, 0, 0, 211, 1405, 1, 0, 0, 0, 213, 1410, 1, 0, 0, 0, 215, 1419, 1, 0, 0, 0, 217, 1429, 1, 0, 0, 0, 219, 1435, 1, 0, 0, 0, 221, 1441, 1, 0, 0, 0, 223, 1449, 1, 0, 0, 0, 225, 1456, 1, 0, 0, 0, 227, 1465, 1, 0, 0, 0, 229, 1471, 1, 0, 0, 0, 231, 1480, 1, 0, 0, 0, 233, 1487, 1, 0, 0, 0, 235, 1494, 1, 0, 0, 0, 237, 1499, 1, 0, 0, 0, 239, 1502, 1, 0, 0, 0, 241, 1509, 1, 0, 0, 0, 243, 1519, 1, 0, 0, 0, 245, 1522, 1, 0, 0, 0, 247, 1532, 1, 0, 0, 0, 249, 1540, 1, 0, 0, 0, 251, 1546, 1, 0, 0, 0, 253, 1552, 1, 0, 0, 0, 255, 1559, 1, 0, 0, 0, 257, 1569, 1, 0, 0, 0, 259, 1578, 1, 0, 0, 0, 261, 1583, 1, 0, 0, 0, 263, 1591, 1, 0, 0, 0, 265, 1594, 1, 0, 0, 0, 267, 1597, 1, 0, 0, 0, 269, 1607, 1, 0, 0, 0, 271, 1615, 1, 0, 0, 0, 273, 1620, 1, 0, 0, 0, 275, 1625, 1, 0, 0, 0, 277, 1636, 1, 0, 0, 0, 279, 1648, 1, 0, 0, 0, 281, 1660, 1, 0, 0, 0, 283, 1671, 1, 0, 0, 0, 285, 1682, 1, 0, 0, 0, 287, 1693, 1, 0, 0, 0, 289, 1698, 1, 0, 0, 0, 291, 1702, 1, 0, 0, 0, 293, 1707, 1, 0, 0, 0, 295, 1716, 1, 0, 0, 0, 297, 1721, 1, 0, 0, 0, 299, 1729, 1, 0, 0, 0, 301, 1737, 1, 0, 0, 0, 303, 1743, 1, 0, 0, 0, 305, 1748, 1, 0, 0, 0, 307, 1754, 1, 0, 0, 0, 309, 1759, 1, 0, 0, 0, 311, 1765, 1, 0, 0, 0, 313, 1773, 1, 0, 0, 0, 315, 1779, 1, 0, 0, 0, 317, 1789, 1, 0, 0, 0, 319, 1804, 1, 0, 0, 0, 321, 1812, 1, 0, 0, 0, 323, 1817, 1, 0, 0, 0, 325, 1821, 1, 0, 0, 0, 327, 1827, 1, 0, 0, 0, 329, 1835, 1, 0, 0, 0, 331, 1843, 1, 0, 0, 0, 333, 1859, 1, 0, 0, 0, 335, 1872, 1, 0, 0, 0, 337, 1881, 1, 0, 0, 0, 339, 1887, 1, 0, 0, 0, 341, 1894, 1, 0, 0, 0, 343, 1900, 1, 0, 0, 0, 345, 1908, 1, 0, 0, 0, 347, 1915, 1, 0, 0, 0, 349, 1920, 1, 0, 0, 0, 351, 1924, 1, 0, 0, 0, 353, 1928, 1, 0, 0, 0, 355, 1933, 1, 0, 0, 0, 357, 1938, 1, 0, 0, 0, 359, 1941, 1, 0, 0, 0, 361, 1946, 1, 0, 0, 0, 363, 1956, 1, 0, 0, 0, 365, 1960, 1, 0, 0, 0, 367, 1965, 1, 0, 0, 0, 369, 1972, 1, 0, 0, 0, 371, 1978, 1, 0, 0, 0, 373, 1985, 1, 0, 0, 0, 375, 1988, 1, 0, 0, 0, 377, 1995, 1, 0, 0, 0, 379, 2000, 1, 0, 0, 0, 381, 2003, 1, 0, 0, 0, 383, 2007, 1, 0, 0, 0, 385, 2012, 1, 0, 0, 0, 387, 2019, 1, 0, 0, 0, 389, 2022, 1, 0, 0, 0, 391, 2028, 1, 0, 0, 0, 393, 2039, 1, 0, 0, 0, 395, 2045, 1, 0, 0, 0, 397, 2052, 1, 0, 0, 0, 399, 2057, 1, 0, 0, 0, 401, 2066, 1, 0, 0, 0, 403, 2076, 1, 0, 0, 0, 405, 2087, 1, 0, 0, 0, 407, 2095, 1, 0, 0, 0, 409, 2100, 1, 0, 0, 0, 411, 2105, 1, 0, 0, 0, 413, 2113, 1, 0, 0, 0, 415, 2117, 1, 0, 0, 0, 417, 2124, 1, 0, 0, 0, 419, 2132, 1, 0, 0, 0, 421, 2137, 1, 0, 0, 0, 423, 2146, 1, 0, 0, 0, 425, 2156, 1, 0, 0, 0, 427, 2166, 1, 0, 0, 0, 429, 2174, 1, 0, 0, 0, 431, 2185, 1, 0, 0, 0, 433, 2196, 1, 0, 0, 0, 435, 2202, 1, 0, 0, 0, 437, 2209, 1, 0, 0, 0, 439, 2215, 1, 0, 0, 0, 441, 2220, 1, 0, 0, 0, 443, 2230, 1, 0, 0, 0, 445, 2238, 1, 0, 0, 0, 447, 2245, 1, 0, 0, 0, 449, 2252, 1, 0, 0, 0, 451, 2263, 1, 0, 0, 0, 453, 2271, 1, 0, 0, 0, 455, 2277, 1, 0, 0, 0, 457, 2285, 1, 0, 0, 0, 459, 2294, 1, 0, 0, 0, 461, 2301, 1, 0, 0, 0, 463, 2311, 1, 0, 0, 0, 465, 2319, 1, 0, 0, 0, 467, 2326, 1, 0, 0, 0, 469, 2332, 1, 0, 0, 0, 471, 2337, 1, 0, 0, 0, 473, 2343, 1, 0, 0, 0, 475, 2352, 1, 0, 0, 0, 477, 2359, 1, 0, 0, 0, 479, 2363, 1, 0, 0, 0, 481, 2368, 1, 0, 0, 0, 483, 2376, 1, 0, 0, 0, 485, 2383, 1, 0, 0, 0, 487, 2390, 1, 0, 0, 0, 489, 2398, 1, 0, 0, 0, 491, 2405, 1, 0, 0, 0, 493, 2414, 1, 0, 0, 0, 495, 2419, 1, 0, 0, 0, 497, 2426, 1, 0, 0, 0, 499, 2439, 1, 0, 0, 0, 501, 2447, 1, 0, 0, 0, 503, 2451, 1, 0, 0, 0, 505, 2456, 1, 0, 0, 0, 507, 2461, 1, 0, 0, 0, 509, 2466, 1, 0, 0, 0, 511, 2472, 1, 0, 0, 0, 513, 2478, 1, 0, 0, 0, 515, 2485, 1, 0, 0, 0, 517, 2495, 1, 0, 0, 0, 519, 2502, 1, 0, 0, 0, 521, 2508, 1, 0, 0, 0, 523, 2515, 1, 0, 0, 0, 525, 2527, 1, 0, 0, 0, 527, 2532, 1, 0, 0, 0, 529, 2539, 1, 0, 0, 0, 531, 2544, 1, 0, 0, 0, 533, 2549, 1, 0, 0, 0, 535, 2554, 1, 0, 0, 0, 537, 2564, 1, 0, 0, 0, 539, 2567, 1, 0, 0, 0, 541, 2576, 1, 0, 0, 0, 543, 2588, 1, 0, 0, 0, 545, 2593, 1, 0, 0, 0, 547, 2598, 1, 0, 0, 0, 549, 2607, 1, 0, 0, 0, 551, 2616, 1, 0, 0, 0, 553, 2621, 1, 0, 0, 0, 555, 2629, 1, 0, 0, 0, 557, 2639, 1, 0, 0, 0, 559, 2651, 1, 0, 0, 0, 561, 2665, 1, 0, 0, 0, 563, 2671, 1, 0, 0, 0, 565, 2678, 1, 0, 0, 0, 567, 2686, 1, 0, 0, 0, 569, 2696, 1, 0, 0, 0, 571, 2703, 1, 0, 0, 0, 573, 2709, 1, 0, 0, 0, 575, 2716, 1, 0, 0, 0, 577, 2720, 1, 0, 0, 0, 579, 2725, 1, 0, 0, 0, 581, 2731, 1, 0, 0, 0, 583, 2737, 1, 0, 0, 0, 585, 2743, 1, 0, 0, 0, 587, 2748, 1, 0, 0, 0, 589, 2757, 1, 0, 0, 0, 591, 2763, 1, 0, 0, 0, 593, 2770, 1, 0, 0, 0, 595, 2778, 1, 0, 0, 0, 597, 2786, 1, 0, 0, 0, 599, 2791, 1, 0, 0, 0, 601, 2796, 1, 0, 0, 0, 603, 2802, 1, 0, 0, 0, 605, 2808, 1, 0, 0, 0, 607, 2815, 1, 0, 0, 0, 609, 2820, 1, 0, 0, 0, 611, 2827, 1, 0, 0, 0, 613, 2835, 1, 0, 0, 0, 615, 2840, 1, 0, 0, 0, 617, 2848, 1, 0, 0, 0, 619, 2854, 1, 0, 0, 0, 621, 2859, 1, 0, 0, 0, 623, 2864, 1, 0, 0, 0, 625, 2870, 1, 0, 0, 0, 627, 2872, 1, 0, 0, 0, 629, 2874, 1, 0, 0, 0, 631, 2877, 1, 0, 0, 0, 633, 2879, 1, 0, 0, 0, 635, 2882, 1, 0, 0, 0, 637, 2884, 1, 0, 0, 0, 639, 2886, 1, 0, 0, 0, 641, 2888, 1, 0, 0, 0, 643, 2890, 1, 0, 0, 0, 645, 2892, 1, 0, 0, 0, 647, 2895, 1, 0, 0, 0, 649, 2897, 1, 0, 0, 0, 651, 2899, 1, 0, 0, 0, 653, 2910, 1, 0, 0, 0, 655, 2924, 1, 0, 0, 0, 657, 2939, 1, 0, 0, 0, 659, 2948, 1, 0, 0, 0, 661, 2974, 1, 0, 0, 0, 663, 2978, 1, 0, 0, 0, 665, 2988, 1, 0, 0, 0, 667, 2996, 1, 0, 0, 0, 669, 3007, 1, 0, 0, 0, 671, 3018, 1, 0, 0, 0, 673, 3028, 1, 0, 0, 0, 675, 3042, 1, 0, 0, 0, 677, 3053, 1, 0, 0, 0, 679, 3064, 1, 0, 0, 0, 681, 3073, 1, 0, 0, 0, 683, 3075, 1, 0, 0, 0, 685, 3077, 1, 0, 0, 0, 687, 3094, 1, 0, 0, 0, 689, 3109, 1, 0, 0, 0, 691, 3115, 1, 0, 0, 0, 693, 694, 5, 40, 0, 0, 694, 2, 1, 0, 0, 0, 695, 696, 5, 41, 0, 0, 696, 4, 1, 0, 0, 0, 697, 698, 5, 44, 0, 0, 698, 6, 1, 0, 0, 0, 699, 700, 5, 46, 0, 0, 700, 8, 1, 0, 0, 0, 701, 702, 7, 0, 0, 0, 702, 703, 7, 1, 0, 0, 703, 704, 7, 2, 0, 0, 704, 705, 7, 3, 0, 0, 705, 10, 1, 0, 0, 0, 706, 707, 5, 61, 0, 0, 707, 708, 5, 62, 0, 0, 708, 12, 1, 0, 0, 0, 709, 710, 5, 45, 0, 0, 710, 711, 5, 62, 0, 0, 711, 14, 1, 0, 0, 0, 712, 713, 5, 91, 0, 0, 713, 16, 1, 0, 0, 0, 714, 715, 5, 93, 0, 0, 715, 18, 1, 0, 0, 0, 716, 717, 5, 58, 0, 0, 717, 20, 1, 0, 0, 0, 718, 719, 5, 124, 0, 0, 719, 22, 1, 0, 0, 0, 720, 721, 5, 94, 0, 0, 721, 24, 1, 0, 0, 0, 722, 723, 5, 36, 0, 0, 723, 26, 1, 0, 0, 0, 724, 725, 5, 123, 0, 0, 725, 726, 5, 45, 0, 0, 726, 28, 1, 0, 0, 0, 727, 728, 5, 45, 0, 0, 728, 729, 5, 125, 0, 0, 729, 30, 1, 0, 0, 0, 730, 731, 5, 123, 0, 0, 731, 32, 1, 0, 0, 0, 732, 733, 5, 125, 0, 0, 733, 34, 1, 0, 0, 0, 734, 735, 7, 4, 0, 0, 735, 736, 7, 5, 0, 0, 736, 737, 7, 0, 0, 0, 737, 738, 7, 6, 0, 0, 738, 739, 7, 7, 0, 0, 739, 740, 7, 8, 0, 0, 740, 36, 1, 0, 0, 0, 741, 742, 7, 4, 0, 0, 742, 743, 7, 9, 0, 0, 743, 744, 7, 9, 0, 0, 744, 38, 1, 0, 0, 0, 745, 746, 7, 4, 0, 0, 746, 747, 7, 9, 0, 0, 747, 748, 7, 10, 0, 0, 748, 749, 7, 2, 0, 0, 749, 750, 7, 7, 0, 0, 750, 40, 1, 0, 0, 0, 751, 752, 7, 4, 0, 0, 752, 753, 7, 11, 0, 0, 753, 754, 7, 8, 0, 0, 754, 755, 7, 6, 0, 0, 755, 756, 7, 12, 0, 0, 756, 42, 1, 0, 0, 0, 757, 758, 7, 4, 0, 0, 758, 759, 7, 13, 0, 0, 759, 760, 7, 13, 0, 0, 760, 44, 1, 0, 0, 0, 761, 762, 7, 4, 0, 0, 762, 763, 7, 13, 0, 0, 763, 764, 7, 8, 0, 0, 764, 765, 7, 6, 0, 0, 765, 766, 7, 12, 0, 0, 766, 46, 1, 0, 0, 0, 767, 768, 7, 4, 0, 0, 768, 769, 7, 7, 0, 0, 769, 770, 7, 4, 0, 0, 770, 771, 7, 13, 0, 0, 771, 772, 7, 14, 0, 0, 772, 773, 7, 15, 0, 0, 773, 774, 7, 6, 0, 0, 774, 48, 1, 0, 0, 0, 775, 776, 7, 4, 0, 0, 776, 777, 7, 7, 0, 0, 777, 778, 7, 9, 0, 0, 778, 50, 1, 0, 0, 0, 779, 780, 7, 4, 0, 0, 780, 781, 7, 7, 0, 0, 781, 782, 7, 14, 0, 0, 782, 52, 1, 0, 0, 0, 783, 784, 7, 4, 0, 0, 784, 785, 7, 12, 0, 0, 785, 786, 7, 12, 0, 0, 786, 787, 7, 4, 0, 0, 787, 788, 7, 14, 0, 0, 788, 54, 1, 0, 0, 0, 789, 790, 7, 4, 0, 0, 790, 791, 7, 0, 0, 0, 791, 56, 1, 0, 0, 0, 792, 793, 7, 4, 0, 0, 793, 794, 7, 0, 0, 0, 794, 795, 7, 16, 0, 0, 795, 58, 1, 0, 0, 0, 796, 797, 7, 4, 0, 0, 797, 798, 7, 8, 0, 0, 798, 60, 1, 0, 0, 0, 799, 800, 7, 4, 0, 0, 800, 801, 7, 17, 0, 0, 801, 802, 7, 8, 0, 0, 802, 803, 7, 18, 0, 0, 803, 804, 7, 19, 0, 0, 804, 805, 7, 12, 0, 0, 805, 806, 7, 2, 0, 0, 806, 807, 7, 15, 0, 0, 807, 808, 7, 4, 0, 0, 808, 809, 7, 8, 0, 0, 809, 810, 7, 2, 0, 0, 810, 811, 7, 19, 0, 0, 811, 812, 7, 7, 0, 0, 812, 62, 1, 0, 0, 0, 813, 814, 7, 5, 0, 0, 814, 815, 7, 6, 0, 0, 815, 816, 7, 20, 0, 0, 816, 817, 7, 2, 0, 0, 817, 818, 7, 7, 0, 0, 818, 64, 1, 0, 0, 0, 819, 820, 7, 5, 0, 0, 820, 821, 7, 6, 0, 0, 821, 822, 7, 12, 0, 0, 822, 823, 7, 7, 0, 0, 823, 824, 7, 19, 0, 0, 824, 825, 7, 17, 0, 0, 825, 826, 7, 13, 0, 0, 826, 827, 7, 13, 0, 0, 827, 828, 7, 2, 0, 0, 828, 66, 1, 0, 0, 0, 829, 830, 7, 5, 0, 0, 830, 831, 7, 6, 0, 0, 831, 832, 7, 8, 0, 0, 832, 833, 7, 21, 0, 0, 833, 834, 7, 6, 0, 0, 834, 835, 7, 6, 0, 0, 835, 836, 7, 7, 0, 0, 836, 68, 1, 0, 0, 0, 837, 838, 7, 5, 0, 0, 838, 839, 7, 19, 0, 0, 839, 840, 7, 8, 0, 0, 840, 841, 7, 18, 0, 0, 841, 70, 1, 0, 0, 0, 842, 843, 7, 5, 0, 0, 843, 844, 7, 14, 0, 0, 844, 72, 1, 0, 0, 0, 845, 846, 7, 16, 0, 0, 846, 847, 7, 4, 0, 0, 847, 848, 7, 13, 0, 0, 848, 849, 7, 13, 0, 0, 849, 74, 1, 0, 0, 0, 850, 851, 7, 16, 0, 0, 851, 852, 7, 4, 0, 0, 852, 853, 7, 13, 0, 0, 853, 854, 7, 13, 0, 0, 854, 855, 7, 6, 0, 0, 855, 856, 7, 9, 0, 0, 856, 76, 1, 0, 0, 0, 857, 858, 7, 16, 0, 0, 858, 859, 7, 4, 0, 0, 859, 860, 7, 0, 0, 0, 860, 861, 7, 16, 0, 0, 861, 862, 7, 4, 0, 0, 862, 863, 7, 9, 0, 0, 863, 864, 7, 6, 0, 0, 864, 78, 1, 0, 0, 0, 865, 866, 7, 16, 0, 0, 866, 867, 7, 4, 0, 0, 867, 868, 7, 0, 0, 0, 868, 869, 7, 6, 0, 0, 869, 80, 1, 0, 0, 0, 870, 871, 7, 16, 0, 0, 871, 872, 7, 4, 0, 0, 872, 873, 7, 0, 0, 0, 873, 874, 7, 8, 0, 0, 874, 82, 1, 0, 0, 0, 875, 876, 7, 16, 0, 0, 876, 877, 7, 4, 0, 0, 877, 878, 7, 8, 0, 0, 878, 879, 7, 4, 0, 0, 879, 880, 7, 13, 0, 0, 880, 881, 7, 19, 0, 0, 881, 882, 7, 20, 0, 0, 882, 84, 1, 0, 0, 0, 883, 884, 7, 16, 0, 0, 884, 885, 7, 4, 0, 0, 885, 886, 7, 8, 0, 0, 886, 887, 7, 4, 0, 0, 887, 888, 7, 13, 0, 0, 888, 889, 7, 19, 0, 0, 889, 890, 7, 20, 0, 0, 890, 891, 7, 0, 0, 0, 891, 86, 1, 0, 0, 0, 892, 893, 7, 16, 0, 0, 893, 894, 7, 19, 0, 0, 894, 895, 7, 13, 0, 0, 895, 896, 7, 17, 0, 0, 896, 897, 7, 10, 0, 0, 897, 898, 7, 7, 0, 0, 898, 88, 1, 0, 0, 0, 899, 900, 7, 16, 0, 0, 900, 901, 7, 19, 0, 0, 901, 902, 7, 13, 0, 0, 902, 903, 7, 17, 0, 0, 903, 904, 7, 10, 0, 0, 904, 905, 7, 7, 0, 0, 905, 906, 7, 0, 0, 0, 906, 90, 1, 0, 0, 0, 907, 908, 7, 16, 0, 0, 908, 909, 7, 19, 0, 0, 909, 910, 7, 10, 0, 0, 910, 911, 7, 10, 0, 0, 911, 912, 7, 6, 0, 0, 912, 913, 7, 7, 0, 0, 913, 914, 7, 8, 0, 0, 914, 92, 1, 0, 0, 0, 915, 916, 7, 16, 0, 0, 916, 917, 7, 19, 0, 0, 917, 918, 7, 10, 0, 0, 918, 919, 7, 10, 0, 0, 919, 920, 7, 2, 0, 0, 920, 921, 7, 8, 0, 0, 921, 94, 1, 0, 0, 0, 922, 923, 7, 16, 0, 0, 923, 924, 7, 19, 0, 0, 924, 925, 7, 10, 0, 0, 925, 926, 7, 10, 0, 0, 926, 927, 7, 2, 0, 0, 927, 928, 7, 8, 0, 0, 928, 929, 7, 8, 0, 0, 929, 930, 7, 6, 0, 0, 930, 931, 7, 9, 0, 0, 931, 96, 1, 0, 0, 0, 932, 933, 7, 16, 0, 0, 933, 934, 7, 19, 0, 0, 934, 935, 7, 7, 0, 0, 935, 936, 7, 9, 0, 0, 936, 937, 7, 2, 0, 0, 937, 938, 7, 8, 0, 0, 938, 939, 7, 2, 0, 0, 939, 940, 7, 19, 0, 0, 940, 941, 7, 7, 0, 0, 941, 942, 7, 4, 0, 0, 942, 943, 7, 13, 0, 0, 943, 98, 1, 0, 0, 0, 944, 945, 7, 16, 0, 0, 945, 946, 7, 19, 0, 0, 946, 947, 7, 7, 0, 0, 947, 948, 7, 0, 0, 0, 948, 949, 7, 8, 0, 0, 949, 950, 7, 12, 0, 0, 950, 951, 7, 4, 0, 0, 951, 952, 7, 2, 0, 0, 952, 953, 7, 7, 0, 0, 953, 954, 7, 8, 0, 0, 954, 100, 1, 0, 0, 0, 955, 956, 7, 16, 0, 0, 956, 957, 7, 19, 0, 0, 957, 958, 7, 17, 0, 0, 958, 959, 7, 7, 0, 0, 959, 960, 7, 8, 0, 0, 960, 102, 1, 0, 0, 0, 961, 962, 7, 16, 0, 0, 962, 963, 7, 19, 0, 0, 963, 964, 7, 3, 0, 0, 964, 965, 7, 4, 0, 0, 965, 966, 7, 12, 0, 0, 966, 967, 7, 8, 0, 0, 967, 968, 7, 2, 0, 0, 968, 969, 7, 8, 0, 0, 969, 970, 7, 2, 0, 0, 970, 971, 7, 19, 0, 0, 971, 972, 7, 7, 0, 0, 972, 104, 1, 0, 0, 0, 973, 974, 7, 16, 0, 0, 974, 975, 7, 12, 0, 0, 975, 976, 7, 6, 0, 0, 976, 977, 7, 4, 0, 0, 977, 978, 7, 8, 0, 0, 978, 979, 7, 6, 0, 0, 979, 106, 1, 0, 0, 0, 980, 981, 7, 16, 0, 0, 981, 982, 7, 12, 0, 0, 982, 983, 7, 19, 0, 0, 983, 984, 7, 0, 0, 0, 984, 985, 7, 0, 0, 0, 985, 108, 1, 0, 0, 0, 986, 987, 7, 16, 0, 0, 987, 988, 7, 17, 0, 0, 988, 989, 7, 5, 0, 0, 989, 990, 7, 6, 0, 0, 990, 110, 1, 0, 0, 0, 991, 992, 7, 16, 0, 0, 992, 993, 7, 17, 0, 0, 993, 994, 7, 12, 0, 0, 994, 995, 7, 12, 0, 0, 995, 996, 7, 6, 0, 0, 996, 997, 7, 7, 0, 0, 997, 998, 7, 8, 0, 0, 998, 112, 1, 0, 0, 0, 999, 1000, 7, 16, 0, 0, 1000, 1001, 7, 17, 0, 0, 1001, 1002, 7, 12, 0, 0, 1002, 1003, 7, 12, 0, 0, 1003, 1004, 7, 6, 0, 0, 1004, 1005, 7, 7, 0, 0, 1005, 1006, 7, 8, 0, 0, 1006, 1007, 5, 95, 0, 0, 1007, 1008, 7, 16, 0, 0, 1008, 1009, 7, 4, 0, 0, 1009, 1010, 7, 8, 0, 0, 1010, 1011, 7, 4, 0, 0, 1011, 1012, 7, 13, 0, 0, 1012, 1013, 7, 19, 0, 0, 1013, 1014, 7, 20, 0, 0, 1014, 114, 1, 0, 0, 0, 1015, 1016, 7, 16, 0, 0, 1016, 1017, 7, 17, 0, 0, 1017, 1018, 7, 12, 0, 0, 1018, 1019, 7, 12, 0, 0, 1019, 1020, 7, 6, 0, 0, 1020, 1021, 7, 7, 0, 0, 1021, 1022, 7, 8, 0, 0, 1022, 1023, 5, 95, 0, 0, 1023, 1024, 7, 9, 0, 0, 1024, 1025, 7, 4, 0, 0, 1025, 1026, 7, 8, 0, 0, 1026, 1027, 7, 6, 0, 0, 1027, 116, 1, 0, 0, 0, 1028, 1029, 7, 16, 0, 0, 1029, 1030, 7, 17, 0, 0, 1030, 1031, 7, 12, 0, 0, 1031, 1032, 7, 12, 0, 0, 1032, 1033, 7, 6, 0, 0, 1033, 1034, 7, 7, 0, 0, 1034, 1035, 7, 8, 0, 0, 1035, 1036, 5, 95, 0, 0, 1036, 1037, 7, 3, 0, 0, 1037, 1038, 7, 4, 0, 0, 1038, 1039, 7, 8, 0, 0, 1039, 1040, 7, 18, 0, 0, 1040, 118, 1, 0, 0, 0, 1041, 1042, 7, 16, 0, 0, 1042, 1043, 7, 17, 0, 0, 1043, 1044, 7, 12, 0, 0, 1044, 1045, 7, 12, 0, 0, 1045, 1046, 7, 6, 0, 0, 1046, 1047, 7, 7, 0, 0, 1047, 1048, 7, 8, 0, 0, 1048, 1049, 5, 95, 0, 0, 1049, 1050, 7, 12, 0, 0, 1050, 1051, 7, 19, 0, 0, 1051, 1052, 7, 13, 0, 0, 1052, 1053, 7, 6, 0, 0, 1053, 120, 1, 0, 0, 0, 1054, 1055, 7, 16, 0, 0, 1055, 1056, 7, 17, 0, 0, 1056, 1057, 7, 12, 0, 0, 1057, 1058, 7, 12, 0, 0, 1058, 1059, 7, 6, 0, 0, 1059, 1060, 7, 7, 0, 0, 1060, 1061, 7, 8, 0, 0, 1061, 1062, 5, 95, 0, 0, 1062, 1063, 7, 0, 0, 0, 1063, 1064, 7, 16, 0, 0, 1064, 1065, 7, 18, 0, 0, 1065, 1066, 7, 6, 0, 0, 1066, 1067, 7, 10, 0, 0, 1067, 1068, 7, 4, 0, 0, 1068, 122, 1, 0, 0, 0, 1069, 1070, 7, 16, 0, 0, 1070, 1071, 7, 17, 0, 0, 1071, 1072, 7, 12, 0, 0, 1072, 1073, 7, 12, 0, 0, 1073, 1074, 7, 6, 0, 0, 1074, 1075, 7, 7, 0, 0, 1075, 1076, 7, 8, 0, 0, 1076, 1077, 5, 95, 0, 0, 1077, 1078, 7, 8, 0, 0, 1078, 1079, 7, 2, 0, 0, 1079, 1080, 7, 10, 0, 0, 1080, 1081, 7, 6, 0, 0, 1081, 124, 1, 0, 0, 0, 1082, 1083, 7, 16, 0, 0, 1083, 1084, 7, 17, 0, 0, 1084, 1085, 7, 12, 0, 0, 1085, 1086, 7, 12, 0, 0, 1086, 1087, 7, 6, 0, 0, 1087, 1088, 7, 7, 0, 0, 1088, 1089, 7, 8, 0, 0, 1089, 1090, 5, 95, 0, 0, 1090, 1091, 7, 8, 0, 0, 1091, 1092, 7, 2, 0, 0, 1092, 1093, 7, 10, 0, 0, 1093, 1094, 7, 6, 0, 0, 1094, 1095, 7, 0, 0, 0, 1095, 1096, 7, 8, 0, 0, 1096, 1097, 7, 4, 0, 0, 1097, 1098, 7, 10, 0, 0, 1098, 1099, 7, 3, 0, 0, 1099, 126, 1, 0, 0, 0, 1100, 1101, 7, 16, 0, 0, 1101, 1102, 7, 17, 0, 0, 1102, 1103, 7, 12, 0, 0, 1103, 1104, 7, 12, 0, 0, 1104, 1105, 7, 6, 0, 0, 1105, 1106, 7, 7, 0, 0, 1106, 1107, 7, 8, 0, 0, 1107, 1108, 5, 95, 0, 0, 1108, 1109, 7, 17, 0, 0, 1109, 1110, 7, 0, 0, 0, 1110, 1111, 7, 6, 0, 0, 1111, 1112, 7, 12, 0, 0, 1112, 128, 1, 0, 0, 0, 1113, 1114, 7, 9, 0, 0, 1114, 1115, 7, 4, 0, 0, 1115, 1116, 7, 8, 0, 0, 1116, 1117, 7, 4, 0, 0, 1117, 130, 1, 0, 0, 0, 1118, 1119, 7, 9, 0, 0, 1119, 1120, 7, 4, 0, 0, 1120, 1121, 7, 8, 0, 0, 1121, 1122, 7, 6, 0, 0, 1122, 132, 1, 0, 0, 0, 1123, 1124, 7, 9, 0, 0, 1124, 1125, 7, 4, 0, 0, 1125, 1126, 7, 14, 0, 0, 1126, 134, 1, 0, 0, 0, 1127, 1128, 7, 9, 0, 0, 1128, 1129, 7, 6, 0, 0, 1129, 1130, 7, 4, 0, 0, 1130, 1131, 7, 13, 0, 0, 1131, 1132, 7, 13, 0, 0, 1132, 1133, 7, 19, 0, 0, 1133, 1134, 7, 16, 0, 0, 1134, 1135, 7, 4, 0, 0, 1135, 1136, 7, 8, 0, 0, 1136, 1137, 7, 6, 0, 0, 1137, 136, 1, 0, 0, 0, 1138, 1139, 7, 9, 0, 0, 1139, 1140, 7, 6, 0, 0, 1140, 1141, 7, 16, 0, 0, 1141, 1142, 7, 13, 0, 0, 1142, 1143, 7, 4, 0, 0, 1143, 1144, 7, 12, 0, 0, 1144, 1145, 7, 6, 0, 0, 1145, 138, 1, 0, 0, 0, 1146, 1147, 7, 9, 0, 0, 1147, 1148, 7, 6, 0, 0, 1148, 1149, 7, 11, 0, 0, 1149, 1150, 7, 4, 0, 0, 1150, 1151, 7, 17, 0, 0, 1151, 1152, 7, 13, 0, 0, 1152, 1153, 7, 8, 0, 0, 1153, 140, 1, 0, 0, 0, 1154, 1155, 7, 9, 0, 0, 1155, 1156, 7, 6, 0, 0, 1156, 1157, 7, 11, 0, 0, 1157, 1158, 7, 2, 0, 0, 1158, 1159, 7, 7, 0, 0, 1159, 1160, 7, 6, 0, 0, 1160, 142, 1, 0, 0, 0, 1161, 1162, 7, 9, 0, 0, 1162, 1163, 7, 6, 0, 0, 1163, 1164, 7, 11, 0, 0, 1164, 1165, 7, 2, 0, 0, 1165, 1166, 7, 7, 0, 0, 1166, 1167, 7, 6, 0, 0, 1167, 1168, 7, 12, 0, 0, 1168, 144, 1, 0, 0, 0, 1169, 1170, 7, 9, 0, 0, 1170, 1171, 7, 6, 0, 0, 1171, 1172, 7, 13, 0, 0, 1172, 1173, 7, 6, 0, 0, 1173, 1174, 7, 8, 0, 0, 1174, 1175, 7, 6, 0, 0, 1175, 146, 1, 0, 0, 0, 1176, 1177, 7, 9, 0, 0, 1177, 1178, 7, 6, 0, 0, 1178, 1179, 7, 7, 0, 0, 1179, 1180, 7, 14, 0, 0, 1180, 148, 1, 0, 0, 0, 1181, 1182, 7, 9, 0, 0, 1182, 1183, 7, 6, 0, 0, 1183, 1184, 7, 0, 0, 0, 1184, 1185, 7, 16, 0, 0, 1185, 150, 1, 0, 0, 0, 1186, 1187, 7, 9, 0, 0, 1187, 1188, 7, 6, 0, 0, 1188, 1189, 7, 0, 0, 0, 1189, 1190, 7, 16, 0, 0, 1190, 1191, 7, 12, 0, 0, 1191, 1192, 7, 2, 0, 0, 1192, 1193, 7, 5, 0, 0, 1193, 1194, 7, 6, 0, 0, 1194, 152, 1, 0, 0, 0, 1195, 1196, 7, 9, 0, 0, 1196, 1197, 7, 6, 0, 0, 1197, 1198, 7, 0, 0, 0, 1198, 1199, 7, 16, 0, 0, 1199, 1200, 7, 12, 0, 0, 1200, 1201, 7, 2, 0, 0, 1201, 1202, 7, 3, 0, 0, 1202, 1203, 7, 8, 0, 0, 1203, 1204, 7, 19, 0, 0, 1204, 1205, 7, 12, 0, 0, 1205, 154, 1, 0, 0, 0, 1206, 1207, 7, 9, 0, 0, 1207, 1208, 7, 6, 0, 0, 1208, 1209, 7, 8, 0, 0, 1209, 1210, 7, 6, 0, 0, 1210, 1211, 7, 12, 0, 0, 1211, 1212, 7, 10, 0, 0, 1212, 1213, 7, 2, 0, 0, 1213, 1214, 7, 7, 0, 0, 1214, 1215, 7, 2, 0, 0, 1215, 1216, 7, 0, 0, 0, 1216, 1217, 7, 8, 0, 0, 1217, 1218, 7, 2, 0, 0, 1218, 1219, 7, 16, 0, 0, 1219, 156, 1, 0, 0, 0, 1220, 1221, 7, 9, 0, 0, 1221, 1222, 7, 2, 0, 0, 1222, 1223, 7, 0, 0, 0, 1223, 1224, 7, 8, 0, 0, 1224, 1225, 7, 2, 0, 0, 1225, 1226, 7, 7, 0, 0, 1226, 1227, 7, 16, 0, 0, 1227, 1228, 7, 8, 0, 0, 1228, 158, 1, 0, 0, 0, 1229, 1230, 7, 9, 0, 0, 1230, 1231, 7, 2, 0, 0, 1231, 1232, 7, 0, 0, 0, 1232, 1233, 7, 8, 0, 0, 1233, 1234, 7, 12, 0, 0, 1234, 1235, 7, 2, 0, 0, 1235, 1236, 7, 5, 0, 0, 1236, 1237, 7, 17, 0, 0, 1237, 1238, 7, 8, 0, 0, 1238, 1239, 7, 6, 0, 0, 1239, 1240, 7, 9, 0, 0, 1240, 160, 1, 0, 0, 0, 1241, 1242, 7, 9, 0, 0, 1242, 1243, 7, 19, 0, 0, 1243, 162, 1, 0, 0, 0, 1244, 1245, 7, 9, 0, 0, 1245, 1246, 7, 19, 0, 0, 1246, 1247, 7, 17, 0, 0, 1247, 1248, 7, 5, 0, 0, 1248, 1249, 7, 13, 0, 0, 1249, 1250, 7, 6, 0, 0, 1250, 164, 1, 0, 0, 0, 1251, 1252, 7, 9, 0, 0, 1252, 1253, 7, 12, 0, 0, 1253, 1254, 7, 19, 0, 0, 1254, 1255, 7, 3, 0, 0, 1255, 166, 1, 0, 0, 0, 1256, 1257, 7, 6, 0, 0, 1257, 1258, 7, 13, 0, 0, 1258, 1259, 7, 0, 0, 0, 1259, 1260, 7, 6, 0, 0, 1260, 168, 1, 0, 0, 0, 1261, 1262, 7, 6, 0, 0, 1262, 1263, 7, 10, 0, 0, 1263, 1264, 7, 3, 0, 0, 1264, 1265, 7, 8, 0, 0, 1265, 1266, 7, 14, 0, 0, 1266, 170, 1, 0, 0, 0, 1267, 1268, 7, 6, 0, 0, 1268, 1269, 7, 13, 0, 0, 1269, 1270, 7, 0, 0, 0, 1270, 1271, 7, 6, 0, 0, 1271, 1272, 7, 2, 0, 0, 1272, 1273, 7, 11, 0, 0, 1273, 172, 1, 0, 0, 0, 1274, 1275, 7, 6, 0, 0, 1275, 1276, 7, 7, 0, 0, 1276, 1277, 7, 16, 0, 0, 1277, 1278, 7, 19, 0, 0, 1278, 1279, 7, 9, 0, 0, 1279, 1280, 7, 2, 0, 0, 1280, 1281, 7, 7, 0, 0, 1281, 1282, 7, 20, 0, 0, 1282, 174, 1, 0, 0, 0, 1283, 1284, 7, 6, 0, 0, 1284, 1285, 7, 7, 0, 0, 1285, 1286, 7, 9, 0, 0, 1286, 176, 1, 0, 0, 0, 1287, 1288, 7, 6, 0, 0, 1288, 1289, 7, 12, 0, 0, 1289, 1290, 7, 12, 0, 0, 1290, 1291, 7, 19, 0, 0, 1291, 1292, 7, 12, 0, 0, 1292, 178, 1, 0, 0, 0, 1293, 1294, 7, 6, 0, 0, 1294, 1295, 7, 0, 0, 0, 1295, 1296, 7, 16, 0, 0, 1296, 1297, 7, 4, 0, 0, 1297, 1298, 7, 3, 0, 0, 1298, 1299, 7, 6, 0, 0, 1299, 180, 1, 0, 0, 0, 1300, 1301, 7, 6, 0, 0, 1301, 1302, 7, 22, 0, 0, 1302, 1303, 7, 16, 0, 0, 1303, 1304, 7, 6, 0, 0, 1304, 1305, 7, 3, 0, 0, 1305, 1306, 7, 8, 0, 0, 1306, 182, 1, 0, 0, 0, 1307, 1308, 7, 6, 0, 0, 1308, 1309, 7, 22, 0, 0, 1309, 1310, 7, 16, 0, 0, 1310, 1311, 7, 13, 0, 0, 1311, 1312, 7, 17, 0, 0, 1312, 1313, 7, 9, 0, 0, 1313, 1314, 7, 2, 0, 0, 1314, 1315, 7, 7, 0, 0, 1315, 1316, 7, 20, 0, 0, 1316, 184, 1, 0, 0, 0, 1317, 1318, 7, 6, 0, 0, 1318, 1319, 7, 22, 0, 0, 1319, 1320, 7, 6, 0, 0, 1320, 1321, 7, 16, 0, 0, 1321, 1322, 7, 17, 0, 0, 1322, 1323, 7, 8, 0, 0, 1323, 1324, 7, 6, 0, 0, 1324, 186, 1, 0, 0, 0, 1325, 1326, 7, 6, 0, 0, 1326, 1327, 7, 22, 0, 0, 1327, 1328, 7, 2, 0, 0, 1328, 1329, 7, 0, 0, 0, 1329, 1330, 7, 8, 0, 0, 1330, 1331, 7, 0, 0, 0, 1331, 188, 1, 0, 0, 0, 1332, 1333, 7, 6, 0, 0, 1333, 1334, 7, 22, 0, 0, 1334, 1335, 7, 3, 0, 0, 1335, 1336, 7, 13, 0, 0, 1336, 1337, 7, 4, 0, 0, 1337, 1338, 7, 2, 0, 0, 1338, 1339, 7, 7, 0, 0, 1339, 190, 1, 0, 0, 0, 1340, 1341, 7, 6, 0, 0, 1341, 1342, 7, 22, 0, 0, 1342, 1343, 7, 8, 0, 0, 1343, 1344, 7, 12, 0, 0, 1344, 1345, 7, 4, 0, 0, 1345, 1346, 7, 16, 0, 0, 1346, 1347, 7, 8, 0, 0, 1347, 192, 1, 0, 0, 0, 1348, 1349, 7, 11, 0, 0, 1349, 1350, 7, 4, 0, 0, 1350, 1351, 7, 13, 0, 0, 1351, 1352, 7, 0, 0, 0, 1352, 1353, 7, 6, 0, 0, 1353, 194, 1, 0, 0, 0, 1354, 1355, 7, 11, 0, 0, 1355, 1356, 7, 6, 0, 0, 1356, 1357, 7, 8, 0, 0, 1357, 1358, 7, 16, 0, 0, 1358, 1359, 7, 18, 0, 0, 1359, 196, 1, 0, 0, 0, 1360, 1361, 7, 11, 0, 0, 1361, 1362, 7, 2, 0, 0, 1362, 1363, 7, 13, 0, 0, 1363, 1364, 7, 8, 0, 0, 1364, 1365, 7, 6, 0, 0, 1365, 1366, 7, 12, 0, 0, 1366, 198, 1, 0, 0, 0, 1367, 1368, 7, 11, 0, 0, 1368, 1369, 7, 2, 0, 0, 1369, 1370, 7, 7, 0, 0, 1370, 1371, 7, 4, 0, 0, 1371, 1372, 7, 13, 0, 0, 1372, 200, 1, 0, 0, 0, 1373, 1374, 7, 11, 0, 0, 1374, 1375, 7, 2, 0, 0, 1375, 1376, 7, 12, 0, 0, 1376, 1377, 7, 0, 0, 0, 1377, 1378, 7, 8, 0, 0, 1378, 202, 1, 0, 0, 0, 1379, 1380, 7, 11, 0, 0, 1380, 1381, 7, 19, 0, 0, 1381, 1382, 7, 13, 0, 0, 1382, 1383, 7, 13, 0, 0, 1383, 1384, 7, 19, 0, 0, 1384, 1385, 7, 21, 0, 0, 1385, 1386, 7, 2, 0, 0, 1386, 1387, 7, 7, 0, 0, 1387, 1388, 7, 20, 0, 0, 1388, 204, 1, 0, 0, 0, 1389, 1390, 7, 11, 0, 0, 1390, 1391, 7, 19, 0, 0, 1391, 1392, 7, 12, 0, 0, 1392, 206, 1, 0, 0, 0, 1393, 1394, 7, 11, 0, 0, 1394, 1395, 7, 19, 0, 0, 1395, 1396, 7, 12, 0, 0, 1396, 1397, 7, 10, 0, 0, 1397, 1398, 7, 4, 0, 0, 1398, 1399, 7, 8, 0, 0, 1399, 208, 1, 0, 0, 0, 1400, 1401, 7, 11, 0, 0, 1401, 1402, 7, 12, 0, 0, 1402, 1403, 7, 19, 0, 0, 1403, 1404, 7, 10, 0, 0, 1404, 210, 1, 0, 0, 0, 1405, 1406, 7, 11, 0, 0, 1406, 1407, 7, 17, 0, 0, 1407, 1408, 7, 13, 0, 0, 1408, 1409, 7, 13, 0, 0, 1409, 212, 1, 0, 0, 0, 1410, 1411, 7, 11, 0, 0, 1411, 1412, 7, 17, 0, 0, 1412, 1413, 7, 7, 0, 0, 1413, 1414, 7, 16, 0, 0, 1414, 1415, 7, 8, 0, 0, 1415, 1416, 7, 2, 0, 0, 1416, 1417, 7, 19, 0, 0, 1417, 1418, 7, 7, 0, 0, 1418, 214, 1, 0, 0, 0, 1419, 1420, 7, 11, 0, 0, 1420, 1421, 7, 17, 0, 0, 1421, 1422, 7, 7, 0, 0, 1422, 1423, 7, 16, 0, 0, 1423, 1424, 7, 8, 0, 0, 1424, 1425, 7, 2, 0, 0, 1425, 1426, 7, 19, 0, 0, 1426, 1427, 7, 7, 0, 0, 1427, 1428, 7, 0, 0, 0, 1428, 216, 1, 0, 0, 0, 1429, 1430, 7, 20, 0, 0, 1430, 1431, 7, 12, 0, 0, 1431, 1432, 7, 4, 0, 0, 1432, 1433, 7, 16, 0, 0, 1433, 1434, 7, 6, 0, 0, 1434, 218, 1, 0, 0, 0, 1435, 1436, 7, 20, 0, 0, 1436, 1437, 7, 12, 0, 0, 1437, 1438, 7, 4, 0, 0, 1438, 1439, 7, 7, 0, 0, 1439, 1440, 7, 8, 0, 0, 1440, 220, 1, 0, 0, 0, 1441, 1442, 7, 20, 0, 0, 1442, 1443, 7, 12, 0, 0, 1443, 1444, 7, 4, 0, 0, 1444, 1445, 7, 7, 0, 0, 1445, 1446, 7, 8, 0, 0, 1446, 1447, 7, 6, 0, 0, 1447, 1448, 7, 9, 0, 0, 1448, 222, 1, 0, 0, 0, 1449, 1450, 7, 20, 0, 0, 1450, 1451, 7, 12, 0, 0, 1451, 1452, 7, 4, 0, 0, 1452, 1453, 7, 7, 0, 0, 1453, 1454, 7, 8, 0, 0, 1454, 1455, 7, 0, 0, 0, 1455, 224, 1, 0, 0, 0, 1456, 1457, 7, 20, 0, 0, 1457, 1458, 7, 12, 0, 0, 1458, 1459, 7, 4, 0, 0, 1459, 1460, 7, 3, 0, 0, 1460, 1461, 7, 18, 0, 0, 1461, 1462, 7, 23, 0, 0, 1462, 1463, 7, 2, 0, 0, 1463, 1464, 7, 15, 0, 0, 1464, 226, 1, 0, 0, 0, 1465, 1466, 7, 20, 0, 0, 1466, 1467, 7, 12, 0, 0, 1467, 1468, 7, 19, 0, 0, 1468, 1469, 7, 17, 0, 0, 1469, 1470, 7, 3, 0, 0, 1470, 228, 1, 0, 0, 0, 1471, 1472, 7, 20, 0, 0, 1472, 1473, 7, 12, 0, 0, 1473, 1474, 7, 19, 0, 0, 1474, 1475, 7, 17, 0, 0, 1475, 1476, 7, 3, 0, 0, 1476, 1477, 7, 2, 0, 0, 1477, 1478, 7, 7, 0, 0, 1478, 1479, 7, 20, 0, 0, 1479, 230, 1, 0, 0, 0, 1480, 1481, 7, 20, 0, 0, 1481, 1482, 7, 12, 0, 0, 1482, 1483, 7, 19, 0, 0, 1483, 1484, 7, 17, 0, 0, 1484, 1485, 7, 3, 0, 0, 1485, 1486, 7, 0, 0, 0, 1486, 232, 1, 0, 0, 0, 1487, 1488, 7, 18, 0, 0, 1488, 1489, 7, 4, 0, 0, 1489, 1490, 7, 23, 0, 0, 1490, 1491, 7, 2, 0, 0, 1491, 1492, 7, 7, 0, 0, 1492, 1493, 7, 20, 0, 0, 1493, 234, 1, 0, 0, 0, 1494, 1495, 7, 18, 0, 0, 1495, 1496, 7, 19, 0, 0, 1496, 1497, 7, 17, 0, 0, 1497, 1498, 7, 12, 0, 0, 1498, 236, 1, 0, 0, 0, 1499, 1500, 7, 2, 0, 0, 1500, 1501, 7, 11, 0, 0, 1501, 238, 1, 0, 0, 0, 1502, 1503, 7, 2, 0, 0, 1503, 1504, 7, 20, 0, 0, 1504, 1505, 7, 7, 0, 0, 1505, 1506, 7, 19, 0, 0, 1506, 1507, 7, 12, 0, 0, 1507, 1508, 7, 6, 0, 0, 1508, 240, 1, 0, 0, 0, 1509, 1510, 7, 2, 0, 0, 1510, 1511, 7, 10, 0, 0, 1511, 1512, 7, 10, 0, 0, 1512, 1513, 7, 6, 0, 0, 1513, 1514, 7, 9, 0, 0, 1514, 1515, 7, 2, 0, 0, 1515, 1516, 7, 4, 0, 0, 1516, 1517, 7, 8, 0, 0, 1517, 1518, 7, 6, 0, 0, 1518, 242, 1, 0, 0, 0, 1519, 1520, 7, 2, 0, 0, 1520, 1521, 7, 7, 0, 0, 1521, 244, 1, 0, 0, 0, 1522, 1523, 7, 2, 0, 0, 1523, 1524, 7, 7, 0, 0, 1524, 1525, 7, 16, 0, 0, 1525, 1526, 7, 13, 0, 0, 1526, 1527, 7, 17, 0, 0, 1527, 1528, 7, 9, 0, 0, 1528, 1529, 7, 2, 0, 0, 1529, 1530, 7, 7, 0, 0, 1530, 1531, 7, 20, 0, 0, 1531, 246, 1, 0, 0, 0, 1532, 1533, 7, 2, 0, 0, 1533, 1534, 7, 7, 0, 0, 1534, 1535, 7, 2, 0, 0, 1535, 1536, 7, 8, 0, 0, 1536, 1537, 7, 2, 0, 0, 1537, 1538, 7, 4, 0, 0, 1538, 1539, 7, 13, 0, 0, 1539, 248, 1, 0, 0, 0, 1540, 1541, 7, 2, 0, 0, 1541, 1542, 7, 7, 0, 0, 1542, 1543, 7, 7, 0, 0, 1543, 1544, 7, 6, 0, 0, 1544, 1545, 7, 12, 0, 0, 1545, 250, 1, 0, 0, 0, 1546, 1547, 7, 2, 0, 0, 1547, 1548, 7, 7, 0, 0, 1548, 1549, 7, 3, 0, 0, 1549, 1550, 7, 17, 0, 0, 1550, 1551, 7, 8, 0, 0, 1551, 252, 1, 0, 0, 0, 1552, 1553, 7, 2, 0, 0, 1553, 1554, 7, 7, 0, 0, 1554, 1555, 7, 0, 0, 0, 1555, 1556, 7, 6, 0, 0, 1556, 1557, 7, 12, 0, 0, 1557, 1558, 7, 8, 0, 0, 1558, 254, 1, 0, 0, 0, 1559, 1560, 7, 2, 0, 0, 1560, 1561, 7, 7, 0, 0, 1561, 1562, 7, 8, 0, 0, 1562, 1563, 7, 6, 0, 0, 1563, 1564, 7, 12, 0, 0, 1564, 1565, 7, 0, 0, 0, 1565, 1566, 7, 6, 0, 0, 1566, 1567, 7, 16, 0, 0, 1567, 1568, 7, 8, 0, 0, 1568, 256, 1, 0, 0, 0, 1569, 1570, 7, 2, 0, 0, 1570, 1571, 7, 7, 0, 0, 1571, 1572, 7, 8, 0, 0, 1572, 1573, 7, 6, 0, 0, 1573, 1574, 7, 12, 0, 0, 1574, 1575, 7, 23, 0, 0, 1575, 1576, 7, 4, 0, 0, 1576, 1577, 7, 13, 0, 0, 1577, 258, 1, 0, 0, 0, 1578, 1579, 7, 2, 0, 0, 1579, 1580, 7, 7, 0, 0, 1580, 1581, 7, 8, 0, 0, 1581, 1582, 7, 19, 0, 0, 1582, 260, 1, 0, 0, 0, 1583, 1584, 7, 2, 0, 0, 1584, 1585, 7, 7, 0, 0, 1585, 1586, 7, 23, 0, 0, 1586, 1587, 7, 19, 0, 0, 1587, 1588, 7, 1, 0, 0, 1588, 1589, 7, 6, 0, 0, 1589, 1590, 7, 12, 0, 0, 1590, 262, 1, 0, 0, 0, 1591, 1592, 7, 2, 0, 0, 1592, 1593, 7, 19, 0, 0, 1593, 264, 1, 0, 0, 0, 1594, 1595, 7, 2, 0, 0, 1595, 1596, 7, 0, 0, 0, 1596, 266, 1, 0, 0, 0, 1597, 1598, 7, 2, 0, 0, 1598, 1599, 7, 0, 0, 0, 1599, 1600, 7, 19, 0, 0, 1600, 1601, 7, 13, 0, 0, 1601, 1602, 7, 4, 0, 0, 1602, 1603, 7, 8, 0, 0, 1603, 1604, 7, 2, 0, 0, 1604, 1605, 7, 19, 0, 0, 1605, 1606, 7, 7, 0, 0, 1606, 268, 1, 0, 0, 0, 1607, 1608, 7, 2, 0, 0, 1608, 1609, 7, 8, 0, 0, 1609, 1610, 7, 6, 0, 0, 1610, 1611, 7, 12, 0, 0, 1611, 1612, 7, 4, 0, 0, 1612, 1613, 7, 8, 0, 0, 1613, 1614, 7, 6, 0, 0, 1614, 270, 1, 0, 0, 0, 1615, 1616, 7, 24, 0, 0, 1616, 1617, 7, 19, 0, 0, 1617, 1618, 7, 2, 0, 0, 1618, 1619, 7, 7, 0, 0, 1619, 272, 1, 0, 0, 0, 1620, 1621, 7, 24, 0, 0, 1621, 1622, 7, 0, 0, 0, 1622, 1623, 7, 19, 0, 0, 1623, 1624, 7, 7, 0, 0, 1624, 274, 1, 0, 0, 0, 1625, 1626, 7, 24, 0, 0, 1626, 1627, 7, 0, 0, 0, 1627, 1628, 7, 19, 0, 0, 1628, 1629, 7, 7, 0, 0, 1629, 1630, 5, 95, 0, 0, 1630, 1631, 7, 4, 0, 0, 1631, 1632, 7, 12, 0, 0, 1632, 1633, 7, 12, 0, 0, 1633, 1634, 7, 4, 0, 0, 1634, 1635, 7, 14, 0, 0, 1635, 276, 1, 0, 0, 0, 1636, 1637, 7, 24, 0, 0, 1637, 1638, 7, 0, 0, 0, 1638, 1639, 7, 19, 0, 0, 1639, 1640, 7, 7, 0, 0, 1640, 1641, 5, 95, 0, 0, 1641, 1642, 7, 6, 0, 0, 1642, 1643, 7, 22, 0, 0, 1643, 1644, 7, 2, 0, 0, 1644, 1645, 7, 0, 0, 0, 1645, 1646, 7, 8, 0, 0, 1646, 1647, 7, 0, 0, 0, 1647, 278, 1, 0, 0, 0, 1648, 1649, 7, 24, 0, 0, 1649, 1650, 7, 0, 0, 0, 1650, 1651, 7, 19, 0, 0, 1651, 1652, 7, 7, 0, 0, 1652, 1653, 5, 95, 0, 0, 1653, 1654, 7, 19, 0, 0, 1654, 1655, 7, 5, 0, 0, 1655, 1656, 7, 24, 0, 0, 1656, 1657, 7, 6, 0, 0, 1657, 1658, 7, 16, 0, 0, 1658, 1659, 7, 8, 0, 0, 1659, 280, 1, 0, 0, 0, 1660, 1661, 7, 24, 0, 0, 1661, 1662, 7, 0, 0, 0, 1662, 1663, 7, 19, 0, 0, 1663, 1664, 7, 7, 0, 0, 1664, 1665, 5, 95, 0, 0, 1665, 1666, 7, 25, 0, 0, 1666, 1667, 7, 17, 0, 0, 1667, 1668, 7, 6, 0, 0, 1668, 1669, 7, 12, 0, 0, 1669, 1670, 7, 14, 0, 0, 1670, 282, 1, 0, 0, 0, 1671, 1672, 7, 24, 0, 0, 1672, 1673, 7, 0, 0, 0, 1673, 1674, 7, 19, 0, 0, 1674, 1675, 7, 7, 0, 0, 1675, 1676, 5, 95, 0, 0, 1676, 1677, 7, 8, 0, 0, 1677, 1678, 7, 4, 0, 0, 1678, 1679, 7, 5, 0, 0, 1679, 1680, 7, 13, 0, 0, 1680, 1681, 7, 6, 0, 0, 1681, 284, 1, 0, 0, 0, 1682, 1683, 7, 24, 0, 0, 1683, 1684, 7, 0, 0, 0, 1684, 1685, 7, 19, 0, 0, 1685, 1686, 7, 7, 0, 0, 1686, 1687, 5, 95, 0, 0, 1687, 1688, 7, 23, 0, 0, 1688, 1689, 7, 4, 0, 0, 1689, 1690, 7, 13, 0, 0, 1690, 1691, 7, 17, 0, 0, 1691, 1692, 7, 6, 0, 0, 1692, 286, 1, 0, 0, 0, 1693, 1694, 7, 1, 0, 0, 1694, 1695, 7, 6, 0, 0, 1695, 1696, 7, 6, 0, 0, 1696, 1697, 7, 3, 0, 0, 1697, 288, 1, 0, 0, 0, 1698, 1699, 7, 1, 0, 0, 1699, 1700, 7, 6, 0, 0, 1700, 1701, 7, 14, 0, 0, 1701, 290, 1, 0, 0, 0, 1702, 1703, 7, 1, 0, 0, 1703, 1704, 7, 6, 0, 0, 1704, 1705, 7, 14, 0, 0, 1705, 1706, 7, 0, 0, 0, 1706, 292, 1, 0, 0, 0, 1707, 1708, 7, 13, 0, 0, 1708, 1709, 7, 4, 0, 0, 1709, 1710, 7, 7, 0, 0, 1710, 1711, 7, 20, 0, 0, 1711, 1712, 7, 17, 0, 0, 1712, 1713, 7, 4, 0, 0, 1713, 1714, 7, 20, 0, 0, 1714, 1715, 7, 6, 0, 0, 1715, 294, 1, 0, 0, 0, 1716, 1717, 7, 13, 0, 0, 1717, 1718, 7, 4, 0, 0, 1718, 1719, 7, 0, 0, 0, 1719, 1720, 7, 8, 0, 0, 1720, 296, 1, 0, 0, 0, 1721, 1722, 7, 13, 0, 0, 1722, 1723, 7, 4, 0, 0, 1723, 1724, 7, 8, 0, 0, 1724, 1725, 7, 6, 0, 0, 1725, 1726, 7, 12, 0, 0, 1726, 1727, 7, 4, 0, 0, 1727, 1728, 7, 13, 0, 0, 1728, 298, 1, 0, 0, 0, 1729, 1730, 7, 13, 0, 0, 1730, 1731, 7, 6, 0, 0, 1731, 1732, 7, 4, 0, 0, 1732, 1733, 7, 9, 0, 0, 1733, 1734, 7, 2, 0, 0, 1734, 1735, 7, 7, 0, 0, 1735, 1736, 7, 20, 0, 0, 1736, 300, 1, 0, 0, 0, 1737, 1738, 7, 13, 0, 0, 1738, 1739, 7, 6, 0, 0, 1739, 1740, 7, 4, 0, 0, 1740, 1741, 7, 23, 0, 0, 1741, 1742, 7, 6, 0, 0, 1742, 302, 1, 0, 0, 0, 1743, 1744, 7, 13, 0, 0, 1744, 1745, 7, 6, 0, 0, 1745, 1746, 7, 11, 0, 0, 1746, 1747, 7, 8, 0, 0, 1747, 304, 1, 0, 0, 0, 1748, 1749, 7, 13, 0, 0, 1749, 1750, 7, 6, 0, 0, 1750, 1751, 7, 23, 0, 0, 1751, 1752, 7, 6, 0, 0, 1752, 1753, 7, 13, 0, 0, 1753, 306, 1, 0, 0, 0, 1754, 1755, 7, 13, 0, 0, 1755, 1756, 7, 2, 0, 0, 1756, 1757, 7, 1, 0, 0, 1757, 1758, 7, 6, 0, 0, 1758, 308, 1, 0, 0, 0, 1759, 1760, 7, 13, 0, 0, 1760, 1761, 7, 2, 0, 0, 1761, 1762, 7, 10, 0, 0, 1762, 1763, 7, 2, 0, 0, 1763, 1764, 7, 8, 0, 0, 1764, 310, 1, 0, 0, 0, 1765, 1766, 7, 13, 0, 0, 1766, 1767, 7, 2, 0, 0, 1767, 1768, 7, 0, 0, 0, 1768, 1769, 7, 8, 0, 0, 1769, 1770, 7, 4, 0, 0, 1770, 1771, 7, 20, 0, 0, 1771, 1772, 7, 20, 0, 0, 1772, 312, 1, 0, 0, 0, 1773, 1774, 7, 13, 0, 0, 1774, 1775, 7, 19, 0, 0, 1775, 1776, 7, 16, 0, 0, 1776, 1777, 7, 4, 0, 0, 1777, 1778, 7, 13, 0, 0, 1778, 314, 1, 0, 0, 0, 1779, 1780, 7, 13, 0, 0, 1780, 1781, 7, 19, 0, 0, 1781, 1782, 7, 16, 0, 0, 1782, 1783, 7, 4, 0, 0, 1783, 1784, 7, 13, 0, 0, 1784, 1785, 7, 8, 0, 0, 1785, 1786, 7, 2, 0, 0, 1786, 1787, 7, 10, 0, 0, 1787, 1788, 7, 6, 0, 0, 1788, 316, 1, 0, 0, 0, 1789, 1790, 7, 13, 0, 0, 1790, 1791, 7, 19, 0, 0, 1791, 1792, 7, 16, 0, 0, 1792, 1793, 7, 4, 0, 0, 1793, 1794, 7, 13, 0, 0, 1794, 1795, 7, 8, 0, 0, 1795, 1796, 7, 2, 0, 0, 1796, 1797, 7, 10, 0, 0, 1797, 1798, 7, 6, 0, 0, 1798, 1799, 7, 0, 0, 0, 1799, 1800, 7, 8, 0, 0, 1800, 1801, 7, 4, 0, 0, 1801, 1802, 7, 10, 0, 0, 1802, 1803, 7, 3, 0, 0, 1803, 318, 1, 0, 0, 0, 1804, 1805, 7, 13, 0, 0, 1805, 1806, 7, 19, 0, 0, 1806, 1807, 7, 20, 0, 0, 1807, 1808, 7, 2, 0, 0, 1808, 1809, 7, 16, 0, 0, 1809, 1810, 7, 4, 0, 0, 1810, 1811, 7, 13, 0, 0, 1811, 320, 1, 0, 0, 0, 1812, 1813, 7, 13, 0, 0, 1813, 1814, 7, 19, 0, 0, 1814, 1815, 7, 19, 0, 0, 1815, 1816, 7, 3, 0, 0, 1816, 322, 1, 0, 0, 0, 1817, 1818, 7, 10, 0, 0, 1818, 1819, 7, 4, 0, 0, 1819, 1820, 7, 3, 0, 0, 1820, 324, 1, 0, 0, 0, 1821, 1822, 7, 10, 0, 0, 1822, 1823, 7, 4, 0, 0, 1823, 1824, 7, 8, 0, 0, 1824, 1825, 7, 16, 0, 0, 1825, 1826, 7, 18, 0, 0, 1826, 326, 1, 0, 0, 0, 1827, 1828, 7, 10, 0, 0, 1828, 1829, 7, 4, 0, 0, 1829, 1830, 7, 8, 0, 0, 1830, 1831, 7, 16, 0, 0, 1831, 1832, 7, 18, 0, 0, 1832, 1833, 7, 6, 0, 0, 1833, 1834, 7, 9, 0, 0, 1834, 328, 1, 0, 0, 0, 1835, 1836, 7, 10, 0, 0, 1836, 1837, 7, 4, 0, 0, 1837, 1838, 7, 8, 0, 0, 1838, 1839, 7, 16, 0, 0, 1839, 1840, 7, 18, 0, 0, 1840, 1841, 7, 6, 0, 0, 1841, 1842, 7, 0, 0, 0, 1842, 330, 1, 0, 0, 0, 1843, 1844, 7, 10, 0, 0, 1844, 1845, 7, 4, 0, 0, 1845, 1846, 7, 8, 0, 0, 1846, 1847, 7, 16, 0, 0, 1847, 1848, 7, 18, 0, 0, 1848, 1849, 5, 95, 0, 0, 1849, 1850, 7, 12, 0, 0, 1850, 1851, 7, 6, 0, 0, 1851, 1852, 7, 16, 0, 0, 1852, 1853, 7, 19, 0, 0, 1853, 1854, 7, 20, 0, 0, 1854, 1855, 7, 7, 0, 0, 1855, 1856, 7, 2, 0, 0, 1856, 1857, 7, 15, 0, 0, 1857, 1858, 7, 6, 0, 0, 1858, 332, 1, 0, 0, 0, 1859, 1860, 7, 10, 0, 0, 1860, 1861, 7, 4, 0, 0, 1861, 1862, 7, 8, 0, 0, 1862, 1863, 7, 6, 0, 0, 1863, 1864, 7, 12, 0, 0, 1864, 1865, 7, 2, 0, 0, 1865, 1866, 7, 4, 0, 0, 1866, 1867, 7, 13, 0, 0, 1867, 1868, 7, 2, 0, 0, 1868, 1869, 7, 15, 0, 0, 1869, 1870, 7, 6, 0, 0, 1870, 1871, 7, 9, 0, 0, 1871, 334, 1, 0, 0, 0, 1872, 1873, 7, 10, 0, 0, 1873, 1874, 7, 6, 0, 0, 1874, 1875, 7, 4, 0, 0, 1875, 1876, 7, 0, 0, 0, 1876, 1877, 7, 17, 0, 0, 1877, 1878, 7, 12, 0, 0, 1878, 1879, 7, 6, 0, 0, 1879, 1880, 7, 0, 0, 0, 1880, 336, 1, 0, 0, 0, 1881, 1882, 7, 10, 0, 0, 1882, 1883, 7, 6, 0, 0, 1883, 1884, 7, 12, 0, 0, 1884, 1885, 7, 20, 0, 0, 1885, 1886, 7, 6, 0, 0, 1886, 338, 1, 0, 0, 0, 1887, 1888, 7, 10, 0, 0, 1888, 1889, 7, 2, 0, 0, 1889, 1890, 7, 7, 0, 0, 1890, 1891, 7, 17, 0, 0, 1891, 1892, 7, 8, 0, 0, 1892, 1893, 7, 6, 0, 0, 1893, 340, 1, 0, 0, 0, 1894, 1895, 7, 10, 0, 0, 1895, 1896, 7, 19, 0, 0, 1896, 1897, 7, 7, 0, 0, 1897, 1898, 7, 8, 0, 0, 1898, 1899, 7, 18, 0, 0, 1899, 342, 1, 0, 0, 0, 1900, 1901, 7, 7, 0, 0, 1901, 1902, 7, 4, 0, 0, 1902, 1903, 7, 8, 0, 0, 1903, 1904, 7, 17, 0, 0, 1904, 1905, 7, 12, 0, 0, 1905, 1906, 7, 4, 0, 0, 1906, 1907, 7, 13, 0, 0, 1907, 344, 1, 0, 0, 0, 1908, 1909, 7, 7, 0, 0, 1909, 1910, 7, 6, 0, 0, 1910, 1911, 7, 0, 0, 0, 1911, 1912, 7, 8, 0, 0, 1912, 1913, 7, 6, 0, 0, 1913, 1914, 7, 9, 0, 0, 1914, 346, 1, 0, 0, 0, 1915, 1916, 7, 7, 0, 0, 1916, 1917, 7, 6, 0, 0, 1917, 1918, 7, 22, 0, 0, 1918, 1919, 7, 8, 0, 0, 1919, 348, 1, 0, 0, 0, 1920, 1921, 7, 7, 0, 0, 1921, 1922, 7, 11, 0, 0, 1922, 1923, 7, 16, 0, 0, 1923, 350, 1, 0, 0, 0, 1924, 1925, 7, 7, 0, 0, 1925, 1926, 7, 11, 0, 0, 1926, 1927, 7, 9, 0, 0, 1927, 352, 1, 0, 0, 0, 1928, 1929, 7, 7, 0, 0, 1929, 1930, 7, 11, 0, 0, 1930, 1931, 7, 1, 0, 0, 1931, 1932, 7, 16, 0, 0, 1932, 354, 1, 0, 0, 0, 1933, 1934, 7, 7, 0, 0, 1934, 1935, 7, 11, 0, 0, 1935, 1936, 7, 1, 0, 0, 1936, 1937, 7, 9, 0, 0, 1937, 356, 1, 0, 0, 0, 1938, 1939, 7, 7, 0, 0, 1939, 1940, 7, 19, 0, 0, 1940, 358, 1, 0, 0, 0, 1941, 1942, 7, 7, 0, 0, 1942, 1943, 7, 19, 0, 0, 1943, 1944, 7, 7, 0, 0, 1944, 1945, 7, 6, 0, 0, 1945, 360, 1, 0, 0, 0, 1946, 1947, 7, 7, 0, 0, 1947, 1948, 7, 19, 0, 0, 1948, 1949, 7, 12, 0, 0, 1949, 1950, 7, 10, 0, 0, 1950, 1951, 7, 4, 0, 0, 1951, 1952, 7, 13, 0, 0, 1952, 1953, 7, 2, 0, 0, 1953, 1954, 7, 15, 0, 0, 1954, 1955, 7, 6, 0, 0, 1955, 362, 1, 0, 0, 0, 1956, 1957, 7, 7, 0, 0, 1957, 1958, 7, 19, 0, 0, 1958, 1959, 7, 8, 0, 0, 1959, 364, 1, 0, 0, 0, 1960, 1961, 7, 7, 0, 0, 1961, 1962, 7, 17, 0, 0, 1962, 1963, 7, 13, 0, 0, 1963, 1964, 7, 13, 0, 0, 1964, 366, 1, 0, 0, 0, 1965, 1966, 7, 7, 0, 0, 1966, 1967, 7, 17, 0, 0, 1967, 1968, 7, 13, 0, 0, 1968, 1969, 7, 13, 0, 0, 1969, 1970, 7, 2, 0, 0, 1970, 1971, 7, 11, 0, 0, 1971, 368, 1, 0, 0, 0, 1972, 1973, 7, 7, 0, 0, 1973, 1974, 7, 17, 0, 0, 1974, 1975, 7, 13, 0, 0, 1975, 1976, 7, 13, 0, 0, 1976, 1977, 7, 0, 0, 0, 1977, 370, 1, 0, 0, 0, 1978, 1979, 7, 19, 0, 0, 1979, 1980, 7, 5, 0, 0, 1980, 1981, 7, 24, 0, 0, 1981, 1982, 7, 6, 0, 0, 1982, 1983, 7, 16, 0, 0, 1983, 1984, 7, 8, 0, 0, 1984, 372, 1, 0, 0, 0, 1985, 1986, 7, 19, 0, 0, 1986, 1987, 7, 11, 0, 0, 1987, 374, 1, 0, 0, 0, 1988, 1989, 7, 19, 0, 0, 1989, 1990, 7, 11, 0, 0, 1990, 1991, 7, 11, 0, 0, 1991, 1992, 7, 0, 0, 0, 1992, 1993, 7, 6, 0, 0, 1993, 1994, 7, 8, 0, 0, 1994, 376, 1, 0, 0, 0, 1995, 1996, 7, 19, 0, 0, 1996, 1997, 7, 10, 0, 0, 1997, 1998, 7, 2, 0, 0, 1998, 1999, 7, 8, 0, 0, 1999, 378, 1, 0, 0, 0, 2000, 2001, 7, 19, 0, 0, 2001, 2002, 7, 7, 0, 0, 2002, 380, 1, 0, 0, 0, 2003, 2004, 7, 19, 0, 0, 2004, 2005, 7, 7, 0, 0, 2005, 2006, 7, 6, 0, 0, 2006, 382, 1, 0, 0, 0, 2007, 2008, 7, 19, 0, 0, 2008, 2009, 7, 7, 0, 0, 2009, 2010, 7, 13, 0, 0, 2010, 2011, 7, 14, 0, 0, 2011, 384, 1, 0, 0, 0, 2012, 2013, 7, 19, 0, 0, 2013, 2014, 7, 3, 0, 0, 2014, 2015, 7, 8, 0, 0, 2015, 2016, 7, 2, 0, 0, 2016, 2017, 7, 19, 0, 0, 2017, 2018, 7, 7, 0, 0, 2018, 386, 1, 0, 0, 0, 2019, 2020, 7, 19, 0, 0, 2020, 2021, 7, 12, 0, 0, 2021, 388, 1, 0, 0, 0, 2022, 2023, 7, 19, 0, 0, 2023, 2024, 7, 12, 0, 0, 2024, 2025, 7, 9, 0, 0, 2025, 2026, 7, 6, 0, 0, 2026, 2027, 7, 12, 0, 0, 2027, 390, 1, 0, 0, 0, 2028, 2029, 7, 19, 0, 0, 2029, 2030, 7, 12, 0, 0, 2030, 2031, 7, 9, 0, 0, 2031, 2032, 7, 2, 0, 0, 2032, 2033, 7, 7, 0, 0, 2033, 2034, 7, 4, 0, 0, 2034, 2035, 7, 13, 0, 0, 2035, 2036, 7, 2, 0, 0, 2036, 2037, 7, 8, 0, 0, 2037, 2038, 7, 14, 0, 0, 2038, 392, 1, 0, 0, 0, 2039, 2040, 7, 19, 0, 0, 2040, 2041, 7, 17, 0, 0, 2041, 2042, 7, 8, 0, 0, 2042, 2043, 7, 6, 0, 0, 2043, 2044, 7, 12, 0, 0, 2044, 394, 1, 0, 0, 0, 2045, 2046, 7, 19, 0, 0, 2046, 2047, 7, 17, 0, 0, 2047, 2048, 7, 8, 0, 0, 2048, 2049, 7, 3, 0, 0, 2049, 2050, 7, 17, 0, 0, 2050, 2051, 7, 8, 0, 0, 2051, 396, 1, 0, 0, 0, 2052, 2053, 7, 19, 0, 0, 2053, 2054, 7, 23, 0, 0, 2054, 2055, 7, 6, 0, 0, 2055, 2056, 7, 12, 0, 0, 2056, 398, 1, 0, 0, 0, 2057, 2058, 7, 19, 0, 0, 2058, 2059, 7, 23, 0, 0, 2059, 2060, 7, 6, 0, 0, 2060, 2061, 7, 12, 0, 0, 2061, 2062, 7, 11, 0, 0, 2062, 2063, 7, 13, 0, 0, 2063, 2064, 7, 19, 0, 0, 2064, 2065, 7, 21, 0, 0, 2065, 400, 1, 0, 0, 0, 2066, 2067, 7, 3, 0, 0, 2067, 2068, 7, 4, 0, 0, 2068, 2069, 7, 12, 0, 0, 2069, 2070, 7, 8, 0, 0, 2070, 2071, 7, 2, 0, 0, 2071, 2072, 7, 8, 0, 0, 2072, 2073, 7, 2, 0, 0, 2073, 2074, 7, 19, 0, 0, 2074, 2075, 7, 7, 0, 0, 2075, 402, 1, 0, 0, 0, 2076, 2077, 7, 3, 0, 0, 2077, 2078, 7, 4, 0, 0, 2078, 2079, 7, 12, 0, 0, 2079, 2080, 7, 8, 0, 0, 2080, 2081, 7, 2, 0, 0, 2081, 2082, 7, 8, 0, 0, 2082, 2083, 7, 2, 0, 0, 2083, 2084, 7, 19, 0, 0, 2084, 2085, 7, 7, 0, 0, 2085, 2086, 7, 0, 0, 0, 2086, 404, 1, 0, 0, 0, 2087, 2088, 7, 3, 0, 0, 2088, 2089, 7, 4, 0, 0, 2089, 2090, 7, 0, 0, 0, 2090, 2091, 7, 0, 0, 0, 2091, 2092, 7, 2, 0, 0, 2092, 2093, 7, 7, 0, 0, 2093, 2094, 7, 20, 0, 0, 2094, 406, 1, 0, 0, 0, 2095, 2096, 7, 3, 0, 0, 2096, 2097, 7, 4, 0, 0, 2097, 2098, 7, 0, 0, 0, 2098, 2099, 7, 8, 0, 0, 2099, 408, 1, 0, 0, 0, 2100, 2101, 7, 3, 0, 0, 2101, 2102, 7, 4, 0, 0, 2102, 2103, 7, 8, 0, 0, 2103, 2104, 7, 18, 0, 0, 2104, 410, 1, 0, 0, 0, 2105, 2106, 7, 3, 0, 0, 2106, 2107, 7, 4, 0, 0, 2107, 2108, 7, 8, 0, 0, 2108, 2109, 7, 8, 0, 0, 2109, 2110, 7, 6, 0, 0, 2110, 2111, 7, 12, 0, 0, 2111, 2112, 7, 7, 0, 0, 2112, 412, 1, 0, 0, 0, 2113, 2114, 7, 3, 0, 0, 2114, 2115, 7, 6, 0, 0, 2115, 2116, 7, 12, 0, 0, 2116, 414, 1, 0, 0, 0, 2117, 2118, 7, 3, 0, 0, 2118, 2119, 7, 6, 0, 0, 2119, 2120, 7, 12, 0, 0, 2120, 2121, 7, 2, 0, 0, 2121, 2122, 7, 19, 0, 0, 2122, 2123, 7, 9, 0, 0, 2123, 416, 1, 0, 0, 0, 2124, 2125, 7, 3, 0, 0, 2125, 2126, 7, 6, 0, 0, 2126, 2127, 7, 12, 0, 0, 2127, 2128, 7, 10, 0, 0, 2128, 2129, 7, 17, 0, 0, 2129, 2130, 7, 8, 0, 0, 2130, 2131, 7, 6, 0, 0, 2131, 418, 1, 0, 0, 0, 2132, 2133, 7, 3, 0, 0, 2133, 2134, 7, 13, 0, 0, 2134, 2135, 7, 4, 0, 0, 2135, 2136, 7, 7, 0, 0, 2136, 420, 1, 0, 0, 0, 2137, 2138, 7, 3, 0, 0, 2138, 2139, 7, 19, 0, 0, 2139, 2140, 7, 0, 0, 0, 2140, 2141, 7, 2, 0, 0, 2141, 2142, 7, 8, 0, 0, 2142, 2143, 7, 2, 0, 0, 2143, 2144, 7, 19, 0, 0, 2144, 2145, 7, 7, 0, 0, 2145, 422, 1, 0, 0, 0, 2146, 2147, 7, 3, 0, 0, 2147, 2148, 7, 12, 0, 0, 2148, 2149, 7, 6, 0, 0, 2149, 2150, 7, 16, 0, 0, 2150, 2151, 7, 6, 0, 0, 2151, 2152, 7, 9, 0, 0, 2152, 2153, 7, 2, 0, 0, 2153, 2154, 7, 7, 0, 0, 2154, 2155, 7, 20, 0, 0, 2155, 424, 1, 0, 0, 0, 2156, 2157, 7, 3, 0, 0, 2157, 2158, 7, 12, 0, 0, 2158, 2159, 7, 6, 0, 0, 2159, 2160, 7, 16, 0, 0, 2160, 2161, 7, 2, 0, 0, 2161, 2162, 7, 0, 0, 0, 2162, 2163, 7, 2, 0, 0, 2163, 2164, 7, 19, 0, 0, 2164, 2165, 7, 7, 0, 0, 2165, 426, 1, 0, 0, 0, 2166, 2167, 7, 3, 0, 0, 2167, 2168, 7, 12, 0, 0, 2168, 2169, 7, 6, 0, 0, 2169, 2170, 7, 3, 0, 0, 2170, 2171, 7, 4, 0, 0, 2171, 2172, 7, 12, 0, 0, 2172, 2173, 7, 6, 0, 0, 2173, 428, 1, 0, 0, 0, 2174, 2175, 7, 3, 0, 0, 2175, 2176, 7, 12, 0, 0, 2176, 2177, 7, 2, 0, 0, 2177, 2178, 7, 23, 0, 0, 2178, 2179, 7, 2, 0, 0, 2179, 2180, 7, 13, 0, 0, 2180, 2181, 7, 6, 0, 0, 2181, 2182, 7, 20, 0, 0, 2182, 2183, 7, 6, 0, 0, 2183, 2184, 7, 0, 0, 0, 2184, 430, 1, 0, 0, 0, 2185, 2186, 7, 3, 0, 0, 2186, 2187, 7, 12, 0, 0, 2187, 2188, 7, 19, 0, 0, 2188, 2189, 7, 3, 0, 0, 2189, 2190, 7, 6, 0, 0, 2190, 2191, 7, 12, 0, 0, 2191, 2192, 7, 8, 0, 0, 2192, 2193, 7, 2, 0, 0, 2193, 2194, 7, 6, 0, 0, 2194, 2195, 7, 0, 0, 0, 2195, 432, 1, 0, 0, 0, 2196, 2197, 7, 3, 0, 0, 2197, 2198, 7, 12, 0, 0, 2198, 2199, 7, 17, 0, 0, 2199, 2200, 7, 7, 0, 0, 2200, 2201, 7, 6, 0, 0, 2201, 434, 1, 0, 0, 0, 2202, 2203, 7, 25, 0, 0, 2203, 2204, 7, 17, 0, 0, 2204, 2205, 7, 19, 0, 0, 2205, 2206, 7, 8, 0, 0, 2206, 2207, 7, 6, 0, 0, 2207, 2208, 7, 0, 0, 0, 2208, 436, 1, 0, 0, 0, 2209, 2210, 7, 12, 0, 0, 2210, 2211, 7, 4, 0, 0, 2211, 2212, 7, 7, 0, 0, 2212, 2213, 7, 20, 0, 0, 2213, 2214, 7, 6, 0, 0, 2214, 438, 1, 0, 0, 0, 2215, 2216, 7, 12, 0, 0, 2216, 2217, 7, 6, 0, 0, 2217, 2218, 7, 4, 0, 0, 2218, 2219, 7, 9, 0, 0, 2219, 440, 1, 0, 0, 0, 2220, 2221, 7, 12, 0, 0, 2221, 2222, 7, 6, 0, 0, 2222, 2223, 7, 16, 0, 0, 2223, 2224, 7, 17, 0, 0, 2224, 2225, 7, 12, 0, 0, 2225, 2226, 7, 0, 0, 0, 2226, 2227, 7, 2, 0, 0, 2227, 2228, 7, 23, 0, 0, 2228, 2229, 7, 6, 0, 0, 2229, 442, 1, 0, 0, 0, 2230, 2231, 7, 12, 0, 0, 2231, 2232, 7, 6, 0, 0, 2232, 2233, 7, 11, 0, 0, 2233, 2234, 7, 12, 0, 0, 2234, 2235, 7, 6, 0, 0, 2235, 2236, 7, 0, 0, 0, 2236, 2237, 7, 18, 0, 0, 2237, 444, 1, 0, 0, 0, 2238, 2239, 7, 12, 0, 0, 2239, 2240, 7, 6, 0, 0, 2240, 2241, 7, 7, 0, 0, 2241, 2242, 7, 4, 0, 0, 2242, 2243, 7, 10, 0, 0, 2243, 2244, 7, 6, 0, 0, 2244, 446, 1, 0, 0, 0, 2245, 2246, 7, 12, 0, 0, 2246, 2247, 7, 6, 0, 0, 2247, 2248, 7, 3, 0, 0, 2248, 2249, 7, 6, 0, 0, 2249, 2250, 7, 4, 0, 0, 2250, 2251, 7, 8, 0, 0, 2251, 448, 1, 0, 0, 0, 2252, 2253, 7, 12, 0, 0, 2253, 2254, 7, 6, 0, 0, 2254, 2255, 7, 3, 0, 0, 2255, 2256, 7, 6, 0, 0, 2256, 2257, 7, 4, 0, 0, 2257, 2258, 7, 8, 0, 0, 2258, 2259, 7, 4, 0, 0, 2259, 2260, 7, 5, 0, 0, 2260, 2261, 7, 13, 0, 0, 2261, 2262, 7, 6, 0, 0, 2262, 450, 1, 0, 0, 0, 2263, 2264, 7, 12, 0, 0, 2264, 2265, 7, 6, 0, 0, 2265, 2266, 7, 3, 0, 0, 2266, 2267, 7, 13, 0, 0, 2267, 2268, 7, 4, 0, 0, 2268, 2269, 7, 16, 0, 0, 2269, 2270, 7, 6, 0, 0, 2270, 452, 1, 0, 0, 0, 2271, 2272, 7, 12, 0, 0, 2272, 2273, 7, 6, 0, 0, 2273, 2274, 7, 0, 0, 0, 2274, 2275, 7, 6, 0, 0, 2275, 2276, 7, 8, 0, 0, 2276, 454, 1, 0, 0, 0, 2277, 2278, 7, 12, 0, 0, 2278, 2279, 7, 6, 0, 0, 2279, 2280, 7, 0, 0, 0, 2280, 2281, 7, 3, 0, 0, 2281, 2282, 7, 6, 0, 0, 2282, 2283, 7, 16, 0, 0, 2283, 2284, 7, 8, 0, 0, 2284, 456, 1, 0, 0, 0, 2285, 2286, 7, 12, 0, 0, 2286, 2287, 7, 6, 0, 0, 2287, 2288, 7, 0, 0, 0, 2288, 2289, 7, 8, 0, 0, 2289, 2290, 7, 12, 0, 0, 2290, 2291, 7, 2, 0, 0, 2291, 2292, 7, 16, 0, 0, 2292, 2293, 7, 8, 0, 0, 2293, 458, 1, 0, 0, 0, 2294, 2295, 7, 12, 0, 0, 2295, 2296, 7, 6, 0, 0, 2296, 2297, 7, 8, 0, 0, 2297, 2298, 7, 17, 0, 0, 2298, 2299, 7, 12, 0, 0, 2299, 2300, 7, 7, 0, 0, 2300, 460, 1, 0, 0, 0, 2301, 2302, 7, 12, 0, 0, 2302, 2303, 7, 6, 0, 0, 2303, 2304, 7, 8, 0, 0, 2304, 2305, 7, 17, 0, 0, 2305, 2306, 7, 12, 0, 0, 2306, 2307, 7, 7, 0, 0, 2307, 2308, 7, 2, 0, 0, 2308, 2309, 7, 7, 0, 0, 2309, 2310, 7, 20, 0, 0, 2310, 462, 1, 0, 0, 0, 2311, 2312, 7, 12, 0, 0, 2312, 2313, 7, 6, 0, 0, 2313, 2314, 7, 8, 0, 0, 2314, 2315, 7, 17, 0, 0, 2315, 2316, 7, 12, 0, 0, 2316, 2317, 7, 7, 0, 0, 2317, 2318, 7, 0, 0, 0, 2318, 464, 1, 0, 0, 0, 2319, 2320, 7, 12, 0, 0, 2320, 2321, 7, 6, 0, 0, 2321, 2322, 7, 23, 0, 0, 2322, 2323, 7, 19, 0, 0, 2323, 2324, 7, 1, 0, 0, 2324, 2325, 7, 6, 0, 0, 2325, 466, 1, 0, 0, 0, 2326, 2327, 7, 12, 0, 0, 2327, 2328, 7, 2, 0, 0, 2328, 2329, 7, 20, 0, 0, 2329, 2330, 7, 18, 0, 0, 2330, 2331, 7, 8, 0, 0, 2331, 468, 1, 0, 0, 0, 2332, 2333, 7, 12, 0, 0, 2333, 2334, 7, 19, 0, 0, 2334, 2335, 7, 13, 0, 0, 2335, 2336, 7, 6, 0, 0, 2336, 470, 1, 0, 0, 0, 2337, 2338, 7, 12, 0, 0, 2338, 2339, 7, 19, 0, 0, 2339, 2340, 7, 13, 0, 0, 2340, 2341, 7, 6, 0, 0, 2341, 2342, 7, 0, 0, 0, 2342, 472, 1, 0, 0, 0, 2343, 2344, 7, 12, 0, 0, 2344, 2345, 7, 19, 0, 0, 2345, 2346, 7, 13, 0, 0, 2346, 2347, 7, 13, 0, 0, 2347, 2348, 7, 5, 0, 0, 2348, 2349, 7, 4, 0, 0, 2349, 2350, 7, 16, 0, 0, 2350, 2351, 7, 1, 0, 0, 2351, 474, 1, 0, 0, 0, 2352, 2353, 7, 12, 0, 0, 2353, 2354, 7, 19, 0, 0, 2354, 2355, 7, 13, 0, 0, 2355, 2356, 7, 13, 0, 0, 2356, 2357, 7, 17, 0, 0, 2357, 2358, 7, 3, 0, 0, 2358, 476, 1, 0, 0, 0, 2359, 2360, 7, 12, 0, 0, 2360, 2361, 7, 19, 0, 0, 2361, 2362, 7, 21, 0, 0, 2362, 478, 1, 0, 0, 0, 2363, 2364, 7, 12, 0, 0, 2364, 2365, 7, 19, 0, 0, 2365, 2366, 7, 21, 0, 0, 2366, 2367, 7, 0, 0, 0, 2367, 480, 1, 0, 0, 0, 2368, 2369, 7, 12, 0, 0, 2369, 2370, 7, 17, 0, 0, 2370, 2371, 7, 7, 0, 0, 2371, 2372, 7, 7, 0, 0, 2372, 2373, 7, 2, 0, 0, 2373, 2374, 7, 7, 0, 0, 2374, 2375, 7, 20, 0, 0, 2375, 482, 1, 0, 0, 0, 2376, 2377, 7, 0, 0, 0, 2377, 2378, 7, 16, 0, 0, 2378, 2379, 7, 4, 0, 0, 2379, 2380, 7, 13, 0, 0, 2380, 2381, 7, 4, 0, 0, 2381, 2382, 7, 12, 0, 0, 2382, 484, 1, 0, 0, 0, 2383, 2384, 7, 0, 0, 0, 2384, 2385, 7, 16, 0, 0, 2385, 2386, 7, 18, 0, 0, 2386, 2387, 7, 6, 0, 0, 2387, 2388, 7, 10, 0, 0, 2388, 2389, 7, 4, 0, 0, 2389, 486, 1, 0, 0, 0, 2390, 2391, 7, 0, 0, 0, 2391, 2392, 7, 16, 0, 0, 2392, 2393, 7, 18, 0, 0, 2393, 2394, 7, 6, 0, 0, 2394, 2395, 7, 10, 0, 0, 2395, 2396, 7, 4, 0, 0, 2396, 2397, 7, 0, 0, 0, 2397, 488, 1, 0, 0, 0, 2398, 2399, 7, 0, 0, 0, 2399, 2400, 7, 6, 0, 0, 2400, 2401, 7, 16, 0, 0, 2401, 2402, 7, 19, 0, 0, 2402, 2403, 7, 7, 0, 0, 2403, 2404, 7, 9, 0, 0, 2404, 490, 1, 0, 0, 0, 2405, 2406, 7, 0, 0, 0, 2406, 2407, 7, 6, 0, 0, 2407, 2408, 7, 16, 0, 0, 2408, 2409, 7, 17, 0, 0, 2409, 2410, 7, 12, 0, 0, 2410, 2411, 7, 2, 0, 0, 2411, 2412, 7, 8, 0, 0, 2412, 2413, 7, 14, 0, 0, 2413, 492, 1, 0, 0, 0, 2414, 2415, 7, 0, 0, 0, 2415, 2416, 7, 6, 0, 0, 2416, 2417, 7, 6, 0, 0, 2417, 2418, 7, 1, 0, 0, 2418, 494, 1, 0, 0, 0, 2419, 2420, 7, 0, 0, 0, 2420, 2421, 7, 6, 0, 0, 2421, 2422, 7, 13, 0, 0, 2422, 2423, 7, 6, 0, 0, 2423, 2424, 7, 16, 0, 0, 2424, 2425, 7, 8, 0, 0, 2425, 496, 1, 0, 0, 0, 2426, 2427, 7, 0, 0, 0, 2427, 2428, 7, 6, 0, 0, 2428, 2429, 7, 12, 0, 0, 2429, 2430, 7, 2, 0, 0, 2430, 2431, 7, 4, 0, 0, 2431, 2432, 7, 13, 0, 0, 2432, 2433, 7, 2, 0, 0, 2433, 2434, 7, 15, 0, 0, 2434, 2435, 7, 4, 0, 0, 2435, 2436, 7, 5, 0, 0, 2436, 2437, 7, 13, 0, 0, 2437, 2438, 7, 6, 0, 0, 2438, 498, 1, 0, 0, 0, 2439, 2440, 7, 0, 0, 0, 2440, 2441, 7, 6, 0, 0, 2441, 2442, 7, 0, 0, 0, 2442, 2443, 7, 0, 0, 0, 2443, 2444, 7, 2, 0, 0, 2444, 2445, 7, 19, 0, 0, 2445, 2446, 7, 7, 0, 0, 2446, 500, 1, 0, 0, 0, 2447, 2448, 7, 0, 0, 0, 2448, 2449, 7, 6, 0, 0, 2449, 2450, 7, 8, 0, 0, 2450, 502, 1, 0, 0, 0, 2451, 2452, 7, 0, 0, 0, 2452, 2453, 7, 6, 0, 0, 2453, 2454, 7, 8, 0, 0, 2454, 2455, 7, 0, 0, 0, 2455, 504, 1, 0, 0, 0, 2456, 2457, 7, 0, 0, 0, 2457, 2458, 7, 18, 0, 0, 2458, 2459, 7, 19, 0, 0, 2459, 2460, 7, 21, 0, 0, 2460, 506, 1, 0, 0, 0, 2461, 2462, 7, 0, 0, 0, 2462, 2463, 7, 19, 0, 0, 2463, 2464, 7, 10, 0, 0, 2464, 2465, 7, 6, 0, 0, 2465, 508, 1, 0, 0, 0, 2466, 2467, 7, 0, 0, 0, 2467, 2468, 7, 8, 0, 0, 2468, 2469, 7, 4, 0, 0, 2469, 2470, 7, 12, 0, 0, 2470, 2471, 7, 8, 0, 0, 2471, 510, 1, 0, 0, 0, 2472, 2473, 7, 0, 0, 0, 2473, 2474, 7, 8, 0, 0, 2474, 2475, 7, 4, 0, 0, 2475, 2476, 7, 8, 0, 0, 2476, 2477, 7, 0, 0, 0, 2477, 512, 1, 0, 0, 0, 2478, 2479, 7, 0, 0, 0, 2479, 2480, 7, 17, 0, 0, 2480, 2481, 7, 5, 0, 0, 2481, 2482, 7, 0, 0, 0, 2482, 2483, 7, 6, 0, 0, 2483, 2484, 7, 8, 0, 0, 2484, 514, 1, 0, 0, 0, 2485, 2486, 7, 0, 0, 0, 2486, 2487, 7, 17, 0, 0, 2487, 2488, 7, 5, 0, 0, 2488, 2489, 7, 0, 0, 0, 2489, 2490, 7, 8, 0, 0, 2490, 2491, 7, 12, 0, 0, 2491, 2492, 7, 2, 0, 0, 2492, 2493, 7, 7, 0, 0, 2493, 2494, 7, 20, 0, 0, 2494, 516, 1, 0, 0, 0, 2495, 2496, 7, 0, 0, 0, 2496, 2497, 7, 14, 0, 0, 2497, 2498, 7, 0, 0, 0, 2498, 2499, 7, 8, 0, 0, 2499, 2500, 7, 6, 0, 0, 2500, 2501, 7, 10, 0, 0, 2501, 518, 1, 0, 0, 0, 2502, 2503, 7, 8, 0, 0, 2503, 2504, 7, 4, 0, 0, 2504, 2505, 7, 5, 0, 0, 2505, 2506, 7, 13, 0, 0, 2506, 2507, 7, 6, 0, 0, 2507, 520, 1, 0, 0, 0, 2508, 2509, 7, 8, 0, 0, 2509, 2510, 7, 4, 0, 0, 2510, 2511, 7, 5, 0, 0, 2511, 2512, 7, 13, 0, 0, 2512, 2513, 7, 6, 0, 0, 2513, 2514, 7, 0, 0, 0, 2514, 522, 1, 0, 0, 0, 2515, 2516, 7, 8, 0, 0, 2516, 2517, 7, 4, 0, 0, 2517, 2518, 7, 5, 0, 0, 2518, 2519, 7, 13, 0, 0, 2519, 2520, 7, 6, 0, 0, 2520, 2521, 7, 0, 0, 0, 2521, 2522, 7, 4, 0, 0, 2522, 2523, 7, 10, 0, 0, 2523, 2524, 7, 3, 0, 0, 2524, 2525, 7, 13, 0, 0, 2525, 2526, 7, 6, 0, 0, 2526, 524, 1, 0, 0, 0, 2527, 2528, 7, 8, 0, 0, 2528, 2529, 7, 6, 0, 0, 2529, 2530, 7, 22, 0, 0, 2530, 2531, 7, 8, 0, 0, 2531, 526, 1, 0, 0, 0, 2532, 2533, 7, 0, 0, 0, 2533, 2534, 7, 8, 0, 0, 2534, 2535, 7, 12, 0, 0, 2535, 2536, 7, 2, 0, 0, 2536, 2537, 7, 7, 0, 0, 2537, 2538, 7, 20, 0, 0, 2538, 528, 1, 0, 0, 0, 2539, 2540, 7, 8, 0, 0, 2540, 2541, 7, 18, 0, 0, 2541, 2542, 7, 6, 0, 0, 2542, 2543, 7, 7, 0, 0, 2543, 530, 1, 0, 0, 0, 2544, 2545, 7, 8, 0, 0, 2545, 2546, 7, 2, 0, 0, 2546, 2547, 7, 6, 0, 0, 2547, 2548, 7, 0, 0, 0, 2548, 532, 1, 0, 0, 0, 2549, 2550, 7, 8, 0, 0, 2550, 2551, 7, 2, 0, 0, 2551, 2552, 7, 10, 0, 0, 2552, 2553, 7, 6, 0, 0, 2553, 534, 1, 0, 0, 0, 2554, 2555, 7, 8, 0, 0, 2555, 2556, 7, 2, 0, 0, 2556, 2557, 7, 10, 0, 0, 2557, 2558, 7, 6, 0, 0, 2558, 2559, 7, 0, 0, 0, 2559, 2560, 7, 8, 0, 0, 2560, 2561, 7, 4, 0, 0, 2561, 2562, 7, 10, 0, 0, 2562, 2563, 7, 3, 0, 0, 2563, 536, 1, 0, 0, 0, 2564, 2565, 7, 8, 0, 0, 2565, 2566, 7, 19, 0, 0, 2566, 538, 1, 0, 0, 0, 2567, 2568, 7, 8, 0, 0, 2568, 2569, 7, 12, 0, 0, 2569, 2570, 7, 4, 0, 0, 2570, 2571, 7, 2, 0, 0, 2571, 2572, 7, 13, 0, 0, 2572, 2573, 7, 2, 0, 0, 2573, 2574, 7, 7, 0, 0, 2574, 2575, 7, 20, 0, 0, 2575, 540, 1, 0, 0, 0, 2576, 2577, 7, 8, 0, 0, 2577, 2578, 7, 12, 0, 0, 2578, 2579, 7, 4, 0, 0, 2579, 2580, 7, 7, 0, 0, 2580, 2581, 7, 0, 0, 0, 2581, 2582, 7, 4, 0, 0, 2582, 2583, 7, 16, 0, 0, 2583, 2584, 7, 8, 0, 0, 2584, 2585, 7, 2, 0, 0, 2585, 2586, 7, 19, 0, 0, 2586, 2587, 7, 7, 0, 0, 2587, 542, 1, 0, 0, 0, 2588, 2589, 7, 8, 0, 0, 2589, 2590, 7, 12, 0, 0, 2590, 2591, 7, 2, 0, 0, 2591, 2592, 7, 10, 0, 0, 2592, 544, 1, 0, 0, 0, 2593, 2594, 7, 8, 0, 0, 2594, 2595, 7, 12, 0, 0, 2595, 2596, 7, 17, 0, 0, 2596, 2597, 7, 6, 0, 0, 2597, 546, 1, 0, 0, 0, 2598, 2599, 7, 8, 0, 0, 2599, 2600, 7, 12, 0, 0, 2600, 2601, 7, 17, 0, 0, 2601, 2602, 7, 7, 0, 0, 2602, 2603, 7, 16, 0, 0, 2603, 2604, 7, 4, 0, 0, 2604, 2605, 7, 8, 0, 0, 2605, 2606, 7, 6, 0, 0, 2606, 548, 1, 0, 0, 0, 2607, 2608, 7, 8, 0, 0, 2608, 2609, 7, 12, 0, 0, 2609, 2610, 7, 14, 0, 0, 2610, 2611, 5, 95, 0, 0, 2611, 2612, 7, 16, 0, 0, 2612, 2613, 7, 4, 0, 0, 2613, 2614, 7, 0, 0, 0, 2614, 2615, 7, 8, 0, 0, 2615, 550, 1, 0, 0, 0, 2616, 2617, 7, 8, 0, 0, 2617, 2618, 7, 14, 0, 0, 2618, 2619, 7, 3, 0, 0, 2619, 2620, 7, 6, 0, 0, 2620, 552, 1, 0, 0, 0, 2621, 2622, 7, 17, 0, 0, 2622, 2623, 7, 6, 0, 0, 2623, 2624, 7, 0, 0, 0, 2624, 2625, 7, 16, 0, 0, 2625, 2626, 7, 4, 0, 0, 2626, 2627, 7, 3, 0, 0, 2627, 2628, 7, 6, 0, 0, 2628, 554, 1, 0, 0, 0, 2629, 2630, 7, 17, 0, 0, 2630, 2631, 7, 7, 0, 0, 2631, 2632, 7, 5, 0, 0, 2632, 2633, 7, 19, 0, 0, 2633, 2634, 7, 17, 0, 0, 2634, 2635, 7, 7, 0, 0, 2635, 2636, 7, 9, 0, 0, 2636, 2637, 7, 6, 0, 0, 2637, 2638, 7, 9, 0, 0, 2638, 556, 1, 0, 0, 0, 2639, 2640, 7, 17, 0, 0, 2640, 2641, 7, 7, 0, 0, 2641, 2642, 7, 16, 0, 0, 2642, 2643, 7, 19, 0, 0, 2643, 2644, 7, 10, 0, 0, 2644, 2645, 7, 10, 0, 0, 2645, 2646, 7, 2, 0, 0, 2646, 2647, 7, 8, 0, 0, 2647, 2648, 7, 8, 0, 0, 2648, 2649, 7, 6, 0, 0, 2649, 2650, 7, 9, 0, 0, 2650, 558, 1, 0, 0, 0, 2651, 2652, 7, 17, 0, 0, 2652, 2653, 7, 7, 0, 0, 2653, 2654, 7, 16, 0, 0, 2654, 2655, 7, 19, 0, 0, 2655, 2656, 7, 7, 0, 0, 2656, 2657, 7, 9, 0, 0, 2657, 2658, 7, 2, 0, 0, 2658, 2659, 7, 8, 0, 0, 2659, 2660, 7, 2, 0, 0, 2660, 2661, 7, 19, 0, 0, 2661, 2662, 7, 7, 0, 0, 2662, 2663, 7, 4, 0, 0, 2663, 2664, 7, 13, 0, 0, 2664, 560, 1, 0, 0, 0, 2665, 2666, 7, 17, 0, 0, 2666, 2667, 7, 7, 0, 0, 2667, 2668, 7, 2, 0, 0, 2668, 2669, 7, 19, 0, 0, 2669, 2670, 7, 7, 0, 0, 2670, 562, 1, 0, 0, 0, 2671, 2672, 7, 17, 0, 0, 2672, 2673, 7, 7, 0, 0, 2673, 2674, 7, 2, 0, 0, 2674, 2675, 7, 25, 0, 0, 2675, 2676, 7, 17, 0, 0, 2676, 2677, 7, 6, 0, 0, 2677, 564, 1, 0, 0, 0, 2678, 2679, 7, 17, 0, 0, 2679, 2680, 7, 7, 0, 0, 2680, 2681, 7, 1, 0, 0, 2681, 2682, 7, 7, 0, 0, 2682, 2683, 7, 19, 0, 0, 2683, 2684, 7, 21, 0, 0, 2684, 2685, 7, 7, 0, 0, 2685, 566, 1, 0, 0, 0, 2686, 2687, 7, 17, 0, 0, 2687, 2688, 7, 7, 0, 0, 2688, 2689, 7, 10, 0, 0, 2689, 2690, 7, 4, 0, 0, 2690, 2691, 7, 8, 0, 0, 2691, 2692, 7, 16, 0, 0, 2692, 2693, 7, 18, 0, 0, 2693, 2694, 7, 6, 0, 0, 2694, 2695, 7, 9, 0, 0, 2695, 568, 1, 0, 0, 0, 2696, 2697, 7, 17, 0, 0, 2697, 2698, 7, 7, 0, 0, 2698, 2699, 7, 7, 0, 0, 2699, 2700, 7, 6, 0, 0, 2700, 2701, 7, 0, 0, 0, 2701, 2702, 7, 8, 0, 0, 2702, 570, 1, 0, 0, 0, 2703, 2704, 7, 17, 0, 0, 2704, 2705, 7, 7, 0, 0, 2705, 2706, 7, 8, 0, 0, 2706, 2707, 7, 2, 0, 0, 2707, 2708, 7, 13, 0, 0, 2708, 572, 1, 0, 0, 0, 2709, 2710, 7, 17, 0, 0, 2710, 2711, 7, 3, 0, 0, 2711, 2712, 7, 9, 0, 0, 2712, 2713, 7, 4, 0, 0, 2713, 2714, 7, 8, 0, 0, 2714, 2715, 7, 6, 0, 0, 2715, 574, 1, 0, 0, 0, 2716, 2717, 7, 17, 0, 0, 2717, 2718, 7, 0, 0, 0, 2718, 2719, 7, 6, 0, 0, 2719, 576, 1, 0, 0, 0, 2720, 2721, 7, 17, 0, 0, 2721, 2722, 7, 0, 0, 0, 2722, 2723, 7, 6, 0, 0, 2723, 2724, 7, 12, 0, 0, 2724, 578, 1, 0, 0, 0, 2725, 2726, 7, 17, 0, 0, 2726, 2727, 7, 0, 0, 0, 2727, 2728, 7, 2, 0, 0, 2728, 2729, 7, 7, 0, 0, 2729, 2730, 7, 20, 0, 0, 2730, 580, 1, 0, 0, 0, 2731, 2732, 7, 17, 0, 0, 2732, 2733, 7, 8, 0, 0, 2733, 2734, 7, 11, 0, 0, 2734, 2735, 5, 49, 0, 0, 2735, 2736, 5, 54, 0, 0, 2736, 582, 1, 0, 0, 0, 2737, 2738, 7, 17, 0, 0, 2738, 2739, 7, 8, 0, 0, 2739, 2740, 7, 11, 0, 0, 2740, 2741, 5, 51, 0, 0, 2741, 2742, 5, 50, 0, 0, 2742, 584, 1, 0, 0, 0, 2743, 2744, 7, 17, 0, 0, 2744, 2745, 7, 8, 0, 0, 2745, 2746, 7, 11, 0, 0, 2746, 2747, 5, 56, 0, 0, 2747, 586, 1, 0, 0, 0, 2748, 2749, 7, 23, 0, 0, 2749, 2750, 7, 4, 0, 0, 2750, 2751, 7, 13, 0, 0, 2751, 2752, 7, 2, 0, 0, 2752, 2753, 7, 9, 0, 0, 2753, 2754, 7, 4, 0, 0, 2754, 2755, 7, 8, 0, 0, 2755, 2756, 7, 6, 0, 0, 2756, 588, 1, 0, 0, 0, 2757, 2758, 7, 23, 0, 0, 2758, 2759, 7, 4, 0, 0, 2759, 2760, 7, 13, 0, 0, 2760, 2761, 7, 17, 0, 0, 2761, 2762, 7, 6, 0, 0, 2762, 590, 1, 0, 0, 0, 2763, 2764, 7, 23, 0, 0, 2764, 2765, 7, 4, 0, 0, 2765, 2766, 7, 13, 0, 0, 2766, 2767, 7, 17, 0, 0, 2767, 2768, 7, 6, 0, 0, 2768, 2769, 7, 0, 0, 0, 2769, 592, 1, 0, 0, 0, 2770, 2771, 7, 23, 0, 0, 2771, 2772, 7, 6, 0, 0, 2772, 2773, 7, 12, 0, 0, 2773, 2774, 7, 5, 0, 0, 2774, 2775, 7, 19, 0, 0, 2775, 2776, 7, 0, 0, 0, 2776, 2777, 7, 6, 0, 0, 2777, 594, 1, 0, 0, 0, 2778, 2779, 7, 23, 0, 0, 2779, 2780, 7, 6, 0, 0, 2780, 2781, 7, 12, 0, 0, 2781, 2782, 7, 0, 0, 0, 2782, 2783, 7, 2, 0, 0, 2783, 2784, 7, 19, 0, 0, 2784, 2785, 7, 7, 0, 0, 2785, 596, 1, 0, 0, 0, 2786, 2787, 7, 23, 0, 0, 2787, 2788, 7, 2, 0, 0, 2788, 2789, 7, 6, 0, 0, 2789, 2790, 7, 21, 0, 0, 2790, 598, 1, 0, 0, 0, 2791, 2792, 7, 21, 0, 0, 2792, 2793, 7, 18, 0, 0, 2793, 2794, 7, 6, 0, 0, 2794, 2795, 7, 7, 0, 0, 2795, 600, 1, 0, 0, 0, 2796, 2797, 7, 21, 0, 0, 2797, 2798, 7, 18, 0, 0, 2798, 2799, 7, 6, 0, 0, 2799, 2800, 7, 12, 0, 0, 2800, 2801, 7, 6, 0, 0, 2801, 602, 1, 0, 0, 0, 2802, 2803, 7, 21, 0, 0, 2803, 2804, 7, 18, 0, 0, 2804, 2805, 7, 2, 0, 0, 2805, 2806, 7, 13, 0, 0, 2806, 2807, 7, 6, 0, 0, 2807, 604, 1, 0, 0, 0, 2808, 2809, 7, 21, 0, 0, 2809, 2810, 7, 2, 0, 0, 2810, 2811, 7, 7, 0, 0, 2811, 2812, 7, 9, 0, 0, 2812, 2813, 7, 19, 0, 0, 2813, 2814, 7, 21, 0, 0, 2814, 606, 1, 0, 0, 0, 2815, 2816, 7, 21, 0, 0, 2816, 2817, 7, 2, 0, 0, 2817, 2818, 7, 8, 0, 0, 2818, 2819, 7, 18, 0, 0, 2819, 608, 1, 0, 0, 0, 2820, 2821, 7, 21, 0, 0, 2821, 2822, 7, 2, 0, 0, 2822, 2823, 7, 8, 0, 0, 2823, 2824, 7, 18, 0, 0, 2824, 2825, 7, 2, 0, 0, 2825, 2826, 7, 7, 0, 0, 2826, 610, 1, 0, 0, 0, 2827, 2828, 7, 21, 0, 0, 2828, 2829, 7, 2, 0, 0, 2829, 2830, 7, 8, 0, 0, 2830, 2831, 7, 18, 0, 0, 2831, 2832, 7, 19, 0, 0, 2832, 2833, 7, 17, 0, 0, 2833, 2834, 7, 8, 0, 0, 2834, 612, 1, 0, 0, 0, 2835, 2836, 7, 21, 0, 0, 2836, 2837, 7, 19, 0, 0, 2837, 2838, 7, 12, 0, 0, 2838, 2839, 7, 1, 0, 0, 2839, 614, 1, 0, 0, 0, 2840, 2841, 7, 21, 0, 0, 2841, 2842, 7, 12, 0, 0, 2842, 2843, 7, 4, 0, 0, 2843, 2844, 7, 3, 0, 0, 2844, 2845, 7, 3, 0, 0, 2845, 2846, 7, 6, 0, 0, 2846, 2847, 7, 12, 0, 0, 2847, 616, 1, 0, 0, 0, 2848, 2849, 7, 21, 0, 0, 2849, 2850, 7, 12, 0, 0, 2850, 2851, 7, 2, 0, 0, 2851, 2852, 7, 8, 0, 0, 2852, 2853, 7, 6, 0, 0, 2853, 618, 1, 0, 0, 0, 2854, 2855, 7, 14, 0, 0, 2855, 2856, 7, 6, 0, 0, 2856, 2857, 7, 4, 0, 0, 2857, 2858, 7, 12, 0, 0, 2858, 620, 1, 0, 0, 0, 2859, 2860, 7, 15, 0, 0, 2860, 2861, 7, 19, 0, 0, 2861, 2862, 7, 7, 0, 0, 2862, 2863, 7, 6, 0, 0, 2863, 622, 1, 0, 0, 0, 2864, 2865, 5, 61, 0, 0, 2865, 624, 1, 0, 0, 0, 2866, 2867, 5, 60, 0, 0, 2867, 2871, 5, 62, 0, 0, 2868, 2869, 5, 33, 0, 0, 2869, 2871, 5, 61, 0, 0, 2870, 2866, 1, 0, 0, 0, 2870, 2868, 1, 0, 0, 0, 2871, 626, 1, 0, 0, 0, 2872, 2873, 5, 60, 0, 0, 2873, 628, 1, 0, 0, 0, 2874, 2875, 5, 60, 0, 0, 2875, 2876, 5, 61, 0, 0, 2876, 630, 1, 0, 0, 0, 2877, 2878, 5, 62, 0, 0, 2878, 632, 1, 0, 0, 0, 2879, 2880, 5, 62, 0, 0, 2880, 2881, 5, 61, 0, 0, 2881, 634, 1, 0, 0, 0, 2882, 2883, 5, 43, 0, 0, 2883, 636, 1, 0, 0, 0, 2884, 2885, 5, 45, 0, 0, 2885, 638, 1, 0, 0, 0, 2886, 2887, 5, 42, 0, 0, 2887, 640, 1, 0, 0, 0, 2888, 2889, 5, 47, 0, 0, 2889, 642, 1, 0, 0, 0, 2890, 2891, 5, 37, 0, 0, 2891, 644, 1, 0, 0, 0, 2892, 2893, 5, 124, 0, 0, 2893, 2894, 5, 124, 0, 0, 2894, 646, 1, 0, 0, 0, 2895, 2896, 5, 63, 0, 0, 2896, 648, 1, 0, 0, 0, 2897, 2898, 5, 59, 0, 0, 2898, 650, 1, 0, 0, 0, 2899, 2905, 5, 39, 0, 0, 2900, 2904, 8, 26, 0, 0, 2901, 2902, 5, 39, 0, 0, 2902, 2904, 5, 39, 0, 0, 2903, 2900, 1, 0, 0, 0, 2903, 2901, 1, 0, 0, 0, 2904, 2907, 1, 0, 0, 0, 2905, 2903, 1, 0, 0, 0, 2905, 2906, 1, 0, 0, 0, 2906, 2908, 1, 0, 0, 0, 2907, 2905, 1, 0, 0, 0, 2908, 2909, 5, 39, 0, 0, 2909, 652, 1, 0, 0, 0, 2910, 2911, 7, 17, 0, 0, 2911, 2912, 5, 38, 0, 0, 2912, 2913, 5, 39, 0, 0, 2913, 2919, 1, 0, 0, 0, 2914, 2918, 8, 26, 0, 0, 2915, 2916, 5, 39, 0, 0, 2916, 2918, 5, 39, 0, 0, 2917, 2914, 1, 0, 0, 0, 2917, 2915, 1, 0, 0, 0, 2918, 2921, 1, 0, 0, 0, 2919, 2917, 1, 0, 0, 0, 2919, 2920, 1, 0, 0, 0, 2920, 2922, 1, 0, 0, 0, 2921, 2919, 1, 0, 0, 0, 2922, 2923, 5, 39, 0, 0, 2923, 654, 1, 0, 0, 0, 2924, 2925, 7, 22, 0, 0, 2925, 2926, 5, 39, 0, 0, 2926, 2930, 1, 0, 0, 0, 2927, 2929, 8, 26, 0, 0, 2928, 2927, 1, 0, 0, 0, 2929, 2932, 1, 0, 0, 0, 2930, 2928, 1, 0, 0, 0, 2930, 2931, 1, 0, 0, 0, 2931, 2933, 1, 0, 0, 0, 2932, 2930, 1, 0, 0, 0, 2933, 2934, 5, 39, 0, 0, 2934, 656, 1, 0, 0, 0, 2935, 2940, 3, 671, 335, 0, 2936, 2940, 3, 673, 336, 0, 2937, 2940, 3, 675, 337, 0, 2938, 2940, 3, 677, 338, 0, 2939, 2935, 1, 0, 0, 0, 2939, 2936, 1, 0, 0, 0, 2939, 2937, 1, 0, 0, 0, 2939, 2938, 1, 0, 0, 0, 2940, 658, 1, 0, 0, 0, 2941, 2942, 3, 671, 335, 0, 2942, 2944, 5, 46, 0, 0, 2943, 2945, 3, 671, 335, 0, 2944, 2943, 1, 0, 0, 0, 2944, 2945, 1, 0, 0, 0, 2945, 2949, 1, 0, 0, 0, 2946, 2947, 5, 46, 0, 0, 2947, 2949, 3, 671, 335, 0, 2948, 2941, 1, 0, 0, 0, 2948, 2946, 1, 0, 0, 0, 2949, 660, 1, 0, 0, 0, 2950, 2952, 3, 681, 340, 0, 2951, 2950, 1, 0, 0, 0, 2952, 2953, 1, 0, 0, 0, 2953, 2951, 1, 0, 0, 0, 2953, 2954, 1, 0, 0, 0, 2954, 2962, 1, 0, 0, 0, 2955, 2959, 5, 46, 0, 0, 2956, 2958, 3, 681, 340, 0, 2957, 2956, 1, 0, 0, 0, 2958, 2961, 1, 0, 0, 0, 2959, 2957, 1, 0, 0, 0, 2959, 2960, 1, 0, 0, 0, 2960, 2963, 1, 0, 0, 0, 2961, 2959, 1, 0, 0, 0, 2962, 2955, 1, 0, 0, 0, 2962, 2963, 1, 0, 0, 0, 2963, 2964, 1, 0, 0, 0, 2964, 2965, 3, 679, 339, 0, 2965, 2975, 1, 0, 0, 0, 2966, 2968, 5, 46, 0, 0, 2967, 2969, 3, 681, 340, 0, 2968, 2967, 1, 0, 0, 0, 2969, 2970, 1, 0, 0, 0, 2970, 2968, 1, 0, 0, 0, 2970, 2971, 1, 0, 0, 0, 2971, 2972, 1, 0, 0, 0, 2972, 2973, 3, 679, 339, 0, 2973, 2975, 1, 0, 0, 0, 2974, 2951, 1, 0, 0, 0, 2974, 2966, 1, 0, 0, 0, 2975, 662, 1, 0, 0, 0, 2976, 2979, 3, 683, 341, 0, 2977, 2979, 5, 95, 0, 0, 2978, 2976, 1, 0, 0, 0, 2978, 2977, 1, 0, 0, 0, 2979, 2985, 1, 0, 0, 0, 2980, 2984, 3, 683, 341, 0, 2981, 2984, 3, 681, 340, 0, 2982, 2984, 5, 95, 0, 0, 2983, 2980, 1, 0, 0, 0, 2983, 2981, 1, 0, 0, 0, 2983, 2982, 1, 0, 0, 0, 2984, 2987, 1, 0, 0, 0, 2985, 2983, 1, 0, 0, 0, 2985, 2986, 1, 0, 0, 0, 2986, 664, 1, 0, 0, 0, 2987, 2985, 1, 0, 0, 0, 2988, 2992, 3, 681, 340, 0, 2989, 2993, 3, 683, 341, 0, 2990, 2993, 3, 681, 340, 0, 2991, 2993, 5, 95, 0, 0, 2992, 2989, 1, 0, 0, 0, 2992, 2990, 1, 0, 0, 0, 2992, 2991, 1, 0, 0, 0, 2993, 2994, 1, 0, 0, 0, 2994, 2992, 1, 0, 0, 0, 2994, 2995, 1, 0, 0, 0, 2995, 666, 1, 0, 0, 0, 2996, 3002, 5, 34, 0, 0, 2997, 3001, 8, 27, 0, 0, 2998, 2999, 5, 34, 0, 0, 2999, 3001, 5, 34, 0, 0, 3000, 2997, 1, 0, 0, 0, 3000, 2998, 1, 0, 0, 0, 3001, 3004, 1, 0, 0, 0, 3002, 3000, 1, 0, 0, 0, 3002, 3003, 1, 0, 0, 0, 3003, 3005, 1, 0, 0, 0, 3004, 3002, 1, 0, 0, 0, 3005, 3006, 5, 34, 0, 0, 3006, 668, 1, 0, 0, 0, 3007, 3013, 5, 96, 0, 0, 3008, 3012, 8, 28, 0, 0, 3009, 3010, 5, 96, 0, 0, 3010, 3012, 5, 96, 0, 0, 3011, 3008, 1, 0, 0, 0, 3011, 3009, 1, 0, 0, 0, 3012, 3015, 1, 0, 0, 0, 3013, 3011, 1, 0, 0, 0, 3013, 3014, 1, 0, 0, 0, 3014, 3016, 1, 0, 0, 0, 3015, 3013, 1, 0, 0, 0, 3016, 3017, 5, 96, 0, 0, 3017, 670, 1, 0, 0, 0, 3018, 3025, 3, 681, 340, 0, 3019, 3021, 5, 95, 0, 0, 3020, 3019, 1, 0, 0, 0, 3020, 3021, 1, 0, 0, 0, 3021, 3022, 1, 0, 0, 0, 3022, 3024, 3, 681, 340, 0, 3023, 3020, 1, 0, 0, 0, 3024, 3027, 1, 0, 0, 0, 3025, 3023, 1, 0, 0, 0, 3025, 3026, 1, 0, 0, 0, 3026, 672, 1, 0, 0, 0, 3027, 3025, 1, 0, 0, 0, 3028, 3029, 5, 48, 0, 0, 3029, 3030, 7, 22, 0, 0, 3030, 3038, 1, 0, 0, 0, 3031, 3033, 5, 95, 0, 0, 3032, 3031, 1, 0, 0, 0, 3032, 3033, 1, 0, 0, 0, 3033, 3036, 1, 0, 0, 0, 3034, 3037, 3, 681, 340, 0, 3035, 3037, 7, 29, 0, 0, 3036, 3034, 1, 0, 0, 0, 3036, 3035, 1, 0, 0, 0, 3037, 3039, 1, 0, 0, 0, 3038, 3032, 1, 0, 0, 0, 3039, 3040, 1, 0, 0, 0, 3040, 3038, 1, 0, 0, 0, 3040, 3041, 1, 0, 0, 0, 3041, 674, 1, 0, 0, 0, 3042, 3043, 5, 48, 0, 0, 3043, 3044, 7, 19, 0, 0, 3044, 3049, 1, 0, 0, 0, 3045, 3047, 5, 95, 0, 0, 3046, 3045, 1, 0, 0, 0, 3046, 3047, 1, 0, 0, 0, 3047, 3048, 1, 0, 0, 0, 3048, 3050, 7, 30, 0, 0, 3049, 3046, 1, 0, 0, 0, 3050, 3051, 1, 0, 0, 0, 3051, 3049, 1, 0, 0, 0, 3051, 3052, 1, 0, 0, 0, 3052, 676, 1, 0, 0, 0, 3053, 3054, 5, 48, 0, 0, 3054, 3055, 7, 5, 0, 0, 3055, 3060, 1, 0, 0, 0, 3056, 3058, 5, 95, 0, 0, 3057, 3056, 1, 0, 0, 0, 3057, 3058, 1, 0, 0, 0, 3058, 3059, 1, 0, 0, 0, 3059, 3061, 7, 31, 0, 0, 3060, 3057, 1, 0, 0, 0, 3061, 3062, 1, 0, 0, 0, 3062, 3060, 1, 0, 0, 0, 3062, 3063, 1, 0, 0, 0, 3063, 678, 1, 0, 0, 0, 3064, 3066, 7, 6, 0, 0, 3065, 3067, 7, 32, 0, 0, 3066, 3065, 1, 0, 0, 0, 3066, 3067, 1, 0, 0, 0, 3067, 3069, 1, 0, 0, 0, 3068, 3070, 3, 681, 340, 0, 3069, 3068, 1, 0, 0, 0, 3070, 3071, 1, 0, 0, 0, 3071, 3069, 1, 0, 0, 0, 3071, 3072, 1, 0, 0, 0, 3072, 680, 1, 0, 0, 0, 3073, 3074, 7, 33, 0, 0, 3074, 682, 1, 0, 0, 0, 3075, 3076, 7, 34, 0, 0, 3076, 684, 1, 0, 0, 0, 3077, 3078, 5, 45, 0, 0, 3078, 3079, 5, 45, 0, 0, 3079, 3083, 1, 0, 0, 0, 3080, 3082, 8, 35, 0, 0, 3081, 3080, 1, 0, 0, 0, 3082, 3085, 1, 0, 0, 0, 3083, 3081, 1, 0, 0, 0, 3083, 3084, 1, 0, 0, 0, 3084, 3087, 1, 0, 0, 0, 3085, 3083, 1, 0, 0, 0, 3086, 3088, 5, 13, 0, 0, 3087, 3086, 1, 0, 0, 0, 3087, 3088, 1, 0, 0, 0, 3088, 3090, 1, 0, 0, 0, 3089, 3091, 5, 10, 0, 0, 3090, 3089, 1, 0, 0, 0, 3090, 3091, 1, 0, 0, 0, 3091, 3092, 1, 0, 0, 0, 3092, 3093, 6, 342, 0, 0, 3093, 686, 1, 0, 0, 0, 3094, 3095, 5, 47, 0, 0, 3095, 3096, 5, 42, 0, 0, 3096, 3100, 1, 0, 0, 0, 3097, 3099, 9, 0, 0, 0, 3098, 3097, 1, 0, 0, 0, 3099, 3102, 1, 0, 0, 0, 3100, 3101, 1, 0, 0, 0, 3100, 3098, 1, 0, 0, 0, 3101, 3103, 1, 0, 0, 0, 3102, 3100, 1, 0, 0, 0, 3103, 3104, 5, 42, 0, 0, 3104, 3105, 5, 47, 0, 0, 3105, 3106, 1, 0, 0, 0, 3106, 3107, 6, 343, 0, 0, 3107, 688, 1, 0, 0, 0, 3108, 3110, 7, 36, 0, 0, 3109, 3108, 1, 0, 0, 0, 3110, 3111, 1, 0, 0, 0, 3111, 3109, 1, 0, 0, 0, 3111, 3112, 1, 0, 0, 0, 3112, 3113, 1, 0, 0, 0, 3113, 3114, 6, 344, 0, 0, 3114, 690, 1, 0, 0, 0, 3115, 3116, 9, 0, 0, 0, 3116, 692, 1, 0, 0, 0, 40, 0, 2870, 2903, 2905, 2917, 2919, 2930, 2939, 2944, 2948, 2953, 2959, 2962, 2970, 2974, 2978, 2983, 2985, 2992, 2994, 3000, 3002, 3011, 3013, 3020, 3025, 3032, 3036, 3040, 3046, 3051, 3057, 3062, 3066, 3071, 3083, 3087, 3090, 3100, 3111, 1, 0, 1, 0] \ No newline at end of file diff --git a/src/lib/trino/TrinoSqlLexer.tokens b/src/lib/trino/TrinoSqlLexer.tokens index 5cdf889b..88570b2a 100644 --- a/src/lib/trino/TrinoSqlLexer.tokens +++ b/src/lib/trino/TrinoSqlLexer.tokens @@ -14,524 +14,650 @@ T__12=13 T__13=14 T__14=15 T__15=16 -KW_ADD=17 -KW_ADMIN=18 -KW_AFTER=19 -KW_ALL=20 -KW_ALTER=21 -KW_ANALYZE=22 -KW_AND=23 -KW_ANY=24 -KW_ARRAY=25 -KW_AS=26 -KW_ASC=27 -KW_AT=28 -KW_AUTHORIZATION=29 -KW_BERNOULLI=30 -KW_BETWEEN=31 -KW_BY=32 -KW_CALL=33 -KW_CASCADE=34 -KW_CASE=35 -KW_CAST=36 -KW_CATALOGS=37 -KW_COLUMN=38 -KW_COLUMNS=39 -KW_COMMENT=40 -KW_COMMIT=41 -KW_COMMITTED=42 -KW_CONSTRAINT=43 -KW_CREATE=44 -KW_CROSS=45 -KW_CUBE=46 -KW_CURRENT=47 -KW_CURRENT_CATALOG=48 -KW_CURRENT_DATE=49 -KW_CURRENT_PATH=50 -KW_CURRENT_ROLE=51 -KW_CURRENT_SCHEMA=52 -KW_CURRENT_TIME=53 -KW_CURRENT_TIMESTAMP=54 -KW_CURRENT_USER=55 -KW_DATA=56 -KW_DATE=57 -KW_DAY=58 -KW_DEFAULT=59 -KW_DEALLOCATE=60 -KW_DEFINER=61 -KW_DELETE=62 -KW_DESC=63 -KW_DESCRIBE=64 -KW_DEFINE=65 -KW_DISTINCT=66 -KW_DISTRIBUTED=67 -KW_DOUBLE=68 -KW_DROP=69 -KW_ELSE=70 -KW_EMPTY=71 -KW_END=72 -KW_ESCAPE=73 -KW_EXCEPT=74 -KW_EXCLUDING=75 -KW_EXECUTE=76 -KW_EXISTS=77 -KW_EXPLAIN=78 -KW_EXTRACT=79 -KW_FALSE=80 -KW_FETCH=81 -KW_FILTER=82 -KW_FINAL=83 -KW_FIRST=84 -KW_FOLLOWING=85 -KW_FOR=86 -KW_FORMAT=87 -KW_FROM=88 -KW_FULL=89 -KW_FUNCTIONS=90 -KW_GRANT=91 -KW_GRANTED=92 -KW_GRANTS=93 -KW_DENY=94 -KW_GRAPHVIZ=95 -KW_GROUP=96 -KW_GROUPING=97 -KW_GROUPS=98 -KW_HAVING=99 -KW_HOUR=100 -KW_IF=101 -KW_IGNORE=102 -KW_IN=103 -KW_INCLUDING=104 -KW_INITIAL=105 -KW_INNER=106 -KW_INPUT=107 -KW_INSERT=108 -KW_INTERSECT=109 -KW_INTERVAL=110 -KW_INTO=111 -KW_INVOKER=112 -KW_IO=113 -KW_IS=114 -KW_ISOLATION=115 -KW_JOIN=116 -KW_JSON=117 -KW_LAST=118 -KW_LATERAL=119 -KW_LEFT=120 -KW_LEVEL=121 -KW_LIKE=122 -KW_LIMIT=123 -KW_LOCAL=124 -KW_LOCALTIME=125 -KW_LOCALTIMESTAMP=126 -KW_LOGICAL=127 -KW_MAP=128 -KW_MATCH=129 -KW_MATCHED=130 -KW_MATCHES=131 -KW_MATCH_RECOGNIZE=132 -KW_MATERIALIZED=133 -KW_MEASURES=134 -KW_MERGE=135 -KW_MINUTE=136 -KW_MONTH=137 -KW_NATURAL=138 -KW_NEXT=139 -KW_NFC=140 -KW_NFD=141 -KW_NFKC=142 -KW_NFKD=143 -KW_NO=144 -KW_NONE=145 -KW_NORMALIZE=146 -KW_NOT=147 -KW_NULL=148 -KW_NULLIF=149 -KW_NULLS=150 -KW_OFFSET=151 -KW_OMIT=152 -KW_ON=153 -KW_ONE=154 -KW_ONLY=155 -KW_OPTION=156 -KW_OR=157 -KW_ORDER=158 -KW_ORDINALITY=159 -KW_OUTER=160 -KW_OUTPUT=161 -KW_OVER=162 -KW_PARTITION=163 -KW_PARTITIONS=164 -KW_PAST=165 -KW_PATH=166 -KW_PATTERN=167 -KW_PER=168 -KW_PERMUTE=169 -KW_POSITION=170 -KW_PRECEDING=171 -KW_PRECISION=172 -KW_PREPARE=173 -KW_PRIVILEGES=174 -KW_PROPERTIES=175 -KW_RANGE=176 -KW_READ=177 -KW_RECURSIVE=178 -KW_REFRESH=179 -KW_RENAME=180 -KW_REPEATABLE=181 -KW_REPLACE=182 -KW_RESET=183 -KW_RESPECT=184 -KW_RESTRICT=185 -KW_REVOKE=186 -KW_RIGHT=187 -KW_ROLE=188 -KW_ROLES=189 -KW_ROLLBACK=190 -KW_ROLLUP=191 -KW_ROW=192 -KW_ROWS=193 -KW_RUNNING=194 -KW_SCHEMA=195 -KW_SCHEMAS=196 -KW_SECOND=197 -KW_SECURITY=198 -KW_SEEK=199 -KW_SELECT=200 -KW_SERIALIZABLE=201 -KW_SESSION=202 -KW_SET=203 -KW_SETS=204 -KW_SHOW=205 -KW_SOME=206 -KW_START=207 -KW_STATS=208 -KW_SUBSET=209 -KW_SUBSTRING=210 -KW_SYSTEM=211 -KW_TABLE=212 -KW_TABLES=213 -KW_TABLESAMPLE=214 -KW_TEXT=215 -KW_THEN=216 -KW_TIES=217 -KW_TIME=218 -KW_TIMESTAMP=219 -KW_TO=220 -KW_TRANSACTION=221 -KW_TRUNCATE=222 -KW_TRUE=223 -KW_TRY_CAST=224 -KW_TYPE=225 -KW_UESCAPE=226 -KW_UNBOUNDED=227 -KW_UNCOMMITTED=228 -KW_UNION=229 -KW_UNMATCHED=230 -KW_UNNEST=231 -KW_UPDATE=232 -KW_USE=233 -KW_USER=234 -KW_USING=235 -KW_VALIDATE=236 -KW_VALUES=237 -KW_VERBOSE=238 -KW_VIEW=239 -KW_WHEN=240 -KW_WHERE=241 -KW_WINDOW=242 -KW_WITH=243 -KW_WITHOUT=244 -KW_WORK=245 -KW_WRITE=246 -KW_YEAR=247 -KW_ZONE=248 -EQ=249 -NEQ=250 -LT=251 -LTE=252 -GT=253 -GTE=254 -PLUS=255 -MINUS=256 -ASTERISK=257 -SLASH=258 -PERCENT=259 -CONCAT=260 -QUESTION_MARK=261 -STRING=262 -UNICODE_STRING=263 -BINARY_LITERAL=264 -INTEGER_VALUE=265 -DECIMAL_VALUE=266 -DOUBLE_VALUE=267 -IDENTIFIER=268 -DIGIT_IDENTIFIER=269 -QUOTED_IDENTIFIER=270 -BACKQUOTED_IDENTIFIER=271 -SEMICOLON=272 -SIMPLE_COMMENT=273 -BRACKETED_COMMENT=274 -WS=275 -UNRECOGNIZED=276 +T__16=17 +KW_ABSENT=18 +KW_ADD=19 +KW_ADMIN=20 +KW_AFTER=21 +KW_ALL=22 +KW_ALTER=23 +KW_ANALYZE=24 +KW_AND=25 +KW_ANY=26 +KW_ARRAY=27 +KW_AS=28 +KW_ASC=29 +KW_AT=30 +KW_AUTHORIZATION=31 +KW_BEGIN=32 +KW_BERNOULLI=33 +KW_BETWEEN=34 +KW_BOTH=35 +KW_BY=36 +KW_CALL=37 +KW_CALLED=38 +KW_CASCADE=39 +KW_CASE=40 +KW_CAST=41 +KW_CATALOG=42 +KW_CATALOGS=43 +KW_COLUMN=44 +KW_COLUMNS=45 +KW_COMMENT=46 +KW_COMMIT=47 +KW_COMMITTED=48 +KW_CONDITIONAL=49 +KW_CONSTRAINT=50 +KW_COUNT=51 +KW_COPARTITION=52 +KW_CREATE=53 +KW_CROSS=54 +KW_CUBE=55 +KW_CURRENT=56 +KW_CURRENT_CATALOG=57 +KW_CURRENT_DATE=58 +KW_CURRENT_PATH=59 +KW_CURRENT_ROLE=60 +KW_CURRENT_SCHEMA=61 +KW_CURRENT_TIME=62 +KW_CURRENT_TIMESTAMP=63 +KW_CURRENT_USER=64 +KW_DATA=65 +KW_DATE=66 +KW_DAY=67 +KW_DEALLOCATE=68 +KW_DECLARE=69 +KW_DEFAULT=70 +KW_DEFINE=71 +KW_DEFINER=72 +KW_DELETE=73 +KW_DENY=74 +KW_DESC=75 +KW_DESCRIBE=76 +KW_DESCRIPTOR=77 +KW_DETERMINISTIC=78 +KW_DISTINCT=79 +KW_DISTRIBUTED=80 +KW_DO=81 +KW_DOUBLE=82 +KW_DROP=83 +KW_ELSE=84 +KW_EMPTY=85 +KW_ELSEIF=86 +KW_ENCODING=87 +KW_END=88 +KW_ERROR=89 +KW_ESCAPE=90 +KW_EXCEPT=91 +KW_EXCLUDING=92 +KW_EXECUTE=93 +KW_EXISTS=94 +KW_EXPLAIN=95 +KW_EXTRACT=96 +KW_FALSE=97 +KW_FETCH=98 +KW_FILTER=99 +KW_FINAL=100 +KW_FIRST=101 +KW_FOLLOWING=102 +KW_FOR=103 +KW_FORMAT=104 +KW_FROM=105 +KW_FULL=106 +KW_FUNCTION=107 +KW_FUNCTIONS=108 +KW_GRACE=109 +KW_GRANT=110 +KW_GRANTED=111 +KW_GRANTS=112 +KW_GRAPHVIZ=113 +KW_GROUP=114 +KW_GROUPING=115 +KW_GROUPS=116 +KW_HAVING=117 +KW_HOUR=118 +KW_IF=119 +KW_IGNORE=120 +KW_IMMEDIATE=121 +KW_IN=122 +KW_INCLUDING=123 +KW_INITIAL=124 +KW_INNER=125 +KW_INPUT=126 +KW_INSERT=127 +KW_INTERSECT=128 +KW_INTERVAL=129 +KW_INTO=130 +KW_INVOKER=131 +KW_IO=132 +KW_IS=133 +KW_ISOLATION=134 +KW_ITERATE=135 +KW_JOIN=136 +KW_JSON=137 +KW_JSON_ARRAY=138 +KW_JSON_EXISTS=139 +KW_JSON_OBJECT=140 +KW_JSON_QUERY=141 +KW_JSON_TABLE=142 +KW_JSON_VALUE=143 +KW_KEEP=144 +KW_KEY=145 +KW_KEYS=146 +KW_LANGUAGE=147 +KW_LAST=148 +KW_LATERAL=149 +KW_LEADING=150 +KW_LEAVE=151 +KW_LEFT=152 +KW_LEVEL=153 +KW_LIKE=154 +KW_LIMIT=155 +KW_LISTAGG=156 +KW_LOCAL=157 +KW_LOCALTIME=158 +KW_LOCALTIMESTAMP=159 +KW_LOGICAL=160 +KW_LOOP=161 +KW_MAP=162 +KW_MATCH=163 +KW_MATCHED=164 +KW_MATCHES=165 +KW_MATCH_RECOGNIZE=166 +KW_MATERIALIZED=167 +KW_MEASURES=168 +KW_MERGE=169 +KW_MINUTE=170 +KW_MONTH=171 +KW_NATURAL=172 +KW_NESTED=173 +KW_NEXT=174 +KW_NFC=175 +KW_NFD=176 +KW_NFKC=177 +KW_NFKD=178 +KW_NO=179 +KW_NONE=180 +KW_NORMALIZE=181 +KW_NOT=182 +KW_NULL=183 +KW_NULLIF=184 +KW_NULLS=185 +KW_OBJECT=186 +KW_OF=187 +KW_OFFSET=188 +KW_OMIT=189 +KW_ON=190 +KW_ONE=191 +KW_ONLY=192 +KW_OPTION=193 +KW_OR=194 +KW_ORDER=195 +KW_ORDINALITY=196 +KW_OUTER=197 +KW_OUTPUT=198 +KW_OVER=199 +KW_OVERFLOW=200 +KW_PARTITION=201 +KW_PARTITIONS=202 +KW_PASSING=203 +KW_PAST=204 +KW_PATH=205 +KW_PATTERN=206 +KW_PER=207 +KW_PERIOD=208 +KW_PERMUTE=209 +KW_PLAN=210 +KW_POSITION=211 +KW_PRECEDING=212 +KW_PRECISION=213 +KW_PREPARE=214 +KW_PRIVILEGES=215 +KW_PROPERTIES=216 +KW_PRUNE=217 +KW_QUOTES=218 +KW_RANGE=219 +KW_READ=220 +KW_RECURSIVE=221 +KW_REFRESH=222 +KW_RENAME=223 +KW_REPEAT=224 +KW_REPEATABLE=225 +KW_REPLACE=226 +KW_RESET=227 +KW_RESPECT=228 +KW_RESTRICT=229 +KW_RETURN=230 +KW_RETURNING=231 +KW_RETURNS=232 +KW_REVOKE=233 +KW_RIGHT=234 +KW_ROLE=235 +KW_ROLES=236 +KW_ROLLBACK=237 +KW_ROLLUP=238 +KW_ROW=239 +KW_ROWS=240 +KW_RUNNING=241 +KW_SCALAR=242 +KW_SCHEMA=243 +KW_SCHEMAS=244 +KW_SECOND=245 +KW_SECURITY=246 +KW_SEEK=247 +KW_SELECT=248 +KW_SERIALIZABLE=249 +KW_SESSION=250 +KW_SET=251 +KW_SETS=252 +KW_SHOW=253 +KW_SOME=254 +KW_START=255 +KW_STATS=256 +KW_SUBSET=257 +KW_SUBSTRING=258 +KW_SYSTEM=259 +KW_TABLE=260 +KW_TABLES=261 +KW_TABLESAMPLE=262 +KW_TEXT=263 +KW_TEXT_STRING=264 +KW_THEN=265 +KW_TIES=266 +KW_TIME=267 +KW_TIMESTAMP=268 +KW_TO=269 +KW_TRAILING=270 +KW_TRANSACTION=271 +KW_TRIM=272 +KW_TRUE=273 +KW_TRUNCATE=274 +KW_TRY_CAST=275 +KW_TYPE=276 +KW_UESCAPE=277 +KW_UNBOUNDED=278 +KW_UNCOMMITTED=279 +KW_UNCONDITIONAL=280 +KW_UNION=281 +KW_UNIQUE=282 +KW_UNKNOWN=283 +KW_UNMATCHED=284 +KW_UNNEST=285 +KW_UNTIL=286 +KW_UPDATE=287 +KW_USE=288 +KW_USER=289 +KW_USING=290 +KW_UTF16=291 +KW_UTF32=292 +KW_UTF8=293 +KW_VALIDATE=294 +KW_VALUE=295 +KW_VALUES=296 +KW_VERBOSE=297 +KW_VERSION=298 +KW_VIEW=299 +KW_WHEN=300 +KW_WHERE=301 +KW_WHILE=302 +KW_WINDOW=303 +KW_WITH=304 +KW_WITHIN=305 +KW_WITHOUT=306 +KW_WORK=307 +KW_WRAPPER=308 +KW_WRITE=309 +KW_YEAR=310 +KW_ZONE=311 +EQ=312 +NEQ=313 +LT=314 +LTE=315 +GT=316 +GTE=317 +PLUS=318 +MINUS=319 +ASTERISK=320 +SLASH=321 +PERCENT=322 +CONCAT=323 +QUESTION_MARK=324 +SEMICOLON=325 +STRING=326 +UNICODE_STRING=327 +BINARY_LITERAL=328 +INTEGER_VALUE=329 +DECIMAL_VALUE=330 +DOUBLE_VALUE=331 +IDENTIFIER=332 +DIGIT_IDENTIFIER=333 +QUOTED_IDENTIFIER=334 +BACKQUOTED_IDENTIFIER=335 +SIMPLE_COMMENT=336 +BRACKETED_COMMENT=337 +WS=338 +UNRECOGNIZED=339 '('=1 ')'=2 ','=3 '.'=4 'SKIP'=5 -'->'=6 -'['=7 -']'=8 -'|'=9 -'^'=10 -'$'=11 -'{-'=12 -'-}'=13 -'{'=14 -'}'=15 -'=>'=16 -'ADD'=17 -'ADMIN'=18 -'AFTER'=19 -'ALL'=20 -'ALTER'=21 -'ANALYZE'=22 -'AND'=23 -'ANY'=24 -'ARRAY'=25 -'AS'=26 -'ASC'=27 -'AT'=28 -'AUTHORIZATION'=29 -'BERNOULLI'=30 -'BETWEEN'=31 -'BY'=32 -'CALL'=33 -'CASCADE'=34 -'CASE'=35 -'CAST'=36 -'CATALOGS'=37 -'COLUMN'=38 -'COLUMNS'=39 -'COMMENT'=40 -'COMMIT'=41 -'COMMITTED'=42 -'CONSTRAINT'=43 -'CREATE'=44 -'CROSS'=45 -'CUBE'=46 -'CURRENT'=47 -'CURRENT_CATALOG'=48 -'CURRENT_DATE'=49 -'CURRENT_PATH'=50 -'CURRENT_ROLE'=51 -'CURRENT_SCHEMA'=52 -'CURRENT_TIME'=53 -'CURRENT_TIMESTAMP'=54 -'CURRENT_USER'=55 -'DATA'=56 -'DATE'=57 -'DAY'=58 -'DEFAULT'=59 -'DEALLOCATE'=60 -'DEFINER'=61 -'DELETE'=62 -'DESC'=63 -'DESCRIBE'=64 -'DEFINE'=65 -'DISTINCT'=66 -'DISTRIBUTED'=67 -'DOUBLE'=68 -'DROP'=69 -'ELSE'=70 -'EMPTY'=71 -'END'=72 -'ESCAPE'=73 -'EXCEPT'=74 -'EXCLUDING'=75 -'EXECUTE'=76 -'EXISTS'=77 -'EXPLAIN'=78 -'EXTRACT'=79 -'FALSE'=80 -'FETCH'=81 -'FILTER'=82 -'FINAL'=83 -'FIRST'=84 -'FOLLOWING'=85 -'FOR'=86 -'FORMAT'=87 -'FROM'=88 -'FULL'=89 -'FUNCTIONS'=90 -'GRANT'=91 -'GRANTED'=92 -'GRANTS'=93 -'DENY'=94 -'GRAPHVIZ'=95 -'GROUP'=96 -'GROUPING'=97 -'GROUPS'=98 -'HAVING'=99 -'HOUR'=100 -'IF'=101 -'IGNORE'=102 -'IN'=103 -'INCLUDING'=104 -'INITIAL'=105 -'INNER'=106 -'INPUT'=107 -'INSERT'=108 -'INTERSECT'=109 -'INTERVAL'=110 -'INTO'=111 -'INVOKER'=112 -'IO'=113 -'IS'=114 -'ISOLATION'=115 -'JOIN'=116 -'JSON'=117 -'LAST'=118 -'LATERAL'=119 -'LEFT'=120 -'LEVEL'=121 -'LIKE'=122 -'LIMIT'=123 -'LOCAL'=124 -'LOCALTIME'=125 -'LOCALTIMESTAMP'=126 -'LOGICAL'=127 -'MAP'=128 -'MATCH'=129 -'MATCHED'=130 -'MATCHES'=131 -'MATCH_RECOGNIZE'=132 -'MATERIALIZED'=133 -'MEASURES'=134 -'MERGE'=135 -'MINUTE'=136 -'MONTH'=137 -'NATURAL'=138 -'NEXT'=139 -'NFC'=140 -'NFD'=141 -'NFKC'=142 -'NFKD'=143 -'NO'=144 -'NONE'=145 -'NORMALIZE'=146 -'NOT'=147 -'NULL'=148 -'NULLIF'=149 -'NULLS'=150 -'OFFSET'=151 -'OMIT'=152 -'ON'=153 -'ONE'=154 -'ONLY'=155 -'OPTION'=156 -'OR'=157 -'ORDER'=158 -'ORDINALITY'=159 -'OUTER'=160 -'OUTPUT'=161 -'OVER'=162 -'PARTITION'=163 -'PARTITIONS'=164 -'PAST'=165 -'PATH'=166 -'PATTERN'=167 -'PER'=168 -'PERMUTE'=169 -'POSITION'=170 -'PRECEDING'=171 -'PRECISION'=172 -'PREPARE'=173 -'PRIVILEGES'=174 -'PROPERTIES'=175 -'RANGE'=176 -'READ'=177 -'RECURSIVE'=178 -'REFRESH'=179 -'RENAME'=180 -'REPEATABLE'=181 -'REPLACE'=182 -'RESET'=183 -'RESPECT'=184 -'RESTRICT'=185 -'REVOKE'=186 -'RIGHT'=187 -'ROLE'=188 -'ROLES'=189 -'ROLLBACK'=190 -'ROLLUP'=191 -'ROW'=192 -'ROWS'=193 -'RUNNING'=194 -'SCHEMA'=195 -'SCHEMAS'=196 -'SECOND'=197 -'SECURITY'=198 -'SEEK'=199 -'SELECT'=200 -'SERIALIZABLE'=201 -'SESSION'=202 -'SET'=203 -'SETS'=204 -'SHOW'=205 -'SOME'=206 -'START'=207 -'STATS'=208 -'SUBSET'=209 -'SUBSTRING'=210 -'SYSTEM'=211 -'TABLE'=212 -'TABLES'=213 -'TABLESAMPLE'=214 -'TEXT'=215 -'THEN'=216 -'TIES'=217 -'TIME'=218 -'TIMESTAMP'=219 -'TO'=220 -'TRANSACTION'=221 -'TRUNCATE'=222 -'TRUE'=223 -'TRY_CAST'=224 -'TYPE'=225 -'UESCAPE'=226 -'UNBOUNDED'=227 -'UNCOMMITTED'=228 -'UNION'=229 -'UNMATCHED'=230 -'UNNEST'=231 -'UPDATE'=232 -'USE'=233 -'USER'=234 -'USING'=235 -'VALIDATE'=236 -'VALUES'=237 -'VERBOSE'=238 -'VIEW'=239 -'WHEN'=240 -'WHERE'=241 -'WINDOW'=242 -'WITH'=243 -'WITHOUT'=244 -'WORK'=245 -'WRITE'=246 -'YEAR'=247 -'ZONE'=248 -'='=249 -'<'=251 -'<='=252 -'>'=253 -'>='=254 -'+'=255 -'-'=256 -'*'=257 -'/'=258 -'%'=259 -'||'=260 -'?'=261 -';'=272 +'=>'=6 +'->'=7 +'['=8 +']'=9 +':'=10 +'|'=11 +'^'=12 +'$'=13 +'{-'=14 +'-}'=15 +'{'=16 +'}'=17 +'ABSENT'=18 +'ADD'=19 +'ADMIN'=20 +'AFTER'=21 +'ALL'=22 +'ALTER'=23 +'ANALYZE'=24 +'AND'=25 +'ANY'=26 +'ARRAY'=27 +'AS'=28 +'ASC'=29 +'AT'=30 +'AUTHORIZATION'=31 +'BEGIN'=32 +'BERNOULLI'=33 +'BETWEEN'=34 +'BOTH'=35 +'BY'=36 +'CALL'=37 +'CALLED'=38 +'CASCADE'=39 +'CASE'=40 +'CAST'=41 +'CATALOG'=42 +'CATALOGS'=43 +'COLUMN'=44 +'COLUMNS'=45 +'COMMENT'=46 +'COMMIT'=47 +'COMMITTED'=48 +'CONDITIONAL'=49 +'CONSTRAINT'=50 +'COUNT'=51 +'COPARTITION'=52 +'CREATE'=53 +'CROSS'=54 +'CUBE'=55 +'CURRENT'=56 +'CURRENT_CATALOG'=57 +'CURRENT_DATE'=58 +'CURRENT_PATH'=59 +'CURRENT_ROLE'=60 +'CURRENT_SCHEMA'=61 +'CURRENT_TIME'=62 +'CURRENT_TIMESTAMP'=63 +'CURRENT_USER'=64 +'DATA'=65 +'DATE'=66 +'DAY'=67 +'DEALLOCATE'=68 +'DECLARE'=69 +'DEFAULT'=70 +'DEFINE'=71 +'DEFINER'=72 +'DELETE'=73 +'DENY'=74 +'DESC'=75 +'DESCRIBE'=76 +'DESCRIPTOR'=77 +'DETERMINISTIC'=78 +'DISTINCT'=79 +'DISTRIBUTED'=80 +'DO'=81 +'DOUBLE'=82 +'DROP'=83 +'ELSE'=84 +'EMPTY'=85 +'ELSEIF'=86 +'ENCODING'=87 +'END'=88 +'ERROR'=89 +'ESCAPE'=90 +'EXCEPT'=91 +'EXCLUDING'=92 +'EXECUTE'=93 +'EXISTS'=94 +'EXPLAIN'=95 +'EXTRACT'=96 +'FALSE'=97 +'FETCH'=98 +'FILTER'=99 +'FINAL'=100 +'FIRST'=101 +'FOLLOWING'=102 +'FOR'=103 +'FORMAT'=104 +'FROM'=105 +'FULL'=106 +'FUNCTION'=107 +'FUNCTIONS'=108 +'GRACE'=109 +'GRANT'=110 +'GRANTED'=111 +'GRANTS'=112 +'GRAPHVIZ'=113 +'GROUP'=114 +'GROUPING'=115 +'GROUPS'=116 +'HAVING'=117 +'HOUR'=118 +'IF'=119 +'IGNORE'=120 +'IMMEDIATE'=121 +'IN'=122 +'INCLUDING'=123 +'INITIAL'=124 +'INNER'=125 +'INPUT'=126 +'INSERT'=127 +'INTERSECT'=128 +'INTERVAL'=129 +'INTO'=130 +'INVOKER'=131 +'IO'=132 +'IS'=133 +'ISOLATION'=134 +'ITERATE'=135 +'JOIN'=136 +'JSON'=137 +'JSON_ARRAY'=138 +'JSON_EXISTS'=139 +'JSON_OBJECT'=140 +'JSON_QUERY'=141 +'JSON_TABLE'=142 +'JSON_VALUE'=143 +'KEEP'=144 +'KEY'=145 +'KEYS'=146 +'LANGUAGE'=147 +'LAST'=148 +'LATERAL'=149 +'LEADING'=150 +'LEAVE'=151 +'LEFT'=152 +'LEVEL'=153 +'LIKE'=154 +'LIMIT'=155 +'LISTAGG'=156 +'LOCAL'=157 +'LOCALTIME'=158 +'LOCALTIMESTAMP'=159 +'LOGICAL'=160 +'LOOP'=161 +'MAP'=162 +'MATCH'=163 +'MATCHED'=164 +'MATCHES'=165 +'MATCH_RECOGNIZE'=166 +'MATERIALIZED'=167 +'MEASURES'=168 +'MERGE'=169 +'MINUTE'=170 +'MONTH'=171 +'NATURAL'=172 +'NESTED'=173 +'NEXT'=174 +'NFC'=175 +'NFD'=176 +'NFKC'=177 +'NFKD'=178 +'NO'=179 +'NONE'=180 +'NORMALIZE'=181 +'NOT'=182 +'NULL'=183 +'NULLIF'=184 +'NULLS'=185 +'OBJECT'=186 +'OF'=187 +'OFFSET'=188 +'OMIT'=189 +'ON'=190 +'ONE'=191 +'ONLY'=192 +'OPTION'=193 +'OR'=194 +'ORDER'=195 +'ORDINALITY'=196 +'OUTER'=197 +'OUTPUT'=198 +'OVER'=199 +'OVERFLOW'=200 +'PARTITION'=201 +'PARTITIONS'=202 +'PASSING'=203 +'PAST'=204 +'PATH'=205 +'PATTERN'=206 +'PER'=207 +'PERIOD'=208 +'PERMUTE'=209 +'PLAN'=210 +'POSITION'=211 +'PRECEDING'=212 +'PRECISION'=213 +'PREPARE'=214 +'PRIVILEGES'=215 +'PROPERTIES'=216 +'PRUNE'=217 +'QUOTES'=218 +'RANGE'=219 +'READ'=220 +'RECURSIVE'=221 +'REFRESH'=222 +'RENAME'=223 +'REPEAT'=224 +'REPEATABLE'=225 +'REPLACE'=226 +'RESET'=227 +'RESPECT'=228 +'RESTRICT'=229 +'RETURN'=230 +'RETURNING'=231 +'RETURNS'=232 +'REVOKE'=233 +'RIGHT'=234 +'ROLE'=235 +'ROLES'=236 +'ROLLBACK'=237 +'ROLLUP'=238 +'ROW'=239 +'ROWS'=240 +'RUNNING'=241 +'SCALAR'=242 +'SCHEMA'=243 +'SCHEMAS'=244 +'SECOND'=245 +'SECURITY'=246 +'SEEK'=247 +'SELECT'=248 +'SERIALIZABLE'=249 +'SESSION'=250 +'SET'=251 +'SETS'=252 +'SHOW'=253 +'SOME'=254 +'START'=255 +'STATS'=256 +'SUBSET'=257 +'SUBSTRING'=258 +'SYSTEM'=259 +'TABLE'=260 +'TABLES'=261 +'TABLESAMPLE'=262 +'TEXT'=263 +'STRING'=264 +'THEN'=265 +'TIES'=266 +'TIME'=267 +'TIMESTAMP'=268 +'TO'=269 +'TRAILING'=270 +'TRANSACTION'=271 +'TRIM'=272 +'TRUE'=273 +'TRUNCATE'=274 +'TRY_CAST'=275 +'TYPE'=276 +'UESCAPE'=277 +'UNBOUNDED'=278 +'UNCOMMITTED'=279 +'UNCONDITIONAL'=280 +'UNION'=281 +'UNIQUE'=282 +'UNKNOWN'=283 +'UNMATCHED'=284 +'UNNEST'=285 +'UNTIL'=286 +'UPDATE'=287 +'USE'=288 +'USER'=289 +'USING'=290 +'UTF16'=291 +'UTF32'=292 +'UTF8'=293 +'VALIDATE'=294 +'VALUE'=295 +'VALUES'=296 +'VERBOSE'=297 +'VERSION'=298 +'VIEW'=299 +'WHEN'=300 +'WHERE'=301 +'WHILE'=302 +'WINDOW'=303 +'WITH'=304 +'WITHIN'=305 +'WITHOUT'=306 +'WORK'=307 +'WRAPPER'=308 +'WRITE'=309 +'YEAR'=310 +'ZONE'=311 +'='=312 +'<'=314 +'<='=315 +'>'=316 +'>='=317 +'+'=318 +'-'=319 +'*'=320 +'/'=321 +'%'=322 +'||'=323 +'?'=324 +';'=325 diff --git a/src/lib/trino/TrinoSqlLexer.ts b/src/lib/trino/TrinoSqlLexer.ts index b0489daa..02d6cb1e 100644 --- a/src/lib/trino/TrinoSqlLexer.ts +++ b/src/lib/trino/TrinoSqlLexer.ts @@ -26,370 +26,456 @@ export class TrinoSqlLexer extends antlr.Lexer { public static readonly T__13 = 14; public static readonly T__14 = 15; public static readonly T__15 = 16; - public static readonly KW_ADD = 17; - public static readonly KW_ADMIN = 18; - public static readonly KW_AFTER = 19; - public static readonly KW_ALL = 20; - public static readonly KW_ALTER = 21; - public static readonly KW_ANALYZE = 22; - public static readonly KW_AND = 23; - public static readonly KW_ANY = 24; - public static readonly KW_ARRAY = 25; - public static readonly KW_AS = 26; - public static readonly KW_ASC = 27; - public static readonly KW_AT = 28; - public static readonly KW_AUTHORIZATION = 29; - public static readonly KW_BERNOULLI = 30; - public static readonly KW_BETWEEN = 31; - public static readonly KW_BY = 32; - public static readonly KW_CALL = 33; - public static readonly KW_CASCADE = 34; - public static readonly KW_CASE = 35; - public static readonly KW_CAST = 36; - public static readonly KW_CATALOGS = 37; - public static readonly KW_COLUMN = 38; - public static readonly KW_COLUMNS = 39; - public static readonly KW_COMMENT = 40; - public static readonly KW_COMMIT = 41; - public static readonly KW_COMMITTED = 42; - public static readonly KW_CONSTRAINT = 43; - public static readonly KW_CREATE = 44; - public static readonly KW_CROSS = 45; - public static readonly KW_CUBE = 46; - public static readonly KW_CURRENT = 47; - public static readonly KW_CURRENT_CATALOG = 48; - public static readonly KW_CURRENT_DATE = 49; - public static readonly KW_CURRENT_PATH = 50; - public static readonly KW_CURRENT_ROLE = 51; - public static readonly KW_CURRENT_SCHEMA = 52; - public static readonly KW_CURRENT_TIME = 53; - public static readonly KW_CURRENT_TIMESTAMP = 54; - public static readonly KW_CURRENT_USER = 55; - public static readonly KW_DATA = 56; - public static readonly KW_DATE = 57; - public static readonly KW_DAY = 58; - public static readonly KW_DEFAULT = 59; - public static readonly KW_DEALLOCATE = 60; - public static readonly KW_DEFINER = 61; - public static readonly KW_DELETE = 62; - public static readonly KW_DESC = 63; - public static readonly KW_DESCRIBE = 64; - public static readonly KW_DEFINE = 65; - public static readonly KW_DISTINCT = 66; - public static readonly KW_DISTRIBUTED = 67; - public static readonly KW_DOUBLE = 68; - public static readonly KW_DROP = 69; - public static readonly KW_ELSE = 70; - public static readonly KW_EMPTY = 71; - public static readonly KW_END = 72; - public static readonly KW_ESCAPE = 73; - public static readonly KW_EXCEPT = 74; - public static readonly KW_EXCLUDING = 75; - public static readonly KW_EXECUTE = 76; - public static readonly KW_EXISTS = 77; - public static readonly KW_EXPLAIN = 78; - public static readonly KW_EXTRACT = 79; - public static readonly KW_FALSE = 80; - public static readonly KW_FETCH = 81; - public static readonly KW_FILTER = 82; - public static readonly KW_FINAL = 83; - public static readonly KW_FIRST = 84; - public static readonly KW_FOLLOWING = 85; - public static readonly KW_FOR = 86; - public static readonly KW_FORMAT = 87; - public static readonly KW_FROM = 88; - public static readonly KW_FULL = 89; - public static readonly KW_FUNCTIONS = 90; - public static readonly KW_GRANT = 91; - public static readonly KW_GRANTED = 92; - public static readonly KW_GRANTS = 93; - public static readonly KW_DENY = 94; - public static readonly KW_GRAPHVIZ = 95; - public static readonly KW_GROUP = 96; - public static readonly KW_GROUPING = 97; - public static readonly KW_GROUPS = 98; - public static readonly KW_HAVING = 99; - public static readonly KW_HOUR = 100; - public static readonly KW_IF = 101; - public static readonly KW_IGNORE = 102; - public static readonly KW_IN = 103; - public static readonly KW_INCLUDING = 104; - public static readonly KW_INITIAL = 105; - public static readonly KW_INNER = 106; - public static readonly KW_INPUT = 107; - public static readonly KW_INSERT = 108; - public static readonly KW_INTERSECT = 109; - public static readonly KW_INTERVAL = 110; - public static readonly KW_INTO = 111; - public static readonly KW_INVOKER = 112; - public static readonly KW_IO = 113; - public static readonly KW_IS = 114; - public static readonly KW_ISOLATION = 115; - public static readonly KW_JOIN = 116; - public static readonly KW_JSON = 117; - public static readonly KW_LAST = 118; - public static readonly KW_LATERAL = 119; - public static readonly KW_LEFT = 120; - public static readonly KW_LEVEL = 121; - public static readonly KW_LIKE = 122; - public static readonly KW_LIMIT = 123; - public static readonly KW_LOCAL = 124; - public static readonly KW_LOCALTIME = 125; - public static readonly KW_LOCALTIMESTAMP = 126; - public static readonly KW_LOGICAL = 127; - public static readonly KW_MAP = 128; - public static readonly KW_MATCH = 129; - public static readonly KW_MATCHED = 130; - public static readonly KW_MATCHES = 131; - public static readonly KW_MATCH_RECOGNIZE = 132; - public static readonly KW_MATERIALIZED = 133; - public static readonly KW_MEASURES = 134; - public static readonly KW_MERGE = 135; - public static readonly KW_MINUTE = 136; - public static readonly KW_MONTH = 137; - public static readonly KW_NATURAL = 138; - public static readonly KW_NEXT = 139; - public static readonly KW_NFC = 140; - public static readonly KW_NFD = 141; - public static readonly KW_NFKC = 142; - public static readonly KW_NFKD = 143; - public static readonly KW_NO = 144; - public static readonly KW_NONE = 145; - public static readonly KW_NORMALIZE = 146; - public static readonly KW_NOT = 147; - public static readonly KW_NULL = 148; - public static readonly KW_NULLIF = 149; - public static readonly KW_NULLS = 150; - public static readonly KW_OFFSET = 151; - public static readonly KW_OMIT = 152; - public static readonly KW_ON = 153; - public static readonly KW_ONE = 154; - public static readonly KW_ONLY = 155; - public static readonly KW_OPTION = 156; - public static readonly KW_OR = 157; - public static readonly KW_ORDER = 158; - public static readonly KW_ORDINALITY = 159; - public static readonly KW_OUTER = 160; - public static readonly KW_OUTPUT = 161; - public static readonly KW_OVER = 162; - public static readonly KW_PARTITION = 163; - public static readonly KW_PARTITIONS = 164; - public static readonly KW_PAST = 165; - public static readonly KW_PATH = 166; - public static readonly KW_PATTERN = 167; - public static readonly KW_PER = 168; - public static readonly KW_PERMUTE = 169; - public static readonly KW_POSITION = 170; - public static readonly KW_PRECEDING = 171; - public static readonly KW_PRECISION = 172; - public static readonly KW_PREPARE = 173; - public static readonly KW_PRIVILEGES = 174; - public static readonly KW_PROPERTIES = 175; - public static readonly KW_RANGE = 176; - public static readonly KW_READ = 177; - public static readonly KW_RECURSIVE = 178; - public static readonly KW_REFRESH = 179; - public static readonly KW_RENAME = 180; - public static readonly KW_REPEATABLE = 181; - public static readonly KW_REPLACE = 182; - public static readonly KW_RESET = 183; - public static readonly KW_RESPECT = 184; - public static readonly KW_RESTRICT = 185; - public static readonly KW_REVOKE = 186; - public static readonly KW_RIGHT = 187; - public static readonly KW_ROLE = 188; - public static readonly KW_ROLES = 189; - public static readonly KW_ROLLBACK = 190; - public static readonly KW_ROLLUP = 191; - public static readonly KW_ROW = 192; - public static readonly KW_ROWS = 193; - public static readonly KW_RUNNING = 194; - public static readonly KW_SCHEMA = 195; - public static readonly KW_SCHEMAS = 196; - public static readonly KW_SECOND = 197; - public static readonly KW_SECURITY = 198; - public static readonly KW_SEEK = 199; - public static readonly KW_SELECT = 200; - public static readonly KW_SERIALIZABLE = 201; - public static readonly KW_SESSION = 202; - public static readonly KW_SET = 203; - public static readonly KW_SETS = 204; - public static readonly KW_SHOW = 205; - public static readonly KW_SOME = 206; - public static readonly KW_START = 207; - public static readonly KW_STATS = 208; - public static readonly KW_SUBSET = 209; - public static readonly KW_SUBSTRING = 210; - public static readonly KW_SYSTEM = 211; - public static readonly KW_TABLE = 212; - public static readonly KW_TABLES = 213; - public static readonly KW_TABLESAMPLE = 214; - public static readonly KW_TEXT = 215; - public static readonly KW_THEN = 216; - public static readonly KW_TIES = 217; - public static readonly KW_TIME = 218; - public static readonly KW_TIMESTAMP = 219; - public static readonly KW_TO = 220; - public static readonly KW_TRANSACTION = 221; - public static readonly KW_TRUNCATE = 222; - public static readonly KW_TRUE = 223; - public static readonly KW_TRY_CAST = 224; - public static readonly KW_TYPE = 225; - public static readonly KW_UESCAPE = 226; - public static readonly KW_UNBOUNDED = 227; - public static readonly KW_UNCOMMITTED = 228; - public static readonly KW_UNION = 229; - public static readonly KW_UNMATCHED = 230; - public static readonly KW_UNNEST = 231; - public static readonly KW_UPDATE = 232; - public static readonly KW_USE = 233; - public static readonly KW_USER = 234; - public static readonly KW_USING = 235; - public static readonly KW_VALIDATE = 236; - public static readonly KW_VALUES = 237; - public static readonly KW_VERBOSE = 238; - public static readonly KW_VIEW = 239; - public static readonly KW_WHEN = 240; - public static readonly KW_WHERE = 241; - public static readonly KW_WINDOW = 242; - public static readonly KW_WITH = 243; - public static readonly KW_WITHOUT = 244; - public static readonly KW_WORK = 245; - public static readonly KW_WRITE = 246; - public static readonly KW_YEAR = 247; - public static readonly KW_ZONE = 248; - public static readonly EQ = 249; - public static readonly NEQ = 250; - public static readonly LT = 251; - public static readonly LTE = 252; - public static readonly GT = 253; - public static readonly GTE = 254; - public static readonly PLUS = 255; - public static readonly MINUS = 256; - public static readonly ASTERISK = 257; - public static readonly SLASH = 258; - public static readonly PERCENT = 259; - public static readonly CONCAT = 260; - public static readonly QUESTION_MARK = 261; - public static readonly STRING = 262; - public static readonly UNICODE_STRING = 263; - public static readonly BINARY_LITERAL = 264; - public static readonly INTEGER_VALUE = 265; - public static readonly DECIMAL_VALUE = 266; - public static readonly DOUBLE_VALUE = 267; - public static readonly IDENTIFIER = 268; - public static readonly DIGIT_IDENTIFIER = 269; - public static readonly QUOTED_IDENTIFIER = 270; - public static readonly BACKQUOTED_IDENTIFIER = 271; - public static readonly SEMICOLON = 272; - public static readonly SIMPLE_COMMENT = 273; - public static readonly BRACKETED_COMMENT = 274; - public static readonly WS = 275; - public static readonly UNRECOGNIZED = 276; + public static readonly T__16 = 17; + public static readonly KW_ABSENT = 18; + public static readonly KW_ADD = 19; + public static readonly KW_ADMIN = 20; + public static readonly KW_AFTER = 21; + public static readonly KW_ALL = 22; + public static readonly KW_ALTER = 23; + public static readonly KW_ANALYZE = 24; + public static readonly KW_AND = 25; + public static readonly KW_ANY = 26; + public static readonly KW_ARRAY = 27; + public static readonly KW_AS = 28; + public static readonly KW_ASC = 29; + public static readonly KW_AT = 30; + public static readonly KW_AUTHORIZATION = 31; + public static readonly KW_BEGIN = 32; + public static readonly KW_BERNOULLI = 33; + public static readonly KW_BETWEEN = 34; + public static readonly KW_BOTH = 35; + public static readonly KW_BY = 36; + public static readonly KW_CALL = 37; + public static readonly KW_CALLED = 38; + public static readonly KW_CASCADE = 39; + public static readonly KW_CASE = 40; + public static readonly KW_CAST = 41; + public static readonly KW_CATALOG = 42; + public static readonly KW_CATALOGS = 43; + public static readonly KW_COLUMN = 44; + public static readonly KW_COLUMNS = 45; + public static readonly KW_COMMENT = 46; + public static readonly KW_COMMIT = 47; + public static readonly KW_COMMITTED = 48; + public static readonly KW_CONDITIONAL = 49; + public static readonly KW_CONSTRAINT = 50; + public static readonly KW_COUNT = 51; + public static readonly KW_COPARTITION = 52; + public static readonly KW_CREATE = 53; + public static readonly KW_CROSS = 54; + public static readonly KW_CUBE = 55; + public static readonly KW_CURRENT = 56; + public static readonly KW_CURRENT_CATALOG = 57; + public static readonly KW_CURRENT_DATE = 58; + public static readonly KW_CURRENT_PATH = 59; + public static readonly KW_CURRENT_ROLE = 60; + public static readonly KW_CURRENT_SCHEMA = 61; + public static readonly KW_CURRENT_TIME = 62; + public static readonly KW_CURRENT_TIMESTAMP = 63; + public static readonly KW_CURRENT_USER = 64; + public static readonly KW_DATA = 65; + public static readonly KW_DATE = 66; + public static readonly KW_DAY = 67; + public static readonly KW_DEALLOCATE = 68; + public static readonly KW_DECLARE = 69; + public static readonly KW_DEFAULT = 70; + public static readonly KW_DEFINE = 71; + public static readonly KW_DEFINER = 72; + public static readonly KW_DELETE = 73; + public static readonly KW_DENY = 74; + public static readonly KW_DESC = 75; + public static readonly KW_DESCRIBE = 76; + public static readonly KW_DESCRIPTOR = 77; + public static readonly KW_DETERMINISTIC = 78; + public static readonly KW_DISTINCT = 79; + public static readonly KW_DISTRIBUTED = 80; + public static readonly KW_DO = 81; + public static readonly KW_DOUBLE = 82; + public static readonly KW_DROP = 83; + public static readonly KW_ELSE = 84; + public static readonly KW_EMPTY = 85; + public static readonly KW_ELSEIF = 86; + public static readonly KW_ENCODING = 87; + public static readonly KW_END = 88; + public static readonly KW_ERROR = 89; + public static readonly KW_ESCAPE = 90; + public static readonly KW_EXCEPT = 91; + public static readonly KW_EXCLUDING = 92; + public static readonly KW_EXECUTE = 93; + public static readonly KW_EXISTS = 94; + public static readonly KW_EXPLAIN = 95; + public static readonly KW_EXTRACT = 96; + public static readonly KW_FALSE = 97; + public static readonly KW_FETCH = 98; + public static readonly KW_FILTER = 99; + public static readonly KW_FINAL = 100; + public static readonly KW_FIRST = 101; + public static readonly KW_FOLLOWING = 102; + public static readonly KW_FOR = 103; + public static readonly KW_FORMAT = 104; + public static readonly KW_FROM = 105; + public static readonly KW_FULL = 106; + public static readonly KW_FUNCTION = 107; + public static readonly KW_FUNCTIONS = 108; + public static readonly KW_GRACE = 109; + public static readonly KW_GRANT = 110; + public static readonly KW_GRANTED = 111; + public static readonly KW_GRANTS = 112; + public static readonly KW_GRAPHVIZ = 113; + public static readonly KW_GROUP = 114; + public static readonly KW_GROUPING = 115; + public static readonly KW_GROUPS = 116; + public static readonly KW_HAVING = 117; + public static readonly KW_HOUR = 118; + public static readonly KW_IF = 119; + public static readonly KW_IGNORE = 120; + public static readonly KW_IMMEDIATE = 121; + public static readonly KW_IN = 122; + public static readonly KW_INCLUDING = 123; + public static readonly KW_INITIAL = 124; + public static readonly KW_INNER = 125; + public static readonly KW_INPUT = 126; + public static readonly KW_INSERT = 127; + public static readonly KW_INTERSECT = 128; + public static readonly KW_INTERVAL = 129; + public static readonly KW_INTO = 130; + public static readonly KW_INVOKER = 131; + public static readonly KW_IO = 132; + public static readonly KW_IS = 133; + public static readonly KW_ISOLATION = 134; + public static readonly KW_ITERATE = 135; + public static readonly KW_JOIN = 136; + public static readonly KW_JSON = 137; + public static readonly KW_JSON_ARRAY = 138; + public static readonly KW_JSON_EXISTS = 139; + public static readonly KW_JSON_OBJECT = 140; + public static readonly KW_JSON_QUERY = 141; + public static readonly KW_JSON_TABLE = 142; + public static readonly KW_JSON_VALUE = 143; + public static readonly KW_KEEP = 144; + public static readonly KW_KEY = 145; + public static readonly KW_KEYS = 146; + public static readonly KW_LANGUAGE = 147; + public static readonly KW_LAST = 148; + public static readonly KW_LATERAL = 149; + public static readonly KW_LEADING = 150; + public static readonly KW_LEAVE = 151; + public static readonly KW_LEFT = 152; + public static readonly KW_LEVEL = 153; + public static readonly KW_LIKE = 154; + public static readonly KW_LIMIT = 155; + public static readonly KW_LISTAGG = 156; + public static readonly KW_LOCAL = 157; + public static readonly KW_LOCALTIME = 158; + public static readonly KW_LOCALTIMESTAMP = 159; + public static readonly KW_LOGICAL = 160; + public static readonly KW_LOOP = 161; + public static readonly KW_MAP = 162; + public static readonly KW_MATCH = 163; + public static readonly KW_MATCHED = 164; + public static readonly KW_MATCHES = 165; + public static readonly KW_MATCH_RECOGNIZE = 166; + public static readonly KW_MATERIALIZED = 167; + public static readonly KW_MEASURES = 168; + public static readonly KW_MERGE = 169; + public static readonly KW_MINUTE = 170; + public static readonly KW_MONTH = 171; + public static readonly KW_NATURAL = 172; + public static readonly KW_NESTED = 173; + public static readonly KW_NEXT = 174; + public static readonly KW_NFC = 175; + public static readonly KW_NFD = 176; + public static readonly KW_NFKC = 177; + public static readonly KW_NFKD = 178; + public static readonly KW_NO = 179; + public static readonly KW_NONE = 180; + public static readonly KW_NORMALIZE = 181; + public static readonly KW_NOT = 182; + public static readonly KW_NULL = 183; + public static readonly KW_NULLIF = 184; + public static readonly KW_NULLS = 185; + public static readonly KW_OBJECT = 186; + public static readonly KW_OF = 187; + public static readonly KW_OFFSET = 188; + public static readonly KW_OMIT = 189; + public static readonly KW_ON = 190; + public static readonly KW_ONE = 191; + public static readonly KW_ONLY = 192; + public static readonly KW_OPTION = 193; + public static readonly KW_OR = 194; + public static readonly KW_ORDER = 195; + public static readonly KW_ORDINALITY = 196; + public static readonly KW_OUTER = 197; + public static readonly KW_OUTPUT = 198; + public static readonly KW_OVER = 199; + public static readonly KW_OVERFLOW = 200; + public static readonly KW_PARTITION = 201; + public static readonly KW_PARTITIONS = 202; + public static readonly KW_PASSING = 203; + public static readonly KW_PAST = 204; + public static readonly KW_PATH = 205; + public static readonly KW_PATTERN = 206; + public static readonly KW_PER = 207; + public static readonly KW_PERIOD = 208; + public static readonly KW_PERMUTE = 209; + public static readonly KW_PLAN = 210; + public static readonly KW_POSITION = 211; + public static readonly KW_PRECEDING = 212; + public static readonly KW_PRECISION = 213; + public static readonly KW_PREPARE = 214; + public static readonly KW_PRIVILEGES = 215; + public static readonly KW_PROPERTIES = 216; + public static readonly KW_PRUNE = 217; + public static readonly KW_QUOTES = 218; + public static readonly KW_RANGE = 219; + public static readonly KW_READ = 220; + public static readonly KW_RECURSIVE = 221; + public static readonly KW_REFRESH = 222; + public static readonly KW_RENAME = 223; + public static readonly KW_REPEAT = 224; + public static readonly KW_REPEATABLE = 225; + public static readonly KW_REPLACE = 226; + public static readonly KW_RESET = 227; + public static readonly KW_RESPECT = 228; + public static readonly KW_RESTRICT = 229; + public static readonly KW_RETURN = 230; + public static readonly KW_RETURNING = 231; + public static readonly KW_RETURNS = 232; + public static readonly KW_REVOKE = 233; + public static readonly KW_RIGHT = 234; + public static readonly KW_ROLE = 235; + public static readonly KW_ROLES = 236; + public static readonly KW_ROLLBACK = 237; + public static readonly KW_ROLLUP = 238; + public static readonly KW_ROW = 239; + public static readonly KW_ROWS = 240; + public static readonly KW_RUNNING = 241; + public static readonly KW_SCALAR = 242; + public static readonly KW_SCHEMA = 243; + public static readonly KW_SCHEMAS = 244; + public static readonly KW_SECOND = 245; + public static readonly KW_SECURITY = 246; + public static readonly KW_SEEK = 247; + public static readonly KW_SELECT = 248; + public static readonly KW_SERIALIZABLE = 249; + public static readonly KW_SESSION = 250; + public static readonly KW_SET = 251; + public static readonly KW_SETS = 252; + public static readonly KW_SHOW = 253; + public static readonly KW_SOME = 254; + public static readonly KW_START = 255; + public static readonly KW_STATS = 256; + public static readonly KW_SUBSET = 257; + public static readonly KW_SUBSTRING = 258; + public static readonly KW_SYSTEM = 259; + public static readonly KW_TABLE = 260; + public static readonly KW_TABLES = 261; + public static readonly KW_TABLESAMPLE = 262; + public static readonly KW_TEXT = 263; + public static readonly KW_TEXT_STRING = 264; + public static readonly KW_THEN = 265; + public static readonly KW_TIES = 266; + public static readonly KW_TIME = 267; + public static readonly KW_TIMESTAMP = 268; + public static readonly KW_TO = 269; + public static readonly KW_TRAILING = 270; + public static readonly KW_TRANSACTION = 271; + public static readonly KW_TRIM = 272; + public static readonly KW_TRUE = 273; + public static readonly KW_TRUNCATE = 274; + public static readonly KW_TRY_CAST = 275; + public static readonly KW_TYPE = 276; + public static readonly KW_UESCAPE = 277; + public static readonly KW_UNBOUNDED = 278; + public static readonly KW_UNCOMMITTED = 279; + public static readonly KW_UNCONDITIONAL = 280; + public static readonly KW_UNION = 281; + public static readonly KW_UNIQUE = 282; + public static readonly KW_UNKNOWN = 283; + public static readonly KW_UNMATCHED = 284; + public static readonly KW_UNNEST = 285; + public static readonly KW_UNTIL = 286; + public static readonly KW_UPDATE = 287; + public static readonly KW_USE = 288; + public static readonly KW_USER = 289; + public static readonly KW_USING = 290; + public static readonly KW_UTF16 = 291; + public static readonly KW_UTF32 = 292; + public static readonly KW_UTF8 = 293; + public static readonly KW_VALIDATE = 294; + public static readonly KW_VALUE = 295; + public static readonly KW_VALUES = 296; + public static readonly KW_VERBOSE = 297; + public static readonly KW_VERSION = 298; + public static readonly KW_VIEW = 299; + public static readonly KW_WHEN = 300; + public static readonly KW_WHERE = 301; + public static readonly KW_WHILE = 302; + public static readonly KW_WINDOW = 303; + public static readonly KW_WITH = 304; + public static readonly KW_WITHIN = 305; + public static readonly KW_WITHOUT = 306; + public static readonly KW_WORK = 307; + public static readonly KW_WRAPPER = 308; + public static readonly KW_WRITE = 309; + public static readonly KW_YEAR = 310; + public static readonly KW_ZONE = 311; + public static readonly EQ = 312; + public static readonly NEQ = 313; + public static readonly LT = 314; + public static readonly LTE = 315; + public static readonly GT = 316; + public static readonly GTE = 317; + public static readonly PLUS = 318; + public static readonly MINUS = 319; + public static readonly ASTERISK = 320; + public static readonly SLASH = 321; + public static readonly PERCENT = 322; + public static readonly CONCAT = 323; + public static readonly QUESTION_MARK = 324; + public static readonly SEMICOLON = 325; + public static readonly STRING = 326; + public static readonly UNICODE_STRING = 327; + public static readonly BINARY_LITERAL = 328; + public static readonly INTEGER_VALUE = 329; + public static readonly DECIMAL_VALUE = 330; + public static readonly DOUBLE_VALUE = 331; + public static readonly IDENTIFIER = 332; + public static readonly DIGIT_IDENTIFIER = 333; + public static readonly QUOTED_IDENTIFIER = 334; + public static readonly BACKQUOTED_IDENTIFIER = 335; + public static readonly SIMPLE_COMMENT = 336; + public static readonly BRACKETED_COMMENT = 337; + public static readonly WS = 338; + public static readonly UNRECOGNIZED = 339; public static readonly channelNames = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN" ]; public static readonly literalNames = [ - null, "'('", "')'", "','", "'.'", "'SKIP'", "'->'", "'['", "']'", - "'|'", "'^'", "'$'", "'{-'", "'-}'", "'{'", "'}'", "'=>'", "'ADD'", - "'ADMIN'", "'AFTER'", "'ALL'", "'ALTER'", "'ANALYZE'", "'AND'", - "'ANY'", "'ARRAY'", "'AS'", "'ASC'", "'AT'", "'AUTHORIZATION'", - "'BERNOULLI'", "'BETWEEN'", "'BY'", "'CALL'", "'CASCADE'", "'CASE'", - "'CAST'", "'CATALOGS'", "'COLUMN'", "'COLUMNS'", "'COMMENT'", "'COMMIT'", - "'COMMITTED'", "'CONSTRAINT'", "'CREATE'", "'CROSS'", "'CUBE'", - "'CURRENT'", "'CURRENT_CATALOG'", "'CURRENT_DATE'", "'CURRENT_PATH'", - "'CURRENT_ROLE'", "'CURRENT_SCHEMA'", "'CURRENT_TIME'", "'CURRENT_TIMESTAMP'", - "'CURRENT_USER'", "'DATA'", "'DATE'", "'DAY'", "'DEFAULT'", "'DEALLOCATE'", - "'DEFINER'", "'DELETE'", "'DESC'", "'DESCRIBE'", "'DEFINE'", "'DISTINCT'", - "'DISTRIBUTED'", "'DOUBLE'", "'DROP'", "'ELSE'", "'EMPTY'", "'END'", - "'ESCAPE'", "'EXCEPT'", "'EXCLUDING'", "'EXECUTE'", "'EXISTS'", - "'EXPLAIN'", "'EXTRACT'", "'FALSE'", "'FETCH'", "'FILTER'", "'FINAL'", - "'FIRST'", "'FOLLOWING'", "'FOR'", "'FORMAT'", "'FROM'", "'FULL'", - "'FUNCTIONS'", "'GRANT'", "'GRANTED'", "'GRANTS'", "'DENY'", "'GRAPHVIZ'", + null, "'('", "')'", "','", "'.'", "'SKIP'", "'=>'", "'->'", "'['", + "']'", "':'", "'|'", "'^'", "'$'", "'{-'", "'-}'", "'{'", "'}'", + "'ABSENT'", "'ADD'", "'ADMIN'", "'AFTER'", "'ALL'", "'ALTER'", "'ANALYZE'", + "'AND'", "'ANY'", "'ARRAY'", "'AS'", "'ASC'", "'AT'", "'AUTHORIZATION'", + "'BEGIN'", "'BERNOULLI'", "'BETWEEN'", "'BOTH'", "'BY'", "'CALL'", + "'CALLED'", "'CASCADE'", "'CASE'", "'CAST'", "'CATALOG'", "'CATALOGS'", + "'COLUMN'", "'COLUMNS'", "'COMMENT'", "'COMMIT'", "'COMMITTED'", + "'CONDITIONAL'", "'CONSTRAINT'", "'COUNT'", "'COPARTITION'", "'CREATE'", + "'CROSS'", "'CUBE'", "'CURRENT'", "'CURRENT_CATALOG'", "'CURRENT_DATE'", + "'CURRENT_PATH'", "'CURRENT_ROLE'", "'CURRENT_SCHEMA'", "'CURRENT_TIME'", + "'CURRENT_TIMESTAMP'", "'CURRENT_USER'", "'DATA'", "'DATE'", "'DAY'", + "'DEALLOCATE'", "'DECLARE'", "'DEFAULT'", "'DEFINE'", "'DEFINER'", + "'DELETE'", "'DENY'", "'DESC'", "'DESCRIBE'", "'DESCRIPTOR'", "'DETERMINISTIC'", + "'DISTINCT'", "'DISTRIBUTED'", "'DO'", "'DOUBLE'", "'DROP'", "'ELSE'", + "'EMPTY'", "'ELSEIF'", "'ENCODING'", "'END'", "'ERROR'", "'ESCAPE'", + "'EXCEPT'", "'EXCLUDING'", "'EXECUTE'", "'EXISTS'", "'EXPLAIN'", + "'EXTRACT'", "'FALSE'", "'FETCH'", "'FILTER'", "'FINAL'", "'FIRST'", + "'FOLLOWING'", "'FOR'", "'FORMAT'", "'FROM'", "'FULL'", "'FUNCTION'", + "'FUNCTIONS'", "'GRACE'", "'GRANT'", "'GRANTED'", "'GRANTS'", "'GRAPHVIZ'", "'GROUP'", "'GROUPING'", "'GROUPS'", "'HAVING'", "'HOUR'", "'IF'", - "'IGNORE'", "'IN'", "'INCLUDING'", "'INITIAL'", "'INNER'", "'INPUT'", - "'INSERT'", "'INTERSECT'", "'INTERVAL'", "'INTO'", "'INVOKER'", - "'IO'", "'IS'", "'ISOLATION'", "'JOIN'", "'JSON'", "'LAST'", "'LATERAL'", - "'LEFT'", "'LEVEL'", "'LIKE'", "'LIMIT'", "'LOCAL'", "'LOCALTIME'", - "'LOCALTIMESTAMP'", "'LOGICAL'", "'MAP'", "'MATCH'", "'MATCHED'", - "'MATCHES'", "'MATCH_RECOGNIZE'", "'MATERIALIZED'", "'MEASURES'", - "'MERGE'", "'MINUTE'", "'MONTH'", "'NATURAL'", "'NEXT'", "'NFC'", + "'IGNORE'", "'IMMEDIATE'", "'IN'", "'INCLUDING'", "'INITIAL'", "'INNER'", + "'INPUT'", "'INSERT'", "'INTERSECT'", "'INTERVAL'", "'INTO'", "'INVOKER'", + "'IO'", "'IS'", "'ISOLATION'", "'ITERATE'", "'JOIN'", "'JSON'", + "'JSON_ARRAY'", "'JSON_EXISTS'", "'JSON_OBJECT'", "'JSON_QUERY'", + "'JSON_TABLE'", "'JSON_VALUE'", "'KEEP'", "'KEY'", "'KEYS'", "'LANGUAGE'", + "'LAST'", "'LATERAL'", "'LEADING'", "'LEAVE'", "'LEFT'", "'LEVEL'", + "'LIKE'", "'LIMIT'", "'LISTAGG'", "'LOCAL'", "'LOCALTIME'", "'LOCALTIMESTAMP'", + "'LOGICAL'", "'LOOP'", "'MAP'", "'MATCH'", "'MATCHED'", "'MATCHES'", + "'MATCH_RECOGNIZE'", "'MATERIALIZED'", "'MEASURES'", "'MERGE'", + "'MINUTE'", "'MONTH'", "'NATURAL'", "'NESTED'", "'NEXT'", "'NFC'", "'NFD'", "'NFKC'", "'NFKD'", "'NO'", "'NONE'", "'NORMALIZE'", "'NOT'", - "'NULL'", "'NULLIF'", "'NULLS'", "'OFFSET'", "'OMIT'", "'ON'", "'ONE'", - "'ONLY'", "'OPTION'", "'OR'", "'ORDER'", "'ORDINALITY'", "'OUTER'", - "'OUTPUT'", "'OVER'", "'PARTITION'", "'PARTITIONS'", "'PAST'", "'PATH'", - "'PATTERN'", "'PER'", "'PERMUTE'", "'POSITION'", "'PRECEDING'", - "'PRECISION'", "'PREPARE'", "'PRIVILEGES'", "'PROPERTIES'", "'RANGE'", - "'READ'", "'RECURSIVE'", "'REFRESH'", "'RENAME'", "'REPEATABLE'", - "'REPLACE'", "'RESET'", "'RESPECT'", "'RESTRICT'", "'REVOKE'", "'RIGHT'", - "'ROLE'", "'ROLES'", "'ROLLBACK'", "'ROLLUP'", "'ROW'", "'ROWS'", - "'RUNNING'", "'SCHEMA'", "'SCHEMAS'", "'SECOND'", "'SECURITY'", - "'SEEK'", "'SELECT'", "'SERIALIZABLE'", "'SESSION'", "'SET'", "'SETS'", - "'SHOW'", "'SOME'", "'START'", "'STATS'", "'SUBSET'", "'SUBSTRING'", - "'SYSTEM'", "'TABLE'", "'TABLES'", "'TABLESAMPLE'", "'TEXT'", "'THEN'", - "'TIES'", "'TIME'", "'TIMESTAMP'", "'TO'", "'TRANSACTION'", "'TRUNCATE'", - "'TRUE'", "'TRY_CAST'", "'TYPE'", "'UESCAPE'", "'UNBOUNDED'", "'UNCOMMITTED'", - "'UNION'", "'UNMATCHED'", "'UNNEST'", "'UPDATE'", "'USE'", "'USER'", - "'USING'", "'VALIDATE'", "'VALUES'", "'VERBOSE'", "'VIEW'", "'WHEN'", - "'WHERE'", "'WINDOW'", "'WITH'", "'WITHOUT'", "'WORK'", "'WRITE'", - "'YEAR'", "'ZONE'", "'='", null, "'<'", "'<='", "'>'", "'>='", "'+'", - "'-'", "'*'", "'/'", "'%'", "'||'", "'?'", null, null, null, null, - null, null, null, null, null, null, "';'" + "'NULL'", "'NULLIF'", "'NULLS'", "'OBJECT'", "'OF'", "'OFFSET'", + "'OMIT'", "'ON'", "'ONE'", "'ONLY'", "'OPTION'", "'OR'", "'ORDER'", + "'ORDINALITY'", "'OUTER'", "'OUTPUT'", "'OVER'", "'OVERFLOW'", "'PARTITION'", + "'PARTITIONS'", "'PASSING'", "'PAST'", "'PATH'", "'PATTERN'", "'PER'", + "'PERIOD'", "'PERMUTE'", "'PLAN'", "'POSITION'", "'PRECEDING'", + "'PRECISION'", "'PREPARE'", "'PRIVILEGES'", "'PROPERTIES'", "'PRUNE'", + "'QUOTES'", "'RANGE'", "'READ'", "'RECURSIVE'", "'REFRESH'", "'RENAME'", + "'REPEAT'", "'REPEATABLE'", "'REPLACE'", "'RESET'", "'RESPECT'", + "'RESTRICT'", "'RETURN'", "'RETURNING'", "'RETURNS'", "'REVOKE'", + "'RIGHT'", "'ROLE'", "'ROLES'", "'ROLLBACK'", "'ROLLUP'", "'ROW'", + "'ROWS'", "'RUNNING'", "'SCALAR'", "'SCHEMA'", "'SCHEMAS'", "'SECOND'", + "'SECURITY'", "'SEEK'", "'SELECT'", "'SERIALIZABLE'", "'SESSION'", + "'SET'", "'SETS'", "'SHOW'", "'SOME'", "'START'", "'STATS'", "'SUBSET'", + "'SUBSTRING'", "'SYSTEM'", "'TABLE'", "'TABLES'", "'TABLESAMPLE'", + "'TEXT'", "'STRING'", "'THEN'", "'TIES'", "'TIME'", "'TIMESTAMP'", + "'TO'", "'TRAILING'", "'TRANSACTION'", "'TRIM'", "'TRUE'", "'TRUNCATE'", + "'TRY_CAST'", "'TYPE'", "'UESCAPE'", "'UNBOUNDED'", "'UNCOMMITTED'", + "'UNCONDITIONAL'", "'UNION'", "'UNIQUE'", "'UNKNOWN'", "'UNMATCHED'", + "'UNNEST'", "'UNTIL'", "'UPDATE'", "'USE'", "'USER'", "'USING'", + "'UTF16'", "'UTF32'", "'UTF8'", "'VALIDATE'", "'VALUE'", "'VALUES'", + "'VERBOSE'", "'VERSION'", "'VIEW'", "'WHEN'", "'WHERE'", "'WHILE'", + "'WINDOW'", "'WITH'", "'WITHIN'", "'WITHOUT'", "'WORK'", "'WRAPPER'", + "'WRITE'", "'YEAR'", "'ZONE'", "'='", null, "'<'", "'<='", "'>'", + "'>='", "'+'", "'-'", "'*'", "'/'", "'%'", "'||'", "'?'", "';'" ]; public static readonly symbolicNames = [ null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, "KW_ADD", "KW_ADMIN", "KW_AFTER", - "KW_ALL", "KW_ALTER", "KW_ANALYZE", "KW_AND", "KW_ANY", "KW_ARRAY", - "KW_AS", "KW_ASC", "KW_AT", "KW_AUTHORIZATION", "KW_BERNOULLI", - "KW_BETWEEN", "KW_BY", "KW_CALL", "KW_CASCADE", "KW_CASE", "KW_CAST", - "KW_CATALOGS", "KW_COLUMN", "KW_COLUMNS", "KW_COMMENT", "KW_COMMIT", - "KW_COMMITTED", "KW_CONSTRAINT", "KW_CREATE", "KW_CROSS", "KW_CUBE", - "KW_CURRENT", "KW_CURRENT_CATALOG", "KW_CURRENT_DATE", "KW_CURRENT_PATH", - "KW_CURRENT_ROLE", "KW_CURRENT_SCHEMA", "KW_CURRENT_TIME", "KW_CURRENT_TIMESTAMP", - "KW_CURRENT_USER", "KW_DATA", "KW_DATE", "KW_DAY", "KW_DEFAULT", - "KW_DEALLOCATE", "KW_DEFINER", "KW_DELETE", "KW_DESC", "KW_DESCRIBE", - "KW_DEFINE", "KW_DISTINCT", "KW_DISTRIBUTED", "KW_DOUBLE", "KW_DROP", - "KW_ELSE", "KW_EMPTY", "KW_END", "KW_ESCAPE", "KW_EXCEPT", "KW_EXCLUDING", + null, null, null, null, null, null, null, "KW_ABSENT", "KW_ADD", + "KW_ADMIN", "KW_AFTER", "KW_ALL", "KW_ALTER", "KW_ANALYZE", "KW_AND", + "KW_ANY", "KW_ARRAY", "KW_AS", "KW_ASC", "KW_AT", "KW_AUTHORIZATION", + "KW_BEGIN", "KW_BERNOULLI", "KW_BETWEEN", "KW_BOTH", "KW_BY", "KW_CALL", + "KW_CALLED", "KW_CASCADE", "KW_CASE", "KW_CAST", "KW_CATALOG", "KW_CATALOGS", + "KW_COLUMN", "KW_COLUMNS", "KW_COMMENT", "KW_COMMIT", "KW_COMMITTED", + "KW_CONDITIONAL", "KW_CONSTRAINT", "KW_COUNT", "KW_COPARTITION", + "KW_CREATE", "KW_CROSS", "KW_CUBE", "KW_CURRENT", "KW_CURRENT_CATALOG", + "KW_CURRENT_DATE", "KW_CURRENT_PATH", "KW_CURRENT_ROLE", "KW_CURRENT_SCHEMA", + "KW_CURRENT_TIME", "KW_CURRENT_TIMESTAMP", "KW_CURRENT_USER", "KW_DATA", + "KW_DATE", "KW_DAY", "KW_DEALLOCATE", "KW_DECLARE", "KW_DEFAULT", + "KW_DEFINE", "KW_DEFINER", "KW_DELETE", "KW_DENY", "KW_DESC", "KW_DESCRIBE", + "KW_DESCRIPTOR", "KW_DETERMINISTIC", "KW_DISTINCT", "KW_DISTRIBUTED", + "KW_DO", "KW_DOUBLE", "KW_DROP", "KW_ELSE", "KW_EMPTY", "KW_ELSEIF", + "KW_ENCODING", "KW_END", "KW_ERROR", "KW_ESCAPE", "KW_EXCEPT", "KW_EXCLUDING", "KW_EXECUTE", "KW_EXISTS", "KW_EXPLAIN", "KW_EXTRACT", "KW_FALSE", "KW_FETCH", "KW_FILTER", "KW_FINAL", "KW_FIRST", "KW_FOLLOWING", - "KW_FOR", "KW_FORMAT", "KW_FROM", "KW_FULL", "KW_FUNCTIONS", "KW_GRANT", - "KW_GRANTED", "KW_GRANTS", "KW_DENY", "KW_GRAPHVIZ", "KW_GROUP", - "KW_GROUPING", "KW_GROUPS", "KW_HAVING", "KW_HOUR", "KW_IF", "KW_IGNORE", - "KW_IN", "KW_INCLUDING", "KW_INITIAL", "KW_INNER", "KW_INPUT", "KW_INSERT", - "KW_INTERSECT", "KW_INTERVAL", "KW_INTO", "KW_INVOKER", "KW_IO", - "KW_IS", "KW_ISOLATION", "KW_JOIN", "KW_JSON", "KW_LAST", "KW_LATERAL", - "KW_LEFT", "KW_LEVEL", "KW_LIKE", "KW_LIMIT", "KW_LOCAL", "KW_LOCALTIME", - "KW_LOCALTIMESTAMP", "KW_LOGICAL", "KW_MAP", "KW_MATCH", "KW_MATCHED", - "KW_MATCHES", "KW_MATCH_RECOGNIZE", "KW_MATERIALIZED", "KW_MEASURES", - "KW_MERGE", "KW_MINUTE", "KW_MONTH", "KW_NATURAL", "KW_NEXT", "KW_NFC", - "KW_NFD", "KW_NFKC", "KW_NFKD", "KW_NO", "KW_NONE", "KW_NORMALIZE", - "KW_NOT", "KW_NULL", "KW_NULLIF", "KW_NULLS", "KW_OFFSET", "KW_OMIT", + "KW_FOR", "KW_FORMAT", "KW_FROM", "KW_FULL", "KW_FUNCTION", "KW_FUNCTIONS", + "KW_GRACE", "KW_GRANT", "KW_GRANTED", "KW_GRANTS", "KW_GRAPHVIZ", + "KW_GROUP", "KW_GROUPING", "KW_GROUPS", "KW_HAVING", "KW_HOUR", + "KW_IF", "KW_IGNORE", "KW_IMMEDIATE", "KW_IN", "KW_INCLUDING", "KW_INITIAL", + "KW_INNER", "KW_INPUT", "KW_INSERT", "KW_INTERSECT", "KW_INTERVAL", + "KW_INTO", "KW_INVOKER", "KW_IO", "KW_IS", "KW_ISOLATION", "KW_ITERATE", + "KW_JOIN", "KW_JSON", "KW_JSON_ARRAY", "KW_JSON_EXISTS", "KW_JSON_OBJECT", + "KW_JSON_QUERY", "KW_JSON_TABLE", "KW_JSON_VALUE", "KW_KEEP", "KW_KEY", + "KW_KEYS", "KW_LANGUAGE", "KW_LAST", "KW_LATERAL", "KW_LEADING", + "KW_LEAVE", "KW_LEFT", "KW_LEVEL", "KW_LIKE", "KW_LIMIT", "KW_LISTAGG", + "KW_LOCAL", "KW_LOCALTIME", "KW_LOCALTIMESTAMP", "KW_LOGICAL", "KW_LOOP", + "KW_MAP", "KW_MATCH", "KW_MATCHED", "KW_MATCHES", "KW_MATCH_RECOGNIZE", + "KW_MATERIALIZED", "KW_MEASURES", "KW_MERGE", "KW_MINUTE", "KW_MONTH", + "KW_NATURAL", "KW_NESTED", "KW_NEXT", "KW_NFC", "KW_NFD", "KW_NFKC", + "KW_NFKD", "KW_NO", "KW_NONE", "KW_NORMALIZE", "KW_NOT", "KW_NULL", + "KW_NULLIF", "KW_NULLS", "KW_OBJECT", "KW_OF", "KW_OFFSET", "KW_OMIT", "KW_ON", "KW_ONE", "KW_ONLY", "KW_OPTION", "KW_OR", "KW_ORDER", - "KW_ORDINALITY", "KW_OUTER", "KW_OUTPUT", "KW_OVER", "KW_PARTITION", - "KW_PARTITIONS", "KW_PAST", "KW_PATH", "KW_PATTERN", "KW_PER", "KW_PERMUTE", - "KW_POSITION", "KW_PRECEDING", "KW_PRECISION", "KW_PREPARE", "KW_PRIVILEGES", - "KW_PROPERTIES", "KW_RANGE", "KW_READ", "KW_RECURSIVE", "KW_REFRESH", - "KW_RENAME", "KW_REPEATABLE", "KW_REPLACE", "KW_RESET", "KW_RESPECT", - "KW_RESTRICT", "KW_REVOKE", "KW_RIGHT", "KW_ROLE", "KW_ROLES", "KW_ROLLBACK", - "KW_ROLLUP", "KW_ROW", "KW_ROWS", "KW_RUNNING", "KW_SCHEMA", "KW_SCHEMAS", - "KW_SECOND", "KW_SECURITY", "KW_SEEK", "KW_SELECT", "KW_SERIALIZABLE", - "KW_SESSION", "KW_SET", "KW_SETS", "KW_SHOW", "KW_SOME", "KW_START", - "KW_STATS", "KW_SUBSET", "KW_SUBSTRING", "KW_SYSTEM", "KW_TABLE", - "KW_TABLES", "KW_TABLESAMPLE", "KW_TEXT", "KW_THEN", "KW_TIES", - "KW_TIME", "KW_TIMESTAMP", "KW_TO", "KW_TRANSACTION", "KW_TRUNCATE", - "KW_TRUE", "KW_TRY_CAST", "KW_TYPE", "KW_UESCAPE", "KW_UNBOUNDED", - "KW_UNCOMMITTED", "KW_UNION", "KW_UNMATCHED", "KW_UNNEST", "KW_UPDATE", - "KW_USE", "KW_USER", "KW_USING", "KW_VALIDATE", "KW_VALUES", "KW_VERBOSE", - "KW_VIEW", "KW_WHEN", "KW_WHERE", "KW_WINDOW", "KW_WITH", "KW_WITHOUT", - "KW_WORK", "KW_WRITE", "KW_YEAR", "KW_ZONE", "EQ", "NEQ", "LT", - "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", "SLASH", "PERCENT", - "CONCAT", "QUESTION_MARK", "STRING", "UNICODE_STRING", "BINARY_LITERAL", - "INTEGER_VALUE", "DECIMAL_VALUE", "DOUBLE_VALUE", "IDENTIFIER", - "DIGIT_IDENTIFIER", "QUOTED_IDENTIFIER", "BACKQUOTED_IDENTIFIER", - "SEMICOLON", "SIMPLE_COMMENT", "BRACKETED_COMMENT", "WS", "UNRECOGNIZED" + "KW_ORDINALITY", "KW_OUTER", "KW_OUTPUT", "KW_OVER", "KW_OVERFLOW", + "KW_PARTITION", "KW_PARTITIONS", "KW_PASSING", "KW_PAST", "KW_PATH", + "KW_PATTERN", "KW_PER", "KW_PERIOD", "KW_PERMUTE", "KW_PLAN", "KW_POSITION", + "KW_PRECEDING", "KW_PRECISION", "KW_PREPARE", "KW_PRIVILEGES", "KW_PROPERTIES", + "KW_PRUNE", "KW_QUOTES", "KW_RANGE", "KW_READ", "KW_RECURSIVE", + "KW_REFRESH", "KW_RENAME", "KW_REPEAT", "KW_REPEATABLE", "KW_REPLACE", + "KW_RESET", "KW_RESPECT", "KW_RESTRICT", "KW_RETURN", "KW_RETURNING", + "KW_RETURNS", "KW_REVOKE", "KW_RIGHT", "KW_ROLE", "KW_ROLES", "KW_ROLLBACK", + "KW_ROLLUP", "KW_ROW", "KW_ROWS", "KW_RUNNING", "KW_SCALAR", "KW_SCHEMA", + "KW_SCHEMAS", "KW_SECOND", "KW_SECURITY", "KW_SEEK", "KW_SELECT", + "KW_SERIALIZABLE", "KW_SESSION", "KW_SET", "KW_SETS", "KW_SHOW", + "KW_SOME", "KW_START", "KW_STATS", "KW_SUBSET", "KW_SUBSTRING", + "KW_SYSTEM", "KW_TABLE", "KW_TABLES", "KW_TABLESAMPLE", "KW_TEXT", + "KW_TEXT_STRING", "KW_THEN", "KW_TIES", "KW_TIME", "KW_TIMESTAMP", + "KW_TO", "KW_TRAILING", "KW_TRANSACTION", "KW_TRIM", "KW_TRUE", + "KW_TRUNCATE", "KW_TRY_CAST", "KW_TYPE", "KW_UESCAPE", "KW_UNBOUNDED", + "KW_UNCOMMITTED", "KW_UNCONDITIONAL", "KW_UNION", "KW_UNIQUE", "KW_UNKNOWN", + "KW_UNMATCHED", "KW_UNNEST", "KW_UNTIL", "KW_UPDATE", "KW_USE", + "KW_USER", "KW_USING", "KW_UTF16", "KW_UTF32", "KW_UTF8", "KW_VALIDATE", + "KW_VALUE", "KW_VALUES", "KW_VERBOSE", "KW_VERSION", "KW_VIEW", + "KW_WHEN", "KW_WHERE", "KW_WHILE", "KW_WINDOW", "KW_WITH", "KW_WITHIN", + "KW_WITHOUT", "KW_WORK", "KW_WRAPPER", "KW_WRITE", "KW_YEAR", "KW_ZONE", + "EQ", "NEQ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", + "SLASH", "PERCENT", "CONCAT", "QUESTION_MARK", "SEMICOLON", "STRING", + "UNICODE_STRING", "BINARY_LITERAL", "INTEGER_VALUE", "DECIMAL_VALUE", + "DOUBLE_VALUE", "IDENTIFIER", "DIGIT_IDENTIFIER", "QUOTED_IDENTIFIER", + "BACKQUOTED_IDENTIFIER", "SIMPLE_COMMENT", "BRACKETED_COMMENT", + "WS", "UNRECOGNIZED" ]; public static readonly modeNames = [ @@ -399,55 +485,69 @@ export class TrinoSqlLexer extends antlr.Lexer { public static readonly ruleNames = [ "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8", "T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", - "KW_ADD", "KW_ADMIN", "KW_AFTER", "KW_ALL", "KW_ALTER", "KW_ANALYZE", - "KW_AND", "KW_ANY", "KW_ARRAY", "KW_AS", "KW_ASC", "KW_AT", "KW_AUTHORIZATION", - "KW_BERNOULLI", "KW_BETWEEN", "KW_BY", "KW_CALL", "KW_CASCADE", - "KW_CASE", "KW_CAST", "KW_CATALOGS", "KW_COLUMN", "KW_COLUMNS", - "KW_COMMENT", "KW_COMMIT", "KW_COMMITTED", "KW_CONSTRAINT", "KW_CREATE", - "KW_CROSS", "KW_CUBE", "KW_CURRENT", "KW_CURRENT_CATALOG", "KW_CURRENT_DATE", + "T__16", "KW_ABSENT", "KW_ADD", "KW_ADMIN", "KW_AFTER", "KW_ALL", + "KW_ALTER", "KW_ANALYZE", "KW_AND", "KW_ANY", "KW_ARRAY", "KW_AS", + "KW_ASC", "KW_AT", "KW_AUTHORIZATION", "KW_BEGIN", "KW_BERNOULLI", + "KW_BETWEEN", "KW_BOTH", "KW_BY", "KW_CALL", "KW_CALLED", "KW_CASCADE", + "KW_CASE", "KW_CAST", "KW_CATALOG", "KW_CATALOGS", "KW_COLUMN", + "KW_COLUMNS", "KW_COMMENT", "KW_COMMIT", "KW_COMMITTED", "KW_CONDITIONAL", + "KW_CONSTRAINT", "KW_COUNT", "KW_COPARTITION", "KW_CREATE", "KW_CROSS", + "KW_CUBE", "KW_CURRENT", "KW_CURRENT_CATALOG", "KW_CURRENT_DATE", "KW_CURRENT_PATH", "KW_CURRENT_ROLE", "KW_CURRENT_SCHEMA", "KW_CURRENT_TIME", "KW_CURRENT_TIMESTAMP", "KW_CURRENT_USER", "KW_DATA", "KW_DATE", - "KW_DAY", "KW_DEFAULT", "KW_DEALLOCATE", "KW_DEFINER", "KW_DELETE", - "KW_DESC", "KW_DESCRIBE", "KW_DEFINE", "KW_DISTINCT", "KW_DISTRIBUTED", - "KW_DOUBLE", "KW_DROP", "KW_ELSE", "KW_EMPTY", "KW_END", "KW_ESCAPE", - "KW_EXCEPT", "KW_EXCLUDING", "KW_EXECUTE", "KW_EXISTS", "KW_EXPLAIN", - "KW_EXTRACT", "KW_FALSE", "KW_FETCH", "KW_FILTER", "KW_FINAL", "KW_FIRST", - "KW_FOLLOWING", "KW_FOR", "KW_FORMAT", "KW_FROM", "KW_FULL", "KW_FUNCTIONS", - "KW_GRANT", "KW_GRANTED", "KW_GRANTS", "KW_DENY", "KW_GRAPHVIZ", + "KW_DAY", "KW_DEALLOCATE", "KW_DECLARE", "KW_DEFAULT", "KW_DEFINE", + "KW_DEFINER", "KW_DELETE", "KW_DENY", "KW_DESC", "KW_DESCRIBE", + "KW_DESCRIPTOR", "KW_DETERMINISTIC", "KW_DISTINCT", "KW_DISTRIBUTED", + "KW_DO", "KW_DOUBLE", "KW_DROP", "KW_ELSE", "KW_EMPTY", "KW_ELSEIF", + "KW_ENCODING", "KW_END", "KW_ERROR", "KW_ESCAPE", "KW_EXCEPT", "KW_EXCLUDING", + "KW_EXECUTE", "KW_EXISTS", "KW_EXPLAIN", "KW_EXTRACT", "KW_FALSE", + "KW_FETCH", "KW_FILTER", "KW_FINAL", "KW_FIRST", "KW_FOLLOWING", + "KW_FOR", "KW_FORMAT", "KW_FROM", "KW_FULL", "KW_FUNCTION", "KW_FUNCTIONS", + "KW_GRACE", "KW_GRANT", "KW_GRANTED", "KW_GRANTS", "KW_GRAPHVIZ", "KW_GROUP", "KW_GROUPING", "KW_GROUPS", "KW_HAVING", "KW_HOUR", - "KW_IF", "KW_IGNORE", "KW_IN", "KW_INCLUDING", "KW_INITIAL", "KW_INNER", - "KW_INPUT", "KW_INSERT", "KW_INTERSECT", "KW_INTERVAL", "KW_INTO", - "KW_INVOKER", "KW_IO", "KW_IS", "KW_ISOLATION", "KW_JOIN", "KW_JSON", - "KW_LAST", "KW_LATERAL", "KW_LEFT", "KW_LEVEL", "KW_LIKE", "KW_LIMIT", - "KW_LOCAL", "KW_LOCALTIME", "KW_LOCALTIMESTAMP", "KW_LOGICAL", "KW_MAP", - "KW_MATCH", "KW_MATCHED", "KW_MATCHES", "KW_MATCH_RECOGNIZE", "KW_MATERIALIZED", - "KW_MEASURES", "KW_MERGE", "KW_MINUTE", "KW_MONTH", "KW_NATURAL", - "KW_NEXT", "KW_NFC", "KW_NFD", "KW_NFKC", "KW_NFKD", "KW_NO", "KW_NONE", - "KW_NORMALIZE", "KW_NOT", "KW_NULL", "KW_NULLIF", "KW_NULLS", "KW_OFFSET", - "KW_OMIT", "KW_ON", "KW_ONE", "KW_ONLY", "KW_OPTION", "KW_OR", "KW_ORDER", - "KW_ORDINALITY", "KW_OUTER", "KW_OUTPUT", "KW_OVER", "KW_PARTITION", - "KW_PARTITIONS", "KW_PAST", "KW_PATH", "KW_PATTERN", "KW_PER", "KW_PERMUTE", - "KW_POSITION", "KW_PRECEDING", "KW_PRECISION", "KW_PREPARE", "KW_PRIVILEGES", - "KW_PROPERTIES", "KW_RANGE", "KW_READ", "KW_RECURSIVE", "KW_REFRESH", - "KW_RENAME", "KW_REPEATABLE", "KW_REPLACE", "KW_RESET", "KW_RESPECT", - "KW_RESTRICT", "KW_REVOKE", "KW_RIGHT", "KW_ROLE", "KW_ROLES", "KW_ROLLBACK", - "KW_ROLLUP", "KW_ROW", "KW_ROWS", "KW_RUNNING", "KW_SCHEMA", "KW_SCHEMAS", - "KW_SECOND", "KW_SECURITY", "KW_SEEK", "KW_SELECT", "KW_SERIALIZABLE", - "KW_SESSION", "KW_SET", "KW_SETS", "KW_SHOW", "KW_SOME", "KW_START", - "KW_STATS", "KW_SUBSET", "KW_SUBSTRING", "KW_SYSTEM", "KW_TABLE", - "KW_TABLES", "KW_TABLESAMPLE", "KW_TEXT", "KW_THEN", "KW_TIES", - "KW_TIME", "KW_TIMESTAMP", "KW_TO", "KW_TRANSACTION", "KW_TRUNCATE", - "KW_TRUE", "KW_TRY_CAST", "KW_TYPE", "KW_UESCAPE", "KW_UNBOUNDED", - "KW_UNCOMMITTED", "KW_UNION", "KW_UNMATCHED", "KW_UNNEST", "KW_UPDATE", - "KW_USE", "KW_USER", "KW_USING", "KW_VALIDATE", "KW_VALUES", "KW_VERBOSE", - "KW_VIEW", "KW_WHEN", "KW_WHERE", "KW_WINDOW", "KW_WITH", "KW_WITHOUT", - "KW_WORK", "KW_WRITE", "KW_YEAR", "KW_ZONE", "EQ", "NEQ", "LT", - "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", "SLASH", "PERCENT", - "CONCAT", "QUESTION_MARK", "STRING", "UNICODE_STRING", "BINARY_LITERAL", - "INTEGER_VALUE", "DECIMAL_VALUE", "DOUBLE_VALUE", "IDENTIFIER", - "DIGIT_IDENTIFIER", "QUOTED_IDENTIFIER", "BACKQUOTED_IDENTIFIER", - "SEMICOLON", "EXPONENT", "DIGIT", "LETTER", "SIMPLE_COMMENT", "BRACKETED_COMMENT", - "WS", "UNRECOGNIZED", + "KW_IF", "KW_IGNORE", "KW_IMMEDIATE", "KW_IN", "KW_INCLUDING", "KW_INITIAL", + "KW_INNER", "KW_INPUT", "KW_INSERT", "KW_INTERSECT", "KW_INTERVAL", + "KW_INTO", "KW_INVOKER", "KW_IO", "KW_IS", "KW_ISOLATION", "KW_ITERATE", + "KW_JOIN", "KW_JSON", "KW_JSON_ARRAY", "KW_JSON_EXISTS", "KW_JSON_OBJECT", + "KW_JSON_QUERY", "KW_JSON_TABLE", "KW_JSON_VALUE", "KW_KEEP", "KW_KEY", + "KW_KEYS", "KW_LANGUAGE", "KW_LAST", "KW_LATERAL", "KW_LEADING", + "KW_LEAVE", "KW_LEFT", "KW_LEVEL", "KW_LIKE", "KW_LIMIT", "KW_LISTAGG", + "KW_LOCAL", "KW_LOCALTIME", "KW_LOCALTIMESTAMP", "KW_LOGICAL", "KW_LOOP", + "KW_MAP", "KW_MATCH", "KW_MATCHED", "KW_MATCHES", "KW_MATCH_RECOGNIZE", + "KW_MATERIALIZED", "KW_MEASURES", "KW_MERGE", "KW_MINUTE", "KW_MONTH", + "KW_NATURAL", "KW_NESTED", "KW_NEXT", "KW_NFC", "KW_NFD", "KW_NFKC", + "KW_NFKD", "KW_NO", "KW_NONE", "KW_NORMALIZE", "KW_NOT", "KW_NULL", + "KW_NULLIF", "KW_NULLS", "KW_OBJECT", "KW_OF", "KW_OFFSET", "KW_OMIT", + "KW_ON", "KW_ONE", "KW_ONLY", "KW_OPTION", "KW_OR", "KW_ORDER", + "KW_ORDINALITY", "KW_OUTER", "KW_OUTPUT", "KW_OVER", "KW_OVERFLOW", + "KW_PARTITION", "KW_PARTITIONS", "KW_PASSING", "KW_PAST", "KW_PATH", + "KW_PATTERN", "KW_PER", "KW_PERIOD", "KW_PERMUTE", "KW_PLAN", "KW_POSITION", + "KW_PRECEDING", "KW_PRECISION", "KW_PREPARE", "KW_PRIVILEGES", "KW_PROPERTIES", + "KW_PRUNE", "KW_QUOTES", "KW_RANGE", "KW_READ", "KW_RECURSIVE", + "KW_REFRESH", "KW_RENAME", "KW_REPEAT", "KW_REPEATABLE", "KW_REPLACE", + "KW_RESET", "KW_RESPECT", "KW_RESTRICT", "KW_RETURN", "KW_RETURNING", + "KW_RETURNS", "KW_REVOKE", "KW_RIGHT", "KW_ROLE", "KW_ROLES", "KW_ROLLBACK", + "KW_ROLLUP", "KW_ROW", "KW_ROWS", "KW_RUNNING", "KW_SCALAR", "KW_SCHEMA", + "KW_SCHEMAS", "KW_SECOND", "KW_SECURITY", "KW_SEEK", "KW_SELECT", + "KW_SERIALIZABLE", "KW_SESSION", "KW_SET", "KW_SETS", "KW_SHOW", + "KW_SOME", "KW_START", "KW_STATS", "KW_SUBSET", "KW_SUBSTRING", + "KW_SYSTEM", "KW_TABLE", "KW_TABLES", "KW_TABLESAMPLE", "KW_TEXT", + "KW_TEXT_STRING", "KW_THEN", "KW_TIES", "KW_TIME", "KW_TIMESTAMP", + "KW_TO", "KW_TRAILING", "KW_TRANSACTION", "KW_TRIM", "KW_TRUE", + "KW_TRUNCATE", "KW_TRY_CAST", "KW_TYPE", "KW_UESCAPE", "KW_UNBOUNDED", + "KW_UNCOMMITTED", "KW_UNCONDITIONAL", "KW_UNION", "KW_UNIQUE", "KW_UNKNOWN", + "KW_UNMATCHED", "KW_UNNEST", "KW_UNTIL", "KW_UPDATE", "KW_USE", + "KW_USER", "KW_USING", "KW_UTF16", "KW_UTF32", "KW_UTF8", "KW_VALIDATE", + "KW_VALUE", "KW_VALUES", "KW_VERBOSE", "KW_VERSION", "KW_VIEW", + "KW_WHEN", "KW_WHERE", "KW_WHILE", "KW_WINDOW", "KW_WITH", "KW_WITHIN", + "KW_WITHOUT", "KW_WORK", "KW_WRAPPER", "KW_WRITE", "KW_YEAR", "KW_ZONE", + "EQ", "NEQ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", + "SLASH", "PERCENT", "CONCAT", "QUESTION_MARK", "SEMICOLON", "STRING", + "UNICODE_STRING", "BINARY_LITERAL", "INTEGER_VALUE", "DECIMAL_VALUE", + "DOUBLE_VALUE", "IDENTIFIER", "DIGIT_IDENTIFIER", "QUOTED_IDENTIFIER", + "BACKQUOTED_IDENTIFIER", "DECIMAL_INTEGER", "HEXADECIMAL_INTEGER", + "OCTAL_INTEGER", "BINARY_INTEGER", "EXPONENT", "DIGIT", "LETTER", + "SIMPLE_COMMENT", "BRACKETED_COMMENT", "WS", "UNRECOGNIZED", ]; @@ -469,7 +569,7 @@ export class TrinoSqlLexer extends antlr.Lexer { public get modeNames(): string[] { return TrinoSqlLexer.modeNames; } public static readonly _serializedATN: number[] = [ - 4,0,276,2467,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7, + 4,0,339,3117,6,-1,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, @@ -516,877 +616,1124 @@ export class TrinoSqlLexer extends antlr.Lexer { 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, 7,268,2,269,7,269,2,270,7,270,2,271,7,271,2,272,7,272,2,273,7,273, - 2,274,7,274,2,275,7,275,2,276,7,276,2,277,7,277,2,278,7,278,1,0, - 1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,6, - 1,6,1,7,1,7,1,8,1,8,1,9,1,9,1,10,1,10,1,11,1,11,1,11,1,12,1,12,1, - 12,1,13,1,13,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,16,1,16,1,17,1, - 17,1,17,1,17,1,17,1,17,1,18,1,18,1,18,1,18,1,18,1,18,1,19,1,19,1, - 19,1,19,1,20,1,20,1,20,1,20,1,20,1,20,1,21,1,21,1,21,1,21,1,21,1, - 21,1,21,1,21,1,22,1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,24,1,24,1, - 24,1,24,1,24,1,24,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,27,1,27,1, - 27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1, - 28,1,28,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,30,1, - 30,1,30,1,30,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,32,1,32,1,32,1, - 32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1, - 34,1,34,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1, - 36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1, - 38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1, - 40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,41,1,41,1, - 41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1, - 42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1, - 44,1,44,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,46,1,46,1, - 46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1, - 47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1, - 48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1, - 49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1, + 2,274,7,274,2,275,7,275,2,276,7,276,2,277,7,277,2,278,7,278,2,279, + 7,279,2,280,7,280,2,281,7,281,2,282,7,282,2,283,7,283,2,284,7,284, + 2,285,7,285,2,286,7,286,2,287,7,287,2,288,7,288,2,289,7,289,2,290, + 7,290,2,291,7,291,2,292,7,292,2,293,7,293,2,294,7,294,2,295,7,295, + 2,296,7,296,2,297,7,297,2,298,7,298,2,299,7,299,2,300,7,300,2,301, + 7,301,2,302,7,302,2,303,7,303,2,304,7,304,2,305,7,305,2,306,7,306, + 2,307,7,307,2,308,7,308,2,309,7,309,2,310,7,310,2,311,7,311,2,312, + 7,312,2,313,7,313,2,314,7,314,2,315,7,315,2,316,7,316,2,317,7,317, + 2,318,7,318,2,319,7,319,2,320,7,320,2,321,7,321,2,322,7,322,2,323, + 7,323,2,324,7,324,2,325,7,325,2,326,7,326,2,327,7,327,2,328,7,328, + 2,329,7,329,2,330,7,330,2,331,7,331,2,332,7,332,2,333,7,333,2,334, + 7,334,2,335,7,335,2,336,7,336,2,337,7,337,2,338,7,338,2,339,7,339, + 2,340,7,340,2,341,7,341,2,342,7,342,2,343,7,343,2,344,7,344,2,345, + 7,345,1,0,1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,5,1, + 5,1,5,1,6,1,6,1,6,1,7,1,7,1,8,1,8,1,9,1,9,1,10,1,10,1,11,1,11,1, + 12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,16,1,16,1,17,1, + 17,1,17,1,17,1,17,1,17,1,17,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1, + 19,1,19,1,19,1,20,1,20,1,20,1,20,1,20,1,20,1,21,1,21,1,21,1,21,1, + 22,1,22,1,22,1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1, + 23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1, + 26,1,26,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1,30,1, + 30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1, + 31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1, + 32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1, + 34,1,34,1,34,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1, + 37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1, + 39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1, + 41,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1, + 42,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1, + 44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1, + 46,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1, + 47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1, + 48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,50,1, 50,1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1, - 51,1,51,1,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,1, - 52,1,52,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53,1, - 53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,54,1, - 54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,55,1, - 55,1,55,1,55,1,55,1,56,1,56,1,56,1,56,1,56,1,57,1,57,1,57,1,57,1, - 58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,1,59,1, - 59,1,59,1,59,1,59,1,59,1,59,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1, - 60,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,62,1,62,1,62,1,62,1,62,1, - 63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,64,1,64,1,64,1,64,1, - 64,1,64,1,64,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,66,1, - 66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,67,1,67,1, - 67,1,67,1,67,1,67,1,67,1,68,1,68,1,68,1,68,1,68,1,69,1,69,1,69,1, - 69,1,69,1,70,1,70,1,70,1,70,1,70,1,70,1,71,1,71,1,71,1,71,1,72,1, - 72,1,72,1,72,1,72,1,72,1,72,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1, - 74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,75,1,75,1,75,1, - 75,1,75,1,75,1,75,1,75,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,77,1, - 77,1,77,1,77,1,77,1,77,1,77,1,77,1,78,1,78,1,78,1,78,1,78,1,78,1, - 78,1,78,1,79,1,79,1,79,1,79,1,79,1,79,1,80,1,80,1,80,1,80,1,80,1, - 80,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,82,1,82,1,82,1,82,1,82,1, - 82,1,83,1,83,1,83,1,83,1,83,1,83,1,84,1,84,1,84,1,84,1,84,1,84,1, - 84,1,84,1,84,1,84,1,85,1,85,1,85,1,85,1,86,1,86,1,86,1,86,1,86,1, - 86,1,86,1,87,1,87,1,87,1,87,1,87,1,88,1,88,1,88,1,88,1,88,1,89,1, - 89,1,89,1,89,1,89,1,89,1,89,1,89,1,89,1,89,1,90,1,90,1,90,1,90,1, - 90,1,90,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,92,1,92,1,92,1, - 92,1,92,1,92,1,92,1,93,1,93,1,93,1,93,1,93,1,94,1,94,1,94,1,94,1, - 94,1,94,1,94,1,94,1,94,1,95,1,95,1,95,1,95,1,95,1,95,1,96,1,96,1, - 96,1,96,1,96,1,96,1,96,1,96,1,96,1,97,1,97,1,97,1,97,1,97,1,97,1, + 51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1, + 53,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,54,1,55,1,55,1,55,1,55,1, + 55,1,55,1,55,1,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1, + 56,1,56,1,56,1,56,1,56,1,56,1,56,1,57,1,57,1,57,1,57,1,57,1,57,1, + 57,1,57,1,57,1,57,1,57,1,57,1,57,1,58,1,58,1,58,1,58,1,58,1,58,1, + 58,1,58,1,58,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,1,59,1,59,1, + 59,1,59,1,59,1,59,1,59,1,59,1,59,1,60,1,60,1,60,1,60,1,60,1,60,1, + 60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,61,1,61,1,61,1,61,1, + 61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,62,1,62,1,62,1,62,1, + 62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1, + 62,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1, + 63,1,64,1,64,1,64,1,64,1,64,1,65,1,65,1,65,1,65,1,65,1,66,1,66,1, + 66,1,66,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1, + 68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,69,1,69,1,69,1,69,1,69,1, + 69,1,69,1,69,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,71,1,71,1,71,1, + 71,1,71,1,71,1,71,1,71,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,73,1, + 73,1,73,1,73,1,73,1,74,1,74,1,74,1,74,1,74,1,75,1,75,1,75,1,75,1, + 75,1,75,1,75,1,75,1,75,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1, + 76,1,76,1,76,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1, + 77,1,77,1,77,1,77,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1,78,1, + 79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,80,1, + 80,1,80,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,82,1,82,1,82,1,82,1, + 82,1,83,1,83,1,83,1,83,1,83,1,84,1,84,1,84,1,84,1,84,1,84,1,85,1, + 85,1,85,1,85,1,85,1,85,1,85,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1, + 86,1,86,1,87,1,87,1,87,1,87,1,88,1,88,1,88,1,88,1,88,1,88,1,89,1, + 89,1,89,1,89,1,89,1,89,1,89,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1, + 91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,92,1,92,1,92,1, + 92,1,92,1,92,1,92,1,92,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,94,1, + 94,1,94,1,94,1,94,1,94,1,94,1,94,1,95,1,95,1,95,1,95,1,95,1,95,1, + 95,1,95,1,96,1,96,1,96,1,96,1,96,1,96,1,97,1,97,1,97,1,97,1,97,1, 97,1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,99,1,99,1,99,1,99,1,99,1, - 100,1,100,1,100,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,102, - 1,102,1,102,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103, - 1,103,1,104,1,104,1,104,1,104,1,104,1,104,1,104,1,104,1,105,1,105, - 1,105,1,105,1,105,1,105,1,106,1,106,1,106,1,106,1,106,1,106,1,107, - 1,107,1,107,1,107,1,107,1,107,1,107,1,108,1,108,1,108,1,108,1,108, - 1,108,1,108,1,108,1,108,1,108,1,109,1,109,1,109,1,109,1,109,1,109, - 1,109,1,109,1,109,1,110,1,110,1,110,1,110,1,110,1,111,1,111,1,111, - 1,111,1,111,1,111,1,111,1,111,1,112,1,112,1,112,1,113,1,113,1,113, - 1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,115, - 1,115,1,115,1,115,1,115,1,116,1,116,1,116,1,116,1,116,1,117,1,117, - 1,117,1,117,1,117,1,118,1,118,1,118,1,118,1,118,1,118,1,118,1,118, + 99,1,100,1,100,1,100,1,100,1,100,1,100,1,101,1,101,1,101,1,101,1, + 101,1,101,1,101,1,101,1,101,1,101,1,102,1,102,1,102,1,102,1,103, + 1,103,1,103,1,103,1,103,1,103,1,103,1,104,1,104,1,104,1,104,1,104, + 1,105,1,105,1,105,1,105,1,105,1,106,1,106,1,106,1,106,1,106,1,106, + 1,106,1,106,1,106,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, + 1,107,1,107,1,108,1,108,1,108,1,108,1,108,1,108,1,109,1,109,1,109, + 1,109,1,109,1,109,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110, + 1,111,1,111,1,111,1,111,1,111,1,111,1,111,1,112,1,112,1,112,1,112, + 1,112,1,112,1,112,1,112,1,112,1,113,1,113,1,113,1,113,1,113,1,113, + 1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,115,1,115, + 1,115,1,115,1,115,1,115,1,115,1,116,1,116,1,116,1,116,1,116,1,116, + 1,116,1,117,1,117,1,117,1,117,1,117,1,118,1,118,1,118,1,119,1,119, 1,119,1,119,1,119,1,119,1,119,1,120,1,120,1,120,1,120,1,120,1,120, - 1,121,1,121,1,121,1,121,1,121,1,122,1,122,1,122,1,122,1,122,1,122, - 1,123,1,123,1,123,1,123,1,123,1,123,1,124,1,124,1,124,1,124,1,124, - 1,124,1,124,1,124,1,124,1,124,1,125,1,125,1,125,1,125,1,125,1,125, - 1,125,1,125,1,125,1,125,1,125,1,125,1,125,1,125,1,125,1,126,1,126, - 1,126,1,126,1,126,1,126,1,126,1,126,1,127,1,127,1,127,1,127,1,128, - 1,128,1,128,1,128,1,128,1,128,1,129,1,129,1,129,1,129,1,129,1,129, + 1,120,1,120,1,120,1,120,1,121,1,121,1,121,1,122,1,122,1,122,1,122, + 1,122,1,122,1,122,1,122,1,122,1,122,1,123,1,123,1,123,1,123,1,123, + 1,123,1,123,1,123,1,124,1,124,1,124,1,124,1,124,1,124,1,125,1,125, + 1,125,1,125,1,125,1,125,1,126,1,126,1,126,1,126,1,126,1,126,1,126, + 1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,128, + 1,128,1,128,1,128,1,128,1,128,1,128,1,128,1,128,1,129,1,129,1,129, 1,129,1,129,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,131, - 1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131, - 1,131,1,131,1,131,1,131,1,132,1,132,1,132,1,132,1,132,1,132,1,132, - 1,132,1,132,1,132,1,132,1,132,1,132,1,133,1,133,1,133,1,133,1,133, - 1,133,1,133,1,133,1,133,1,134,1,134,1,134,1,134,1,134,1,134,1,135, - 1,135,1,135,1,135,1,135,1,135,1,135,1,136,1,136,1,136,1,136,1,136, - 1,136,1,137,1,137,1,137,1,137,1,137,1,137,1,137,1,137,1,138,1,138, - 1,138,1,138,1,138,1,139,1,139,1,139,1,139,1,140,1,140,1,140,1,140, - 1,141,1,141,1,141,1,141,1,141,1,142,1,142,1,142,1,142,1,142,1,143, - 1,143,1,143,1,144,1,144,1,144,1,144,1,144,1,145,1,145,1,145,1,145, - 1,145,1,145,1,145,1,145,1,145,1,145,1,146,1,146,1,146,1,146,1,147, - 1,147,1,147,1,147,1,147,1,148,1,148,1,148,1,148,1,148,1,148,1,148, - 1,149,1,149,1,149,1,149,1,149,1,149,1,150,1,150,1,150,1,150,1,150, - 1,150,1,150,1,151,1,151,1,151,1,151,1,151,1,152,1,152,1,152,1,153, - 1,153,1,153,1,153,1,154,1,154,1,154,1,154,1,154,1,155,1,155,1,155, - 1,155,1,155,1,155,1,155,1,156,1,156,1,156,1,157,1,157,1,157,1,157, - 1,157,1,157,1,158,1,158,1,158,1,158,1,158,1,158,1,158,1,158,1,158, - 1,158,1,158,1,159,1,159,1,159,1,159,1,159,1,159,1,160,1,160,1,160, - 1,160,1,160,1,160,1,160,1,161,1,161,1,161,1,161,1,161,1,162,1,162, - 1,162,1,162,1,162,1,162,1,162,1,162,1,162,1,162,1,163,1,163,1,163, - 1,163,1,163,1,163,1,163,1,163,1,163,1,163,1,163,1,164,1,164,1,164, - 1,164,1,164,1,165,1,165,1,165,1,165,1,165,1,166,1,166,1,166,1,166, - 1,166,1,166,1,166,1,166,1,167,1,167,1,167,1,167,1,168,1,168,1,168, - 1,168,1,168,1,168,1,168,1,168,1,169,1,169,1,169,1,169,1,169,1,169, - 1,169,1,169,1,169,1,170,1,170,1,170,1,170,1,170,1,170,1,170,1,170, - 1,170,1,170,1,171,1,171,1,171,1,171,1,171,1,171,1,171,1,171,1,171, - 1,171,1,172,1,172,1,172,1,172,1,172,1,172,1,172,1,172,1,173,1,173, - 1,173,1,173,1,173,1,173,1,173,1,173,1,173,1,173,1,173,1,174,1,174, - 1,174,1,174,1,174,1,174,1,174,1,174,1,174,1,174,1,174,1,175,1,175, - 1,175,1,175,1,175,1,175,1,176,1,176,1,176,1,176,1,176,1,177,1,177, - 1,177,1,177,1,177,1,177,1,177,1,177,1,177,1,177,1,178,1,178,1,178, - 1,178,1,178,1,178,1,178,1,178,1,179,1,179,1,179,1,179,1,179,1,179, - 1,179,1,180,1,180,1,180,1,180,1,180,1,180,1,180,1,180,1,180,1,180, - 1,180,1,181,1,181,1,181,1,181,1,181,1,181,1,181,1,181,1,182,1,182, - 1,182,1,182,1,182,1,182,1,183,1,183,1,183,1,183,1,183,1,183,1,183, - 1,183,1,184,1,184,1,184,1,184,1,184,1,184,1,184,1,184,1,184,1,185, - 1,185,1,185,1,185,1,185,1,185,1,185,1,186,1,186,1,186,1,186,1,186, - 1,186,1,187,1,187,1,187,1,187,1,187,1,188,1,188,1,188,1,188,1,188, - 1,188,1,189,1,189,1,189,1,189,1,189,1,189,1,189,1,189,1,189,1,190, - 1,190,1,190,1,190,1,190,1,190,1,190,1,191,1,191,1,191,1,191,1,192, - 1,192,1,192,1,192,1,192,1,193,1,193,1,193,1,193,1,193,1,193,1,193, - 1,193,1,194,1,194,1,194,1,194,1,194,1,194,1,194,1,195,1,195,1,195, - 1,195,1,195,1,195,1,195,1,195,1,196,1,196,1,196,1,196,1,196,1,196, - 1,196,1,197,1,197,1,197,1,197,1,197,1,197,1,197,1,197,1,197,1,198, - 1,198,1,198,1,198,1,198,1,199,1,199,1,199,1,199,1,199,1,199,1,199, - 1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200, - 1,200,1,200,1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,202, - 1,202,1,202,1,202,1,203,1,203,1,203,1,203,1,203,1,204,1,204,1,204, - 1,204,1,204,1,205,1,205,1,205,1,205,1,205,1,206,1,206,1,206,1,206, - 1,206,1,206,1,207,1,207,1,207,1,207,1,207,1,207,1,208,1,208,1,208, - 1,208,1,208,1,208,1,208,1,209,1,209,1,209,1,209,1,209,1,209,1,209, - 1,209,1,209,1,209,1,210,1,210,1,210,1,210,1,210,1,210,1,210,1,211, - 1,211,1,211,1,211,1,211,1,211,1,212,1,212,1,212,1,212,1,212,1,212, - 1,212,1,213,1,213,1,213,1,213,1,213,1,213,1,213,1,213,1,213,1,213, - 1,213,1,213,1,214,1,214,1,214,1,214,1,214,1,215,1,215,1,215,1,215, - 1,215,1,216,1,216,1,216,1,216,1,216,1,217,1,217,1,217,1,217,1,217, - 1,218,1,218,1,218,1,218,1,218,1,218,1,218,1,218,1,218,1,218,1,219, - 1,219,1,219,1,220,1,220,1,220,1,220,1,220,1,220,1,220,1,220,1,220, - 1,220,1,220,1,220,1,221,1,221,1,221,1,221,1,221,1,221,1,221,1,221, - 1,221,1,222,1,222,1,222,1,222,1,222,1,223,1,223,1,223,1,223,1,223, - 1,223,1,223,1,223,1,223,1,224,1,224,1,224,1,224,1,224,1,225,1,225, - 1,225,1,225,1,225,1,225,1,225,1,225,1,226,1,226,1,226,1,226,1,226, - 1,226,1,226,1,226,1,226,1,226,1,227,1,227,1,227,1,227,1,227,1,227, - 1,227,1,227,1,227,1,227,1,227,1,227,1,228,1,228,1,228,1,228,1,228, - 1,228,1,229,1,229,1,229,1,229,1,229,1,229,1,229,1,229,1,229,1,229, - 1,230,1,230,1,230,1,230,1,230,1,230,1,230,1,231,1,231,1,231,1,231, - 1,231,1,231,1,231,1,232,1,232,1,232,1,232,1,233,1,233,1,233,1,233, - 1,233,1,234,1,234,1,234,1,234,1,234,1,234,1,235,1,235,1,235,1,235, - 1,235,1,235,1,235,1,235,1,235,1,236,1,236,1,236,1,236,1,236,1,236, - 1,236,1,237,1,237,1,237,1,237,1,237,1,237,1,237,1,237,1,238,1,238, - 1,238,1,238,1,238,1,239,1,239,1,239,1,239,1,239,1,240,1,240,1,240, + 1,131,1,131,1,132,1,132,1,132,1,133,1,133,1,133,1,133,1,133,1,133, + 1,133,1,133,1,133,1,133,1,134,1,134,1,134,1,134,1,134,1,134,1,134, + 1,134,1,135,1,135,1,135,1,135,1,135,1,136,1,136,1,136,1,136,1,136, + 1,137,1,137,1,137,1,137,1,137,1,137,1,137,1,137,1,137,1,137,1,137, + 1,138,1,138,1,138,1,138,1,138,1,138,1,138,1,138,1,138,1,138,1,138, + 1,138,1,139,1,139,1,139,1,139,1,139,1,139,1,139,1,139,1,139,1,139, + 1,139,1,139,1,140,1,140,1,140,1,140,1,140,1,140,1,140,1,140,1,140, + 1,140,1,140,1,141,1,141,1,141,1,141,1,141,1,141,1,141,1,141,1,141, + 1,141,1,141,1,142,1,142,1,142,1,142,1,142,1,142,1,142,1,142,1,142, + 1,142,1,142,1,143,1,143,1,143,1,143,1,143,1,144,1,144,1,144,1,144, + 1,145,1,145,1,145,1,145,1,145,1,146,1,146,1,146,1,146,1,146,1,146, + 1,146,1,146,1,146,1,147,1,147,1,147,1,147,1,147,1,148,1,148,1,148, + 1,148,1,148,1,148,1,148,1,148,1,149,1,149,1,149,1,149,1,149,1,149, + 1,149,1,149,1,150,1,150,1,150,1,150,1,150,1,150,1,151,1,151,1,151, + 1,151,1,151,1,152,1,152,1,152,1,152,1,152,1,152,1,153,1,153,1,153, + 1,153,1,153,1,154,1,154,1,154,1,154,1,154,1,154,1,155,1,155,1,155, + 1,155,1,155,1,155,1,155,1,155,1,156,1,156,1,156,1,156,1,156,1,156, + 1,157,1,157,1,157,1,157,1,157,1,157,1,157,1,157,1,157,1,157,1,158, + 1,158,1,158,1,158,1,158,1,158,1,158,1,158,1,158,1,158,1,158,1,158, + 1,158,1,158,1,158,1,159,1,159,1,159,1,159,1,159,1,159,1,159,1,159, + 1,160,1,160,1,160,1,160,1,160,1,161,1,161,1,161,1,161,1,162,1,162, + 1,162,1,162,1,162,1,162,1,163,1,163,1,163,1,163,1,163,1,163,1,163, + 1,163,1,164,1,164,1,164,1,164,1,164,1,164,1,164,1,164,1,165,1,165, + 1,165,1,165,1,165,1,165,1,165,1,165,1,165,1,165,1,165,1,165,1,165, + 1,165,1,165,1,165,1,166,1,166,1,166,1,166,1,166,1,166,1,166,1,166, + 1,166,1,166,1,166,1,166,1,166,1,167,1,167,1,167,1,167,1,167,1,167, + 1,167,1,167,1,167,1,168,1,168,1,168,1,168,1,168,1,168,1,169,1,169, + 1,169,1,169,1,169,1,169,1,169,1,170,1,170,1,170,1,170,1,170,1,170, + 1,171,1,171,1,171,1,171,1,171,1,171,1,171,1,171,1,172,1,172,1,172, + 1,172,1,172,1,172,1,172,1,173,1,173,1,173,1,173,1,173,1,174,1,174, + 1,174,1,174,1,175,1,175,1,175,1,175,1,176,1,176,1,176,1,176,1,176, + 1,177,1,177,1,177,1,177,1,177,1,178,1,178,1,178,1,179,1,179,1,179, + 1,179,1,179,1,180,1,180,1,180,1,180,1,180,1,180,1,180,1,180,1,180, + 1,180,1,181,1,181,1,181,1,181,1,182,1,182,1,182,1,182,1,182,1,183, + 1,183,1,183,1,183,1,183,1,183,1,183,1,184,1,184,1,184,1,184,1,184, + 1,184,1,185,1,185,1,185,1,185,1,185,1,185,1,185,1,186,1,186,1,186, + 1,187,1,187,1,187,1,187,1,187,1,187,1,187,1,188,1,188,1,188,1,188, + 1,188,1,189,1,189,1,189,1,190,1,190,1,190,1,190,1,191,1,191,1,191, + 1,191,1,191,1,192,1,192,1,192,1,192,1,192,1,192,1,192,1,193,1,193, + 1,193,1,194,1,194,1,194,1,194,1,194,1,194,1,195,1,195,1,195,1,195, + 1,195,1,195,1,195,1,195,1,195,1,195,1,195,1,196,1,196,1,196,1,196, + 1,196,1,196,1,197,1,197,1,197,1,197,1,197,1,197,1,197,1,198,1,198, + 1,198,1,198,1,198,1,199,1,199,1,199,1,199,1,199,1,199,1,199,1,199, + 1,199,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200,1,200, + 1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,201,1,201, + 1,202,1,202,1,202,1,202,1,202,1,202,1,202,1,202,1,203,1,203,1,203, + 1,203,1,203,1,204,1,204,1,204,1,204,1,204,1,205,1,205,1,205,1,205, + 1,205,1,205,1,205,1,205,1,206,1,206,1,206,1,206,1,207,1,207,1,207, + 1,207,1,207,1,207,1,207,1,208,1,208,1,208,1,208,1,208,1,208,1,208, + 1,208,1,209,1,209,1,209,1,209,1,209,1,210,1,210,1,210,1,210,1,210, + 1,210,1,210,1,210,1,210,1,211,1,211,1,211,1,211,1,211,1,211,1,211, + 1,211,1,211,1,211,1,212,1,212,1,212,1,212,1,212,1,212,1,212,1,212, + 1,212,1,212,1,213,1,213,1,213,1,213,1,213,1,213,1,213,1,213,1,214, + 1,214,1,214,1,214,1,214,1,214,1,214,1,214,1,214,1,214,1,214,1,215, + 1,215,1,215,1,215,1,215,1,215,1,215,1,215,1,215,1,215,1,215,1,216, + 1,216,1,216,1,216,1,216,1,216,1,217,1,217,1,217,1,217,1,217,1,217, + 1,217,1,218,1,218,1,218,1,218,1,218,1,218,1,219,1,219,1,219,1,219, + 1,219,1,220,1,220,1,220,1,220,1,220,1,220,1,220,1,220,1,220,1,220, + 1,221,1,221,1,221,1,221,1,221,1,221,1,221,1,221,1,222,1,222,1,222, + 1,222,1,222,1,222,1,222,1,223,1,223,1,223,1,223,1,223,1,223,1,223, + 1,224,1,224,1,224,1,224,1,224,1,224,1,224,1,224,1,224,1,224,1,224, + 1,225,1,225,1,225,1,225,1,225,1,225,1,225,1,225,1,226,1,226,1,226, + 1,226,1,226,1,226,1,227,1,227,1,227,1,227,1,227,1,227,1,227,1,227, + 1,228,1,228,1,228,1,228,1,228,1,228,1,228,1,228,1,228,1,229,1,229, + 1,229,1,229,1,229,1,229,1,229,1,230,1,230,1,230,1,230,1,230,1,230, + 1,230,1,230,1,230,1,230,1,231,1,231,1,231,1,231,1,231,1,231,1,231, + 1,231,1,232,1,232,1,232,1,232,1,232,1,232,1,232,1,233,1,233,1,233, + 1,233,1,233,1,233,1,234,1,234,1,234,1,234,1,234,1,235,1,235,1,235, + 1,235,1,235,1,235,1,236,1,236,1,236,1,236,1,236,1,236,1,236,1,236, + 1,236,1,237,1,237,1,237,1,237,1,237,1,237,1,237,1,238,1,238,1,238, + 1,238,1,239,1,239,1,239,1,239,1,239,1,240,1,240,1,240,1,240,1,240, 1,240,1,240,1,240,1,241,1,241,1,241,1,241,1,241,1,241,1,241,1,242, - 1,242,1,242,1,242,1,242,1,243,1,243,1,243,1,243,1,243,1,243,1,243, - 1,243,1,244,1,244,1,244,1,244,1,244,1,245,1,245,1,245,1,245,1,245, - 1,245,1,246,1,246,1,246,1,246,1,246,1,247,1,247,1,247,1,247,1,247, - 1,248,1,248,1,249,1,249,1,249,1,249,3,249,2257,8,249,1,250,1,250, - 1,251,1,251,1,251,1,252,1,252,1,253,1,253,1,253,1,254,1,254,1,255, - 1,255,1,256,1,256,1,257,1,257,1,258,1,258,1,259,1,259,1,259,1,260, - 1,260,1,261,1,261,1,261,1,261,5,261,2288,8,261,10,261,12,261,2291, - 9,261,1,261,1,261,1,262,1,262,1,262,1,262,1,262,1,262,1,262,5,262, - 2302,8,262,10,262,12,262,2305,9,262,1,262,1,262,1,263,1,263,1,263, - 1,263,5,263,2313,8,263,10,263,12,263,2316,9,263,1,263,1,263,1,264, - 4,264,2321,8,264,11,264,12,264,2322,1,265,4,265,2326,8,265,11,265, - 12,265,2327,1,265,1,265,5,265,2332,8,265,10,265,12,265,2335,9,265, - 1,265,1,265,4,265,2339,8,265,11,265,12,265,2340,3,265,2343,8,265, - 1,266,4,266,2346,8,266,11,266,12,266,2347,1,266,1,266,5,266,2352, - 8,266,10,266,12,266,2355,9,266,3,266,2357,8,266,1,266,1,266,1,266, - 1,266,4,266,2363,8,266,11,266,12,266,2364,1,266,1,266,3,266,2369, - 8,266,1,267,1,267,3,267,2373,8,267,1,267,1,267,1,267,5,267,2378, - 8,267,10,267,12,267,2381,9,267,1,268,1,268,1,268,1,268,4,268,2387, - 8,268,11,268,12,268,2388,1,269,1,269,1,269,1,269,5,269,2395,8,269, - 10,269,12,269,2398,9,269,1,269,1,269,1,270,1,270,1,270,1,270,5,270, - 2406,8,270,10,270,12,270,2409,9,270,1,270,1,270,1,271,1,271,1,272, - 1,272,3,272,2417,8,272,1,272,4,272,2420,8,272,11,272,12,272,2421, - 1,273,1,273,1,274,1,274,1,275,1,275,1,275,1,275,5,275,2432,8,275, - 10,275,12,275,2435,9,275,1,275,3,275,2438,8,275,1,275,3,275,2441, - 8,275,1,275,1,275,1,276,1,276,1,276,1,276,5,276,2449,8,276,10,276, - 12,276,2452,9,276,1,276,1,276,1,276,1,276,1,276,1,277,4,277,2460, - 8,277,11,277,12,277,2461,1,277,1,277,1,278,1,278,1,2450,0,279,1, - 1,3,2,5,3,7,4,9,5,11,6,13,7,15,8,17,9,19,10,21,11,23,12,25,13,27, - 14,29,15,31,16,33,17,35,18,37,19,39,20,41,21,43,22,45,23,47,24,49, - 25,51,26,53,27,55,28,57,29,59,30,61,31,63,32,65,33,67,34,69,35,71, - 36,73,37,75,38,77,39,79,40,81,41,83,42,85,43,87,44,89,45,91,46,93, - 47,95,48,97,49,99,50,101,51,103,52,105,53,107,54,109,55,111,56,113, - 57,115,58,117,59,119,60,121,61,123,62,125,63,127,64,129,65,131,66, - 133,67,135,68,137,69,139,70,141,71,143,72,145,73,147,74,149,75,151, - 76,153,77,155,78,157,79,159,80,161,81,163,82,165,83,167,84,169,85, - 171,86,173,87,175,88,177,89,179,90,181,91,183,92,185,93,187,94,189, - 95,191,96,193,97,195,98,197,99,199,100,201,101,203,102,205,103,207, - 104,209,105,211,106,213,107,215,108,217,109,219,110,221,111,223, - 112,225,113,227,114,229,115,231,116,233,117,235,118,237,119,239, - 120,241,121,243,122,245,123,247,124,249,125,251,126,253,127,255, - 128,257,129,259,130,261,131,263,132,265,133,267,134,269,135,271, - 136,273,137,275,138,277,139,279,140,281,141,283,142,285,143,287, - 144,289,145,291,146,293,147,295,148,297,149,299,150,301,151,303, - 152,305,153,307,154,309,155,311,156,313,157,315,158,317,159,319, - 160,321,161,323,162,325,163,327,164,329,165,331,166,333,167,335, - 168,337,169,339,170,341,171,343,172,345,173,347,174,349,175,351, - 176,353,177,355,178,357,179,359,180,361,181,363,182,365,183,367, - 184,369,185,371,186,373,187,375,188,377,189,379,190,381,191,383, - 192,385,193,387,194,389,195,391,196,393,197,395,198,397,199,399, - 200,401,201,403,202,405,203,407,204,409,205,411,206,413,207,415, - 208,417,209,419,210,421,211,423,212,425,213,427,214,429,215,431, - 216,433,217,435,218,437,219,439,220,441,221,443,222,445,223,447, - 224,449,225,451,226,453,227,455,228,457,229,459,230,461,231,463, - 232,465,233,467,234,469,235,471,236,473,237,475,238,477,239,479, - 240,481,241,483,242,485,243,487,244,489,245,491,246,493,247,495, - 248,497,249,499,250,501,251,503,252,505,253,507,254,509,255,511, - 256,513,257,515,258,517,259,519,260,521,261,523,262,525,263,527, - 264,529,265,531,266,533,267,535,268,537,269,539,270,541,271,543, - 272,545,0,547,0,549,0,551,273,553,274,555,275,557,276,1,0,33,2,0, - 83,83,115,115,2,0,75,75,107,107,2,0,73,73,105,105,2,0,80,80,112, - 112,2,0,65,65,97,97,2,0,68,68,100,100,2,0,77,77,109,109,2,0,78,78, - 110,110,2,0,70,70,102,102,2,0,84,84,116,116,2,0,69,69,101,101,2, - 0,82,82,114,114,2,0,76,76,108,108,2,0,89,89,121,121,2,0,90,90,122, - 122,2,0,67,67,99,99,2,0,85,85,117,117,2,0,72,72,104,104,2,0,79,79, - 111,111,2,0,66,66,98,98,2,0,87,87,119,119,2,0,71,71,103,103,2,0, - 88,88,120,120,2,0,86,86,118,118,2,0,74,74,106,106,1,0,39,39,1,0, - 34,34,1,0,96,96,2,0,43,43,45,45,1,0,48,57,2,0,65,90,97,122,2,0,10, - 10,13,13,3,0,9,10,13,13,32,32,2497,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1, - 0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0, - 0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0, - 0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0, - 0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0, - 0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0, - 0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0, - 0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0, - 0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0, - 0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0, - 0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105, - 1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0, - 0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1, - 0,0,0,0,125,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0, - 133,1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0, - 0,0,0,143,1,0,0,0,0,145,1,0,0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,151, - 1,0,0,0,0,153,1,0,0,0,0,155,1,0,0,0,0,157,1,0,0,0,0,159,1,0,0,0, - 0,161,1,0,0,0,0,163,1,0,0,0,0,165,1,0,0,0,0,167,1,0,0,0,0,169,1, - 0,0,0,0,171,1,0,0,0,0,173,1,0,0,0,0,175,1,0,0,0,0,177,1,0,0,0,0, - 179,1,0,0,0,0,181,1,0,0,0,0,183,1,0,0,0,0,185,1,0,0,0,0,187,1,0, - 0,0,0,189,1,0,0,0,0,191,1,0,0,0,0,193,1,0,0,0,0,195,1,0,0,0,0,197, - 1,0,0,0,0,199,1,0,0,0,0,201,1,0,0,0,0,203,1,0,0,0,0,205,1,0,0,0, - 0,207,1,0,0,0,0,209,1,0,0,0,0,211,1,0,0,0,0,213,1,0,0,0,0,215,1, - 0,0,0,0,217,1,0,0,0,0,219,1,0,0,0,0,221,1,0,0,0,0,223,1,0,0,0,0, - 225,1,0,0,0,0,227,1,0,0,0,0,229,1,0,0,0,0,231,1,0,0,0,0,233,1,0, - 0,0,0,235,1,0,0,0,0,237,1,0,0,0,0,239,1,0,0,0,0,241,1,0,0,0,0,243, - 1,0,0,0,0,245,1,0,0,0,0,247,1,0,0,0,0,249,1,0,0,0,0,251,1,0,0,0, - 0,253,1,0,0,0,0,255,1,0,0,0,0,257,1,0,0,0,0,259,1,0,0,0,0,261,1, - 0,0,0,0,263,1,0,0,0,0,265,1,0,0,0,0,267,1,0,0,0,0,269,1,0,0,0,0, - 271,1,0,0,0,0,273,1,0,0,0,0,275,1,0,0,0,0,277,1,0,0,0,0,279,1,0, - 0,0,0,281,1,0,0,0,0,283,1,0,0,0,0,285,1,0,0,0,0,287,1,0,0,0,0,289, - 1,0,0,0,0,291,1,0,0,0,0,293,1,0,0,0,0,295,1,0,0,0,0,297,1,0,0,0, - 0,299,1,0,0,0,0,301,1,0,0,0,0,303,1,0,0,0,0,305,1,0,0,0,0,307,1, - 0,0,0,0,309,1,0,0,0,0,311,1,0,0,0,0,313,1,0,0,0,0,315,1,0,0,0,0, - 317,1,0,0,0,0,319,1,0,0,0,0,321,1,0,0,0,0,323,1,0,0,0,0,325,1,0, - 0,0,0,327,1,0,0,0,0,329,1,0,0,0,0,331,1,0,0,0,0,333,1,0,0,0,0,335, - 1,0,0,0,0,337,1,0,0,0,0,339,1,0,0,0,0,341,1,0,0,0,0,343,1,0,0,0, - 0,345,1,0,0,0,0,347,1,0,0,0,0,349,1,0,0,0,0,351,1,0,0,0,0,353,1, - 0,0,0,0,355,1,0,0,0,0,357,1,0,0,0,0,359,1,0,0,0,0,361,1,0,0,0,0, - 363,1,0,0,0,0,365,1,0,0,0,0,367,1,0,0,0,0,369,1,0,0,0,0,371,1,0, - 0,0,0,373,1,0,0,0,0,375,1,0,0,0,0,377,1,0,0,0,0,379,1,0,0,0,0,381, - 1,0,0,0,0,383,1,0,0,0,0,385,1,0,0,0,0,387,1,0,0,0,0,389,1,0,0,0, - 0,391,1,0,0,0,0,393,1,0,0,0,0,395,1,0,0,0,0,397,1,0,0,0,0,399,1, - 0,0,0,0,401,1,0,0,0,0,403,1,0,0,0,0,405,1,0,0,0,0,407,1,0,0,0,0, - 409,1,0,0,0,0,411,1,0,0,0,0,413,1,0,0,0,0,415,1,0,0,0,0,417,1,0, - 0,0,0,419,1,0,0,0,0,421,1,0,0,0,0,423,1,0,0,0,0,425,1,0,0,0,0,427, - 1,0,0,0,0,429,1,0,0,0,0,431,1,0,0,0,0,433,1,0,0,0,0,435,1,0,0,0, - 0,437,1,0,0,0,0,439,1,0,0,0,0,441,1,0,0,0,0,443,1,0,0,0,0,445,1, - 0,0,0,0,447,1,0,0,0,0,449,1,0,0,0,0,451,1,0,0,0,0,453,1,0,0,0,0, - 455,1,0,0,0,0,457,1,0,0,0,0,459,1,0,0,0,0,461,1,0,0,0,0,463,1,0, - 0,0,0,465,1,0,0,0,0,467,1,0,0,0,0,469,1,0,0,0,0,471,1,0,0,0,0,473, - 1,0,0,0,0,475,1,0,0,0,0,477,1,0,0,0,0,479,1,0,0,0,0,481,1,0,0,0, - 0,483,1,0,0,0,0,485,1,0,0,0,0,487,1,0,0,0,0,489,1,0,0,0,0,491,1, - 0,0,0,0,493,1,0,0,0,0,495,1,0,0,0,0,497,1,0,0,0,0,499,1,0,0,0,0, - 501,1,0,0,0,0,503,1,0,0,0,0,505,1,0,0,0,0,507,1,0,0,0,0,509,1,0, - 0,0,0,511,1,0,0,0,0,513,1,0,0,0,0,515,1,0,0,0,0,517,1,0,0,0,0,519, - 1,0,0,0,0,521,1,0,0,0,0,523,1,0,0,0,0,525,1,0,0,0,0,527,1,0,0,0, - 0,529,1,0,0,0,0,531,1,0,0,0,0,533,1,0,0,0,0,535,1,0,0,0,0,537,1, - 0,0,0,0,539,1,0,0,0,0,541,1,0,0,0,0,543,1,0,0,0,0,551,1,0,0,0,0, - 553,1,0,0,0,0,555,1,0,0,0,0,557,1,0,0,0,1,559,1,0,0,0,3,561,1,0, - 0,0,5,563,1,0,0,0,7,565,1,0,0,0,9,567,1,0,0,0,11,572,1,0,0,0,13, - 575,1,0,0,0,15,577,1,0,0,0,17,579,1,0,0,0,19,581,1,0,0,0,21,583, - 1,0,0,0,23,585,1,0,0,0,25,588,1,0,0,0,27,591,1,0,0,0,29,593,1,0, - 0,0,31,595,1,0,0,0,33,598,1,0,0,0,35,602,1,0,0,0,37,608,1,0,0,0, - 39,614,1,0,0,0,41,618,1,0,0,0,43,624,1,0,0,0,45,632,1,0,0,0,47,636, - 1,0,0,0,49,640,1,0,0,0,51,646,1,0,0,0,53,649,1,0,0,0,55,653,1,0, - 0,0,57,656,1,0,0,0,59,670,1,0,0,0,61,680,1,0,0,0,63,688,1,0,0,0, - 65,691,1,0,0,0,67,696,1,0,0,0,69,704,1,0,0,0,71,709,1,0,0,0,73,714, - 1,0,0,0,75,723,1,0,0,0,77,730,1,0,0,0,79,738,1,0,0,0,81,746,1,0, - 0,0,83,753,1,0,0,0,85,763,1,0,0,0,87,774,1,0,0,0,89,781,1,0,0,0, - 91,787,1,0,0,0,93,792,1,0,0,0,95,800,1,0,0,0,97,816,1,0,0,0,99,829, - 1,0,0,0,101,842,1,0,0,0,103,855,1,0,0,0,105,870,1,0,0,0,107,883, - 1,0,0,0,109,901,1,0,0,0,111,914,1,0,0,0,113,919,1,0,0,0,115,924, - 1,0,0,0,117,928,1,0,0,0,119,936,1,0,0,0,121,947,1,0,0,0,123,955, - 1,0,0,0,125,962,1,0,0,0,127,967,1,0,0,0,129,976,1,0,0,0,131,983, - 1,0,0,0,133,992,1,0,0,0,135,1004,1,0,0,0,137,1011,1,0,0,0,139,1016, - 1,0,0,0,141,1021,1,0,0,0,143,1027,1,0,0,0,145,1031,1,0,0,0,147,1038, - 1,0,0,0,149,1045,1,0,0,0,151,1055,1,0,0,0,153,1063,1,0,0,0,155,1070, - 1,0,0,0,157,1078,1,0,0,0,159,1086,1,0,0,0,161,1092,1,0,0,0,163,1098, - 1,0,0,0,165,1105,1,0,0,0,167,1111,1,0,0,0,169,1117,1,0,0,0,171,1127, - 1,0,0,0,173,1131,1,0,0,0,175,1138,1,0,0,0,177,1143,1,0,0,0,179,1148, - 1,0,0,0,181,1158,1,0,0,0,183,1164,1,0,0,0,185,1172,1,0,0,0,187,1179, - 1,0,0,0,189,1184,1,0,0,0,191,1193,1,0,0,0,193,1199,1,0,0,0,195,1208, - 1,0,0,0,197,1215,1,0,0,0,199,1222,1,0,0,0,201,1227,1,0,0,0,203,1230, - 1,0,0,0,205,1237,1,0,0,0,207,1240,1,0,0,0,209,1250,1,0,0,0,211,1258, - 1,0,0,0,213,1264,1,0,0,0,215,1270,1,0,0,0,217,1277,1,0,0,0,219,1287, - 1,0,0,0,221,1296,1,0,0,0,223,1301,1,0,0,0,225,1309,1,0,0,0,227,1312, - 1,0,0,0,229,1315,1,0,0,0,231,1325,1,0,0,0,233,1330,1,0,0,0,235,1335, - 1,0,0,0,237,1340,1,0,0,0,239,1348,1,0,0,0,241,1353,1,0,0,0,243,1359, - 1,0,0,0,245,1364,1,0,0,0,247,1370,1,0,0,0,249,1376,1,0,0,0,251,1386, - 1,0,0,0,253,1401,1,0,0,0,255,1409,1,0,0,0,257,1413,1,0,0,0,259,1419, - 1,0,0,0,261,1427,1,0,0,0,263,1435,1,0,0,0,265,1451,1,0,0,0,267,1464, - 1,0,0,0,269,1473,1,0,0,0,271,1479,1,0,0,0,273,1486,1,0,0,0,275,1492, - 1,0,0,0,277,1500,1,0,0,0,279,1505,1,0,0,0,281,1509,1,0,0,0,283,1513, - 1,0,0,0,285,1518,1,0,0,0,287,1523,1,0,0,0,289,1526,1,0,0,0,291,1531, - 1,0,0,0,293,1541,1,0,0,0,295,1545,1,0,0,0,297,1550,1,0,0,0,299,1557, - 1,0,0,0,301,1563,1,0,0,0,303,1570,1,0,0,0,305,1575,1,0,0,0,307,1578, - 1,0,0,0,309,1582,1,0,0,0,311,1587,1,0,0,0,313,1594,1,0,0,0,315,1597, - 1,0,0,0,317,1603,1,0,0,0,319,1614,1,0,0,0,321,1620,1,0,0,0,323,1627, - 1,0,0,0,325,1632,1,0,0,0,327,1642,1,0,0,0,329,1653,1,0,0,0,331,1658, - 1,0,0,0,333,1663,1,0,0,0,335,1671,1,0,0,0,337,1675,1,0,0,0,339,1683, - 1,0,0,0,341,1692,1,0,0,0,343,1702,1,0,0,0,345,1712,1,0,0,0,347,1720, - 1,0,0,0,349,1731,1,0,0,0,351,1742,1,0,0,0,353,1748,1,0,0,0,355,1753, - 1,0,0,0,357,1763,1,0,0,0,359,1771,1,0,0,0,361,1778,1,0,0,0,363,1789, - 1,0,0,0,365,1797,1,0,0,0,367,1803,1,0,0,0,369,1811,1,0,0,0,371,1820, - 1,0,0,0,373,1827,1,0,0,0,375,1833,1,0,0,0,377,1838,1,0,0,0,379,1844, - 1,0,0,0,381,1853,1,0,0,0,383,1860,1,0,0,0,385,1864,1,0,0,0,387,1869, - 1,0,0,0,389,1877,1,0,0,0,391,1884,1,0,0,0,393,1892,1,0,0,0,395,1899, - 1,0,0,0,397,1908,1,0,0,0,399,1913,1,0,0,0,401,1920,1,0,0,0,403,1933, - 1,0,0,0,405,1941,1,0,0,0,407,1945,1,0,0,0,409,1950,1,0,0,0,411,1955, - 1,0,0,0,413,1960,1,0,0,0,415,1966,1,0,0,0,417,1972,1,0,0,0,419,1979, - 1,0,0,0,421,1989,1,0,0,0,423,1996,1,0,0,0,425,2002,1,0,0,0,427,2009, - 1,0,0,0,429,2021,1,0,0,0,431,2026,1,0,0,0,433,2031,1,0,0,0,435,2036, - 1,0,0,0,437,2041,1,0,0,0,439,2051,1,0,0,0,441,2054,1,0,0,0,443,2066, - 1,0,0,0,445,2075,1,0,0,0,447,2080,1,0,0,0,449,2089,1,0,0,0,451,2094, - 1,0,0,0,453,2102,1,0,0,0,455,2112,1,0,0,0,457,2124,1,0,0,0,459,2130, - 1,0,0,0,461,2140,1,0,0,0,463,2147,1,0,0,0,465,2154,1,0,0,0,467,2158, - 1,0,0,0,469,2163,1,0,0,0,471,2169,1,0,0,0,473,2178,1,0,0,0,475,2185, - 1,0,0,0,477,2193,1,0,0,0,479,2198,1,0,0,0,481,2203,1,0,0,0,483,2209, - 1,0,0,0,485,2216,1,0,0,0,487,2221,1,0,0,0,489,2229,1,0,0,0,491,2234, - 1,0,0,0,493,2240,1,0,0,0,495,2245,1,0,0,0,497,2250,1,0,0,0,499,2256, - 1,0,0,0,501,2258,1,0,0,0,503,2260,1,0,0,0,505,2263,1,0,0,0,507,2265, - 1,0,0,0,509,2268,1,0,0,0,511,2270,1,0,0,0,513,2272,1,0,0,0,515,2274, - 1,0,0,0,517,2276,1,0,0,0,519,2278,1,0,0,0,521,2281,1,0,0,0,523,2283, - 1,0,0,0,525,2294,1,0,0,0,527,2308,1,0,0,0,529,2320,1,0,0,0,531,2342, - 1,0,0,0,533,2368,1,0,0,0,535,2372,1,0,0,0,537,2382,1,0,0,0,539,2390, - 1,0,0,0,541,2401,1,0,0,0,543,2412,1,0,0,0,545,2414,1,0,0,0,547,2423, - 1,0,0,0,549,2425,1,0,0,0,551,2427,1,0,0,0,553,2444,1,0,0,0,555,2459, - 1,0,0,0,557,2465,1,0,0,0,559,560,5,40,0,0,560,2,1,0,0,0,561,562, - 5,41,0,0,562,4,1,0,0,0,563,564,5,44,0,0,564,6,1,0,0,0,565,566,5, - 46,0,0,566,8,1,0,0,0,567,568,7,0,0,0,568,569,7,1,0,0,569,570,7,2, - 0,0,570,571,7,3,0,0,571,10,1,0,0,0,572,573,5,45,0,0,573,574,5,62, - 0,0,574,12,1,0,0,0,575,576,5,91,0,0,576,14,1,0,0,0,577,578,5,93, - 0,0,578,16,1,0,0,0,579,580,5,124,0,0,580,18,1,0,0,0,581,582,5,94, - 0,0,582,20,1,0,0,0,583,584,5,36,0,0,584,22,1,0,0,0,585,586,5,123, - 0,0,586,587,5,45,0,0,587,24,1,0,0,0,588,589,5,45,0,0,589,590,5,125, - 0,0,590,26,1,0,0,0,591,592,5,123,0,0,592,28,1,0,0,0,593,594,5,125, - 0,0,594,30,1,0,0,0,595,596,5,61,0,0,596,597,5,62,0,0,597,32,1,0, - 0,0,598,599,7,4,0,0,599,600,7,5,0,0,600,601,7,5,0,0,601,34,1,0,0, - 0,602,603,7,4,0,0,603,604,7,5,0,0,604,605,7,6,0,0,605,606,7,2,0, - 0,606,607,7,7,0,0,607,36,1,0,0,0,608,609,7,4,0,0,609,610,7,8,0,0, - 610,611,7,9,0,0,611,612,7,10,0,0,612,613,7,11,0,0,613,38,1,0,0,0, - 614,615,7,4,0,0,615,616,7,12,0,0,616,617,7,12,0,0,617,40,1,0,0,0, - 618,619,7,4,0,0,619,620,7,12,0,0,620,621,7,9,0,0,621,622,7,10,0, - 0,622,623,7,11,0,0,623,42,1,0,0,0,624,625,7,4,0,0,625,626,7,7,0, - 0,626,627,7,4,0,0,627,628,7,12,0,0,628,629,7,13,0,0,629,630,7,14, - 0,0,630,631,7,10,0,0,631,44,1,0,0,0,632,633,7,4,0,0,633,634,7,7, - 0,0,634,635,7,5,0,0,635,46,1,0,0,0,636,637,7,4,0,0,637,638,7,7,0, - 0,638,639,7,13,0,0,639,48,1,0,0,0,640,641,7,4,0,0,641,642,7,11,0, - 0,642,643,7,11,0,0,643,644,7,4,0,0,644,645,7,13,0,0,645,50,1,0,0, - 0,646,647,7,4,0,0,647,648,7,0,0,0,648,52,1,0,0,0,649,650,7,4,0,0, - 650,651,7,0,0,0,651,652,7,15,0,0,652,54,1,0,0,0,653,654,7,4,0,0, - 654,655,7,9,0,0,655,56,1,0,0,0,656,657,7,4,0,0,657,658,7,16,0,0, - 658,659,7,9,0,0,659,660,7,17,0,0,660,661,7,18,0,0,661,662,7,11,0, - 0,662,663,7,2,0,0,663,664,7,14,0,0,664,665,7,4,0,0,665,666,7,9,0, - 0,666,667,7,2,0,0,667,668,7,18,0,0,668,669,7,7,0,0,669,58,1,0,0, - 0,670,671,7,19,0,0,671,672,7,10,0,0,672,673,7,11,0,0,673,674,7,7, - 0,0,674,675,7,18,0,0,675,676,7,16,0,0,676,677,7,12,0,0,677,678,7, - 12,0,0,678,679,7,2,0,0,679,60,1,0,0,0,680,681,7,19,0,0,681,682,7, - 10,0,0,682,683,7,9,0,0,683,684,7,20,0,0,684,685,7,10,0,0,685,686, - 7,10,0,0,686,687,7,7,0,0,687,62,1,0,0,0,688,689,7,19,0,0,689,690, - 7,13,0,0,690,64,1,0,0,0,691,692,7,15,0,0,692,693,7,4,0,0,693,694, - 7,12,0,0,694,695,7,12,0,0,695,66,1,0,0,0,696,697,7,15,0,0,697,698, - 7,4,0,0,698,699,7,0,0,0,699,700,7,15,0,0,700,701,7,4,0,0,701,702, - 7,5,0,0,702,703,7,10,0,0,703,68,1,0,0,0,704,705,7,15,0,0,705,706, - 7,4,0,0,706,707,7,0,0,0,707,708,7,10,0,0,708,70,1,0,0,0,709,710, - 7,15,0,0,710,711,7,4,0,0,711,712,7,0,0,0,712,713,7,9,0,0,713,72, - 1,0,0,0,714,715,7,15,0,0,715,716,7,4,0,0,716,717,7,9,0,0,717,718, - 7,4,0,0,718,719,7,12,0,0,719,720,7,18,0,0,720,721,7,21,0,0,721,722, - 7,0,0,0,722,74,1,0,0,0,723,724,7,15,0,0,724,725,7,18,0,0,725,726, - 7,12,0,0,726,727,7,16,0,0,727,728,7,6,0,0,728,729,7,7,0,0,729,76, - 1,0,0,0,730,731,7,15,0,0,731,732,7,18,0,0,732,733,7,12,0,0,733,734, - 7,16,0,0,734,735,7,6,0,0,735,736,7,7,0,0,736,737,7,0,0,0,737,78, - 1,0,0,0,738,739,7,15,0,0,739,740,7,18,0,0,740,741,7,6,0,0,741,742, - 7,6,0,0,742,743,7,10,0,0,743,744,7,7,0,0,744,745,7,9,0,0,745,80, - 1,0,0,0,746,747,7,15,0,0,747,748,7,18,0,0,748,749,7,6,0,0,749,750, - 7,6,0,0,750,751,7,2,0,0,751,752,7,9,0,0,752,82,1,0,0,0,753,754,7, - 15,0,0,754,755,7,18,0,0,755,756,7,6,0,0,756,757,7,6,0,0,757,758, - 7,2,0,0,758,759,7,9,0,0,759,760,7,9,0,0,760,761,7,10,0,0,761,762, - 7,5,0,0,762,84,1,0,0,0,763,764,7,15,0,0,764,765,7,18,0,0,765,766, - 7,7,0,0,766,767,7,0,0,0,767,768,7,9,0,0,768,769,7,11,0,0,769,770, - 7,4,0,0,770,771,7,2,0,0,771,772,7,7,0,0,772,773,7,9,0,0,773,86,1, - 0,0,0,774,775,7,15,0,0,775,776,7,11,0,0,776,777,7,10,0,0,777,778, - 7,4,0,0,778,779,7,9,0,0,779,780,7,10,0,0,780,88,1,0,0,0,781,782, - 7,15,0,0,782,783,7,11,0,0,783,784,7,18,0,0,784,785,7,0,0,0,785,786, - 7,0,0,0,786,90,1,0,0,0,787,788,7,15,0,0,788,789,7,16,0,0,789,790, - 7,19,0,0,790,791,7,10,0,0,791,92,1,0,0,0,792,793,7,15,0,0,793,794, - 7,16,0,0,794,795,7,11,0,0,795,796,7,11,0,0,796,797,7,10,0,0,797, - 798,7,7,0,0,798,799,7,9,0,0,799,94,1,0,0,0,800,801,7,15,0,0,801, - 802,7,16,0,0,802,803,7,11,0,0,803,804,7,11,0,0,804,805,7,10,0,0, - 805,806,7,7,0,0,806,807,7,9,0,0,807,808,5,95,0,0,808,809,7,15,0, - 0,809,810,7,4,0,0,810,811,7,9,0,0,811,812,7,4,0,0,812,813,7,12,0, - 0,813,814,7,18,0,0,814,815,7,21,0,0,815,96,1,0,0,0,816,817,7,15, - 0,0,817,818,7,16,0,0,818,819,7,11,0,0,819,820,7,11,0,0,820,821,7, - 10,0,0,821,822,7,7,0,0,822,823,7,9,0,0,823,824,5,95,0,0,824,825, - 7,5,0,0,825,826,7,4,0,0,826,827,7,9,0,0,827,828,7,10,0,0,828,98, - 1,0,0,0,829,830,7,15,0,0,830,831,7,16,0,0,831,832,7,11,0,0,832,833, - 7,11,0,0,833,834,7,10,0,0,834,835,7,7,0,0,835,836,7,9,0,0,836,837, - 5,95,0,0,837,838,7,3,0,0,838,839,7,4,0,0,839,840,7,9,0,0,840,841, - 7,17,0,0,841,100,1,0,0,0,842,843,7,15,0,0,843,844,7,16,0,0,844,845, - 7,11,0,0,845,846,7,11,0,0,846,847,7,10,0,0,847,848,7,7,0,0,848,849, - 7,9,0,0,849,850,5,95,0,0,850,851,7,11,0,0,851,852,7,18,0,0,852,853, - 7,12,0,0,853,854,7,10,0,0,854,102,1,0,0,0,855,856,7,15,0,0,856,857, - 7,16,0,0,857,858,7,11,0,0,858,859,7,11,0,0,859,860,7,10,0,0,860, - 861,7,7,0,0,861,862,7,9,0,0,862,863,5,95,0,0,863,864,7,0,0,0,864, - 865,7,15,0,0,865,866,7,17,0,0,866,867,7,10,0,0,867,868,7,6,0,0,868, - 869,7,4,0,0,869,104,1,0,0,0,870,871,7,15,0,0,871,872,7,16,0,0,872, - 873,7,11,0,0,873,874,7,11,0,0,874,875,7,10,0,0,875,876,7,7,0,0,876, - 877,7,9,0,0,877,878,5,95,0,0,878,879,7,9,0,0,879,880,7,2,0,0,880, - 881,7,6,0,0,881,882,7,10,0,0,882,106,1,0,0,0,883,884,7,15,0,0,884, - 885,7,16,0,0,885,886,7,11,0,0,886,887,7,11,0,0,887,888,7,10,0,0, - 888,889,7,7,0,0,889,890,7,9,0,0,890,891,5,95,0,0,891,892,7,9,0,0, - 892,893,7,2,0,0,893,894,7,6,0,0,894,895,7,10,0,0,895,896,7,0,0,0, - 896,897,7,9,0,0,897,898,7,4,0,0,898,899,7,6,0,0,899,900,7,3,0,0, - 900,108,1,0,0,0,901,902,7,15,0,0,902,903,7,16,0,0,903,904,7,11,0, - 0,904,905,7,11,0,0,905,906,7,10,0,0,906,907,7,7,0,0,907,908,7,9, - 0,0,908,909,5,95,0,0,909,910,7,16,0,0,910,911,7,0,0,0,911,912,7, - 10,0,0,912,913,7,11,0,0,913,110,1,0,0,0,914,915,7,5,0,0,915,916, - 7,4,0,0,916,917,7,9,0,0,917,918,7,4,0,0,918,112,1,0,0,0,919,920, - 7,5,0,0,920,921,7,4,0,0,921,922,7,9,0,0,922,923,7,10,0,0,923,114, - 1,0,0,0,924,925,7,5,0,0,925,926,7,4,0,0,926,927,7,13,0,0,927,116, - 1,0,0,0,928,929,7,5,0,0,929,930,7,10,0,0,930,931,7,8,0,0,931,932, - 7,4,0,0,932,933,7,16,0,0,933,934,7,12,0,0,934,935,7,9,0,0,935,118, - 1,0,0,0,936,937,7,5,0,0,937,938,7,10,0,0,938,939,7,4,0,0,939,940, - 7,12,0,0,940,941,7,12,0,0,941,942,7,18,0,0,942,943,7,15,0,0,943, - 944,7,4,0,0,944,945,7,9,0,0,945,946,7,10,0,0,946,120,1,0,0,0,947, - 948,7,5,0,0,948,949,7,10,0,0,949,950,7,8,0,0,950,951,7,2,0,0,951, - 952,7,7,0,0,952,953,7,10,0,0,953,954,7,11,0,0,954,122,1,0,0,0,955, - 956,7,5,0,0,956,957,7,10,0,0,957,958,7,12,0,0,958,959,7,10,0,0,959, - 960,7,9,0,0,960,961,7,10,0,0,961,124,1,0,0,0,962,963,7,5,0,0,963, - 964,7,10,0,0,964,965,7,0,0,0,965,966,7,15,0,0,966,126,1,0,0,0,967, - 968,7,5,0,0,968,969,7,10,0,0,969,970,7,0,0,0,970,971,7,15,0,0,971, - 972,7,11,0,0,972,973,7,2,0,0,973,974,7,19,0,0,974,975,7,10,0,0,975, - 128,1,0,0,0,976,977,7,5,0,0,977,978,7,10,0,0,978,979,7,8,0,0,979, - 980,7,2,0,0,980,981,7,7,0,0,981,982,7,10,0,0,982,130,1,0,0,0,983, - 984,7,5,0,0,984,985,7,2,0,0,985,986,7,0,0,0,986,987,7,9,0,0,987, - 988,7,2,0,0,988,989,7,7,0,0,989,990,7,15,0,0,990,991,7,9,0,0,991, - 132,1,0,0,0,992,993,7,5,0,0,993,994,7,2,0,0,994,995,7,0,0,0,995, - 996,7,9,0,0,996,997,7,11,0,0,997,998,7,2,0,0,998,999,7,19,0,0,999, - 1000,7,16,0,0,1000,1001,7,9,0,0,1001,1002,7,10,0,0,1002,1003,7,5, - 0,0,1003,134,1,0,0,0,1004,1005,7,5,0,0,1005,1006,7,18,0,0,1006,1007, - 7,16,0,0,1007,1008,7,19,0,0,1008,1009,7,12,0,0,1009,1010,7,10,0, - 0,1010,136,1,0,0,0,1011,1012,7,5,0,0,1012,1013,7,11,0,0,1013,1014, - 7,18,0,0,1014,1015,7,3,0,0,1015,138,1,0,0,0,1016,1017,7,10,0,0,1017, - 1018,7,12,0,0,1018,1019,7,0,0,0,1019,1020,7,10,0,0,1020,140,1,0, - 0,0,1021,1022,7,10,0,0,1022,1023,7,6,0,0,1023,1024,7,3,0,0,1024, - 1025,7,9,0,0,1025,1026,7,13,0,0,1026,142,1,0,0,0,1027,1028,7,10, - 0,0,1028,1029,7,7,0,0,1029,1030,7,5,0,0,1030,144,1,0,0,0,1031,1032, - 7,10,0,0,1032,1033,7,0,0,0,1033,1034,7,15,0,0,1034,1035,7,4,0,0, - 1035,1036,7,3,0,0,1036,1037,7,10,0,0,1037,146,1,0,0,0,1038,1039, - 7,10,0,0,1039,1040,7,22,0,0,1040,1041,7,15,0,0,1041,1042,7,10,0, - 0,1042,1043,7,3,0,0,1043,1044,7,9,0,0,1044,148,1,0,0,0,1045,1046, - 7,10,0,0,1046,1047,7,22,0,0,1047,1048,7,15,0,0,1048,1049,7,12,0, - 0,1049,1050,7,16,0,0,1050,1051,7,5,0,0,1051,1052,7,2,0,0,1052,1053, - 7,7,0,0,1053,1054,7,21,0,0,1054,150,1,0,0,0,1055,1056,7,10,0,0,1056, - 1057,7,22,0,0,1057,1058,7,10,0,0,1058,1059,7,15,0,0,1059,1060,7, - 16,0,0,1060,1061,7,9,0,0,1061,1062,7,10,0,0,1062,152,1,0,0,0,1063, - 1064,7,10,0,0,1064,1065,7,22,0,0,1065,1066,7,2,0,0,1066,1067,7,0, - 0,0,1067,1068,7,9,0,0,1068,1069,7,0,0,0,1069,154,1,0,0,0,1070,1071, - 7,10,0,0,1071,1072,7,22,0,0,1072,1073,7,3,0,0,1073,1074,7,12,0,0, - 1074,1075,7,4,0,0,1075,1076,7,2,0,0,1076,1077,7,7,0,0,1077,156,1, - 0,0,0,1078,1079,7,10,0,0,1079,1080,7,22,0,0,1080,1081,7,9,0,0,1081, - 1082,7,11,0,0,1082,1083,7,4,0,0,1083,1084,7,15,0,0,1084,1085,7,9, - 0,0,1085,158,1,0,0,0,1086,1087,7,8,0,0,1087,1088,7,4,0,0,1088,1089, - 7,12,0,0,1089,1090,7,0,0,0,1090,1091,7,10,0,0,1091,160,1,0,0,0,1092, - 1093,7,8,0,0,1093,1094,7,10,0,0,1094,1095,7,9,0,0,1095,1096,7,15, - 0,0,1096,1097,7,17,0,0,1097,162,1,0,0,0,1098,1099,7,8,0,0,1099,1100, - 7,2,0,0,1100,1101,7,12,0,0,1101,1102,7,9,0,0,1102,1103,7,10,0,0, - 1103,1104,7,11,0,0,1104,164,1,0,0,0,1105,1106,7,8,0,0,1106,1107, - 7,2,0,0,1107,1108,7,7,0,0,1108,1109,7,4,0,0,1109,1110,7,12,0,0,1110, - 166,1,0,0,0,1111,1112,7,8,0,0,1112,1113,7,2,0,0,1113,1114,7,11,0, - 0,1114,1115,7,0,0,0,1115,1116,7,9,0,0,1116,168,1,0,0,0,1117,1118, - 7,8,0,0,1118,1119,7,18,0,0,1119,1120,7,12,0,0,1120,1121,7,12,0,0, - 1121,1122,7,18,0,0,1122,1123,7,20,0,0,1123,1124,7,2,0,0,1124,1125, - 7,7,0,0,1125,1126,7,21,0,0,1126,170,1,0,0,0,1127,1128,7,8,0,0,1128, - 1129,7,18,0,0,1129,1130,7,11,0,0,1130,172,1,0,0,0,1131,1132,7,8, - 0,0,1132,1133,7,18,0,0,1133,1134,7,11,0,0,1134,1135,7,6,0,0,1135, - 1136,7,4,0,0,1136,1137,7,9,0,0,1137,174,1,0,0,0,1138,1139,7,8,0, - 0,1139,1140,7,11,0,0,1140,1141,7,18,0,0,1141,1142,7,6,0,0,1142,176, - 1,0,0,0,1143,1144,7,8,0,0,1144,1145,7,16,0,0,1145,1146,7,12,0,0, - 1146,1147,7,12,0,0,1147,178,1,0,0,0,1148,1149,7,8,0,0,1149,1150, - 7,16,0,0,1150,1151,7,7,0,0,1151,1152,7,15,0,0,1152,1153,7,9,0,0, - 1153,1154,7,2,0,0,1154,1155,7,18,0,0,1155,1156,7,7,0,0,1156,1157, - 7,0,0,0,1157,180,1,0,0,0,1158,1159,7,21,0,0,1159,1160,7,11,0,0,1160, - 1161,7,4,0,0,1161,1162,7,7,0,0,1162,1163,7,9,0,0,1163,182,1,0,0, - 0,1164,1165,7,21,0,0,1165,1166,7,11,0,0,1166,1167,7,4,0,0,1167,1168, - 7,7,0,0,1168,1169,7,9,0,0,1169,1170,7,10,0,0,1170,1171,7,5,0,0,1171, - 184,1,0,0,0,1172,1173,7,21,0,0,1173,1174,7,11,0,0,1174,1175,7,4, - 0,0,1175,1176,7,7,0,0,1176,1177,7,9,0,0,1177,1178,7,0,0,0,1178,186, - 1,0,0,0,1179,1180,7,5,0,0,1180,1181,7,10,0,0,1181,1182,7,7,0,0,1182, - 1183,7,13,0,0,1183,188,1,0,0,0,1184,1185,7,21,0,0,1185,1186,7,11, - 0,0,1186,1187,7,4,0,0,1187,1188,7,3,0,0,1188,1189,7,17,0,0,1189, - 1190,7,23,0,0,1190,1191,7,2,0,0,1191,1192,7,14,0,0,1192,190,1,0, - 0,0,1193,1194,7,21,0,0,1194,1195,7,11,0,0,1195,1196,7,18,0,0,1196, - 1197,7,16,0,0,1197,1198,7,3,0,0,1198,192,1,0,0,0,1199,1200,7,21, - 0,0,1200,1201,7,11,0,0,1201,1202,7,18,0,0,1202,1203,7,16,0,0,1203, - 1204,7,3,0,0,1204,1205,7,2,0,0,1205,1206,7,7,0,0,1206,1207,7,21, - 0,0,1207,194,1,0,0,0,1208,1209,7,21,0,0,1209,1210,7,11,0,0,1210, - 1211,7,18,0,0,1211,1212,7,16,0,0,1212,1213,7,3,0,0,1213,1214,7,0, - 0,0,1214,196,1,0,0,0,1215,1216,7,17,0,0,1216,1217,7,4,0,0,1217,1218, - 7,23,0,0,1218,1219,7,2,0,0,1219,1220,7,7,0,0,1220,1221,7,21,0,0, - 1221,198,1,0,0,0,1222,1223,7,17,0,0,1223,1224,7,18,0,0,1224,1225, - 7,16,0,0,1225,1226,7,11,0,0,1226,200,1,0,0,0,1227,1228,7,2,0,0,1228, - 1229,7,8,0,0,1229,202,1,0,0,0,1230,1231,7,2,0,0,1231,1232,7,21,0, - 0,1232,1233,7,7,0,0,1233,1234,7,18,0,0,1234,1235,7,11,0,0,1235,1236, - 7,10,0,0,1236,204,1,0,0,0,1237,1238,7,2,0,0,1238,1239,7,7,0,0,1239, - 206,1,0,0,0,1240,1241,7,2,0,0,1241,1242,7,7,0,0,1242,1243,7,15,0, - 0,1243,1244,7,12,0,0,1244,1245,7,16,0,0,1245,1246,7,5,0,0,1246,1247, - 7,2,0,0,1247,1248,7,7,0,0,1248,1249,7,21,0,0,1249,208,1,0,0,0,1250, - 1251,7,2,0,0,1251,1252,7,7,0,0,1252,1253,7,2,0,0,1253,1254,7,9,0, - 0,1254,1255,7,2,0,0,1255,1256,7,4,0,0,1256,1257,7,12,0,0,1257,210, - 1,0,0,0,1258,1259,7,2,0,0,1259,1260,7,7,0,0,1260,1261,7,7,0,0,1261, - 1262,7,10,0,0,1262,1263,7,11,0,0,1263,212,1,0,0,0,1264,1265,7,2, - 0,0,1265,1266,7,7,0,0,1266,1267,7,3,0,0,1267,1268,7,16,0,0,1268, - 1269,7,9,0,0,1269,214,1,0,0,0,1270,1271,7,2,0,0,1271,1272,7,7,0, - 0,1272,1273,7,0,0,0,1273,1274,7,10,0,0,1274,1275,7,11,0,0,1275,1276, - 7,9,0,0,1276,216,1,0,0,0,1277,1278,7,2,0,0,1278,1279,7,7,0,0,1279, - 1280,7,9,0,0,1280,1281,7,10,0,0,1281,1282,7,11,0,0,1282,1283,7,0, - 0,0,1283,1284,7,10,0,0,1284,1285,7,15,0,0,1285,1286,7,9,0,0,1286, - 218,1,0,0,0,1287,1288,7,2,0,0,1288,1289,7,7,0,0,1289,1290,7,9,0, - 0,1290,1291,7,10,0,0,1291,1292,7,11,0,0,1292,1293,7,23,0,0,1293, - 1294,7,4,0,0,1294,1295,7,12,0,0,1295,220,1,0,0,0,1296,1297,7,2,0, - 0,1297,1298,7,7,0,0,1298,1299,7,9,0,0,1299,1300,7,18,0,0,1300,222, - 1,0,0,0,1301,1302,7,2,0,0,1302,1303,7,7,0,0,1303,1304,7,23,0,0,1304, - 1305,7,18,0,0,1305,1306,7,1,0,0,1306,1307,7,10,0,0,1307,1308,7,11, - 0,0,1308,224,1,0,0,0,1309,1310,7,2,0,0,1310,1311,7,18,0,0,1311,226, - 1,0,0,0,1312,1313,7,2,0,0,1313,1314,7,0,0,0,1314,228,1,0,0,0,1315, - 1316,7,2,0,0,1316,1317,7,0,0,0,1317,1318,7,18,0,0,1318,1319,7,12, - 0,0,1319,1320,7,4,0,0,1320,1321,7,9,0,0,1321,1322,7,2,0,0,1322,1323, - 7,18,0,0,1323,1324,7,7,0,0,1324,230,1,0,0,0,1325,1326,7,24,0,0,1326, - 1327,7,18,0,0,1327,1328,7,2,0,0,1328,1329,7,7,0,0,1329,232,1,0,0, - 0,1330,1331,7,24,0,0,1331,1332,7,0,0,0,1332,1333,7,18,0,0,1333,1334, - 7,7,0,0,1334,234,1,0,0,0,1335,1336,7,12,0,0,1336,1337,7,4,0,0,1337, - 1338,7,0,0,0,1338,1339,7,9,0,0,1339,236,1,0,0,0,1340,1341,7,12,0, - 0,1341,1342,7,4,0,0,1342,1343,7,9,0,0,1343,1344,7,10,0,0,1344,1345, - 7,11,0,0,1345,1346,7,4,0,0,1346,1347,7,12,0,0,1347,238,1,0,0,0,1348, - 1349,7,12,0,0,1349,1350,7,10,0,0,1350,1351,7,8,0,0,1351,1352,7,9, - 0,0,1352,240,1,0,0,0,1353,1354,7,12,0,0,1354,1355,7,10,0,0,1355, - 1356,7,23,0,0,1356,1357,7,10,0,0,1357,1358,7,12,0,0,1358,242,1,0, - 0,0,1359,1360,7,12,0,0,1360,1361,7,2,0,0,1361,1362,7,1,0,0,1362, - 1363,7,10,0,0,1363,244,1,0,0,0,1364,1365,7,12,0,0,1365,1366,7,2, - 0,0,1366,1367,7,6,0,0,1367,1368,7,2,0,0,1368,1369,7,9,0,0,1369,246, - 1,0,0,0,1370,1371,7,12,0,0,1371,1372,7,18,0,0,1372,1373,7,15,0,0, - 1373,1374,7,4,0,0,1374,1375,7,12,0,0,1375,248,1,0,0,0,1376,1377, - 7,12,0,0,1377,1378,7,18,0,0,1378,1379,7,15,0,0,1379,1380,7,4,0,0, - 1380,1381,7,12,0,0,1381,1382,7,9,0,0,1382,1383,7,2,0,0,1383,1384, - 7,6,0,0,1384,1385,7,10,0,0,1385,250,1,0,0,0,1386,1387,7,12,0,0,1387, - 1388,7,18,0,0,1388,1389,7,15,0,0,1389,1390,7,4,0,0,1390,1391,7,12, - 0,0,1391,1392,7,9,0,0,1392,1393,7,2,0,0,1393,1394,7,6,0,0,1394,1395, - 7,10,0,0,1395,1396,7,0,0,0,1396,1397,7,9,0,0,1397,1398,7,4,0,0,1398, - 1399,7,6,0,0,1399,1400,7,3,0,0,1400,252,1,0,0,0,1401,1402,7,12,0, - 0,1402,1403,7,18,0,0,1403,1404,7,21,0,0,1404,1405,7,2,0,0,1405,1406, - 7,15,0,0,1406,1407,7,4,0,0,1407,1408,7,12,0,0,1408,254,1,0,0,0,1409, - 1410,7,6,0,0,1410,1411,7,4,0,0,1411,1412,7,3,0,0,1412,256,1,0,0, - 0,1413,1414,7,6,0,0,1414,1415,7,4,0,0,1415,1416,7,9,0,0,1416,1417, - 7,15,0,0,1417,1418,7,17,0,0,1418,258,1,0,0,0,1419,1420,7,6,0,0,1420, - 1421,7,4,0,0,1421,1422,7,9,0,0,1422,1423,7,15,0,0,1423,1424,7,17, - 0,0,1424,1425,7,10,0,0,1425,1426,7,5,0,0,1426,260,1,0,0,0,1427,1428, - 7,6,0,0,1428,1429,7,4,0,0,1429,1430,7,9,0,0,1430,1431,7,15,0,0,1431, - 1432,7,17,0,0,1432,1433,7,10,0,0,1433,1434,7,0,0,0,1434,262,1,0, - 0,0,1435,1436,7,6,0,0,1436,1437,7,4,0,0,1437,1438,7,9,0,0,1438,1439, - 7,15,0,0,1439,1440,7,17,0,0,1440,1441,5,95,0,0,1441,1442,7,11,0, - 0,1442,1443,7,10,0,0,1443,1444,7,15,0,0,1444,1445,7,18,0,0,1445, - 1446,7,21,0,0,1446,1447,7,7,0,0,1447,1448,7,2,0,0,1448,1449,7,14, - 0,0,1449,1450,7,10,0,0,1450,264,1,0,0,0,1451,1452,7,6,0,0,1452,1453, - 7,4,0,0,1453,1454,7,9,0,0,1454,1455,7,10,0,0,1455,1456,7,11,0,0, - 1456,1457,7,2,0,0,1457,1458,7,4,0,0,1458,1459,7,12,0,0,1459,1460, - 7,2,0,0,1460,1461,7,14,0,0,1461,1462,7,10,0,0,1462,1463,7,5,0,0, - 1463,266,1,0,0,0,1464,1465,7,6,0,0,1465,1466,7,10,0,0,1466,1467, - 7,4,0,0,1467,1468,7,0,0,0,1468,1469,7,16,0,0,1469,1470,7,11,0,0, - 1470,1471,7,10,0,0,1471,1472,7,0,0,0,1472,268,1,0,0,0,1473,1474, - 7,6,0,0,1474,1475,7,10,0,0,1475,1476,7,11,0,0,1476,1477,7,21,0,0, - 1477,1478,7,10,0,0,1478,270,1,0,0,0,1479,1480,7,6,0,0,1480,1481, - 7,2,0,0,1481,1482,7,7,0,0,1482,1483,7,16,0,0,1483,1484,7,9,0,0,1484, - 1485,7,10,0,0,1485,272,1,0,0,0,1486,1487,7,6,0,0,1487,1488,7,18, - 0,0,1488,1489,7,7,0,0,1489,1490,7,9,0,0,1490,1491,7,17,0,0,1491, - 274,1,0,0,0,1492,1493,7,7,0,0,1493,1494,7,4,0,0,1494,1495,7,9,0, - 0,1495,1496,7,16,0,0,1496,1497,7,11,0,0,1497,1498,7,4,0,0,1498,1499, - 7,12,0,0,1499,276,1,0,0,0,1500,1501,7,7,0,0,1501,1502,7,10,0,0,1502, - 1503,7,22,0,0,1503,1504,7,9,0,0,1504,278,1,0,0,0,1505,1506,7,7,0, - 0,1506,1507,7,8,0,0,1507,1508,7,15,0,0,1508,280,1,0,0,0,1509,1510, - 7,7,0,0,1510,1511,7,8,0,0,1511,1512,7,5,0,0,1512,282,1,0,0,0,1513, - 1514,7,7,0,0,1514,1515,7,8,0,0,1515,1516,7,1,0,0,1516,1517,7,15, - 0,0,1517,284,1,0,0,0,1518,1519,7,7,0,0,1519,1520,7,8,0,0,1520,1521, - 7,1,0,0,1521,1522,7,5,0,0,1522,286,1,0,0,0,1523,1524,7,7,0,0,1524, - 1525,7,18,0,0,1525,288,1,0,0,0,1526,1527,7,7,0,0,1527,1528,7,18, - 0,0,1528,1529,7,7,0,0,1529,1530,7,10,0,0,1530,290,1,0,0,0,1531,1532, - 7,7,0,0,1532,1533,7,18,0,0,1533,1534,7,11,0,0,1534,1535,7,6,0,0, - 1535,1536,7,4,0,0,1536,1537,7,12,0,0,1537,1538,7,2,0,0,1538,1539, - 7,14,0,0,1539,1540,7,10,0,0,1540,292,1,0,0,0,1541,1542,7,7,0,0,1542, - 1543,7,18,0,0,1543,1544,7,9,0,0,1544,294,1,0,0,0,1545,1546,7,7,0, - 0,1546,1547,7,16,0,0,1547,1548,7,12,0,0,1548,1549,7,12,0,0,1549, - 296,1,0,0,0,1550,1551,7,7,0,0,1551,1552,7,16,0,0,1552,1553,7,12, - 0,0,1553,1554,7,12,0,0,1554,1555,7,2,0,0,1555,1556,7,8,0,0,1556, - 298,1,0,0,0,1557,1558,7,7,0,0,1558,1559,7,16,0,0,1559,1560,7,12, - 0,0,1560,1561,7,12,0,0,1561,1562,7,0,0,0,1562,300,1,0,0,0,1563,1564, - 7,18,0,0,1564,1565,7,8,0,0,1565,1566,7,8,0,0,1566,1567,7,0,0,0,1567, - 1568,7,10,0,0,1568,1569,7,9,0,0,1569,302,1,0,0,0,1570,1571,7,18, - 0,0,1571,1572,7,6,0,0,1572,1573,7,2,0,0,1573,1574,7,9,0,0,1574,304, - 1,0,0,0,1575,1576,7,18,0,0,1576,1577,7,7,0,0,1577,306,1,0,0,0,1578, - 1579,7,18,0,0,1579,1580,7,7,0,0,1580,1581,7,10,0,0,1581,308,1,0, - 0,0,1582,1583,7,18,0,0,1583,1584,7,7,0,0,1584,1585,7,12,0,0,1585, - 1586,7,13,0,0,1586,310,1,0,0,0,1587,1588,7,18,0,0,1588,1589,7,3, - 0,0,1589,1590,7,9,0,0,1590,1591,7,2,0,0,1591,1592,7,18,0,0,1592, - 1593,7,7,0,0,1593,312,1,0,0,0,1594,1595,7,18,0,0,1595,1596,7,11, - 0,0,1596,314,1,0,0,0,1597,1598,7,18,0,0,1598,1599,7,11,0,0,1599, - 1600,7,5,0,0,1600,1601,7,10,0,0,1601,1602,7,11,0,0,1602,316,1,0, - 0,0,1603,1604,7,18,0,0,1604,1605,7,11,0,0,1605,1606,7,5,0,0,1606, - 1607,7,2,0,0,1607,1608,7,7,0,0,1608,1609,7,4,0,0,1609,1610,7,12, - 0,0,1610,1611,7,2,0,0,1611,1612,7,9,0,0,1612,1613,7,13,0,0,1613, - 318,1,0,0,0,1614,1615,7,18,0,0,1615,1616,7,16,0,0,1616,1617,7,9, - 0,0,1617,1618,7,10,0,0,1618,1619,7,11,0,0,1619,320,1,0,0,0,1620, - 1621,7,18,0,0,1621,1622,7,16,0,0,1622,1623,7,9,0,0,1623,1624,7,3, - 0,0,1624,1625,7,16,0,0,1625,1626,7,9,0,0,1626,322,1,0,0,0,1627,1628, - 7,18,0,0,1628,1629,7,23,0,0,1629,1630,7,10,0,0,1630,1631,7,11,0, - 0,1631,324,1,0,0,0,1632,1633,7,3,0,0,1633,1634,7,4,0,0,1634,1635, - 7,11,0,0,1635,1636,7,9,0,0,1636,1637,7,2,0,0,1637,1638,7,9,0,0,1638, - 1639,7,2,0,0,1639,1640,7,18,0,0,1640,1641,7,7,0,0,1641,326,1,0,0, - 0,1642,1643,7,3,0,0,1643,1644,7,4,0,0,1644,1645,7,11,0,0,1645,1646, - 7,9,0,0,1646,1647,7,2,0,0,1647,1648,7,9,0,0,1648,1649,7,2,0,0,1649, - 1650,7,18,0,0,1650,1651,7,7,0,0,1651,1652,7,0,0,0,1652,328,1,0,0, - 0,1653,1654,7,3,0,0,1654,1655,7,4,0,0,1655,1656,7,0,0,0,1656,1657, - 7,9,0,0,1657,330,1,0,0,0,1658,1659,7,3,0,0,1659,1660,7,4,0,0,1660, - 1661,7,9,0,0,1661,1662,7,17,0,0,1662,332,1,0,0,0,1663,1664,7,3,0, - 0,1664,1665,7,4,0,0,1665,1666,7,9,0,0,1666,1667,7,9,0,0,1667,1668, - 7,10,0,0,1668,1669,7,11,0,0,1669,1670,7,7,0,0,1670,334,1,0,0,0,1671, - 1672,7,3,0,0,1672,1673,7,10,0,0,1673,1674,7,11,0,0,1674,336,1,0, - 0,0,1675,1676,7,3,0,0,1676,1677,7,10,0,0,1677,1678,7,11,0,0,1678, - 1679,7,6,0,0,1679,1680,7,16,0,0,1680,1681,7,9,0,0,1681,1682,7,10, - 0,0,1682,338,1,0,0,0,1683,1684,7,3,0,0,1684,1685,7,18,0,0,1685,1686, - 7,0,0,0,1686,1687,7,2,0,0,1687,1688,7,9,0,0,1688,1689,7,2,0,0,1689, - 1690,7,18,0,0,1690,1691,7,7,0,0,1691,340,1,0,0,0,1692,1693,7,3,0, - 0,1693,1694,7,11,0,0,1694,1695,7,10,0,0,1695,1696,7,15,0,0,1696, - 1697,7,10,0,0,1697,1698,7,5,0,0,1698,1699,7,2,0,0,1699,1700,7,7, - 0,0,1700,1701,7,21,0,0,1701,342,1,0,0,0,1702,1703,7,3,0,0,1703,1704, - 7,11,0,0,1704,1705,7,10,0,0,1705,1706,7,15,0,0,1706,1707,7,2,0,0, - 1707,1708,7,0,0,0,1708,1709,7,2,0,0,1709,1710,7,18,0,0,1710,1711, - 7,7,0,0,1711,344,1,0,0,0,1712,1713,7,3,0,0,1713,1714,7,11,0,0,1714, - 1715,7,10,0,0,1715,1716,7,3,0,0,1716,1717,7,4,0,0,1717,1718,7,11, - 0,0,1718,1719,7,10,0,0,1719,346,1,0,0,0,1720,1721,7,3,0,0,1721,1722, - 7,11,0,0,1722,1723,7,2,0,0,1723,1724,7,23,0,0,1724,1725,7,2,0,0, - 1725,1726,7,12,0,0,1726,1727,7,10,0,0,1727,1728,7,21,0,0,1728,1729, - 7,10,0,0,1729,1730,7,0,0,0,1730,348,1,0,0,0,1731,1732,7,3,0,0,1732, - 1733,7,11,0,0,1733,1734,7,18,0,0,1734,1735,7,3,0,0,1735,1736,7,10, - 0,0,1736,1737,7,11,0,0,1737,1738,7,9,0,0,1738,1739,7,2,0,0,1739, - 1740,7,10,0,0,1740,1741,7,0,0,0,1741,350,1,0,0,0,1742,1743,7,11, - 0,0,1743,1744,7,4,0,0,1744,1745,7,7,0,0,1745,1746,7,21,0,0,1746, - 1747,7,10,0,0,1747,352,1,0,0,0,1748,1749,7,11,0,0,1749,1750,7,10, - 0,0,1750,1751,7,4,0,0,1751,1752,7,5,0,0,1752,354,1,0,0,0,1753,1754, - 7,11,0,0,1754,1755,7,10,0,0,1755,1756,7,15,0,0,1756,1757,7,16,0, - 0,1757,1758,7,11,0,0,1758,1759,7,0,0,0,1759,1760,7,2,0,0,1760,1761, - 7,23,0,0,1761,1762,7,10,0,0,1762,356,1,0,0,0,1763,1764,7,11,0,0, - 1764,1765,7,10,0,0,1765,1766,7,8,0,0,1766,1767,7,11,0,0,1767,1768, - 7,10,0,0,1768,1769,7,0,0,0,1769,1770,7,17,0,0,1770,358,1,0,0,0,1771, - 1772,7,11,0,0,1772,1773,7,10,0,0,1773,1774,7,7,0,0,1774,1775,7,4, - 0,0,1775,1776,7,6,0,0,1776,1777,7,10,0,0,1777,360,1,0,0,0,1778,1779, - 7,11,0,0,1779,1780,7,10,0,0,1780,1781,7,3,0,0,1781,1782,7,10,0,0, - 1782,1783,7,4,0,0,1783,1784,7,9,0,0,1784,1785,7,4,0,0,1785,1786, - 7,19,0,0,1786,1787,7,12,0,0,1787,1788,7,10,0,0,1788,362,1,0,0,0, - 1789,1790,7,11,0,0,1790,1791,7,10,0,0,1791,1792,7,3,0,0,1792,1793, - 7,12,0,0,1793,1794,7,4,0,0,1794,1795,7,15,0,0,1795,1796,7,10,0,0, - 1796,364,1,0,0,0,1797,1798,7,11,0,0,1798,1799,7,10,0,0,1799,1800, - 7,0,0,0,1800,1801,7,10,0,0,1801,1802,7,9,0,0,1802,366,1,0,0,0,1803, - 1804,7,11,0,0,1804,1805,7,10,0,0,1805,1806,7,0,0,0,1806,1807,7,3, - 0,0,1807,1808,7,10,0,0,1808,1809,7,15,0,0,1809,1810,7,9,0,0,1810, - 368,1,0,0,0,1811,1812,7,11,0,0,1812,1813,7,10,0,0,1813,1814,7,0, - 0,0,1814,1815,7,9,0,0,1815,1816,7,11,0,0,1816,1817,7,2,0,0,1817, - 1818,7,15,0,0,1818,1819,7,9,0,0,1819,370,1,0,0,0,1820,1821,7,11, - 0,0,1821,1822,7,10,0,0,1822,1823,7,23,0,0,1823,1824,7,18,0,0,1824, - 1825,7,1,0,0,1825,1826,7,10,0,0,1826,372,1,0,0,0,1827,1828,7,11, - 0,0,1828,1829,7,2,0,0,1829,1830,7,21,0,0,1830,1831,7,17,0,0,1831, - 1832,7,9,0,0,1832,374,1,0,0,0,1833,1834,7,11,0,0,1834,1835,7,18, - 0,0,1835,1836,7,12,0,0,1836,1837,7,10,0,0,1837,376,1,0,0,0,1838, - 1839,7,11,0,0,1839,1840,7,18,0,0,1840,1841,7,12,0,0,1841,1842,7, - 10,0,0,1842,1843,7,0,0,0,1843,378,1,0,0,0,1844,1845,7,11,0,0,1845, - 1846,7,18,0,0,1846,1847,7,12,0,0,1847,1848,7,12,0,0,1848,1849,7, - 19,0,0,1849,1850,7,4,0,0,1850,1851,7,15,0,0,1851,1852,7,1,0,0,1852, - 380,1,0,0,0,1853,1854,7,11,0,0,1854,1855,7,18,0,0,1855,1856,7,12, - 0,0,1856,1857,7,12,0,0,1857,1858,7,16,0,0,1858,1859,7,3,0,0,1859, - 382,1,0,0,0,1860,1861,7,11,0,0,1861,1862,7,18,0,0,1862,1863,7,20, - 0,0,1863,384,1,0,0,0,1864,1865,7,11,0,0,1865,1866,7,18,0,0,1866, - 1867,7,20,0,0,1867,1868,7,0,0,0,1868,386,1,0,0,0,1869,1870,7,11, - 0,0,1870,1871,7,16,0,0,1871,1872,7,7,0,0,1872,1873,7,7,0,0,1873, - 1874,7,2,0,0,1874,1875,7,7,0,0,1875,1876,7,21,0,0,1876,388,1,0,0, - 0,1877,1878,7,0,0,0,1878,1879,7,15,0,0,1879,1880,7,17,0,0,1880,1881, - 7,10,0,0,1881,1882,7,6,0,0,1882,1883,7,4,0,0,1883,390,1,0,0,0,1884, - 1885,7,0,0,0,1885,1886,7,15,0,0,1886,1887,7,17,0,0,1887,1888,7,10, - 0,0,1888,1889,7,6,0,0,1889,1890,7,4,0,0,1890,1891,7,0,0,0,1891,392, - 1,0,0,0,1892,1893,7,0,0,0,1893,1894,7,10,0,0,1894,1895,7,15,0,0, - 1895,1896,7,18,0,0,1896,1897,7,7,0,0,1897,1898,7,5,0,0,1898,394, - 1,0,0,0,1899,1900,7,0,0,0,1900,1901,7,10,0,0,1901,1902,7,15,0,0, - 1902,1903,7,16,0,0,1903,1904,7,11,0,0,1904,1905,7,2,0,0,1905,1906, - 7,9,0,0,1906,1907,7,13,0,0,1907,396,1,0,0,0,1908,1909,7,0,0,0,1909, - 1910,7,10,0,0,1910,1911,7,10,0,0,1911,1912,7,1,0,0,1912,398,1,0, - 0,0,1913,1914,7,0,0,0,1914,1915,7,10,0,0,1915,1916,7,12,0,0,1916, - 1917,7,10,0,0,1917,1918,7,15,0,0,1918,1919,7,9,0,0,1919,400,1,0, - 0,0,1920,1921,7,0,0,0,1921,1922,7,10,0,0,1922,1923,7,11,0,0,1923, - 1924,7,2,0,0,1924,1925,7,4,0,0,1925,1926,7,12,0,0,1926,1927,7,2, - 0,0,1927,1928,7,14,0,0,1928,1929,7,4,0,0,1929,1930,7,19,0,0,1930, - 1931,7,12,0,0,1931,1932,7,10,0,0,1932,402,1,0,0,0,1933,1934,7,0, - 0,0,1934,1935,7,10,0,0,1935,1936,7,0,0,0,1936,1937,7,0,0,0,1937, - 1938,7,2,0,0,1938,1939,7,18,0,0,1939,1940,7,7,0,0,1940,404,1,0,0, - 0,1941,1942,7,0,0,0,1942,1943,7,10,0,0,1943,1944,7,9,0,0,1944,406, - 1,0,0,0,1945,1946,7,0,0,0,1946,1947,7,10,0,0,1947,1948,7,9,0,0,1948, - 1949,7,0,0,0,1949,408,1,0,0,0,1950,1951,7,0,0,0,1951,1952,7,17,0, - 0,1952,1953,7,18,0,0,1953,1954,7,20,0,0,1954,410,1,0,0,0,1955,1956, - 7,0,0,0,1956,1957,7,18,0,0,1957,1958,7,6,0,0,1958,1959,7,10,0,0, - 1959,412,1,0,0,0,1960,1961,7,0,0,0,1961,1962,7,9,0,0,1962,1963,7, - 4,0,0,1963,1964,7,11,0,0,1964,1965,7,9,0,0,1965,414,1,0,0,0,1966, - 1967,7,0,0,0,1967,1968,7,9,0,0,1968,1969,7,4,0,0,1969,1970,7,9,0, - 0,1970,1971,7,0,0,0,1971,416,1,0,0,0,1972,1973,7,0,0,0,1973,1974, - 7,16,0,0,1974,1975,7,19,0,0,1975,1976,7,0,0,0,1976,1977,7,10,0,0, - 1977,1978,7,9,0,0,1978,418,1,0,0,0,1979,1980,7,0,0,0,1980,1981,7, - 16,0,0,1981,1982,7,19,0,0,1982,1983,7,0,0,0,1983,1984,7,9,0,0,1984, - 1985,7,11,0,0,1985,1986,7,2,0,0,1986,1987,7,7,0,0,1987,1988,7,21, - 0,0,1988,420,1,0,0,0,1989,1990,7,0,0,0,1990,1991,7,13,0,0,1991,1992, - 7,0,0,0,1992,1993,7,9,0,0,1993,1994,7,10,0,0,1994,1995,7,6,0,0,1995, - 422,1,0,0,0,1996,1997,7,9,0,0,1997,1998,7,4,0,0,1998,1999,7,19,0, - 0,1999,2000,7,12,0,0,2000,2001,7,10,0,0,2001,424,1,0,0,0,2002,2003, - 7,9,0,0,2003,2004,7,4,0,0,2004,2005,7,19,0,0,2005,2006,7,12,0,0, - 2006,2007,7,10,0,0,2007,2008,7,0,0,0,2008,426,1,0,0,0,2009,2010, - 7,9,0,0,2010,2011,7,4,0,0,2011,2012,7,19,0,0,2012,2013,7,12,0,0, - 2013,2014,7,10,0,0,2014,2015,7,0,0,0,2015,2016,7,4,0,0,2016,2017, - 7,6,0,0,2017,2018,7,3,0,0,2018,2019,7,12,0,0,2019,2020,7,10,0,0, - 2020,428,1,0,0,0,2021,2022,7,9,0,0,2022,2023,7,10,0,0,2023,2024, - 7,22,0,0,2024,2025,7,9,0,0,2025,430,1,0,0,0,2026,2027,7,9,0,0,2027, - 2028,7,17,0,0,2028,2029,7,10,0,0,2029,2030,7,7,0,0,2030,432,1,0, - 0,0,2031,2032,7,9,0,0,2032,2033,7,2,0,0,2033,2034,7,10,0,0,2034, - 2035,7,0,0,0,2035,434,1,0,0,0,2036,2037,7,9,0,0,2037,2038,7,2,0, - 0,2038,2039,7,6,0,0,2039,2040,7,10,0,0,2040,436,1,0,0,0,2041,2042, - 7,9,0,0,2042,2043,7,2,0,0,2043,2044,7,6,0,0,2044,2045,7,10,0,0,2045, - 2046,7,0,0,0,2046,2047,7,9,0,0,2047,2048,7,4,0,0,2048,2049,7,6,0, - 0,2049,2050,7,3,0,0,2050,438,1,0,0,0,2051,2052,7,9,0,0,2052,2053, - 7,18,0,0,2053,440,1,0,0,0,2054,2055,7,9,0,0,2055,2056,7,11,0,0,2056, - 2057,7,4,0,0,2057,2058,7,7,0,0,2058,2059,7,0,0,0,2059,2060,7,4,0, - 0,2060,2061,7,15,0,0,2061,2062,7,9,0,0,2062,2063,7,2,0,0,2063,2064, - 7,18,0,0,2064,2065,7,7,0,0,2065,442,1,0,0,0,2066,2067,7,9,0,0,2067, - 2068,7,11,0,0,2068,2069,7,16,0,0,2069,2070,7,7,0,0,2070,2071,7,15, - 0,0,2071,2072,7,4,0,0,2072,2073,7,9,0,0,2073,2074,7,10,0,0,2074, - 444,1,0,0,0,2075,2076,7,9,0,0,2076,2077,7,11,0,0,2077,2078,7,16, - 0,0,2078,2079,7,10,0,0,2079,446,1,0,0,0,2080,2081,7,9,0,0,2081,2082, - 7,11,0,0,2082,2083,7,13,0,0,2083,2084,5,95,0,0,2084,2085,7,15,0, - 0,2085,2086,7,4,0,0,2086,2087,7,0,0,0,2087,2088,7,9,0,0,2088,448, - 1,0,0,0,2089,2090,7,9,0,0,2090,2091,7,13,0,0,2091,2092,7,3,0,0,2092, - 2093,7,10,0,0,2093,450,1,0,0,0,2094,2095,7,16,0,0,2095,2096,7,10, - 0,0,2096,2097,7,0,0,0,2097,2098,7,15,0,0,2098,2099,7,4,0,0,2099, - 2100,7,3,0,0,2100,2101,7,10,0,0,2101,452,1,0,0,0,2102,2103,7,16, - 0,0,2103,2104,7,7,0,0,2104,2105,7,19,0,0,2105,2106,7,18,0,0,2106, - 2107,7,16,0,0,2107,2108,7,7,0,0,2108,2109,7,5,0,0,2109,2110,7,10, - 0,0,2110,2111,7,5,0,0,2111,454,1,0,0,0,2112,2113,7,16,0,0,2113,2114, - 7,7,0,0,2114,2115,7,15,0,0,2115,2116,7,18,0,0,2116,2117,7,6,0,0, - 2117,2118,7,6,0,0,2118,2119,7,2,0,0,2119,2120,7,9,0,0,2120,2121, - 7,9,0,0,2121,2122,7,10,0,0,2122,2123,7,5,0,0,2123,456,1,0,0,0,2124, - 2125,7,16,0,0,2125,2126,7,7,0,0,2126,2127,7,2,0,0,2127,2128,7,18, - 0,0,2128,2129,7,7,0,0,2129,458,1,0,0,0,2130,2131,7,16,0,0,2131,2132, - 7,7,0,0,2132,2133,7,6,0,0,2133,2134,7,4,0,0,2134,2135,7,9,0,0,2135, - 2136,7,15,0,0,2136,2137,7,17,0,0,2137,2138,7,10,0,0,2138,2139,7, - 5,0,0,2139,460,1,0,0,0,2140,2141,7,16,0,0,2141,2142,7,7,0,0,2142, - 2143,7,7,0,0,2143,2144,7,10,0,0,2144,2145,7,0,0,0,2145,2146,7,9, - 0,0,2146,462,1,0,0,0,2147,2148,7,16,0,0,2148,2149,7,3,0,0,2149,2150, - 7,5,0,0,2150,2151,7,4,0,0,2151,2152,7,9,0,0,2152,2153,7,10,0,0,2153, - 464,1,0,0,0,2154,2155,7,16,0,0,2155,2156,7,0,0,0,2156,2157,7,10, - 0,0,2157,466,1,0,0,0,2158,2159,7,16,0,0,2159,2160,7,0,0,0,2160,2161, - 7,10,0,0,2161,2162,7,11,0,0,2162,468,1,0,0,0,2163,2164,7,16,0,0, - 2164,2165,7,0,0,0,2165,2166,7,2,0,0,2166,2167,7,7,0,0,2167,2168, - 7,21,0,0,2168,470,1,0,0,0,2169,2170,7,23,0,0,2170,2171,7,4,0,0,2171, - 2172,7,12,0,0,2172,2173,7,2,0,0,2173,2174,7,5,0,0,2174,2175,7,4, - 0,0,2175,2176,7,9,0,0,2176,2177,7,10,0,0,2177,472,1,0,0,0,2178,2179, - 7,23,0,0,2179,2180,7,4,0,0,2180,2181,7,12,0,0,2181,2182,7,16,0,0, - 2182,2183,7,10,0,0,2183,2184,7,0,0,0,2184,474,1,0,0,0,2185,2186, - 7,23,0,0,2186,2187,7,10,0,0,2187,2188,7,11,0,0,2188,2189,7,19,0, - 0,2189,2190,7,18,0,0,2190,2191,7,0,0,0,2191,2192,7,10,0,0,2192,476, - 1,0,0,0,2193,2194,7,23,0,0,2194,2195,7,2,0,0,2195,2196,7,10,0,0, - 2196,2197,7,20,0,0,2197,478,1,0,0,0,2198,2199,7,20,0,0,2199,2200, - 7,17,0,0,2200,2201,7,10,0,0,2201,2202,7,7,0,0,2202,480,1,0,0,0,2203, - 2204,7,20,0,0,2204,2205,7,17,0,0,2205,2206,7,10,0,0,2206,2207,7, - 11,0,0,2207,2208,7,10,0,0,2208,482,1,0,0,0,2209,2210,7,20,0,0,2210, - 2211,7,2,0,0,2211,2212,7,7,0,0,2212,2213,7,5,0,0,2213,2214,7,18, - 0,0,2214,2215,7,20,0,0,2215,484,1,0,0,0,2216,2217,7,20,0,0,2217, - 2218,7,2,0,0,2218,2219,7,9,0,0,2219,2220,7,17,0,0,2220,486,1,0,0, - 0,2221,2222,7,20,0,0,2222,2223,7,2,0,0,2223,2224,7,9,0,0,2224,2225, - 7,17,0,0,2225,2226,7,18,0,0,2226,2227,7,16,0,0,2227,2228,7,9,0,0, - 2228,488,1,0,0,0,2229,2230,7,20,0,0,2230,2231,7,18,0,0,2231,2232, - 7,11,0,0,2232,2233,7,1,0,0,2233,490,1,0,0,0,2234,2235,7,20,0,0,2235, - 2236,7,11,0,0,2236,2237,7,2,0,0,2237,2238,7,9,0,0,2238,2239,7,10, - 0,0,2239,492,1,0,0,0,2240,2241,7,13,0,0,2241,2242,7,10,0,0,2242, - 2243,7,4,0,0,2243,2244,7,11,0,0,2244,494,1,0,0,0,2245,2246,7,14, - 0,0,2246,2247,7,18,0,0,2247,2248,7,7,0,0,2248,2249,7,10,0,0,2249, - 496,1,0,0,0,2250,2251,5,61,0,0,2251,498,1,0,0,0,2252,2253,5,60,0, - 0,2253,2257,5,62,0,0,2254,2255,5,33,0,0,2255,2257,5,61,0,0,2256, - 2252,1,0,0,0,2256,2254,1,0,0,0,2257,500,1,0,0,0,2258,2259,5,60,0, - 0,2259,502,1,0,0,0,2260,2261,5,60,0,0,2261,2262,5,61,0,0,2262,504, - 1,0,0,0,2263,2264,5,62,0,0,2264,506,1,0,0,0,2265,2266,5,62,0,0,2266, - 2267,5,61,0,0,2267,508,1,0,0,0,2268,2269,5,43,0,0,2269,510,1,0,0, - 0,2270,2271,5,45,0,0,2271,512,1,0,0,0,2272,2273,5,42,0,0,2273,514, - 1,0,0,0,2274,2275,5,47,0,0,2275,516,1,0,0,0,2276,2277,5,37,0,0,2277, - 518,1,0,0,0,2278,2279,5,124,0,0,2279,2280,5,124,0,0,2280,520,1,0, - 0,0,2281,2282,5,63,0,0,2282,522,1,0,0,0,2283,2289,5,39,0,0,2284, - 2288,8,25,0,0,2285,2286,5,39,0,0,2286,2288,5,39,0,0,2287,2284,1, - 0,0,0,2287,2285,1,0,0,0,2288,2291,1,0,0,0,2289,2287,1,0,0,0,2289, - 2290,1,0,0,0,2290,2292,1,0,0,0,2291,2289,1,0,0,0,2292,2293,5,39, - 0,0,2293,524,1,0,0,0,2294,2295,7,16,0,0,2295,2296,5,38,0,0,2296, - 2297,5,39,0,0,2297,2303,1,0,0,0,2298,2302,8,25,0,0,2299,2300,5,39, - 0,0,2300,2302,5,39,0,0,2301,2298,1,0,0,0,2301,2299,1,0,0,0,2302, - 2305,1,0,0,0,2303,2301,1,0,0,0,2303,2304,1,0,0,0,2304,2306,1,0,0, - 0,2305,2303,1,0,0,0,2306,2307,5,39,0,0,2307,526,1,0,0,0,2308,2309, - 7,22,0,0,2309,2310,5,39,0,0,2310,2314,1,0,0,0,2311,2313,8,25,0,0, - 2312,2311,1,0,0,0,2313,2316,1,0,0,0,2314,2312,1,0,0,0,2314,2315, - 1,0,0,0,2315,2317,1,0,0,0,2316,2314,1,0,0,0,2317,2318,5,39,0,0,2318, - 528,1,0,0,0,2319,2321,3,547,273,0,2320,2319,1,0,0,0,2321,2322,1, - 0,0,0,2322,2320,1,0,0,0,2322,2323,1,0,0,0,2323,530,1,0,0,0,2324, - 2326,3,547,273,0,2325,2324,1,0,0,0,2326,2327,1,0,0,0,2327,2325,1, - 0,0,0,2327,2328,1,0,0,0,2328,2329,1,0,0,0,2329,2333,5,46,0,0,2330, - 2332,3,547,273,0,2331,2330,1,0,0,0,2332,2335,1,0,0,0,2333,2331,1, - 0,0,0,2333,2334,1,0,0,0,2334,2343,1,0,0,0,2335,2333,1,0,0,0,2336, - 2338,5,46,0,0,2337,2339,3,547,273,0,2338,2337,1,0,0,0,2339,2340, - 1,0,0,0,2340,2338,1,0,0,0,2340,2341,1,0,0,0,2341,2343,1,0,0,0,2342, - 2325,1,0,0,0,2342,2336,1,0,0,0,2343,532,1,0,0,0,2344,2346,3,547, - 273,0,2345,2344,1,0,0,0,2346,2347,1,0,0,0,2347,2345,1,0,0,0,2347, - 2348,1,0,0,0,2348,2356,1,0,0,0,2349,2353,5,46,0,0,2350,2352,3,547, - 273,0,2351,2350,1,0,0,0,2352,2355,1,0,0,0,2353,2351,1,0,0,0,2353, - 2354,1,0,0,0,2354,2357,1,0,0,0,2355,2353,1,0,0,0,2356,2349,1,0,0, - 0,2356,2357,1,0,0,0,2357,2358,1,0,0,0,2358,2359,3,545,272,0,2359, - 2369,1,0,0,0,2360,2362,5,46,0,0,2361,2363,3,547,273,0,2362,2361, - 1,0,0,0,2363,2364,1,0,0,0,2364,2362,1,0,0,0,2364,2365,1,0,0,0,2365, - 2366,1,0,0,0,2366,2367,3,545,272,0,2367,2369,1,0,0,0,2368,2345,1, - 0,0,0,2368,2360,1,0,0,0,2369,534,1,0,0,0,2370,2373,3,549,274,0,2371, - 2373,5,95,0,0,2372,2370,1,0,0,0,2372,2371,1,0,0,0,2373,2379,1,0, - 0,0,2374,2378,3,549,274,0,2375,2378,3,547,273,0,2376,2378,5,95,0, - 0,2377,2374,1,0,0,0,2377,2375,1,0,0,0,2377,2376,1,0,0,0,2378,2381, - 1,0,0,0,2379,2377,1,0,0,0,2379,2380,1,0,0,0,2380,536,1,0,0,0,2381, - 2379,1,0,0,0,2382,2386,3,547,273,0,2383,2387,3,549,274,0,2384,2387, - 3,547,273,0,2385,2387,5,95,0,0,2386,2383,1,0,0,0,2386,2384,1,0,0, - 0,2386,2385,1,0,0,0,2387,2388,1,0,0,0,2388,2386,1,0,0,0,2388,2389, - 1,0,0,0,2389,538,1,0,0,0,2390,2396,5,34,0,0,2391,2395,8,26,0,0,2392, - 2393,5,34,0,0,2393,2395,5,34,0,0,2394,2391,1,0,0,0,2394,2392,1,0, - 0,0,2395,2398,1,0,0,0,2396,2394,1,0,0,0,2396,2397,1,0,0,0,2397,2399, - 1,0,0,0,2398,2396,1,0,0,0,2399,2400,5,34,0,0,2400,540,1,0,0,0,2401, - 2407,5,96,0,0,2402,2406,8,27,0,0,2403,2404,5,96,0,0,2404,2406,5, - 96,0,0,2405,2402,1,0,0,0,2405,2403,1,0,0,0,2406,2409,1,0,0,0,2407, - 2405,1,0,0,0,2407,2408,1,0,0,0,2408,2410,1,0,0,0,2409,2407,1,0,0, - 0,2410,2411,5,96,0,0,2411,542,1,0,0,0,2412,2413,5,59,0,0,2413,544, - 1,0,0,0,2414,2416,7,10,0,0,2415,2417,7,28,0,0,2416,2415,1,0,0,0, - 2416,2417,1,0,0,0,2417,2419,1,0,0,0,2418,2420,3,547,273,0,2419,2418, - 1,0,0,0,2420,2421,1,0,0,0,2421,2419,1,0,0,0,2421,2422,1,0,0,0,2422, - 546,1,0,0,0,2423,2424,7,29,0,0,2424,548,1,0,0,0,2425,2426,7,30,0, - 0,2426,550,1,0,0,0,2427,2428,5,45,0,0,2428,2429,5,45,0,0,2429,2433, - 1,0,0,0,2430,2432,8,31,0,0,2431,2430,1,0,0,0,2432,2435,1,0,0,0,2433, - 2431,1,0,0,0,2433,2434,1,0,0,0,2434,2437,1,0,0,0,2435,2433,1,0,0, - 0,2436,2438,5,13,0,0,2437,2436,1,0,0,0,2437,2438,1,0,0,0,2438,2440, - 1,0,0,0,2439,2441,5,10,0,0,2440,2439,1,0,0,0,2440,2441,1,0,0,0,2441, - 2442,1,0,0,0,2442,2443,6,275,0,0,2443,552,1,0,0,0,2444,2445,5,47, - 0,0,2445,2446,5,42,0,0,2446,2450,1,0,0,0,2447,2449,9,0,0,0,2448, - 2447,1,0,0,0,2449,2452,1,0,0,0,2450,2451,1,0,0,0,2450,2448,1,0,0, - 0,2451,2453,1,0,0,0,2452,2450,1,0,0,0,2453,2454,5,42,0,0,2454,2455, - 5,47,0,0,2455,2456,1,0,0,0,2456,2457,6,276,0,0,2457,554,1,0,0,0, - 2458,2460,7,32,0,0,2459,2458,1,0,0,0,2460,2461,1,0,0,0,2461,2459, - 1,0,0,0,2461,2462,1,0,0,0,2462,2463,1,0,0,0,2463,2464,6,277,0,0, - 2464,556,1,0,0,0,2465,2466,9,0,0,0,2466,558,1,0,0,0,33,0,2256,2287, - 2289,2301,2303,2314,2322,2327,2333,2340,2342,2347,2353,2356,2364, - 2368,2372,2377,2379,2386,2388,2394,2396,2405,2407,2416,2421,2433, - 2437,2440,2450,2461,1,0,1,0 + 1,242,1,242,1,242,1,242,1,242,1,242,1,243,1,243,1,243,1,243,1,243, + 1,243,1,243,1,243,1,244,1,244,1,244,1,244,1,244,1,244,1,244,1,245, + 1,245,1,245,1,245,1,245,1,245,1,245,1,245,1,245,1,246,1,246,1,246, + 1,246,1,246,1,247,1,247,1,247,1,247,1,247,1,247,1,247,1,248,1,248, + 1,248,1,248,1,248,1,248,1,248,1,248,1,248,1,248,1,248,1,248,1,248, + 1,249,1,249,1,249,1,249,1,249,1,249,1,249,1,249,1,250,1,250,1,250, + 1,250,1,251,1,251,1,251,1,251,1,251,1,252,1,252,1,252,1,252,1,252, + 1,253,1,253,1,253,1,253,1,253,1,254,1,254,1,254,1,254,1,254,1,254, + 1,255,1,255,1,255,1,255,1,255,1,255,1,256,1,256,1,256,1,256,1,256, + 1,256,1,256,1,257,1,257,1,257,1,257,1,257,1,257,1,257,1,257,1,257, + 1,257,1,258,1,258,1,258,1,258,1,258,1,258,1,258,1,259,1,259,1,259, + 1,259,1,259,1,259,1,260,1,260,1,260,1,260,1,260,1,260,1,260,1,261, + 1,261,1,261,1,261,1,261,1,261,1,261,1,261,1,261,1,261,1,261,1,261, + 1,262,1,262,1,262,1,262,1,262,1,263,1,263,1,263,1,263,1,263,1,263, + 1,263,1,264,1,264,1,264,1,264,1,264,1,265,1,265,1,265,1,265,1,265, + 1,266,1,266,1,266,1,266,1,266,1,267,1,267,1,267,1,267,1,267,1,267, + 1,267,1,267,1,267,1,267,1,268,1,268,1,268,1,269,1,269,1,269,1,269, + 1,269,1,269,1,269,1,269,1,269,1,270,1,270,1,270,1,270,1,270,1,270, + 1,270,1,270,1,270,1,270,1,270,1,270,1,271,1,271,1,271,1,271,1,271, + 1,272,1,272,1,272,1,272,1,272,1,273,1,273,1,273,1,273,1,273,1,273, + 1,273,1,273,1,273,1,274,1,274,1,274,1,274,1,274,1,274,1,274,1,274, + 1,274,1,275,1,275,1,275,1,275,1,275,1,276,1,276,1,276,1,276,1,276, + 1,276,1,276,1,276,1,277,1,277,1,277,1,277,1,277,1,277,1,277,1,277, + 1,277,1,277,1,278,1,278,1,278,1,278,1,278,1,278,1,278,1,278,1,278, + 1,278,1,278,1,278,1,279,1,279,1,279,1,279,1,279,1,279,1,279,1,279, + 1,279,1,279,1,279,1,279,1,279,1,279,1,280,1,280,1,280,1,280,1,280, + 1,280,1,281,1,281,1,281,1,281,1,281,1,281,1,281,1,282,1,282,1,282, + 1,282,1,282,1,282,1,282,1,282,1,283,1,283,1,283,1,283,1,283,1,283, + 1,283,1,283,1,283,1,283,1,284,1,284,1,284,1,284,1,284,1,284,1,284, + 1,285,1,285,1,285,1,285,1,285,1,285,1,286,1,286,1,286,1,286,1,286, + 1,286,1,286,1,287,1,287,1,287,1,287,1,288,1,288,1,288,1,288,1,288, + 1,289,1,289,1,289,1,289,1,289,1,289,1,290,1,290,1,290,1,290,1,290, + 1,290,1,291,1,291,1,291,1,291,1,291,1,291,1,292,1,292,1,292,1,292, + 1,292,1,293,1,293,1,293,1,293,1,293,1,293,1,293,1,293,1,293,1,294, + 1,294,1,294,1,294,1,294,1,294,1,295,1,295,1,295,1,295,1,295,1,295, + 1,295,1,296,1,296,1,296,1,296,1,296,1,296,1,296,1,296,1,297,1,297, + 1,297,1,297,1,297,1,297,1,297,1,297,1,298,1,298,1,298,1,298,1,298, + 1,299,1,299,1,299,1,299,1,299,1,300,1,300,1,300,1,300,1,300,1,300, + 1,301,1,301,1,301,1,301,1,301,1,301,1,302,1,302,1,302,1,302,1,302, + 1,302,1,302,1,303,1,303,1,303,1,303,1,303,1,304,1,304,1,304,1,304, + 1,304,1,304,1,304,1,305,1,305,1,305,1,305,1,305,1,305,1,305,1,305, + 1,306,1,306,1,306,1,306,1,306,1,307,1,307,1,307,1,307,1,307,1,307, + 1,307,1,307,1,308,1,308,1,308,1,308,1,308,1,308,1,309,1,309,1,309, + 1,309,1,309,1,310,1,310,1,310,1,310,1,310,1,311,1,311,1,312,1,312, + 1,312,1,312,3,312,2871,8,312,1,313,1,313,1,314,1,314,1,314,1,315, + 1,315,1,316,1,316,1,316,1,317,1,317,1,318,1,318,1,319,1,319,1,320, + 1,320,1,321,1,321,1,322,1,322,1,322,1,323,1,323,1,324,1,324,1,325, + 1,325,1,325,1,325,5,325,2904,8,325,10,325,12,325,2907,9,325,1,325, + 1,325,1,326,1,326,1,326,1,326,1,326,1,326,1,326,5,326,2918,8,326, + 10,326,12,326,2921,9,326,1,326,1,326,1,327,1,327,1,327,1,327,5,327, + 2929,8,327,10,327,12,327,2932,9,327,1,327,1,327,1,328,1,328,1,328, + 1,328,3,328,2940,8,328,1,329,1,329,1,329,3,329,2945,8,329,1,329, + 1,329,3,329,2949,8,329,1,330,4,330,2952,8,330,11,330,12,330,2953, + 1,330,1,330,5,330,2958,8,330,10,330,12,330,2961,9,330,3,330,2963, + 8,330,1,330,1,330,1,330,1,330,4,330,2969,8,330,11,330,12,330,2970, + 1,330,1,330,3,330,2975,8,330,1,331,1,331,3,331,2979,8,331,1,331, + 1,331,1,331,5,331,2984,8,331,10,331,12,331,2987,9,331,1,332,1,332, + 1,332,1,332,4,332,2993,8,332,11,332,12,332,2994,1,333,1,333,1,333, + 1,333,5,333,3001,8,333,10,333,12,333,3004,9,333,1,333,1,333,1,334, + 1,334,1,334,1,334,5,334,3012,8,334,10,334,12,334,3015,9,334,1,334, + 1,334,1,335,1,335,3,335,3021,8,335,1,335,5,335,3024,8,335,10,335, + 12,335,3027,9,335,1,336,1,336,1,336,1,336,3,336,3033,8,336,1,336, + 1,336,3,336,3037,8,336,4,336,3039,8,336,11,336,12,336,3040,1,337, + 1,337,1,337,1,337,3,337,3047,8,337,1,337,4,337,3050,8,337,11,337, + 12,337,3051,1,338,1,338,1,338,1,338,3,338,3058,8,338,1,338,4,338, + 3061,8,338,11,338,12,338,3062,1,339,1,339,3,339,3067,8,339,1,339, + 4,339,3070,8,339,11,339,12,339,3071,1,340,1,340,1,341,1,341,1,342, + 1,342,1,342,1,342,5,342,3082,8,342,10,342,12,342,3085,9,342,1,342, + 3,342,3088,8,342,1,342,3,342,3091,8,342,1,342,1,342,1,343,1,343, + 1,343,1,343,5,343,3099,8,343,10,343,12,343,3102,9,343,1,343,1,343, + 1,343,1,343,1,343,1,344,4,344,3110,8,344,11,344,12,344,3111,1,344, + 1,344,1,345,1,345,1,3100,0,346,1,1,3,2,5,3,7,4,9,5,11,6,13,7,15, + 8,17,9,19,10,21,11,23,12,25,13,27,14,29,15,31,16,33,17,35,18,37, + 19,39,20,41,21,43,22,45,23,47,24,49,25,51,26,53,27,55,28,57,29,59, + 30,61,31,63,32,65,33,67,34,69,35,71,36,73,37,75,38,77,39,79,40,81, + 41,83,42,85,43,87,44,89,45,91,46,93,47,95,48,97,49,99,50,101,51, + 103,52,105,53,107,54,109,55,111,56,113,57,115,58,117,59,119,60,121, + 61,123,62,125,63,127,64,129,65,131,66,133,67,135,68,137,69,139,70, + 141,71,143,72,145,73,147,74,149,75,151,76,153,77,155,78,157,79,159, + 80,161,81,163,82,165,83,167,84,169,85,171,86,173,87,175,88,177,89, + 179,90,181,91,183,92,185,93,187,94,189,95,191,96,193,97,195,98,197, + 99,199,100,201,101,203,102,205,103,207,104,209,105,211,106,213,107, + 215,108,217,109,219,110,221,111,223,112,225,113,227,114,229,115, + 231,116,233,117,235,118,237,119,239,120,241,121,243,122,245,123, + 247,124,249,125,251,126,253,127,255,128,257,129,259,130,261,131, + 263,132,265,133,267,134,269,135,271,136,273,137,275,138,277,139, + 279,140,281,141,283,142,285,143,287,144,289,145,291,146,293,147, + 295,148,297,149,299,150,301,151,303,152,305,153,307,154,309,155, + 311,156,313,157,315,158,317,159,319,160,321,161,323,162,325,163, + 327,164,329,165,331,166,333,167,335,168,337,169,339,170,341,171, + 343,172,345,173,347,174,349,175,351,176,353,177,355,178,357,179, + 359,180,361,181,363,182,365,183,367,184,369,185,371,186,373,187, + 375,188,377,189,379,190,381,191,383,192,385,193,387,194,389,195, + 391,196,393,197,395,198,397,199,399,200,401,201,403,202,405,203, + 407,204,409,205,411,206,413,207,415,208,417,209,419,210,421,211, + 423,212,425,213,427,214,429,215,431,216,433,217,435,218,437,219, + 439,220,441,221,443,222,445,223,447,224,449,225,451,226,453,227, + 455,228,457,229,459,230,461,231,463,232,465,233,467,234,469,235, + 471,236,473,237,475,238,477,239,479,240,481,241,483,242,485,243, + 487,244,489,245,491,246,493,247,495,248,497,249,499,250,501,251, + 503,252,505,253,507,254,509,255,511,256,513,257,515,258,517,259, + 519,260,521,261,523,262,525,263,527,264,529,265,531,266,533,267, + 535,268,537,269,539,270,541,271,543,272,545,273,547,274,549,275, + 551,276,553,277,555,278,557,279,559,280,561,281,563,282,565,283, + 567,284,569,285,571,286,573,287,575,288,577,289,579,290,581,291, + 583,292,585,293,587,294,589,295,591,296,593,297,595,298,597,299, + 599,300,601,301,603,302,605,303,607,304,609,305,611,306,613,307, + 615,308,617,309,619,310,621,311,623,312,625,313,627,314,629,315, + 631,316,633,317,635,318,637,319,639,320,641,321,643,322,645,323, + 647,324,649,325,651,326,653,327,655,328,657,329,659,330,661,331, + 663,332,665,333,667,334,669,335,671,0,673,0,675,0,677,0,679,0,681, + 0,683,0,685,336,687,337,689,338,691,339,1,0,37,2,0,83,83,115,115, + 2,0,75,75,107,107,2,0,73,73,105,105,2,0,80,80,112,112,2,0,65,65, + 97,97,2,0,66,66,98,98,2,0,69,69,101,101,2,0,78,78,110,110,2,0,84, + 84,116,116,2,0,68,68,100,100,2,0,77,77,109,109,2,0,70,70,102,102, + 2,0,82,82,114,114,2,0,76,76,108,108,2,0,89,89,121,121,2,0,90,90, + 122,122,2,0,67,67,99,99,2,0,85,85,117,117,2,0,72,72,104,104,2,0, + 79,79,111,111,2,0,71,71,103,103,2,0,87,87,119,119,2,0,88,88,120, + 120,2,0,86,86,118,118,2,0,74,74,106,106,2,0,81,81,113,113,1,0,39, + 39,1,0,34,34,1,0,96,96,2,0,65,70,97,102,1,0,48,55,1,0,48,49,2,0, + 43,43,45,45,1,0,48,57,2,0,65,90,97,122,2,0,10,10,13,13,3,0,9,10, + 13,13,32,32,3152,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0, + 0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0, + 0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0, + 0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0, + 0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0, + 0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0, + 0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0, + 0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0, + 0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0, + 0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0, + 0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0, + 0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117, + 1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0, + 0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1, + 0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,0, + 145,1,0,0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,151,1,0,0,0,0,153,1,0, + 0,0,0,155,1,0,0,0,0,157,1,0,0,0,0,159,1,0,0,0,0,161,1,0,0,0,0,163, + 1,0,0,0,0,165,1,0,0,0,0,167,1,0,0,0,0,169,1,0,0,0,0,171,1,0,0,0, + 0,173,1,0,0,0,0,175,1,0,0,0,0,177,1,0,0,0,0,179,1,0,0,0,0,181,1, + 0,0,0,0,183,1,0,0,0,0,185,1,0,0,0,0,187,1,0,0,0,0,189,1,0,0,0,0, + 191,1,0,0,0,0,193,1,0,0,0,0,195,1,0,0,0,0,197,1,0,0,0,0,199,1,0, + 0,0,0,201,1,0,0,0,0,203,1,0,0,0,0,205,1,0,0,0,0,207,1,0,0,0,0,209, + 1,0,0,0,0,211,1,0,0,0,0,213,1,0,0,0,0,215,1,0,0,0,0,217,1,0,0,0, + 0,219,1,0,0,0,0,221,1,0,0,0,0,223,1,0,0,0,0,225,1,0,0,0,0,227,1, + 0,0,0,0,229,1,0,0,0,0,231,1,0,0,0,0,233,1,0,0,0,0,235,1,0,0,0,0, + 237,1,0,0,0,0,239,1,0,0,0,0,241,1,0,0,0,0,243,1,0,0,0,0,245,1,0, + 0,0,0,247,1,0,0,0,0,249,1,0,0,0,0,251,1,0,0,0,0,253,1,0,0,0,0,255, + 1,0,0,0,0,257,1,0,0,0,0,259,1,0,0,0,0,261,1,0,0,0,0,263,1,0,0,0, + 0,265,1,0,0,0,0,267,1,0,0,0,0,269,1,0,0,0,0,271,1,0,0,0,0,273,1, + 0,0,0,0,275,1,0,0,0,0,277,1,0,0,0,0,279,1,0,0,0,0,281,1,0,0,0,0, + 283,1,0,0,0,0,285,1,0,0,0,0,287,1,0,0,0,0,289,1,0,0,0,0,291,1,0, + 0,0,0,293,1,0,0,0,0,295,1,0,0,0,0,297,1,0,0,0,0,299,1,0,0,0,0,301, + 1,0,0,0,0,303,1,0,0,0,0,305,1,0,0,0,0,307,1,0,0,0,0,309,1,0,0,0, + 0,311,1,0,0,0,0,313,1,0,0,0,0,315,1,0,0,0,0,317,1,0,0,0,0,319,1, + 0,0,0,0,321,1,0,0,0,0,323,1,0,0,0,0,325,1,0,0,0,0,327,1,0,0,0,0, + 329,1,0,0,0,0,331,1,0,0,0,0,333,1,0,0,0,0,335,1,0,0,0,0,337,1,0, + 0,0,0,339,1,0,0,0,0,341,1,0,0,0,0,343,1,0,0,0,0,345,1,0,0,0,0,347, + 1,0,0,0,0,349,1,0,0,0,0,351,1,0,0,0,0,353,1,0,0,0,0,355,1,0,0,0, + 0,357,1,0,0,0,0,359,1,0,0,0,0,361,1,0,0,0,0,363,1,0,0,0,0,365,1, + 0,0,0,0,367,1,0,0,0,0,369,1,0,0,0,0,371,1,0,0,0,0,373,1,0,0,0,0, + 375,1,0,0,0,0,377,1,0,0,0,0,379,1,0,0,0,0,381,1,0,0,0,0,383,1,0, + 0,0,0,385,1,0,0,0,0,387,1,0,0,0,0,389,1,0,0,0,0,391,1,0,0,0,0,393, + 1,0,0,0,0,395,1,0,0,0,0,397,1,0,0,0,0,399,1,0,0,0,0,401,1,0,0,0, + 0,403,1,0,0,0,0,405,1,0,0,0,0,407,1,0,0,0,0,409,1,0,0,0,0,411,1, + 0,0,0,0,413,1,0,0,0,0,415,1,0,0,0,0,417,1,0,0,0,0,419,1,0,0,0,0, + 421,1,0,0,0,0,423,1,0,0,0,0,425,1,0,0,0,0,427,1,0,0,0,0,429,1,0, + 0,0,0,431,1,0,0,0,0,433,1,0,0,0,0,435,1,0,0,0,0,437,1,0,0,0,0,439, + 1,0,0,0,0,441,1,0,0,0,0,443,1,0,0,0,0,445,1,0,0,0,0,447,1,0,0,0, + 0,449,1,0,0,0,0,451,1,0,0,0,0,453,1,0,0,0,0,455,1,0,0,0,0,457,1, + 0,0,0,0,459,1,0,0,0,0,461,1,0,0,0,0,463,1,0,0,0,0,465,1,0,0,0,0, + 467,1,0,0,0,0,469,1,0,0,0,0,471,1,0,0,0,0,473,1,0,0,0,0,475,1,0, + 0,0,0,477,1,0,0,0,0,479,1,0,0,0,0,481,1,0,0,0,0,483,1,0,0,0,0,485, + 1,0,0,0,0,487,1,0,0,0,0,489,1,0,0,0,0,491,1,0,0,0,0,493,1,0,0,0, + 0,495,1,0,0,0,0,497,1,0,0,0,0,499,1,0,0,0,0,501,1,0,0,0,0,503,1, + 0,0,0,0,505,1,0,0,0,0,507,1,0,0,0,0,509,1,0,0,0,0,511,1,0,0,0,0, + 513,1,0,0,0,0,515,1,0,0,0,0,517,1,0,0,0,0,519,1,0,0,0,0,521,1,0, + 0,0,0,523,1,0,0,0,0,525,1,0,0,0,0,527,1,0,0,0,0,529,1,0,0,0,0,531, + 1,0,0,0,0,533,1,0,0,0,0,535,1,0,0,0,0,537,1,0,0,0,0,539,1,0,0,0, + 0,541,1,0,0,0,0,543,1,0,0,0,0,545,1,0,0,0,0,547,1,0,0,0,0,549,1, + 0,0,0,0,551,1,0,0,0,0,553,1,0,0,0,0,555,1,0,0,0,0,557,1,0,0,0,0, + 559,1,0,0,0,0,561,1,0,0,0,0,563,1,0,0,0,0,565,1,0,0,0,0,567,1,0, + 0,0,0,569,1,0,0,0,0,571,1,0,0,0,0,573,1,0,0,0,0,575,1,0,0,0,0,577, + 1,0,0,0,0,579,1,0,0,0,0,581,1,0,0,0,0,583,1,0,0,0,0,585,1,0,0,0, + 0,587,1,0,0,0,0,589,1,0,0,0,0,591,1,0,0,0,0,593,1,0,0,0,0,595,1, + 0,0,0,0,597,1,0,0,0,0,599,1,0,0,0,0,601,1,0,0,0,0,603,1,0,0,0,0, + 605,1,0,0,0,0,607,1,0,0,0,0,609,1,0,0,0,0,611,1,0,0,0,0,613,1,0, + 0,0,0,615,1,0,0,0,0,617,1,0,0,0,0,619,1,0,0,0,0,621,1,0,0,0,0,623, + 1,0,0,0,0,625,1,0,0,0,0,627,1,0,0,0,0,629,1,0,0,0,0,631,1,0,0,0, + 0,633,1,0,0,0,0,635,1,0,0,0,0,637,1,0,0,0,0,639,1,0,0,0,0,641,1, + 0,0,0,0,643,1,0,0,0,0,645,1,0,0,0,0,647,1,0,0,0,0,649,1,0,0,0,0, + 651,1,0,0,0,0,653,1,0,0,0,0,655,1,0,0,0,0,657,1,0,0,0,0,659,1,0, + 0,0,0,661,1,0,0,0,0,663,1,0,0,0,0,665,1,0,0,0,0,667,1,0,0,0,0,669, + 1,0,0,0,0,685,1,0,0,0,0,687,1,0,0,0,0,689,1,0,0,0,0,691,1,0,0,0, + 1,693,1,0,0,0,3,695,1,0,0,0,5,697,1,0,0,0,7,699,1,0,0,0,9,701,1, + 0,0,0,11,706,1,0,0,0,13,709,1,0,0,0,15,712,1,0,0,0,17,714,1,0,0, + 0,19,716,1,0,0,0,21,718,1,0,0,0,23,720,1,0,0,0,25,722,1,0,0,0,27, + 724,1,0,0,0,29,727,1,0,0,0,31,730,1,0,0,0,33,732,1,0,0,0,35,734, + 1,0,0,0,37,741,1,0,0,0,39,745,1,0,0,0,41,751,1,0,0,0,43,757,1,0, + 0,0,45,761,1,0,0,0,47,767,1,0,0,0,49,775,1,0,0,0,51,779,1,0,0,0, + 53,783,1,0,0,0,55,789,1,0,0,0,57,792,1,0,0,0,59,796,1,0,0,0,61,799, + 1,0,0,0,63,813,1,0,0,0,65,819,1,0,0,0,67,829,1,0,0,0,69,837,1,0, + 0,0,71,842,1,0,0,0,73,845,1,0,0,0,75,850,1,0,0,0,77,857,1,0,0,0, + 79,865,1,0,0,0,81,870,1,0,0,0,83,875,1,0,0,0,85,883,1,0,0,0,87,892, + 1,0,0,0,89,899,1,0,0,0,91,907,1,0,0,0,93,915,1,0,0,0,95,922,1,0, + 0,0,97,932,1,0,0,0,99,944,1,0,0,0,101,955,1,0,0,0,103,961,1,0,0, + 0,105,973,1,0,0,0,107,980,1,0,0,0,109,986,1,0,0,0,111,991,1,0,0, + 0,113,999,1,0,0,0,115,1015,1,0,0,0,117,1028,1,0,0,0,119,1041,1,0, + 0,0,121,1054,1,0,0,0,123,1069,1,0,0,0,125,1082,1,0,0,0,127,1100, + 1,0,0,0,129,1113,1,0,0,0,131,1118,1,0,0,0,133,1123,1,0,0,0,135,1127, + 1,0,0,0,137,1138,1,0,0,0,139,1146,1,0,0,0,141,1154,1,0,0,0,143,1161, + 1,0,0,0,145,1169,1,0,0,0,147,1176,1,0,0,0,149,1181,1,0,0,0,151,1186, + 1,0,0,0,153,1195,1,0,0,0,155,1206,1,0,0,0,157,1220,1,0,0,0,159,1229, + 1,0,0,0,161,1241,1,0,0,0,163,1244,1,0,0,0,165,1251,1,0,0,0,167,1256, + 1,0,0,0,169,1261,1,0,0,0,171,1267,1,0,0,0,173,1274,1,0,0,0,175,1283, + 1,0,0,0,177,1287,1,0,0,0,179,1293,1,0,0,0,181,1300,1,0,0,0,183,1307, + 1,0,0,0,185,1317,1,0,0,0,187,1325,1,0,0,0,189,1332,1,0,0,0,191,1340, + 1,0,0,0,193,1348,1,0,0,0,195,1354,1,0,0,0,197,1360,1,0,0,0,199,1367, + 1,0,0,0,201,1373,1,0,0,0,203,1379,1,0,0,0,205,1389,1,0,0,0,207,1393, + 1,0,0,0,209,1400,1,0,0,0,211,1405,1,0,0,0,213,1410,1,0,0,0,215,1419, + 1,0,0,0,217,1429,1,0,0,0,219,1435,1,0,0,0,221,1441,1,0,0,0,223,1449, + 1,0,0,0,225,1456,1,0,0,0,227,1465,1,0,0,0,229,1471,1,0,0,0,231,1480, + 1,0,0,0,233,1487,1,0,0,0,235,1494,1,0,0,0,237,1499,1,0,0,0,239,1502, + 1,0,0,0,241,1509,1,0,0,0,243,1519,1,0,0,0,245,1522,1,0,0,0,247,1532, + 1,0,0,0,249,1540,1,0,0,0,251,1546,1,0,0,0,253,1552,1,0,0,0,255,1559, + 1,0,0,0,257,1569,1,0,0,0,259,1578,1,0,0,0,261,1583,1,0,0,0,263,1591, + 1,0,0,0,265,1594,1,0,0,0,267,1597,1,0,0,0,269,1607,1,0,0,0,271,1615, + 1,0,0,0,273,1620,1,0,0,0,275,1625,1,0,0,0,277,1636,1,0,0,0,279,1648, + 1,0,0,0,281,1660,1,0,0,0,283,1671,1,0,0,0,285,1682,1,0,0,0,287,1693, + 1,0,0,0,289,1698,1,0,0,0,291,1702,1,0,0,0,293,1707,1,0,0,0,295,1716, + 1,0,0,0,297,1721,1,0,0,0,299,1729,1,0,0,0,301,1737,1,0,0,0,303,1743, + 1,0,0,0,305,1748,1,0,0,0,307,1754,1,0,0,0,309,1759,1,0,0,0,311,1765, + 1,0,0,0,313,1773,1,0,0,0,315,1779,1,0,0,0,317,1789,1,0,0,0,319,1804, + 1,0,0,0,321,1812,1,0,0,0,323,1817,1,0,0,0,325,1821,1,0,0,0,327,1827, + 1,0,0,0,329,1835,1,0,0,0,331,1843,1,0,0,0,333,1859,1,0,0,0,335,1872, + 1,0,0,0,337,1881,1,0,0,0,339,1887,1,0,0,0,341,1894,1,0,0,0,343,1900, + 1,0,0,0,345,1908,1,0,0,0,347,1915,1,0,0,0,349,1920,1,0,0,0,351,1924, + 1,0,0,0,353,1928,1,0,0,0,355,1933,1,0,0,0,357,1938,1,0,0,0,359,1941, + 1,0,0,0,361,1946,1,0,0,0,363,1956,1,0,0,0,365,1960,1,0,0,0,367,1965, + 1,0,0,0,369,1972,1,0,0,0,371,1978,1,0,0,0,373,1985,1,0,0,0,375,1988, + 1,0,0,0,377,1995,1,0,0,0,379,2000,1,0,0,0,381,2003,1,0,0,0,383,2007, + 1,0,0,0,385,2012,1,0,0,0,387,2019,1,0,0,0,389,2022,1,0,0,0,391,2028, + 1,0,0,0,393,2039,1,0,0,0,395,2045,1,0,0,0,397,2052,1,0,0,0,399,2057, + 1,0,0,0,401,2066,1,0,0,0,403,2076,1,0,0,0,405,2087,1,0,0,0,407,2095, + 1,0,0,0,409,2100,1,0,0,0,411,2105,1,0,0,0,413,2113,1,0,0,0,415,2117, + 1,0,0,0,417,2124,1,0,0,0,419,2132,1,0,0,0,421,2137,1,0,0,0,423,2146, + 1,0,0,0,425,2156,1,0,0,0,427,2166,1,0,0,0,429,2174,1,0,0,0,431,2185, + 1,0,0,0,433,2196,1,0,0,0,435,2202,1,0,0,0,437,2209,1,0,0,0,439,2215, + 1,0,0,0,441,2220,1,0,0,0,443,2230,1,0,0,0,445,2238,1,0,0,0,447,2245, + 1,0,0,0,449,2252,1,0,0,0,451,2263,1,0,0,0,453,2271,1,0,0,0,455,2277, + 1,0,0,0,457,2285,1,0,0,0,459,2294,1,0,0,0,461,2301,1,0,0,0,463,2311, + 1,0,0,0,465,2319,1,0,0,0,467,2326,1,0,0,0,469,2332,1,0,0,0,471,2337, + 1,0,0,0,473,2343,1,0,0,0,475,2352,1,0,0,0,477,2359,1,0,0,0,479,2363, + 1,0,0,0,481,2368,1,0,0,0,483,2376,1,0,0,0,485,2383,1,0,0,0,487,2390, + 1,0,0,0,489,2398,1,0,0,0,491,2405,1,0,0,0,493,2414,1,0,0,0,495,2419, + 1,0,0,0,497,2426,1,0,0,0,499,2439,1,0,0,0,501,2447,1,0,0,0,503,2451, + 1,0,0,0,505,2456,1,0,0,0,507,2461,1,0,0,0,509,2466,1,0,0,0,511,2472, + 1,0,0,0,513,2478,1,0,0,0,515,2485,1,0,0,0,517,2495,1,0,0,0,519,2502, + 1,0,0,0,521,2508,1,0,0,0,523,2515,1,0,0,0,525,2527,1,0,0,0,527,2532, + 1,0,0,0,529,2539,1,0,0,0,531,2544,1,0,0,0,533,2549,1,0,0,0,535,2554, + 1,0,0,0,537,2564,1,0,0,0,539,2567,1,0,0,0,541,2576,1,0,0,0,543,2588, + 1,0,0,0,545,2593,1,0,0,0,547,2598,1,0,0,0,549,2607,1,0,0,0,551,2616, + 1,0,0,0,553,2621,1,0,0,0,555,2629,1,0,0,0,557,2639,1,0,0,0,559,2651, + 1,0,0,0,561,2665,1,0,0,0,563,2671,1,0,0,0,565,2678,1,0,0,0,567,2686, + 1,0,0,0,569,2696,1,0,0,0,571,2703,1,0,0,0,573,2709,1,0,0,0,575,2716, + 1,0,0,0,577,2720,1,0,0,0,579,2725,1,0,0,0,581,2731,1,0,0,0,583,2737, + 1,0,0,0,585,2743,1,0,0,0,587,2748,1,0,0,0,589,2757,1,0,0,0,591,2763, + 1,0,0,0,593,2770,1,0,0,0,595,2778,1,0,0,0,597,2786,1,0,0,0,599,2791, + 1,0,0,0,601,2796,1,0,0,0,603,2802,1,0,0,0,605,2808,1,0,0,0,607,2815, + 1,0,0,0,609,2820,1,0,0,0,611,2827,1,0,0,0,613,2835,1,0,0,0,615,2840, + 1,0,0,0,617,2848,1,0,0,0,619,2854,1,0,0,0,621,2859,1,0,0,0,623,2864, + 1,0,0,0,625,2870,1,0,0,0,627,2872,1,0,0,0,629,2874,1,0,0,0,631,2877, + 1,0,0,0,633,2879,1,0,0,0,635,2882,1,0,0,0,637,2884,1,0,0,0,639,2886, + 1,0,0,0,641,2888,1,0,0,0,643,2890,1,0,0,0,645,2892,1,0,0,0,647,2895, + 1,0,0,0,649,2897,1,0,0,0,651,2899,1,0,0,0,653,2910,1,0,0,0,655,2924, + 1,0,0,0,657,2939,1,0,0,0,659,2948,1,0,0,0,661,2974,1,0,0,0,663,2978, + 1,0,0,0,665,2988,1,0,0,0,667,2996,1,0,0,0,669,3007,1,0,0,0,671,3018, + 1,0,0,0,673,3028,1,0,0,0,675,3042,1,0,0,0,677,3053,1,0,0,0,679,3064, + 1,0,0,0,681,3073,1,0,0,0,683,3075,1,0,0,0,685,3077,1,0,0,0,687,3094, + 1,0,0,0,689,3109,1,0,0,0,691,3115,1,0,0,0,693,694,5,40,0,0,694,2, + 1,0,0,0,695,696,5,41,0,0,696,4,1,0,0,0,697,698,5,44,0,0,698,6,1, + 0,0,0,699,700,5,46,0,0,700,8,1,0,0,0,701,702,7,0,0,0,702,703,7,1, + 0,0,703,704,7,2,0,0,704,705,7,3,0,0,705,10,1,0,0,0,706,707,5,61, + 0,0,707,708,5,62,0,0,708,12,1,0,0,0,709,710,5,45,0,0,710,711,5,62, + 0,0,711,14,1,0,0,0,712,713,5,91,0,0,713,16,1,0,0,0,714,715,5,93, + 0,0,715,18,1,0,0,0,716,717,5,58,0,0,717,20,1,0,0,0,718,719,5,124, + 0,0,719,22,1,0,0,0,720,721,5,94,0,0,721,24,1,0,0,0,722,723,5,36, + 0,0,723,26,1,0,0,0,724,725,5,123,0,0,725,726,5,45,0,0,726,28,1,0, + 0,0,727,728,5,45,0,0,728,729,5,125,0,0,729,30,1,0,0,0,730,731,5, + 123,0,0,731,32,1,0,0,0,732,733,5,125,0,0,733,34,1,0,0,0,734,735, + 7,4,0,0,735,736,7,5,0,0,736,737,7,0,0,0,737,738,7,6,0,0,738,739, + 7,7,0,0,739,740,7,8,0,0,740,36,1,0,0,0,741,742,7,4,0,0,742,743,7, + 9,0,0,743,744,7,9,0,0,744,38,1,0,0,0,745,746,7,4,0,0,746,747,7,9, + 0,0,747,748,7,10,0,0,748,749,7,2,0,0,749,750,7,7,0,0,750,40,1,0, + 0,0,751,752,7,4,0,0,752,753,7,11,0,0,753,754,7,8,0,0,754,755,7,6, + 0,0,755,756,7,12,0,0,756,42,1,0,0,0,757,758,7,4,0,0,758,759,7,13, + 0,0,759,760,7,13,0,0,760,44,1,0,0,0,761,762,7,4,0,0,762,763,7,13, + 0,0,763,764,7,8,0,0,764,765,7,6,0,0,765,766,7,12,0,0,766,46,1,0, + 0,0,767,768,7,4,0,0,768,769,7,7,0,0,769,770,7,4,0,0,770,771,7,13, + 0,0,771,772,7,14,0,0,772,773,7,15,0,0,773,774,7,6,0,0,774,48,1,0, + 0,0,775,776,7,4,0,0,776,777,7,7,0,0,777,778,7,9,0,0,778,50,1,0,0, + 0,779,780,7,4,0,0,780,781,7,7,0,0,781,782,7,14,0,0,782,52,1,0,0, + 0,783,784,7,4,0,0,784,785,7,12,0,0,785,786,7,12,0,0,786,787,7,4, + 0,0,787,788,7,14,0,0,788,54,1,0,0,0,789,790,7,4,0,0,790,791,7,0, + 0,0,791,56,1,0,0,0,792,793,7,4,0,0,793,794,7,0,0,0,794,795,7,16, + 0,0,795,58,1,0,0,0,796,797,7,4,0,0,797,798,7,8,0,0,798,60,1,0,0, + 0,799,800,7,4,0,0,800,801,7,17,0,0,801,802,7,8,0,0,802,803,7,18, + 0,0,803,804,7,19,0,0,804,805,7,12,0,0,805,806,7,2,0,0,806,807,7, + 15,0,0,807,808,7,4,0,0,808,809,7,8,0,0,809,810,7,2,0,0,810,811,7, + 19,0,0,811,812,7,7,0,0,812,62,1,0,0,0,813,814,7,5,0,0,814,815,7, + 6,0,0,815,816,7,20,0,0,816,817,7,2,0,0,817,818,7,7,0,0,818,64,1, + 0,0,0,819,820,7,5,0,0,820,821,7,6,0,0,821,822,7,12,0,0,822,823,7, + 7,0,0,823,824,7,19,0,0,824,825,7,17,0,0,825,826,7,13,0,0,826,827, + 7,13,0,0,827,828,7,2,0,0,828,66,1,0,0,0,829,830,7,5,0,0,830,831, + 7,6,0,0,831,832,7,8,0,0,832,833,7,21,0,0,833,834,7,6,0,0,834,835, + 7,6,0,0,835,836,7,7,0,0,836,68,1,0,0,0,837,838,7,5,0,0,838,839,7, + 19,0,0,839,840,7,8,0,0,840,841,7,18,0,0,841,70,1,0,0,0,842,843,7, + 5,0,0,843,844,7,14,0,0,844,72,1,0,0,0,845,846,7,16,0,0,846,847,7, + 4,0,0,847,848,7,13,0,0,848,849,7,13,0,0,849,74,1,0,0,0,850,851,7, + 16,0,0,851,852,7,4,0,0,852,853,7,13,0,0,853,854,7,13,0,0,854,855, + 7,6,0,0,855,856,7,9,0,0,856,76,1,0,0,0,857,858,7,16,0,0,858,859, + 7,4,0,0,859,860,7,0,0,0,860,861,7,16,0,0,861,862,7,4,0,0,862,863, + 7,9,0,0,863,864,7,6,0,0,864,78,1,0,0,0,865,866,7,16,0,0,866,867, + 7,4,0,0,867,868,7,0,0,0,868,869,7,6,0,0,869,80,1,0,0,0,870,871,7, + 16,0,0,871,872,7,4,0,0,872,873,7,0,0,0,873,874,7,8,0,0,874,82,1, + 0,0,0,875,876,7,16,0,0,876,877,7,4,0,0,877,878,7,8,0,0,878,879,7, + 4,0,0,879,880,7,13,0,0,880,881,7,19,0,0,881,882,7,20,0,0,882,84, + 1,0,0,0,883,884,7,16,0,0,884,885,7,4,0,0,885,886,7,8,0,0,886,887, + 7,4,0,0,887,888,7,13,0,0,888,889,7,19,0,0,889,890,7,20,0,0,890,891, + 7,0,0,0,891,86,1,0,0,0,892,893,7,16,0,0,893,894,7,19,0,0,894,895, + 7,13,0,0,895,896,7,17,0,0,896,897,7,10,0,0,897,898,7,7,0,0,898,88, + 1,0,0,0,899,900,7,16,0,0,900,901,7,19,0,0,901,902,7,13,0,0,902,903, + 7,17,0,0,903,904,7,10,0,0,904,905,7,7,0,0,905,906,7,0,0,0,906,90, + 1,0,0,0,907,908,7,16,0,0,908,909,7,19,0,0,909,910,7,10,0,0,910,911, + 7,10,0,0,911,912,7,6,0,0,912,913,7,7,0,0,913,914,7,8,0,0,914,92, + 1,0,0,0,915,916,7,16,0,0,916,917,7,19,0,0,917,918,7,10,0,0,918,919, + 7,10,0,0,919,920,7,2,0,0,920,921,7,8,0,0,921,94,1,0,0,0,922,923, + 7,16,0,0,923,924,7,19,0,0,924,925,7,10,0,0,925,926,7,10,0,0,926, + 927,7,2,0,0,927,928,7,8,0,0,928,929,7,8,0,0,929,930,7,6,0,0,930, + 931,7,9,0,0,931,96,1,0,0,0,932,933,7,16,0,0,933,934,7,19,0,0,934, + 935,7,7,0,0,935,936,7,9,0,0,936,937,7,2,0,0,937,938,7,8,0,0,938, + 939,7,2,0,0,939,940,7,19,0,0,940,941,7,7,0,0,941,942,7,4,0,0,942, + 943,7,13,0,0,943,98,1,0,0,0,944,945,7,16,0,0,945,946,7,19,0,0,946, + 947,7,7,0,0,947,948,7,0,0,0,948,949,7,8,0,0,949,950,7,12,0,0,950, + 951,7,4,0,0,951,952,7,2,0,0,952,953,7,7,0,0,953,954,7,8,0,0,954, + 100,1,0,0,0,955,956,7,16,0,0,956,957,7,19,0,0,957,958,7,17,0,0,958, + 959,7,7,0,0,959,960,7,8,0,0,960,102,1,0,0,0,961,962,7,16,0,0,962, + 963,7,19,0,0,963,964,7,3,0,0,964,965,7,4,0,0,965,966,7,12,0,0,966, + 967,7,8,0,0,967,968,7,2,0,0,968,969,7,8,0,0,969,970,7,2,0,0,970, + 971,7,19,0,0,971,972,7,7,0,0,972,104,1,0,0,0,973,974,7,16,0,0,974, + 975,7,12,0,0,975,976,7,6,0,0,976,977,7,4,0,0,977,978,7,8,0,0,978, + 979,7,6,0,0,979,106,1,0,0,0,980,981,7,16,0,0,981,982,7,12,0,0,982, + 983,7,19,0,0,983,984,7,0,0,0,984,985,7,0,0,0,985,108,1,0,0,0,986, + 987,7,16,0,0,987,988,7,17,0,0,988,989,7,5,0,0,989,990,7,6,0,0,990, + 110,1,0,0,0,991,992,7,16,0,0,992,993,7,17,0,0,993,994,7,12,0,0,994, + 995,7,12,0,0,995,996,7,6,0,0,996,997,7,7,0,0,997,998,7,8,0,0,998, + 112,1,0,0,0,999,1000,7,16,0,0,1000,1001,7,17,0,0,1001,1002,7,12, + 0,0,1002,1003,7,12,0,0,1003,1004,7,6,0,0,1004,1005,7,7,0,0,1005, + 1006,7,8,0,0,1006,1007,5,95,0,0,1007,1008,7,16,0,0,1008,1009,7,4, + 0,0,1009,1010,7,8,0,0,1010,1011,7,4,0,0,1011,1012,7,13,0,0,1012, + 1013,7,19,0,0,1013,1014,7,20,0,0,1014,114,1,0,0,0,1015,1016,7,16, + 0,0,1016,1017,7,17,0,0,1017,1018,7,12,0,0,1018,1019,7,12,0,0,1019, + 1020,7,6,0,0,1020,1021,7,7,0,0,1021,1022,7,8,0,0,1022,1023,5,95, + 0,0,1023,1024,7,9,0,0,1024,1025,7,4,0,0,1025,1026,7,8,0,0,1026,1027, + 7,6,0,0,1027,116,1,0,0,0,1028,1029,7,16,0,0,1029,1030,7,17,0,0,1030, + 1031,7,12,0,0,1031,1032,7,12,0,0,1032,1033,7,6,0,0,1033,1034,7,7, + 0,0,1034,1035,7,8,0,0,1035,1036,5,95,0,0,1036,1037,7,3,0,0,1037, + 1038,7,4,0,0,1038,1039,7,8,0,0,1039,1040,7,18,0,0,1040,118,1,0,0, + 0,1041,1042,7,16,0,0,1042,1043,7,17,0,0,1043,1044,7,12,0,0,1044, + 1045,7,12,0,0,1045,1046,7,6,0,0,1046,1047,7,7,0,0,1047,1048,7,8, + 0,0,1048,1049,5,95,0,0,1049,1050,7,12,0,0,1050,1051,7,19,0,0,1051, + 1052,7,13,0,0,1052,1053,7,6,0,0,1053,120,1,0,0,0,1054,1055,7,16, + 0,0,1055,1056,7,17,0,0,1056,1057,7,12,0,0,1057,1058,7,12,0,0,1058, + 1059,7,6,0,0,1059,1060,7,7,0,0,1060,1061,7,8,0,0,1061,1062,5,95, + 0,0,1062,1063,7,0,0,0,1063,1064,7,16,0,0,1064,1065,7,18,0,0,1065, + 1066,7,6,0,0,1066,1067,7,10,0,0,1067,1068,7,4,0,0,1068,122,1,0,0, + 0,1069,1070,7,16,0,0,1070,1071,7,17,0,0,1071,1072,7,12,0,0,1072, + 1073,7,12,0,0,1073,1074,7,6,0,0,1074,1075,7,7,0,0,1075,1076,7,8, + 0,0,1076,1077,5,95,0,0,1077,1078,7,8,0,0,1078,1079,7,2,0,0,1079, + 1080,7,10,0,0,1080,1081,7,6,0,0,1081,124,1,0,0,0,1082,1083,7,16, + 0,0,1083,1084,7,17,0,0,1084,1085,7,12,0,0,1085,1086,7,12,0,0,1086, + 1087,7,6,0,0,1087,1088,7,7,0,0,1088,1089,7,8,0,0,1089,1090,5,95, + 0,0,1090,1091,7,8,0,0,1091,1092,7,2,0,0,1092,1093,7,10,0,0,1093, + 1094,7,6,0,0,1094,1095,7,0,0,0,1095,1096,7,8,0,0,1096,1097,7,4,0, + 0,1097,1098,7,10,0,0,1098,1099,7,3,0,0,1099,126,1,0,0,0,1100,1101, + 7,16,0,0,1101,1102,7,17,0,0,1102,1103,7,12,0,0,1103,1104,7,12,0, + 0,1104,1105,7,6,0,0,1105,1106,7,7,0,0,1106,1107,7,8,0,0,1107,1108, + 5,95,0,0,1108,1109,7,17,0,0,1109,1110,7,0,0,0,1110,1111,7,6,0,0, + 1111,1112,7,12,0,0,1112,128,1,0,0,0,1113,1114,7,9,0,0,1114,1115, + 7,4,0,0,1115,1116,7,8,0,0,1116,1117,7,4,0,0,1117,130,1,0,0,0,1118, + 1119,7,9,0,0,1119,1120,7,4,0,0,1120,1121,7,8,0,0,1121,1122,7,6,0, + 0,1122,132,1,0,0,0,1123,1124,7,9,0,0,1124,1125,7,4,0,0,1125,1126, + 7,14,0,0,1126,134,1,0,0,0,1127,1128,7,9,0,0,1128,1129,7,6,0,0,1129, + 1130,7,4,0,0,1130,1131,7,13,0,0,1131,1132,7,13,0,0,1132,1133,7,19, + 0,0,1133,1134,7,16,0,0,1134,1135,7,4,0,0,1135,1136,7,8,0,0,1136, + 1137,7,6,0,0,1137,136,1,0,0,0,1138,1139,7,9,0,0,1139,1140,7,6,0, + 0,1140,1141,7,16,0,0,1141,1142,7,13,0,0,1142,1143,7,4,0,0,1143,1144, + 7,12,0,0,1144,1145,7,6,0,0,1145,138,1,0,0,0,1146,1147,7,9,0,0,1147, + 1148,7,6,0,0,1148,1149,7,11,0,0,1149,1150,7,4,0,0,1150,1151,7,17, + 0,0,1151,1152,7,13,0,0,1152,1153,7,8,0,0,1153,140,1,0,0,0,1154,1155, + 7,9,0,0,1155,1156,7,6,0,0,1156,1157,7,11,0,0,1157,1158,7,2,0,0,1158, + 1159,7,7,0,0,1159,1160,7,6,0,0,1160,142,1,0,0,0,1161,1162,7,9,0, + 0,1162,1163,7,6,0,0,1163,1164,7,11,0,0,1164,1165,7,2,0,0,1165,1166, + 7,7,0,0,1166,1167,7,6,0,0,1167,1168,7,12,0,0,1168,144,1,0,0,0,1169, + 1170,7,9,0,0,1170,1171,7,6,0,0,1171,1172,7,13,0,0,1172,1173,7,6, + 0,0,1173,1174,7,8,0,0,1174,1175,7,6,0,0,1175,146,1,0,0,0,1176,1177, + 7,9,0,0,1177,1178,7,6,0,0,1178,1179,7,7,0,0,1179,1180,7,14,0,0,1180, + 148,1,0,0,0,1181,1182,7,9,0,0,1182,1183,7,6,0,0,1183,1184,7,0,0, + 0,1184,1185,7,16,0,0,1185,150,1,0,0,0,1186,1187,7,9,0,0,1187,1188, + 7,6,0,0,1188,1189,7,0,0,0,1189,1190,7,16,0,0,1190,1191,7,12,0,0, + 1191,1192,7,2,0,0,1192,1193,7,5,0,0,1193,1194,7,6,0,0,1194,152,1, + 0,0,0,1195,1196,7,9,0,0,1196,1197,7,6,0,0,1197,1198,7,0,0,0,1198, + 1199,7,16,0,0,1199,1200,7,12,0,0,1200,1201,7,2,0,0,1201,1202,7,3, + 0,0,1202,1203,7,8,0,0,1203,1204,7,19,0,0,1204,1205,7,12,0,0,1205, + 154,1,0,0,0,1206,1207,7,9,0,0,1207,1208,7,6,0,0,1208,1209,7,8,0, + 0,1209,1210,7,6,0,0,1210,1211,7,12,0,0,1211,1212,7,10,0,0,1212,1213, + 7,2,0,0,1213,1214,7,7,0,0,1214,1215,7,2,0,0,1215,1216,7,0,0,0,1216, + 1217,7,8,0,0,1217,1218,7,2,0,0,1218,1219,7,16,0,0,1219,156,1,0,0, + 0,1220,1221,7,9,0,0,1221,1222,7,2,0,0,1222,1223,7,0,0,0,1223,1224, + 7,8,0,0,1224,1225,7,2,0,0,1225,1226,7,7,0,0,1226,1227,7,16,0,0,1227, + 1228,7,8,0,0,1228,158,1,0,0,0,1229,1230,7,9,0,0,1230,1231,7,2,0, + 0,1231,1232,7,0,0,0,1232,1233,7,8,0,0,1233,1234,7,12,0,0,1234,1235, + 7,2,0,0,1235,1236,7,5,0,0,1236,1237,7,17,0,0,1237,1238,7,8,0,0,1238, + 1239,7,6,0,0,1239,1240,7,9,0,0,1240,160,1,0,0,0,1241,1242,7,9,0, + 0,1242,1243,7,19,0,0,1243,162,1,0,0,0,1244,1245,7,9,0,0,1245,1246, + 7,19,0,0,1246,1247,7,17,0,0,1247,1248,7,5,0,0,1248,1249,7,13,0,0, + 1249,1250,7,6,0,0,1250,164,1,0,0,0,1251,1252,7,9,0,0,1252,1253,7, + 12,0,0,1253,1254,7,19,0,0,1254,1255,7,3,0,0,1255,166,1,0,0,0,1256, + 1257,7,6,0,0,1257,1258,7,13,0,0,1258,1259,7,0,0,0,1259,1260,7,6, + 0,0,1260,168,1,0,0,0,1261,1262,7,6,0,0,1262,1263,7,10,0,0,1263,1264, + 7,3,0,0,1264,1265,7,8,0,0,1265,1266,7,14,0,0,1266,170,1,0,0,0,1267, + 1268,7,6,0,0,1268,1269,7,13,0,0,1269,1270,7,0,0,0,1270,1271,7,6, + 0,0,1271,1272,7,2,0,0,1272,1273,7,11,0,0,1273,172,1,0,0,0,1274,1275, + 7,6,0,0,1275,1276,7,7,0,0,1276,1277,7,16,0,0,1277,1278,7,19,0,0, + 1278,1279,7,9,0,0,1279,1280,7,2,0,0,1280,1281,7,7,0,0,1281,1282, + 7,20,0,0,1282,174,1,0,0,0,1283,1284,7,6,0,0,1284,1285,7,7,0,0,1285, + 1286,7,9,0,0,1286,176,1,0,0,0,1287,1288,7,6,0,0,1288,1289,7,12,0, + 0,1289,1290,7,12,0,0,1290,1291,7,19,0,0,1291,1292,7,12,0,0,1292, + 178,1,0,0,0,1293,1294,7,6,0,0,1294,1295,7,0,0,0,1295,1296,7,16,0, + 0,1296,1297,7,4,0,0,1297,1298,7,3,0,0,1298,1299,7,6,0,0,1299,180, + 1,0,0,0,1300,1301,7,6,0,0,1301,1302,7,22,0,0,1302,1303,7,16,0,0, + 1303,1304,7,6,0,0,1304,1305,7,3,0,0,1305,1306,7,8,0,0,1306,182,1, + 0,0,0,1307,1308,7,6,0,0,1308,1309,7,22,0,0,1309,1310,7,16,0,0,1310, + 1311,7,13,0,0,1311,1312,7,17,0,0,1312,1313,7,9,0,0,1313,1314,7,2, + 0,0,1314,1315,7,7,0,0,1315,1316,7,20,0,0,1316,184,1,0,0,0,1317,1318, + 7,6,0,0,1318,1319,7,22,0,0,1319,1320,7,6,0,0,1320,1321,7,16,0,0, + 1321,1322,7,17,0,0,1322,1323,7,8,0,0,1323,1324,7,6,0,0,1324,186, + 1,0,0,0,1325,1326,7,6,0,0,1326,1327,7,22,0,0,1327,1328,7,2,0,0,1328, + 1329,7,0,0,0,1329,1330,7,8,0,0,1330,1331,7,0,0,0,1331,188,1,0,0, + 0,1332,1333,7,6,0,0,1333,1334,7,22,0,0,1334,1335,7,3,0,0,1335,1336, + 7,13,0,0,1336,1337,7,4,0,0,1337,1338,7,2,0,0,1338,1339,7,7,0,0,1339, + 190,1,0,0,0,1340,1341,7,6,0,0,1341,1342,7,22,0,0,1342,1343,7,8,0, + 0,1343,1344,7,12,0,0,1344,1345,7,4,0,0,1345,1346,7,16,0,0,1346,1347, + 7,8,0,0,1347,192,1,0,0,0,1348,1349,7,11,0,0,1349,1350,7,4,0,0,1350, + 1351,7,13,0,0,1351,1352,7,0,0,0,1352,1353,7,6,0,0,1353,194,1,0,0, + 0,1354,1355,7,11,0,0,1355,1356,7,6,0,0,1356,1357,7,8,0,0,1357,1358, + 7,16,0,0,1358,1359,7,18,0,0,1359,196,1,0,0,0,1360,1361,7,11,0,0, + 1361,1362,7,2,0,0,1362,1363,7,13,0,0,1363,1364,7,8,0,0,1364,1365, + 7,6,0,0,1365,1366,7,12,0,0,1366,198,1,0,0,0,1367,1368,7,11,0,0,1368, + 1369,7,2,0,0,1369,1370,7,7,0,0,1370,1371,7,4,0,0,1371,1372,7,13, + 0,0,1372,200,1,0,0,0,1373,1374,7,11,0,0,1374,1375,7,2,0,0,1375,1376, + 7,12,0,0,1376,1377,7,0,0,0,1377,1378,7,8,0,0,1378,202,1,0,0,0,1379, + 1380,7,11,0,0,1380,1381,7,19,0,0,1381,1382,7,13,0,0,1382,1383,7, + 13,0,0,1383,1384,7,19,0,0,1384,1385,7,21,0,0,1385,1386,7,2,0,0,1386, + 1387,7,7,0,0,1387,1388,7,20,0,0,1388,204,1,0,0,0,1389,1390,7,11, + 0,0,1390,1391,7,19,0,0,1391,1392,7,12,0,0,1392,206,1,0,0,0,1393, + 1394,7,11,0,0,1394,1395,7,19,0,0,1395,1396,7,12,0,0,1396,1397,7, + 10,0,0,1397,1398,7,4,0,0,1398,1399,7,8,0,0,1399,208,1,0,0,0,1400, + 1401,7,11,0,0,1401,1402,7,12,0,0,1402,1403,7,19,0,0,1403,1404,7, + 10,0,0,1404,210,1,0,0,0,1405,1406,7,11,0,0,1406,1407,7,17,0,0,1407, + 1408,7,13,0,0,1408,1409,7,13,0,0,1409,212,1,0,0,0,1410,1411,7,11, + 0,0,1411,1412,7,17,0,0,1412,1413,7,7,0,0,1413,1414,7,16,0,0,1414, + 1415,7,8,0,0,1415,1416,7,2,0,0,1416,1417,7,19,0,0,1417,1418,7,7, + 0,0,1418,214,1,0,0,0,1419,1420,7,11,0,0,1420,1421,7,17,0,0,1421, + 1422,7,7,0,0,1422,1423,7,16,0,0,1423,1424,7,8,0,0,1424,1425,7,2, + 0,0,1425,1426,7,19,0,0,1426,1427,7,7,0,0,1427,1428,7,0,0,0,1428, + 216,1,0,0,0,1429,1430,7,20,0,0,1430,1431,7,12,0,0,1431,1432,7,4, + 0,0,1432,1433,7,16,0,0,1433,1434,7,6,0,0,1434,218,1,0,0,0,1435,1436, + 7,20,0,0,1436,1437,7,12,0,0,1437,1438,7,4,0,0,1438,1439,7,7,0,0, + 1439,1440,7,8,0,0,1440,220,1,0,0,0,1441,1442,7,20,0,0,1442,1443, + 7,12,0,0,1443,1444,7,4,0,0,1444,1445,7,7,0,0,1445,1446,7,8,0,0,1446, + 1447,7,6,0,0,1447,1448,7,9,0,0,1448,222,1,0,0,0,1449,1450,7,20,0, + 0,1450,1451,7,12,0,0,1451,1452,7,4,0,0,1452,1453,7,7,0,0,1453,1454, + 7,8,0,0,1454,1455,7,0,0,0,1455,224,1,0,0,0,1456,1457,7,20,0,0,1457, + 1458,7,12,0,0,1458,1459,7,4,0,0,1459,1460,7,3,0,0,1460,1461,7,18, + 0,0,1461,1462,7,23,0,0,1462,1463,7,2,0,0,1463,1464,7,15,0,0,1464, + 226,1,0,0,0,1465,1466,7,20,0,0,1466,1467,7,12,0,0,1467,1468,7,19, + 0,0,1468,1469,7,17,0,0,1469,1470,7,3,0,0,1470,228,1,0,0,0,1471,1472, + 7,20,0,0,1472,1473,7,12,0,0,1473,1474,7,19,0,0,1474,1475,7,17,0, + 0,1475,1476,7,3,0,0,1476,1477,7,2,0,0,1477,1478,7,7,0,0,1478,1479, + 7,20,0,0,1479,230,1,0,0,0,1480,1481,7,20,0,0,1481,1482,7,12,0,0, + 1482,1483,7,19,0,0,1483,1484,7,17,0,0,1484,1485,7,3,0,0,1485,1486, + 7,0,0,0,1486,232,1,0,0,0,1487,1488,7,18,0,0,1488,1489,7,4,0,0,1489, + 1490,7,23,0,0,1490,1491,7,2,0,0,1491,1492,7,7,0,0,1492,1493,7,20, + 0,0,1493,234,1,0,0,0,1494,1495,7,18,0,0,1495,1496,7,19,0,0,1496, + 1497,7,17,0,0,1497,1498,7,12,0,0,1498,236,1,0,0,0,1499,1500,7,2, + 0,0,1500,1501,7,11,0,0,1501,238,1,0,0,0,1502,1503,7,2,0,0,1503,1504, + 7,20,0,0,1504,1505,7,7,0,0,1505,1506,7,19,0,0,1506,1507,7,12,0,0, + 1507,1508,7,6,0,0,1508,240,1,0,0,0,1509,1510,7,2,0,0,1510,1511,7, + 10,0,0,1511,1512,7,10,0,0,1512,1513,7,6,0,0,1513,1514,7,9,0,0,1514, + 1515,7,2,0,0,1515,1516,7,4,0,0,1516,1517,7,8,0,0,1517,1518,7,6,0, + 0,1518,242,1,0,0,0,1519,1520,7,2,0,0,1520,1521,7,7,0,0,1521,244, + 1,0,0,0,1522,1523,7,2,0,0,1523,1524,7,7,0,0,1524,1525,7,16,0,0,1525, + 1526,7,13,0,0,1526,1527,7,17,0,0,1527,1528,7,9,0,0,1528,1529,7,2, + 0,0,1529,1530,7,7,0,0,1530,1531,7,20,0,0,1531,246,1,0,0,0,1532,1533, + 7,2,0,0,1533,1534,7,7,0,0,1534,1535,7,2,0,0,1535,1536,7,8,0,0,1536, + 1537,7,2,0,0,1537,1538,7,4,0,0,1538,1539,7,13,0,0,1539,248,1,0,0, + 0,1540,1541,7,2,0,0,1541,1542,7,7,0,0,1542,1543,7,7,0,0,1543,1544, + 7,6,0,0,1544,1545,7,12,0,0,1545,250,1,0,0,0,1546,1547,7,2,0,0,1547, + 1548,7,7,0,0,1548,1549,7,3,0,0,1549,1550,7,17,0,0,1550,1551,7,8, + 0,0,1551,252,1,0,0,0,1552,1553,7,2,0,0,1553,1554,7,7,0,0,1554,1555, + 7,0,0,0,1555,1556,7,6,0,0,1556,1557,7,12,0,0,1557,1558,7,8,0,0,1558, + 254,1,0,0,0,1559,1560,7,2,0,0,1560,1561,7,7,0,0,1561,1562,7,8,0, + 0,1562,1563,7,6,0,0,1563,1564,7,12,0,0,1564,1565,7,0,0,0,1565,1566, + 7,6,0,0,1566,1567,7,16,0,0,1567,1568,7,8,0,0,1568,256,1,0,0,0,1569, + 1570,7,2,0,0,1570,1571,7,7,0,0,1571,1572,7,8,0,0,1572,1573,7,6,0, + 0,1573,1574,7,12,0,0,1574,1575,7,23,0,0,1575,1576,7,4,0,0,1576,1577, + 7,13,0,0,1577,258,1,0,0,0,1578,1579,7,2,0,0,1579,1580,7,7,0,0,1580, + 1581,7,8,0,0,1581,1582,7,19,0,0,1582,260,1,0,0,0,1583,1584,7,2,0, + 0,1584,1585,7,7,0,0,1585,1586,7,23,0,0,1586,1587,7,19,0,0,1587,1588, + 7,1,0,0,1588,1589,7,6,0,0,1589,1590,7,12,0,0,1590,262,1,0,0,0,1591, + 1592,7,2,0,0,1592,1593,7,19,0,0,1593,264,1,0,0,0,1594,1595,7,2,0, + 0,1595,1596,7,0,0,0,1596,266,1,0,0,0,1597,1598,7,2,0,0,1598,1599, + 7,0,0,0,1599,1600,7,19,0,0,1600,1601,7,13,0,0,1601,1602,7,4,0,0, + 1602,1603,7,8,0,0,1603,1604,7,2,0,0,1604,1605,7,19,0,0,1605,1606, + 7,7,0,0,1606,268,1,0,0,0,1607,1608,7,2,0,0,1608,1609,7,8,0,0,1609, + 1610,7,6,0,0,1610,1611,7,12,0,0,1611,1612,7,4,0,0,1612,1613,7,8, + 0,0,1613,1614,7,6,0,0,1614,270,1,0,0,0,1615,1616,7,24,0,0,1616,1617, + 7,19,0,0,1617,1618,7,2,0,0,1618,1619,7,7,0,0,1619,272,1,0,0,0,1620, + 1621,7,24,0,0,1621,1622,7,0,0,0,1622,1623,7,19,0,0,1623,1624,7,7, + 0,0,1624,274,1,0,0,0,1625,1626,7,24,0,0,1626,1627,7,0,0,0,1627,1628, + 7,19,0,0,1628,1629,7,7,0,0,1629,1630,5,95,0,0,1630,1631,7,4,0,0, + 1631,1632,7,12,0,0,1632,1633,7,12,0,0,1633,1634,7,4,0,0,1634,1635, + 7,14,0,0,1635,276,1,0,0,0,1636,1637,7,24,0,0,1637,1638,7,0,0,0,1638, + 1639,7,19,0,0,1639,1640,7,7,0,0,1640,1641,5,95,0,0,1641,1642,7,6, + 0,0,1642,1643,7,22,0,0,1643,1644,7,2,0,0,1644,1645,7,0,0,0,1645, + 1646,7,8,0,0,1646,1647,7,0,0,0,1647,278,1,0,0,0,1648,1649,7,24,0, + 0,1649,1650,7,0,0,0,1650,1651,7,19,0,0,1651,1652,7,7,0,0,1652,1653, + 5,95,0,0,1653,1654,7,19,0,0,1654,1655,7,5,0,0,1655,1656,7,24,0,0, + 1656,1657,7,6,0,0,1657,1658,7,16,0,0,1658,1659,7,8,0,0,1659,280, + 1,0,0,0,1660,1661,7,24,0,0,1661,1662,7,0,0,0,1662,1663,7,19,0,0, + 1663,1664,7,7,0,0,1664,1665,5,95,0,0,1665,1666,7,25,0,0,1666,1667, + 7,17,0,0,1667,1668,7,6,0,0,1668,1669,7,12,0,0,1669,1670,7,14,0,0, + 1670,282,1,0,0,0,1671,1672,7,24,0,0,1672,1673,7,0,0,0,1673,1674, + 7,19,0,0,1674,1675,7,7,0,0,1675,1676,5,95,0,0,1676,1677,7,8,0,0, + 1677,1678,7,4,0,0,1678,1679,7,5,0,0,1679,1680,7,13,0,0,1680,1681, + 7,6,0,0,1681,284,1,0,0,0,1682,1683,7,24,0,0,1683,1684,7,0,0,0,1684, + 1685,7,19,0,0,1685,1686,7,7,0,0,1686,1687,5,95,0,0,1687,1688,7,23, + 0,0,1688,1689,7,4,0,0,1689,1690,7,13,0,0,1690,1691,7,17,0,0,1691, + 1692,7,6,0,0,1692,286,1,0,0,0,1693,1694,7,1,0,0,1694,1695,7,6,0, + 0,1695,1696,7,6,0,0,1696,1697,7,3,0,0,1697,288,1,0,0,0,1698,1699, + 7,1,0,0,1699,1700,7,6,0,0,1700,1701,7,14,0,0,1701,290,1,0,0,0,1702, + 1703,7,1,0,0,1703,1704,7,6,0,0,1704,1705,7,14,0,0,1705,1706,7,0, + 0,0,1706,292,1,0,0,0,1707,1708,7,13,0,0,1708,1709,7,4,0,0,1709,1710, + 7,7,0,0,1710,1711,7,20,0,0,1711,1712,7,17,0,0,1712,1713,7,4,0,0, + 1713,1714,7,20,0,0,1714,1715,7,6,0,0,1715,294,1,0,0,0,1716,1717, + 7,13,0,0,1717,1718,7,4,0,0,1718,1719,7,0,0,0,1719,1720,7,8,0,0,1720, + 296,1,0,0,0,1721,1722,7,13,0,0,1722,1723,7,4,0,0,1723,1724,7,8,0, + 0,1724,1725,7,6,0,0,1725,1726,7,12,0,0,1726,1727,7,4,0,0,1727,1728, + 7,13,0,0,1728,298,1,0,0,0,1729,1730,7,13,0,0,1730,1731,7,6,0,0,1731, + 1732,7,4,0,0,1732,1733,7,9,0,0,1733,1734,7,2,0,0,1734,1735,7,7,0, + 0,1735,1736,7,20,0,0,1736,300,1,0,0,0,1737,1738,7,13,0,0,1738,1739, + 7,6,0,0,1739,1740,7,4,0,0,1740,1741,7,23,0,0,1741,1742,7,6,0,0,1742, + 302,1,0,0,0,1743,1744,7,13,0,0,1744,1745,7,6,0,0,1745,1746,7,11, + 0,0,1746,1747,7,8,0,0,1747,304,1,0,0,0,1748,1749,7,13,0,0,1749,1750, + 7,6,0,0,1750,1751,7,23,0,0,1751,1752,7,6,0,0,1752,1753,7,13,0,0, + 1753,306,1,0,0,0,1754,1755,7,13,0,0,1755,1756,7,2,0,0,1756,1757, + 7,1,0,0,1757,1758,7,6,0,0,1758,308,1,0,0,0,1759,1760,7,13,0,0,1760, + 1761,7,2,0,0,1761,1762,7,10,0,0,1762,1763,7,2,0,0,1763,1764,7,8, + 0,0,1764,310,1,0,0,0,1765,1766,7,13,0,0,1766,1767,7,2,0,0,1767,1768, + 7,0,0,0,1768,1769,7,8,0,0,1769,1770,7,4,0,0,1770,1771,7,20,0,0,1771, + 1772,7,20,0,0,1772,312,1,0,0,0,1773,1774,7,13,0,0,1774,1775,7,19, + 0,0,1775,1776,7,16,0,0,1776,1777,7,4,0,0,1777,1778,7,13,0,0,1778, + 314,1,0,0,0,1779,1780,7,13,0,0,1780,1781,7,19,0,0,1781,1782,7,16, + 0,0,1782,1783,7,4,0,0,1783,1784,7,13,0,0,1784,1785,7,8,0,0,1785, + 1786,7,2,0,0,1786,1787,7,10,0,0,1787,1788,7,6,0,0,1788,316,1,0,0, + 0,1789,1790,7,13,0,0,1790,1791,7,19,0,0,1791,1792,7,16,0,0,1792, + 1793,7,4,0,0,1793,1794,7,13,0,0,1794,1795,7,8,0,0,1795,1796,7,2, + 0,0,1796,1797,7,10,0,0,1797,1798,7,6,0,0,1798,1799,7,0,0,0,1799, + 1800,7,8,0,0,1800,1801,7,4,0,0,1801,1802,7,10,0,0,1802,1803,7,3, + 0,0,1803,318,1,0,0,0,1804,1805,7,13,0,0,1805,1806,7,19,0,0,1806, + 1807,7,20,0,0,1807,1808,7,2,0,0,1808,1809,7,16,0,0,1809,1810,7,4, + 0,0,1810,1811,7,13,0,0,1811,320,1,0,0,0,1812,1813,7,13,0,0,1813, + 1814,7,19,0,0,1814,1815,7,19,0,0,1815,1816,7,3,0,0,1816,322,1,0, + 0,0,1817,1818,7,10,0,0,1818,1819,7,4,0,0,1819,1820,7,3,0,0,1820, + 324,1,0,0,0,1821,1822,7,10,0,0,1822,1823,7,4,0,0,1823,1824,7,8,0, + 0,1824,1825,7,16,0,0,1825,1826,7,18,0,0,1826,326,1,0,0,0,1827,1828, + 7,10,0,0,1828,1829,7,4,0,0,1829,1830,7,8,0,0,1830,1831,7,16,0,0, + 1831,1832,7,18,0,0,1832,1833,7,6,0,0,1833,1834,7,9,0,0,1834,328, + 1,0,0,0,1835,1836,7,10,0,0,1836,1837,7,4,0,0,1837,1838,7,8,0,0,1838, + 1839,7,16,0,0,1839,1840,7,18,0,0,1840,1841,7,6,0,0,1841,1842,7,0, + 0,0,1842,330,1,0,0,0,1843,1844,7,10,0,0,1844,1845,7,4,0,0,1845,1846, + 7,8,0,0,1846,1847,7,16,0,0,1847,1848,7,18,0,0,1848,1849,5,95,0,0, + 1849,1850,7,12,0,0,1850,1851,7,6,0,0,1851,1852,7,16,0,0,1852,1853, + 7,19,0,0,1853,1854,7,20,0,0,1854,1855,7,7,0,0,1855,1856,7,2,0,0, + 1856,1857,7,15,0,0,1857,1858,7,6,0,0,1858,332,1,0,0,0,1859,1860, + 7,10,0,0,1860,1861,7,4,0,0,1861,1862,7,8,0,0,1862,1863,7,6,0,0,1863, + 1864,7,12,0,0,1864,1865,7,2,0,0,1865,1866,7,4,0,0,1866,1867,7,13, + 0,0,1867,1868,7,2,0,0,1868,1869,7,15,0,0,1869,1870,7,6,0,0,1870, + 1871,7,9,0,0,1871,334,1,0,0,0,1872,1873,7,10,0,0,1873,1874,7,6,0, + 0,1874,1875,7,4,0,0,1875,1876,7,0,0,0,1876,1877,7,17,0,0,1877,1878, + 7,12,0,0,1878,1879,7,6,0,0,1879,1880,7,0,0,0,1880,336,1,0,0,0,1881, + 1882,7,10,0,0,1882,1883,7,6,0,0,1883,1884,7,12,0,0,1884,1885,7,20, + 0,0,1885,1886,7,6,0,0,1886,338,1,0,0,0,1887,1888,7,10,0,0,1888,1889, + 7,2,0,0,1889,1890,7,7,0,0,1890,1891,7,17,0,0,1891,1892,7,8,0,0,1892, + 1893,7,6,0,0,1893,340,1,0,0,0,1894,1895,7,10,0,0,1895,1896,7,19, + 0,0,1896,1897,7,7,0,0,1897,1898,7,8,0,0,1898,1899,7,18,0,0,1899, + 342,1,0,0,0,1900,1901,7,7,0,0,1901,1902,7,4,0,0,1902,1903,7,8,0, + 0,1903,1904,7,17,0,0,1904,1905,7,12,0,0,1905,1906,7,4,0,0,1906,1907, + 7,13,0,0,1907,344,1,0,0,0,1908,1909,7,7,0,0,1909,1910,7,6,0,0,1910, + 1911,7,0,0,0,1911,1912,7,8,0,0,1912,1913,7,6,0,0,1913,1914,7,9,0, + 0,1914,346,1,0,0,0,1915,1916,7,7,0,0,1916,1917,7,6,0,0,1917,1918, + 7,22,0,0,1918,1919,7,8,0,0,1919,348,1,0,0,0,1920,1921,7,7,0,0,1921, + 1922,7,11,0,0,1922,1923,7,16,0,0,1923,350,1,0,0,0,1924,1925,7,7, + 0,0,1925,1926,7,11,0,0,1926,1927,7,9,0,0,1927,352,1,0,0,0,1928,1929, + 7,7,0,0,1929,1930,7,11,0,0,1930,1931,7,1,0,0,1931,1932,7,16,0,0, + 1932,354,1,0,0,0,1933,1934,7,7,0,0,1934,1935,7,11,0,0,1935,1936, + 7,1,0,0,1936,1937,7,9,0,0,1937,356,1,0,0,0,1938,1939,7,7,0,0,1939, + 1940,7,19,0,0,1940,358,1,0,0,0,1941,1942,7,7,0,0,1942,1943,7,19, + 0,0,1943,1944,7,7,0,0,1944,1945,7,6,0,0,1945,360,1,0,0,0,1946,1947, + 7,7,0,0,1947,1948,7,19,0,0,1948,1949,7,12,0,0,1949,1950,7,10,0,0, + 1950,1951,7,4,0,0,1951,1952,7,13,0,0,1952,1953,7,2,0,0,1953,1954, + 7,15,0,0,1954,1955,7,6,0,0,1955,362,1,0,0,0,1956,1957,7,7,0,0,1957, + 1958,7,19,0,0,1958,1959,7,8,0,0,1959,364,1,0,0,0,1960,1961,7,7,0, + 0,1961,1962,7,17,0,0,1962,1963,7,13,0,0,1963,1964,7,13,0,0,1964, + 366,1,0,0,0,1965,1966,7,7,0,0,1966,1967,7,17,0,0,1967,1968,7,13, + 0,0,1968,1969,7,13,0,0,1969,1970,7,2,0,0,1970,1971,7,11,0,0,1971, + 368,1,0,0,0,1972,1973,7,7,0,0,1973,1974,7,17,0,0,1974,1975,7,13, + 0,0,1975,1976,7,13,0,0,1976,1977,7,0,0,0,1977,370,1,0,0,0,1978,1979, + 7,19,0,0,1979,1980,7,5,0,0,1980,1981,7,24,0,0,1981,1982,7,6,0,0, + 1982,1983,7,16,0,0,1983,1984,7,8,0,0,1984,372,1,0,0,0,1985,1986, + 7,19,0,0,1986,1987,7,11,0,0,1987,374,1,0,0,0,1988,1989,7,19,0,0, + 1989,1990,7,11,0,0,1990,1991,7,11,0,0,1991,1992,7,0,0,0,1992,1993, + 7,6,0,0,1993,1994,7,8,0,0,1994,376,1,0,0,0,1995,1996,7,19,0,0,1996, + 1997,7,10,0,0,1997,1998,7,2,0,0,1998,1999,7,8,0,0,1999,378,1,0,0, + 0,2000,2001,7,19,0,0,2001,2002,7,7,0,0,2002,380,1,0,0,0,2003,2004, + 7,19,0,0,2004,2005,7,7,0,0,2005,2006,7,6,0,0,2006,382,1,0,0,0,2007, + 2008,7,19,0,0,2008,2009,7,7,0,0,2009,2010,7,13,0,0,2010,2011,7,14, + 0,0,2011,384,1,0,0,0,2012,2013,7,19,0,0,2013,2014,7,3,0,0,2014,2015, + 7,8,0,0,2015,2016,7,2,0,0,2016,2017,7,19,0,0,2017,2018,7,7,0,0,2018, + 386,1,0,0,0,2019,2020,7,19,0,0,2020,2021,7,12,0,0,2021,388,1,0,0, + 0,2022,2023,7,19,0,0,2023,2024,7,12,0,0,2024,2025,7,9,0,0,2025,2026, + 7,6,0,0,2026,2027,7,12,0,0,2027,390,1,0,0,0,2028,2029,7,19,0,0,2029, + 2030,7,12,0,0,2030,2031,7,9,0,0,2031,2032,7,2,0,0,2032,2033,7,7, + 0,0,2033,2034,7,4,0,0,2034,2035,7,13,0,0,2035,2036,7,2,0,0,2036, + 2037,7,8,0,0,2037,2038,7,14,0,0,2038,392,1,0,0,0,2039,2040,7,19, + 0,0,2040,2041,7,17,0,0,2041,2042,7,8,0,0,2042,2043,7,6,0,0,2043, + 2044,7,12,0,0,2044,394,1,0,0,0,2045,2046,7,19,0,0,2046,2047,7,17, + 0,0,2047,2048,7,8,0,0,2048,2049,7,3,0,0,2049,2050,7,17,0,0,2050, + 2051,7,8,0,0,2051,396,1,0,0,0,2052,2053,7,19,0,0,2053,2054,7,23, + 0,0,2054,2055,7,6,0,0,2055,2056,7,12,0,0,2056,398,1,0,0,0,2057,2058, + 7,19,0,0,2058,2059,7,23,0,0,2059,2060,7,6,0,0,2060,2061,7,12,0,0, + 2061,2062,7,11,0,0,2062,2063,7,13,0,0,2063,2064,7,19,0,0,2064,2065, + 7,21,0,0,2065,400,1,0,0,0,2066,2067,7,3,0,0,2067,2068,7,4,0,0,2068, + 2069,7,12,0,0,2069,2070,7,8,0,0,2070,2071,7,2,0,0,2071,2072,7,8, + 0,0,2072,2073,7,2,0,0,2073,2074,7,19,0,0,2074,2075,7,7,0,0,2075, + 402,1,0,0,0,2076,2077,7,3,0,0,2077,2078,7,4,0,0,2078,2079,7,12,0, + 0,2079,2080,7,8,0,0,2080,2081,7,2,0,0,2081,2082,7,8,0,0,2082,2083, + 7,2,0,0,2083,2084,7,19,0,0,2084,2085,7,7,0,0,2085,2086,7,0,0,0,2086, + 404,1,0,0,0,2087,2088,7,3,0,0,2088,2089,7,4,0,0,2089,2090,7,0,0, + 0,2090,2091,7,0,0,0,2091,2092,7,2,0,0,2092,2093,7,7,0,0,2093,2094, + 7,20,0,0,2094,406,1,0,0,0,2095,2096,7,3,0,0,2096,2097,7,4,0,0,2097, + 2098,7,0,0,0,2098,2099,7,8,0,0,2099,408,1,0,0,0,2100,2101,7,3,0, + 0,2101,2102,7,4,0,0,2102,2103,7,8,0,0,2103,2104,7,18,0,0,2104,410, + 1,0,0,0,2105,2106,7,3,0,0,2106,2107,7,4,0,0,2107,2108,7,8,0,0,2108, + 2109,7,8,0,0,2109,2110,7,6,0,0,2110,2111,7,12,0,0,2111,2112,7,7, + 0,0,2112,412,1,0,0,0,2113,2114,7,3,0,0,2114,2115,7,6,0,0,2115,2116, + 7,12,0,0,2116,414,1,0,0,0,2117,2118,7,3,0,0,2118,2119,7,6,0,0,2119, + 2120,7,12,0,0,2120,2121,7,2,0,0,2121,2122,7,19,0,0,2122,2123,7,9, + 0,0,2123,416,1,0,0,0,2124,2125,7,3,0,0,2125,2126,7,6,0,0,2126,2127, + 7,12,0,0,2127,2128,7,10,0,0,2128,2129,7,17,0,0,2129,2130,7,8,0,0, + 2130,2131,7,6,0,0,2131,418,1,0,0,0,2132,2133,7,3,0,0,2133,2134,7, + 13,0,0,2134,2135,7,4,0,0,2135,2136,7,7,0,0,2136,420,1,0,0,0,2137, + 2138,7,3,0,0,2138,2139,7,19,0,0,2139,2140,7,0,0,0,2140,2141,7,2, + 0,0,2141,2142,7,8,0,0,2142,2143,7,2,0,0,2143,2144,7,19,0,0,2144, + 2145,7,7,0,0,2145,422,1,0,0,0,2146,2147,7,3,0,0,2147,2148,7,12,0, + 0,2148,2149,7,6,0,0,2149,2150,7,16,0,0,2150,2151,7,6,0,0,2151,2152, + 7,9,0,0,2152,2153,7,2,0,0,2153,2154,7,7,0,0,2154,2155,7,20,0,0,2155, + 424,1,0,0,0,2156,2157,7,3,0,0,2157,2158,7,12,0,0,2158,2159,7,6,0, + 0,2159,2160,7,16,0,0,2160,2161,7,2,0,0,2161,2162,7,0,0,0,2162,2163, + 7,2,0,0,2163,2164,7,19,0,0,2164,2165,7,7,0,0,2165,426,1,0,0,0,2166, + 2167,7,3,0,0,2167,2168,7,12,0,0,2168,2169,7,6,0,0,2169,2170,7,3, + 0,0,2170,2171,7,4,0,0,2171,2172,7,12,0,0,2172,2173,7,6,0,0,2173, + 428,1,0,0,0,2174,2175,7,3,0,0,2175,2176,7,12,0,0,2176,2177,7,2,0, + 0,2177,2178,7,23,0,0,2178,2179,7,2,0,0,2179,2180,7,13,0,0,2180,2181, + 7,6,0,0,2181,2182,7,20,0,0,2182,2183,7,6,0,0,2183,2184,7,0,0,0,2184, + 430,1,0,0,0,2185,2186,7,3,0,0,2186,2187,7,12,0,0,2187,2188,7,19, + 0,0,2188,2189,7,3,0,0,2189,2190,7,6,0,0,2190,2191,7,12,0,0,2191, + 2192,7,8,0,0,2192,2193,7,2,0,0,2193,2194,7,6,0,0,2194,2195,7,0,0, + 0,2195,432,1,0,0,0,2196,2197,7,3,0,0,2197,2198,7,12,0,0,2198,2199, + 7,17,0,0,2199,2200,7,7,0,0,2200,2201,7,6,0,0,2201,434,1,0,0,0,2202, + 2203,7,25,0,0,2203,2204,7,17,0,0,2204,2205,7,19,0,0,2205,2206,7, + 8,0,0,2206,2207,7,6,0,0,2207,2208,7,0,0,0,2208,436,1,0,0,0,2209, + 2210,7,12,0,0,2210,2211,7,4,0,0,2211,2212,7,7,0,0,2212,2213,7,20, + 0,0,2213,2214,7,6,0,0,2214,438,1,0,0,0,2215,2216,7,12,0,0,2216,2217, + 7,6,0,0,2217,2218,7,4,0,0,2218,2219,7,9,0,0,2219,440,1,0,0,0,2220, + 2221,7,12,0,0,2221,2222,7,6,0,0,2222,2223,7,16,0,0,2223,2224,7,17, + 0,0,2224,2225,7,12,0,0,2225,2226,7,0,0,0,2226,2227,7,2,0,0,2227, + 2228,7,23,0,0,2228,2229,7,6,0,0,2229,442,1,0,0,0,2230,2231,7,12, + 0,0,2231,2232,7,6,0,0,2232,2233,7,11,0,0,2233,2234,7,12,0,0,2234, + 2235,7,6,0,0,2235,2236,7,0,0,0,2236,2237,7,18,0,0,2237,444,1,0,0, + 0,2238,2239,7,12,0,0,2239,2240,7,6,0,0,2240,2241,7,7,0,0,2241,2242, + 7,4,0,0,2242,2243,7,10,0,0,2243,2244,7,6,0,0,2244,446,1,0,0,0,2245, + 2246,7,12,0,0,2246,2247,7,6,0,0,2247,2248,7,3,0,0,2248,2249,7,6, + 0,0,2249,2250,7,4,0,0,2250,2251,7,8,0,0,2251,448,1,0,0,0,2252,2253, + 7,12,0,0,2253,2254,7,6,0,0,2254,2255,7,3,0,0,2255,2256,7,6,0,0,2256, + 2257,7,4,0,0,2257,2258,7,8,0,0,2258,2259,7,4,0,0,2259,2260,7,5,0, + 0,2260,2261,7,13,0,0,2261,2262,7,6,0,0,2262,450,1,0,0,0,2263,2264, + 7,12,0,0,2264,2265,7,6,0,0,2265,2266,7,3,0,0,2266,2267,7,13,0,0, + 2267,2268,7,4,0,0,2268,2269,7,16,0,0,2269,2270,7,6,0,0,2270,452, + 1,0,0,0,2271,2272,7,12,0,0,2272,2273,7,6,0,0,2273,2274,7,0,0,0,2274, + 2275,7,6,0,0,2275,2276,7,8,0,0,2276,454,1,0,0,0,2277,2278,7,12,0, + 0,2278,2279,7,6,0,0,2279,2280,7,0,0,0,2280,2281,7,3,0,0,2281,2282, + 7,6,0,0,2282,2283,7,16,0,0,2283,2284,7,8,0,0,2284,456,1,0,0,0,2285, + 2286,7,12,0,0,2286,2287,7,6,0,0,2287,2288,7,0,0,0,2288,2289,7,8, + 0,0,2289,2290,7,12,0,0,2290,2291,7,2,0,0,2291,2292,7,16,0,0,2292, + 2293,7,8,0,0,2293,458,1,0,0,0,2294,2295,7,12,0,0,2295,2296,7,6,0, + 0,2296,2297,7,8,0,0,2297,2298,7,17,0,0,2298,2299,7,12,0,0,2299,2300, + 7,7,0,0,2300,460,1,0,0,0,2301,2302,7,12,0,0,2302,2303,7,6,0,0,2303, + 2304,7,8,0,0,2304,2305,7,17,0,0,2305,2306,7,12,0,0,2306,2307,7,7, + 0,0,2307,2308,7,2,0,0,2308,2309,7,7,0,0,2309,2310,7,20,0,0,2310, + 462,1,0,0,0,2311,2312,7,12,0,0,2312,2313,7,6,0,0,2313,2314,7,8,0, + 0,2314,2315,7,17,0,0,2315,2316,7,12,0,0,2316,2317,7,7,0,0,2317,2318, + 7,0,0,0,2318,464,1,0,0,0,2319,2320,7,12,0,0,2320,2321,7,6,0,0,2321, + 2322,7,23,0,0,2322,2323,7,19,0,0,2323,2324,7,1,0,0,2324,2325,7,6, + 0,0,2325,466,1,0,0,0,2326,2327,7,12,0,0,2327,2328,7,2,0,0,2328,2329, + 7,20,0,0,2329,2330,7,18,0,0,2330,2331,7,8,0,0,2331,468,1,0,0,0,2332, + 2333,7,12,0,0,2333,2334,7,19,0,0,2334,2335,7,13,0,0,2335,2336,7, + 6,0,0,2336,470,1,0,0,0,2337,2338,7,12,0,0,2338,2339,7,19,0,0,2339, + 2340,7,13,0,0,2340,2341,7,6,0,0,2341,2342,7,0,0,0,2342,472,1,0,0, + 0,2343,2344,7,12,0,0,2344,2345,7,19,0,0,2345,2346,7,13,0,0,2346, + 2347,7,13,0,0,2347,2348,7,5,0,0,2348,2349,7,4,0,0,2349,2350,7,16, + 0,0,2350,2351,7,1,0,0,2351,474,1,0,0,0,2352,2353,7,12,0,0,2353,2354, + 7,19,0,0,2354,2355,7,13,0,0,2355,2356,7,13,0,0,2356,2357,7,17,0, + 0,2357,2358,7,3,0,0,2358,476,1,0,0,0,2359,2360,7,12,0,0,2360,2361, + 7,19,0,0,2361,2362,7,21,0,0,2362,478,1,0,0,0,2363,2364,7,12,0,0, + 2364,2365,7,19,0,0,2365,2366,7,21,0,0,2366,2367,7,0,0,0,2367,480, + 1,0,0,0,2368,2369,7,12,0,0,2369,2370,7,17,0,0,2370,2371,7,7,0,0, + 2371,2372,7,7,0,0,2372,2373,7,2,0,0,2373,2374,7,7,0,0,2374,2375, + 7,20,0,0,2375,482,1,0,0,0,2376,2377,7,0,0,0,2377,2378,7,16,0,0,2378, + 2379,7,4,0,0,2379,2380,7,13,0,0,2380,2381,7,4,0,0,2381,2382,7,12, + 0,0,2382,484,1,0,0,0,2383,2384,7,0,0,0,2384,2385,7,16,0,0,2385,2386, + 7,18,0,0,2386,2387,7,6,0,0,2387,2388,7,10,0,0,2388,2389,7,4,0,0, + 2389,486,1,0,0,0,2390,2391,7,0,0,0,2391,2392,7,16,0,0,2392,2393, + 7,18,0,0,2393,2394,7,6,0,0,2394,2395,7,10,0,0,2395,2396,7,4,0,0, + 2396,2397,7,0,0,0,2397,488,1,0,0,0,2398,2399,7,0,0,0,2399,2400,7, + 6,0,0,2400,2401,7,16,0,0,2401,2402,7,19,0,0,2402,2403,7,7,0,0,2403, + 2404,7,9,0,0,2404,490,1,0,0,0,2405,2406,7,0,0,0,2406,2407,7,6,0, + 0,2407,2408,7,16,0,0,2408,2409,7,17,0,0,2409,2410,7,12,0,0,2410, + 2411,7,2,0,0,2411,2412,7,8,0,0,2412,2413,7,14,0,0,2413,492,1,0,0, + 0,2414,2415,7,0,0,0,2415,2416,7,6,0,0,2416,2417,7,6,0,0,2417,2418, + 7,1,0,0,2418,494,1,0,0,0,2419,2420,7,0,0,0,2420,2421,7,6,0,0,2421, + 2422,7,13,0,0,2422,2423,7,6,0,0,2423,2424,7,16,0,0,2424,2425,7,8, + 0,0,2425,496,1,0,0,0,2426,2427,7,0,0,0,2427,2428,7,6,0,0,2428,2429, + 7,12,0,0,2429,2430,7,2,0,0,2430,2431,7,4,0,0,2431,2432,7,13,0,0, + 2432,2433,7,2,0,0,2433,2434,7,15,0,0,2434,2435,7,4,0,0,2435,2436, + 7,5,0,0,2436,2437,7,13,0,0,2437,2438,7,6,0,0,2438,498,1,0,0,0,2439, + 2440,7,0,0,0,2440,2441,7,6,0,0,2441,2442,7,0,0,0,2442,2443,7,0,0, + 0,2443,2444,7,2,0,0,2444,2445,7,19,0,0,2445,2446,7,7,0,0,2446,500, + 1,0,0,0,2447,2448,7,0,0,0,2448,2449,7,6,0,0,2449,2450,7,8,0,0,2450, + 502,1,0,0,0,2451,2452,7,0,0,0,2452,2453,7,6,0,0,2453,2454,7,8,0, + 0,2454,2455,7,0,0,0,2455,504,1,0,0,0,2456,2457,7,0,0,0,2457,2458, + 7,18,0,0,2458,2459,7,19,0,0,2459,2460,7,21,0,0,2460,506,1,0,0,0, + 2461,2462,7,0,0,0,2462,2463,7,19,0,0,2463,2464,7,10,0,0,2464,2465, + 7,6,0,0,2465,508,1,0,0,0,2466,2467,7,0,0,0,2467,2468,7,8,0,0,2468, + 2469,7,4,0,0,2469,2470,7,12,0,0,2470,2471,7,8,0,0,2471,510,1,0,0, + 0,2472,2473,7,0,0,0,2473,2474,7,8,0,0,2474,2475,7,4,0,0,2475,2476, + 7,8,0,0,2476,2477,7,0,0,0,2477,512,1,0,0,0,2478,2479,7,0,0,0,2479, + 2480,7,17,0,0,2480,2481,7,5,0,0,2481,2482,7,0,0,0,2482,2483,7,6, + 0,0,2483,2484,7,8,0,0,2484,514,1,0,0,0,2485,2486,7,0,0,0,2486,2487, + 7,17,0,0,2487,2488,7,5,0,0,2488,2489,7,0,0,0,2489,2490,7,8,0,0,2490, + 2491,7,12,0,0,2491,2492,7,2,0,0,2492,2493,7,7,0,0,2493,2494,7,20, + 0,0,2494,516,1,0,0,0,2495,2496,7,0,0,0,2496,2497,7,14,0,0,2497,2498, + 7,0,0,0,2498,2499,7,8,0,0,2499,2500,7,6,0,0,2500,2501,7,10,0,0,2501, + 518,1,0,0,0,2502,2503,7,8,0,0,2503,2504,7,4,0,0,2504,2505,7,5,0, + 0,2505,2506,7,13,0,0,2506,2507,7,6,0,0,2507,520,1,0,0,0,2508,2509, + 7,8,0,0,2509,2510,7,4,0,0,2510,2511,7,5,0,0,2511,2512,7,13,0,0,2512, + 2513,7,6,0,0,2513,2514,7,0,0,0,2514,522,1,0,0,0,2515,2516,7,8,0, + 0,2516,2517,7,4,0,0,2517,2518,7,5,0,0,2518,2519,7,13,0,0,2519,2520, + 7,6,0,0,2520,2521,7,0,0,0,2521,2522,7,4,0,0,2522,2523,7,10,0,0,2523, + 2524,7,3,0,0,2524,2525,7,13,0,0,2525,2526,7,6,0,0,2526,524,1,0,0, + 0,2527,2528,7,8,0,0,2528,2529,7,6,0,0,2529,2530,7,22,0,0,2530,2531, + 7,8,0,0,2531,526,1,0,0,0,2532,2533,7,0,0,0,2533,2534,7,8,0,0,2534, + 2535,7,12,0,0,2535,2536,7,2,0,0,2536,2537,7,7,0,0,2537,2538,7,20, + 0,0,2538,528,1,0,0,0,2539,2540,7,8,0,0,2540,2541,7,18,0,0,2541,2542, + 7,6,0,0,2542,2543,7,7,0,0,2543,530,1,0,0,0,2544,2545,7,8,0,0,2545, + 2546,7,2,0,0,2546,2547,7,6,0,0,2547,2548,7,0,0,0,2548,532,1,0,0, + 0,2549,2550,7,8,0,0,2550,2551,7,2,0,0,2551,2552,7,10,0,0,2552,2553, + 7,6,0,0,2553,534,1,0,0,0,2554,2555,7,8,0,0,2555,2556,7,2,0,0,2556, + 2557,7,10,0,0,2557,2558,7,6,0,0,2558,2559,7,0,0,0,2559,2560,7,8, + 0,0,2560,2561,7,4,0,0,2561,2562,7,10,0,0,2562,2563,7,3,0,0,2563, + 536,1,0,0,0,2564,2565,7,8,0,0,2565,2566,7,19,0,0,2566,538,1,0,0, + 0,2567,2568,7,8,0,0,2568,2569,7,12,0,0,2569,2570,7,4,0,0,2570,2571, + 7,2,0,0,2571,2572,7,13,0,0,2572,2573,7,2,0,0,2573,2574,7,7,0,0,2574, + 2575,7,20,0,0,2575,540,1,0,0,0,2576,2577,7,8,0,0,2577,2578,7,12, + 0,0,2578,2579,7,4,0,0,2579,2580,7,7,0,0,2580,2581,7,0,0,0,2581,2582, + 7,4,0,0,2582,2583,7,16,0,0,2583,2584,7,8,0,0,2584,2585,7,2,0,0,2585, + 2586,7,19,0,0,2586,2587,7,7,0,0,2587,542,1,0,0,0,2588,2589,7,8,0, + 0,2589,2590,7,12,0,0,2590,2591,7,2,0,0,2591,2592,7,10,0,0,2592,544, + 1,0,0,0,2593,2594,7,8,0,0,2594,2595,7,12,0,0,2595,2596,7,17,0,0, + 2596,2597,7,6,0,0,2597,546,1,0,0,0,2598,2599,7,8,0,0,2599,2600,7, + 12,0,0,2600,2601,7,17,0,0,2601,2602,7,7,0,0,2602,2603,7,16,0,0,2603, + 2604,7,4,0,0,2604,2605,7,8,0,0,2605,2606,7,6,0,0,2606,548,1,0,0, + 0,2607,2608,7,8,0,0,2608,2609,7,12,0,0,2609,2610,7,14,0,0,2610,2611, + 5,95,0,0,2611,2612,7,16,0,0,2612,2613,7,4,0,0,2613,2614,7,0,0,0, + 2614,2615,7,8,0,0,2615,550,1,0,0,0,2616,2617,7,8,0,0,2617,2618,7, + 14,0,0,2618,2619,7,3,0,0,2619,2620,7,6,0,0,2620,552,1,0,0,0,2621, + 2622,7,17,0,0,2622,2623,7,6,0,0,2623,2624,7,0,0,0,2624,2625,7,16, + 0,0,2625,2626,7,4,0,0,2626,2627,7,3,0,0,2627,2628,7,6,0,0,2628,554, + 1,0,0,0,2629,2630,7,17,0,0,2630,2631,7,7,0,0,2631,2632,7,5,0,0,2632, + 2633,7,19,0,0,2633,2634,7,17,0,0,2634,2635,7,7,0,0,2635,2636,7,9, + 0,0,2636,2637,7,6,0,0,2637,2638,7,9,0,0,2638,556,1,0,0,0,2639,2640, + 7,17,0,0,2640,2641,7,7,0,0,2641,2642,7,16,0,0,2642,2643,7,19,0,0, + 2643,2644,7,10,0,0,2644,2645,7,10,0,0,2645,2646,7,2,0,0,2646,2647, + 7,8,0,0,2647,2648,7,8,0,0,2648,2649,7,6,0,0,2649,2650,7,9,0,0,2650, + 558,1,0,0,0,2651,2652,7,17,0,0,2652,2653,7,7,0,0,2653,2654,7,16, + 0,0,2654,2655,7,19,0,0,2655,2656,7,7,0,0,2656,2657,7,9,0,0,2657, + 2658,7,2,0,0,2658,2659,7,8,0,0,2659,2660,7,2,0,0,2660,2661,7,19, + 0,0,2661,2662,7,7,0,0,2662,2663,7,4,0,0,2663,2664,7,13,0,0,2664, + 560,1,0,0,0,2665,2666,7,17,0,0,2666,2667,7,7,0,0,2667,2668,7,2,0, + 0,2668,2669,7,19,0,0,2669,2670,7,7,0,0,2670,562,1,0,0,0,2671,2672, + 7,17,0,0,2672,2673,7,7,0,0,2673,2674,7,2,0,0,2674,2675,7,25,0,0, + 2675,2676,7,17,0,0,2676,2677,7,6,0,0,2677,564,1,0,0,0,2678,2679, + 7,17,0,0,2679,2680,7,7,0,0,2680,2681,7,1,0,0,2681,2682,7,7,0,0,2682, + 2683,7,19,0,0,2683,2684,7,21,0,0,2684,2685,7,7,0,0,2685,566,1,0, + 0,0,2686,2687,7,17,0,0,2687,2688,7,7,0,0,2688,2689,7,10,0,0,2689, + 2690,7,4,0,0,2690,2691,7,8,0,0,2691,2692,7,16,0,0,2692,2693,7,18, + 0,0,2693,2694,7,6,0,0,2694,2695,7,9,0,0,2695,568,1,0,0,0,2696,2697, + 7,17,0,0,2697,2698,7,7,0,0,2698,2699,7,7,0,0,2699,2700,7,6,0,0,2700, + 2701,7,0,0,0,2701,2702,7,8,0,0,2702,570,1,0,0,0,2703,2704,7,17,0, + 0,2704,2705,7,7,0,0,2705,2706,7,8,0,0,2706,2707,7,2,0,0,2707,2708, + 7,13,0,0,2708,572,1,0,0,0,2709,2710,7,17,0,0,2710,2711,7,3,0,0,2711, + 2712,7,9,0,0,2712,2713,7,4,0,0,2713,2714,7,8,0,0,2714,2715,7,6,0, + 0,2715,574,1,0,0,0,2716,2717,7,17,0,0,2717,2718,7,0,0,0,2718,2719, + 7,6,0,0,2719,576,1,0,0,0,2720,2721,7,17,0,0,2721,2722,7,0,0,0,2722, + 2723,7,6,0,0,2723,2724,7,12,0,0,2724,578,1,0,0,0,2725,2726,7,17, + 0,0,2726,2727,7,0,0,0,2727,2728,7,2,0,0,2728,2729,7,7,0,0,2729,2730, + 7,20,0,0,2730,580,1,0,0,0,2731,2732,7,17,0,0,2732,2733,7,8,0,0,2733, + 2734,7,11,0,0,2734,2735,5,49,0,0,2735,2736,5,54,0,0,2736,582,1,0, + 0,0,2737,2738,7,17,0,0,2738,2739,7,8,0,0,2739,2740,7,11,0,0,2740, + 2741,5,51,0,0,2741,2742,5,50,0,0,2742,584,1,0,0,0,2743,2744,7,17, + 0,0,2744,2745,7,8,0,0,2745,2746,7,11,0,0,2746,2747,5,56,0,0,2747, + 586,1,0,0,0,2748,2749,7,23,0,0,2749,2750,7,4,0,0,2750,2751,7,13, + 0,0,2751,2752,7,2,0,0,2752,2753,7,9,0,0,2753,2754,7,4,0,0,2754,2755, + 7,8,0,0,2755,2756,7,6,0,0,2756,588,1,0,0,0,2757,2758,7,23,0,0,2758, + 2759,7,4,0,0,2759,2760,7,13,0,0,2760,2761,7,17,0,0,2761,2762,7,6, + 0,0,2762,590,1,0,0,0,2763,2764,7,23,0,0,2764,2765,7,4,0,0,2765,2766, + 7,13,0,0,2766,2767,7,17,0,0,2767,2768,7,6,0,0,2768,2769,7,0,0,0, + 2769,592,1,0,0,0,2770,2771,7,23,0,0,2771,2772,7,6,0,0,2772,2773, + 7,12,0,0,2773,2774,7,5,0,0,2774,2775,7,19,0,0,2775,2776,7,0,0,0, + 2776,2777,7,6,0,0,2777,594,1,0,0,0,2778,2779,7,23,0,0,2779,2780, + 7,6,0,0,2780,2781,7,12,0,0,2781,2782,7,0,0,0,2782,2783,7,2,0,0,2783, + 2784,7,19,0,0,2784,2785,7,7,0,0,2785,596,1,0,0,0,2786,2787,7,23, + 0,0,2787,2788,7,2,0,0,2788,2789,7,6,0,0,2789,2790,7,21,0,0,2790, + 598,1,0,0,0,2791,2792,7,21,0,0,2792,2793,7,18,0,0,2793,2794,7,6, + 0,0,2794,2795,7,7,0,0,2795,600,1,0,0,0,2796,2797,7,21,0,0,2797,2798, + 7,18,0,0,2798,2799,7,6,0,0,2799,2800,7,12,0,0,2800,2801,7,6,0,0, + 2801,602,1,0,0,0,2802,2803,7,21,0,0,2803,2804,7,18,0,0,2804,2805, + 7,2,0,0,2805,2806,7,13,0,0,2806,2807,7,6,0,0,2807,604,1,0,0,0,2808, + 2809,7,21,0,0,2809,2810,7,2,0,0,2810,2811,7,7,0,0,2811,2812,7,9, + 0,0,2812,2813,7,19,0,0,2813,2814,7,21,0,0,2814,606,1,0,0,0,2815, + 2816,7,21,0,0,2816,2817,7,2,0,0,2817,2818,7,8,0,0,2818,2819,7,18, + 0,0,2819,608,1,0,0,0,2820,2821,7,21,0,0,2821,2822,7,2,0,0,2822,2823, + 7,8,0,0,2823,2824,7,18,0,0,2824,2825,7,2,0,0,2825,2826,7,7,0,0,2826, + 610,1,0,0,0,2827,2828,7,21,0,0,2828,2829,7,2,0,0,2829,2830,7,8,0, + 0,2830,2831,7,18,0,0,2831,2832,7,19,0,0,2832,2833,7,17,0,0,2833, + 2834,7,8,0,0,2834,612,1,0,0,0,2835,2836,7,21,0,0,2836,2837,7,19, + 0,0,2837,2838,7,12,0,0,2838,2839,7,1,0,0,2839,614,1,0,0,0,2840,2841, + 7,21,0,0,2841,2842,7,12,0,0,2842,2843,7,4,0,0,2843,2844,7,3,0,0, + 2844,2845,7,3,0,0,2845,2846,7,6,0,0,2846,2847,7,12,0,0,2847,616, + 1,0,0,0,2848,2849,7,21,0,0,2849,2850,7,12,0,0,2850,2851,7,2,0,0, + 2851,2852,7,8,0,0,2852,2853,7,6,0,0,2853,618,1,0,0,0,2854,2855,7, + 14,0,0,2855,2856,7,6,0,0,2856,2857,7,4,0,0,2857,2858,7,12,0,0,2858, + 620,1,0,0,0,2859,2860,7,15,0,0,2860,2861,7,19,0,0,2861,2862,7,7, + 0,0,2862,2863,7,6,0,0,2863,622,1,0,0,0,2864,2865,5,61,0,0,2865,624, + 1,0,0,0,2866,2867,5,60,0,0,2867,2871,5,62,0,0,2868,2869,5,33,0,0, + 2869,2871,5,61,0,0,2870,2866,1,0,0,0,2870,2868,1,0,0,0,2871,626, + 1,0,0,0,2872,2873,5,60,0,0,2873,628,1,0,0,0,2874,2875,5,60,0,0,2875, + 2876,5,61,0,0,2876,630,1,0,0,0,2877,2878,5,62,0,0,2878,632,1,0,0, + 0,2879,2880,5,62,0,0,2880,2881,5,61,0,0,2881,634,1,0,0,0,2882,2883, + 5,43,0,0,2883,636,1,0,0,0,2884,2885,5,45,0,0,2885,638,1,0,0,0,2886, + 2887,5,42,0,0,2887,640,1,0,0,0,2888,2889,5,47,0,0,2889,642,1,0,0, + 0,2890,2891,5,37,0,0,2891,644,1,0,0,0,2892,2893,5,124,0,0,2893,2894, + 5,124,0,0,2894,646,1,0,0,0,2895,2896,5,63,0,0,2896,648,1,0,0,0,2897, + 2898,5,59,0,0,2898,650,1,0,0,0,2899,2905,5,39,0,0,2900,2904,8,26, + 0,0,2901,2902,5,39,0,0,2902,2904,5,39,0,0,2903,2900,1,0,0,0,2903, + 2901,1,0,0,0,2904,2907,1,0,0,0,2905,2903,1,0,0,0,2905,2906,1,0,0, + 0,2906,2908,1,0,0,0,2907,2905,1,0,0,0,2908,2909,5,39,0,0,2909,652, + 1,0,0,0,2910,2911,7,17,0,0,2911,2912,5,38,0,0,2912,2913,5,39,0,0, + 2913,2919,1,0,0,0,2914,2918,8,26,0,0,2915,2916,5,39,0,0,2916,2918, + 5,39,0,0,2917,2914,1,0,0,0,2917,2915,1,0,0,0,2918,2921,1,0,0,0,2919, + 2917,1,0,0,0,2919,2920,1,0,0,0,2920,2922,1,0,0,0,2921,2919,1,0,0, + 0,2922,2923,5,39,0,0,2923,654,1,0,0,0,2924,2925,7,22,0,0,2925,2926, + 5,39,0,0,2926,2930,1,0,0,0,2927,2929,8,26,0,0,2928,2927,1,0,0,0, + 2929,2932,1,0,0,0,2930,2928,1,0,0,0,2930,2931,1,0,0,0,2931,2933, + 1,0,0,0,2932,2930,1,0,0,0,2933,2934,5,39,0,0,2934,656,1,0,0,0,2935, + 2940,3,671,335,0,2936,2940,3,673,336,0,2937,2940,3,675,337,0,2938, + 2940,3,677,338,0,2939,2935,1,0,0,0,2939,2936,1,0,0,0,2939,2937,1, + 0,0,0,2939,2938,1,0,0,0,2940,658,1,0,0,0,2941,2942,3,671,335,0,2942, + 2944,5,46,0,0,2943,2945,3,671,335,0,2944,2943,1,0,0,0,2944,2945, + 1,0,0,0,2945,2949,1,0,0,0,2946,2947,5,46,0,0,2947,2949,3,671,335, + 0,2948,2941,1,0,0,0,2948,2946,1,0,0,0,2949,660,1,0,0,0,2950,2952, + 3,681,340,0,2951,2950,1,0,0,0,2952,2953,1,0,0,0,2953,2951,1,0,0, + 0,2953,2954,1,0,0,0,2954,2962,1,0,0,0,2955,2959,5,46,0,0,2956,2958, + 3,681,340,0,2957,2956,1,0,0,0,2958,2961,1,0,0,0,2959,2957,1,0,0, + 0,2959,2960,1,0,0,0,2960,2963,1,0,0,0,2961,2959,1,0,0,0,2962,2955, + 1,0,0,0,2962,2963,1,0,0,0,2963,2964,1,0,0,0,2964,2965,3,679,339, + 0,2965,2975,1,0,0,0,2966,2968,5,46,0,0,2967,2969,3,681,340,0,2968, + 2967,1,0,0,0,2969,2970,1,0,0,0,2970,2968,1,0,0,0,2970,2971,1,0,0, + 0,2971,2972,1,0,0,0,2972,2973,3,679,339,0,2973,2975,1,0,0,0,2974, + 2951,1,0,0,0,2974,2966,1,0,0,0,2975,662,1,0,0,0,2976,2979,3,683, + 341,0,2977,2979,5,95,0,0,2978,2976,1,0,0,0,2978,2977,1,0,0,0,2979, + 2985,1,0,0,0,2980,2984,3,683,341,0,2981,2984,3,681,340,0,2982,2984, + 5,95,0,0,2983,2980,1,0,0,0,2983,2981,1,0,0,0,2983,2982,1,0,0,0,2984, + 2987,1,0,0,0,2985,2983,1,0,0,0,2985,2986,1,0,0,0,2986,664,1,0,0, + 0,2987,2985,1,0,0,0,2988,2992,3,681,340,0,2989,2993,3,683,341,0, + 2990,2993,3,681,340,0,2991,2993,5,95,0,0,2992,2989,1,0,0,0,2992, + 2990,1,0,0,0,2992,2991,1,0,0,0,2993,2994,1,0,0,0,2994,2992,1,0,0, + 0,2994,2995,1,0,0,0,2995,666,1,0,0,0,2996,3002,5,34,0,0,2997,3001, + 8,27,0,0,2998,2999,5,34,0,0,2999,3001,5,34,0,0,3000,2997,1,0,0,0, + 3000,2998,1,0,0,0,3001,3004,1,0,0,0,3002,3000,1,0,0,0,3002,3003, + 1,0,0,0,3003,3005,1,0,0,0,3004,3002,1,0,0,0,3005,3006,5,34,0,0,3006, + 668,1,0,0,0,3007,3013,5,96,0,0,3008,3012,8,28,0,0,3009,3010,5,96, + 0,0,3010,3012,5,96,0,0,3011,3008,1,0,0,0,3011,3009,1,0,0,0,3012, + 3015,1,0,0,0,3013,3011,1,0,0,0,3013,3014,1,0,0,0,3014,3016,1,0,0, + 0,3015,3013,1,0,0,0,3016,3017,5,96,0,0,3017,670,1,0,0,0,3018,3025, + 3,681,340,0,3019,3021,5,95,0,0,3020,3019,1,0,0,0,3020,3021,1,0,0, + 0,3021,3022,1,0,0,0,3022,3024,3,681,340,0,3023,3020,1,0,0,0,3024, + 3027,1,0,0,0,3025,3023,1,0,0,0,3025,3026,1,0,0,0,3026,672,1,0,0, + 0,3027,3025,1,0,0,0,3028,3029,5,48,0,0,3029,3030,7,22,0,0,3030,3038, + 1,0,0,0,3031,3033,5,95,0,0,3032,3031,1,0,0,0,3032,3033,1,0,0,0,3033, + 3036,1,0,0,0,3034,3037,3,681,340,0,3035,3037,7,29,0,0,3036,3034, + 1,0,0,0,3036,3035,1,0,0,0,3037,3039,1,0,0,0,3038,3032,1,0,0,0,3039, + 3040,1,0,0,0,3040,3038,1,0,0,0,3040,3041,1,0,0,0,3041,674,1,0,0, + 0,3042,3043,5,48,0,0,3043,3044,7,19,0,0,3044,3049,1,0,0,0,3045,3047, + 5,95,0,0,3046,3045,1,0,0,0,3046,3047,1,0,0,0,3047,3048,1,0,0,0,3048, + 3050,7,30,0,0,3049,3046,1,0,0,0,3050,3051,1,0,0,0,3051,3049,1,0, + 0,0,3051,3052,1,0,0,0,3052,676,1,0,0,0,3053,3054,5,48,0,0,3054,3055, + 7,5,0,0,3055,3060,1,0,0,0,3056,3058,5,95,0,0,3057,3056,1,0,0,0,3057, + 3058,1,0,0,0,3058,3059,1,0,0,0,3059,3061,7,31,0,0,3060,3057,1,0, + 0,0,3061,3062,1,0,0,0,3062,3060,1,0,0,0,3062,3063,1,0,0,0,3063,678, + 1,0,0,0,3064,3066,7,6,0,0,3065,3067,7,32,0,0,3066,3065,1,0,0,0,3066, + 3067,1,0,0,0,3067,3069,1,0,0,0,3068,3070,3,681,340,0,3069,3068,1, + 0,0,0,3070,3071,1,0,0,0,3071,3069,1,0,0,0,3071,3072,1,0,0,0,3072, + 680,1,0,0,0,3073,3074,7,33,0,0,3074,682,1,0,0,0,3075,3076,7,34,0, + 0,3076,684,1,0,0,0,3077,3078,5,45,0,0,3078,3079,5,45,0,0,3079,3083, + 1,0,0,0,3080,3082,8,35,0,0,3081,3080,1,0,0,0,3082,3085,1,0,0,0,3083, + 3081,1,0,0,0,3083,3084,1,0,0,0,3084,3087,1,0,0,0,3085,3083,1,0,0, + 0,3086,3088,5,13,0,0,3087,3086,1,0,0,0,3087,3088,1,0,0,0,3088,3090, + 1,0,0,0,3089,3091,5,10,0,0,3090,3089,1,0,0,0,3090,3091,1,0,0,0,3091, + 3092,1,0,0,0,3092,3093,6,342,0,0,3093,686,1,0,0,0,3094,3095,5,47, + 0,0,3095,3096,5,42,0,0,3096,3100,1,0,0,0,3097,3099,9,0,0,0,3098, + 3097,1,0,0,0,3099,3102,1,0,0,0,3100,3101,1,0,0,0,3100,3098,1,0,0, + 0,3101,3103,1,0,0,0,3102,3100,1,0,0,0,3103,3104,5,42,0,0,3104,3105, + 5,47,0,0,3105,3106,1,0,0,0,3106,3107,6,343,0,0,3107,688,1,0,0,0, + 3108,3110,7,36,0,0,3109,3108,1,0,0,0,3110,3111,1,0,0,0,3111,3109, + 1,0,0,0,3111,3112,1,0,0,0,3112,3113,1,0,0,0,3113,3114,6,344,0,0, + 3114,690,1,0,0,0,3115,3116,9,0,0,0,3116,692,1,0,0,0,40,0,2870,2903, + 2905,2917,2919,2930,2939,2944,2948,2953,2959,2962,2970,2974,2978, + 2983,2985,2992,2994,3000,3002,3011,3013,3020,3025,3032,3036,3040, + 3046,3051,3057,3062,3066,3071,3083,3087,3090,3100,3111,1,0,1,0 ]; private static __ATN: antlr.ATN; diff --git a/src/lib/trino/TrinoSqlListener.ts b/src/lib/trino/TrinoSqlListener.ts index 558f1a42..074c4214 100644 --- a/src/lib/trino/TrinoSqlListener.ts +++ b/src/lib/trino/TrinoSqlListener.ts @@ -10,14 +10,16 @@ import { SQLParserBase } from '../SQLParserBase'; import { ProgramContext } from "./TrinoSqlParser.js"; import { StatementsContext } from "./TrinoSqlParser.js"; -import { StandaloneClauseContext } from "./TrinoSqlParser.js"; import { SingleStatementContext } from "./TrinoSqlParser.js"; import { StandaloneExpressionContext } from "./TrinoSqlParser.js"; import { StandalonePathSpecificationContext } from "./TrinoSqlParser.js"; import { StandaloneTypeContext } from "./TrinoSqlParser.js"; import { StandaloneRowPatternContext } from "./TrinoSqlParser.js"; +import { StandaloneFunctionSpecificationContext } from "./TrinoSqlParser.js"; import { StatementDefaultContext } from "./TrinoSqlParser.js"; import { UseContext } from "./TrinoSqlParser.js"; +import { CreateCatalogContext } from "./TrinoSqlParser.js"; +import { DropCatalogContext } from "./TrinoSqlParser.js"; import { CreateSchemaContext } from "./TrinoSqlParser.js"; import { DropSchemaContext } from "./TrinoSqlParser.js"; import { RenameSchemaContext } from "./TrinoSqlParser.js"; @@ -28,12 +30,15 @@ import { DropTableContext } from "./TrinoSqlParser.js"; import { InsertIntoContext } from "./TrinoSqlParser.js"; import { DeleteContext } from "./TrinoSqlParser.js"; import { TruncateTableContext } from "./TrinoSqlParser.js"; -import { RenameTableContext } from "./TrinoSqlParser.js"; import { CommentTableContext } from "./TrinoSqlParser.js"; +import { CommentViewContext } from "./TrinoSqlParser.js"; import { CommentColumnContext } from "./TrinoSqlParser.js"; +import { RenameTableContext } from "./TrinoSqlParser.js"; +import { AddColumnContext } from "./TrinoSqlParser.js"; import { RenameColumnContext } from "./TrinoSqlParser.js"; import { DropColumnContext } from "./TrinoSqlParser.js"; -import { AddColumnContext } from "./TrinoSqlParser.js"; +import { SetColumnTypeContext } from "./TrinoSqlParser.js"; +import { DropNotNullConstraintContext } from "./TrinoSqlParser.js"; import { SetTableAuthorizationContext } from "./TrinoSqlParser.js"; import { SetTablePropertiesContext } from "./TrinoSqlParser.js"; import { TableExecuteContext } from "./TrinoSqlParser.js"; @@ -48,20 +53,24 @@ import { DropViewContext } from "./TrinoSqlParser.js"; import { RenameViewContext } from "./TrinoSqlParser.js"; import { SetViewAuthorizationContext } from "./TrinoSqlParser.js"; import { CallContext } from "./TrinoSqlParser.js"; +import { CreateFunctionContext } from "./TrinoSqlParser.js"; +import { DropFunctionContext } from "./TrinoSqlParser.js"; import { CreateRoleContext } from "./TrinoSqlParser.js"; import { DropRoleContext } from "./TrinoSqlParser.js"; import { GrantRolesContext } from "./TrinoSqlParser.js"; +import { GrantPrivilegesContext } from "./TrinoSqlParser.js"; import { RevokeRolesContext } from "./TrinoSqlParser.js"; -import { SetRoleContext } from "./TrinoSqlParser.js"; -import { GrantContext } from "./TrinoSqlParser.js"; +import { RevokePrivilegesContext } from "./TrinoSqlParser.js"; import { DenyContext } from "./TrinoSqlParser.js"; -import { RevokeContext } from "./TrinoSqlParser.js"; +import { SetRoleContext } from "./TrinoSqlParser.js"; import { ShowGrantsContext } from "./TrinoSqlParser.js"; import { ExplainContext } from "./TrinoSqlParser.js"; +import { ExplainAnalyzeContext } from "./TrinoSqlParser.js"; import { ShowCreateTableContext } from "./TrinoSqlParser.js"; import { ShowCreateSchemaContext } from "./TrinoSqlParser.js"; import { ShowCreateViewContext } from "./TrinoSqlParser.js"; import { ShowCreateMaterializedViewContext } from "./TrinoSqlParser.js"; +import { ShowCreateFunctionContext } from "./TrinoSqlParser.js"; import { ShowTablesContext } from "./TrinoSqlParser.js"; import { ShowSchemasContext } from "./TrinoSqlParser.js"; import { ShowCatalogsContext } from "./TrinoSqlParser.js"; @@ -72,6 +81,8 @@ import { ShowRolesContext } from "./TrinoSqlParser.js"; import { ShowRoleGrantsContext } from "./TrinoSqlParser.js"; import { ShowFunctionsContext } from "./TrinoSqlParser.js"; import { ShowSessionContext } from "./TrinoSqlParser.js"; +import { SetSessionAuthorizationContext } from "./TrinoSqlParser.js"; +import { ResetSessionAuthorizationContext } from "./TrinoSqlParser.js"; import { SetSessionContext } from "./TrinoSqlParser.js"; import { ResetSessionContext } from "./TrinoSqlParser.js"; import { StartTransactionContext } from "./TrinoSqlParser.js"; @@ -80,6 +91,7 @@ import { RollbackContext } from "./TrinoSqlParser.js"; import { PrepareContext } from "./TrinoSqlParser.js"; import { DeallocateContext } from "./TrinoSqlParser.js"; import { ExecuteContext } from "./TrinoSqlParser.js"; +import { ExecuteImmediateContext } from "./TrinoSqlParser.js"; import { DescribeInputContext } from "./TrinoSqlParser.js"; import { DescribeOutputContext } from "./TrinoSqlParser.js"; import { SetPathContext } from "./TrinoSqlParser.js"; @@ -88,6 +100,8 @@ import { UpdateContext } from "./TrinoSqlParser.js"; import { MergeContext } from "./TrinoSqlParser.js"; import { ShowTableCommentContext } from "./TrinoSqlParser.js"; import { ShowColumnCommentContext } from "./TrinoSqlParser.js"; +import { RootQueryContext } from "./TrinoSqlParser.js"; +import { WithFunctionContext } from "./TrinoSqlParser.js"; import { QueryStatementContext } from "./TrinoSqlParser.js"; import { WithContext } from "./TrinoSqlParser.js"; import { TableElementContext } from "./TrinoSqlParser.js"; @@ -128,6 +142,9 @@ import { JoinTypeContext } from "./TrinoSqlParser.js"; import { JoinCriteriaContext } from "./TrinoSqlParser.js"; import { SampledRelationContext } from "./TrinoSqlParser.js"; import { SampleTypeContext } from "./TrinoSqlParser.js"; +import { TrimsSpecificationContext } from "./TrinoSqlParser.js"; +import { ListAggOverflowBehaviorContext } from "./TrinoSqlParser.js"; +import { ListaggCountIndicationContext } from "./TrinoSqlParser.js"; import { PatternRecognitionContext } from "./TrinoSqlParser.js"; import { MeasureDefinitionContext } from "./TrinoSqlParser.js"; import { RowsPerMatchContext } from "./TrinoSqlParser.js"; @@ -139,15 +156,37 @@ import { AliasedRelationContext } from "./TrinoSqlParser.js"; import { ColumnListCreateContext } from "./TrinoSqlParser.js"; import { ColumnListContext } from "./TrinoSqlParser.js"; import { ColumnAliasesContext } from "./TrinoSqlParser.js"; -import { TableOrViewRelationContext } from "./TrinoSqlParser.js"; +import { TableNameContext } from "./TrinoSqlParser.js"; import { SubqueryRelationContext } from "./TrinoSqlParser.js"; import { UnnestContext } from "./TrinoSqlParser.js"; import { LateralContext } from "./TrinoSqlParser.js"; +import { TableFunctionInvocationContext } from "./TrinoSqlParser.js"; import { ParenthesizedRelationContext } from "./TrinoSqlParser.js"; +import { JsonTableContext } from "./TrinoSqlParser.js"; +import { OrdinalityColumnContext } from "./TrinoSqlParser.js"; +import { ValueColumnContext } from "./TrinoSqlParser.js"; +import { QueryColumnContext } from "./TrinoSqlParser.js"; +import { NestedColumnsContext } from "./TrinoSqlParser.js"; +import { LeafPlanContext } from "./TrinoSqlParser.js"; +import { JoinPlanContext } from "./TrinoSqlParser.js"; +import { UnionPlanContext } from "./TrinoSqlParser.js"; +import { CrossPlanContext } from "./TrinoSqlParser.js"; +import { JsonTablePathNameContext } from "./TrinoSqlParser.js"; +import { PlanPrimaryContext } from "./TrinoSqlParser.js"; +import { JsonTableDefaultPlanContext } from "./TrinoSqlParser.js"; +import { TableFunctionCallContext } from "./TrinoSqlParser.js"; +import { TableFunctionArgumentContext } from "./TrinoSqlParser.js"; +import { TableArgumentContext } from "./TrinoSqlParser.js"; +import { TableArgumentTableContext } from "./TrinoSqlParser.js"; +import { TableArgumentQueryContext } from "./TrinoSqlParser.js"; +import { DescriptorArgumentContext } from "./TrinoSqlParser.js"; +import { DescriptorFieldContext } from "./TrinoSqlParser.js"; +import { CopartitionTablesContext } from "./TrinoSqlParser.js"; import { ExpressionContext } from "./TrinoSqlParser.js"; import { LogicalNotContext } from "./TrinoSqlParser.js"; import { PredicatedContext } from "./TrinoSqlParser.js"; -import { LogicalBinaryContext } from "./TrinoSqlParser.js"; +import { OrContext } from "./TrinoSqlParser.js"; +import { AndContext } from "./TrinoSqlParser.js"; import { ComparisonContext } from "./TrinoSqlParser.js"; import { QuantifiedComparisonContext } from "./TrinoSqlParser.js"; import { BetweenContext } from "./TrinoSqlParser.js"; @@ -163,36 +202,56 @@ import { ArithmeticUnaryContext } from "./TrinoSqlParser.js"; import { AtTimeZoneContext } from "./TrinoSqlParser.js"; import { DereferenceContext } from "./TrinoSqlParser.js"; import { TypeConstructorContext } from "./TrinoSqlParser.js"; -import { SpecialDateTimeFunctionContext } from "./TrinoSqlParser.js"; +import { JsonValueContext } from "./TrinoSqlParser.js"; +import { CurrentDateContext } from "./TrinoSqlParser.js"; import { SubstringContext } from "./TrinoSqlParser.js"; import { CastContext } from "./TrinoSqlParser.js"; import { LambdaContext } from "./TrinoSqlParser.js"; import { ParenthesizedExpressionContext } from "./TrinoSqlParser.js"; +import { TrimContext } from "./TrinoSqlParser.js"; import { ParameterContext } from "./TrinoSqlParser.js"; import { NormalizeContext } from "./TrinoSqlParser.js"; +import { LocalTimestampContext } from "./TrinoSqlParser.js"; +import { JsonObjectContext } from "./TrinoSqlParser.js"; import { IntervalLiteralContext } from "./TrinoSqlParser.js"; import { NumericLiteralContext } from "./TrinoSqlParser.js"; import { BooleanLiteralContext } from "./TrinoSqlParser.js"; +import { JsonArrayContext } from "./TrinoSqlParser.js"; import { SimpleCaseContext } from "./TrinoSqlParser.js"; import { ColumnReferenceContext } from "./TrinoSqlParser.js"; import { NullLiteralContext } from "./TrinoSqlParser.js"; import { RowConstructorContext } from "./TrinoSqlParser.js"; import { SubscriptContext } from "./TrinoSqlParser.js"; +import { JsonExistsContext } from "./TrinoSqlParser.js"; import { CurrentPathContext } from "./TrinoSqlParser.js"; import { SubqueryExpressionContext } from "./TrinoSqlParser.js"; import { BinaryLiteralContext } from "./TrinoSqlParser.js"; +import { CurrentTimeContext } from "./TrinoSqlParser.js"; +import { LocalTimeContext } from "./TrinoSqlParser.js"; import { CurrentUserContext } from "./TrinoSqlParser.js"; +import { JsonQueryContext } from "./TrinoSqlParser.js"; import { MeasureContext } from "./TrinoSqlParser.js"; import { ExtractContext } from "./TrinoSqlParser.js"; import { StringLiteralContext } from "./TrinoSqlParser.js"; import { ArrayConstructorContext } from "./TrinoSqlParser.js"; import { FunctionCallContext } from "./TrinoSqlParser.js"; +import { CurrentTimestampContext } from "./TrinoSqlParser.js"; import { CurrentSchemaContext } from "./TrinoSqlParser.js"; import { ExistsContext } from "./TrinoSqlParser.js"; import { PositionContext } from "./TrinoSqlParser.js"; +import { ListaggContext } from "./TrinoSqlParser.js"; import { SearchedCaseContext } from "./TrinoSqlParser.js"; import { CurrentCatalogContext } from "./TrinoSqlParser.js"; import { GroupingOperationContext } from "./TrinoSqlParser.js"; +import { JsonPathInvocationContext } from "./TrinoSqlParser.js"; +import { JsonValueExpressionContext } from "./TrinoSqlParser.js"; +import { JsonRepresentationContext } from "./TrinoSqlParser.js"; +import { JsonArgumentContext } from "./TrinoSqlParser.js"; +import { JsonExistsErrorBehaviorContext } from "./TrinoSqlParser.js"; +import { JsonValueBehaviorContext } from "./TrinoSqlParser.js"; +import { JsonQueryWrapperBehaviorContext } from "./TrinoSqlParser.js"; +import { JsonQueryBehaviorContext } from "./TrinoSqlParser.js"; +import { JsonObjectMemberContext } from "./TrinoSqlParser.js"; import { ProcessingModeContext } from "./TrinoSqlParser.js"; import { NullTreatmentContext } from "./TrinoSqlParser.js"; import { BasicStringLiteralContext } from "./TrinoSqlParser.js"; @@ -254,23 +313,51 @@ import { NamedArgumentContext } from "./TrinoSqlParser.js"; import { QualifiedArgumentContext } from "./TrinoSqlParser.js"; import { UnqualifiedArgumentContext } from "./TrinoSqlParser.js"; import { PathSpecificationContext } from "./TrinoSqlParser.js"; +import { FunctionSpecificationContext } from "./TrinoSqlParser.js"; +import { FunctionDeclarationContext } from "./TrinoSqlParser.js"; +import { ParameterDeclarationContext } from "./TrinoSqlParser.js"; +import { ReturnsClauseContext } from "./TrinoSqlParser.js"; +import { LanguageCharacteristicContext } from "./TrinoSqlParser.js"; +import { DeterministicCharacteristicContext } from "./TrinoSqlParser.js"; +import { ReturnsNullOnNullInputCharacteristicContext } from "./TrinoSqlParser.js"; +import { CalledOnNullInputCharacteristicContext } from "./TrinoSqlParser.js"; +import { SecurityCharacteristicContext } from "./TrinoSqlParser.js"; +import { CommentCharacteristicContext } from "./TrinoSqlParser.js"; +import { ReturnStatementContext } from "./TrinoSqlParser.js"; +import { AssignmentStatementContext } from "./TrinoSqlParser.js"; +import { SimpleCaseStatementContext } from "./TrinoSqlParser.js"; +import { SearchedCaseStatementContext } from "./TrinoSqlParser.js"; +import { IfStatementContext } from "./TrinoSqlParser.js"; +import { IterateStatementContext } from "./TrinoSqlParser.js"; +import { LeaveStatementContext } from "./TrinoSqlParser.js"; +import { CompoundStatementContext } from "./TrinoSqlParser.js"; +import { LoopStatementContext } from "./TrinoSqlParser.js"; +import { WhileStatementContext } from "./TrinoSqlParser.js"; +import { RepeatStatementContext } from "./TrinoSqlParser.js"; +import { CaseStatementWhenClauseContext } from "./TrinoSqlParser.js"; +import { ElseIfClauseContext } from "./TrinoSqlParser.js"; +import { ElseClauseContext } from "./TrinoSqlParser.js"; +import { VariableDeclarationContext } from "./TrinoSqlParser.js"; +import { SqlStatementListContext } from "./TrinoSqlParser.js"; import { PrivilegeContext } from "./TrinoSqlParser.js"; +import { EntityKindContext } from "./TrinoSqlParser.js"; +import { GrantObjectContext } from "./TrinoSqlParser.js"; import { TableOrViewNameContext } from "./TrinoSqlParser.js"; -import { TableNameContext } from "./TrinoSqlParser.js"; +import { TableRefContext } from "./TrinoSqlParser.js"; import { TableNameCreateContext } from "./TrinoSqlParser.js"; -import { ViewNameContext } from "./TrinoSqlParser.js"; +import { ViewRefContext } from "./TrinoSqlParser.js"; import { ViewNameCreateContext } from "./TrinoSqlParser.js"; -import { TablePathContext } from "./TrinoSqlParser.js"; -import { ViewPathContext } from "./TrinoSqlParser.js"; -import { SchemaNameContext } from "./TrinoSqlParser.js"; +import { SchemaRefContext } from "./TrinoSqlParser.js"; import { SchemaNameCreateContext } from "./TrinoSqlParser.js"; -import { SchemaPathContext } from "./TrinoSqlParser.js"; -import { CatalogNameContext } from "./TrinoSqlParser.js"; +import { CatalogRefContext } from "./TrinoSqlParser.js"; import { CatalogNameCreateContext } from "./TrinoSqlParser.js"; import { FunctionNameContext } from "./TrinoSqlParser.js"; -import { ColumnNameContext } from "./TrinoSqlParser.js"; +import { FunctionNameCreateContext } from "./TrinoSqlParser.js"; +import { ColumnRefContext } from "./TrinoSqlParser.js"; import { ColumnNameCreateContext } from "./TrinoSqlParser.js"; import { QualifiedNameContext } from "./TrinoSqlParser.js"; +import { QueryPeriodContext } from "./TrinoSqlParser.js"; +import { RangeTypeContext } from "./TrinoSqlParser.js"; import { SpecifiedPrincipalContext } from "./TrinoSqlParser.js"; import { CurrentUserGrantorContext } from "./TrinoSqlParser.js"; import { CurrentRoleGrantorContext } from "./TrinoSqlParser.js"; @@ -278,6 +365,7 @@ import { UnspecifiedPrincipalContext } from "./TrinoSqlParser.js"; import { UserPrincipalContext } from "./TrinoSqlParser.js"; import { RolePrincipalContext } from "./TrinoSqlParser.js"; import { RolesContext } from "./TrinoSqlParser.js"; +import { PrivilegeOrRoleContext } from "./TrinoSqlParser.js"; import { UnquotedIdentifierContext } from "./TrinoSqlParser.js"; import { QuotedIdentifierContext } from "./TrinoSqlParser.js"; import { BackQuotedIdentifierContext } from "./TrinoSqlParser.js"; @@ -285,6 +373,8 @@ import { DigitIdentifierContext } from "./TrinoSqlParser.js"; import { DecimalLiteralContext } from "./TrinoSqlParser.js"; import { DoubleLiteralContext } from "./TrinoSqlParser.js"; import { IntegerLiteralContext } from "./TrinoSqlParser.js"; +import { IdentifierUserContext } from "./TrinoSqlParser.js"; +import { StringUserContext } from "./TrinoSqlParser.js"; import { NonReservedContext } from "./TrinoSqlParser.js"; @@ -313,16 +403,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitStatements?: (ctx: StatementsContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.standaloneClause`. - * @param ctx the parse tree - */ - enterStandaloneClause?: (ctx: StandaloneClauseContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.standaloneClause`. - * @param ctx the parse tree - */ - exitStandaloneClause?: (ctx: StandaloneClauseContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.singleStatement`. * @param ctx the parse tree @@ -373,6 +453,16 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitStandaloneRowPattern?: (ctx: StandaloneRowPatternContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.standaloneFunctionSpecification`. + * @param ctx the parse tree + */ + enterStandaloneFunctionSpecification?: (ctx: StandaloneFunctionSpecificationContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.standaloneFunctionSpecification`. + * @param ctx the parse tree + */ + exitStandaloneFunctionSpecification?: (ctx: StandaloneFunctionSpecificationContext) => void; /** * Enter a parse tree produced by the `statementDefault` * labeled alternative in `TrinoSqlParser.statement`. @@ -397,6 +487,30 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitUse?: (ctx: UseContext) => void; + /** + * Enter a parse tree produced by the `createCatalog` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterCreateCatalog?: (ctx: CreateCatalogContext) => void; + /** + * Exit a parse tree produced by the `createCatalog` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitCreateCatalog?: (ctx: CreateCatalogContext) => void; + /** + * Enter a parse tree produced by the `dropCatalog` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterDropCatalog?: (ctx: DropCatalogContext) => void; + /** + * Exit a parse tree produced by the `dropCatalog` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitDropCatalog?: (ctx: DropCatalogContext) => void; /** * Enter a parse tree produced by the `createSchema` * labeled alternative in `TrinoSqlParser.statement`. @@ -518,29 +632,29 @@ export class TrinoSqlListener implements ParseTreeListener { */ exitTruncateTable?: (ctx: TruncateTableContext) => void; /** - * Enter a parse tree produced by the `renameTable` + * Enter a parse tree produced by the `commentTable` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - enterRenameTable?: (ctx: RenameTableContext) => void; + enterCommentTable?: (ctx: CommentTableContext) => void; /** - * Exit a parse tree produced by the `renameTable` + * Exit a parse tree produced by the `commentTable` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - exitRenameTable?: (ctx: RenameTableContext) => void; + exitCommentTable?: (ctx: CommentTableContext) => void; /** - * Enter a parse tree produced by the `commentTable` + * Enter a parse tree produced by the `commentView` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - enterCommentTable?: (ctx: CommentTableContext) => void; + enterCommentView?: (ctx: CommentViewContext) => void; /** - * Exit a parse tree produced by the `commentTable` + * Exit a parse tree produced by the `commentView` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - exitCommentTable?: (ctx: CommentTableContext) => void; + exitCommentView?: (ctx: CommentViewContext) => void; /** * Enter a parse tree produced by the `commentColumn` * labeled alternative in `TrinoSqlParser.statement`. @@ -553,6 +667,30 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitCommentColumn?: (ctx: CommentColumnContext) => void; + /** + * Enter a parse tree produced by the `renameTable` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterRenameTable?: (ctx: RenameTableContext) => void; + /** + * Exit a parse tree produced by the `renameTable` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitRenameTable?: (ctx: RenameTableContext) => void; + /** + * Enter a parse tree produced by the `addColumn` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterAddColumn?: (ctx: AddColumnContext) => void; + /** + * Exit a parse tree produced by the `addColumn` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitAddColumn?: (ctx: AddColumnContext) => void; /** * Enter a parse tree produced by the `renameColumn` * labeled alternative in `TrinoSqlParser.statement`. @@ -578,17 +716,29 @@ export class TrinoSqlListener implements ParseTreeListener { */ exitDropColumn?: (ctx: DropColumnContext) => void; /** - * Enter a parse tree produced by the `addColumn` + * Enter a parse tree produced by the `setColumnType` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - enterAddColumn?: (ctx: AddColumnContext) => void; + enterSetColumnType?: (ctx: SetColumnTypeContext) => void; /** - * Exit a parse tree produced by the `addColumn` + * Exit a parse tree produced by the `setColumnType` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - exitAddColumn?: (ctx: AddColumnContext) => void; + exitSetColumnType?: (ctx: SetColumnTypeContext) => void; + /** + * Enter a parse tree produced by the `dropNotNullConstraint` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterDropNotNullConstraint?: (ctx: DropNotNullConstraintContext) => void; + /** + * Exit a parse tree produced by the `dropNotNullConstraint` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitDropNotNullConstraint?: (ctx: DropNotNullConstraintContext) => void; /** * Enter a parse tree produced by the `setTableAuthorization` * labeled alternative in `TrinoSqlParser.statement`. @@ -757,6 +907,30 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitCall?: (ctx: CallContext) => void; + /** + * Enter a parse tree produced by the `createFunction` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterCreateFunction?: (ctx: CreateFunctionContext) => void; + /** + * Exit a parse tree produced by the `createFunction` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitCreateFunction?: (ctx: CreateFunctionContext) => void; + /** + * Enter a parse tree produced by the `dropFunction` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterDropFunction?: (ctx: DropFunctionContext) => void; + /** + * Exit a parse tree produced by the `dropFunction` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitDropFunction?: (ctx: DropFunctionContext) => void; /** * Enter a parse tree produced by the `createRole` * labeled alternative in `TrinoSqlParser.statement`. @@ -794,41 +968,41 @@ export class TrinoSqlListener implements ParseTreeListener { */ exitGrantRoles?: (ctx: GrantRolesContext) => void; /** - * Enter a parse tree produced by the `revokeRoles` + * Enter a parse tree produced by the `grantPrivileges` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - enterRevokeRoles?: (ctx: RevokeRolesContext) => void; + enterGrantPrivileges?: (ctx: GrantPrivilegesContext) => void; /** - * Exit a parse tree produced by the `revokeRoles` + * Exit a parse tree produced by the `grantPrivileges` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - exitRevokeRoles?: (ctx: RevokeRolesContext) => void; + exitGrantPrivileges?: (ctx: GrantPrivilegesContext) => void; /** - * Enter a parse tree produced by the `setRole` + * Enter a parse tree produced by the `revokeRoles` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - enterSetRole?: (ctx: SetRoleContext) => void; + enterRevokeRoles?: (ctx: RevokeRolesContext) => void; /** - * Exit a parse tree produced by the `setRole` + * Exit a parse tree produced by the `revokeRoles` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - exitSetRole?: (ctx: SetRoleContext) => void; + exitRevokeRoles?: (ctx: RevokeRolesContext) => void; /** - * Enter a parse tree produced by the `grant` + * Enter a parse tree produced by the `revokePrivileges` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - enterGrant?: (ctx: GrantContext) => void; + enterRevokePrivileges?: (ctx: RevokePrivilegesContext) => void; /** - * Exit a parse tree produced by the `grant` + * Exit a parse tree produced by the `revokePrivileges` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - exitGrant?: (ctx: GrantContext) => void; + exitRevokePrivileges?: (ctx: RevokePrivilegesContext) => void; /** * Enter a parse tree produced by the `deny` * labeled alternative in `TrinoSqlParser.statement`. @@ -842,17 +1016,17 @@ export class TrinoSqlListener implements ParseTreeListener { */ exitDeny?: (ctx: DenyContext) => void; /** - * Enter a parse tree produced by the `revoke` + * Enter a parse tree produced by the `setRole` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - enterRevoke?: (ctx: RevokeContext) => void; + enterSetRole?: (ctx: SetRoleContext) => void; /** - * Exit a parse tree produced by the `revoke` + * Exit a parse tree produced by the `setRole` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree */ - exitRevoke?: (ctx: RevokeContext) => void; + exitSetRole?: (ctx: SetRoleContext) => void; /** * Enter a parse tree produced by the `showGrants` * labeled alternative in `TrinoSqlParser.statement`. @@ -877,6 +1051,18 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitExplain?: (ctx: ExplainContext) => void; + /** + * Enter a parse tree produced by the `explainAnalyze` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterExplainAnalyze?: (ctx: ExplainAnalyzeContext) => void; + /** + * Exit a parse tree produced by the `explainAnalyze` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitExplainAnalyze?: (ctx: ExplainAnalyzeContext) => void; /** * Enter a parse tree produced by the `showCreateTable` * labeled alternative in `TrinoSqlParser.statement`. @@ -925,6 +1111,18 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitShowCreateMaterializedView?: (ctx: ShowCreateMaterializedViewContext) => void; + /** + * Enter a parse tree produced by the `showCreateFunction` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterShowCreateFunction?: (ctx: ShowCreateFunctionContext) => void; + /** + * Exit a parse tree produced by the `showCreateFunction` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitShowCreateFunction?: (ctx: ShowCreateFunctionContext) => void; /** * Enter a parse tree produced by the `showTables` * labeled alternative in `TrinoSqlParser.statement`. @@ -1045,6 +1243,30 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitShowSession?: (ctx: ShowSessionContext) => void; + /** + * Enter a parse tree produced by the `setSessionAuthorization` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterSetSessionAuthorization?: (ctx: SetSessionAuthorizationContext) => void; + /** + * Exit a parse tree produced by the `setSessionAuthorization` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitSetSessionAuthorization?: (ctx: SetSessionAuthorizationContext) => void; + /** + * Enter a parse tree produced by the `resetSessionAuthorization` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterResetSessionAuthorization?: (ctx: ResetSessionAuthorizationContext) => void; + /** + * Exit a parse tree produced by the `resetSessionAuthorization` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitResetSessionAuthorization?: (ctx: ResetSessionAuthorizationContext) => void; /** * Enter a parse tree produced by the `setSession` * labeled alternative in `TrinoSqlParser.statement`. @@ -1141,6 +1363,18 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitExecute?: (ctx: ExecuteContext) => void; + /** + * Enter a parse tree produced by the `executeImmediate` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + enterExecuteImmediate?: (ctx: ExecuteImmediateContext) => void; + /** + * Exit a parse tree produced by the `executeImmediate` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + */ + exitExecuteImmediate?: (ctx: ExecuteImmediateContext) => void; /** * Enter a parse tree produced by the `describeInput` * labeled alternative in `TrinoSqlParser.statement`. @@ -1237,6 +1471,26 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitShowColumnComment?: (ctx: ShowColumnCommentContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.rootQuery`. + * @param ctx the parse tree + */ + enterRootQuery?: (ctx: RootQueryContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.rootQuery`. + * @param ctx the parse tree + */ + exitRootQuery?: (ctx: RootQueryContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.withFunction`. + * @param ctx the parse tree + */ + enterWithFunction?: (ctx: WithFunctionContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.withFunction`. + * @param ctx the parse tree + */ + exitWithFunction?: (ctx: WithFunctionContext) => void; /** * Enter a parse tree produced by the `queryStatement` * labeled alternative in `TrinoSqlParser.query`. @@ -1671,6 +1925,36 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitSampleType?: (ctx: SampleTypeContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.trimsSpecification`. + * @param ctx the parse tree + */ + enterTrimsSpecification?: (ctx: TrimsSpecificationContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.trimsSpecification`. + * @param ctx the parse tree + */ + exitTrimsSpecification?: (ctx: TrimsSpecificationContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.listAggOverflowBehavior`. + * @param ctx the parse tree + */ + enterListAggOverflowBehavior?: (ctx: ListAggOverflowBehaviorContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.listAggOverflowBehavior`. + * @param ctx the parse tree + */ + exitListAggOverflowBehavior?: (ctx: ListAggOverflowBehaviorContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.listaggCountIndication`. + * @param ctx the parse tree + */ + enterListaggCountIndication?: (ctx: ListaggCountIndicationContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.listaggCountIndication`. + * @param ctx the parse tree + */ + exitListaggCountIndication?: (ctx: ListaggCountIndicationContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.patternRecognition`. * @param ctx the parse tree @@ -1782,17 +2066,17 @@ export class TrinoSqlListener implements ParseTreeListener { */ exitColumnAliases?: (ctx: ColumnAliasesContext) => void; /** - * Enter a parse tree produced by the `tableOrViewRelation` + * Enter a parse tree produced by the `tableName` * labeled alternative in `TrinoSqlParser.relationPrimary`. * @param ctx the parse tree */ - enterTableOrViewRelation?: (ctx: TableOrViewRelationContext) => void; + enterTableName?: (ctx: TableNameContext) => void; /** - * Exit a parse tree produced by the `tableOrViewRelation` + * Exit a parse tree produced by the `tableName` * labeled alternative in `TrinoSqlParser.relationPrimary`. * @param ctx the parse tree */ - exitTableOrViewRelation?: (ctx: TableOrViewRelationContext) => void; + exitTableName?: (ctx: TableNameContext) => void; /** * Enter a parse tree produced by the `subqueryRelation` * labeled alternative in `TrinoSqlParser.relationPrimary`. @@ -1829,6 +2113,18 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitLateral?: (ctx: LateralContext) => void; + /** + * Enter a parse tree produced by the `tableFunctionInvocation` + * labeled alternative in `TrinoSqlParser.relationPrimary`. + * @param ctx the parse tree + */ + enterTableFunctionInvocation?: (ctx: TableFunctionInvocationContext) => void; + /** + * Exit a parse tree produced by the `tableFunctionInvocation` + * labeled alternative in `TrinoSqlParser.relationPrimary`. + * @param ctx the parse tree + */ + exitTableFunctionInvocation?: (ctx: TableFunctionInvocationContext) => void; /** * Enter a parse tree produced by the `parenthesizedRelation` * labeled alternative in `TrinoSqlParser.relationPrimary`. @@ -1842,131 +2138,365 @@ export class TrinoSqlListener implements ParseTreeListener { */ exitParenthesizedRelation?: (ctx: ParenthesizedRelationContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.expression`. + * Enter a parse tree produced by the `jsonTable` + * labeled alternative in `TrinoSqlParser.relationPrimary`. * @param ctx the parse tree */ - enterExpression?: (ctx: ExpressionContext) => void; + enterJsonTable?: (ctx: JsonTableContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.expression`. + * Exit a parse tree produced by the `jsonTable` + * labeled alternative in `TrinoSqlParser.relationPrimary`. * @param ctx the parse tree */ - exitExpression?: (ctx: ExpressionContext) => void; + exitJsonTable?: (ctx: JsonTableContext) => void; /** - * Enter a parse tree produced by the `logicalNot` - * labeled alternative in `TrinoSqlParser.booleanExpression`. + * Enter a parse tree produced by the `ordinalityColumn` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. * @param ctx the parse tree */ - enterLogicalNot?: (ctx: LogicalNotContext) => void; + enterOrdinalityColumn?: (ctx: OrdinalityColumnContext) => void; /** - * Exit a parse tree produced by the `logicalNot` - * labeled alternative in `TrinoSqlParser.booleanExpression`. + * Exit a parse tree produced by the `ordinalityColumn` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. * @param ctx the parse tree */ - exitLogicalNot?: (ctx: LogicalNotContext) => void; + exitOrdinalityColumn?: (ctx: OrdinalityColumnContext) => void; /** - * Enter a parse tree produced by the `predicated` - * labeled alternative in `TrinoSqlParser.booleanExpression`. + * Enter a parse tree produced by the `valueColumn` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. * @param ctx the parse tree */ - enterPredicated?: (ctx: PredicatedContext) => void; + enterValueColumn?: (ctx: ValueColumnContext) => void; /** - * Exit a parse tree produced by the `predicated` - * labeled alternative in `TrinoSqlParser.booleanExpression`. + * Exit a parse tree produced by the `valueColumn` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. * @param ctx the parse tree */ - exitPredicated?: (ctx: PredicatedContext) => void; + exitValueColumn?: (ctx: ValueColumnContext) => void; /** - * Enter a parse tree produced by the `logicalBinary` - * labeled alternative in `TrinoSqlParser.booleanExpression`. + * Enter a parse tree produced by the `queryColumn` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. * @param ctx the parse tree */ - enterLogicalBinary?: (ctx: LogicalBinaryContext) => void; + enterQueryColumn?: (ctx: QueryColumnContext) => void; /** - * Exit a parse tree produced by the `logicalBinary` - * labeled alternative in `TrinoSqlParser.booleanExpression`. + * Exit a parse tree produced by the `queryColumn` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. * @param ctx the parse tree */ - exitLogicalBinary?: (ctx: LogicalBinaryContext) => void; + exitQueryColumn?: (ctx: QueryColumnContext) => void; /** - * Enter a parse tree produced by the `comparison` - * labeled alternative in `TrinoSqlParser.predicate`. + * Enter a parse tree produced by the `nestedColumns` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. * @param ctx the parse tree */ - enterComparison?: (ctx: ComparisonContext) => void; + enterNestedColumns?: (ctx: NestedColumnsContext) => void; /** - * Exit a parse tree produced by the `comparison` - * labeled alternative in `TrinoSqlParser.predicate`. + * Exit a parse tree produced by the `nestedColumns` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. * @param ctx the parse tree */ - exitComparison?: (ctx: ComparisonContext) => void; + exitNestedColumns?: (ctx: NestedColumnsContext) => void; /** - * Enter a parse tree produced by the `quantifiedComparison` - * labeled alternative in `TrinoSqlParser.predicate`. + * Enter a parse tree produced by the `leafPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. * @param ctx the parse tree */ - enterQuantifiedComparison?: (ctx: QuantifiedComparisonContext) => void; + enterLeafPlan?: (ctx: LeafPlanContext) => void; /** - * Exit a parse tree produced by the `quantifiedComparison` - * labeled alternative in `TrinoSqlParser.predicate`. + * Exit a parse tree produced by the `leafPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. * @param ctx the parse tree */ - exitQuantifiedComparison?: (ctx: QuantifiedComparisonContext) => void; + exitLeafPlan?: (ctx: LeafPlanContext) => void; /** - * Enter a parse tree produced by the `between` - * labeled alternative in `TrinoSqlParser.predicate`. + * Enter a parse tree produced by the `joinPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. * @param ctx the parse tree */ - enterBetween?: (ctx: BetweenContext) => void; + enterJoinPlan?: (ctx: JoinPlanContext) => void; /** - * Exit a parse tree produced by the `between` - * labeled alternative in `TrinoSqlParser.predicate`. + * Exit a parse tree produced by the `joinPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. * @param ctx the parse tree */ - exitBetween?: (ctx: BetweenContext) => void; + exitJoinPlan?: (ctx: JoinPlanContext) => void; /** - * Enter a parse tree produced by the `inList` - * labeled alternative in `TrinoSqlParser.predicate`. + * Enter a parse tree produced by the `unionPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. * @param ctx the parse tree */ - enterInList?: (ctx: InListContext) => void; + enterUnionPlan?: (ctx: UnionPlanContext) => void; /** - * Exit a parse tree produced by the `inList` - * labeled alternative in `TrinoSqlParser.predicate`. + * Exit a parse tree produced by the `unionPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. * @param ctx the parse tree */ - exitInList?: (ctx: InListContext) => void; + exitUnionPlan?: (ctx: UnionPlanContext) => void; /** - * Enter a parse tree produced by the `inSubquery` - * labeled alternative in `TrinoSqlParser.predicate`. + * Enter a parse tree produced by the `crossPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. * @param ctx the parse tree */ - enterInSubquery?: (ctx: InSubqueryContext) => void; + enterCrossPlan?: (ctx: CrossPlanContext) => void; /** - * Exit a parse tree produced by the `inSubquery` - * labeled alternative in `TrinoSqlParser.predicate`. + * Exit a parse tree produced by the `crossPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. * @param ctx the parse tree */ - exitInSubquery?: (ctx: InSubqueryContext) => void; + exitCrossPlan?: (ctx: CrossPlanContext) => void; /** - * Enter a parse tree produced by the `like` - * labeled alternative in `TrinoSqlParser.predicate`. + * Enter a parse tree produced by `TrinoSqlParser.jsonTablePathName`. * @param ctx the parse tree */ - enterLike?: (ctx: LikeContext) => void; + enterJsonTablePathName?: (ctx: JsonTablePathNameContext) => void; /** - * Exit a parse tree produced by the `like` - * labeled alternative in `TrinoSqlParser.predicate`. + * Exit a parse tree produced by `TrinoSqlParser.jsonTablePathName`. * @param ctx the parse tree */ - exitLike?: (ctx: LikeContext) => void; + exitJsonTablePathName?: (ctx: JsonTablePathNameContext) => void; /** - * Enter a parse tree produced by the `nullPredicate` - * labeled alternative in `TrinoSqlParser.predicate`. + * Enter a parse tree produced by `TrinoSqlParser.planPrimary`. * @param ctx the parse tree */ - enterNullPredicate?: (ctx: NullPredicateContext) => void; + enterPlanPrimary?: (ctx: PlanPrimaryContext) => void; /** - * Exit a parse tree produced by the `nullPredicate` + * Exit a parse tree produced by `TrinoSqlParser.planPrimary`. + * @param ctx the parse tree + */ + exitPlanPrimary?: (ctx: PlanPrimaryContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.jsonTableDefaultPlan`. + * @param ctx the parse tree + */ + enterJsonTableDefaultPlan?: (ctx: JsonTableDefaultPlanContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.jsonTableDefaultPlan`. + * @param ctx the parse tree + */ + exitJsonTableDefaultPlan?: (ctx: JsonTableDefaultPlanContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.tableFunctionCall`. + * @param ctx the parse tree + */ + enterTableFunctionCall?: (ctx: TableFunctionCallContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.tableFunctionCall`. + * @param ctx the parse tree + */ + exitTableFunctionCall?: (ctx: TableFunctionCallContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.tableFunctionArgument`. + * @param ctx the parse tree + */ + enterTableFunctionArgument?: (ctx: TableFunctionArgumentContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.tableFunctionArgument`. + * @param ctx the parse tree + */ + exitTableFunctionArgument?: (ctx: TableFunctionArgumentContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.tableArgument`. + * @param ctx the parse tree + */ + enterTableArgument?: (ctx: TableArgumentContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.tableArgument`. + * @param ctx the parse tree + */ + exitTableArgument?: (ctx: TableArgumentContext) => void; + /** + * Enter a parse tree produced by the `tableArgumentTable` + * labeled alternative in `TrinoSqlParser.tableArgumentRelation`. + * @param ctx the parse tree + */ + enterTableArgumentTable?: (ctx: TableArgumentTableContext) => void; + /** + * Exit a parse tree produced by the `tableArgumentTable` + * labeled alternative in `TrinoSqlParser.tableArgumentRelation`. + * @param ctx the parse tree + */ + exitTableArgumentTable?: (ctx: TableArgumentTableContext) => void; + /** + * Enter a parse tree produced by the `tableArgumentQuery` + * labeled alternative in `TrinoSqlParser.tableArgumentRelation`. + * @param ctx the parse tree + */ + enterTableArgumentQuery?: (ctx: TableArgumentQueryContext) => void; + /** + * Exit a parse tree produced by the `tableArgumentQuery` + * labeled alternative in `TrinoSqlParser.tableArgumentRelation`. + * @param ctx the parse tree + */ + exitTableArgumentQuery?: (ctx: TableArgumentQueryContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.descriptorArgument`. + * @param ctx the parse tree + */ + enterDescriptorArgument?: (ctx: DescriptorArgumentContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.descriptorArgument`. + * @param ctx the parse tree + */ + exitDescriptorArgument?: (ctx: DescriptorArgumentContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.descriptorField`. + * @param ctx the parse tree + */ + enterDescriptorField?: (ctx: DescriptorFieldContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.descriptorField`. + * @param ctx the parse tree + */ + exitDescriptorField?: (ctx: DescriptorFieldContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.copartitionTables`. + * @param ctx the parse tree + */ + enterCopartitionTables?: (ctx: CopartitionTablesContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.copartitionTables`. + * @param ctx the parse tree + */ + exitCopartitionTables?: (ctx: CopartitionTablesContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.expression`. + * @param ctx the parse tree + */ + enterExpression?: (ctx: ExpressionContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.expression`. + * @param ctx the parse tree + */ + exitExpression?: (ctx: ExpressionContext) => void; + /** + * Enter a parse tree produced by the `logicalNot` + * labeled alternative in `TrinoSqlParser.booleanExpression`. + * @param ctx the parse tree + */ + enterLogicalNot?: (ctx: LogicalNotContext) => void; + /** + * Exit a parse tree produced by the `logicalNot` + * labeled alternative in `TrinoSqlParser.booleanExpression`. + * @param ctx the parse tree + */ + exitLogicalNot?: (ctx: LogicalNotContext) => void; + /** + * Enter a parse tree produced by the `predicated` + * labeled alternative in `TrinoSqlParser.booleanExpression`. + * @param ctx the parse tree + */ + enterPredicated?: (ctx: PredicatedContext) => void; + /** + * Exit a parse tree produced by the `predicated` + * labeled alternative in `TrinoSqlParser.booleanExpression`. + * @param ctx the parse tree + */ + exitPredicated?: (ctx: PredicatedContext) => void; + /** + * Enter a parse tree produced by the `or` + * labeled alternative in `TrinoSqlParser.booleanExpression`. + * @param ctx the parse tree + */ + enterOr?: (ctx: OrContext) => void; + /** + * Exit a parse tree produced by the `or` + * labeled alternative in `TrinoSqlParser.booleanExpression`. + * @param ctx the parse tree + */ + exitOr?: (ctx: OrContext) => void; + /** + * Enter a parse tree produced by the `and` + * labeled alternative in `TrinoSqlParser.booleanExpression`. + * @param ctx the parse tree + */ + enterAnd?: (ctx: AndContext) => void; + /** + * Exit a parse tree produced by the `and` + * labeled alternative in `TrinoSqlParser.booleanExpression`. + * @param ctx the parse tree + */ + exitAnd?: (ctx: AndContext) => void; + /** + * Enter a parse tree produced by the `comparison` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + enterComparison?: (ctx: ComparisonContext) => void; + /** + * Exit a parse tree produced by the `comparison` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + exitComparison?: (ctx: ComparisonContext) => void; + /** + * Enter a parse tree produced by the `quantifiedComparison` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + enterQuantifiedComparison?: (ctx: QuantifiedComparisonContext) => void; + /** + * Exit a parse tree produced by the `quantifiedComparison` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + exitQuantifiedComparison?: (ctx: QuantifiedComparisonContext) => void; + /** + * Enter a parse tree produced by the `between` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + enterBetween?: (ctx: BetweenContext) => void; + /** + * Exit a parse tree produced by the `between` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + exitBetween?: (ctx: BetweenContext) => void; + /** + * Enter a parse tree produced by the `inList` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + enterInList?: (ctx: InListContext) => void; + /** + * Exit a parse tree produced by the `inList` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + exitInList?: (ctx: InListContext) => void; + /** + * Enter a parse tree produced by the `inSubquery` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + enterInSubquery?: (ctx: InSubqueryContext) => void; + /** + * Exit a parse tree produced by the `inSubquery` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + exitInSubquery?: (ctx: InSubqueryContext) => void; + /** + * Enter a parse tree produced by the `like` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + enterLike?: (ctx: LikeContext) => void; + /** + * Exit a parse tree produced by the `like` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + exitLike?: (ctx: LikeContext) => void; + /** + * Enter a parse tree produced by the `nullPredicate` + * labeled alternative in `TrinoSqlParser.predicate`. + * @param ctx the parse tree + */ + enterNullPredicate?: (ctx: NullPredicateContext) => void; + /** + * Exit a parse tree produced by the `nullPredicate` * labeled alternative in `TrinoSqlParser.predicate`. * @param ctx the parse tree */ @@ -2068,17 +2598,29 @@ export class TrinoSqlListener implements ParseTreeListener { */ exitTypeConstructor?: (ctx: TypeConstructorContext) => void; /** - * Enter a parse tree produced by the `specialDateTimeFunction` + * Enter a parse tree produced by the `jsonValue` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterJsonValue?: (ctx: JsonValueContext) => void; + /** + * Exit a parse tree produced by the `jsonValue` * labeled alternative in `TrinoSqlParser.primaryExpression`. * @param ctx the parse tree */ - enterSpecialDateTimeFunction?: (ctx: SpecialDateTimeFunctionContext) => void; + exitJsonValue?: (ctx: JsonValueContext) => void; /** - * Exit a parse tree produced by the `specialDateTimeFunction` + * Enter a parse tree produced by the `currentDate` * labeled alternative in `TrinoSqlParser.primaryExpression`. * @param ctx the parse tree */ - exitSpecialDateTimeFunction?: (ctx: SpecialDateTimeFunctionContext) => void; + enterCurrentDate?: (ctx: CurrentDateContext) => void; + /** + * Exit a parse tree produced by the `currentDate` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitCurrentDate?: (ctx: CurrentDateContext) => void; /** * Enter a parse tree produced by the `substring` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -2127,6 +2669,18 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => void; + /** + * Enter a parse tree produced by the `trim` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterTrim?: (ctx: TrimContext) => void; + /** + * Exit a parse tree produced by the `trim` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitTrim?: (ctx: TrimContext) => void; /** * Enter a parse tree produced by the `parameter` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -2151,6 +2705,30 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitNormalize?: (ctx: NormalizeContext) => void; + /** + * Enter a parse tree produced by the `localTimestamp` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterLocalTimestamp?: (ctx: LocalTimestampContext) => void; + /** + * Exit a parse tree produced by the `localTimestamp` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitLocalTimestamp?: (ctx: LocalTimestampContext) => void; + /** + * Enter a parse tree produced by the `jsonObject` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterJsonObject?: (ctx: JsonObjectContext) => void; + /** + * Exit a parse tree produced by the `jsonObject` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitJsonObject?: (ctx: JsonObjectContext) => void; /** * Enter a parse tree produced by the `intervalLiteral` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -2187,6 +2765,18 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitBooleanLiteral?: (ctx: BooleanLiteralContext) => void; + /** + * Enter a parse tree produced by the `jsonArray` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterJsonArray?: (ctx: JsonArrayContext) => void; + /** + * Exit a parse tree produced by the `jsonArray` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitJsonArray?: (ctx: JsonArrayContext) => void; /** * Enter a parse tree produced by the `simpleCase` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -2247,6 +2837,18 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitSubscript?: (ctx: SubscriptContext) => void; + /** + * Enter a parse tree produced by the `jsonExists` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterJsonExists?: (ctx: JsonExistsContext) => void; + /** + * Exit a parse tree produced by the `jsonExists` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitJsonExists?: (ctx: JsonExistsContext) => void; /** * Enter a parse tree produced by the `currentPath` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -2283,6 +2885,30 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitBinaryLiteral?: (ctx: BinaryLiteralContext) => void; + /** + * Enter a parse tree produced by the `currentTime` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterCurrentTime?: (ctx: CurrentTimeContext) => void; + /** + * Exit a parse tree produced by the `currentTime` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitCurrentTime?: (ctx: CurrentTimeContext) => void; + /** + * Enter a parse tree produced by the `localTime` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterLocalTime?: (ctx: LocalTimeContext) => void; + /** + * Exit a parse tree produced by the `localTime` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitLocalTime?: (ctx: LocalTimeContext) => void; /** * Enter a parse tree produced by the `currentUser` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -2295,6 +2921,18 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitCurrentUser?: (ctx: CurrentUserContext) => void; + /** + * Enter a parse tree produced by the `jsonQuery` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterJsonQuery?: (ctx: JsonQueryContext) => void; + /** + * Exit a parse tree produced by the `jsonQuery` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitJsonQuery?: (ctx: JsonQueryContext) => void; /** * Enter a parse tree produced by the `measure` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -2355,6 +2993,18 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitFunctionCall?: (ctx: FunctionCallContext) => void; + /** + * Enter a parse tree produced by the `currentTimestamp` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterCurrentTimestamp?: (ctx: CurrentTimestampContext) => void; + /** + * Exit a parse tree produced by the `currentTimestamp` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitCurrentTimestamp?: (ctx: CurrentTimestampContext) => void; /** * Enter a parse tree produced by the `currentSchema` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -2366,67 +3016,169 @@ export class TrinoSqlListener implements ParseTreeListener { * labeled alternative in `TrinoSqlParser.primaryExpression`. * @param ctx the parse tree */ - exitCurrentSchema?: (ctx: CurrentSchemaContext) => void; + exitCurrentSchema?: (ctx: CurrentSchemaContext) => void; + /** + * Enter a parse tree produced by the `exists` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterExists?: (ctx: ExistsContext) => void; + /** + * Exit a parse tree produced by the `exists` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitExists?: (ctx: ExistsContext) => void; + /** + * Enter a parse tree produced by the `position` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterPosition?: (ctx: PositionContext) => void; + /** + * Exit a parse tree produced by the `position` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitPosition?: (ctx: PositionContext) => void; + /** + * Enter a parse tree produced by the `listagg` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterListagg?: (ctx: ListaggContext) => void; + /** + * Exit a parse tree produced by the `listagg` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitListagg?: (ctx: ListaggContext) => void; + /** + * Enter a parse tree produced by the `searchedCase` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterSearchedCase?: (ctx: SearchedCaseContext) => void; + /** + * Exit a parse tree produced by the `searchedCase` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitSearchedCase?: (ctx: SearchedCaseContext) => void; + /** + * Enter a parse tree produced by the `currentCatalog` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterCurrentCatalog?: (ctx: CurrentCatalogContext) => void; + /** + * Exit a parse tree produced by the `currentCatalog` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitCurrentCatalog?: (ctx: CurrentCatalogContext) => void; + /** + * Enter a parse tree produced by the `groupingOperation` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + enterGroupingOperation?: (ctx: GroupingOperationContext) => void; + /** + * Exit a parse tree produced by the `groupingOperation` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + */ + exitGroupingOperation?: (ctx: GroupingOperationContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.jsonPathInvocation`. + * @param ctx the parse tree + */ + enterJsonPathInvocation?: (ctx: JsonPathInvocationContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.jsonPathInvocation`. + * @param ctx the parse tree + */ + exitJsonPathInvocation?: (ctx: JsonPathInvocationContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.jsonValueExpression`. + * @param ctx the parse tree + */ + enterJsonValueExpression?: (ctx: JsonValueExpressionContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.jsonValueExpression`. + * @param ctx the parse tree + */ + exitJsonValueExpression?: (ctx: JsonValueExpressionContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.jsonRepresentation`. + * @param ctx the parse tree + */ + enterJsonRepresentation?: (ctx: JsonRepresentationContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.jsonRepresentation`. + * @param ctx the parse tree + */ + exitJsonRepresentation?: (ctx: JsonRepresentationContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.jsonArgument`. + * @param ctx the parse tree + */ + enterJsonArgument?: (ctx: JsonArgumentContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.jsonArgument`. + * @param ctx the parse tree + */ + exitJsonArgument?: (ctx: JsonArgumentContext) => void; /** - * Enter a parse tree produced by the `exists` - * labeled alternative in `TrinoSqlParser.primaryExpression`. + * Enter a parse tree produced by `TrinoSqlParser.jsonExistsErrorBehavior`. * @param ctx the parse tree */ - enterExists?: (ctx: ExistsContext) => void; + enterJsonExistsErrorBehavior?: (ctx: JsonExistsErrorBehaviorContext) => void; /** - * Exit a parse tree produced by the `exists` - * labeled alternative in `TrinoSqlParser.primaryExpression`. + * Exit a parse tree produced by `TrinoSqlParser.jsonExistsErrorBehavior`. * @param ctx the parse tree */ - exitExists?: (ctx: ExistsContext) => void; + exitJsonExistsErrorBehavior?: (ctx: JsonExistsErrorBehaviorContext) => void; /** - * Enter a parse tree produced by the `position` - * labeled alternative in `TrinoSqlParser.primaryExpression`. + * Enter a parse tree produced by `TrinoSqlParser.jsonValueBehavior`. * @param ctx the parse tree */ - enterPosition?: (ctx: PositionContext) => void; + enterJsonValueBehavior?: (ctx: JsonValueBehaviorContext) => void; /** - * Exit a parse tree produced by the `position` - * labeled alternative in `TrinoSqlParser.primaryExpression`. + * Exit a parse tree produced by `TrinoSqlParser.jsonValueBehavior`. * @param ctx the parse tree */ - exitPosition?: (ctx: PositionContext) => void; + exitJsonValueBehavior?: (ctx: JsonValueBehaviorContext) => void; /** - * Enter a parse tree produced by the `searchedCase` - * labeled alternative in `TrinoSqlParser.primaryExpression`. + * Enter a parse tree produced by `TrinoSqlParser.jsonQueryWrapperBehavior`. * @param ctx the parse tree */ - enterSearchedCase?: (ctx: SearchedCaseContext) => void; + enterJsonQueryWrapperBehavior?: (ctx: JsonQueryWrapperBehaviorContext) => void; /** - * Exit a parse tree produced by the `searchedCase` - * labeled alternative in `TrinoSqlParser.primaryExpression`. + * Exit a parse tree produced by `TrinoSqlParser.jsonQueryWrapperBehavior`. * @param ctx the parse tree */ - exitSearchedCase?: (ctx: SearchedCaseContext) => void; + exitJsonQueryWrapperBehavior?: (ctx: JsonQueryWrapperBehaviorContext) => void; /** - * Enter a parse tree produced by the `currentCatalog` - * labeled alternative in `TrinoSqlParser.primaryExpression`. + * Enter a parse tree produced by `TrinoSqlParser.jsonQueryBehavior`. * @param ctx the parse tree */ - enterCurrentCatalog?: (ctx: CurrentCatalogContext) => void; + enterJsonQueryBehavior?: (ctx: JsonQueryBehaviorContext) => void; /** - * Exit a parse tree produced by the `currentCatalog` - * labeled alternative in `TrinoSqlParser.primaryExpression`. + * Exit a parse tree produced by `TrinoSqlParser.jsonQueryBehavior`. * @param ctx the parse tree */ - exitCurrentCatalog?: (ctx: CurrentCatalogContext) => void; + exitJsonQueryBehavior?: (ctx: JsonQueryBehaviorContext) => void; /** - * Enter a parse tree produced by the `groupingOperation` - * labeled alternative in `TrinoSqlParser.primaryExpression`. + * Enter a parse tree produced by `TrinoSqlParser.jsonObjectMember`. * @param ctx the parse tree */ - enterGroupingOperation?: (ctx: GroupingOperationContext) => void; + enterJsonObjectMember?: (ctx: JsonObjectMemberContext) => void; /** - * Exit a parse tree produced by the `groupingOperation` - * labeled alternative in `TrinoSqlParser.primaryExpression`. + * Exit a parse tree produced by `TrinoSqlParser.jsonObjectMember`. * @param ctx the parse tree */ - exitGroupingOperation?: (ctx: GroupingOperationContext) => void; + exitJsonObjectMember?: (ctx: JsonObjectMemberContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.processingMode`. * @param ctx the parse tree @@ -3125,6 +3877,300 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitPathSpecification?: (ctx: PathSpecificationContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.functionSpecification`. + * @param ctx the parse tree + */ + enterFunctionSpecification?: (ctx: FunctionSpecificationContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.functionSpecification`. + * @param ctx the parse tree + */ + exitFunctionSpecification?: (ctx: FunctionSpecificationContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.functionDeclaration`. + * @param ctx the parse tree + */ + enterFunctionDeclaration?: (ctx: FunctionDeclarationContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.functionDeclaration`. + * @param ctx the parse tree + */ + exitFunctionDeclaration?: (ctx: FunctionDeclarationContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.parameterDeclaration`. + * @param ctx the parse tree + */ + enterParameterDeclaration?: (ctx: ParameterDeclarationContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.parameterDeclaration`. + * @param ctx the parse tree + */ + exitParameterDeclaration?: (ctx: ParameterDeclarationContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.returnsClause`. + * @param ctx the parse tree + */ + enterReturnsClause?: (ctx: ReturnsClauseContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.returnsClause`. + * @param ctx the parse tree + */ + exitReturnsClause?: (ctx: ReturnsClauseContext) => void; + /** + * Enter a parse tree produced by the `languageCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + enterLanguageCharacteristic?: (ctx: LanguageCharacteristicContext) => void; + /** + * Exit a parse tree produced by the `languageCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + exitLanguageCharacteristic?: (ctx: LanguageCharacteristicContext) => void; + /** + * Enter a parse tree produced by the `deterministicCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + enterDeterministicCharacteristic?: (ctx: DeterministicCharacteristicContext) => void; + /** + * Exit a parse tree produced by the `deterministicCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + exitDeterministicCharacteristic?: (ctx: DeterministicCharacteristicContext) => void; + /** + * Enter a parse tree produced by the `returnsNullOnNullInputCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + enterReturnsNullOnNullInputCharacteristic?: (ctx: ReturnsNullOnNullInputCharacteristicContext) => void; + /** + * Exit a parse tree produced by the `returnsNullOnNullInputCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + exitReturnsNullOnNullInputCharacteristic?: (ctx: ReturnsNullOnNullInputCharacteristicContext) => void; + /** + * Enter a parse tree produced by the `calledOnNullInputCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + enterCalledOnNullInputCharacteristic?: (ctx: CalledOnNullInputCharacteristicContext) => void; + /** + * Exit a parse tree produced by the `calledOnNullInputCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + exitCalledOnNullInputCharacteristic?: (ctx: CalledOnNullInputCharacteristicContext) => void; + /** + * Enter a parse tree produced by the `securityCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + enterSecurityCharacteristic?: (ctx: SecurityCharacteristicContext) => void; + /** + * Exit a parse tree produced by the `securityCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + exitSecurityCharacteristic?: (ctx: SecurityCharacteristicContext) => void; + /** + * Enter a parse tree produced by the `commentCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + enterCommentCharacteristic?: (ctx: CommentCharacteristicContext) => void; + /** + * Exit a parse tree produced by the `commentCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. + * @param ctx the parse tree + */ + exitCommentCharacteristic?: (ctx: CommentCharacteristicContext) => void; + /** + * Enter a parse tree produced by the `returnStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterReturnStatement?: (ctx: ReturnStatementContext) => void; + /** + * Exit a parse tree produced by the `returnStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitReturnStatement?: (ctx: ReturnStatementContext) => void; + /** + * Enter a parse tree produced by the `assignmentStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterAssignmentStatement?: (ctx: AssignmentStatementContext) => void; + /** + * Exit a parse tree produced by the `assignmentStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitAssignmentStatement?: (ctx: AssignmentStatementContext) => void; + /** + * Enter a parse tree produced by the `simpleCaseStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterSimpleCaseStatement?: (ctx: SimpleCaseStatementContext) => void; + /** + * Exit a parse tree produced by the `simpleCaseStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitSimpleCaseStatement?: (ctx: SimpleCaseStatementContext) => void; + /** + * Enter a parse tree produced by the `searchedCaseStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterSearchedCaseStatement?: (ctx: SearchedCaseStatementContext) => void; + /** + * Exit a parse tree produced by the `searchedCaseStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitSearchedCaseStatement?: (ctx: SearchedCaseStatementContext) => void; + /** + * Enter a parse tree produced by the `ifStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterIfStatement?: (ctx: IfStatementContext) => void; + /** + * Exit a parse tree produced by the `ifStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitIfStatement?: (ctx: IfStatementContext) => void; + /** + * Enter a parse tree produced by the `iterateStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterIterateStatement?: (ctx: IterateStatementContext) => void; + /** + * Exit a parse tree produced by the `iterateStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitIterateStatement?: (ctx: IterateStatementContext) => void; + /** + * Enter a parse tree produced by the `leaveStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterLeaveStatement?: (ctx: LeaveStatementContext) => void; + /** + * Exit a parse tree produced by the `leaveStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitLeaveStatement?: (ctx: LeaveStatementContext) => void; + /** + * Enter a parse tree produced by the `compoundStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterCompoundStatement?: (ctx: CompoundStatementContext) => void; + /** + * Exit a parse tree produced by the `compoundStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitCompoundStatement?: (ctx: CompoundStatementContext) => void; + /** + * Enter a parse tree produced by the `loopStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterLoopStatement?: (ctx: LoopStatementContext) => void; + /** + * Exit a parse tree produced by the `loopStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitLoopStatement?: (ctx: LoopStatementContext) => void; + /** + * Enter a parse tree produced by the `whileStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterWhileStatement?: (ctx: WhileStatementContext) => void; + /** + * Exit a parse tree produced by the `whileStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitWhileStatement?: (ctx: WhileStatementContext) => void; + /** + * Enter a parse tree produced by the `repeatStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + enterRepeatStatement?: (ctx: RepeatStatementContext) => void; + /** + * Exit a parse tree produced by the `repeatStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + */ + exitRepeatStatement?: (ctx: RepeatStatementContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.caseStatementWhenClause`. + * @param ctx the parse tree + */ + enterCaseStatementWhenClause?: (ctx: CaseStatementWhenClauseContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.caseStatementWhenClause`. + * @param ctx the parse tree + */ + exitCaseStatementWhenClause?: (ctx: CaseStatementWhenClauseContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.elseIfClause`. + * @param ctx the parse tree + */ + enterElseIfClause?: (ctx: ElseIfClauseContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.elseIfClause`. + * @param ctx the parse tree + */ + exitElseIfClause?: (ctx: ElseIfClauseContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.elseClause`. + * @param ctx the parse tree + */ + enterElseClause?: (ctx: ElseClauseContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.elseClause`. + * @param ctx the parse tree + */ + exitElseClause?: (ctx: ElseClauseContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.variableDeclaration`. + * @param ctx the parse tree + */ + enterVariableDeclaration?: (ctx: VariableDeclarationContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.variableDeclaration`. + * @param ctx the parse tree + */ + exitVariableDeclaration?: (ctx: VariableDeclarationContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.sqlStatementList`. + * @param ctx the parse tree + */ + enterSqlStatementList?: (ctx: SqlStatementListContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.sqlStatementList`. + * @param ctx the parse tree + */ + exitSqlStatementList?: (ctx: SqlStatementListContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.privilege`. * @param ctx the parse tree @@ -3136,85 +4182,85 @@ export class TrinoSqlListener implements ParseTreeListener { */ exitPrivilege?: (ctx: PrivilegeContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.tableOrViewName`. + * Enter a parse tree produced by `TrinoSqlParser.entityKind`. * @param ctx the parse tree */ - enterTableOrViewName?: (ctx: TableOrViewNameContext) => void; + enterEntityKind?: (ctx: EntityKindContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.tableOrViewName`. + * Exit a parse tree produced by `TrinoSqlParser.entityKind`. * @param ctx the parse tree */ - exitTableOrViewName?: (ctx: TableOrViewNameContext) => void; + exitEntityKind?: (ctx: EntityKindContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.tableName`. + * Enter a parse tree produced by `TrinoSqlParser.grantObject`. * @param ctx the parse tree */ - enterTableName?: (ctx: TableNameContext) => void; + enterGrantObject?: (ctx: GrantObjectContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.tableName`. + * Exit a parse tree produced by `TrinoSqlParser.grantObject`. * @param ctx the parse tree */ - exitTableName?: (ctx: TableNameContext) => void; + exitGrantObject?: (ctx: GrantObjectContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.tableNameCreate`. + * Enter a parse tree produced by `TrinoSqlParser.tableOrViewName`. * @param ctx the parse tree */ - enterTableNameCreate?: (ctx: TableNameCreateContext) => void; + enterTableOrViewName?: (ctx: TableOrViewNameContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.tableNameCreate`. + * Exit a parse tree produced by `TrinoSqlParser.tableOrViewName`. * @param ctx the parse tree */ - exitTableNameCreate?: (ctx: TableNameCreateContext) => void; + exitTableOrViewName?: (ctx: TableOrViewNameContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.viewName`. + * Enter a parse tree produced by `TrinoSqlParser.tableRef`. * @param ctx the parse tree */ - enterViewName?: (ctx: ViewNameContext) => void; + enterTableRef?: (ctx: TableRefContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.viewName`. + * Exit a parse tree produced by `TrinoSqlParser.tableRef`. * @param ctx the parse tree */ - exitViewName?: (ctx: ViewNameContext) => void; + exitTableRef?: (ctx: TableRefContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.viewNameCreate`. + * Enter a parse tree produced by `TrinoSqlParser.tableNameCreate`. * @param ctx the parse tree */ - enterViewNameCreate?: (ctx: ViewNameCreateContext) => void; + enterTableNameCreate?: (ctx: TableNameCreateContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.viewNameCreate`. + * Exit a parse tree produced by `TrinoSqlParser.tableNameCreate`. * @param ctx the parse tree */ - exitViewNameCreate?: (ctx: ViewNameCreateContext) => void; + exitTableNameCreate?: (ctx: TableNameCreateContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.tablePath`. + * Enter a parse tree produced by `TrinoSqlParser.viewRef`. * @param ctx the parse tree */ - enterTablePath?: (ctx: TablePathContext) => void; + enterViewRef?: (ctx: ViewRefContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.tablePath`. + * Exit a parse tree produced by `TrinoSqlParser.viewRef`. * @param ctx the parse tree */ - exitTablePath?: (ctx: TablePathContext) => void; + exitViewRef?: (ctx: ViewRefContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.viewPath`. + * Enter a parse tree produced by `TrinoSqlParser.viewNameCreate`. * @param ctx the parse tree */ - enterViewPath?: (ctx: ViewPathContext) => void; + enterViewNameCreate?: (ctx: ViewNameCreateContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.viewPath`. + * Exit a parse tree produced by `TrinoSqlParser.viewNameCreate`. * @param ctx the parse tree */ - exitViewPath?: (ctx: ViewPathContext) => void; + exitViewNameCreate?: (ctx: ViewNameCreateContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.schemaName`. + * Enter a parse tree produced by `TrinoSqlParser.schemaRef`. * @param ctx the parse tree */ - enterSchemaName?: (ctx: SchemaNameContext) => void; + enterSchemaRef?: (ctx: SchemaRefContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.schemaName`. + * Exit a parse tree produced by `TrinoSqlParser.schemaRef`. * @param ctx the parse tree */ - exitSchemaName?: (ctx: SchemaNameContext) => void; + exitSchemaRef?: (ctx: SchemaRefContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.schemaNameCreate`. * @param ctx the parse tree @@ -3226,25 +4272,15 @@ export class TrinoSqlListener implements ParseTreeListener { */ exitSchemaNameCreate?: (ctx: SchemaNameCreateContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.schemaPath`. - * @param ctx the parse tree - */ - enterSchemaPath?: (ctx: SchemaPathContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.schemaPath`. - * @param ctx the parse tree - */ - exitSchemaPath?: (ctx: SchemaPathContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.catalogName`. + * Enter a parse tree produced by `TrinoSqlParser.catalogRef`. * @param ctx the parse tree */ - enterCatalogName?: (ctx: CatalogNameContext) => void; + enterCatalogRef?: (ctx: CatalogRefContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.catalogName`. + * Exit a parse tree produced by `TrinoSqlParser.catalogRef`. * @param ctx the parse tree */ - exitCatalogName?: (ctx: CatalogNameContext) => void; + exitCatalogRef?: (ctx: CatalogRefContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.catalogNameCreate`. * @param ctx the parse tree @@ -3266,15 +4302,25 @@ export class TrinoSqlListener implements ParseTreeListener { */ exitFunctionName?: (ctx: FunctionNameContext) => void; /** - * Enter a parse tree produced by `TrinoSqlParser.columnName`. + * Enter a parse tree produced by `TrinoSqlParser.functionNameCreate`. + * @param ctx the parse tree + */ + enterFunctionNameCreate?: (ctx: FunctionNameCreateContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.functionNameCreate`. + * @param ctx the parse tree + */ + exitFunctionNameCreate?: (ctx: FunctionNameCreateContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.columnRef`. * @param ctx the parse tree */ - enterColumnName?: (ctx: ColumnNameContext) => void; + enterColumnRef?: (ctx: ColumnRefContext) => void; /** - * Exit a parse tree produced by `TrinoSqlParser.columnName`. + * Exit a parse tree produced by `TrinoSqlParser.columnRef`. * @param ctx the parse tree */ - exitColumnName?: (ctx: ColumnNameContext) => void; + exitColumnRef?: (ctx: ColumnRefContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.columnNameCreate`. * @param ctx the parse tree @@ -3295,6 +4341,26 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitQualifiedName?: (ctx: QualifiedNameContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.queryPeriod`. + * @param ctx the parse tree + */ + enterQueryPeriod?: (ctx: QueryPeriodContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.queryPeriod`. + * @param ctx the parse tree + */ + exitQueryPeriod?: (ctx: QueryPeriodContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.rangeType`. + * @param ctx the parse tree + */ + enterRangeType?: (ctx: RangeTypeContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.rangeType`. + * @param ctx the parse tree + */ + exitRangeType?: (ctx: RangeTypeContext) => void; /** * Enter a parse tree produced by the `specifiedPrincipal` * labeled alternative in `TrinoSqlParser.grantor`. @@ -3377,6 +4443,16 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitRoles?: (ctx: RolesContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.privilegeOrRole`. + * @param ctx the parse tree + */ + enterPrivilegeOrRole?: (ctx: PrivilegeOrRoleContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.privilegeOrRole`. + * @param ctx the parse tree + */ + exitPrivilegeOrRole?: (ctx: PrivilegeOrRoleContext) => void; /** * Enter a parse tree produced by the `unquotedIdentifier` * labeled alternative in `TrinoSqlParser.identifier`. @@ -3461,6 +4537,30 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitIntegerLiteral?: (ctx: IntegerLiteralContext) => void; + /** + * Enter a parse tree produced by the `identifierUser` + * labeled alternative in `TrinoSqlParser.authorizationUser`. + * @param ctx the parse tree + */ + enterIdentifierUser?: (ctx: IdentifierUserContext) => void; + /** + * Exit a parse tree produced by the `identifierUser` + * labeled alternative in `TrinoSqlParser.authorizationUser`. + * @param ctx the parse tree + */ + exitIdentifierUser?: (ctx: IdentifierUserContext) => void; + /** + * Enter a parse tree produced by the `stringUser` + * labeled alternative in `TrinoSqlParser.authorizationUser`. + * @param ctx the parse tree + */ + enterStringUser?: (ctx: StringUserContext) => void; + /** + * Exit a parse tree produced by the `stringUser` + * labeled alternative in `TrinoSqlParser.authorizationUser`. + * @param ctx the parse tree + */ + exitStringUser?: (ctx: StringUserContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.nonReserved`. * @param ctx the parse tree diff --git a/src/lib/trino/TrinoSqlParser.ts b/src/lib/trino/TrinoSqlParser.ts index 5b3f40c1..326ead43 100644 --- a/src/lib/trino/TrinoSqlParser.ts +++ b/src/lib/trino/TrinoSqlParser.ts @@ -33,504 +33,642 @@ export class TrinoSqlParser extends SQLParserBase { public static readonly T__13 = 14; public static readonly T__14 = 15; public static readonly T__15 = 16; - public static readonly KW_ADD = 17; - public static readonly KW_ADMIN = 18; - public static readonly KW_AFTER = 19; - public static readonly KW_ALL = 20; - public static readonly KW_ALTER = 21; - public static readonly KW_ANALYZE = 22; - public static readonly KW_AND = 23; - public static readonly KW_ANY = 24; - public static readonly KW_ARRAY = 25; - public static readonly KW_AS = 26; - public static readonly KW_ASC = 27; - public static readonly KW_AT = 28; - public static readonly KW_AUTHORIZATION = 29; - public static readonly KW_BERNOULLI = 30; - public static readonly KW_BETWEEN = 31; - public static readonly KW_BY = 32; - public static readonly KW_CALL = 33; - public static readonly KW_CASCADE = 34; - public static readonly KW_CASE = 35; - public static readonly KW_CAST = 36; - public static readonly KW_CATALOGS = 37; - public static readonly KW_COLUMN = 38; - public static readonly KW_COLUMNS = 39; - public static readonly KW_COMMENT = 40; - public static readonly KW_COMMIT = 41; - public static readonly KW_COMMITTED = 42; - public static readonly KW_CONSTRAINT = 43; - public static readonly KW_CREATE = 44; - public static readonly KW_CROSS = 45; - public static readonly KW_CUBE = 46; - public static readonly KW_CURRENT = 47; - public static readonly KW_CURRENT_CATALOG = 48; - public static readonly KW_CURRENT_DATE = 49; - public static readonly KW_CURRENT_PATH = 50; - public static readonly KW_CURRENT_ROLE = 51; - public static readonly KW_CURRENT_SCHEMA = 52; - public static readonly KW_CURRENT_TIME = 53; - public static readonly KW_CURRENT_TIMESTAMP = 54; - public static readonly KW_CURRENT_USER = 55; - public static readonly KW_DATA = 56; - public static readonly KW_DATE = 57; - public static readonly KW_DAY = 58; - public static readonly KW_DEFAULT = 59; - public static readonly KW_DEALLOCATE = 60; - public static readonly KW_DEFINER = 61; - public static readonly KW_DELETE = 62; - public static readonly KW_DESC = 63; - public static readonly KW_DESCRIBE = 64; - public static readonly KW_DEFINE = 65; - public static readonly KW_DISTINCT = 66; - public static readonly KW_DISTRIBUTED = 67; - public static readonly KW_DOUBLE = 68; - public static readonly KW_DROP = 69; - public static readonly KW_ELSE = 70; - public static readonly KW_EMPTY = 71; - public static readonly KW_END = 72; - public static readonly KW_ESCAPE = 73; - public static readonly KW_EXCEPT = 74; - public static readonly KW_EXCLUDING = 75; - public static readonly KW_EXECUTE = 76; - public static readonly KW_EXISTS = 77; - public static readonly KW_EXPLAIN = 78; - public static readonly KW_EXTRACT = 79; - public static readonly KW_FALSE = 80; - public static readonly KW_FETCH = 81; - public static readonly KW_FILTER = 82; - public static readonly KW_FINAL = 83; - public static readonly KW_FIRST = 84; - public static readonly KW_FOLLOWING = 85; - public static readonly KW_FOR = 86; - public static readonly KW_FORMAT = 87; - public static readonly KW_FROM = 88; - public static readonly KW_FULL = 89; - public static readonly KW_FUNCTIONS = 90; - public static readonly KW_GRANT = 91; - public static readonly KW_GRANTED = 92; - public static readonly KW_GRANTS = 93; - public static readonly KW_DENY = 94; - public static readonly KW_GRAPHVIZ = 95; - public static readonly KW_GROUP = 96; - public static readonly KW_GROUPING = 97; - public static readonly KW_GROUPS = 98; - public static readonly KW_HAVING = 99; - public static readonly KW_HOUR = 100; - public static readonly KW_IF = 101; - public static readonly KW_IGNORE = 102; - public static readonly KW_IN = 103; - public static readonly KW_INCLUDING = 104; - public static readonly KW_INITIAL = 105; - public static readonly KW_INNER = 106; - public static readonly KW_INPUT = 107; - public static readonly KW_INSERT = 108; - public static readonly KW_INTERSECT = 109; - public static readonly KW_INTERVAL = 110; - public static readonly KW_INTO = 111; - public static readonly KW_INVOKER = 112; - public static readonly KW_IO = 113; - public static readonly KW_IS = 114; - public static readonly KW_ISOLATION = 115; - public static readonly KW_JOIN = 116; - public static readonly KW_JSON = 117; - public static readonly KW_LAST = 118; - public static readonly KW_LATERAL = 119; - public static readonly KW_LEFT = 120; - public static readonly KW_LEVEL = 121; - public static readonly KW_LIKE = 122; - public static readonly KW_LIMIT = 123; - public static readonly KW_LOCAL = 124; - public static readonly KW_LOCALTIME = 125; - public static readonly KW_LOCALTIMESTAMP = 126; - public static readonly KW_LOGICAL = 127; - public static readonly KW_MAP = 128; - public static readonly KW_MATCH = 129; - public static readonly KW_MATCHED = 130; - public static readonly KW_MATCHES = 131; - public static readonly KW_MATCH_RECOGNIZE = 132; - public static readonly KW_MATERIALIZED = 133; - public static readonly KW_MEASURES = 134; - public static readonly KW_MERGE = 135; - public static readonly KW_MINUTE = 136; - public static readonly KW_MONTH = 137; - public static readonly KW_NATURAL = 138; - public static readonly KW_NEXT = 139; - public static readonly KW_NFC = 140; - public static readonly KW_NFD = 141; - public static readonly KW_NFKC = 142; - public static readonly KW_NFKD = 143; - public static readonly KW_NO = 144; - public static readonly KW_NONE = 145; - public static readonly KW_NORMALIZE = 146; - public static readonly KW_NOT = 147; - public static readonly KW_NULL = 148; - public static readonly KW_NULLIF = 149; - public static readonly KW_NULLS = 150; - public static readonly KW_OFFSET = 151; - public static readonly KW_OMIT = 152; - public static readonly KW_ON = 153; - public static readonly KW_ONE = 154; - public static readonly KW_ONLY = 155; - public static readonly KW_OPTION = 156; - public static readonly KW_OR = 157; - public static readonly KW_ORDER = 158; - public static readonly KW_ORDINALITY = 159; - public static readonly KW_OUTER = 160; - public static readonly KW_OUTPUT = 161; - public static readonly KW_OVER = 162; - public static readonly KW_PARTITION = 163; - public static readonly KW_PARTITIONS = 164; - public static readonly KW_PAST = 165; - public static readonly KW_PATH = 166; - public static readonly KW_PATTERN = 167; - public static readonly KW_PER = 168; - public static readonly KW_PERMUTE = 169; - public static readonly KW_POSITION = 170; - public static readonly KW_PRECEDING = 171; - public static readonly KW_PRECISION = 172; - public static readonly KW_PREPARE = 173; - public static readonly KW_PRIVILEGES = 174; - public static readonly KW_PROPERTIES = 175; - public static readonly KW_RANGE = 176; - public static readonly KW_READ = 177; - public static readonly KW_RECURSIVE = 178; - public static readonly KW_REFRESH = 179; - public static readonly KW_RENAME = 180; - public static readonly KW_REPEATABLE = 181; - public static readonly KW_REPLACE = 182; - public static readonly KW_RESET = 183; - public static readonly KW_RESPECT = 184; - public static readonly KW_RESTRICT = 185; - public static readonly KW_REVOKE = 186; - public static readonly KW_RIGHT = 187; - public static readonly KW_ROLE = 188; - public static readonly KW_ROLES = 189; - public static readonly KW_ROLLBACK = 190; - public static readonly KW_ROLLUP = 191; - public static readonly KW_ROW = 192; - public static readonly KW_ROWS = 193; - public static readonly KW_RUNNING = 194; - public static readonly KW_SCHEMA = 195; - public static readonly KW_SCHEMAS = 196; - public static readonly KW_SECOND = 197; - public static readonly KW_SECURITY = 198; - public static readonly KW_SEEK = 199; - public static readonly KW_SELECT = 200; - public static readonly KW_SERIALIZABLE = 201; - public static readonly KW_SESSION = 202; - public static readonly KW_SET = 203; - public static readonly KW_SETS = 204; - public static readonly KW_SHOW = 205; - public static readonly KW_SOME = 206; - public static readonly KW_START = 207; - public static readonly KW_STATS = 208; - public static readonly KW_SUBSET = 209; - public static readonly KW_SUBSTRING = 210; - public static readonly KW_SYSTEM = 211; - public static readonly KW_TABLE = 212; - public static readonly KW_TABLES = 213; - public static readonly KW_TABLESAMPLE = 214; - public static readonly KW_TEXT = 215; - public static readonly KW_THEN = 216; - public static readonly KW_TIES = 217; - public static readonly KW_TIME = 218; - public static readonly KW_TIMESTAMP = 219; - public static readonly KW_TO = 220; - public static readonly KW_TRANSACTION = 221; - public static readonly KW_TRUNCATE = 222; - public static readonly KW_TRUE = 223; - public static readonly KW_TRY_CAST = 224; - public static readonly KW_TYPE = 225; - public static readonly KW_UESCAPE = 226; - public static readonly KW_UNBOUNDED = 227; - public static readonly KW_UNCOMMITTED = 228; - public static readonly KW_UNION = 229; - public static readonly KW_UNMATCHED = 230; - public static readonly KW_UNNEST = 231; - public static readonly KW_UPDATE = 232; - public static readonly KW_USE = 233; - public static readonly KW_USER = 234; - public static readonly KW_USING = 235; - public static readonly KW_VALIDATE = 236; - public static readonly KW_VALUES = 237; - public static readonly KW_VERBOSE = 238; - public static readonly KW_VIEW = 239; - public static readonly KW_WHEN = 240; - public static readonly KW_WHERE = 241; - public static readonly KW_WINDOW = 242; - public static readonly KW_WITH = 243; - public static readonly KW_WITHOUT = 244; - public static readonly KW_WORK = 245; - public static readonly KW_WRITE = 246; - public static readonly KW_YEAR = 247; - public static readonly KW_ZONE = 248; - public static readonly EQ = 249; - public static readonly NEQ = 250; - public static readonly LT = 251; - public static readonly LTE = 252; - public static readonly GT = 253; - public static readonly GTE = 254; - public static readonly PLUS = 255; - public static readonly MINUS = 256; - public static readonly ASTERISK = 257; - public static readonly SLASH = 258; - public static readonly PERCENT = 259; - public static readonly CONCAT = 260; - public static readonly QUESTION_MARK = 261; - public static readonly STRING = 262; - public static readonly UNICODE_STRING = 263; - public static readonly BINARY_LITERAL = 264; - public static readonly INTEGER_VALUE = 265; - public static readonly DECIMAL_VALUE = 266; - public static readonly DOUBLE_VALUE = 267; - public static readonly IDENTIFIER = 268; - public static readonly DIGIT_IDENTIFIER = 269; - public static readonly QUOTED_IDENTIFIER = 270; - public static readonly BACKQUOTED_IDENTIFIER = 271; - public static readonly SEMICOLON = 272; - public static readonly SIMPLE_COMMENT = 273; - public static readonly BRACKETED_COMMENT = 274; - public static readonly WS = 275; - public static readonly UNRECOGNIZED = 276; - public static readonly DELIMITER = 277; + public static readonly T__16 = 17; + public static readonly KW_ABSENT = 18; + public static readonly KW_ADD = 19; + public static readonly KW_ADMIN = 20; + public static readonly KW_AFTER = 21; + public static readonly KW_ALL = 22; + public static readonly KW_ALTER = 23; + public static readonly KW_ANALYZE = 24; + public static readonly KW_AND = 25; + public static readonly KW_ANY = 26; + public static readonly KW_ARRAY = 27; + public static readonly KW_AS = 28; + public static readonly KW_ASC = 29; + public static readonly KW_AT = 30; + public static readonly KW_AUTHORIZATION = 31; + public static readonly KW_BEGIN = 32; + public static readonly KW_BERNOULLI = 33; + public static readonly KW_BETWEEN = 34; + public static readonly KW_BOTH = 35; + public static readonly KW_BY = 36; + public static readonly KW_CALL = 37; + public static readonly KW_CALLED = 38; + public static readonly KW_CASCADE = 39; + public static readonly KW_CASE = 40; + public static readonly KW_CAST = 41; + public static readonly KW_CATALOG = 42; + public static readonly KW_CATALOGS = 43; + public static readonly KW_COLUMN = 44; + public static readonly KW_COLUMNS = 45; + public static readonly KW_COMMENT = 46; + public static readonly KW_COMMIT = 47; + public static readonly KW_COMMITTED = 48; + public static readonly KW_CONDITIONAL = 49; + public static readonly KW_CONSTRAINT = 50; + public static readonly KW_COUNT = 51; + public static readonly KW_COPARTITION = 52; + public static readonly KW_CREATE = 53; + public static readonly KW_CROSS = 54; + public static readonly KW_CUBE = 55; + public static readonly KW_CURRENT = 56; + public static readonly KW_CURRENT_CATALOG = 57; + public static readonly KW_CURRENT_DATE = 58; + public static readonly KW_CURRENT_PATH = 59; + public static readonly KW_CURRENT_ROLE = 60; + public static readonly KW_CURRENT_SCHEMA = 61; + public static readonly KW_CURRENT_TIME = 62; + public static readonly KW_CURRENT_TIMESTAMP = 63; + public static readonly KW_CURRENT_USER = 64; + public static readonly KW_DATA = 65; + public static readonly KW_DATE = 66; + public static readonly KW_DAY = 67; + public static readonly KW_DEALLOCATE = 68; + public static readonly KW_DECLARE = 69; + public static readonly KW_DEFAULT = 70; + public static readonly KW_DEFINE = 71; + public static readonly KW_DEFINER = 72; + public static readonly KW_DELETE = 73; + public static readonly KW_DENY = 74; + public static readonly KW_DESC = 75; + public static readonly KW_DESCRIBE = 76; + public static readonly KW_DESCRIPTOR = 77; + public static readonly KW_DETERMINISTIC = 78; + public static readonly KW_DISTINCT = 79; + public static readonly KW_DISTRIBUTED = 80; + public static readonly KW_DO = 81; + public static readonly KW_DOUBLE = 82; + public static readonly KW_DROP = 83; + public static readonly KW_ELSE = 84; + public static readonly KW_EMPTY = 85; + public static readonly KW_ELSEIF = 86; + public static readonly KW_ENCODING = 87; + public static readonly KW_END = 88; + public static readonly KW_ERROR = 89; + public static readonly KW_ESCAPE = 90; + public static readonly KW_EXCEPT = 91; + public static readonly KW_EXCLUDING = 92; + public static readonly KW_EXECUTE = 93; + public static readonly KW_EXISTS = 94; + public static readonly KW_EXPLAIN = 95; + public static readonly KW_EXTRACT = 96; + public static readonly KW_FALSE = 97; + public static readonly KW_FETCH = 98; + public static readonly KW_FILTER = 99; + public static readonly KW_FINAL = 100; + public static readonly KW_FIRST = 101; + public static readonly KW_FOLLOWING = 102; + public static readonly KW_FOR = 103; + public static readonly KW_FORMAT = 104; + public static readonly KW_FROM = 105; + public static readonly KW_FULL = 106; + public static readonly KW_FUNCTION = 107; + public static readonly KW_FUNCTIONS = 108; + public static readonly KW_GRACE = 109; + public static readonly KW_GRANT = 110; + public static readonly KW_GRANTED = 111; + public static readonly KW_GRANTS = 112; + public static readonly KW_GRAPHVIZ = 113; + public static readonly KW_GROUP = 114; + public static readonly KW_GROUPING = 115; + public static readonly KW_GROUPS = 116; + public static readonly KW_HAVING = 117; + public static readonly KW_HOUR = 118; + public static readonly KW_IF = 119; + public static readonly KW_IGNORE = 120; + public static readonly KW_IMMEDIATE = 121; + public static readonly KW_IN = 122; + public static readonly KW_INCLUDING = 123; + public static readonly KW_INITIAL = 124; + public static readonly KW_INNER = 125; + public static readonly KW_INPUT = 126; + public static readonly KW_INSERT = 127; + public static readonly KW_INTERSECT = 128; + public static readonly KW_INTERVAL = 129; + public static readonly KW_INTO = 130; + public static readonly KW_INVOKER = 131; + public static readonly KW_IO = 132; + public static readonly KW_IS = 133; + public static readonly KW_ISOLATION = 134; + public static readonly KW_ITERATE = 135; + public static readonly KW_JOIN = 136; + public static readonly KW_JSON = 137; + public static readonly KW_JSON_ARRAY = 138; + public static readonly KW_JSON_EXISTS = 139; + public static readonly KW_JSON_OBJECT = 140; + public static readonly KW_JSON_QUERY = 141; + public static readonly KW_JSON_TABLE = 142; + public static readonly KW_JSON_VALUE = 143; + public static readonly KW_KEEP = 144; + public static readonly KW_KEY = 145; + public static readonly KW_KEYS = 146; + public static readonly KW_LANGUAGE = 147; + public static readonly KW_LAST = 148; + public static readonly KW_LATERAL = 149; + public static readonly KW_LEADING = 150; + public static readonly KW_LEAVE = 151; + public static readonly KW_LEFT = 152; + public static readonly KW_LEVEL = 153; + public static readonly KW_LIKE = 154; + public static readonly KW_LIMIT = 155; + public static readonly KW_LISTAGG = 156; + public static readonly KW_LOCAL = 157; + public static readonly KW_LOCALTIME = 158; + public static readonly KW_LOCALTIMESTAMP = 159; + public static readonly KW_LOGICAL = 160; + public static readonly KW_LOOP = 161; + public static readonly KW_MAP = 162; + public static readonly KW_MATCH = 163; + public static readonly KW_MATCHED = 164; + public static readonly KW_MATCHES = 165; + public static readonly KW_MATCH_RECOGNIZE = 166; + public static readonly KW_MATERIALIZED = 167; + public static readonly KW_MEASURES = 168; + public static readonly KW_MERGE = 169; + public static readonly KW_MINUTE = 170; + public static readonly KW_MONTH = 171; + public static readonly KW_NATURAL = 172; + public static readonly KW_NESTED = 173; + public static readonly KW_NEXT = 174; + public static readonly KW_NFC = 175; + public static readonly KW_NFD = 176; + public static readonly KW_NFKC = 177; + public static readonly KW_NFKD = 178; + public static readonly KW_NO = 179; + public static readonly KW_NONE = 180; + public static readonly KW_NORMALIZE = 181; + public static readonly KW_NOT = 182; + public static readonly KW_NULL = 183; + public static readonly KW_NULLIF = 184; + public static readonly KW_NULLS = 185; + public static readonly KW_OBJECT = 186; + public static readonly KW_OF = 187; + public static readonly KW_OFFSET = 188; + public static readonly KW_OMIT = 189; + public static readonly KW_ON = 190; + public static readonly KW_ONE = 191; + public static readonly KW_ONLY = 192; + public static readonly KW_OPTION = 193; + public static readonly KW_OR = 194; + public static readonly KW_ORDER = 195; + public static readonly KW_ORDINALITY = 196; + public static readonly KW_OUTER = 197; + public static readonly KW_OUTPUT = 198; + public static readonly KW_OVER = 199; + public static readonly KW_OVERFLOW = 200; + public static readonly KW_PARTITION = 201; + public static readonly KW_PARTITIONS = 202; + public static readonly KW_PASSING = 203; + public static readonly KW_PAST = 204; + public static readonly KW_PATH = 205; + public static readonly KW_PATTERN = 206; + public static readonly KW_PER = 207; + public static readonly KW_PERIOD = 208; + public static readonly KW_PERMUTE = 209; + public static readonly KW_PLAN = 210; + public static readonly KW_POSITION = 211; + public static readonly KW_PRECEDING = 212; + public static readonly KW_PRECISION = 213; + public static readonly KW_PREPARE = 214; + public static readonly KW_PRIVILEGES = 215; + public static readonly KW_PROPERTIES = 216; + public static readonly KW_PRUNE = 217; + public static readonly KW_QUOTES = 218; + public static readonly KW_RANGE = 219; + public static readonly KW_READ = 220; + public static readonly KW_RECURSIVE = 221; + public static readonly KW_REFRESH = 222; + public static readonly KW_RENAME = 223; + public static readonly KW_REPEAT = 224; + public static readonly KW_REPEATABLE = 225; + public static readonly KW_REPLACE = 226; + public static readonly KW_RESET = 227; + public static readonly KW_RESPECT = 228; + public static readonly KW_RESTRICT = 229; + public static readonly KW_RETURN = 230; + public static readonly KW_RETURNING = 231; + public static readonly KW_RETURNS = 232; + public static readonly KW_REVOKE = 233; + public static readonly KW_RIGHT = 234; + public static readonly KW_ROLE = 235; + public static readonly KW_ROLES = 236; + public static readonly KW_ROLLBACK = 237; + public static readonly KW_ROLLUP = 238; + public static readonly KW_ROW = 239; + public static readonly KW_ROWS = 240; + public static readonly KW_RUNNING = 241; + public static readonly KW_SCALAR = 242; + public static readonly KW_SCHEMA = 243; + public static readonly KW_SCHEMAS = 244; + public static readonly KW_SECOND = 245; + public static readonly KW_SECURITY = 246; + public static readonly KW_SEEK = 247; + public static readonly KW_SELECT = 248; + public static readonly KW_SERIALIZABLE = 249; + public static readonly KW_SESSION = 250; + public static readonly KW_SET = 251; + public static readonly KW_SETS = 252; + public static readonly KW_SHOW = 253; + public static readonly KW_SOME = 254; + public static readonly KW_START = 255; + public static readonly KW_STATS = 256; + public static readonly KW_SUBSET = 257; + public static readonly KW_SUBSTRING = 258; + public static readonly KW_SYSTEM = 259; + public static readonly KW_TABLE = 260; + public static readonly KW_TABLES = 261; + public static readonly KW_TABLESAMPLE = 262; + public static readonly KW_TEXT = 263; + public static readonly KW_TEXT_STRING = 264; + public static readonly KW_THEN = 265; + public static readonly KW_TIES = 266; + public static readonly KW_TIME = 267; + public static readonly KW_TIMESTAMP = 268; + public static readonly KW_TO = 269; + public static readonly KW_TRAILING = 270; + public static readonly KW_TRANSACTION = 271; + public static readonly KW_TRIM = 272; + public static readonly KW_TRUE = 273; + public static readonly KW_TRUNCATE = 274; + public static readonly KW_TRY_CAST = 275; + public static readonly KW_TYPE = 276; + public static readonly KW_UESCAPE = 277; + public static readonly KW_UNBOUNDED = 278; + public static readonly KW_UNCOMMITTED = 279; + public static readonly KW_UNCONDITIONAL = 280; + public static readonly KW_UNION = 281; + public static readonly KW_UNIQUE = 282; + public static readonly KW_UNKNOWN = 283; + public static readonly KW_UNMATCHED = 284; + public static readonly KW_UNNEST = 285; + public static readonly KW_UNTIL = 286; + public static readonly KW_UPDATE = 287; + public static readonly KW_USE = 288; + public static readonly KW_USER = 289; + public static readonly KW_USING = 290; + public static readonly KW_UTF16 = 291; + public static readonly KW_UTF32 = 292; + public static readonly KW_UTF8 = 293; + public static readonly KW_VALIDATE = 294; + public static readonly KW_VALUE = 295; + public static readonly KW_VALUES = 296; + public static readonly KW_VERBOSE = 297; + public static readonly KW_VERSION = 298; + public static readonly KW_VIEW = 299; + public static readonly KW_WHEN = 300; + public static readonly KW_WHERE = 301; + public static readonly KW_WHILE = 302; + public static readonly KW_WINDOW = 303; + public static readonly KW_WITH = 304; + public static readonly KW_WITHIN = 305; + public static readonly KW_WITHOUT = 306; + public static readonly KW_WORK = 307; + public static readonly KW_WRAPPER = 308; + public static readonly KW_WRITE = 309; + public static readonly KW_YEAR = 310; + public static readonly KW_ZONE = 311; + public static readonly EQ = 312; + public static readonly NEQ = 313; + public static readonly LT = 314; + public static readonly LTE = 315; + public static readonly GT = 316; + public static readonly GTE = 317; + public static readonly PLUS = 318; + public static readonly MINUS = 319; + public static readonly ASTERISK = 320; + public static readonly SLASH = 321; + public static readonly PERCENT = 322; + public static readonly CONCAT = 323; + public static readonly QUESTION_MARK = 324; + public static readonly SEMICOLON = 325; + public static readonly STRING = 326; + public static readonly UNICODE_STRING = 327; + public static readonly BINARY_LITERAL = 328; + public static readonly INTEGER_VALUE = 329; + public static readonly DECIMAL_VALUE = 330; + public static readonly DOUBLE_VALUE = 331; + public static readonly IDENTIFIER = 332; + public static readonly DIGIT_IDENTIFIER = 333; + public static readonly QUOTED_IDENTIFIER = 334; + public static readonly BACKQUOTED_IDENTIFIER = 335; + public static readonly SIMPLE_COMMENT = 336; + public static readonly BRACKETED_COMMENT = 337; + public static readonly WS = 338; + public static readonly UNRECOGNIZED = 339; + public static readonly DELIMITER = 340; public static readonly RULE_program = 0; public static readonly RULE_statements = 1; - public static readonly RULE_standaloneClause = 2; - public static readonly RULE_singleStatement = 3; - public static readonly RULE_standaloneExpression = 4; - public static readonly RULE_standalonePathSpecification = 5; - public static readonly RULE_standaloneType = 6; - public static readonly RULE_standaloneRowPattern = 7; + public static readonly RULE_singleStatement = 2; + public static readonly RULE_standaloneExpression = 3; + public static readonly RULE_standalonePathSpecification = 4; + public static readonly RULE_standaloneType = 5; + public static readonly RULE_standaloneRowPattern = 6; + public static readonly RULE_standaloneFunctionSpecification = 7; public static readonly RULE_statement = 8; - public static readonly RULE_query = 9; - public static readonly RULE_with = 10; - public static readonly RULE_tableElement = 11; - public static readonly RULE_columnDefinition = 12; - public static readonly RULE_likeClause = 13; - public static readonly RULE_properties = 14; - public static readonly RULE_propertyAssignments = 15; - public static readonly RULE_property = 16; - public static readonly RULE_propertyValue = 17; - public static readonly RULE_queryNoWith = 18; - public static readonly RULE_limitRowCount = 19; - public static readonly RULE_rowCount = 20; - public static readonly RULE_queryTerm = 21; - public static readonly RULE_queryPrimary = 22; - public static readonly RULE_sortItem = 23; - public static readonly RULE_querySpecification = 24; - public static readonly RULE_groupBy = 25; - public static readonly RULE_groupingElement = 26; - public static readonly RULE_groupingSet = 27; - public static readonly RULE_groupingTerm = 28; - public static readonly RULE_windowDefinition = 29; - public static readonly RULE_windowSpecification = 30; - public static readonly RULE_namedQuery = 31; - public static readonly RULE_setQuantifier = 32; - public static readonly RULE_selectItem = 33; - public static readonly RULE_relation = 34; - public static readonly RULE_joinType = 35; - public static readonly RULE_joinCriteria = 36; - public static readonly RULE_sampledRelation = 37; - public static readonly RULE_sampleType = 38; - public static readonly RULE_patternRecognition = 39; - public static readonly RULE_measureDefinition = 40; - public static readonly RULE_rowsPerMatch = 41; - public static readonly RULE_emptyMatchHandling = 42; - public static readonly RULE_skipTo = 43; - public static readonly RULE_subsetDefinition = 44; - public static readonly RULE_variableDefinition = 45; - public static readonly RULE_aliasedRelation = 46; - public static readonly RULE_columnListCreate = 47; - public static readonly RULE_columnList = 48; - public static readonly RULE_columnAliases = 49; - public static readonly RULE_relationPrimary = 50; - public static readonly RULE_expression = 51; - public static readonly RULE_booleanExpression = 52; - public static readonly RULE_predicate = 53; - public static readonly RULE_valueExpression = 54; - public static readonly RULE_primaryExpression = 55; - public static readonly RULE_processingMode = 56; - public static readonly RULE_nullTreatment = 57; - public static readonly RULE_string = 58; - public static readonly RULE_timeZoneSpecifier = 59; - public static readonly RULE_comparisonOperator = 60; - public static readonly RULE_comparisonQuantifier = 61; - public static readonly RULE_booleanValue = 62; - public static readonly RULE_interval = 63; - public static readonly RULE_intervalField = 64; - public static readonly RULE_normalForm = 65; - public static readonly RULE_type = 66; - public static readonly RULE_rowField = 67; - public static readonly RULE_typeParameter = 68; - public static readonly RULE_whenClause = 69; - public static readonly RULE_filter = 70; - public static readonly RULE_mergeCase = 71; - public static readonly RULE_over = 72; - public static readonly RULE_windowFrame = 73; - public static readonly RULE_frameExtent = 74; - public static readonly RULE_frameBound = 75; - public static readonly RULE_rowPattern = 76; - public static readonly RULE_patternPrimary = 77; - public static readonly RULE_patternQuantifier = 78; - public static readonly RULE_updateAssignment = 79; - public static readonly RULE_explainOption = 80; - public static readonly RULE_transactionMode = 81; - public static readonly RULE_levelOfIsolation = 82; - public static readonly RULE_callArgument = 83; - public static readonly RULE_pathElement = 84; - public static readonly RULE_pathSpecification = 85; - public static readonly RULE_privilege = 86; - public static readonly RULE_tableOrViewName = 87; - public static readonly RULE_tableName = 88; - public static readonly RULE_tableNameCreate = 89; - public static readonly RULE_viewName = 90; - public static readonly RULE_viewNameCreate = 91; - public static readonly RULE_tablePath = 92; - public static readonly RULE_viewPath = 93; - public static readonly RULE_schemaName = 94; - public static readonly RULE_schemaNameCreate = 95; - public static readonly RULE_schemaPath = 96; - public static readonly RULE_catalogName = 97; - public static readonly RULE_catalogNameCreate = 98; - public static readonly RULE_functionName = 99; - public static readonly RULE_columnName = 100; - public static readonly RULE_columnNameCreate = 101; - public static readonly RULE_qualifiedName = 102; - public static readonly RULE_grantor = 103; - public static readonly RULE_principal = 104; - public static readonly RULE_roles = 105; - public static readonly RULE_identifier = 106; - public static readonly RULE_number = 107; - public static readonly RULE_nonReserved = 108; + public static readonly RULE_rootQuery = 9; + public static readonly RULE_withFunction = 10; + public static readonly RULE_query = 11; + public static readonly RULE_with = 12; + public static readonly RULE_tableElement = 13; + public static readonly RULE_columnDefinition = 14; + public static readonly RULE_likeClause = 15; + public static readonly RULE_properties = 16; + public static readonly RULE_propertyAssignments = 17; + public static readonly RULE_property = 18; + public static readonly RULE_propertyValue = 19; + public static readonly RULE_queryNoWith = 20; + public static readonly RULE_limitRowCount = 21; + public static readonly RULE_rowCount = 22; + public static readonly RULE_queryTerm = 23; + public static readonly RULE_queryPrimary = 24; + public static readonly RULE_sortItem = 25; + public static readonly RULE_querySpecification = 26; + public static readonly RULE_groupBy = 27; + public static readonly RULE_groupingElement = 28; + public static readonly RULE_groupingSet = 29; + public static readonly RULE_groupingTerm = 30; + public static readonly RULE_windowDefinition = 31; + public static readonly RULE_windowSpecification = 32; + public static readonly RULE_namedQuery = 33; + public static readonly RULE_setQuantifier = 34; + public static readonly RULE_selectItem = 35; + public static readonly RULE_relation = 36; + public static readonly RULE_joinType = 37; + public static readonly RULE_joinCriteria = 38; + public static readonly RULE_sampledRelation = 39; + public static readonly RULE_sampleType = 40; + public static readonly RULE_trimsSpecification = 41; + public static readonly RULE_listAggOverflowBehavior = 42; + public static readonly RULE_listaggCountIndication = 43; + public static readonly RULE_patternRecognition = 44; + public static readonly RULE_measureDefinition = 45; + public static readonly RULE_rowsPerMatch = 46; + public static readonly RULE_emptyMatchHandling = 47; + public static readonly RULE_skipTo = 48; + public static readonly RULE_subsetDefinition = 49; + public static readonly RULE_variableDefinition = 50; + public static readonly RULE_aliasedRelation = 51; + public static readonly RULE_columnListCreate = 52; + public static readonly RULE_columnList = 53; + public static readonly RULE_columnAliases = 54; + public static readonly RULE_relationPrimary = 55; + public static readonly RULE_jsonTableColumn = 56; + public static readonly RULE_jsonTableSpecificPlan = 57; + public static readonly RULE_jsonTablePathName = 58; + public static readonly RULE_planPrimary = 59; + public static readonly RULE_jsonTableDefaultPlan = 60; + public static readonly RULE_tableFunctionCall = 61; + public static readonly RULE_tableFunctionArgument = 62; + public static readonly RULE_tableArgument = 63; + public static readonly RULE_tableArgumentRelation = 64; + public static readonly RULE_descriptorArgument = 65; + public static readonly RULE_descriptorField = 66; + public static readonly RULE_copartitionTables = 67; + public static readonly RULE_expression = 68; + public static readonly RULE_booleanExpression = 69; + public static readonly RULE_predicate = 70; + public static readonly RULE_valueExpression = 71; + public static readonly RULE_primaryExpression = 72; + public static readonly RULE_jsonPathInvocation = 73; + public static readonly RULE_jsonValueExpression = 74; + public static readonly RULE_jsonRepresentation = 75; + public static readonly RULE_jsonArgument = 76; + public static readonly RULE_jsonExistsErrorBehavior = 77; + public static readonly RULE_jsonValueBehavior = 78; + public static readonly RULE_jsonQueryWrapperBehavior = 79; + public static readonly RULE_jsonQueryBehavior = 80; + public static readonly RULE_jsonObjectMember = 81; + public static readonly RULE_processingMode = 82; + public static readonly RULE_nullTreatment = 83; + public static readonly RULE_string = 84; + public static readonly RULE_timeZoneSpecifier = 85; + public static readonly RULE_comparisonOperator = 86; + public static readonly RULE_comparisonQuantifier = 87; + public static readonly RULE_booleanValue = 88; + public static readonly RULE_interval = 89; + public static readonly RULE_intervalField = 90; + public static readonly RULE_normalForm = 91; + public static readonly RULE_type = 92; + public static readonly RULE_rowField = 93; + public static readonly RULE_typeParameter = 94; + public static readonly RULE_whenClause = 95; + public static readonly RULE_filter = 96; + public static readonly RULE_mergeCase = 97; + public static readonly RULE_over = 98; + public static readonly RULE_windowFrame = 99; + public static readonly RULE_frameExtent = 100; + public static readonly RULE_frameBound = 101; + public static readonly RULE_rowPattern = 102; + public static readonly RULE_patternPrimary = 103; + public static readonly RULE_patternQuantifier = 104; + public static readonly RULE_updateAssignment = 105; + public static readonly RULE_explainOption = 106; + public static readonly RULE_transactionMode = 107; + public static readonly RULE_levelOfIsolation = 108; + public static readonly RULE_callArgument = 109; + public static readonly RULE_pathElement = 110; + public static readonly RULE_pathSpecification = 111; + public static readonly RULE_functionSpecification = 112; + public static readonly RULE_functionDeclaration = 113; + public static readonly RULE_parameterDeclaration = 114; + public static readonly RULE_returnsClause = 115; + public static readonly RULE_routineCharacteristic = 116; + public static readonly RULE_controlStatement = 117; + public static readonly RULE_caseStatementWhenClause = 118; + public static readonly RULE_elseIfClause = 119; + public static readonly RULE_elseClause = 120; + public static readonly RULE_variableDeclaration = 121; + public static readonly RULE_sqlStatementList = 122; + public static readonly RULE_privilege = 123; + public static readonly RULE_entityKind = 124; + public static readonly RULE_grantObject = 125; + public static readonly RULE_tableOrViewName = 126; + public static readonly RULE_tableRef = 127; + public static readonly RULE_tableNameCreate = 128; + public static readonly RULE_viewRef = 129; + public static readonly RULE_viewNameCreate = 130; + public static readonly RULE_schemaRef = 131; + public static readonly RULE_schemaNameCreate = 132; + public static readonly RULE_catalogRef = 133; + public static readonly RULE_catalogNameCreate = 134; + public static readonly RULE_functionName = 135; + public static readonly RULE_functionNameCreate = 136; + public static readonly RULE_columnRef = 137; + public static readonly RULE_columnNameCreate = 138; + public static readonly RULE_qualifiedName = 139; + public static readonly RULE_queryPeriod = 140; + public static readonly RULE_rangeType = 141; + public static readonly RULE_grantor = 142; + public static readonly RULE_principal = 143; + public static readonly RULE_roles = 144; + public static readonly RULE_privilegeOrRole = 145; + public static readonly RULE_identifier = 146; + public static readonly RULE_number = 147; + public static readonly RULE_authorizationUser = 148; + public static readonly RULE_nonReserved = 149; public static readonly literalNames = [ - null, "'('", "')'", "','", "'.'", "'SKIP'", "'->'", "'['", "']'", - "'|'", "'^'", "'$'", "'{-'", "'-}'", "'{'", "'}'", "'=>'", "'ADD'", - "'ADMIN'", "'AFTER'", "'ALL'", "'ALTER'", "'ANALYZE'", "'AND'", - "'ANY'", "'ARRAY'", "'AS'", "'ASC'", "'AT'", "'AUTHORIZATION'", - "'BERNOULLI'", "'BETWEEN'", "'BY'", "'CALL'", "'CASCADE'", "'CASE'", - "'CAST'", "'CATALOGS'", "'COLUMN'", "'COLUMNS'", "'COMMENT'", "'COMMIT'", - "'COMMITTED'", "'CONSTRAINT'", "'CREATE'", "'CROSS'", "'CUBE'", - "'CURRENT'", "'CURRENT_CATALOG'", "'CURRENT_DATE'", "'CURRENT_PATH'", - "'CURRENT_ROLE'", "'CURRENT_SCHEMA'", "'CURRENT_TIME'", "'CURRENT_TIMESTAMP'", - "'CURRENT_USER'", "'DATA'", "'DATE'", "'DAY'", "'DEFAULT'", "'DEALLOCATE'", - "'DEFINER'", "'DELETE'", "'DESC'", "'DESCRIBE'", "'DEFINE'", "'DISTINCT'", - "'DISTRIBUTED'", "'DOUBLE'", "'DROP'", "'ELSE'", "'EMPTY'", "'END'", - "'ESCAPE'", "'EXCEPT'", "'EXCLUDING'", "'EXECUTE'", "'EXISTS'", - "'EXPLAIN'", "'EXTRACT'", "'FALSE'", "'FETCH'", "'FILTER'", "'FINAL'", - "'FIRST'", "'FOLLOWING'", "'FOR'", "'FORMAT'", "'FROM'", "'FULL'", - "'FUNCTIONS'", "'GRANT'", "'GRANTED'", "'GRANTS'", "'DENY'", "'GRAPHVIZ'", + null, "'('", "')'", "','", "'.'", "'SKIP'", "'=>'", "'->'", "'['", + "']'", "':'", "'|'", "'^'", "'$'", "'{-'", "'-}'", "'{'", "'}'", + "'ABSENT'", "'ADD'", "'ADMIN'", "'AFTER'", "'ALL'", "'ALTER'", "'ANALYZE'", + "'AND'", "'ANY'", "'ARRAY'", "'AS'", "'ASC'", "'AT'", "'AUTHORIZATION'", + "'BEGIN'", "'BERNOULLI'", "'BETWEEN'", "'BOTH'", "'BY'", "'CALL'", + "'CALLED'", "'CASCADE'", "'CASE'", "'CAST'", "'CATALOG'", "'CATALOGS'", + "'COLUMN'", "'COLUMNS'", "'COMMENT'", "'COMMIT'", "'COMMITTED'", + "'CONDITIONAL'", "'CONSTRAINT'", "'COUNT'", "'COPARTITION'", "'CREATE'", + "'CROSS'", "'CUBE'", "'CURRENT'", "'CURRENT_CATALOG'", "'CURRENT_DATE'", + "'CURRENT_PATH'", "'CURRENT_ROLE'", "'CURRENT_SCHEMA'", "'CURRENT_TIME'", + "'CURRENT_TIMESTAMP'", "'CURRENT_USER'", "'DATA'", "'DATE'", "'DAY'", + "'DEALLOCATE'", "'DECLARE'", "'DEFAULT'", "'DEFINE'", "'DEFINER'", + "'DELETE'", "'DENY'", "'DESC'", "'DESCRIBE'", "'DESCRIPTOR'", "'DETERMINISTIC'", + "'DISTINCT'", "'DISTRIBUTED'", "'DO'", "'DOUBLE'", "'DROP'", "'ELSE'", + "'EMPTY'", "'ELSEIF'", "'ENCODING'", "'END'", "'ERROR'", "'ESCAPE'", + "'EXCEPT'", "'EXCLUDING'", "'EXECUTE'", "'EXISTS'", "'EXPLAIN'", + "'EXTRACT'", "'FALSE'", "'FETCH'", "'FILTER'", "'FINAL'", "'FIRST'", + "'FOLLOWING'", "'FOR'", "'FORMAT'", "'FROM'", "'FULL'", "'FUNCTION'", + "'FUNCTIONS'", "'GRACE'", "'GRANT'", "'GRANTED'", "'GRANTS'", "'GRAPHVIZ'", "'GROUP'", "'GROUPING'", "'GROUPS'", "'HAVING'", "'HOUR'", "'IF'", - "'IGNORE'", "'IN'", "'INCLUDING'", "'INITIAL'", "'INNER'", "'INPUT'", - "'INSERT'", "'INTERSECT'", "'INTERVAL'", "'INTO'", "'INVOKER'", - "'IO'", "'IS'", "'ISOLATION'", "'JOIN'", "'JSON'", "'LAST'", "'LATERAL'", - "'LEFT'", "'LEVEL'", "'LIKE'", "'LIMIT'", "'LOCAL'", "'LOCALTIME'", - "'LOCALTIMESTAMP'", "'LOGICAL'", "'MAP'", "'MATCH'", "'MATCHED'", - "'MATCHES'", "'MATCH_RECOGNIZE'", "'MATERIALIZED'", "'MEASURES'", - "'MERGE'", "'MINUTE'", "'MONTH'", "'NATURAL'", "'NEXT'", "'NFC'", + "'IGNORE'", "'IMMEDIATE'", "'IN'", "'INCLUDING'", "'INITIAL'", "'INNER'", + "'INPUT'", "'INSERT'", "'INTERSECT'", "'INTERVAL'", "'INTO'", "'INVOKER'", + "'IO'", "'IS'", "'ISOLATION'", "'ITERATE'", "'JOIN'", "'JSON'", + "'JSON_ARRAY'", "'JSON_EXISTS'", "'JSON_OBJECT'", "'JSON_QUERY'", + "'JSON_TABLE'", "'JSON_VALUE'", "'KEEP'", "'KEY'", "'KEYS'", "'LANGUAGE'", + "'LAST'", "'LATERAL'", "'LEADING'", "'LEAVE'", "'LEFT'", "'LEVEL'", + "'LIKE'", "'LIMIT'", "'LISTAGG'", "'LOCAL'", "'LOCALTIME'", "'LOCALTIMESTAMP'", + "'LOGICAL'", "'LOOP'", "'MAP'", "'MATCH'", "'MATCHED'", "'MATCHES'", + "'MATCH_RECOGNIZE'", "'MATERIALIZED'", "'MEASURES'", "'MERGE'", + "'MINUTE'", "'MONTH'", "'NATURAL'", "'NESTED'", "'NEXT'", "'NFC'", "'NFD'", "'NFKC'", "'NFKD'", "'NO'", "'NONE'", "'NORMALIZE'", "'NOT'", - "'NULL'", "'NULLIF'", "'NULLS'", "'OFFSET'", "'OMIT'", "'ON'", "'ONE'", - "'ONLY'", "'OPTION'", "'OR'", "'ORDER'", "'ORDINALITY'", "'OUTER'", - "'OUTPUT'", "'OVER'", "'PARTITION'", "'PARTITIONS'", "'PAST'", "'PATH'", - "'PATTERN'", "'PER'", "'PERMUTE'", "'POSITION'", "'PRECEDING'", - "'PRECISION'", "'PREPARE'", "'PRIVILEGES'", "'PROPERTIES'", "'RANGE'", - "'READ'", "'RECURSIVE'", "'REFRESH'", "'RENAME'", "'REPEATABLE'", - "'REPLACE'", "'RESET'", "'RESPECT'", "'RESTRICT'", "'REVOKE'", "'RIGHT'", - "'ROLE'", "'ROLES'", "'ROLLBACK'", "'ROLLUP'", "'ROW'", "'ROWS'", - "'RUNNING'", "'SCHEMA'", "'SCHEMAS'", "'SECOND'", "'SECURITY'", - "'SEEK'", "'SELECT'", "'SERIALIZABLE'", "'SESSION'", "'SET'", "'SETS'", - "'SHOW'", "'SOME'", "'START'", "'STATS'", "'SUBSET'", "'SUBSTRING'", - "'SYSTEM'", "'TABLE'", "'TABLES'", "'TABLESAMPLE'", "'TEXT'", "'THEN'", - "'TIES'", "'TIME'", "'TIMESTAMP'", "'TO'", "'TRANSACTION'", "'TRUNCATE'", - "'TRUE'", "'TRY_CAST'", "'TYPE'", "'UESCAPE'", "'UNBOUNDED'", "'UNCOMMITTED'", - "'UNION'", "'UNMATCHED'", "'UNNEST'", "'UPDATE'", "'USE'", "'USER'", - "'USING'", "'VALIDATE'", "'VALUES'", "'VERBOSE'", "'VIEW'", "'WHEN'", - "'WHERE'", "'WINDOW'", "'WITH'", "'WITHOUT'", "'WORK'", "'WRITE'", - "'YEAR'", "'ZONE'", "'='", null, "'<'", "'<='", "'>'", "'>='", "'+'", - "'-'", "'*'", "'/'", "'%'", "'||'", "'?'", null, null, null, null, - null, null, null, null, null, null, "';'" + "'NULL'", "'NULLIF'", "'NULLS'", "'OBJECT'", "'OF'", "'OFFSET'", + "'OMIT'", "'ON'", "'ONE'", "'ONLY'", "'OPTION'", "'OR'", "'ORDER'", + "'ORDINALITY'", "'OUTER'", "'OUTPUT'", "'OVER'", "'OVERFLOW'", "'PARTITION'", + "'PARTITIONS'", "'PASSING'", "'PAST'", "'PATH'", "'PATTERN'", "'PER'", + "'PERIOD'", "'PERMUTE'", "'PLAN'", "'POSITION'", "'PRECEDING'", + "'PRECISION'", "'PREPARE'", "'PRIVILEGES'", "'PROPERTIES'", "'PRUNE'", + "'QUOTES'", "'RANGE'", "'READ'", "'RECURSIVE'", "'REFRESH'", "'RENAME'", + "'REPEAT'", "'REPEATABLE'", "'REPLACE'", "'RESET'", "'RESPECT'", + "'RESTRICT'", "'RETURN'", "'RETURNING'", "'RETURNS'", "'REVOKE'", + "'RIGHT'", "'ROLE'", "'ROLES'", "'ROLLBACK'", "'ROLLUP'", "'ROW'", + "'ROWS'", "'RUNNING'", "'SCALAR'", "'SCHEMA'", "'SCHEMAS'", "'SECOND'", + "'SECURITY'", "'SEEK'", "'SELECT'", "'SERIALIZABLE'", "'SESSION'", + "'SET'", "'SETS'", "'SHOW'", "'SOME'", "'START'", "'STATS'", "'SUBSET'", + "'SUBSTRING'", "'SYSTEM'", "'TABLE'", "'TABLES'", "'TABLESAMPLE'", + "'TEXT'", "'STRING'", "'THEN'", "'TIES'", "'TIME'", "'TIMESTAMP'", + "'TO'", "'TRAILING'", "'TRANSACTION'", "'TRIM'", "'TRUE'", "'TRUNCATE'", + "'TRY_CAST'", "'TYPE'", "'UESCAPE'", "'UNBOUNDED'", "'UNCOMMITTED'", + "'UNCONDITIONAL'", "'UNION'", "'UNIQUE'", "'UNKNOWN'", "'UNMATCHED'", + "'UNNEST'", "'UNTIL'", "'UPDATE'", "'USE'", "'USER'", "'USING'", + "'UTF16'", "'UTF32'", "'UTF8'", "'VALIDATE'", "'VALUE'", "'VALUES'", + "'VERBOSE'", "'VERSION'", "'VIEW'", "'WHEN'", "'WHERE'", "'WHILE'", + "'WINDOW'", "'WITH'", "'WITHIN'", "'WITHOUT'", "'WORK'", "'WRAPPER'", + "'WRITE'", "'YEAR'", "'ZONE'", "'='", null, "'<'", "'<='", "'>'", + "'>='", "'+'", "'-'", "'*'", "'/'", "'%'", "'||'", "'?'", "';'" ]; public static readonly symbolicNames = [ null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, "KW_ADD", "KW_ADMIN", "KW_AFTER", - "KW_ALL", "KW_ALTER", "KW_ANALYZE", "KW_AND", "KW_ANY", "KW_ARRAY", - "KW_AS", "KW_ASC", "KW_AT", "KW_AUTHORIZATION", "KW_BERNOULLI", - "KW_BETWEEN", "KW_BY", "KW_CALL", "KW_CASCADE", "KW_CASE", "KW_CAST", - "KW_CATALOGS", "KW_COLUMN", "KW_COLUMNS", "KW_COMMENT", "KW_COMMIT", - "KW_COMMITTED", "KW_CONSTRAINT", "KW_CREATE", "KW_CROSS", "KW_CUBE", - "KW_CURRENT", "KW_CURRENT_CATALOG", "KW_CURRENT_DATE", "KW_CURRENT_PATH", - "KW_CURRENT_ROLE", "KW_CURRENT_SCHEMA", "KW_CURRENT_TIME", "KW_CURRENT_TIMESTAMP", - "KW_CURRENT_USER", "KW_DATA", "KW_DATE", "KW_DAY", "KW_DEFAULT", - "KW_DEALLOCATE", "KW_DEFINER", "KW_DELETE", "KW_DESC", "KW_DESCRIBE", - "KW_DEFINE", "KW_DISTINCT", "KW_DISTRIBUTED", "KW_DOUBLE", "KW_DROP", - "KW_ELSE", "KW_EMPTY", "KW_END", "KW_ESCAPE", "KW_EXCEPT", "KW_EXCLUDING", + null, null, null, null, null, null, null, "KW_ABSENT", "KW_ADD", + "KW_ADMIN", "KW_AFTER", "KW_ALL", "KW_ALTER", "KW_ANALYZE", "KW_AND", + "KW_ANY", "KW_ARRAY", "KW_AS", "KW_ASC", "KW_AT", "KW_AUTHORIZATION", + "KW_BEGIN", "KW_BERNOULLI", "KW_BETWEEN", "KW_BOTH", "KW_BY", "KW_CALL", + "KW_CALLED", "KW_CASCADE", "KW_CASE", "KW_CAST", "KW_CATALOG", "KW_CATALOGS", + "KW_COLUMN", "KW_COLUMNS", "KW_COMMENT", "KW_COMMIT", "KW_COMMITTED", + "KW_CONDITIONAL", "KW_CONSTRAINT", "KW_COUNT", "KW_COPARTITION", + "KW_CREATE", "KW_CROSS", "KW_CUBE", "KW_CURRENT", "KW_CURRENT_CATALOG", + "KW_CURRENT_DATE", "KW_CURRENT_PATH", "KW_CURRENT_ROLE", "KW_CURRENT_SCHEMA", + "KW_CURRENT_TIME", "KW_CURRENT_TIMESTAMP", "KW_CURRENT_USER", "KW_DATA", + "KW_DATE", "KW_DAY", "KW_DEALLOCATE", "KW_DECLARE", "KW_DEFAULT", + "KW_DEFINE", "KW_DEFINER", "KW_DELETE", "KW_DENY", "KW_DESC", "KW_DESCRIBE", + "KW_DESCRIPTOR", "KW_DETERMINISTIC", "KW_DISTINCT", "KW_DISTRIBUTED", + "KW_DO", "KW_DOUBLE", "KW_DROP", "KW_ELSE", "KW_EMPTY", "KW_ELSEIF", + "KW_ENCODING", "KW_END", "KW_ERROR", "KW_ESCAPE", "KW_EXCEPT", "KW_EXCLUDING", "KW_EXECUTE", "KW_EXISTS", "KW_EXPLAIN", "KW_EXTRACT", "KW_FALSE", "KW_FETCH", "KW_FILTER", "KW_FINAL", "KW_FIRST", "KW_FOLLOWING", - "KW_FOR", "KW_FORMAT", "KW_FROM", "KW_FULL", "KW_FUNCTIONS", "KW_GRANT", - "KW_GRANTED", "KW_GRANTS", "KW_DENY", "KW_GRAPHVIZ", "KW_GROUP", - "KW_GROUPING", "KW_GROUPS", "KW_HAVING", "KW_HOUR", "KW_IF", "KW_IGNORE", - "KW_IN", "KW_INCLUDING", "KW_INITIAL", "KW_INNER", "KW_INPUT", "KW_INSERT", - "KW_INTERSECT", "KW_INTERVAL", "KW_INTO", "KW_INVOKER", "KW_IO", - "KW_IS", "KW_ISOLATION", "KW_JOIN", "KW_JSON", "KW_LAST", "KW_LATERAL", - "KW_LEFT", "KW_LEVEL", "KW_LIKE", "KW_LIMIT", "KW_LOCAL", "KW_LOCALTIME", - "KW_LOCALTIMESTAMP", "KW_LOGICAL", "KW_MAP", "KW_MATCH", "KW_MATCHED", - "KW_MATCHES", "KW_MATCH_RECOGNIZE", "KW_MATERIALIZED", "KW_MEASURES", - "KW_MERGE", "KW_MINUTE", "KW_MONTH", "KW_NATURAL", "KW_NEXT", "KW_NFC", - "KW_NFD", "KW_NFKC", "KW_NFKD", "KW_NO", "KW_NONE", "KW_NORMALIZE", - "KW_NOT", "KW_NULL", "KW_NULLIF", "KW_NULLS", "KW_OFFSET", "KW_OMIT", + "KW_FOR", "KW_FORMAT", "KW_FROM", "KW_FULL", "KW_FUNCTION", "KW_FUNCTIONS", + "KW_GRACE", "KW_GRANT", "KW_GRANTED", "KW_GRANTS", "KW_GRAPHVIZ", + "KW_GROUP", "KW_GROUPING", "KW_GROUPS", "KW_HAVING", "KW_HOUR", + "KW_IF", "KW_IGNORE", "KW_IMMEDIATE", "KW_IN", "KW_INCLUDING", "KW_INITIAL", + "KW_INNER", "KW_INPUT", "KW_INSERT", "KW_INTERSECT", "KW_INTERVAL", + "KW_INTO", "KW_INVOKER", "KW_IO", "KW_IS", "KW_ISOLATION", "KW_ITERATE", + "KW_JOIN", "KW_JSON", "KW_JSON_ARRAY", "KW_JSON_EXISTS", "KW_JSON_OBJECT", + "KW_JSON_QUERY", "KW_JSON_TABLE", "KW_JSON_VALUE", "KW_KEEP", "KW_KEY", + "KW_KEYS", "KW_LANGUAGE", "KW_LAST", "KW_LATERAL", "KW_LEADING", + "KW_LEAVE", "KW_LEFT", "KW_LEVEL", "KW_LIKE", "KW_LIMIT", "KW_LISTAGG", + "KW_LOCAL", "KW_LOCALTIME", "KW_LOCALTIMESTAMP", "KW_LOGICAL", "KW_LOOP", + "KW_MAP", "KW_MATCH", "KW_MATCHED", "KW_MATCHES", "KW_MATCH_RECOGNIZE", + "KW_MATERIALIZED", "KW_MEASURES", "KW_MERGE", "KW_MINUTE", "KW_MONTH", + "KW_NATURAL", "KW_NESTED", "KW_NEXT", "KW_NFC", "KW_NFD", "KW_NFKC", + "KW_NFKD", "KW_NO", "KW_NONE", "KW_NORMALIZE", "KW_NOT", "KW_NULL", + "KW_NULLIF", "KW_NULLS", "KW_OBJECT", "KW_OF", "KW_OFFSET", "KW_OMIT", "KW_ON", "KW_ONE", "KW_ONLY", "KW_OPTION", "KW_OR", "KW_ORDER", - "KW_ORDINALITY", "KW_OUTER", "KW_OUTPUT", "KW_OVER", "KW_PARTITION", - "KW_PARTITIONS", "KW_PAST", "KW_PATH", "KW_PATTERN", "KW_PER", "KW_PERMUTE", - "KW_POSITION", "KW_PRECEDING", "KW_PRECISION", "KW_PREPARE", "KW_PRIVILEGES", - "KW_PROPERTIES", "KW_RANGE", "KW_READ", "KW_RECURSIVE", "KW_REFRESH", - "KW_RENAME", "KW_REPEATABLE", "KW_REPLACE", "KW_RESET", "KW_RESPECT", - "KW_RESTRICT", "KW_REVOKE", "KW_RIGHT", "KW_ROLE", "KW_ROLES", "KW_ROLLBACK", - "KW_ROLLUP", "KW_ROW", "KW_ROWS", "KW_RUNNING", "KW_SCHEMA", "KW_SCHEMAS", - "KW_SECOND", "KW_SECURITY", "KW_SEEK", "KW_SELECT", "KW_SERIALIZABLE", - "KW_SESSION", "KW_SET", "KW_SETS", "KW_SHOW", "KW_SOME", "KW_START", - "KW_STATS", "KW_SUBSET", "KW_SUBSTRING", "KW_SYSTEM", "KW_TABLE", - "KW_TABLES", "KW_TABLESAMPLE", "KW_TEXT", "KW_THEN", "KW_TIES", - "KW_TIME", "KW_TIMESTAMP", "KW_TO", "KW_TRANSACTION", "KW_TRUNCATE", - "KW_TRUE", "KW_TRY_CAST", "KW_TYPE", "KW_UESCAPE", "KW_UNBOUNDED", - "KW_UNCOMMITTED", "KW_UNION", "KW_UNMATCHED", "KW_UNNEST", "KW_UPDATE", - "KW_USE", "KW_USER", "KW_USING", "KW_VALIDATE", "KW_VALUES", "KW_VERBOSE", - "KW_VIEW", "KW_WHEN", "KW_WHERE", "KW_WINDOW", "KW_WITH", "KW_WITHOUT", - "KW_WORK", "KW_WRITE", "KW_YEAR", "KW_ZONE", "EQ", "NEQ", "LT", - "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", "SLASH", "PERCENT", - "CONCAT", "QUESTION_MARK", "STRING", "UNICODE_STRING", "BINARY_LITERAL", - "INTEGER_VALUE", "DECIMAL_VALUE", "DOUBLE_VALUE", "IDENTIFIER", - "DIGIT_IDENTIFIER", "QUOTED_IDENTIFIER", "BACKQUOTED_IDENTIFIER", - "SEMICOLON", "SIMPLE_COMMENT", "BRACKETED_COMMENT", "WS", "UNRECOGNIZED", - "DELIMITER" + "KW_ORDINALITY", "KW_OUTER", "KW_OUTPUT", "KW_OVER", "KW_OVERFLOW", + "KW_PARTITION", "KW_PARTITIONS", "KW_PASSING", "KW_PAST", "KW_PATH", + "KW_PATTERN", "KW_PER", "KW_PERIOD", "KW_PERMUTE", "KW_PLAN", "KW_POSITION", + "KW_PRECEDING", "KW_PRECISION", "KW_PREPARE", "KW_PRIVILEGES", "KW_PROPERTIES", + "KW_PRUNE", "KW_QUOTES", "KW_RANGE", "KW_READ", "KW_RECURSIVE", + "KW_REFRESH", "KW_RENAME", "KW_REPEAT", "KW_REPEATABLE", "KW_REPLACE", + "KW_RESET", "KW_RESPECT", "KW_RESTRICT", "KW_RETURN", "KW_RETURNING", + "KW_RETURNS", "KW_REVOKE", "KW_RIGHT", "KW_ROLE", "KW_ROLES", "KW_ROLLBACK", + "KW_ROLLUP", "KW_ROW", "KW_ROWS", "KW_RUNNING", "KW_SCALAR", "KW_SCHEMA", + "KW_SCHEMAS", "KW_SECOND", "KW_SECURITY", "KW_SEEK", "KW_SELECT", + "KW_SERIALIZABLE", "KW_SESSION", "KW_SET", "KW_SETS", "KW_SHOW", + "KW_SOME", "KW_START", "KW_STATS", "KW_SUBSET", "KW_SUBSTRING", + "KW_SYSTEM", "KW_TABLE", "KW_TABLES", "KW_TABLESAMPLE", "KW_TEXT", + "KW_TEXT_STRING", "KW_THEN", "KW_TIES", "KW_TIME", "KW_TIMESTAMP", + "KW_TO", "KW_TRAILING", "KW_TRANSACTION", "KW_TRIM", "KW_TRUE", + "KW_TRUNCATE", "KW_TRY_CAST", "KW_TYPE", "KW_UESCAPE", "KW_UNBOUNDED", + "KW_UNCOMMITTED", "KW_UNCONDITIONAL", "KW_UNION", "KW_UNIQUE", "KW_UNKNOWN", + "KW_UNMATCHED", "KW_UNNEST", "KW_UNTIL", "KW_UPDATE", "KW_USE", + "KW_USER", "KW_USING", "KW_UTF16", "KW_UTF32", "KW_UTF8", "KW_VALIDATE", + "KW_VALUE", "KW_VALUES", "KW_VERBOSE", "KW_VERSION", "KW_VIEW", + "KW_WHEN", "KW_WHERE", "KW_WHILE", "KW_WINDOW", "KW_WITH", "KW_WITHIN", + "KW_WITHOUT", "KW_WORK", "KW_WRAPPER", "KW_WRITE", "KW_YEAR", "KW_ZONE", + "EQ", "NEQ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", + "SLASH", "PERCENT", "CONCAT", "QUESTION_MARK", "SEMICOLON", "STRING", + "UNICODE_STRING", "BINARY_LITERAL", "INTEGER_VALUE", "DECIMAL_VALUE", + "DOUBLE_VALUE", "IDENTIFIER", "DIGIT_IDENTIFIER", "QUOTED_IDENTIFIER", + "BACKQUOTED_IDENTIFIER", "SIMPLE_COMMENT", "BRACKETED_COMMENT", + "WS", "UNRECOGNIZED", "DELIMITER" ]; public static readonly ruleNames = [ - "program", "statements", "standaloneClause", "singleStatement", - "standaloneExpression", "standalonePathSpecification", "standaloneType", - "standaloneRowPattern", "statement", "query", "with", "tableElement", - "columnDefinition", "likeClause", "properties", "propertyAssignments", - "property", "propertyValue", "queryNoWith", "limitRowCount", "rowCount", - "queryTerm", "queryPrimary", "sortItem", "querySpecification", "groupBy", - "groupingElement", "groupingSet", "groupingTerm", "windowDefinition", - "windowSpecification", "namedQuery", "setQuantifier", "selectItem", - "relation", "joinType", "joinCriteria", "sampledRelation", "sampleType", - "patternRecognition", "measureDefinition", "rowsPerMatch", "emptyMatchHandling", - "skipTo", "subsetDefinition", "variableDefinition", "aliasedRelation", - "columnListCreate", "columnList", "columnAliases", "relationPrimary", - "expression", "booleanExpression", "predicate", "valueExpression", - "primaryExpression", "processingMode", "nullTreatment", "string", - "timeZoneSpecifier", "comparisonOperator", "comparisonQuantifier", - "booleanValue", "interval", "intervalField", "normalForm", "type", - "rowField", "typeParameter", "whenClause", "filter", "mergeCase", - "over", "windowFrame", "frameExtent", "frameBound", "rowPattern", - "patternPrimary", "patternQuantifier", "updateAssignment", "explainOption", - "transactionMode", "levelOfIsolation", "callArgument", "pathElement", - "pathSpecification", "privilege", "tableOrViewName", "tableName", - "tableNameCreate", "viewName", "viewNameCreate", "tablePath", "viewPath", - "schemaName", "schemaNameCreate", "schemaPath", "catalogName", "catalogNameCreate", - "functionName", "columnName", "columnNameCreate", "qualifiedName", - "grantor", "principal", "roles", "identifier", "number", "nonReserved", + "program", "statements", "singleStatement", "standaloneExpression", + "standalonePathSpecification", "standaloneType", "standaloneRowPattern", + "standaloneFunctionSpecification", "statement", "rootQuery", "withFunction", + "query", "with", "tableElement", "columnDefinition", "likeClause", + "properties", "propertyAssignments", "property", "propertyValue", + "queryNoWith", "limitRowCount", "rowCount", "queryTerm", "queryPrimary", + "sortItem", "querySpecification", "groupBy", "groupingElement", + "groupingSet", "groupingTerm", "windowDefinition", "windowSpecification", + "namedQuery", "setQuantifier", "selectItem", "relation", "joinType", + "joinCriteria", "sampledRelation", "sampleType", "trimsSpecification", + "listAggOverflowBehavior", "listaggCountIndication", "patternRecognition", + "measureDefinition", "rowsPerMatch", "emptyMatchHandling", "skipTo", + "subsetDefinition", "variableDefinition", "aliasedRelation", "columnListCreate", + "columnList", "columnAliases", "relationPrimary", "jsonTableColumn", + "jsonTableSpecificPlan", "jsonTablePathName", "planPrimary", "jsonTableDefaultPlan", + "tableFunctionCall", "tableFunctionArgument", "tableArgument", "tableArgumentRelation", + "descriptorArgument", "descriptorField", "copartitionTables", "expression", + "booleanExpression", "predicate", "valueExpression", "primaryExpression", + "jsonPathInvocation", "jsonValueExpression", "jsonRepresentation", + "jsonArgument", "jsonExistsErrorBehavior", "jsonValueBehavior", + "jsonQueryWrapperBehavior", "jsonQueryBehavior", "jsonObjectMember", + "processingMode", "nullTreatment", "string", "timeZoneSpecifier", + "comparisonOperator", "comparisonQuantifier", "booleanValue", "interval", + "intervalField", "normalForm", "type", "rowField", "typeParameter", + "whenClause", "filter", "mergeCase", "over", "windowFrame", "frameExtent", + "frameBound", "rowPattern", "patternPrimary", "patternQuantifier", + "updateAssignment", "explainOption", "transactionMode", "levelOfIsolation", + "callArgument", "pathElement", "pathSpecification", "functionSpecification", + "functionDeclaration", "parameterDeclaration", "returnsClause", + "routineCharacteristic", "controlStatement", "caseStatementWhenClause", + "elseIfClause", "elseClause", "variableDeclaration", "sqlStatementList", + "privilege", "entityKind", "grantObject", "tableOrViewName", "tableRef", + "tableNameCreate", "viewRef", "viewNameCreate", "schemaRef", "schemaNameCreate", + "catalogRef", "catalogNameCreate", "functionName", "functionNameCreate", + "columnRef", "columnNameCreate", "qualifiedName", "queryPeriod", + "rangeType", "grantor", "principal", "roles", "privilegeOrRole", + "identifier", "number", "authorizationUser", "nonReserved", ]; public get grammarFileName(): string { return "TrinoSql.g4"; } @@ -554,21 +692,21 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 221; + this.state = 303; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 6291458) !== 0) || ((((_la - 33)) & ~0x1F) === 0 && ((1 << (_la - 33)) & 3892316545) !== 0) || ((((_la - 69)) & ~0x1F) === 0 && ((1 << (_la - 69)) & 37749377) !== 0) || _la === 108 || _la === 135 || ((((_la - 173)) & ~0x1F) === 0 && ((1 << (_la - 173)) & 1208099905) !== 0) || ((((_la - 205)) & ~0x1F) === 0 && ((1 << (_la - 205)) & 402784389) !== 0) || _la === 237 || _la === 243) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 25165826) !== 0) || ((((_la - 37)) & ~0x1F) === 0 && ((1 << (_la - 37)) & 2147550721) !== 0) || ((((_la - 73)) & ~0x1F) === 0 && ((1 << (_la - 73)) & 5243919) !== 0) || _la === 110 || _la === 127 || _la === 169 || ((((_la - 214)) & ~0x1F) === 0 && ((1 << (_la - 214)) & 8921345) !== 0) || ((((_la - 248)) & ~0x1F) === 0 && ((1 << (_la - 248)) & 67113129) !== 0) || ((((_la - 287)) & ~0x1F) === 0 && ((1 << (_la - 287)) & 131587) !== 0)) { { { - this.state = 218; + this.state = 300; this.statements(); } } - this.state = 223; + this.state = 305; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 224; + this.state = 306; this.match(TrinoSqlParser.EOF); } } @@ -592,7 +730,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 226; + this.state = 308; this.singleStatement(); } } @@ -610,72 +748,21 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public standaloneClause(): StandaloneClauseContext { - let localContext = new StandaloneClauseContext(this.context, this.state); - this.enterRule(localContext, 4, TrinoSqlParser.RULE_standaloneClause); - try { - this.state = 232; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 1, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 228; - this.standaloneExpression(); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 229; - this.standalonePathSpecification(); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 230; - this.standaloneType(); - } - break; - case 4: - this.enterOuterAlt(localContext, 4); - { - this.state = 231; - this.standaloneRowPattern(); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } public singleStatement(): SingleStatementContext { let localContext = new SingleStatementContext(this.context, this.state); - this.enterRule(localContext, 6, TrinoSqlParser.RULE_singleStatement); + this.enterRule(localContext, 4, TrinoSqlParser.RULE_singleStatement); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 234; + this.state = 310; this.statement(); - this.state = 236; + this.state = 312; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 272) { + if (_la === 325) { { - this.state = 235; + this.state = 311; this.match(TrinoSqlParser.SEMICOLON); } } @@ -698,19 +785,19 @@ export class TrinoSqlParser extends SQLParserBase { } public standaloneExpression(): StandaloneExpressionContext { let localContext = new StandaloneExpressionContext(this.context, this.state); - this.enterRule(localContext, 8, TrinoSqlParser.RULE_standaloneExpression); + this.enterRule(localContext, 6, TrinoSqlParser.RULE_standaloneExpression); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 238; + this.state = 314; this.expression(); - this.state = 240; + this.state = 316; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 272) { + if (_la === 325) { { - this.state = 239; + this.state = 315; this.match(TrinoSqlParser.SEMICOLON); } } @@ -733,19 +820,19 @@ export class TrinoSqlParser extends SQLParserBase { } public standalonePathSpecification(): StandalonePathSpecificationContext { let localContext = new StandalonePathSpecificationContext(this.context, this.state); - this.enterRule(localContext, 10, TrinoSqlParser.RULE_standalonePathSpecification); + this.enterRule(localContext, 8, TrinoSqlParser.RULE_standalonePathSpecification); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 242; + this.state = 318; this.pathSpecification(); - this.state = 244; + this.state = 320; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 272) { + if (_la === 325) { { - this.state = 243; + this.state = 319; this.match(TrinoSqlParser.SEMICOLON); } } @@ -768,19 +855,19 @@ export class TrinoSqlParser extends SQLParserBase { } public standaloneType(): StandaloneTypeContext { let localContext = new StandaloneTypeContext(this.context, this.state); - this.enterRule(localContext, 12, TrinoSqlParser.RULE_standaloneType); + this.enterRule(localContext, 10, TrinoSqlParser.RULE_standaloneType); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 246; + this.state = 322; this.type_(0); - this.state = 248; + this.state = 324; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 272) { + if (_la === 325) { { - this.state = 247; + this.state = 323; this.match(TrinoSqlParser.SEMICOLON); } } @@ -803,19 +890,19 @@ export class TrinoSqlParser extends SQLParserBase { } public standaloneRowPattern(): StandaloneRowPatternContext { let localContext = new StandaloneRowPatternContext(this.context, this.state); - this.enterRule(localContext, 14, TrinoSqlParser.RULE_standaloneRowPattern); + this.enterRule(localContext, 12, TrinoSqlParser.RULE_standaloneRowPattern); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 250; + this.state = 326; this.rowPattern(0); - this.state = 252; + this.state = 328; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 272) { + if (_la === 325) { { - this.state = 251; + this.state = 327; this.match(TrinoSqlParser.SEMICOLON); } } @@ -836,76 +923,118 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } + public standaloneFunctionSpecification(): StandaloneFunctionSpecificationContext { + let localContext = new StandaloneFunctionSpecificationContext(this.context, this.state); + this.enterRule(localContext, 14, TrinoSqlParser.RULE_standaloneFunctionSpecification); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 330; + this.functionSpecification(); + this.state = 331; + this.match(TrinoSqlParser.EOF); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } public statement(): StatementContext { let localContext = new StatementContext(this.context, this.state); this.enterRule(localContext, 16, TrinoSqlParser.RULE_statement); let _la: number; try { - this.state = 1036; + this.state = 1231; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 117, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 125, this.context) ) { case 1: localContext = new StatementDefaultContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 254; - this.query(); + this.state = 333; + this.rootQuery(); } break; case 2: localContext = new UseContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 255; + this.state = 334; this.match(TrinoSqlParser.KW_USE); - this.state = 256; - this.schemaName(); + this.state = 335; + this.schemaRef(); } break; case 3: - localContext = new CreateSchemaContext(localContext); + localContext = new CreateCatalogContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 257; + this.state = 336; this.match(TrinoSqlParser.KW_CREATE); - this.state = 258; - this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 262; + this.state = 337; + this.match(TrinoSqlParser.KW_CATALOG); + this.state = 341; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 7, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 6, this.context) ) { case 1: { - this.state = 259; + this.state = 338; this.match(TrinoSqlParser.KW_IF); - this.state = 260; + this.state = 339; this.match(TrinoSqlParser.KW_NOT); - this.state = 261; + this.state = 340; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 264; - this.schemaNameCreate(); - this.state = 267; + this.state = 343; + (localContext as CreateCatalogContext)._catalog = this.catalogNameCreate(); + this.state = 344; + this.match(TrinoSqlParser.KW_USING); + this.state = 345; + (localContext as CreateCatalogContext)._connectorName = this.identifier(); + this.state = 348; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 7, this.context) ) { + case 1: + { + this.state = 346; + this.match(TrinoSqlParser.KW_COMMENT); + this.state = 347; + this.string_(); + } + break; + } + this.state = 352; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 29) { + if (_la === 31) { { - this.state = 265; + this.state = 350; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 266; + this.state = 351; this.principal(); } } - this.state = 271; + this.state = 356; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 9, this.context) ) { case 1: { - this.state = 269; + this.state = 354; this.match(TrinoSqlParser.KW_WITH); - this.state = 270; + this.state = 355; this.properties(); } break; @@ -913,35 +1042,35 @@ export class TrinoSqlParser extends SQLParserBase { } break; case 4: - localContext = new DropSchemaContext(localContext); + localContext = new DropCatalogContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 273; + this.state = 358; this.match(TrinoSqlParser.KW_DROP); - this.state = 274; - this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 277; + this.state = 359; + this.match(TrinoSqlParser.KW_CATALOG); + this.state = 362; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 10, this.context) ) { case 1: { - this.state = 275; + this.state = 360; this.match(TrinoSqlParser.KW_IF); - this.state = 276; + this.state = 361; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 279; - this.schemaName(); - this.state = 281; + this.state = 364; + (localContext as DropCatalogContext)._catalog = this.catalogRef(); + this.state = 366; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 34 || _la === 185) { + if (_la === 39 || _la === 229) { { - this.state = 280; + this.state = 365; _la = this.tokenStream.LA(1); - if(!(_la === 34 || _la === 185)) { + if(!(_la === 39 || _la === 229)) { this.errorHandler.recoverInline(this); } else { @@ -954,358 +1083,478 @@ export class TrinoSqlParser extends SQLParserBase { } break; case 5: - localContext = new RenameSchemaContext(localContext); + localContext = new CreateSchemaContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 283; + this.state = 368; + this.match(TrinoSqlParser.KW_CREATE); + this.state = 369; + this.match(TrinoSqlParser.KW_SCHEMA); + this.state = 373; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 12, this.context) ) { + case 1: + { + this.state = 370; + this.match(TrinoSqlParser.KW_IF); + this.state = 371; + this.match(TrinoSqlParser.KW_NOT); + this.state = 372; + this.match(TrinoSqlParser.KW_EXISTS); + } + break; + } + this.state = 375; + this.schemaNameCreate(); + this.state = 378; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 31) { + { + this.state = 376; + this.match(TrinoSqlParser.KW_AUTHORIZATION); + this.state = 377; + this.principal(); + } + } + + this.state = 382; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 14, this.context) ) { + case 1: + { + this.state = 380; + this.match(TrinoSqlParser.KW_WITH); + this.state = 381; + this.properties(); + } + break; + } + } + break; + case 6: + localContext = new DropSchemaContext(localContext); + this.enterOuterAlt(localContext, 6); + { + this.state = 384; + this.match(TrinoSqlParser.KW_DROP); + this.state = 385; + this.match(TrinoSqlParser.KW_SCHEMA); + this.state = 388; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 15, this.context) ) { + case 1: + { + this.state = 386; + this.match(TrinoSqlParser.KW_IF); + this.state = 387; + this.match(TrinoSqlParser.KW_EXISTS); + } + break; + } + this.state = 390; + this.schemaRef(); + this.state = 392; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 39 || _la === 229) { + { + this.state = 391; + _la = this.tokenStream.LA(1); + if(!(_la === 39 || _la === 229)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + + } + break; + case 7: + localContext = new RenameSchemaContext(localContext); + this.enterOuterAlt(localContext, 7); + { + this.state = 394; this.match(TrinoSqlParser.KW_ALTER); - this.state = 284; + this.state = 395; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 285; - this.schemaName(); - this.state = 286; + this.state = 396; + this.schemaRef(); + this.state = 397; this.match(TrinoSqlParser.KW_RENAME); - this.state = 287; + this.state = 398; this.match(TrinoSqlParser.KW_TO); - this.state = 288; + this.state = 399; this.schemaNameCreate(); } break; - case 6: + case 8: localContext = new SetSchemaAuthorizationContext(localContext); - this.enterOuterAlt(localContext, 6); + this.enterOuterAlt(localContext, 8); { - this.state = 290; + this.state = 401; this.match(TrinoSqlParser.KW_ALTER); - this.state = 291; + this.state = 402; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 292; - this.schemaName(); - this.state = 293; + this.state = 403; + this.schemaRef(); + this.state = 404; this.match(TrinoSqlParser.KW_SET); - this.state = 294; + this.state = 405; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 295; + this.state = 406; this.principal(); } break; - case 7: + case 9: localContext = new CreateTableAsSelectContext(localContext); - this.enterOuterAlt(localContext, 7); + this.enterOuterAlt(localContext, 9); { - this.state = 297; + this.state = 408; this.match(TrinoSqlParser.KW_CREATE); - this.state = 298; + this.state = 411; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 194) { + { + this.state = 409; + this.match(TrinoSqlParser.KW_OR); + this.state = 410; + this.match(TrinoSqlParser.KW_REPLACE); + } + } + + this.state = 413; this.match(TrinoSqlParser.KW_TABLE); - this.state = 302; + this.state = 417; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 12, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 18, this.context) ) { case 1: { - this.state = 299; + this.state = 414; this.match(TrinoSqlParser.KW_IF); - this.state = 300; + this.state = 415; this.match(TrinoSqlParser.KW_NOT); - this.state = 301; + this.state = 416; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 304; + this.state = 419; this.tableNameCreate(); - this.state = 306; + this.state = 421; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 305; + this.state = 420; this.columnListCreate(); } } - this.state = 310; + this.state = 425; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 40) { + if (_la === 46) { { - this.state = 308; + this.state = 423; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 309; + this.state = 424; this.string_(); } } - this.state = 314; + this.state = 429; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 243) { + if (_la === 304) { { - this.state = 312; + this.state = 427; this.match(TrinoSqlParser.KW_WITH); - this.state = 313; + this.state = 428; this.properties(); } } - this.state = 316; + this.state = 431; this.match(TrinoSqlParser.KW_AS); - this.state = 322; + this.state = 437; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 16, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 22, this.context) ) { case 1: { - this.state = 317; - this.query(); + this.state = 432; + this.rootQuery(); } break; case 2: { - this.state = 318; + this.state = 433; this.match(TrinoSqlParser.T__0); - this.state = 319; - this.query(); - this.state = 320; + this.state = 434; + this.rootQuery(); + this.state = 435; this.match(TrinoSqlParser.T__1); } break; } - this.state = 329; + this.state = 444; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 18, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 24, this.context) ) { case 1: { - this.state = 324; + this.state = 439; this.match(TrinoSqlParser.KW_WITH); - this.state = 326; + this.state = 441; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 144) { + if (_la === 179) { { - this.state = 325; + this.state = 440; this.match(TrinoSqlParser.KW_NO); } } - this.state = 328; + this.state = 443; this.match(TrinoSqlParser.KW_DATA); } break; } } break; - case 8: + case 10: localContext = new CreateTableContext(localContext); - this.enterOuterAlt(localContext, 8); + this.enterOuterAlt(localContext, 10); { - this.state = 331; + this.state = 446; this.match(TrinoSqlParser.KW_CREATE); - this.state = 332; + this.state = 449; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 194) { + { + this.state = 447; + this.match(TrinoSqlParser.KW_OR); + this.state = 448; + this.match(TrinoSqlParser.KW_REPLACE); + } + } + + this.state = 451; this.match(TrinoSqlParser.KW_TABLE); - this.state = 336; + this.state = 455; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 19, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 26, this.context) ) { case 1: { - this.state = 333; + this.state = 452; this.match(TrinoSqlParser.KW_IF); - this.state = 334; + this.state = 453; this.match(TrinoSqlParser.KW_NOT); - this.state = 335; + this.state = 454; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 338; + this.state = 457; this.tableNameCreate(); - this.state = 339; + this.state = 458; this.match(TrinoSqlParser.T__0); - this.state = 340; + this.state = 459; this.tableElement(); - this.state = 345; + this.state = 464; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 341; + this.state = 460; this.match(TrinoSqlParser.T__2); - this.state = 342; + this.state = 461; this.tableElement(); } } - this.state = 347; + this.state = 466; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 348; + this.state = 467; this.match(TrinoSqlParser.T__1); - this.state = 351; + this.state = 470; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 21, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 28, this.context) ) { case 1: { - this.state = 349; + this.state = 468; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 350; + this.state = 469; this.string_(); } break; } - this.state = 355; + this.state = 474; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 22, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 29, this.context) ) { case 1: { - this.state = 353; + this.state = 472; this.match(TrinoSqlParser.KW_WITH); - this.state = 354; + this.state = 473; this.properties(); } break; } } break; - case 9: + case 11: localContext = new DropTableContext(localContext); - this.enterOuterAlt(localContext, 9); + this.enterOuterAlt(localContext, 11); { - this.state = 357; + this.state = 476; this.match(TrinoSqlParser.KW_DROP); - this.state = 358; + this.state = 477; this.match(TrinoSqlParser.KW_TABLE); - this.state = 361; + this.state = 480; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 23, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 30, this.context) ) { case 1: { - this.state = 359; + this.state = 478; this.match(TrinoSqlParser.KW_IF); - this.state = 360; + this.state = 479; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 363; - this.tableName(); + this.state = 482; + this.tableRef(); } break; - case 10: + case 12: localContext = new InsertIntoContext(localContext); - this.enterOuterAlt(localContext, 10); + this.enterOuterAlt(localContext, 12); { - this.state = 364; + this.state = 483; this.match(TrinoSqlParser.KW_INSERT); - this.state = 365; + this.state = 484; this.match(TrinoSqlParser.KW_INTO); - this.state = 366; - this.tableName(); - this.state = 368; + this.state = 485; + this.tableRef(); + this.state = 487; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 24, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 31, this.context) ) { case 1: { - this.state = 367; + this.state = 486; this.columnList(); } break; } - this.state = 370; - this.query(); + this.state = 489; + this.rootQuery(); } break; - case 11: + case 13: localContext = new DeleteContext(localContext); - this.enterOuterAlt(localContext, 11); + this.enterOuterAlt(localContext, 13); { - this.state = 372; + this.state = 491; this.match(TrinoSqlParser.KW_DELETE); - this.state = 373; + this.state = 492; this.match(TrinoSqlParser.KW_FROM); - this.state = 374; - this.tableName(); - this.state = 377; + this.state = 493; + this.tableRef(); + this.state = 496; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 241) { + if (_la === 301) { { - this.state = 375; + this.state = 494; this.match(TrinoSqlParser.KW_WHERE); - this.state = 376; + this.state = 495; this.booleanExpression(0); } } } break; - case 12: + case 14: localContext = new TruncateTableContext(localContext); - this.enterOuterAlt(localContext, 12); + this.enterOuterAlt(localContext, 14); { - this.state = 379; + this.state = 498; this.match(TrinoSqlParser.KW_TRUNCATE); - this.state = 380; + this.state = 499; this.match(TrinoSqlParser.KW_TABLE); - this.state = 381; - this.tableName(); + this.state = 500; + this.tableRef(); } break; - case 13: - localContext = new RenameTableContext(localContext); - this.enterOuterAlt(localContext, 13); + case 15: + localContext = new CommentTableContext(localContext); + this.enterOuterAlt(localContext, 15); { - this.state = 382; - this.match(TrinoSqlParser.KW_ALTER); - this.state = 383; + this.state = 501; + this.match(TrinoSqlParser.KW_COMMENT); + this.state = 502; + this.match(TrinoSqlParser.KW_ON); + this.state = 503; this.match(TrinoSqlParser.KW_TABLE); - this.state = 386; + this.state = 504; + this.tableRef(); + this.state = 505; + this.match(TrinoSqlParser.KW_IS); + this.state = 508; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 26, this.context) ) { - case 1: + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.STRING: + case TrinoSqlParser.UNICODE_STRING: { - this.state = 384; - this.match(TrinoSqlParser.KW_IF); - this.state = 385; - this.match(TrinoSqlParser.KW_EXISTS); + this.state = 506; + this.string_(); + } + break; + case TrinoSqlParser.KW_NULL: + { + this.state = 507; + this.match(TrinoSqlParser.KW_NULL); } break; + default: + throw new antlr.NoViableAltException(this); } - this.state = 388; - (localContext as RenameTableContext)._from_ = this.tableName(); - this.state = 389; - this.match(TrinoSqlParser.KW_RENAME); - this.state = 390; - this.match(TrinoSqlParser.KW_TO); - this.state = 391; - (localContext as RenameTableContext)._to = this.tableNameCreate(); } break; - case 14: - localContext = new CommentTableContext(localContext); - this.enterOuterAlt(localContext, 14); + case 16: + localContext = new CommentViewContext(localContext); + this.enterOuterAlt(localContext, 16); { - this.state = 393; + this.state = 510; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 394; + this.state = 511; this.match(TrinoSqlParser.KW_ON); - this.state = 395; - this.match(TrinoSqlParser.KW_TABLE); - this.state = 396; - this.tableName(); - this.state = 397; + this.state = 512; + this.match(TrinoSqlParser.KW_VIEW); + this.state = 513; + this.viewRef(); + this.state = 514; this.match(TrinoSqlParser.KW_IS); - this.state = 400; + this.state = 517; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 398; + this.state = 515; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 399; + this.state = 516; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1314,33 +1563,33 @@ export class TrinoSqlParser extends SQLParserBase { } } break; - case 15: + case 17: localContext = new CommentColumnContext(localContext); - this.enterOuterAlt(localContext, 15); + this.enterOuterAlt(localContext, 17); { - this.state = 402; + this.state = 519; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 403; + this.state = 520; this.match(TrinoSqlParser.KW_ON); - this.state = 404; + this.state = 521; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 405; - this.columnName(); - this.state = 406; + this.state = 522; + this.columnRef(); + this.state = 523; this.match(TrinoSqlParser.KW_IS); - this.state = 409; + this.state = 526; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 407; + this.state = 524; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 408; + this.state = 525; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1349,374 +1598,492 @@ export class TrinoSqlParser extends SQLParserBase { } } break; - case 16: + case 18: + localContext = new RenameTableContext(localContext); + this.enterOuterAlt(localContext, 18); + { + this.state = 528; + this.match(TrinoSqlParser.KW_ALTER); + this.state = 529; + this.match(TrinoSqlParser.KW_TABLE); + this.state = 532; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 36, this.context) ) { + case 1: + { + this.state = 530; + this.match(TrinoSqlParser.KW_IF); + this.state = 531; + this.match(TrinoSqlParser.KW_EXISTS); + } + break; + } + this.state = 534; + (localContext as RenameTableContext)._from_ = this.tableRef(); + this.state = 535; + this.match(TrinoSqlParser.KW_RENAME); + this.state = 536; + this.match(TrinoSqlParser.KW_TO); + this.state = 537; + (localContext as RenameTableContext)._to = this.tableNameCreate(); + } + break; + case 19: + localContext = new AddColumnContext(localContext); + this.enterOuterAlt(localContext, 19); + { + this.state = 539; + this.match(TrinoSqlParser.KW_ALTER); + this.state = 540; + this.match(TrinoSqlParser.KW_TABLE); + this.state = 543; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 37, this.context) ) { + case 1: + { + this.state = 541; + this.match(TrinoSqlParser.KW_IF); + this.state = 542; + this.match(TrinoSqlParser.KW_EXISTS); + } + break; + } + this.state = 545; + (localContext as AddColumnContext)._tableName = this.tableRef(); + this.state = 546; + this.match(TrinoSqlParser.KW_ADD); + this.state = 547; + this.match(TrinoSqlParser.KW_COLUMN); + this.state = 551; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 38, this.context) ) { + case 1: + { + this.state = 548; + this.match(TrinoSqlParser.KW_IF); + this.state = 549; + this.match(TrinoSqlParser.KW_NOT); + this.state = 550; + this.match(TrinoSqlParser.KW_EXISTS); + } + break; + } + this.state = 553; + (localContext as AddColumnContext)._column = this.columnDefinition(); + } + break; + case 20: localContext = new RenameColumnContext(localContext); - this.enterOuterAlt(localContext, 16); + this.enterOuterAlt(localContext, 20); { - this.state = 411; + this.state = 555; this.match(TrinoSqlParser.KW_ALTER); - this.state = 412; + this.state = 556; this.match(TrinoSqlParser.KW_TABLE); - this.state = 415; + this.state = 559; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 29, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 39, this.context) ) { case 1: { - this.state = 413; + this.state = 557; this.match(TrinoSqlParser.KW_IF); - this.state = 414; + this.state = 558; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 417; - this.tableName(); - this.state = 418; + this.state = 561; + (localContext as RenameColumnContext)._tableName = this.tableRef(); + this.state = 562; this.match(TrinoSqlParser.KW_RENAME); - this.state = 419; + this.state = 563; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 422; + this.state = 566; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 30, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 40, this.context) ) { case 1: { - this.state = 420; + this.state = 564; this.match(TrinoSqlParser.KW_IF); - this.state = 421; + this.state = 565; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 424; - (localContext as RenameColumnContext)._from_ = this.columnName(); - this.state = 425; + this.state = 568; + (localContext as RenameColumnContext)._from_ = this.columnRef(); + this.state = 569; this.match(TrinoSqlParser.KW_TO); - this.state = 426; + this.state = 570; (localContext as RenameColumnContext)._to = this.columnNameCreate(); } break; - case 17: + case 21: localContext = new DropColumnContext(localContext); - this.enterOuterAlt(localContext, 17); + this.enterOuterAlt(localContext, 21); { - this.state = 428; + this.state = 572; this.match(TrinoSqlParser.KW_ALTER); - this.state = 429; + this.state = 573; this.match(TrinoSqlParser.KW_TABLE); - this.state = 432; + this.state = 576; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 31, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 41, this.context) ) { case 1: { - this.state = 430; + this.state = 574; this.match(TrinoSqlParser.KW_IF); - this.state = 431; + this.state = 575; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 434; - this.tableName(); - this.state = 435; + this.state = 578; + (localContext as DropColumnContext)._tableName = this.tableRef(); + this.state = 579; this.match(TrinoSqlParser.KW_DROP); - this.state = 436; + this.state = 580; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 439; + this.state = 583; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 32, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 42, this.context) ) { case 1: { - this.state = 437; + this.state = 581; this.match(TrinoSqlParser.KW_IF); - this.state = 438; + this.state = 582; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 441; - (localContext as DropColumnContext)._column = this.columnName(); + this.state = 585; + (localContext as DropColumnContext)._column = this.columnRef(); } break; - case 18: - localContext = new AddColumnContext(localContext); - this.enterOuterAlt(localContext, 18); + case 22: + localContext = new SetColumnTypeContext(localContext); + this.enterOuterAlt(localContext, 22); { - this.state = 443; + this.state = 587; this.match(TrinoSqlParser.KW_ALTER); - this.state = 444; + this.state = 588; this.match(TrinoSqlParser.KW_TABLE); - this.state = 447; + this.state = 591; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 33, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 43, this.context) ) { case 1: { - this.state = 445; + this.state = 589; this.match(TrinoSqlParser.KW_IF); - this.state = 446; + this.state = 590; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 449; - this.tableName(); - this.state = 450; - this.match(TrinoSqlParser.KW_ADD); - this.state = 451; + this.state = 593; + (localContext as SetColumnTypeContext)._tableName = this.tableRef(); + this.state = 594; + this.match(TrinoSqlParser.KW_ALTER); + this.state = 595; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 455; + this.state = 596; + (localContext as SetColumnTypeContext)._column = this.columnRef(); + this.state = 597; + this.match(TrinoSqlParser.KW_SET); + this.state = 598; + this.match(TrinoSqlParser.KW_DATA); + this.state = 599; + this.match(TrinoSqlParser.KW_TYPE); + this.state = 600; + this.type_(0); + } + break; + case 23: + localContext = new DropNotNullConstraintContext(localContext); + this.enterOuterAlt(localContext, 23); + { + this.state = 602; + this.match(TrinoSqlParser.KW_ALTER); + this.state = 603; + this.match(TrinoSqlParser.KW_TABLE); + this.state = 606; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 34, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 44, this.context) ) { case 1: { - this.state = 452; + this.state = 604; this.match(TrinoSqlParser.KW_IF); - this.state = 453; - this.match(TrinoSqlParser.KW_NOT); - this.state = 454; + this.state = 605; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 457; - (localContext as AddColumnContext)._column = this.columnDefinition(); + this.state = 608; + (localContext as DropNotNullConstraintContext)._tableName = this.tableRef(); + this.state = 609; + this.match(TrinoSqlParser.KW_ALTER); + this.state = 610; + this.match(TrinoSqlParser.KW_COLUMN); + this.state = 611; + (localContext as DropNotNullConstraintContext)._column = this.columnRef(); + this.state = 612; + this.match(TrinoSqlParser.KW_DROP); + this.state = 613; + this.match(TrinoSqlParser.KW_NOT); + this.state = 614; + this.match(TrinoSqlParser.KW_NULL); } break; - case 19: + case 24: localContext = new SetTableAuthorizationContext(localContext); - this.enterOuterAlt(localContext, 19); + this.enterOuterAlt(localContext, 24); { - this.state = 459; + this.state = 616; this.match(TrinoSqlParser.KW_ALTER); - this.state = 460; + this.state = 617; this.match(TrinoSqlParser.KW_TABLE); - this.state = 461; - this.tableName(); - this.state = 462; + this.state = 618; + (localContext as SetTableAuthorizationContext)._tableName = this.tableRef(); + this.state = 619; this.match(TrinoSqlParser.KW_SET); - this.state = 463; + this.state = 620; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 464; + this.state = 621; this.principal(); } break; - case 20: + case 25: localContext = new SetTablePropertiesContext(localContext); - this.enterOuterAlt(localContext, 20); + this.enterOuterAlt(localContext, 25); { - this.state = 466; + this.state = 623; this.match(TrinoSqlParser.KW_ALTER); - this.state = 467; + this.state = 624; this.match(TrinoSqlParser.KW_TABLE); - this.state = 468; - this.tableName(); - this.state = 469; + this.state = 625; + (localContext as SetTablePropertiesContext)._tableName = this.tableRef(); + this.state = 626; this.match(TrinoSqlParser.KW_SET); - this.state = 470; + this.state = 627; this.match(TrinoSqlParser.KW_PROPERTIES); - this.state = 471; + this.state = 628; this.propertyAssignments(); } break; - case 21: + case 26: localContext = new TableExecuteContext(localContext); - this.enterOuterAlt(localContext, 21); + this.enterOuterAlt(localContext, 26); { - this.state = 473; + this.state = 630; this.match(TrinoSqlParser.KW_ALTER); - this.state = 474; + this.state = 631; this.match(TrinoSqlParser.KW_TABLE); - this.state = 475; - this.tableName(); - this.state = 476; + this.state = 632; + (localContext as TableExecuteContext)._tableName = this.tableRef(); + this.state = 633; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 477; - (localContext as TableExecuteContext)._procedureName = this.identifier(); - this.state = 490; + this.state = 634; + (localContext as TableExecuteContext)._procedureName = this.functionName(); + this.state = 647; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 37, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 47, this.context) ) { case 1: { - this.state = 478; + this.state = 635; this.match(TrinoSqlParser.T__0); - this.state = 487; + this.state = 644; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 2069757954) !== 0) || ((((_la - 33)) & ~0x1F) === 0 && ((1 << (_la - 33)) & 1476117503) !== 0) || ((((_la - 65)) & ~0x1F) === 0 && ((1 << (_la - 65)) & 2120217677) !== 0) || ((((_la - 97)) & ~0x1F) === 0 && ((1 << (_la - 97)) & 4252345787) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 1325399551) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3153981439) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4286054271) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3237637037) !== 0) || ((((_la - 261)) & ~0x1F) === 0 && ((1 << (_la - 261)) & 2047) !== 0)) { + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538382319) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3758094335) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { { - this.state = 479; + this.state = 636; this.callArgument(); - this.state = 484; + this.state = 641; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 480; + this.state = 637; this.match(TrinoSqlParser.T__2); - this.state = 481; + this.state = 638; this.callArgument(); } } - this.state = 486; + this.state = 643; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 489; + this.state = 646; this.match(TrinoSqlParser.T__1); } break; } - this.state = 494; + this.state = 651; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 241) { + if (_la === 301) { { - this.state = 492; + this.state = 649; this.match(TrinoSqlParser.KW_WHERE); - this.state = 493; + this.state = 650; (localContext as TableExecuteContext)._where = this.booleanExpression(0); } } } break; - case 22: + case 27: localContext = new AnalyzeContext(localContext); - this.enterOuterAlt(localContext, 22); + this.enterOuterAlt(localContext, 27); { - this.state = 496; + this.state = 653; this.match(TrinoSqlParser.KW_ANALYZE); - this.state = 497; - this.tableName(); - this.state = 500; + this.state = 654; + this.tableRef(); + this.state = 657; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 39, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 49, this.context) ) { case 1: { - this.state = 498; + this.state = 655; this.match(TrinoSqlParser.KW_WITH); - this.state = 499; + this.state = 656; this.properties(); } break; } } break; - case 23: + case 28: localContext = new CreateMaterializedViewContext(localContext); - this.enterOuterAlt(localContext, 23); + this.enterOuterAlt(localContext, 28); { - this.state = 502; + this.state = 659; this.match(TrinoSqlParser.KW_CREATE); - this.state = 505; + this.state = 662; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 157) { + if (_la === 194) { { - this.state = 503; + this.state = 660; this.match(TrinoSqlParser.KW_OR); - this.state = 504; + this.state = 661; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 507; + this.state = 664; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 508; + this.state = 665; this.match(TrinoSqlParser.KW_VIEW); - this.state = 512; + this.state = 669; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 41, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 51, this.context) ) { case 1: { - this.state = 509; + this.state = 666; this.match(TrinoSqlParser.KW_IF); - this.state = 510; + this.state = 667; this.match(TrinoSqlParser.KW_NOT); - this.state = 511; + this.state = 668; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 514; + this.state = 671; this.viewNameCreate(); - this.state = 517; + this.state = 675; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 40) { + if (_la === 109) { { - this.state = 515; + this.state = 672; + this.match(TrinoSqlParser.KW_GRACE); + this.state = 673; + this.match(TrinoSqlParser.KW_PERIOD); + this.state = 674; + this.interval(); + } + } + + this.state = 679; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 46) { + { + this.state = 677; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 516; + this.state = 678; this.string_(); } } - this.state = 521; + this.state = 683; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 243) { + if (_la === 304) { { - this.state = 519; + this.state = 681; this.match(TrinoSqlParser.KW_WITH); - this.state = 520; + this.state = 682; this.properties(); } } - this.state = 523; + this.state = 685; this.match(TrinoSqlParser.KW_AS); - this.state = 524; - this.query(); + this.state = 686; + this.rootQuery(); } break; - case 24: + case 29: localContext = new CreateViewContext(localContext); - this.enterOuterAlt(localContext, 24); + this.enterOuterAlt(localContext, 29); { - this.state = 526; + this.state = 688; this.match(TrinoSqlParser.KW_CREATE); - this.state = 529; + this.state = 691; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 157) { + if (_la === 194) { { - this.state = 527; + this.state = 689; this.match(TrinoSqlParser.KW_OR); - this.state = 528; + this.state = 690; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 531; + this.state = 693; this.match(TrinoSqlParser.KW_VIEW); - this.state = 532; + this.state = 694; this.viewNameCreate(); - this.state = 535; + this.state = 697; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 40) { + if (_la === 46) { { - this.state = 533; + this.state = 695; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 534; + this.state = 696; this.string_(); } } - this.state = 539; + this.state = 701; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 198) { + if (_la === 246) { { - this.state = 537; + this.state = 699; this.match(TrinoSqlParser.KW_SECURITY); - this.state = 538; + this.state = 700; _la = this.tokenStream.LA(1); - if(!(_la === 61 || _la === 112)) { + if(!(_la === 72 || _la === 131)) { this.errorHandler.recoverInline(this); } else { @@ -1726,927 +2093,922 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 541; + this.state = 705; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 304) { + { + this.state = 703; + this.match(TrinoSqlParser.KW_WITH); + this.state = 704; + this.properties(); + } + } + + this.state = 707; this.match(TrinoSqlParser.KW_AS); - this.state = 542; - this.query(); + this.state = 708; + this.rootQuery(); } break; - case 25: + case 30: localContext = new RefreshMaterializedViewContext(localContext); - this.enterOuterAlt(localContext, 25); + this.enterOuterAlt(localContext, 30); { - this.state = 544; + this.state = 710; this.match(TrinoSqlParser.KW_REFRESH); - this.state = 545; + this.state = 711; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 546; + this.state = 712; this.match(TrinoSqlParser.KW_VIEW); - this.state = 547; - this.viewName(); + this.state = 713; + this.viewRef(); } break; - case 26: + case 31: localContext = new DropMaterializedViewContext(localContext); - this.enterOuterAlt(localContext, 26); + this.enterOuterAlt(localContext, 31); { - this.state = 548; + this.state = 714; this.match(TrinoSqlParser.KW_DROP); - this.state = 549; + this.state = 715; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 550; + this.state = 716; this.match(TrinoSqlParser.KW_VIEW); - this.state = 553; + this.state = 719; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 47, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 59, this.context) ) { case 1: { - this.state = 551; + this.state = 717; this.match(TrinoSqlParser.KW_IF); - this.state = 552; + this.state = 718; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 555; - this.viewName(); + this.state = 721; + this.viewRef(); } break; - case 27: + case 32: localContext = new RenameMaterializedViewContext(localContext); - this.enterOuterAlt(localContext, 27); + this.enterOuterAlt(localContext, 32); { - this.state = 556; + this.state = 722; this.match(TrinoSqlParser.KW_ALTER); - this.state = 557; + this.state = 723; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 558; + this.state = 724; this.match(TrinoSqlParser.KW_VIEW); - this.state = 561; + this.state = 727; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 48, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 60, this.context) ) { case 1: { - this.state = 559; + this.state = 725; this.match(TrinoSqlParser.KW_IF); - this.state = 560; + this.state = 726; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 563; - (localContext as RenameMaterializedViewContext)._from_ = this.viewName(); - this.state = 564; + this.state = 729; + (localContext as RenameMaterializedViewContext)._from_ = this.viewRef(); + this.state = 730; this.match(TrinoSqlParser.KW_RENAME); - this.state = 565; + this.state = 731; this.match(TrinoSqlParser.KW_TO); - this.state = 566; + this.state = 732; (localContext as RenameMaterializedViewContext)._to = this.viewNameCreate(); } break; - case 28: + case 33: localContext = new SetMaterializedViewPropertiesContext(localContext); - this.enterOuterAlt(localContext, 28); + this.enterOuterAlt(localContext, 33); { - this.state = 568; + this.state = 734; this.match(TrinoSqlParser.KW_ALTER); - this.state = 569; + this.state = 735; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 570; + this.state = 736; this.match(TrinoSqlParser.KW_VIEW); - this.state = 571; - this.viewName(); - this.state = 572; + this.state = 737; + this.viewRef(); + this.state = 738; this.match(TrinoSqlParser.KW_SET); - this.state = 573; + this.state = 739; this.match(TrinoSqlParser.KW_PROPERTIES); - this.state = 574; + this.state = 740; this.propertyAssignments(); } break; - case 29: + case 34: localContext = new DropViewContext(localContext); - this.enterOuterAlt(localContext, 29); + this.enterOuterAlt(localContext, 34); { - this.state = 576; + this.state = 742; this.match(TrinoSqlParser.KW_DROP); - this.state = 577; + this.state = 743; this.match(TrinoSqlParser.KW_VIEW); - this.state = 580; + this.state = 746; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 49, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 61, this.context) ) { case 1: { - this.state = 578; + this.state = 744; this.match(TrinoSqlParser.KW_IF); - this.state = 579; + this.state = 745; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 582; - this.viewName(); + this.state = 748; + this.viewRef(); } break; - case 30: + case 35: localContext = new RenameViewContext(localContext); - this.enterOuterAlt(localContext, 30); + this.enterOuterAlt(localContext, 35); { - this.state = 583; + this.state = 749; this.match(TrinoSqlParser.KW_ALTER); - this.state = 584; + this.state = 750; this.match(TrinoSqlParser.KW_VIEW); - this.state = 585; - (localContext as RenameViewContext)._from_ = this.viewName(); - this.state = 586; + this.state = 751; + (localContext as RenameViewContext)._from_ = this.viewRef(); + this.state = 752; this.match(TrinoSqlParser.KW_RENAME); - this.state = 587; + this.state = 753; this.match(TrinoSqlParser.KW_TO); - this.state = 588; + this.state = 754; (localContext as RenameViewContext)._to = this.viewNameCreate(); } break; - case 31: + case 36: localContext = new SetViewAuthorizationContext(localContext); - this.enterOuterAlt(localContext, 31); + this.enterOuterAlt(localContext, 36); { - this.state = 590; + this.state = 756; this.match(TrinoSqlParser.KW_ALTER); - this.state = 591; + this.state = 757; this.match(TrinoSqlParser.KW_VIEW); - this.state = 592; - (localContext as SetViewAuthorizationContext)._from_ = this.viewName(); - this.state = 593; + this.state = 758; + (localContext as SetViewAuthorizationContext)._from_ = this.viewRef(); + this.state = 759; this.match(TrinoSqlParser.KW_SET); - this.state = 594; + this.state = 760; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 595; + this.state = 761; this.principal(); } break; - case 32: + case 37: localContext = new CallContext(localContext); - this.enterOuterAlt(localContext, 32); + this.enterOuterAlt(localContext, 37); { - this.state = 597; + this.state = 763; this.match(TrinoSqlParser.KW_CALL); - this.state = 598; + this.state = 764; this.functionName(); - this.state = 599; + this.state = 765; this.match(TrinoSqlParser.T__0); - this.state = 608; + this.state = 774; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 2069757954) !== 0) || ((((_la - 33)) & ~0x1F) === 0 && ((1 << (_la - 33)) & 1476117503) !== 0) || ((((_la - 65)) & ~0x1F) === 0 && ((1 << (_la - 65)) & 2120217677) !== 0) || ((((_la - 97)) & ~0x1F) === 0 && ((1 << (_la - 97)) & 4252345787) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 1325399551) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3153981439) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4286054271) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3237637037) !== 0) || ((((_la - 261)) & ~0x1F) === 0 && ((1 << (_la - 261)) & 2047) !== 0)) { + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538382319) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3758094335) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { { - this.state = 600; + this.state = 766; this.callArgument(); - this.state = 605; + this.state = 771; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 601; + this.state = 767; this.match(TrinoSqlParser.T__2); - this.state = 602; + this.state = 768; this.callArgument(); } } - this.state = 607; + this.state = 773; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 610; + this.state = 776; this.match(TrinoSqlParser.T__1); } break; - case 33: + case 38: + localContext = new CreateFunctionContext(localContext); + this.enterOuterAlt(localContext, 38); + { + this.state = 778; + this.match(TrinoSqlParser.KW_CREATE); + this.state = 781; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 194) { + { + this.state = 779; + this.match(TrinoSqlParser.KW_OR); + this.state = 780; + this.match(TrinoSqlParser.KW_REPLACE); + } + } + + this.state = 783; + this.functionSpecification(); + } + break; + case 39: + localContext = new DropFunctionContext(localContext); + this.enterOuterAlt(localContext, 39); + { + this.state = 784; + this.match(TrinoSqlParser.KW_DROP); + this.state = 785; + this.match(TrinoSqlParser.KW_FUNCTION); + this.state = 788; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 65, this.context) ) { + case 1: + { + this.state = 786; + this.match(TrinoSqlParser.KW_IF); + this.state = 787; + this.match(TrinoSqlParser.KW_EXISTS); + } + break; + } + this.state = 790; + this.functionDeclaration(); + } + break; + case 40: localContext = new CreateRoleContext(localContext); - this.enterOuterAlt(localContext, 33); + this.enterOuterAlt(localContext, 40); { - this.state = 612; + this.state = 791; this.match(TrinoSqlParser.KW_CREATE); - this.state = 613; + this.state = 792; this.match(TrinoSqlParser.KW_ROLE); - this.state = 614; + this.state = 793; (localContext as CreateRoleContext)._name = this.identifier(); - this.state = 618; + this.state = 797; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 52, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 66, this.context) ) { case 1: { - this.state = 615; + this.state = 794; this.match(TrinoSqlParser.KW_WITH); - this.state = 616; + this.state = 795; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 617; + this.state = 796; this.grantor(); } break; } - this.state = 622; + this.state = 801; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 103) { + if (_la === 122) { { - this.state = 620; + this.state = 799; this.match(TrinoSqlParser.KW_IN); - this.state = 621; - this.catalogName(); + this.state = 800; + (localContext as CreateRoleContext)._catalog = this.catalogRef(); } } } break; - case 34: + case 41: localContext = new DropRoleContext(localContext); - this.enterOuterAlt(localContext, 34); + this.enterOuterAlt(localContext, 41); { - this.state = 624; + this.state = 803; this.match(TrinoSqlParser.KW_DROP); - this.state = 625; + this.state = 804; this.match(TrinoSqlParser.KW_ROLE); - this.state = 626; + this.state = 805; (localContext as DropRoleContext)._name = this.identifier(); + this.state = 808; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 122) { + { + this.state = 806; + this.match(TrinoSqlParser.KW_IN); + this.state = 807; + (localContext as DropRoleContext)._catalog = this.catalogRef(); + } + } + } break; - case 35: + case 42: localContext = new GrantRolesContext(localContext); - this.enterOuterAlt(localContext, 35); + this.enterOuterAlt(localContext, 42); { - this.state = 627; + this.state = 810; this.match(TrinoSqlParser.KW_GRANT); - this.state = 628; - this.roles(); - this.state = 629; + this.state = 811; + this.privilegeOrRole(); + this.state = 816; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 812; + this.match(TrinoSqlParser.T__2); + this.state = 813; + this.privilegeOrRole(); + } + } + this.state = 818; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 819; this.match(TrinoSqlParser.KW_TO); - this.state = 630; + this.state = 820; this.principal(); - this.state = 635; + this.state = 825; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 631; + this.state = 821; this.match(TrinoSqlParser.T__2); - this.state = 632; + this.state = 822; this.principal(); } } - this.state = 637; + this.state = 827; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 641; + this.state = 831; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 55, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 71, this.context) ) { case 1: { - this.state = 638; + this.state = 828; this.match(TrinoSqlParser.KW_WITH); - this.state = 639; + this.state = 829; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 640; + this.state = 830; this.match(TrinoSqlParser.KW_OPTION); } break; } - this.state = 646; + this.state = 836; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 92) { + if (_la === 111) { { - this.state = 643; + this.state = 833; this.match(TrinoSqlParser.KW_GRANTED); - this.state = 644; + this.state = 834; this.match(TrinoSqlParser.KW_BY); - this.state = 645; + this.state = 835; this.grantor(); } } - this.state = 650; + this.state = 840; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 103) { + if (_la === 122) { { - this.state = 648; + this.state = 838; this.match(TrinoSqlParser.KW_IN); - this.state = 649; - this.catalogName(); + this.state = 839; + (localContext as GrantRolesContext)._catalog = this.catalogRef(); } } } break; - case 36: - localContext = new RevokeRolesContext(localContext); - this.enterOuterAlt(localContext, 36); + case 43: + localContext = new GrantPrivilegesContext(localContext); + this.enterOuterAlt(localContext, 43); { - this.state = 652; - this.match(TrinoSqlParser.KW_REVOKE); - this.state = 656; + this.state = 842; + this.match(TrinoSqlParser.KW_GRANT); + this.state = 853; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 58, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 75, this.context) ) { case 1: { - this.state = 653; - this.match(TrinoSqlParser.KW_ADMIN); - this.state = 654; - this.match(TrinoSqlParser.KW_OPTION); - this.state = 655; - this.match(TrinoSqlParser.KW_FOR); + { + this.state = 843; + this.privilegeOrRole(); + this.state = 848; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 844; + this.match(TrinoSqlParser.T__2); + this.state = 845; + this.privilegeOrRole(); + } + } + this.state = 850; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + break; + case 2: + { + this.state = 851; + this.match(TrinoSqlParser.KW_ALL); + this.state = 852; + this.match(TrinoSqlParser.KW_PRIVILEGES); } break; } - this.state = 658; - this.roles(); - this.state = 659; - this.match(TrinoSqlParser.KW_FROM); - this.state = 660; + this.state = 855; + this.match(TrinoSqlParser.KW_ON); + this.state = 856; + this.grantObject(); + this.state = 857; + this.match(TrinoSqlParser.KW_TO); + this.state = 858; this.principal(); - this.state = 665; + this.state = 862; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 76, this.context) ) { + case 1: { + this.state = 859; + this.match(TrinoSqlParser.KW_WITH); + this.state = 860; + this.match(TrinoSqlParser.KW_GRANT); + this.state = 861; + this.match(TrinoSqlParser.KW_OPTION); + } + break; + } + } + break; + case 44: + localContext = new RevokeRolesContext(localContext); + this.enterOuterAlt(localContext, 44); + { + this.state = 864; + this.match(TrinoSqlParser.KW_REVOKE); + this.state = 868; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 77, this.context) ) { + case 1: { - this.state = 661; + this.state = 865; + this.match(TrinoSqlParser.KW_ADMIN); + this.state = 866; + this.match(TrinoSqlParser.KW_OPTION); + this.state = 867; + this.match(TrinoSqlParser.KW_FOR); + } + break; + } + this.state = 870; + this.privilegeOrRole(); + this.state = 875; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 871; + this.match(TrinoSqlParser.T__2); + this.state = 872; + this.privilegeOrRole(); + } + } + this.state = 877; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 878; + this.match(TrinoSqlParser.KW_FROM); + this.state = 879; + this.principal(); + this.state = 884; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 880; this.match(TrinoSqlParser.T__2); - this.state = 662; + this.state = 881; this.principal(); } } - this.state = 667; + this.state = 886; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 671; + this.state = 890; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 92) { + if (_la === 111) { { - this.state = 668; + this.state = 887; this.match(TrinoSqlParser.KW_GRANTED); - this.state = 669; + this.state = 888; this.match(TrinoSqlParser.KW_BY); - this.state = 670; + this.state = 889; this.grantor(); } } - this.state = 675; + this.state = 894; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 103) { + if (_la === 122) { { - this.state = 673; + this.state = 892; this.match(TrinoSqlParser.KW_IN); - this.state = 674; - this.catalogName(); + this.state = 893; + (localContext as RevokeRolesContext)._catalog = this.catalogRef(); } } } break; - case 37: - localContext = new SetRoleContext(localContext); - this.enterOuterAlt(localContext, 37); + case 45: + localContext = new RevokePrivilegesContext(localContext); + this.enterOuterAlt(localContext, 45); { - this.state = 677; - this.match(TrinoSqlParser.KW_SET); - this.state = 678; - this.match(TrinoSqlParser.KW_ROLE); - this.state = 682; + this.state = 896; + this.match(TrinoSqlParser.KW_REVOKE); + this.state = 900; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 62, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 82, this.context) ) { case 1: { - this.state = 679; - this.match(TrinoSqlParser.KW_ALL); - } - break; - case 2: - { - this.state = 680; - this.match(TrinoSqlParser.KW_NONE); - } - break; - case 3: - { - this.state = 681; - (localContext as SetRoleContext)._role = this.identifier(); + this.state = 897; + this.match(TrinoSqlParser.KW_GRANT); + this.state = 898; + this.match(TrinoSqlParser.KW_OPTION); + this.state = 899; + this.match(TrinoSqlParser.KW_FOR); } break; } - this.state = 686; + this.state = 912; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 103) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 84, this.context) ) { + case 1: { - this.state = 684; - this.match(TrinoSqlParser.KW_IN); - this.state = 685; - this.catalogName(); - } - } - - } - break; - case 38: - localContext = new GrantContext(localContext); - this.enterOuterAlt(localContext, 38); - { - this.state = 688; - this.match(TrinoSqlParser.KW_GRANT); - this.state = 699; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_DELETE: - case TrinoSqlParser.KW_INSERT: - case TrinoSqlParser.KW_SELECT: - case TrinoSqlParser.KW_UPDATE: { - this.state = 689; - this.privilege(); - this.state = 694; + this.state = 902; + this.privilegeOrRole(); + this.state = 907; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 690; + this.state = 903; this.match(TrinoSqlParser.T__2); - this.state = 691; - this.privilege(); + this.state = 904; + this.privilegeOrRole(); } } - this.state = 696; + this.state = 909; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } + } break; - case TrinoSqlParser.KW_ALL: + case 2: { - this.state = 697; + this.state = 910; this.match(TrinoSqlParser.KW_ALL); - this.state = 698; + this.state = 911; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; - default: - throw new antlr.NoViableAltException(this); } - this.state = 701; + this.state = 914; this.match(TrinoSqlParser.KW_ON); - this.state = 710; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 68, this.context) ) { - case 1: - { - this.state = 703; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 66, this.context) ) { - case 1: - { - this.state = 702; - this.match(TrinoSqlParser.KW_SCHEMA); - } - break; - } - this.state = 705; - this.schemaName(); - } - break; - case 2: - { - this.state = 707; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 212) { - { - this.state = 706; - this.match(TrinoSqlParser.KW_TABLE); - } - } - - this.state = 709; - this.tableName(); - } - break; - } - this.state = 712; - this.match(TrinoSqlParser.KW_TO); - this.state = 713; - (localContext as GrantContext)._grantee = this.principal(); - this.state = 717; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 69, this.context) ) { - case 1: - { - this.state = 714; - this.match(TrinoSqlParser.KW_WITH); - this.state = 715; - this.match(TrinoSqlParser.KW_GRANT); - this.state = 716; - this.match(TrinoSqlParser.KW_OPTION); - } - break; - } + this.state = 915; + this.grantObject(); + this.state = 916; + this.match(TrinoSqlParser.KW_FROM); + this.state = 917; + (localContext as RevokePrivilegesContext)._grantee = this.principal(); } break; - case 39: + case 46: localContext = new DenyContext(localContext); - this.enterOuterAlt(localContext, 39); + this.enterOuterAlt(localContext, 46); { - this.state = 719; + this.state = 919; this.match(TrinoSqlParser.KW_DENY); - this.state = 730; + this.state = 930; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_DELETE: - case TrinoSqlParser.KW_INSERT: - case TrinoSqlParser.KW_SELECT: - case TrinoSqlParser.KW_UPDATE: + switch (this.interpreter.adaptivePredict(this.tokenStream, 86, this.context) ) { + case 1: { - this.state = 720; + this.state = 920; this.privilege(); - this.state = 725; + this.state = 925; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 721; + this.state = 921; this.match(TrinoSqlParser.T__2); - this.state = 722; + this.state = 922; this.privilege(); } } - this.state = 727; + this.state = 927; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; - case TrinoSqlParser.KW_ALL: + case 2: { - this.state = 728; + this.state = 928; this.match(TrinoSqlParser.KW_ALL); - this.state = 729; + this.state = 929; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; - default: - throw new antlr.NoViableAltException(this); } - this.state = 732; + this.state = 932; this.match(TrinoSqlParser.KW_ON); - this.state = 741; + this.state = 933; + this.grantObject(); + this.state = 934; + this.match(TrinoSqlParser.KW_TO); + this.state = 935; + (localContext as DenyContext)._grantee = this.principal(); + } + break; + case 47: + localContext = new SetRoleContext(localContext); + this.enterOuterAlt(localContext, 47); + { + this.state = 937; + this.match(TrinoSqlParser.KW_SET); + this.state = 938; + this.match(TrinoSqlParser.KW_ROLE); + this.state = 942; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 74, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 87, this.context) ) { case 1: { - this.state = 734; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 72, this.context) ) { - case 1: - { - this.state = 733; - this.match(TrinoSqlParser.KW_SCHEMA); - } - break; - } - this.state = 736; - this.schemaName(); + this.state = 939; + this.match(TrinoSqlParser.KW_ALL); } break; case 2: { - this.state = 738; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 212) { - { - this.state = 737; - this.match(TrinoSqlParser.KW_TABLE); - } + this.state = 940; + this.match(TrinoSqlParser.KW_NONE); } - - this.state = 740; - this.tableName(); + break; + case 3: + { + this.state = 941; + (localContext as SetRoleContext)._role = this.identifier(); } break; } - this.state = 743; - this.match(TrinoSqlParser.KW_TO); - this.state = 744; - (localContext as DenyContext)._grantee = this.principal(); + this.state = 946; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 122) { + { + this.state = 944; + this.match(TrinoSqlParser.KW_IN); + this.state = 945; + (localContext as SetRoleContext)._catalog = this.catalogRef(); + } + } + } break; - case 40: - localContext = new RevokeContext(localContext); - this.enterOuterAlt(localContext, 40); + case 48: + localContext = new ShowGrantsContext(localContext); + this.enterOuterAlt(localContext, 48); { - this.state = 746; - this.match(TrinoSqlParser.KW_REVOKE); - this.state = 750; + this.state = 948; + this.match(TrinoSqlParser.KW_SHOW); + this.state = 949; + this.match(TrinoSqlParser.KW_GRANTS); + this.state = 952; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 91) { + if (_la === 190) { { - this.state = 747; - this.match(TrinoSqlParser.KW_GRANT); - this.state = 748; - this.match(TrinoSqlParser.KW_OPTION); - this.state = 749; - this.match(TrinoSqlParser.KW_FOR); + this.state = 950; + this.match(TrinoSqlParser.KW_ON); + this.state = 951; + this.grantObject(); } } - this.state = 762; + } + break; + case 49: + localContext = new ExplainContext(localContext); + this.enterOuterAlt(localContext, 49); + { + this.state = 954; + this.match(TrinoSqlParser.KW_EXPLAIN); + this.state = 966; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_DELETE: - case TrinoSqlParser.KW_INSERT: - case TrinoSqlParser.KW_SELECT: - case TrinoSqlParser.KW_UPDATE: + switch (this.interpreter.adaptivePredict(this.tokenStream, 91, this.context) ) { + case 1: { - this.state = 752; - this.privilege(); - this.state = 757; + this.state = 955; + this.match(TrinoSqlParser.T__0); + this.state = 956; + this.explainOption(); + this.state = 961; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 753; + this.state = 957; this.match(TrinoSqlParser.T__2); - this.state = 754; - this.privilege(); + this.state = 958; + this.explainOption(); } } - this.state = 759; + this.state = 963; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } + this.state = 964; + this.match(TrinoSqlParser.T__1); } break; - case TrinoSqlParser.KW_ALL: + } + this.state = 968; + this.statement(); + } + break; + case 50: + localContext = new ExplainAnalyzeContext(localContext); + this.enterOuterAlt(localContext, 50); + { + this.state = 969; + this.match(TrinoSqlParser.KW_EXPLAIN); + this.state = 970; + this.match(TrinoSqlParser.KW_ANALYZE); + this.state = 972; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 297) { { - this.state = 760; - this.match(TrinoSqlParser.KW_ALL); - this.state = 761; - this.match(TrinoSqlParser.KW_PRIVILEGES); - } - break; - default: - throw new antlr.NoViableAltException(this); - } - this.state = 764; - this.match(TrinoSqlParser.KW_ON); - this.state = 773; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 80, this.context) ) { - case 1: - { - this.state = 766; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 78, this.context) ) { - case 1: - { - this.state = 765; - this.match(TrinoSqlParser.KW_SCHEMA); - } - break; - } - this.state = 768; - this.schemaName(); - } - break; - case 2: - { - this.state = 770; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 212) { - { - this.state = 769; - this.match(TrinoSqlParser.KW_TABLE); - } - } - - this.state = 772; - this.tableName(); - } - break; - } - this.state = 775; - this.match(TrinoSqlParser.KW_FROM); - this.state = 776; - (localContext as RevokeContext)._grantee = this.principal(); - } - break; - case 41: - localContext = new ShowGrantsContext(localContext); - this.enterOuterAlt(localContext, 41); - { - this.state = 777; - this.match(TrinoSqlParser.KW_SHOW); - this.state = 778; - this.match(TrinoSqlParser.KW_GRANTS); - this.state = 784; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 153) { - { - this.state = 779; - this.match(TrinoSqlParser.KW_ON); - this.state = 781; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 212) { - { - this.state = 780; - this.match(TrinoSqlParser.KW_TABLE); - } - } - - this.state = 783; - this.tableName(); - } - } - - } - break; - case 42: - localContext = new ExplainContext(localContext); - this.enterOuterAlt(localContext, 42); - { - this.state = 786; - this.match(TrinoSqlParser.KW_EXPLAIN); - this.state = 788; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 83, this.context) ) { - case 1: - { - this.state = 787; - this.match(TrinoSqlParser.KW_ANALYZE); - } - break; - } - this.state = 791; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 238) { - { - this.state = 790; - this.match(TrinoSqlParser.KW_VERBOSE); + this.state = 971; + this.match(TrinoSqlParser.KW_VERBOSE); } } - this.state = 804; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 86, this.context) ) { - case 1: - { - this.state = 793; - this.match(TrinoSqlParser.T__0); - this.state = 794; - this.explainOption(); - this.state = 799; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 795; - this.match(TrinoSqlParser.T__2); - this.state = 796; - this.explainOption(); - } - } - this.state = 801; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 802; - this.match(TrinoSqlParser.T__1); - } - break; - } - this.state = 806; + this.state = 974; this.statement(); } break; - case 43: + case 51: localContext = new ShowCreateTableContext(localContext); - this.enterOuterAlt(localContext, 43); + this.enterOuterAlt(localContext, 51); { - this.state = 807; + this.state = 975; this.match(TrinoSqlParser.KW_SHOW); - this.state = 808; + this.state = 976; this.match(TrinoSqlParser.KW_CREATE); - this.state = 809; + this.state = 977; this.match(TrinoSqlParser.KW_TABLE); - this.state = 810; - this.tableName(); + this.state = 978; + this.tableRef(); } break; - case 44: + case 52: localContext = new ShowCreateSchemaContext(localContext); - this.enterOuterAlt(localContext, 44); + this.enterOuterAlt(localContext, 52); { - this.state = 811; + this.state = 979; this.match(TrinoSqlParser.KW_SHOW); - this.state = 812; + this.state = 980; this.match(TrinoSqlParser.KW_CREATE); - this.state = 813; + this.state = 981; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 814; - this.schemaName(); + this.state = 982; + this.schemaRef(); } break; - case 45: + case 53: localContext = new ShowCreateViewContext(localContext); - this.enterOuterAlt(localContext, 45); + this.enterOuterAlt(localContext, 53); { - this.state = 815; + this.state = 983; this.match(TrinoSqlParser.KW_SHOW); - this.state = 816; + this.state = 984; this.match(TrinoSqlParser.KW_CREATE); - this.state = 817; + this.state = 985; this.match(TrinoSqlParser.KW_VIEW); - this.state = 818; - this.viewName(); + this.state = 986; + this.viewRef(); } break; - case 46: + case 54: localContext = new ShowCreateMaterializedViewContext(localContext); - this.enterOuterAlt(localContext, 46); + this.enterOuterAlt(localContext, 54); { - this.state = 819; + this.state = 987; this.match(TrinoSqlParser.KW_SHOW); - this.state = 820; + this.state = 988; this.match(TrinoSqlParser.KW_CREATE); - this.state = 821; + this.state = 989; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 822; + this.state = 990; this.match(TrinoSqlParser.KW_VIEW); - this.state = 823; - this.viewName(); + this.state = 991; + this.viewRef(); } break; - case 47: + case 55: + localContext = new ShowCreateFunctionContext(localContext); + this.enterOuterAlt(localContext, 55); + { + this.state = 992; + this.match(TrinoSqlParser.KW_SHOW); + this.state = 993; + this.match(TrinoSqlParser.KW_CREATE); + this.state = 994; + this.match(TrinoSqlParser.KW_FUNCTION); + this.state = 995; + this.functionName(); + } + break; + case 56: localContext = new ShowTablesContext(localContext); - this.enterOuterAlt(localContext, 47); + this.enterOuterAlt(localContext, 56); { - this.state = 824; + this.state = 996; this.match(TrinoSqlParser.KW_SHOW); - this.state = 825; + this.state = 997; this.match(TrinoSqlParser.KW_TABLES); - this.state = 828; + this.state = 1000; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 88 || _la === 103) { + if (_la === 105 || _la === 122) { { - this.state = 826; + this.state = 998; _la = this.tokenStream.LA(1); - if(!(_la === 88 || _la === 103)) { + if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 827; - this.schemaName(); + this.state = 999; + this.schemaRef(); } } - this.state = 836; + this.state = 1008; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 122) { + if (_la === 154) { { - this.state = 830; + this.state = 1002; this.match(TrinoSqlParser.KW_LIKE); - this.state = 831; + this.state = 1003; (localContext as ShowTablesContext)._pattern = this.string_(); - this.state = 834; + this.state = 1006; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 73) { + if (_la === 90) { { - this.state = 832; + this.state = 1004; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 833; + this.state = 1005; (localContext as ShowTablesContext)._escape = this.string_(); } } @@ -2656,50 +3018,50 @@ export class TrinoSqlParser extends SQLParserBase { } break; - case 48: + case 57: localContext = new ShowSchemasContext(localContext); - this.enterOuterAlt(localContext, 48); + this.enterOuterAlt(localContext, 57); { - this.state = 838; + this.state = 1010; this.match(TrinoSqlParser.KW_SHOW); - this.state = 839; + this.state = 1011; this.match(TrinoSqlParser.KW_SCHEMAS); - this.state = 842; + this.state = 1014; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 88 || _la === 103) { + if (_la === 105 || _la === 122) { { - this.state = 840; + this.state = 1012; _la = this.tokenStream.LA(1); - if(!(_la === 88 || _la === 103)) { + if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 841; - this.catalogName(); + this.state = 1013; + this.catalogRef(); } } - this.state = 850; + this.state = 1022; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 122) { + if (_la === 154) { { - this.state = 844; + this.state = 1016; this.match(TrinoSqlParser.KW_LIKE); - this.state = 845; + this.state = 1017; (localContext as ShowSchemasContext)._pattern = this.string_(); - this.state = 848; + this.state = 1020; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 73) { + if (_la === 90) { { - this.state = 846; + this.state = 1018; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 847; + this.state = 1019; (localContext as ShowSchemasContext)._escape = this.string_(); } } @@ -2709,31 +3071,31 @@ export class TrinoSqlParser extends SQLParserBase { } break; - case 49: + case 58: localContext = new ShowCatalogsContext(localContext); - this.enterOuterAlt(localContext, 49); + this.enterOuterAlt(localContext, 58); { - this.state = 852; + this.state = 1024; this.match(TrinoSqlParser.KW_SHOW); - this.state = 853; + this.state = 1025; this.match(TrinoSqlParser.KW_CATALOGS); - this.state = 860; + this.state = 1032; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 122) { + if (_la === 154) { { - this.state = 854; + this.state = 1026; this.match(TrinoSqlParser.KW_LIKE); - this.state = 855; + this.state = 1027; (localContext as ShowCatalogsContext)._pattern = this.string_(); - this.state = 858; + this.state = 1030; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 73) { + if (_la === 90) { { - this.state = 856; + this.state = 1028; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 857; + this.state = 1029; (localContext as ShowCatalogsContext)._escape = this.string_(); } } @@ -2743,50 +3105,42 @@ export class TrinoSqlParser extends SQLParserBase { } break; - case 50: + case 59: localContext = new ShowColumnsContext(localContext); - this.enterOuterAlt(localContext, 50); + this.enterOuterAlt(localContext, 59); { - this.state = 862; + this.state = 1034; this.match(TrinoSqlParser.KW_SHOW); - this.state = 863; + this.state = 1035; this.match(TrinoSqlParser.KW_COLUMNS); - this.state = 864; + this.state = 1036; _la = this.tokenStream.LA(1); - if(!(_la === 88 || _la === 103)) { + if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 866; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 95, this.context) ) { - case 1: - { - this.state = 865; - this.tableOrViewName(); - } - break; - } - this.state = 874; + this.state = 1037; + this.tableOrViewName(); + this.state = 1044; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 122) { + if (_la === 154) { { - this.state = 868; + this.state = 1038; this.match(TrinoSqlParser.KW_LIKE); - this.state = 869; + this.state = 1039; (localContext as ShowColumnsContext)._pattern = this.string_(); - this.state = 872; + this.state = 1042; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 73) { + if (_la === 90) { { - this.state = 870; + this.state = 1040; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 871; + this.state = 1041; (localContext as ShowColumnsContext)._escape = this.string_(); } } @@ -2796,155 +3150,174 @@ export class TrinoSqlParser extends SQLParserBase { } break; - case 51: + case 60: localContext = new ShowStatsContext(localContext); - this.enterOuterAlt(localContext, 51); + this.enterOuterAlt(localContext, 60); { - this.state = 876; + this.state = 1046; this.match(TrinoSqlParser.KW_SHOW); - this.state = 877; + this.state = 1047; this.match(TrinoSqlParser.KW_STATS); - this.state = 878; + this.state = 1048; this.match(TrinoSqlParser.KW_FOR); - this.state = 879; - this.tableName(); + this.state = 1049; + this.tableOrViewName(); } break; - case 52: + case 61: localContext = new ShowStatsForQueryContext(localContext); - this.enterOuterAlt(localContext, 52); + this.enterOuterAlt(localContext, 61); { - this.state = 880; + this.state = 1050; this.match(TrinoSqlParser.KW_SHOW); - this.state = 881; + this.state = 1051; this.match(TrinoSqlParser.KW_STATS); - this.state = 882; + this.state = 1052; this.match(TrinoSqlParser.KW_FOR); - this.state = 883; + this.state = 1053; this.match(TrinoSqlParser.T__0); - this.state = 884; - this.query(); - this.state = 885; + this.state = 1054; + this.rootQuery(); + this.state = 1055; this.match(TrinoSqlParser.T__1); } break; - case 53: + case 62: localContext = new ShowRolesContext(localContext); - this.enterOuterAlt(localContext, 53); + this.enterOuterAlt(localContext, 62); { - this.state = 887; + this.state = 1057; this.match(TrinoSqlParser.KW_SHOW); - this.state = 889; + this.state = 1059; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 47) { + if (_la === 56) { { - this.state = 888; + this.state = 1058; this.match(TrinoSqlParser.KW_CURRENT); } } - this.state = 891; + this.state = 1061; this.match(TrinoSqlParser.KW_ROLES); - this.state = 894; + this.state = 1064; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 88 || _la === 103) { + if (_la === 105 || _la === 122) { { - this.state = 892; + this.state = 1062; _la = this.tokenStream.LA(1); - if(!(_la === 88 || _la === 103)) { + if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 893; - this.identifier(); + this.state = 1063; + this.catalogRef(); } } } break; - case 54: + case 63: localContext = new ShowRoleGrantsContext(localContext); - this.enterOuterAlt(localContext, 54); + this.enterOuterAlt(localContext, 63); { - this.state = 896; + this.state = 1066; this.match(TrinoSqlParser.KW_SHOW); - this.state = 897; + this.state = 1067; this.match(TrinoSqlParser.KW_ROLE); - this.state = 898; + this.state = 1068; this.match(TrinoSqlParser.KW_GRANTS); - this.state = 901; + this.state = 1071; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 88 || _la === 103) { + if (_la === 105 || _la === 122) { { - this.state = 899; + this.state = 1069; _la = this.tokenStream.LA(1); - if(!(_la === 88 || _la === 103)) { + if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 900; - this.identifier(); + this.state = 1070; + this.catalogRef(); } } } break; - case 55: + case 64: localContext = new ShowColumnsContext(localContext); - this.enterOuterAlt(localContext, 55); + this.enterOuterAlt(localContext, 64); { - this.state = 903; + this.state = 1073; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 904; + this.state = 1074; this.tableOrViewName(); } break; - case 56: + case 65: localContext = new ShowColumnsContext(localContext); - this.enterOuterAlt(localContext, 56); + this.enterOuterAlt(localContext, 65); { - this.state = 905; + this.state = 1075; this.match(TrinoSqlParser.KW_DESC); - this.state = 906; + this.state = 1076; this.tableOrViewName(); } break; - case 57: + case 66: localContext = new ShowFunctionsContext(localContext); - this.enterOuterAlt(localContext, 57); + this.enterOuterAlt(localContext, 66); { - this.state = 907; + this.state = 1077; this.match(TrinoSqlParser.KW_SHOW); - this.state = 908; + this.state = 1078; this.match(TrinoSqlParser.KW_FUNCTIONS); - this.state = 915; + this.state = 1081; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 122) { + if (_la === 105 || _la === 122) { { - this.state = 909; - this.match(TrinoSqlParser.KW_LIKE); - this.state = 910; - (localContext as ShowFunctionsContext)._pattern = this.string_(); - this.state = 913; - this.errorHandler.sync(this); + this.state = 1079; _la = this.tokenStream.LA(1); - if (_la === 73) { - { - this.state = 911; - this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 912; - (localContext as ShowFunctionsContext)._escape = this.string_(); - } + if(!(_la === 105 || _la === 122)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1080; + this.schemaRef(); + } + } + + this.state = 1089; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 154) { + { + this.state = 1083; + this.match(TrinoSqlParser.KW_LIKE); + this.state = 1084; + (localContext as ShowFunctionsContext)._pattern = this.string_(); + this.state = 1087; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 90) { + { + this.state = 1085; + this.match(TrinoSqlParser.KW_ESCAPE); + this.state = 1086; + (localContext as ShowFunctionsContext)._escape = this.string_(); + } } } @@ -2952,31 +3325,31 @@ export class TrinoSqlParser extends SQLParserBase { } break; - case 58: + case 67: localContext = new ShowSessionContext(localContext); - this.enterOuterAlt(localContext, 58); + this.enterOuterAlt(localContext, 67); { - this.state = 917; + this.state = 1091; this.match(TrinoSqlParser.KW_SHOW); - this.state = 918; + this.state = 1092; this.match(TrinoSqlParser.KW_SESSION); - this.state = 925; + this.state = 1099; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 122) { + if (_la === 154) { { - this.state = 919; + this.state = 1093; this.match(TrinoSqlParser.KW_LIKE); - this.state = 920; + this.state = 1094; (localContext as ShowSessionContext)._pattern = this.string_(); - this.state = 923; + this.state = 1097; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 73) { + if (_la === 90) { { - this.state = 921; + this.state = 1095; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 922; + this.state = 1096; (localContext as ShowSessionContext)._escape = this.string_(); } } @@ -2986,62 +3359,88 @@ export class TrinoSqlParser extends SQLParserBase { } break; - case 59: + case 68: + localContext = new SetSessionAuthorizationContext(localContext); + this.enterOuterAlt(localContext, 68); + { + this.state = 1101; + this.match(TrinoSqlParser.KW_SET); + this.state = 1102; + this.match(TrinoSqlParser.KW_SESSION); + this.state = 1103; + this.match(TrinoSqlParser.KW_AUTHORIZATION); + this.state = 1104; + this.authorizationUser(); + } + break; + case 69: + localContext = new ResetSessionAuthorizationContext(localContext); + this.enterOuterAlt(localContext, 69); + { + this.state = 1105; + this.match(TrinoSqlParser.KW_RESET); + this.state = 1106; + this.match(TrinoSqlParser.KW_SESSION); + this.state = 1107; + this.match(TrinoSqlParser.KW_AUTHORIZATION); + } + break; + case 70: localContext = new SetSessionContext(localContext); - this.enterOuterAlt(localContext, 59); + this.enterOuterAlt(localContext, 70); { - this.state = 927; + this.state = 1108; this.match(TrinoSqlParser.KW_SET); - this.state = 928; + this.state = 1109; this.match(TrinoSqlParser.KW_SESSION); - this.state = 929; + this.state = 1110; this.qualifiedName(); - this.state = 930; + this.state = 1111; this.match(TrinoSqlParser.EQ); - this.state = 931; + this.state = 1112; this.expression(); } break; - case 60: + case 71: localContext = new ResetSessionContext(localContext); - this.enterOuterAlt(localContext, 60); + this.enterOuterAlt(localContext, 71); { - this.state = 933; + this.state = 1114; this.match(TrinoSqlParser.KW_RESET); - this.state = 934; + this.state = 1115; this.match(TrinoSqlParser.KW_SESSION); - this.state = 935; + this.state = 1116; this.qualifiedName(); } break; - case 61: + case 72: localContext = new StartTransactionContext(localContext); - this.enterOuterAlt(localContext, 61); + this.enterOuterAlt(localContext, 72); { - this.state = 936; + this.state = 1117; this.match(TrinoSqlParser.KW_START); - this.state = 937; + this.state = 1118; this.match(TrinoSqlParser.KW_TRANSACTION); - this.state = 946; + this.state = 1127; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 115 || _la === 177) { + if (_la === 134 || _la === 220) { { - this.state = 938; + this.state = 1119; this.transactionMode(); - this.state = 943; + this.state = 1124; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 939; + this.state = 1120; this.match(TrinoSqlParser.T__2); - this.state = 940; + this.state = 1121; this.transactionMode(); } } - this.state = 945; + this.state = 1126; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3050,98 +3449,98 @@ export class TrinoSqlParser extends SQLParserBase { } break; - case 62: + case 73: localContext = new CommitContext(localContext); - this.enterOuterAlt(localContext, 62); + this.enterOuterAlt(localContext, 73); { - this.state = 948; + this.state = 1129; this.match(TrinoSqlParser.KW_COMMIT); - this.state = 950; + this.state = 1131; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 245) { + if (_la === 307) { { - this.state = 949; + this.state = 1130; this.match(TrinoSqlParser.KW_WORK); } } } break; - case 63: + case 74: localContext = new RollbackContext(localContext); - this.enterOuterAlt(localContext, 63); + this.enterOuterAlt(localContext, 74); { - this.state = 952; + this.state = 1133; this.match(TrinoSqlParser.KW_ROLLBACK); - this.state = 954; + this.state = 1135; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 245) { + if (_la === 307) { { - this.state = 953; + this.state = 1134; this.match(TrinoSqlParser.KW_WORK); } } } break; - case 64: + case 75: localContext = new PrepareContext(localContext); - this.enterOuterAlt(localContext, 64); + this.enterOuterAlt(localContext, 75); { - this.state = 956; + this.state = 1137; this.match(TrinoSqlParser.KW_PREPARE); - this.state = 957; + this.state = 1138; this.identifier(); - this.state = 958; + this.state = 1139; this.match(TrinoSqlParser.KW_FROM); - this.state = 959; + this.state = 1140; this.statement(); } break; - case 65: + case 76: localContext = new DeallocateContext(localContext); - this.enterOuterAlt(localContext, 65); + this.enterOuterAlt(localContext, 76); { - this.state = 961; + this.state = 1142; this.match(TrinoSqlParser.KW_DEALLOCATE); - this.state = 962; + this.state = 1143; this.match(TrinoSqlParser.KW_PREPARE); - this.state = 963; + this.state = 1144; this.identifier(); } break; - case 66: + case 77: localContext = new ExecuteContext(localContext); - this.enterOuterAlt(localContext, 66); + this.enterOuterAlt(localContext, 77); { - this.state = 964; + this.state = 1145; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 965; + this.state = 1146; this.identifier(); - this.state = 975; + this.state = 1156; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 235) { + if (_la === 290) { { - this.state = 966; + this.state = 1147; this.match(TrinoSqlParser.KW_USING); - this.state = 967; + this.state = 1148; this.expression(); - this.state = 972; + this.state = 1153; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 968; + this.state = 1149; this.match(TrinoSqlParser.T__2); - this.state = 969; + this.state = 1150; this.expression(); } } - this.state = 974; + this.state = 1155; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3150,199 +3549,316 @@ export class TrinoSqlParser extends SQLParserBase { } break; - case 67: + case 78: + localContext = new ExecuteImmediateContext(localContext); + this.enterOuterAlt(localContext, 78); + { + this.state = 1158; + this.match(TrinoSqlParser.KW_EXECUTE); + this.state = 1159; + this.match(TrinoSqlParser.KW_IMMEDIATE); + this.state = 1160; + this.string_(); + this.state = 1170; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 290) { + { + this.state = 1161; + this.match(TrinoSqlParser.KW_USING); + this.state = 1162; + this.expression(); + this.state = 1167; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 1163; + this.match(TrinoSqlParser.T__2); + this.state = 1164; + this.expression(); + } + } + this.state = 1169; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + + } + break; + case 79: localContext = new DescribeInputContext(localContext); - this.enterOuterAlt(localContext, 67); + this.enterOuterAlt(localContext, 79); { - this.state = 977; + this.state = 1172; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 978; + this.state = 1173; this.match(TrinoSqlParser.KW_INPUT); - this.state = 979; + this.state = 1174; this.identifier(); } break; - case 68: + case 80: localContext = new DescribeOutputContext(localContext); - this.enterOuterAlt(localContext, 68); + this.enterOuterAlt(localContext, 80); { - this.state = 980; + this.state = 1175; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 981; + this.state = 1176; this.match(TrinoSqlParser.KW_OUTPUT); - this.state = 982; + this.state = 1177; this.identifier(); } break; - case 69: + case 81: localContext = new SetPathContext(localContext); - this.enterOuterAlt(localContext, 69); + this.enterOuterAlt(localContext, 81); { - this.state = 983; + this.state = 1178; this.match(TrinoSqlParser.KW_SET); - this.state = 984; + this.state = 1179; this.match(TrinoSqlParser.KW_PATH); - this.state = 985; + this.state = 1180; this.pathSpecification(); } break; - case 70: + case 82: localContext = new SetTimeZoneContext(localContext); - this.enterOuterAlt(localContext, 70); + this.enterOuterAlt(localContext, 82); { - this.state = 986; + this.state = 1181; this.match(TrinoSqlParser.KW_SET); - this.state = 987; + this.state = 1182; this.match(TrinoSqlParser.KW_TIME); - this.state = 988; + this.state = 1183; this.match(TrinoSqlParser.KW_ZONE); - this.state = 991; + this.state = 1186; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 111, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 119, this.context) ) { case 1: { - this.state = 989; + this.state = 1184; this.match(TrinoSqlParser.KW_LOCAL); } break; case 2: { - this.state = 990; + this.state = 1185; this.expression(); } break; } } break; - case 71: + case 83: localContext = new UpdateContext(localContext); - this.enterOuterAlt(localContext, 71); + this.enterOuterAlt(localContext, 83); { - this.state = 993; + this.state = 1188; this.match(TrinoSqlParser.KW_UPDATE); - this.state = 994; - this.tableName(); - this.state = 995; + this.state = 1189; + this.tableRef(); + this.state = 1190; this.match(TrinoSqlParser.KW_SET); - this.state = 996; + this.state = 1191; this.updateAssignment(); - this.state = 1001; + this.state = 1196; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 997; + this.state = 1192; this.match(TrinoSqlParser.T__2); - this.state = 998; + this.state = 1193; this.updateAssignment(); } } - this.state = 1003; + this.state = 1198; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1006; + this.state = 1201; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 241) { + if (_la === 301) { { - this.state = 1004; + this.state = 1199; this.match(TrinoSqlParser.KW_WHERE); - this.state = 1005; + this.state = 1200; (localContext as UpdateContext)._where = this.booleanExpression(0); } } } break; - case 72: + case 84: localContext = new MergeContext(localContext); - this.enterOuterAlt(localContext, 72); + this.enterOuterAlt(localContext, 84); { - this.state = 1008; + this.state = 1203; this.match(TrinoSqlParser.KW_MERGE); - this.state = 1009; + this.state = 1204; this.match(TrinoSqlParser.KW_INTO); - this.state = 1010; - this.tableName(); - this.state = 1015; + this.state = 1205; + this.tableRef(); + this.state = 1210; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (((((_la - 17)) & ~0x1F) === 0 && ((1 << (_la - 17)) & 1140015023) !== 0) || ((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 3192429231) !== 0) || ((((_la - 90)) & ~0x1F) === 0 && ((1 << (_la - 90)) & 3134381375) !== 0) || ((((_la - 123)) & ~0x1F) === 0 && ((1 << (_la - 123)) & 3162472435) !== 0) || ((((_la - 155)) & ~0x1F) === 0 && ((1 << (_la - 155)) & 4286316499) !== 0) || ((((_la - 188)) & ~0x1F) === 0 && ((1 << (_la - 188)) & 4009750519) !== 0) || ((((_la - 220)) & ~0x1F) === 0 && ((1 << (_la - 220)) & 525170103) !== 0) || ((((_la - 268)) & ~0x1F) === 0 && ((1 << (_la - 268)) & 15) !== 0)) { + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282056543) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - this.state = 1012; + this.state = 1207; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 26) { + if (_la === 28) { { - this.state = 1011; + this.state = 1206; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1014; + this.state = 1209; this.identifier(); } } - this.state = 1017; + this.state = 1212; this.match(TrinoSqlParser.KW_USING); - this.state = 1018; + this.state = 1213; this.relation(0); - this.state = 1019; + this.state = 1214; this.match(TrinoSqlParser.KW_ON); - this.state = 1020; + this.state = 1215; this.expression(); - this.state = 1022; + this.state = 1217; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 1021; + this.state = 1216; this.mergeCase(); } } - this.state = 1024; + this.state = 1219; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - } while (_la === 240); + } while (_la === 300); } break; - case 73: + case 85: localContext = new ShowTableCommentContext(localContext); - this.enterOuterAlt(localContext, 73); + this.enterOuterAlt(localContext, 85); { - this.state = 1026; + this.state = 1221; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1027; + this.state = 1222; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1028; + this.state = 1223; this.match(TrinoSqlParser.KW_ON); - this.state = 1029; + this.state = 1224; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1030; - this.tableName(); + this.state = 1225; + this.tableRef(); } break; - case 74: + case 86: localContext = new ShowColumnCommentContext(localContext); - this.enterOuterAlt(localContext, 74); + this.enterOuterAlt(localContext, 86); { - this.state = 1031; + this.state = 1226; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1032; + this.state = 1227; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1033; + this.state = 1228; this.match(TrinoSqlParser.KW_ON); - this.state = 1034; + this.state = 1229; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 1035; - this.columnName(); + this.state = 1230; + this.columnRef(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public rootQuery(): RootQueryContext { + let localContext = new RootQueryContext(this.context, this.state); + this.enterRule(localContext, 18, TrinoSqlParser.RULE_rootQuery); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1234; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 126, this.context) ) { + case 1: + { + this.state = 1233; + this.withFunction(); } break; } + this.state = 1236; + this.query(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public withFunction(): WithFunctionContext { + let localContext = new WithFunctionContext(this.context, this.state); + this.enterRule(localContext, 20, TrinoSqlParser.RULE_withFunction); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1238; + this.match(TrinoSqlParser.KW_WITH); + this.state = 1239; + this.functionSpecification(); + this.state = 1244; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 1240; + this.match(TrinoSqlParser.T__2); + this.state = 1241; + this.functionSpecification(); + } + } + this.state = 1246; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } } catch (re) { if (re instanceof antlr.RecognitionException) { @@ -3360,23 +3876,23 @@ export class TrinoSqlParser extends SQLParserBase { } public query(): QueryContext { let localContext = new QueryContext(this.context, this.state); - this.enterRule(localContext, 18, TrinoSqlParser.RULE_query); + this.enterRule(localContext, 22, TrinoSqlParser.RULE_query); let _la: number; try { localContext = new QueryStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1039; + this.state = 1248; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 243) { + if (_la === 304) { { - this.state = 1038; + this.state = 1247; this.with_(); } } - this.state = 1041; + this.state = 1250; this.queryNoWith(); } } @@ -3396,38 +3912,38 @@ export class TrinoSqlParser extends SQLParserBase { } public with_(): WithContext { let localContext = new WithContext(this.context, this.state); - this.enterRule(localContext, 20, TrinoSqlParser.RULE_with); + this.enterRule(localContext, 24, TrinoSqlParser.RULE_with); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1043; + this.state = 1252; this.match(TrinoSqlParser.KW_WITH); - this.state = 1045; + this.state = 1254; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 178) { + if (_la === 221) { { - this.state = 1044; + this.state = 1253; this.match(TrinoSqlParser.KW_RECURSIVE); } } - this.state = 1047; + this.state = 1256; this.namedQuery(); - this.state = 1052; + this.state = 1261; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1048; + this.state = 1257; this.match(TrinoSqlParser.T__2); - this.state = 1049; + this.state = 1258; this.namedQuery(); } } - this.state = 1054; + this.state = 1263; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3449,11 +3965,12 @@ export class TrinoSqlParser extends SQLParserBase { } public tableElement(): TableElementContext { let localContext = new TableElementContext(this.context, this.state); - this.enterRule(localContext, 22, TrinoSqlParser.RULE_tableElement); + this.enterRule(localContext, 26, TrinoSqlParser.RULE_tableElement); try { - this.state = 1057; + this.state = 1266; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ABSENT: case TrinoSqlParser.KW_ADD: case TrinoSqlParser.KW_ADMIN: case TrinoSqlParser.KW_AFTER: @@ -3464,26 +3981,41 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ASC: case TrinoSqlParser.KW_AT: case TrinoSqlParser.KW_AUTHORIZATION: + case TrinoSqlParser.KW_BEGIN: case TrinoSqlParser.KW_BERNOULLI: + case TrinoSqlParser.KW_BOTH: case TrinoSqlParser.KW_CALL: + case TrinoSqlParser.KW_CALLED: case TrinoSqlParser.KW_CASCADE: + case TrinoSqlParser.KW_CATALOG: case TrinoSqlParser.KW_CATALOGS: case TrinoSqlParser.KW_COLUMN: case TrinoSqlParser.KW_COLUMNS: case TrinoSqlParser.KW_COMMENT: case TrinoSqlParser.KW_COMMIT: case TrinoSqlParser.KW_COMMITTED: + case TrinoSqlParser.KW_CONDITIONAL: + case TrinoSqlParser.KW_COUNT: + case TrinoSqlParser.KW_COPARTITION: case TrinoSqlParser.KW_CURRENT: case TrinoSqlParser.KW_DATA: case TrinoSqlParser.KW_DATE: case TrinoSqlParser.KW_DAY: + case TrinoSqlParser.KW_DECLARE: case TrinoSqlParser.KW_DEFAULT: + case TrinoSqlParser.KW_DEFINE: case TrinoSqlParser.KW_DEFINER: + case TrinoSqlParser.KW_DENY: case TrinoSqlParser.KW_DESC: - case TrinoSqlParser.KW_DEFINE: + case TrinoSqlParser.KW_DESCRIPTOR: + case TrinoSqlParser.KW_DETERMINISTIC: case TrinoSqlParser.KW_DISTRIBUTED: + case TrinoSqlParser.KW_DO: case TrinoSqlParser.KW_DOUBLE: case TrinoSqlParser.KW_EMPTY: + case TrinoSqlParser.KW_ELSEIF: + case TrinoSqlParser.KW_ENCODING: + case TrinoSqlParser.KW_ERROR: case TrinoSqlParser.KW_EXCLUDING: case TrinoSqlParser.KW_EXPLAIN: case TrinoSqlParser.KW_FETCH: @@ -3492,16 +4024,18 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_FIRST: case TrinoSqlParser.KW_FOLLOWING: case TrinoSqlParser.KW_FORMAT: + case TrinoSqlParser.KW_FUNCTION: case TrinoSqlParser.KW_FUNCTIONS: + case TrinoSqlParser.KW_GRACE: case TrinoSqlParser.KW_GRANT: case TrinoSqlParser.KW_GRANTED: case TrinoSqlParser.KW_GRANTS: - case TrinoSqlParser.KW_DENY: case TrinoSqlParser.KW_GRAPHVIZ: case TrinoSqlParser.KW_GROUPS: case TrinoSqlParser.KW_HOUR: case TrinoSqlParser.KW_IF: case TrinoSqlParser.KW_IGNORE: + case TrinoSqlParser.KW_IMMEDIATE: case TrinoSqlParser.KW_INCLUDING: case TrinoSqlParser.KW_INITIAL: case TrinoSqlParser.KW_INPUT: @@ -3509,13 +4043,21 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_INVOKER: case TrinoSqlParser.KW_IO: case TrinoSqlParser.KW_ISOLATION: + case TrinoSqlParser.KW_ITERATE: case TrinoSqlParser.KW_JSON: + case TrinoSqlParser.KW_KEEP: + case TrinoSqlParser.KW_KEY: + case TrinoSqlParser.KW_KEYS: + case TrinoSqlParser.KW_LANGUAGE: case TrinoSqlParser.KW_LAST: case TrinoSqlParser.KW_LATERAL: + case TrinoSqlParser.KW_LEADING: + case TrinoSqlParser.KW_LEAVE: case TrinoSqlParser.KW_LEVEL: case TrinoSqlParser.KW_LIMIT: case TrinoSqlParser.KW_LOCAL: case TrinoSqlParser.KW_LOGICAL: + case TrinoSqlParser.KW_LOOP: case TrinoSqlParser.KW_MAP: case TrinoSqlParser.KW_MATCH: case TrinoSqlParser.KW_MATCHED: @@ -3526,6 +4068,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_MERGE: case TrinoSqlParser.KW_MINUTE: case TrinoSqlParser.KW_MONTH: + case TrinoSqlParser.KW_NESTED: case TrinoSqlParser.KW_NEXT: case TrinoSqlParser.KW_NFC: case TrinoSqlParser.KW_NFD: @@ -3535,6 +4078,8 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_NONE: case TrinoSqlParser.KW_NULLIF: case TrinoSqlParser.KW_NULLS: + case TrinoSqlParser.KW_OBJECT: + case TrinoSqlParser.KW_OF: case TrinoSqlParser.KW_OFFSET: case TrinoSqlParser.KW_OMIT: case TrinoSqlParser.KW_ONE: @@ -3543,27 +4088,37 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ORDINALITY: case TrinoSqlParser.KW_OUTPUT: case TrinoSqlParser.KW_OVER: + case TrinoSqlParser.KW_OVERFLOW: case TrinoSqlParser.KW_PARTITION: case TrinoSqlParser.KW_PARTITIONS: + case TrinoSqlParser.KW_PASSING: case TrinoSqlParser.KW_PAST: case TrinoSqlParser.KW_PATH: case TrinoSqlParser.KW_PATTERN: case TrinoSqlParser.KW_PER: + case TrinoSqlParser.KW_PERIOD: case TrinoSqlParser.KW_PERMUTE: + case TrinoSqlParser.KW_PLAN: case TrinoSqlParser.KW_POSITION: case TrinoSqlParser.KW_PRECEDING: case TrinoSqlParser.KW_PRECISION: case TrinoSqlParser.KW_PRIVILEGES: case TrinoSqlParser.KW_PROPERTIES: + case TrinoSqlParser.KW_PRUNE: + case TrinoSqlParser.KW_QUOTES: case TrinoSqlParser.KW_RANGE: case TrinoSqlParser.KW_READ: case TrinoSqlParser.KW_REFRESH: case TrinoSqlParser.KW_RENAME: + case TrinoSqlParser.KW_REPEAT: case TrinoSqlParser.KW_REPEATABLE: case TrinoSqlParser.KW_REPLACE: case TrinoSqlParser.KW_RESET: case TrinoSqlParser.KW_RESPECT: case TrinoSqlParser.KW_RESTRICT: + case TrinoSqlParser.KW_RETURN: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_RETURNS: case TrinoSqlParser.KW_REVOKE: case TrinoSqlParser.KW_ROLE: case TrinoSqlParser.KW_ROLES: @@ -3571,6 +4126,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ROW: case TrinoSqlParser.KW_ROWS: case TrinoSqlParser.KW_RUNNING: + case TrinoSqlParser.KW_SCALAR: case TrinoSqlParser.KW_SCHEMA: case TrinoSqlParser.KW_SCHEMAS: case TrinoSqlParser.KW_SECOND: @@ -3590,26 +4146,40 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_TABLES: case TrinoSqlParser.KW_TABLESAMPLE: case TrinoSqlParser.KW_TEXT: + case TrinoSqlParser.KW_TEXT_STRING: case TrinoSqlParser.KW_TIES: case TrinoSqlParser.KW_TIME: case TrinoSqlParser.KW_TIMESTAMP: case TrinoSqlParser.KW_TO: + case TrinoSqlParser.KW_TRAILING: case TrinoSqlParser.KW_TRANSACTION: case TrinoSqlParser.KW_TRUNCATE: case TrinoSqlParser.KW_TRY_CAST: case TrinoSqlParser.KW_TYPE: case TrinoSqlParser.KW_UNBOUNDED: case TrinoSqlParser.KW_UNCOMMITTED: + case TrinoSqlParser.KW_UNCONDITIONAL: + case TrinoSqlParser.KW_UNIQUE: + case TrinoSqlParser.KW_UNKNOWN: case TrinoSqlParser.KW_UNMATCHED: + case TrinoSqlParser.KW_UNTIL: case TrinoSqlParser.KW_UPDATE: case TrinoSqlParser.KW_USE: case TrinoSqlParser.KW_USER: + case TrinoSqlParser.KW_UTF16: + case TrinoSqlParser.KW_UTF32: + case TrinoSqlParser.KW_UTF8: case TrinoSqlParser.KW_VALIDATE: + case TrinoSqlParser.KW_VALUE: case TrinoSqlParser.KW_VERBOSE: + case TrinoSqlParser.KW_VERSION: case TrinoSqlParser.KW_VIEW: + case TrinoSqlParser.KW_WHILE: case TrinoSqlParser.KW_WINDOW: + case TrinoSqlParser.KW_WITHIN: case TrinoSqlParser.KW_WITHOUT: case TrinoSqlParser.KW_WORK: + case TrinoSqlParser.KW_WRAPPER: case TrinoSqlParser.KW_WRITE: case TrinoSqlParser.KW_YEAR: case TrinoSqlParser.KW_ZONE: @@ -3619,14 +4189,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.BACKQUOTED_IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 1055; + this.state = 1264; this.columnDefinition(); } break; case TrinoSqlParser.KW_LIKE: this.enterOuterAlt(localContext, 2); { - this.state = 1056; + this.state = 1265; this.likeClause(); } break; @@ -3650,47 +4220,47 @@ export class TrinoSqlParser extends SQLParserBase { } public columnDefinition(): ColumnDefinitionContext { let localContext = new ColumnDefinitionContext(this.context, this.state); - this.enterRule(localContext, 24, TrinoSqlParser.RULE_columnDefinition); + this.enterRule(localContext, 28, TrinoSqlParser.RULE_columnDefinition); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1059; + this.state = 1268; this.columnNameCreate(); - this.state = 1060; + this.state = 1269; this.type_(0); - this.state = 1063; + this.state = 1272; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 147) { + if (_la === 182) { { - this.state = 1061; + this.state = 1270; this.match(TrinoSqlParser.KW_NOT); - this.state = 1062; + this.state = 1271; this.match(TrinoSqlParser.KW_NULL); } } - this.state = 1067; + this.state = 1276; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 123, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 133, this.context) ) { case 1: { - this.state = 1065; + this.state = 1274; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1066; + this.state = 1275; this.string_(); } break; } - this.state = 1071; + this.state = 1280; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 124, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 134, this.context) ) { case 1: { - this.state = 1069; + this.state = 1278; this.match(TrinoSqlParser.KW_WITH); - this.state = 1070; + this.state = 1279; this.properties(); } break; @@ -3713,31 +4283,31 @@ export class TrinoSqlParser extends SQLParserBase { } public likeClause(): LikeClauseContext { let localContext = new LikeClauseContext(this.context, this.state); - this.enterRule(localContext, 26, TrinoSqlParser.RULE_likeClause); + this.enterRule(localContext, 30, TrinoSqlParser.RULE_likeClause); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1073; + this.state = 1282; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1074; - this.tableName(); - this.state = 1077; + this.state = 1283; + this.tableRef(); + this.state = 1286; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 75 || _la === 104) { + if (_la === 92 || _la === 123) { { - this.state = 1075; + this.state = 1284; localContext._optionType = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); - if(!(_la === 75 || _la === 104)) { + if(!(_la === 92 || _la === 123)) { localContext._optionType = this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1076; + this.state = 1285; this.match(TrinoSqlParser.KW_PROPERTIES); } } @@ -3760,15 +4330,15 @@ export class TrinoSqlParser extends SQLParserBase { } public properties(): PropertiesContext { let localContext = new PropertiesContext(this.context, this.state); - this.enterRule(localContext, 28, TrinoSqlParser.RULE_properties); + this.enterRule(localContext, 32, TrinoSqlParser.RULE_properties); try { this.enterOuterAlt(localContext, 1); { - this.state = 1079; + this.state = 1288; this.match(TrinoSqlParser.T__0); - this.state = 1080; + this.state = 1289; this.propertyAssignments(); - this.state = 1081; + this.state = 1290; this.match(TrinoSqlParser.T__1); } } @@ -3788,26 +4358,26 @@ export class TrinoSqlParser extends SQLParserBase { } public propertyAssignments(): PropertyAssignmentsContext { let localContext = new PropertyAssignmentsContext(this.context, this.state); - this.enterRule(localContext, 30, TrinoSqlParser.RULE_propertyAssignments); + this.enterRule(localContext, 34, TrinoSqlParser.RULE_propertyAssignments); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1083; + this.state = 1292; this.property(); - this.state = 1088; + this.state = 1297; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1084; + this.state = 1293; this.match(TrinoSqlParser.T__2); - this.state = 1085; + this.state = 1294; this.property(); } } - this.state = 1090; + this.state = 1299; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3829,15 +4399,15 @@ export class TrinoSqlParser extends SQLParserBase { } public property(): PropertyContext { let localContext = new PropertyContext(this.context, this.state); - this.enterRule(localContext, 32, TrinoSqlParser.RULE_property); + this.enterRule(localContext, 36, TrinoSqlParser.RULE_property); try { this.enterOuterAlt(localContext, 1); { - this.state = 1091; + this.state = 1300; this.identifier(); - this.state = 1092; + this.state = 1301; this.match(TrinoSqlParser.EQ); - this.state = 1093; + this.state = 1302; this.propertyValue(); } } @@ -3857,16 +4427,16 @@ export class TrinoSqlParser extends SQLParserBase { } public propertyValue(): PropertyValueContext { let localContext = new PropertyValueContext(this.context, this.state); - this.enterRule(localContext, 34, TrinoSqlParser.RULE_propertyValue); + this.enterRule(localContext, 38, TrinoSqlParser.RULE_propertyValue); try { - this.state = 1097; + this.state = 1306; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 127, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 137, this.context) ) { case 1: localContext = new DefaultPropertyValueContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1095; + this.state = 1304; this.match(TrinoSqlParser.KW_DEFAULT); } break; @@ -3874,7 +4444,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NonDefaultPropertyValueContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1096; + this.state = 1305; this.expression(); } break; @@ -3896,60 +4466,60 @@ export class TrinoSqlParser extends SQLParserBase { } public queryNoWith(): QueryNoWithContext { let localContext = new QueryNoWithContext(this.context, this.state); - this.enterRule(localContext, 36, TrinoSqlParser.RULE_queryNoWith); + this.enterRule(localContext, 40, TrinoSqlParser.RULE_queryNoWith); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1099; + this.state = 1308; this.queryTerm(0); - this.state = 1110; + this.state = 1319; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 158) { + if (_la === 195) { { - this.state = 1100; + this.state = 1309; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1101; + this.state = 1310; this.match(TrinoSqlParser.KW_BY); - this.state = 1102; + this.state = 1311; this.sortItem(); - this.state = 1107; + this.state = 1316; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1103; + this.state = 1312; this.match(TrinoSqlParser.T__2); - this.state = 1104; + this.state = 1313; this.sortItem(); } } - this.state = 1109; + this.state = 1318; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1117; + this.state = 1326; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 151) { + if (_la === 188) { { - this.state = 1112; + this.state = 1321; this.match(TrinoSqlParser.KW_OFFSET); - this.state = 1113; + this.state = 1322; localContext._offset = this.rowCount(); - this.state = 1115; + this.state = 1324; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 192 || _la === 193) { + if (_la === 239 || _la === 240) { { - this.state = 1114; + this.state = 1323; _la = this.tokenStream.LA(1); - if(!(_la === 192 || _la === 193)) { + if(!(_la === 239 || _la === 240)) { this.errorHandler.recoverInline(this); } else { @@ -3962,15 +4532,15 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 1132; + this.state = 1341; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_LIMIT: { { - this.state = 1119; + this.state = 1328; this.match(TrinoSqlParser.KW_LIMIT); - this.state = 1120; + this.state = 1329; localContext._limit = this.limitRowCount(); } } @@ -3978,50 +4548,50 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_FETCH: { { - this.state = 1121; + this.state = 1330; this.match(TrinoSqlParser.KW_FETCH); - this.state = 1122; + this.state = 1331; _la = this.tokenStream.LA(1); - if(!(_la === 84 || _la === 139)) { + if(!(_la === 101 || _la === 174)) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1124; + this.state = 1333; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 261 || _la === 265) { + if (_la === 324 || _la === 329) { { - this.state = 1123; + this.state = 1332; localContext._fetchFirst = this.rowCount(); } } - this.state = 1126; + this.state = 1335; _la = this.tokenStream.LA(1); - if(!(_la === 192 || _la === 193)) { + if(!(_la === 239 || _la === 240)) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1130; + this.state = 1339; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ONLY: { - this.state = 1127; + this.state = 1336; this.match(TrinoSqlParser.KW_ONLY); } break; case TrinoSqlParser.KW_WITH: { - this.state = 1128; + this.state = 1337; this.match(TrinoSqlParser.KW_WITH); - this.state = 1129; + this.state = 1338; this.match(TrinoSqlParser.KW_TIES); } break; @@ -4042,13 +4612,13 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_CREATE: case TrinoSqlParser.KW_DEALLOCATE: case TrinoSqlParser.KW_DELETE: + case TrinoSqlParser.KW_DENY: case TrinoSqlParser.KW_DESC: case TrinoSqlParser.KW_DESCRIBE: case TrinoSqlParser.KW_DROP: case TrinoSqlParser.KW_EXECUTE: case TrinoSqlParser.KW_EXPLAIN: case TrinoSqlParser.KW_GRANT: - case TrinoSqlParser.KW_DENY: case TrinoSqlParser.KW_INSERT: case TrinoSqlParser.KW_MERGE: case TrinoSqlParser.KW_PREPARE: @@ -4089,15 +4659,15 @@ export class TrinoSqlParser extends SQLParserBase { } public limitRowCount(): LimitRowCountContext { let localContext = new LimitRowCountContext(this.context, this.state); - this.enterRule(localContext, 38, TrinoSqlParser.RULE_limitRowCount); + this.enterRule(localContext, 42, TrinoSqlParser.RULE_limitRowCount); try { - this.state = 1136; + this.state = 1345; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ALL: this.enterOuterAlt(localContext, 1); { - this.state = 1134; + this.state = 1343; this.match(TrinoSqlParser.KW_ALL); } break; @@ -4105,7 +4675,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.INTEGER_VALUE: this.enterOuterAlt(localContext, 2); { - this.state = 1135; + this.state = 1344; this.rowCount(); } break; @@ -4129,14 +4699,14 @@ export class TrinoSqlParser extends SQLParserBase { } public rowCount(): RowCountContext { let localContext = new RowCountContext(this.context, this.state); - this.enterRule(localContext, 40, TrinoSqlParser.RULE_rowCount); + this.enterRule(localContext, 44, TrinoSqlParser.RULE_rowCount); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1138; + this.state = 1347; _la = this.tokenStream.LA(1); - if(!(_la === 261 || _la === 265)) { + if(!(_la === 324 || _la === 329)) { this.errorHandler.recoverInline(this); } else { @@ -4171,8 +4741,8 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new QueryTermContext(this.context, parentState); let previousContext = localContext; - let _startState = 42; - this.enterRecursionRule(localContext, 42, TrinoSqlParser.RULE_queryTerm, _p); + let _startState = 46; + this.enterRecursionRule(localContext, 46, TrinoSqlParser.RULE_queryTerm, _p); let _la: number; try { let alternative: number; @@ -4183,13 +4753,13 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 1141; + this.state = 1350; this.queryPrimary(); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 1157; + this.state = 1366; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 139, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 149, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -4197,31 +4767,31 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 1155; + this.state = 1364; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 138, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 148, this.context) ) { case 1: { localContext = new SetOperationContext(new QueryTermContext(parentContext, parentState)); (localContext as SetOperationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_queryTerm); - this.state = 1143; + this.state = 1352; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 1144; + this.state = 1353; (localContext as SetOperationContext)._operator = this.match(TrinoSqlParser.KW_INTERSECT); - this.state = 1146; + this.state = 1355; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 20 || _la === 66) { + if (_la === 22 || _la === 79) { { - this.state = 1145; + this.state = 1354; this.setQuantifier(); } } - this.state = 1148; + this.state = 1357; (localContext as SetOperationContext)._right = this.queryTerm(3); } break; @@ -4230,40 +4800,40 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetOperationContext(new QueryTermContext(parentContext, parentState)); (localContext as SetOperationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_queryTerm); - this.state = 1149; + this.state = 1358; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 1150; + this.state = 1359; (localContext as SetOperationContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); - if(!(_la === 74 || _la === 229)) { + if(!(_la === 91 || _la === 281)) { (localContext as SetOperationContext)._operator = this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1152; + this.state = 1361; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 20 || _la === 66) { + if (_la === 22 || _la === 79) { { - this.state = 1151; + this.state = 1360; this.setQuantifier(); } } - this.state = 1154; + this.state = 1363; (localContext as SetOperationContext)._right = this.queryTerm(2); } break; } } } - this.state = 1159; + this.state = 1368; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 139, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 149, this.context); } } } @@ -4283,17 +4853,17 @@ export class TrinoSqlParser extends SQLParserBase { } public queryPrimary(): QueryPrimaryContext { let localContext = new QueryPrimaryContext(this.context, this.state); - this.enterRule(localContext, 44, TrinoSqlParser.RULE_queryPrimary); + this.enterRule(localContext, 48, TrinoSqlParser.RULE_queryPrimary); try { let alternative: number; - this.state = 1176; + this.state = 1385; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_SELECT: localContext = new QueryPrimaryDefaultContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1160; + this.state = 1369; this.querySpecification(); } break; @@ -4301,37 +4871,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1161; + this.state = 1370; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1162; - this.tableName(); + this.state = 1371; + this.tableRef(); } break; case TrinoSqlParser.KW_VALUES: localContext = new InlineTableContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1163; + this.state = 1372; this.match(TrinoSqlParser.KW_VALUES); - this.state = 1164; + this.state = 1373; this.expression(); - this.state = 1169; + this.state = 1378; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 140, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 150, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1165; + this.state = 1374; this.match(TrinoSqlParser.T__2); - this.state = 1166; + this.state = 1375; this.expression(); } } } - this.state = 1171; + this.state = 1380; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 140, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 150, this.context); } } break; @@ -4339,11 +4909,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubqueryContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1172; + this.state = 1381; this.match(TrinoSqlParser.T__0); - this.state = 1173; + this.state = 1382; this.queryNoWith(); - this.state = 1174; + this.state = 1383; this.match(TrinoSqlParser.T__1); } break; @@ -4367,36 +4937,36 @@ export class TrinoSqlParser extends SQLParserBase { } public sortItem(): SortItemContext { let localContext = new SortItemContext(this.context, this.state); - this.enterRule(localContext, 46, TrinoSqlParser.RULE_sortItem); + this.enterRule(localContext, 50, TrinoSqlParser.RULE_sortItem); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1180; + this.state = 1389; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 142, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 152, this.context) ) { case 1: { - this.state = 1178; - this.columnName(); + this.state = 1387; + this.columnRef(); } break; case 2: { - this.state = 1179; + this.state = 1388; this.expression(); } break; } - this.state = 1183; + this.state = 1392; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 143, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 153, this.context) ) { case 1: { - this.state = 1182; + this.state = 1391; localContext._ordering = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); - if(!(_la === 27 || _la === 63)) { + if(!(_la === 29 || _la === 75)) { localContext._ordering = this.errorHandler.recoverInline(this); } else { @@ -4406,17 +4976,17 @@ export class TrinoSqlParser extends SQLParserBase { } break; } - this.state = 1187; + this.state = 1396; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 150) { + if (_la === 185) { { - this.state = 1185; + this.state = 1394; this.match(TrinoSqlParser.KW_NULLS); - this.state = 1186; + this.state = 1395; localContext._nullOrdering = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); - if(!(_la === 84 || _la === 118)) { + if(!(_la === 101 || _la === 148)) { localContext._nullOrdering = this.errorHandler.recoverInline(this); } else { @@ -4444,137 +5014,137 @@ export class TrinoSqlParser extends SQLParserBase { } public querySpecification(): QuerySpecificationContext { let localContext = new QuerySpecificationContext(this.context, this.state); - this.enterRule(localContext, 48, TrinoSqlParser.RULE_querySpecification); + this.enterRule(localContext, 52, TrinoSqlParser.RULE_querySpecification); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1189; + this.state = 1398; this.match(TrinoSqlParser.KW_SELECT); - this.state = 1191; + this.state = 1400; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 145, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 155, this.context) ) { case 1: { - this.state = 1190; + this.state = 1399; this.setQuantifier(); } break; } - this.state = 1193; + this.state = 1402; this.selectItem(); - this.state = 1198; + this.state = 1407; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 146, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 156, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1194; + this.state = 1403; this.match(TrinoSqlParser.T__2); - this.state = 1195; + this.state = 1404; this.selectItem(); } } } - this.state = 1200; + this.state = 1409; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 146, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 156, this.context); } - this.state = 1210; + this.state = 1419; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 148, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 158, this.context) ) { case 1: { - this.state = 1201; + this.state = 1410; this.match(TrinoSqlParser.KW_FROM); - this.state = 1202; + this.state = 1411; this.relation(0); - this.state = 1207; + this.state = 1416; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 147, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 157, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1203; + this.state = 1412; this.match(TrinoSqlParser.T__2); - this.state = 1204; + this.state = 1413; this.relation(0); } } } - this.state = 1209; + this.state = 1418; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 147, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 157, this.context); } } break; } - this.state = 1214; + this.state = 1423; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 149, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 159, this.context) ) { case 1: { - this.state = 1212; + this.state = 1421; this.match(TrinoSqlParser.KW_WHERE); - this.state = 1213; + this.state = 1422; localContext._where = this.booleanExpression(0); } break; } - this.state = 1219; + this.state = 1428; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 150, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 160, this.context) ) { case 1: { - this.state = 1216; + this.state = 1425; this.match(TrinoSqlParser.KW_GROUP); - this.state = 1217; + this.state = 1426; this.match(TrinoSqlParser.KW_BY); - this.state = 1218; + this.state = 1427; this.groupBy(); } break; } - this.state = 1223; + this.state = 1432; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 151, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 161, this.context) ) { case 1: { - this.state = 1221; + this.state = 1430; this.match(TrinoSqlParser.KW_HAVING); - this.state = 1222; + this.state = 1431; localContext._having = this.booleanExpression(0); } break; } - this.state = 1234; + this.state = 1443; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 153, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 163, this.context) ) { case 1: { - this.state = 1225; + this.state = 1434; this.match(TrinoSqlParser.KW_WINDOW); - this.state = 1226; + this.state = 1435; this.windowDefinition(); - this.state = 1231; + this.state = 1440; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 152, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 162, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1227; + this.state = 1436; this.match(TrinoSqlParser.T__2); - this.state = 1228; + this.state = 1437; this.windowDefinition(); } } } - this.state = 1233; + this.state = 1442; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 152, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 162, this.context); } } break; @@ -4597,40 +5167,40 @@ export class TrinoSqlParser extends SQLParserBase { } public groupBy(): GroupByContext { let localContext = new GroupByContext(this.context, this.state); - this.enterRule(localContext, 50, TrinoSqlParser.RULE_groupBy); + this.enterRule(localContext, 54, TrinoSqlParser.RULE_groupBy); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1237; + this.state = 1446; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 154, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 164, this.context) ) { case 1: { - this.state = 1236; + this.state = 1445; this.setQuantifier(); } break; } - this.state = 1239; + this.state = 1448; this.groupingElement(); - this.state = 1244; + this.state = 1453; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 155, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 165, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1240; + this.state = 1449; this.match(TrinoSqlParser.T__2); - this.state = 1241; + this.state = 1450; this.groupingElement(); } } } - this.state = 1246; + this.state = 1455; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 155, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 165, this.context); } } } @@ -4650,17 +5220,17 @@ export class TrinoSqlParser extends SQLParserBase { } public groupingElement(): GroupingElementContext { let localContext = new GroupingElementContext(this.context, this.state); - this.enterRule(localContext, 52, TrinoSqlParser.RULE_groupingElement); + this.enterRule(localContext, 56, TrinoSqlParser.RULE_groupingElement); let _la: number; try { - this.state = 1287; + this.state = 1496; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 161, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 171, this.context) ) { case 1: localContext = new SingleGroupingSetContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1247; + this.state = 1456; this.groupingSet(); } break; @@ -4668,37 +5238,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RollupContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1248; + this.state = 1457; this.match(TrinoSqlParser.KW_ROLLUP); - this.state = 1249; + this.state = 1458; this.match(TrinoSqlParser.T__0); - this.state = 1258; + this.state = 1467; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 157, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 167, this.context) ) { case 1: { - this.state = 1250; - this.groupingTerm(); - this.state = 1255; + this.state = 1459; + this.groupingSet(); + this.state = 1464; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1251; + this.state = 1460; this.match(TrinoSqlParser.T__2); - this.state = 1252; - this.groupingTerm(); + this.state = 1461; + this.groupingSet(); } } - this.state = 1257; + this.state = 1466; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1260; + this.state = 1469; this.match(TrinoSqlParser.T__1); } break; @@ -4706,37 +5276,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CubeContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1261; + this.state = 1470; this.match(TrinoSqlParser.KW_CUBE); - this.state = 1262; + this.state = 1471; this.match(TrinoSqlParser.T__0); - this.state = 1271; + this.state = 1480; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 159, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 169, this.context) ) { case 1: { - this.state = 1263; - this.groupingTerm(); - this.state = 1268; + this.state = 1472; + this.groupingSet(); + this.state = 1477; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1264; + this.state = 1473; this.match(TrinoSqlParser.T__2); - this.state = 1265; - this.groupingTerm(); + this.state = 1474; + this.groupingSet(); } } - this.state = 1270; + this.state = 1479; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1273; + this.state = 1482; this.match(TrinoSqlParser.T__1); } break; @@ -4744,31 +5314,31 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MultipleGroupingSetsContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1274; + this.state = 1483; this.match(TrinoSqlParser.KW_GROUPING); - this.state = 1275; + this.state = 1484; this.match(TrinoSqlParser.KW_SETS); - this.state = 1276; + this.state = 1485; this.match(TrinoSqlParser.T__0); - this.state = 1277; + this.state = 1486; this.groupingSet(); - this.state = 1282; + this.state = 1491; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1278; + this.state = 1487; this.match(TrinoSqlParser.T__2); - this.state = 1279; + this.state = 1488; this.groupingSet(); } } - this.state = 1284; + this.state = 1493; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1285; + this.state = 1494; this.match(TrinoSqlParser.T__1); } break; @@ -4790,51 +5360,51 @@ export class TrinoSqlParser extends SQLParserBase { } public groupingSet(): GroupingSetContext { let localContext = new GroupingSetContext(this.context, this.state); - this.enterRule(localContext, 54, TrinoSqlParser.RULE_groupingSet); + this.enterRule(localContext, 58, TrinoSqlParser.RULE_groupingSet); let _la: number; try { - this.state = 1302; + this.state = 1511; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 164, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 174, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1289; + this.state = 1498; this.match(TrinoSqlParser.T__0); - this.state = 1298; + this.state = 1507; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 163, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 173, this.context) ) { case 1: { - this.state = 1290; + this.state = 1499; this.groupingTerm(); - this.state = 1295; + this.state = 1504; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1291; + this.state = 1500; this.match(TrinoSqlParser.T__2); - this.state = 1292; + this.state = 1501; this.groupingTerm(); } } - this.state = 1297; + this.state = 1506; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1300; + this.state = 1509; this.match(TrinoSqlParser.T__1); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1301; + this.state = 1510; this.groupingTerm(); } break; @@ -4856,22 +5426,22 @@ export class TrinoSqlParser extends SQLParserBase { } public groupingTerm(): GroupingTermContext { let localContext = new GroupingTermContext(this.context, this.state); - this.enterRule(localContext, 56, TrinoSqlParser.RULE_groupingTerm); + this.enterRule(localContext, 60, TrinoSqlParser.RULE_groupingTerm); try { - this.state = 1306; + this.state = 1515; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 165, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 175, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1304; - this.columnName(); + this.state = 1513; + this.columnRef(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1305; + this.state = 1514; this.expression(); } break; @@ -4893,19 +5463,19 @@ export class TrinoSqlParser extends SQLParserBase { } public windowDefinition(): WindowDefinitionContext { let localContext = new WindowDefinitionContext(this.context, this.state); - this.enterRule(localContext, 58, TrinoSqlParser.RULE_windowDefinition); + this.enterRule(localContext, 62, TrinoSqlParser.RULE_windowDefinition); try { this.enterOuterAlt(localContext, 1); { - this.state = 1308; + this.state = 1517; localContext._name = this.identifier(); - this.state = 1309; + this.state = 1518; this.match(TrinoSqlParser.KW_AS); - this.state = 1310; + this.state = 1519; this.match(TrinoSqlParser.T__0); - this.state = 1311; + this.state = 1520; this.windowSpecification(); - this.state = 1312; + this.state = 1521; this.match(TrinoSqlParser.T__1); } } @@ -4925,89 +5495,89 @@ export class TrinoSqlParser extends SQLParserBase { } public windowSpecification(): WindowSpecificationContext { let localContext = new WindowSpecificationContext(this.context, this.state); - this.enterRule(localContext, 60, TrinoSqlParser.RULE_windowSpecification); + this.enterRule(localContext, 64, TrinoSqlParser.RULE_windowSpecification); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1315; + this.state = 1524; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 166, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 176, this.context) ) { case 1: { - this.state = 1314; + this.state = 1523; localContext._existingWindowName = this.identifier(); } break; } - this.state = 1327; + this.state = 1536; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 163) { + if (_la === 201) { { - this.state = 1317; + this.state = 1526; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 1318; + this.state = 1527; this.match(TrinoSqlParser.KW_BY); - this.state = 1319; + this.state = 1528; localContext._expression = this.expression(); localContext._partition.push(localContext._expression); - this.state = 1324; + this.state = 1533; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1320; + this.state = 1529; this.match(TrinoSqlParser.T__2); - this.state = 1321; + this.state = 1530; localContext._expression = this.expression(); localContext._partition.push(localContext._expression); } } - this.state = 1326; + this.state = 1535; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1339; + this.state = 1548; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 158) { + if (_la === 195) { { - this.state = 1329; + this.state = 1538; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1330; + this.state = 1539; this.match(TrinoSqlParser.KW_BY); - this.state = 1331; + this.state = 1540; this.sortItem(); - this.state = 1336; + this.state = 1545; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1332; + this.state = 1541; this.match(TrinoSqlParser.T__2); - this.state = 1333; + this.state = 1542; this.sortItem(); } } - this.state = 1338; + this.state = 1547; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1342; + this.state = 1551; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 98 || _la === 134 || _la === 176 || _la === 193) { + if (_la === 116 || _la === 168 || _la === 219 || _la === 240) { { - this.state = 1341; + this.state = 1550; this.windowFrame(); } } @@ -5030,30 +5600,30 @@ export class TrinoSqlParser extends SQLParserBase { } public namedQuery(): NamedQueryContext { let localContext = new NamedQueryContext(this.context, this.state); - this.enterRule(localContext, 62, TrinoSqlParser.RULE_namedQuery); + this.enterRule(localContext, 66, TrinoSqlParser.RULE_namedQuery); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1344; + this.state = 1553; localContext._name = this.identifier(); - this.state = 1346; + this.state = 1555; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 1345; + this.state = 1554; this.columnAliases(); } } - this.state = 1348; + this.state = 1557; this.match(TrinoSqlParser.KW_AS); - this.state = 1349; + this.state = 1558; this.match(TrinoSqlParser.T__0); - this.state = 1350; + this.state = 1559; this.query(); - this.state = 1351; + this.state = 1560; this.match(TrinoSqlParser.T__1); } } @@ -5073,14 +5643,14 @@ export class TrinoSqlParser extends SQLParserBase { } public setQuantifier(): SetQuantifierContext { let localContext = new SetQuantifierContext(this.context, this.state); - this.enterRule(localContext, 64, TrinoSqlParser.RULE_setQuantifier); + this.enterRule(localContext, 68, TrinoSqlParser.RULE_setQuantifier); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1353; + this.state = 1562; _la = this.tokenStream.LA(1); - if(!(_la === 20 || _la === 66)) { + if(!(_la === 22 || _la === 79)) { this.errorHandler.recoverInline(this); } else { @@ -5105,48 +5675,48 @@ export class TrinoSqlParser extends SQLParserBase { } public selectItem(): SelectItemContext { let localContext = new SelectItemContext(this.context, this.state); - this.enterRule(localContext, 66, TrinoSqlParser.RULE_selectItem); + this.enterRule(localContext, 70, TrinoSqlParser.RULE_selectItem); let _la: number; try { - this.state = 1373; + this.state = 1582; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 177, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 187, this.context) ) { case 1: localContext = new SelectSingleContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1357; + this.state = 1566; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 173, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 183, this.context) ) { case 1: { - this.state = 1355; - this.columnName(); + this.state = 1564; + this.columnRef(); } break; case 2: { - this.state = 1356; + this.state = 1565; this.expression(); } break; } - this.state = 1363; + this.state = 1572; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 175, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 185, this.context) ) { case 1: { - this.state = 1360; + this.state = 1569; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 26) { + if (_la === 28) { { - this.state = 1359; + this.state = 1568; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1362; + this.state = 1571; this.identifier(); } break; @@ -5157,20 +5727,20 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SelectAllContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1365; + this.state = 1574; this.primaryExpression(0); - this.state = 1366; + this.state = 1575; this.match(TrinoSqlParser.T__3); - this.state = 1367; + this.state = 1576; this.match(TrinoSqlParser.ASTERISK); - this.state = 1370; + this.state = 1579; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 176, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 186, this.context) ) { case 1: { - this.state = 1368; + this.state = 1577; this.match(TrinoSqlParser.KW_AS); - this.state = 1369; + this.state = 1578; this.columnAliases(); } break; @@ -5181,7 +5751,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SelectAllContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1372; + this.state = 1581; this.match(TrinoSqlParser.ASTERISK); } break; @@ -5213,8 +5783,8 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new RelationContext(this.context, parentState); let previousContext = localContext; - let _startState = 68; - this.enterRecursionRule(localContext, 68, TrinoSqlParser.RULE_relation, _p); + let _startState = 72; + this.enterRecursionRule(localContext, 72, TrinoSqlParser.RULE_relation, _p); try { let alternative: number; this.enterOuterAlt(localContext, 1); @@ -5224,13 +5794,13 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 1376; + this.state = 1585; this.sampledRelation(); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 1396; + this.state = 1605; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 179, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 189, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -5242,20 +5812,20 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JoinRelationContext(new RelationContext(parentContext, parentState)); (localContext as JoinRelationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_relation); - this.state = 1378; + this.state = 1587; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 1392; + this.state = 1601; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_CROSS: { - this.state = 1379; + this.state = 1588; this.match(TrinoSqlParser.KW_CROSS); - this.state = 1380; + this.state = 1589; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1381; + this.state = 1590; (localContext as JoinRelationContext)._right = this.sampledRelation(); } break; @@ -5265,25 +5835,25 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_LEFT: case TrinoSqlParser.KW_RIGHT: { - this.state = 1382; + this.state = 1591; this.joinType(); - this.state = 1383; + this.state = 1592; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1384; + this.state = 1593; (localContext as JoinRelationContext)._rightRelation = this.relation(0); - this.state = 1385; + this.state = 1594; this.joinCriteria(); } break; case TrinoSqlParser.KW_NATURAL: { - this.state = 1387; + this.state = 1596; this.match(TrinoSqlParser.KW_NATURAL); - this.state = 1388; + this.state = 1597; this.joinType(); - this.state = 1389; + this.state = 1598; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1390; + this.state = 1599; (localContext as JoinRelationContext)._right = this.sampledRelation(); } break; @@ -5293,9 +5863,9 @@ export class TrinoSqlParser extends SQLParserBase { } } } - this.state = 1398; + this.state = 1607; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 179, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 189, this.context); } } } @@ -5315,22 +5885,22 @@ export class TrinoSqlParser extends SQLParserBase { } public joinType(): JoinTypeContext { let localContext = new JoinTypeContext(this.context, this.state); - this.enterRule(localContext, 70, TrinoSqlParser.RULE_joinType); + this.enterRule(localContext, 74, TrinoSqlParser.RULE_joinType); let _la: number; try { - this.state = 1414; + this.state = 1623; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_INNER: case TrinoSqlParser.KW_JOIN: this.enterOuterAlt(localContext, 1); { - this.state = 1400; + this.state = 1609; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 106) { + if (_la === 125) { { - this.state = 1399; + this.state = 1608; this.match(TrinoSqlParser.KW_INNER); } } @@ -5340,14 +5910,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_LEFT: this.enterOuterAlt(localContext, 2); { - this.state = 1402; + this.state = 1611; this.match(TrinoSqlParser.KW_LEFT); - this.state = 1404; + this.state = 1613; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 160) { + if (_la === 197) { { - this.state = 1403; + this.state = 1612; this.match(TrinoSqlParser.KW_OUTER); } } @@ -5357,14 +5927,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_RIGHT: this.enterOuterAlt(localContext, 3); { - this.state = 1406; + this.state = 1615; this.match(TrinoSqlParser.KW_RIGHT); - this.state = 1408; + this.state = 1617; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 160) { + if (_la === 197) { { - this.state = 1407; + this.state = 1616; this.match(TrinoSqlParser.KW_OUTER); } } @@ -5374,14 +5944,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_FULL: this.enterOuterAlt(localContext, 4); { - this.state = 1410; + this.state = 1619; this.match(TrinoSqlParser.KW_FULL); - this.state = 1412; + this.state = 1621; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 160) { + if (_la === 197) { { - this.state = 1411; + this.state = 1620; this.match(TrinoSqlParser.KW_OUTER); } } @@ -5408,47 +5978,47 @@ export class TrinoSqlParser extends SQLParserBase { } public joinCriteria(): JoinCriteriaContext { let localContext = new JoinCriteriaContext(this.context, this.state); - this.enterRule(localContext, 72, TrinoSqlParser.RULE_joinCriteria); + this.enterRule(localContext, 76, TrinoSqlParser.RULE_joinCriteria); let _la: number; try { - this.state = 1430; + this.state = 1639; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ON: this.enterOuterAlt(localContext, 1); { - this.state = 1416; + this.state = 1625; this.match(TrinoSqlParser.KW_ON); - this.state = 1417; + this.state = 1626; this.booleanExpression(0); } break; case TrinoSqlParser.KW_USING: this.enterOuterAlt(localContext, 2); { - this.state = 1418; + this.state = 1627; this.match(TrinoSqlParser.KW_USING); - this.state = 1419; + this.state = 1628; this.match(TrinoSqlParser.T__0); - this.state = 1420; + this.state = 1629; this.identifier(); - this.state = 1425; + this.state = 1634; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1421; + this.state = 1630; this.match(TrinoSqlParser.T__2); - this.state = 1422; + this.state = 1631; this.identifier(); } } - this.state = 1427; + this.state = 1636; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1428; + this.state = 1637; this.match(TrinoSqlParser.T__1); } break; @@ -5472,26 +6042,26 @@ export class TrinoSqlParser extends SQLParserBase { } public sampledRelation(): SampledRelationContext { let localContext = new SampledRelationContext(this.context, this.state); - this.enterRule(localContext, 74, TrinoSqlParser.RULE_sampledRelation); + this.enterRule(localContext, 78, TrinoSqlParser.RULE_sampledRelation); try { this.enterOuterAlt(localContext, 1); { - this.state = 1432; + this.state = 1641; this.patternRecognition(); - this.state = 1439; + this.state = 1648; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 187, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 197, this.context) ) { case 1: { - this.state = 1433; + this.state = 1642; this.match(TrinoSqlParser.KW_TABLESAMPLE); - this.state = 1434; + this.state = 1643; this.sampleType(); - this.state = 1435; + this.state = 1644; this.match(TrinoSqlParser.T__0); - this.state = 1436; + this.state = 1645; localContext._percentage = this.expression(); - this.state = 1437; + this.state = 1646; this.match(TrinoSqlParser.T__1); } break; @@ -5514,14 +6084,46 @@ export class TrinoSqlParser extends SQLParserBase { } public sampleType(): SampleTypeContext { let localContext = new SampleTypeContext(this.context, this.state); - this.enterRule(localContext, 76, TrinoSqlParser.RULE_sampleType); + this.enterRule(localContext, 80, TrinoSqlParser.RULE_sampleType); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1650; + _la = this.tokenStream.LA(1); + if(!(_la === 33 || _la === 259)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public trimsSpecification(): TrimsSpecificationContext { + let localContext = new TrimsSpecificationContext(this.context, this.state); + this.enterRule(localContext, 82, TrinoSqlParser.RULE_trimsSpecification); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1441; + this.state = 1652; _la = this.tokenStream.LA(1); - if(!(_la === 30 || _la === 211)) { + if(!(_la === 35 || _la === 150 || _la === 270)) { this.errorHandler.recoverInline(this); } else { @@ -5544,146 +6146,241 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } + public listAggOverflowBehavior(): ListAggOverflowBehaviorContext { + let localContext = new ListAggOverflowBehaviorContext(this.context, this.state); + this.enterRule(localContext, 84, TrinoSqlParser.RULE_listAggOverflowBehavior); + let _la: number; + try { + this.state = 1660; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ERROR: + this.enterOuterAlt(localContext, 1); + { + this.state = 1654; + this.match(TrinoSqlParser.KW_ERROR); + } + break; + case TrinoSqlParser.KW_TRUNCATE: + this.enterOuterAlt(localContext, 2); + { + this.state = 1655; + this.match(TrinoSqlParser.KW_TRUNCATE); + this.state = 1657; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 326 || _la === 327) { + { + this.state = 1656; + this.string_(); + } + } + + this.state = 1659; + this.listaggCountIndication(); + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public listaggCountIndication(): ListaggCountIndicationContext { + let localContext = new ListaggCountIndicationContext(this.context, this.state); + this.enterRule(localContext, 86, TrinoSqlParser.RULE_listaggCountIndication); + try { + this.state = 1666; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_WITH: + this.enterOuterAlt(localContext, 1); + { + this.state = 1662; + this.match(TrinoSqlParser.KW_WITH); + this.state = 1663; + this.match(TrinoSqlParser.KW_COUNT); + } + break; + case TrinoSqlParser.KW_WITHOUT: + this.enterOuterAlt(localContext, 2); + { + this.state = 1664; + this.match(TrinoSqlParser.KW_WITHOUT); + this.state = 1665; + this.match(TrinoSqlParser.KW_COUNT); + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } public patternRecognition(): PatternRecognitionContext { let localContext = new PatternRecognitionContext(this.context, this.state); - this.enterRule(localContext, 78, TrinoSqlParser.RULE_patternRecognition); + this.enterRule(localContext, 88, TrinoSqlParser.RULE_patternRecognition); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1443; + this.state = 1668; this.aliasedRelation(); - this.state = 1526; + this.state = 1751; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 203, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 216, this.context) ) { case 1: { - this.state = 1444; + this.state = 1669; this.match(TrinoSqlParser.KW_MATCH_RECOGNIZE); - this.state = 1445; + this.state = 1670; this.match(TrinoSqlParser.T__0); - this.state = 1456; + this.state = 1681; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 163) { + if (_la === 201) { { - this.state = 1446; + this.state = 1671; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 1447; + this.state = 1672; this.match(TrinoSqlParser.KW_BY); - this.state = 1448; + this.state = 1673; localContext._expression = this.expression(); localContext._partition.push(localContext._expression); - this.state = 1453; + this.state = 1678; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1449; + this.state = 1674; this.match(TrinoSqlParser.T__2); - this.state = 1450; + this.state = 1675; localContext._expression = this.expression(); localContext._partition.push(localContext._expression); } } - this.state = 1455; + this.state = 1680; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1468; + this.state = 1693; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 158) { + if (_la === 195) { { - this.state = 1458; + this.state = 1683; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1459; + this.state = 1684; this.match(TrinoSqlParser.KW_BY); - this.state = 1460; + this.state = 1685; this.sortItem(); - this.state = 1465; + this.state = 1690; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1461; + this.state = 1686; this.match(TrinoSqlParser.T__2); - this.state = 1462; + this.state = 1687; this.sortItem(); } } - this.state = 1467; + this.state = 1692; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1479; + this.state = 1704; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 134) { + if (_la === 168) { { - this.state = 1470; + this.state = 1695; this.match(TrinoSqlParser.KW_MEASURES); - this.state = 1471; + this.state = 1696; this.measureDefinition(); - this.state = 1476; + this.state = 1701; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1472; + this.state = 1697; this.match(TrinoSqlParser.T__2); - this.state = 1473; + this.state = 1698; this.measureDefinition(); } } - this.state = 1478; + this.state = 1703; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1482; + this.state = 1707; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 20 || _la === 154) { + if (_la === 22 || _la === 191) { { - this.state = 1481; + this.state = 1706; this.rowsPerMatch(); } } - this.state = 1487; + this.state = 1712; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 19) { + if (_la === 21) { { - this.state = 1484; + this.state = 1709; this.match(TrinoSqlParser.KW_AFTER); - this.state = 1485; + this.state = 1710; this.match(TrinoSqlParser.KW_MATCH); - this.state = 1486; + this.state = 1711; this.skipTo(); } } - this.state = 1490; + this.state = 1715; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 105 || _la === 199) { + if (_la === 124 || _la === 247) { { - this.state = 1489; + this.state = 1714; _la = this.tokenStream.LA(1); - if(!(_la === 105 || _la === 199)) { + if(!(_la === 124 || _la === 247)) { this.errorHandler.recoverInline(this); } else { @@ -5693,87 +6390,87 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 1492; + this.state = 1717; this.match(TrinoSqlParser.KW_PATTERN); - this.state = 1493; + this.state = 1718; this.match(TrinoSqlParser.T__0); - this.state = 1494; + this.state = 1719; this.rowPattern(0); - this.state = 1495; + this.state = 1720; this.match(TrinoSqlParser.T__1); - this.state = 1505; + this.state = 1730; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 209) { + if (_la === 257) { { - this.state = 1496; + this.state = 1721; this.match(TrinoSqlParser.KW_SUBSET); - this.state = 1497; + this.state = 1722; this.subsetDefinition(); - this.state = 1502; + this.state = 1727; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1498; + this.state = 1723; this.match(TrinoSqlParser.T__2); - this.state = 1499; + this.state = 1724; this.subsetDefinition(); } } - this.state = 1504; + this.state = 1729; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1507; + this.state = 1732; this.match(TrinoSqlParser.KW_DEFINE); - this.state = 1508; + this.state = 1733; this.variableDefinition(); - this.state = 1513; + this.state = 1738; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1509; + this.state = 1734; this.match(TrinoSqlParser.T__2); - this.state = 1510; + this.state = 1735; this.variableDefinition(); } } - this.state = 1515; + this.state = 1740; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1516; + this.state = 1741; this.match(TrinoSqlParser.T__1); - this.state = 1524; + this.state = 1749; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 202, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 215, this.context) ) { case 1: { - this.state = 1518; + this.state = 1743; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 26) { + if (_la === 28) { { - this.state = 1517; + this.state = 1742; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1520; + this.state = 1745; this.identifier(); - this.state = 1522; + this.state = 1747; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 201, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 214, this.context) ) { case 1: { - this.state = 1521; + this.state = 1746; this.columnAliases(); } break; @@ -5802,15 +6499,15 @@ export class TrinoSqlParser extends SQLParserBase { } public measureDefinition(): MeasureDefinitionContext { let localContext = new MeasureDefinitionContext(this.context, this.state); - this.enterRule(localContext, 80, TrinoSqlParser.RULE_measureDefinition); + this.enterRule(localContext, 90, TrinoSqlParser.RULE_measureDefinition); try { this.enterOuterAlt(localContext, 1); { - this.state = 1528; + this.state = 1753; this.expression(); - this.state = 1529; + this.state = 1754; this.match(TrinoSqlParser.KW_AS); - this.state = 1530; + this.state = 1755; this.identifier(); } } @@ -5830,42 +6527,42 @@ export class TrinoSqlParser extends SQLParserBase { } public rowsPerMatch(): RowsPerMatchContext { let localContext = new RowsPerMatchContext(this.context, this.state); - this.enterRule(localContext, 82, TrinoSqlParser.RULE_rowsPerMatch); + this.enterRule(localContext, 92, TrinoSqlParser.RULE_rowsPerMatch); let _la: number; try { - this.state = 1543; + this.state = 1768; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ONE: this.enterOuterAlt(localContext, 1); { - this.state = 1532; + this.state = 1757; this.match(TrinoSqlParser.KW_ONE); - this.state = 1533; + this.state = 1758; this.match(TrinoSqlParser.KW_ROW); - this.state = 1534; + this.state = 1759; this.match(TrinoSqlParser.KW_PER); - this.state = 1535; + this.state = 1760; this.match(TrinoSqlParser.KW_MATCH); } break; case TrinoSqlParser.KW_ALL: this.enterOuterAlt(localContext, 2); { - this.state = 1536; + this.state = 1761; this.match(TrinoSqlParser.KW_ALL); - this.state = 1537; + this.state = 1762; this.match(TrinoSqlParser.KW_ROWS); - this.state = 1538; + this.state = 1763; this.match(TrinoSqlParser.KW_PER); - this.state = 1539; + this.state = 1764; this.match(TrinoSqlParser.KW_MATCH); - this.state = 1541; + this.state = 1766; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 152 || _la === 205 || _la === 243) { + if (_la === 189 || _la === 253 || _la === 304) { { - this.state = 1540; + this.state = 1765; this.emptyMatchHandling(); } } @@ -5892,41 +6589,41 @@ export class TrinoSqlParser extends SQLParserBase { } public emptyMatchHandling(): EmptyMatchHandlingContext { let localContext = new EmptyMatchHandlingContext(this.context, this.state); - this.enterRule(localContext, 84, TrinoSqlParser.RULE_emptyMatchHandling); + this.enterRule(localContext, 94, TrinoSqlParser.RULE_emptyMatchHandling); try { - this.state = 1554; + this.state = 1779; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_SHOW: this.enterOuterAlt(localContext, 1); { - this.state = 1545; + this.state = 1770; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1546; + this.state = 1771; this.match(TrinoSqlParser.KW_EMPTY); - this.state = 1547; + this.state = 1772; this.match(TrinoSqlParser.KW_MATCHES); } break; case TrinoSqlParser.KW_OMIT: this.enterOuterAlt(localContext, 2); { - this.state = 1548; + this.state = 1773; this.match(TrinoSqlParser.KW_OMIT); - this.state = 1549; + this.state = 1774; this.match(TrinoSqlParser.KW_EMPTY); - this.state = 1550; + this.state = 1775; this.match(TrinoSqlParser.KW_MATCHES); } break; case TrinoSqlParser.KW_WITH: this.enterOuterAlt(localContext, 3); { - this.state = 1551; + this.state = 1776; this.match(TrinoSqlParser.KW_WITH); - this.state = 1552; + this.state = 1777; this.match(TrinoSqlParser.KW_UNMATCHED); - this.state = 1553; + this.state = 1778; this.match(TrinoSqlParser.KW_ROWS); } break; @@ -5950,71 +6647,71 @@ export class TrinoSqlParser extends SQLParserBase { } public skipTo(): SkipToContext { let localContext = new SkipToContext(this.context, this.state); - this.enterRule(localContext, 86, TrinoSqlParser.RULE_skipTo); + this.enterRule(localContext, 96, TrinoSqlParser.RULE_skipTo); try { - this.state = 1575; + this.state = 1800; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 207, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 220, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1556; + this.state = 1781; this.match(TrinoSqlParser.T__4); - this.state = 1557; + this.state = 1782; this.match(TrinoSqlParser.KW_TO); - this.state = 1558; + this.state = 1783; this.match(TrinoSqlParser.KW_NEXT); - this.state = 1559; + this.state = 1784; this.match(TrinoSqlParser.KW_ROW); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1560; + this.state = 1785; this.match(TrinoSqlParser.T__4); - this.state = 1561; + this.state = 1786; this.match(TrinoSqlParser.KW_PAST); - this.state = 1562; + this.state = 1787; this.match(TrinoSqlParser.KW_LAST); - this.state = 1563; + this.state = 1788; this.match(TrinoSqlParser.KW_ROW); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1564; + this.state = 1789; this.match(TrinoSqlParser.T__4); - this.state = 1565; + this.state = 1790; this.match(TrinoSqlParser.KW_TO); - this.state = 1566; + this.state = 1791; this.match(TrinoSqlParser.KW_FIRST); - this.state = 1567; + this.state = 1792; this.identifier(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 1568; + this.state = 1793; this.match(TrinoSqlParser.T__4); - this.state = 1569; + this.state = 1794; this.match(TrinoSqlParser.KW_TO); - this.state = 1570; + this.state = 1795; this.match(TrinoSqlParser.KW_LAST); - this.state = 1571; + this.state = 1796; this.identifier(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 1572; + this.state = 1797; this.match(TrinoSqlParser.T__4); - this.state = 1573; + this.state = 1798; this.match(TrinoSqlParser.KW_TO); - this.state = 1574; + this.state = 1799; this.identifier(); } break; @@ -6036,38 +6733,38 @@ export class TrinoSqlParser extends SQLParserBase { } public subsetDefinition(): SubsetDefinitionContext { let localContext = new SubsetDefinitionContext(this.context, this.state); - this.enterRule(localContext, 88, TrinoSqlParser.RULE_subsetDefinition); + this.enterRule(localContext, 98, TrinoSqlParser.RULE_subsetDefinition); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1577; + this.state = 1802; localContext._name = this.identifier(); - this.state = 1578; + this.state = 1803; this.match(TrinoSqlParser.EQ); - this.state = 1579; + this.state = 1804; this.match(TrinoSqlParser.T__0); - this.state = 1580; + this.state = 1805; localContext._identifier = this.identifier(); localContext._union.push(localContext._identifier); - this.state = 1585; + this.state = 1810; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1581; + this.state = 1806; this.match(TrinoSqlParser.T__2); - this.state = 1582; + this.state = 1807; localContext._identifier = this.identifier(); localContext._union.push(localContext._identifier); } } - this.state = 1587; + this.state = 1812; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1588; + this.state = 1813; this.match(TrinoSqlParser.T__1); } } @@ -6087,15 +6784,15 @@ export class TrinoSqlParser extends SQLParserBase { } public variableDefinition(): VariableDefinitionContext { let localContext = new VariableDefinitionContext(this.context, this.state); - this.enterRule(localContext, 90, TrinoSqlParser.RULE_variableDefinition); + this.enterRule(localContext, 100, TrinoSqlParser.RULE_variableDefinition); try { this.enterOuterAlt(localContext, 1); { - this.state = 1590; + this.state = 1815; this.identifier(); - this.state = 1591; + this.state = 1816; this.match(TrinoSqlParser.KW_AS); - this.state = 1592; + this.state = 1817; this.expression(); } } @@ -6115,36 +6812,36 @@ export class TrinoSqlParser extends SQLParserBase { } public aliasedRelation(): AliasedRelationContext { let localContext = new AliasedRelationContext(this.context, this.state); - this.enterRule(localContext, 92, TrinoSqlParser.RULE_aliasedRelation); + this.enterRule(localContext, 102, TrinoSqlParser.RULE_aliasedRelation); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1594; + this.state = 1819; this.relationPrimary(); - this.state = 1602; + this.state = 1827; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 211, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 224, this.context) ) { case 1: { - this.state = 1596; + this.state = 1821; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 26) { + if (_la === 28) { { - this.state = 1595; + this.state = 1820; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1598; + this.state = 1823; this.identifier(); - this.state = 1600; + this.state = 1825; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 210, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 223, this.context) ) { case 1: { - this.state = 1599; + this.state = 1824; this.columnAliases(); } break; @@ -6170,32 +6867,32 @@ export class TrinoSqlParser extends SQLParserBase { } public columnListCreate(): ColumnListCreateContext { let localContext = new ColumnListCreateContext(this.context, this.state); - this.enterRule(localContext, 94, TrinoSqlParser.RULE_columnListCreate); + this.enterRule(localContext, 104, TrinoSqlParser.RULE_columnListCreate); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1604; + this.state = 1829; this.match(TrinoSqlParser.T__0); - this.state = 1605; + this.state = 1830; this.columnNameCreate(); - this.state = 1610; + this.state = 1835; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1606; + this.state = 1831; this.match(TrinoSqlParser.T__2); - this.state = 1607; + this.state = 1832; this.columnNameCreate(); } } - this.state = 1612; + this.state = 1837; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1613; + this.state = 1838; this.match(TrinoSqlParser.T__1); } } @@ -6215,32 +6912,32 @@ export class TrinoSqlParser extends SQLParserBase { } public columnList(): ColumnListContext { let localContext = new ColumnListContext(this.context, this.state); - this.enterRule(localContext, 96, TrinoSqlParser.RULE_columnList); + this.enterRule(localContext, 106, TrinoSqlParser.RULE_columnList); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1615; + this.state = 1840; this.match(TrinoSqlParser.T__0); - this.state = 1616; - this.columnName(); - this.state = 1621; + this.state = 1841; + this.columnRef(); + this.state = 1846; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1617; + this.state = 1842; this.match(TrinoSqlParser.T__2); - this.state = 1618; - this.columnName(); + this.state = 1843; + this.columnRef(); } } - this.state = 1623; + this.state = 1848; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1624; + this.state = 1849; this.match(TrinoSqlParser.T__1); } } @@ -6260,32 +6957,32 @@ export class TrinoSqlParser extends SQLParserBase { } public columnAliases(): ColumnAliasesContext { let localContext = new ColumnAliasesContext(this.context, this.state); - this.enterRule(localContext, 98, TrinoSqlParser.RULE_columnAliases); + this.enterRule(localContext, 108, TrinoSqlParser.RULE_columnAliases); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1626; + this.state = 1851; this.match(TrinoSqlParser.T__0); - this.state = 1627; + this.state = 1852; this.identifier(); - this.state = 1632; + this.state = 1857; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1628; + this.state = 1853; this.match(TrinoSqlParser.T__2); - this.state = 1629; + this.state = 1854; this.identifier(); } } - this.state = 1634; + this.state = 1859; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1635; + this.state = 1860; this.match(TrinoSqlParser.T__1); } } @@ -6305,29 +7002,39 @@ export class TrinoSqlParser extends SQLParserBase { } public relationPrimary(): RelationPrimaryContext { let localContext = new RelationPrimaryContext(this.context, this.state); - this.enterRule(localContext, 100, TrinoSqlParser.RULE_relationPrimary); + this.enterRule(localContext, 110, TrinoSqlParser.RULE_relationPrimary); let _la: number; try { - this.state = 1666; + this.state = 1933; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 217, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 234, this.context) ) { case 1: - localContext = new TableOrViewRelationContext(localContext); + localContext = new TableNameContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1637; + this.state = 1862; this.tableOrViewName(); + this.state = 1864; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 228, this.context) ) { + case 1: + { + this.state = 1863; + this.queryPeriod(); + } + break; + } } break; case 2: localContext = new SubqueryRelationContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1638; + this.state = 1866; this.match(TrinoSqlParser.T__0); - this.state = 1639; + this.state = 1867; this.query(); - this.state = 1640; + this.state = 1868; this.match(TrinoSqlParser.T__1); } break; @@ -6335,38 +7042,38 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnnestContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1642; + this.state = 1870; this.match(TrinoSqlParser.KW_UNNEST); - this.state = 1643; + this.state = 1871; this.match(TrinoSqlParser.T__0); - this.state = 1644; + this.state = 1872; this.expression(); - this.state = 1649; + this.state = 1877; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1645; + this.state = 1873; this.match(TrinoSqlParser.T__2); - this.state = 1646; + this.state = 1874; this.expression(); } } - this.state = 1651; + this.state = 1879; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1652; + this.state = 1880; this.match(TrinoSqlParser.T__1); - this.state = 1655; + this.state = 1883; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 216, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 230, this.context) ) { case 1: { - this.state = 1653; + this.state = 1881; this.match(TrinoSqlParser.KW_WITH); - this.state = 1654; + this.state = 1882; this.match(TrinoSqlParser.KW_ORDINALITY); } break; @@ -6377,25 +7084,128 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LateralContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1657; + this.state = 1885; this.match(TrinoSqlParser.KW_LATERAL); - this.state = 1658; + this.state = 1886; this.match(TrinoSqlParser.T__0); - this.state = 1659; + this.state = 1887; this.query(); - this.state = 1660; + this.state = 1888; this.match(TrinoSqlParser.T__1); } break; case 5: - localContext = new ParenthesizedRelationContext(localContext); + localContext = new TableFunctionInvocationContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 1662; + this.state = 1890; + this.match(TrinoSqlParser.KW_TABLE); + this.state = 1891; this.match(TrinoSqlParser.T__0); - this.state = 1663; + this.state = 1892; + this.tableFunctionCall(); + this.state = 1893; + this.match(TrinoSqlParser.T__1); + } + break; + case 6: + localContext = new ParenthesizedRelationContext(localContext); + this.enterOuterAlt(localContext, 6); + { + this.state = 1895; + this.match(TrinoSqlParser.T__0); + this.state = 1896; this.relation(0); - this.state = 1664; + this.state = 1897; + this.match(TrinoSqlParser.T__1); + } + break; + case 7: + localContext = new JsonTableContext(localContext); + this.enterOuterAlt(localContext, 7); + { + this.state = 1899; + this.match(TrinoSqlParser.KW_JSON_TABLE); + this.state = 1900; + this.match(TrinoSqlParser.T__0); + this.state = 1901; + this.jsonPathInvocation(); + this.state = 1902; + this.match(TrinoSqlParser.KW_COLUMNS); + this.state = 1903; + this.match(TrinoSqlParser.T__0); + this.state = 1904; + this.jsonTableColumn(); + this.state = 1909; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 1905; + this.match(TrinoSqlParser.T__2); + this.state = 1906; + this.jsonTableColumn(); + } + } + this.state = 1911; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 1912; + this.match(TrinoSqlParser.T__1); + this.state = 1924; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 232, this.context) ) { + case 1: + { + this.state = 1913; + this.match(TrinoSqlParser.KW_PLAN); + this.state = 1914; + this.match(TrinoSqlParser.T__0); + this.state = 1915; + this.jsonTableSpecificPlan(); + this.state = 1916; + this.match(TrinoSqlParser.T__1); + } + break; + case 2: + { + this.state = 1918; + this.match(TrinoSqlParser.KW_PLAN); + this.state = 1919; + this.match(TrinoSqlParser.KW_DEFAULT); + this.state = 1920; + this.match(TrinoSqlParser.T__0); + this.state = 1921; + this.jsonTableDefaultPlan(); + this.state = 1922; + this.match(TrinoSqlParser.T__1); + } + break; + } + this.state = 1929; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 85 || _la === 89) { + { + this.state = 1926; + _la = this.tokenStream.LA(1); + if(!(_la === 85 || _la === 89)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1927; + this.match(TrinoSqlParser.KW_ON); + this.state = 1928; + this.match(TrinoSqlParser.KW_ERROR); + } + } + + this.state = 1931; this.match(TrinoSqlParser.T__1); } break; @@ -6415,113 +7225,451 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public expression(): ExpressionContext { - let localContext = new ExpressionContext(this.context, this.state); - this.enterRule(localContext, 102, TrinoSqlParser.RULE_expression); + public jsonTableColumn(): JsonTableColumnContext { + let localContext = new JsonTableColumnContext(this.context, this.state); + this.enterRule(localContext, 112, TrinoSqlParser.RULE_jsonTableColumn); + let _la: number; try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1668; - this.booleanExpression(0); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } + this.state = 2012; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 247, this.context) ) { + case 1: + localContext = new OrdinalityColumnContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 1935; + this.identifier(); + this.state = 1936; + this.match(TrinoSqlParser.KW_FOR); + this.state = 1937; + this.match(TrinoSqlParser.KW_ORDINALITY); + } + break; + case 2: + localContext = new ValueColumnContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 1939; + this.identifier(); + this.state = 1940; + this.type_(0); + this.state = 1943; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 205) { + { + this.state = 1941; + this.match(TrinoSqlParser.KW_PATH); + this.state = 1942; + this.string_(); + } + } - public booleanExpression(): BooleanExpressionContext; - public booleanExpression(_p: number): BooleanExpressionContext; - public booleanExpression(_p?: number): BooleanExpressionContext { - if (_p === undefined) { - _p = 0; - } + this.state = 1949; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 236, this.context) ) { + case 1: + { + this.state = 1945; + (localContext as ValueColumnContext)._emptyBehavior = this.jsonValueBehavior(); + this.state = 1946; + this.match(TrinoSqlParser.KW_ON); + this.state = 1947; + this.match(TrinoSqlParser.KW_EMPTY); + } + break; + } + this.state = 1955; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 70 || _la === 89 || _la === 183) { + { + this.state = 1951; + (localContext as ValueColumnContext)._errorBehavior = this.jsonValueBehavior(); + this.state = 1952; + this.match(TrinoSqlParser.KW_ON); + this.state = 1953; + this.match(TrinoSqlParser.KW_ERROR); + } + } - let parentContext = this.context; - let parentState = this.state; - let localContext = new BooleanExpressionContext(this.context, parentState); - let previousContext = localContext; - let _startState = 104; - this.enterRecursionRule(localContext, 104, TrinoSqlParser.RULE_booleanExpression, _p); - try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - this.state = 1677; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.T__0: - case TrinoSqlParser.KW_ADD: - case TrinoSqlParser.KW_ADMIN: - case TrinoSqlParser.KW_AFTER: - case TrinoSqlParser.KW_ALL: - case TrinoSqlParser.KW_ANALYZE: - case TrinoSqlParser.KW_ANY: - case TrinoSqlParser.KW_ARRAY: - case TrinoSqlParser.KW_ASC: - case TrinoSqlParser.KW_AT: - case TrinoSqlParser.KW_AUTHORIZATION: - case TrinoSqlParser.KW_BERNOULLI: - case TrinoSqlParser.KW_CALL: - case TrinoSqlParser.KW_CASCADE: - case TrinoSqlParser.KW_CASE: - case TrinoSqlParser.KW_CAST: - case TrinoSqlParser.KW_CATALOGS: - case TrinoSqlParser.KW_COLUMN: - case TrinoSqlParser.KW_COLUMNS: - case TrinoSqlParser.KW_COMMENT: - case TrinoSqlParser.KW_COMMIT: - case TrinoSqlParser.KW_COMMITTED: - case TrinoSqlParser.KW_CURRENT: - case TrinoSqlParser.KW_CURRENT_CATALOG: - case TrinoSqlParser.KW_CURRENT_DATE: - case TrinoSqlParser.KW_CURRENT_PATH: - case TrinoSqlParser.KW_CURRENT_SCHEMA: - case TrinoSqlParser.KW_CURRENT_TIME: - case TrinoSqlParser.KW_CURRENT_TIMESTAMP: - case TrinoSqlParser.KW_CURRENT_USER: - case TrinoSqlParser.KW_DATA: - case TrinoSqlParser.KW_DATE: + } + break; + case 3: + localContext = new QueryColumnContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 1957; + this.identifier(); + this.state = 1958; + this.type_(0); + this.state = 1959; + this.match(TrinoSqlParser.KW_FORMAT); + this.state = 1960; + this.jsonRepresentation(); + this.state = 1963; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 205) { + { + this.state = 1961; + this.match(TrinoSqlParser.KW_PATH); + this.state = 1962; + this.string_(); + } + } + + this.state = 1968; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 304 || _la === 306) { + { + this.state = 1965; + this.jsonQueryWrapperBehavior(); + this.state = 1966; + this.match(TrinoSqlParser.KW_WRAPPER); + } + } + + this.state = 1977; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 144 || _la === 189) { + { + this.state = 1970; + _la = this.tokenStream.LA(1); + if(!(_la === 144 || _la === 189)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1971; + this.match(TrinoSqlParser.KW_QUOTES); + this.state = 1975; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 190) { + { + this.state = 1972; + this.match(TrinoSqlParser.KW_ON); + this.state = 1973; + this.match(TrinoSqlParser.KW_SCALAR); + this.state = 1974; + this.match(TrinoSqlParser.KW_TEXT_STRING); + } + } + + } + } + + this.state = 1983; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 242, this.context) ) { + case 1: + { + this.state = 1979; + (localContext as QueryColumnContext)._emptyBehavior = this.jsonQueryBehavior(); + this.state = 1980; + this.match(TrinoSqlParser.KW_ON); + this.state = 1981; + this.match(TrinoSqlParser.KW_EMPTY); + } + break; + } + this.state = 1989; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 85 || _la === 89 || _la === 183) { + { + this.state = 1985; + (localContext as QueryColumnContext)._errorBehavior = this.jsonQueryBehavior(); + this.state = 1986; + this.match(TrinoSqlParser.KW_ON); + this.state = 1987; + this.match(TrinoSqlParser.KW_ERROR); + } + } + + } + break; + case 4: + localContext = new NestedColumnsContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 1991; + this.match(TrinoSqlParser.KW_NESTED); + this.state = 1993; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 205) { + { + this.state = 1992; + this.match(TrinoSqlParser.KW_PATH); + } + } + + this.state = 1995; + this.string_(); + this.state = 1998; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 28) { + { + this.state = 1996; + this.match(TrinoSqlParser.KW_AS); + this.state = 1997; + this.identifier(); + } + } + + this.state = 2000; + this.match(TrinoSqlParser.KW_COLUMNS); + this.state = 2001; + this.match(TrinoSqlParser.T__0); + this.state = 2002; + this.jsonTableColumn(); + this.state = 2007; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 2003; + this.match(TrinoSqlParser.T__2); + this.state = 2004; + this.jsonTableColumn(); + } + } + this.state = 2009; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 2010; + this.match(TrinoSqlParser.T__1); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public jsonTableSpecificPlan(): JsonTableSpecificPlanContext { + let localContext = new JsonTableSpecificPlanContext(this.context, this.state); + this.enterRule(localContext, 114, TrinoSqlParser.RULE_jsonTableSpecificPlan); + let _la: number; + try { + this.state = 2039; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 250, this.context) ) { + case 1: + localContext = new LeafPlanContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 2014; + this.jsonTablePathName(); + } + break; + case 2: + localContext = new JoinPlanContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 2015; + this.jsonTablePathName(); + this.state = 2016; + _la = this.tokenStream.LA(1); + if(!(_la === 125 || _la === 197)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 2017; + this.planPrimary(); + } + break; + case 3: + localContext = new UnionPlanContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 2019; + this.planPrimary(); + this.state = 2020; + this.match(TrinoSqlParser.KW_UNION); + this.state = 2021; + this.planPrimary(); + this.state = 2026; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 281) { + { + { + this.state = 2022; + this.match(TrinoSqlParser.KW_UNION); + this.state = 2023; + this.planPrimary(); + } + } + this.state = 2028; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + break; + case 4: + localContext = new CrossPlanContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 2029; + this.planPrimary(); + this.state = 2030; + this.match(TrinoSqlParser.KW_CROSS); + this.state = 2031; + this.planPrimary(); + this.state = 2036; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 54) { + { + { + this.state = 2032; + this.match(TrinoSqlParser.KW_CROSS); + this.state = 2033; + this.planPrimary(); + } + } + this.state = 2038; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public jsonTablePathName(): JsonTablePathNameContext { + let localContext = new JsonTablePathNameContext(this.context, this.state); + this.enterRule(localContext, 116, TrinoSqlParser.RULE_jsonTablePathName); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 2041; + this.identifier(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public planPrimary(): PlanPrimaryContext { + let localContext = new PlanPrimaryContext(this.context, this.state); + this.enterRule(localContext, 118, TrinoSqlParser.RULE_planPrimary); + try { + this.state = 2048; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ABSENT: + case TrinoSqlParser.KW_ADD: + case TrinoSqlParser.KW_ADMIN: + case TrinoSqlParser.KW_AFTER: + case TrinoSqlParser.KW_ALL: + case TrinoSqlParser.KW_ANALYZE: + case TrinoSqlParser.KW_ANY: + case TrinoSqlParser.KW_ARRAY: + case TrinoSqlParser.KW_ASC: + case TrinoSqlParser.KW_AT: + case TrinoSqlParser.KW_AUTHORIZATION: + case TrinoSqlParser.KW_BEGIN: + case TrinoSqlParser.KW_BERNOULLI: + case TrinoSqlParser.KW_BOTH: + case TrinoSqlParser.KW_CALL: + case TrinoSqlParser.KW_CALLED: + case TrinoSqlParser.KW_CASCADE: + case TrinoSqlParser.KW_CATALOG: + case TrinoSqlParser.KW_CATALOGS: + case TrinoSqlParser.KW_COLUMN: + case TrinoSqlParser.KW_COLUMNS: + case TrinoSqlParser.KW_COMMENT: + case TrinoSqlParser.KW_COMMIT: + case TrinoSqlParser.KW_COMMITTED: + case TrinoSqlParser.KW_CONDITIONAL: + case TrinoSqlParser.KW_COUNT: + case TrinoSqlParser.KW_COPARTITION: + case TrinoSqlParser.KW_CURRENT: + case TrinoSqlParser.KW_DATA: + case TrinoSqlParser.KW_DATE: case TrinoSqlParser.KW_DAY: + case TrinoSqlParser.KW_DECLARE: case TrinoSqlParser.KW_DEFAULT: + case TrinoSqlParser.KW_DEFINE: case TrinoSqlParser.KW_DEFINER: + case TrinoSqlParser.KW_DENY: case TrinoSqlParser.KW_DESC: - case TrinoSqlParser.KW_DEFINE: + case TrinoSqlParser.KW_DESCRIPTOR: + case TrinoSqlParser.KW_DETERMINISTIC: case TrinoSqlParser.KW_DISTRIBUTED: + case TrinoSqlParser.KW_DO: case TrinoSqlParser.KW_DOUBLE: case TrinoSqlParser.KW_EMPTY: + case TrinoSqlParser.KW_ELSEIF: + case TrinoSqlParser.KW_ENCODING: + case TrinoSqlParser.KW_ERROR: case TrinoSqlParser.KW_EXCLUDING: - case TrinoSqlParser.KW_EXISTS: case TrinoSqlParser.KW_EXPLAIN: - case TrinoSqlParser.KW_EXTRACT: - case TrinoSqlParser.KW_FALSE: case TrinoSqlParser.KW_FETCH: case TrinoSqlParser.KW_FILTER: case TrinoSqlParser.KW_FINAL: case TrinoSqlParser.KW_FIRST: case TrinoSqlParser.KW_FOLLOWING: case TrinoSqlParser.KW_FORMAT: + case TrinoSqlParser.KW_FUNCTION: case TrinoSqlParser.KW_FUNCTIONS: + case TrinoSqlParser.KW_GRACE: case TrinoSqlParser.KW_GRANT: case TrinoSqlParser.KW_GRANTED: case TrinoSqlParser.KW_GRANTS: - case TrinoSqlParser.KW_DENY: case TrinoSqlParser.KW_GRAPHVIZ: - case TrinoSqlParser.KW_GROUPING: case TrinoSqlParser.KW_GROUPS: case TrinoSqlParser.KW_HOUR: case TrinoSqlParser.KW_IF: case TrinoSqlParser.KW_IGNORE: + case TrinoSqlParser.KW_IMMEDIATE: case TrinoSqlParser.KW_INCLUDING: case TrinoSqlParser.KW_INITIAL: case TrinoSqlParser.KW_INPUT: @@ -6529,15 +7677,21 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_INVOKER: case TrinoSqlParser.KW_IO: case TrinoSqlParser.KW_ISOLATION: + case TrinoSqlParser.KW_ITERATE: case TrinoSqlParser.KW_JSON: + case TrinoSqlParser.KW_KEEP: + case TrinoSqlParser.KW_KEY: + case TrinoSqlParser.KW_KEYS: + case TrinoSqlParser.KW_LANGUAGE: case TrinoSqlParser.KW_LAST: case TrinoSqlParser.KW_LATERAL: + case TrinoSqlParser.KW_LEADING: + case TrinoSqlParser.KW_LEAVE: case TrinoSqlParser.KW_LEVEL: case TrinoSqlParser.KW_LIMIT: case TrinoSqlParser.KW_LOCAL: - case TrinoSqlParser.KW_LOCALTIME: - case TrinoSqlParser.KW_LOCALTIMESTAMP: case TrinoSqlParser.KW_LOGICAL: + case TrinoSqlParser.KW_LOOP: case TrinoSqlParser.KW_MAP: case TrinoSqlParser.KW_MATCH: case TrinoSqlParser.KW_MATCHED: @@ -6548,6 +7702,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_MERGE: case TrinoSqlParser.KW_MINUTE: case TrinoSqlParser.KW_MONTH: + case TrinoSqlParser.KW_NESTED: case TrinoSqlParser.KW_NEXT: case TrinoSqlParser.KW_NFC: case TrinoSqlParser.KW_NFD: @@ -6555,10 +7710,10 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_NFKD: case TrinoSqlParser.KW_NO: case TrinoSqlParser.KW_NONE: - case TrinoSqlParser.KW_NORMALIZE: - case TrinoSqlParser.KW_NULL: case TrinoSqlParser.KW_NULLIF: case TrinoSqlParser.KW_NULLS: + case TrinoSqlParser.KW_OBJECT: + case TrinoSqlParser.KW_OF: case TrinoSqlParser.KW_OFFSET: case TrinoSqlParser.KW_OMIT: case TrinoSqlParser.KW_ONE: @@ -6567,27 +7722,37 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ORDINALITY: case TrinoSqlParser.KW_OUTPUT: case TrinoSqlParser.KW_OVER: + case TrinoSqlParser.KW_OVERFLOW: case TrinoSqlParser.KW_PARTITION: case TrinoSqlParser.KW_PARTITIONS: + case TrinoSqlParser.KW_PASSING: case TrinoSqlParser.KW_PAST: case TrinoSqlParser.KW_PATH: case TrinoSqlParser.KW_PATTERN: case TrinoSqlParser.KW_PER: + case TrinoSqlParser.KW_PERIOD: case TrinoSqlParser.KW_PERMUTE: + case TrinoSqlParser.KW_PLAN: case TrinoSqlParser.KW_POSITION: case TrinoSqlParser.KW_PRECEDING: case TrinoSqlParser.KW_PRECISION: case TrinoSqlParser.KW_PRIVILEGES: case TrinoSqlParser.KW_PROPERTIES: + case TrinoSqlParser.KW_PRUNE: + case TrinoSqlParser.KW_QUOTES: case TrinoSqlParser.KW_RANGE: case TrinoSqlParser.KW_READ: case TrinoSqlParser.KW_REFRESH: case TrinoSqlParser.KW_RENAME: + case TrinoSqlParser.KW_REPEAT: case TrinoSqlParser.KW_REPEATABLE: case TrinoSqlParser.KW_REPLACE: case TrinoSqlParser.KW_RESET: case TrinoSqlParser.KW_RESPECT: case TrinoSqlParser.KW_RESTRICT: + case TrinoSqlParser.KW_RETURN: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_RETURNS: case TrinoSqlParser.KW_REVOKE: case TrinoSqlParser.KW_ROLE: case TrinoSqlParser.KW_ROLES: @@ -6595,6 +7760,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ROW: case TrinoSqlParser.KW_ROWS: case TrinoSqlParser.KW_RUNNING: + case TrinoSqlParser.KW_SCALAR: case TrinoSqlParser.KW_SCHEMA: case TrinoSqlParser.KW_SCHEMAS: case TrinoSqlParser.KW_SECOND: @@ -6614,128 +7780,67 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_TABLES: case TrinoSqlParser.KW_TABLESAMPLE: case TrinoSqlParser.KW_TEXT: + case TrinoSqlParser.KW_TEXT_STRING: case TrinoSqlParser.KW_TIES: case TrinoSqlParser.KW_TIME: case TrinoSqlParser.KW_TIMESTAMP: case TrinoSqlParser.KW_TO: + case TrinoSqlParser.KW_TRAILING: case TrinoSqlParser.KW_TRANSACTION: case TrinoSqlParser.KW_TRUNCATE: - case TrinoSqlParser.KW_TRUE: case TrinoSqlParser.KW_TRY_CAST: case TrinoSqlParser.KW_TYPE: case TrinoSqlParser.KW_UNBOUNDED: case TrinoSqlParser.KW_UNCOMMITTED: + case TrinoSqlParser.KW_UNCONDITIONAL: + case TrinoSqlParser.KW_UNIQUE: + case TrinoSqlParser.KW_UNKNOWN: case TrinoSqlParser.KW_UNMATCHED: + case TrinoSqlParser.KW_UNTIL: case TrinoSqlParser.KW_UPDATE: case TrinoSqlParser.KW_USE: case TrinoSqlParser.KW_USER: + case TrinoSqlParser.KW_UTF16: + case TrinoSqlParser.KW_UTF32: + case TrinoSqlParser.KW_UTF8: case TrinoSqlParser.KW_VALIDATE: + case TrinoSqlParser.KW_VALUE: case TrinoSqlParser.KW_VERBOSE: + case TrinoSqlParser.KW_VERSION: case TrinoSqlParser.KW_VIEW: + case TrinoSqlParser.KW_WHILE: case TrinoSqlParser.KW_WINDOW: + case TrinoSqlParser.KW_WITHIN: case TrinoSqlParser.KW_WITHOUT: case TrinoSqlParser.KW_WORK: + case TrinoSqlParser.KW_WRAPPER: case TrinoSqlParser.KW_WRITE: case TrinoSqlParser.KW_YEAR: case TrinoSqlParser.KW_ZONE: - case TrinoSqlParser.PLUS: - case TrinoSqlParser.MINUS: - case TrinoSqlParser.QUESTION_MARK: - case TrinoSqlParser.STRING: - case TrinoSqlParser.UNICODE_STRING: - case TrinoSqlParser.BINARY_LITERAL: - case TrinoSqlParser.INTEGER_VALUE: - case TrinoSqlParser.DECIMAL_VALUE: - case TrinoSqlParser.DOUBLE_VALUE: case TrinoSqlParser.IDENTIFIER: case TrinoSqlParser.DIGIT_IDENTIFIER: case TrinoSqlParser.QUOTED_IDENTIFIER: case TrinoSqlParser.BACKQUOTED_IDENTIFIER: + this.enterOuterAlt(localContext, 1); { - localContext = new PredicatedContext(localContext); - this.context = localContext; - previousContext = localContext; - - this.state = 1671; - (localContext as PredicatedContext)._valueExpression = this.valueExpression(0); - this.state = 1673; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 218, this.context) ) { - case 1: - { - this.state = 1672; - this.predicate((localContext as PredicatedContext)._valueExpression); - } - break; - } + this.state = 2043; + this.jsonTablePathName(); } break; - case TrinoSqlParser.KW_NOT: + case TrinoSqlParser.T__0: + this.enterOuterAlt(localContext, 2); { - localContext = new LogicalNotContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1675; - this.match(TrinoSqlParser.KW_NOT); - this.state = 1676; - this.booleanExpression(3); + this.state = 2044; + this.match(TrinoSqlParser.T__0); + this.state = 2045; + this.jsonTableSpecificPlan(); + this.state = 2046; + this.match(TrinoSqlParser.T__1); } break; default: throw new antlr.NoViableAltException(this); } - this.context!.stop = this.tokenStream.LT(-1); - this.state = 1687; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 221, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - if (this._parseListeners != null) { - this.triggerExitRuleEvent(); - } - previousContext = localContext; - { - this.state = 1685; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 220, this.context) ) { - case 1: - { - localContext = new LogicalBinaryContext(new BooleanExpressionContext(parentContext, parentState)); - (localContext as LogicalBinaryContext)._left = previousContext; - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_booleanExpression); - this.state = 1679; - if (!(this.precpred(this.context, 2))) { - throw this.createFailedPredicateException("this.precpred(this.context, 2)"); - } - this.state = 1680; - (localContext as LogicalBinaryContext)._operator = this.match(TrinoSqlParser.KW_AND); - this.state = 1681; - (localContext as LogicalBinaryContext)._right = this.booleanExpression(3); - } - break; - case 2: - { - localContext = new LogicalBinaryContext(new BooleanExpressionContext(parentContext, parentState)); - (localContext as LogicalBinaryContext)._left = previousContext; - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_booleanExpression); - this.state = 1682; - if (!(this.precpred(this.context, 1))) { - throw this.createFailedPredicateException("this.precpred(this.context, 1)"); - } - this.state = 1683; - (localContext as LogicalBinaryContext)._operator = this.match(TrinoSqlParser.KW_OR); - this.state = 1684; - (localContext as LogicalBinaryContext)._right = this.booleanExpression(2); - } - break; - } - } - } - this.state = 1689; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 221, this.context); - } - } } catch (re) { if (re instanceof antlr.RecognitionException) { @@ -6747,208 +7852,171 @@ export class TrinoSqlParser extends SQLParserBase { } } finally { - this.unrollRecursionContexts(parentContext); + this.exitRule(); } return localContext; } - public predicate(value: antlr.ParserRuleContext): PredicateContext { - let localContext = new PredicateContext(this.context, this.state, value); - this.enterRule(localContext, 106, TrinoSqlParser.RULE_predicate); + public jsonTableDefaultPlan(): JsonTableDefaultPlanContext { + let localContext = new JsonTableDefaultPlanContext(this.context, this.state); + this.enterRule(localContext, 120, TrinoSqlParser.RULE_jsonTableDefaultPlan); let _la: number; try { - this.state = 1751; + this.state = 2060; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 230, this.context) ) { - case 1: - localContext = new ComparisonContext(localContext); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_INNER: + case TrinoSqlParser.KW_OUTER: this.enterOuterAlt(localContext, 1); { - this.state = 1690; - this.comparisonOperator(); - this.state = 1691; - (localContext as ComparisonContext)._right = this.valueExpression(0); + this.state = 2050; + _la = this.tokenStream.LA(1); + if(!(_la === 125 || _la === 197)) { + this.errorHandler.recoverInline(this); } - break; - case 2: - localContext = new QuantifiedComparisonContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 1693; - this.comparisonOperator(); - this.state = 1694; - this.comparisonQuantifier(); - this.state = 1695; - this.match(TrinoSqlParser.T__0); - this.state = 1696; - this.query(); - this.state = 1697; - this.match(TrinoSqlParser.T__1); + else { + this.errorHandler.reportMatch(this); + this.consume(); } - break; - case 3: - localContext = new BetweenContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 1700; + this.state = 2053; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 147) { + if (_la === 3) { { - this.state = 1699; - this.match(TrinoSqlParser.KW_NOT); + this.state = 2051; + this.match(TrinoSqlParser.T__2); + this.state = 2052; + _la = this.tokenStream.LA(1); + if(!(_la === 54 || _la === 281)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } } - this.state = 1702; - this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 1703; - (localContext as BetweenContext)._lower = this.valueExpression(0); - this.state = 1704; - this.match(TrinoSqlParser.KW_AND); - this.state = 1705; - (localContext as BetweenContext)._upper = this.valueExpression(0); } break; - case 4: - localContext = new InListContext(localContext); - this.enterOuterAlt(localContext, 4); + case TrinoSqlParser.KW_CROSS: + case TrinoSqlParser.KW_UNION: + this.enterOuterAlt(localContext, 2); { - this.state = 1708; - this.errorHandler.sync(this); + this.state = 2055; _la = this.tokenStream.LA(1); - if (_la === 147) { - { - this.state = 1707; - this.match(TrinoSqlParser.KW_NOT); - } + if(!(_la === 54 || _la === 281)) { + this.errorHandler.recoverInline(this); } - - this.state = 1710; - this.match(TrinoSqlParser.KW_IN); - this.state = 1711; - this.match(TrinoSqlParser.T__0); - this.state = 1712; - this.expression(); - this.state = 1717; + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 2058; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 3) { - { + if (_la === 3) { { - this.state = 1713; + this.state = 2056; this.match(TrinoSqlParser.T__2); - this.state = 1714; - this.expression(); + this.state = 2057; + _la = this.tokenStream.LA(1); + if(!(_la === 125 || _la === 197)) { + this.errorHandler.recoverInline(this); } + else { + this.errorHandler.reportMatch(this); + this.consume(); } - this.state = 1719; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 1720; - this.match(TrinoSqlParser.T__1); - } - break; - case 5: - localContext = new InSubqueryContext(localContext); - this.enterOuterAlt(localContext, 5); - { - this.state = 1723; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 147) { - { - this.state = 1722; - this.match(TrinoSqlParser.KW_NOT); } } - this.state = 1725; - this.match(TrinoSqlParser.KW_IN); - this.state = 1726; - this.match(TrinoSqlParser.T__0); - this.state = 1727; - this.query(); - this.state = 1728; - this.match(TrinoSqlParser.T__1); } break; - case 6: - localContext = new LikeContext(localContext); - this.enterOuterAlt(localContext, 6); + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public tableFunctionCall(): TableFunctionCallContext { + let localContext = new TableFunctionCallContext(this.context, this.state); + this.enterRule(localContext, 122, TrinoSqlParser.RULE_tableFunctionCall); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 2062; + this.functionName(); + this.state = 2063; + this.match(TrinoSqlParser.T__0); + this.state = 2072; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 256, this.context) ) { + case 1: { - this.state = 1731; + this.state = 2064; + this.tableFunctionArgument(); + this.state = 2069; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 147) { + while (_la === 3) { { - this.state = 1730; - this.match(TrinoSqlParser.KW_NOT); - } - } - - this.state = 1733; - this.match(TrinoSqlParser.KW_LIKE); - this.state = 1734; - (localContext as LikeContext)._pattern = this.valueExpression(0); - this.state = 1737; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 227, this.context) ) { - case 1: { - this.state = 1735; - this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1736; - (localContext as LikeContext)._escape = this.valueExpression(0); + this.state = 2065; + this.match(TrinoSqlParser.T__2); + this.state = 2066; + this.tableFunctionArgument(); } - break; - } - } - break; - case 7: - localContext = new NullPredicateContext(localContext); - this.enterOuterAlt(localContext, 7); - { - this.state = 1739; - this.match(TrinoSqlParser.KW_IS); - this.state = 1741; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 147) { - { - this.state = 1740; - this.match(TrinoSqlParser.KW_NOT); } + this.state = 2071; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); } - - this.state = 1743; - this.match(TrinoSqlParser.KW_NULL); } break; - case 8: - localContext = new DistinctFromContext(localContext); - this.enterOuterAlt(localContext, 8); + } + this.state = 2083; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 52) { { - this.state = 1744; - this.match(TrinoSqlParser.KW_IS); - this.state = 1746; + this.state = 2074; + this.match(TrinoSqlParser.KW_COPARTITION); + this.state = 2075; + this.copartitionTables(); + this.state = 2080; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 147) { + while (_la === 3) { { - this.state = 1745; - this.match(TrinoSqlParser.KW_NOT); + { + this.state = 2076; + this.match(TrinoSqlParser.T__2); + this.state = 2077; + this.copartitionTables(); + } } + this.state = 2082; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); } - - this.state = 1748; - this.match(TrinoSqlParser.KW_DISTINCT); - this.state = 1749; - this.match(TrinoSqlParser.KW_FROM); - this.state = 1750; - (localContext as DistinctFromContext)._right = this.valueExpression(0); } - break; + } + + this.state = 2085; + this.match(TrinoSqlParser.T__1); } } catch (re) { @@ -6965,154 +8033,206 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - - public valueExpression(): ValueExpressionContext; - public valueExpression(_p: number): ValueExpressionContext; - public valueExpression(_p?: number): ValueExpressionContext { - if (_p === undefined) { - _p = 0; - } - - let parentContext = this.context; - let parentState = this.state; - let localContext = new ValueExpressionContext(this.context, parentState); - let previousContext = localContext; - let _startState = 108; - this.enterRecursionRule(localContext, 108, TrinoSqlParser.RULE_valueExpression, _p); - let _la: number; + public tableFunctionArgument(): TableFunctionArgumentContext { + let localContext = new TableFunctionArgumentContext(this.context, this.state); + this.enterRule(localContext, 124, TrinoSqlParser.RULE_tableFunctionArgument); try { - let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1757; + this.state = 2090; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 231, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 259, this.context) ) { case 1: { - localContext = new ValueExpressionDefaultContext(localContext); - this.context = localContext; - previousContext = localContext; - - this.state = 1754; - this.primaryExpression(0); + this.state = 2087; + this.identifier(); + this.state = 2088; + this.match(TrinoSqlParser.T__5); } break; - case 2: + } + this.state = 2095; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 260, this.context) ) { + case 1: { - localContext = new ArithmeticUnaryContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1755; - (localContext as ArithmeticUnaryContext)._operator = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 255 || _la === 256)) { - (localContext as ArithmeticUnaryContext)._operator = this.errorHandler.recoverInline(this); + this.state = 2092; + this.tableArgument(); } - else { - this.errorHandler.reportMatch(this); - this.consume(); + break; + case 2: + { + this.state = 2093; + this.descriptorArgument(); } - this.state = 1756; - this.valueExpression(4); + break; + case 3: + { + this.state = 2094; + this.expression(); } break; } - this.context!.stop = this.tokenStream.LT(-1); - this.state = 1773; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public tableArgument(): TableArgumentContext { + let localContext = new TableArgumentContext(this.context, this.state); + this.enterRule(localContext, 126, TrinoSqlParser.RULE_tableArgument); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 2097; + this.tableArgumentRelation(); + this.state = 2115; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 233, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - if (this._parseListeners != null) { - this.triggerExitRuleEvent(); - } - previousContext = localContext; + _la = this.tokenStream.LA(1); + if (_la === 201) { + { + this.state = 2098; + this.match(TrinoSqlParser.KW_PARTITION); + this.state = 2099; + this.match(TrinoSqlParser.KW_BY); + this.state = 2113; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 263, this.context) ) { + case 1: { - this.state = 1771; + this.state = 2100; + this.match(TrinoSqlParser.T__0); + this.state = 2109; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 232, this.context) ) { - case 1: - { - localContext = new ArithmeticBinaryContext(new ValueExpressionContext(parentContext, parentState)); - (localContext as ArithmeticBinaryContext)._left = previousContext; - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 1759; - if (!(this.precpred(this.context, 3))) { - throw this.createFailedPredicateException("this.precpred(this.context, 3)"); - } - this.state = 1760; - (localContext as ArithmeticBinaryContext)._operator = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 7) !== 0))) { - (localContext as ArithmeticBinaryContext)._operator = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - this.state = 1761; - (localContext as ArithmeticBinaryContext)._right = this.valueExpression(4); - } - break; - case 2: + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538382319) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3758094335) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { { - localContext = new ArithmeticBinaryContext(new ValueExpressionContext(parentContext, parentState)); - (localContext as ArithmeticBinaryContext)._left = previousContext; - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 1762; - if (!(this.precpred(this.context, 2))) { - throw this.createFailedPredicateException("this.precpred(this.context, 2)"); - } - this.state = 1763; - (localContext as ArithmeticBinaryContext)._operator = this.tokenStream.LT(1); + this.state = 2101; + this.expression(); + this.state = 2106; + this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if(!(_la === 255 || _la === 256)) { - (localContext as ArithmeticBinaryContext)._operator = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); + while (_la === 3) { + { + { + this.state = 2102; + this.match(TrinoSqlParser.T__2); + this.state = 2103; + this.expression(); + } + } + this.state = 2108; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); } - this.state = 1764; - (localContext as ArithmeticBinaryContext)._right = this.valueExpression(3); } - break; - case 3: + } + + this.state = 2111; + this.match(TrinoSqlParser.T__1); + } + break; + case 2: + { + this.state = 2112; + this.expression(); + } + break; + } + } + } + + this.state = 2123; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_PRUNE: + { + this.state = 2117; + this.match(TrinoSqlParser.KW_PRUNE); + this.state = 2118; + this.match(TrinoSqlParser.KW_WHEN); + this.state = 2119; + this.match(TrinoSqlParser.KW_EMPTY); + } + break; + case TrinoSqlParser.KW_KEEP: + { + this.state = 2120; + this.match(TrinoSqlParser.KW_KEEP); + this.state = 2121; + this.match(TrinoSqlParser.KW_WHEN); + this.state = 2122; + this.match(TrinoSqlParser.KW_EMPTY); + } + break; + case TrinoSqlParser.T__1: + case TrinoSqlParser.T__2: + case TrinoSqlParser.KW_COPARTITION: + case TrinoSqlParser.KW_ORDER: + break; + default: + break; + } + this.state = 2141; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 195) { + { + this.state = 2125; + this.match(TrinoSqlParser.KW_ORDER); + this.state = 2126; + this.match(TrinoSqlParser.KW_BY); + this.state = 2139; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 267, this.context) ) { + case 1: + { + this.state = 2127; + this.match(TrinoSqlParser.T__0); + this.state = 2128; + this.sortItem(); + this.state = 2133; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { { - localContext = new ConcatenationContext(new ValueExpressionContext(parentContext, parentState)); - (localContext as ConcatenationContext)._left = previousContext; - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 1765; - if (!(this.precpred(this.context, 1))) { - throw this.createFailedPredicateException("this.precpred(this.context, 1)"); - } - this.state = 1766; - this.match(TrinoSqlParser.CONCAT); - this.state = 1767; - (localContext as ConcatenationContext)._right = this.valueExpression(2); - } - break; - case 4: { - localContext = new AtTimeZoneContext(new ValueExpressionContext(parentContext, parentState)); - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 1768; - if (!(this.precpred(this.context, 5))) { - throw this.createFailedPredicateException("this.precpred(this.context, 5)"); + this.state = 2129; + this.match(TrinoSqlParser.T__2); + this.state = 2130; + this.sortItem(); } - this.state = 1769; - this.match(TrinoSqlParser.KW_AT); - this.state = 1770; - this.timeZoneSpecifier(); } - break; + this.state = 2135; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 2136; + this.match(TrinoSqlParser.T__1); } + break; + case 2: + { + this.state = 2138; + this.sortItem(); } + break; + } } - this.state = 1775; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 233, this.context); } + } } catch (re) { @@ -7125,879 +8245,943 @@ export class TrinoSqlParser extends SQLParserBase { } } finally { - this.unrollRecursionContexts(parentContext); + this.exitRule(); } return localContext; } - - public primaryExpression(): PrimaryExpressionContext; - public primaryExpression(_p: number): PrimaryExpressionContext; - public primaryExpression(_p?: number): PrimaryExpressionContext { - if (_p === undefined) { - _p = 0; - } - - let parentContext = this.context; - let parentState = this.state; - let localContext = new PrimaryExpressionContext(this.context, parentState); - let previousContext = localContext; - let _startState = 110; - this.enterRecursionRule(localContext, 110, TrinoSqlParser.RULE_primaryExpression, _p); + public tableArgumentRelation(): TableArgumentRelationContext { + let localContext = new TableArgumentRelationContext(this.context, this.state); + this.enterRule(localContext, 128, TrinoSqlParser.RULE_tableArgumentRelation); let _la: number; try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - this.state = 2025; + this.state = 2169; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 263, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 275, this.context) ) { case 1: + localContext = new TableArgumentTableContext(localContext); + this.enterOuterAlt(localContext, 1); { - localContext = new NullLiteralContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 2143; + this.match(TrinoSqlParser.KW_TABLE); + this.state = 2144; + this.match(TrinoSqlParser.T__0); + this.state = 2145; + this.tableRef(); + this.state = 2146; + this.match(TrinoSqlParser.T__1); + this.state = 2154; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 271, this.context) ) { + case 1: + { + this.state = 2148; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 28) { + { + this.state = 2147; + this.match(TrinoSqlParser.KW_AS); + } + } - this.state = 1777; - this.match(TrinoSqlParser.KW_NULL); + this.state = 2150; + this.identifier(); + this.state = 2152; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 1) { + { + this.state = 2151; + this.columnAliases(); + } + } + + } + break; + } } break; case 2: + localContext = new TableArgumentQueryContext(localContext); + this.enterOuterAlt(localContext, 2); { - localContext = new IntervalLiteralContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1778; - this.interval(); - } - break; - case 3: - { - localContext = new TypeConstructorContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1779; - this.identifier(); - this.state = 1780; - this.string_(); - } - break; - case 4: - { - localContext = new TypeConstructorContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1782; - this.match(TrinoSqlParser.KW_DOUBLE); - this.state = 1783; - this.match(TrinoSqlParser.KW_PRECISION); - this.state = 1784; - this.string_(); - } - break; - case 5: - { - localContext = new NumericLiteralContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1785; - this.number_(); - } - break; - case 6: - { - localContext = new BooleanLiteralContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1786; - this.booleanValue(); - } - break; - case 7: - { - localContext = new StringLiteralContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1787; - this.string_(); - } - break; - case 8: - { - localContext = new BinaryLiteralContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1788; - this.match(TrinoSqlParser.BINARY_LITERAL); - } - break; - case 9: - { - localContext = new ParameterContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1789; - this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - case 10: - { - localContext = new PositionContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1790; - this.match(TrinoSqlParser.KW_POSITION); - this.state = 1791; + this.state = 2156; + this.match(TrinoSqlParser.KW_TABLE); + this.state = 2157; this.match(TrinoSqlParser.T__0); - this.state = 1792; - this.valueExpression(0); - this.state = 1793; - this.match(TrinoSqlParser.KW_IN); - this.state = 1794; - this.valueExpression(0); - this.state = 1795; + this.state = 2158; + this.query(); + this.state = 2159; this.match(TrinoSqlParser.T__1); - } - break; - case 11: - { - localContext = new RowConstructorContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1797; - this.match(TrinoSqlParser.T__0); - this.state = 1798; - this.expression(); - this.state = 1801; + this.state = 2167; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - do { - { + switch (this.interpreter.adaptivePredict(this.tokenStream, 274, this.context) ) { + case 1: { - this.state = 1799; - this.match(TrinoSqlParser.T__2); - this.state = 1800; - this.expression(); - } + this.state = 2161; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 28) { + { + this.state = 2160; + this.match(TrinoSqlParser.KW_AS); + } } - this.state = 1803; + + this.state = 2163; + this.identifier(); + this.state = 2165; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - } while (_la === 3); - this.state = 1805; - this.match(TrinoSqlParser.T__1); + if (_la === 1) { + { + this.state = 2164; + this.columnAliases(); + } + } + + } + break; + } } break; - case 12: + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public descriptorArgument(): DescriptorArgumentContext { + let localContext = new DescriptorArgumentContext(this.context, this.state); + this.enterRule(localContext, 130, TrinoSqlParser.RULE_descriptorArgument); + let _la: number; + try { + this.state = 2189; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_DESCRIPTOR: + this.enterOuterAlt(localContext, 1); { - localContext = new RowConstructorContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1807; - this.match(TrinoSqlParser.KW_ROW); - this.state = 1808; + this.state = 2171; + this.match(TrinoSqlParser.KW_DESCRIPTOR); + this.state = 2172; this.match(TrinoSqlParser.T__0); - this.state = 1809; - this.expression(); - this.state = 1814; + this.state = 2173; + this.descriptorField(); + this.state = 2178; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1810; + this.state = 2174; this.match(TrinoSqlParser.T__2); - this.state = 1811; - this.expression(); + this.state = 2175; + this.descriptorField(); } } - this.state = 1816; + this.state = 2180; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1817; + this.state = 2181; this.match(TrinoSqlParser.T__1); } break; - case 13: + case TrinoSqlParser.KW_CAST: + this.enterOuterAlt(localContext, 2); { - localContext = new FunctionCallContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1819; - this.functionName(); - this.state = 1820; + this.state = 2183; + this.match(TrinoSqlParser.KW_CAST); + this.state = 2184; this.match(TrinoSqlParser.T__0); - this.state = 1821; - this.match(TrinoSqlParser.ASTERISK); - this.state = 1822; + this.state = 2185; + this.match(TrinoSqlParser.KW_NULL); + this.state = 2186; + this.match(TrinoSqlParser.KW_AS); + this.state = 2187; + this.match(TrinoSqlParser.KW_DESCRIPTOR); + this.state = 2188; this.match(TrinoSqlParser.T__1); - this.state = 1824; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 236, this.context) ) { - case 1: - { - this.state = 1823; - this.filter(); - } - break; - } - this.state = 1827; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 237, this.context) ) { - case 1: - { - this.state = 1826; - this.over(); - } - break; - } } break; - case 14: + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public descriptorField(): DescriptorFieldContext { + let localContext = new DescriptorFieldContext(this.context, this.state); + this.enterRule(localContext, 132, TrinoSqlParser.RULE_descriptorField); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 2191; + this.identifier(); + this.state = 2193; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - localContext = new FunctionCallContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1830; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 238, this.context) ) { - case 1: - { - this.state = 1829; - this.processingMode(); - } - break; - } - this.state = 1832; - this.functionName(); - this.state = 1833; - this.match(TrinoSqlParser.T__0); - this.state = 1845; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 2069757954) !== 0) || ((((_la - 33)) & ~0x1F) === 0 && ((1 << (_la - 33)) & 1476117503) !== 0) || ((((_la - 65)) & ~0x1F) === 0 && ((1 << (_la - 65)) & 2120217679) !== 0) || ((((_la - 97)) & ~0x1F) === 0 && ((1 << (_la - 97)) & 4252345787) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 1325399551) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3153981439) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4286054271) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3237637037) !== 0) || ((((_la - 261)) & ~0x1F) === 0 && ((1 << (_la - 261)) & 2047) !== 0)) { - { - this.state = 1835; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 239, this.context) ) { - case 1: - { - this.state = 1834; - this.setQuantifier(); - } - break; - } - this.state = 1837; - this.expression(); - this.state = 1842; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 1838; - this.match(TrinoSqlParser.T__2); - this.state = 1839; - this.expression(); - } - } - this.state = 1844; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - } + this.state = 2192; + this.type_(0); } + } - this.state = 1857; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 158) { - { - this.state = 1847; - this.match(TrinoSqlParser.KW_ORDER); - this.state = 1848; - this.match(TrinoSqlParser.KW_BY); - this.state = 1849; - this.sortItem(); - this.state = 1854; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 1850; - this.match(TrinoSqlParser.T__2); - this.state = 1851; - this.sortItem(); - } - } - this.state = 1856; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - } - } - - this.state = 1859; - this.match(TrinoSqlParser.T__1); - this.state = 1861; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 244, this.context) ) { - case 1: - { - this.state = 1860; - this.filter(); - } - break; - } - this.state = 1867; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 246, this.context) ) { - case 1: - { - this.state = 1864; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 102 || _la === 184) { - { - this.state = 1863; - this.nullTreatment(); - } - } - - this.state = 1866; - this.over(); - } - break; - } - } - break; - case 15: - { - localContext = new MeasureContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1869; - this.identifier(); - this.state = 1870; - this.over(); - } - break; - case 16: - { - localContext = new LambdaContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1872; - this.identifier(); - this.state = 1873; - this.match(TrinoSqlParser.T__5); - this.state = 1874; - this.expression(); - } - break; - case 17: + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public copartitionTables(): CopartitionTablesContext { + let localContext = new CopartitionTablesContext(this.context, this.state); + this.enterRule(localContext, 134, TrinoSqlParser.RULE_copartitionTables); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 2195; + this.match(TrinoSqlParser.T__0); + this.state = 2196; + this.qualifiedName(); + this.state = 2197; + this.match(TrinoSqlParser.T__2); + this.state = 2198; + this.qualifiedName(); + this.state = 2203; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { { - localContext = new LambdaContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1876; - this.match(TrinoSqlParser.T__0); - this.state = 1885; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (((((_la - 17)) & ~0x1F) === 0 && ((1 << (_la - 17)) & 1140014511) !== 0) || ((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 3192429231) !== 0) || ((((_la - 90)) & ~0x1F) === 0 && ((1 << (_la - 90)) & 3134381375) !== 0) || ((((_la - 123)) & ~0x1F) === 0 && ((1 << (_la - 123)) & 3162472435) !== 0) || ((((_la - 155)) & ~0x1F) === 0 && ((1 << (_la - 155)) & 4286316499) !== 0) || ((((_la - 188)) & ~0x1F) === 0 && ((1 << (_la - 188)) & 4009750519) !== 0) || ((((_la - 220)) & ~0x1F) === 0 && ((1 << (_la - 220)) & 525170103) !== 0) || ((((_la - 268)) & ~0x1F) === 0 && ((1 << (_la - 268)) & 15) !== 0)) { - { - this.state = 1877; - this.identifier(); - this.state = 1882; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 1878; - this.match(TrinoSqlParser.T__2); - this.state = 1879; - this.identifier(); - } - } - this.state = 1884; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - } - } - - this.state = 1887; - this.match(TrinoSqlParser.T__1); - this.state = 1888; - this.match(TrinoSqlParser.T__5); - this.state = 1889; - this.expression(); - } - break; - case 18: { - localContext = new SubqueryExpressionContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1890; - this.match(TrinoSqlParser.T__0); - this.state = 1891; - this.query(); - this.state = 1892; - this.match(TrinoSqlParser.T__1); + this.state = 2199; + this.match(TrinoSqlParser.T__2); + this.state = 2200; + this.qualifiedName(); } - break; - case 19: - { - localContext = new ExistsContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1894; - this.match(TrinoSqlParser.KW_EXISTS); - this.state = 1895; - this.match(TrinoSqlParser.T__0); - this.state = 1896; - this.query(); - this.state = 1897; - this.match(TrinoSqlParser.T__1); } - break; - case 20: - { - localContext = new SimpleCaseContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1899; - this.match(TrinoSqlParser.KW_CASE); - this.state = 1900; - (localContext as SimpleCaseContext)._operand = this.expression(); - this.state = 1902; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - do { - { - { - this.state = 1901; - this.whenClause(); - } - } - this.state = 1904; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } while (_la === 240); - this.state = 1908; + this.state = 2205; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 70) { - { - this.state = 1906; - this.match(TrinoSqlParser.KW_ELSE); - this.state = 1907; - (localContext as SimpleCaseContext)._elseExpression = this.expression(); - } - } + } + this.state = 2206; + this.match(TrinoSqlParser.T__1); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public expression(): ExpressionContext { + let localContext = new ExpressionContext(this.context, this.state); + this.enterRule(localContext, 136, TrinoSqlParser.RULE_expression); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 2208; + this.booleanExpression(0); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } - this.state = 1910; - this.match(TrinoSqlParser.KW_END); - } - break; - case 21: - { - localContext = new SearchedCaseContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1912; - this.match(TrinoSqlParser.KW_CASE); - this.state = 1914; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - do { - { - { - this.state = 1913; - this.whenClause(); - } - } - this.state = 1916; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } while (_la === 240); - this.state = 1920; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 70) { - { - this.state = 1918; - this.match(TrinoSqlParser.KW_ELSE); - this.state = 1919; - (localContext as SearchedCaseContext)._elseExpression = this.expression(); - } - } + public booleanExpression(): BooleanExpressionContext; + public booleanExpression(_p: number): BooleanExpressionContext; + public booleanExpression(_p?: number): BooleanExpressionContext { + if (_p === undefined) { + _p = 0; + } - this.state = 1922; - this.match(TrinoSqlParser.KW_END); - } - break; - case 22: + let parentContext = this.context; + let parentState = this.state; + let localContext = new BooleanExpressionContext(this.context, parentState); + let previousContext = localContext; + let _startState = 138; + this.enterRecursionRule(localContext, 138, TrinoSqlParser.RULE_booleanExpression, _p); + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 2217; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.T__0: + case TrinoSqlParser.KW_ABSENT: + case TrinoSqlParser.KW_ADD: + case TrinoSqlParser.KW_ADMIN: + case TrinoSqlParser.KW_AFTER: + case TrinoSqlParser.KW_ALL: + case TrinoSqlParser.KW_ANALYZE: + case TrinoSqlParser.KW_ANY: + case TrinoSqlParser.KW_ARRAY: + case TrinoSqlParser.KW_ASC: + case TrinoSqlParser.KW_AT: + case TrinoSqlParser.KW_AUTHORIZATION: + case TrinoSqlParser.KW_BEGIN: + case TrinoSqlParser.KW_BERNOULLI: + case TrinoSqlParser.KW_BOTH: + case TrinoSqlParser.KW_CALL: + case TrinoSqlParser.KW_CALLED: + case TrinoSqlParser.KW_CASCADE: + case TrinoSqlParser.KW_CASE: + case TrinoSqlParser.KW_CAST: + case TrinoSqlParser.KW_CATALOG: + case TrinoSqlParser.KW_CATALOGS: + case TrinoSqlParser.KW_COLUMN: + case TrinoSqlParser.KW_COLUMNS: + case TrinoSqlParser.KW_COMMENT: + case TrinoSqlParser.KW_COMMIT: + case TrinoSqlParser.KW_COMMITTED: + case TrinoSqlParser.KW_CONDITIONAL: + case TrinoSqlParser.KW_COUNT: + case TrinoSqlParser.KW_COPARTITION: + case TrinoSqlParser.KW_CURRENT: + case TrinoSqlParser.KW_CURRENT_CATALOG: + case TrinoSqlParser.KW_CURRENT_DATE: + case TrinoSqlParser.KW_CURRENT_PATH: + case TrinoSqlParser.KW_CURRENT_SCHEMA: + case TrinoSqlParser.KW_CURRENT_TIME: + case TrinoSqlParser.KW_CURRENT_TIMESTAMP: + case TrinoSqlParser.KW_CURRENT_USER: + case TrinoSqlParser.KW_DATA: + case TrinoSqlParser.KW_DATE: + case TrinoSqlParser.KW_DAY: + case TrinoSqlParser.KW_DECLARE: + case TrinoSqlParser.KW_DEFAULT: + case TrinoSqlParser.KW_DEFINE: + case TrinoSqlParser.KW_DEFINER: + case TrinoSqlParser.KW_DENY: + case TrinoSqlParser.KW_DESC: + case TrinoSqlParser.KW_DESCRIPTOR: + case TrinoSqlParser.KW_DETERMINISTIC: + case TrinoSqlParser.KW_DISTRIBUTED: + case TrinoSqlParser.KW_DO: + case TrinoSqlParser.KW_DOUBLE: + case TrinoSqlParser.KW_EMPTY: + case TrinoSqlParser.KW_ELSEIF: + case TrinoSqlParser.KW_ENCODING: + case TrinoSqlParser.KW_ERROR: + case TrinoSqlParser.KW_EXCLUDING: + case TrinoSqlParser.KW_EXISTS: + case TrinoSqlParser.KW_EXPLAIN: + case TrinoSqlParser.KW_EXTRACT: + case TrinoSqlParser.KW_FALSE: + case TrinoSqlParser.KW_FETCH: + case TrinoSqlParser.KW_FILTER: + case TrinoSqlParser.KW_FINAL: + case TrinoSqlParser.KW_FIRST: + case TrinoSqlParser.KW_FOLLOWING: + case TrinoSqlParser.KW_FORMAT: + case TrinoSqlParser.KW_FUNCTION: + case TrinoSqlParser.KW_FUNCTIONS: + case TrinoSqlParser.KW_GRACE: + case TrinoSqlParser.KW_GRANT: + case TrinoSqlParser.KW_GRANTED: + case TrinoSqlParser.KW_GRANTS: + case TrinoSqlParser.KW_GRAPHVIZ: + case TrinoSqlParser.KW_GROUPING: + case TrinoSqlParser.KW_GROUPS: + case TrinoSqlParser.KW_HOUR: + case TrinoSqlParser.KW_IF: + case TrinoSqlParser.KW_IGNORE: + case TrinoSqlParser.KW_IMMEDIATE: + case TrinoSqlParser.KW_INCLUDING: + case TrinoSqlParser.KW_INITIAL: + case TrinoSqlParser.KW_INPUT: + case TrinoSqlParser.KW_INTERVAL: + case TrinoSqlParser.KW_INVOKER: + case TrinoSqlParser.KW_IO: + case TrinoSqlParser.KW_ISOLATION: + case TrinoSqlParser.KW_ITERATE: + case TrinoSqlParser.KW_JSON: + case TrinoSqlParser.KW_JSON_ARRAY: + case TrinoSqlParser.KW_JSON_EXISTS: + case TrinoSqlParser.KW_JSON_OBJECT: + case TrinoSqlParser.KW_JSON_QUERY: + case TrinoSqlParser.KW_JSON_VALUE: + case TrinoSqlParser.KW_KEEP: + case TrinoSqlParser.KW_KEY: + case TrinoSqlParser.KW_KEYS: + case TrinoSqlParser.KW_LANGUAGE: + case TrinoSqlParser.KW_LAST: + case TrinoSqlParser.KW_LATERAL: + case TrinoSqlParser.KW_LEADING: + case TrinoSqlParser.KW_LEAVE: + case TrinoSqlParser.KW_LEVEL: + case TrinoSqlParser.KW_LIMIT: + case TrinoSqlParser.KW_LISTAGG: + case TrinoSqlParser.KW_LOCAL: + case TrinoSqlParser.KW_LOCALTIME: + case TrinoSqlParser.KW_LOCALTIMESTAMP: + case TrinoSqlParser.KW_LOGICAL: + case TrinoSqlParser.KW_LOOP: + case TrinoSqlParser.KW_MAP: + case TrinoSqlParser.KW_MATCH: + case TrinoSqlParser.KW_MATCHED: + case TrinoSqlParser.KW_MATCHES: + case TrinoSqlParser.KW_MATCH_RECOGNIZE: + case TrinoSqlParser.KW_MATERIALIZED: + case TrinoSqlParser.KW_MEASURES: + case TrinoSqlParser.KW_MERGE: + case TrinoSqlParser.KW_MINUTE: + case TrinoSqlParser.KW_MONTH: + case TrinoSqlParser.KW_NESTED: + case TrinoSqlParser.KW_NEXT: + case TrinoSqlParser.KW_NFC: + case TrinoSqlParser.KW_NFD: + case TrinoSqlParser.KW_NFKC: + case TrinoSqlParser.KW_NFKD: + case TrinoSqlParser.KW_NO: + case TrinoSqlParser.KW_NONE: + case TrinoSqlParser.KW_NORMALIZE: + case TrinoSqlParser.KW_NULL: + case TrinoSqlParser.KW_NULLIF: + case TrinoSqlParser.KW_NULLS: + case TrinoSqlParser.KW_OBJECT: + case TrinoSqlParser.KW_OF: + case TrinoSqlParser.KW_OFFSET: + case TrinoSqlParser.KW_OMIT: + case TrinoSqlParser.KW_ONE: + case TrinoSqlParser.KW_ONLY: + case TrinoSqlParser.KW_OPTION: + case TrinoSqlParser.KW_ORDINALITY: + case TrinoSqlParser.KW_OUTPUT: + case TrinoSqlParser.KW_OVER: + case TrinoSqlParser.KW_OVERFLOW: + case TrinoSqlParser.KW_PARTITION: + case TrinoSqlParser.KW_PARTITIONS: + case TrinoSqlParser.KW_PASSING: + case TrinoSqlParser.KW_PAST: + case TrinoSqlParser.KW_PATH: + case TrinoSqlParser.KW_PATTERN: + case TrinoSqlParser.KW_PER: + case TrinoSqlParser.KW_PERIOD: + case TrinoSqlParser.KW_PERMUTE: + case TrinoSqlParser.KW_PLAN: + case TrinoSqlParser.KW_POSITION: + case TrinoSqlParser.KW_PRECEDING: + case TrinoSqlParser.KW_PRECISION: + case TrinoSqlParser.KW_PRIVILEGES: + case TrinoSqlParser.KW_PROPERTIES: + case TrinoSqlParser.KW_PRUNE: + case TrinoSqlParser.KW_QUOTES: + case TrinoSqlParser.KW_RANGE: + case TrinoSqlParser.KW_READ: + case TrinoSqlParser.KW_REFRESH: + case TrinoSqlParser.KW_RENAME: + case TrinoSqlParser.KW_REPEAT: + case TrinoSqlParser.KW_REPEATABLE: + case TrinoSqlParser.KW_REPLACE: + case TrinoSqlParser.KW_RESET: + case TrinoSqlParser.KW_RESPECT: + case TrinoSqlParser.KW_RESTRICT: + case TrinoSqlParser.KW_RETURN: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_RETURNS: + case TrinoSqlParser.KW_REVOKE: + case TrinoSqlParser.KW_ROLE: + case TrinoSqlParser.KW_ROLES: + case TrinoSqlParser.KW_ROLLBACK: + case TrinoSqlParser.KW_ROW: + case TrinoSqlParser.KW_ROWS: + case TrinoSqlParser.KW_RUNNING: + case TrinoSqlParser.KW_SCALAR: + case TrinoSqlParser.KW_SCHEMA: + case TrinoSqlParser.KW_SCHEMAS: + case TrinoSqlParser.KW_SECOND: + case TrinoSqlParser.KW_SECURITY: + case TrinoSqlParser.KW_SEEK: + case TrinoSqlParser.KW_SERIALIZABLE: + case TrinoSqlParser.KW_SESSION: + case TrinoSqlParser.KW_SET: + case TrinoSqlParser.KW_SETS: + case TrinoSqlParser.KW_SHOW: + case TrinoSqlParser.KW_SOME: + case TrinoSqlParser.KW_START: + case TrinoSqlParser.KW_STATS: + case TrinoSqlParser.KW_SUBSET: + case TrinoSqlParser.KW_SUBSTRING: + case TrinoSqlParser.KW_SYSTEM: + case TrinoSqlParser.KW_TABLES: + case TrinoSqlParser.KW_TABLESAMPLE: + case TrinoSqlParser.KW_TEXT: + case TrinoSqlParser.KW_TEXT_STRING: + case TrinoSqlParser.KW_TIES: + case TrinoSqlParser.KW_TIME: + case TrinoSqlParser.KW_TIMESTAMP: + case TrinoSqlParser.KW_TO: + case TrinoSqlParser.KW_TRAILING: + case TrinoSqlParser.KW_TRANSACTION: + case TrinoSqlParser.KW_TRIM: + case TrinoSqlParser.KW_TRUE: + case TrinoSqlParser.KW_TRUNCATE: + case TrinoSqlParser.KW_TRY_CAST: + case TrinoSqlParser.KW_TYPE: + case TrinoSqlParser.KW_UNBOUNDED: + case TrinoSqlParser.KW_UNCOMMITTED: + case TrinoSqlParser.KW_UNCONDITIONAL: + case TrinoSqlParser.KW_UNIQUE: + case TrinoSqlParser.KW_UNKNOWN: + case TrinoSqlParser.KW_UNMATCHED: + case TrinoSqlParser.KW_UNTIL: + case TrinoSqlParser.KW_UPDATE: + case TrinoSqlParser.KW_USE: + case TrinoSqlParser.KW_USER: + case TrinoSqlParser.KW_UTF16: + case TrinoSqlParser.KW_UTF32: + case TrinoSqlParser.KW_UTF8: + case TrinoSqlParser.KW_VALIDATE: + case TrinoSqlParser.KW_VALUE: + case TrinoSqlParser.KW_VERBOSE: + case TrinoSqlParser.KW_VERSION: + case TrinoSqlParser.KW_VIEW: + case TrinoSqlParser.KW_WHILE: + case TrinoSqlParser.KW_WINDOW: + case TrinoSqlParser.KW_WITHIN: + case TrinoSqlParser.KW_WITHOUT: + case TrinoSqlParser.KW_WORK: + case TrinoSqlParser.KW_WRAPPER: + case TrinoSqlParser.KW_WRITE: + case TrinoSqlParser.KW_YEAR: + case TrinoSqlParser.KW_ZONE: + case TrinoSqlParser.PLUS: + case TrinoSqlParser.MINUS: + case TrinoSqlParser.QUESTION_MARK: + case TrinoSqlParser.STRING: + case TrinoSqlParser.UNICODE_STRING: + case TrinoSqlParser.BINARY_LITERAL: + case TrinoSqlParser.INTEGER_VALUE: + case TrinoSqlParser.DECIMAL_VALUE: + case TrinoSqlParser.DOUBLE_VALUE: + case TrinoSqlParser.IDENTIFIER: + case TrinoSqlParser.DIGIT_IDENTIFIER: + case TrinoSqlParser.QUOTED_IDENTIFIER: + case TrinoSqlParser.BACKQUOTED_IDENTIFIER: { - localContext = new CastContext(localContext); + localContext = new PredicatedContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 1924; - this.match(TrinoSqlParser.KW_CAST); - this.state = 1925; - this.match(TrinoSqlParser.T__0); - this.state = 1926; - this.expression(); - this.state = 1927; - this.match(TrinoSqlParser.KW_AS); - this.state = 1928; - this.type_(0); - this.state = 1929; - this.match(TrinoSqlParser.T__1); + + this.state = 2211; + (localContext as PredicatedContext)._valueExpression = this.valueExpression(0); + this.state = 2213; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 280, this.context) ) { + case 1: + { + this.state = 2212; + this.predicate((localContext as PredicatedContext)._valueExpression); + } + break; + } } break; - case 23: + case TrinoSqlParser.KW_NOT: { - localContext = new CastContext(localContext); + localContext = new LogicalNotContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 1931; - this.match(TrinoSqlParser.KW_TRY_CAST); - this.state = 1932; - this.match(TrinoSqlParser.T__0); - this.state = 1933; - this.expression(); - this.state = 1934; - this.match(TrinoSqlParser.KW_AS); - this.state = 1935; - this.type_(0); - this.state = 1936; - this.match(TrinoSqlParser.T__1); + this.state = 2215; + this.match(TrinoSqlParser.KW_NOT); + this.state = 2216; + this.booleanExpression(3); } break; - case 24: - { - localContext = new ArrayConstructorContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1938; - this.match(TrinoSqlParser.KW_ARRAY); - this.state = 1939; - this.match(TrinoSqlParser.T__6); - this.state = 1948; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 2069757954) !== 0) || ((((_la - 33)) & ~0x1F) === 0 && ((1 << (_la - 33)) & 1476117503) !== 0) || ((((_la - 65)) & ~0x1F) === 0 && ((1 << (_la - 65)) & 2120217677) !== 0) || ((((_la - 97)) & ~0x1F) === 0 && ((1 << (_la - 97)) & 4252345787) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 1325399551) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3153981439) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4286054271) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3237637037) !== 0) || ((((_la - 261)) & ~0x1F) === 0 && ((1 << (_la - 261)) & 2047) !== 0)) { - { - this.state = 1940; - this.expression(); - this.state = 1945; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { + default: + throw new antlr.NoViableAltException(this); + } + this.context!.stop = this.tokenStream.LT(-1); + this.state = 2227; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 283, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + if (this._parseListeners != null) { + this.triggerExitRuleEvent(); + } + previousContext = localContext; + { + this.state = 2225; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 282, this.context) ) { + case 1: { + localContext = new AndContext(new BooleanExpressionContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_booleanExpression); + this.state = 2219; + if (!(this.precpred(this.context, 2))) { + throw this.createFailedPredicateException("this.precpred(this.context, 2)"); + } + this.state = 2220; + this.match(TrinoSqlParser.KW_AND); + this.state = 2221; + this.booleanExpression(3); + } + break; + case 2: { - this.state = 1941; - this.match(TrinoSqlParser.T__2); - this.state = 1942; - this.expression(); + localContext = new OrContext(new BooleanExpressionContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_booleanExpression); + this.state = 2222; + if (!(this.precpred(this.context, 1))) { + throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } + this.state = 2223; + this.match(TrinoSqlParser.KW_OR); + this.state = 2224; + this.booleanExpression(2); } - this.state = 1947; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); + break; } } } - - this.state = 1950; - this.match(TrinoSqlParser.T__7); - } - break; - case 25: + this.state = 2229; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 283, this.context); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.unrollRecursionContexts(parentContext); + } + return localContext; + } + public predicate(value: ParserRuleContext): PredicateContext { + let localContext = new PredicateContext(this.context, this.state, value); + this.enterRule(localContext, 140, TrinoSqlParser.RULE_predicate); + let _la: number; + try { + this.state = 2291; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 292, this.context) ) { + case 1: + localContext = new ComparisonContext(localContext); + this.enterOuterAlt(localContext, 1); { - localContext = new ColumnReferenceContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1951; - this.identifier(); + this.state = 2230; + this.comparisonOperator(); + this.state = 2231; + (localContext as ComparisonContext)._right = this.valueExpression(0); } break; - case 26: + case 2: + localContext = new QuantifiedComparisonContext(localContext); + this.enterOuterAlt(localContext, 2); { - localContext = new SpecialDateTimeFunctionContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1952; - (localContext as SpecialDateTimeFunctionContext)._name = this.match(TrinoSqlParser.KW_CURRENT_DATE); + this.state = 2233; + this.comparisonOperator(); + this.state = 2234; + this.comparisonQuantifier(); + this.state = 2235; + this.match(TrinoSqlParser.T__0); + this.state = 2236; + this.query(); + this.state = 2237; + this.match(TrinoSqlParser.T__1); } break; - case 27: + case 3: + localContext = new BetweenContext(localContext); + this.enterOuterAlt(localContext, 3); { - localContext = new SpecialDateTimeFunctionContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1953; - (localContext as SpecialDateTimeFunctionContext)._name = this.match(TrinoSqlParser.KW_CURRENT_TIME); - this.state = 1957; + this.state = 2240; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 255, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + if (_la === 182) { { - this.state = 1954; - this.match(TrinoSqlParser.T__0); - this.state = 1955; - (localContext as SpecialDateTimeFunctionContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 1956; - this.match(TrinoSqlParser.T__1); + this.state = 2239; + this.match(TrinoSqlParser.KW_NOT); } - break; } + + this.state = 2242; + this.match(TrinoSqlParser.KW_BETWEEN); + this.state = 2243; + (localContext as BetweenContext)._lower = this.valueExpression(0); + this.state = 2244; + this.match(TrinoSqlParser.KW_AND); + this.state = 2245; + (localContext as BetweenContext)._upper = this.valueExpression(0); } break; - case 28: + case 4: + localContext = new InListContext(localContext); + this.enterOuterAlt(localContext, 4); { - localContext = new SpecialDateTimeFunctionContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1959; - (localContext as SpecialDateTimeFunctionContext)._name = this.match(TrinoSqlParser.KW_CURRENT_TIMESTAMP); - this.state = 1963; + this.state = 2248; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 256, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + if (_la === 182) { { - this.state = 1960; - this.match(TrinoSqlParser.T__0); - this.state = 1961; - (localContext as SpecialDateTimeFunctionContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 1962; - this.match(TrinoSqlParser.T__1); + this.state = 2247; + this.match(TrinoSqlParser.KW_NOT); } - break; } - } - break; - case 29: - { - localContext = new SpecialDateTimeFunctionContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1965; - (localContext as SpecialDateTimeFunctionContext)._name = this.match(TrinoSqlParser.KW_LOCALTIME); - this.state = 1969; + + this.state = 2250; + this.match(TrinoSqlParser.KW_IN); + this.state = 2251; + this.match(TrinoSqlParser.T__0); + this.state = 2252; + this.expression(); + this.state = 2257; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 257, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + while (_la === 3) { { - this.state = 1966; - this.match(TrinoSqlParser.T__0); - this.state = 1967; - (localContext as SpecialDateTimeFunctionContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 1968; - this.match(TrinoSqlParser.T__1); + { + this.state = 2253; + this.match(TrinoSqlParser.T__2); + this.state = 2254; + this.expression(); } - break; + } + this.state = 2259; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); } + this.state = 2260; + this.match(TrinoSqlParser.T__1); } break; - case 30: + case 5: + localContext = new InSubqueryContext(localContext); + this.enterOuterAlt(localContext, 5); { - localContext = new SpecialDateTimeFunctionContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1971; - (localContext as SpecialDateTimeFunctionContext)._name = this.match(TrinoSqlParser.KW_LOCALTIMESTAMP); - this.state = 1975; + this.state = 2263; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 258, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + if (_la === 182) { { - this.state = 1972; - this.match(TrinoSqlParser.T__0); - this.state = 1973; - (localContext as SpecialDateTimeFunctionContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 1974; - this.match(TrinoSqlParser.T__1); + this.state = 2262; + this.match(TrinoSqlParser.KW_NOT); } - break; } + + this.state = 2265; + this.match(TrinoSqlParser.KW_IN); + this.state = 2266; + this.match(TrinoSqlParser.T__0); + this.state = 2267; + this.query(); + this.state = 2268; + this.match(TrinoSqlParser.T__1); } break; - case 31: - { - localContext = new CurrentUserContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1977; - (localContext as CurrentUserContext)._name = this.match(TrinoSqlParser.KW_CURRENT_USER); - } - break; - case 32: + case 6: + localContext = new LikeContext(localContext); + this.enterOuterAlt(localContext, 6); { - localContext = new CurrentCatalogContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1978; - (localContext as CurrentCatalogContext)._name = this.match(TrinoSqlParser.KW_CURRENT_CATALOG); + this.state = 2271; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 182) { + { + this.state = 2270; + this.match(TrinoSqlParser.KW_NOT); + } } - break; - case 33: - { - localContext = new CurrentSchemaContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1979; - (localContext as CurrentSchemaContext)._name = this.match(TrinoSqlParser.KW_CURRENT_SCHEMA); + + this.state = 2273; + this.match(TrinoSqlParser.KW_LIKE); + this.state = 2274; + (localContext as LikeContext)._pattern = this.valueExpression(0); + this.state = 2277; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 289, this.context) ) { + case 1: + { + this.state = 2275; + this.match(TrinoSqlParser.KW_ESCAPE); + this.state = 2276; + (localContext as LikeContext)._escape = this.valueExpression(0); + } + break; } - break; - case 34: - { - localContext = new CurrentPathContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1980; - (localContext as CurrentPathContext)._name = this.match(TrinoSqlParser.KW_CURRENT_PATH); } break; - case 35: + case 7: + localContext = new NullPredicateContext(localContext); + this.enterOuterAlt(localContext, 7); { - localContext = new SubstringContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1981; - this.match(TrinoSqlParser.KW_SUBSTRING); - this.state = 1982; - this.match(TrinoSqlParser.T__0); - this.state = 1983; - this.valueExpression(0); - this.state = 1984; - this.match(TrinoSqlParser.KW_FROM); - this.state = 1985; - this.valueExpression(0); - this.state = 1988; + this.state = 2279; + this.match(TrinoSqlParser.KW_IS); + this.state = 2281; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 86) { + if (_la === 182) { { - this.state = 1986; - this.match(TrinoSqlParser.KW_FOR); - this.state = 1987; - this.valueExpression(0); + this.state = 2280; + this.match(TrinoSqlParser.KW_NOT); } } - this.state = 1990; - this.match(TrinoSqlParser.T__1); + this.state = 2283; + this.match(TrinoSqlParser.KW_NULL); } break; - case 36: + case 8: + localContext = new DistinctFromContext(localContext); + this.enterOuterAlt(localContext, 8); { - localContext = new NormalizeContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1992; - this.match(TrinoSqlParser.KW_NORMALIZE); - this.state = 1993; - this.match(TrinoSqlParser.T__0); - this.state = 1994; - this.valueExpression(0); - this.state = 1997; + this.state = 2284; + this.match(TrinoSqlParser.KW_IS); + this.state = 2286; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 3) { + if (_la === 182) { { - this.state = 1995; - this.match(TrinoSqlParser.T__2); - this.state = 1996; - this.normalForm(); + this.state = 2285; + this.match(TrinoSqlParser.KW_NOT); } } - this.state = 1999; - this.match(TrinoSqlParser.T__1); + this.state = 2288; + this.match(TrinoSqlParser.KW_DISTINCT); + this.state = 2289; + this.match(TrinoSqlParser.KW_FROM); + this.state = 2290; + (localContext as DistinctFromContext)._right = this.valueExpression(0); } break; - case 37: - { - localContext = new ExtractContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 2001; - this.match(TrinoSqlParser.KW_EXTRACT); - this.state = 2002; - this.match(TrinoSqlParser.T__0); - this.state = 2003; - this.identifier(); - this.state = 2004; - this.match(TrinoSqlParser.KW_FROM); - this.state = 2005; - this.valueExpression(0); - this.state = 2006; - this.match(TrinoSqlParser.T__1); - } - break; - case 38: + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + + public valueExpression(): ValueExpressionContext; + public valueExpression(_p: number): ValueExpressionContext; + public valueExpression(_p?: number): ValueExpressionContext { + if (_p === undefined) { + _p = 0; + } + + let parentContext = this.context; + let parentState = this.state; + let localContext = new ValueExpressionContext(this.context, parentState); + let previousContext = localContext; + let _startState = 142; + this.enterRecursionRule(localContext, 142, TrinoSqlParser.RULE_valueExpression, _p); + let _la: number; + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 2297; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 293, this.context) ) { + case 1: { - localContext = new ParenthesizedExpressionContext(localContext); + localContext = new ValueExpressionDefaultContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2008; - this.match(TrinoSqlParser.T__0); - this.state = 2009; - this.expression(); - this.state = 2010; - this.match(TrinoSqlParser.T__1); + + this.state = 2294; + this.primaryExpression(0); } break; - case 39: + case 2: { - localContext = new GroupingOperationContext(localContext); + localContext = new ArithmeticUnaryContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2012; - this.match(TrinoSqlParser.KW_GROUPING); - this.state = 2013; - this.match(TrinoSqlParser.T__0); - this.state = 2022; - this.errorHandler.sync(this); + this.state = 2295; + (localContext as ArithmeticUnaryContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); - if (((((_la - 17)) & ~0x1F) === 0 && ((1 << (_la - 17)) & 1140014511) !== 0) || ((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 3192429231) !== 0) || ((((_la - 90)) & ~0x1F) === 0 && ((1 << (_la - 90)) & 3134381375) !== 0) || ((((_la - 123)) & ~0x1F) === 0 && ((1 << (_la - 123)) & 3162472435) !== 0) || ((((_la - 155)) & ~0x1F) === 0 && ((1 << (_la - 155)) & 4286316499) !== 0) || ((((_la - 188)) & ~0x1F) === 0 && ((1 << (_la - 188)) & 4009750519) !== 0) || ((((_la - 220)) & ~0x1F) === 0 && ((1 << (_la - 220)) & 525170103) !== 0) || ((((_la - 268)) & ~0x1F) === 0 && ((1 << (_la - 268)) & 15) !== 0)) { - { - this.state = 2014; - this.qualifiedName(); - this.state = 2019; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 2015; - this.match(TrinoSqlParser.T__2); - this.state = 2016; - this.qualifiedName(); - } - } - this.state = 2021; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - } + if(!(_la === 318 || _la === 319)) { + (localContext as ArithmeticUnaryContext)._operator = this.errorHandler.recoverInline(this); } - - this.state = 2024; - this.match(TrinoSqlParser.T__1); + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 2296; + this.valueExpression(4); } break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2037; + this.state = 2313; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 265, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 295, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -8005,47 +9189,90 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2035; + this.state = 2311; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 264, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 294, this.context) ) { case 1: { - localContext = new SubscriptContext(new PrimaryExpressionContext(parentContext, parentState)); - (localContext as SubscriptContext)._value = previousContext; - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_primaryExpression); - this.state = 2027; - if (!(this.precpred(this.context, 17))) { - throw this.createFailedPredicateException("this.precpred(this.context, 17)"); + localContext = new ArithmeticBinaryContext(new ValueExpressionContext(parentContext, parentState)); + (localContext as ArithmeticBinaryContext)._left = previousContext; + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); + this.state = 2299; + if (!(this.precpred(this.context, 3))) { + throw this.createFailedPredicateException("this.precpred(this.context, 3)"); } - this.state = 2028; - this.match(TrinoSqlParser.T__6); - this.state = 2029; - (localContext as SubscriptContext)._index = this.valueExpression(0); - this.state = 2030; - this.match(TrinoSqlParser.T__7); + this.state = 2300; + (localContext as ArithmeticBinaryContext)._operator = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(((((_la - 320)) & ~0x1F) === 0 && ((1 << (_la - 320)) & 7) !== 0))) { + (localContext as ArithmeticBinaryContext)._operator = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 2301; + (localContext as ArithmeticBinaryContext)._right = this.valueExpression(4); } break; case 2: { - localContext = new DereferenceContext(new PrimaryExpressionContext(parentContext, parentState)); - (localContext as DereferenceContext)._base = previousContext; - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_primaryExpression); - this.state = 2032; - if (!(this.precpred(this.context, 15))) { - throw this.createFailedPredicateException("this.precpred(this.context, 15)"); + localContext = new ArithmeticBinaryContext(new ValueExpressionContext(parentContext, parentState)); + (localContext as ArithmeticBinaryContext)._left = previousContext; + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); + this.state = 2302; + if (!(this.precpred(this.context, 2))) { + throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 2033; - this.match(TrinoSqlParser.T__3); - this.state = 2034; - (localContext as DereferenceContext)._fieldName = this.identifier(); + this.state = 2303; + (localContext as ArithmeticBinaryContext)._operator = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 318 || _la === 319)) { + (localContext as ArithmeticBinaryContext)._operator = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 2304; + (localContext as ArithmeticBinaryContext)._right = this.valueExpression(3); + } + break; + case 3: + { + localContext = new ConcatenationContext(new ValueExpressionContext(parentContext, parentState)); + (localContext as ConcatenationContext)._left = previousContext; + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); + this.state = 2305; + if (!(this.precpred(this.context, 1))) { + throw this.createFailedPredicateException("this.precpred(this.context, 1)"); + } + this.state = 2306; + this.match(TrinoSqlParser.CONCAT); + this.state = 2307; + (localContext as ConcatenationContext)._right = this.valueExpression(2); + } + break; + case 4: + { + localContext = new AtTimeZoneContext(new ValueExpressionContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); + this.state = 2308; + if (!(this.precpred(this.context, 5))) { + throw this.createFailedPredicateException("this.precpred(this.context, 5)"); + } + this.state = 2309; + this.match(TrinoSqlParser.KW_AT); + this.state = 2310; + this.timeZoneSpecifier(); } break; } } } - this.state = 2039; + this.state = 2315; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 265, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 295, this.context); } } } @@ -8063,1818 +9290,1481 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public processingMode(): ProcessingModeContext { - let localContext = new ProcessingModeContext(this.context, this.state); - this.enterRule(localContext, 112, TrinoSqlParser.RULE_processingMode); + + public primaryExpression(): PrimaryExpressionContext; + public primaryExpression(_p: number): PrimaryExpressionContext; + public primaryExpression(_p?: number): PrimaryExpressionContext { + if (_p === undefined) { + _p = 0; + } + + let parentContext = this.context; + let parentState = this.state; + let localContext = new PrimaryExpressionContext(this.context, parentState); + let previousContext = localContext; + let _startState = 144; + this.enterRecursionRule(localContext, 144, TrinoSqlParser.RULE_primaryExpression, _p); let _la: number; try { + let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2040; - _la = this.tokenStream.LA(1); - if(!(_la === 83 || _la === 194)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public nullTreatment(): NullTreatmentContext { - let localContext = new NullTreatmentContext(this.context, this.state); - this.enterRule(localContext, 114, TrinoSqlParser.RULE_nullTreatment); - try { - this.state = 2046; + this.state = 2769; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_IGNORE: - this.enterOuterAlt(localContext, 1); + switch (this.interpreter.adaptivePredict(this.tokenStream, 359, this.context) ) { + case 1: { - this.state = 2042; - this.match(TrinoSqlParser.KW_IGNORE); - this.state = 2043; - this.match(TrinoSqlParser.KW_NULLS); + localContext = new NullLiteralContext(localContext); + this.context = localContext; + previousContext = localContext; + + this.state = 2317; + this.match(TrinoSqlParser.KW_NULL); } break; - case TrinoSqlParser.KW_RESPECT: - this.enterOuterAlt(localContext, 2); + case 2: { - this.state = 2044; - this.match(TrinoSqlParser.KW_RESPECT); - this.state = 2045; - this.match(TrinoSqlParser.KW_NULLS); + localContext = new IntervalLiteralContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2318; + this.interval(); } break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public string_(): StringContext { - let localContext = new StringContext(this.context, this.state); - this.enterRule(localContext, 116, TrinoSqlParser.RULE_string); - try { - this.state = 2054; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.STRING: - localContext = new BasicStringLiteralContext(localContext); - this.enterOuterAlt(localContext, 1); + case 3: { - this.state = 2048; - this.match(TrinoSqlParser.STRING); + localContext = new TypeConstructorContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2319; + this.identifier(); + this.state = 2320; + this.string_(); } break; - case TrinoSqlParser.UNICODE_STRING: - localContext = new UnicodeStringLiteralContext(localContext); - this.enterOuterAlt(localContext, 2); + case 4: { - this.state = 2049; - this.match(TrinoSqlParser.UNICODE_STRING); - this.state = 2052; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 267, this.context) ) { - case 1: - { - this.state = 2050; - this.match(TrinoSqlParser.KW_UESCAPE); - this.state = 2051; - this.match(TrinoSqlParser.STRING); - } - break; + localContext = new TypeConstructorContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2322; + this.match(TrinoSqlParser.KW_DOUBLE); + this.state = 2323; + this.match(TrinoSqlParser.KW_PRECISION); + this.state = 2324; + this.string_(); } + break; + case 5: + { + localContext = new NumericLiteralContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2325; + this.number_(); } break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public timeZoneSpecifier(): TimeZoneSpecifierContext { - let localContext = new TimeZoneSpecifierContext(this.context, this.state); - this.enterRule(localContext, 118, TrinoSqlParser.RULE_timeZoneSpecifier); - try { - this.state = 2062; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 269, this.context) ) { - case 1: - localContext = new TimeZoneIntervalContext(localContext); - this.enterOuterAlt(localContext, 1); + case 6: { - this.state = 2056; - this.match(TrinoSqlParser.KW_TIME); - this.state = 2057; - this.match(TrinoSqlParser.KW_ZONE); - this.state = 2058; - this.interval(); + localContext = new BooleanLiteralContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2326; + this.booleanValue(); } break; - case 2: - localContext = new TimeZoneStringContext(localContext); - this.enterOuterAlt(localContext, 2); + case 7: { - this.state = 2059; - this.match(TrinoSqlParser.KW_TIME); - this.state = 2060; - this.match(TrinoSqlParser.KW_ZONE); - this.state = 2061; + localContext = new StringLiteralContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2327; this.string_(); } break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public comparisonOperator(): ComparisonOperatorContext { - let localContext = new ComparisonOperatorContext(this.context, this.state); - this.enterRule(localContext, 120, TrinoSqlParser.RULE_comparisonOperator); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2064; - _la = this.tokenStream.LA(1); - if(!(((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 63) !== 0))) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public comparisonQuantifier(): ComparisonQuantifierContext { - let localContext = new ComparisonQuantifierContext(this.context, this.state); - this.enterRule(localContext, 122, TrinoSqlParser.RULE_comparisonQuantifier); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2066; - _la = this.tokenStream.LA(1); - if(!(_la === 20 || _la === 24 || _la === 206)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public booleanValue(): BooleanValueContext { - let localContext = new BooleanValueContext(this.context, this.state); - this.enterRule(localContext, 124, TrinoSqlParser.RULE_booleanValue); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2068; - _la = this.tokenStream.LA(1); - if(!(_la === 80 || _la === 223)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public interval(): IntervalContext { - let localContext = new IntervalContext(this.context, this.state); - this.enterRule(localContext, 126, TrinoSqlParser.RULE_interval); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2070; - this.match(TrinoSqlParser.KW_INTERVAL); - this.state = 2072; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 255 || _la === 256) { + case 8: { - this.state = 2071; - localContext._sign = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 255 || _la === 256)) { - localContext._sign = this.errorHandler.recoverInline(this); + localContext = new BinaryLiteralContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2328; + this.match(TrinoSqlParser.BINARY_LITERAL); } - else { - this.errorHandler.reportMatch(this); - this.consume(); + break; + case 9: + { + localContext = new ParameterContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2329; + this.match(TrinoSqlParser.QUESTION_MARK); } + break; + case 10: + { + localContext = new PositionContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2330; + this.match(TrinoSqlParser.KW_POSITION); + this.state = 2331; + this.match(TrinoSqlParser.T__0); + this.state = 2332; + this.valueExpression(0); + this.state = 2333; + this.match(TrinoSqlParser.KW_IN); + this.state = 2334; + this.valueExpression(0); + this.state = 2335; + this.match(TrinoSqlParser.T__1); } - } - - this.state = 2074; - this.string_(); - this.state = 2075; - localContext._from_ = this.intervalField(); - this.state = 2078; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 271, this.context) ) { - case 1: + break; + case 11: { - this.state = 2076; - this.match(TrinoSqlParser.KW_TO); - this.state = 2077; - localContext._to = this.intervalField(); + localContext = new RowConstructorContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2337; + this.match(TrinoSqlParser.T__0); + this.state = 2338; + this.expression(); + this.state = 2341; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + do { + { + { + this.state = 2339; + this.match(TrinoSqlParser.T__2); + this.state = 2340; + this.expression(); + } + } + this.state = 2343; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } while (_la === 3); + this.state = 2345; + this.match(TrinoSqlParser.T__1); } break; - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public intervalField(): IntervalFieldContext { - let localContext = new IntervalFieldContext(this.context, this.state); - this.enterRule(localContext, 128, TrinoSqlParser.RULE_intervalField); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2080; - _la = this.tokenStream.LA(1); - if(!(_la === 58 || _la === 100 || _la === 136 || _la === 137 || _la === 197 || _la === 247)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public normalForm(): NormalFormContext { - let localContext = new NormalFormContext(this.context, this.state); - this.enterRule(localContext, 130, TrinoSqlParser.RULE_normalForm); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2082; - _la = this.tokenStream.LA(1); - if(!(((((_la - 140)) & ~0x1F) === 0 && ((1 << (_la - 140)) & 15) !== 0))) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - - public type_(): TypeContext; - public type_(_p: number): TypeContext; - public type_(_p?: number): TypeContext { - if (_p === undefined) { - _p = 0; - } - - let parentContext = this.context; - let parentState = this.state; - let localContext = new TypeContext(this.context, parentState); - let previousContext = localContext; - let _startState = 132; - this.enterRecursionRule(localContext, 132, TrinoSqlParser.RULE_type, _p); - let _la: number; - try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - this.state = 2175; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 282, this.context) ) { - case 1: + case 12: { - localContext = new RowTypeContext(localContext); + localContext = new RowConstructorContext(localContext); this.context = localContext; previousContext = localContext; - - this.state = 2085; + this.state = 2347; this.match(TrinoSqlParser.KW_ROW); - this.state = 2086; + this.state = 2348; this.match(TrinoSqlParser.T__0); - this.state = 2087; - this.rowField(); - this.state = 2092; + this.state = 2349; + this.expression(); + this.state = 2354; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2088; + this.state = 2350; this.match(TrinoSqlParser.T__2); - this.state = 2089; - this.rowField(); + this.state = 2351; + this.expression(); } } - this.state = 2094; + this.state = 2356; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2095; + this.state = 2357; this.match(TrinoSqlParser.T__1); } break; - case 2: + case 13: { - localContext = new IntervalTypeContext(localContext); + localContext = new ListaggContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2097; - this.match(TrinoSqlParser.KW_INTERVAL); - this.state = 2098; - (localContext as IntervalTypeContext)._from_ = this.intervalField(); - this.state = 2101; + this.state = 2359; + (localContext as ListaggContext)._name = this.match(TrinoSqlParser.KW_LISTAGG); + this.state = 2360; + this.match(TrinoSqlParser.T__0); + this.state = 2362; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 273, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 298, this.context) ) { case 1: { - this.state = 2099; - this.match(TrinoSqlParser.KW_TO); - this.state = 2100; - (localContext as IntervalTypeContext)._to = this.intervalField(); + this.state = 2361; + this.setQuantifier(); } break; } + this.state = 2364; + this.expression(); + this.state = 2367; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 3) { + { + this.state = 2365; + this.match(TrinoSqlParser.T__2); + this.state = 2366; + this.string_(); + } + } + + this.state = 2372; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 190) { + { + this.state = 2369; + this.match(TrinoSqlParser.KW_ON); + this.state = 2370; + this.match(TrinoSqlParser.KW_OVERFLOW); + this.state = 2371; + this.listAggOverflowBehavior(); + } } - break; - case 3: + + this.state = 2374; + this.match(TrinoSqlParser.T__1); { - localContext = new DateTimeTypeContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 2103; - (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIMESTAMP); - this.state = 2108; + this.state = 2375; + this.match(TrinoSqlParser.KW_WITHIN); + this.state = 2376; + this.match(TrinoSqlParser.KW_GROUP); + this.state = 2377; + this.match(TrinoSqlParser.T__0); + this.state = 2378; + this.match(TrinoSqlParser.KW_ORDER); + this.state = 2379; + this.match(TrinoSqlParser.KW_BY); + this.state = 2380; + this.sortItem(); + this.state = 2385; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 274, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + while (_la === 3) { { - this.state = 2104; - this.match(TrinoSqlParser.T__0); - this.state = 2105; - (localContext as DateTimeTypeContext)._precision = this.typeParameter(); - this.state = 2106; - this.match(TrinoSqlParser.T__1); + { + this.state = 2381; + this.match(TrinoSqlParser.T__2); + this.state = 2382; + this.sortItem(); } - break; + } + this.state = 2387; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); } - this.state = 2113; + this.state = 2388; + this.match(TrinoSqlParser.T__1); + } + this.state = 2391; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 275, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 302, this.context) ) { case 1: { - this.state = 2110; - this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 2111; - this.match(TrinoSqlParser.KW_TIME); - this.state = 2112; - this.match(TrinoSqlParser.KW_ZONE); + this.state = 2390; + this.filter(); } break; } } break; - case 4: + case 14: { - localContext = new DateTimeTypeContext(localContext); + localContext = new FunctionCallContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2115; - (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIMESTAMP); - this.state = 2120; + this.state = 2394; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 303, this.context) ) { + case 1: + { + this.state = 2393; + this.processingMode(); + } + break; + } + this.state = 2396; + this.functionName(); + this.state = 2397; + this.match(TrinoSqlParser.T__0); + this.state = 2401; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 1) { + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - this.state = 2116; - this.match(TrinoSqlParser.T__0); - this.state = 2117; - (localContext as DateTimeTypeContext)._precision = this.typeParameter(); - this.state = 2118; - this.match(TrinoSqlParser.T__1); + this.state = 2398; + (localContext as FunctionCallContext)._label = this.identifier(); + this.state = 2399; + this.match(TrinoSqlParser.T__3); } } - this.state = 2122; - this.match(TrinoSqlParser.KW_WITH); - this.state = 2123; - this.match(TrinoSqlParser.KW_TIME); - this.state = 2124; - this.match(TrinoSqlParser.KW_ZONE); - } - break; - case 5: - { - localContext = new DateTimeTypeContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 2125; - (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIME); - this.state = 2130; + this.state = 2403; + this.match(TrinoSqlParser.ASTERISK); + this.state = 2404; + this.match(TrinoSqlParser.T__1); + this.state = 2406; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 277, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 305, this.context) ) { case 1: { - this.state = 2126; - this.match(TrinoSqlParser.T__0); - this.state = 2127; - (localContext as DateTimeTypeContext)._precision = this.typeParameter(); - this.state = 2128; - this.match(TrinoSqlParser.T__1); + this.state = 2405; + this.filter(); } break; } - this.state = 2135; + this.state = 2409; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 278, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 306, this.context) ) { case 1: { - this.state = 2132; - this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 2133; - this.match(TrinoSqlParser.KW_TIME); - this.state = 2134; - this.match(TrinoSqlParser.KW_ZONE); + this.state = 2408; + this.over(); } break; } } break; - case 6: + case 15: { - localContext = new DateTimeTypeContext(localContext); + localContext = new FunctionCallContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2137; - (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIME); - this.state = 2142; + this.state = 2412; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 307, this.context) ) { + case 1: + { + this.state = 2411; + this.processingMode(); + } + break; + } + this.state = 2414; + this.functionName(); + this.state = 2415; + this.match(TrinoSqlParser.T__0); + this.state = 2427; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 1) { + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538415087) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3758094335) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { { - this.state = 2138; - this.match(TrinoSqlParser.T__0); - this.state = 2139; - (localContext as DateTimeTypeContext)._precision = this.typeParameter(); - this.state = 2140; - this.match(TrinoSqlParser.T__1); + this.state = 2417; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 308, this.context) ) { + case 1: + { + this.state = 2416; + this.setQuantifier(); + } + break; + } + this.state = 2419; + this.expression(); + this.state = 2424; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 2420; + this.match(TrinoSqlParser.T__2); + this.state = 2421; + this.expression(); + } + } + this.state = 2426; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } } } - this.state = 2144; - this.match(TrinoSqlParser.KW_WITH); - this.state = 2145; - this.match(TrinoSqlParser.KW_TIME); - this.state = 2146; - this.match(TrinoSqlParser.KW_ZONE); + this.state = 2439; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 195) { + { + this.state = 2429; + this.match(TrinoSqlParser.KW_ORDER); + this.state = 2430; + this.match(TrinoSqlParser.KW_BY); + this.state = 2431; + this.sortItem(); + this.state = 2436; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 2432; + this.match(TrinoSqlParser.T__2); + this.state = 2433; + this.sortItem(); + } + } + this.state = 2438; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + + this.state = 2441; + this.match(TrinoSqlParser.T__1); + this.state = 2443; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 313, this.context) ) { + case 1: + { + this.state = 2442; + this.filter(); + } + break; + } + this.state = 2449; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 315, this.context) ) { + case 1: + { + this.state = 2446; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 120 || _la === 228) { + { + this.state = 2445; + this.nullTreatment(); + } + } + + this.state = 2448; + this.over(); + } + break; } - break; - case 7: - { - localContext = new DoublePrecisionTypeContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 2147; - this.match(TrinoSqlParser.KW_DOUBLE); - this.state = 2148; - this.match(TrinoSqlParser.KW_PRECISION); } break; - case 8: + case 16: { - localContext = new LegacyArrayTypeContext(localContext); + localContext = new MeasureContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2149; - this.match(TrinoSqlParser.KW_ARRAY); - this.state = 2150; - this.match(TrinoSqlParser.LT); - this.state = 2151; - this.type_(0); - this.state = 2152; - this.match(TrinoSqlParser.GT); + this.state = 2451; + this.identifier(); + this.state = 2452; + this.over(); } break; - case 9: + case 17: { - localContext = new LegacyMapTypeContext(localContext); + localContext = new LambdaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2154; - this.match(TrinoSqlParser.KW_MAP); - this.state = 2155; - this.match(TrinoSqlParser.LT); - this.state = 2156; - (localContext as LegacyMapTypeContext)._keyType = this.type_(0); - this.state = 2157; - this.match(TrinoSqlParser.T__2); - this.state = 2158; - (localContext as LegacyMapTypeContext)._valueType = this.type_(0); - this.state = 2159; - this.match(TrinoSqlParser.GT); + this.state = 2454; + this.identifier(); + this.state = 2455; + this.match(TrinoSqlParser.T__6); + this.state = 2456; + this.expression(); } break; - case 10: + case 18: { - localContext = new GenericTypeContext(localContext); + localContext = new LambdaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2161; - this.identifier(); - this.state = 2173; + this.state = 2458; + this.match(TrinoSqlParser.T__0); + this.state = 2467; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 281, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - this.state = 2162; - this.match(TrinoSqlParser.T__0); - this.state = 2163; - this.typeParameter(); - this.state = 2168; + this.state = 2459; + this.identifier(); + this.state = 2464; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2164; + this.state = 2460; this.match(TrinoSqlParser.T__2); - this.state = 2165; - this.typeParameter(); + this.state = 2461; + this.identifier(); } } - this.state = 2170; + this.state = 2466; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2171; - this.match(TrinoSqlParser.T__1); } - break; } + + this.state = 2469; + this.match(TrinoSqlParser.T__1); + this.state = 2470; + this.match(TrinoSqlParser.T__6); + this.state = 2471; + this.expression(); } break; - } - this.context!.stop = this.tokenStream.LT(-1); - this.state = 2186; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 284, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - if (this._parseListeners != null) { - this.triggerExitRuleEvent(); - } - previousContext = localContext; + case 19: + { + localContext = new SubqueryExpressionContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2472; + this.match(TrinoSqlParser.T__0); + this.state = 2473; + this.query(); + this.state = 2474; + this.match(TrinoSqlParser.T__1); + } + break; + case 20: + { + localContext = new ExistsContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2476; + this.match(TrinoSqlParser.KW_EXISTS); + this.state = 2477; + this.match(TrinoSqlParser.T__0); + this.state = 2478; + this.query(); + this.state = 2479; + this.match(TrinoSqlParser.T__1); + } + break; + case 21: + { + localContext = new SimpleCaseContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2481; + this.match(TrinoSqlParser.KW_CASE); + this.state = 2482; + (localContext as SimpleCaseContext)._operand = this.expression(); + this.state = 2484; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + do { { { - localContext = new ArrayTypeContext(new TypeContext(parentContext, parentState)); - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_type); - this.state = 2177; - if (!(this.precpred(this.context, 2))) { - throw this.createFailedPredicateException("this.precpred(this.context, 2)"); + this.state = 2483; + this.whenClause(); } - this.state = 2178; - this.match(TrinoSqlParser.KW_ARRAY); - this.state = 2182; + } + this.state = 2486; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 283, this.context) ) { - case 1: - { - this.state = 2179; - this.match(TrinoSqlParser.T__6); - this.state = 2180; - this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2181; - this.match(TrinoSqlParser.T__7); - } - break; + _la = this.tokenStream.LA(1); + } while (_la === 300); + this.state = 2490; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 84) { + { + this.state = 2488; + this.match(TrinoSqlParser.KW_ELSE); + this.state = 2489; + (localContext as SimpleCaseContext)._elseExpression = this.expression(); + } + } + + this.state = 2492; + this.match(TrinoSqlParser.KW_END); + } + break; + case 22: + { + localContext = new SearchedCaseContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2494; + this.match(TrinoSqlParser.KW_CASE); + this.state = 2496; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + do { + { + { + this.state = 2495; + this.whenClause(); } } + this.state = 2498; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } while (_la === 300); + this.state = 2502; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 84) { + { + this.state = 2500; + this.match(TrinoSqlParser.KW_ELSE); + this.state = 2501; + (localContext as SearchedCaseContext)._elseExpression = this.expression(); } } - this.state = 2188; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 284, this.context); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.unrollRecursionContexts(parentContext); - } - return localContext; - } - public rowField(): RowFieldContext { - let localContext = new RowFieldContext(this.context, this.state); - this.enterRule(localContext, 134, TrinoSqlParser.RULE_rowField); - try { - this.state = 2193; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 285, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 2189; - this.type_(0); + + this.state = 2504; + this.match(TrinoSqlParser.KW_END); } break; - case 2: - this.enterOuterAlt(localContext, 2); + case 23: { - this.state = 2190; - this.identifier(); - this.state = 2191; + localContext = new CastContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2506; + this.match(TrinoSqlParser.KW_CAST); + this.state = 2507; + this.match(TrinoSqlParser.T__0); + this.state = 2508; + this.expression(); + this.state = 2509; + this.match(TrinoSqlParser.KW_AS); + this.state = 2510; this.type_(0); + this.state = 2511; + this.match(TrinoSqlParser.T__1); } break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public typeParameter(): TypeParameterContext { - let localContext = new TypeParameterContext(this.context, this.state); - this.enterRule(localContext, 136, TrinoSqlParser.RULE_typeParameter); - try { - this.state = 2197; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.INTEGER_VALUE: - this.enterOuterAlt(localContext, 1); + case 24: { - this.state = 2195; - this.match(TrinoSqlParser.INTEGER_VALUE); + localContext = new CastContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2513; + this.match(TrinoSqlParser.KW_TRY_CAST); + this.state = 2514; + this.match(TrinoSqlParser.T__0); + this.state = 2515; + this.expression(); + this.state = 2516; + this.match(TrinoSqlParser.KW_AS); + this.state = 2517; + this.type_(0); + this.state = 2518; + this.match(TrinoSqlParser.T__1); } break; - case TrinoSqlParser.KW_ADD: - case TrinoSqlParser.KW_ADMIN: - case TrinoSqlParser.KW_AFTER: - case TrinoSqlParser.KW_ALL: - case TrinoSqlParser.KW_ANALYZE: - case TrinoSqlParser.KW_ANY: - case TrinoSqlParser.KW_ARRAY: - case TrinoSqlParser.KW_ASC: - case TrinoSqlParser.KW_AT: - case TrinoSqlParser.KW_AUTHORIZATION: - case TrinoSqlParser.KW_BERNOULLI: - case TrinoSqlParser.KW_CALL: - case TrinoSqlParser.KW_CASCADE: - case TrinoSqlParser.KW_CATALOGS: - case TrinoSqlParser.KW_COLUMN: - case TrinoSqlParser.KW_COLUMNS: - case TrinoSqlParser.KW_COMMENT: - case TrinoSqlParser.KW_COMMIT: - case TrinoSqlParser.KW_COMMITTED: - case TrinoSqlParser.KW_CURRENT: - case TrinoSqlParser.KW_DATA: - case TrinoSqlParser.KW_DATE: - case TrinoSqlParser.KW_DAY: - case TrinoSqlParser.KW_DEFAULT: - case TrinoSqlParser.KW_DEFINER: - case TrinoSqlParser.KW_DESC: - case TrinoSqlParser.KW_DEFINE: - case TrinoSqlParser.KW_DISTRIBUTED: - case TrinoSqlParser.KW_DOUBLE: - case TrinoSqlParser.KW_EMPTY: - case TrinoSqlParser.KW_EXCLUDING: - case TrinoSqlParser.KW_EXPLAIN: - case TrinoSqlParser.KW_FETCH: - case TrinoSqlParser.KW_FILTER: - case TrinoSqlParser.KW_FINAL: - case TrinoSqlParser.KW_FIRST: - case TrinoSqlParser.KW_FOLLOWING: - case TrinoSqlParser.KW_FORMAT: - case TrinoSqlParser.KW_FUNCTIONS: - case TrinoSqlParser.KW_GRANT: - case TrinoSqlParser.KW_GRANTED: - case TrinoSqlParser.KW_GRANTS: - case TrinoSqlParser.KW_DENY: - case TrinoSqlParser.KW_GRAPHVIZ: - case TrinoSqlParser.KW_GROUPS: - case TrinoSqlParser.KW_HOUR: - case TrinoSqlParser.KW_IF: - case TrinoSqlParser.KW_IGNORE: - case TrinoSqlParser.KW_INCLUDING: - case TrinoSqlParser.KW_INITIAL: - case TrinoSqlParser.KW_INPUT: - case TrinoSqlParser.KW_INTERVAL: - case TrinoSqlParser.KW_INVOKER: - case TrinoSqlParser.KW_IO: - case TrinoSqlParser.KW_ISOLATION: - case TrinoSqlParser.KW_JSON: - case TrinoSqlParser.KW_LAST: - case TrinoSqlParser.KW_LATERAL: - case TrinoSqlParser.KW_LEVEL: - case TrinoSqlParser.KW_LIMIT: - case TrinoSqlParser.KW_LOCAL: - case TrinoSqlParser.KW_LOGICAL: - case TrinoSqlParser.KW_MAP: - case TrinoSqlParser.KW_MATCH: - case TrinoSqlParser.KW_MATCHED: - case TrinoSqlParser.KW_MATCHES: - case TrinoSqlParser.KW_MATCH_RECOGNIZE: - case TrinoSqlParser.KW_MATERIALIZED: - case TrinoSqlParser.KW_MEASURES: - case TrinoSqlParser.KW_MERGE: - case TrinoSqlParser.KW_MINUTE: - case TrinoSqlParser.KW_MONTH: - case TrinoSqlParser.KW_NEXT: - case TrinoSqlParser.KW_NFC: - case TrinoSqlParser.KW_NFD: - case TrinoSqlParser.KW_NFKC: - case TrinoSqlParser.KW_NFKD: - case TrinoSqlParser.KW_NO: - case TrinoSqlParser.KW_NONE: - case TrinoSqlParser.KW_NULLIF: - case TrinoSqlParser.KW_NULLS: - case TrinoSqlParser.KW_OFFSET: - case TrinoSqlParser.KW_OMIT: - case TrinoSqlParser.KW_ONE: - case TrinoSqlParser.KW_ONLY: - case TrinoSqlParser.KW_OPTION: - case TrinoSqlParser.KW_ORDINALITY: - case TrinoSqlParser.KW_OUTPUT: - case TrinoSqlParser.KW_OVER: - case TrinoSqlParser.KW_PARTITION: - case TrinoSqlParser.KW_PARTITIONS: - case TrinoSqlParser.KW_PAST: - case TrinoSqlParser.KW_PATH: - case TrinoSqlParser.KW_PATTERN: - case TrinoSqlParser.KW_PER: - case TrinoSqlParser.KW_PERMUTE: - case TrinoSqlParser.KW_POSITION: - case TrinoSqlParser.KW_PRECEDING: - case TrinoSqlParser.KW_PRECISION: - case TrinoSqlParser.KW_PRIVILEGES: - case TrinoSqlParser.KW_PROPERTIES: - case TrinoSqlParser.KW_RANGE: - case TrinoSqlParser.KW_READ: - case TrinoSqlParser.KW_REFRESH: - case TrinoSqlParser.KW_RENAME: - case TrinoSqlParser.KW_REPEATABLE: - case TrinoSqlParser.KW_REPLACE: - case TrinoSqlParser.KW_RESET: - case TrinoSqlParser.KW_RESPECT: - case TrinoSqlParser.KW_RESTRICT: - case TrinoSqlParser.KW_REVOKE: - case TrinoSqlParser.KW_ROLE: - case TrinoSqlParser.KW_ROLES: - case TrinoSqlParser.KW_ROLLBACK: - case TrinoSqlParser.KW_ROW: - case TrinoSqlParser.KW_ROWS: - case TrinoSqlParser.KW_RUNNING: - case TrinoSqlParser.KW_SCHEMA: - case TrinoSqlParser.KW_SCHEMAS: - case TrinoSqlParser.KW_SECOND: - case TrinoSqlParser.KW_SECURITY: - case TrinoSqlParser.KW_SEEK: - case TrinoSqlParser.KW_SERIALIZABLE: - case TrinoSqlParser.KW_SESSION: - case TrinoSqlParser.KW_SET: - case TrinoSqlParser.KW_SETS: - case TrinoSqlParser.KW_SHOW: - case TrinoSqlParser.KW_SOME: - case TrinoSqlParser.KW_START: - case TrinoSqlParser.KW_STATS: - case TrinoSqlParser.KW_SUBSET: - case TrinoSqlParser.KW_SUBSTRING: - case TrinoSqlParser.KW_SYSTEM: - case TrinoSqlParser.KW_TABLES: - case TrinoSqlParser.KW_TABLESAMPLE: - case TrinoSqlParser.KW_TEXT: - case TrinoSqlParser.KW_TIES: - case TrinoSqlParser.KW_TIME: - case TrinoSqlParser.KW_TIMESTAMP: - case TrinoSqlParser.KW_TO: - case TrinoSqlParser.KW_TRANSACTION: - case TrinoSqlParser.KW_TRUNCATE: - case TrinoSqlParser.KW_TRY_CAST: - case TrinoSqlParser.KW_TYPE: - case TrinoSqlParser.KW_UNBOUNDED: - case TrinoSqlParser.KW_UNCOMMITTED: - case TrinoSqlParser.KW_UNMATCHED: - case TrinoSqlParser.KW_UPDATE: - case TrinoSqlParser.KW_USE: - case TrinoSqlParser.KW_USER: - case TrinoSqlParser.KW_VALIDATE: - case TrinoSqlParser.KW_VERBOSE: - case TrinoSqlParser.KW_VIEW: - case TrinoSqlParser.KW_WINDOW: - case TrinoSqlParser.KW_WITHOUT: - case TrinoSqlParser.KW_WORK: - case TrinoSqlParser.KW_WRITE: - case TrinoSqlParser.KW_YEAR: - case TrinoSqlParser.KW_ZONE: - case TrinoSqlParser.IDENTIFIER: - case TrinoSqlParser.DIGIT_IDENTIFIER: - case TrinoSqlParser.QUOTED_IDENTIFIER: - case TrinoSqlParser.BACKQUOTED_IDENTIFIER: - this.enterOuterAlt(localContext, 2); + case 25: { - this.state = 2196; - this.type_(0); + localContext = new ArrayConstructorContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2520; + this.match(TrinoSqlParser.KW_ARRAY); + this.state = 2521; + this.match(TrinoSqlParser.T__7); + this.state = 2530; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538382319) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3758094335) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { + { + this.state = 2522; + this.expression(); + this.state = 2527; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 2523; + this.match(TrinoSqlParser.T__2); + this.state = 2524; + this.expression(); + } + } + this.state = 2529; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + + this.state = 2532; + this.match(TrinoSqlParser.T__8); } break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public whenClause(): WhenClauseContext { - let localContext = new WhenClauseContext(this.context, this.state); - this.enterRule(localContext, 138, TrinoSqlParser.RULE_whenClause); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2199; - this.match(TrinoSqlParser.KW_WHEN); - this.state = 2200; - localContext._condition = this.expression(); - this.state = 2201; - this.match(TrinoSqlParser.KW_THEN); - this.state = 2202; - localContext._result = this.expression(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public filter(): FilterContext { - let localContext = new FilterContext(this.context, this.state); - this.enterRule(localContext, 140, TrinoSqlParser.RULE_filter); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2204; - this.match(TrinoSqlParser.KW_FILTER); - this.state = 2205; - this.match(TrinoSqlParser.T__0); - this.state = 2206; - this.match(TrinoSqlParser.KW_WHERE); - this.state = 2207; - this.booleanExpression(0); - this.state = 2208; - this.match(TrinoSqlParser.T__1); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public mergeCase(): MergeCaseContext { - let localContext = new MergeCaseContext(this.context, this.state); - this.enterRule(localContext, 142, TrinoSqlParser.RULE_mergeCase); - let _la: number; - try { - this.state = 2274; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 294, this.context) ) { - case 1: - localContext = new MergeUpdateContext(localContext); - this.enterOuterAlt(localContext, 1); + case 26: { - this.state = 2210; - this.match(TrinoSqlParser.KW_WHEN); - this.state = 2211; - this.match(TrinoSqlParser.KW_MATCHED); - this.state = 2214; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 23) { - { - this.state = 2212; - this.match(TrinoSqlParser.KW_AND); - this.state = 2213; - (localContext as MergeUpdateContext)._condition = this.expression(); - } + localContext = new ColumnReferenceContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2533; + this.identifier(); } - - this.state = 2216; - this.match(TrinoSqlParser.KW_THEN); - this.state = 2217; - this.match(TrinoSqlParser.KW_UPDATE); - this.state = 2218; - this.match(TrinoSqlParser.KW_SET); - this.state = 2219; - (localContext as MergeUpdateContext)._identifier = this.identifier(); - (localContext as MergeUpdateContext)._targets.push((localContext as MergeUpdateContext)._identifier); - this.state = 2220; - this.match(TrinoSqlParser.EQ); - this.state = 2221; - (localContext as MergeUpdateContext)._expression = this.expression(); - (localContext as MergeUpdateContext)._values.push((localContext as MergeUpdateContext)._expression); - this.state = 2229; + break; + case 27: + { + localContext = new CurrentDateContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2534; + (localContext as CurrentDateContext)._name = this.match(TrinoSqlParser.KW_CURRENT_DATE); + } + break; + case 28: + { + localContext = new CurrentTimeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2535; + (localContext as CurrentTimeContext)._name = this.match(TrinoSqlParser.KW_CURRENT_TIME); + this.state = 2539; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { + switch (this.interpreter.adaptivePredict(this.tokenStream, 324, this.context) ) { + case 1: { - this.state = 2222; - this.match(TrinoSqlParser.T__2); - this.state = 2223; - (localContext as MergeUpdateContext)._identifier = this.identifier(); - (localContext as MergeUpdateContext)._targets.push((localContext as MergeUpdateContext)._identifier); - this.state = 2224; - this.match(TrinoSqlParser.EQ); - this.state = 2225; - (localContext as MergeUpdateContext)._expression = this.expression(); - (localContext as MergeUpdateContext)._values.push((localContext as MergeUpdateContext)._expression); - } + this.state = 2536; + this.match(TrinoSqlParser.T__0); + this.state = 2537; + (localContext as CurrentTimeContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); + this.state = 2538; + this.match(TrinoSqlParser.T__1); } - this.state = 2231; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); + break; } } break; - case 2: - localContext = new MergeDeleteContext(localContext); - this.enterOuterAlt(localContext, 2); + case 29: { - this.state = 2232; - this.match(TrinoSqlParser.KW_WHEN); - this.state = 2233; - this.match(TrinoSqlParser.KW_MATCHED); - this.state = 2236; + localContext = new CurrentTimestampContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2541; + (localContext as CurrentTimestampContext)._name = this.match(TrinoSqlParser.KW_CURRENT_TIMESTAMP); + this.state = 2545; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 23) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 325, this.context) ) { + case 1: { - this.state = 2234; - this.match(TrinoSqlParser.KW_AND); - this.state = 2235; - (localContext as MergeDeleteContext)._condition = this.expression(); + this.state = 2542; + this.match(TrinoSqlParser.T__0); + this.state = 2543; + (localContext as CurrentTimestampContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); + this.state = 2544; + this.match(TrinoSqlParser.T__1); } + break; } - - this.state = 2238; - this.match(TrinoSqlParser.KW_THEN); - this.state = 2239; - this.match(TrinoSqlParser.KW_DELETE); } break; - case 3: - localContext = new MergeInsertContext(localContext); - this.enterOuterAlt(localContext, 3); + case 30: { - this.state = 2240; - this.match(TrinoSqlParser.KW_WHEN); - this.state = 2241; - this.match(TrinoSqlParser.KW_NOT); - this.state = 2242; - this.match(TrinoSqlParser.KW_MATCHED); - this.state = 2245; + localContext = new LocalTimeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2547; + (localContext as LocalTimeContext)._name = this.match(TrinoSqlParser.KW_LOCALTIME); + this.state = 2551; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 23) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 326, this.context) ) { + case 1: { - this.state = 2243; - this.match(TrinoSqlParser.KW_AND); - this.state = 2244; - (localContext as MergeInsertContext)._condition = this.expression(); + this.state = 2548; + this.match(TrinoSqlParser.T__0); + this.state = 2549; + (localContext as LocalTimeContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); + this.state = 2550; + this.match(TrinoSqlParser.T__1); } + break; } - - this.state = 2247; - this.match(TrinoSqlParser.KW_THEN); - this.state = 2248; - this.match(TrinoSqlParser.KW_INSERT); - this.state = 2260; + } + break; + case 31: + { + localContext = new LocalTimestampContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2553; + (localContext as LocalTimestampContext)._name = this.match(TrinoSqlParser.KW_LOCALTIMESTAMP); + this.state = 2557; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 1) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 327, this.context) ) { + case 1: { - this.state = 2249; + this.state = 2554; this.match(TrinoSqlParser.T__0); - this.state = 2250; - (localContext as MergeInsertContext)._identifier = this.identifier(); - (localContext as MergeInsertContext)._targets.push((localContext as MergeInsertContext)._identifier); - this.state = 2255; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 2251; - this.match(TrinoSqlParser.T__2); - this.state = 2252; - (localContext as MergeInsertContext)._identifier = this.identifier(); - (localContext as MergeInsertContext)._targets.push((localContext as MergeInsertContext)._identifier); - } - } - this.state = 2257; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 2258; + this.state = 2555; + (localContext as LocalTimestampContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); + this.state = 2556; this.match(TrinoSqlParser.T__1); } + break; } - - this.state = 2262; - this.match(TrinoSqlParser.KW_VALUES); - this.state = 2263; + } + break; + case 32: + { + localContext = new CurrentUserContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2559; + (localContext as CurrentUserContext)._name = this.match(TrinoSqlParser.KW_CURRENT_USER); + } + break; + case 33: + { + localContext = new CurrentCatalogContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2560; + (localContext as CurrentCatalogContext)._name = this.match(TrinoSqlParser.KW_CURRENT_CATALOG); + } + break; + case 34: + { + localContext = new CurrentSchemaContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2561; + (localContext as CurrentSchemaContext)._name = this.match(TrinoSqlParser.KW_CURRENT_SCHEMA); + } + break; + case 35: + { + localContext = new CurrentPathContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2562; + (localContext as CurrentPathContext)._name = this.match(TrinoSqlParser.KW_CURRENT_PATH); + } + break; + case 36: + { + localContext = new TrimContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2563; + this.match(TrinoSqlParser.KW_TRIM); + this.state = 2564; this.match(TrinoSqlParser.T__0); - this.state = 2264; - (localContext as MergeInsertContext)._expression = this.expression(); - (localContext as MergeInsertContext)._values.push((localContext as MergeInsertContext)._expression); - this.state = 2269; + this.state = 2572; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { + switch (this.interpreter.adaptivePredict(this.tokenStream, 330, this.context) ) { + case 1: { - this.state = 2265; - this.match(TrinoSqlParser.T__2); - this.state = 2266; - (localContext as MergeInsertContext)._expression = this.expression(); - (localContext as MergeInsertContext)._values.push((localContext as MergeInsertContext)._expression); - } + this.state = 2566; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 328, this.context) ) { + case 1: + { + this.state = 2565; + this.trimsSpecification(); + } + break; } - this.state = 2271; + this.state = 2569; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538382319) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3755997183) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { + { + this.state = 2568; + (localContext as TrimContext)._trimChar = this.valueExpression(0); + } + } + + this.state = 2571; + this.match(TrinoSqlParser.KW_FROM); + } + break; } - this.state = 2272; + this.state = 2574; + (localContext as TrimContext)._trimSource = this.valueExpression(0); + this.state = 2575; this.match(TrinoSqlParser.T__1); } break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public over(): OverContext { - let localContext = new OverContext(this.context, this.state); - this.enterRule(localContext, 144, TrinoSqlParser.RULE_over); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2276; - this.match(TrinoSqlParser.KW_OVER); - this.state = 2282; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_ADD: - case TrinoSqlParser.KW_ADMIN: - case TrinoSqlParser.KW_AFTER: - case TrinoSqlParser.KW_ALL: - case TrinoSqlParser.KW_ANALYZE: - case TrinoSqlParser.KW_ANY: - case TrinoSqlParser.KW_ARRAY: - case TrinoSqlParser.KW_ASC: - case TrinoSqlParser.KW_AT: - case TrinoSqlParser.KW_AUTHORIZATION: - case TrinoSqlParser.KW_BERNOULLI: - case TrinoSqlParser.KW_CALL: - case TrinoSqlParser.KW_CASCADE: - case TrinoSqlParser.KW_CATALOGS: - case TrinoSqlParser.KW_COLUMN: - case TrinoSqlParser.KW_COLUMNS: - case TrinoSqlParser.KW_COMMENT: - case TrinoSqlParser.KW_COMMIT: - case TrinoSqlParser.KW_COMMITTED: - case TrinoSqlParser.KW_CURRENT: - case TrinoSqlParser.KW_DATA: - case TrinoSqlParser.KW_DATE: - case TrinoSqlParser.KW_DAY: - case TrinoSqlParser.KW_DEFAULT: - case TrinoSqlParser.KW_DEFINER: - case TrinoSqlParser.KW_DESC: - case TrinoSqlParser.KW_DEFINE: - case TrinoSqlParser.KW_DISTRIBUTED: - case TrinoSqlParser.KW_DOUBLE: - case TrinoSqlParser.KW_EMPTY: - case TrinoSqlParser.KW_EXCLUDING: - case TrinoSqlParser.KW_EXPLAIN: - case TrinoSqlParser.KW_FETCH: - case TrinoSqlParser.KW_FILTER: - case TrinoSqlParser.KW_FINAL: - case TrinoSqlParser.KW_FIRST: - case TrinoSqlParser.KW_FOLLOWING: - case TrinoSqlParser.KW_FORMAT: - case TrinoSqlParser.KW_FUNCTIONS: - case TrinoSqlParser.KW_GRANT: - case TrinoSqlParser.KW_GRANTED: - case TrinoSqlParser.KW_GRANTS: - case TrinoSqlParser.KW_DENY: - case TrinoSqlParser.KW_GRAPHVIZ: - case TrinoSqlParser.KW_GROUPS: - case TrinoSqlParser.KW_HOUR: - case TrinoSqlParser.KW_IF: - case TrinoSqlParser.KW_IGNORE: - case TrinoSqlParser.KW_INCLUDING: - case TrinoSqlParser.KW_INITIAL: - case TrinoSqlParser.KW_INPUT: - case TrinoSqlParser.KW_INTERVAL: - case TrinoSqlParser.KW_INVOKER: - case TrinoSqlParser.KW_IO: - case TrinoSqlParser.KW_ISOLATION: - case TrinoSqlParser.KW_JSON: - case TrinoSqlParser.KW_LAST: - case TrinoSqlParser.KW_LATERAL: - case TrinoSqlParser.KW_LEVEL: - case TrinoSqlParser.KW_LIMIT: - case TrinoSqlParser.KW_LOCAL: - case TrinoSqlParser.KW_LOGICAL: - case TrinoSqlParser.KW_MAP: - case TrinoSqlParser.KW_MATCH: - case TrinoSqlParser.KW_MATCHED: - case TrinoSqlParser.KW_MATCHES: - case TrinoSqlParser.KW_MATCH_RECOGNIZE: - case TrinoSqlParser.KW_MATERIALIZED: - case TrinoSqlParser.KW_MEASURES: - case TrinoSqlParser.KW_MERGE: - case TrinoSqlParser.KW_MINUTE: - case TrinoSqlParser.KW_MONTH: - case TrinoSqlParser.KW_NEXT: - case TrinoSqlParser.KW_NFC: - case TrinoSqlParser.KW_NFD: - case TrinoSqlParser.KW_NFKC: - case TrinoSqlParser.KW_NFKD: - case TrinoSqlParser.KW_NO: - case TrinoSqlParser.KW_NONE: - case TrinoSqlParser.KW_NULLIF: - case TrinoSqlParser.KW_NULLS: - case TrinoSqlParser.KW_OFFSET: - case TrinoSqlParser.KW_OMIT: - case TrinoSqlParser.KW_ONE: - case TrinoSqlParser.KW_ONLY: - case TrinoSqlParser.KW_OPTION: - case TrinoSqlParser.KW_ORDINALITY: - case TrinoSqlParser.KW_OUTPUT: - case TrinoSqlParser.KW_OVER: - case TrinoSqlParser.KW_PARTITION: - case TrinoSqlParser.KW_PARTITIONS: - case TrinoSqlParser.KW_PAST: - case TrinoSqlParser.KW_PATH: - case TrinoSqlParser.KW_PATTERN: - case TrinoSqlParser.KW_PER: - case TrinoSqlParser.KW_PERMUTE: - case TrinoSqlParser.KW_POSITION: - case TrinoSqlParser.KW_PRECEDING: - case TrinoSqlParser.KW_PRECISION: - case TrinoSqlParser.KW_PRIVILEGES: - case TrinoSqlParser.KW_PROPERTIES: - case TrinoSqlParser.KW_RANGE: - case TrinoSqlParser.KW_READ: - case TrinoSqlParser.KW_REFRESH: - case TrinoSqlParser.KW_RENAME: - case TrinoSqlParser.KW_REPEATABLE: - case TrinoSqlParser.KW_REPLACE: - case TrinoSqlParser.KW_RESET: - case TrinoSqlParser.KW_RESPECT: - case TrinoSqlParser.KW_RESTRICT: - case TrinoSqlParser.KW_REVOKE: - case TrinoSqlParser.KW_ROLE: - case TrinoSqlParser.KW_ROLES: - case TrinoSqlParser.KW_ROLLBACK: - case TrinoSqlParser.KW_ROW: - case TrinoSqlParser.KW_ROWS: - case TrinoSqlParser.KW_RUNNING: - case TrinoSqlParser.KW_SCHEMA: - case TrinoSqlParser.KW_SCHEMAS: - case TrinoSqlParser.KW_SECOND: - case TrinoSqlParser.KW_SECURITY: - case TrinoSqlParser.KW_SEEK: - case TrinoSqlParser.KW_SERIALIZABLE: - case TrinoSqlParser.KW_SESSION: - case TrinoSqlParser.KW_SET: - case TrinoSqlParser.KW_SETS: - case TrinoSqlParser.KW_SHOW: - case TrinoSqlParser.KW_SOME: - case TrinoSqlParser.KW_START: - case TrinoSqlParser.KW_STATS: - case TrinoSqlParser.KW_SUBSET: - case TrinoSqlParser.KW_SUBSTRING: - case TrinoSqlParser.KW_SYSTEM: - case TrinoSqlParser.KW_TABLES: - case TrinoSqlParser.KW_TABLESAMPLE: - case TrinoSqlParser.KW_TEXT: - case TrinoSqlParser.KW_TIES: - case TrinoSqlParser.KW_TIME: - case TrinoSqlParser.KW_TIMESTAMP: - case TrinoSqlParser.KW_TO: - case TrinoSqlParser.KW_TRANSACTION: - case TrinoSqlParser.KW_TRUNCATE: - case TrinoSqlParser.KW_TRY_CAST: - case TrinoSqlParser.KW_TYPE: - case TrinoSqlParser.KW_UNBOUNDED: - case TrinoSqlParser.KW_UNCOMMITTED: - case TrinoSqlParser.KW_UNMATCHED: - case TrinoSqlParser.KW_UPDATE: - case TrinoSqlParser.KW_USE: - case TrinoSqlParser.KW_USER: - case TrinoSqlParser.KW_VALIDATE: - case TrinoSqlParser.KW_VERBOSE: - case TrinoSqlParser.KW_VIEW: - case TrinoSqlParser.KW_WINDOW: - case TrinoSqlParser.KW_WITHOUT: - case TrinoSqlParser.KW_WORK: - case TrinoSqlParser.KW_WRITE: - case TrinoSqlParser.KW_YEAR: - case TrinoSqlParser.KW_ZONE: - case TrinoSqlParser.IDENTIFIER: - case TrinoSqlParser.DIGIT_IDENTIFIER: - case TrinoSqlParser.QUOTED_IDENTIFIER: - case TrinoSqlParser.BACKQUOTED_IDENTIFIER: - { - this.state = 2277; - localContext._windowName = this.identifier(); - } - break; - case TrinoSqlParser.T__0: + case 37: { - this.state = 2278; + localContext = new TrimContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2577; + this.match(TrinoSqlParser.KW_TRIM); + this.state = 2578; this.match(TrinoSqlParser.T__0); - this.state = 2279; - this.windowSpecification(); - this.state = 2280; + this.state = 2579; + (localContext as TrimContext)._trimSource = this.valueExpression(0); + this.state = 2580; + this.match(TrinoSqlParser.T__2); + this.state = 2581; + (localContext as TrimContext)._trimChar = this.valueExpression(0); + this.state = 2582; this.match(TrinoSqlParser.T__1); } break; - default: - throw new antlr.NoViableAltException(this); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public windowFrame(): WindowFrameContext { - let localContext = new WindowFrameContext(this.context, this.state); - this.enterRule(localContext, 146, TrinoSqlParser.RULE_windowFrame); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2293; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 134) { + case 38: { - this.state = 2284; - this.match(TrinoSqlParser.KW_MEASURES); - this.state = 2285; - this.measureDefinition(); - this.state = 2290; + localContext = new SubstringContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2584; + this.match(TrinoSqlParser.KW_SUBSTRING); + this.state = 2585; + this.match(TrinoSqlParser.T__0); + this.state = 2586; + this.valueExpression(0); + this.state = 2587; + this.match(TrinoSqlParser.KW_FROM); + this.state = 2588; + this.valueExpression(0); + this.state = 2591; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 3) { - { + if (_la === 103) { { - this.state = 2286; - this.match(TrinoSqlParser.T__2); - this.state = 2287; - this.measureDefinition(); - } + this.state = 2589; + this.match(TrinoSqlParser.KW_FOR); + this.state = 2590; + this.valueExpression(0); } - this.state = 2292; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); } - } - } - this.state = 2295; - this.frameExtent(); - this.state = 2299; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 19) { - { - this.state = 2296; - this.match(TrinoSqlParser.KW_AFTER); - this.state = 2297; - this.match(TrinoSqlParser.KW_MATCH); - this.state = 2298; - this.skipTo(); + this.state = 2593; + this.match(TrinoSqlParser.T__1); } - } - - this.state = 2302; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 105 || _la === 199) { + break; + case 39: { - this.state = 2301; + localContext = new NormalizeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2595; + this.match(TrinoSqlParser.KW_NORMALIZE); + this.state = 2596; + this.match(TrinoSqlParser.T__0); + this.state = 2597; + this.valueExpression(0); + this.state = 2600; + this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if(!(_la === 105 || _la === 199)) { - this.errorHandler.recoverInline(this); + if (_la === 3) { + { + this.state = 2598; + this.match(TrinoSqlParser.T__2); + this.state = 2599; + this.normalForm(); + } } - else { - this.errorHandler.reportMatch(this); - this.consume(); + + this.state = 2602; + this.match(TrinoSqlParser.T__1); } + break; + case 40: + { + localContext = new ExtractContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2604; + this.match(TrinoSqlParser.KW_EXTRACT); + this.state = 2605; + this.match(TrinoSqlParser.T__0); + this.state = 2606; + this.identifier(); + this.state = 2607; + this.match(TrinoSqlParser.KW_FROM); + this.state = 2608; + this.valueExpression(0); + this.state = 2609; + this.match(TrinoSqlParser.T__1); } - } - - this.state = 2309; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 167) { + break; + case 41: { - this.state = 2304; - this.match(TrinoSqlParser.KW_PATTERN); - this.state = 2305; + localContext = new ParenthesizedExpressionContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2611; this.match(TrinoSqlParser.T__0); - this.state = 2306; - this.rowPattern(0); - this.state = 2307; + this.state = 2612; + this.expression(); + this.state = 2613; this.match(TrinoSqlParser.T__1); } - } - - this.state = 2320; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 209) { + break; + case 42: { - this.state = 2311; - this.match(TrinoSqlParser.KW_SUBSET); - this.state = 2312; - this.subsetDefinition(); - this.state = 2317; + localContext = new GroupingOperationContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2615; + this.match(TrinoSqlParser.KW_GROUPING); + this.state = 2616; + this.match(TrinoSqlParser.T__0); + this.state = 2625; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 3) { + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - { - this.state = 2313; - this.match(TrinoSqlParser.T__2); - this.state = 2314; - this.subsetDefinition(); - } - } - this.state = 2319; + this.state = 2617; + this.qualifiedName(); + this.state = 2622; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 2618; + this.match(TrinoSqlParser.T__2); + this.state = 2619; + this.qualifiedName(); + } + } + this.state = 2624; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } } - } - } - this.state = 2331; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 65) { + this.state = 2627; + this.match(TrinoSqlParser.T__1); + } + break; + case 43: { - this.state = 2322; - this.match(TrinoSqlParser.KW_DEFINE); - this.state = 2323; - this.variableDefinition(); - this.state = 2328; + localContext = new JsonExistsContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2628; + this.match(TrinoSqlParser.KW_JSON_EXISTS); + this.state = 2629; + this.match(TrinoSqlParser.T__0); + this.state = 2630; + this.jsonPathInvocation(); + this.state = 2635; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 3) { + if (_la === 89 || _la === 97 || _la === 273 || _la === 283) { { + this.state = 2631; + this.jsonExistsErrorBehavior(); + this.state = 2632; + this.match(TrinoSqlParser.KW_ON); + this.state = 2633; + this.match(TrinoSqlParser.KW_ERROR); + } + } + + this.state = 2637; + this.match(TrinoSqlParser.T__1); + } + break; + case 44: + { + localContext = new JsonValueContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2639; + this.match(TrinoSqlParser.KW_JSON_VALUE); + this.state = 2640; + this.match(TrinoSqlParser.T__0); + this.state = 2641; + this.jsonPathInvocation(); + this.state = 2644; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 231) { { - this.state = 2324; - this.match(TrinoSqlParser.T__2); - this.state = 2325; - this.variableDefinition(); + this.state = 2642; + this.match(TrinoSqlParser.KW_RETURNING); + this.state = 2643; + this.type_(0); } + } + + this.state = 2650; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 337, this.context) ) { + case 1: + { + this.state = 2646; + (localContext as JsonValueContext)._emptyBehavior = this.jsonValueBehavior(); + this.state = 2647; + this.match(TrinoSqlParser.KW_ON); + this.state = 2648; + this.match(TrinoSqlParser.KW_EMPTY); } - this.state = 2330; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); + break; } + this.state = 2656; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 70 || _la === 89 || _la === 183) { + { + this.state = 2652; + (localContext as JsonValueContext)._errorBehavior = this.jsonValueBehavior(); + this.state = 2653; + this.match(TrinoSqlParser.KW_ON); + this.state = 2654; + this.match(TrinoSqlParser.KW_ERROR); + } } - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public frameExtent(): FrameExtentContext { - let localContext = new FrameExtentContext(this.context, this.state); - this.enterRule(localContext, 148, TrinoSqlParser.RULE_frameExtent); - try { - this.state = 2357; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 305, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 2333; - localContext._frameType = this.match(TrinoSqlParser.KW_RANGE); - this.state = 2334; - localContext._frameStart = this.frameBound(); + this.state = 2658; + this.match(TrinoSqlParser.T__1); } break; - case 2: - this.enterOuterAlt(localContext, 2); + case 45: { - this.state = 2335; - localContext._frameType = this.match(TrinoSqlParser.KW_ROWS); - this.state = 2336; - localContext._frameStart = this.frameBound(); + localContext = new JsonQueryContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2660; + this.match(TrinoSqlParser.KW_JSON_QUERY); + this.state = 2661; + this.match(TrinoSqlParser.T__0); + this.state = 2662; + this.jsonPathInvocation(); + this.state = 2669; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 231) { + { + this.state = 2663; + this.match(TrinoSqlParser.KW_RETURNING); + this.state = 2664; + this.type_(0); + this.state = 2667; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 104) { + { + this.state = 2665; + this.match(TrinoSqlParser.KW_FORMAT); + this.state = 2666; + this.jsonRepresentation(); + } + } + + } } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 2337; - localContext._frameType = this.match(TrinoSqlParser.KW_GROUPS); - this.state = 2338; - localContext._frameStart = this.frameBound(); + + this.state = 2674; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 304 || _la === 306) { + { + this.state = 2671; + this.jsonQueryWrapperBehavior(); + this.state = 2672; + this.match(TrinoSqlParser.KW_WRAPPER); + } } - break; - case 4: - this.enterOuterAlt(localContext, 4); - { - this.state = 2339; - localContext._frameType = this.match(TrinoSqlParser.KW_RANGE); - this.state = 2340; - this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 2341; - localContext._frameStart = this.frameBound(); - this.state = 2342; - this.match(TrinoSqlParser.KW_AND); - this.state = 2343; - localContext._end = this.frameBound(); + + this.state = 2683; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 144 || _la === 189) { + { + this.state = 2676; + _la = this.tokenStream.LA(1); + if(!(_la === 144 || _la === 189)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 2677; + this.match(TrinoSqlParser.KW_QUOTES); + this.state = 2681; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 190) { + { + this.state = 2678; + this.match(TrinoSqlParser.KW_ON); + this.state = 2679; + this.match(TrinoSqlParser.KW_SCALAR); + this.state = 2680; + this.match(TrinoSqlParser.KW_TEXT_STRING); + } + } + + } } - break; - case 5: - this.enterOuterAlt(localContext, 5); - { - this.state = 2345; - localContext._frameType = this.match(TrinoSqlParser.KW_ROWS); - this.state = 2346; - this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 2347; - localContext._frameStart = this.frameBound(); - this.state = 2348; - this.match(TrinoSqlParser.KW_AND); - this.state = 2349; - localContext._end = this.frameBound(); + + this.state = 2689; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 344, this.context) ) { + case 1: + { + this.state = 2685; + (localContext as JsonQueryContext)._emptyBehavior = this.jsonQueryBehavior(); + this.state = 2686; + this.match(TrinoSqlParser.KW_ON); + this.state = 2687; + this.match(TrinoSqlParser.KW_EMPTY); + } + break; } - break; - case 6: - this.enterOuterAlt(localContext, 6); - { - this.state = 2351; - localContext._frameType = this.match(TrinoSqlParser.KW_GROUPS); - this.state = 2352; - this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 2353; - localContext._frameStart = this.frameBound(); - this.state = 2354; - this.match(TrinoSqlParser.KW_AND); - this.state = 2355; - localContext._end = this.frameBound(); + this.state = 2695; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 85 || _la === 89 || _la === 183) { + { + this.state = 2691; + (localContext as JsonQueryContext)._errorBehavior = this.jsonQueryBehavior(); + this.state = 2692; + this.match(TrinoSqlParser.KW_ON); + this.state = 2693; + this.match(TrinoSqlParser.KW_ERROR); + } + } + + this.state = 2697; + this.match(TrinoSqlParser.T__1); } break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public frameBound(): FrameBoundContext { - let localContext = new FrameBoundContext(this.context, this.state); - this.enterRule(localContext, 150, TrinoSqlParser.RULE_frameBound); - let _la: number; - try { - this.state = 2368; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 306, this.context) ) { - case 1: - localContext = new UnboundedFrameContext(localContext); - this.enterOuterAlt(localContext, 1); + case 46: { - this.state = 2359; - this.match(TrinoSqlParser.KW_UNBOUNDED); - this.state = 2360; - (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_PRECEDING); + localContext = new JsonObjectContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2699; + this.match(TrinoSqlParser.KW_JSON_OBJECT); + this.state = 2700; + this.match(TrinoSqlParser.T__0); + this.state = 2729; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 351, this.context) ) { + case 1: + { + this.state = 2701; + this.jsonObjectMember(); + this.state = 2706; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 2702; + this.match(TrinoSqlParser.T__2); + this.state = 2703; + this.jsonObjectMember(); + } + } + this.state = 2708; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 2715; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_NULL: + { + this.state = 2709; + this.match(TrinoSqlParser.KW_NULL); + this.state = 2710; + this.match(TrinoSqlParser.KW_ON); + this.state = 2711; + this.match(TrinoSqlParser.KW_NULL); + } + break; + case TrinoSqlParser.KW_ABSENT: + { + this.state = 2712; + this.match(TrinoSqlParser.KW_ABSENT); + this.state = 2713; + this.match(TrinoSqlParser.KW_ON); + this.state = 2714; + this.match(TrinoSqlParser.KW_NULL); + } + break; + case TrinoSqlParser.T__1: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_WITH: + case TrinoSqlParser.KW_WITHOUT: + break; + default: + break; + } + this.state = 2727; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_WITH: + { + this.state = 2717; + this.match(TrinoSqlParser.KW_WITH); + this.state = 2718; + this.match(TrinoSqlParser.KW_UNIQUE); + this.state = 2720; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 146) { + { + this.state = 2719; + this.match(TrinoSqlParser.KW_KEYS); + } + } + + } + break; + case TrinoSqlParser.KW_WITHOUT: + { + this.state = 2722; + this.match(TrinoSqlParser.KW_WITHOUT); + this.state = 2723; + this.match(TrinoSqlParser.KW_UNIQUE); + this.state = 2725; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 146) { + { + this.state = 2724; + this.match(TrinoSqlParser.KW_KEYS); + } + } + + } + break; + case TrinoSqlParser.T__1: + case TrinoSqlParser.KW_RETURNING: + break; + default: + break; + } + } + break; } - break; - case 2: - localContext = new UnboundedFrameContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 2361; - this.match(TrinoSqlParser.KW_UNBOUNDED); - this.state = 2362; - (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_FOLLOWING); + this.state = 2737; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 231) { + { + this.state = 2731; + this.match(TrinoSqlParser.KW_RETURNING); + this.state = 2732; + this.type_(0); + this.state = 2735; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 104) { + { + this.state = 2733; + this.match(TrinoSqlParser.KW_FORMAT); + this.state = 2734; + this.jsonRepresentation(); + } + } + + } } - break; - case 3: - localContext = new CurrentRowBoundContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 2363; - this.match(TrinoSqlParser.KW_CURRENT); - this.state = 2364; - this.match(TrinoSqlParser.KW_ROW); + + this.state = 2739; + this.match(TrinoSqlParser.T__1); } break; - case 4: - localContext = new BoundedFrameContext(localContext); - this.enterOuterAlt(localContext, 4); + case 47: { - this.state = 2365; - this.expression(); - this.state = 2366; - (localContext as BoundedFrameContext)._boundType = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 85 || _la === 171)) { - (localContext as BoundedFrameContext)._boundType = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } + localContext = new JsonArrayContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2740; + this.match(TrinoSqlParser.KW_JSON_ARRAY); + this.state = 2741; + this.match(TrinoSqlParser.T__0); + this.state = 2758; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 356, this.context) ) { + case 1: + { + this.state = 2742; + this.jsonValueExpression(); + this.state = 2747; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 2743; + this.match(TrinoSqlParser.T__2); + this.state = 2744; + this.jsonValueExpression(); + } + } + this.state = 2749; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 2756; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_NULL: + { + this.state = 2750; + this.match(TrinoSqlParser.KW_NULL); + this.state = 2751; + this.match(TrinoSqlParser.KW_ON); + this.state = 2752; + this.match(TrinoSqlParser.KW_NULL); + } + break; + case TrinoSqlParser.KW_ABSENT: + { + this.state = 2753; + this.match(TrinoSqlParser.KW_ABSENT); + this.state = 2754; + this.match(TrinoSqlParser.KW_ON); + this.state = 2755; + this.match(TrinoSqlParser.KW_NULL); + } + break; + case TrinoSqlParser.T__1: + case TrinoSqlParser.KW_RETURNING: + break; + default: + break; + } + } + break; } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - - public rowPattern(): RowPatternContext; - public rowPattern(_p: number): RowPatternContext; - public rowPattern(_p?: number): RowPatternContext { - if (_p === undefined) { - _p = 0; - } + this.state = 2766; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 231) { + { + this.state = 2760; + this.match(TrinoSqlParser.KW_RETURNING); + this.state = 2761; + this.type_(0); + this.state = 2764; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 104) { + { + this.state = 2762; + this.match(TrinoSqlParser.KW_FORMAT); + this.state = 2763; + this.jsonRepresentation(); + } + } - let parentContext = this.context; - let parentState = this.state; - let localContext = new RowPatternContext(this.context, parentState); - let previousContext = localContext; - let _startState = 152; - this.enterRecursionRule(localContext, 152, TrinoSqlParser.RULE_rowPattern, _p); - try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - { - localContext = new QuantifiedPrimaryContext(localContext); - this.context = localContext; - previousContext = localContext; + } + } - this.state = 2371; - this.patternPrimary(); - this.state = 2373; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 307, this.context) ) { - case 1: - { - this.state = 2372; - this.patternQuantifier(); + this.state = 2768; + this.match(TrinoSqlParser.T__1); } break; } - } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2382; + this.state = 2781; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 309, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 361, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -9882,41 +10772,47 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2380; + this.state = 2779; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 308, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 360, this.context) ) { case 1: { - localContext = new PatternConcatenationContext(new RowPatternContext(parentContext, parentState)); - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); - this.state = 2375; - if (!(this.precpred(this.context, 2))) { - throw this.createFailedPredicateException("this.precpred(this.context, 2)"); + localContext = new SubscriptContext(new PrimaryExpressionContext(parentContext, parentState)); + (localContext as SubscriptContext)._value = previousContext; + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_primaryExpression); + this.state = 2771; + if (!(this.precpred(this.context, 24))) { + throw this.createFailedPredicateException("this.precpred(this.context, 24)"); } - this.state = 2376; - this.rowPattern(3); + this.state = 2772; + this.match(TrinoSqlParser.T__7); + this.state = 2773; + (localContext as SubscriptContext)._index = this.valueExpression(0); + this.state = 2774; + this.match(TrinoSqlParser.T__8); } break; case 2: { - localContext = new PatternAlternationContext(new RowPatternContext(parentContext, parentState)); - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); - this.state = 2377; - if (!(this.precpred(this.context, 1))) { - throw this.createFailedPredicateException("this.precpred(this.context, 1)"); + localContext = new DereferenceContext(new PrimaryExpressionContext(parentContext, parentState)); + (localContext as DereferenceContext)._base = previousContext; + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_primaryExpression); + this.state = 2776; + if (!(this.precpred(this.context, 22))) { + throw this.createFailedPredicateException("this.precpred(this.context, 22)"); } - this.state = 2378; - this.match(TrinoSqlParser.T__8); - this.state = 2379; - this.rowPattern(2); + this.state = 2777; + this.match(TrinoSqlParser.T__3); + this.state = 2778; + (localContext as DereferenceContext)._fieldName = this.identifier(); } break; } } } - this.state = 2384; + this.state = 2783; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 309, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 361, this.context); } } } @@ -9934,102 +10830,59 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public patternPrimary(): PatternPrimaryContext { - let localContext = new PatternPrimaryContext(this.context, this.state); - this.enterRule(localContext, 154, TrinoSqlParser.RULE_patternPrimary); + public jsonPathInvocation(): JsonPathInvocationContext { + let localContext = new JsonPathInvocationContext(this.context, this.state); + this.enterRule(localContext, 146, TrinoSqlParser.RULE_jsonPathInvocation); let _la: number; try { - this.state = 2410; + this.enterOuterAlt(localContext, 1); + { + this.state = 2784; + this.jsonValueExpression(); + this.state = 2785; + this.match(TrinoSqlParser.T__2); + this.state = 2786; + localContext._path = this.string_(); + this.state = 2789; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 311, this.context) ) { - case 1: - localContext = new PatternVariableContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 2385; - this.identifier(); - } - break; - case 2: - localContext = new EmptyPatternContext(localContext); - this.enterOuterAlt(localContext, 2); + _la = this.tokenStream.LA(1); + if (_la === 28) { { - this.state = 2386; - this.match(TrinoSqlParser.T__0); - this.state = 2387; - this.match(TrinoSqlParser.T__1); + this.state = 2787; + this.match(TrinoSqlParser.KW_AS); + this.state = 2788; + localContext._pathName = this.identifier(); } - break; - case 3: - localContext = new PatternPermutationContext(localContext); - this.enterOuterAlt(localContext, 3); + } + + this.state = 2800; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 203) { { - this.state = 2388; - this.match(TrinoSqlParser.KW_PERMUTE); - this.state = 2389; - this.match(TrinoSqlParser.T__0); - this.state = 2390; - this.rowPattern(0); - this.state = 2395; + this.state = 2791; + this.match(TrinoSqlParser.KW_PASSING); + this.state = 2792; + this.jsonArgument(); + this.state = 2797; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2391; + this.state = 2793; this.match(TrinoSqlParser.T__2); - this.state = 2392; - this.rowPattern(0); + this.state = 2794; + this.jsonArgument(); } } - this.state = 2397; + this.state = 2799; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2398; - this.match(TrinoSqlParser.T__1); - } - break; - case 4: - localContext = new GroupedPatternContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 2400; - this.match(TrinoSqlParser.T__0); - this.state = 2401; - this.rowPattern(0); - this.state = 2402; - this.match(TrinoSqlParser.T__1); - } - break; - case 5: - localContext = new PartitionStartAnchorContext(localContext); - this.enterOuterAlt(localContext, 5); - { - this.state = 2404; - this.match(TrinoSqlParser.T__9); - } - break; - case 6: - localContext = new PartitionEndAnchorContext(localContext); - this.enterOuterAlt(localContext, 6); - { - this.state = 2405; - this.match(TrinoSqlParser.T__10); - } - break; - case 7: - localContext = new ExcludedPatternContext(localContext); - this.enterOuterAlt(localContext, 7); - { - this.state = 2406; - this.match(TrinoSqlParser.T__11); - this.state = 2407; - this.rowPattern(0); - this.state = 2408; - this.match(TrinoSqlParser.T__12); } - break; + } + } } catch (re) { @@ -10046,132 +10899,71 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public patternQuantifier(): PatternQuantifierContext { - let localContext = new PatternQuantifierContext(this.context, this.state); - this.enterRule(localContext, 156, TrinoSqlParser.RULE_patternQuantifier); + public jsonValueExpression(): JsonValueExpressionContext { + let localContext = new JsonValueExpressionContext(this.context, this.state); + this.enterRule(localContext, 148, TrinoSqlParser.RULE_jsonValueExpression); let _la: number; try { - this.state = 2442; + this.enterOuterAlt(localContext, 1); + { + this.state = 2802; + this.expression(); + this.state = 2805; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 319, this.context) ) { - case 1: - localContext = new ZeroOrMoreQuantifierContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 2412; - this.match(TrinoSqlParser.ASTERISK); - this.state = 2414; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 312, this.context) ) { - case 1: - { - this.state = 2413; - (localContext as ZeroOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 2: - localContext = new OneOrMoreQuantifierContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 2416; - this.match(TrinoSqlParser.PLUS); - this.state = 2418; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 313, this.context) ) { - case 1: - { - this.state = 2417; - (localContext as OneOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 3: - localContext = new ZeroOrOneQuantifierContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 2420; - this.match(TrinoSqlParser.QUESTION_MARK); - this.state = 2422; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 314, this.context) ) { - case 1: - { - this.state = 2421; - (localContext as ZeroOrOneQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 4: - localContext = new RangeQuantifierContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 2424; - this.match(TrinoSqlParser.T__13); - this.state = 2425; - (localContext as RangeQuantifierContext)._exactly = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2426; - this.match(TrinoSqlParser.T__14); - this.state = 2428; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 315, this.context) ) { - case 1: - { - this.state = 2427; - (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 5: - localContext = new RangeQuantifierContext(localContext); - this.enterOuterAlt(localContext, 5); + _la = this.tokenStream.LA(1); + if (_la === 104) { { - this.state = 2430; - this.match(TrinoSqlParser.T__13); - this.state = 2432; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 265) { - { - this.state = 2431; - (localContext as RangeQuantifierContext)._atLeast = this.match(TrinoSqlParser.INTEGER_VALUE); - } + this.state = 2803; + this.match(TrinoSqlParser.KW_FORMAT); + this.state = 2804; + this.jsonRepresentation(); } + } - this.state = 2434; - this.match(TrinoSqlParser.T__2); - this.state = 2436; - this.errorHandler.sync(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public jsonRepresentation(): JsonRepresentationContext { + let localContext = new JsonRepresentationContext(this.context, this.state); + this.enterRule(localContext, 150, TrinoSqlParser.RULE_jsonRepresentation); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 2807; + this.match(TrinoSqlParser.KW_JSON); + this.state = 2810; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 87) { + { + this.state = 2808; + this.match(TrinoSqlParser.KW_ENCODING); + this.state = 2809; _la = this.tokenStream.LA(1); - if (_la === 265) { - { - this.state = 2435; - (localContext as RangeQuantifierContext)._atMost = this.match(TrinoSqlParser.INTEGER_VALUE); - } + if(!(((((_la - 291)) & ~0x1F) === 0 && ((1 << (_la - 291)) & 7) !== 0))) { + this.errorHandler.recoverInline(this); } - - this.state = 2438; - this.match(TrinoSqlParser.T__14); - this.state = 2440; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 318, this.context) ) { - case 1: - { - this.state = 2439; - (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; + else { + this.errorHandler.reportMatch(this); + this.consume(); } } - break; + } + } } catch (re) { @@ -10188,18 +10980,18 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public updateAssignment(): UpdateAssignmentContext { - let localContext = new UpdateAssignmentContext(this.context, this.state); - this.enterRule(localContext, 158, TrinoSqlParser.RULE_updateAssignment); + public jsonArgument(): JsonArgumentContext { + let localContext = new JsonArgumentContext(this.context, this.state); + this.enterRule(localContext, 152, TrinoSqlParser.RULE_jsonArgument); try { this.enterOuterAlt(localContext, 1); { - this.state = 2444; + this.state = 2812; + this.jsonValueExpression(); + this.state = 2813; + this.match(TrinoSqlParser.KW_AS); + this.state = 2814; this.identifier(); - this.state = 2445; - this.match(TrinoSqlParser.EQ); - this.state = 2446; - this.expression(); } } catch (re) { @@ -10216,52 +11008,22 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public explainOption(): ExplainOptionContext { - let localContext = new ExplainOptionContext(this.context, this.state); - this.enterRule(localContext, 160, TrinoSqlParser.RULE_explainOption); + public jsonExistsErrorBehavior(): JsonExistsErrorBehaviorContext { + let localContext = new JsonExistsErrorBehaviorContext(this.context, this.state); + this.enterRule(localContext, 154, TrinoSqlParser.RULE_jsonExistsErrorBehavior); let _la: number; try { - this.state = 2452; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_FORMAT: - localContext = new ExplainFormatContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 2448; - this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2449; - (localContext as ExplainFormatContext)._value = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 95 || _la === 117 || _la === 215)) { - (localContext as ExplainFormatContext)._value = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - break; - case TrinoSqlParser.KW_TYPE: - localContext = new ExplainTypeContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 2450; - this.match(TrinoSqlParser.KW_TYPE); - this.state = 2451; - (localContext as ExplainTypeContext)._value = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 67 || _la === 113 || _la === 127 || _la === 236)) { - (localContext as ExplainTypeContext)._value = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - break; - default: - throw new antlr.NoViableAltException(this); + this.enterOuterAlt(localContext, 1); + { + this.state = 2816; + _la = this.tokenStream.LA(1); + if(!(_la === 89 || _la === 97 || _la === 273 || _la === 283)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } } catch (re) { @@ -10278,42 +11040,34 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public transactionMode(): TransactionModeContext { - let localContext = new TransactionModeContext(this.context, this.state); - this.enterRule(localContext, 162, TrinoSqlParser.RULE_transactionMode); - let _la: number; + public jsonValueBehavior(): JsonValueBehaviorContext { + let localContext = new JsonValueBehaviorContext(this.context, this.state); + this.enterRule(localContext, 156, TrinoSqlParser.RULE_jsonValueBehavior); try { - this.state = 2459; + this.state = 2822; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_ISOLATION: - localContext = new IsolationLevelContext(localContext); + case TrinoSqlParser.KW_ERROR: this.enterOuterAlt(localContext, 1); { - this.state = 2454; - this.match(TrinoSqlParser.KW_ISOLATION); - this.state = 2455; - this.match(TrinoSqlParser.KW_LEVEL); - this.state = 2456; - this.levelOfIsolation(); + this.state = 2818; + this.match(TrinoSqlParser.KW_ERROR); } break; - case TrinoSqlParser.KW_READ: - localContext = new TransactionAccessModeContext(localContext); + case TrinoSqlParser.KW_NULL: this.enterOuterAlt(localContext, 2); { - this.state = 2457; - this.match(TrinoSqlParser.KW_READ); - this.state = 2458; - (localContext as TransactionAccessModeContext)._accessMode = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 155 || _la === 246)) { - (localContext as TransactionAccessModeContext)._accessMode = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); + this.state = 2819; + this.match(TrinoSqlParser.KW_NULL); } + break; + case TrinoSqlParser.KW_DEFAULT: + this.enterOuterAlt(localContext, 3); + { + this.state = 2820; + this.match(TrinoSqlParser.KW_DEFAULT); + this.state = 2821; + this.expression(); } break; default: @@ -10334,51 +11088,67 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public levelOfIsolation(): LevelOfIsolationContext { - let localContext = new LevelOfIsolationContext(this.context, this.state); - this.enterRule(localContext, 164, TrinoSqlParser.RULE_levelOfIsolation); + public jsonQueryWrapperBehavior(): JsonQueryWrapperBehaviorContext { + let localContext = new JsonQueryWrapperBehaviorContext(this.context, this.state); + this.enterRule(localContext, 158, TrinoSqlParser.RULE_jsonQueryWrapperBehavior); + let _la: number; try { - this.state = 2468; + this.state = 2835; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 322, this.context) ) { - case 1: - localContext = new ReadUncommittedContext(localContext); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_WITHOUT: this.enterOuterAlt(localContext, 1); { - this.state = 2461; - this.match(TrinoSqlParser.KW_READ); - this.state = 2462; - this.match(TrinoSqlParser.KW_UNCOMMITTED); + this.state = 2824; + this.match(TrinoSqlParser.KW_WITHOUT); + this.state = 2826; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 27) { + { + this.state = 2825; + this.match(TrinoSqlParser.KW_ARRAY); + } + } + } break; - case 2: - localContext = new ReadCommittedContext(localContext); + case TrinoSqlParser.KW_WITH: this.enterOuterAlt(localContext, 2); { - this.state = 2463; - this.match(TrinoSqlParser.KW_READ); - this.state = 2464; - this.match(TrinoSqlParser.KW_COMMITTED); + this.state = 2828; + this.match(TrinoSqlParser.KW_WITH); + this.state = 2830; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 49 || _la === 280) { + { + this.state = 2829; + _la = this.tokenStream.LA(1); + if(!(_la === 49 || _la === 280)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } } - break; - case 3: - localContext = new RepeatableReadContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 2465; - this.match(TrinoSqlParser.KW_REPEATABLE); - this.state = 2466; - this.match(TrinoSqlParser.KW_READ); + + this.state = 2833; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 27) { + { + this.state = 2832; + this.match(TrinoSqlParser.KW_ARRAY); + } } - break; - case 4: - localContext = new SerializableContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 2467; - this.match(TrinoSqlParser.KW_SERIALIZABLE); + } break; + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -10395,31 +11165,43 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public callArgument(): CallArgumentContext { - let localContext = new CallArgumentContext(this.context, this.state); - this.enterRule(localContext, 166, TrinoSqlParser.RULE_callArgument); + public jsonQueryBehavior(): JsonQueryBehaviorContext { + let localContext = new JsonQueryBehaviorContext(this.context, this.state); + this.enterRule(localContext, 160, TrinoSqlParser.RULE_jsonQueryBehavior); try { - this.state = 2475; + this.state = 2843; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 323, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 372, this.context) ) { case 1: - localContext = new PositionalArgumentContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2470; - this.expression(); + this.state = 2837; + this.match(TrinoSqlParser.KW_ERROR); } break; case 2: - localContext = new NamedArgumentContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2471; - this.identifier(); - this.state = 2472; - this.match(TrinoSqlParser.T__15); - this.state = 2473; - this.expression(); + this.state = 2838; + this.match(TrinoSqlParser.KW_NULL); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 2839; + this.match(TrinoSqlParser.KW_EMPTY); + this.state = 2840; + this.match(TrinoSqlParser.KW_ARRAY); + } + break; + case 4: + this.enterOuterAlt(localContext, 4); + { + this.state = 2841; + this.match(TrinoSqlParser.KW_EMPTY); + this.state = 2842; + this.match(TrinoSqlParser.KW_OBJECT); } break; } @@ -10438,31 +11220,43 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public pathElement(): PathElementContext { - let localContext = new PathElementContext(this.context, this.state); - this.enterRule(localContext, 168, TrinoSqlParser.RULE_pathElement); + public jsonObjectMember(): JsonObjectMemberContext { + let localContext = new JsonObjectMemberContext(this.context, this.state); + this.enterRule(localContext, 162, TrinoSqlParser.RULE_jsonObjectMember); try { - this.state = 2482; + this.state = 2856; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 324, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 374, this.context) ) { case 1: - localContext = new QualifiedArgumentContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2477; - this.identifier(); - this.state = 2478; - this.match(TrinoSqlParser.T__3); - this.state = 2479; - this.identifier(); + this.state = 2846; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 373, this.context) ) { + case 1: + { + this.state = 2845; + this.match(TrinoSqlParser.KW_KEY); + } + break; + } + this.state = 2848; + this.expression(); + this.state = 2849; + this.match(TrinoSqlParser.KW_VALUE); + this.state = 2850; + this.jsonValueExpression(); } break; case 2: - localContext = new UnqualifiedArgumentContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2481; - this.identifier(); + this.state = 2852; + this.expression(); + this.state = 2853; + this.match(TrinoSqlParser.T__9); + this.state = 2854; + this.jsonValueExpression(); } break; } @@ -10481,30 +11275,21 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public pathSpecification(): PathSpecificationContext { - let localContext = new PathSpecificationContext(this.context, this.state); - this.enterRule(localContext, 170, TrinoSqlParser.RULE_pathSpecification); + public processingMode(): ProcessingModeContext { + let localContext = new ProcessingModeContext(this.context, this.state); + this.enterRule(localContext, 164, TrinoSqlParser.RULE_processingMode); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2484; - this.pathElement(); - this.state = 2489; - this.errorHandler.sync(this); + this.state = 2858; _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 2485; - this.match(TrinoSqlParser.T__2); - this.state = 2486; - this.pathElement(); - } - } - this.state = 2491; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); + if(!(_la === 100 || _la === 241)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); } } } @@ -10522,22 +11307,33 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public privilege(): PrivilegeContext { - let localContext = new PrivilegeContext(this.context, this.state); - this.enterRule(localContext, 172, TrinoSqlParser.RULE_privilege); - let _la: number; + public nullTreatment(): NullTreatmentContext { + let localContext = new NullTreatmentContext(this.context, this.state); + this.enterRule(localContext, 166, TrinoSqlParser.RULE_nullTreatment); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2492; - _la = this.tokenStream.LA(1); - if(!(_la === 62 || _la === 108 || _la === 200 || _la === 232)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } + this.state = 2864; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_IGNORE: + this.enterOuterAlt(localContext, 1); + { + this.state = 2860; + this.match(TrinoSqlParser.KW_IGNORE); + this.state = 2861; + this.match(TrinoSqlParser.KW_NULLS); + } + break; + case TrinoSqlParser.KW_RESPECT: + this.enterOuterAlt(localContext, 2); + { + this.state = 2862; + this.match(TrinoSqlParser.KW_RESPECT); + this.state = 2863; + this.match(TrinoSqlParser.KW_NULLS); + } + break; + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -10554,27 +11350,43 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public tableOrViewName(): TableOrViewNameContext { - let localContext = new TableOrViewNameContext(this.context, this.state); - this.enterRule(localContext, 174, TrinoSqlParser.RULE_tableOrViewName); + public string_(): StringContext { + let localContext = new StringContext(this.context, this.state); + this.enterRule(localContext, 168, TrinoSqlParser.RULE_string); try { - this.state = 2496; + this.state = 2872; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 326, this.context) ) { - case 1: + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.STRING: + localContext = new BasicStringLiteralContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2494; - this.tableName(); + this.state = 2866; + this.match(TrinoSqlParser.STRING); } break; - case 2: + case TrinoSqlParser.UNICODE_STRING: + localContext = new UnicodeStringLiteralContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2495; - this.viewName(); + this.state = 2867; + this.match(TrinoSqlParser.UNICODE_STRING); + this.state = 2870; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 376, this.context) ) { + case 1: + { + this.state = 2868; + this.match(TrinoSqlParser.KW_UESCAPE); + this.state = 2869; + this.match(TrinoSqlParser.STRING); + } + break; + } } break; + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -10591,14 +11403,37 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public tableName(): TableNameContext { - let localContext = new TableNameContext(this.context, this.state); - this.enterRule(localContext, 176, TrinoSqlParser.RULE_tableName); + public timeZoneSpecifier(): TimeZoneSpecifierContext { + let localContext = new TimeZoneSpecifierContext(this.context, this.state); + this.enterRule(localContext, 170, TrinoSqlParser.RULE_timeZoneSpecifier); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2498; - this.tablePath(); + this.state = 2880; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 378, this.context) ) { + case 1: + localContext = new TimeZoneIntervalContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 2874; + this.match(TrinoSqlParser.KW_TIME); + this.state = 2875; + this.match(TrinoSqlParser.KW_ZONE); + this.state = 2876; + this.interval(); + } + break; + case 2: + localContext = new TimeZoneStringContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 2877; + this.match(TrinoSqlParser.KW_TIME); + this.state = 2878; + this.match(TrinoSqlParser.KW_ZONE); + this.state = 2879; + this.string_(); + } + break; } } catch (re) { @@ -10615,14 +11450,22 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public tableNameCreate(): TableNameCreateContext { - let localContext = new TableNameCreateContext(this.context, this.state); - this.enterRule(localContext, 178, TrinoSqlParser.RULE_tableNameCreate); + public comparisonOperator(): ComparisonOperatorContext { + let localContext = new ComparisonOperatorContext(this.context, this.state); + this.enterRule(localContext, 172, TrinoSqlParser.RULE_comparisonOperator); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2500; - this.tablePath(); + this.state = 2882; + _la = this.tokenStream.LA(1); + if(!(((((_la - 312)) & ~0x1F) === 0 && ((1 << (_la - 312)) & 63) !== 0))) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } } catch (re) { @@ -10639,14 +11482,22 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public viewName(): ViewNameContext { - let localContext = new ViewNameContext(this.context, this.state); - this.enterRule(localContext, 180, TrinoSqlParser.RULE_viewName); + public comparisonQuantifier(): ComparisonQuantifierContext { + let localContext = new ComparisonQuantifierContext(this.context, this.state); + this.enterRule(localContext, 174, TrinoSqlParser.RULE_comparisonQuantifier); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2502; - this.viewPath(); + this.state = 2884; + _la = this.tokenStream.LA(1); + if(!(_la === 22 || _la === 26 || _la === 254)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } } catch (re) { @@ -10663,14 +11514,22 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public viewNameCreate(): ViewNameCreateContext { - let localContext = new ViewNameCreateContext(this.context, this.state); - this.enterRule(localContext, 182, TrinoSqlParser.RULE_viewNameCreate); + public booleanValue(): BooleanValueContext { + let localContext = new BooleanValueContext(this.context, this.state); + this.enterRule(localContext, 176, TrinoSqlParser.RULE_booleanValue); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2504; - this.viewPath(); + this.state = 2886; + _la = this.tokenStream.LA(1); + if(!(_la === 97 || _la === 273)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } } catch (re) { @@ -10687,126 +11546,49 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public tablePath(): TablePathContext { - let localContext = new TablePathContext(this.context, this.state); - this.enterRule(localContext, 184, TrinoSqlParser.RULE_tablePath); + public interval(): IntervalContext { + let localContext = new IntervalContext(this.context, this.state); + this.enterRule(localContext, 178, TrinoSqlParser.RULE_interval); + let _la: number; try { - this.state = 2517; + this.enterOuterAlt(localContext, 1); + { + this.state = 2888; + this.match(TrinoSqlParser.KW_INTERVAL); + this.state = 2890; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 318 || _la === 319) { + { + this.state = 2889; + localContext._sign = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 318 || _la === 319)) { + localContext._sign = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + + this.state = 2892; + this.string_(); + this.state = 2893; + localContext._from_ = this.intervalField(); + this.state = 2896; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 327, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 380, this.context) ) { case 1: - this.enterOuterAlt(localContext, 1); { - this.state = 2506; - localContext._table = this.identifier(); + this.state = 2894; + this.match(TrinoSqlParser.KW_TO); + this.state = 2895; + localContext._to = this.intervalField(); } break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 2507; - localContext._schema = this.identifier(); - this.state = 2508; - this.match(TrinoSqlParser.T__3); - this.state = 2509; - localContext._table = this.identifier(); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 2511; - localContext._catalog = this.identifier(); - this.state = 2512; - this.match(TrinoSqlParser.T__3); - this.state = 2513; - localContext._schema = this.identifier(); - this.state = 2514; - this.match(TrinoSqlParser.T__3); - this.state = 2515; - localContext._table = this.identifier(); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public viewPath(): ViewPathContext { - let localContext = new ViewPathContext(this.context, this.state); - this.enterRule(localContext, 186, TrinoSqlParser.RULE_viewPath); - try { - this.state = 2530; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 328, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 2519; - localContext._view = this.identifier(); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 2520; - localContext._schema = this.identifier(); - this.state = 2521; - this.match(TrinoSqlParser.T__3); - this.state = 2522; - localContext._view = this.identifier(); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 2524; - localContext._catalog = this.identifier(); - this.state = 2525; - this.match(TrinoSqlParser.T__3); - this.state = 2526; - localContext._schema = this.identifier(); - this.state = 2527; - this.match(TrinoSqlParser.T__3); - this.state = 2528; - localContext._view = this.identifier(); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; } - } - finally { - this.exitRule(); - } - return localContext; - } - public schemaName(): SchemaNameContext { - let localContext = new SchemaNameContext(this.context, this.state); - this.enterRule(localContext, 188, TrinoSqlParser.RULE_schemaName); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2532; - this.schemaPath(); } } catch (re) { @@ -10823,55 +11605,22 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public schemaNameCreate(): SchemaNameCreateContext { - let localContext = new SchemaNameCreateContext(this.context, this.state); - this.enterRule(localContext, 190, TrinoSqlParser.RULE_schemaNameCreate); + public intervalField(): IntervalFieldContext { + let localContext = new IntervalFieldContext(this.context, this.state); + this.enterRule(localContext, 180, TrinoSqlParser.RULE_intervalField); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2534; - this.schemaPath(); + this.state = 2898; + _la = this.tokenStream.LA(1); + if(!(_la === 67 || _la === 118 || _la === 170 || _la === 171 || _la === 245 || _la === 310)) { + this.errorHandler.recoverInline(this); } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; + else { + this.errorHandler.reportMatch(this); + this.consume(); } - } - finally { - this.exitRule(); - } - return localContext; - } - public schemaPath(): SchemaPathContext { - let localContext = new SchemaPathContext(this.context, this.state); - this.enterRule(localContext, 192, TrinoSqlParser.RULE_schemaPath); - try { - this.state = 2541; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 329, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 2536; - localContext._schema = this.identifier(); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 2537; - localContext._catalog = this.identifier(); - this.state = 2538; - this.match(TrinoSqlParser.T__3); - this.state = 2539; - localContext._schema = this.identifier(); - } - break; } } catch (re) { @@ -10888,38 +11637,22 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public catalogName(): CatalogNameContext { - let localContext = new CatalogNameContext(this.context, this.state); - this.enterRule(localContext, 194, TrinoSqlParser.RULE_catalogName); + public normalForm(): NormalFormContext { + let localContext = new NormalFormContext(this.context, this.state); + this.enterRule(localContext, 182, TrinoSqlParser.RULE_normalForm); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2543; - localContext._catalog = this.identifier(); + this.state = 2900; + _la = this.tokenStream.LA(1); + if(!(((((_la - 175)) & ~0x1F) === 0 && ((1 << (_la - 175)) & 15) !== 0))) { + this.errorHandler.recoverInline(this); } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; + else { + this.errorHandler.reportMatch(this); + this.consume(); } - } - finally { - this.exitRule(); - } - return localContext; - } - public catalogNameCreate(): CatalogNameCreateContext { - let localContext = new CatalogNameCreateContext(this.context, this.state); - this.enterRule(localContext, 196, TrinoSqlParser.RULE_catalogNameCreate); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2545; - localContext._catalog = this.identifier(); } } catch (re) { @@ -10936,120 +11669,380 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public functionName(): FunctionNameContext { - let localContext = new FunctionNameContext(this.context, this.state); - this.enterRule(localContext, 198, TrinoSqlParser.RULE_functionName); + + public type_(): TypeContext; + public type_(_p: number): TypeContext; + public type_(_p?: number): TypeContext { + if (_p === undefined) { + _p = 0; + } + + let parentContext = this.context; + let parentState = this.state; + let localContext = new TypeContext(this.context, parentState); + let previousContext = localContext; + let _startState = 184; + this.enterRecursionRule(localContext, 184, TrinoSqlParser.RULE_type, _p); + let _la: number; try { + let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2547; - this.qualifiedName(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public columnName(): ColumnNameContext { - let localContext = new ColumnNameContext(this.context, this.state); - this.enterRule(localContext, 200, TrinoSqlParser.RULE_columnName); - try { - this.state = 2551; + this.state = 2993; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 330, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 391, this.context) ) { case 1: - this.enterOuterAlt(localContext, 1); { - this.state = 2549; - this.qualifiedName(); + localContext = new RowTypeContext(localContext); + this.context = localContext; + previousContext = localContext; + + this.state = 2903; + this.match(TrinoSqlParser.KW_ROW); + this.state = 2904; + this.match(TrinoSqlParser.T__0); + this.state = 2905; + this.rowField(); + this.state = 2910; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 2906; + this.match(TrinoSqlParser.T__2); + this.state = 2907; + this.rowField(); + } + } + this.state = 2912; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 2913; + this.match(TrinoSqlParser.T__1); } break; case 2: - this.enterOuterAlt(localContext, 2); { - this.state = 2550; - if (!(this.shouldMatchEmpty())) { - throw this.createFailedPredicateException("this.shouldMatchEmpty()"); + localContext = new IntervalTypeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2915; + this.match(TrinoSqlParser.KW_INTERVAL); + this.state = 2916; + (localContext as IntervalTypeContext)._from_ = this.intervalField(); + this.state = 2919; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 382, this.context) ) { + case 1: + { + this.state = 2917; + this.match(TrinoSqlParser.KW_TO); + this.state = 2918; + (localContext as IntervalTypeContext)._to = this.intervalField(); + } + break; + } + } + break; + case 3: + { + localContext = new DateTimeTypeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2921; + (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIMESTAMP); + this.state = 2926; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 383, this.context) ) { + case 1: + { + this.state = 2922; + this.match(TrinoSqlParser.T__0); + this.state = 2923; + (localContext as DateTimeTypeContext)._precision = this.typeParameter(); + this.state = 2924; + this.match(TrinoSqlParser.T__1); + } + break; + } + this.state = 2931; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 384, this.context) ) { + case 1: + { + this.state = 2928; + this.match(TrinoSqlParser.KW_WITHOUT); + this.state = 2929; + this.match(TrinoSqlParser.KW_TIME); + this.state = 2930; + this.match(TrinoSqlParser.KW_ZONE); + } + break; + } + } + break; + case 4: + { + localContext = new DateTimeTypeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2933; + (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIMESTAMP); + this.state = 2938; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 1) { + { + this.state = 2934; + this.match(TrinoSqlParser.T__0); + this.state = 2935; + (localContext as DateTimeTypeContext)._precision = this.typeParameter(); + this.state = 2936; + this.match(TrinoSqlParser.T__1); + } + } + + this.state = 2940; + this.match(TrinoSqlParser.KW_WITH); + this.state = 2941; + this.match(TrinoSqlParser.KW_TIME); + this.state = 2942; + this.match(TrinoSqlParser.KW_ZONE); + } + break; + case 5: + { + localContext = new DateTimeTypeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2943; + (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIME); + this.state = 2948; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 386, this.context) ) { + case 1: + { + this.state = 2944; + this.match(TrinoSqlParser.T__0); + this.state = 2945; + (localContext as DateTimeTypeContext)._precision = this.typeParameter(); + this.state = 2946; + this.match(TrinoSqlParser.T__1); + } + break; + } + this.state = 2953; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 387, this.context) ) { + case 1: + { + this.state = 2950; + this.match(TrinoSqlParser.KW_WITHOUT); + this.state = 2951; + this.match(TrinoSqlParser.KW_TIME); + this.state = 2952; + this.match(TrinoSqlParser.KW_ZONE); + } + break; + } + } + break; + case 6: + { + localContext = new DateTimeTypeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2955; + (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIME); + this.state = 2960; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 1) { + { + this.state = 2956; + this.match(TrinoSqlParser.T__0); + this.state = 2957; + (localContext as DateTimeTypeContext)._precision = this.typeParameter(); + this.state = 2958; + this.match(TrinoSqlParser.T__1); + } + } + + this.state = 2962; + this.match(TrinoSqlParser.KW_WITH); + this.state = 2963; + this.match(TrinoSqlParser.KW_TIME); + this.state = 2964; + this.match(TrinoSqlParser.KW_ZONE); + } + break; + case 7: + { + localContext = new DoublePrecisionTypeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2965; + this.match(TrinoSqlParser.KW_DOUBLE); + this.state = 2966; + this.match(TrinoSqlParser.KW_PRECISION); + } + break; + case 8: + { + localContext = new LegacyArrayTypeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2967; + this.match(TrinoSqlParser.KW_ARRAY); + this.state = 2968; + this.match(TrinoSqlParser.LT); + this.state = 2969; + this.type_(0); + this.state = 2970; + this.match(TrinoSqlParser.GT); + } + break; + case 9: + { + localContext = new LegacyMapTypeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2972; + this.match(TrinoSqlParser.KW_MAP); + this.state = 2973; + this.match(TrinoSqlParser.LT); + this.state = 2974; + (localContext as LegacyMapTypeContext)._keyType = this.type_(0); + this.state = 2975; + this.match(TrinoSqlParser.T__2); + this.state = 2976; + (localContext as LegacyMapTypeContext)._valueType = this.type_(0); + this.state = 2977; + this.match(TrinoSqlParser.GT); + } + break; + case 10: + { + localContext = new GenericTypeContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2979; + this.identifier(); + this.state = 2991; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 390, this.context) ) { + case 1: + { + this.state = 2980; + this.match(TrinoSqlParser.T__0); + this.state = 2981; + this.typeParameter(); + this.state = 2986; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 2982; + this.match(TrinoSqlParser.T__2); + this.state = 2983; + this.typeParameter(); + } + } + this.state = 2988; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 2989; + this.match(TrinoSqlParser.T__1); + } + break; } } break; } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public columnNameCreate(): ColumnNameCreateContext { - let localContext = new ColumnNameCreateContext(this.context, this.state); - this.enterRule(localContext, 202, TrinoSqlParser.RULE_columnNameCreate); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2553; - this.identifier(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public qualifiedName(): QualifiedNameContext { - let localContext = new QualifiedNameContext(this.context, this.state); - this.enterRule(localContext, 204, TrinoSqlParser.RULE_qualifiedName); - try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - this.state = 2555; - this.identifier(); - this.state = 2560; + this.context!.stop = this.tokenStream.LT(-1); + this.state = 3004; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 331, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 393, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { + if (this._parseListeners != null) { + this.triggerExitRuleEvent(); + } + previousContext = localContext; { { - this.state = 2556; - this.match(TrinoSqlParser.T__3); - this.state = 2557; - this.identifier(); + localContext = new ArrayTypeContext(new TypeContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_type); + this.state = 2995; + if (!(this.precpred(this.context, 2))) { + throw this.createFailedPredicateException("this.precpred(this.context, 2)"); + } + this.state = 2996; + this.match(TrinoSqlParser.KW_ARRAY); + this.state = 3000; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 392, this.context) ) { + case 1: + { + this.state = 2997; + this.match(TrinoSqlParser.T__7); + this.state = 2998; + this.match(TrinoSqlParser.INTEGER_VALUE); + this.state = 2999; + this.match(TrinoSqlParser.T__8); + } + break; + } } } } - this.state = 2562; + this.state = 3006; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 331, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 393, this.context); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; } + } + finally { + this.unrollRecursionContexts(parentContext); + } + return localContext; + } + public rowField(): RowFieldContext { + let localContext = new RowFieldContext(this.context, this.state); + this.enterRule(localContext, 186, TrinoSqlParser.RULE_rowField); + try { + this.state = 3011; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 394, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3007; + this.type_(0); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3008; + this.identifier(); + this.state = 3009; + this.type_(0); + } + break; } } catch (re) { @@ -11066,13 +12059,21 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public grantor(): GrantorContext { - let localContext = new GrantorContext(this.context, this.state); - this.enterRule(localContext, 206, TrinoSqlParser.RULE_grantor); + public typeParameter(): TypeParameterContext { + let localContext = new TypeParameterContext(this.context, this.state); + this.enterRule(localContext, 188, TrinoSqlParser.RULE_typeParameter); try { - this.state = 2566; + this.state = 3015; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.INTEGER_VALUE: + this.enterOuterAlt(localContext, 1); + { + this.state = 3013; + this.match(TrinoSqlParser.INTEGER_VALUE); + } + break; + case TrinoSqlParser.KW_ABSENT: case TrinoSqlParser.KW_ADD: case TrinoSqlParser.KW_ADMIN: case TrinoSqlParser.KW_AFTER: @@ -11083,26 +12084,41 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ASC: case TrinoSqlParser.KW_AT: case TrinoSqlParser.KW_AUTHORIZATION: + case TrinoSqlParser.KW_BEGIN: case TrinoSqlParser.KW_BERNOULLI: + case TrinoSqlParser.KW_BOTH: case TrinoSqlParser.KW_CALL: + case TrinoSqlParser.KW_CALLED: case TrinoSqlParser.KW_CASCADE: + case TrinoSqlParser.KW_CATALOG: case TrinoSqlParser.KW_CATALOGS: case TrinoSqlParser.KW_COLUMN: case TrinoSqlParser.KW_COLUMNS: case TrinoSqlParser.KW_COMMENT: case TrinoSqlParser.KW_COMMIT: case TrinoSqlParser.KW_COMMITTED: + case TrinoSqlParser.KW_CONDITIONAL: + case TrinoSqlParser.KW_COUNT: + case TrinoSqlParser.KW_COPARTITION: case TrinoSqlParser.KW_CURRENT: case TrinoSqlParser.KW_DATA: case TrinoSqlParser.KW_DATE: case TrinoSqlParser.KW_DAY: + case TrinoSqlParser.KW_DECLARE: case TrinoSqlParser.KW_DEFAULT: + case TrinoSqlParser.KW_DEFINE: case TrinoSqlParser.KW_DEFINER: + case TrinoSqlParser.KW_DENY: case TrinoSqlParser.KW_DESC: - case TrinoSqlParser.KW_DEFINE: + case TrinoSqlParser.KW_DESCRIPTOR: + case TrinoSqlParser.KW_DETERMINISTIC: case TrinoSqlParser.KW_DISTRIBUTED: + case TrinoSqlParser.KW_DO: case TrinoSqlParser.KW_DOUBLE: case TrinoSqlParser.KW_EMPTY: + case TrinoSqlParser.KW_ELSEIF: + case TrinoSqlParser.KW_ENCODING: + case TrinoSqlParser.KW_ERROR: case TrinoSqlParser.KW_EXCLUDING: case TrinoSqlParser.KW_EXPLAIN: case TrinoSqlParser.KW_FETCH: @@ -11111,16 +12127,18 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_FIRST: case TrinoSqlParser.KW_FOLLOWING: case TrinoSqlParser.KW_FORMAT: + case TrinoSqlParser.KW_FUNCTION: case TrinoSqlParser.KW_FUNCTIONS: + case TrinoSqlParser.KW_GRACE: case TrinoSqlParser.KW_GRANT: case TrinoSqlParser.KW_GRANTED: case TrinoSqlParser.KW_GRANTS: - case TrinoSqlParser.KW_DENY: case TrinoSqlParser.KW_GRAPHVIZ: case TrinoSqlParser.KW_GROUPS: case TrinoSqlParser.KW_HOUR: case TrinoSqlParser.KW_IF: case TrinoSqlParser.KW_IGNORE: + case TrinoSqlParser.KW_IMMEDIATE: case TrinoSqlParser.KW_INCLUDING: case TrinoSqlParser.KW_INITIAL: case TrinoSqlParser.KW_INPUT: @@ -11128,13 +12146,21 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_INVOKER: case TrinoSqlParser.KW_IO: case TrinoSqlParser.KW_ISOLATION: + case TrinoSqlParser.KW_ITERATE: case TrinoSqlParser.KW_JSON: + case TrinoSqlParser.KW_KEEP: + case TrinoSqlParser.KW_KEY: + case TrinoSqlParser.KW_KEYS: + case TrinoSqlParser.KW_LANGUAGE: case TrinoSqlParser.KW_LAST: case TrinoSqlParser.KW_LATERAL: + case TrinoSqlParser.KW_LEADING: + case TrinoSqlParser.KW_LEAVE: case TrinoSqlParser.KW_LEVEL: case TrinoSqlParser.KW_LIMIT: case TrinoSqlParser.KW_LOCAL: case TrinoSqlParser.KW_LOGICAL: + case TrinoSqlParser.KW_LOOP: case TrinoSqlParser.KW_MAP: case TrinoSqlParser.KW_MATCH: case TrinoSqlParser.KW_MATCHED: @@ -11145,6 +12171,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_MERGE: case TrinoSqlParser.KW_MINUTE: case TrinoSqlParser.KW_MONTH: + case TrinoSqlParser.KW_NESTED: case TrinoSqlParser.KW_NEXT: case TrinoSqlParser.KW_NFC: case TrinoSqlParser.KW_NFD: @@ -11154,6 +12181,8 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_NONE: case TrinoSqlParser.KW_NULLIF: case TrinoSqlParser.KW_NULLS: + case TrinoSqlParser.KW_OBJECT: + case TrinoSqlParser.KW_OF: case TrinoSqlParser.KW_OFFSET: case TrinoSqlParser.KW_OMIT: case TrinoSqlParser.KW_ONE: @@ -11162,27 +12191,37 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ORDINALITY: case TrinoSqlParser.KW_OUTPUT: case TrinoSqlParser.KW_OVER: + case TrinoSqlParser.KW_OVERFLOW: case TrinoSqlParser.KW_PARTITION: case TrinoSqlParser.KW_PARTITIONS: + case TrinoSqlParser.KW_PASSING: case TrinoSqlParser.KW_PAST: case TrinoSqlParser.KW_PATH: case TrinoSqlParser.KW_PATTERN: case TrinoSqlParser.KW_PER: + case TrinoSqlParser.KW_PERIOD: case TrinoSqlParser.KW_PERMUTE: + case TrinoSqlParser.KW_PLAN: case TrinoSqlParser.KW_POSITION: case TrinoSqlParser.KW_PRECEDING: case TrinoSqlParser.KW_PRECISION: case TrinoSqlParser.KW_PRIVILEGES: case TrinoSqlParser.KW_PROPERTIES: + case TrinoSqlParser.KW_PRUNE: + case TrinoSqlParser.KW_QUOTES: case TrinoSqlParser.KW_RANGE: case TrinoSqlParser.KW_READ: case TrinoSqlParser.KW_REFRESH: case TrinoSqlParser.KW_RENAME: + case TrinoSqlParser.KW_REPEAT: case TrinoSqlParser.KW_REPEATABLE: case TrinoSqlParser.KW_REPLACE: case TrinoSqlParser.KW_RESET: case TrinoSqlParser.KW_RESPECT: case TrinoSqlParser.KW_RESTRICT: + case TrinoSqlParser.KW_RETURN: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_RETURNS: case TrinoSqlParser.KW_REVOKE: case TrinoSqlParser.KW_ROLE: case TrinoSqlParser.KW_ROLES: @@ -11190,6 +12229,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ROW: case TrinoSqlParser.KW_ROWS: case TrinoSqlParser.KW_RUNNING: + case TrinoSqlParser.KW_SCALAR: case TrinoSqlParser.KW_SCHEMA: case TrinoSqlParser.KW_SCHEMAS: case TrinoSqlParser.KW_SECOND: @@ -11209,26 +12249,40 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_TABLES: case TrinoSqlParser.KW_TABLESAMPLE: case TrinoSqlParser.KW_TEXT: + case TrinoSqlParser.KW_TEXT_STRING: case TrinoSqlParser.KW_TIES: case TrinoSqlParser.KW_TIME: case TrinoSqlParser.KW_TIMESTAMP: case TrinoSqlParser.KW_TO: + case TrinoSqlParser.KW_TRAILING: case TrinoSqlParser.KW_TRANSACTION: case TrinoSqlParser.KW_TRUNCATE: case TrinoSqlParser.KW_TRY_CAST: case TrinoSqlParser.KW_TYPE: case TrinoSqlParser.KW_UNBOUNDED: case TrinoSqlParser.KW_UNCOMMITTED: + case TrinoSqlParser.KW_UNCONDITIONAL: + case TrinoSqlParser.KW_UNIQUE: + case TrinoSqlParser.KW_UNKNOWN: case TrinoSqlParser.KW_UNMATCHED: + case TrinoSqlParser.KW_UNTIL: case TrinoSqlParser.KW_UPDATE: case TrinoSqlParser.KW_USE: case TrinoSqlParser.KW_USER: + case TrinoSqlParser.KW_UTF16: + case TrinoSqlParser.KW_UTF32: + case TrinoSqlParser.KW_UTF8: case TrinoSqlParser.KW_VALIDATE: + case TrinoSqlParser.KW_VALUE: case TrinoSqlParser.KW_VERBOSE: + case TrinoSqlParser.KW_VERSION: case TrinoSqlParser.KW_VIEW: + case TrinoSqlParser.KW_WHILE: case TrinoSqlParser.KW_WINDOW: + case TrinoSqlParser.KW_WITHIN: case TrinoSqlParser.KW_WITHOUT: case TrinoSqlParser.KW_WORK: + case TrinoSqlParser.KW_WRAPPER: case TrinoSqlParser.KW_WRITE: case TrinoSqlParser.KW_YEAR: case TrinoSqlParser.KW_ZONE: @@ -11236,27 +12290,10 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.DIGIT_IDENTIFIER: case TrinoSqlParser.QUOTED_IDENTIFIER: case TrinoSqlParser.BACKQUOTED_IDENTIFIER: - localContext = new SpecifiedPrincipalContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 2563; - this.principal(); - } - break; - case TrinoSqlParser.KW_CURRENT_USER: - localContext = new CurrentUserGrantorContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2564; - this.match(TrinoSqlParser.KW_CURRENT_USER); - } - break; - case TrinoSqlParser.KW_CURRENT_ROLE: - localContext = new CurrentRoleGrantorContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 2565; - this.match(TrinoSqlParser.KW_CURRENT_ROLE); + this.state = 3014; + this.type_(0); } break; default: @@ -11277,41 +12314,20 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public principal(): PrincipalContext { - let localContext = new PrincipalContext(this.context, this.state); - this.enterRule(localContext, 208, TrinoSqlParser.RULE_principal); + public whenClause(): WhenClauseContext { + let localContext = new WhenClauseContext(this.context, this.state); + this.enterRule(localContext, 190, TrinoSqlParser.RULE_whenClause); try { - this.state = 2573; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 333, this.context) ) { - case 1: - localContext = new UnspecifiedPrincipalContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 2568; - this.identifier(); - } - break; - case 2: - localContext = new UserPrincipalContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 2569; - this.match(TrinoSqlParser.KW_USER); - this.state = 2570; - this.identifier(); - } - break; - case 3: - localContext = new RolePrincipalContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 2571; - this.match(TrinoSqlParser.KW_ROLE); - this.state = 2572; - this.identifier(); - } - break; + this.enterOuterAlt(localContext, 1); + { + this.state = 3017; + this.match(TrinoSqlParser.KW_WHEN); + this.state = 3018; + localContext._condition = this.expression(); + this.state = 3019; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3020; + localContext._result = this.expression(); } } catch (re) { @@ -11328,31 +12344,22 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public roles(): RolesContext { - let localContext = new RolesContext(this.context, this.state); - this.enterRule(localContext, 210, TrinoSqlParser.RULE_roles); - let _la: number; + public filter(): FilterContext { + let localContext = new FilterContext(this.context, this.state); + this.enterRule(localContext, 192, TrinoSqlParser.RULE_filter); try { this.enterOuterAlt(localContext, 1); { - this.state = 2575; - this.identifier(); - this.state = 2580; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 2576; - this.match(TrinoSqlParser.T__2); - this.state = 2577; - this.identifier(); - } - } - this.state = 2582; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } + this.state = 3022; + this.match(TrinoSqlParser.KW_FILTER); + this.state = 3023; + this.match(TrinoSqlParser.T__0); + this.state = 3024; + this.match(TrinoSqlParser.KW_WHERE); + this.state = 3025; + this.booleanExpression(0); + this.state = 3026; + this.match(TrinoSqlParser.T__1); } } catch (re) { @@ -11369,29 +12376,212 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public identifier(): IdentifierContext { - let localContext = new IdentifierContext(this.context, this.state); - this.enterRule(localContext, 212, TrinoSqlParser.RULE_identifier); + public mergeCase(): MergeCaseContext { + let localContext = new MergeCaseContext(this.context, this.state); + this.enterRule(localContext, 194, TrinoSqlParser.RULE_mergeCase); + let _la: number; try { - this.state = 2588; + this.state = 3092; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.IDENTIFIER: - localContext = new UnquotedIdentifierContext(localContext); + switch (this.interpreter.adaptivePredict(this.tokenStream, 403, this.context) ) { + case 1: + localContext = new MergeUpdateContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2583; - this.match(TrinoSqlParser.IDENTIFIER); + this.state = 3028; + this.match(TrinoSqlParser.KW_WHEN); + this.state = 3029; + this.match(TrinoSqlParser.KW_MATCHED); + this.state = 3032; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 25) { + { + this.state = 3030; + this.match(TrinoSqlParser.KW_AND); + this.state = 3031; + (localContext as MergeUpdateContext)._condition = this.expression(); + } + } + + this.state = 3034; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3035; + this.match(TrinoSqlParser.KW_UPDATE); + this.state = 3036; + this.match(TrinoSqlParser.KW_SET); + this.state = 3037; + (localContext as MergeUpdateContext)._identifier = this.identifier(); + (localContext as MergeUpdateContext)._targets.push((localContext as MergeUpdateContext)._identifier); + this.state = 3038; + this.match(TrinoSqlParser.EQ); + this.state = 3039; + (localContext as MergeUpdateContext)._expression = this.expression(); + (localContext as MergeUpdateContext)._values.push((localContext as MergeUpdateContext)._expression); + this.state = 3047; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3040; + this.match(TrinoSqlParser.T__2); + this.state = 3041; + (localContext as MergeUpdateContext)._identifier = this.identifier(); + (localContext as MergeUpdateContext)._targets.push((localContext as MergeUpdateContext)._identifier); + this.state = 3042; + this.match(TrinoSqlParser.EQ); + this.state = 3043; + (localContext as MergeUpdateContext)._expression = this.expression(); + (localContext as MergeUpdateContext)._values.push((localContext as MergeUpdateContext)._expression); + } + } + this.state = 3049; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } } break; - case TrinoSqlParser.QUOTED_IDENTIFIER: - localContext = new QuotedIdentifierContext(localContext); + case 2: + localContext = new MergeDeleteContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2584; - this.match(TrinoSqlParser.QUOTED_IDENTIFIER); + this.state = 3050; + this.match(TrinoSqlParser.KW_WHEN); + this.state = 3051; + this.match(TrinoSqlParser.KW_MATCHED); + this.state = 3054; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 25) { + { + this.state = 3052; + this.match(TrinoSqlParser.KW_AND); + this.state = 3053; + (localContext as MergeDeleteContext)._condition = this.expression(); + } + } + + this.state = 3056; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3057; + this.match(TrinoSqlParser.KW_DELETE); } break; + case 3: + localContext = new MergeInsertContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3058; + this.match(TrinoSqlParser.KW_WHEN); + this.state = 3059; + this.match(TrinoSqlParser.KW_NOT); + this.state = 3060; + this.match(TrinoSqlParser.KW_MATCHED); + this.state = 3063; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 25) { + { + this.state = 3061; + this.match(TrinoSqlParser.KW_AND); + this.state = 3062; + (localContext as MergeInsertContext)._condition = this.expression(); + } + } + + this.state = 3065; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3066; + this.match(TrinoSqlParser.KW_INSERT); + this.state = 3078; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 1) { + { + this.state = 3067; + this.match(TrinoSqlParser.T__0); + this.state = 3068; + (localContext as MergeInsertContext)._identifier = this.identifier(); + (localContext as MergeInsertContext)._targets.push((localContext as MergeInsertContext)._identifier); + this.state = 3073; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3069; + this.match(TrinoSqlParser.T__2); + this.state = 3070; + (localContext as MergeInsertContext)._identifier = this.identifier(); + (localContext as MergeInsertContext)._targets.push((localContext as MergeInsertContext)._identifier); + } + } + this.state = 3075; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 3076; + this.match(TrinoSqlParser.T__1); + } + } + + this.state = 3080; + this.match(TrinoSqlParser.KW_VALUES); + this.state = 3081; + this.match(TrinoSqlParser.T__0); + this.state = 3082; + (localContext as MergeInsertContext)._expression = this.expression(); + (localContext as MergeInsertContext)._values.push((localContext as MergeInsertContext)._expression); + this.state = 3087; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3083; + this.match(TrinoSqlParser.T__2); + this.state = 3084; + (localContext as MergeInsertContext)._expression = this.expression(); + (localContext as MergeInsertContext)._values.push((localContext as MergeInsertContext)._expression); + } + } + this.state = 3089; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 3090; + this.match(TrinoSqlParser.T__1); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public over(): OverContext { + let localContext = new OverContext(this.context, this.state); + this.enterRule(localContext, 196, TrinoSqlParser.RULE_over); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3094; + this.match(TrinoSqlParser.KW_OVER); + this.state = 3100; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ABSENT: case TrinoSqlParser.KW_ADD: case TrinoSqlParser.KW_ADMIN: case TrinoSqlParser.KW_AFTER: @@ -11402,26 +12592,41 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ASC: case TrinoSqlParser.KW_AT: case TrinoSqlParser.KW_AUTHORIZATION: + case TrinoSqlParser.KW_BEGIN: case TrinoSqlParser.KW_BERNOULLI: + case TrinoSqlParser.KW_BOTH: case TrinoSqlParser.KW_CALL: + case TrinoSqlParser.KW_CALLED: case TrinoSqlParser.KW_CASCADE: + case TrinoSqlParser.KW_CATALOG: case TrinoSqlParser.KW_CATALOGS: case TrinoSqlParser.KW_COLUMN: case TrinoSqlParser.KW_COLUMNS: case TrinoSqlParser.KW_COMMENT: case TrinoSqlParser.KW_COMMIT: case TrinoSqlParser.KW_COMMITTED: + case TrinoSqlParser.KW_CONDITIONAL: + case TrinoSqlParser.KW_COUNT: + case TrinoSqlParser.KW_COPARTITION: case TrinoSqlParser.KW_CURRENT: case TrinoSqlParser.KW_DATA: case TrinoSqlParser.KW_DATE: case TrinoSqlParser.KW_DAY: + case TrinoSqlParser.KW_DECLARE: case TrinoSqlParser.KW_DEFAULT: + case TrinoSqlParser.KW_DEFINE: case TrinoSqlParser.KW_DEFINER: + case TrinoSqlParser.KW_DENY: case TrinoSqlParser.KW_DESC: - case TrinoSqlParser.KW_DEFINE: + case TrinoSqlParser.KW_DESCRIPTOR: + case TrinoSqlParser.KW_DETERMINISTIC: case TrinoSqlParser.KW_DISTRIBUTED: + case TrinoSqlParser.KW_DO: case TrinoSqlParser.KW_DOUBLE: case TrinoSqlParser.KW_EMPTY: + case TrinoSqlParser.KW_ELSEIF: + case TrinoSqlParser.KW_ENCODING: + case TrinoSqlParser.KW_ERROR: case TrinoSqlParser.KW_EXCLUDING: case TrinoSqlParser.KW_EXPLAIN: case TrinoSqlParser.KW_FETCH: @@ -11430,16 +12635,18 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_FIRST: case TrinoSqlParser.KW_FOLLOWING: case TrinoSqlParser.KW_FORMAT: + case TrinoSqlParser.KW_FUNCTION: case TrinoSqlParser.KW_FUNCTIONS: + case TrinoSqlParser.KW_GRACE: case TrinoSqlParser.KW_GRANT: case TrinoSqlParser.KW_GRANTED: case TrinoSqlParser.KW_GRANTS: - case TrinoSqlParser.KW_DENY: case TrinoSqlParser.KW_GRAPHVIZ: case TrinoSqlParser.KW_GROUPS: case TrinoSqlParser.KW_HOUR: case TrinoSqlParser.KW_IF: case TrinoSqlParser.KW_IGNORE: + case TrinoSqlParser.KW_IMMEDIATE: case TrinoSqlParser.KW_INCLUDING: case TrinoSqlParser.KW_INITIAL: case TrinoSqlParser.KW_INPUT: @@ -11447,13 +12654,21 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_INVOKER: case TrinoSqlParser.KW_IO: case TrinoSqlParser.KW_ISOLATION: + case TrinoSqlParser.KW_ITERATE: case TrinoSqlParser.KW_JSON: + case TrinoSqlParser.KW_KEEP: + case TrinoSqlParser.KW_KEY: + case TrinoSqlParser.KW_KEYS: + case TrinoSqlParser.KW_LANGUAGE: case TrinoSqlParser.KW_LAST: case TrinoSqlParser.KW_LATERAL: + case TrinoSqlParser.KW_LEADING: + case TrinoSqlParser.KW_LEAVE: case TrinoSqlParser.KW_LEVEL: case TrinoSqlParser.KW_LIMIT: case TrinoSqlParser.KW_LOCAL: case TrinoSqlParser.KW_LOGICAL: + case TrinoSqlParser.KW_LOOP: case TrinoSqlParser.KW_MAP: case TrinoSqlParser.KW_MATCH: case TrinoSqlParser.KW_MATCHED: @@ -11464,6 +12679,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_MERGE: case TrinoSqlParser.KW_MINUTE: case TrinoSqlParser.KW_MONTH: + case TrinoSqlParser.KW_NESTED: case TrinoSqlParser.KW_NEXT: case TrinoSqlParser.KW_NFC: case TrinoSqlParser.KW_NFD: @@ -11473,6 +12689,8 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_NONE: case TrinoSqlParser.KW_NULLIF: case TrinoSqlParser.KW_NULLS: + case TrinoSqlParser.KW_OBJECT: + case TrinoSqlParser.KW_OF: case TrinoSqlParser.KW_OFFSET: case TrinoSqlParser.KW_OMIT: case TrinoSqlParser.KW_ONE: @@ -11481,27 +12699,37 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ORDINALITY: case TrinoSqlParser.KW_OUTPUT: case TrinoSqlParser.KW_OVER: + case TrinoSqlParser.KW_OVERFLOW: case TrinoSqlParser.KW_PARTITION: case TrinoSqlParser.KW_PARTITIONS: + case TrinoSqlParser.KW_PASSING: case TrinoSqlParser.KW_PAST: case TrinoSqlParser.KW_PATH: case TrinoSqlParser.KW_PATTERN: case TrinoSqlParser.KW_PER: + case TrinoSqlParser.KW_PERIOD: case TrinoSqlParser.KW_PERMUTE: + case TrinoSqlParser.KW_PLAN: case TrinoSqlParser.KW_POSITION: case TrinoSqlParser.KW_PRECEDING: case TrinoSqlParser.KW_PRECISION: case TrinoSqlParser.KW_PRIVILEGES: case TrinoSqlParser.KW_PROPERTIES: + case TrinoSqlParser.KW_PRUNE: + case TrinoSqlParser.KW_QUOTES: case TrinoSqlParser.KW_RANGE: case TrinoSqlParser.KW_READ: case TrinoSqlParser.KW_REFRESH: case TrinoSqlParser.KW_RENAME: + case TrinoSqlParser.KW_REPEAT: case TrinoSqlParser.KW_REPEATABLE: case TrinoSqlParser.KW_REPLACE: case TrinoSqlParser.KW_RESET: case TrinoSqlParser.KW_RESPECT: case TrinoSqlParser.KW_RESTRICT: + case TrinoSqlParser.KW_RETURN: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_RETURNS: case TrinoSqlParser.KW_REVOKE: case TrinoSqlParser.KW_ROLE: case TrinoSqlParser.KW_ROLES: @@ -11509,6 +12737,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_ROW: case TrinoSqlParser.KW_ROWS: case TrinoSqlParser.KW_RUNNING: + case TrinoSqlParser.KW_SCALAR: case TrinoSqlParser.KW_SCHEMA: case TrinoSqlParser.KW_SCHEMAS: case TrinoSqlParser.KW_SECOND: @@ -11528,1765 +12757,9214 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_TABLES: case TrinoSqlParser.KW_TABLESAMPLE: case TrinoSqlParser.KW_TEXT: + case TrinoSqlParser.KW_TEXT_STRING: case TrinoSqlParser.KW_TIES: case TrinoSqlParser.KW_TIME: case TrinoSqlParser.KW_TIMESTAMP: case TrinoSqlParser.KW_TO: + case TrinoSqlParser.KW_TRAILING: case TrinoSqlParser.KW_TRANSACTION: case TrinoSqlParser.KW_TRUNCATE: case TrinoSqlParser.KW_TRY_CAST: case TrinoSqlParser.KW_TYPE: case TrinoSqlParser.KW_UNBOUNDED: case TrinoSqlParser.KW_UNCOMMITTED: + case TrinoSqlParser.KW_UNCONDITIONAL: + case TrinoSqlParser.KW_UNIQUE: + case TrinoSqlParser.KW_UNKNOWN: case TrinoSqlParser.KW_UNMATCHED: + case TrinoSqlParser.KW_UNTIL: case TrinoSqlParser.KW_UPDATE: case TrinoSqlParser.KW_USE: case TrinoSqlParser.KW_USER: + case TrinoSqlParser.KW_UTF16: + case TrinoSqlParser.KW_UTF32: + case TrinoSqlParser.KW_UTF8: case TrinoSqlParser.KW_VALIDATE: + case TrinoSqlParser.KW_VALUE: case TrinoSqlParser.KW_VERBOSE: + case TrinoSqlParser.KW_VERSION: case TrinoSqlParser.KW_VIEW: + case TrinoSqlParser.KW_WHILE: case TrinoSqlParser.KW_WINDOW: + case TrinoSqlParser.KW_WITHIN: case TrinoSqlParser.KW_WITHOUT: case TrinoSqlParser.KW_WORK: + case TrinoSqlParser.KW_WRAPPER: case TrinoSqlParser.KW_WRITE: case TrinoSqlParser.KW_YEAR: case TrinoSqlParser.KW_ZONE: - localContext = new UnquotedIdentifierContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 2585; - this.nonReserved(); - } - break; + case TrinoSqlParser.IDENTIFIER: + case TrinoSqlParser.DIGIT_IDENTIFIER: + case TrinoSqlParser.QUOTED_IDENTIFIER: case TrinoSqlParser.BACKQUOTED_IDENTIFIER: - localContext = new BackQuotedIdentifierContext(localContext); - this.enterOuterAlt(localContext, 4); { - this.state = 2586; - this.match(TrinoSqlParser.BACKQUOTED_IDENTIFIER); + this.state = 3095; + localContext._windowName = this.identifier(); } break; - case TrinoSqlParser.DIGIT_IDENTIFIER: - localContext = new DigitIdentifierContext(localContext); - this.enterOuterAlt(localContext, 5); + case TrinoSqlParser.T__0: { - this.state = 2587; - this.match(TrinoSqlParser.DIGIT_IDENTIFIER); + this.state = 3096; + this.match(TrinoSqlParser.T__0); + this.state = 3097; + this.windowSpecification(); + this.state = 3098; + this.match(TrinoSqlParser.T__1); } break; default: throw new antlr.NoViableAltException(this); } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public windowFrame(): WindowFrameContext { + let localContext = new WindowFrameContext(this.context, this.state); + this.enterRule(localContext, 198, TrinoSqlParser.RULE_windowFrame); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3111; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 168) { + { + this.state = 3102; + this.match(TrinoSqlParser.KW_MEASURES); + this.state = 3103; + this.measureDefinition(); + this.state = 3108; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3104; + this.match(TrinoSqlParser.T__2); + this.state = 3105; + this.measureDefinition(); + } + } + this.state = 3110; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + + this.state = 3113; + this.frameExtent(); + this.state = 3117; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 21) { + { + this.state = 3114; + this.match(TrinoSqlParser.KW_AFTER); + this.state = 3115; + this.match(TrinoSqlParser.KW_MATCH); + this.state = 3116; + this.skipTo(); + } + } + + this.state = 3120; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 124 || _la === 247) { + { + this.state = 3119; + _la = this.tokenStream.LA(1); + if(!(_la === 124 || _la === 247)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + + this.state = 3127; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 206) { + { + this.state = 3122; + this.match(TrinoSqlParser.KW_PATTERN); + this.state = 3123; + this.match(TrinoSqlParser.T__0); + this.state = 3124; + this.rowPattern(0); + this.state = 3125; + this.match(TrinoSqlParser.T__1); + } + } + + this.state = 3138; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 257) { + { + this.state = 3129; + this.match(TrinoSqlParser.KW_SUBSET); + this.state = 3130; + this.subsetDefinition(); + this.state = 3135; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3131; + this.match(TrinoSqlParser.T__2); + this.state = 3132; + this.subsetDefinition(); + } + } + this.state = 3137; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + + this.state = 3149; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 71) { + { + this.state = 3140; + this.match(TrinoSqlParser.KW_DEFINE); + this.state = 3141; + this.variableDefinition(); + this.state = 3146; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3142; + this.match(TrinoSqlParser.T__2); + this.state = 3143; + this.variableDefinition(); + } + } + this.state = 3148; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public frameExtent(): FrameExtentContext { + let localContext = new FrameExtentContext(this.context, this.state); + this.enterRule(localContext, 200, TrinoSqlParser.RULE_frameExtent); + try { + this.state = 3175; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 414, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3151; + localContext._frameType = this.match(TrinoSqlParser.KW_RANGE); + this.state = 3152; + localContext._start = this.frameBound(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3153; + localContext._frameType = this.match(TrinoSqlParser.KW_ROWS); + this.state = 3154; + localContext._start = this.frameBound(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3155; + localContext._frameType = this.match(TrinoSqlParser.KW_GROUPS); + this.state = 3156; + localContext._start = this.frameBound(); + } + break; + case 4: + this.enterOuterAlt(localContext, 4); + { + this.state = 3157; + localContext._frameType = this.match(TrinoSqlParser.KW_RANGE); + this.state = 3158; + this.match(TrinoSqlParser.KW_BETWEEN); + this.state = 3159; + localContext._start = this.frameBound(); + this.state = 3160; + this.match(TrinoSqlParser.KW_AND); + this.state = 3161; + localContext._end = this.frameBound(); + } + break; + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 3163; + localContext._frameType = this.match(TrinoSqlParser.KW_ROWS); + this.state = 3164; + this.match(TrinoSqlParser.KW_BETWEEN); + this.state = 3165; + localContext._start = this.frameBound(); + this.state = 3166; + this.match(TrinoSqlParser.KW_AND); + this.state = 3167; + localContext._end = this.frameBound(); + } + break; + case 6: + this.enterOuterAlt(localContext, 6); + { + this.state = 3169; + localContext._frameType = this.match(TrinoSqlParser.KW_GROUPS); + this.state = 3170; + this.match(TrinoSqlParser.KW_BETWEEN); + this.state = 3171; + localContext._start = this.frameBound(); + this.state = 3172; + this.match(TrinoSqlParser.KW_AND); + this.state = 3173; + localContext._end = this.frameBound(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public frameBound(): FrameBoundContext { + let localContext = new FrameBoundContext(this.context, this.state); + this.enterRule(localContext, 202, TrinoSqlParser.RULE_frameBound); + let _la: number; + try { + this.state = 3186; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 415, this.context) ) { + case 1: + localContext = new UnboundedFrameContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3177; + this.match(TrinoSqlParser.KW_UNBOUNDED); + this.state = 3178; + (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_PRECEDING); + } + break; + case 2: + localContext = new UnboundedFrameContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3179; + this.match(TrinoSqlParser.KW_UNBOUNDED); + this.state = 3180; + (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_FOLLOWING); + } + break; + case 3: + localContext = new CurrentRowBoundContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3181; + this.match(TrinoSqlParser.KW_CURRENT); + this.state = 3182; + this.match(TrinoSqlParser.KW_ROW); + } + break; + case 4: + localContext = new BoundedFrameContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3183; + this.expression(); + this.state = 3184; + (localContext as BoundedFrameContext)._boundType = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 102 || _la === 212)) { + (localContext as BoundedFrameContext)._boundType = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + + public rowPattern(): RowPatternContext; + public rowPattern(_p: number): RowPatternContext; + public rowPattern(_p?: number): RowPatternContext { + if (_p === undefined) { + _p = 0; + } + + let parentContext = this.context; + let parentState = this.state; + let localContext = new RowPatternContext(this.context, parentState); + let previousContext = localContext; + let _startState = 204; + this.enterRecursionRule(localContext, 204, TrinoSqlParser.RULE_rowPattern, _p); + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + { + localContext = new QuantifiedPrimaryContext(localContext); + this.context = localContext; + previousContext = localContext; + + this.state = 3189; + this.patternPrimary(); + this.state = 3191; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 416, this.context) ) { + case 1: + { + this.state = 3190; + this.patternQuantifier(); + } + break; + } + } + this.context!.stop = this.tokenStream.LT(-1); + this.state = 3200; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 418, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + if (this._parseListeners != null) { + this.triggerExitRuleEvent(); + } + previousContext = localContext; + { + this.state = 3198; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 417, this.context) ) { + case 1: + { + localContext = new PatternConcatenationContext(new RowPatternContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); + this.state = 3193; + if (!(this.precpred(this.context, 2))) { + throw this.createFailedPredicateException("this.precpred(this.context, 2)"); + } + this.state = 3194; + this.rowPattern(3); + } + break; + case 2: + { + localContext = new PatternAlternationContext(new RowPatternContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); + this.state = 3195; + if (!(this.precpred(this.context, 1))) { + throw this.createFailedPredicateException("this.precpred(this.context, 1)"); + } + this.state = 3196; + this.match(TrinoSqlParser.T__10); + this.state = 3197; + this.rowPattern(2); + } + break; + } + } + } + this.state = 3202; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 418, this.context); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.unrollRecursionContexts(parentContext); + } + return localContext; + } + public patternPrimary(): PatternPrimaryContext { + let localContext = new PatternPrimaryContext(this.context, this.state); + this.enterRule(localContext, 206, TrinoSqlParser.RULE_patternPrimary); + let _la: number; + try { + this.state = 3228; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 420, this.context) ) { + case 1: + localContext = new PatternVariableContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3203; + this.identifier(); + } + break; + case 2: + localContext = new EmptyPatternContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3204; + this.match(TrinoSqlParser.T__0); + this.state = 3205; + this.match(TrinoSqlParser.T__1); + } + break; + case 3: + localContext = new PatternPermutationContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3206; + this.match(TrinoSqlParser.KW_PERMUTE); + this.state = 3207; + this.match(TrinoSqlParser.T__0); + this.state = 3208; + this.rowPattern(0); + this.state = 3213; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3209; + this.match(TrinoSqlParser.T__2); + this.state = 3210; + this.rowPattern(0); + } + } + this.state = 3215; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 3216; + this.match(TrinoSqlParser.T__1); + } + break; + case 4: + localContext = new GroupedPatternContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3218; + this.match(TrinoSqlParser.T__0); + this.state = 3219; + this.rowPattern(0); + this.state = 3220; + this.match(TrinoSqlParser.T__1); + } + break; + case 5: + localContext = new PartitionStartAnchorContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 3222; + this.match(TrinoSqlParser.T__11); + } + break; + case 6: + localContext = new PartitionEndAnchorContext(localContext); + this.enterOuterAlt(localContext, 6); + { + this.state = 3223; + this.match(TrinoSqlParser.T__12); + } + break; + case 7: + localContext = new ExcludedPatternContext(localContext); + this.enterOuterAlt(localContext, 7); + { + this.state = 3224; + this.match(TrinoSqlParser.T__13); + this.state = 3225; + this.rowPattern(0); + this.state = 3226; + this.match(TrinoSqlParser.T__14); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public patternQuantifier(): PatternQuantifierContext { + let localContext = new PatternQuantifierContext(this.context, this.state); + this.enterRule(localContext, 208, TrinoSqlParser.RULE_patternQuantifier); + let _la: number; + try { + this.state = 3260; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 428, this.context) ) { + case 1: + localContext = new ZeroOrMoreQuantifierContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3230; + this.match(TrinoSqlParser.ASTERISK); + this.state = 3232; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 421, this.context) ) { + case 1: + { + this.state = 3231; + (localContext as ZeroOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); + } + break; + } + } + break; + case 2: + localContext = new OneOrMoreQuantifierContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3234; + this.match(TrinoSqlParser.PLUS); + this.state = 3236; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 422, this.context) ) { + case 1: + { + this.state = 3235; + (localContext as OneOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); + } + break; + } + } + break; + case 3: + localContext = new ZeroOrOneQuantifierContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3238; + this.match(TrinoSqlParser.QUESTION_MARK); + this.state = 3240; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 423, this.context) ) { + case 1: + { + this.state = 3239; + (localContext as ZeroOrOneQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); + } + break; + } + } + break; + case 4: + localContext = new RangeQuantifierContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3242; + this.match(TrinoSqlParser.T__15); + this.state = 3243; + (localContext as RangeQuantifierContext)._exactly = this.match(TrinoSqlParser.INTEGER_VALUE); + this.state = 3244; + this.match(TrinoSqlParser.T__16); + this.state = 3246; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 424, this.context) ) { + case 1: + { + this.state = 3245; + (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); + } + break; + } + } + break; + case 5: + localContext = new RangeQuantifierContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 3248; + this.match(TrinoSqlParser.T__15); + this.state = 3250; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 329) { + { + this.state = 3249; + (localContext as RangeQuantifierContext)._atLeast = this.match(TrinoSqlParser.INTEGER_VALUE); + } + } + + this.state = 3252; + this.match(TrinoSqlParser.T__2); + this.state = 3254; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 329) { + { + this.state = 3253; + (localContext as RangeQuantifierContext)._atMost = this.match(TrinoSqlParser.INTEGER_VALUE); + } + } + + this.state = 3256; + this.match(TrinoSqlParser.T__16); + this.state = 3258; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 427, this.context) ) { + case 1: + { + this.state = 3257; + (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); + } + break; + } + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public updateAssignment(): UpdateAssignmentContext { + let localContext = new UpdateAssignmentContext(this.context, this.state); + this.enterRule(localContext, 210, TrinoSqlParser.RULE_updateAssignment); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3262; + this.identifier(); + this.state = 3263; + this.match(TrinoSqlParser.EQ); + this.state = 3264; + this.expression(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public explainOption(): ExplainOptionContext { + let localContext = new ExplainOptionContext(this.context, this.state); + this.enterRule(localContext, 212, TrinoSqlParser.RULE_explainOption); + let _la: number; + try { + this.state = 3270; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_FORMAT: + localContext = new ExplainFormatContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3266; + this.match(TrinoSqlParser.KW_FORMAT); + this.state = 3267; + (localContext as ExplainFormatContext)._value = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 113 || _la === 137 || _la === 263)) { + (localContext as ExplainFormatContext)._value = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + break; + case TrinoSqlParser.KW_TYPE: + localContext = new ExplainTypeContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3268; + this.match(TrinoSqlParser.KW_TYPE); + this.state = 3269; + (localContext as ExplainTypeContext)._value = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 80 || _la === 132 || _la === 160 || _la === 294)) { + (localContext as ExplainTypeContext)._value = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public transactionMode(): TransactionModeContext { + let localContext = new TransactionModeContext(this.context, this.state); + this.enterRule(localContext, 214, TrinoSqlParser.RULE_transactionMode); + let _la: number; + try { + this.state = 3277; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ISOLATION: + localContext = new IsolationLevelContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3272; + this.match(TrinoSqlParser.KW_ISOLATION); + this.state = 3273; + this.match(TrinoSqlParser.KW_LEVEL); + this.state = 3274; + this.levelOfIsolation(); + } + break; + case TrinoSqlParser.KW_READ: + localContext = new TransactionAccessModeContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3275; + this.match(TrinoSqlParser.KW_READ); + this.state = 3276; + (localContext as TransactionAccessModeContext)._accessMode = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 192 || _la === 309)) { + (localContext as TransactionAccessModeContext)._accessMode = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public levelOfIsolation(): LevelOfIsolationContext { + let localContext = new LevelOfIsolationContext(this.context, this.state); + this.enterRule(localContext, 216, TrinoSqlParser.RULE_levelOfIsolation); + try { + this.state = 3286; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 431, this.context) ) { + case 1: + localContext = new ReadUncommittedContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3279; + this.match(TrinoSqlParser.KW_READ); + this.state = 3280; + this.match(TrinoSqlParser.KW_UNCOMMITTED); + } + break; + case 2: + localContext = new ReadCommittedContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3281; + this.match(TrinoSqlParser.KW_READ); + this.state = 3282; + this.match(TrinoSqlParser.KW_COMMITTED); + } + break; + case 3: + localContext = new RepeatableReadContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3283; + this.match(TrinoSqlParser.KW_REPEATABLE); + this.state = 3284; + this.match(TrinoSqlParser.KW_READ); + } + break; + case 4: + localContext = new SerializableContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3285; + this.match(TrinoSqlParser.KW_SERIALIZABLE); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public callArgument(): CallArgumentContext { + let localContext = new CallArgumentContext(this.context, this.state); + this.enterRule(localContext, 218, TrinoSqlParser.RULE_callArgument); + try { + this.state = 3293; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 432, this.context) ) { + case 1: + localContext = new PositionalArgumentContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3288; + this.expression(); + } + break; + case 2: + localContext = new NamedArgumentContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3289; + this.identifier(); + this.state = 3290; + this.match(TrinoSqlParser.T__5); + this.state = 3291; + this.expression(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public pathElement(): PathElementContext { + let localContext = new PathElementContext(this.context, this.state); + this.enterRule(localContext, 220, TrinoSqlParser.RULE_pathElement); + try { + this.state = 3300; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 433, this.context) ) { + case 1: + localContext = new QualifiedArgumentContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3295; + this.identifier(); + this.state = 3296; + this.match(TrinoSqlParser.T__3); + this.state = 3297; + this.identifier(); + } + break; + case 2: + localContext = new UnqualifiedArgumentContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3299; + this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public pathSpecification(): PathSpecificationContext { + let localContext = new PathSpecificationContext(this.context, this.state); + this.enterRule(localContext, 222, TrinoSqlParser.RULE_pathSpecification); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3302; + this.pathElement(); + this.state = 3307; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3303; + this.match(TrinoSqlParser.T__2); + this.state = 3304; + this.pathElement(); + } + } + this.state = 3309; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public functionSpecification(): FunctionSpecificationContext { + let localContext = new FunctionSpecificationContext(this.context, this.state); + this.enterRule(localContext, 224, TrinoSqlParser.RULE_functionSpecification); + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 3310; + this.match(TrinoSqlParser.KW_FUNCTION); + this.state = 3311; + this.functionDeclaration(); + this.state = 3312; + this.returnsClause(); + this.state = 3316; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 435, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + { + { + this.state = 3313; + this.routineCharacteristic(); + } + } + } + this.state = 3318; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 435, this.context); + } + this.state = 3319; + this.controlStatement(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public functionDeclaration(): FunctionDeclarationContext { + let localContext = new FunctionDeclarationContext(this.context, this.state); + this.enterRule(localContext, 226, TrinoSqlParser.RULE_functionDeclaration); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3321; + this.functionNameCreate(); + this.state = 3322; + this.match(TrinoSqlParser.T__0); + this.state = 3331; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { + { + this.state = 3323; + this.parameterDeclaration(); + this.state = 3328; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3324; + this.match(TrinoSqlParser.T__2); + this.state = 3325; + this.parameterDeclaration(); + } + } + this.state = 3330; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + + this.state = 3333; + this.match(TrinoSqlParser.T__1); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public parameterDeclaration(): ParameterDeclarationContext { + let localContext = new ParameterDeclarationContext(this.context, this.state); + this.enterRule(localContext, 228, TrinoSqlParser.RULE_parameterDeclaration); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3336; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 438, this.context) ) { + case 1: + { + this.state = 3335; + this.identifier(); + } + break; + } + this.state = 3338; + this.type_(0); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public returnsClause(): ReturnsClauseContext { + let localContext = new ReturnsClauseContext(this.context, this.state); + this.enterRule(localContext, 230, TrinoSqlParser.RULE_returnsClause); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3340; + this.match(TrinoSqlParser.KW_RETURNS); + this.state = 3341; + this.type_(0); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public routineCharacteristic(): RoutineCharacteristicContext { + let localContext = new RoutineCharacteristicContext(this.context, this.state); + this.enterRule(localContext, 232, TrinoSqlParser.RULE_routineCharacteristic); + let _la: number; + try { + this.state = 3362; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_LANGUAGE: + localContext = new LanguageCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3343; + this.match(TrinoSqlParser.KW_LANGUAGE); + this.state = 3344; + this.identifier(); + } + break; + case TrinoSqlParser.KW_DETERMINISTIC: + case TrinoSqlParser.KW_NOT: + localContext = new DeterministicCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3346; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 182) { + { + this.state = 3345; + this.match(TrinoSqlParser.KW_NOT); + } + } + + this.state = 3348; + this.match(TrinoSqlParser.KW_DETERMINISTIC); + } + break; + case TrinoSqlParser.KW_RETURNS: + localContext = new ReturnsNullOnNullInputCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3349; + this.match(TrinoSqlParser.KW_RETURNS); + this.state = 3350; + this.match(TrinoSqlParser.KW_NULL); + this.state = 3351; + this.match(TrinoSqlParser.KW_ON); + this.state = 3352; + this.match(TrinoSqlParser.KW_NULL); + this.state = 3353; + this.match(TrinoSqlParser.KW_INPUT); + } + break; + case TrinoSqlParser.KW_CALLED: + localContext = new CalledOnNullInputCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3354; + this.match(TrinoSqlParser.KW_CALLED); + this.state = 3355; + this.match(TrinoSqlParser.KW_ON); + this.state = 3356; + this.match(TrinoSqlParser.KW_NULL); + this.state = 3357; + this.match(TrinoSqlParser.KW_INPUT); + } + break; + case TrinoSqlParser.KW_SECURITY: + localContext = new SecurityCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 3358; + this.match(TrinoSqlParser.KW_SECURITY); + this.state = 3359; + _la = this.tokenStream.LA(1); + if(!(_la === 72 || _la === 131)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + break; + case TrinoSqlParser.KW_COMMENT: + localContext = new CommentCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 6); + { + this.state = 3360; + this.match(TrinoSqlParser.KW_COMMENT); + this.state = 3361; + this.string_(); + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public controlStatement(): ControlStatementContext { + let localContext = new ControlStatementContext(this.context, this.state); + this.enterRule(localContext, 234, TrinoSqlParser.RULE_controlStatement); + let _la: number; + try { + let alternative: number; + this.state = 3463; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 452, this.context) ) { + case 1: + localContext = new ReturnStatementContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3364; + this.match(TrinoSqlParser.KW_RETURN); + this.state = 3365; + this.valueExpression(0); + } + break; + case 2: + localContext = new AssignmentStatementContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3366; + this.match(TrinoSqlParser.KW_SET); + this.state = 3367; + this.identifier(); + this.state = 3368; + this.match(TrinoSqlParser.EQ); + this.state = 3369; + this.expression(); + } + break; + case 3: + localContext = new SimpleCaseStatementContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3371; + this.match(TrinoSqlParser.KW_CASE); + this.state = 3372; + this.expression(); + this.state = 3374; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + do { + { + { + this.state = 3373; + this.caseStatementWhenClause(); + } + } + this.state = 3376; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } while (_la === 300); + this.state = 3379; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 84) { + { + this.state = 3378; + this.elseClause(); + } + } + + this.state = 3381; + this.match(TrinoSqlParser.KW_END); + this.state = 3382; + this.match(TrinoSqlParser.KW_CASE); + } + break; + case 4: + localContext = new SearchedCaseStatementContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3384; + this.match(TrinoSqlParser.KW_CASE); + this.state = 3386; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + do { + { + { + this.state = 3385; + this.caseStatementWhenClause(); + } + } + this.state = 3388; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } while (_la === 300); + this.state = 3391; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 84) { + { + this.state = 3390; + this.elseClause(); + } + } + + this.state = 3393; + this.match(TrinoSqlParser.KW_END); + this.state = 3394; + this.match(TrinoSqlParser.KW_CASE); + } + break; + case 5: + localContext = new IfStatementContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 3396; + this.match(TrinoSqlParser.KW_IF); + this.state = 3397; + this.expression(); + this.state = 3398; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3399; + this.sqlStatementList(); + this.state = 3403; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 86) { + { + { + this.state = 3400; + this.elseIfClause(); + } + } + this.state = 3405; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 3407; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 84) { + { + this.state = 3406; + this.elseClause(); + } + } + + this.state = 3409; + this.match(TrinoSqlParser.KW_END); + this.state = 3410; + this.match(TrinoSqlParser.KW_IF); + } + break; + case 6: + localContext = new IterateStatementContext(localContext); + this.enterOuterAlt(localContext, 6); + { + this.state = 3412; + this.match(TrinoSqlParser.KW_ITERATE); + this.state = 3413; + this.identifier(); + } + break; + case 7: + localContext = new LeaveStatementContext(localContext); + this.enterOuterAlt(localContext, 7); + { + this.state = 3414; + this.match(TrinoSqlParser.KW_LEAVE); + this.state = 3415; + this.identifier(); + } + break; + case 8: + localContext = new CompoundStatementContext(localContext); + this.enterOuterAlt(localContext, 8); + { + this.state = 3416; + this.match(TrinoSqlParser.KW_BEGIN); + this.state = 3422; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 447, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + { + { + this.state = 3417; + this.variableDeclaration(); + this.state = 3418; + this.match(TrinoSqlParser.SEMICOLON); + } + } + } + this.state = 3424; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 447, this.context); + } + this.state = 3426; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4286249823) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { + { + this.state = 3425; + this.sqlStatementList(); + } + } + + this.state = 3428; + this.match(TrinoSqlParser.KW_END); + } + break; + case 9: + localContext = new LoopStatementContext(localContext); + this.enterOuterAlt(localContext, 9); + { + this.state = 3432; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 449, this.context) ) { + case 1: + { + this.state = 3429; + (localContext as LoopStatementContext)._label = this.identifier(); + this.state = 3430; + this.match(TrinoSqlParser.T__9); + } + break; + } + this.state = 3434; + this.match(TrinoSqlParser.KW_LOOP); + this.state = 3435; + this.sqlStatementList(); + this.state = 3436; + this.match(TrinoSqlParser.KW_END); + this.state = 3437; + this.match(TrinoSqlParser.KW_LOOP); + } + break; + case 10: + localContext = new WhileStatementContext(localContext); + this.enterOuterAlt(localContext, 10); + { + this.state = 3442; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 450, this.context) ) { + case 1: + { + this.state = 3439; + (localContext as WhileStatementContext)._label = this.identifier(); + this.state = 3440; + this.match(TrinoSqlParser.T__9); + } + break; + } + this.state = 3444; + this.match(TrinoSqlParser.KW_WHILE); + this.state = 3445; + this.expression(); + this.state = 3446; + this.match(TrinoSqlParser.KW_DO); + this.state = 3447; + this.sqlStatementList(); + this.state = 3448; + this.match(TrinoSqlParser.KW_END); + this.state = 3449; + this.match(TrinoSqlParser.KW_WHILE); + } + break; + case 11: + localContext = new RepeatStatementContext(localContext); + this.enterOuterAlt(localContext, 11); + { + this.state = 3454; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 451, this.context) ) { + case 1: + { + this.state = 3451; + (localContext as RepeatStatementContext)._label = this.identifier(); + this.state = 3452; + this.match(TrinoSqlParser.T__9); + } + break; + } + this.state = 3456; + this.match(TrinoSqlParser.KW_REPEAT); + this.state = 3457; + this.sqlStatementList(); + this.state = 3458; + this.match(TrinoSqlParser.KW_UNTIL); + this.state = 3459; + this.expression(); + this.state = 3460; + this.match(TrinoSqlParser.KW_END); + this.state = 3461; + this.match(TrinoSqlParser.KW_REPEAT); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public caseStatementWhenClause(): CaseStatementWhenClauseContext { + let localContext = new CaseStatementWhenClauseContext(this.context, this.state); + this.enterRule(localContext, 236, TrinoSqlParser.RULE_caseStatementWhenClause); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3465; + this.match(TrinoSqlParser.KW_WHEN); + this.state = 3466; + this.expression(); + this.state = 3467; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3468; + this.sqlStatementList(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public elseIfClause(): ElseIfClauseContext { + let localContext = new ElseIfClauseContext(this.context, this.state); + this.enterRule(localContext, 238, TrinoSqlParser.RULE_elseIfClause); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3470; + this.match(TrinoSqlParser.KW_ELSEIF); + this.state = 3471; + this.expression(); + this.state = 3472; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3473; + this.sqlStatementList(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public elseClause(): ElseClauseContext { + let localContext = new ElseClauseContext(this.context, this.state); + this.enterRule(localContext, 240, TrinoSqlParser.RULE_elseClause); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3475; + this.match(TrinoSqlParser.KW_ELSE); + this.state = 3476; + this.sqlStatementList(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public variableDeclaration(): VariableDeclarationContext { + let localContext = new VariableDeclarationContext(this.context, this.state); + this.enterRule(localContext, 242, TrinoSqlParser.RULE_variableDeclaration); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3478; + this.match(TrinoSqlParser.KW_DECLARE); + this.state = 3479; + this.identifier(); + this.state = 3484; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3480; + this.match(TrinoSqlParser.T__2); + this.state = 3481; + this.identifier(); + } + } + this.state = 3486; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 3487; + this.type_(0); + this.state = 3490; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 70) { + { + this.state = 3488; + this.match(TrinoSqlParser.KW_DEFAULT); + this.state = 3489; + this.valueExpression(0); + } + } + + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public sqlStatementList(): SqlStatementListContext { + let localContext = new SqlStatementListContext(this.context, this.state); + this.enterRule(localContext, 244, TrinoSqlParser.RULE_sqlStatementList); + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 3495; + this.errorHandler.sync(this); + alternative = 1; + do { + switch (alternative) { + case 1: + { + { + this.state = 3492; + this.controlStatement(); + this.state = 3493; + this.match(TrinoSqlParser.SEMICOLON); + } + } + break; + default: + throw new antlr.NoViableAltException(this); + } + this.state = 3497; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 455, this.context); + } while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public privilege(): PrivilegeContext { + let localContext = new PrivilegeContext(this.context, this.state); + this.enterRule(localContext, 246, TrinoSqlParser.RULE_privilege); + try { + this.state = 3505; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 456, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3499; + this.match(TrinoSqlParser.KW_CREATE); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3500; + this.match(TrinoSqlParser.KW_SELECT); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3501; + this.match(TrinoSqlParser.KW_DELETE); + } + break; + case 4: + this.enterOuterAlt(localContext, 4); + { + this.state = 3502; + this.match(TrinoSqlParser.KW_INSERT); + } + break; + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 3503; + this.match(TrinoSqlParser.KW_UPDATE); + } + break; + case 6: + this.enterOuterAlt(localContext, 6); + { + this.state = 3504; + this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public entityKind(): EntityKindContext { + let localContext = new EntityKindContext(this.context, this.state); + this.enterRule(localContext, 248, TrinoSqlParser.RULE_entityKind); + try { + this.state = 3510; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 457, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3507; + this.match(TrinoSqlParser.KW_TABLE); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3508; + this.match(TrinoSqlParser.KW_SCHEMA); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3509; + this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public grantObject(): GrantObjectContext { + let localContext = new GrantObjectContext(this.context, this.state); + this.enterRule(localContext, 250, TrinoSqlParser.RULE_grantObject); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3513; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 458, this.context) ) { + case 1: + { + this.state = 3512; + this.entityKind(); + } + break; + } + this.state = 3515; + this.qualifiedName(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public tableOrViewName(): TableOrViewNameContext { + let localContext = new TableOrViewNameContext(this.context, this.state); + this.enterRule(localContext, 252, TrinoSqlParser.RULE_tableOrViewName); + try { + this.state = 3519; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 459, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3517; + this.tableRef(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3518; + this.viewRef(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public tableRef(): TableRefContext { + let localContext = new TableRefContext(this.context, this.state); + this.enterRule(localContext, 254, TrinoSqlParser.RULE_tableRef); + try { + this.state = 3532; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 460, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3521; + localContext._table = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3522; + localContext._schema = this.identifier(); + this.state = 3523; + this.match(TrinoSqlParser.T__3); + this.state = 3524; + localContext._table = this.identifier(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3526; + localContext._catalog = this.identifier(); + this.state = 3527; + this.match(TrinoSqlParser.T__3); + this.state = 3528; + localContext._schema = this.identifier(); + this.state = 3529; + this.match(TrinoSqlParser.T__3); + this.state = 3530; + localContext._table = this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public tableNameCreate(): TableNameCreateContext { + let localContext = new TableNameCreateContext(this.context, this.state); + this.enterRule(localContext, 256, TrinoSqlParser.RULE_tableNameCreate); + try { + this.state = 3545; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 461, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3534; + localContext._table = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3535; + localContext._schema = this.identifier(); + this.state = 3536; + this.match(TrinoSqlParser.T__3); + this.state = 3537; + localContext._table = this.identifier(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3539; + localContext._catalog = this.identifier(); + this.state = 3540; + this.match(TrinoSqlParser.T__3); + this.state = 3541; + localContext._schema = this.identifier(); + this.state = 3542; + this.match(TrinoSqlParser.T__3); + this.state = 3543; + localContext._table = this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public viewRef(): ViewRefContext { + let localContext = new ViewRefContext(this.context, this.state); + this.enterRule(localContext, 258, TrinoSqlParser.RULE_viewRef); + try { + this.state = 3558; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 462, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3547; + localContext._view = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3548; + localContext._schema = this.identifier(); + this.state = 3549; + this.match(TrinoSqlParser.T__3); + this.state = 3550; + localContext._view = this.identifier(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3552; + localContext._catalog = this.identifier(); + this.state = 3553; + this.match(TrinoSqlParser.T__3); + this.state = 3554; + localContext._schema = this.identifier(); + this.state = 3555; + this.match(TrinoSqlParser.T__3); + this.state = 3556; + localContext._view = this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public viewNameCreate(): ViewNameCreateContext { + let localContext = new ViewNameCreateContext(this.context, this.state); + this.enterRule(localContext, 260, TrinoSqlParser.RULE_viewNameCreate); + try { + this.state = 3571; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 463, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3560; + localContext._view = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3561; + localContext._schema = this.identifier(); + this.state = 3562; + this.match(TrinoSqlParser.T__3); + this.state = 3563; + localContext._view = this.identifier(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3565; + localContext._catalog = this.identifier(); + this.state = 3566; + this.match(TrinoSqlParser.T__3); + this.state = 3567; + localContext._schema = this.identifier(); + this.state = 3568; + this.match(TrinoSqlParser.T__3); + this.state = 3569; + localContext._view = this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public schemaRef(): SchemaRefContext { + let localContext = new SchemaRefContext(this.context, this.state); + this.enterRule(localContext, 262, TrinoSqlParser.RULE_schemaRef); + try { + this.state = 3578; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 464, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3573; + localContext._schema = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3574; + localContext._catalog = this.identifier(); + this.state = 3575; + this.match(TrinoSqlParser.T__3); + this.state = 3576; + localContext._schema = this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public schemaNameCreate(): SchemaNameCreateContext { + let localContext = new SchemaNameCreateContext(this.context, this.state); + this.enterRule(localContext, 264, TrinoSqlParser.RULE_schemaNameCreate); + try { + this.state = 3585; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 465, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3580; + localContext._schema = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3581; + localContext._catalog = this.identifier(); + this.state = 3582; + this.match(TrinoSqlParser.T__3); + this.state = 3583; + localContext._schema = this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public catalogRef(): CatalogRefContext { + let localContext = new CatalogRefContext(this.context, this.state); + this.enterRule(localContext, 266, TrinoSqlParser.RULE_catalogRef); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3587; + localContext._catalog = this.identifier(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public catalogNameCreate(): CatalogNameCreateContext { + let localContext = new CatalogNameCreateContext(this.context, this.state); + this.enterRule(localContext, 268, TrinoSqlParser.RULE_catalogNameCreate); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3589; + localContext._catalog = this.identifier(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public functionName(): FunctionNameContext { + let localContext = new FunctionNameContext(this.context, this.state); + this.enterRule(localContext, 270, TrinoSqlParser.RULE_functionName); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3591; + this.qualifiedName(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public functionNameCreate(): FunctionNameCreateContext { + let localContext = new FunctionNameCreateContext(this.context, this.state); + this.enterRule(localContext, 272, TrinoSqlParser.RULE_functionNameCreate); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3593; + this.qualifiedName(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public columnRef(): ColumnRefContext { + let localContext = new ColumnRefContext(this.context, this.state); + this.enterRule(localContext, 274, TrinoSqlParser.RULE_columnRef); + try { + this.state = 3597; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 466, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3595; + this.qualifiedName(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3596; + if (!(this.shouldMatchEmpty())) { + throw this.createFailedPredicateException("this.shouldMatchEmpty()"); + } + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public columnNameCreate(): ColumnNameCreateContext { + let localContext = new ColumnNameCreateContext(this.context, this.state); + this.enterRule(localContext, 276, TrinoSqlParser.RULE_columnNameCreate); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3599; + this.identifier(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public qualifiedName(): QualifiedNameContext { + let localContext = new QualifiedNameContext(this.context, this.state); + this.enterRule(localContext, 278, TrinoSqlParser.RULE_qualifiedName); + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 3601; + this.identifier(); + this.state = 3606; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 467, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + { + { + this.state = 3602; + this.match(TrinoSqlParser.T__3); + this.state = 3603; + this.identifier(); + } + } + } + this.state = 3608; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 467, this.context); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public queryPeriod(): QueryPeriodContext { + let localContext = new QueryPeriodContext(this.context, this.state); + this.enterRule(localContext, 280, TrinoSqlParser.RULE_queryPeriod); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3609; + this.match(TrinoSqlParser.KW_FOR); + this.state = 3610; + this.rangeType(); + this.state = 3611; + this.match(TrinoSqlParser.KW_AS); + this.state = 3612; + this.match(TrinoSqlParser.KW_OF); + this.state = 3613; + localContext._end = this.valueExpression(0); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public rangeType(): RangeTypeContext { + let localContext = new RangeTypeContext(this.context, this.state); + this.enterRule(localContext, 282, TrinoSqlParser.RULE_rangeType); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3615; + _la = this.tokenStream.LA(1); + if(!(_la === 268 || _la === 298)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public grantor(): GrantorContext { + let localContext = new GrantorContext(this.context, this.state); + this.enterRule(localContext, 284, TrinoSqlParser.RULE_grantor); + try { + this.state = 3620; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ABSENT: + case TrinoSqlParser.KW_ADD: + case TrinoSqlParser.KW_ADMIN: + case TrinoSqlParser.KW_AFTER: + case TrinoSqlParser.KW_ALL: + case TrinoSqlParser.KW_ANALYZE: + case TrinoSqlParser.KW_ANY: + case TrinoSqlParser.KW_ARRAY: + case TrinoSqlParser.KW_ASC: + case TrinoSqlParser.KW_AT: + case TrinoSqlParser.KW_AUTHORIZATION: + case TrinoSqlParser.KW_BEGIN: + case TrinoSqlParser.KW_BERNOULLI: + case TrinoSqlParser.KW_BOTH: + case TrinoSqlParser.KW_CALL: + case TrinoSqlParser.KW_CALLED: + case TrinoSqlParser.KW_CASCADE: + case TrinoSqlParser.KW_CATALOG: + case TrinoSqlParser.KW_CATALOGS: + case TrinoSqlParser.KW_COLUMN: + case TrinoSqlParser.KW_COLUMNS: + case TrinoSqlParser.KW_COMMENT: + case TrinoSqlParser.KW_COMMIT: + case TrinoSqlParser.KW_COMMITTED: + case TrinoSqlParser.KW_CONDITIONAL: + case TrinoSqlParser.KW_COUNT: + case TrinoSqlParser.KW_COPARTITION: + case TrinoSqlParser.KW_CURRENT: + case TrinoSqlParser.KW_DATA: + case TrinoSqlParser.KW_DATE: + case TrinoSqlParser.KW_DAY: + case TrinoSqlParser.KW_DECLARE: + case TrinoSqlParser.KW_DEFAULT: + case TrinoSqlParser.KW_DEFINE: + case TrinoSqlParser.KW_DEFINER: + case TrinoSqlParser.KW_DENY: + case TrinoSqlParser.KW_DESC: + case TrinoSqlParser.KW_DESCRIPTOR: + case TrinoSqlParser.KW_DETERMINISTIC: + case TrinoSqlParser.KW_DISTRIBUTED: + case TrinoSqlParser.KW_DO: + case TrinoSqlParser.KW_DOUBLE: + case TrinoSqlParser.KW_EMPTY: + case TrinoSqlParser.KW_ELSEIF: + case TrinoSqlParser.KW_ENCODING: + case TrinoSqlParser.KW_ERROR: + case TrinoSqlParser.KW_EXCLUDING: + case TrinoSqlParser.KW_EXPLAIN: + case TrinoSqlParser.KW_FETCH: + case TrinoSqlParser.KW_FILTER: + case TrinoSqlParser.KW_FINAL: + case TrinoSqlParser.KW_FIRST: + case TrinoSqlParser.KW_FOLLOWING: + case TrinoSqlParser.KW_FORMAT: + case TrinoSqlParser.KW_FUNCTION: + case TrinoSqlParser.KW_FUNCTIONS: + case TrinoSqlParser.KW_GRACE: + case TrinoSqlParser.KW_GRANT: + case TrinoSqlParser.KW_GRANTED: + case TrinoSqlParser.KW_GRANTS: + case TrinoSqlParser.KW_GRAPHVIZ: + case TrinoSqlParser.KW_GROUPS: + case TrinoSqlParser.KW_HOUR: + case TrinoSqlParser.KW_IF: + case TrinoSqlParser.KW_IGNORE: + case TrinoSqlParser.KW_IMMEDIATE: + case TrinoSqlParser.KW_INCLUDING: + case TrinoSqlParser.KW_INITIAL: + case TrinoSqlParser.KW_INPUT: + case TrinoSqlParser.KW_INTERVAL: + case TrinoSqlParser.KW_INVOKER: + case TrinoSqlParser.KW_IO: + case TrinoSqlParser.KW_ISOLATION: + case TrinoSqlParser.KW_ITERATE: + case TrinoSqlParser.KW_JSON: + case TrinoSqlParser.KW_KEEP: + case TrinoSqlParser.KW_KEY: + case TrinoSqlParser.KW_KEYS: + case TrinoSqlParser.KW_LANGUAGE: + case TrinoSqlParser.KW_LAST: + case TrinoSqlParser.KW_LATERAL: + case TrinoSqlParser.KW_LEADING: + case TrinoSqlParser.KW_LEAVE: + case TrinoSqlParser.KW_LEVEL: + case TrinoSqlParser.KW_LIMIT: + case TrinoSqlParser.KW_LOCAL: + case TrinoSqlParser.KW_LOGICAL: + case TrinoSqlParser.KW_LOOP: + case TrinoSqlParser.KW_MAP: + case TrinoSqlParser.KW_MATCH: + case TrinoSqlParser.KW_MATCHED: + case TrinoSqlParser.KW_MATCHES: + case TrinoSqlParser.KW_MATCH_RECOGNIZE: + case TrinoSqlParser.KW_MATERIALIZED: + case TrinoSqlParser.KW_MEASURES: + case TrinoSqlParser.KW_MERGE: + case TrinoSqlParser.KW_MINUTE: + case TrinoSqlParser.KW_MONTH: + case TrinoSqlParser.KW_NESTED: + case TrinoSqlParser.KW_NEXT: + case TrinoSqlParser.KW_NFC: + case TrinoSqlParser.KW_NFD: + case TrinoSqlParser.KW_NFKC: + case TrinoSqlParser.KW_NFKD: + case TrinoSqlParser.KW_NO: + case TrinoSqlParser.KW_NONE: + case TrinoSqlParser.KW_NULLIF: + case TrinoSqlParser.KW_NULLS: + case TrinoSqlParser.KW_OBJECT: + case TrinoSqlParser.KW_OF: + case TrinoSqlParser.KW_OFFSET: + case TrinoSqlParser.KW_OMIT: + case TrinoSqlParser.KW_ONE: + case TrinoSqlParser.KW_ONLY: + case TrinoSqlParser.KW_OPTION: + case TrinoSqlParser.KW_ORDINALITY: + case TrinoSqlParser.KW_OUTPUT: + case TrinoSqlParser.KW_OVER: + case TrinoSqlParser.KW_OVERFLOW: + case TrinoSqlParser.KW_PARTITION: + case TrinoSqlParser.KW_PARTITIONS: + case TrinoSqlParser.KW_PASSING: + case TrinoSqlParser.KW_PAST: + case TrinoSqlParser.KW_PATH: + case TrinoSqlParser.KW_PATTERN: + case TrinoSqlParser.KW_PER: + case TrinoSqlParser.KW_PERIOD: + case TrinoSqlParser.KW_PERMUTE: + case TrinoSqlParser.KW_PLAN: + case TrinoSqlParser.KW_POSITION: + case TrinoSqlParser.KW_PRECEDING: + case TrinoSqlParser.KW_PRECISION: + case TrinoSqlParser.KW_PRIVILEGES: + case TrinoSqlParser.KW_PROPERTIES: + case TrinoSqlParser.KW_PRUNE: + case TrinoSqlParser.KW_QUOTES: + case TrinoSqlParser.KW_RANGE: + case TrinoSqlParser.KW_READ: + case TrinoSqlParser.KW_REFRESH: + case TrinoSqlParser.KW_RENAME: + case TrinoSqlParser.KW_REPEAT: + case TrinoSqlParser.KW_REPEATABLE: + case TrinoSqlParser.KW_REPLACE: + case TrinoSqlParser.KW_RESET: + case TrinoSqlParser.KW_RESPECT: + case TrinoSqlParser.KW_RESTRICT: + case TrinoSqlParser.KW_RETURN: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_RETURNS: + case TrinoSqlParser.KW_REVOKE: + case TrinoSqlParser.KW_ROLE: + case TrinoSqlParser.KW_ROLES: + case TrinoSqlParser.KW_ROLLBACK: + case TrinoSqlParser.KW_ROW: + case TrinoSqlParser.KW_ROWS: + case TrinoSqlParser.KW_RUNNING: + case TrinoSqlParser.KW_SCALAR: + case TrinoSqlParser.KW_SCHEMA: + case TrinoSqlParser.KW_SCHEMAS: + case TrinoSqlParser.KW_SECOND: + case TrinoSqlParser.KW_SECURITY: + case TrinoSqlParser.KW_SEEK: + case TrinoSqlParser.KW_SERIALIZABLE: + case TrinoSqlParser.KW_SESSION: + case TrinoSqlParser.KW_SET: + case TrinoSqlParser.KW_SETS: + case TrinoSqlParser.KW_SHOW: + case TrinoSqlParser.KW_SOME: + case TrinoSqlParser.KW_START: + case TrinoSqlParser.KW_STATS: + case TrinoSqlParser.KW_SUBSET: + case TrinoSqlParser.KW_SUBSTRING: + case TrinoSqlParser.KW_SYSTEM: + case TrinoSqlParser.KW_TABLES: + case TrinoSqlParser.KW_TABLESAMPLE: + case TrinoSqlParser.KW_TEXT: + case TrinoSqlParser.KW_TEXT_STRING: + case TrinoSqlParser.KW_TIES: + case TrinoSqlParser.KW_TIME: + case TrinoSqlParser.KW_TIMESTAMP: + case TrinoSqlParser.KW_TO: + case TrinoSqlParser.KW_TRAILING: + case TrinoSqlParser.KW_TRANSACTION: + case TrinoSqlParser.KW_TRUNCATE: + case TrinoSqlParser.KW_TRY_CAST: + case TrinoSqlParser.KW_TYPE: + case TrinoSqlParser.KW_UNBOUNDED: + case TrinoSqlParser.KW_UNCOMMITTED: + case TrinoSqlParser.KW_UNCONDITIONAL: + case TrinoSqlParser.KW_UNIQUE: + case TrinoSqlParser.KW_UNKNOWN: + case TrinoSqlParser.KW_UNMATCHED: + case TrinoSqlParser.KW_UNTIL: + case TrinoSqlParser.KW_UPDATE: + case TrinoSqlParser.KW_USE: + case TrinoSqlParser.KW_USER: + case TrinoSqlParser.KW_UTF16: + case TrinoSqlParser.KW_UTF32: + case TrinoSqlParser.KW_UTF8: + case TrinoSqlParser.KW_VALIDATE: + case TrinoSqlParser.KW_VALUE: + case TrinoSqlParser.KW_VERBOSE: + case TrinoSqlParser.KW_VERSION: + case TrinoSqlParser.KW_VIEW: + case TrinoSqlParser.KW_WHILE: + case TrinoSqlParser.KW_WINDOW: + case TrinoSqlParser.KW_WITHIN: + case TrinoSqlParser.KW_WITHOUT: + case TrinoSqlParser.KW_WORK: + case TrinoSqlParser.KW_WRAPPER: + case TrinoSqlParser.KW_WRITE: + case TrinoSqlParser.KW_YEAR: + case TrinoSqlParser.KW_ZONE: + case TrinoSqlParser.IDENTIFIER: + case TrinoSqlParser.DIGIT_IDENTIFIER: + case TrinoSqlParser.QUOTED_IDENTIFIER: + case TrinoSqlParser.BACKQUOTED_IDENTIFIER: + localContext = new SpecifiedPrincipalContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3617; + this.principal(); + } + break; + case TrinoSqlParser.KW_CURRENT_USER: + localContext = new CurrentUserGrantorContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3618; + this.match(TrinoSqlParser.KW_CURRENT_USER); + } + break; + case TrinoSqlParser.KW_CURRENT_ROLE: + localContext = new CurrentRoleGrantorContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3619; + this.match(TrinoSqlParser.KW_CURRENT_ROLE); + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public principal(): PrincipalContext { + let localContext = new PrincipalContext(this.context, this.state); + this.enterRule(localContext, 286, TrinoSqlParser.RULE_principal); + try { + this.state = 3627; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 469, this.context) ) { + case 1: + localContext = new UnspecifiedPrincipalContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3622; + this.identifier(); + } + break; + case 2: + localContext = new UserPrincipalContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3623; + this.match(TrinoSqlParser.KW_USER); + this.state = 3624; + this.identifier(); + } + break; + case 3: + localContext = new RolePrincipalContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3625; + this.match(TrinoSqlParser.KW_ROLE); + this.state = 3626; + this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public roles(): RolesContext { + let localContext = new RolesContext(this.context, this.state); + this.enterRule(localContext, 288, TrinoSqlParser.RULE_roles); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3629; + this.identifier(); + this.state = 3634; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3630; + this.match(TrinoSqlParser.T__2); + this.state = 3631; + this.identifier(); + } + } + this.state = 3636; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public privilegeOrRole(): PrivilegeOrRoleContext { + let localContext = new PrivilegeOrRoleContext(this.context, this.state); + this.enterRule(localContext, 290, TrinoSqlParser.RULE_privilegeOrRole); + try { + this.state = 3644; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 471, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3637; + this.match(TrinoSqlParser.KW_CREATE); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3638; + this.match(TrinoSqlParser.KW_SELECT); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3639; + this.match(TrinoSqlParser.KW_DELETE); + } + break; + case 4: + this.enterOuterAlt(localContext, 4); + { + this.state = 3640; + this.match(TrinoSqlParser.KW_INSERT); + } + break; + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 3641; + this.match(TrinoSqlParser.KW_UPDATE); + } + break; + case 6: + this.enterOuterAlt(localContext, 6); + { + this.state = 3642; + this.match(TrinoSqlParser.KW_EXECUTE); + } + break; + case 7: + this.enterOuterAlt(localContext, 7); + { + this.state = 3643; + this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public identifier(): IdentifierContext { + let localContext = new IdentifierContext(this.context, this.state); + this.enterRule(localContext, 292, TrinoSqlParser.RULE_identifier); + try { + this.state = 3651; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.IDENTIFIER: + localContext = new UnquotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3646; + this.match(TrinoSqlParser.IDENTIFIER); + } + break; + case TrinoSqlParser.QUOTED_IDENTIFIER: + localContext = new QuotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3647; + this.match(TrinoSqlParser.QUOTED_IDENTIFIER); + } + break; + case TrinoSqlParser.KW_ABSENT: + case TrinoSqlParser.KW_ADD: + case TrinoSqlParser.KW_ADMIN: + case TrinoSqlParser.KW_AFTER: + case TrinoSqlParser.KW_ALL: + case TrinoSqlParser.KW_ANALYZE: + case TrinoSqlParser.KW_ANY: + case TrinoSqlParser.KW_ARRAY: + case TrinoSqlParser.KW_ASC: + case TrinoSqlParser.KW_AT: + case TrinoSqlParser.KW_AUTHORIZATION: + case TrinoSqlParser.KW_BEGIN: + case TrinoSqlParser.KW_BERNOULLI: + case TrinoSqlParser.KW_BOTH: + case TrinoSqlParser.KW_CALL: + case TrinoSqlParser.KW_CALLED: + case TrinoSqlParser.KW_CASCADE: + case TrinoSqlParser.KW_CATALOG: + case TrinoSqlParser.KW_CATALOGS: + case TrinoSqlParser.KW_COLUMN: + case TrinoSqlParser.KW_COLUMNS: + case TrinoSqlParser.KW_COMMENT: + case TrinoSqlParser.KW_COMMIT: + case TrinoSqlParser.KW_COMMITTED: + case TrinoSqlParser.KW_CONDITIONAL: + case TrinoSqlParser.KW_COUNT: + case TrinoSqlParser.KW_COPARTITION: + case TrinoSqlParser.KW_CURRENT: + case TrinoSqlParser.KW_DATA: + case TrinoSqlParser.KW_DATE: + case TrinoSqlParser.KW_DAY: + case TrinoSqlParser.KW_DECLARE: + case TrinoSqlParser.KW_DEFAULT: + case TrinoSqlParser.KW_DEFINE: + case TrinoSqlParser.KW_DEFINER: + case TrinoSqlParser.KW_DENY: + case TrinoSqlParser.KW_DESC: + case TrinoSqlParser.KW_DESCRIPTOR: + case TrinoSqlParser.KW_DETERMINISTIC: + case TrinoSqlParser.KW_DISTRIBUTED: + case TrinoSqlParser.KW_DO: + case TrinoSqlParser.KW_DOUBLE: + case TrinoSqlParser.KW_EMPTY: + case TrinoSqlParser.KW_ELSEIF: + case TrinoSqlParser.KW_ENCODING: + case TrinoSqlParser.KW_ERROR: + case TrinoSqlParser.KW_EXCLUDING: + case TrinoSqlParser.KW_EXPLAIN: + case TrinoSqlParser.KW_FETCH: + case TrinoSqlParser.KW_FILTER: + case TrinoSqlParser.KW_FINAL: + case TrinoSqlParser.KW_FIRST: + case TrinoSqlParser.KW_FOLLOWING: + case TrinoSqlParser.KW_FORMAT: + case TrinoSqlParser.KW_FUNCTION: + case TrinoSqlParser.KW_FUNCTIONS: + case TrinoSqlParser.KW_GRACE: + case TrinoSqlParser.KW_GRANT: + case TrinoSqlParser.KW_GRANTED: + case TrinoSqlParser.KW_GRANTS: + case TrinoSqlParser.KW_GRAPHVIZ: + case TrinoSqlParser.KW_GROUPS: + case TrinoSqlParser.KW_HOUR: + case TrinoSqlParser.KW_IF: + case TrinoSqlParser.KW_IGNORE: + case TrinoSqlParser.KW_IMMEDIATE: + case TrinoSqlParser.KW_INCLUDING: + case TrinoSqlParser.KW_INITIAL: + case TrinoSqlParser.KW_INPUT: + case TrinoSqlParser.KW_INTERVAL: + case TrinoSqlParser.KW_INVOKER: + case TrinoSqlParser.KW_IO: + case TrinoSqlParser.KW_ISOLATION: + case TrinoSqlParser.KW_ITERATE: + case TrinoSqlParser.KW_JSON: + case TrinoSqlParser.KW_KEEP: + case TrinoSqlParser.KW_KEY: + case TrinoSqlParser.KW_KEYS: + case TrinoSqlParser.KW_LANGUAGE: + case TrinoSqlParser.KW_LAST: + case TrinoSqlParser.KW_LATERAL: + case TrinoSqlParser.KW_LEADING: + case TrinoSqlParser.KW_LEAVE: + case TrinoSqlParser.KW_LEVEL: + case TrinoSqlParser.KW_LIMIT: + case TrinoSqlParser.KW_LOCAL: + case TrinoSqlParser.KW_LOGICAL: + case TrinoSqlParser.KW_LOOP: + case TrinoSqlParser.KW_MAP: + case TrinoSqlParser.KW_MATCH: + case TrinoSqlParser.KW_MATCHED: + case TrinoSqlParser.KW_MATCHES: + case TrinoSqlParser.KW_MATCH_RECOGNIZE: + case TrinoSqlParser.KW_MATERIALIZED: + case TrinoSqlParser.KW_MEASURES: + case TrinoSqlParser.KW_MERGE: + case TrinoSqlParser.KW_MINUTE: + case TrinoSqlParser.KW_MONTH: + case TrinoSqlParser.KW_NESTED: + case TrinoSqlParser.KW_NEXT: + case TrinoSqlParser.KW_NFC: + case TrinoSqlParser.KW_NFD: + case TrinoSqlParser.KW_NFKC: + case TrinoSqlParser.KW_NFKD: + case TrinoSqlParser.KW_NO: + case TrinoSqlParser.KW_NONE: + case TrinoSqlParser.KW_NULLIF: + case TrinoSqlParser.KW_NULLS: + case TrinoSqlParser.KW_OBJECT: + case TrinoSqlParser.KW_OF: + case TrinoSqlParser.KW_OFFSET: + case TrinoSqlParser.KW_OMIT: + case TrinoSqlParser.KW_ONE: + case TrinoSqlParser.KW_ONLY: + case TrinoSqlParser.KW_OPTION: + case TrinoSqlParser.KW_ORDINALITY: + case TrinoSqlParser.KW_OUTPUT: + case TrinoSqlParser.KW_OVER: + case TrinoSqlParser.KW_OVERFLOW: + case TrinoSqlParser.KW_PARTITION: + case TrinoSqlParser.KW_PARTITIONS: + case TrinoSqlParser.KW_PASSING: + case TrinoSqlParser.KW_PAST: + case TrinoSqlParser.KW_PATH: + case TrinoSqlParser.KW_PATTERN: + case TrinoSqlParser.KW_PER: + case TrinoSqlParser.KW_PERIOD: + case TrinoSqlParser.KW_PERMUTE: + case TrinoSqlParser.KW_PLAN: + case TrinoSqlParser.KW_POSITION: + case TrinoSqlParser.KW_PRECEDING: + case TrinoSqlParser.KW_PRECISION: + case TrinoSqlParser.KW_PRIVILEGES: + case TrinoSqlParser.KW_PROPERTIES: + case TrinoSqlParser.KW_PRUNE: + case TrinoSqlParser.KW_QUOTES: + case TrinoSqlParser.KW_RANGE: + case TrinoSqlParser.KW_READ: + case TrinoSqlParser.KW_REFRESH: + case TrinoSqlParser.KW_RENAME: + case TrinoSqlParser.KW_REPEAT: + case TrinoSqlParser.KW_REPEATABLE: + case TrinoSqlParser.KW_REPLACE: + case TrinoSqlParser.KW_RESET: + case TrinoSqlParser.KW_RESPECT: + case TrinoSqlParser.KW_RESTRICT: + case TrinoSqlParser.KW_RETURN: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_RETURNS: + case TrinoSqlParser.KW_REVOKE: + case TrinoSqlParser.KW_ROLE: + case TrinoSqlParser.KW_ROLES: + case TrinoSqlParser.KW_ROLLBACK: + case TrinoSqlParser.KW_ROW: + case TrinoSqlParser.KW_ROWS: + case TrinoSqlParser.KW_RUNNING: + case TrinoSqlParser.KW_SCALAR: + case TrinoSqlParser.KW_SCHEMA: + case TrinoSqlParser.KW_SCHEMAS: + case TrinoSqlParser.KW_SECOND: + case TrinoSqlParser.KW_SECURITY: + case TrinoSqlParser.KW_SEEK: + case TrinoSqlParser.KW_SERIALIZABLE: + case TrinoSqlParser.KW_SESSION: + case TrinoSqlParser.KW_SET: + case TrinoSqlParser.KW_SETS: + case TrinoSqlParser.KW_SHOW: + case TrinoSqlParser.KW_SOME: + case TrinoSqlParser.KW_START: + case TrinoSqlParser.KW_STATS: + case TrinoSqlParser.KW_SUBSET: + case TrinoSqlParser.KW_SUBSTRING: + case TrinoSqlParser.KW_SYSTEM: + case TrinoSqlParser.KW_TABLES: + case TrinoSqlParser.KW_TABLESAMPLE: + case TrinoSqlParser.KW_TEXT: + case TrinoSqlParser.KW_TEXT_STRING: + case TrinoSqlParser.KW_TIES: + case TrinoSqlParser.KW_TIME: + case TrinoSqlParser.KW_TIMESTAMP: + case TrinoSqlParser.KW_TO: + case TrinoSqlParser.KW_TRAILING: + case TrinoSqlParser.KW_TRANSACTION: + case TrinoSqlParser.KW_TRUNCATE: + case TrinoSqlParser.KW_TRY_CAST: + case TrinoSqlParser.KW_TYPE: + case TrinoSqlParser.KW_UNBOUNDED: + case TrinoSqlParser.KW_UNCOMMITTED: + case TrinoSqlParser.KW_UNCONDITIONAL: + case TrinoSqlParser.KW_UNIQUE: + case TrinoSqlParser.KW_UNKNOWN: + case TrinoSqlParser.KW_UNMATCHED: + case TrinoSqlParser.KW_UNTIL: + case TrinoSqlParser.KW_UPDATE: + case TrinoSqlParser.KW_USE: + case TrinoSqlParser.KW_USER: + case TrinoSqlParser.KW_UTF16: + case TrinoSqlParser.KW_UTF32: + case TrinoSqlParser.KW_UTF8: + case TrinoSqlParser.KW_VALIDATE: + case TrinoSqlParser.KW_VALUE: + case TrinoSqlParser.KW_VERBOSE: + case TrinoSqlParser.KW_VERSION: + case TrinoSqlParser.KW_VIEW: + case TrinoSqlParser.KW_WHILE: + case TrinoSqlParser.KW_WINDOW: + case TrinoSqlParser.KW_WITHIN: + case TrinoSqlParser.KW_WITHOUT: + case TrinoSqlParser.KW_WORK: + case TrinoSqlParser.KW_WRAPPER: + case TrinoSqlParser.KW_WRITE: + case TrinoSqlParser.KW_YEAR: + case TrinoSqlParser.KW_ZONE: + localContext = new UnquotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3648; + this.nonReserved(); + } + break; + case TrinoSqlParser.BACKQUOTED_IDENTIFIER: + localContext = new BackQuotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3649; + this.match(TrinoSqlParser.BACKQUOTED_IDENTIFIER); + } + break; + case TrinoSqlParser.DIGIT_IDENTIFIER: + localContext = new DigitIdentifierContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 3650; + this.match(TrinoSqlParser.DIGIT_IDENTIFIER); + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public number_(): NumberContext { + let localContext = new NumberContext(this.context, this.state); + this.enterRule(localContext, 294, TrinoSqlParser.RULE_number); + let _la: number; + try { + this.state = 3665; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 476, this.context) ) { + case 1: + localContext = new DecimalLiteralContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3654; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 319) { + { + this.state = 3653; + this.match(TrinoSqlParser.MINUS); + } + } + + this.state = 3656; + this.match(TrinoSqlParser.DECIMAL_VALUE); + } + break; + case 2: + localContext = new DoubleLiteralContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3658; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 319) { + { + this.state = 3657; + this.match(TrinoSqlParser.MINUS); + } + } + + this.state = 3660; + this.match(TrinoSqlParser.DOUBLE_VALUE); + } + break; + case 3: + localContext = new IntegerLiteralContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3662; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 319) { + { + this.state = 3661; + this.match(TrinoSqlParser.MINUS); + } + } + + this.state = 3664; + this.match(TrinoSqlParser.INTEGER_VALUE); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public authorizationUser(): AuthorizationUserContext { + let localContext = new AuthorizationUserContext(this.context, this.state); + this.enterRule(localContext, 296, TrinoSqlParser.RULE_authorizationUser); + try { + this.state = 3669; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ABSENT: + case TrinoSqlParser.KW_ADD: + case TrinoSqlParser.KW_ADMIN: + case TrinoSqlParser.KW_AFTER: + case TrinoSqlParser.KW_ALL: + case TrinoSqlParser.KW_ANALYZE: + case TrinoSqlParser.KW_ANY: + case TrinoSqlParser.KW_ARRAY: + case TrinoSqlParser.KW_ASC: + case TrinoSqlParser.KW_AT: + case TrinoSqlParser.KW_AUTHORIZATION: + case TrinoSqlParser.KW_BEGIN: + case TrinoSqlParser.KW_BERNOULLI: + case TrinoSqlParser.KW_BOTH: + case TrinoSqlParser.KW_CALL: + case TrinoSqlParser.KW_CALLED: + case TrinoSqlParser.KW_CASCADE: + case TrinoSqlParser.KW_CATALOG: + case TrinoSqlParser.KW_CATALOGS: + case TrinoSqlParser.KW_COLUMN: + case TrinoSqlParser.KW_COLUMNS: + case TrinoSqlParser.KW_COMMENT: + case TrinoSqlParser.KW_COMMIT: + case TrinoSqlParser.KW_COMMITTED: + case TrinoSqlParser.KW_CONDITIONAL: + case TrinoSqlParser.KW_COUNT: + case TrinoSqlParser.KW_COPARTITION: + case TrinoSqlParser.KW_CURRENT: + case TrinoSqlParser.KW_DATA: + case TrinoSqlParser.KW_DATE: + case TrinoSqlParser.KW_DAY: + case TrinoSqlParser.KW_DECLARE: + case TrinoSqlParser.KW_DEFAULT: + case TrinoSqlParser.KW_DEFINE: + case TrinoSqlParser.KW_DEFINER: + case TrinoSqlParser.KW_DENY: + case TrinoSqlParser.KW_DESC: + case TrinoSqlParser.KW_DESCRIPTOR: + case TrinoSqlParser.KW_DETERMINISTIC: + case TrinoSqlParser.KW_DISTRIBUTED: + case TrinoSqlParser.KW_DO: + case TrinoSqlParser.KW_DOUBLE: + case TrinoSqlParser.KW_EMPTY: + case TrinoSqlParser.KW_ELSEIF: + case TrinoSqlParser.KW_ENCODING: + case TrinoSqlParser.KW_ERROR: + case TrinoSqlParser.KW_EXCLUDING: + case TrinoSqlParser.KW_EXPLAIN: + case TrinoSqlParser.KW_FETCH: + case TrinoSqlParser.KW_FILTER: + case TrinoSqlParser.KW_FINAL: + case TrinoSqlParser.KW_FIRST: + case TrinoSqlParser.KW_FOLLOWING: + case TrinoSqlParser.KW_FORMAT: + case TrinoSqlParser.KW_FUNCTION: + case TrinoSqlParser.KW_FUNCTIONS: + case TrinoSqlParser.KW_GRACE: + case TrinoSqlParser.KW_GRANT: + case TrinoSqlParser.KW_GRANTED: + case TrinoSqlParser.KW_GRANTS: + case TrinoSqlParser.KW_GRAPHVIZ: + case TrinoSqlParser.KW_GROUPS: + case TrinoSqlParser.KW_HOUR: + case TrinoSqlParser.KW_IF: + case TrinoSqlParser.KW_IGNORE: + case TrinoSqlParser.KW_IMMEDIATE: + case TrinoSqlParser.KW_INCLUDING: + case TrinoSqlParser.KW_INITIAL: + case TrinoSqlParser.KW_INPUT: + case TrinoSqlParser.KW_INTERVAL: + case TrinoSqlParser.KW_INVOKER: + case TrinoSqlParser.KW_IO: + case TrinoSqlParser.KW_ISOLATION: + case TrinoSqlParser.KW_ITERATE: + case TrinoSqlParser.KW_JSON: + case TrinoSqlParser.KW_KEEP: + case TrinoSqlParser.KW_KEY: + case TrinoSqlParser.KW_KEYS: + case TrinoSqlParser.KW_LANGUAGE: + case TrinoSqlParser.KW_LAST: + case TrinoSqlParser.KW_LATERAL: + case TrinoSqlParser.KW_LEADING: + case TrinoSqlParser.KW_LEAVE: + case TrinoSqlParser.KW_LEVEL: + case TrinoSqlParser.KW_LIMIT: + case TrinoSqlParser.KW_LOCAL: + case TrinoSqlParser.KW_LOGICAL: + case TrinoSqlParser.KW_LOOP: + case TrinoSqlParser.KW_MAP: + case TrinoSqlParser.KW_MATCH: + case TrinoSqlParser.KW_MATCHED: + case TrinoSqlParser.KW_MATCHES: + case TrinoSqlParser.KW_MATCH_RECOGNIZE: + case TrinoSqlParser.KW_MATERIALIZED: + case TrinoSqlParser.KW_MEASURES: + case TrinoSqlParser.KW_MERGE: + case TrinoSqlParser.KW_MINUTE: + case TrinoSqlParser.KW_MONTH: + case TrinoSqlParser.KW_NESTED: + case TrinoSqlParser.KW_NEXT: + case TrinoSqlParser.KW_NFC: + case TrinoSqlParser.KW_NFD: + case TrinoSqlParser.KW_NFKC: + case TrinoSqlParser.KW_NFKD: + case TrinoSqlParser.KW_NO: + case TrinoSqlParser.KW_NONE: + case TrinoSqlParser.KW_NULLIF: + case TrinoSqlParser.KW_NULLS: + case TrinoSqlParser.KW_OBJECT: + case TrinoSqlParser.KW_OF: + case TrinoSqlParser.KW_OFFSET: + case TrinoSqlParser.KW_OMIT: + case TrinoSqlParser.KW_ONE: + case TrinoSqlParser.KW_ONLY: + case TrinoSqlParser.KW_OPTION: + case TrinoSqlParser.KW_ORDINALITY: + case TrinoSqlParser.KW_OUTPUT: + case TrinoSqlParser.KW_OVER: + case TrinoSqlParser.KW_OVERFLOW: + case TrinoSqlParser.KW_PARTITION: + case TrinoSqlParser.KW_PARTITIONS: + case TrinoSqlParser.KW_PASSING: + case TrinoSqlParser.KW_PAST: + case TrinoSqlParser.KW_PATH: + case TrinoSqlParser.KW_PATTERN: + case TrinoSqlParser.KW_PER: + case TrinoSqlParser.KW_PERIOD: + case TrinoSqlParser.KW_PERMUTE: + case TrinoSqlParser.KW_PLAN: + case TrinoSqlParser.KW_POSITION: + case TrinoSqlParser.KW_PRECEDING: + case TrinoSqlParser.KW_PRECISION: + case TrinoSqlParser.KW_PRIVILEGES: + case TrinoSqlParser.KW_PROPERTIES: + case TrinoSqlParser.KW_PRUNE: + case TrinoSqlParser.KW_QUOTES: + case TrinoSqlParser.KW_RANGE: + case TrinoSqlParser.KW_READ: + case TrinoSqlParser.KW_REFRESH: + case TrinoSqlParser.KW_RENAME: + case TrinoSqlParser.KW_REPEAT: + case TrinoSqlParser.KW_REPEATABLE: + case TrinoSqlParser.KW_REPLACE: + case TrinoSqlParser.KW_RESET: + case TrinoSqlParser.KW_RESPECT: + case TrinoSqlParser.KW_RESTRICT: + case TrinoSqlParser.KW_RETURN: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_RETURNS: + case TrinoSqlParser.KW_REVOKE: + case TrinoSqlParser.KW_ROLE: + case TrinoSqlParser.KW_ROLES: + case TrinoSqlParser.KW_ROLLBACK: + case TrinoSqlParser.KW_ROW: + case TrinoSqlParser.KW_ROWS: + case TrinoSqlParser.KW_RUNNING: + case TrinoSqlParser.KW_SCALAR: + case TrinoSqlParser.KW_SCHEMA: + case TrinoSqlParser.KW_SCHEMAS: + case TrinoSqlParser.KW_SECOND: + case TrinoSqlParser.KW_SECURITY: + case TrinoSqlParser.KW_SEEK: + case TrinoSqlParser.KW_SERIALIZABLE: + case TrinoSqlParser.KW_SESSION: + case TrinoSqlParser.KW_SET: + case TrinoSqlParser.KW_SETS: + case TrinoSqlParser.KW_SHOW: + case TrinoSqlParser.KW_SOME: + case TrinoSqlParser.KW_START: + case TrinoSqlParser.KW_STATS: + case TrinoSqlParser.KW_SUBSET: + case TrinoSqlParser.KW_SUBSTRING: + case TrinoSqlParser.KW_SYSTEM: + case TrinoSqlParser.KW_TABLES: + case TrinoSqlParser.KW_TABLESAMPLE: + case TrinoSqlParser.KW_TEXT: + case TrinoSqlParser.KW_TEXT_STRING: + case TrinoSqlParser.KW_TIES: + case TrinoSqlParser.KW_TIME: + case TrinoSqlParser.KW_TIMESTAMP: + case TrinoSqlParser.KW_TO: + case TrinoSqlParser.KW_TRAILING: + case TrinoSqlParser.KW_TRANSACTION: + case TrinoSqlParser.KW_TRUNCATE: + case TrinoSqlParser.KW_TRY_CAST: + case TrinoSqlParser.KW_TYPE: + case TrinoSqlParser.KW_UNBOUNDED: + case TrinoSqlParser.KW_UNCOMMITTED: + case TrinoSqlParser.KW_UNCONDITIONAL: + case TrinoSqlParser.KW_UNIQUE: + case TrinoSqlParser.KW_UNKNOWN: + case TrinoSqlParser.KW_UNMATCHED: + case TrinoSqlParser.KW_UNTIL: + case TrinoSqlParser.KW_UPDATE: + case TrinoSqlParser.KW_USE: + case TrinoSqlParser.KW_USER: + case TrinoSqlParser.KW_UTF16: + case TrinoSqlParser.KW_UTF32: + case TrinoSqlParser.KW_UTF8: + case TrinoSqlParser.KW_VALIDATE: + case TrinoSqlParser.KW_VALUE: + case TrinoSqlParser.KW_VERBOSE: + case TrinoSqlParser.KW_VERSION: + case TrinoSqlParser.KW_VIEW: + case TrinoSqlParser.KW_WHILE: + case TrinoSqlParser.KW_WINDOW: + case TrinoSqlParser.KW_WITHIN: + case TrinoSqlParser.KW_WITHOUT: + case TrinoSqlParser.KW_WORK: + case TrinoSqlParser.KW_WRAPPER: + case TrinoSqlParser.KW_WRITE: + case TrinoSqlParser.KW_YEAR: + case TrinoSqlParser.KW_ZONE: + case TrinoSqlParser.IDENTIFIER: + case TrinoSqlParser.DIGIT_IDENTIFIER: + case TrinoSqlParser.QUOTED_IDENTIFIER: + case TrinoSqlParser.BACKQUOTED_IDENTIFIER: + localContext = new IdentifierUserContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3667; + this.identifier(); + } + break; + case TrinoSqlParser.STRING: + case TrinoSqlParser.UNICODE_STRING: + localContext = new StringUserContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3668; + this.string_(); + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public nonReserved(): NonReservedContext { + let localContext = new NonReservedContext(this.context, this.state); + this.enterRule(localContext, 298, TrinoSqlParser.RULE_nonReserved); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3671; + _la = this.tokenStream.LA(1); + if(!(((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0))) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + + public override sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean { + switch (ruleIndex) { + case 23: + return this.queryTerm_sempred(localContext as QueryTermContext, predIndex); + case 36: + return this.relation_sempred(localContext as RelationContext, predIndex); + case 69: + return this.booleanExpression_sempred(localContext as BooleanExpressionContext, predIndex); + case 71: + return this.valueExpression_sempred(localContext as ValueExpressionContext, predIndex); + case 72: + return this.primaryExpression_sempred(localContext as PrimaryExpressionContext, predIndex); + case 92: + return this.type_sempred(localContext as TypeContext, predIndex); + case 102: + return this.rowPattern_sempred(localContext as RowPatternContext, predIndex); + case 137: + return this.columnRef_sempred(localContext as ColumnRefContext, predIndex); + } + return true; + } + private queryTerm_sempred(localContext: QueryTermContext | null, predIndex: number): boolean { + switch (predIndex) { + case 0: + return this.precpred(this.context, 2); + case 1: + return this.precpred(this.context, 1); + } + return true; + } + private relation_sempred(localContext: RelationContext | null, predIndex: number): boolean { + switch (predIndex) { + case 2: + return this.precpred(this.context, 2); + } + return true; + } + private booleanExpression_sempred(localContext: BooleanExpressionContext | null, predIndex: number): boolean { + switch (predIndex) { + case 3: + return this.precpred(this.context, 2); + case 4: + return this.precpred(this.context, 1); + } + return true; + } + private valueExpression_sempred(localContext: ValueExpressionContext | null, predIndex: number): boolean { + switch (predIndex) { + case 5: + return this.precpred(this.context, 3); + case 6: + return this.precpred(this.context, 2); + case 7: + return this.precpred(this.context, 1); + case 8: + return this.precpred(this.context, 5); + } + return true; + } + private primaryExpression_sempred(localContext: PrimaryExpressionContext | null, predIndex: number): boolean { + switch (predIndex) { + case 9: + return this.precpred(this.context, 24); + case 10: + return this.precpred(this.context, 22); + } + return true; + } + private type_sempred(localContext: TypeContext | null, predIndex: number): boolean { + switch (predIndex) { + case 11: + return this.precpred(this.context, 2); + } + return true; + } + private rowPattern_sempred(localContext: RowPatternContext | null, predIndex: number): boolean { + switch (predIndex) { + case 12: + return this.precpred(this.context, 2); + case 13: + return this.precpred(this.context, 1); + } + return true; + } + private columnRef_sempred(localContext: ColumnRefContext | null, predIndex: number): boolean { + switch (predIndex) { + case 14: + return this.shouldMatchEmpty(); + } + return true; + } + + public static readonly _serializedATN: number[] = [ + 4,1,340,3674,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,1,0,5,0,302,8,0,10,0,12,0,305,9,0,1,0,1, + 0,1,1,1,1,1,2,1,2,3,2,313,8,2,1,3,1,3,3,3,317,8,3,1,4,1,4,3,4,321, + 8,4,1,5,1,5,3,5,325,8,5,1,6,1,6,3,6,329,8,6,1,7,1,7,1,7,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,3,8,342,8,8,1,8,1,8,1,8,1,8,1,8,3,8,349, + 8,8,1,8,1,8,3,8,353,8,8,1,8,1,8,3,8,357,8,8,1,8,1,8,1,8,1,8,3,8, + 363,8,8,1,8,1,8,3,8,367,8,8,1,8,1,8,1,8,1,8,1,8,3,8,374,8,8,1,8, + 1,8,1,8,3,8,379,8,8,1,8,1,8,3,8,383,8,8,1,8,1,8,1,8,1,8,3,8,389, + 8,8,1,8,1,8,3,8,393,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,412,8,8,1,8,1,8,1,8,1,8,3,8,418, + 8,8,1,8,1,8,3,8,422,8,8,1,8,1,8,3,8,426,8,8,1,8,1,8,3,8,430,8,8, + 1,8,1,8,1,8,1,8,1,8,1,8,3,8,438,8,8,1,8,1,8,3,8,442,8,8,1,8,3,8, + 445,8,8,1,8,1,8,1,8,3,8,450,8,8,1,8,1,8,1,8,1,8,3,8,456,8,8,1,8, + 1,8,1,8,1,8,1,8,5,8,463,8,8,10,8,12,8,466,9,8,1,8,1,8,1,8,3,8,471, + 8,8,1,8,1,8,3,8,475,8,8,1,8,1,8,1,8,1,8,3,8,481,8,8,1,8,1,8,1,8, + 1,8,1,8,3,8,488,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,497,8,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,509,8,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,3,8,518,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,527,8,8, + 1,8,1,8,1,8,1,8,3,8,533,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 3,8,544,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,552,8,8,1,8,1,8,1,8,1,8, + 1,8,1,8,3,8,560,8,8,1,8,1,8,1,8,1,8,1,8,3,8,567,8,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,3,8,577,8,8,1,8,1,8,1,8,1,8,1,8,3,8,584,8,8, + 1,8,1,8,1,8,1,8,1,8,1,8,3,8,592,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,3,8,607,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,640,8,8,10,8,12,8,643,9,8,3, + 8,645,8,8,1,8,3,8,648,8,8,1,8,1,8,3,8,652,8,8,1,8,1,8,1,8,1,8,3, + 8,658,8,8,1,8,1,8,1,8,3,8,663,8,8,1,8,1,8,1,8,1,8,1,8,3,8,670,8, + 8,1,8,1,8,1,8,1,8,3,8,676,8,8,1,8,1,8,3,8,680,8,8,1,8,1,8,3,8,684, + 8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,692,8,8,1,8,1,8,1,8,1,8,3,8,698, + 8,8,1,8,1,8,3,8,702,8,8,1,8,1,8,3,8,706,8,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,720,8,8,1,8,1,8,1,8,1,8,1,8,1,8, + 3,8,728,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,3,8,747,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,770,8,8,10,8, + 12,8,773,9,8,3,8,775,8,8,1,8,1,8,1,8,1,8,1,8,3,8,782,8,8,1,8,1,8, + 1,8,1,8,1,8,3,8,789,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,798,8,8, + 1,8,1,8,3,8,802,8,8,1,8,1,8,1,8,1,8,1,8,3,8,809,8,8,1,8,1,8,1,8, + 1,8,5,8,815,8,8,10,8,12,8,818,9,8,1,8,1,8,1,8,1,8,5,8,824,8,8,10, + 8,12,8,827,9,8,1,8,1,8,1,8,3,8,832,8,8,1,8,1,8,1,8,3,8,837,8,8,1, + 8,1,8,3,8,841,8,8,1,8,1,8,1,8,1,8,5,8,847,8,8,10,8,12,8,850,9,8, + 1,8,1,8,3,8,854,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,863,8,8,1,8, + 1,8,1,8,1,8,3,8,869,8,8,1,8,1,8,1,8,5,8,874,8,8,10,8,12,8,877,9, + 8,1,8,1,8,1,8,1,8,5,8,883,8,8,10,8,12,8,886,9,8,1,8,1,8,1,8,3,8, + 891,8,8,1,8,1,8,3,8,895,8,8,1,8,1,8,1,8,1,8,3,8,901,8,8,1,8,1,8, + 1,8,5,8,906,8,8,10,8,12,8,909,9,8,1,8,1,8,3,8,913,8,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,924,8,8,10,8,12,8,927,9,8,1,8,1,8, + 3,8,931,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,943,8,8, + 1,8,1,8,3,8,947,8,8,1,8,1,8,1,8,1,8,3,8,953,8,8,1,8,1,8,1,8,1,8, + 1,8,5,8,960,8,8,10,8,12,8,963,9,8,1,8,1,8,3,8,967,8,8,1,8,1,8,1, + 8,1,8,3,8,973,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1001, + 8,8,1,8,1,8,1,8,1,8,3,8,1007,8,8,3,8,1009,8,8,1,8,1,8,1,8,1,8,3, + 8,1015,8,8,1,8,1,8,1,8,1,8,3,8,1021,8,8,3,8,1023,8,8,1,8,1,8,1,8, + 1,8,1,8,1,8,3,8,1031,8,8,3,8,1033,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,3,8,1043,8,8,3,8,1045,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,3,8,1060,8,8,1,8,1,8,1,8,3,8,1065,8,8,1,8,1, + 8,1,8,1,8,1,8,3,8,1072,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1082, + 8,8,1,8,1,8,1,8,1,8,3,8,1088,8,8,3,8,1090,8,8,1,8,1,8,1,8,1,8,1, + 8,1,8,3,8,1098,8,8,3,8,1100,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1123,8,8, + 10,8,12,8,1126,9,8,3,8,1128,8,8,1,8,1,8,3,8,1132,8,8,1,8,1,8,3,8, + 1136,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 5,8,1152,8,8,10,8,12,8,1155,9,8,3,8,1157,8,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,5,8,1166,8,8,10,8,12,8,1169,9,8,3,8,1171,8,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1187,8,8,1,8,1,8, + 1,8,1,8,1,8,1,8,5,8,1195,8,8,10,8,12,8,1198,9,8,1,8,1,8,3,8,1202, + 8,8,1,8,1,8,1,8,1,8,3,8,1208,8,8,1,8,3,8,1211,8,8,1,8,1,8,1,8,1, + 8,1,8,4,8,1218,8,8,11,8,12,8,1219,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,3,8,1232,8,8,1,9,3,9,1235,8,9,1,9,1,9,1,10,1,10,1,10,1, + 10,5,10,1243,8,10,10,10,12,10,1246,9,10,1,11,3,11,1249,8,11,1,11, + 1,11,1,12,1,12,3,12,1255,8,12,1,12,1,12,1,12,5,12,1260,8,12,10,12, + 12,12,1263,9,12,1,13,1,13,3,13,1267,8,13,1,14,1,14,1,14,1,14,3,14, + 1273,8,14,1,14,1,14,3,14,1277,8,14,1,14,1,14,3,14,1281,8,14,1,15, + 1,15,1,15,1,15,3,15,1287,8,15,1,16,1,16,1,16,1,16,1,17,1,17,1,17, + 5,17,1296,8,17,10,17,12,17,1299,9,17,1,18,1,18,1,18,1,18,1,19,1, + 19,3,19,1307,8,19,1,20,1,20,1,20,1,20,1,20,1,20,5,20,1315,8,20,10, + 20,12,20,1318,9,20,3,20,1320,8,20,1,20,1,20,1,20,3,20,1325,8,20, + 3,20,1327,8,20,1,20,1,20,1,20,1,20,1,20,3,20,1334,8,20,1,20,1,20, + 1,20,1,20,3,20,1340,8,20,3,20,1342,8,20,1,21,1,21,3,21,1346,8,21, + 1,22,1,22,1,23,1,23,1,23,1,23,1,23,1,23,3,23,1356,8,23,1,23,1,23, + 1,23,1,23,3,23,1362,8,23,1,23,5,23,1365,8,23,10,23,12,23,1368,9, + 23,1,24,1,24,1,24,1,24,1,24,1,24,1,24,5,24,1377,8,24,10,24,12,24, + 1380,9,24,1,24,1,24,1,24,1,24,3,24,1386,8,24,1,25,1,25,3,25,1390, + 8,25,1,25,3,25,1393,8,25,1,25,1,25,3,25,1397,8,25,1,26,1,26,3,26, + 1401,8,26,1,26,1,26,1,26,5,26,1406,8,26,10,26,12,26,1409,9,26,1, + 26,1,26,1,26,1,26,5,26,1415,8,26,10,26,12,26,1418,9,26,3,26,1420, + 8,26,1,26,1,26,3,26,1424,8,26,1,26,1,26,1,26,3,26,1429,8,26,1,26, + 1,26,3,26,1433,8,26,1,26,1,26,1,26,1,26,5,26,1439,8,26,10,26,12, + 26,1442,9,26,3,26,1444,8,26,1,27,3,27,1447,8,27,1,27,1,27,1,27,5, + 27,1452,8,27,10,27,12,27,1455,9,27,1,28,1,28,1,28,1,28,1,28,1,28, + 5,28,1463,8,28,10,28,12,28,1466,9,28,3,28,1468,8,28,1,28,1,28,1, + 28,1,28,1,28,1,28,5,28,1476,8,28,10,28,12,28,1479,9,28,3,28,1481, + 8,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,5,28,1490,8,28,10,28,12, + 28,1493,9,28,1,28,1,28,3,28,1497,8,28,1,29,1,29,1,29,1,29,5,29,1503, + 8,29,10,29,12,29,1506,9,29,3,29,1508,8,29,1,29,1,29,3,29,1512,8, + 29,1,30,1,30,3,30,1516,8,30,1,31,1,31,1,31,1,31,1,31,1,31,1,32,3, + 32,1525,8,32,1,32,1,32,1,32,1,32,1,32,5,32,1532,8,32,10,32,12,32, + 1535,9,32,3,32,1537,8,32,1,32,1,32,1,32,1,32,1,32,5,32,1544,8,32, + 10,32,12,32,1547,9,32,3,32,1549,8,32,1,32,3,32,1552,8,32,1,33,1, + 33,3,33,1556,8,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,35,1,35,3, + 35,1567,8,35,1,35,3,35,1570,8,35,1,35,3,35,1573,8,35,1,35,1,35,1, + 35,1,35,1,35,3,35,1580,8,35,1,35,3,35,1583,8,35,1,36,1,36,1,36,1, + 36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1, + 36,3,36,1602,8,36,5,36,1604,8,36,10,36,12,36,1607,9,36,1,37,3,37, + 1610,8,37,1,37,1,37,3,37,1614,8,37,1,37,1,37,3,37,1618,8,37,1,37, + 1,37,3,37,1622,8,37,3,37,1624,8,37,1,38,1,38,1,38,1,38,1,38,1,38, + 1,38,5,38,1633,8,38,10,38,12,38,1636,9,38,1,38,1,38,3,38,1640,8, + 38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,1649,8,39,1,40,1,40,1, + 41,1,41,1,42,1,42,1,42,3,42,1658,8,42,1,42,3,42,1661,8,42,1,43,1, + 43,1,43,1,43,3,43,1667,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1, + 44,5,44,1677,8,44,10,44,12,44,1680,9,44,3,44,1682,8,44,1,44,1,44, + 1,44,1,44,1,44,5,44,1689,8,44,10,44,12,44,1692,9,44,3,44,1694,8, + 44,1,44,1,44,1,44,1,44,5,44,1700,8,44,10,44,12,44,1703,9,44,3,44, + 1705,8,44,1,44,3,44,1708,8,44,1,44,1,44,1,44,3,44,1713,8,44,1,44, + 3,44,1716,8,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,5,44,1726, + 8,44,10,44,12,44,1729,9,44,3,44,1731,8,44,1,44,1,44,1,44,1,44,5, + 44,1737,8,44,10,44,12,44,1740,9,44,1,44,1,44,3,44,1744,8,44,1,44, + 1,44,3,44,1748,8,44,3,44,1750,8,44,3,44,1752,8,44,1,45,1,45,1,45, + 1,45,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,3,46,1767,8,46, + 3,46,1769,8,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47, + 1780,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48, + 1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,1801,8,48,1,49,1,49, + 1,49,1,49,1,49,1,49,5,49,1809,8,49,10,49,12,49,1812,9,49,1,49,1, + 49,1,50,1,50,1,50,1,50,1,51,1,51,3,51,1822,8,51,1,51,1,51,3,51,1826, + 8,51,3,51,1828,8,51,1,52,1,52,1,52,1,52,5,52,1834,8,52,10,52,12, + 52,1837,9,52,1,52,1,52,1,53,1,53,1,53,1,53,5,53,1845,8,53,10,53, + 12,53,1848,9,53,1,53,1,53,1,54,1,54,1,54,1,54,5,54,1856,8,54,10, + 54,12,54,1859,9,54,1,54,1,54,1,55,1,55,3,55,1865,8,55,1,55,1,55, + 1,55,1,55,1,55,1,55,1,55,1,55,1,55,5,55,1876,8,55,10,55,12,55,1879, + 9,55,1,55,1,55,1,55,3,55,1884,8,55,1,55,1,55,1,55,1,55,1,55,1,55, + 1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55, + 1,55,1,55,1,55,5,55,1908,8,55,10,55,12,55,1911,9,55,1,55,1,55,1, + 55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,1925,8,55,1, + 55,1,55,1,55,3,55,1930,8,55,1,55,1,55,3,55,1934,8,55,1,56,1,56,1, + 56,1,56,1,56,1,56,1,56,1,56,3,56,1944,8,56,1,56,1,56,1,56,1,56,3, + 56,1950,8,56,1,56,1,56,1,56,1,56,3,56,1956,8,56,1,56,1,56,1,56,1, + 56,1,56,1,56,3,56,1964,8,56,1,56,1,56,1,56,3,56,1969,8,56,1,56,1, + 56,1,56,1,56,1,56,3,56,1976,8,56,3,56,1978,8,56,1,56,1,56,1,56,1, + 56,3,56,1984,8,56,1,56,1,56,1,56,1,56,3,56,1990,8,56,1,56,1,56,3, + 56,1994,8,56,1,56,1,56,1,56,3,56,1999,8,56,1,56,1,56,1,56,1,56,1, + 56,5,56,2006,8,56,10,56,12,56,2009,9,56,1,56,1,56,3,56,2013,8,56, + 1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,5,57,2025,8,57, + 10,57,12,57,2028,9,57,1,57,1,57,1,57,1,57,1,57,5,57,2035,8,57,10, + 57,12,57,2038,9,57,3,57,2040,8,57,1,58,1,58,1,59,1,59,1,59,1,59, + 1,59,3,59,2049,8,59,1,60,1,60,1,60,3,60,2054,8,60,1,60,1,60,1,60, + 3,60,2059,8,60,3,60,2061,8,60,1,61,1,61,1,61,1,61,1,61,5,61,2068, + 8,61,10,61,12,61,2071,9,61,3,61,2073,8,61,1,61,1,61,1,61,1,61,5, + 61,2079,8,61,10,61,12,61,2082,9,61,3,61,2084,8,61,1,61,1,61,1,62, + 1,62,1,62,3,62,2091,8,62,1,62,1,62,1,62,3,62,2096,8,62,1,63,1,63, + 1,63,1,63,1,63,1,63,1,63,5,63,2105,8,63,10,63,12,63,2108,9,63,3, + 63,2110,8,63,1,63,1,63,3,63,2114,8,63,3,63,2116,8,63,1,63,1,63,1, + 63,1,63,1,63,1,63,3,63,2124,8,63,1,63,1,63,1,63,1,63,1,63,1,63,5, + 63,2132,8,63,10,63,12,63,2135,9,63,1,63,1,63,1,63,3,63,2140,8,63, + 3,63,2142,8,63,1,64,1,64,1,64,1,64,1,64,3,64,2149,8,64,1,64,1,64, + 3,64,2153,8,64,3,64,2155,8,64,1,64,1,64,1,64,1,64,1,64,3,64,2162, + 8,64,1,64,1,64,3,64,2166,8,64,3,64,2168,8,64,3,64,2170,8,64,1,65, + 1,65,1,65,1,65,1,65,5,65,2177,8,65,10,65,12,65,2180,9,65,1,65,1, + 65,1,65,1,65,1,65,1,65,1,65,1,65,3,65,2190,8,65,1,66,1,66,3,66,2194, + 8,66,1,67,1,67,1,67,1,67,1,67,1,67,5,67,2202,8,67,10,67,12,67,2205, + 9,67,1,67,1,67,1,68,1,68,1,69,1,69,1,69,3,69,2214,8,69,1,69,1,69, + 3,69,2218,8,69,1,69,1,69,1,69,1,69,1,69,1,69,5,69,2226,8,69,10,69, + 12,69,2229,9,69,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70, + 3,70,2241,8,70,1,70,1,70,1,70,1,70,1,70,1,70,3,70,2249,8,70,1,70, + 1,70,1,70,1,70,1,70,5,70,2256,8,70,10,70,12,70,2259,9,70,1,70,1, + 70,1,70,3,70,2264,8,70,1,70,1,70,1,70,1,70,1,70,1,70,3,70,2272,8, + 70,1,70,1,70,1,70,1,70,3,70,2278,8,70,1,70,1,70,3,70,2282,8,70,1, + 70,1,70,1,70,3,70,2287,8,70,1,70,1,70,1,70,3,70,2292,8,70,1,71,1, + 71,1,71,1,71,3,71,2298,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1, + 71,1,71,1,71,1,71,1,71,5,71,2312,8,71,10,71,12,71,2315,9,71,1,72, + 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, + 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,4,72,2342, + 8,72,11,72,12,72,2343,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2353, + 8,72,10,72,12,72,2356,9,72,1,72,1,72,1,72,1,72,1,72,3,72,2363,8, + 72,1,72,1,72,1,72,3,72,2368,8,72,1,72,1,72,1,72,3,72,2373,8,72,1, + 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2384,8,72,10,72, + 12,72,2387,9,72,1,72,1,72,1,72,3,72,2392,8,72,1,72,3,72,2395,8,72, + 1,72,1,72,1,72,1,72,1,72,3,72,2402,8,72,1,72,1,72,1,72,3,72,2407, + 8,72,1,72,3,72,2410,8,72,1,72,3,72,2413,8,72,1,72,1,72,1,72,3,72, + 2418,8,72,1,72,1,72,1,72,5,72,2423,8,72,10,72,12,72,2426,9,72,3, + 72,2428,8,72,1,72,1,72,1,72,1,72,1,72,5,72,2435,8,72,10,72,12,72, + 2438,9,72,3,72,2440,8,72,1,72,1,72,3,72,2444,8,72,1,72,3,72,2447, + 8,72,1,72,3,72,2450,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, + 1,72,1,72,1,72,5,72,2463,8,72,10,72,12,72,2466,9,72,3,72,2468,8, + 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1, + 72,1,72,1,72,4,72,2485,8,72,11,72,12,72,2486,1,72,1,72,3,72,2491, + 8,72,1,72,1,72,1,72,1,72,4,72,2497,8,72,11,72,12,72,2498,1,72,1, + 72,3,72,2503,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1, + 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2526, + 8,72,10,72,12,72,2529,9,72,3,72,2531,8,72,1,72,1,72,1,72,1,72,1, + 72,1,72,1,72,3,72,2540,8,72,1,72,1,72,1,72,1,72,3,72,2546,8,72,1, + 72,1,72,1,72,1,72,3,72,2552,8,72,1,72,1,72,1,72,1,72,3,72,2558,8, + 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2567,8,72,1,72,3,72,2570, + 8,72,1,72,3,72,2573,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, + 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2592,8,72,1,72, + 1,72,1,72,1,72,1,72,1,72,1,72,3,72,2601,8,72,1,72,1,72,1,72,1,72, + 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, + 1,72,5,72,2621,8,72,10,72,12,72,2624,9,72,3,72,2626,8,72,1,72,1, + 72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2636,8,72,1,72,1,72,1,72,1, + 72,1,72,1,72,1,72,3,72,2645,8,72,1,72,1,72,1,72,1,72,3,72,2651,8, + 72,1,72,1,72,1,72,1,72,3,72,2657,8,72,1,72,1,72,1,72,1,72,1,72,1, + 72,1,72,1,72,1,72,3,72,2668,8,72,3,72,2670,8,72,1,72,1,72,1,72,3, + 72,2675,8,72,1,72,1,72,1,72,1,72,1,72,3,72,2682,8,72,3,72,2684,8, + 72,1,72,1,72,1,72,1,72,3,72,2690,8,72,1,72,1,72,1,72,1,72,3,72,2696, + 8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2705,8,72,10,72,12, + 72,2708,9,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2716,8,72,1,72,1, + 72,1,72,3,72,2721,8,72,1,72,1,72,1,72,3,72,2726,8,72,3,72,2728,8, + 72,3,72,2730,8,72,1,72,1,72,1,72,1,72,3,72,2736,8,72,3,72,2738,8, + 72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2746,8,72,10,72,12,72,2749, + 9,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2757,8,72,3,72,2759,8,72, + 1,72,1,72,1,72,1,72,3,72,2765,8,72,3,72,2767,8,72,1,72,3,72,2770, + 8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2780,8,72,10,72, + 12,72,2783,9,72,1,73,1,73,1,73,1,73,1,73,3,73,2790,8,73,1,73,1,73, + 1,73,1,73,5,73,2796,8,73,10,73,12,73,2799,9,73,3,73,2801,8,73,1, + 74,1,74,1,74,3,74,2806,8,74,1,75,1,75,1,75,3,75,2811,8,75,1,76,1, + 76,1,76,1,76,1,77,1,77,1,78,1,78,1,78,1,78,3,78,2823,8,78,1,79,1, + 79,3,79,2827,8,79,1,79,1,79,3,79,2831,8,79,1,79,3,79,2834,8,79,3, + 79,2836,8,79,1,80,1,80,1,80,1,80,1,80,1,80,3,80,2844,8,80,1,81,3, + 81,2847,8,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,3,81,2857,8, + 81,1,82,1,82,1,83,1,83,1,83,1,83,3,83,2865,8,83,1,84,1,84,1,84,1, + 84,3,84,2871,8,84,3,84,2873,8,84,1,85,1,85,1,85,1,85,1,85,1,85,3, + 85,2881,8,85,1,86,1,86,1,87,1,87,1,88,1,88,1,89,1,89,3,89,2891,8, + 89,1,89,1,89,1,89,1,89,3,89,2897,8,89,1,90,1,90,1,91,1,91,1,92,1, + 92,1,92,1,92,1,92,1,92,5,92,2909,8,92,10,92,12,92,2912,9,92,1,92, + 1,92,1,92,1,92,1,92,1,92,3,92,2920,8,92,1,92,1,92,1,92,1,92,1,92, + 3,92,2927,8,92,1,92,1,92,1,92,3,92,2932,8,92,1,92,1,92,1,92,1,92, + 1,92,3,92,2939,8,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,3,92, + 2949,8,92,1,92,1,92,1,92,3,92,2954,8,92,1,92,1,92,1,92,1,92,1,92, + 3,92,2961,8,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92, + 1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,5,92, + 2985,8,92,10,92,12,92,2988,9,92,1,92,1,92,3,92,2992,8,92,3,92,2994, + 8,92,1,92,1,92,1,92,1,92,1,92,3,92,3001,8,92,5,92,3003,8,92,10,92, + 12,92,3006,9,92,1,93,1,93,1,93,1,93,3,93,3012,8,93,1,94,1,94,3,94, + 3016,8,94,1,95,1,95,1,95,1,95,1,95,1,96,1,96,1,96,1,96,1,96,1,96, + 1,97,1,97,1,97,1,97,3,97,3033,8,97,1,97,1,97,1,97,1,97,1,97,1,97, + 1,97,1,97,1,97,1,97,1,97,5,97,3046,8,97,10,97,12,97,3049,9,97,1, + 97,1,97,1,97,1,97,3,97,3055,8,97,1,97,1,97,1,97,1,97,1,97,1,97,1, + 97,3,97,3064,8,97,1,97,1,97,1,97,1,97,1,97,1,97,5,97,3072,8,97,10, + 97,12,97,3075,9,97,1,97,1,97,3,97,3079,8,97,1,97,1,97,1,97,1,97, + 1,97,5,97,3086,8,97,10,97,12,97,3089,9,97,1,97,1,97,3,97,3093,8, + 97,1,98,1,98,1,98,1,98,1,98,1,98,3,98,3101,8,98,1,99,1,99,1,99,1, + 99,5,99,3107,8,99,10,99,12,99,3110,9,99,3,99,3112,8,99,1,99,1,99, + 1,99,1,99,3,99,3118,8,99,1,99,3,99,3121,8,99,1,99,1,99,1,99,1,99, + 1,99,3,99,3128,8,99,1,99,1,99,1,99,1,99,5,99,3134,8,99,10,99,12, + 99,3137,9,99,3,99,3139,8,99,1,99,1,99,1,99,1,99,5,99,3145,8,99,10, + 99,12,99,3148,9,99,3,99,3150,8,99,1,100,1,100,1,100,1,100,1,100, + 1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100, + 1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,3,100,3176,8,100, + 1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,3,101,3187, + 8,101,1,102,1,102,1,102,3,102,3192,8,102,1,102,1,102,1,102,1,102, + 1,102,5,102,3199,8,102,10,102,12,102,3202,9,102,1,103,1,103,1,103, + 1,103,1,103,1,103,1,103,1,103,5,103,3212,8,103,10,103,12,103,3215, + 9,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103, + 1,103,1,103,3,103,3229,8,103,1,104,1,104,3,104,3233,8,104,1,104, + 1,104,3,104,3237,8,104,1,104,1,104,3,104,3241,8,104,1,104,1,104, + 1,104,1,104,3,104,3247,8,104,1,104,1,104,3,104,3251,8,104,1,104, + 1,104,3,104,3255,8,104,1,104,1,104,3,104,3259,8,104,3,104,3261,8, + 104,1,105,1,105,1,105,1,105,1,106,1,106,1,106,1,106,3,106,3271,8, + 106,1,107,1,107,1,107,1,107,1,107,3,107,3278,8,107,1,108,1,108,1, + 108,1,108,1,108,1,108,1,108,3,108,3287,8,108,1,109,1,109,1,109,1, + 109,1,109,3,109,3294,8,109,1,110,1,110,1,110,1,110,1,110,3,110,3301, + 8,110,1,111,1,111,1,111,5,111,3306,8,111,10,111,12,111,3309,9,111, + 1,112,1,112,1,112,1,112,5,112,3315,8,112,10,112,12,112,3318,9,112, + 1,112,1,112,1,113,1,113,1,113,1,113,1,113,5,113,3327,8,113,10,113, + 12,113,3330,9,113,3,113,3332,8,113,1,113,1,113,1,114,3,114,3337, + 8,114,1,114,1,114,1,115,1,115,1,115,1,116,1,116,1,116,3,116,3347, + 8,116,1,116,1,116,1,116,1,116,1,116,1,116,1,116,1,116,1,116,1,116, + 1,116,1,116,1,116,1,116,3,116,3363,8,116,1,117,1,117,1,117,1,117, + 1,117,1,117,1,117,1,117,1,117,1,117,4,117,3375,8,117,11,117,12,117, + 3376,1,117,3,117,3380,8,117,1,117,1,117,1,117,1,117,1,117,4,117, + 3387,8,117,11,117,12,117,3388,1,117,3,117,3392,8,117,1,117,1,117, + 1,117,1,117,1,117,1,117,1,117,1,117,5,117,3402,8,117,10,117,12,117, + 3405,9,117,1,117,3,117,3408,8,117,1,117,1,117,1,117,1,117,1,117, + 1,117,1,117,1,117,1,117,1,117,1,117,5,117,3421,8,117,10,117,12,117, + 3424,9,117,1,117,3,117,3427,8,117,1,117,1,117,1,117,1,117,3,117, + 3433,8,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,3,117, + 3443,8,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117, + 1,117,3,117,3455,8,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117, + 3,117,3464,8,117,1,118,1,118,1,118,1,118,1,118,1,119,1,119,1,119, + 1,119,1,119,1,120,1,120,1,120,1,121,1,121,1,121,1,121,5,121,3483, + 8,121,10,121,12,121,3486,9,121,1,121,1,121,1,121,3,121,3491,8,121, + 1,122,1,122,1,122,4,122,3496,8,122,11,122,12,122,3497,1,123,1,123, + 1,123,1,123,1,123,1,123,3,123,3506,8,123,1,124,1,124,1,124,3,124, + 3511,8,124,1,125,3,125,3514,8,125,1,125,1,125,1,126,1,126,3,126, + 3520,8,126,1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127, + 1,127,1,127,3,127,3533,8,127,1,128,1,128,1,128,1,128,1,128,1,128, + 1,128,1,128,1,128,1,128,1,128,3,128,3546,8,128,1,129,1,129,1,129, + 1,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129,3,129,3559,8,129, + 1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130, + 3,130,3572,8,130,1,131,1,131,1,131,1,131,1,131,3,131,3579,8,131, + 1,132,1,132,1,132,1,132,1,132,3,132,3586,8,132,1,133,1,133,1,134, + 1,134,1,135,1,135,1,136,1,136,1,137,1,137,3,137,3598,8,137,1,138, + 1,138,1,139,1,139,1,139,5,139,3605,8,139,10,139,12,139,3608,9,139, + 1,140,1,140,1,140,1,140,1,140,1,140,1,141,1,141,1,142,1,142,1,142, + 3,142,3621,8,142,1,143,1,143,1,143,1,143,1,143,3,143,3628,8,143, + 1,144,1,144,1,144,5,144,3633,8,144,10,144,12,144,3636,9,144,1,145, + 1,145,1,145,1,145,1,145,1,145,1,145,3,145,3645,8,145,1,146,1,146, + 1,146,1,146,1,146,3,146,3652,8,146,1,147,3,147,3655,8,147,1,147, + 1,147,3,147,3659,8,147,1,147,1,147,3,147,3663,8,147,1,147,3,147, + 3666,8,147,1,148,1,148,3,148,3670,8,148,1,149,1,149,1,149,0,7,46, + 72,138,142,144,184,204,150,0,2,4,6,8,10,12,14,16,18,20,22,24,26, + 28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70, + 72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110, + 112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142, + 144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174, + 176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206, + 208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238, + 240,242,244,246,248,250,252,254,256,258,260,262,264,266,268,270, + 272,274,276,278,280,282,284,286,288,290,292,294,296,298,0,35,2,0, + 39,39,229,229,2,0,72,72,131,131,2,0,105,105,122,122,2,0,92,92,123, + 123,1,0,239,240,2,0,101,101,174,174,2,0,324,324,329,329,2,0,91,91, + 281,281,2,0,29,29,75,75,2,0,101,101,148,148,2,0,22,22,79,79,2,0, + 33,33,259,259,3,0,35,35,150,150,270,270,2,0,124,124,247,247,2,0, + 85,85,89,89,2,0,144,144,189,189,2,0,125,125,197,197,2,0,54,54,281, + 281,1,0,318,319,1,0,320,322,1,0,291,293,4,0,89,89,97,97,273,273, + 283,283,2,0,49,49,280,280,2,0,100,100,241,241,1,0,312,317,3,0,22, + 22,26,26,254,254,2,0,97,97,273,273,5,0,67,67,118,118,170,171,245, + 245,310,310,1,0,175,178,2,0,102,102,212,212,3,0,113,113,137,137, + 263,263,4,0,80,80,132,132,160,160,294,294,2,0,192,192,309,309,2, + 0,268,268,298,298,54,0,18,22,24,24,26,27,29,33,35,35,37,39,42,49, + 51,52,56,56,65,67,69,72,74,75,77,78,80,82,85,87,89,89,92,92,95,95, + 98,102,104,104,107,113,116,116,118,121,123,124,126,126,129,129,131, + 132,134,135,137,137,144,151,153,153,155,155,157,157,160,171,173, + 180,184,189,191,193,196,196,198,213,215,220,222,233,235,237,239, + 247,249,259,261,264,266,271,274,276,278,280,282,284,286,289,291, + 295,297,299,302,303,305,311,4228,0,303,1,0,0,0,2,308,1,0,0,0,4,310, + 1,0,0,0,6,314,1,0,0,0,8,318,1,0,0,0,10,322,1,0,0,0,12,326,1,0,0, + 0,14,330,1,0,0,0,16,1231,1,0,0,0,18,1234,1,0,0,0,20,1238,1,0,0,0, + 22,1248,1,0,0,0,24,1252,1,0,0,0,26,1266,1,0,0,0,28,1268,1,0,0,0, + 30,1282,1,0,0,0,32,1288,1,0,0,0,34,1292,1,0,0,0,36,1300,1,0,0,0, + 38,1306,1,0,0,0,40,1308,1,0,0,0,42,1345,1,0,0,0,44,1347,1,0,0,0, + 46,1349,1,0,0,0,48,1385,1,0,0,0,50,1389,1,0,0,0,52,1398,1,0,0,0, + 54,1446,1,0,0,0,56,1496,1,0,0,0,58,1511,1,0,0,0,60,1515,1,0,0,0, + 62,1517,1,0,0,0,64,1524,1,0,0,0,66,1553,1,0,0,0,68,1562,1,0,0,0, + 70,1582,1,0,0,0,72,1584,1,0,0,0,74,1623,1,0,0,0,76,1639,1,0,0,0, + 78,1641,1,0,0,0,80,1650,1,0,0,0,82,1652,1,0,0,0,84,1660,1,0,0,0, + 86,1666,1,0,0,0,88,1668,1,0,0,0,90,1753,1,0,0,0,92,1768,1,0,0,0, + 94,1779,1,0,0,0,96,1800,1,0,0,0,98,1802,1,0,0,0,100,1815,1,0,0,0, + 102,1819,1,0,0,0,104,1829,1,0,0,0,106,1840,1,0,0,0,108,1851,1,0, + 0,0,110,1933,1,0,0,0,112,2012,1,0,0,0,114,2039,1,0,0,0,116,2041, + 1,0,0,0,118,2048,1,0,0,0,120,2060,1,0,0,0,122,2062,1,0,0,0,124,2090, + 1,0,0,0,126,2097,1,0,0,0,128,2169,1,0,0,0,130,2189,1,0,0,0,132,2191, + 1,0,0,0,134,2195,1,0,0,0,136,2208,1,0,0,0,138,2217,1,0,0,0,140,2291, + 1,0,0,0,142,2297,1,0,0,0,144,2769,1,0,0,0,146,2784,1,0,0,0,148,2802, + 1,0,0,0,150,2807,1,0,0,0,152,2812,1,0,0,0,154,2816,1,0,0,0,156,2822, + 1,0,0,0,158,2835,1,0,0,0,160,2843,1,0,0,0,162,2856,1,0,0,0,164,2858, + 1,0,0,0,166,2864,1,0,0,0,168,2872,1,0,0,0,170,2880,1,0,0,0,172,2882, + 1,0,0,0,174,2884,1,0,0,0,176,2886,1,0,0,0,178,2888,1,0,0,0,180,2898, + 1,0,0,0,182,2900,1,0,0,0,184,2993,1,0,0,0,186,3011,1,0,0,0,188,3015, + 1,0,0,0,190,3017,1,0,0,0,192,3022,1,0,0,0,194,3092,1,0,0,0,196,3094, + 1,0,0,0,198,3111,1,0,0,0,200,3175,1,0,0,0,202,3186,1,0,0,0,204,3188, + 1,0,0,0,206,3228,1,0,0,0,208,3260,1,0,0,0,210,3262,1,0,0,0,212,3270, + 1,0,0,0,214,3277,1,0,0,0,216,3286,1,0,0,0,218,3293,1,0,0,0,220,3300, + 1,0,0,0,222,3302,1,0,0,0,224,3310,1,0,0,0,226,3321,1,0,0,0,228,3336, + 1,0,0,0,230,3340,1,0,0,0,232,3362,1,0,0,0,234,3463,1,0,0,0,236,3465, + 1,0,0,0,238,3470,1,0,0,0,240,3475,1,0,0,0,242,3478,1,0,0,0,244,3495, + 1,0,0,0,246,3505,1,0,0,0,248,3510,1,0,0,0,250,3513,1,0,0,0,252,3519, + 1,0,0,0,254,3532,1,0,0,0,256,3545,1,0,0,0,258,3558,1,0,0,0,260,3571, + 1,0,0,0,262,3578,1,0,0,0,264,3585,1,0,0,0,266,3587,1,0,0,0,268,3589, + 1,0,0,0,270,3591,1,0,0,0,272,3593,1,0,0,0,274,3597,1,0,0,0,276,3599, + 1,0,0,0,278,3601,1,0,0,0,280,3609,1,0,0,0,282,3615,1,0,0,0,284,3620, + 1,0,0,0,286,3627,1,0,0,0,288,3629,1,0,0,0,290,3644,1,0,0,0,292,3651, + 1,0,0,0,294,3665,1,0,0,0,296,3669,1,0,0,0,298,3671,1,0,0,0,300,302, + 3,2,1,0,301,300,1,0,0,0,302,305,1,0,0,0,303,301,1,0,0,0,303,304, + 1,0,0,0,304,306,1,0,0,0,305,303,1,0,0,0,306,307,5,0,0,1,307,1,1, + 0,0,0,308,309,3,4,2,0,309,3,1,0,0,0,310,312,3,16,8,0,311,313,5,325, + 0,0,312,311,1,0,0,0,312,313,1,0,0,0,313,5,1,0,0,0,314,316,3,136, + 68,0,315,317,5,325,0,0,316,315,1,0,0,0,316,317,1,0,0,0,317,7,1,0, + 0,0,318,320,3,222,111,0,319,321,5,325,0,0,320,319,1,0,0,0,320,321, + 1,0,0,0,321,9,1,0,0,0,322,324,3,184,92,0,323,325,5,325,0,0,324,323, + 1,0,0,0,324,325,1,0,0,0,325,11,1,0,0,0,326,328,3,204,102,0,327,329, + 5,325,0,0,328,327,1,0,0,0,328,329,1,0,0,0,329,13,1,0,0,0,330,331, + 3,224,112,0,331,332,5,0,0,1,332,15,1,0,0,0,333,1232,3,18,9,0,334, + 335,5,288,0,0,335,1232,3,262,131,0,336,337,5,53,0,0,337,341,5,42, + 0,0,338,339,5,119,0,0,339,340,5,182,0,0,340,342,5,94,0,0,341,338, + 1,0,0,0,341,342,1,0,0,0,342,343,1,0,0,0,343,344,3,268,134,0,344, + 345,5,290,0,0,345,348,3,292,146,0,346,347,5,46,0,0,347,349,3,168, + 84,0,348,346,1,0,0,0,348,349,1,0,0,0,349,352,1,0,0,0,350,351,5,31, + 0,0,351,353,3,286,143,0,352,350,1,0,0,0,352,353,1,0,0,0,353,356, + 1,0,0,0,354,355,5,304,0,0,355,357,3,32,16,0,356,354,1,0,0,0,356, + 357,1,0,0,0,357,1232,1,0,0,0,358,359,5,83,0,0,359,362,5,42,0,0,360, + 361,5,119,0,0,361,363,5,94,0,0,362,360,1,0,0,0,362,363,1,0,0,0,363, + 364,1,0,0,0,364,366,3,266,133,0,365,367,7,0,0,0,366,365,1,0,0,0, + 366,367,1,0,0,0,367,1232,1,0,0,0,368,369,5,53,0,0,369,373,5,243, + 0,0,370,371,5,119,0,0,371,372,5,182,0,0,372,374,5,94,0,0,373,370, + 1,0,0,0,373,374,1,0,0,0,374,375,1,0,0,0,375,378,3,264,132,0,376, + 377,5,31,0,0,377,379,3,286,143,0,378,376,1,0,0,0,378,379,1,0,0,0, + 379,382,1,0,0,0,380,381,5,304,0,0,381,383,3,32,16,0,382,380,1,0, + 0,0,382,383,1,0,0,0,383,1232,1,0,0,0,384,385,5,83,0,0,385,388,5, + 243,0,0,386,387,5,119,0,0,387,389,5,94,0,0,388,386,1,0,0,0,388,389, + 1,0,0,0,389,390,1,0,0,0,390,392,3,262,131,0,391,393,7,0,0,0,392, + 391,1,0,0,0,392,393,1,0,0,0,393,1232,1,0,0,0,394,395,5,23,0,0,395, + 396,5,243,0,0,396,397,3,262,131,0,397,398,5,223,0,0,398,399,5,269, + 0,0,399,400,3,264,132,0,400,1232,1,0,0,0,401,402,5,23,0,0,402,403, + 5,243,0,0,403,404,3,262,131,0,404,405,5,251,0,0,405,406,5,31,0,0, + 406,407,3,286,143,0,407,1232,1,0,0,0,408,411,5,53,0,0,409,410,5, + 194,0,0,410,412,5,226,0,0,411,409,1,0,0,0,411,412,1,0,0,0,412,413, + 1,0,0,0,413,417,5,260,0,0,414,415,5,119,0,0,415,416,5,182,0,0,416, + 418,5,94,0,0,417,414,1,0,0,0,417,418,1,0,0,0,418,419,1,0,0,0,419, + 421,3,256,128,0,420,422,3,104,52,0,421,420,1,0,0,0,421,422,1,0,0, + 0,422,425,1,0,0,0,423,424,5,46,0,0,424,426,3,168,84,0,425,423,1, + 0,0,0,425,426,1,0,0,0,426,429,1,0,0,0,427,428,5,304,0,0,428,430, + 3,32,16,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,437, + 5,28,0,0,432,438,3,18,9,0,433,434,5,1,0,0,434,435,3,18,9,0,435,436, + 5,2,0,0,436,438,1,0,0,0,437,432,1,0,0,0,437,433,1,0,0,0,438,444, + 1,0,0,0,439,441,5,304,0,0,440,442,5,179,0,0,441,440,1,0,0,0,441, + 442,1,0,0,0,442,443,1,0,0,0,443,445,5,65,0,0,444,439,1,0,0,0,444, + 445,1,0,0,0,445,1232,1,0,0,0,446,449,5,53,0,0,447,448,5,194,0,0, + 448,450,5,226,0,0,449,447,1,0,0,0,449,450,1,0,0,0,450,451,1,0,0, + 0,451,455,5,260,0,0,452,453,5,119,0,0,453,454,5,182,0,0,454,456, + 5,94,0,0,455,452,1,0,0,0,455,456,1,0,0,0,456,457,1,0,0,0,457,458, + 3,256,128,0,458,459,5,1,0,0,459,464,3,26,13,0,460,461,5,3,0,0,461, + 463,3,26,13,0,462,460,1,0,0,0,463,466,1,0,0,0,464,462,1,0,0,0,464, + 465,1,0,0,0,465,467,1,0,0,0,466,464,1,0,0,0,467,470,5,2,0,0,468, + 469,5,46,0,0,469,471,3,168,84,0,470,468,1,0,0,0,470,471,1,0,0,0, + 471,474,1,0,0,0,472,473,5,304,0,0,473,475,3,32,16,0,474,472,1,0, + 0,0,474,475,1,0,0,0,475,1232,1,0,0,0,476,477,5,83,0,0,477,480,5, + 260,0,0,478,479,5,119,0,0,479,481,5,94,0,0,480,478,1,0,0,0,480,481, + 1,0,0,0,481,482,1,0,0,0,482,1232,3,254,127,0,483,484,5,127,0,0,484, + 485,5,130,0,0,485,487,3,254,127,0,486,488,3,106,53,0,487,486,1,0, + 0,0,487,488,1,0,0,0,488,489,1,0,0,0,489,490,3,18,9,0,490,1232,1, + 0,0,0,491,492,5,73,0,0,492,493,5,105,0,0,493,496,3,254,127,0,494, + 495,5,301,0,0,495,497,3,138,69,0,496,494,1,0,0,0,496,497,1,0,0,0, + 497,1232,1,0,0,0,498,499,5,274,0,0,499,500,5,260,0,0,500,1232,3, + 254,127,0,501,502,5,46,0,0,502,503,5,190,0,0,503,504,5,260,0,0,504, + 505,3,254,127,0,505,508,5,133,0,0,506,509,3,168,84,0,507,509,5,183, + 0,0,508,506,1,0,0,0,508,507,1,0,0,0,509,1232,1,0,0,0,510,511,5,46, + 0,0,511,512,5,190,0,0,512,513,5,299,0,0,513,514,3,258,129,0,514, + 517,5,133,0,0,515,518,3,168,84,0,516,518,5,183,0,0,517,515,1,0,0, + 0,517,516,1,0,0,0,518,1232,1,0,0,0,519,520,5,46,0,0,520,521,5,190, + 0,0,521,522,5,44,0,0,522,523,3,274,137,0,523,526,5,133,0,0,524,527, + 3,168,84,0,525,527,5,183,0,0,526,524,1,0,0,0,526,525,1,0,0,0,527, + 1232,1,0,0,0,528,529,5,23,0,0,529,532,5,260,0,0,530,531,5,119,0, + 0,531,533,5,94,0,0,532,530,1,0,0,0,532,533,1,0,0,0,533,534,1,0,0, + 0,534,535,3,254,127,0,535,536,5,223,0,0,536,537,5,269,0,0,537,538, + 3,256,128,0,538,1232,1,0,0,0,539,540,5,23,0,0,540,543,5,260,0,0, + 541,542,5,119,0,0,542,544,5,94,0,0,543,541,1,0,0,0,543,544,1,0,0, + 0,544,545,1,0,0,0,545,546,3,254,127,0,546,547,5,19,0,0,547,551,5, + 44,0,0,548,549,5,119,0,0,549,550,5,182,0,0,550,552,5,94,0,0,551, + 548,1,0,0,0,551,552,1,0,0,0,552,553,1,0,0,0,553,554,3,28,14,0,554, + 1232,1,0,0,0,555,556,5,23,0,0,556,559,5,260,0,0,557,558,5,119,0, + 0,558,560,5,94,0,0,559,557,1,0,0,0,559,560,1,0,0,0,560,561,1,0,0, + 0,561,562,3,254,127,0,562,563,5,223,0,0,563,566,5,44,0,0,564,565, + 5,119,0,0,565,567,5,94,0,0,566,564,1,0,0,0,566,567,1,0,0,0,567,568, + 1,0,0,0,568,569,3,274,137,0,569,570,5,269,0,0,570,571,3,276,138, + 0,571,1232,1,0,0,0,572,573,5,23,0,0,573,576,5,260,0,0,574,575,5, + 119,0,0,575,577,5,94,0,0,576,574,1,0,0,0,576,577,1,0,0,0,577,578, + 1,0,0,0,578,579,3,254,127,0,579,580,5,83,0,0,580,583,5,44,0,0,581, + 582,5,119,0,0,582,584,5,94,0,0,583,581,1,0,0,0,583,584,1,0,0,0,584, + 585,1,0,0,0,585,586,3,274,137,0,586,1232,1,0,0,0,587,588,5,23,0, + 0,588,591,5,260,0,0,589,590,5,119,0,0,590,592,5,94,0,0,591,589,1, + 0,0,0,591,592,1,0,0,0,592,593,1,0,0,0,593,594,3,254,127,0,594,595, + 5,23,0,0,595,596,5,44,0,0,596,597,3,274,137,0,597,598,5,251,0,0, + 598,599,5,65,0,0,599,600,5,276,0,0,600,601,3,184,92,0,601,1232,1, + 0,0,0,602,603,5,23,0,0,603,606,5,260,0,0,604,605,5,119,0,0,605,607, + 5,94,0,0,606,604,1,0,0,0,606,607,1,0,0,0,607,608,1,0,0,0,608,609, + 3,254,127,0,609,610,5,23,0,0,610,611,5,44,0,0,611,612,3,274,137, + 0,612,613,5,83,0,0,613,614,5,182,0,0,614,615,5,183,0,0,615,1232, + 1,0,0,0,616,617,5,23,0,0,617,618,5,260,0,0,618,619,3,254,127,0,619, + 620,5,251,0,0,620,621,5,31,0,0,621,622,3,286,143,0,622,1232,1,0, + 0,0,623,624,5,23,0,0,624,625,5,260,0,0,625,626,3,254,127,0,626,627, + 5,251,0,0,627,628,5,216,0,0,628,629,3,34,17,0,629,1232,1,0,0,0,630, + 631,5,23,0,0,631,632,5,260,0,0,632,633,3,254,127,0,633,634,5,93, + 0,0,634,647,3,270,135,0,635,644,5,1,0,0,636,641,3,218,109,0,637, + 638,5,3,0,0,638,640,3,218,109,0,639,637,1,0,0,0,640,643,1,0,0,0, + 641,639,1,0,0,0,641,642,1,0,0,0,642,645,1,0,0,0,643,641,1,0,0,0, + 644,636,1,0,0,0,644,645,1,0,0,0,645,646,1,0,0,0,646,648,5,2,0,0, + 647,635,1,0,0,0,647,648,1,0,0,0,648,651,1,0,0,0,649,650,5,301,0, + 0,650,652,3,138,69,0,651,649,1,0,0,0,651,652,1,0,0,0,652,1232,1, + 0,0,0,653,654,5,24,0,0,654,657,3,254,127,0,655,656,5,304,0,0,656, + 658,3,32,16,0,657,655,1,0,0,0,657,658,1,0,0,0,658,1232,1,0,0,0,659, + 662,5,53,0,0,660,661,5,194,0,0,661,663,5,226,0,0,662,660,1,0,0,0, + 662,663,1,0,0,0,663,664,1,0,0,0,664,665,5,167,0,0,665,669,5,299, + 0,0,666,667,5,119,0,0,667,668,5,182,0,0,668,670,5,94,0,0,669,666, + 1,0,0,0,669,670,1,0,0,0,670,671,1,0,0,0,671,675,3,260,130,0,672, + 673,5,109,0,0,673,674,5,208,0,0,674,676,3,178,89,0,675,672,1,0,0, + 0,675,676,1,0,0,0,676,679,1,0,0,0,677,678,5,46,0,0,678,680,3,168, + 84,0,679,677,1,0,0,0,679,680,1,0,0,0,680,683,1,0,0,0,681,682,5,304, + 0,0,682,684,3,32,16,0,683,681,1,0,0,0,683,684,1,0,0,0,684,685,1, + 0,0,0,685,686,5,28,0,0,686,687,3,18,9,0,687,1232,1,0,0,0,688,691, + 5,53,0,0,689,690,5,194,0,0,690,692,5,226,0,0,691,689,1,0,0,0,691, + 692,1,0,0,0,692,693,1,0,0,0,693,694,5,299,0,0,694,697,3,260,130, + 0,695,696,5,46,0,0,696,698,3,168,84,0,697,695,1,0,0,0,697,698,1, + 0,0,0,698,701,1,0,0,0,699,700,5,246,0,0,700,702,7,1,0,0,701,699, + 1,0,0,0,701,702,1,0,0,0,702,705,1,0,0,0,703,704,5,304,0,0,704,706, + 3,32,16,0,705,703,1,0,0,0,705,706,1,0,0,0,706,707,1,0,0,0,707,708, + 5,28,0,0,708,709,3,18,9,0,709,1232,1,0,0,0,710,711,5,222,0,0,711, + 712,5,167,0,0,712,713,5,299,0,0,713,1232,3,258,129,0,714,715,5,83, + 0,0,715,716,5,167,0,0,716,719,5,299,0,0,717,718,5,119,0,0,718,720, + 5,94,0,0,719,717,1,0,0,0,719,720,1,0,0,0,720,721,1,0,0,0,721,1232, + 3,258,129,0,722,723,5,23,0,0,723,724,5,167,0,0,724,727,5,299,0,0, + 725,726,5,119,0,0,726,728,5,94,0,0,727,725,1,0,0,0,727,728,1,0,0, + 0,728,729,1,0,0,0,729,730,3,258,129,0,730,731,5,223,0,0,731,732, + 5,269,0,0,732,733,3,260,130,0,733,1232,1,0,0,0,734,735,5,23,0,0, + 735,736,5,167,0,0,736,737,5,299,0,0,737,738,3,258,129,0,738,739, + 5,251,0,0,739,740,5,216,0,0,740,741,3,34,17,0,741,1232,1,0,0,0,742, + 743,5,83,0,0,743,746,5,299,0,0,744,745,5,119,0,0,745,747,5,94,0, + 0,746,744,1,0,0,0,746,747,1,0,0,0,747,748,1,0,0,0,748,1232,3,258, + 129,0,749,750,5,23,0,0,750,751,5,299,0,0,751,752,3,258,129,0,752, + 753,5,223,0,0,753,754,5,269,0,0,754,755,3,260,130,0,755,1232,1,0, + 0,0,756,757,5,23,0,0,757,758,5,299,0,0,758,759,3,258,129,0,759,760, + 5,251,0,0,760,761,5,31,0,0,761,762,3,286,143,0,762,1232,1,0,0,0, + 763,764,5,37,0,0,764,765,3,270,135,0,765,774,5,1,0,0,766,771,3,218, + 109,0,767,768,5,3,0,0,768,770,3,218,109,0,769,767,1,0,0,0,770,773, + 1,0,0,0,771,769,1,0,0,0,771,772,1,0,0,0,772,775,1,0,0,0,773,771, + 1,0,0,0,774,766,1,0,0,0,774,775,1,0,0,0,775,776,1,0,0,0,776,777, + 5,2,0,0,777,1232,1,0,0,0,778,781,5,53,0,0,779,780,5,194,0,0,780, + 782,5,226,0,0,781,779,1,0,0,0,781,782,1,0,0,0,782,783,1,0,0,0,783, + 1232,3,224,112,0,784,785,5,83,0,0,785,788,5,107,0,0,786,787,5,119, + 0,0,787,789,5,94,0,0,788,786,1,0,0,0,788,789,1,0,0,0,789,790,1,0, + 0,0,790,1232,3,226,113,0,791,792,5,53,0,0,792,793,5,235,0,0,793, + 797,3,292,146,0,794,795,5,304,0,0,795,796,5,20,0,0,796,798,3,284, + 142,0,797,794,1,0,0,0,797,798,1,0,0,0,798,801,1,0,0,0,799,800,5, + 122,0,0,800,802,3,266,133,0,801,799,1,0,0,0,801,802,1,0,0,0,802, + 1232,1,0,0,0,803,804,5,83,0,0,804,805,5,235,0,0,805,808,3,292,146, + 0,806,807,5,122,0,0,807,809,3,266,133,0,808,806,1,0,0,0,808,809, + 1,0,0,0,809,1232,1,0,0,0,810,811,5,110,0,0,811,816,3,290,145,0,812, + 813,5,3,0,0,813,815,3,290,145,0,814,812,1,0,0,0,815,818,1,0,0,0, + 816,814,1,0,0,0,816,817,1,0,0,0,817,819,1,0,0,0,818,816,1,0,0,0, + 819,820,5,269,0,0,820,825,3,286,143,0,821,822,5,3,0,0,822,824,3, + 286,143,0,823,821,1,0,0,0,824,827,1,0,0,0,825,823,1,0,0,0,825,826, + 1,0,0,0,826,831,1,0,0,0,827,825,1,0,0,0,828,829,5,304,0,0,829,830, + 5,20,0,0,830,832,5,193,0,0,831,828,1,0,0,0,831,832,1,0,0,0,832,836, + 1,0,0,0,833,834,5,111,0,0,834,835,5,36,0,0,835,837,3,284,142,0,836, + 833,1,0,0,0,836,837,1,0,0,0,837,840,1,0,0,0,838,839,5,122,0,0,839, + 841,3,266,133,0,840,838,1,0,0,0,840,841,1,0,0,0,841,1232,1,0,0,0, + 842,853,5,110,0,0,843,848,3,290,145,0,844,845,5,3,0,0,845,847,3, + 290,145,0,846,844,1,0,0,0,847,850,1,0,0,0,848,846,1,0,0,0,848,849, + 1,0,0,0,849,854,1,0,0,0,850,848,1,0,0,0,851,852,5,22,0,0,852,854, + 5,215,0,0,853,843,1,0,0,0,853,851,1,0,0,0,854,855,1,0,0,0,855,856, + 5,190,0,0,856,857,3,250,125,0,857,858,5,269,0,0,858,862,3,286,143, + 0,859,860,5,304,0,0,860,861,5,110,0,0,861,863,5,193,0,0,862,859, + 1,0,0,0,862,863,1,0,0,0,863,1232,1,0,0,0,864,868,5,233,0,0,865,866, + 5,20,0,0,866,867,5,193,0,0,867,869,5,103,0,0,868,865,1,0,0,0,868, + 869,1,0,0,0,869,870,1,0,0,0,870,875,3,290,145,0,871,872,5,3,0,0, + 872,874,3,290,145,0,873,871,1,0,0,0,874,877,1,0,0,0,875,873,1,0, + 0,0,875,876,1,0,0,0,876,878,1,0,0,0,877,875,1,0,0,0,878,879,5,105, + 0,0,879,884,3,286,143,0,880,881,5,3,0,0,881,883,3,286,143,0,882, + 880,1,0,0,0,883,886,1,0,0,0,884,882,1,0,0,0,884,885,1,0,0,0,885, + 890,1,0,0,0,886,884,1,0,0,0,887,888,5,111,0,0,888,889,5,36,0,0,889, + 891,3,284,142,0,890,887,1,0,0,0,890,891,1,0,0,0,891,894,1,0,0,0, + 892,893,5,122,0,0,893,895,3,266,133,0,894,892,1,0,0,0,894,895,1, + 0,0,0,895,1232,1,0,0,0,896,900,5,233,0,0,897,898,5,110,0,0,898,899, + 5,193,0,0,899,901,5,103,0,0,900,897,1,0,0,0,900,901,1,0,0,0,901, + 912,1,0,0,0,902,907,3,290,145,0,903,904,5,3,0,0,904,906,3,290,145, + 0,905,903,1,0,0,0,906,909,1,0,0,0,907,905,1,0,0,0,907,908,1,0,0, + 0,908,913,1,0,0,0,909,907,1,0,0,0,910,911,5,22,0,0,911,913,5,215, + 0,0,912,902,1,0,0,0,912,910,1,0,0,0,913,914,1,0,0,0,914,915,5,190, + 0,0,915,916,3,250,125,0,916,917,5,105,0,0,917,918,3,286,143,0,918, + 1232,1,0,0,0,919,930,5,74,0,0,920,925,3,246,123,0,921,922,5,3,0, + 0,922,924,3,246,123,0,923,921,1,0,0,0,924,927,1,0,0,0,925,923,1, + 0,0,0,925,926,1,0,0,0,926,931,1,0,0,0,927,925,1,0,0,0,928,929,5, + 22,0,0,929,931,5,215,0,0,930,920,1,0,0,0,930,928,1,0,0,0,931,932, + 1,0,0,0,932,933,5,190,0,0,933,934,3,250,125,0,934,935,5,269,0,0, + 935,936,3,286,143,0,936,1232,1,0,0,0,937,938,5,251,0,0,938,942,5, + 235,0,0,939,943,5,22,0,0,940,943,5,180,0,0,941,943,3,292,146,0,942, + 939,1,0,0,0,942,940,1,0,0,0,942,941,1,0,0,0,943,946,1,0,0,0,944, + 945,5,122,0,0,945,947,3,266,133,0,946,944,1,0,0,0,946,947,1,0,0, + 0,947,1232,1,0,0,0,948,949,5,253,0,0,949,952,5,112,0,0,950,951,5, + 190,0,0,951,953,3,250,125,0,952,950,1,0,0,0,952,953,1,0,0,0,953, + 1232,1,0,0,0,954,966,5,95,0,0,955,956,5,1,0,0,956,961,3,212,106, + 0,957,958,5,3,0,0,958,960,3,212,106,0,959,957,1,0,0,0,960,963,1, + 0,0,0,961,959,1,0,0,0,961,962,1,0,0,0,962,964,1,0,0,0,963,961,1, + 0,0,0,964,965,5,2,0,0,965,967,1,0,0,0,966,955,1,0,0,0,966,967,1, + 0,0,0,967,968,1,0,0,0,968,1232,3,16,8,0,969,970,5,95,0,0,970,972, + 5,24,0,0,971,973,5,297,0,0,972,971,1,0,0,0,972,973,1,0,0,0,973,974, + 1,0,0,0,974,1232,3,16,8,0,975,976,5,253,0,0,976,977,5,53,0,0,977, + 978,5,260,0,0,978,1232,3,254,127,0,979,980,5,253,0,0,980,981,5,53, + 0,0,981,982,5,243,0,0,982,1232,3,262,131,0,983,984,5,253,0,0,984, + 985,5,53,0,0,985,986,5,299,0,0,986,1232,3,258,129,0,987,988,5,253, + 0,0,988,989,5,53,0,0,989,990,5,167,0,0,990,991,5,299,0,0,991,1232, + 3,258,129,0,992,993,5,253,0,0,993,994,5,53,0,0,994,995,5,107,0,0, + 995,1232,3,270,135,0,996,997,5,253,0,0,997,1000,5,261,0,0,998,999, + 7,2,0,0,999,1001,3,262,131,0,1000,998,1,0,0,0,1000,1001,1,0,0,0, + 1001,1008,1,0,0,0,1002,1003,5,154,0,0,1003,1006,3,168,84,0,1004, + 1005,5,90,0,0,1005,1007,3,168,84,0,1006,1004,1,0,0,0,1006,1007,1, + 0,0,0,1007,1009,1,0,0,0,1008,1002,1,0,0,0,1008,1009,1,0,0,0,1009, + 1232,1,0,0,0,1010,1011,5,253,0,0,1011,1014,5,244,0,0,1012,1013,7, + 2,0,0,1013,1015,3,266,133,0,1014,1012,1,0,0,0,1014,1015,1,0,0,0, + 1015,1022,1,0,0,0,1016,1017,5,154,0,0,1017,1020,3,168,84,0,1018, + 1019,5,90,0,0,1019,1021,3,168,84,0,1020,1018,1,0,0,0,1020,1021,1, + 0,0,0,1021,1023,1,0,0,0,1022,1016,1,0,0,0,1022,1023,1,0,0,0,1023, + 1232,1,0,0,0,1024,1025,5,253,0,0,1025,1032,5,43,0,0,1026,1027,5, + 154,0,0,1027,1030,3,168,84,0,1028,1029,5,90,0,0,1029,1031,3,168, + 84,0,1030,1028,1,0,0,0,1030,1031,1,0,0,0,1031,1033,1,0,0,0,1032, + 1026,1,0,0,0,1032,1033,1,0,0,0,1033,1232,1,0,0,0,1034,1035,5,253, + 0,0,1035,1036,5,45,0,0,1036,1037,7,2,0,0,1037,1044,3,252,126,0,1038, + 1039,5,154,0,0,1039,1042,3,168,84,0,1040,1041,5,90,0,0,1041,1043, + 3,168,84,0,1042,1040,1,0,0,0,1042,1043,1,0,0,0,1043,1045,1,0,0,0, + 1044,1038,1,0,0,0,1044,1045,1,0,0,0,1045,1232,1,0,0,0,1046,1047, + 5,253,0,0,1047,1048,5,256,0,0,1048,1049,5,103,0,0,1049,1232,3,252, + 126,0,1050,1051,5,253,0,0,1051,1052,5,256,0,0,1052,1053,5,103,0, + 0,1053,1054,5,1,0,0,1054,1055,3,18,9,0,1055,1056,5,2,0,0,1056,1232, + 1,0,0,0,1057,1059,5,253,0,0,1058,1060,5,56,0,0,1059,1058,1,0,0,0, + 1059,1060,1,0,0,0,1060,1061,1,0,0,0,1061,1064,5,236,0,0,1062,1063, + 7,2,0,0,1063,1065,3,266,133,0,1064,1062,1,0,0,0,1064,1065,1,0,0, + 0,1065,1232,1,0,0,0,1066,1067,5,253,0,0,1067,1068,5,235,0,0,1068, + 1071,5,112,0,0,1069,1070,7,2,0,0,1070,1072,3,266,133,0,1071,1069, + 1,0,0,0,1071,1072,1,0,0,0,1072,1232,1,0,0,0,1073,1074,5,76,0,0,1074, + 1232,3,252,126,0,1075,1076,5,75,0,0,1076,1232,3,252,126,0,1077,1078, + 5,253,0,0,1078,1081,5,108,0,0,1079,1080,7,2,0,0,1080,1082,3,262, + 131,0,1081,1079,1,0,0,0,1081,1082,1,0,0,0,1082,1089,1,0,0,0,1083, + 1084,5,154,0,0,1084,1087,3,168,84,0,1085,1086,5,90,0,0,1086,1088, + 3,168,84,0,1087,1085,1,0,0,0,1087,1088,1,0,0,0,1088,1090,1,0,0,0, + 1089,1083,1,0,0,0,1089,1090,1,0,0,0,1090,1232,1,0,0,0,1091,1092, + 5,253,0,0,1092,1099,5,250,0,0,1093,1094,5,154,0,0,1094,1097,3,168, + 84,0,1095,1096,5,90,0,0,1096,1098,3,168,84,0,1097,1095,1,0,0,0,1097, + 1098,1,0,0,0,1098,1100,1,0,0,0,1099,1093,1,0,0,0,1099,1100,1,0,0, + 0,1100,1232,1,0,0,0,1101,1102,5,251,0,0,1102,1103,5,250,0,0,1103, + 1104,5,31,0,0,1104,1232,3,296,148,0,1105,1106,5,227,0,0,1106,1107, + 5,250,0,0,1107,1232,5,31,0,0,1108,1109,5,251,0,0,1109,1110,5,250, + 0,0,1110,1111,3,278,139,0,1111,1112,5,312,0,0,1112,1113,3,136,68, + 0,1113,1232,1,0,0,0,1114,1115,5,227,0,0,1115,1116,5,250,0,0,1116, + 1232,3,278,139,0,1117,1118,5,255,0,0,1118,1127,5,271,0,0,1119,1124, + 3,214,107,0,1120,1121,5,3,0,0,1121,1123,3,214,107,0,1122,1120,1, + 0,0,0,1123,1126,1,0,0,0,1124,1122,1,0,0,0,1124,1125,1,0,0,0,1125, + 1128,1,0,0,0,1126,1124,1,0,0,0,1127,1119,1,0,0,0,1127,1128,1,0,0, + 0,1128,1232,1,0,0,0,1129,1131,5,47,0,0,1130,1132,5,307,0,0,1131, + 1130,1,0,0,0,1131,1132,1,0,0,0,1132,1232,1,0,0,0,1133,1135,5,237, + 0,0,1134,1136,5,307,0,0,1135,1134,1,0,0,0,1135,1136,1,0,0,0,1136, + 1232,1,0,0,0,1137,1138,5,214,0,0,1138,1139,3,292,146,0,1139,1140, + 5,105,0,0,1140,1141,3,16,8,0,1141,1232,1,0,0,0,1142,1143,5,68,0, + 0,1143,1144,5,214,0,0,1144,1232,3,292,146,0,1145,1146,5,93,0,0,1146, + 1156,3,292,146,0,1147,1148,5,290,0,0,1148,1153,3,136,68,0,1149,1150, + 5,3,0,0,1150,1152,3,136,68,0,1151,1149,1,0,0,0,1152,1155,1,0,0,0, + 1153,1151,1,0,0,0,1153,1154,1,0,0,0,1154,1157,1,0,0,0,1155,1153, + 1,0,0,0,1156,1147,1,0,0,0,1156,1157,1,0,0,0,1157,1232,1,0,0,0,1158, + 1159,5,93,0,0,1159,1160,5,121,0,0,1160,1170,3,168,84,0,1161,1162, + 5,290,0,0,1162,1167,3,136,68,0,1163,1164,5,3,0,0,1164,1166,3,136, + 68,0,1165,1163,1,0,0,0,1166,1169,1,0,0,0,1167,1165,1,0,0,0,1167, + 1168,1,0,0,0,1168,1171,1,0,0,0,1169,1167,1,0,0,0,1170,1161,1,0,0, + 0,1170,1171,1,0,0,0,1171,1232,1,0,0,0,1172,1173,5,76,0,0,1173,1174, + 5,126,0,0,1174,1232,3,292,146,0,1175,1176,5,76,0,0,1176,1177,5,198, + 0,0,1177,1232,3,292,146,0,1178,1179,5,251,0,0,1179,1180,5,205,0, + 0,1180,1232,3,222,111,0,1181,1182,5,251,0,0,1182,1183,5,267,0,0, + 1183,1186,5,311,0,0,1184,1187,5,157,0,0,1185,1187,3,136,68,0,1186, + 1184,1,0,0,0,1186,1185,1,0,0,0,1187,1232,1,0,0,0,1188,1189,5,287, + 0,0,1189,1190,3,254,127,0,1190,1191,5,251,0,0,1191,1196,3,210,105, + 0,1192,1193,5,3,0,0,1193,1195,3,210,105,0,1194,1192,1,0,0,0,1195, + 1198,1,0,0,0,1196,1194,1,0,0,0,1196,1197,1,0,0,0,1197,1201,1,0,0, + 0,1198,1196,1,0,0,0,1199,1200,5,301,0,0,1200,1202,3,138,69,0,1201, + 1199,1,0,0,0,1201,1202,1,0,0,0,1202,1232,1,0,0,0,1203,1204,5,169, + 0,0,1204,1205,5,130,0,0,1205,1210,3,254,127,0,1206,1208,5,28,0,0, + 1207,1206,1,0,0,0,1207,1208,1,0,0,0,1208,1209,1,0,0,0,1209,1211, + 3,292,146,0,1210,1207,1,0,0,0,1210,1211,1,0,0,0,1211,1212,1,0,0, + 0,1212,1213,5,290,0,0,1213,1214,3,72,36,0,1214,1215,5,190,0,0,1215, + 1217,3,136,68,0,1216,1218,3,194,97,0,1217,1216,1,0,0,0,1218,1219, + 1,0,0,0,1219,1217,1,0,0,0,1219,1220,1,0,0,0,1220,1232,1,0,0,0,1221, + 1222,5,253,0,0,1222,1223,5,46,0,0,1223,1224,5,190,0,0,1224,1225, + 5,260,0,0,1225,1232,3,254,127,0,1226,1227,5,253,0,0,1227,1228,5, + 46,0,0,1228,1229,5,190,0,0,1229,1230,5,44,0,0,1230,1232,3,274,137, + 0,1231,333,1,0,0,0,1231,334,1,0,0,0,1231,336,1,0,0,0,1231,358,1, + 0,0,0,1231,368,1,0,0,0,1231,384,1,0,0,0,1231,394,1,0,0,0,1231,401, + 1,0,0,0,1231,408,1,0,0,0,1231,446,1,0,0,0,1231,476,1,0,0,0,1231, + 483,1,0,0,0,1231,491,1,0,0,0,1231,498,1,0,0,0,1231,501,1,0,0,0,1231, + 510,1,0,0,0,1231,519,1,0,0,0,1231,528,1,0,0,0,1231,539,1,0,0,0,1231, + 555,1,0,0,0,1231,572,1,0,0,0,1231,587,1,0,0,0,1231,602,1,0,0,0,1231, + 616,1,0,0,0,1231,623,1,0,0,0,1231,630,1,0,0,0,1231,653,1,0,0,0,1231, + 659,1,0,0,0,1231,688,1,0,0,0,1231,710,1,0,0,0,1231,714,1,0,0,0,1231, + 722,1,0,0,0,1231,734,1,0,0,0,1231,742,1,0,0,0,1231,749,1,0,0,0,1231, + 756,1,0,0,0,1231,763,1,0,0,0,1231,778,1,0,0,0,1231,784,1,0,0,0,1231, + 791,1,0,0,0,1231,803,1,0,0,0,1231,810,1,0,0,0,1231,842,1,0,0,0,1231, + 864,1,0,0,0,1231,896,1,0,0,0,1231,919,1,0,0,0,1231,937,1,0,0,0,1231, + 948,1,0,0,0,1231,954,1,0,0,0,1231,969,1,0,0,0,1231,975,1,0,0,0,1231, + 979,1,0,0,0,1231,983,1,0,0,0,1231,987,1,0,0,0,1231,992,1,0,0,0,1231, + 996,1,0,0,0,1231,1010,1,0,0,0,1231,1024,1,0,0,0,1231,1034,1,0,0, + 0,1231,1046,1,0,0,0,1231,1050,1,0,0,0,1231,1057,1,0,0,0,1231,1066, + 1,0,0,0,1231,1073,1,0,0,0,1231,1075,1,0,0,0,1231,1077,1,0,0,0,1231, + 1091,1,0,0,0,1231,1101,1,0,0,0,1231,1105,1,0,0,0,1231,1108,1,0,0, + 0,1231,1114,1,0,0,0,1231,1117,1,0,0,0,1231,1129,1,0,0,0,1231,1133, + 1,0,0,0,1231,1137,1,0,0,0,1231,1142,1,0,0,0,1231,1145,1,0,0,0,1231, + 1158,1,0,0,0,1231,1172,1,0,0,0,1231,1175,1,0,0,0,1231,1178,1,0,0, + 0,1231,1181,1,0,0,0,1231,1188,1,0,0,0,1231,1203,1,0,0,0,1231,1221, + 1,0,0,0,1231,1226,1,0,0,0,1232,17,1,0,0,0,1233,1235,3,20,10,0,1234, + 1233,1,0,0,0,1234,1235,1,0,0,0,1235,1236,1,0,0,0,1236,1237,3,22, + 11,0,1237,19,1,0,0,0,1238,1239,5,304,0,0,1239,1244,3,224,112,0,1240, + 1241,5,3,0,0,1241,1243,3,224,112,0,1242,1240,1,0,0,0,1243,1246,1, + 0,0,0,1244,1242,1,0,0,0,1244,1245,1,0,0,0,1245,21,1,0,0,0,1246,1244, + 1,0,0,0,1247,1249,3,24,12,0,1248,1247,1,0,0,0,1248,1249,1,0,0,0, + 1249,1250,1,0,0,0,1250,1251,3,40,20,0,1251,23,1,0,0,0,1252,1254, + 5,304,0,0,1253,1255,5,221,0,0,1254,1253,1,0,0,0,1254,1255,1,0,0, + 0,1255,1256,1,0,0,0,1256,1261,3,66,33,0,1257,1258,5,3,0,0,1258,1260, + 3,66,33,0,1259,1257,1,0,0,0,1260,1263,1,0,0,0,1261,1259,1,0,0,0, + 1261,1262,1,0,0,0,1262,25,1,0,0,0,1263,1261,1,0,0,0,1264,1267,3, + 28,14,0,1265,1267,3,30,15,0,1266,1264,1,0,0,0,1266,1265,1,0,0,0, + 1267,27,1,0,0,0,1268,1269,3,276,138,0,1269,1272,3,184,92,0,1270, + 1271,5,182,0,0,1271,1273,5,183,0,0,1272,1270,1,0,0,0,1272,1273,1, + 0,0,0,1273,1276,1,0,0,0,1274,1275,5,46,0,0,1275,1277,3,168,84,0, + 1276,1274,1,0,0,0,1276,1277,1,0,0,0,1277,1280,1,0,0,0,1278,1279, + 5,304,0,0,1279,1281,3,32,16,0,1280,1278,1,0,0,0,1280,1281,1,0,0, + 0,1281,29,1,0,0,0,1282,1283,5,154,0,0,1283,1286,3,254,127,0,1284, + 1285,7,3,0,0,1285,1287,5,216,0,0,1286,1284,1,0,0,0,1286,1287,1,0, + 0,0,1287,31,1,0,0,0,1288,1289,5,1,0,0,1289,1290,3,34,17,0,1290,1291, + 5,2,0,0,1291,33,1,0,0,0,1292,1297,3,36,18,0,1293,1294,5,3,0,0,1294, + 1296,3,36,18,0,1295,1293,1,0,0,0,1296,1299,1,0,0,0,1297,1295,1,0, + 0,0,1297,1298,1,0,0,0,1298,35,1,0,0,0,1299,1297,1,0,0,0,1300,1301, + 3,292,146,0,1301,1302,5,312,0,0,1302,1303,3,38,19,0,1303,37,1,0, + 0,0,1304,1307,5,70,0,0,1305,1307,3,136,68,0,1306,1304,1,0,0,0,1306, + 1305,1,0,0,0,1307,39,1,0,0,0,1308,1319,3,46,23,0,1309,1310,5,195, + 0,0,1310,1311,5,36,0,0,1311,1316,3,50,25,0,1312,1313,5,3,0,0,1313, + 1315,3,50,25,0,1314,1312,1,0,0,0,1315,1318,1,0,0,0,1316,1314,1,0, + 0,0,1316,1317,1,0,0,0,1317,1320,1,0,0,0,1318,1316,1,0,0,0,1319,1309, + 1,0,0,0,1319,1320,1,0,0,0,1320,1326,1,0,0,0,1321,1322,5,188,0,0, + 1322,1324,3,44,22,0,1323,1325,7,4,0,0,1324,1323,1,0,0,0,1324,1325, + 1,0,0,0,1325,1327,1,0,0,0,1326,1321,1,0,0,0,1326,1327,1,0,0,0,1327, + 1341,1,0,0,0,1328,1329,5,155,0,0,1329,1342,3,42,21,0,1330,1331,5, + 98,0,0,1331,1333,7,5,0,0,1332,1334,3,44,22,0,1333,1332,1,0,0,0,1333, + 1334,1,0,0,0,1334,1335,1,0,0,0,1335,1339,7,4,0,0,1336,1340,5,192, + 0,0,1337,1338,5,304,0,0,1338,1340,5,266,0,0,1339,1336,1,0,0,0,1339, + 1337,1,0,0,0,1340,1342,1,0,0,0,1341,1328,1,0,0,0,1341,1330,1,0,0, + 0,1341,1342,1,0,0,0,1342,41,1,0,0,0,1343,1346,5,22,0,0,1344,1346, + 3,44,22,0,1345,1343,1,0,0,0,1345,1344,1,0,0,0,1346,43,1,0,0,0,1347, + 1348,7,6,0,0,1348,45,1,0,0,0,1349,1350,6,23,-1,0,1350,1351,3,48, + 24,0,1351,1366,1,0,0,0,1352,1353,10,2,0,0,1353,1355,5,128,0,0,1354, + 1356,3,68,34,0,1355,1354,1,0,0,0,1355,1356,1,0,0,0,1356,1357,1,0, + 0,0,1357,1365,3,46,23,3,1358,1359,10,1,0,0,1359,1361,7,7,0,0,1360, + 1362,3,68,34,0,1361,1360,1,0,0,0,1361,1362,1,0,0,0,1362,1363,1,0, + 0,0,1363,1365,3,46,23,2,1364,1352,1,0,0,0,1364,1358,1,0,0,0,1365, + 1368,1,0,0,0,1366,1364,1,0,0,0,1366,1367,1,0,0,0,1367,47,1,0,0,0, + 1368,1366,1,0,0,0,1369,1386,3,52,26,0,1370,1371,5,260,0,0,1371,1386, + 3,254,127,0,1372,1373,5,296,0,0,1373,1378,3,136,68,0,1374,1375,5, + 3,0,0,1375,1377,3,136,68,0,1376,1374,1,0,0,0,1377,1380,1,0,0,0,1378, + 1376,1,0,0,0,1378,1379,1,0,0,0,1379,1386,1,0,0,0,1380,1378,1,0,0, + 0,1381,1382,5,1,0,0,1382,1383,3,40,20,0,1383,1384,5,2,0,0,1384,1386, + 1,0,0,0,1385,1369,1,0,0,0,1385,1370,1,0,0,0,1385,1372,1,0,0,0,1385, + 1381,1,0,0,0,1386,49,1,0,0,0,1387,1390,3,274,137,0,1388,1390,3,136, + 68,0,1389,1387,1,0,0,0,1389,1388,1,0,0,0,1390,1392,1,0,0,0,1391, + 1393,7,8,0,0,1392,1391,1,0,0,0,1392,1393,1,0,0,0,1393,1396,1,0,0, + 0,1394,1395,5,185,0,0,1395,1397,7,9,0,0,1396,1394,1,0,0,0,1396,1397, + 1,0,0,0,1397,51,1,0,0,0,1398,1400,5,248,0,0,1399,1401,3,68,34,0, + 1400,1399,1,0,0,0,1400,1401,1,0,0,0,1401,1402,1,0,0,0,1402,1407, + 3,70,35,0,1403,1404,5,3,0,0,1404,1406,3,70,35,0,1405,1403,1,0,0, + 0,1406,1409,1,0,0,0,1407,1405,1,0,0,0,1407,1408,1,0,0,0,1408,1419, + 1,0,0,0,1409,1407,1,0,0,0,1410,1411,5,105,0,0,1411,1416,3,72,36, + 0,1412,1413,5,3,0,0,1413,1415,3,72,36,0,1414,1412,1,0,0,0,1415,1418, + 1,0,0,0,1416,1414,1,0,0,0,1416,1417,1,0,0,0,1417,1420,1,0,0,0,1418, + 1416,1,0,0,0,1419,1410,1,0,0,0,1419,1420,1,0,0,0,1420,1423,1,0,0, + 0,1421,1422,5,301,0,0,1422,1424,3,138,69,0,1423,1421,1,0,0,0,1423, + 1424,1,0,0,0,1424,1428,1,0,0,0,1425,1426,5,114,0,0,1426,1427,5,36, + 0,0,1427,1429,3,54,27,0,1428,1425,1,0,0,0,1428,1429,1,0,0,0,1429, + 1432,1,0,0,0,1430,1431,5,117,0,0,1431,1433,3,138,69,0,1432,1430, + 1,0,0,0,1432,1433,1,0,0,0,1433,1443,1,0,0,0,1434,1435,5,303,0,0, + 1435,1440,3,62,31,0,1436,1437,5,3,0,0,1437,1439,3,62,31,0,1438,1436, + 1,0,0,0,1439,1442,1,0,0,0,1440,1438,1,0,0,0,1440,1441,1,0,0,0,1441, + 1444,1,0,0,0,1442,1440,1,0,0,0,1443,1434,1,0,0,0,1443,1444,1,0,0, + 0,1444,53,1,0,0,0,1445,1447,3,68,34,0,1446,1445,1,0,0,0,1446,1447, + 1,0,0,0,1447,1448,1,0,0,0,1448,1453,3,56,28,0,1449,1450,5,3,0,0, + 1450,1452,3,56,28,0,1451,1449,1,0,0,0,1452,1455,1,0,0,0,1453,1451, + 1,0,0,0,1453,1454,1,0,0,0,1454,55,1,0,0,0,1455,1453,1,0,0,0,1456, + 1497,3,58,29,0,1457,1458,5,238,0,0,1458,1467,5,1,0,0,1459,1464,3, + 58,29,0,1460,1461,5,3,0,0,1461,1463,3,58,29,0,1462,1460,1,0,0,0, + 1463,1466,1,0,0,0,1464,1462,1,0,0,0,1464,1465,1,0,0,0,1465,1468, + 1,0,0,0,1466,1464,1,0,0,0,1467,1459,1,0,0,0,1467,1468,1,0,0,0,1468, + 1469,1,0,0,0,1469,1497,5,2,0,0,1470,1471,5,55,0,0,1471,1480,5,1, + 0,0,1472,1477,3,58,29,0,1473,1474,5,3,0,0,1474,1476,3,58,29,0,1475, + 1473,1,0,0,0,1476,1479,1,0,0,0,1477,1475,1,0,0,0,1477,1478,1,0,0, + 0,1478,1481,1,0,0,0,1479,1477,1,0,0,0,1480,1472,1,0,0,0,1480,1481, + 1,0,0,0,1481,1482,1,0,0,0,1482,1497,5,2,0,0,1483,1484,5,115,0,0, + 1484,1485,5,252,0,0,1485,1486,5,1,0,0,1486,1491,3,58,29,0,1487,1488, + 5,3,0,0,1488,1490,3,58,29,0,1489,1487,1,0,0,0,1490,1493,1,0,0,0, + 1491,1489,1,0,0,0,1491,1492,1,0,0,0,1492,1494,1,0,0,0,1493,1491, + 1,0,0,0,1494,1495,5,2,0,0,1495,1497,1,0,0,0,1496,1456,1,0,0,0,1496, + 1457,1,0,0,0,1496,1470,1,0,0,0,1496,1483,1,0,0,0,1497,57,1,0,0,0, + 1498,1507,5,1,0,0,1499,1504,3,60,30,0,1500,1501,5,3,0,0,1501,1503, + 3,60,30,0,1502,1500,1,0,0,0,1503,1506,1,0,0,0,1504,1502,1,0,0,0, + 1504,1505,1,0,0,0,1505,1508,1,0,0,0,1506,1504,1,0,0,0,1507,1499, + 1,0,0,0,1507,1508,1,0,0,0,1508,1509,1,0,0,0,1509,1512,5,2,0,0,1510, + 1512,3,60,30,0,1511,1498,1,0,0,0,1511,1510,1,0,0,0,1512,59,1,0,0, + 0,1513,1516,3,274,137,0,1514,1516,3,136,68,0,1515,1513,1,0,0,0,1515, + 1514,1,0,0,0,1516,61,1,0,0,0,1517,1518,3,292,146,0,1518,1519,5,28, + 0,0,1519,1520,5,1,0,0,1520,1521,3,64,32,0,1521,1522,5,2,0,0,1522, + 63,1,0,0,0,1523,1525,3,292,146,0,1524,1523,1,0,0,0,1524,1525,1,0, + 0,0,1525,1536,1,0,0,0,1526,1527,5,201,0,0,1527,1528,5,36,0,0,1528, + 1533,3,136,68,0,1529,1530,5,3,0,0,1530,1532,3,136,68,0,1531,1529, + 1,0,0,0,1532,1535,1,0,0,0,1533,1531,1,0,0,0,1533,1534,1,0,0,0,1534, + 1537,1,0,0,0,1535,1533,1,0,0,0,1536,1526,1,0,0,0,1536,1537,1,0,0, + 0,1537,1548,1,0,0,0,1538,1539,5,195,0,0,1539,1540,5,36,0,0,1540, + 1545,3,50,25,0,1541,1542,5,3,0,0,1542,1544,3,50,25,0,1543,1541,1, + 0,0,0,1544,1547,1,0,0,0,1545,1543,1,0,0,0,1545,1546,1,0,0,0,1546, + 1549,1,0,0,0,1547,1545,1,0,0,0,1548,1538,1,0,0,0,1548,1549,1,0,0, + 0,1549,1551,1,0,0,0,1550,1552,3,198,99,0,1551,1550,1,0,0,0,1551, + 1552,1,0,0,0,1552,65,1,0,0,0,1553,1555,3,292,146,0,1554,1556,3,108, + 54,0,1555,1554,1,0,0,0,1555,1556,1,0,0,0,1556,1557,1,0,0,0,1557, + 1558,5,28,0,0,1558,1559,5,1,0,0,1559,1560,3,22,11,0,1560,1561,5, + 2,0,0,1561,67,1,0,0,0,1562,1563,7,10,0,0,1563,69,1,0,0,0,1564,1567, + 3,274,137,0,1565,1567,3,136,68,0,1566,1564,1,0,0,0,1566,1565,1,0, + 0,0,1567,1572,1,0,0,0,1568,1570,5,28,0,0,1569,1568,1,0,0,0,1569, + 1570,1,0,0,0,1570,1571,1,0,0,0,1571,1573,3,292,146,0,1572,1569,1, + 0,0,0,1572,1573,1,0,0,0,1573,1583,1,0,0,0,1574,1575,3,144,72,0,1575, + 1576,5,4,0,0,1576,1579,5,320,0,0,1577,1578,5,28,0,0,1578,1580,3, + 108,54,0,1579,1577,1,0,0,0,1579,1580,1,0,0,0,1580,1583,1,0,0,0,1581, + 1583,5,320,0,0,1582,1566,1,0,0,0,1582,1574,1,0,0,0,1582,1581,1,0, + 0,0,1583,71,1,0,0,0,1584,1585,6,36,-1,0,1585,1586,3,78,39,0,1586, + 1605,1,0,0,0,1587,1601,10,2,0,0,1588,1589,5,54,0,0,1589,1590,5,136, + 0,0,1590,1602,3,78,39,0,1591,1592,3,74,37,0,1592,1593,5,136,0,0, + 1593,1594,3,72,36,0,1594,1595,3,76,38,0,1595,1602,1,0,0,0,1596,1597, + 5,172,0,0,1597,1598,3,74,37,0,1598,1599,5,136,0,0,1599,1600,3,78, + 39,0,1600,1602,1,0,0,0,1601,1588,1,0,0,0,1601,1591,1,0,0,0,1601, + 1596,1,0,0,0,1602,1604,1,0,0,0,1603,1587,1,0,0,0,1604,1607,1,0,0, + 0,1605,1603,1,0,0,0,1605,1606,1,0,0,0,1606,73,1,0,0,0,1607,1605, + 1,0,0,0,1608,1610,5,125,0,0,1609,1608,1,0,0,0,1609,1610,1,0,0,0, + 1610,1624,1,0,0,0,1611,1613,5,152,0,0,1612,1614,5,197,0,0,1613,1612, + 1,0,0,0,1613,1614,1,0,0,0,1614,1624,1,0,0,0,1615,1617,5,234,0,0, + 1616,1618,5,197,0,0,1617,1616,1,0,0,0,1617,1618,1,0,0,0,1618,1624, + 1,0,0,0,1619,1621,5,106,0,0,1620,1622,5,197,0,0,1621,1620,1,0,0, + 0,1621,1622,1,0,0,0,1622,1624,1,0,0,0,1623,1609,1,0,0,0,1623,1611, + 1,0,0,0,1623,1615,1,0,0,0,1623,1619,1,0,0,0,1624,75,1,0,0,0,1625, + 1626,5,190,0,0,1626,1640,3,138,69,0,1627,1628,5,290,0,0,1628,1629, + 5,1,0,0,1629,1634,3,292,146,0,1630,1631,5,3,0,0,1631,1633,3,292, + 146,0,1632,1630,1,0,0,0,1633,1636,1,0,0,0,1634,1632,1,0,0,0,1634, + 1635,1,0,0,0,1635,1637,1,0,0,0,1636,1634,1,0,0,0,1637,1638,5,2,0, + 0,1638,1640,1,0,0,0,1639,1625,1,0,0,0,1639,1627,1,0,0,0,1640,77, + 1,0,0,0,1641,1648,3,88,44,0,1642,1643,5,262,0,0,1643,1644,3,80,40, + 0,1644,1645,5,1,0,0,1645,1646,3,136,68,0,1646,1647,5,2,0,0,1647, + 1649,1,0,0,0,1648,1642,1,0,0,0,1648,1649,1,0,0,0,1649,79,1,0,0,0, + 1650,1651,7,11,0,0,1651,81,1,0,0,0,1652,1653,7,12,0,0,1653,83,1, + 0,0,0,1654,1661,5,89,0,0,1655,1657,5,274,0,0,1656,1658,3,168,84, + 0,1657,1656,1,0,0,0,1657,1658,1,0,0,0,1658,1659,1,0,0,0,1659,1661, + 3,86,43,0,1660,1654,1,0,0,0,1660,1655,1,0,0,0,1661,85,1,0,0,0,1662, + 1663,5,304,0,0,1663,1667,5,51,0,0,1664,1665,5,306,0,0,1665,1667, + 5,51,0,0,1666,1662,1,0,0,0,1666,1664,1,0,0,0,1667,87,1,0,0,0,1668, + 1751,3,102,51,0,1669,1670,5,166,0,0,1670,1681,5,1,0,0,1671,1672, + 5,201,0,0,1672,1673,5,36,0,0,1673,1678,3,136,68,0,1674,1675,5,3, + 0,0,1675,1677,3,136,68,0,1676,1674,1,0,0,0,1677,1680,1,0,0,0,1678, + 1676,1,0,0,0,1678,1679,1,0,0,0,1679,1682,1,0,0,0,1680,1678,1,0,0, + 0,1681,1671,1,0,0,0,1681,1682,1,0,0,0,1682,1693,1,0,0,0,1683,1684, + 5,195,0,0,1684,1685,5,36,0,0,1685,1690,3,50,25,0,1686,1687,5,3,0, + 0,1687,1689,3,50,25,0,1688,1686,1,0,0,0,1689,1692,1,0,0,0,1690,1688, + 1,0,0,0,1690,1691,1,0,0,0,1691,1694,1,0,0,0,1692,1690,1,0,0,0,1693, + 1683,1,0,0,0,1693,1694,1,0,0,0,1694,1704,1,0,0,0,1695,1696,5,168, + 0,0,1696,1701,3,90,45,0,1697,1698,5,3,0,0,1698,1700,3,90,45,0,1699, + 1697,1,0,0,0,1700,1703,1,0,0,0,1701,1699,1,0,0,0,1701,1702,1,0,0, + 0,1702,1705,1,0,0,0,1703,1701,1,0,0,0,1704,1695,1,0,0,0,1704,1705, + 1,0,0,0,1705,1707,1,0,0,0,1706,1708,3,92,46,0,1707,1706,1,0,0,0, + 1707,1708,1,0,0,0,1708,1712,1,0,0,0,1709,1710,5,21,0,0,1710,1711, + 5,163,0,0,1711,1713,3,96,48,0,1712,1709,1,0,0,0,1712,1713,1,0,0, + 0,1713,1715,1,0,0,0,1714,1716,7,13,0,0,1715,1714,1,0,0,0,1715,1716, + 1,0,0,0,1716,1717,1,0,0,0,1717,1718,5,206,0,0,1718,1719,5,1,0,0, + 1719,1720,3,204,102,0,1720,1730,5,2,0,0,1721,1722,5,257,0,0,1722, + 1727,3,98,49,0,1723,1724,5,3,0,0,1724,1726,3,98,49,0,1725,1723,1, + 0,0,0,1726,1729,1,0,0,0,1727,1725,1,0,0,0,1727,1728,1,0,0,0,1728, + 1731,1,0,0,0,1729,1727,1,0,0,0,1730,1721,1,0,0,0,1730,1731,1,0,0, + 0,1731,1732,1,0,0,0,1732,1733,5,71,0,0,1733,1738,3,100,50,0,1734, + 1735,5,3,0,0,1735,1737,3,100,50,0,1736,1734,1,0,0,0,1737,1740,1, + 0,0,0,1738,1736,1,0,0,0,1738,1739,1,0,0,0,1739,1741,1,0,0,0,1740, + 1738,1,0,0,0,1741,1749,5,2,0,0,1742,1744,5,28,0,0,1743,1742,1,0, + 0,0,1743,1744,1,0,0,0,1744,1745,1,0,0,0,1745,1747,3,292,146,0,1746, + 1748,3,108,54,0,1747,1746,1,0,0,0,1747,1748,1,0,0,0,1748,1750,1, + 0,0,0,1749,1743,1,0,0,0,1749,1750,1,0,0,0,1750,1752,1,0,0,0,1751, + 1669,1,0,0,0,1751,1752,1,0,0,0,1752,89,1,0,0,0,1753,1754,3,136,68, + 0,1754,1755,5,28,0,0,1755,1756,3,292,146,0,1756,91,1,0,0,0,1757, + 1758,5,191,0,0,1758,1759,5,239,0,0,1759,1760,5,207,0,0,1760,1769, + 5,163,0,0,1761,1762,5,22,0,0,1762,1763,5,240,0,0,1763,1764,5,207, + 0,0,1764,1766,5,163,0,0,1765,1767,3,94,47,0,1766,1765,1,0,0,0,1766, + 1767,1,0,0,0,1767,1769,1,0,0,0,1768,1757,1,0,0,0,1768,1761,1,0,0, + 0,1769,93,1,0,0,0,1770,1771,5,253,0,0,1771,1772,5,85,0,0,1772,1780, + 5,165,0,0,1773,1774,5,189,0,0,1774,1775,5,85,0,0,1775,1780,5,165, + 0,0,1776,1777,5,304,0,0,1777,1778,5,284,0,0,1778,1780,5,240,0,0, + 1779,1770,1,0,0,0,1779,1773,1,0,0,0,1779,1776,1,0,0,0,1780,95,1, + 0,0,0,1781,1782,5,5,0,0,1782,1783,5,269,0,0,1783,1784,5,174,0,0, + 1784,1801,5,239,0,0,1785,1786,5,5,0,0,1786,1787,5,204,0,0,1787,1788, + 5,148,0,0,1788,1801,5,239,0,0,1789,1790,5,5,0,0,1790,1791,5,269, + 0,0,1791,1792,5,101,0,0,1792,1801,3,292,146,0,1793,1794,5,5,0,0, + 1794,1795,5,269,0,0,1795,1796,5,148,0,0,1796,1801,3,292,146,0,1797, + 1798,5,5,0,0,1798,1799,5,269,0,0,1799,1801,3,292,146,0,1800,1781, + 1,0,0,0,1800,1785,1,0,0,0,1800,1789,1,0,0,0,1800,1793,1,0,0,0,1800, + 1797,1,0,0,0,1801,97,1,0,0,0,1802,1803,3,292,146,0,1803,1804,5,312, + 0,0,1804,1805,5,1,0,0,1805,1810,3,292,146,0,1806,1807,5,3,0,0,1807, + 1809,3,292,146,0,1808,1806,1,0,0,0,1809,1812,1,0,0,0,1810,1808,1, + 0,0,0,1810,1811,1,0,0,0,1811,1813,1,0,0,0,1812,1810,1,0,0,0,1813, + 1814,5,2,0,0,1814,99,1,0,0,0,1815,1816,3,292,146,0,1816,1817,5,28, + 0,0,1817,1818,3,136,68,0,1818,101,1,0,0,0,1819,1827,3,110,55,0,1820, + 1822,5,28,0,0,1821,1820,1,0,0,0,1821,1822,1,0,0,0,1822,1823,1,0, + 0,0,1823,1825,3,292,146,0,1824,1826,3,108,54,0,1825,1824,1,0,0,0, + 1825,1826,1,0,0,0,1826,1828,1,0,0,0,1827,1821,1,0,0,0,1827,1828, + 1,0,0,0,1828,103,1,0,0,0,1829,1830,5,1,0,0,1830,1835,3,276,138,0, + 1831,1832,5,3,0,0,1832,1834,3,276,138,0,1833,1831,1,0,0,0,1834,1837, + 1,0,0,0,1835,1833,1,0,0,0,1835,1836,1,0,0,0,1836,1838,1,0,0,0,1837, + 1835,1,0,0,0,1838,1839,5,2,0,0,1839,105,1,0,0,0,1840,1841,5,1,0, + 0,1841,1846,3,274,137,0,1842,1843,5,3,0,0,1843,1845,3,274,137,0, + 1844,1842,1,0,0,0,1845,1848,1,0,0,0,1846,1844,1,0,0,0,1846,1847, + 1,0,0,0,1847,1849,1,0,0,0,1848,1846,1,0,0,0,1849,1850,5,2,0,0,1850, + 107,1,0,0,0,1851,1852,5,1,0,0,1852,1857,3,292,146,0,1853,1854,5, + 3,0,0,1854,1856,3,292,146,0,1855,1853,1,0,0,0,1856,1859,1,0,0,0, + 1857,1855,1,0,0,0,1857,1858,1,0,0,0,1858,1860,1,0,0,0,1859,1857, + 1,0,0,0,1860,1861,5,2,0,0,1861,109,1,0,0,0,1862,1864,3,252,126,0, + 1863,1865,3,280,140,0,1864,1863,1,0,0,0,1864,1865,1,0,0,0,1865,1934, + 1,0,0,0,1866,1867,5,1,0,0,1867,1868,3,22,11,0,1868,1869,5,2,0,0, + 1869,1934,1,0,0,0,1870,1871,5,285,0,0,1871,1872,5,1,0,0,1872,1877, + 3,136,68,0,1873,1874,5,3,0,0,1874,1876,3,136,68,0,1875,1873,1,0, + 0,0,1876,1879,1,0,0,0,1877,1875,1,0,0,0,1877,1878,1,0,0,0,1878,1880, + 1,0,0,0,1879,1877,1,0,0,0,1880,1883,5,2,0,0,1881,1882,5,304,0,0, + 1882,1884,5,196,0,0,1883,1881,1,0,0,0,1883,1884,1,0,0,0,1884,1934, + 1,0,0,0,1885,1886,5,149,0,0,1886,1887,5,1,0,0,1887,1888,3,22,11, + 0,1888,1889,5,2,0,0,1889,1934,1,0,0,0,1890,1891,5,260,0,0,1891,1892, + 5,1,0,0,1892,1893,3,122,61,0,1893,1894,5,2,0,0,1894,1934,1,0,0,0, + 1895,1896,5,1,0,0,1896,1897,3,72,36,0,1897,1898,5,2,0,0,1898,1934, + 1,0,0,0,1899,1900,5,142,0,0,1900,1901,5,1,0,0,1901,1902,3,146,73, + 0,1902,1903,5,45,0,0,1903,1904,5,1,0,0,1904,1909,3,112,56,0,1905, + 1906,5,3,0,0,1906,1908,3,112,56,0,1907,1905,1,0,0,0,1908,1911,1, + 0,0,0,1909,1907,1,0,0,0,1909,1910,1,0,0,0,1910,1912,1,0,0,0,1911, + 1909,1,0,0,0,1912,1924,5,2,0,0,1913,1914,5,210,0,0,1914,1915,5,1, + 0,0,1915,1916,3,114,57,0,1916,1917,5,2,0,0,1917,1925,1,0,0,0,1918, + 1919,5,210,0,0,1919,1920,5,70,0,0,1920,1921,5,1,0,0,1921,1922,3, + 120,60,0,1922,1923,5,2,0,0,1923,1925,1,0,0,0,1924,1913,1,0,0,0,1924, + 1918,1,0,0,0,1924,1925,1,0,0,0,1925,1929,1,0,0,0,1926,1927,7,14, + 0,0,1927,1928,5,190,0,0,1928,1930,5,89,0,0,1929,1926,1,0,0,0,1929, + 1930,1,0,0,0,1930,1931,1,0,0,0,1931,1932,5,2,0,0,1932,1934,1,0,0, + 0,1933,1862,1,0,0,0,1933,1866,1,0,0,0,1933,1870,1,0,0,0,1933,1885, + 1,0,0,0,1933,1890,1,0,0,0,1933,1895,1,0,0,0,1933,1899,1,0,0,0,1934, + 111,1,0,0,0,1935,1936,3,292,146,0,1936,1937,5,103,0,0,1937,1938, + 5,196,0,0,1938,2013,1,0,0,0,1939,1940,3,292,146,0,1940,1943,3,184, + 92,0,1941,1942,5,205,0,0,1942,1944,3,168,84,0,1943,1941,1,0,0,0, + 1943,1944,1,0,0,0,1944,1949,1,0,0,0,1945,1946,3,156,78,0,1946,1947, + 5,190,0,0,1947,1948,5,85,0,0,1948,1950,1,0,0,0,1949,1945,1,0,0,0, + 1949,1950,1,0,0,0,1950,1955,1,0,0,0,1951,1952,3,156,78,0,1952,1953, + 5,190,0,0,1953,1954,5,89,0,0,1954,1956,1,0,0,0,1955,1951,1,0,0,0, + 1955,1956,1,0,0,0,1956,2013,1,0,0,0,1957,1958,3,292,146,0,1958,1959, + 3,184,92,0,1959,1960,5,104,0,0,1960,1963,3,150,75,0,1961,1962,5, + 205,0,0,1962,1964,3,168,84,0,1963,1961,1,0,0,0,1963,1964,1,0,0,0, + 1964,1968,1,0,0,0,1965,1966,3,158,79,0,1966,1967,5,308,0,0,1967, + 1969,1,0,0,0,1968,1965,1,0,0,0,1968,1969,1,0,0,0,1969,1977,1,0,0, + 0,1970,1971,7,15,0,0,1971,1975,5,218,0,0,1972,1973,5,190,0,0,1973, + 1974,5,242,0,0,1974,1976,5,264,0,0,1975,1972,1,0,0,0,1975,1976,1, + 0,0,0,1976,1978,1,0,0,0,1977,1970,1,0,0,0,1977,1978,1,0,0,0,1978, + 1983,1,0,0,0,1979,1980,3,160,80,0,1980,1981,5,190,0,0,1981,1982, + 5,85,0,0,1982,1984,1,0,0,0,1983,1979,1,0,0,0,1983,1984,1,0,0,0,1984, + 1989,1,0,0,0,1985,1986,3,160,80,0,1986,1987,5,190,0,0,1987,1988, + 5,89,0,0,1988,1990,1,0,0,0,1989,1985,1,0,0,0,1989,1990,1,0,0,0,1990, + 2013,1,0,0,0,1991,1993,5,173,0,0,1992,1994,5,205,0,0,1993,1992,1, + 0,0,0,1993,1994,1,0,0,0,1994,1995,1,0,0,0,1995,1998,3,168,84,0,1996, + 1997,5,28,0,0,1997,1999,3,292,146,0,1998,1996,1,0,0,0,1998,1999, + 1,0,0,0,1999,2000,1,0,0,0,2000,2001,5,45,0,0,2001,2002,5,1,0,0,2002, + 2007,3,112,56,0,2003,2004,5,3,0,0,2004,2006,3,112,56,0,2005,2003, + 1,0,0,0,2006,2009,1,0,0,0,2007,2005,1,0,0,0,2007,2008,1,0,0,0,2008, + 2010,1,0,0,0,2009,2007,1,0,0,0,2010,2011,5,2,0,0,2011,2013,1,0,0, + 0,2012,1935,1,0,0,0,2012,1939,1,0,0,0,2012,1957,1,0,0,0,2012,1991, + 1,0,0,0,2013,113,1,0,0,0,2014,2040,3,116,58,0,2015,2016,3,116,58, + 0,2016,2017,7,16,0,0,2017,2018,3,118,59,0,2018,2040,1,0,0,0,2019, + 2020,3,118,59,0,2020,2021,5,281,0,0,2021,2026,3,118,59,0,2022,2023, + 5,281,0,0,2023,2025,3,118,59,0,2024,2022,1,0,0,0,2025,2028,1,0,0, + 0,2026,2024,1,0,0,0,2026,2027,1,0,0,0,2027,2040,1,0,0,0,2028,2026, + 1,0,0,0,2029,2030,3,118,59,0,2030,2031,5,54,0,0,2031,2036,3,118, + 59,0,2032,2033,5,54,0,0,2033,2035,3,118,59,0,2034,2032,1,0,0,0,2035, + 2038,1,0,0,0,2036,2034,1,0,0,0,2036,2037,1,0,0,0,2037,2040,1,0,0, + 0,2038,2036,1,0,0,0,2039,2014,1,0,0,0,2039,2015,1,0,0,0,2039,2019, + 1,0,0,0,2039,2029,1,0,0,0,2040,115,1,0,0,0,2041,2042,3,292,146,0, + 2042,117,1,0,0,0,2043,2049,3,116,58,0,2044,2045,5,1,0,0,2045,2046, + 3,114,57,0,2046,2047,5,2,0,0,2047,2049,1,0,0,0,2048,2043,1,0,0,0, + 2048,2044,1,0,0,0,2049,119,1,0,0,0,2050,2053,7,16,0,0,2051,2052, + 5,3,0,0,2052,2054,7,17,0,0,2053,2051,1,0,0,0,2053,2054,1,0,0,0,2054, + 2061,1,0,0,0,2055,2058,7,17,0,0,2056,2057,5,3,0,0,2057,2059,7,16, + 0,0,2058,2056,1,0,0,0,2058,2059,1,0,0,0,2059,2061,1,0,0,0,2060,2050, + 1,0,0,0,2060,2055,1,0,0,0,2061,121,1,0,0,0,2062,2063,3,270,135,0, + 2063,2072,5,1,0,0,2064,2069,3,124,62,0,2065,2066,5,3,0,0,2066,2068, + 3,124,62,0,2067,2065,1,0,0,0,2068,2071,1,0,0,0,2069,2067,1,0,0,0, + 2069,2070,1,0,0,0,2070,2073,1,0,0,0,2071,2069,1,0,0,0,2072,2064, + 1,0,0,0,2072,2073,1,0,0,0,2073,2083,1,0,0,0,2074,2075,5,52,0,0,2075, + 2080,3,134,67,0,2076,2077,5,3,0,0,2077,2079,3,134,67,0,2078,2076, + 1,0,0,0,2079,2082,1,0,0,0,2080,2078,1,0,0,0,2080,2081,1,0,0,0,2081, + 2084,1,0,0,0,2082,2080,1,0,0,0,2083,2074,1,0,0,0,2083,2084,1,0,0, + 0,2084,2085,1,0,0,0,2085,2086,5,2,0,0,2086,123,1,0,0,0,2087,2088, + 3,292,146,0,2088,2089,5,6,0,0,2089,2091,1,0,0,0,2090,2087,1,0,0, + 0,2090,2091,1,0,0,0,2091,2095,1,0,0,0,2092,2096,3,126,63,0,2093, + 2096,3,130,65,0,2094,2096,3,136,68,0,2095,2092,1,0,0,0,2095,2093, + 1,0,0,0,2095,2094,1,0,0,0,2096,125,1,0,0,0,2097,2115,3,128,64,0, + 2098,2099,5,201,0,0,2099,2113,5,36,0,0,2100,2109,5,1,0,0,2101,2106, + 3,136,68,0,2102,2103,5,3,0,0,2103,2105,3,136,68,0,2104,2102,1,0, + 0,0,2105,2108,1,0,0,0,2106,2104,1,0,0,0,2106,2107,1,0,0,0,2107,2110, + 1,0,0,0,2108,2106,1,0,0,0,2109,2101,1,0,0,0,2109,2110,1,0,0,0,2110, + 2111,1,0,0,0,2111,2114,5,2,0,0,2112,2114,3,136,68,0,2113,2100,1, + 0,0,0,2113,2112,1,0,0,0,2114,2116,1,0,0,0,2115,2098,1,0,0,0,2115, + 2116,1,0,0,0,2116,2123,1,0,0,0,2117,2118,5,217,0,0,2118,2119,5,300, + 0,0,2119,2124,5,85,0,0,2120,2121,5,144,0,0,2121,2122,5,300,0,0,2122, + 2124,5,85,0,0,2123,2117,1,0,0,0,2123,2120,1,0,0,0,2123,2124,1,0, + 0,0,2124,2141,1,0,0,0,2125,2126,5,195,0,0,2126,2139,5,36,0,0,2127, + 2128,5,1,0,0,2128,2133,3,50,25,0,2129,2130,5,3,0,0,2130,2132,3,50, + 25,0,2131,2129,1,0,0,0,2132,2135,1,0,0,0,2133,2131,1,0,0,0,2133, + 2134,1,0,0,0,2134,2136,1,0,0,0,2135,2133,1,0,0,0,2136,2137,5,2,0, + 0,2137,2140,1,0,0,0,2138,2140,3,50,25,0,2139,2127,1,0,0,0,2139,2138, + 1,0,0,0,2140,2142,1,0,0,0,2141,2125,1,0,0,0,2141,2142,1,0,0,0,2142, + 127,1,0,0,0,2143,2144,5,260,0,0,2144,2145,5,1,0,0,2145,2146,3,254, + 127,0,2146,2154,5,2,0,0,2147,2149,5,28,0,0,2148,2147,1,0,0,0,2148, + 2149,1,0,0,0,2149,2150,1,0,0,0,2150,2152,3,292,146,0,2151,2153,3, + 108,54,0,2152,2151,1,0,0,0,2152,2153,1,0,0,0,2153,2155,1,0,0,0,2154, + 2148,1,0,0,0,2154,2155,1,0,0,0,2155,2170,1,0,0,0,2156,2157,5,260, + 0,0,2157,2158,5,1,0,0,2158,2159,3,22,11,0,2159,2167,5,2,0,0,2160, + 2162,5,28,0,0,2161,2160,1,0,0,0,2161,2162,1,0,0,0,2162,2163,1,0, + 0,0,2163,2165,3,292,146,0,2164,2166,3,108,54,0,2165,2164,1,0,0,0, + 2165,2166,1,0,0,0,2166,2168,1,0,0,0,2167,2161,1,0,0,0,2167,2168, + 1,0,0,0,2168,2170,1,0,0,0,2169,2143,1,0,0,0,2169,2156,1,0,0,0,2170, + 129,1,0,0,0,2171,2172,5,77,0,0,2172,2173,5,1,0,0,2173,2178,3,132, + 66,0,2174,2175,5,3,0,0,2175,2177,3,132,66,0,2176,2174,1,0,0,0,2177, + 2180,1,0,0,0,2178,2176,1,0,0,0,2178,2179,1,0,0,0,2179,2181,1,0,0, + 0,2180,2178,1,0,0,0,2181,2182,5,2,0,0,2182,2190,1,0,0,0,2183,2184, + 5,41,0,0,2184,2185,5,1,0,0,2185,2186,5,183,0,0,2186,2187,5,28,0, + 0,2187,2188,5,77,0,0,2188,2190,5,2,0,0,2189,2171,1,0,0,0,2189,2183, + 1,0,0,0,2190,131,1,0,0,0,2191,2193,3,292,146,0,2192,2194,3,184,92, + 0,2193,2192,1,0,0,0,2193,2194,1,0,0,0,2194,133,1,0,0,0,2195,2196, + 5,1,0,0,2196,2197,3,278,139,0,2197,2198,5,3,0,0,2198,2203,3,278, + 139,0,2199,2200,5,3,0,0,2200,2202,3,278,139,0,2201,2199,1,0,0,0, + 2202,2205,1,0,0,0,2203,2201,1,0,0,0,2203,2204,1,0,0,0,2204,2206, + 1,0,0,0,2205,2203,1,0,0,0,2206,2207,5,2,0,0,2207,135,1,0,0,0,2208, + 2209,3,138,69,0,2209,137,1,0,0,0,2210,2211,6,69,-1,0,2211,2213,3, + 142,71,0,2212,2214,3,140,70,0,2213,2212,1,0,0,0,2213,2214,1,0,0, + 0,2214,2218,1,0,0,0,2215,2216,5,182,0,0,2216,2218,3,138,69,3,2217, + 2210,1,0,0,0,2217,2215,1,0,0,0,2218,2227,1,0,0,0,2219,2220,10,2, + 0,0,2220,2221,5,25,0,0,2221,2226,3,138,69,3,2222,2223,10,1,0,0,2223, + 2224,5,194,0,0,2224,2226,3,138,69,2,2225,2219,1,0,0,0,2225,2222, + 1,0,0,0,2226,2229,1,0,0,0,2227,2225,1,0,0,0,2227,2228,1,0,0,0,2228, + 139,1,0,0,0,2229,2227,1,0,0,0,2230,2231,3,172,86,0,2231,2232,3,142, + 71,0,2232,2292,1,0,0,0,2233,2234,3,172,86,0,2234,2235,3,174,87,0, + 2235,2236,5,1,0,0,2236,2237,3,22,11,0,2237,2238,5,2,0,0,2238,2292, + 1,0,0,0,2239,2241,5,182,0,0,2240,2239,1,0,0,0,2240,2241,1,0,0,0, + 2241,2242,1,0,0,0,2242,2243,5,34,0,0,2243,2244,3,142,71,0,2244,2245, + 5,25,0,0,2245,2246,3,142,71,0,2246,2292,1,0,0,0,2247,2249,5,182, + 0,0,2248,2247,1,0,0,0,2248,2249,1,0,0,0,2249,2250,1,0,0,0,2250,2251, + 5,122,0,0,2251,2252,5,1,0,0,2252,2257,3,136,68,0,2253,2254,5,3,0, + 0,2254,2256,3,136,68,0,2255,2253,1,0,0,0,2256,2259,1,0,0,0,2257, + 2255,1,0,0,0,2257,2258,1,0,0,0,2258,2260,1,0,0,0,2259,2257,1,0,0, + 0,2260,2261,5,2,0,0,2261,2292,1,0,0,0,2262,2264,5,182,0,0,2263,2262, + 1,0,0,0,2263,2264,1,0,0,0,2264,2265,1,0,0,0,2265,2266,5,122,0,0, + 2266,2267,5,1,0,0,2267,2268,3,22,11,0,2268,2269,5,2,0,0,2269,2292, + 1,0,0,0,2270,2272,5,182,0,0,2271,2270,1,0,0,0,2271,2272,1,0,0,0, + 2272,2273,1,0,0,0,2273,2274,5,154,0,0,2274,2277,3,142,71,0,2275, + 2276,5,90,0,0,2276,2278,3,142,71,0,2277,2275,1,0,0,0,2277,2278,1, + 0,0,0,2278,2292,1,0,0,0,2279,2281,5,133,0,0,2280,2282,5,182,0,0, + 2281,2280,1,0,0,0,2281,2282,1,0,0,0,2282,2283,1,0,0,0,2283,2292, + 5,183,0,0,2284,2286,5,133,0,0,2285,2287,5,182,0,0,2286,2285,1,0, + 0,0,2286,2287,1,0,0,0,2287,2288,1,0,0,0,2288,2289,5,79,0,0,2289, + 2290,5,105,0,0,2290,2292,3,142,71,0,2291,2230,1,0,0,0,2291,2233, + 1,0,0,0,2291,2240,1,0,0,0,2291,2248,1,0,0,0,2291,2263,1,0,0,0,2291, + 2271,1,0,0,0,2291,2279,1,0,0,0,2291,2284,1,0,0,0,2292,141,1,0,0, + 0,2293,2294,6,71,-1,0,2294,2298,3,144,72,0,2295,2296,7,18,0,0,2296, + 2298,3,142,71,4,2297,2293,1,0,0,0,2297,2295,1,0,0,0,2298,2313,1, + 0,0,0,2299,2300,10,3,0,0,2300,2301,7,19,0,0,2301,2312,3,142,71,4, + 2302,2303,10,2,0,0,2303,2304,7,18,0,0,2304,2312,3,142,71,3,2305, + 2306,10,1,0,0,2306,2307,5,323,0,0,2307,2312,3,142,71,2,2308,2309, + 10,5,0,0,2309,2310,5,30,0,0,2310,2312,3,170,85,0,2311,2299,1,0,0, + 0,2311,2302,1,0,0,0,2311,2305,1,0,0,0,2311,2308,1,0,0,0,2312,2315, + 1,0,0,0,2313,2311,1,0,0,0,2313,2314,1,0,0,0,2314,143,1,0,0,0,2315, + 2313,1,0,0,0,2316,2317,6,72,-1,0,2317,2770,5,183,0,0,2318,2770,3, + 178,89,0,2319,2320,3,292,146,0,2320,2321,3,168,84,0,2321,2770,1, + 0,0,0,2322,2323,5,82,0,0,2323,2324,5,213,0,0,2324,2770,3,168,84, + 0,2325,2770,3,294,147,0,2326,2770,3,176,88,0,2327,2770,3,168,84, + 0,2328,2770,5,328,0,0,2329,2770,5,324,0,0,2330,2331,5,211,0,0,2331, + 2332,5,1,0,0,2332,2333,3,142,71,0,2333,2334,5,122,0,0,2334,2335, + 3,142,71,0,2335,2336,5,2,0,0,2336,2770,1,0,0,0,2337,2338,5,1,0,0, + 2338,2341,3,136,68,0,2339,2340,5,3,0,0,2340,2342,3,136,68,0,2341, + 2339,1,0,0,0,2342,2343,1,0,0,0,2343,2341,1,0,0,0,2343,2344,1,0,0, + 0,2344,2345,1,0,0,0,2345,2346,5,2,0,0,2346,2770,1,0,0,0,2347,2348, + 5,239,0,0,2348,2349,5,1,0,0,2349,2354,3,136,68,0,2350,2351,5,3,0, + 0,2351,2353,3,136,68,0,2352,2350,1,0,0,0,2353,2356,1,0,0,0,2354, + 2352,1,0,0,0,2354,2355,1,0,0,0,2355,2357,1,0,0,0,2356,2354,1,0,0, + 0,2357,2358,5,2,0,0,2358,2770,1,0,0,0,2359,2360,5,156,0,0,2360,2362, + 5,1,0,0,2361,2363,3,68,34,0,2362,2361,1,0,0,0,2362,2363,1,0,0,0, + 2363,2364,1,0,0,0,2364,2367,3,136,68,0,2365,2366,5,3,0,0,2366,2368, + 3,168,84,0,2367,2365,1,0,0,0,2367,2368,1,0,0,0,2368,2372,1,0,0,0, + 2369,2370,5,190,0,0,2370,2371,5,200,0,0,2371,2373,3,84,42,0,2372, + 2369,1,0,0,0,2372,2373,1,0,0,0,2373,2374,1,0,0,0,2374,2375,5,2,0, + 0,2375,2376,5,305,0,0,2376,2377,5,114,0,0,2377,2378,5,1,0,0,2378, + 2379,5,195,0,0,2379,2380,5,36,0,0,2380,2385,3,50,25,0,2381,2382, + 5,3,0,0,2382,2384,3,50,25,0,2383,2381,1,0,0,0,2384,2387,1,0,0,0, + 2385,2383,1,0,0,0,2385,2386,1,0,0,0,2386,2388,1,0,0,0,2387,2385, + 1,0,0,0,2388,2389,5,2,0,0,2389,2391,1,0,0,0,2390,2392,3,192,96,0, + 2391,2390,1,0,0,0,2391,2392,1,0,0,0,2392,2770,1,0,0,0,2393,2395, + 3,164,82,0,2394,2393,1,0,0,0,2394,2395,1,0,0,0,2395,2396,1,0,0,0, + 2396,2397,3,270,135,0,2397,2401,5,1,0,0,2398,2399,3,292,146,0,2399, + 2400,5,4,0,0,2400,2402,1,0,0,0,2401,2398,1,0,0,0,2401,2402,1,0,0, + 0,2402,2403,1,0,0,0,2403,2404,5,320,0,0,2404,2406,5,2,0,0,2405,2407, + 3,192,96,0,2406,2405,1,0,0,0,2406,2407,1,0,0,0,2407,2409,1,0,0,0, + 2408,2410,3,196,98,0,2409,2408,1,0,0,0,2409,2410,1,0,0,0,2410,2770, + 1,0,0,0,2411,2413,3,164,82,0,2412,2411,1,0,0,0,2412,2413,1,0,0,0, + 2413,2414,1,0,0,0,2414,2415,3,270,135,0,2415,2427,5,1,0,0,2416,2418, + 3,68,34,0,2417,2416,1,0,0,0,2417,2418,1,0,0,0,2418,2419,1,0,0,0, + 2419,2424,3,136,68,0,2420,2421,5,3,0,0,2421,2423,3,136,68,0,2422, + 2420,1,0,0,0,2423,2426,1,0,0,0,2424,2422,1,0,0,0,2424,2425,1,0,0, + 0,2425,2428,1,0,0,0,2426,2424,1,0,0,0,2427,2417,1,0,0,0,2427,2428, + 1,0,0,0,2428,2439,1,0,0,0,2429,2430,5,195,0,0,2430,2431,5,36,0,0, + 2431,2436,3,50,25,0,2432,2433,5,3,0,0,2433,2435,3,50,25,0,2434,2432, + 1,0,0,0,2435,2438,1,0,0,0,2436,2434,1,0,0,0,2436,2437,1,0,0,0,2437, + 2440,1,0,0,0,2438,2436,1,0,0,0,2439,2429,1,0,0,0,2439,2440,1,0,0, + 0,2440,2441,1,0,0,0,2441,2443,5,2,0,0,2442,2444,3,192,96,0,2443, + 2442,1,0,0,0,2443,2444,1,0,0,0,2444,2449,1,0,0,0,2445,2447,3,166, + 83,0,2446,2445,1,0,0,0,2446,2447,1,0,0,0,2447,2448,1,0,0,0,2448, + 2450,3,196,98,0,2449,2446,1,0,0,0,2449,2450,1,0,0,0,2450,2770,1, + 0,0,0,2451,2452,3,292,146,0,2452,2453,3,196,98,0,2453,2770,1,0,0, + 0,2454,2455,3,292,146,0,2455,2456,5,7,0,0,2456,2457,3,136,68,0,2457, + 2770,1,0,0,0,2458,2467,5,1,0,0,2459,2464,3,292,146,0,2460,2461,5, + 3,0,0,2461,2463,3,292,146,0,2462,2460,1,0,0,0,2463,2466,1,0,0,0, + 2464,2462,1,0,0,0,2464,2465,1,0,0,0,2465,2468,1,0,0,0,2466,2464, + 1,0,0,0,2467,2459,1,0,0,0,2467,2468,1,0,0,0,2468,2469,1,0,0,0,2469, + 2470,5,2,0,0,2470,2471,5,7,0,0,2471,2770,3,136,68,0,2472,2473,5, + 1,0,0,2473,2474,3,22,11,0,2474,2475,5,2,0,0,2475,2770,1,0,0,0,2476, + 2477,5,94,0,0,2477,2478,5,1,0,0,2478,2479,3,22,11,0,2479,2480,5, + 2,0,0,2480,2770,1,0,0,0,2481,2482,5,40,0,0,2482,2484,3,136,68,0, + 2483,2485,3,190,95,0,2484,2483,1,0,0,0,2485,2486,1,0,0,0,2486,2484, + 1,0,0,0,2486,2487,1,0,0,0,2487,2490,1,0,0,0,2488,2489,5,84,0,0,2489, + 2491,3,136,68,0,2490,2488,1,0,0,0,2490,2491,1,0,0,0,2491,2492,1, + 0,0,0,2492,2493,5,88,0,0,2493,2770,1,0,0,0,2494,2496,5,40,0,0,2495, + 2497,3,190,95,0,2496,2495,1,0,0,0,2497,2498,1,0,0,0,2498,2496,1, + 0,0,0,2498,2499,1,0,0,0,2499,2502,1,0,0,0,2500,2501,5,84,0,0,2501, + 2503,3,136,68,0,2502,2500,1,0,0,0,2502,2503,1,0,0,0,2503,2504,1, + 0,0,0,2504,2505,5,88,0,0,2505,2770,1,0,0,0,2506,2507,5,41,0,0,2507, + 2508,5,1,0,0,2508,2509,3,136,68,0,2509,2510,5,28,0,0,2510,2511,3, + 184,92,0,2511,2512,5,2,0,0,2512,2770,1,0,0,0,2513,2514,5,275,0,0, + 2514,2515,5,1,0,0,2515,2516,3,136,68,0,2516,2517,5,28,0,0,2517,2518, + 3,184,92,0,2518,2519,5,2,0,0,2519,2770,1,0,0,0,2520,2521,5,27,0, + 0,2521,2530,5,8,0,0,2522,2527,3,136,68,0,2523,2524,5,3,0,0,2524, + 2526,3,136,68,0,2525,2523,1,0,0,0,2526,2529,1,0,0,0,2527,2525,1, + 0,0,0,2527,2528,1,0,0,0,2528,2531,1,0,0,0,2529,2527,1,0,0,0,2530, + 2522,1,0,0,0,2530,2531,1,0,0,0,2531,2532,1,0,0,0,2532,2770,5,9,0, + 0,2533,2770,3,292,146,0,2534,2770,5,58,0,0,2535,2539,5,62,0,0,2536, + 2537,5,1,0,0,2537,2538,5,329,0,0,2538,2540,5,2,0,0,2539,2536,1,0, + 0,0,2539,2540,1,0,0,0,2540,2770,1,0,0,0,2541,2545,5,63,0,0,2542, + 2543,5,1,0,0,2543,2544,5,329,0,0,2544,2546,5,2,0,0,2545,2542,1,0, + 0,0,2545,2546,1,0,0,0,2546,2770,1,0,0,0,2547,2551,5,158,0,0,2548, + 2549,5,1,0,0,2549,2550,5,329,0,0,2550,2552,5,2,0,0,2551,2548,1,0, + 0,0,2551,2552,1,0,0,0,2552,2770,1,0,0,0,2553,2557,5,159,0,0,2554, + 2555,5,1,0,0,2555,2556,5,329,0,0,2556,2558,5,2,0,0,2557,2554,1,0, + 0,0,2557,2558,1,0,0,0,2558,2770,1,0,0,0,2559,2770,5,64,0,0,2560, + 2770,5,57,0,0,2561,2770,5,61,0,0,2562,2770,5,59,0,0,2563,2564,5, + 272,0,0,2564,2572,5,1,0,0,2565,2567,3,82,41,0,2566,2565,1,0,0,0, + 2566,2567,1,0,0,0,2567,2569,1,0,0,0,2568,2570,3,142,71,0,2569,2568, + 1,0,0,0,2569,2570,1,0,0,0,2570,2571,1,0,0,0,2571,2573,5,105,0,0, + 2572,2566,1,0,0,0,2572,2573,1,0,0,0,2573,2574,1,0,0,0,2574,2575, + 3,142,71,0,2575,2576,5,2,0,0,2576,2770,1,0,0,0,2577,2578,5,272,0, + 0,2578,2579,5,1,0,0,2579,2580,3,142,71,0,2580,2581,5,3,0,0,2581, + 2582,3,142,71,0,2582,2583,5,2,0,0,2583,2770,1,0,0,0,2584,2585,5, + 258,0,0,2585,2586,5,1,0,0,2586,2587,3,142,71,0,2587,2588,5,105,0, + 0,2588,2591,3,142,71,0,2589,2590,5,103,0,0,2590,2592,3,142,71,0, + 2591,2589,1,0,0,0,2591,2592,1,0,0,0,2592,2593,1,0,0,0,2593,2594, + 5,2,0,0,2594,2770,1,0,0,0,2595,2596,5,181,0,0,2596,2597,5,1,0,0, + 2597,2600,3,142,71,0,2598,2599,5,3,0,0,2599,2601,3,182,91,0,2600, + 2598,1,0,0,0,2600,2601,1,0,0,0,2601,2602,1,0,0,0,2602,2603,5,2,0, + 0,2603,2770,1,0,0,0,2604,2605,5,96,0,0,2605,2606,5,1,0,0,2606,2607, + 3,292,146,0,2607,2608,5,105,0,0,2608,2609,3,142,71,0,2609,2610,5, + 2,0,0,2610,2770,1,0,0,0,2611,2612,5,1,0,0,2612,2613,3,136,68,0,2613, + 2614,5,2,0,0,2614,2770,1,0,0,0,2615,2616,5,115,0,0,2616,2625,5,1, + 0,0,2617,2622,3,278,139,0,2618,2619,5,3,0,0,2619,2621,3,278,139, + 0,2620,2618,1,0,0,0,2621,2624,1,0,0,0,2622,2620,1,0,0,0,2622,2623, + 1,0,0,0,2623,2626,1,0,0,0,2624,2622,1,0,0,0,2625,2617,1,0,0,0,2625, + 2626,1,0,0,0,2626,2627,1,0,0,0,2627,2770,5,2,0,0,2628,2629,5,139, + 0,0,2629,2630,5,1,0,0,2630,2635,3,146,73,0,2631,2632,3,154,77,0, + 2632,2633,5,190,0,0,2633,2634,5,89,0,0,2634,2636,1,0,0,0,2635,2631, + 1,0,0,0,2635,2636,1,0,0,0,2636,2637,1,0,0,0,2637,2638,5,2,0,0,2638, + 2770,1,0,0,0,2639,2640,5,143,0,0,2640,2641,5,1,0,0,2641,2644,3,146, + 73,0,2642,2643,5,231,0,0,2643,2645,3,184,92,0,2644,2642,1,0,0,0, + 2644,2645,1,0,0,0,2645,2650,1,0,0,0,2646,2647,3,156,78,0,2647,2648, + 5,190,0,0,2648,2649,5,85,0,0,2649,2651,1,0,0,0,2650,2646,1,0,0,0, + 2650,2651,1,0,0,0,2651,2656,1,0,0,0,2652,2653,3,156,78,0,2653,2654, + 5,190,0,0,2654,2655,5,89,0,0,2655,2657,1,0,0,0,2656,2652,1,0,0,0, + 2656,2657,1,0,0,0,2657,2658,1,0,0,0,2658,2659,5,2,0,0,2659,2770, + 1,0,0,0,2660,2661,5,141,0,0,2661,2662,5,1,0,0,2662,2669,3,146,73, + 0,2663,2664,5,231,0,0,2664,2667,3,184,92,0,2665,2666,5,104,0,0,2666, + 2668,3,150,75,0,2667,2665,1,0,0,0,2667,2668,1,0,0,0,2668,2670,1, + 0,0,0,2669,2663,1,0,0,0,2669,2670,1,0,0,0,2670,2674,1,0,0,0,2671, + 2672,3,158,79,0,2672,2673,5,308,0,0,2673,2675,1,0,0,0,2674,2671, + 1,0,0,0,2674,2675,1,0,0,0,2675,2683,1,0,0,0,2676,2677,7,15,0,0,2677, + 2681,5,218,0,0,2678,2679,5,190,0,0,2679,2680,5,242,0,0,2680,2682, + 5,264,0,0,2681,2678,1,0,0,0,2681,2682,1,0,0,0,2682,2684,1,0,0,0, + 2683,2676,1,0,0,0,2683,2684,1,0,0,0,2684,2689,1,0,0,0,2685,2686, + 3,160,80,0,2686,2687,5,190,0,0,2687,2688,5,85,0,0,2688,2690,1,0, + 0,0,2689,2685,1,0,0,0,2689,2690,1,0,0,0,2690,2695,1,0,0,0,2691,2692, + 3,160,80,0,2692,2693,5,190,0,0,2693,2694,5,89,0,0,2694,2696,1,0, + 0,0,2695,2691,1,0,0,0,2695,2696,1,0,0,0,2696,2697,1,0,0,0,2697,2698, + 5,2,0,0,2698,2770,1,0,0,0,2699,2700,5,140,0,0,2700,2729,5,1,0,0, + 2701,2706,3,162,81,0,2702,2703,5,3,0,0,2703,2705,3,162,81,0,2704, + 2702,1,0,0,0,2705,2708,1,0,0,0,2706,2704,1,0,0,0,2706,2707,1,0,0, + 0,2707,2715,1,0,0,0,2708,2706,1,0,0,0,2709,2710,5,183,0,0,2710,2711, + 5,190,0,0,2711,2716,5,183,0,0,2712,2713,5,18,0,0,2713,2714,5,190, + 0,0,2714,2716,5,183,0,0,2715,2709,1,0,0,0,2715,2712,1,0,0,0,2715, + 2716,1,0,0,0,2716,2727,1,0,0,0,2717,2718,5,304,0,0,2718,2720,5,282, + 0,0,2719,2721,5,146,0,0,2720,2719,1,0,0,0,2720,2721,1,0,0,0,2721, + 2728,1,0,0,0,2722,2723,5,306,0,0,2723,2725,5,282,0,0,2724,2726,5, + 146,0,0,2725,2724,1,0,0,0,2725,2726,1,0,0,0,2726,2728,1,0,0,0,2727, + 2717,1,0,0,0,2727,2722,1,0,0,0,2727,2728,1,0,0,0,2728,2730,1,0,0, + 0,2729,2701,1,0,0,0,2729,2730,1,0,0,0,2730,2737,1,0,0,0,2731,2732, + 5,231,0,0,2732,2735,3,184,92,0,2733,2734,5,104,0,0,2734,2736,3,150, + 75,0,2735,2733,1,0,0,0,2735,2736,1,0,0,0,2736,2738,1,0,0,0,2737, + 2731,1,0,0,0,2737,2738,1,0,0,0,2738,2739,1,0,0,0,2739,2770,5,2,0, + 0,2740,2741,5,138,0,0,2741,2758,5,1,0,0,2742,2747,3,148,74,0,2743, + 2744,5,3,0,0,2744,2746,3,148,74,0,2745,2743,1,0,0,0,2746,2749,1, + 0,0,0,2747,2745,1,0,0,0,2747,2748,1,0,0,0,2748,2756,1,0,0,0,2749, + 2747,1,0,0,0,2750,2751,5,183,0,0,2751,2752,5,190,0,0,2752,2757,5, + 183,0,0,2753,2754,5,18,0,0,2754,2755,5,190,0,0,2755,2757,5,183,0, + 0,2756,2750,1,0,0,0,2756,2753,1,0,0,0,2756,2757,1,0,0,0,2757,2759, + 1,0,0,0,2758,2742,1,0,0,0,2758,2759,1,0,0,0,2759,2766,1,0,0,0,2760, + 2761,5,231,0,0,2761,2764,3,184,92,0,2762,2763,5,104,0,0,2763,2765, + 3,150,75,0,2764,2762,1,0,0,0,2764,2765,1,0,0,0,2765,2767,1,0,0,0, + 2766,2760,1,0,0,0,2766,2767,1,0,0,0,2767,2768,1,0,0,0,2768,2770, + 5,2,0,0,2769,2316,1,0,0,0,2769,2318,1,0,0,0,2769,2319,1,0,0,0,2769, + 2322,1,0,0,0,2769,2325,1,0,0,0,2769,2326,1,0,0,0,2769,2327,1,0,0, + 0,2769,2328,1,0,0,0,2769,2329,1,0,0,0,2769,2330,1,0,0,0,2769,2337, + 1,0,0,0,2769,2347,1,0,0,0,2769,2359,1,0,0,0,2769,2394,1,0,0,0,2769, + 2412,1,0,0,0,2769,2451,1,0,0,0,2769,2454,1,0,0,0,2769,2458,1,0,0, + 0,2769,2472,1,0,0,0,2769,2476,1,0,0,0,2769,2481,1,0,0,0,2769,2494, + 1,0,0,0,2769,2506,1,0,0,0,2769,2513,1,0,0,0,2769,2520,1,0,0,0,2769, + 2533,1,0,0,0,2769,2534,1,0,0,0,2769,2535,1,0,0,0,2769,2541,1,0,0, + 0,2769,2547,1,0,0,0,2769,2553,1,0,0,0,2769,2559,1,0,0,0,2769,2560, + 1,0,0,0,2769,2561,1,0,0,0,2769,2562,1,0,0,0,2769,2563,1,0,0,0,2769, + 2577,1,0,0,0,2769,2584,1,0,0,0,2769,2595,1,0,0,0,2769,2604,1,0,0, + 0,2769,2611,1,0,0,0,2769,2615,1,0,0,0,2769,2628,1,0,0,0,2769,2639, + 1,0,0,0,2769,2660,1,0,0,0,2769,2699,1,0,0,0,2769,2740,1,0,0,0,2770, + 2781,1,0,0,0,2771,2772,10,24,0,0,2772,2773,5,8,0,0,2773,2774,3,142, + 71,0,2774,2775,5,9,0,0,2775,2780,1,0,0,0,2776,2777,10,22,0,0,2777, + 2778,5,4,0,0,2778,2780,3,292,146,0,2779,2771,1,0,0,0,2779,2776,1, + 0,0,0,2780,2783,1,0,0,0,2781,2779,1,0,0,0,2781,2782,1,0,0,0,2782, + 145,1,0,0,0,2783,2781,1,0,0,0,2784,2785,3,148,74,0,2785,2786,5,3, + 0,0,2786,2789,3,168,84,0,2787,2788,5,28,0,0,2788,2790,3,292,146, + 0,2789,2787,1,0,0,0,2789,2790,1,0,0,0,2790,2800,1,0,0,0,2791,2792, + 5,203,0,0,2792,2797,3,152,76,0,2793,2794,5,3,0,0,2794,2796,3,152, + 76,0,2795,2793,1,0,0,0,2796,2799,1,0,0,0,2797,2795,1,0,0,0,2797, + 2798,1,0,0,0,2798,2801,1,0,0,0,2799,2797,1,0,0,0,2800,2791,1,0,0, + 0,2800,2801,1,0,0,0,2801,147,1,0,0,0,2802,2805,3,136,68,0,2803,2804, + 5,104,0,0,2804,2806,3,150,75,0,2805,2803,1,0,0,0,2805,2806,1,0,0, + 0,2806,149,1,0,0,0,2807,2810,5,137,0,0,2808,2809,5,87,0,0,2809,2811, + 7,20,0,0,2810,2808,1,0,0,0,2810,2811,1,0,0,0,2811,151,1,0,0,0,2812, + 2813,3,148,74,0,2813,2814,5,28,0,0,2814,2815,3,292,146,0,2815,153, + 1,0,0,0,2816,2817,7,21,0,0,2817,155,1,0,0,0,2818,2823,5,89,0,0,2819, + 2823,5,183,0,0,2820,2821,5,70,0,0,2821,2823,3,136,68,0,2822,2818, + 1,0,0,0,2822,2819,1,0,0,0,2822,2820,1,0,0,0,2823,157,1,0,0,0,2824, + 2826,5,306,0,0,2825,2827,5,27,0,0,2826,2825,1,0,0,0,2826,2827,1, + 0,0,0,2827,2836,1,0,0,0,2828,2830,5,304,0,0,2829,2831,7,22,0,0,2830, + 2829,1,0,0,0,2830,2831,1,0,0,0,2831,2833,1,0,0,0,2832,2834,5,27, + 0,0,2833,2832,1,0,0,0,2833,2834,1,0,0,0,2834,2836,1,0,0,0,2835,2824, + 1,0,0,0,2835,2828,1,0,0,0,2836,159,1,0,0,0,2837,2844,5,89,0,0,2838, + 2844,5,183,0,0,2839,2840,5,85,0,0,2840,2844,5,27,0,0,2841,2842,5, + 85,0,0,2842,2844,5,186,0,0,2843,2837,1,0,0,0,2843,2838,1,0,0,0,2843, + 2839,1,0,0,0,2843,2841,1,0,0,0,2844,161,1,0,0,0,2845,2847,5,145, + 0,0,2846,2845,1,0,0,0,2846,2847,1,0,0,0,2847,2848,1,0,0,0,2848,2849, + 3,136,68,0,2849,2850,5,295,0,0,2850,2851,3,148,74,0,2851,2857,1, + 0,0,0,2852,2853,3,136,68,0,2853,2854,5,10,0,0,2854,2855,3,148,74, + 0,2855,2857,1,0,0,0,2856,2846,1,0,0,0,2856,2852,1,0,0,0,2857,163, + 1,0,0,0,2858,2859,7,23,0,0,2859,165,1,0,0,0,2860,2861,5,120,0,0, + 2861,2865,5,185,0,0,2862,2863,5,228,0,0,2863,2865,5,185,0,0,2864, + 2860,1,0,0,0,2864,2862,1,0,0,0,2865,167,1,0,0,0,2866,2873,5,326, + 0,0,2867,2870,5,327,0,0,2868,2869,5,277,0,0,2869,2871,5,326,0,0, + 2870,2868,1,0,0,0,2870,2871,1,0,0,0,2871,2873,1,0,0,0,2872,2866, + 1,0,0,0,2872,2867,1,0,0,0,2873,169,1,0,0,0,2874,2875,5,267,0,0,2875, + 2876,5,311,0,0,2876,2881,3,178,89,0,2877,2878,5,267,0,0,2878,2879, + 5,311,0,0,2879,2881,3,168,84,0,2880,2874,1,0,0,0,2880,2877,1,0,0, + 0,2881,171,1,0,0,0,2882,2883,7,24,0,0,2883,173,1,0,0,0,2884,2885, + 7,25,0,0,2885,175,1,0,0,0,2886,2887,7,26,0,0,2887,177,1,0,0,0,2888, + 2890,5,129,0,0,2889,2891,7,18,0,0,2890,2889,1,0,0,0,2890,2891,1, + 0,0,0,2891,2892,1,0,0,0,2892,2893,3,168,84,0,2893,2896,3,180,90, + 0,2894,2895,5,269,0,0,2895,2897,3,180,90,0,2896,2894,1,0,0,0,2896, + 2897,1,0,0,0,2897,179,1,0,0,0,2898,2899,7,27,0,0,2899,181,1,0,0, + 0,2900,2901,7,28,0,0,2901,183,1,0,0,0,2902,2903,6,92,-1,0,2903,2904, + 5,239,0,0,2904,2905,5,1,0,0,2905,2910,3,186,93,0,2906,2907,5,3,0, + 0,2907,2909,3,186,93,0,2908,2906,1,0,0,0,2909,2912,1,0,0,0,2910, + 2908,1,0,0,0,2910,2911,1,0,0,0,2911,2913,1,0,0,0,2912,2910,1,0,0, + 0,2913,2914,5,2,0,0,2914,2994,1,0,0,0,2915,2916,5,129,0,0,2916,2919, + 3,180,90,0,2917,2918,5,269,0,0,2918,2920,3,180,90,0,2919,2917,1, + 0,0,0,2919,2920,1,0,0,0,2920,2994,1,0,0,0,2921,2926,5,268,0,0,2922, + 2923,5,1,0,0,2923,2924,3,188,94,0,2924,2925,5,2,0,0,2925,2927,1, + 0,0,0,2926,2922,1,0,0,0,2926,2927,1,0,0,0,2927,2931,1,0,0,0,2928, + 2929,5,306,0,0,2929,2930,5,267,0,0,2930,2932,5,311,0,0,2931,2928, + 1,0,0,0,2931,2932,1,0,0,0,2932,2994,1,0,0,0,2933,2938,5,268,0,0, + 2934,2935,5,1,0,0,2935,2936,3,188,94,0,2936,2937,5,2,0,0,2937,2939, + 1,0,0,0,2938,2934,1,0,0,0,2938,2939,1,0,0,0,2939,2940,1,0,0,0,2940, + 2941,5,304,0,0,2941,2942,5,267,0,0,2942,2994,5,311,0,0,2943,2948, + 5,267,0,0,2944,2945,5,1,0,0,2945,2946,3,188,94,0,2946,2947,5,2,0, + 0,2947,2949,1,0,0,0,2948,2944,1,0,0,0,2948,2949,1,0,0,0,2949,2953, + 1,0,0,0,2950,2951,5,306,0,0,2951,2952,5,267,0,0,2952,2954,5,311, + 0,0,2953,2950,1,0,0,0,2953,2954,1,0,0,0,2954,2994,1,0,0,0,2955,2960, + 5,267,0,0,2956,2957,5,1,0,0,2957,2958,3,188,94,0,2958,2959,5,2,0, + 0,2959,2961,1,0,0,0,2960,2956,1,0,0,0,2960,2961,1,0,0,0,2961,2962, + 1,0,0,0,2962,2963,5,304,0,0,2963,2964,5,267,0,0,2964,2994,5,311, + 0,0,2965,2966,5,82,0,0,2966,2994,5,213,0,0,2967,2968,5,27,0,0,2968, + 2969,5,314,0,0,2969,2970,3,184,92,0,2970,2971,5,316,0,0,2971,2994, + 1,0,0,0,2972,2973,5,162,0,0,2973,2974,5,314,0,0,2974,2975,3,184, + 92,0,2975,2976,5,3,0,0,2976,2977,3,184,92,0,2977,2978,5,316,0,0, + 2978,2994,1,0,0,0,2979,2991,3,292,146,0,2980,2981,5,1,0,0,2981,2986, + 3,188,94,0,2982,2983,5,3,0,0,2983,2985,3,188,94,0,2984,2982,1,0, + 0,0,2985,2988,1,0,0,0,2986,2984,1,0,0,0,2986,2987,1,0,0,0,2987,2989, + 1,0,0,0,2988,2986,1,0,0,0,2989,2990,5,2,0,0,2990,2992,1,0,0,0,2991, + 2980,1,0,0,0,2991,2992,1,0,0,0,2992,2994,1,0,0,0,2993,2902,1,0,0, + 0,2993,2915,1,0,0,0,2993,2921,1,0,0,0,2993,2933,1,0,0,0,2993,2943, + 1,0,0,0,2993,2955,1,0,0,0,2993,2965,1,0,0,0,2993,2967,1,0,0,0,2993, + 2972,1,0,0,0,2993,2979,1,0,0,0,2994,3004,1,0,0,0,2995,2996,10,2, + 0,0,2996,3000,5,27,0,0,2997,2998,5,8,0,0,2998,2999,5,329,0,0,2999, + 3001,5,9,0,0,3000,2997,1,0,0,0,3000,3001,1,0,0,0,3001,3003,1,0,0, + 0,3002,2995,1,0,0,0,3003,3006,1,0,0,0,3004,3002,1,0,0,0,3004,3005, + 1,0,0,0,3005,185,1,0,0,0,3006,3004,1,0,0,0,3007,3012,3,184,92,0, + 3008,3009,3,292,146,0,3009,3010,3,184,92,0,3010,3012,1,0,0,0,3011, + 3007,1,0,0,0,3011,3008,1,0,0,0,3012,187,1,0,0,0,3013,3016,5,329, + 0,0,3014,3016,3,184,92,0,3015,3013,1,0,0,0,3015,3014,1,0,0,0,3016, + 189,1,0,0,0,3017,3018,5,300,0,0,3018,3019,3,136,68,0,3019,3020,5, + 265,0,0,3020,3021,3,136,68,0,3021,191,1,0,0,0,3022,3023,5,99,0,0, + 3023,3024,5,1,0,0,3024,3025,5,301,0,0,3025,3026,3,138,69,0,3026, + 3027,5,2,0,0,3027,193,1,0,0,0,3028,3029,5,300,0,0,3029,3032,5,164, + 0,0,3030,3031,5,25,0,0,3031,3033,3,136,68,0,3032,3030,1,0,0,0,3032, + 3033,1,0,0,0,3033,3034,1,0,0,0,3034,3035,5,265,0,0,3035,3036,5,287, + 0,0,3036,3037,5,251,0,0,3037,3038,3,292,146,0,3038,3039,5,312,0, + 0,3039,3047,3,136,68,0,3040,3041,5,3,0,0,3041,3042,3,292,146,0,3042, + 3043,5,312,0,0,3043,3044,3,136,68,0,3044,3046,1,0,0,0,3045,3040, + 1,0,0,0,3046,3049,1,0,0,0,3047,3045,1,0,0,0,3047,3048,1,0,0,0,3048, + 3093,1,0,0,0,3049,3047,1,0,0,0,3050,3051,5,300,0,0,3051,3054,5,164, + 0,0,3052,3053,5,25,0,0,3053,3055,3,136,68,0,3054,3052,1,0,0,0,3054, + 3055,1,0,0,0,3055,3056,1,0,0,0,3056,3057,5,265,0,0,3057,3093,5,73, + 0,0,3058,3059,5,300,0,0,3059,3060,5,182,0,0,3060,3063,5,164,0,0, + 3061,3062,5,25,0,0,3062,3064,3,136,68,0,3063,3061,1,0,0,0,3063,3064, + 1,0,0,0,3064,3065,1,0,0,0,3065,3066,5,265,0,0,3066,3078,5,127,0, + 0,3067,3068,5,1,0,0,3068,3073,3,292,146,0,3069,3070,5,3,0,0,3070, + 3072,3,292,146,0,3071,3069,1,0,0,0,3072,3075,1,0,0,0,3073,3071,1, + 0,0,0,3073,3074,1,0,0,0,3074,3076,1,0,0,0,3075,3073,1,0,0,0,3076, + 3077,5,2,0,0,3077,3079,1,0,0,0,3078,3067,1,0,0,0,3078,3079,1,0,0, + 0,3079,3080,1,0,0,0,3080,3081,5,296,0,0,3081,3082,5,1,0,0,3082,3087, + 3,136,68,0,3083,3084,5,3,0,0,3084,3086,3,136,68,0,3085,3083,1,0, + 0,0,3086,3089,1,0,0,0,3087,3085,1,0,0,0,3087,3088,1,0,0,0,3088,3090, + 1,0,0,0,3089,3087,1,0,0,0,3090,3091,5,2,0,0,3091,3093,1,0,0,0,3092, + 3028,1,0,0,0,3092,3050,1,0,0,0,3092,3058,1,0,0,0,3093,195,1,0,0, + 0,3094,3100,5,199,0,0,3095,3101,3,292,146,0,3096,3097,5,1,0,0,3097, + 3098,3,64,32,0,3098,3099,5,2,0,0,3099,3101,1,0,0,0,3100,3095,1,0, + 0,0,3100,3096,1,0,0,0,3101,197,1,0,0,0,3102,3103,5,168,0,0,3103, + 3108,3,90,45,0,3104,3105,5,3,0,0,3105,3107,3,90,45,0,3106,3104,1, + 0,0,0,3107,3110,1,0,0,0,3108,3106,1,0,0,0,3108,3109,1,0,0,0,3109, + 3112,1,0,0,0,3110,3108,1,0,0,0,3111,3102,1,0,0,0,3111,3112,1,0,0, + 0,3112,3113,1,0,0,0,3113,3117,3,200,100,0,3114,3115,5,21,0,0,3115, + 3116,5,163,0,0,3116,3118,3,96,48,0,3117,3114,1,0,0,0,3117,3118,1, + 0,0,0,3118,3120,1,0,0,0,3119,3121,7,13,0,0,3120,3119,1,0,0,0,3120, + 3121,1,0,0,0,3121,3127,1,0,0,0,3122,3123,5,206,0,0,3123,3124,5,1, + 0,0,3124,3125,3,204,102,0,3125,3126,5,2,0,0,3126,3128,1,0,0,0,3127, + 3122,1,0,0,0,3127,3128,1,0,0,0,3128,3138,1,0,0,0,3129,3130,5,257, + 0,0,3130,3135,3,98,49,0,3131,3132,5,3,0,0,3132,3134,3,98,49,0,3133, + 3131,1,0,0,0,3134,3137,1,0,0,0,3135,3133,1,0,0,0,3135,3136,1,0,0, + 0,3136,3139,1,0,0,0,3137,3135,1,0,0,0,3138,3129,1,0,0,0,3138,3139, + 1,0,0,0,3139,3149,1,0,0,0,3140,3141,5,71,0,0,3141,3146,3,100,50, + 0,3142,3143,5,3,0,0,3143,3145,3,100,50,0,3144,3142,1,0,0,0,3145, + 3148,1,0,0,0,3146,3144,1,0,0,0,3146,3147,1,0,0,0,3147,3150,1,0,0, + 0,3148,3146,1,0,0,0,3149,3140,1,0,0,0,3149,3150,1,0,0,0,3150,199, + 1,0,0,0,3151,3152,5,219,0,0,3152,3176,3,202,101,0,3153,3154,5,240, + 0,0,3154,3176,3,202,101,0,3155,3156,5,116,0,0,3156,3176,3,202,101, + 0,3157,3158,5,219,0,0,3158,3159,5,34,0,0,3159,3160,3,202,101,0,3160, + 3161,5,25,0,0,3161,3162,3,202,101,0,3162,3176,1,0,0,0,3163,3164, + 5,240,0,0,3164,3165,5,34,0,0,3165,3166,3,202,101,0,3166,3167,5,25, + 0,0,3167,3168,3,202,101,0,3168,3176,1,0,0,0,3169,3170,5,116,0,0, + 3170,3171,5,34,0,0,3171,3172,3,202,101,0,3172,3173,5,25,0,0,3173, + 3174,3,202,101,0,3174,3176,1,0,0,0,3175,3151,1,0,0,0,3175,3153,1, + 0,0,0,3175,3155,1,0,0,0,3175,3157,1,0,0,0,3175,3163,1,0,0,0,3175, + 3169,1,0,0,0,3176,201,1,0,0,0,3177,3178,5,278,0,0,3178,3187,5,212, + 0,0,3179,3180,5,278,0,0,3180,3187,5,102,0,0,3181,3182,5,56,0,0,3182, + 3187,5,239,0,0,3183,3184,3,136,68,0,3184,3185,7,29,0,0,3185,3187, + 1,0,0,0,3186,3177,1,0,0,0,3186,3179,1,0,0,0,3186,3181,1,0,0,0,3186, + 3183,1,0,0,0,3187,203,1,0,0,0,3188,3189,6,102,-1,0,3189,3191,3,206, + 103,0,3190,3192,3,208,104,0,3191,3190,1,0,0,0,3191,3192,1,0,0,0, + 3192,3200,1,0,0,0,3193,3194,10,2,0,0,3194,3199,3,204,102,3,3195, + 3196,10,1,0,0,3196,3197,5,11,0,0,3197,3199,3,204,102,2,3198,3193, + 1,0,0,0,3198,3195,1,0,0,0,3199,3202,1,0,0,0,3200,3198,1,0,0,0,3200, + 3201,1,0,0,0,3201,205,1,0,0,0,3202,3200,1,0,0,0,3203,3229,3,292, + 146,0,3204,3205,5,1,0,0,3205,3229,5,2,0,0,3206,3207,5,209,0,0,3207, + 3208,5,1,0,0,3208,3213,3,204,102,0,3209,3210,5,3,0,0,3210,3212,3, + 204,102,0,3211,3209,1,0,0,0,3212,3215,1,0,0,0,3213,3211,1,0,0,0, + 3213,3214,1,0,0,0,3214,3216,1,0,0,0,3215,3213,1,0,0,0,3216,3217, + 5,2,0,0,3217,3229,1,0,0,0,3218,3219,5,1,0,0,3219,3220,3,204,102, + 0,3220,3221,5,2,0,0,3221,3229,1,0,0,0,3222,3229,5,12,0,0,3223,3229, + 5,13,0,0,3224,3225,5,14,0,0,3225,3226,3,204,102,0,3226,3227,5,15, + 0,0,3227,3229,1,0,0,0,3228,3203,1,0,0,0,3228,3204,1,0,0,0,3228,3206, + 1,0,0,0,3228,3218,1,0,0,0,3228,3222,1,0,0,0,3228,3223,1,0,0,0,3228, + 3224,1,0,0,0,3229,207,1,0,0,0,3230,3232,5,320,0,0,3231,3233,5,324, + 0,0,3232,3231,1,0,0,0,3232,3233,1,0,0,0,3233,3261,1,0,0,0,3234,3236, + 5,318,0,0,3235,3237,5,324,0,0,3236,3235,1,0,0,0,3236,3237,1,0,0, + 0,3237,3261,1,0,0,0,3238,3240,5,324,0,0,3239,3241,5,324,0,0,3240, + 3239,1,0,0,0,3240,3241,1,0,0,0,3241,3261,1,0,0,0,3242,3243,5,16, + 0,0,3243,3244,5,329,0,0,3244,3246,5,17,0,0,3245,3247,5,324,0,0,3246, + 3245,1,0,0,0,3246,3247,1,0,0,0,3247,3261,1,0,0,0,3248,3250,5,16, + 0,0,3249,3251,5,329,0,0,3250,3249,1,0,0,0,3250,3251,1,0,0,0,3251, + 3252,1,0,0,0,3252,3254,5,3,0,0,3253,3255,5,329,0,0,3254,3253,1,0, + 0,0,3254,3255,1,0,0,0,3255,3256,1,0,0,0,3256,3258,5,17,0,0,3257, + 3259,5,324,0,0,3258,3257,1,0,0,0,3258,3259,1,0,0,0,3259,3261,1,0, + 0,0,3260,3230,1,0,0,0,3260,3234,1,0,0,0,3260,3238,1,0,0,0,3260,3242, + 1,0,0,0,3260,3248,1,0,0,0,3261,209,1,0,0,0,3262,3263,3,292,146,0, + 3263,3264,5,312,0,0,3264,3265,3,136,68,0,3265,211,1,0,0,0,3266,3267, + 5,104,0,0,3267,3271,7,30,0,0,3268,3269,5,276,0,0,3269,3271,7,31, + 0,0,3270,3266,1,0,0,0,3270,3268,1,0,0,0,3271,213,1,0,0,0,3272,3273, + 5,134,0,0,3273,3274,5,153,0,0,3274,3278,3,216,108,0,3275,3276,5, + 220,0,0,3276,3278,7,32,0,0,3277,3272,1,0,0,0,3277,3275,1,0,0,0,3278, + 215,1,0,0,0,3279,3280,5,220,0,0,3280,3287,5,279,0,0,3281,3282,5, + 220,0,0,3282,3287,5,48,0,0,3283,3284,5,225,0,0,3284,3287,5,220,0, + 0,3285,3287,5,249,0,0,3286,3279,1,0,0,0,3286,3281,1,0,0,0,3286,3283, + 1,0,0,0,3286,3285,1,0,0,0,3287,217,1,0,0,0,3288,3294,3,136,68,0, + 3289,3290,3,292,146,0,3290,3291,5,6,0,0,3291,3292,3,136,68,0,3292, + 3294,1,0,0,0,3293,3288,1,0,0,0,3293,3289,1,0,0,0,3294,219,1,0,0, + 0,3295,3296,3,292,146,0,3296,3297,5,4,0,0,3297,3298,3,292,146,0, + 3298,3301,1,0,0,0,3299,3301,3,292,146,0,3300,3295,1,0,0,0,3300,3299, + 1,0,0,0,3301,221,1,0,0,0,3302,3307,3,220,110,0,3303,3304,5,3,0,0, + 3304,3306,3,220,110,0,3305,3303,1,0,0,0,3306,3309,1,0,0,0,3307,3305, + 1,0,0,0,3307,3308,1,0,0,0,3308,223,1,0,0,0,3309,3307,1,0,0,0,3310, + 3311,5,107,0,0,3311,3312,3,226,113,0,3312,3316,3,230,115,0,3313, + 3315,3,232,116,0,3314,3313,1,0,0,0,3315,3318,1,0,0,0,3316,3314,1, + 0,0,0,3316,3317,1,0,0,0,3317,3319,1,0,0,0,3318,3316,1,0,0,0,3319, + 3320,3,234,117,0,3320,225,1,0,0,0,3321,3322,3,272,136,0,3322,3331, + 5,1,0,0,3323,3328,3,228,114,0,3324,3325,5,3,0,0,3325,3327,3,228, + 114,0,3326,3324,1,0,0,0,3327,3330,1,0,0,0,3328,3326,1,0,0,0,3328, + 3329,1,0,0,0,3329,3332,1,0,0,0,3330,3328,1,0,0,0,3331,3323,1,0,0, + 0,3331,3332,1,0,0,0,3332,3333,1,0,0,0,3333,3334,5,2,0,0,3334,227, + 1,0,0,0,3335,3337,3,292,146,0,3336,3335,1,0,0,0,3336,3337,1,0,0, + 0,3337,3338,1,0,0,0,3338,3339,3,184,92,0,3339,229,1,0,0,0,3340,3341, + 5,232,0,0,3341,3342,3,184,92,0,3342,231,1,0,0,0,3343,3344,5,147, + 0,0,3344,3363,3,292,146,0,3345,3347,5,182,0,0,3346,3345,1,0,0,0, + 3346,3347,1,0,0,0,3347,3348,1,0,0,0,3348,3363,5,78,0,0,3349,3350, + 5,232,0,0,3350,3351,5,183,0,0,3351,3352,5,190,0,0,3352,3353,5,183, + 0,0,3353,3363,5,126,0,0,3354,3355,5,38,0,0,3355,3356,5,190,0,0,3356, + 3357,5,183,0,0,3357,3363,5,126,0,0,3358,3359,5,246,0,0,3359,3363, + 7,1,0,0,3360,3361,5,46,0,0,3361,3363,3,168,84,0,3362,3343,1,0,0, + 0,3362,3346,1,0,0,0,3362,3349,1,0,0,0,3362,3354,1,0,0,0,3362,3358, + 1,0,0,0,3362,3360,1,0,0,0,3363,233,1,0,0,0,3364,3365,5,230,0,0,3365, + 3464,3,142,71,0,3366,3367,5,251,0,0,3367,3368,3,292,146,0,3368,3369, + 5,312,0,0,3369,3370,3,136,68,0,3370,3464,1,0,0,0,3371,3372,5,40, + 0,0,3372,3374,3,136,68,0,3373,3375,3,236,118,0,3374,3373,1,0,0,0, + 3375,3376,1,0,0,0,3376,3374,1,0,0,0,3376,3377,1,0,0,0,3377,3379, + 1,0,0,0,3378,3380,3,240,120,0,3379,3378,1,0,0,0,3379,3380,1,0,0, + 0,3380,3381,1,0,0,0,3381,3382,5,88,0,0,3382,3383,5,40,0,0,3383,3464, + 1,0,0,0,3384,3386,5,40,0,0,3385,3387,3,236,118,0,3386,3385,1,0,0, + 0,3387,3388,1,0,0,0,3388,3386,1,0,0,0,3388,3389,1,0,0,0,3389,3391, + 1,0,0,0,3390,3392,3,240,120,0,3391,3390,1,0,0,0,3391,3392,1,0,0, + 0,3392,3393,1,0,0,0,3393,3394,5,88,0,0,3394,3395,5,40,0,0,3395,3464, + 1,0,0,0,3396,3397,5,119,0,0,3397,3398,3,136,68,0,3398,3399,5,265, + 0,0,3399,3403,3,244,122,0,3400,3402,3,238,119,0,3401,3400,1,0,0, + 0,3402,3405,1,0,0,0,3403,3401,1,0,0,0,3403,3404,1,0,0,0,3404,3407, + 1,0,0,0,3405,3403,1,0,0,0,3406,3408,3,240,120,0,3407,3406,1,0,0, + 0,3407,3408,1,0,0,0,3408,3409,1,0,0,0,3409,3410,5,88,0,0,3410,3411, + 5,119,0,0,3411,3464,1,0,0,0,3412,3413,5,135,0,0,3413,3464,3,292, + 146,0,3414,3415,5,151,0,0,3415,3464,3,292,146,0,3416,3422,5,32,0, + 0,3417,3418,3,242,121,0,3418,3419,5,325,0,0,3419,3421,1,0,0,0,3420, + 3417,1,0,0,0,3421,3424,1,0,0,0,3422,3420,1,0,0,0,3422,3423,1,0,0, + 0,3423,3426,1,0,0,0,3424,3422,1,0,0,0,3425,3427,3,244,122,0,3426, + 3425,1,0,0,0,3426,3427,1,0,0,0,3427,3428,1,0,0,0,3428,3464,5,88, + 0,0,3429,3430,3,292,146,0,3430,3431,5,10,0,0,3431,3433,1,0,0,0,3432, + 3429,1,0,0,0,3432,3433,1,0,0,0,3433,3434,1,0,0,0,3434,3435,5,161, + 0,0,3435,3436,3,244,122,0,3436,3437,5,88,0,0,3437,3438,5,161,0,0, + 3438,3464,1,0,0,0,3439,3440,3,292,146,0,3440,3441,5,10,0,0,3441, + 3443,1,0,0,0,3442,3439,1,0,0,0,3442,3443,1,0,0,0,3443,3444,1,0,0, + 0,3444,3445,5,302,0,0,3445,3446,3,136,68,0,3446,3447,5,81,0,0,3447, + 3448,3,244,122,0,3448,3449,5,88,0,0,3449,3450,5,302,0,0,3450,3464, + 1,0,0,0,3451,3452,3,292,146,0,3452,3453,5,10,0,0,3453,3455,1,0,0, + 0,3454,3451,1,0,0,0,3454,3455,1,0,0,0,3455,3456,1,0,0,0,3456,3457, + 5,224,0,0,3457,3458,3,244,122,0,3458,3459,5,286,0,0,3459,3460,3, + 136,68,0,3460,3461,5,88,0,0,3461,3462,5,224,0,0,3462,3464,1,0,0, + 0,3463,3364,1,0,0,0,3463,3366,1,0,0,0,3463,3371,1,0,0,0,3463,3384, + 1,0,0,0,3463,3396,1,0,0,0,3463,3412,1,0,0,0,3463,3414,1,0,0,0,3463, + 3416,1,0,0,0,3463,3432,1,0,0,0,3463,3442,1,0,0,0,3463,3454,1,0,0, + 0,3464,235,1,0,0,0,3465,3466,5,300,0,0,3466,3467,3,136,68,0,3467, + 3468,5,265,0,0,3468,3469,3,244,122,0,3469,237,1,0,0,0,3470,3471, + 5,86,0,0,3471,3472,3,136,68,0,3472,3473,5,265,0,0,3473,3474,3,244, + 122,0,3474,239,1,0,0,0,3475,3476,5,84,0,0,3476,3477,3,244,122,0, + 3477,241,1,0,0,0,3478,3479,5,69,0,0,3479,3484,3,292,146,0,3480,3481, + 5,3,0,0,3481,3483,3,292,146,0,3482,3480,1,0,0,0,3483,3486,1,0,0, + 0,3484,3482,1,0,0,0,3484,3485,1,0,0,0,3485,3487,1,0,0,0,3486,3484, + 1,0,0,0,3487,3490,3,184,92,0,3488,3489,5,70,0,0,3489,3491,3,142, + 71,0,3490,3488,1,0,0,0,3490,3491,1,0,0,0,3491,243,1,0,0,0,3492,3493, + 3,234,117,0,3493,3494,5,325,0,0,3494,3496,1,0,0,0,3495,3492,1,0, + 0,0,3496,3497,1,0,0,0,3497,3495,1,0,0,0,3497,3498,1,0,0,0,3498,245, + 1,0,0,0,3499,3506,5,53,0,0,3500,3506,5,248,0,0,3501,3506,5,73,0, + 0,3502,3506,5,127,0,0,3503,3506,5,287,0,0,3504,3506,3,292,146,0, + 3505,3499,1,0,0,0,3505,3500,1,0,0,0,3505,3501,1,0,0,0,3505,3502, + 1,0,0,0,3505,3503,1,0,0,0,3505,3504,1,0,0,0,3506,247,1,0,0,0,3507, + 3511,5,260,0,0,3508,3511,5,243,0,0,3509,3511,3,292,146,0,3510,3507, + 1,0,0,0,3510,3508,1,0,0,0,3510,3509,1,0,0,0,3511,249,1,0,0,0,3512, + 3514,3,248,124,0,3513,3512,1,0,0,0,3513,3514,1,0,0,0,3514,3515,1, + 0,0,0,3515,3516,3,278,139,0,3516,251,1,0,0,0,3517,3520,3,254,127, + 0,3518,3520,3,258,129,0,3519,3517,1,0,0,0,3519,3518,1,0,0,0,3520, + 253,1,0,0,0,3521,3533,3,292,146,0,3522,3523,3,292,146,0,3523,3524, + 5,4,0,0,3524,3525,3,292,146,0,3525,3533,1,0,0,0,3526,3527,3,292, + 146,0,3527,3528,5,4,0,0,3528,3529,3,292,146,0,3529,3530,5,4,0,0, + 3530,3531,3,292,146,0,3531,3533,1,0,0,0,3532,3521,1,0,0,0,3532,3522, + 1,0,0,0,3532,3526,1,0,0,0,3533,255,1,0,0,0,3534,3546,3,292,146,0, + 3535,3536,3,292,146,0,3536,3537,5,4,0,0,3537,3538,3,292,146,0,3538, + 3546,1,0,0,0,3539,3540,3,292,146,0,3540,3541,5,4,0,0,3541,3542,3, + 292,146,0,3542,3543,5,4,0,0,3543,3544,3,292,146,0,3544,3546,1,0, + 0,0,3545,3534,1,0,0,0,3545,3535,1,0,0,0,3545,3539,1,0,0,0,3546,257, + 1,0,0,0,3547,3559,3,292,146,0,3548,3549,3,292,146,0,3549,3550,5, + 4,0,0,3550,3551,3,292,146,0,3551,3559,1,0,0,0,3552,3553,3,292,146, + 0,3553,3554,5,4,0,0,3554,3555,3,292,146,0,3555,3556,5,4,0,0,3556, + 3557,3,292,146,0,3557,3559,1,0,0,0,3558,3547,1,0,0,0,3558,3548,1, + 0,0,0,3558,3552,1,0,0,0,3559,259,1,0,0,0,3560,3572,3,292,146,0,3561, + 3562,3,292,146,0,3562,3563,5,4,0,0,3563,3564,3,292,146,0,3564,3572, + 1,0,0,0,3565,3566,3,292,146,0,3566,3567,5,4,0,0,3567,3568,3,292, + 146,0,3568,3569,5,4,0,0,3569,3570,3,292,146,0,3570,3572,1,0,0,0, + 3571,3560,1,0,0,0,3571,3561,1,0,0,0,3571,3565,1,0,0,0,3572,261,1, + 0,0,0,3573,3579,3,292,146,0,3574,3575,3,292,146,0,3575,3576,5,4, + 0,0,3576,3577,3,292,146,0,3577,3579,1,0,0,0,3578,3573,1,0,0,0,3578, + 3574,1,0,0,0,3579,263,1,0,0,0,3580,3586,3,292,146,0,3581,3582,3, + 292,146,0,3582,3583,5,4,0,0,3583,3584,3,292,146,0,3584,3586,1,0, + 0,0,3585,3580,1,0,0,0,3585,3581,1,0,0,0,3586,265,1,0,0,0,3587,3588, + 3,292,146,0,3588,267,1,0,0,0,3589,3590,3,292,146,0,3590,269,1,0, + 0,0,3591,3592,3,278,139,0,3592,271,1,0,0,0,3593,3594,3,278,139,0, + 3594,273,1,0,0,0,3595,3598,3,278,139,0,3596,3598,4,137,14,0,3597, + 3595,1,0,0,0,3597,3596,1,0,0,0,3598,275,1,0,0,0,3599,3600,3,292, + 146,0,3600,277,1,0,0,0,3601,3606,3,292,146,0,3602,3603,5,4,0,0,3603, + 3605,3,292,146,0,3604,3602,1,0,0,0,3605,3608,1,0,0,0,3606,3604,1, + 0,0,0,3606,3607,1,0,0,0,3607,279,1,0,0,0,3608,3606,1,0,0,0,3609, + 3610,5,103,0,0,3610,3611,3,282,141,0,3611,3612,5,28,0,0,3612,3613, + 5,187,0,0,3613,3614,3,142,71,0,3614,281,1,0,0,0,3615,3616,7,33,0, + 0,3616,283,1,0,0,0,3617,3621,3,286,143,0,3618,3621,5,64,0,0,3619, + 3621,5,60,0,0,3620,3617,1,0,0,0,3620,3618,1,0,0,0,3620,3619,1,0, + 0,0,3621,285,1,0,0,0,3622,3628,3,292,146,0,3623,3624,5,289,0,0,3624, + 3628,3,292,146,0,3625,3626,5,235,0,0,3626,3628,3,292,146,0,3627, + 3622,1,0,0,0,3627,3623,1,0,0,0,3627,3625,1,0,0,0,3628,287,1,0,0, + 0,3629,3634,3,292,146,0,3630,3631,5,3,0,0,3631,3633,3,292,146,0, + 3632,3630,1,0,0,0,3633,3636,1,0,0,0,3634,3632,1,0,0,0,3634,3635, + 1,0,0,0,3635,289,1,0,0,0,3636,3634,1,0,0,0,3637,3645,5,53,0,0,3638, + 3645,5,248,0,0,3639,3645,5,73,0,0,3640,3645,5,127,0,0,3641,3645, + 5,287,0,0,3642,3645,5,93,0,0,3643,3645,3,292,146,0,3644,3637,1,0, + 0,0,3644,3638,1,0,0,0,3644,3639,1,0,0,0,3644,3640,1,0,0,0,3644,3641, + 1,0,0,0,3644,3642,1,0,0,0,3644,3643,1,0,0,0,3645,291,1,0,0,0,3646, + 3652,5,332,0,0,3647,3652,5,334,0,0,3648,3652,3,298,149,0,3649,3652, + 5,335,0,0,3650,3652,5,333,0,0,3651,3646,1,0,0,0,3651,3647,1,0,0, + 0,3651,3648,1,0,0,0,3651,3649,1,0,0,0,3651,3650,1,0,0,0,3652,293, + 1,0,0,0,3653,3655,5,319,0,0,3654,3653,1,0,0,0,3654,3655,1,0,0,0, + 3655,3656,1,0,0,0,3656,3666,5,330,0,0,3657,3659,5,319,0,0,3658,3657, + 1,0,0,0,3658,3659,1,0,0,0,3659,3660,1,0,0,0,3660,3666,5,331,0,0, + 3661,3663,5,319,0,0,3662,3661,1,0,0,0,3662,3663,1,0,0,0,3663,3664, + 1,0,0,0,3664,3666,5,329,0,0,3665,3654,1,0,0,0,3665,3658,1,0,0,0, + 3665,3662,1,0,0,0,3666,295,1,0,0,0,3667,3670,3,292,146,0,3668,3670, + 3,168,84,0,3669,3667,1,0,0,0,3669,3668,1,0,0,0,3670,297,1,0,0,0, + 3671,3672,7,34,0,0,3672,299,1,0,0,0,478,303,312,316,320,324,328, + 341,348,352,356,362,366,373,378,382,388,392,411,417,421,425,429, + 437,441,444,449,455,464,470,474,480,487,496,508,517,526,532,543, + 551,559,566,576,583,591,606,641,644,647,651,657,662,669,675,679, + 683,691,697,701,705,719,727,746,771,774,781,788,797,801,808,816, + 825,831,836,840,848,853,862,868,875,884,890,894,900,907,912,925, + 930,942,946,952,961,966,972,1000,1006,1008,1014,1020,1022,1030,1032, + 1042,1044,1059,1064,1071,1081,1087,1089,1097,1099,1124,1127,1131, + 1135,1153,1156,1167,1170,1186,1196,1201,1207,1210,1219,1231,1234, + 1244,1248,1254,1261,1266,1272,1276,1280,1286,1297,1306,1316,1319, + 1324,1326,1333,1339,1341,1345,1355,1361,1364,1366,1378,1385,1389, + 1392,1396,1400,1407,1416,1419,1423,1428,1432,1440,1443,1446,1453, + 1464,1467,1477,1480,1491,1496,1504,1507,1511,1515,1524,1533,1536, + 1545,1548,1551,1555,1566,1569,1572,1579,1582,1601,1605,1609,1613, + 1617,1621,1623,1634,1639,1648,1657,1660,1666,1678,1681,1690,1693, + 1701,1704,1707,1712,1715,1727,1730,1738,1743,1747,1749,1751,1766, + 1768,1779,1800,1810,1821,1825,1827,1835,1846,1857,1864,1877,1883, + 1909,1924,1929,1933,1943,1949,1955,1963,1968,1975,1977,1983,1989, + 1993,1998,2007,2012,2026,2036,2039,2048,2053,2058,2060,2069,2072, + 2080,2083,2090,2095,2106,2109,2113,2115,2123,2133,2139,2141,2148, + 2152,2154,2161,2165,2167,2169,2178,2189,2193,2203,2213,2217,2225, + 2227,2240,2248,2257,2263,2271,2277,2281,2286,2291,2297,2311,2313, + 2343,2354,2362,2367,2372,2385,2391,2394,2401,2406,2409,2412,2417, + 2424,2427,2436,2439,2443,2446,2449,2464,2467,2486,2490,2498,2502, + 2527,2530,2539,2545,2551,2557,2566,2569,2572,2591,2600,2622,2625, + 2635,2644,2650,2656,2667,2669,2674,2681,2683,2689,2695,2706,2715, + 2720,2725,2727,2729,2735,2737,2747,2756,2758,2764,2766,2769,2779, + 2781,2789,2797,2800,2805,2810,2822,2826,2830,2833,2835,2843,2846, + 2856,2864,2870,2872,2880,2890,2896,2910,2919,2926,2931,2938,2948, + 2953,2960,2986,2991,2993,3000,3004,3011,3015,3032,3047,3054,3063, + 3073,3078,3087,3092,3100,3108,3111,3117,3120,3127,3135,3138,3146, + 3149,3175,3186,3191,3198,3200,3213,3228,3232,3236,3240,3246,3250, + 3254,3258,3260,3270,3277,3286,3293,3300,3307,3316,3328,3331,3336, + 3346,3362,3376,3379,3388,3391,3403,3407,3422,3426,3432,3442,3454, + 3463,3484,3490,3497,3505,3510,3513,3519,3532,3545,3558,3571,3578, + 3585,3597,3606,3620,3627,3634,3644,3651,3654,3658,3662,3665,3669 + ]; + + private static __ATN: antlr.ATN; + public static get _ATN(): antlr.ATN { + if (!TrinoSqlParser.__ATN) { + TrinoSqlParser.__ATN = new antlr.ATNDeserializer().deserialize(TrinoSqlParser._serializedATN); + } + + return TrinoSqlParser.__ATN; + } + + + private static readonly vocabulary = new antlr.Vocabulary(TrinoSqlParser.literalNames, TrinoSqlParser.symbolicNames, []); + + public override get vocabulary(): antlr.Vocabulary { + return TrinoSqlParser.vocabulary; + } + + private static readonly decisionsToDFA = TrinoSqlParser._ATN.decisionToState.map( (ds: antlr.DecisionState, index: number) => new antlr.DFA(ds, index) ); +} + +export class ProgramContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public EOF(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.EOF, 0)!; + } + public statements(): StatementsContext[]; + public statements(i: number): StatementsContext | null; + public statements(i?: number): StatementsContext[] | StatementsContext | null { + if (i === undefined) { + return this.getRuleContexts(StatementsContext); + } + + return this.getRuleContext(i, StatementsContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_program; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterProgram) { + listener.enterProgram(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitProgram) { + listener.exitProgram(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitProgram) { + return visitor.visitProgram(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class StatementsContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public singleStatement(): SingleStatementContext { + return this.getRuleContext(0, SingleStatementContext)!; + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_statements; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterStatements) { + listener.enterStatements(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitStatements) { + listener.exitStatements(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitStatements) { + return visitor.visitStatements(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class SingleStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public statement(): StatementContext { + return this.getRuleContext(0, StatementContext)!; + } + public SEMICOLON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.SEMICOLON, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_singleStatement; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSingleStatement) { + listener.enterSingleStatement(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitSingleStatement) { + listener.exitSingleStatement(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitSingleStatement) { + return visitor.visitSingleStatement(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class StandaloneExpressionContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; + } + public SEMICOLON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.SEMICOLON, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_standaloneExpression; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterStandaloneExpression) { + listener.enterStandaloneExpression(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitStandaloneExpression) { + listener.exitStandaloneExpression(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitStandaloneExpression) { + return visitor.visitStandaloneExpression(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class StandalonePathSpecificationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public pathSpecification(): PathSpecificationContext { + return this.getRuleContext(0, PathSpecificationContext)!; + } + public SEMICOLON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.SEMICOLON, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_standalonePathSpecification; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterStandalonePathSpecification) { + listener.enterStandalonePathSpecification(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitStandalonePathSpecification) { + listener.exitStandalonePathSpecification(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitStandalonePathSpecification) { + return visitor.visitStandalonePathSpecification(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class StandaloneTypeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; + } + public SEMICOLON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.SEMICOLON, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_standaloneType; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterStandaloneType) { + listener.enterStandaloneType(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitStandaloneType) { + listener.exitStandaloneType(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitStandaloneType) { + return visitor.visitStandaloneType(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class StandaloneRowPatternContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public rowPattern(): RowPatternContext { + return this.getRuleContext(0, RowPatternContext)!; + } + public SEMICOLON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.SEMICOLON, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_standaloneRowPattern; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterStandaloneRowPattern) { + listener.enterStandaloneRowPattern(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitStandaloneRowPattern) { + listener.exitStandaloneRowPattern(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitStandaloneRowPattern) { + return visitor.visitStandaloneRowPattern(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class StandaloneFunctionSpecificationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public functionSpecification(): FunctionSpecificationContext { + return this.getRuleContext(0, FunctionSpecificationContext)!; + } + public EOF(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.EOF, 0)!; + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_standaloneFunctionSpecification; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterStandaloneFunctionSpecification) { + listener.enterStandaloneFunctionSpecification(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitStandaloneFunctionSpecification) { + listener.exitStandaloneFunctionSpecification(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitStandaloneFunctionSpecification) { + return visitor.visitStandaloneFunctionSpecification(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class StatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_statement; + } + public override copyFrom(ctx: StatementContext): void { + super.copyFrom(ctx); + } +} +export class ExplainContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_EXPLAIN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_EXPLAIN, 0)!; + } + public statement(): StatementContext { + return this.getRuleContext(0, StatementContext)!; + } + public explainOption(): ExplainOptionContext[]; + public explainOption(i: number): ExplainOptionContext | null; + public explainOption(i?: number): ExplainOptionContext[] | ExplainOptionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExplainOptionContext); + } + + return this.getRuleContext(i, ExplainOptionContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterExplain) { + listener.enterExplain(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitExplain) { + listener.exitExplain(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitExplain) { + return visitor.visitExplain(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class PrepareContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_PREPARE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_PREPARE, 0)!; + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public KW_FROM(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + } + public statement(): StatementContext { + return this.getRuleContext(0, StatementContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterPrepare) { + listener.enterPrepare(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitPrepare) { + listener.exitPrepare(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitPrepare) { + return visitor.visitPrepare(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DropMaterializedViewContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_DROP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DROP, 0)!; + } + public KW_MATERIALIZED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; + } + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + } + public viewRef(): ViewRefContext { + return this.getRuleContext(0, ViewRefContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDropMaterializedView) { + listener.enterDropMaterializedView(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDropMaterializedView) { + listener.exitDropMaterializedView(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDropMaterializedView) { + return visitor.visitDropMaterializedView(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class SetMaterializedViewPropertiesContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_MATERIALIZED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; + } + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + } + public viewRef(): ViewRefContext { + return this.getRuleContext(0, ViewRefContext)!; + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; + } + public KW_PROPERTIES(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_PROPERTIES, 0)!; + } + public propertyAssignments(): PropertyAssignmentsContext { + return this.getRuleContext(0, PropertyAssignmentsContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSetMaterializedViewProperties) { + listener.enterSetMaterializedViewProperties(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitSetMaterializedViewProperties) { + listener.exitSetMaterializedViewProperties(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitSetMaterializedViewProperties) { + return visitor.visitSetMaterializedViewProperties(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DropNotNullConstraintContext extends StatementContext { + public _tableName?: TableRefContext; + public _column?: ColumnRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode[]; + public KW_ALTER(i: number): antlr.TerminalNode | null; + public KW_ALTER(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ALTER); + } else { + return this.getToken(TrinoSqlParser.KW_ALTER, i); + } + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public KW_COLUMN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; + } + public KW_DROP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DROP, 0)!; + } + public KW_NOT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_NOT, 0)!; + } + public KW_NULL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_NULL, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public columnRef(): ColumnRefContext { + return this.getRuleContext(0, ColumnRefContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDropNotNullConstraint) { + listener.enterDropNotNullConstraint(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDropNotNullConstraint) { + listener.exitDropNotNullConstraint(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDropNotNullConstraint) { + return visitor.visitDropNotNullConstraint(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class UseContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_USE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_USE, 0)!; + } + public schemaRef(): SchemaRefContext { + return this.getRuleContext(0, SchemaRefContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterUse) { + listener.enterUse(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitUse) { + listener.exitUse(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitUse) { + return visitor.visitUse(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DeallocateContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_DEALLOCATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DEALLOCATE, 0)!; + } + public KW_PREPARE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_PREPARE, 0)!; + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDeallocate) { + listener.enterDeallocate(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDeallocate) { + listener.exitDeallocate(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDeallocate) { + return visitor.visitDeallocate(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class RenameTableContext extends StatementContext { + public _from_?: TableRefContext; + public _to?: TableNameCreateContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public KW_RENAME(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RENAME, 0)!; + } + public KW_TO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TO, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public tableNameCreate(): TableNameCreateContext { + return this.getRuleContext(0, TableNameCreateContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterRenameTable) { + listener.enterRenameTable(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitRenameTable) { + listener.exitRenameTable(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitRenameTable) { + return visitor.visitRenameTable(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class CommitContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_COMMIT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COMMIT, 0)!; + } + public KW_WORK(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WORK, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCommit) { + listener.enterCommit(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitCommit) { + listener.exitCommit(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitCommit) { + return visitor.visitCommit(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class CreateRoleContext extends StatementContext { + public _name?: IdentifierContext; + public _catalog?: CatalogRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public KW_ROLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ROLE, 0)!; + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); + } + public KW_ADMIN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ADMIN, 0); + } + public grantor(): GrantorContext | null { + return this.getRuleContext(0, GrantorContext); + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public catalogRef(): CatalogRefContext | null { + return this.getRuleContext(0, CatalogRefContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCreateRole) { + listener.enterCreateRole(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitCreateRole) { + listener.exitCreateRole(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitCreateRole) { + return visitor.visitCreateRole(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowCreateFunctionContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public KW_FUNCTION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FUNCTION, 0)!; + } + public functionName(): FunctionNameContext { + return this.getRuleContext(0, FunctionNameContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowCreateFunction) { + listener.enterShowCreateFunction(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowCreateFunction) { + listener.exitShowCreateFunction(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowCreateFunction) { + return visitor.visitShowCreateFunction(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DropColumnContext extends StatementContext { + public _tableName?: TableRefContext; + public _column?: ColumnRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public KW_DROP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DROP, 0)!; + } + public KW_COLUMN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public columnRef(): ColumnRefContext { + return this.getRuleContext(0, ColumnRefContext)!; + } + public KW_IF(): antlr.TerminalNode[]; + public KW_IF(i: number): antlr.TerminalNode | null; + public KW_IF(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_IF); + } else { + return this.getToken(TrinoSqlParser.KW_IF, i); + } + } + public KW_EXISTS(): antlr.TerminalNode[]; + public KW_EXISTS(i: number): antlr.TerminalNode | null; + public KW_EXISTS(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_EXISTS); + } else { + return this.getToken(TrinoSqlParser.KW_EXISTS, i); + } + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDropColumn) { + listener.enterDropColumn(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDropColumn) { + listener.exitDropColumn(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDropColumn) { + return visitor.visitDropColumn(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DropViewContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_DROP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DROP, 0)!; + } + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + } + public viewRef(): ViewRefContext { + return this.getRuleContext(0, ViewRefContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDropView) { + listener.enterDropView(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDropView) { + listener.exitDropView(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDropView) { + return visitor.visitDropView(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowTablesContext extends StatementContext { + public _pattern?: StringContext; + public _escape?: StringContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_TABLES(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLES, 0)!; + } + public schemaRef(): SchemaRefContext | null { + return this.getRuleContext(0, SchemaRefContext); + } + public KW_LIKE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LIKE, 0); + } + public KW_FROM(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FROM, 0); + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public string_(): StringContext[]; + public string_(i: number): StringContext | null; + public string_(i?: number): StringContext[] | StringContext | null { + if (i === undefined) { + return this.getRuleContexts(StringContext); + } + + return this.getRuleContext(i, StringContext); + } + public KW_ESCAPE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowTables) { + listener.enterShowTables(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowTables) { + listener.exitShowTables(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowTables) { + return visitor.visitShowTables(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class SetViewAuthorizationContext extends StatementContext { + public _from_?: ViewRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; + } + public KW_AUTHORIZATION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0)!; + } + public principal(): PrincipalContext { + return this.getRuleContext(0, PrincipalContext)!; + } + public viewRef(): ViewRefContext { + return this.getRuleContext(0, ViewRefContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSetViewAuthorization) { + listener.enterSetViewAuthorization(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitSetViewAuthorization) { + listener.exitSetViewAuthorization(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitSetViewAuthorization) { + return visitor.visitSetViewAuthorization(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowTableCommentContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_COMMENT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0)!; + } + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowTableComment) { + listener.enterShowTableComment(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowTableComment) { + listener.exitShowTableComment(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowTableComment) { + return visitor.visitShowTableComment(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowCatalogsContext extends StatementContext { + public _pattern?: StringContext; + public _escape?: StringContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_CATALOGS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CATALOGS, 0)!; + } + public KW_LIKE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LIKE, 0); + } + public string_(): StringContext[]; + public string_(i: number): StringContext | null; + public string_(i?: number): StringContext[] | StringContext | null { + if (i === undefined) { + return this.getRuleContexts(StringContext); + } + + return this.getRuleContext(i, StringContext); + } + public KW_ESCAPE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowCatalogs) { + listener.enterShowCatalogs(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowCatalogs) { + listener.exitShowCatalogs(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowCatalogs) { + return visitor.visitShowCatalogs(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowRolesContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_ROLES(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ROLES, 0)!; + } + public KW_CURRENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CURRENT, 0); + } + public catalogRef(): CatalogRefContext | null { + return this.getRuleContext(0, CatalogRefContext); + } + public KW_FROM(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FROM, 0); + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowRoles) { + listener.enterShowRoles(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowRoles) { + listener.exitShowRoles(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowRoles) { + return visitor.visitShowRoles(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class MergeContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_MERGE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MERGE, 0)!; + } + public KW_INTO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_INTO, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public KW_USING(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_USING, 0)!; + } + public relation(): RelationContext { + return this.getRuleContext(0, RelationContext)!; + } + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; + } + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public mergeCase(): MergeCaseContext[]; + public mergeCase(i: number): MergeCaseContext | null; + public mergeCase(i?: number): MergeCaseContext[] | MergeCaseContext | null { + if (i === undefined) { + return this.getRuleContexts(MergeCaseContext); + } + + return this.getRuleContext(i, MergeCaseContext); + } + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterMerge) { + listener.enterMerge(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitMerge) { + listener.exitMerge(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitMerge) { + return visitor.visitMerge(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class RenameColumnContext extends StatementContext { + public _tableName?: TableRefContext; + public _from_?: ColumnRefContext; + public _to?: ColumnNameCreateContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public KW_RENAME(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RENAME, 0)!; + } + public KW_COLUMN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; + } + public KW_TO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TO, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public columnRef(): ColumnRefContext { + return this.getRuleContext(0, ColumnRefContext)!; + } + public columnNameCreate(): ColumnNameCreateContext { + return this.getRuleContext(0, ColumnNameCreateContext)!; + } + public KW_IF(): antlr.TerminalNode[]; + public KW_IF(i: number): antlr.TerminalNode | null; + public KW_IF(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_IF); + } else { + return this.getToken(TrinoSqlParser.KW_IF, i); + } + } + public KW_EXISTS(): antlr.TerminalNode[]; + public KW_EXISTS(i: number): antlr.TerminalNode | null; + public KW_EXISTS(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_EXISTS); + } else { + return this.getToken(TrinoSqlParser.KW_EXISTS, i); + } + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterRenameColumn) { + listener.enterRenameColumn(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitRenameColumn) { + listener.exitRenameColumn(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitRenameColumn) { + return visitor.visitRenameColumn(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class CommentColumnContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_COMMENT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0)!; + } + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; + } + public KW_COLUMN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; + } + public columnRef(): ColumnRefContext { + return this.getRuleContext(0, ColumnRefContext)!; + } + public KW_IS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_IS, 0)!; + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public KW_NULL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NULL, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCommentColumn) { + listener.enterCommentColumn(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitCommentColumn) { + listener.exitCommentColumn(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitCommentColumn) { + return visitor.visitCommentColumn(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class RevokeRolesContext extends StatementContext { + public _catalog?: CatalogRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_REVOKE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_REVOKE, 0)!; + } + public privilegeOrRole(): PrivilegeOrRoleContext[]; + public privilegeOrRole(i: number): PrivilegeOrRoleContext | null; + public privilegeOrRole(i?: number): PrivilegeOrRoleContext[] | PrivilegeOrRoleContext | null { + if (i === undefined) { + return this.getRuleContexts(PrivilegeOrRoleContext); + } + + return this.getRuleContext(i, PrivilegeOrRoleContext); + } + public KW_FROM(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + } + public principal(): PrincipalContext[]; + public principal(i: number): PrincipalContext | null; + public principal(i?: number): PrincipalContext[] | PrincipalContext | null { + if (i === undefined) { + return this.getRuleContexts(PrincipalContext); + } + + return this.getRuleContext(i, PrincipalContext); + } + public KW_ADMIN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ADMIN, 0); + } + public KW_OPTION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OPTION, 0); + } + public KW_FOR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FOR, 0); + } + public KW_GRANTED(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_GRANTED, 0); + } + public KW_BY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BY, 0); + } + public grantor(): GrantorContext | null { + return this.getRuleContext(0, GrantorContext); + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public catalogRef(): CatalogRefContext | null { + return this.getRuleContext(0, CatalogRefContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterRevokeRoles) { + listener.enterRevokeRoles(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitRevokeRoles) { + listener.exitRevokeRoles(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitRevokeRoles) { + return visitor.visitRevokeRoles(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowCreateTableContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowCreateTable) { + listener.enterShowCreateTable(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowCreateTable) { + listener.exitShowCreateTable(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowCreateTable) { + return visitor.visitShowCreateTable(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowColumnsContext extends StatementContext { + public _pattern?: StringContext; + public _escape?: StringContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SHOW, 0); + } + public KW_COLUMNS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COLUMNS, 0); + } + public tableOrViewName(): TableOrViewNameContext { + return this.getRuleContext(0, TableOrViewNameContext)!; + } + public KW_FROM(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FROM, 0); + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public KW_LIKE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LIKE, 0); + } + public string_(): StringContext[]; + public string_(i: number): StringContext | null; + public string_(i?: number): StringContext[] | StringContext | null { + if (i === undefined) { + return this.getRuleContexts(StringContext); + } + + return this.getRuleContext(i, StringContext); + } + public KW_ESCAPE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + } + public KW_DESCRIBE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DESCRIBE, 0); + } + public KW_DESC(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DESC, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowColumns) { + listener.enterShowColumns(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowColumns) { + listener.exitShowColumns(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowColumns) { + return visitor.visitShowColumns(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowRoleGrantsContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_ROLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ROLE, 0)!; + } + public KW_GRANTS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_GRANTS, 0)!; + } + public catalogRef(): CatalogRefContext | null { + return this.getRuleContext(0, CatalogRefContext); + } + public KW_FROM(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FROM, 0); + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowRoleGrants) { + listener.enterShowRoleGrants(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowRoleGrants) { + listener.exitShowRoleGrants(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowRoleGrants) { + return visitor.visitShowRoleGrants(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class AddColumnContext extends StatementContext { + public _tableName?: TableRefContext; + public _column?: ColumnDefinitionContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public KW_ADD(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ADD, 0)!; + } + public KW_COLUMN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public columnDefinition(): ColumnDefinitionContext { + return this.getRuleContext(0, ColumnDefinitionContext)!; + } + public KW_IF(): antlr.TerminalNode[]; + public KW_IF(i: number): antlr.TerminalNode | null; + public KW_IF(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_IF); + } else { + return this.getToken(TrinoSqlParser.KW_IF, i); + } + } + public KW_EXISTS(): antlr.TerminalNode[]; + public KW_EXISTS(i: number): antlr.TerminalNode | null; + public KW_EXISTS(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_EXISTS); + } else { + return this.getToken(TrinoSqlParser.KW_EXISTS, i); + } + } + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterAddColumn) { + listener.enterAddColumn(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitAddColumn) { + listener.exitAddColumn(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitAddColumn) { + return visitor.visitAddColumn(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DenyContext extends StatementContext { + public _grantee?: PrincipalContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_DENY(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DENY, 0)!; + } + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; + } + public grantObject(): GrantObjectContext { + return this.getRuleContext(0, GrantObjectContext)!; + } + public KW_TO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TO, 0)!; + } + public principal(): PrincipalContext { + return this.getRuleContext(0, PrincipalContext)!; + } + public privilege(): PrivilegeContext[]; + public privilege(i: number): PrivilegeContext | null; + public privilege(i?: number): PrivilegeContext[] | PrivilegeContext | null { + if (i === undefined) { + return this.getRuleContexts(PrivilegeContext); + } + + return this.getRuleContext(i, PrivilegeContext); + } + public KW_ALL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ALL, 0); + } + public KW_PRIVILEGES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PRIVILEGES, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDeny) { + listener.enterDeny(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDeny) { + listener.exitDeny(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDeny) { + return visitor.visitDeny(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ResetSessionContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_RESET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RESET, 0)!; + } + public KW_SESSION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SESSION, 0)!; + } + public qualifiedName(): QualifiedNameContext { + return this.getRuleContext(0, QualifiedNameContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterResetSession) { + listener.enterResetSession(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitResetSession) { + listener.exitResetSession(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitResetSession) { + return visitor.visitResetSession(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class InsertIntoContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_INSERT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_INSERT, 0)!; + } + public KW_INTO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_INTO, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public rootQuery(): RootQueryContext { + return this.getRuleContext(0, RootQueryContext)!; + } + public columnList(): ColumnListContext | null { + return this.getRuleContext(0, ColumnListContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterInsertInto) { + listener.enterInsertInto(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitInsertInto) { + listener.exitInsertInto(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitInsertInto) { + return visitor.visitInsertInto(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowSessionContext extends StatementContext { + public _pattern?: StringContext; + public _escape?: StringContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_SESSION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SESSION, 0)!; + } + public KW_LIKE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LIKE, 0); + } + public string_(): StringContext[]; + public string_(i: number): StringContext | null; + public string_(i?: number): StringContext[] | StringContext | null { + if (i === undefined) { + return this.getRuleContexts(StringContext); + } + + return this.getRuleContext(i, StringContext); + } + public KW_ESCAPE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowSession) { + listener.enterShowSession(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowSession) { + listener.exitShowSession(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowSession) { + return visitor.visitShowSession(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class CreateSchemaContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public KW_SCHEMA(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SCHEMA, 0)!; + } + public schemaNameCreate(): SchemaNameCreateContext { + return this.getRuleContext(0, SchemaNameCreateContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public KW_AUTHORIZATION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0); + } + public principal(): PrincipalContext | null { + return this.getRuleContext(0, PrincipalContext); + } + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); + } + public properties(): PropertiesContext | null { + return this.getRuleContext(0, PropertiesContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCreateSchema) { + listener.enterCreateSchema(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitCreateSchema) { + listener.exitCreateSchema(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitCreateSchema) { + return visitor.visitCreateSchema(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class SetSessionAuthorizationContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; + } + public KW_SESSION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SESSION, 0)!; + } + public KW_AUTHORIZATION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0)!; + } + public authorizationUser(): AuthorizationUserContext { + return this.getRuleContext(0, AuthorizationUserContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSetSessionAuthorization) { + listener.enterSetSessionAuthorization(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitSetSessionAuthorization) { + listener.exitSetSessionAuthorization(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitSetSessionAuthorization) { + return visitor.visitSetSessionAuthorization(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ExplainAnalyzeContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_EXPLAIN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_EXPLAIN, 0)!; + } + public KW_ANALYZE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ANALYZE, 0)!; + } + public statement(): StatementContext { + return this.getRuleContext(0, StatementContext)!; + } + public KW_VERBOSE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_VERBOSE, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterExplainAnalyze) { + listener.enterExplainAnalyze(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitExplainAnalyze) { + listener.exitExplainAnalyze(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitExplainAnalyze) { + return visitor.visitExplainAnalyze(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ExecuteContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_EXECUTE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_EXECUTE, 0)!; + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public KW_USING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_USING, 0); + } + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExpressionContext); + } + + return this.getRuleContext(i, ExpressionContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterExecute) { + listener.enterExecute(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitExecute) { + listener.exitExecute(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitExecute) { + return visitor.visitExecute(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class RenameSchemaContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_SCHEMA(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SCHEMA, 0)!; + } + public schemaRef(): SchemaRefContext { + return this.getRuleContext(0, SchemaRefContext)!; + } + public KW_RENAME(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RENAME, 0)!; + } + public KW_TO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TO, 0)!; + } + public schemaNameCreate(): SchemaNameCreateContext { + return this.getRuleContext(0, SchemaNameCreateContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterRenameSchema) { + listener.enterRenameSchema(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitRenameSchema) { + listener.exitRenameSchema(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitRenameSchema) { + return visitor.visitRenameSchema(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DropRoleContext extends StatementContext { + public _name?: IdentifierContext; + public _catalog?: CatalogRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_DROP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DROP, 0)!; + } + public KW_ROLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ROLE, 0)!; + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public catalogRef(): CatalogRefContext | null { + return this.getRuleContext(0, CatalogRefContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDropRole) { + listener.enterDropRole(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDropRole) { + listener.exitDropRole(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDropRole) { + return visitor.visitDropRole(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class AnalyzeContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ANALYZE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ANALYZE, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); + } + public properties(): PropertiesContext | null { + return this.getRuleContext(0, PropertiesContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterAnalyze) { + listener.enterAnalyze(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitAnalyze) { + listener.exitAnalyze(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitAnalyze) { + return visitor.visitAnalyze(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class SetRoleContext extends StatementContext { + public _role?: IdentifierContext; + public _catalog?: CatalogRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; + } + public KW_ROLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ROLE, 0)!; + } + public KW_ALL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ALL, 0); + } + public KW_NONE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NONE, 0); + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public catalogRef(): CatalogRefContext | null { + return this.getRuleContext(0, CatalogRefContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSetRole) { + listener.enterSetRole(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitSetRole) { + listener.exitSetRole(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitSetRole) { + return visitor.visitSetRole(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class CreateFunctionContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public functionSpecification(): FunctionSpecificationContext { + return this.getRuleContext(0, FunctionSpecificationContext)!; + } + public KW_OR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OR, 0); + } + public KW_REPLACE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_REPLACE, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCreateFunction) { + listener.enterCreateFunction(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitCreateFunction) { + listener.exitCreateFunction(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitCreateFunction) { + return visitor.visitCreateFunction(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DropCatalogContext extends StatementContext { + public _catalog?: CatalogRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_DROP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DROP, 0)!; + } + public KW_CATALOG(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CATALOG, 0)!; + } + public catalogRef(): CatalogRefContext { + return this.getRuleContext(0, CatalogRefContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public KW_CASCADE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CASCADE, 0); + } + public KW_RESTRICT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RESTRICT, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDropCatalog) { + listener.enterDropCatalog(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDropCatalog) { + listener.exitDropCatalog(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDropCatalog) { + return visitor.visitDropCatalog(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowGrantsContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_GRANTS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_GRANTS, 0)!; + } + public KW_ON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ON, 0); + } + public grantObject(): GrantObjectContext | null { + return this.getRuleContext(0, GrantObjectContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowGrants) { + listener.enterShowGrants(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowGrants) { + listener.exitShowGrants(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowGrants) { + return visitor.visitShowGrants(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DropSchemaContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_DROP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DROP, 0)!; + } + public KW_SCHEMA(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SCHEMA, 0)!; + } + public schemaRef(): SchemaRefContext { + return this.getRuleContext(0, SchemaRefContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public KW_CASCADE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CASCADE, 0); + } + public KW_RESTRICT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RESTRICT, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDropSchema) { + listener.enterDropSchema(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDropSchema) { + listener.exitDropSchema(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDropSchema) { + return visitor.visitDropSchema(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ResetSessionAuthorizationContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_RESET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RESET, 0)!; + } + public KW_SESSION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SESSION, 0)!; + } + public KW_AUTHORIZATION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterResetSessionAuthorization) { + listener.enterResetSessionAuthorization(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitResetSessionAuthorization) { + listener.exitResetSessionAuthorization(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitResetSessionAuthorization) { + return visitor.visitResetSessionAuthorization(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class SetTableAuthorizationContext extends StatementContext { + public _tableName?: TableRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; + } + public KW_AUTHORIZATION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0)!; + } + public principal(): PrincipalContext { + return this.getRuleContext(0, PrincipalContext)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSetTableAuthorization) { + listener.enterSetTableAuthorization(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitSetTableAuthorization) { + listener.exitSetTableAuthorization(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitSetTableAuthorization) { + return visitor.visitSetTableAuthorization(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowCreateViewContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + } + public viewRef(): ViewRefContext { + return this.getRuleContext(0, ViewRefContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowCreateView) { + listener.enterShowCreateView(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowCreateView) { + listener.exitShowCreateView(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowCreateView) { + return visitor.visitShowCreateView(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowColumnCommentContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_COMMENT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0)!; + } + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; + } + public KW_COLUMN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; + } + public columnRef(): ColumnRefContext { + return this.getRuleContext(0, ColumnRefContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowColumnComment) { + listener.enterShowColumnComment(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowColumnComment) { + listener.exitShowColumnComment(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowColumnComment) { + return visitor.visitShowColumnComment(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class CreateTableContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public tableNameCreate(): TableNameCreateContext { + return this.getRuleContext(0, TableNameCreateContext)!; + } + public tableElement(): TableElementContext[]; + public tableElement(i: number): TableElementContext | null; + public tableElement(i?: number): TableElementContext[] | TableElementContext | null { + if (i === undefined) { + return this.getRuleContexts(TableElementContext); + } + + return this.getRuleContext(i, TableElementContext); + } + public KW_OR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OR, 0); + } + public KW_REPLACE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_REPLACE, 0); + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public KW_COMMENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0); + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); + } + public properties(): PropertiesContext | null { + return this.getRuleContext(0, PropertiesContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCreateTable) { + listener.enterCreateTable(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitCreateTable) { + listener.exitCreateTable(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitCreateTable) { + return visitor.visitCreateTable(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class GrantPrivilegesContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_GRANT(): antlr.TerminalNode[]; + public KW_GRANT(i: number): antlr.TerminalNode | null; + public KW_GRANT(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_GRANT); + } else { + return this.getToken(TrinoSqlParser.KW_GRANT, i); + } + } + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; + } + public grantObject(): GrantObjectContext { + return this.getRuleContext(0, GrantObjectContext)!; + } + public KW_TO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TO, 0)!; + } + public principal(): PrincipalContext { + return this.getRuleContext(0, PrincipalContext)!; + } + public KW_ALL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ALL, 0); + } + public KW_PRIVILEGES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PRIVILEGES, 0); + } + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); + } + public KW_OPTION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OPTION, 0); + } + public privilegeOrRole(): PrivilegeOrRoleContext[]; + public privilegeOrRole(i: number): PrivilegeOrRoleContext | null; + public privilegeOrRole(i?: number): PrivilegeOrRoleContext[] | PrivilegeOrRoleContext | null { + if (i === undefined) { + return this.getRuleContexts(PrivilegeOrRoleContext); + } + + return this.getRuleContext(i, PrivilegeOrRoleContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterGrantPrivileges) { + listener.enterGrantPrivileges(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitGrantPrivileges) { + listener.exitGrantPrivileges(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitGrantPrivileges) { + return visitor.visitGrantPrivileges(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class StartTransactionContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_START(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_START, 0)!; + } + public KW_TRANSACTION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TRANSACTION, 0)!; + } + public transactionMode(): TransactionModeContext[]; + public transactionMode(i: number): TransactionModeContext | null; + public transactionMode(i?: number): TransactionModeContext[] | TransactionModeContext | null { + if (i === undefined) { + return this.getRuleContexts(TransactionModeContext); + } + + return this.getRuleContext(i, TransactionModeContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterStartTransaction) { + listener.enterStartTransaction(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitStartTransaction) { + listener.exitStartTransaction(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitStartTransaction) { + return visitor.visitStartTransaction(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class CreateTableAsSelectContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public tableNameCreate(): TableNameCreateContext { + return this.getRuleContext(0, TableNameCreateContext)!; + } + public KW_AS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AS, 0)!; + } + public rootQuery(): RootQueryContext | null { + return this.getRuleContext(0, RootQueryContext); + } + public KW_OR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OR, 0); + } + public KW_REPLACE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_REPLACE, 0); + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public columnListCreate(): ColumnListCreateContext | null { + return this.getRuleContext(0, ColumnListCreateContext); + } + public KW_COMMENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0); + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public KW_WITH(): antlr.TerminalNode[]; + public KW_WITH(i: number): antlr.TerminalNode | null; + public KW_WITH(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_WITH); + } else { + return this.getToken(TrinoSqlParser.KW_WITH, i); + } + } + public properties(): PropertiesContext | null { + return this.getRuleContext(0, PropertiesContext); + } + public KW_DATA(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DATA, 0); + } + public KW_NO(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NO, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCreateTableAsSelect) { + listener.enterCreateTableAsSelect(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitCreateTableAsSelect) { + listener.exitCreateTableAsSelect(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitCreateTableAsSelect) { + return visitor.visitCreateTableAsSelect(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class CommentViewContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_COMMENT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0)!; + } + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; + } + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + } + public viewRef(): ViewRefContext { + return this.getRuleContext(0, ViewRefContext)!; + } + public KW_IS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_IS, 0)!; + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public KW_NULL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NULL, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCommentView) { + listener.enterCommentView(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitCommentView) { + listener.exitCommentView(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitCommentView) { + return visitor.visitCommentView(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowStatsContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_STATS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_STATS, 0)!; + } + public KW_FOR(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FOR, 0)!; + } + public tableOrViewName(): TableOrViewNameContext { + return this.getRuleContext(0, TableOrViewNameContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowStats) { + listener.enterShowStats(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowStats) { + listener.exitShowStats(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowStats) { + return visitor.visitShowStats(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowCreateSchemaContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public KW_SCHEMA(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SCHEMA, 0)!; + } + public schemaRef(): SchemaRefContext { + return this.getRuleContext(0, SchemaRefContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowCreateSchema) { + listener.enterShowCreateSchema(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowCreateSchema) { + listener.exitShowCreateSchema(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowCreateSchema) { + return visitor.visitShowCreateSchema(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class RevokePrivilegesContext extends StatementContext { + public _grantee?: PrincipalContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_REVOKE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_REVOKE, 0)!; + } + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; + } + public grantObject(): GrantObjectContext { + return this.getRuleContext(0, GrantObjectContext)!; + } + public KW_FROM(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + } + public principal(): PrincipalContext { + return this.getRuleContext(0, PrincipalContext)!; + } + public KW_ALL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ALL, 0); + } + public KW_PRIVILEGES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PRIVILEGES, 0); + } + public KW_GRANT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_GRANT, 0); + } + public KW_OPTION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OPTION, 0); + } + public KW_FOR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FOR, 0); + } + public privilegeOrRole(): PrivilegeOrRoleContext[]; + public privilegeOrRole(i: number): PrivilegeOrRoleContext | null; + public privilegeOrRole(i?: number): PrivilegeOrRoleContext[] | PrivilegeOrRoleContext | null { + if (i === undefined) { + return this.getRuleContexts(PrivilegeOrRoleContext); + } + + return this.getRuleContext(i, PrivilegeOrRoleContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterRevokePrivileges) { + listener.enterRevokePrivileges(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitRevokePrivileges) { + listener.exitRevokePrivileges(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitRevokePrivileges) { + return visitor.visitRevokePrivileges(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DropFunctionContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_DROP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DROP, 0)!; + } + public KW_FUNCTION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FUNCTION, 0)!; + } + public functionDeclaration(): FunctionDeclarationContext { + return this.getRuleContext(0, FunctionDeclarationContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDropFunction) { + listener.enterDropFunction(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDropFunction) { + listener.exitDropFunction(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDropFunction) { + return visitor.visitDropFunction(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class UpdateContext extends StatementContext { + public _where?: BooleanExpressionContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_UPDATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_UPDATE, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; + } + public updateAssignment(): UpdateAssignmentContext[]; + public updateAssignment(i: number): UpdateAssignmentContext | null; + public updateAssignment(i?: number): UpdateAssignmentContext[] | UpdateAssignmentContext | null { + if (i === undefined) { + return this.getRuleContexts(UpdateAssignmentContext); + } + + return this.getRuleContext(i, UpdateAssignmentContext); + } + public KW_WHERE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WHERE, 0); + } + public booleanExpression(): BooleanExpressionContext | null { + return this.getRuleContext(0, BooleanExpressionContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterUpdate) { + listener.enterUpdate(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitUpdate) { + listener.exitUpdate(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitUpdate) { + return visitor.visitUpdate(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class TableExecuteContext extends StatementContext { + public _tableName?: TableRefContext; + public _procedureName?: FunctionNameContext; + public _where?: BooleanExpressionContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public KW_EXECUTE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_EXECUTE, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public functionName(): FunctionNameContext { + return this.getRuleContext(0, FunctionNameContext)!; + } + public KW_WHERE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WHERE, 0); + } + public booleanExpression(): BooleanExpressionContext | null { + return this.getRuleContext(0, BooleanExpressionContext); + } + public callArgument(): CallArgumentContext[]; + public callArgument(i: number): CallArgumentContext | null; + public callArgument(i?: number): CallArgumentContext[] | CallArgumentContext | null { + if (i === undefined) { + return this.getRuleContexts(CallArgumentContext); + } + + return this.getRuleContext(i, CallArgumentContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterTableExecute) { + listener.enterTableExecute(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitTableExecute) { + listener.exitTableExecute(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitTableExecute) { + return visitor.visitTableExecute(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DeleteContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_DELETE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DELETE, 0)!; + } + public KW_FROM(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public KW_WHERE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WHERE, 0); + } + public booleanExpression(): BooleanExpressionContext | null { + return this.getRuleContext(0, BooleanExpressionContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDelete) { + listener.enterDelete(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDelete) { + listener.exitDelete(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDelete) { + return visitor.visitDelete(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class DescribeInputContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_DESCRIBE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DESCRIBE, 0)!; + } + public KW_INPUT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_INPUT, 0)!; + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDescribeInput) { + listener.enterDescribeInput(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDescribeInput) { + listener.exitDescribeInput(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDescribeInput) { + return visitor.visitDescribeInput(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class ShowStatsForQueryContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_STATS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_STATS, 0)!; + } + public KW_FOR(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FOR, 0)!; + } + public rootQuery(): RootQueryContext { + return this.getRuleContext(0, RootQueryContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterShowStatsForQuery) { + listener.enterShowStatsForQuery(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitShowStatsForQuery) { + listener.exitShowStatsForQuery(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitShowStatsForQuery) { + return visitor.visitShowStatsForQuery(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class SetColumnTypeContext extends StatementContext { + public _tableName?: TableRefContext; + public _column?: ColumnRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode[]; + public KW_ALTER(i: number): antlr.TerminalNode | null; + public KW_ALTER(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ALTER); + } else { + return this.getToken(TrinoSqlParser.KW_ALTER, i); + } + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public KW_COLUMN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; + } + public KW_DATA(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DATA, 0)!; + } + public KW_TYPE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TYPE, 0)!; + } + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public columnRef(): ColumnRefContext { + return this.getRuleContext(0, ColumnRefContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSetColumnType) { + listener.enterSetColumnType(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitSetColumnType) { + listener.exitSetColumnType(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitSetColumnType) { + return visitor.visitSetColumnType(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class StatementDefaultContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public rootQuery(): RootQueryContext { + return this.getRuleContext(0, RootQueryContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterStatementDefault) { + listener.enterStatementDefault(this); } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitStatementDefault) { + listener.exitStatementDefault(this); } - finally { - this.exitRule(); + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitStatementDefault) { + return visitor.visitStatementDefault(this); + } else { + return visitor.visitChildren(this); } - return localContext; } - public number_(): NumberContext { - let localContext = new NumberContext(this.context, this.state); - this.enterRule(localContext, 214, TrinoSqlParser.RULE_number); - let _la: number; - try { - this.state = 2602; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 339, this.context) ) { - case 1: - localContext = new DecimalLiteralContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 2591; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 256) { - { - this.state = 2590; - this.match(TrinoSqlParser.MINUS); - } - } - - this.state = 2593; - this.match(TrinoSqlParser.DECIMAL_VALUE); - } - break; - case 2: - localContext = new DoubleLiteralContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 2595; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 256) { - { - this.state = 2594; - this.match(TrinoSqlParser.MINUS); - } - } - - this.state = 2597; - this.match(TrinoSqlParser.DOUBLE_VALUE); - } - break; - case 3: - localContext = new IntegerLiteralContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 2599; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 256) { - { - this.state = 2598; - this.match(TrinoSqlParser.MINUS); - } - } - - this.state = 2601; - this.match(TrinoSqlParser.INTEGER_VALUE); - } - break; - } +} +export class SetTimeZoneContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; + } + public KW_TIME(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TIME, 0)!; + } + public KW_ZONE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ZONE, 0)!; + } + public KW_LOCAL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LOCAL, 0); + } + public expression(): ExpressionContext | null { + return this.getRuleContext(0, ExpressionContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSetTimeZone) { + listener.enterSetTimeZone(this); } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitSetTimeZone) { + listener.exitSetTimeZone(this); } - finally { - this.exitRule(); + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitSetTimeZone) { + return visitor.visitSetTimeZone(this); + } else { + return visitor.visitChildren(this); } - return localContext; } - public nonReserved(): NonReservedContext { - let localContext = new NonReservedContext(this.context, this.state); - this.enterRule(localContext, 216, TrinoSqlParser.RULE_nonReserved); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2604; - _la = this.tokenStream.LA(1); - if(!(((((_la - 17)) & ~0x1F) === 0 && ((1 << (_la - 17)) & 1140014511) !== 0) || ((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 3192429231) !== 0) || ((((_la - 90)) & ~0x1F) === 0 && ((1 << (_la - 90)) & 3134381375) !== 0) || ((((_la - 123)) & ~0x1F) === 0 && ((1 << (_la - 123)) & 3162472435) !== 0) || ((((_la - 155)) & ~0x1F) === 0 && ((1 << (_la - 155)) & 4286316499) !== 0) || ((((_la - 188)) & ~0x1F) === 0 && ((1 << (_la - 188)) & 4009750519) !== 0) || ((((_la - 220)) & ~0x1F) === 0 && ((1 << (_la - 220)) & 525170103) !== 0))) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } +} +export class TruncateTableContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_TRUNCATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TRUNCATE, 0)!; + } + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterTruncateTable) { + listener.enterTruncateTable(this); } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitTruncateTable) { + listener.exitTruncateTable(this); } - finally { - this.exitRule(); + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitTruncateTable) { + return visitor.visitTruncateTable(this); + } else { + return visitor.visitChildren(this); } - return localContext; } - - public override sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean { - switch (ruleIndex) { - case 21: - return this.queryTerm_sempred(localContext as QueryTermContext, predIndex); - case 34: - return this.relation_sempred(localContext as RelationContext, predIndex); - case 52: - return this.booleanExpression_sempred(localContext as BooleanExpressionContext, predIndex); - case 54: - return this.valueExpression_sempred(localContext as ValueExpressionContext, predIndex); - case 55: - return this.primaryExpression_sempred(localContext as PrimaryExpressionContext, predIndex); - case 66: - return this.type_sempred(localContext as TypeContext, predIndex); - case 76: - return this.rowPattern_sempred(localContext as RowPatternContext, predIndex); - case 100: - return this.columnName_sempred(localContext as ColumnNameContext, predIndex); - } - return true; +} +export class CreateMaterializedViewContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public KW_MATERIALIZED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; + } + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + } + public viewNameCreate(): ViewNameCreateContext { + return this.getRuleContext(0, ViewNameCreateContext)!; + } + public KW_AS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AS, 0)!; + } + public rootQuery(): RootQueryContext { + return this.getRuleContext(0, RootQueryContext)!; + } + public KW_OR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OR, 0); + } + public KW_REPLACE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_REPLACE, 0); + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public KW_GRACE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_GRACE, 0); + } + public KW_PERIOD(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PERIOD, 0); + } + public interval(): IntervalContext | null { + return this.getRuleContext(0, IntervalContext); + } + public KW_COMMENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0); + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); + } + public properties(): PropertiesContext | null { + return this.getRuleContext(0, PropertiesContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCreateMaterializedView) { + listener.enterCreateMaterializedView(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitCreateMaterializedView) { + listener.exitCreateMaterializedView(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitCreateMaterializedView) { + return visitor.visitCreateMaterializedView(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class SetSessionContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; + } + public KW_SESSION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SESSION, 0)!; + } + public qualifiedName(): QualifiedNameContext { + return this.getRuleContext(0, QualifiedNameContext)!; + } + public EQ(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.EQ, 0)!; } - private queryTerm_sempred(localContext: QueryTermContext | null, predIndex: number): boolean { - switch (predIndex) { - case 0: - return this.precpred(this.context, 2); - case 1: - return this.precpred(this.context, 1); - } - return true; + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } - private relation_sempred(localContext: RelationContext | null, predIndex: number): boolean { - switch (predIndex) { - case 2: - return this.precpred(this.context, 2); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSetSession) { + listener.enterSetSession(this); } - return true; } - private booleanExpression_sempred(localContext: BooleanExpressionContext | null, predIndex: number): boolean { - switch (predIndex) { - case 3: - return this.precpred(this.context, 2); - case 4: - return this.precpred(this.context, 1); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitSetSession) { + listener.exitSetSession(this); } - return true; } - private valueExpression_sempred(localContext: ValueExpressionContext | null, predIndex: number): boolean { - switch (predIndex) { - case 5: - return this.precpred(this.context, 3); - case 6: - return this.precpred(this.context, 2); - case 7: - return this.precpred(this.context, 1); - case 8: - return this.precpred(this.context, 5); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitSetSession) { + return visitor.visitSetSession(this); + } else { + return visitor.visitChildren(this); } - return true; } - private primaryExpression_sempred(localContext: PrimaryExpressionContext | null, predIndex: number): boolean { - switch (predIndex) { - case 9: - return this.precpred(this.context, 17); - case 10: - return this.precpred(this.context, 15); +} +export class CreateViewContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + } + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + } + public viewNameCreate(): ViewNameCreateContext { + return this.getRuleContext(0, ViewNameCreateContext)!; + } + public KW_AS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AS, 0)!; + } + public rootQuery(): RootQueryContext { + return this.getRuleContext(0, RootQueryContext)!; + } + public KW_OR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OR, 0); + } + public KW_REPLACE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_REPLACE, 0); + } + public KW_COMMENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0); + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public KW_SECURITY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SECURITY, 0); + } + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); + } + public properties(): PropertiesContext | null { + return this.getRuleContext(0, PropertiesContext); + } + public KW_DEFINER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DEFINER, 0); + } + public KW_INVOKER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INVOKER, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCreateView) { + listener.enterCreateView(this); } - return true; } - private type_sempred(localContext: TypeContext | null, predIndex: number): boolean { - switch (predIndex) { - case 11: - return this.precpred(this.context, 2); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitCreateView) { + listener.exitCreateView(this); } - return true; } - private rowPattern_sempred(localContext: RowPatternContext | null, predIndex: number): boolean { - switch (predIndex) { - case 12: - return this.precpred(this.context, 2); - case 13: - return this.precpred(this.context, 1); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitCreateView) { + return visitor.visitCreateView(this); + } else { + return visitor.visitChildren(this); } - return true; } - private columnName_sempred(localContext: ColumnNameContext | null, predIndex: number): boolean { - switch (predIndex) { - case 14: - return this.shouldMatchEmpty(); +} +export class RenameMaterializedViewContext extends StatementContext { + public _from_?: ViewRefContext; + public _to?: ViewNameCreateContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_MATERIALIZED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; + } + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + } + public KW_RENAME(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RENAME, 0)!; + } + public KW_TO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TO, 0)!; + } + public viewRef(): ViewRefContext { + return this.getRuleContext(0, ViewRefContext)!; + } + public viewNameCreate(): ViewNameCreateContext { + return this.getRuleContext(0, ViewNameCreateContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterRenameMaterializedView) { + listener.enterRenameMaterializedView(this); } - return true; } - - public static readonly _serializedATN: number[] = [ - 4,1,277,2607,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,1,0, - 5,0,220,8,0,10,0,12,0,223,9,0,1,0,1,0,1,1,1,1,1,2,1,2,1,2,1,2,3, - 2,233,8,2,1,3,1,3,3,3,237,8,3,1,4,1,4,3,4,241,8,4,1,5,1,5,3,5,245, - 8,5,1,6,1,6,3,6,249,8,6,1,7,1,7,3,7,253,8,7,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,3,8,263,8,8,1,8,1,8,1,8,3,8,268,8,8,1,8,1,8,3,8,272, - 8,8,1,8,1,8,1,8,1,8,3,8,278,8,8,1,8,1,8,3,8,282,8,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 3,8,303,8,8,1,8,1,8,3,8,307,8,8,1,8,1,8,3,8,311,8,8,1,8,1,8,3,8, - 315,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,323,8,8,1,8,1,8,3,8,327,8,8, - 1,8,3,8,330,8,8,1,8,1,8,1,8,1,8,1,8,3,8,337,8,8,1,8,1,8,1,8,1,8, - 1,8,5,8,344,8,8,10,8,12,8,347,9,8,1,8,1,8,1,8,3,8,352,8,8,1,8,1, - 8,3,8,356,8,8,1,8,1,8,1,8,1,8,3,8,362,8,8,1,8,1,8,1,8,1,8,1,8,3, - 8,369,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,378,8,8,1,8,1,8,1,8,1, - 8,1,8,1,8,1,8,3,8,387,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,1,8,3,8,401,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,410,8,8,1, - 8,1,8,1,8,1,8,3,8,416,8,8,1,8,1,8,1,8,1,8,1,8,3,8,423,8,8,1,8,1, - 8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,433,8,8,1,8,1,8,1,8,1,8,1,8,3,8,440, - 8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,448,8,8,1,8,1,8,1,8,1,8,1,8,1,8, - 3,8,456,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,483,8,8,10,8, - 12,8,486,9,8,3,8,488,8,8,1,8,3,8,491,8,8,1,8,1,8,3,8,495,8,8,1,8, - 1,8,1,8,1,8,3,8,501,8,8,1,8,1,8,1,8,3,8,506,8,8,1,8,1,8,1,8,1,8, - 1,8,3,8,513,8,8,1,8,1,8,1,8,3,8,518,8,8,1,8,1,8,3,8,522,8,8,1,8, - 1,8,1,8,1,8,1,8,1,8,3,8,530,8,8,1,8,1,8,1,8,1,8,3,8,536,8,8,1,8, - 1,8,3,8,540,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 3,8,554,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,562,8,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,581,8,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,5,8,604,8,8,10,8,12,8,607,9,8,3,8,609,8,8,1, - 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,619,8,8,1,8,1,8,3,8,623,8,8,1, - 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,634,8,8,10,8,12,8,637,9,8, - 1,8,1,8,1,8,3,8,642,8,8,1,8,1,8,1,8,3,8,647,8,8,1,8,1,8,3,8,651, - 8,8,1,8,1,8,1,8,1,8,3,8,657,8,8,1,8,1,8,1,8,1,8,1,8,5,8,664,8,8, - 10,8,12,8,667,9,8,1,8,1,8,1,8,3,8,672,8,8,1,8,1,8,3,8,676,8,8,1, - 8,1,8,1,8,1,8,1,8,3,8,683,8,8,1,8,1,8,3,8,687,8,8,1,8,1,8,1,8,1, - 8,5,8,693,8,8,10,8,12,8,696,9,8,1,8,1,8,3,8,700,8,8,1,8,1,8,3,8, - 704,8,8,1,8,1,8,3,8,708,8,8,1,8,3,8,711,8,8,1,8,1,8,1,8,1,8,1,8, - 3,8,718,8,8,1,8,1,8,1,8,1,8,5,8,724,8,8,10,8,12,8,727,9,8,1,8,1, - 8,3,8,731,8,8,1,8,1,8,3,8,735,8,8,1,8,1,8,3,8,739,8,8,1,8,3,8,742, - 8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,751,8,8,1,8,1,8,1,8,5,8,756, - 8,8,10,8,12,8,759,9,8,1,8,1,8,3,8,763,8,8,1,8,1,8,3,8,767,8,8,1, - 8,1,8,3,8,771,8,8,1,8,3,8,774,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,782, - 8,8,1,8,3,8,785,8,8,1,8,1,8,3,8,789,8,8,1,8,3,8,792,8,8,1,8,1,8, - 1,8,1,8,5,8,798,8,8,10,8,12,8,801,9,8,1,8,1,8,3,8,805,8,8,1,8,1, - 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,1,8,1,8,1,8,3,8,829,8,8,1,8,1,8,1,8,1,8,3,8,835,8,8,3,8,837, - 8,8,1,8,1,8,1,8,1,8,3,8,843,8,8,1,8,1,8,1,8,1,8,3,8,849,8,8,3,8, - 851,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,859,8,8,3,8,861,8,8,1,8,1,8, - 1,8,1,8,3,8,867,8,8,1,8,1,8,1,8,1,8,3,8,873,8,8,3,8,875,8,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,890,8,8,1,8, - 1,8,1,8,3,8,895,8,8,1,8,1,8,1,8,1,8,1,8,3,8,902,8,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,914,8,8,3,8,916,8,8,1,8,1,8,1,8, - 1,8,1,8,1,8,3,8,924,8,8,3,8,926,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,942,8,8,10,8,12,8,945,9,8,3,8,947, - 8,8,1,8,1,8,3,8,951,8,8,1,8,1,8,3,8,955,8,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,971,8,8,10,8,12,8,974,9, - 8,3,8,976,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,3,8,992,8,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1000,8,8,10,8,12,8, - 1003,9,8,1,8,1,8,3,8,1007,8,8,1,8,1,8,1,8,1,8,3,8,1013,8,8,1,8,3, - 8,1016,8,8,1,8,1,8,1,8,1,8,1,8,4,8,1023,8,8,11,8,12,8,1024,1,8,1, - 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1037,8,8,1,9,3,9,1040,8,9, - 1,9,1,9,1,10,1,10,3,10,1046,8,10,1,10,1,10,1,10,5,10,1051,8,10,10, - 10,12,10,1054,9,10,1,11,1,11,3,11,1058,8,11,1,12,1,12,1,12,1,12, - 3,12,1064,8,12,1,12,1,12,3,12,1068,8,12,1,12,1,12,3,12,1072,8,12, - 1,13,1,13,1,13,1,13,3,13,1078,8,13,1,14,1,14,1,14,1,14,1,15,1,15, - 1,15,5,15,1087,8,15,10,15,12,15,1090,9,15,1,16,1,16,1,16,1,16,1, - 17,1,17,3,17,1098,8,17,1,18,1,18,1,18,1,18,1,18,1,18,5,18,1106,8, - 18,10,18,12,18,1109,9,18,3,18,1111,8,18,1,18,1,18,1,18,3,18,1116, - 8,18,3,18,1118,8,18,1,18,1,18,1,18,1,18,1,18,3,18,1125,8,18,1,18, - 1,18,1,18,1,18,3,18,1131,8,18,3,18,1133,8,18,1,19,1,19,3,19,1137, - 8,19,1,20,1,20,1,21,1,21,1,21,1,21,1,21,1,21,3,21,1147,8,21,1,21, - 1,21,1,21,1,21,3,21,1153,8,21,1,21,5,21,1156,8,21,10,21,12,21,1159, - 9,21,1,22,1,22,1,22,1,22,1,22,1,22,1,22,5,22,1168,8,22,10,22,12, - 22,1171,9,22,1,22,1,22,1,22,1,22,3,22,1177,8,22,1,23,1,23,3,23,1181, - 8,23,1,23,3,23,1184,8,23,1,23,1,23,3,23,1188,8,23,1,24,1,24,3,24, - 1192,8,24,1,24,1,24,1,24,5,24,1197,8,24,10,24,12,24,1200,9,24,1, - 24,1,24,1,24,1,24,5,24,1206,8,24,10,24,12,24,1209,9,24,3,24,1211, - 8,24,1,24,1,24,3,24,1215,8,24,1,24,1,24,1,24,3,24,1220,8,24,1,24, - 1,24,3,24,1224,8,24,1,24,1,24,1,24,1,24,5,24,1230,8,24,10,24,12, - 24,1233,9,24,3,24,1235,8,24,1,25,3,25,1238,8,25,1,25,1,25,1,25,5, - 25,1243,8,25,10,25,12,25,1246,9,25,1,26,1,26,1,26,1,26,1,26,1,26, - 5,26,1254,8,26,10,26,12,26,1257,9,26,3,26,1259,8,26,1,26,1,26,1, - 26,1,26,1,26,1,26,5,26,1267,8,26,10,26,12,26,1270,9,26,3,26,1272, - 8,26,1,26,1,26,1,26,1,26,1,26,1,26,1,26,5,26,1281,8,26,10,26,12, - 26,1284,9,26,1,26,1,26,3,26,1288,8,26,1,27,1,27,1,27,1,27,5,27,1294, - 8,27,10,27,12,27,1297,9,27,3,27,1299,8,27,1,27,1,27,3,27,1303,8, - 27,1,28,1,28,3,28,1307,8,28,1,29,1,29,1,29,1,29,1,29,1,29,1,30,3, - 30,1316,8,30,1,30,1,30,1,30,1,30,1,30,5,30,1323,8,30,10,30,12,30, - 1326,9,30,3,30,1328,8,30,1,30,1,30,1,30,1,30,1,30,5,30,1335,8,30, - 10,30,12,30,1338,9,30,3,30,1340,8,30,1,30,3,30,1343,8,30,1,31,1, - 31,3,31,1347,8,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,33,1,33,3, - 33,1358,8,33,1,33,3,33,1361,8,33,1,33,3,33,1364,8,33,1,33,1,33,1, - 33,1,33,1,33,3,33,1371,8,33,1,33,3,33,1374,8,33,1,34,1,34,1,34,1, - 34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1, - 34,3,34,1393,8,34,5,34,1395,8,34,10,34,12,34,1398,9,34,1,35,3,35, - 1401,8,35,1,35,1,35,3,35,1405,8,35,1,35,1,35,3,35,1409,8,35,1,35, - 1,35,3,35,1413,8,35,3,35,1415,8,35,1,36,1,36,1,36,1,36,1,36,1,36, - 1,36,5,36,1424,8,36,10,36,12,36,1427,9,36,1,36,1,36,3,36,1431,8, - 36,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,1440,8,37,1,38,1,38,1, - 39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,5,39,1452,8,39,10,39,12,39, - 1455,9,39,3,39,1457,8,39,1,39,1,39,1,39,1,39,1,39,5,39,1464,8,39, - 10,39,12,39,1467,9,39,3,39,1469,8,39,1,39,1,39,1,39,1,39,5,39,1475, - 8,39,10,39,12,39,1478,9,39,3,39,1480,8,39,1,39,3,39,1483,8,39,1, - 39,1,39,1,39,3,39,1488,8,39,1,39,3,39,1491,8,39,1,39,1,39,1,39,1, - 39,1,39,1,39,1,39,1,39,5,39,1501,8,39,10,39,12,39,1504,9,39,3,39, - 1506,8,39,1,39,1,39,1,39,1,39,5,39,1512,8,39,10,39,12,39,1515,9, - 39,1,39,1,39,3,39,1519,8,39,1,39,1,39,3,39,1523,8,39,3,39,1525,8, - 39,3,39,1527,8,39,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,41,1, - 41,1,41,1,41,1,41,3,41,1542,8,41,3,41,1544,8,41,1,42,1,42,1,42,1, - 42,1,42,1,42,1,42,1,42,1,42,3,42,1555,8,42,1,43,1,43,1,43,1,43,1, - 43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1, - 43,1,43,3,43,1576,8,43,1,44,1,44,1,44,1,44,1,44,1,44,5,44,1584,8, - 44,10,44,12,44,1587,9,44,1,44,1,44,1,45,1,45,1,45,1,45,1,46,1,46, - 3,46,1597,8,46,1,46,1,46,3,46,1601,8,46,3,46,1603,8,46,1,47,1,47, - 1,47,1,47,5,47,1609,8,47,10,47,12,47,1612,9,47,1,47,1,47,1,48,1, - 48,1,48,1,48,5,48,1620,8,48,10,48,12,48,1623,9,48,1,48,1,48,1,49, - 1,49,1,49,1,49,5,49,1631,8,49,10,49,12,49,1634,9,49,1,49,1,49,1, - 50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,5,50,1648,8,50,10, - 50,12,50,1651,9,50,1,50,1,50,1,50,3,50,1656,8,50,1,50,1,50,1,50, - 1,50,1,50,1,50,1,50,1,50,1,50,3,50,1667,8,50,1,51,1,51,1,52,1,52, - 1,52,3,52,1674,8,52,1,52,1,52,3,52,1678,8,52,1,52,1,52,1,52,1,52, - 1,52,1,52,5,52,1686,8,52,10,52,12,52,1689,9,52,1,53,1,53,1,53,1, - 53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,1701,8,53,1,53,1,53,1,53,1, - 53,1,53,1,53,3,53,1709,8,53,1,53,1,53,1,53,1,53,1,53,5,53,1716,8, - 53,10,53,12,53,1719,9,53,1,53,1,53,1,53,3,53,1724,8,53,1,53,1,53, - 1,53,1,53,1,53,1,53,3,53,1732,8,53,1,53,1,53,1,53,1,53,3,53,1738, - 8,53,1,53,1,53,3,53,1742,8,53,1,53,1,53,1,53,3,53,1747,8,53,1,53, - 1,53,1,53,3,53,1752,8,53,1,54,1,54,1,54,1,54,3,54,1758,8,54,1,54, - 1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,5,54,1772, - 8,54,10,54,12,54,1775,9,54,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1, - 55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1, - 55,1,55,1,55,1,55,1,55,4,55,1802,8,55,11,55,12,55,1803,1,55,1,55, - 1,55,1,55,1,55,1,55,1,55,5,55,1813,8,55,10,55,12,55,1816,9,55,1, - 55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,1825,8,55,1,55,3,55,1828,8, - 55,1,55,3,55,1831,8,55,1,55,1,55,1,55,3,55,1836,8,55,1,55,1,55,1, - 55,5,55,1841,8,55,10,55,12,55,1844,9,55,3,55,1846,8,55,1,55,1,55, - 1,55,1,55,1,55,5,55,1853,8,55,10,55,12,55,1856,9,55,3,55,1858,8, - 55,1,55,1,55,3,55,1862,8,55,1,55,3,55,1865,8,55,1,55,3,55,1868,8, - 55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,5,55,1881, - 8,55,10,55,12,55,1884,9,55,3,55,1886,8,55,1,55,1,55,1,55,1,55,1, - 55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,4,55,1903,8, - 55,11,55,12,55,1904,1,55,1,55,3,55,1909,8,55,1,55,1,55,1,55,1,55, - 4,55,1915,8,55,11,55,12,55,1916,1,55,1,55,3,55,1921,8,55,1,55,1, - 55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1, - 55,1,55,1,55,1,55,1,55,1,55,1,55,5,55,1944,8,55,10,55,12,55,1947, - 9,55,3,55,1949,8,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,1958, - 8,55,1,55,1,55,1,55,1,55,3,55,1964,8,55,1,55,1,55,1,55,1,55,3,55, - 1970,8,55,1,55,1,55,1,55,1,55,3,55,1976,8,55,1,55,1,55,1,55,1,55, - 1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,1989,8,55,1,55,1,55,1,55, - 1,55,1,55,1,55,1,55,3,55,1998,8,55,1,55,1,55,1,55,1,55,1,55,1,55, - 1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,5,55, - 2018,8,55,10,55,12,55,2021,9,55,3,55,2023,8,55,1,55,3,55,2026,8, - 55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,5,55,2036,8,55,10,55, - 12,55,2039,9,55,1,56,1,56,1,57,1,57,1,57,1,57,3,57,2047,8,57,1,58, - 1,58,1,58,1,58,3,58,2053,8,58,3,58,2055,8,58,1,59,1,59,1,59,1,59, - 1,59,1,59,3,59,2063,8,59,1,60,1,60,1,61,1,61,1,62,1,62,1,63,1,63, - 3,63,2073,8,63,1,63,1,63,1,63,1,63,3,63,2079,8,63,1,64,1,64,1,65, - 1,65,1,66,1,66,1,66,1,66,1,66,1,66,5,66,2091,8,66,10,66,12,66,2094, - 9,66,1,66,1,66,1,66,1,66,1,66,1,66,3,66,2102,8,66,1,66,1,66,1,66, - 1,66,1,66,3,66,2109,8,66,1,66,1,66,1,66,3,66,2114,8,66,1,66,1,66, - 1,66,1,66,1,66,3,66,2121,8,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66, - 1,66,3,66,2131,8,66,1,66,1,66,1,66,3,66,2136,8,66,1,66,1,66,1,66, - 1,66,1,66,3,66,2143,8,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66, - 1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66, - 1,66,5,66,2167,8,66,10,66,12,66,2170,9,66,1,66,1,66,3,66,2174,8, - 66,3,66,2176,8,66,1,66,1,66,1,66,1,66,1,66,3,66,2183,8,66,5,66,2185, - 8,66,10,66,12,66,2188,9,66,1,67,1,67,1,67,1,67,3,67,2194,8,67,1, - 68,1,68,3,68,2198,8,68,1,69,1,69,1,69,1,69,1,69,1,70,1,70,1,70,1, - 70,1,70,1,70,1,71,1,71,1,71,1,71,3,71,2215,8,71,1,71,1,71,1,71,1, - 71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,5,71,2228,8,71,10,71,12,71, - 2231,9,71,1,71,1,71,1,71,1,71,3,71,2237,8,71,1,71,1,71,1,71,1,71, - 1,71,1,71,1,71,3,71,2246,8,71,1,71,1,71,1,71,1,71,1,71,1,71,5,71, - 2254,8,71,10,71,12,71,2257,9,71,1,71,1,71,3,71,2261,8,71,1,71,1, - 71,1,71,1,71,1,71,5,71,2268,8,71,10,71,12,71,2271,9,71,1,71,1,71, - 3,71,2275,8,71,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2283,8,72,1,73, - 1,73,1,73,1,73,5,73,2289,8,73,10,73,12,73,2292,9,73,3,73,2294,8, - 73,1,73,1,73,1,73,1,73,3,73,2300,8,73,1,73,3,73,2303,8,73,1,73,1, - 73,1,73,1,73,1,73,3,73,2310,8,73,1,73,1,73,1,73,1,73,5,73,2316,8, - 73,10,73,12,73,2319,9,73,3,73,2321,8,73,1,73,1,73,1,73,1,73,5,73, - 2327,8,73,10,73,12,73,2330,9,73,3,73,2332,8,73,1,74,1,74,1,74,1, - 74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1, - 74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,3,74,2358,8,74,1,75,1,75,1, - 75,1,75,1,75,1,75,1,75,1,75,1,75,3,75,2369,8,75,1,76,1,76,1,76,3, - 76,2374,8,76,1,76,1,76,1,76,1,76,1,76,5,76,2381,8,76,10,76,12,76, - 2384,9,76,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,5,77,2394,8,77, - 10,77,12,77,2397,9,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1, - 77,1,77,1,77,1,77,3,77,2411,8,77,1,78,1,78,3,78,2415,8,78,1,78,1, - 78,3,78,2419,8,78,1,78,1,78,3,78,2423,8,78,1,78,1,78,1,78,1,78,3, - 78,2429,8,78,1,78,1,78,3,78,2433,8,78,1,78,1,78,3,78,2437,8,78,1, - 78,1,78,3,78,2441,8,78,3,78,2443,8,78,1,79,1,79,1,79,1,79,1,80,1, - 80,1,80,1,80,3,80,2453,8,80,1,81,1,81,1,81,1,81,1,81,3,81,2460,8, - 81,1,82,1,82,1,82,1,82,1,82,1,82,1,82,3,82,2469,8,82,1,83,1,83,1, - 83,1,83,1,83,3,83,2476,8,83,1,84,1,84,1,84,1,84,1,84,3,84,2483,8, - 84,1,85,1,85,1,85,5,85,2488,8,85,10,85,12,85,2491,9,85,1,86,1,86, - 1,87,1,87,3,87,2497,8,87,1,88,1,88,1,89,1,89,1,90,1,90,1,91,1,91, - 1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,3,92,2518, - 8,92,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,93,3,93, - 2531,8,93,1,94,1,94,1,95,1,95,1,96,1,96,1,96,1,96,1,96,3,96,2542, - 8,96,1,97,1,97,1,98,1,98,1,99,1,99,1,100,1,100,3,100,2552,8,100, - 1,101,1,101,1,102,1,102,1,102,5,102,2559,8,102,10,102,12,102,2562, - 9,102,1,103,1,103,1,103,3,103,2567,8,103,1,104,1,104,1,104,1,104, - 1,104,3,104,2574,8,104,1,105,1,105,1,105,5,105,2579,8,105,10,105, - 12,105,2582,9,105,1,106,1,106,1,106,1,106,1,106,3,106,2589,8,106, - 1,107,3,107,2592,8,107,1,107,1,107,3,107,2596,8,107,1,107,1,107, - 3,107,2600,8,107,1,107,3,107,2603,8,107,1,108,1,108,1,108,0,7,42, - 68,104,108,110,132,152,109,0,2,4,6,8,10,12,14,16,18,20,22,24,26, - 28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70, - 72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110, - 112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142, - 144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174, - 176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206, - 208,210,212,214,216,0,27,2,0,34,34,185,185,2,0,61,61,112,112,2,0, - 88,88,103,103,2,0,75,75,104,104,1,0,192,193,2,0,84,84,139,139,2, - 0,261,261,265,265,2,0,74,74,229,229,2,0,27,27,63,63,2,0,84,84,118, - 118,2,0,20,20,66,66,2,0,30,30,211,211,2,0,105,105,199,199,1,0,255, - 256,1,0,257,259,2,0,83,83,194,194,1,0,249,254,3,0,20,20,24,24,206, - 206,2,0,80,80,223,223,5,0,58,58,100,100,136,137,197,197,247,247, - 1,0,140,143,2,0,85,85,171,171,3,0,95,95,117,117,215,215,4,0,67,67, - 113,113,127,127,236,236,2,0,155,155,246,246,4,0,62,62,108,108,200, - 200,232,232,49,0,17,20,22,22,24,25,27,30,33,34,37,42,47,47,56,59, - 61,61,63,63,65,65,67,68,71,71,75,75,78,78,81,85,87,87,90,95,98,98, - 100,102,104,105,107,107,110,110,112,113,115,115,117,119,121,121, - 123,124,127,137,139,145,149,152,154,156,159,159,161,172,174,177, - 179,186,188,190,192,199,201,211,213,215,217,222,224,225,227,228, - 230,230,232,234,236,236,238,239,242,242,244,248,3008,0,221,1,0,0, - 0,2,226,1,0,0,0,4,232,1,0,0,0,6,234,1,0,0,0,8,238,1,0,0,0,10,242, - 1,0,0,0,12,246,1,0,0,0,14,250,1,0,0,0,16,1036,1,0,0,0,18,1039,1, - 0,0,0,20,1043,1,0,0,0,22,1057,1,0,0,0,24,1059,1,0,0,0,26,1073,1, - 0,0,0,28,1079,1,0,0,0,30,1083,1,0,0,0,32,1091,1,0,0,0,34,1097,1, - 0,0,0,36,1099,1,0,0,0,38,1136,1,0,0,0,40,1138,1,0,0,0,42,1140,1, - 0,0,0,44,1176,1,0,0,0,46,1180,1,0,0,0,48,1189,1,0,0,0,50,1237,1, - 0,0,0,52,1287,1,0,0,0,54,1302,1,0,0,0,56,1306,1,0,0,0,58,1308,1, - 0,0,0,60,1315,1,0,0,0,62,1344,1,0,0,0,64,1353,1,0,0,0,66,1373,1, - 0,0,0,68,1375,1,0,0,0,70,1414,1,0,0,0,72,1430,1,0,0,0,74,1432,1, - 0,0,0,76,1441,1,0,0,0,78,1443,1,0,0,0,80,1528,1,0,0,0,82,1543,1, - 0,0,0,84,1554,1,0,0,0,86,1575,1,0,0,0,88,1577,1,0,0,0,90,1590,1, - 0,0,0,92,1594,1,0,0,0,94,1604,1,0,0,0,96,1615,1,0,0,0,98,1626,1, - 0,0,0,100,1666,1,0,0,0,102,1668,1,0,0,0,104,1677,1,0,0,0,106,1751, - 1,0,0,0,108,1757,1,0,0,0,110,2025,1,0,0,0,112,2040,1,0,0,0,114,2046, - 1,0,0,0,116,2054,1,0,0,0,118,2062,1,0,0,0,120,2064,1,0,0,0,122,2066, - 1,0,0,0,124,2068,1,0,0,0,126,2070,1,0,0,0,128,2080,1,0,0,0,130,2082, - 1,0,0,0,132,2175,1,0,0,0,134,2193,1,0,0,0,136,2197,1,0,0,0,138,2199, - 1,0,0,0,140,2204,1,0,0,0,142,2274,1,0,0,0,144,2276,1,0,0,0,146,2293, - 1,0,0,0,148,2357,1,0,0,0,150,2368,1,0,0,0,152,2370,1,0,0,0,154,2410, - 1,0,0,0,156,2442,1,0,0,0,158,2444,1,0,0,0,160,2452,1,0,0,0,162,2459, - 1,0,0,0,164,2468,1,0,0,0,166,2475,1,0,0,0,168,2482,1,0,0,0,170,2484, - 1,0,0,0,172,2492,1,0,0,0,174,2496,1,0,0,0,176,2498,1,0,0,0,178,2500, - 1,0,0,0,180,2502,1,0,0,0,182,2504,1,0,0,0,184,2517,1,0,0,0,186,2530, - 1,0,0,0,188,2532,1,0,0,0,190,2534,1,0,0,0,192,2541,1,0,0,0,194,2543, - 1,0,0,0,196,2545,1,0,0,0,198,2547,1,0,0,0,200,2551,1,0,0,0,202,2553, - 1,0,0,0,204,2555,1,0,0,0,206,2566,1,0,0,0,208,2573,1,0,0,0,210,2575, - 1,0,0,0,212,2588,1,0,0,0,214,2602,1,0,0,0,216,2604,1,0,0,0,218,220, - 3,2,1,0,219,218,1,0,0,0,220,223,1,0,0,0,221,219,1,0,0,0,221,222, - 1,0,0,0,222,224,1,0,0,0,223,221,1,0,0,0,224,225,5,0,0,1,225,1,1, - 0,0,0,226,227,3,6,3,0,227,3,1,0,0,0,228,233,3,8,4,0,229,233,3,10, - 5,0,230,233,3,12,6,0,231,233,3,14,7,0,232,228,1,0,0,0,232,229,1, - 0,0,0,232,230,1,0,0,0,232,231,1,0,0,0,233,5,1,0,0,0,234,236,3,16, - 8,0,235,237,5,272,0,0,236,235,1,0,0,0,236,237,1,0,0,0,237,7,1,0, - 0,0,238,240,3,102,51,0,239,241,5,272,0,0,240,239,1,0,0,0,240,241, - 1,0,0,0,241,9,1,0,0,0,242,244,3,170,85,0,243,245,5,272,0,0,244,243, - 1,0,0,0,244,245,1,0,0,0,245,11,1,0,0,0,246,248,3,132,66,0,247,249, - 5,272,0,0,248,247,1,0,0,0,248,249,1,0,0,0,249,13,1,0,0,0,250,252, - 3,152,76,0,251,253,5,272,0,0,252,251,1,0,0,0,252,253,1,0,0,0,253, - 15,1,0,0,0,254,1037,3,18,9,0,255,256,5,233,0,0,256,1037,3,188,94, - 0,257,258,5,44,0,0,258,262,5,195,0,0,259,260,5,101,0,0,260,261,5, - 147,0,0,261,263,5,77,0,0,262,259,1,0,0,0,262,263,1,0,0,0,263,264, - 1,0,0,0,264,267,3,190,95,0,265,266,5,29,0,0,266,268,3,208,104,0, - 267,265,1,0,0,0,267,268,1,0,0,0,268,271,1,0,0,0,269,270,5,243,0, - 0,270,272,3,28,14,0,271,269,1,0,0,0,271,272,1,0,0,0,272,1037,1,0, - 0,0,273,274,5,69,0,0,274,277,5,195,0,0,275,276,5,101,0,0,276,278, - 5,77,0,0,277,275,1,0,0,0,277,278,1,0,0,0,278,279,1,0,0,0,279,281, - 3,188,94,0,280,282,7,0,0,0,281,280,1,0,0,0,281,282,1,0,0,0,282,1037, - 1,0,0,0,283,284,5,21,0,0,284,285,5,195,0,0,285,286,3,188,94,0,286, - 287,5,180,0,0,287,288,5,220,0,0,288,289,3,190,95,0,289,1037,1,0, - 0,0,290,291,5,21,0,0,291,292,5,195,0,0,292,293,3,188,94,0,293,294, - 5,203,0,0,294,295,5,29,0,0,295,296,3,208,104,0,296,1037,1,0,0,0, - 297,298,5,44,0,0,298,302,5,212,0,0,299,300,5,101,0,0,300,301,5,147, - 0,0,301,303,5,77,0,0,302,299,1,0,0,0,302,303,1,0,0,0,303,304,1,0, - 0,0,304,306,3,178,89,0,305,307,3,94,47,0,306,305,1,0,0,0,306,307, - 1,0,0,0,307,310,1,0,0,0,308,309,5,40,0,0,309,311,3,116,58,0,310, - 308,1,0,0,0,310,311,1,0,0,0,311,314,1,0,0,0,312,313,5,243,0,0,313, - 315,3,28,14,0,314,312,1,0,0,0,314,315,1,0,0,0,315,316,1,0,0,0,316, - 322,5,26,0,0,317,323,3,18,9,0,318,319,5,1,0,0,319,320,3,18,9,0,320, - 321,5,2,0,0,321,323,1,0,0,0,322,317,1,0,0,0,322,318,1,0,0,0,323, - 329,1,0,0,0,324,326,5,243,0,0,325,327,5,144,0,0,326,325,1,0,0,0, - 326,327,1,0,0,0,327,328,1,0,0,0,328,330,5,56,0,0,329,324,1,0,0,0, - 329,330,1,0,0,0,330,1037,1,0,0,0,331,332,5,44,0,0,332,336,5,212, - 0,0,333,334,5,101,0,0,334,335,5,147,0,0,335,337,5,77,0,0,336,333, - 1,0,0,0,336,337,1,0,0,0,337,338,1,0,0,0,338,339,3,178,89,0,339,340, - 5,1,0,0,340,345,3,22,11,0,341,342,5,3,0,0,342,344,3,22,11,0,343, - 341,1,0,0,0,344,347,1,0,0,0,345,343,1,0,0,0,345,346,1,0,0,0,346, - 348,1,0,0,0,347,345,1,0,0,0,348,351,5,2,0,0,349,350,5,40,0,0,350, - 352,3,116,58,0,351,349,1,0,0,0,351,352,1,0,0,0,352,355,1,0,0,0,353, - 354,5,243,0,0,354,356,3,28,14,0,355,353,1,0,0,0,355,356,1,0,0,0, - 356,1037,1,0,0,0,357,358,5,69,0,0,358,361,5,212,0,0,359,360,5,101, - 0,0,360,362,5,77,0,0,361,359,1,0,0,0,361,362,1,0,0,0,362,363,1,0, - 0,0,363,1037,3,176,88,0,364,365,5,108,0,0,365,366,5,111,0,0,366, - 368,3,176,88,0,367,369,3,96,48,0,368,367,1,0,0,0,368,369,1,0,0,0, - 369,370,1,0,0,0,370,371,3,18,9,0,371,1037,1,0,0,0,372,373,5,62,0, - 0,373,374,5,88,0,0,374,377,3,176,88,0,375,376,5,241,0,0,376,378, - 3,104,52,0,377,375,1,0,0,0,377,378,1,0,0,0,378,1037,1,0,0,0,379, - 380,5,222,0,0,380,381,5,212,0,0,381,1037,3,176,88,0,382,383,5,21, - 0,0,383,386,5,212,0,0,384,385,5,101,0,0,385,387,5,77,0,0,386,384, - 1,0,0,0,386,387,1,0,0,0,387,388,1,0,0,0,388,389,3,176,88,0,389,390, - 5,180,0,0,390,391,5,220,0,0,391,392,3,178,89,0,392,1037,1,0,0,0, - 393,394,5,40,0,0,394,395,5,153,0,0,395,396,5,212,0,0,396,397,3,176, - 88,0,397,400,5,114,0,0,398,401,3,116,58,0,399,401,5,148,0,0,400, - 398,1,0,0,0,400,399,1,0,0,0,401,1037,1,0,0,0,402,403,5,40,0,0,403, - 404,5,153,0,0,404,405,5,38,0,0,405,406,3,200,100,0,406,409,5,114, - 0,0,407,410,3,116,58,0,408,410,5,148,0,0,409,407,1,0,0,0,409,408, - 1,0,0,0,410,1037,1,0,0,0,411,412,5,21,0,0,412,415,5,212,0,0,413, - 414,5,101,0,0,414,416,5,77,0,0,415,413,1,0,0,0,415,416,1,0,0,0,416, - 417,1,0,0,0,417,418,3,176,88,0,418,419,5,180,0,0,419,422,5,38,0, - 0,420,421,5,101,0,0,421,423,5,77,0,0,422,420,1,0,0,0,422,423,1,0, - 0,0,423,424,1,0,0,0,424,425,3,200,100,0,425,426,5,220,0,0,426,427, - 3,202,101,0,427,1037,1,0,0,0,428,429,5,21,0,0,429,432,5,212,0,0, - 430,431,5,101,0,0,431,433,5,77,0,0,432,430,1,0,0,0,432,433,1,0,0, - 0,433,434,1,0,0,0,434,435,3,176,88,0,435,436,5,69,0,0,436,439,5, - 38,0,0,437,438,5,101,0,0,438,440,5,77,0,0,439,437,1,0,0,0,439,440, - 1,0,0,0,440,441,1,0,0,0,441,442,3,200,100,0,442,1037,1,0,0,0,443, - 444,5,21,0,0,444,447,5,212,0,0,445,446,5,101,0,0,446,448,5,77,0, - 0,447,445,1,0,0,0,447,448,1,0,0,0,448,449,1,0,0,0,449,450,3,176, - 88,0,450,451,5,17,0,0,451,455,5,38,0,0,452,453,5,101,0,0,453,454, - 5,147,0,0,454,456,5,77,0,0,455,452,1,0,0,0,455,456,1,0,0,0,456,457, - 1,0,0,0,457,458,3,24,12,0,458,1037,1,0,0,0,459,460,5,21,0,0,460, - 461,5,212,0,0,461,462,3,176,88,0,462,463,5,203,0,0,463,464,5,29, - 0,0,464,465,3,208,104,0,465,1037,1,0,0,0,466,467,5,21,0,0,467,468, - 5,212,0,0,468,469,3,176,88,0,469,470,5,203,0,0,470,471,5,175,0,0, - 471,472,3,30,15,0,472,1037,1,0,0,0,473,474,5,21,0,0,474,475,5,212, - 0,0,475,476,3,176,88,0,476,477,5,76,0,0,477,490,3,212,106,0,478, - 487,5,1,0,0,479,484,3,166,83,0,480,481,5,3,0,0,481,483,3,166,83, - 0,482,480,1,0,0,0,483,486,1,0,0,0,484,482,1,0,0,0,484,485,1,0,0, - 0,485,488,1,0,0,0,486,484,1,0,0,0,487,479,1,0,0,0,487,488,1,0,0, - 0,488,489,1,0,0,0,489,491,5,2,0,0,490,478,1,0,0,0,490,491,1,0,0, - 0,491,494,1,0,0,0,492,493,5,241,0,0,493,495,3,104,52,0,494,492,1, - 0,0,0,494,495,1,0,0,0,495,1037,1,0,0,0,496,497,5,22,0,0,497,500, - 3,176,88,0,498,499,5,243,0,0,499,501,3,28,14,0,500,498,1,0,0,0,500, - 501,1,0,0,0,501,1037,1,0,0,0,502,505,5,44,0,0,503,504,5,157,0,0, - 504,506,5,182,0,0,505,503,1,0,0,0,505,506,1,0,0,0,506,507,1,0,0, - 0,507,508,5,133,0,0,508,512,5,239,0,0,509,510,5,101,0,0,510,511, - 5,147,0,0,511,513,5,77,0,0,512,509,1,0,0,0,512,513,1,0,0,0,513,514, - 1,0,0,0,514,517,3,182,91,0,515,516,5,40,0,0,516,518,3,116,58,0,517, - 515,1,0,0,0,517,518,1,0,0,0,518,521,1,0,0,0,519,520,5,243,0,0,520, - 522,3,28,14,0,521,519,1,0,0,0,521,522,1,0,0,0,522,523,1,0,0,0,523, - 524,5,26,0,0,524,525,3,18,9,0,525,1037,1,0,0,0,526,529,5,44,0,0, - 527,528,5,157,0,0,528,530,5,182,0,0,529,527,1,0,0,0,529,530,1,0, - 0,0,530,531,1,0,0,0,531,532,5,239,0,0,532,535,3,182,91,0,533,534, - 5,40,0,0,534,536,3,116,58,0,535,533,1,0,0,0,535,536,1,0,0,0,536, - 539,1,0,0,0,537,538,5,198,0,0,538,540,7,1,0,0,539,537,1,0,0,0,539, - 540,1,0,0,0,540,541,1,0,0,0,541,542,5,26,0,0,542,543,3,18,9,0,543, - 1037,1,0,0,0,544,545,5,179,0,0,545,546,5,133,0,0,546,547,5,239,0, - 0,547,1037,3,180,90,0,548,549,5,69,0,0,549,550,5,133,0,0,550,553, - 5,239,0,0,551,552,5,101,0,0,552,554,5,77,0,0,553,551,1,0,0,0,553, - 554,1,0,0,0,554,555,1,0,0,0,555,1037,3,180,90,0,556,557,5,21,0,0, - 557,558,5,133,0,0,558,561,5,239,0,0,559,560,5,101,0,0,560,562,5, - 77,0,0,561,559,1,0,0,0,561,562,1,0,0,0,562,563,1,0,0,0,563,564,3, - 180,90,0,564,565,5,180,0,0,565,566,5,220,0,0,566,567,3,182,91,0, - 567,1037,1,0,0,0,568,569,5,21,0,0,569,570,5,133,0,0,570,571,5,239, - 0,0,571,572,3,180,90,0,572,573,5,203,0,0,573,574,5,175,0,0,574,575, - 3,30,15,0,575,1037,1,0,0,0,576,577,5,69,0,0,577,580,5,239,0,0,578, - 579,5,101,0,0,579,581,5,77,0,0,580,578,1,0,0,0,580,581,1,0,0,0,581, - 582,1,0,0,0,582,1037,3,180,90,0,583,584,5,21,0,0,584,585,5,239,0, - 0,585,586,3,180,90,0,586,587,5,180,0,0,587,588,5,220,0,0,588,589, - 3,182,91,0,589,1037,1,0,0,0,590,591,5,21,0,0,591,592,5,239,0,0,592, - 593,3,180,90,0,593,594,5,203,0,0,594,595,5,29,0,0,595,596,3,208, - 104,0,596,1037,1,0,0,0,597,598,5,33,0,0,598,599,3,198,99,0,599,608, - 5,1,0,0,600,605,3,166,83,0,601,602,5,3,0,0,602,604,3,166,83,0,603, - 601,1,0,0,0,604,607,1,0,0,0,605,603,1,0,0,0,605,606,1,0,0,0,606, - 609,1,0,0,0,607,605,1,0,0,0,608,600,1,0,0,0,608,609,1,0,0,0,609, - 610,1,0,0,0,610,611,5,2,0,0,611,1037,1,0,0,0,612,613,5,44,0,0,613, - 614,5,188,0,0,614,618,3,212,106,0,615,616,5,243,0,0,616,617,5,18, - 0,0,617,619,3,206,103,0,618,615,1,0,0,0,618,619,1,0,0,0,619,622, - 1,0,0,0,620,621,5,103,0,0,621,623,3,194,97,0,622,620,1,0,0,0,622, - 623,1,0,0,0,623,1037,1,0,0,0,624,625,5,69,0,0,625,626,5,188,0,0, - 626,1037,3,212,106,0,627,628,5,91,0,0,628,629,3,210,105,0,629,630, - 5,220,0,0,630,635,3,208,104,0,631,632,5,3,0,0,632,634,3,208,104, - 0,633,631,1,0,0,0,634,637,1,0,0,0,635,633,1,0,0,0,635,636,1,0,0, - 0,636,641,1,0,0,0,637,635,1,0,0,0,638,639,5,243,0,0,639,640,5,18, - 0,0,640,642,5,156,0,0,641,638,1,0,0,0,641,642,1,0,0,0,642,646,1, - 0,0,0,643,644,5,92,0,0,644,645,5,32,0,0,645,647,3,206,103,0,646, - 643,1,0,0,0,646,647,1,0,0,0,647,650,1,0,0,0,648,649,5,103,0,0,649, - 651,3,194,97,0,650,648,1,0,0,0,650,651,1,0,0,0,651,1037,1,0,0,0, - 652,656,5,186,0,0,653,654,5,18,0,0,654,655,5,156,0,0,655,657,5,86, - 0,0,656,653,1,0,0,0,656,657,1,0,0,0,657,658,1,0,0,0,658,659,3,210, - 105,0,659,660,5,88,0,0,660,665,3,208,104,0,661,662,5,3,0,0,662,664, - 3,208,104,0,663,661,1,0,0,0,664,667,1,0,0,0,665,663,1,0,0,0,665, - 666,1,0,0,0,666,671,1,0,0,0,667,665,1,0,0,0,668,669,5,92,0,0,669, - 670,5,32,0,0,670,672,3,206,103,0,671,668,1,0,0,0,671,672,1,0,0,0, - 672,675,1,0,0,0,673,674,5,103,0,0,674,676,3,194,97,0,675,673,1,0, - 0,0,675,676,1,0,0,0,676,1037,1,0,0,0,677,678,5,203,0,0,678,682,5, - 188,0,0,679,683,5,20,0,0,680,683,5,145,0,0,681,683,3,212,106,0,682, - 679,1,0,0,0,682,680,1,0,0,0,682,681,1,0,0,0,683,686,1,0,0,0,684, - 685,5,103,0,0,685,687,3,194,97,0,686,684,1,0,0,0,686,687,1,0,0,0, - 687,1037,1,0,0,0,688,699,5,91,0,0,689,694,3,172,86,0,690,691,5,3, - 0,0,691,693,3,172,86,0,692,690,1,0,0,0,693,696,1,0,0,0,694,692,1, - 0,0,0,694,695,1,0,0,0,695,700,1,0,0,0,696,694,1,0,0,0,697,698,5, - 20,0,0,698,700,5,174,0,0,699,689,1,0,0,0,699,697,1,0,0,0,700,701, - 1,0,0,0,701,710,5,153,0,0,702,704,5,195,0,0,703,702,1,0,0,0,703, - 704,1,0,0,0,704,705,1,0,0,0,705,711,3,188,94,0,706,708,5,212,0,0, - 707,706,1,0,0,0,707,708,1,0,0,0,708,709,1,0,0,0,709,711,3,176,88, - 0,710,703,1,0,0,0,710,707,1,0,0,0,710,711,1,0,0,0,711,712,1,0,0, - 0,712,713,5,220,0,0,713,717,3,208,104,0,714,715,5,243,0,0,715,716, - 5,91,0,0,716,718,5,156,0,0,717,714,1,0,0,0,717,718,1,0,0,0,718,1037, - 1,0,0,0,719,730,5,94,0,0,720,725,3,172,86,0,721,722,5,3,0,0,722, - 724,3,172,86,0,723,721,1,0,0,0,724,727,1,0,0,0,725,723,1,0,0,0,725, - 726,1,0,0,0,726,731,1,0,0,0,727,725,1,0,0,0,728,729,5,20,0,0,729, - 731,5,174,0,0,730,720,1,0,0,0,730,728,1,0,0,0,731,732,1,0,0,0,732, - 741,5,153,0,0,733,735,5,195,0,0,734,733,1,0,0,0,734,735,1,0,0,0, - 735,736,1,0,0,0,736,742,3,188,94,0,737,739,5,212,0,0,738,737,1,0, - 0,0,738,739,1,0,0,0,739,740,1,0,0,0,740,742,3,176,88,0,741,734,1, - 0,0,0,741,738,1,0,0,0,742,743,1,0,0,0,743,744,5,220,0,0,744,745, - 3,208,104,0,745,1037,1,0,0,0,746,750,5,186,0,0,747,748,5,91,0,0, - 748,749,5,156,0,0,749,751,5,86,0,0,750,747,1,0,0,0,750,751,1,0,0, - 0,751,762,1,0,0,0,752,757,3,172,86,0,753,754,5,3,0,0,754,756,3,172, - 86,0,755,753,1,0,0,0,756,759,1,0,0,0,757,755,1,0,0,0,757,758,1,0, - 0,0,758,763,1,0,0,0,759,757,1,0,0,0,760,761,5,20,0,0,761,763,5,174, - 0,0,762,752,1,0,0,0,762,760,1,0,0,0,763,764,1,0,0,0,764,773,5,153, - 0,0,765,767,5,195,0,0,766,765,1,0,0,0,766,767,1,0,0,0,767,768,1, - 0,0,0,768,774,3,188,94,0,769,771,5,212,0,0,770,769,1,0,0,0,770,771, - 1,0,0,0,771,772,1,0,0,0,772,774,3,176,88,0,773,766,1,0,0,0,773,770, - 1,0,0,0,773,774,1,0,0,0,774,775,1,0,0,0,775,776,5,88,0,0,776,1037, - 3,208,104,0,777,778,5,205,0,0,778,784,5,93,0,0,779,781,5,153,0,0, - 780,782,5,212,0,0,781,780,1,0,0,0,781,782,1,0,0,0,782,783,1,0,0, - 0,783,785,3,176,88,0,784,779,1,0,0,0,784,785,1,0,0,0,785,1037,1, - 0,0,0,786,788,5,78,0,0,787,789,5,22,0,0,788,787,1,0,0,0,788,789, - 1,0,0,0,789,791,1,0,0,0,790,792,5,238,0,0,791,790,1,0,0,0,791,792, - 1,0,0,0,792,804,1,0,0,0,793,794,5,1,0,0,794,799,3,160,80,0,795,796, - 5,3,0,0,796,798,3,160,80,0,797,795,1,0,0,0,798,801,1,0,0,0,799,797, - 1,0,0,0,799,800,1,0,0,0,800,802,1,0,0,0,801,799,1,0,0,0,802,803, - 5,2,0,0,803,805,1,0,0,0,804,793,1,0,0,0,804,805,1,0,0,0,805,806, - 1,0,0,0,806,1037,3,16,8,0,807,808,5,205,0,0,808,809,5,44,0,0,809, - 810,5,212,0,0,810,1037,3,176,88,0,811,812,5,205,0,0,812,813,5,44, - 0,0,813,814,5,195,0,0,814,1037,3,188,94,0,815,816,5,205,0,0,816, - 817,5,44,0,0,817,818,5,239,0,0,818,1037,3,180,90,0,819,820,5,205, - 0,0,820,821,5,44,0,0,821,822,5,133,0,0,822,823,5,239,0,0,823,1037, - 3,180,90,0,824,825,5,205,0,0,825,828,5,213,0,0,826,827,7,2,0,0,827, - 829,3,188,94,0,828,826,1,0,0,0,828,829,1,0,0,0,829,836,1,0,0,0,830, - 831,5,122,0,0,831,834,3,116,58,0,832,833,5,73,0,0,833,835,3,116, - 58,0,834,832,1,0,0,0,834,835,1,0,0,0,835,837,1,0,0,0,836,830,1,0, - 0,0,836,837,1,0,0,0,837,1037,1,0,0,0,838,839,5,205,0,0,839,842,5, - 196,0,0,840,841,7,2,0,0,841,843,3,194,97,0,842,840,1,0,0,0,842,843, - 1,0,0,0,843,850,1,0,0,0,844,845,5,122,0,0,845,848,3,116,58,0,846, - 847,5,73,0,0,847,849,3,116,58,0,848,846,1,0,0,0,848,849,1,0,0,0, - 849,851,1,0,0,0,850,844,1,0,0,0,850,851,1,0,0,0,851,1037,1,0,0,0, - 852,853,5,205,0,0,853,860,5,37,0,0,854,855,5,122,0,0,855,858,3,116, - 58,0,856,857,5,73,0,0,857,859,3,116,58,0,858,856,1,0,0,0,858,859, - 1,0,0,0,859,861,1,0,0,0,860,854,1,0,0,0,860,861,1,0,0,0,861,1037, - 1,0,0,0,862,863,5,205,0,0,863,864,5,39,0,0,864,866,7,2,0,0,865,867, - 3,174,87,0,866,865,1,0,0,0,866,867,1,0,0,0,867,874,1,0,0,0,868,869, - 5,122,0,0,869,872,3,116,58,0,870,871,5,73,0,0,871,873,3,116,58,0, - 872,870,1,0,0,0,872,873,1,0,0,0,873,875,1,0,0,0,874,868,1,0,0,0, - 874,875,1,0,0,0,875,1037,1,0,0,0,876,877,5,205,0,0,877,878,5,208, - 0,0,878,879,5,86,0,0,879,1037,3,176,88,0,880,881,5,205,0,0,881,882, - 5,208,0,0,882,883,5,86,0,0,883,884,5,1,0,0,884,885,3,18,9,0,885, - 886,5,2,0,0,886,1037,1,0,0,0,887,889,5,205,0,0,888,890,5,47,0,0, - 889,888,1,0,0,0,889,890,1,0,0,0,890,891,1,0,0,0,891,894,5,189,0, - 0,892,893,7,2,0,0,893,895,3,212,106,0,894,892,1,0,0,0,894,895,1, - 0,0,0,895,1037,1,0,0,0,896,897,5,205,0,0,897,898,5,188,0,0,898,901, - 5,93,0,0,899,900,7,2,0,0,900,902,3,212,106,0,901,899,1,0,0,0,901, - 902,1,0,0,0,902,1037,1,0,0,0,903,904,5,64,0,0,904,1037,3,174,87, - 0,905,906,5,63,0,0,906,1037,3,174,87,0,907,908,5,205,0,0,908,915, - 5,90,0,0,909,910,5,122,0,0,910,913,3,116,58,0,911,912,5,73,0,0,912, - 914,3,116,58,0,913,911,1,0,0,0,913,914,1,0,0,0,914,916,1,0,0,0,915, - 909,1,0,0,0,915,916,1,0,0,0,916,1037,1,0,0,0,917,918,5,205,0,0,918, - 925,5,202,0,0,919,920,5,122,0,0,920,923,3,116,58,0,921,922,5,73, - 0,0,922,924,3,116,58,0,923,921,1,0,0,0,923,924,1,0,0,0,924,926,1, - 0,0,0,925,919,1,0,0,0,925,926,1,0,0,0,926,1037,1,0,0,0,927,928,5, - 203,0,0,928,929,5,202,0,0,929,930,3,204,102,0,930,931,5,249,0,0, - 931,932,3,102,51,0,932,1037,1,0,0,0,933,934,5,183,0,0,934,935,5, - 202,0,0,935,1037,3,204,102,0,936,937,5,207,0,0,937,946,5,221,0,0, - 938,943,3,162,81,0,939,940,5,3,0,0,940,942,3,162,81,0,941,939,1, - 0,0,0,942,945,1,0,0,0,943,941,1,0,0,0,943,944,1,0,0,0,944,947,1, - 0,0,0,945,943,1,0,0,0,946,938,1,0,0,0,946,947,1,0,0,0,947,1037,1, - 0,0,0,948,950,5,41,0,0,949,951,5,245,0,0,950,949,1,0,0,0,950,951, - 1,0,0,0,951,1037,1,0,0,0,952,954,5,190,0,0,953,955,5,245,0,0,954, - 953,1,0,0,0,954,955,1,0,0,0,955,1037,1,0,0,0,956,957,5,173,0,0,957, - 958,3,212,106,0,958,959,5,88,0,0,959,960,3,16,8,0,960,1037,1,0,0, - 0,961,962,5,60,0,0,962,963,5,173,0,0,963,1037,3,212,106,0,964,965, - 5,76,0,0,965,975,3,212,106,0,966,967,5,235,0,0,967,972,3,102,51, - 0,968,969,5,3,0,0,969,971,3,102,51,0,970,968,1,0,0,0,971,974,1,0, - 0,0,972,970,1,0,0,0,972,973,1,0,0,0,973,976,1,0,0,0,974,972,1,0, - 0,0,975,966,1,0,0,0,975,976,1,0,0,0,976,1037,1,0,0,0,977,978,5,64, - 0,0,978,979,5,107,0,0,979,1037,3,212,106,0,980,981,5,64,0,0,981, - 982,5,161,0,0,982,1037,3,212,106,0,983,984,5,203,0,0,984,985,5,166, - 0,0,985,1037,3,170,85,0,986,987,5,203,0,0,987,988,5,218,0,0,988, - 991,5,248,0,0,989,992,5,124,0,0,990,992,3,102,51,0,991,989,1,0,0, - 0,991,990,1,0,0,0,992,1037,1,0,0,0,993,994,5,232,0,0,994,995,3,176, - 88,0,995,996,5,203,0,0,996,1001,3,158,79,0,997,998,5,3,0,0,998,1000, - 3,158,79,0,999,997,1,0,0,0,1000,1003,1,0,0,0,1001,999,1,0,0,0,1001, - 1002,1,0,0,0,1002,1006,1,0,0,0,1003,1001,1,0,0,0,1004,1005,5,241, - 0,0,1005,1007,3,104,52,0,1006,1004,1,0,0,0,1006,1007,1,0,0,0,1007, - 1037,1,0,0,0,1008,1009,5,135,0,0,1009,1010,5,111,0,0,1010,1015,3, - 176,88,0,1011,1013,5,26,0,0,1012,1011,1,0,0,0,1012,1013,1,0,0,0, - 1013,1014,1,0,0,0,1014,1016,3,212,106,0,1015,1012,1,0,0,0,1015,1016, - 1,0,0,0,1016,1017,1,0,0,0,1017,1018,5,235,0,0,1018,1019,3,68,34, - 0,1019,1020,5,153,0,0,1020,1022,3,102,51,0,1021,1023,3,142,71,0, - 1022,1021,1,0,0,0,1023,1024,1,0,0,0,1024,1022,1,0,0,0,1024,1025, - 1,0,0,0,1025,1037,1,0,0,0,1026,1027,5,205,0,0,1027,1028,5,40,0,0, - 1028,1029,5,153,0,0,1029,1030,5,212,0,0,1030,1037,3,176,88,0,1031, - 1032,5,205,0,0,1032,1033,5,40,0,0,1033,1034,5,153,0,0,1034,1035, - 5,38,0,0,1035,1037,3,200,100,0,1036,254,1,0,0,0,1036,255,1,0,0,0, - 1036,257,1,0,0,0,1036,273,1,0,0,0,1036,283,1,0,0,0,1036,290,1,0, - 0,0,1036,297,1,0,0,0,1036,331,1,0,0,0,1036,357,1,0,0,0,1036,364, - 1,0,0,0,1036,372,1,0,0,0,1036,379,1,0,0,0,1036,382,1,0,0,0,1036, - 393,1,0,0,0,1036,402,1,0,0,0,1036,411,1,0,0,0,1036,428,1,0,0,0,1036, - 443,1,0,0,0,1036,459,1,0,0,0,1036,466,1,0,0,0,1036,473,1,0,0,0,1036, - 496,1,0,0,0,1036,502,1,0,0,0,1036,526,1,0,0,0,1036,544,1,0,0,0,1036, - 548,1,0,0,0,1036,556,1,0,0,0,1036,568,1,0,0,0,1036,576,1,0,0,0,1036, - 583,1,0,0,0,1036,590,1,0,0,0,1036,597,1,0,0,0,1036,612,1,0,0,0,1036, - 624,1,0,0,0,1036,627,1,0,0,0,1036,652,1,0,0,0,1036,677,1,0,0,0,1036, - 688,1,0,0,0,1036,719,1,0,0,0,1036,746,1,0,0,0,1036,777,1,0,0,0,1036, - 786,1,0,0,0,1036,807,1,0,0,0,1036,811,1,0,0,0,1036,815,1,0,0,0,1036, - 819,1,0,0,0,1036,824,1,0,0,0,1036,838,1,0,0,0,1036,852,1,0,0,0,1036, - 862,1,0,0,0,1036,876,1,0,0,0,1036,880,1,0,0,0,1036,887,1,0,0,0,1036, - 896,1,0,0,0,1036,903,1,0,0,0,1036,905,1,0,0,0,1036,907,1,0,0,0,1036, - 917,1,0,0,0,1036,927,1,0,0,0,1036,933,1,0,0,0,1036,936,1,0,0,0,1036, - 948,1,0,0,0,1036,952,1,0,0,0,1036,956,1,0,0,0,1036,961,1,0,0,0,1036, - 964,1,0,0,0,1036,977,1,0,0,0,1036,980,1,0,0,0,1036,983,1,0,0,0,1036, - 986,1,0,0,0,1036,993,1,0,0,0,1036,1008,1,0,0,0,1036,1026,1,0,0,0, - 1036,1031,1,0,0,0,1037,17,1,0,0,0,1038,1040,3,20,10,0,1039,1038, - 1,0,0,0,1039,1040,1,0,0,0,1040,1041,1,0,0,0,1041,1042,3,36,18,0, - 1042,19,1,0,0,0,1043,1045,5,243,0,0,1044,1046,5,178,0,0,1045,1044, - 1,0,0,0,1045,1046,1,0,0,0,1046,1047,1,0,0,0,1047,1052,3,62,31,0, - 1048,1049,5,3,0,0,1049,1051,3,62,31,0,1050,1048,1,0,0,0,1051,1054, - 1,0,0,0,1052,1050,1,0,0,0,1052,1053,1,0,0,0,1053,21,1,0,0,0,1054, - 1052,1,0,0,0,1055,1058,3,24,12,0,1056,1058,3,26,13,0,1057,1055,1, - 0,0,0,1057,1056,1,0,0,0,1058,23,1,0,0,0,1059,1060,3,202,101,0,1060, - 1063,3,132,66,0,1061,1062,5,147,0,0,1062,1064,5,148,0,0,1063,1061, - 1,0,0,0,1063,1064,1,0,0,0,1064,1067,1,0,0,0,1065,1066,5,40,0,0,1066, - 1068,3,116,58,0,1067,1065,1,0,0,0,1067,1068,1,0,0,0,1068,1071,1, - 0,0,0,1069,1070,5,243,0,0,1070,1072,3,28,14,0,1071,1069,1,0,0,0, - 1071,1072,1,0,0,0,1072,25,1,0,0,0,1073,1074,5,122,0,0,1074,1077, - 3,176,88,0,1075,1076,7,3,0,0,1076,1078,5,175,0,0,1077,1075,1,0,0, - 0,1077,1078,1,0,0,0,1078,27,1,0,0,0,1079,1080,5,1,0,0,1080,1081, - 3,30,15,0,1081,1082,5,2,0,0,1082,29,1,0,0,0,1083,1088,3,32,16,0, - 1084,1085,5,3,0,0,1085,1087,3,32,16,0,1086,1084,1,0,0,0,1087,1090, - 1,0,0,0,1088,1086,1,0,0,0,1088,1089,1,0,0,0,1089,31,1,0,0,0,1090, - 1088,1,0,0,0,1091,1092,3,212,106,0,1092,1093,5,249,0,0,1093,1094, - 3,34,17,0,1094,33,1,0,0,0,1095,1098,5,59,0,0,1096,1098,3,102,51, - 0,1097,1095,1,0,0,0,1097,1096,1,0,0,0,1098,35,1,0,0,0,1099,1110, - 3,42,21,0,1100,1101,5,158,0,0,1101,1102,5,32,0,0,1102,1107,3,46, - 23,0,1103,1104,5,3,0,0,1104,1106,3,46,23,0,1105,1103,1,0,0,0,1106, - 1109,1,0,0,0,1107,1105,1,0,0,0,1107,1108,1,0,0,0,1108,1111,1,0,0, - 0,1109,1107,1,0,0,0,1110,1100,1,0,0,0,1110,1111,1,0,0,0,1111,1117, - 1,0,0,0,1112,1113,5,151,0,0,1113,1115,3,40,20,0,1114,1116,7,4,0, - 0,1115,1114,1,0,0,0,1115,1116,1,0,0,0,1116,1118,1,0,0,0,1117,1112, - 1,0,0,0,1117,1118,1,0,0,0,1118,1132,1,0,0,0,1119,1120,5,123,0,0, - 1120,1133,3,38,19,0,1121,1122,5,81,0,0,1122,1124,7,5,0,0,1123,1125, - 3,40,20,0,1124,1123,1,0,0,0,1124,1125,1,0,0,0,1125,1126,1,0,0,0, - 1126,1130,7,4,0,0,1127,1131,5,155,0,0,1128,1129,5,243,0,0,1129,1131, - 5,217,0,0,1130,1127,1,0,0,0,1130,1128,1,0,0,0,1131,1133,1,0,0,0, - 1132,1119,1,0,0,0,1132,1121,1,0,0,0,1132,1133,1,0,0,0,1133,37,1, - 0,0,0,1134,1137,5,20,0,0,1135,1137,3,40,20,0,1136,1134,1,0,0,0,1136, - 1135,1,0,0,0,1137,39,1,0,0,0,1138,1139,7,6,0,0,1139,41,1,0,0,0,1140, - 1141,6,21,-1,0,1141,1142,3,44,22,0,1142,1157,1,0,0,0,1143,1144,10, - 2,0,0,1144,1146,5,109,0,0,1145,1147,3,64,32,0,1146,1145,1,0,0,0, - 1146,1147,1,0,0,0,1147,1148,1,0,0,0,1148,1156,3,42,21,3,1149,1150, - 10,1,0,0,1150,1152,7,7,0,0,1151,1153,3,64,32,0,1152,1151,1,0,0,0, - 1152,1153,1,0,0,0,1153,1154,1,0,0,0,1154,1156,3,42,21,2,1155,1143, - 1,0,0,0,1155,1149,1,0,0,0,1156,1159,1,0,0,0,1157,1155,1,0,0,0,1157, - 1158,1,0,0,0,1158,43,1,0,0,0,1159,1157,1,0,0,0,1160,1177,3,48,24, - 0,1161,1162,5,212,0,0,1162,1177,3,176,88,0,1163,1164,5,237,0,0,1164, - 1169,3,102,51,0,1165,1166,5,3,0,0,1166,1168,3,102,51,0,1167,1165, - 1,0,0,0,1168,1171,1,0,0,0,1169,1167,1,0,0,0,1169,1170,1,0,0,0,1170, - 1177,1,0,0,0,1171,1169,1,0,0,0,1172,1173,5,1,0,0,1173,1174,3,36, - 18,0,1174,1175,5,2,0,0,1175,1177,1,0,0,0,1176,1160,1,0,0,0,1176, - 1161,1,0,0,0,1176,1163,1,0,0,0,1176,1172,1,0,0,0,1177,45,1,0,0,0, - 1178,1181,3,200,100,0,1179,1181,3,102,51,0,1180,1178,1,0,0,0,1180, - 1179,1,0,0,0,1181,1183,1,0,0,0,1182,1184,7,8,0,0,1183,1182,1,0,0, - 0,1183,1184,1,0,0,0,1184,1187,1,0,0,0,1185,1186,5,150,0,0,1186,1188, - 7,9,0,0,1187,1185,1,0,0,0,1187,1188,1,0,0,0,1188,47,1,0,0,0,1189, - 1191,5,200,0,0,1190,1192,3,64,32,0,1191,1190,1,0,0,0,1191,1192,1, - 0,0,0,1192,1193,1,0,0,0,1193,1198,3,66,33,0,1194,1195,5,3,0,0,1195, - 1197,3,66,33,0,1196,1194,1,0,0,0,1197,1200,1,0,0,0,1198,1196,1,0, - 0,0,1198,1199,1,0,0,0,1199,1210,1,0,0,0,1200,1198,1,0,0,0,1201,1202, - 5,88,0,0,1202,1207,3,68,34,0,1203,1204,5,3,0,0,1204,1206,3,68,34, - 0,1205,1203,1,0,0,0,1206,1209,1,0,0,0,1207,1205,1,0,0,0,1207,1208, - 1,0,0,0,1208,1211,1,0,0,0,1209,1207,1,0,0,0,1210,1201,1,0,0,0,1210, - 1211,1,0,0,0,1211,1214,1,0,0,0,1212,1213,5,241,0,0,1213,1215,3,104, - 52,0,1214,1212,1,0,0,0,1214,1215,1,0,0,0,1215,1219,1,0,0,0,1216, - 1217,5,96,0,0,1217,1218,5,32,0,0,1218,1220,3,50,25,0,1219,1216,1, - 0,0,0,1219,1220,1,0,0,0,1220,1223,1,0,0,0,1221,1222,5,99,0,0,1222, - 1224,3,104,52,0,1223,1221,1,0,0,0,1223,1224,1,0,0,0,1224,1234,1, - 0,0,0,1225,1226,5,242,0,0,1226,1231,3,58,29,0,1227,1228,5,3,0,0, - 1228,1230,3,58,29,0,1229,1227,1,0,0,0,1230,1233,1,0,0,0,1231,1229, - 1,0,0,0,1231,1232,1,0,0,0,1232,1235,1,0,0,0,1233,1231,1,0,0,0,1234, - 1225,1,0,0,0,1234,1235,1,0,0,0,1235,49,1,0,0,0,1236,1238,3,64,32, - 0,1237,1236,1,0,0,0,1237,1238,1,0,0,0,1238,1239,1,0,0,0,1239,1244, - 3,52,26,0,1240,1241,5,3,0,0,1241,1243,3,52,26,0,1242,1240,1,0,0, - 0,1243,1246,1,0,0,0,1244,1242,1,0,0,0,1244,1245,1,0,0,0,1245,51, - 1,0,0,0,1246,1244,1,0,0,0,1247,1288,3,54,27,0,1248,1249,5,191,0, - 0,1249,1258,5,1,0,0,1250,1255,3,56,28,0,1251,1252,5,3,0,0,1252,1254, - 3,56,28,0,1253,1251,1,0,0,0,1254,1257,1,0,0,0,1255,1253,1,0,0,0, - 1255,1256,1,0,0,0,1256,1259,1,0,0,0,1257,1255,1,0,0,0,1258,1250, - 1,0,0,0,1258,1259,1,0,0,0,1259,1260,1,0,0,0,1260,1288,5,2,0,0,1261, - 1262,5,46,0,0,1262,1271,5,1,0,0,1263,1268,3,56,28,0,1264,1265,5, - 3,0,0,1265,1267,3,56,28,0,1266,1264,1,0,0,0,1267,1270,1,0,0,0,1268, - 1266,1,0,0,0,1268,1269,1,0,0,0,1269,1272,1,0,0,0,1270,1268,1,0,0, - 0,1271,1263,1,0,0,0,1271,1272,1,0,0,0,1272,1273,1,0,0,0,1273,1288, - 5,2,0,0,1274,1275,5,97,0,0,1275,1276,5,204,0,0,1276,1277,5,1,0,0, - 1277,1282,3,54,27,0,1278,1279,5,3,0,0,1279,1281,3,54,27,0,1280,1278, - 1,0,0,0,1281,1284,1,0,0,0,1282,1280,1,0,0,0,1282,1283,1,0,0,0,1283, - 1285,1,0,0,0,1284,1282,1,0,0,0,1285,1286,5,2,0,0,1286,1288,1,0,0, - 0,1287,1247,1,0,0,0,1287,1248,1,0,0,0,1287,1261,1,0,0,0,1287,1274, - 1,0,0,0,1288,53,1,0,0,0,1289,1298,5,1,0,0,1290,1295,3,56,28,0,1291, - 1292,5,3,0,0,1292,1294,3,56,28,0,1293,1291,1,0,0,0,1294,1297,1,0, - 0,0,1295,1293,1,0,0,0,1295,1296,1,0,0,0,1296,1299,1,0,0,0,1297,1295, - 1,0,0,0,1298,1290,1,0,0,0,1298,1299,1,0,0,0,1299,1300,1,0,0,0,1300, - 1303,5,2,0,0,1301,1303,3,56,28,0,1302,1289,1,0,0,0,1302,1301,1,0, - 0,0,1303,55,1,0,0,0,1304,1307,3,200,100,0,1305,1307,3,102,51,0,1306, - 1304,1,0,0,0,1306,1305,1,0,0,0,1307,57,1,0,0,0,1308,1309,3,212,106, - 0,1309,1310,5,26,0,0,1310,1311,5,1,0,0,1311,1312,3,60,30,0,1312, - 1313,5,2,0,0,1313,59,1,0,0,0,1314,1316,3,212,106,0,1315,1314,1,0, - 0,0,1315,1316,1,0,0,0,1316,1327,1,0,0,0,1317,1318,5,163,0,0,1318, - 1319,5,32,0,0,1319,1324,3,102,51,0,1320,1321,5,3,0,0,1321,1323,3, - 102,51,0,1322,1320,1,0,0,0,1323,1326,1,0,0,0,1324,1322,1,0,0,0,1324, - 1325,1,0,0,0,1325,1328,1,0,0,0,1326,1324,1,0,0,0,1327,1317,1,0,0, - 0,1327,1328,1,0,0,0,1328,1339,1,0,0,0,1329,1330,5,158,0,0,1330,1331, - 5,32,0,0,1331,1336,3,46,23,0,1332,1333,5,3,0,0,1333,1335,3,46,23, - 0,1334,1332,1,0,0,0,1335,1338,1,0,0,0,1336,1334,1,0,0,0,1336,1337, - 1,0,0,0,1337,1340,1,0,0,0,1338,1336,1,0,0,0,1339,1329,1,0,0,0,1339, - 1340,1,0,0,0,1340,1342,1,0,0,0,1341,1343,3,146,73,0,1342,1341,1, - 0,0,0,1342,1343,1,0,0,0,1343,61,1,0,0,0,1344,1346,3,212,106,0,1345, - 1347,3,98,49,0,1346,1345,1,0,0,0,1346,1347,1,0,0,0,1347,1348,1,0, - 0,0,1348,1349,5,26,0,0,1349,1350,5,1,0,0,1350,1351,3,18,9,0,1351, - 1352,5,2,0,0,1352,63,1,0,0,0,1353,1354,7,10,0,0,1354,65,1,0,0,0, - 1355,1358,3,200,100,0,1356,1358,3,102,51,0,1357,1355,1,0,0,0,1357, - 1356,1,0,0,0,1358,1363,1,0,0,0,1359,1361,5,26,0,0,1360,1359,1,0, - 0,0,1360,1361,1,0,0,0,1361,1362,1,0,0,0,1362,1364,3,212,106,0,1363, - 1360,1,0,0,0,1363,1364,1,0,0,0,1364,1374,1,0,0,0,1365,1366,3,110, - 55,0,1366,1367,5,4,0,0,1367,1370,5,257,0,0,1368,1369,5,26,0,0,1369, - 1371,3,98,49,0,1370,1368,1,0,0,0,1370,1371,1,0,0,0,1371,1374,1,0, - 0,0,1372,1374,5,257,0,0,1373,1357,1,0,0,0,1373,1365,1,0,0,0,1373, - 1372,1,0,0,0,1374,67,1,0,0,0,1375,1376,6,34,-1,0,1376,1377,3,74, - 37,0,1377,1396,1,0,0,0,1378,1392,10,2,0,0,1379,1380,5,45,0,0,1380, - 1381,5,116,0,0,1381,1393,3,74,37,0,1382,1383,3,70,35,0,1383,1384, - 5,116,0,0,1384,1385,3,68,34,0,1385,1386,3,72,36,0,1386,1393,1,0, - 0,0,1387,1388,5,138,0,0,1388,1389,3,70,35,0,1389,1390,5,116,0,0, - 1390,1391,3,74,37,0,1391,1393,1,0,0,0,1392,1379,1,0,0,0,1392,1382, - 1,0,0,0,1392,1387,1,0,0,0,1393,1395,1,0,0,0,1394,1378,1,0,0,0,1395, - 1398,1,0,0,0,1396,1394,1,0,0,0,1396,1397,1,0,0,0,1397,69,1,0,0,0, - 1398,1396,1,0,0,0,1399,1401,5,106,0,0,1400,1399,1,0,0,0,1400,1401, - 1,0,0,0,1401,1415,1,0,0,0,1402,1404,5,120,0,0,1403,1405,5,160,0, - 0,1404,1403,1,0,0,0,1404,1405,1,0,0,0,1405,1415,1,0,0,0,1406,1408, - 5,187,0,0,1407,1409,5,160,0,0,1408,1407,1,0,0,0,1408,1409,1,0,0, - 0,1409,1415,1,0,0,0,1410,1412,5,89,0,0,1411,1413,5,160,0,0,1412, - 1411,1,0,0,0,1412,1413,1,0,0,0,1413,1415,1,0,0,0,1414,1400,1,0,0, - 0,1414,1402,1,0,0,0,1414,1406,1,0,0,0,1414,1410,1,0,0,0,1415,71, - 1,0,0,0,1416,1417,5,153,0,0,1417,1431,3,104,52,0,1418,1419,5,235, - 0,0,1419,1420,5,1,0,0,1420,1425,3,212,106,0,1421,1422,5,3,0,0,1422, - 1424,3,212,106,0,1423,1421,1,0,0,0,1424,1427,1,0,0,0,1425,1423,1, - 0,0,0,1425,1426,1,0,0,0,1426,1428,1,0,0,0,1427,1425,1,0,0,0,1428, - 1429,5,2,0,0,1429,1431,1,0,0,0,1430,1416,1,0,0,0,1430,1418,1,0,0, - 0,1431,73,1,0,0,0,1432,1439,3,78,39,0,1433,1434,5,214,0,0,1434,1435, - 3,76,38,0,1435,1436,5,1,0,0,1436,1437,3,102,51,0,1437,1438,5,2,0, - 0,1438,1440,1,0,0,0,1439,1433,1,0,0,0,1439,1440,1,0,0,0,1440,75, - 1,0,0,0,1441,1442,7,11,0,0,1442,77,1,0,0,0,1443,1526,3,92,46,0,1444, - 1445,5,132,0,0,1445,1456,5,1,0,0,1446,1447,5,163,0,0,1447,1448,5, - 32,0,0,1448,1453,3,102,51,0,1449,1450,5,3,0,0,1450,1452,3,102,51, - 0,1451,1449,1,0,0,0,1452,1455,1,0,0,0,1453,1451,1,0,0,0,1453,1454, - 1,0,0,0,1454,1457,1,0,0,0,1455,1453,1,0,0,0,1456,1446,1,0,0,0,1456, - 1457,1,0,0,0,1457,1468,1,0,0,0,1458,1459,5,158,0,0,1459,1460,5,32, - 0,0,1460,1465,3,46,23,0,1461,1462,5,3,0,0,1462,1464,3,46,23,0,1463, - 1461,1,0,0,0,1464,1467,1,0,0,0,1465,1463,1,0,0,0,1465,1466,1,0,0, - 0,1466,1469,1,0,0,0,1467,1465,1,0,0,0,1468,1458,1,0,0,0,1468,1469, - 1,0,0,0,1469,1479,1,0,0,0,1470,1471,5,134,0,0,1471,1476,3,80,40, - 0,1472,1473,5,3,0,0,1473,1475,3,80,40,0,1474,1472,1,0,0,0,1475,1478, - 1,0,0,0,1476,1474,1,0,0,0,1476,1477,1,0,0,0,1477,1480,1,0,0,0,1478, - 1476,1,0,0,0,1479,1470,1,0,0,0,1479,1480,1,0,0,0,1480,1482,1,0,0, - 0,1481,1483,3,82,41,0,1482,1481,1,0,0,0,1482,1483,1,0,0,0,1483,1487, - 1,0,0,0,1484,1485,5,19,0,0,1485,1486,5,129,0,0,1486,1488,3,86,43, - 0,1487,1484,1,0,0,0,1487,1488,1,0,0,0,1488,1490,1,0,0,0,1489,1491, - 7,12,0,0,1490,1489,1,0,0,0,1490,1491,1,0,0,0,1491,1492,1,0,0,0,1492, - 1493,5,167,0,0,1493,1494,5,1,0,0,1494,1495,3,152,76,0,1495,1505, - 5,2,0,0,1496,1497,5,209,0,0,1497,1502,3,88,44,0,1498,1499,5,3,0, - 0,1499,1501,3,88,44,0,1500,1498,1,0,0,0,1501,1504,1,0,0,0,1502,1500, - 1,0,0,0,1502,1503,1,0,0,0,1503,1506,1,0,0,0,1504,1502,1,0,0,0,1505, - 1496,1,0,0,0,1505,1506,1,0,0,0,1506,1507,1,0,0,0,1507,1508,5,65, - 0,0,1508,1513,3,90,45,0,1509,1510,5,3,0,0,1510,1512,3,90,45,0,1511, - 1509,1,0,0,0,1512,1515,1,0,0,0,1513,1511,1,0,0,0,1513,1514,1,0,0, - 0,1514,1516,1,0,0,0,1515,1513,1,0,0,0,1516,1524,5,2,0,0,1517,1519, - 5,26,0,0,1518,1517,1,0,0,0,1518,1519,1,0,0,0,1519,1520,1,0,0,0,1520, - 1522,3,212,106,0,1521,1523,3,98,49,0,1522,1521,1,0,0,0,1522,1523, - 1,0,0,0,1523,1525,1,0,0,0,1524,1518,1,0,0,0,1524,1525,1,0,0,0,1525, - 1527,1,0,0,0,1526,1444,1,0,0,0,1526,1527,1,0,0,0,1527,79,1,0,0,0, - 1528,1529,3,102,51,0,1529,1530,5,26,0,0,1530,1531,3,212,106,0,1531, - 81,1,0,0,0,1532,1533,5,154,0,0,1533,1534,5,192,0,0,1534,1535,5,168, - 0,0,1535,1544,5,129,0,0,1536,1537,5,20,0,0,1537,1538,5,193,0,0,1538, - 1539,5,168,0,0,1539,1541,5,129,0,0,1540,1542,3,84,42,0,1541,1540, - 1,0,0,0,1541,1542,1,0,0,0,1542,1544,1,0,0,0,1543,1532,1,0,0,0,1543, - 1536,1,0,0,0,1544,83,1,0,0,0,1545,1546,5,205,0,0,1546,1547,5,71, - 0,0,1547,1555,5,131,0,0,1548,1549,5,152,0,0,1549,1550,5,71,0,0,1550, - 1555,5,131,0,0,1551,1552,5,243,0,0,1552,1553,5,230,0,0,1553,1555, - 5,193,0,0,1554,1545,1,0,0,0,1554,1548,1,0,0,0,1554,1551,1,0,0,0, - 1555,85,1,0,0,0,1556,1557,5,5,0,0,1557,1558,5,220,0,0,1558,1559, - 5,139,0,0,1559,1576,5,192,0,0,1560,1561,5,5,0,0,1561,1562,5,165, - 0,0,1562,1563,5,118,0,0,1563,1576,5,192,0,0,1564,1565,5,5,0,0,1565, - 1566,5,220,0,0,1566,1567,5,84,0,0,1567,1576,3,212,106,0,1568,1569, - 5,5,0,0,1569,1570,5,220,0,0,1570,1571,5,118,0,0,1571,1576,3,212, - 106,0,1572,1573,5,5,0,0,1573,1574,5,220,0,0,1574,1576,3,212,106, - 0,1575,1556,1,0,0,0,1575,1560,1,0,0,0,1575,1564,1,0,0,0,1575,1568, - 1,0,0,0,1575,1572,1,0,0,0,1576,87,1,0,0,0,1577,1578,3,212,106,0, - 1578,1579,5,249,0,0,1579,1580,5,1,0,0,1580,1585,3,212,106,0,1581, - 1582,5,3,0,0,1582,1584,3,212,106,0,1583,1581,1,0,0,0,1584,1587,1, - 0,0,0,1585,1583,1,0,0,0,1585,1586,1,0,0,0,1586,1588,1,0,0,0,1587, - 1585,1,0,0,0,1588,1589,5,2,0,0,1589,89,1,0,0,0,1590,1591,3,212,106, - 0,1591,1592,5,26,0,0,1592,1593,3,102,51,0,1593,91,1,0,0,0,1594,1602, - 3,100,50,0,1595,1597,5,26,0,0,1596,1595,1,0,0,0,1596,1597,1,0,0, - 0,1597,1598,1,0,0,0,1598,1600,3,212,106,0,1599,1601,3,98,49,0,1600, - 1599,1,0,0,0,1600,1601,1,0,0,0,1601,1603,1,0,0,0,1602,1596,1,0,0, - 0,1602,1603,1,0,0,0,1603,93,1,0,0,0,1604,1605,5,1,0,0,1605,1610, - 3,202,101,0,1606,1607,5,3,0,0,1607,1609,3,202,101,0,1608,1606,1, - 0,0,0,1609,1612,1,0,0,0,1610,1608,1,0,0,0,1610,1611,1,0,0,0,1611, - 1613,1,0,0,0,1612,1610,1,0,0,0,1613,1614,5,2,0,0,1614,95,1,0,0,0, - 1615,1616,5,1,0,0,1616,1621,3,200,100,0,1617,1618,5,3,0,0,1618,1620, - 3,200,100,0,1619,1617,1,0,0,0,1620,1623,1,0,0,0,1621,1619,1,0,0, - 0,1621,1622,1,0,0,0,1622,1624,1,0,0,0,1623,1621,1,0,0,0,1624,1625, - 5,2,0,0,1625,97,1,0,0,0,1626,1627,5,1,0,0,1627,1632,3,212,106,0, - 1628,1629,5,3,0,0,1629,1631,3,212,106,0,1630,1628,1,0,0,0,1631,1634, - 1,0,0,0,1632,1630,1,0,0,0,1632,1633,1,0,0,0,1633,1635,1,0,0,0,1634, - 1632,1,0,0,0,1635,1636,5,2,0,0,1636,99,1,0,0,0,1637,1667,3,174,87, - 0,1638,1639,5,1,0,0,1639,1640,3,18,9,0,1640,1641,5,2,0,0,1641,1667, - 1,0,0,0,1642,1643,5,231,0,0,1643,1644,5,1,0,0,1644,1649,3,102,51, - 0,1645,1646,5,3,0,0,1646,1648,3,102,51,0,1647,1645,1,0,0,0,1648, - 1651,1,0,0,0,1649,1647,1,0,0,0,1649,1650,1,0,0,0,1650,1652,1,0,0, - 0,1651,1649,1,0,0,0,1652,1655,5,2,0,0,1653,1654,5,243,0,0,1654,1656, - 5,159,0,0,1655,1653,1,0,0,0,1655,1656,1,0,0,0,1656,1667,1,0,0,0, - 1657,1658,5,119,0,0,1658,1659,5,1,0,0,1659,1660,3,18,9,0,1660,1661, - 5,2,0,0,1661,1667,1,0,0,0,1662,1663,5,1,0,0,1663,1664,3,68,34,0, - 1664,1665,5,2,0,0,1665,1667,1,0,0,0,1666,1637,1,0,0,0,1666,1638, - 1,0,0,0,1666,1642,1,0,0,0,1666,1657,1,0,0,0,1666,1662,1,0,0,0,1667, - 101,1,0,0,0,1668,1669,3,104,52,0,1669,103,1,0,0,0,1670,1671,6,52, - -1,0,1671,1673,3,108,54,0,1672,1674,3,106,53,0,1673,1672,1,0,0,0, - 1673,1674,1,0,0,0,1674,1678,1,0,0,0,1675,1676,5,147,0,0,1676,1678, - 3,104,52,3,1677,1670,1,0,0,0,1677,1675,1,0,0,0,1678,1687,1,0,0,0, - 1679,1680,10,2,0,0,1680,1681,5,23,0,0,1681,1686,3,104,52,3,1682, - 1683,10,1,0,0,1683,1684,5,157,0,0,1684,1686,3,104,52,2,1685,1679, - 1,0,0,0,1685,1682,1,0,0,0,1686,1689,1,0,0,0,1687,1685,1,0,0,0,1687, - 1688,1,0,0,0,1688,105,1,0,0,0,1689,1687,1,0,0,0,1690,1691,3,120, - 60,0,1691,1692,3,108,54,0,1692,1752,1,0,0,0,1693,1694,3,120,60,0, - 1694,1695,3,122,61,0,1695,1696,5,1,0,0,1696,1697,3,18,9,0,1697,1698, - 5,2,0,0,1698,1752,1,0,0,0,1699,1701,5,147,0,0,1700,1699,1,0,0,0, - 1700,1701,1,0,0,0,1701,1702,1,0,0,0,1702,1703,5,31,0,0,1703,1704, - 3,108,54,0,1704,1705,5,23,0,0,1705,1706,3,108,54,0,1706,1752,1,0, - 0,0,1707,1709,5,147,0,0,1708,1707,1,0,0,0,1708,1709,1,0,0,0,1709, - 1710,1,0,0,0,1710,1711,5,103,0,0,1711,1712,5,1,0,0,1712,1717,3,102, - 51,0,1713,1714,5,3,0,0,1714,1716,3,102,51,0,1715,1713,1,0,0,0,1716, - 1719,1,0,0,0,1717,1715,1,0,0,0,1717,1718,1,0,0,0,1718,1720,1,0,0, - 0,1719,1717,1,0,0,0,1720,1721,5,2,0,0,1721,1752,1,0,0,0,1722,1724, - 5,147,0,0,1723,1722,1,0,0,0,1723,1724,1,0,0,0,1724,1725,1,0,0,0, - 1725,1726,5,103,0,0,1726,1727,5,1,0,0,1727,1728,3,18,9,0,1728,1729, - 5,2,0,0,1729,1752,1,0,0,0,1730,1732,5,147,0,0,1731,1730,1,0,0,0, - 1731,1732,1,0,0,0,1732,1733,1,0,0,0,1733,1734,5,122,0,0,1734,1737, - 3,108,54,0,1735,1736,5,73,0,0,1736,1738,3,108,54,0,1737,1735,1,0, - 0,0,1737,1738,1,0,0,0,1738,1752,1,0,0,0,1739,1741,5,114,0,0,1740, - 1742,5,147,0,0,1741,1740,1,0,0,0,1741,1742,1,0,0,0,1742,1743,1,0, - 0,0,1743,1752,5,148,0,0,1744,1746,5,114,0,0,1745,1747,5,147,0,0, - 1746,1745,1,0,0,0,1746,1747,1,0,0,0,1747,1748,1,0,0,0,1748,1749, - 5,66,0,0,1749,1750,5,88,0,0,1750,1752,3,108,54,0,1751,1690,1,0,0, - 0,1751,1693,1,0,0,0,1751,1700,1,0,0,0,1751,1708,1,0,0,0,1751,1723, - 1,0,0,0,1751,1731,1,0,0,0,1751,1739,1,0,0,0,1751,1744,1,0,0,0,1752, - 107,1,0,0,0,1753,1754,6,54,-1,0,1754,1758,3,110,55,0,1755,1756,7, - 13,0,0,1756,1758,3,108,54,4,1757,1753,1,0,0,0,1757,1755,1,0,0,0, - 1758,1773,1,0,0,0,1759,1760,10,3,0,0,1760,1761,7,14,0,0,1761,1772, - 3,108,54,4,1762,1763,10,2,0,0,1763,1764,7,13,0,0,1764,1772,3,108, - 54,3,1765,1766,10,1,0,0,1766,1767,5,260,0,0,1767,1772,3,108,54,2, - 1768,1769,10,5,0,0,1769,1770,5,28,0,0,1770,1772,3,118,59,0,1771, - 1759,1,0,0,0,1771,1762,1,0,0,0,1771,1765,1,0,0,0,1771,1768,1,0,0, - 0,1772,1775,1,0,0,0,1773,1771,1,0,0,0,1773,1774,1,0,0,0,1774,109, - 1,0,0,0,1775,1773,1,0,0,0,1776,1777,6,55,-1,0,1777,2026,5,148,0, - 0,1778,2026,3,126,63,0,1779,1780,3,212,106,0,1780,1781,3,116,58, - 0,1781,2026,1,0,0,0,1782,1783,5,68,0,0,1783,1784,5,172,0,0,1784, - 2026,3,116,58,0,1785,2026,3,214,107,0,1786,2026,3,124,62,0,1787, - 2026,3,116,58,0,1788,2026,5,264,0,0,1789,2026,5,261,0,0,1790,1791, - 5,170,0,0,1791,1792,5,1,0,0,1792,1793,3,108,54,0,1793,1794,5,103, - 0,0,1794,1795,3,108,54,0,1795,1796,5,2,0,0,1796,2026,1,0,0,0,1797, - 1798,5,1,0,0,1798,1801,3,102,51,0,1799,1800,5,3,0,0,1800,1802,3, - 102,51,0,1801,1799,1,0,0,0,1802,1803,1,0,0,0,1803,1801,1,0,0,0,1803, - 1804,1,0,0,0,1804,1805,1,0,0,0,1805,1806,5,2,0,0,1806,2026,1,0,0, - 0,1807,1808,5,192,0,0,1808,1809,5,1,0,0,1809,1814,3,102,51,0,1810, - 1811,5,3,0,0,1811,1813,3,102,51,0,1812,1810,1,0,0,0,1813,1816,1, - 0,0,0,1814,1812,1,0,0,0,1814,1815,1,0,0,0,1815,1817,1,0,0,0,1816, - 1814,1,0,0,0,1817,1818,5,2,0,0,1818,2026,1,0,0,0,1819,1820,3,198, - 99,0,1820,1821,5,1,0,0,1821,1822,5,257,0,0,1822,1824,5,2,0,0,1823, - 1825,3,140,70,0,1824,1823,1,0,0,0,1824,1825,1,0,0,0,1825,1827,1, - 0,0,0,1826,1828,3,144,72,0,1827,1826,1,0,0,0,1827,1828,1,0,0,0,1828, - 2026,1,0,0,0,1829,1831,3,112,56,0,1830,1829,1,0,0,0,1830,1831,1, - 0,0,0,1831,1832,1,0,0,0,1832,1833,3,198,99,0,1833,1845,5,1,0,0,1834, - 1836,3,64,32,0,1835,1834,1,0,0,0,1835,1836,1,0,0,0,1836,1837,1,0, - 0,0,1837,1842,3,102,51,0,1838,1839,5,3,0,0,1839,1841,3,102,51,0, - 1840,1838,1,0,0,0,1841,1844,1,0,0,0,1842,1840,1,0,0,0,1842,1843, - 1,0,0,0,1843,1846,1,0,0,0,1844,1842,1,0,0,0,1845,1835,1,0,0,0,1845, - 1846,1,0,0,0,1846,1857,1,0,0,0,1847,1848,5,158,0,0,1848,1849,5,32, - 0,0,1849,1854,3,46,23,0,1850,1851,5,3,0,0,1851,1853,3,46,23,0,1852, - 1850,1,0,0,0,1853,1856,1,0,0,0,1854,1852,1,0,0,0,1854,1855,1,0,0, - 0,1855,1858,1,0,0,0,1856,1854,1,0,0,0,1857,1847,1,0,0,0,1857,1858, - 1,0,0,0,1858,1859,1,0,0,0,1859,1861,5,2,0,0,1860,1862,3,140,70,0, - 1861,1860,1,0,0,0,1861,1862,1,0,0,0,1862,1867,1,0,0,0,1863,1865, - 3,114,57,0,1864,1863,1,0,0,0,1864,1865,1,0,0,0,1865,1866,1,0,0,0, - 1866,1868,3,144,72,0,1867,1864,1,0,0,0,1867,1868,1,0,0,0,1868,2026, - 1,0,0,0,1869,1870,3,212,106,0,1870,1871,3,144,72,0,1871,2026,1,0, - 0,0,1872,1873,3,212,106,0,1873,1874,5,6,0,0,1874,1875,3,102,51,0, - 1875,2026,1,0,0,0,1876,1885,5,1,0,0,1877,1882,3,212,106,0,1878,1879, - 5,3,0,0,1879,1881,3,212,106,0,1880,1878,1,0,0,0,1881,1884,1,0,0, - 0,1882,1880,1,0,0,0,1882,1883,1,0,0,0,1883,1886,1,0,0,0,1884,1882, - 1,0,0,0,1885,1877,1,0,0,0,1885,1886,1,0,0,0,1886,1887,1,0,0,0,1887, - 1888,5,2,0,0,1888,1889,5,6,0,0,1889,2026,3,102,51,0,1890,1891,5, - 1,0,0,1891,1892,3,18,9,0,1892,1893,5,2,0,0,1893,2026,1,0,0,0,1894, - 1895,5,77,0,0,1895,1896,5,1,0,0,1896,1897,3,18,9,0,1897,1898,5,2, - 0,0,1898,2026,1,0,0,0,1899,1900,5,35,0,0,1900,1902,3,102,51,0,1901, - 1903,3,138,69,0,1902,1901,1,0,0,0,1903,1904,1,0,0,0,1904,1902,1, - 0,0,0,1904,1905,1,0,0,0,1905,1908,1,0,0,0,1906,1907,5,70,0,0,1907, - 1909,3,102,51,0,1908,1906,1,0,0,0,1908,1909,1,0,0,0,1909,1910,1, - 0,0,0,1910,1911,5,72,0,0,1911,2026,1,0,0,0,1912,1914,5,35,0,0,1913, - 1915,3,138,69,0,1914,1913,1,0,0,0,1915,1916,1,0,0,0,1916,1914,1, - 0,0,0,1916,1917,1,0,0,0,1917,1920,1,0,0,0,1918,1919,5,70,0,0,1919, - 1921,3,102,51,0,1920,1918,1,0,0,0,1920,1921,1,0,0,0,1921,1922,1, - 0,0,0,1922,1923,5,72,0,0,1923,2026,1,0,0,0,1924,1925,5,36,0,0,1925, - 1926,5,1,0,0,1926,1927,3,102,51,0,1927,1928,5,26,0,0,1928,1929,3, - 132,66,0,1929,1930,5,2,0,0,1930,2026,1,0,0,0,1931,1932,5,224,0,0, - 1932,1933,5,1,0,0,1933,1934,3,102,51,0,1934,1935,5,26,0,0,1935,1936, - 3,132,66,0,1936,1937,5,2,0,0,1937,2026,1,0,0,0,1938,1939,5,25,0, - 0,1939,1948,5,7,0,0,1940,1945,3,102,51,0,1941,1942,5,3,0,0,1942, - 1944,3,102,51,0,1943,1941,1,0,0,0,1944,1947,1,0,0,0,1945,1943,1, - 0,0,0,1945,1946,1,0,0,0,1946,1949,1,0,0,0,1947,1945,1,0,0,0,1948, - 1940,1,0,0,0,1948,1949,1,0,0,0,1949,1950,1,0,0,0,1950,2026,5,8,0, - 0,1951,2026,3,212,106,0,1952,2026,5,49,0,0,1953,1957,5,53,0,0,1954, - 1955,5,1,0,0,1955,1956,5,265,0,0,1956,1958,5,2,0,0,1957,1954,1,0, - 0,0,1957,1958,1,0,0,0,1958,2026,1,0,0,0,1959,1963,5,54,0,0,1960, - 1961,5,1,0,0,1961,1962,5,265,0,0,1962,1964,5,2,0,0,1963,1960,1,0, - 0,0,1963,1964,1,0,0,0,1964,2026,1,0,0,0,1965,1969,5,125,0,0,1966, - 1967,5,1,0,0,1967,1968,5,265,0,0,1968,1970,5,2,0,0,1969,1966,1,0, - 0,0,1969,1970,1,0,0,0,1970,2026,1,0,0,0,1971,1975,5,126,0,0,1972, - 1973,5,1,0,0,1973,1974,5,265,0,0,1974,1976,5,2,0,0,1975,1972,1,0, - 0,0,1975,1976,1,0,0,0,1976,2026,1,0,0,0,1977,2026,5,55,0,0,1978, - 2026,5,48,0,0,1979,2026,5,52,0,0,1980,2026,5,50,0,0,1981,1982,5, - 210,0,0,1982,1983,5,1,0,0,1983,1984,3,108,54,0,1984,1985,5,88,0, - 0,1985,1988,3,108,54,0,1986,1987,5,86,0,0,1987,1989,3,108,54,0,1988, - 1986,1,0,0,0,1988,1989,1,0,0,0,1989,1990,1,0,0,0,1990,1991,5,2,0, - 0,1991,2026,1,0,0,0,1992,1993,5,146,0,0,1993,1994,5,1,0,0,1994,1997, - 3,108,54,0,1995,1996,5,3,0,0,1996,1998,3,130,65,0,1997,1995,1,0, - 0,0,1997,1998,1,0,0,0,1998,1999,1,0,0,0,1999,2000,5,2,0,0,2000,2026, - 1,0,0,0,2001,2002,5,79,0,0,2002,2003,5,1,0,0,2003,2004,3,212,106, - 0,2004,2005,5,88,0,0,2005,2006,3,108,54,0,2006,2007,5,2,0,0,2007, - 2026,1,0,0,0,2008,2009,5,1,0,0,2009,2010,3,102,51,0,2010,2011,5, - 2,0,0,2011,2026,1,0,0,0,2012,2013,5,97,0,0,2013,2022,5,1,0,0,2014, - 2019,3,204,102,0,2015,2016,5,3,0,0,2016,2018,3,204,102,0,2017,2015, - 1,0,0,0,2018,2021,1,0,0,0,2019,2017,1,0,0,0,2019,2020,1,0,0,0,2020, - 2023,1,0,0,0,2021,2019,1,0,0,0,2022,2014,1,0,0,0,2022,2023,1,0,0, - 0,2023,2024,1,0,0,0,2024,2026,5,2,0,0,2025,1776,1,0,0,0,2025,1778, - 1,0,0,0,2025,1779,1,0,0,0,2025,1782,1,0,0,0,2025,1785,1,0,0,0,2025, - 1786,1,0,0,0,2025,1787,1,0,0,0,2025,1788,1,0,0,0,2025,1789,1,0,0, - 0,2025,1790,1,0,0,0,2025,1797,1,0,0,0,2025,1807,1,0,0,0,2025,1819, - 1,0,0,0,2025,1830,1,0,0,0,2025,1869,1,0,0,0,2025,1872,1,0,0,0,2025, - 1876,1,0,0,0,2025,1890,1,0,0,0,2025,1894,1,0,0,0,2025,1899,1,0,0, - 0,2025,1912,1,0,0,0,2025,1924,1,0,0,0,2025,1931,1,0,0,0,2025,1938, - 1,0,0,0,2025,1951,1,0,0,0,2025,1952,1,0,0,0,2025,1953,1,0,0,0,2025, - 1959,1,0,0,0,2025,1965,1,0,0,0,2025,1971,1,0,0,0,2025,1977,1,0,0, - 0,2025,1978,1,0,0,0,2025,1979,1,0,0,0,2025,1980,1,0,0,0,2025,1981, - 1,0,0,0,2025,1992,1,0,0,0,2025,2001,1,0,0,0,2025,2008,1,0,0,0,2025, - 2012,1,0,0,0,2026,2037,1,0,0,0,2027,2028,10,17,0,0,2028,2029,5,7, - 0,0,2029,2030,3,108,54,0,2030,2031,5,8,0,0,2031,2036,1,0,0,0,2032, - 2033,10,15,0,0,2033,2034,5,4,0,0,2034,2036,3,212,106,0,2035,2027, - 1,0,0,0,2035,2032,1,0,0,0,2036,2039,1,0,0,0,2037,2035,1,0,0,0,2037, - 2038,1,0,0,0,2038,111,1,0,0,0,2039,2037,1,0,0,0,2040,2041,7,15,0, - 0,2041,113,1,0,0,0,2042,2043,5,102,0,0,2043,2047,5,150,0,0,2044, - 2045,5,184,0,0,2045,2047,5,150,0,0,2046,2042,1,0,0,0,2046,2044,1, - 0,0,0,2047,115,1,0,0,0,2048,2055,5,262,0,0,2049,2052,5,263,0,0,2050, - 2051,5,226,0,0,2051,2053,5,262,0,0,2052,2050,1,0,0,0,2052,2053,1, - 0,0,0,2053,2055,1,0,0,0,2054,2048,1,0,0,0,2054,2049,1,0,0,0,2055, - 117,1,0,0,0,2056,2057,5,218,0,0,2057,2058,5,248,0,0,2058,2063,3, - 126,63,0,2059,2060,5,218,0,0,2060,2061,5,248,0,0,2061,2063,3,116, - 58,0,2062,2056,1,0,0,0,2062,2059,1,0,0,0,2063,119,1,0,0,0,2064,2065, - 7,16,0,0,2065,121,1,0,0,0,2066,2067,7,17,0,0,2067,123,1,0,0,0,2068, - 2069,7,18,0,0,2069,125,1,0,0,0,2070,2072,5,110,0,0,2071,2073,7,13, - 0,0,2072,2071,1,0,0,0,2072,2073,1,0,0,0,2073,2074,1,0,0,0,2074,2075, - 3,116,58,0,2075,2078,3,128,64,0,2076,2077,5,220,0,0,2077,2079,3, - 128,64,0,2078,2076,1,0,0,0,2078,2079,1,0,0,0,2079,127,1,0,0,0,2080, - 2081,7,19,0,0,2081,129,1,0,0,0,2082,2083,7,20,0,0,2083,131,1,0,0, - 0,2084,2085,6,66,-1,0,2085,2086,5,192,0,0,2086,2087,5,1,0,0,2087, - 2092,3,134,67,0,2088,2089,5,3,0,0,2089,2091,3,134,67,0,2090,2088, - 1,0,0,0,2091,2094,1,0,0,0,2092,2090,1,0,0,0,2092,2093,1,0,0,0,2093, - 2095,1,0,0,0,2094,2092,1,0,0,0,2095,2096,5,2,0,0,2096,2176,1,0,0, - 0,2097,2098,5,110,0,0,2098,2101,3,128,64,0,2099,2100,5,220,0,0,2100, - 2102,3,128,64,0,2101,2099,1,0,0,0,2101,2102,1,0,0,0,2102,2176,1, - 0,0,0,2103,2108,5,219,0,0,2104,2105,5,1,0,0,2105,2106,3,136,68,0, - 2106,2107,5,2,0,0,2107,2109,1,0,0,0,2108,2104,1,0,0,0,2108,2109, - 1,0,0,0,2109,2113,1,0,0,0,2110,2111,5,244,0,0,2111,2112,5,218,0, - 0,2112,2114,5,248,0,0,2113,2110,1,0,0,0,2113,2114,1,0,0,0,2114,2176, - 1,0,0,0,2115,2120,5,219,0,0,2116,2117,5,1,0,0,2117,2118,3,136,68, - 0,2118,2119,5,2,0,0,2119,2121,1,0,0,0,2120,2116,1,0,0,0,2120,2121, - 1,0,0,0,2121,2122,1,0,0,0,2122,2123,5,243,0,0,2123,2124,5,218,0, - 0,2124,2176,5,248,0,0,2125,2130,5,218,0,0,2126,2127,5,1,0,0,2127, - 2128,3,136,68,0,2128,2129,5,2,0,0,2129,2131,1,0,0,0,2130,2126,1, - 0,0,0,2130,2131,1,0,0,0,2131,2135,1,0,0,0,2132,2133,5,244,0,0,2133, - 2134,5,218,0,0,2134,2136,5,248,0,0,2135,2132,1,0,0,0,2135,2136,1, - 0,0,0,2136,2176,1,0,0,0,2137,2142,5,218,0,0,2138,2139,5,1,0,0,2139, - 2140,3,136,68,0,2140,2141,5,2,0,0,2141,2143,1,0,0,0,2142,2138,1, - 0,0,0,2142,2143,1,0,0,0,2143,2144,1,0,0,0,2144,2145,5,243,0,0,2145, - 2146,5,218,0,0,2146,2176,5,248,0,0,2147,2148,5,68,0,0,2148,2176, - 5,172,0,0,2149,2150,5,25,0,0,2150,2151,5,251,0,0,2151,2152,3,132, - 66,0,2152,2153,5,253,0,0,2153,2176,1,0,0,0,2154,2155,5,128,0,0,2155, - 2156,5,251,0,0,2156,2157,3,132,66,0,2157,2158,5,3,0,0,2158,2159, - 3,132,66,0,2159,2160,5,253,0,0,2160,2176,1,0,0,0,2161,2173,3,212, - 106,0,2162,2163,5,1,0,0,2163,2168,3,136,68,0,2164,2165,5,3,0,0,2165, - 2167,3,136,68,0,2166,2164,1,0,0,0,2167,2170,1,0,0,0,2168,2166,1, - 0,0,0,2168,2169,1,0,0,0,2169,2171,1,0,0,0,2170,2168,1,0,0,0,2171, - 2172,5,2,0,0,2172,2174,1,0,0,0,2173,2162,1,0,0,0,2173,2174,1,0,0, - 0,2174,2176,1,0,0,0,2175,2084,1,0,0,0,2175,2097,1,0,0,0,2175,2103, - 1,0,0,0,2175,2115,1,0,0,0,2175,2125,1,0,0,0,2175,2137,1,0,0,0,2175, - 2147,1,0,0,0,2175,2149,1,0,0,0,2175,2154,1,0,0,0,2175,2161,1,0,0, - 0,2176,2186,1,0,0,0,2177,2178,10,2,0,0,2178,2182,5,25,0,0,2179,2180, - 5,7,0,0,2180,2181,5,265,0,0,2181,2183,5,8,0,0,2182,2179,1,0,0,0, - 2182,2183,1,0,0,0,2183,2185,1,0,0,0,2184,2177,1,0,0,0,2185,2188, - 1,0,0,0,2186,2184,1,0,0,0,2186,2187,1,0,0,0,2187,133,1,0,0,0,2188, - 2186,1,0,0,0,2189,2194,3,132,66,0,2190,2191,3,212,106,0,2191,2192, - 3,132,66,0,2192,2194,1,0,0,0,2193,2189,1,0,0,0,2193,2190,1,0,0,0, - 2194,135,1,0,0,0,2195,2198,5,265,0,0,2196,2198,3,132,66,0,2197,2195, - 1,0,0,0,2197,2196,1,0,0,0,2198,137,1,0,0,0,2199,2200,5,240,0,0,2200, - 2201,3,102,51,0,2201,2202,5,216,0,0,2202,2203,3,102,51,0,2203,139, - 1,0,0,0,2204,2205,5,82,0,0,2205,2206,5,1,0,0,2206,2207,5,241,0,0, - 2207,2208,3,104,52,0,2208,2209,5,2,0,0,2209,141,1,0,0,0,2210,2211, - 5,240,0,0,2211,2214,5,130,0,0,2212,2213,5,23,0,0,2213,2215,3,102, - 51,0,2214,2212,1,0,0,0,2214,2215,1,0,0,0,2215,2216,1,0,0,0,2216, - 2217,5,216,0,0,2217,2218,5,232,0,0,2218,2219,5,203,0,0,2219,2220, - 3,212,106,0,2220,2221,5,249,0,0,2221,2229,3,102,51,0,2222,2223,5, - 3,0,0,2223,2224,3,212,106,0,2224,2225,5,249,0,0,2225,2226,3,102, - 51,0,2226,2228,1,0,0,0,2227,2222,1,0,0,0,2228,2231,1,0,0,0,2229, - 2227,1,0,0,0,2229,2230,1,0,0,0,2230,2275,1,0,0,0,2231,2229,1,0,0, - 0,2232,2233,5,240,0,0,2233,2236,5,130,0,0,2234,2235,5,23,0,0,2235, - 2237,3,102,51,0,2236,2234,1,0,0,0,2236,2237,1,0,0,0,2237,2238,1, - 0,0,0,2238,2239,5,216,0,0,2239,2275,5,62,0,0,2240,2241,5,240,0,0, - 2241,2242,5,147,0,0,2242,2245,5,130,0,0,2243,2244,5,23,0,0,2244, - 2246,3,102,51,0,2245,2243,1,0,0,0,2245,2246,1,0,0,0,2246,2247,1, - 0,0,0,2247,2248,5,216,0,0,2248,2260,5,108,0,0,2249,2250,5,1,0,0, - 2250,2255,3,212,106,0,2251,2252,5,3,0,0,2252,2254,3,212,106,0,2253, - 2251,1,0,0,0,2254,2257,1,0,0,0,2255,2253,1,0,0,0,2255,2256,1,0,0, - 0,2256,2258,1,0,0,0,2257,2255,1,0,0,0,2258,2259,5,2,0,0,2259,2261, - 1,0,0,0,2260,2249,1,0,0,0,2260,2261,1,0,0,0,2261,2262,1,0,0,0,2262, - 2263,5,237,0,0,2263,2264,5,1,0,0,2264,2269,3,102,51,0,2265,2266, - 5,3,0,0,2266,2268,3,102,51,0,2267,2265,1,0,0,0,2268,2271,1,0,0,0, - 2269,2267,1,0,0,0,2269,2270,1,0,0,0,2270,2272,1,0,0,0,2271,2269, - 1,0,0,0,2272,2273,5,2,0,0,2273,2275,1,0,0,0,2274,2210,1,0,0,0,2274, - 2232,1,0,0,0,2274,2240,1,0,0,0,2275,143,1,0,0,0,2276,2282,5,162, - 0,0,2277,2283,3,212,106,0,2278,2279,5,1,0,0,2279,2280,3,60,30,0, - 2280,2281,5,2,0,0,2281,2283,1,0,0,0,2282,2277,1,0,0,0,2282,2278, - 1,0,0,0,2283,145,1,0,0,0,2284,2285,5,134,0,0,2285,2290,3,80,40,0, - 2286,2287,5,3,0,0,2287,2289,3,80,40,0,2288,2286,1,0,0,0,2289,2292, - 1,0,0,0,2290,2288,1,0,0,0,2290,2291,1,0,0,0,2291,2294,1,0,0,0,2292, - 2290,1,0,0,0,2293,2284,1,0,0,0,2293,2294,1,0,0,0,2294,2295,1,0,0, - 0,2295,2299,3,148,74,0,2296,2297,5,19,0,0,2297,2298,5,129,0,0,2298, - 2300,3,86,43,0,2299,2296,1,0,0,0,2299,2300,1,0,0,0,2300,2302,1,0, - 0,0,2301,2303,7,12,0,0,2302,2301,1,0,0,0,2302,2303,1,0,0,0,2303, - 2309,1,0,0,0,2304,2305,5,167,0,0,2305,2306,5,1,0,0,2306,2307,3,152, - 76,0,2307,2308,5,2,0,0,2308,2310,1,0,0,0,2309,2304,1,0,0,0,2309, - 2310,1,0,0,0,2310,2320,1,0,0,0,2311,2312,5,209,0,0,2312,2317,3,88, - 44,0,2313,2314,5,3,0,0,2314,2316,3,88,44,0,2315,2313,1,0,0,0,2316, - 2319,1,0,0,0,2317,2315,1,0,0,0,2317,2318,1,0,0,0,2318,2321,1,0,0, - 0,2319,2317,1,0,0,0,2320,2311,1,0,0,0,2320,2321,1,0,0,0,2321,2331, - 1,0,0,0,2322,2323,5,65,0,0,2323,2328,3,90,45,0,2324,2325,5,3,0,0, - 2325,2327,3,90,45,0,2326,2324,1,0,0,0,2327,2330,1,0,0,0,2328,2326, - 1,0,0,0,2328,2329,1,0,0,0,2329,2332,1,0,0,0,2330,2328,1,0,0,0,2331, - 2322,1,0,0,0,2331,2332,1,0,0,0,2332,147,1,0,0,0,2333,2334,5,176, - 0,0,2334,2358,3,150,75,0,2335,2336,5,193,0,0,2336,2358,3,150,75, - 0,2337,2338,5,98,0,0,2338,2358,3,150,75,0,2339,2340,5,176,0,0,2340, - 2341,5,31,0,0,2341,2342,3,150,75,0,2342,2343,5,23,0,0,2343,2344, - 3,150,75,0,2344,2358,1,0,0,0,2345,2346,5,193,0,0,2346,2347,5,31, - 0,0,2347,2348,3,150,75,0,2348,2349,5,23,0,0,2349,2350,3,150,75,0, - 2350,2358,1,0,0,0,2351,2352,5,98,0,0,2352,2353,5,31,0,0,2353,2354, - 3,150,75,0,2354,2355,5,23,0,0,2355,2356,3,150,75,0,2356,2358,1,0, - 0,0,2357,2333,1,0,0,0,2357,2335,1,0,0,0,2357,2337,1,0,0,0,2357,2339, - 1,0,0,0,2357,2345,1,0,0,0,2357,2351,1,0,0,0,2358,149,1,0,0,0,2359, - 2360,5,227,0,0,2360,2369,5,171,0,0,2361,2362,5,227,0,0,2362,2369, - 5,85,0,0,2363,2364,5,47,0,0,2364,2369,5,192,0,0,2365,2366,3,102, - 51,0,2366,2367,7,21,0,0,2367,2369,1,0,0,0,2368,2359,1,0,0,0,2368, - 2361,1,0,0,0,2368,2363,1,0,0,0,2368,2365,1,0,0,0,2369,151,1,0,0, - 0,2370,2371,6,76,-1,0,2371,2373,3,154,77,0,2372,2374,3,156,78,0, - 2373,2372,1,0,0,0,2373,2374,1,0,0,0,2374,2382,1,0,0,0,2375,2376, - 10,2,0,0,2376,2381,3,152,76,3,2377,2378,10,1,0,0,2378,2379,5,9,0, - 0,2379,2381,3,152,76,2,2380,2375,1,0,0,0,2380,2377,1,0,0,0,2381, - 2384,1,0,0,0,2382,2380,1,0,0,0,2382,2383,1,0,0,0,2383,153,1,0,0, - 0,2384,2382,1,0,0,0,2385,2411,3,212,106,0,2386,2387,5,1,0,0,2387, - 2411,5,2,0,0,2388,2389,5,169,0,0,2389,2390,5,1,0,0,2390,2395,3,152, - 76,0,2391,2392,5,3,0,0,2392,2394,3,152,76,0,2393,2391,1,0,0,0,2394, - 2397,1,0,0,0,2395,2393,1,0,0,0,2395,2396,1,0,0,0,2396,2398,1,0,0, - 0,2397,2395,1,0,0,0,2398,2399,5,2,0,0,2399,2411,1,0,0,0,2400,2401, - 5,1,0,0,2401,2402,3,152,76,0,2402,2403,5,2,0,0,2403,2411,1,0,0,0, - 2404,2411,5,10,0,0,2405,2411,5,11,0,0,2406,2407,5,12,0,0,2407,2408, - 3,152,76,0,2408,2409,5,13,0,0,2409,2411,1,0,0,0,2410,2385,1,0,0, - 0,2410,2386,1,0,0,0,2410,2388,1,0,0,0,2410,2400,1,0,0,0,2410,2404, - 1,0,0,0,2410,2405,1,0,0,0,2410,2406,1,0,0,0,2411,155,1,0,0,0,2412, - 2414,5,257,0,0,2413,2415,5,261,0,0,2414,2413,1,0,0,0,2414,2415,1, - 0,0,0,2415,2443,1,0,0,0,2416,2418,5,255,0,0,2417,2419,5,261,0,0, - 2418,2417,1,0,0,0,2418,2419,1,0,0,0,2419,2443,1,0,0,0,2420,2422, - 5,261,0,0,2421,2423,5,261,0,0,2422,2421,1,0,0,0,2422,2423,1,0,0, - 0,2423,2443,1,0,0,0,2424,2425,5,14,0,0,2425,2426,5,265,0,0,2426, - 2428,5,15,0,0,2427,2429,5,261,0,0,2428,2427,1,0,0,0,2428,2429,1, - 0,0,0,2429,2443,1,0,0,0,2430,2432,5,14,0,0,2431,2433,5,265,0,0,2432, - 2431,1,0,0,0,2432,2433,1,0,0,0,2433,2434,1,0,0,0,2434,2436,5,3,0, - 0,2435,2437,5,265,0,0,2436,2435,1,0,0,0,2436,2437,1,0,0,0,2437,2438, - 1,0,0,0,2438,2440,5,15,0,0,2439,2441,5,261,0,0,2440,2439,1,0,0,0, - 2440,2441,1,0,0,0,2441,2443,1,0,0,0,2442,2412,1,0,0,0,2442,2416, - 1,0,0,0,2442,2420,1,0,0,0,2442,2424,1,0,0,0,2442,2430,1,0,0,0,2443, - 157,1,0,0,0,2444,2445,3,212,106,0,2445,2446,5,249,0,0,2446,2447, - 3,102,51,0,2447,159,1,0,0,0,2448,2449,5,87,0,0,2449,2453,7,22,0, - 0,2450,2451,5,225,0,0,2451,2453,7,23,0,0,2452,2448,1,0,0,0,2452, - 2450,1,0,0,0,2453,161,1,0,0,0,2454,2455,5,115,0,0,2455,2456,5,121, - 0,0,2456,2460,3,164,82,0,2457,2458,5,177,0,0,2458,2460,7,24,0,0, - 2459,2454,1,0,0,0,2459,2457,1,0,0,0,2460,163,1,0,0,0,2461,2462,5, - 177,0,0,2462,2469,5,228,0,0,2463,2464,5,177,0,0,2464,2469,5,42,0, - 0,2465,2466,5,181,0,0,2466,2469,5,177,0,0,2467,2469,5,201,0,0,2468, - 2461,1,0,0,0,2468,2463,1,0,0,0,2468,2465,1,0,0,0,2468,2467,1,0,0, - 0,2469,165,1,0,0,0,2470,2476,3,102,51,0,2471,2472,3,212,106,0,2472, - 2473,5,16,0,0,2473,2474,3,102,51,0,2474,2476,1,0,0,0,2475,2470,1, - 0,0,0,2475,2471,1,0,0,0,2476,167,1,0,0,0,2477,2478,3,212,106,0,2478, - 2479,5,4,0,0,2479,2480,3,212,106,0,2480,2483,1,0,0,0,2481,2483,3, - 212,106,0,2482,2477,1,0,0,0,2482,2481,1,0,0,0,2483,169,1,0,0,0,2484, - 2489,3,168,84,0,2485,2486,5,3,0,0,2486,2488,3,168,84,0,2487,2485, - 1,0,0,0,2488,2491,1,0,0,0,2489,2487,1,0,0,0,2489,2490,1,0,0,0,2490, - 171,1,0,0,0,2491,2489,1,0,0,0,2492,2493,7,25,0,0,2493,173,1,0,0, - 0,2494,2497,3,176,88,0,2495,2497,3,180,90,0,2496,2494,1,0,0,0,2496, - 2495,1,0,0,0,2497,175,1,0,0,0,2498,2499,3,184,92,0,2499,177,1,0, - 0,0,2500,2501,3,184,92,0,2501,179,1,0,0,0,2502,2503,3,186,93,0,2503, - 181,1,0,0,0,2504,2505,3,186,93,0,2505,183,1,0,0,0,2506,2518,3,212, - 106,0,2507,2508,3,212,106,0,2508,2509,5,4,0,0,2509,2510,3,212,106, - 0,2510,2518,1,0,0,0,2511,2512,3,212,106,0,2512,2513,5,4,0,0,2513, - 2514,3,212,106,0,2514,2515,5,4,0,0,2515,2516,3,212,106,0,2516,2518, - 1,0,0,0,2517,2506,1,0,0,0,2517,2507,1,0,0,0,2517,2511,1,0,0,0,2518, - 185,1,0,0,0,2519,2531,3,212,106,0,2520,2521,3,212,106,0,2521,2522, - 5,4,0,0,2522,2523,3,212,106,0,2523,2531,1,0,0,0,2524,2525,3,212, - 106,0,2525,2526,5,4,0,0,2526,2527,3,212,106,0,2527,2528,5,4,0,0, - 2528,2529,3,212,106,0,2529,2531,1,0,0,0,2530,2519,1,0,0,0,2530,2520, - 1,0,0,0,2530,2524,1,0,0,0,2531,187,1,0,0,0,2532,2533,3,192,96,0, - 2533,189,1,0,0,0,2534,2535,3,192,96,0,2535,191,1,0,0,0,2536,2542, - 3,212,106,0,2537,2538,3,212,106,0,2538,2539,5,4,0,0,2539,2540,3, - 212,106,0,2540,2542,1,0,0,0,2541,2536,1,0,0,0,2541,2537,1,0,0,0, - 2542,193,1,0,0,0,2543,2544,3,212,106,0,2544,195,1,0,0,0,2545,2546, - 3,212,106,0,2546,197,1,0,0,0,2547,2548,3,204,102,0,2548,199,1,0, - 0,0,2549,2552,3,204,102,0,2550,2552,4,100,14,0,2551,2549,1,0,0,0, - 2551,2550,1,0,0,0,2552,201,1,0,0,0,2553,2554,3,212,106,0,2554,203, - 1,0,0,0,2555,2560,3,212,106,0,2556,2557,5,4,0,0,2557,2559,3,212, - 106,0,2558,2556,1,0,0,0,2559,2562,1,0,0,0,2560,2558,1,0,0,0,2560, - 2561,1,0,0,0,2561,205,1,0,0,0,2562,2560,1,0,0,0,2563,2567,3,208, - 104,0,2564,2567,5,55,0,0,2565,2567,5,51,0,0,2566,2563,1,0,0,0,2566, - 2564,1,0,0,0,2566,2565,1,0,0,0,2567,207,1,0,0,0,2568,2574,3,212, - 106,0,2569,2570,5,234,0,0,2570,2574,3,212,106,0,2571,2572,5,188, - 0,0,2572,2574,3,212,106,0,2573,2568,1,0,0,0,2573,2569,1,0,0,0,2573, - 2571,1,0,0,0,2574,209,1,0,0,0,2575,2580,3,212,106,0,2576,2577,5, - 3,0,0,2577,2579,3,212,106,0,2578,2576,1,0,0,0,2579,2582,1,0,0,0, - 2580,2578,1,0,0,0,2580,2581,1,0,0,0,2581,211,1,0,0,0,2582,2580,1, - 0,0,0,2583,2589,5,268,0,0,2584,2589,5,270,0,0,2585,2589,3,216,108, - 0,2586,2589,5,271,0,0,2587,2589,5,269,0,0,2588,2583,1,0,0,0,2588, - 2584,1,0,0,0,2588,2585,1,0,0,0,2588,2586,1,0,0,0,2588,2587,1,0,0, - 0,2589,213,1,0,0,0,2590,2592,5,256,0,0,2591,2590,1,0,0,0,2591,2592, - 1,0,0,0,2592,2593,1,0,0,0,2593,2603,5,266,0,0,2594,2596,5,256,0, - 0,2595,2594,1,0,0,0,2595,2596,1,0,0,0,2596,2597,1,0,0,0,2597,2603, - 5,267,0,0,2598,2600,5,256,0,0,2599,2598,1,0,0,0,2599,2600,1,0,0, - 0,2600,2601,1,0,0,0,2601,2603,5,265,0,0,2602,2591,1,0,0,0,2602,2595, - 1,0,0,0,2602,2599,1,0,0,0,2603,215,1,0,0,0,2604,2605,7,26,0,0,2605, - 217,1,0,0,0,340,221,232,236,240,244,248,252,262,267,271,277,281, - 302,306,310,314,322,326,329,336,345,351,355,361,368,377,386,400, - 409,415,422,432,439,447,455,484,487,490,494,500,505,512,517,521, - 529,535,539,553,561,580,605,608,618,622,635,641,646,650,656,665, - 671,675,682,686,694,699,703,707,710,717,725,730,734,738,741,750, - 757,762,766,770,773,781,784,788,791,799,804,828,834,836,842,848, - 850,858,860,866,872,874,889,894,901,913,915,923,925,943,946,950, - 954,972,975,991,1001,1006,1012,1015,1024,1036,1039,1045,1052,1057, - 1063,1067,1071,1077,1088,1097,1107,1110,1115,1117,1124,1130,1132, - 1136,1146,1152,1155,1157,1169,1176,1180,1183,1187,1191,1198,1207, - 1210,1214,1219,1223,1231,1234,1237,1244,1255,1258,1268,1271,1282, - 1287,1295,1298,1302,1306,1315,1324,1327,1336,1339,1342,1346,1357, - 1360,1363,1370,1373,1392,1396,1400,1404,1408,1412,1414,1425,1430, - 1439,1453,1456,1465,1468,1476,1479,1482,1487,1490,1502,1505,1513, - 1518,1522,1524,1526,1541,1543,1554,1575,1585,1596,1600,1602,1610, - 1621,1632,1649,1655,1666,1673,1677,1685,1687,1700,1708,1717,1723, - 1731,1737,1741,1746,1751,1757,1771,1773,1803,1814,1824,1827,1830, - 1835,1842,1845,1854,1857,1861,1864,1867,1882,1885,1904,1908,1916, - 1920,1945,1948,1957,1963,1969,1975,1988,1997,2019,2022,2025,2035, - 2037,2046,2052,2054,2062,2072,2078,2092,2101,2108,2113,2120,2130, - 2135,2142,2168,2173,2175,2182,2186,2193,2197,2214,2229,2236,2245, - 2255,2260,2269,2274,2282,2290,2293,2299,2302,2309,2317,2320,2328, - 2331,2357,2368,2373,2380,2382,2395,2410,2414,2418,2422,2428,2432, - 2436,2440,2442,2452,2459,2468,2475,2482,2489,2496,2517,2530,2541, - 2551,2560,2566,2573,2580,2588,2591,2595,2599,2602 - ]; - - private static __ATN: antlr.ATN; - public static get _ATN(): antlr.ATN { - if (!TrinoSqlParser.__ATN) { - TrinoSqlParser.__ATN = new antlr.ATNDeserializer().deserialize(TrinoSqlParser._serializedATN); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitRenameMaterializedView) { + listener.exitRenameMaterializedView(this); } - - return TrinoSqlParser.__ATN; } - - - private static readonly vocabulary = new antlr.Vocabulary(TrinoSqlParser.literalNames, TrinoSqlParser.symbolicNames, []); - - public override get vocabulary(): antlr.Vocabulary { - return TrinoSqlParser.vocabulary; + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitRenameMaterializedView) { + return visitor.visitRenameMaterializedView(this); + } else { + return visitor.visitChildren(this); + } } - - private static readonly decisionsToDFA = TrinoSqlParser._ATN.decisionToState.map( (ds: antlr.DecisionState, index: number) => new antlr.DFA(ds, index) ); } - -export class ProgramContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class ShowSchemasContext extends StatementContext { + public _pattern?: StringContext; + public _escape?: StringContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public EOF(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.EOF, 0)!; + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; } - public statements(): StatementsContext[]; - public statements(i: number): StatementsContext | null; - public statements(i?: number): StatementsContext[] | StatementsContext | null { + public KW_SCHEMAS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SCHEMAS, 0)!; + } + public catalogRef(): CatalogRefContext | null { + return this.getRuleContext(0, CatalogRefContext); + } + public KW_LIKE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LIKE, 0); + } + public KW_FROM(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FROM, 0); + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public string_(): StringContext[]; + public string_(i: number): StringContext | null; + public string_(i?: number): StringContext[] | StringContext | null { if (i === undefined) { - return this.getRuleContexts(StatementsContext); + return this.getRuleContexts(StringContext); } - return this.getRuleContext(i, StatementsContext); + return this.getRuleContext(i, StringContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_program; + public KW_ESCAPE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterProgram) { - listener.enterProgram(this); + if(listener.enterShowSchemas) { + listener.enterShowSchemas(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitProgram) { - listener.exitProgram(this); + if(listener.exitShowSchemas) { + listener.exitShowSchemas(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitProgram) { - return visitor.visitProgram(this); + if (visitor.visitShowSchemas) { + return visitor.visitShowSchemas(this); } else { return visitor.visitChildren(this); } } } - - -export class StatementsContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class DropTableContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public singleStatement(): SingleStatementContext { - return this.getRuleContext(0, SingleStatementContext)!; + public KW_DROP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DROP, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_statements; + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterStatements) { - listener.enterStatements(this); + if(listener.enterDropTable) { + listener.enterDropTable(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitStatements) { - listener.exitStatements(this); + if(listener.exitDropTable) { + listener.exitDropTable(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitStatements) { - return visitor.visitStatements(this); + if (visitor.visitDropTable) { + return visitor.visitDropTable(this); } else { return visitor.visitChildren(this); } } } - - -export class StandaloneClauseContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class SetSchemaAuthorizationContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; } - public standaloneExpression(): StandaloneExpressionContext | null { - return this.getRuleContext(0, StandaloneExpressionContext); + public KW_SCHEMA(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SCHEMA, 0)!; } - public standalonePathSpecification(): StandalonePathSpecificationContext | null { - return this.getRuleContext(0, StandalonePathSpecificationContext); + public schemaRef(): SchemaRefContext { + return this.getRuleContext(0, SchemaRefContext)!; } - public standaloneType(): StandaloneTypeContext | null { - return this.getRuleContext(0, StandaloneTypeContext); + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; } - public standaloneRowPattern(): StandaloneRowPatternContext | null { - return this.getRuleContext(0, StandaloneRowPatternContext); + public KW_AUTHORIZATION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_standaloneClause; + public principal(): PrincipalContext { + return this.getRuleContext(0, PrincipalContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterStandaloneClause) { - listener.enterStandaloneClause(this); + if(listener.enterSetSchemaAuthorization) { + listener.enterSetSchemaAuthorization(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitStandaloneClause) { - listener.exitStandaloneClause(this); + if(listener.exitSetSchemaAuthorization) { + listener.exitSetSchemaAuthorization(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitStandaloneClause) { - return visitor.visitStandaloneClause(this); + if (visitor.visitSetSchemaAuthorization) { + return visitor.visitSetSchemaAuthorization(this); } else { return visitor.visitChildren(this); } } } - - -export class SingleStatementContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public statement(): StatementContext { - return this.getRuleContext(0, StatementContext)!; +export class RollbackContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public SEMICOLON(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.SEMICOLON, 0); + public KW_ROLLBACK(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ROLLBACK, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_singleStatement; + public KW_WORK(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WORK, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSingleStatement) { - listener.enterSingleStatement(this); + if(listener.enterRollback) { + listener.enterRollback(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSingleStatement) { - listener.exitSingleStatement(this); + if(listener.exitRollback) { + listener.exitRollback(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSingleStatement) { - return visitor.visitSingleStatement(this); + if (visitor.visitRollback) { + return visitor.visitRollback(this); } else { return visitor.visitChildren(this); } } } - - -export class StandaloneExpressionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class CommentTableContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; + public KW_COMMENT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0)!; } - public SEMICOLON(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.SEMICOLON, 0); + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_standaloneExpression; + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; + } + public KW_IS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_IS, 0)!; + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public KW_NULL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NULL, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterStandaloneExpression) { - listener.enterStandaloneExpression(this); + if(listener.enterCommentTable) { + listener.enterCommentTable(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitStandaloneExpression) { - listener.exitStandaloneExpression(this); + if(listener.exitCommentTable) { + listener.exitCommentTable(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitStandaloneExpression) { - return visitor.visitStandaloneExpression(this); + if (visitor.visitCommentTable) { + return visitor.visitCommentTable(this); } else { return visitor.visitChildren(this); } } } +export class ExecuteImmediateContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_EXECUTE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_EXECUTE, 0)!; + } + public KW_IMMEDIATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_IMMEDIATE, 0)!; + } + public string(): StringContext { + return this.getRuleContext(0, StringContext)!; + } + public KW_USING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_USING, 0); + } + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExpressionContext); + } - -export class StandalonePathSpecificationContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + return this.getRuleContext(i, ExpressionContext); } - public pathSpecification(): PathSpecificationContext { - return this.getRuleContext(0, PathSpecificationContext)!; + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterExecuteImmediate) { + listener.enterExecuteImmediate(this); + } } - public SEMICOLON(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.SEMICOLON, 0); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitExecuteImmediate) { + listener.exitExecuteImmediate(this); + } } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_standalonePathSpecification; + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitExecuteImmediate) { + return visitor.visitExecuteImmediate(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class RenameViewContext extends StatementContext { + public _from_?: ViewRefContext; + public _to?: ViewNameCreateContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_ALTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + } + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + } + public KW_RENAME(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RENAME, 0)!; + } + public KW_TO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TO, 0)!; + } + public viewRef(): ViewRefContext { + return this.getRuleContext(0, ViewRefContext)!; + } + public viewNameCreate(): ViewNameCreateContext { + return this.getRuleContext(0, ViewNameCreateContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterStandalonePathSpecification) { - listener.enterStandalonePathSpecification(this); + if(listener.enterRenameView) { + listener.enterRenameView(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitStandalonePathSpecification) { - listener.exitStandalonePathSpecification(this); + if(listener.exitRenameView) { + listener.exitRenameView(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitStandalonePathSpecification) { - return visitor.visitStandalonePathSpecification(this); + if (visitor.visitRenameView) { + return visitor.visitRenameView(this); } else { return visitor.visitChildren(this); } } } - - -export class StandaloneTypeContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class SetPathContext extends StatementContext { + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public type(): TypeContext { - return this.getRuleContext(0, TypeContext)!; + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; } - public SEMICOLON(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.SEMICOLON, 0); + public KW_PATH(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_PATH, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_standaloneType; + public pathSpecification(): PathSpecificationContext { + return this.getRuleContext(0, PathSpecificationContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterStandaloneType) { - listener.enterStandaloneType(this); + if(listener.enterSetPath) { + listener.enterSetPath(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitStandaloneType) { - listener.exitStandaloneType(this); + if(listener.exitSetPath) { + listener.exitSetPath(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitStandaloneType) { - return visitor.visitStandaloneType(this); + if (visitor.visitSetPath) { + return visitor.visitSetPath(this); } else { return visitor.visitChildren(this); } } } +export class GrantRolesContext extends StatementContext { + public _catalog?: CatalogRefContext; + public constructor(ctx: StatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_GRANT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_GRANT, 0)!; + } + public privilegeOrRole(): PrivilegeOrRoleContext[]; + public privilegeOrRole(i: number): PrivilegeOrRoleContext | null; + public privilegeOrRole(i?: number): PrivilegeOrRoleContext[] | PrivilegeOrRoleContext | null { + if (i === undefined) { + return this.getRuleContexts(PrivilegeOrRoleContext); + } + return this.getRuleContext(i, PrivilegeOrRoleContext); + } + public KW_TO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TO, 0)!; + } + public principal(): PrincipalContext[]; + public principal(i: number): PrincipalContext | null; + public principal(i?: number): PrincipalContext[] | PrincipalContext | null { + if (i === undefined) { + return this.getRuleContexts(PrincipalContext); + } -export class StandaloneRowPatternContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + return this.getRuleContext(i, PrincipalContext); } - public rowPattern(): RowPatternContext { - return this.getRuleContext(0, RowPatternContext)!; + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); } - public SEMICOLON(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.SEMICOLON, 0); + public KW_ADMIN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ADMIN, 0); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_standaloneRowPattern; + public KW_OPTION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OPTION, 0); + } + public KW_GRANTED(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_GRANTED, 0); + } + public KW_BY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BY, 0); + } + public grantor(): GrantorContext | null { + return this.getRuleContext(0, GrantorContext); + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public catalogRef(): CatalogRefContext | null { + return this.getRuleContext(0, CatalogRefContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterStandaloneRowPattern) { - listener.enterStandaloneRowPattern(this); + if(listener.enterGrantRoles) { + listener.enterGrantRoles(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitStandaloneRowPattern) { - listener.exitStandaloneRowPattern(this); + if(listener.exitGrantRoles) { + listener.exitGrantRoles(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitStandaloneRowPattern) { - return visitor.visitStandaloneRowPattern(this); + if (visitor.visitGrantRoles) { + return visitor.visitGrantRoles(this); } else { return visitor.visitChildren(this); } } } - - -export class StatementContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_statement; - } - public override copyFrom(ctx: StatementContext): void { - super.copyFrom(ctx); - } -} -export class ExplainContext extends StatementContext { +export class CallContext extends StatementContext { public constructor(ctx: StatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_EXPLAIN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_EXPLAIN, 0)!; - } - public statement(): StatementContext { - return this.getRuleContext(0, StatementContext)!; - } - public KW_ANALYZE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ANALYZE, 0); + public KW_CALL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CALL, 0)!; } - public KW_VERBOSE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_VERBOSE, 0); + public functionName(): FunctionNameContext { + return this.getRuleContext(0, FunctionNameContext)!; } - public explainOption(): ExplainOptionContext[]; - public explainOption(i: number): ExplainOptionContext | null; - public explainOption(i?: number): ExplainOptionContext[] | ExplainOptionContext | null { + public callArgument(): CallArgumentContext[]; + public callArgument(i: number): CallArgumentContext | null; + public callArgument(i?: number): CallArgumentContext[] | CallArgumentContext | null { if (i === undefined) { - return this.getRuleContexts(ExplainOptionContext); + return this.getRuleContexts(CallArgumentContext); } - return this.getRuleContext(i, ExplainOptionContext); + return this.getRuleContext(i, CallArgumentContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterExplain) { - listener.enterExplain(this); + if(listener.enterCall) { + listener.enterCall(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitExplain) { - listener.exitExplain(this); + if(listener.exitCall) { + listener.exitCall(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitExplain) { - return visitor.visitExplain(this); + if (visitor.visitCall) { + return visitor.visitCall(this); } else { return visitor.visitChildren(this); } } } -export class PrepareContext extends StatementContext { +export class RefreshMaterializedViewContext extends StatementContext { public constructor(ctx: StatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_PREPARE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_PREPARE, 0)!; + public KW_REFRESH(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_REFRESH, 0)!; } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public KW_MATERIALIZED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; } - public KW_FROM(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + public KW_VIEW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; } - public statement(): StatementContext { - return this.getRuleContext(0, StatementContext)!; + public viewRef(): ViewRefContext { + return this.getRuleContext(0, ViewRefContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPrepare) { - listener.enterPrepare(this); + if(listener.enterRefreshMaterializedView) { + listener.enterRefreshMaterializedView(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPrepare) { - listener.exitPrepare(this); + if(listener.exitRefreshMaterializedView) { + listener.exitRefreshMaterializedView(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPrepare) { - return visitor.visitPrepare(this); + if (visitor.visitRefreshMaterializedView) { + return visitor.visitRefreshMaterializedView(this); } else { return visitor.visitChildren(this); } } } -export class DropMaterializedViewContext extends StatementContext { +export class ShowCreateMaterializedViewContext extends StatementContext { public constructor(ctx: StatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_DROP(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DROP, 0)!; + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; } public KW_MATERIALIZED(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; @@ -13294,141 +21972,183 @@ export class DropMaterializedViewContext extends StatementContext { public KW_VIEW(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; } - public viewName(): ViewNameContext { - return this.getRuleContext(0, ViewNameContext)!; - } - public KW_IF(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IF, 0); - } - public KW_EXISTS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + public viewRef(): ViewRefContext { + return this.getRuleContext(0, ViewRefContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDropMaterializedView) { - listener.enterDropMaterializedView(this); + if(listener.enterShowCreateMaterializedView) { + listener.enterShowCreateMaterializedView(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDropMaterializedView) { - listener.exitDropMaterializedView(this); + if(listener.exitShowCreateMaterializedView) { + listener.exitShowCreateMaterializedView(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDropMaterializedView) { - return visitor.visitDropMaterializedView(this); + if (visitor.visitShowCreateMaterializedView) { + return visitor.visitShowCreateMaterializedView(this); } else { return visitor.visitChildren(this); } } } -export class SetMaterializedViewPropertiesContext extends StatementContext { +export class CreateCatalogContext extends StatementContext { + public _catalog?: CatalogNameCreateContext; + public _connectorName?: IdentifierContext; public constructor(ctx: StatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + public KW_CREATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; } - public KW_MATERIALIZED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; + public KW_CATALOG(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CATALOG, 0)!; } - public KW_VIEW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + public KW_USING(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_USING, 0)!; } - public viewName(): ViewNameContext { - return this.getRuleContext(0, ViewNameContext)!; + public catalogNameCreate(): CatalogNameCreateContext { + return this.getRuleContext(0, CatalogNameCreateContext)!; } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public KW_PROPERTIES(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_PROPERTIES, 0)!; + public KW_IF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IF, 0); } - public propertyAssignments(): PropertyAssignmentsContext { - return this.getRuleContext(0, PropertyAssignmentsContext)!; + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); + } + public KW_EXISTS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + } + public KW_COMMENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0); + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public KW_AUTHORIZATION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0); + } + public principal(): PrincipalContext | null { + return this.getRuleContext(0, PrincipalContext); + } + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); + } + public properties(): PropertiesContext | null { + return this.getRuleContext(0, PropertiesContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetMaterializedViewProperties) { - listener.enterSetMaterializedViewProperties(this); + if(listener.enterCreateCatalog) { + listener.enterCreateCatalog(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetMaterializedViewProperties) { - listener.exitSetMaterializedViewProperties(this); + if(listener.exitCreateCatalog) { + listener.exitCreateCatalog(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetMaterializedViewProperties) { - return visitor.visitSetMaterializedViewProperties(this); + if (visitor.visitCreateCatalog) { + return visitor.visitCreateCatalog(this); } else { return visitor.visitChildren(this); } } } -export class UseContext extends StatementContext { +export class ShowFunctionsContext extends StatementContext { + public _pattern?: StringContext; + public _escape?: StringContext; public constructor(ctx: StatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_USE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_USE, 0)!; + public KW_SHOW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + } + public KW_FUNCTIONS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FUNCTIONS, 0)!; + } + public schemaRef(): SchemaRefContext | null { + return this.getRuleContext(0, SchemaRefContext); + } + public KW_LIKE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LIKE, 0); + } + public KW_FROM(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FROM, 0); + } + public KW_IN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IN, 0); + } + public string_(): StringContext[]; + public string_(i: number): StringContext | null; + public string_(i?: number): StringContext[] | StringContext | null { + if (i === undefined) { + return this.getRuleContexts(StringContext); + } + + return this.getRuleContext(i, StringContext); } - public schemaName(): SchemaNameContext { - return this.getRuleContext(0, SchemaNameContext)!; + public KW_ESCAPE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterUse) { - listener.enterUse(this); + if(listener.enterShowFunctions) { + listener.enterShowFunctions(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitUse) { - listener.exitUse(this); + if(listener.exitShowFunctions) { + listener.exitShowFunctions(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitUse) { - return visitor.visitUse(this); + if (visitor.visitShowFunctions) { + return visitor.visitShowFunctions(this); } else { return visitor.visitChildren(this); } } } -export class DeallocateContext extends StatementContext { +export class DescribeOutputContext extends StatementContext { public constructor(ctx: StatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_DEALLOCATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DEALLOCATE, 0)!; + public KW_DESCRIBE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DESCRIBE, 0)!; } - public KW_PREPARE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_PREPARE, 0)!; + public KW_OUTPUT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_OUTPUT, 0)!; } public identifier(): IdentifierContext { return this.getRuleContext(0, IdentifierContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDeallocate) { - listener.enterDeallocate(this); + if(listener.enterDescribeOutput) { + listener.enterDescribeOutput(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDeallocate) { - listener.exitDeallocate(this); + if(listener.exitDescribeOutput) { + listener.exitDescribeOutput(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDeallocate) { - return visitor.visitDeallocate(this); + if (visitor.visitDescribeOutput) { + return visitor.visitDescribeOutput(this); } else { return visitor.visitChildren(this); } } } -export class RenameTableContext extends StatementContext { - public _from_?: TableNameContext; - public _to?: TableNameCreateContext; +export class SetTablePropertiesContext extends StatementContext { + public _tableName?: TableRefContext; public constructor(ctx: StatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); @@ -13439,3098 +22159,2933 @@ export class RenameTableContext extends StatementContext { public KW_TABLE(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; } - public KW_RENAME(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_RENAME, 0)!; - } - public KW_TO(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TO, 0)!; - } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; } - public tableNameCreate(): TableNameCreateContext { - return this.getRuleContext(0, TableNameCreateContext)!; + public KW_PROPERTIES(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_PROPERTIES, 0)!; } - public KW_IF(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IF, 0); + public propertyAssignments(): PropertyAssignmentsContext { + return this.getRuleContext(0, PropertyAssignmentsContext)!; } - public KW_EXISTS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRenameTable) { - listener.enterRenameTable(this); + if(listener.enterSetTableProperties) { + listener.enterSetTableProperties(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRenameTable) { - listener.exitRenameTable(this); + if(listener.exitSetTableProperties) { + listener.exitSetTableProperties(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRenameTable) { - return visitor.visitRenameTable(this); + if (visitor.visitSetTableProperties) { + return visitor.visitSetTableProperties(this); } else { return visitor.visitChildren(this); } } } -export class CommitContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class RootQueryContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_COMMIT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COMMIT, 0)!; + public query(): QueryContext { + return this.getRuleContext(0, QueryContext)!; } - public KW_WORK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WORK, 0); + public withFunction(): WithFunctionContext | null { + return this.getRuleContext(0, WithFunctionContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_rootQuery; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCommit) { - listener.enterCommit(this); + if(listener.enterRootQuery) { + listener.enterRootQuery(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCommit) { - listener.exitCommit(this); + if(listener.exitRootQuery) { + listener.exitRootQuery(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCommit) { - return visitor.visitCommit(this); + if (visitor.visitRootQuery) { + return visitor.visitRootQuery(this); } else { return visitor.visitChildren(this); } } } -export class CreateRoleContext extends StatementContext { - public _name?: IdentifierContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_CREATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; - } - public KW_ROLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ROLE, 0)!; - } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; - } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); - } - public KW_ADMIN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ADMIN, 0); + + +export class WithFunctionContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public grantor(): GrantorContext | null { - return this.getRuleContext(0, GrantorContext); + public KW_WITH(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_WITH, 0)!; } - public KW_IN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IN, 0); + public functionSpecification(): FunctionSpecificationContext[]; + public functionSpecification(i: number): FunctionSpecificationContext | null; + public functionSpecification(i?: number): FunctionSpecificationContext[] | FunctionSpecificationContext | null { + if (i === undefined) { + return this.getRuleContexts(FunctionSpecificationContext); + } + + return this.getRuleContext(i, FunctionSpecificationContext); } - public catalogName(): CatalogNameContext | null { - return this.getRuleContext(0, CatalogNameContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_withFunction; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCreateRole) { - listener.enterCreateRole(this); + if(listener.enterWithFunction) { + listener.enterWithFunction(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCreateRole) { - listener.exitCreateRole(this); + if(listener.exitWithFunction) { + listener.exitWithFunction(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCreateRole) { - return visitor.visitCreateRole(this); + if (visitor.visitWithFunction) { + return visitor.visitWithFunction(this); } else { return visitor.visitChildren(this); } } } -export class DropColumnContext extends StatementContext { - public _column?: ColumnNameContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; - } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; - } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; - } - public KW_DROP(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DROP, 0)!; - } - public KW_COLUMN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; - } - public columnName(): ColumnNameContext { - return this.getRuleContext(0, ColumnNameContext)!; - } - public KW_IF(): antlr.TerminalNode[]; - public KW_IF(i: number): antlr.TerminalNode | null; - public KW_IF(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_IF); - } else { - return this.getToken(TrinoSqlParser.KW_IF, i); - } - } - public KW_EXISTS(): antlr.TerminalNode[]; - public KW_EXISTS(i: number): antlr.TerminalNode | null; - public KW_EXISTS(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_EXISTS); - } else { - return this.getToken(TrinoSqlParser.KW_EXISTS, i); - } - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDropColumn) { - listener.enterDropColumn(this); - } + + +export class QueryContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDropColumn) { - listener.exitDropColumn(this); - } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_query; } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDropColumn) { - return visitor.visitDropColumn(this); - } else { - return visitor.visitChildren(this); - } + public override copyFrom(ctx: QueryContext): void { + super.copyFrom(ctx); } } -export class DropViewContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class QueryStatementContext extends QueryContext { + public constructor(ctx: QueryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_DROP(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DROP, 0)!; - } - public KW_VIEW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; - } - public viewName(): ViewNameContext { - return this.getRuleContext(0, ViewNameContext)!; - } - public KW_IF(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IF, 0); + public queryNoWith(): QueryNoWithContext { + return this.getRuleContext(0, QueryNoWithContext)!; } - public KW_EXISTS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + public with(): WithContext | null { + return this.getRuleContext(0, WithContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDropView) { - listener.enterDropView(this); + if(listener.enterQueryStatement) { + listener.enterQueryStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDropView) { - listener.exitDropView(this); + if(listener.exitQueryStatement) { + listener.exitQueryStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDropView) { - return visitor.visitDropView(this); + if (visitor.visitQueryStatement) { + return visitor.visitQueryStatement(this); } else { return visitor.visitChildren(this); } } } -export class ShowTablesContext extends StatementContext { - public _pattern?: StringContext; - public _escape?: StringContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; - } - public KW_TABLES(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLES, 0)!; - } - public schemaName(): SchemaNameContext | null { - return this.getRuleContext(0, SchemaNameContext); - } - public KW_LIKE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LIKE, 0); - } - public KW_FROM(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FROM, 0); + + +export class WithContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_IN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IN, 0); + public KW_WITH(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_WITH, 0)!; } - public string_(): StringContext[]; - public string_(i: number): StringContext | null; - public string_(i?: number): StringContext[] | StringContext | null { + public namedQuery(): NamedQueryContext[]; + public namedQuery(i: number): NamedQueryContext | null; + public namedQuery(i?: number): NamedQueryContext[] | NamedQueryContext | null { if (i === undefined) { - return this.getRuleContexts(StringContext); + return this.getRuleContexts(NamedQueryContext); } - return this.getRuleContext(i, StringContext); + return this.getRuleContext(i, NamedQueryContext); } - public KW_ESCAPE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + public KW_RECURSIVE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RECURSIVE, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_with; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowTables) { - listener.enterShowTables(this); + if(listener.enterWith) { + listener.enterWith(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowTables) { - listener.exitShowTables(this); + if(listener.exitWith) { + listener.exitWith(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowTables) { - return visitor.visitShowTables(this); + if (visitor.visitWith) { + return visitor.visitWith(this); } else { return visitor.visitChildren(this); } } } -export class SetViewAuthorizationContext extends StatementContext { - public _from_?: ViewNameContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; - } - public KW_VIEW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; - } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; + + +export class TableElementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_AUTHORIZATION(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0)!; + public columnDefinition(): ColumnDefinitionContext | null { + return this.getRuleContext(0, ColumnDefinitionContext); } - public principal(): PrincipalContext { - return this.getRuleContext(0, PrincipalContext)!; + public likeClause(): LikeClauseContext | null { + return this.getRuleContext(0, LikeClauseContext); } - public viewName(): ViewNameContext { - return this.getRuleContext(0, ViewNameContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_tableElement; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetViewAuthorization) { - listener.enterSetViewAuthorization(this); + if(listener.enterTableElement) { + listener.enterTableElement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetViewAuthorization) { - listener.exitSetViewAuthorization(this); + if(listener.exitTableElement) { + listener.exitTableElement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetViewAuthorization) { - return visitor.visitSetViewAuthorization(this); + if (visitor.visitTableElement) { + return visitor.visitTableElement(this); } else { return visitor.visitChildren(this); } } } -export class ShowTableCommentContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class ColumnDefinitionContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + public columnNameCreate(): ColumnNameCreateContext { + return this.getRuleContext(0, ColumnNameCreateContext)!; } - public KW_COMMENT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COMMENT, 0)!; + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; } - public KW_ON(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ON, 0)!; + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + public KW_NULL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NULL, 0); + } + public KW_COMMENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0); + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); + } + public properties(): PropertiesContext | null { + return this.getRuleContext(0, PropertiesContext); } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_columnDefinition; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowTableComment) { - listener.enterShowTableComment(this); + if(listener.enterColumnDefinition) { + listener.enterColumnDefinition(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowTableComment) { - listener.exitShowTableComment(this); + if(listener.exitColumnDefinition) { + listener.exitColumnDefinition(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowTableComment) { - return visitor.visitShowTableComment(this); + if (visitor.visitColumnDefinition) { + return visitor.visitColumnDefinition(this); } else { return visitor.visitChildren(this); } } } -export class ShowCatalogsContext extends StatementContext { - public _pattern?: StringContext; - public _escape?: StringContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class LikeClauseContext extends antlr.ParserRuleContext { + public _optionType?: Token | null; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + public KW_LIKE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_LIKE, 0)!; } - public KW_CATALOGS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CATALOGS, 0)!; + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; } - public KW_LIKE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LIKE, 0); + public KW_PROPERTIES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PROPERTIES, 0); } - public string_(): StringContext[]; - public string_(i: number): StringContext | null; - public string_(i?: number): StringContext[] | StringContext | null { - if (i === undefined) { - return this.getRuleContexts(StringContext); - } - - return this.getRuleContext(i, StringContext); + public KW_INCLUDING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INCLUDING, 0); } - public KW_ESCAPE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + public KW_EXCLUDING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXCLUDING, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_likeClause; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowCatalogs) { - listener.enterShowCatalogs(this); + if(listener.enterLikeClause) { + listener.enterLikeClause(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowCatalogs) { - listener.exitShowCatalogs(this); + if(listener.exitLikeClause) { + listener.exitLikeClause(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowCatalogs) { - return visitor.visitShowCatalogs(this); + if (visitor.visitLikeClause) { + return visitor.visitLikeClause(this); } else { return visitor.visitChildren(this); } } } -export class ShowRolesContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; - } - public KW_ROLES(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ROLES, 0)!; - } - public KW_CURRENT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_CURRENT, 0); - } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); + + +export class PropertiesContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_FROM(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FROM, 0); + public propertyAssignments(): PropertyAssignmentsContext { + return this.getRuleContext(0, PropertyAssignmentsContext)!; } - public KW_IN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IN, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_properties; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowRoles) { - listener.enterShowRoles(this); + if(listener.enterProperties) { + listener.enterProperties(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowRoles) { - listener.exitShowRoles(this); + if(listener.exitProperties) { + listener.exitProperties(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowRoles) { - return visitor.visitShowRoles(this); + if (visitor.visitProperties) { + return visitor.visitProperties(this); } else { return visitor.visitChildren(this); } } } -export class MergeContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class PropertyAssignmentsContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_MERGE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MERGE, 0)!; + public property(): PropertyContext[]; + public property(i: number): PropertyContext | null; + public property(i?: number): PropertyContext[] | PropertyContext | null { + if (i === undefined) { + return this.getRuleContexts(PropertyContext); + } + + return this.getRuleContext(i, PropertyContext); } - public KW_INTO(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_INTO, 0)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_propertyAssignments; } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterPropertyAssignments) { + listener.enterPropertyAssignments(this); + } } - public KW_USING(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_USING, 0)!; + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitPropertyAssignments) { + listener.exitPropertyAssignments(this); + } } - public relation(): RelationContext { - return this.getRuleContext(0, RelationContext)!; + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitPropertyAssignments) { + return visitor.visitPropertyAssignments(this); + } else { + return visitor.visitChildren(this); + } } - public KW_ON(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ON, 0)!; +} + + +export class PropertyContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); + public EQ(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.EQ, 0)!; } - public mergeCase(): MergeCaseContext[]; - public mergeCase(i: number): MergeCaseContext | null; - public mergeCase(i?: number): MergeCaseContext[] | MergeCaseContext | null { - if (i === undefined) { - return this.getRuleContexts(MergeCaseContext); - } - - return this.getRuleContext(i, MergeCaseContext); + public propertyValue(): PropertyValueContext { + return this.getRuleContext(0, PropertyValueContext)!; } - public KW_AS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AS, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_property; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterMerge) { - listener.enterMerge(this); + if(listener.enterProperty) { + listener.enterProperty(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitMerge) { - listener.exitMerge(this); + if(listener.exitProperty) { + listener.exitProperty(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitMerge) { - return visitor.visitMerge(this); + if (visitor.visitProperty) { + return visitor.visitProperty(this); } else { return visitor.visitChildren(this); } } } -export class RenameColumnContext extends StatementContext { - public _from_?: ColumnNameContext; - public _to?: ColumnNameCreateContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; - } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; - } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; - } - public KW_RENAME(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_RENAME, 0)!; - } - public KW_COLUMN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; - } - public KW_TO(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TO, 0)!; + + +export class PropertyValueContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public columnName(): ColumnNameContext { - return this.getRuleContext(0, ColumnNameContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_propertyValue; } - public columnNameCreate(): ColumnNameCreateContext { - return this.getRuleContext(0, ColumnNameCreateContext)!; + public override copyFrom(ctx: PropertyValueContext): void { + super.copyFrom(ctx); } - public KW_IF(): antlr.TerminalNode[]; - public KW_IF(i: number): antlr.TerminalNode | null; - public KW_IF(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_IF); - } else { - return this.getToken(TrinoSqlParser.KW_IF, i); - } +} +export class DefaultPropertyValueContext extends PropertyValueContext { + public constructor(ctx: PropertyValueContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_EXISTS(): antlr.TerminalNode[]; - public KW_EXISTS(i: number): antlr.TerminalNode | null; - public KW_EXISTS(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_EXISTS); - } else { - return this.getToken(TrinoSqlParser.KW_EXISTS, i); - } + public KW_DEFAULT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DEFAULT, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRenameColumn) { - listener.enterRenameColumn(this); + if(listener.enterDefaultPropertyValue) { + listener.enterDefaultPropertyValue(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRenameColumn) { - listener.exitRenameColumn(this); + if(listener.exitDefaultPropertyValue) { + listener.exitDefaultPropertyValue(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRenameColumn) { - return visitor.visitRenameColumn(this); + if (visitor.visitDefaultPropertyValue) { + return visitor.visitDefaultPropertyValue(this); } else { return visitor.visitChildren(this); } } } -export class CommentColumnContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class NonDefaultPropertyValueContext extends PropertyValueContext { + public constructor(ctx: PropertyValueContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_COMMENT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COMMENT, 0)!; - } - public KW_ON(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ON, 0)!; - } - public KW_COLUMN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; - } - public columnName(): ColumnNameContext { - return this.getRuleContext(0, ColumnNameContext)!; - } - public KW_IS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_IS, 0)!; - } - public string(): StringContext | null { - return this.getRuleContext(0, StringContext); - } - public KW_NULL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NULL, 0); + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCommentColumn) { - listener.enterCommentColumn(this); + if(listener.enterNonDefaultPropertyValue) { + listener.enterNonDefaultPropertyValue(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCommentColumn) { - listener.exitCommentColumn(this); + if(listener.exitNonDefaultPropertyValue) { + listener.exitNonDefaultPropertyValue(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCommentColumn) { - return visitor.visitCommentColumn(this); + if (visitor.visitNonDefaultPropertyValue) { + return visitor.visitNonDefaultPropertyValue(this); } else { return visitor.visitChildren(this); } } } -export class RevokeRolesContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class QueryNoWithContext extends antlr.ParserRuleContext { + public _offset?: RowCountContext; + public _limit?: LimitRowCountContext; + public _fetchFirst?: RowCountContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_REVOKE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_REVOKE, 0)!; + public queryTerm(): QueryTermContext { + return this.getRuleContext(0, QueryTermContext)!; } - public roles(): RolesContext { - return this.getRuleContext(0, RolesContext)!; + public KW_ORDER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ORDER, 0); } - public KW_FROM(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + public KW_BY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BY, 0); } - public principal(): PrincipalContext[]; - public principal(i: number): PrincipalContext | null; - public principal(i?: number): PrincipalContext[] | PrincipalContext | null { + public sortItem(): SortItemContext[]; + public sortItem(i: number): SortItemContext | null; + public sortItem(i?: number): SortItemContext[] | SortItemContext | null { if (i === undefined) { - return this.getRuleContexts(PrincipalContext); + return this.getRuleContexts(SortItemContext); } - return this.getRuleContext(i, PrincipalContext); - } - public KW_ADMIN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ADMIN, 0); - } - public KW_OPTION(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_OPTION, 0); - } - public KW_FOR(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FOR, 0); + return this.getRuleContext(i, SortItemContext); } - public KW_GRANTED(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_GRANTED, 0); + public KW_OFFSET(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OFFSET, 0); } - public KW_BY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_BY, 0); + public rowCount(): RowCountContext[]; + public rowCount(i: number): RowCountContext | null; + public rowCount(i?: number): RowCountContext[] | RowCountContext | null { + if (i === undefined) { + return this.getRuleContexts(RowCountContext); + } + + return this.getRuleContext(i, RowCountContext); } - public grantor(): GrantorContext | null { - return this.getRuleContext(0, GrantorContext); + public KW_LIMIT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LIMIT, 0); } - public KW_IN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IN, 0); + public KW_FETCH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FETCH, 0); } - public catalogName(): CatalogNameContext | null { - return this.getRuleContext(0, CatalogNameContext); + public limitRowCount(): LimitRowCountContext | null { + return this.getRuleContext(0, LimitRowCountContext); } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRevokeRoles) { - listener.enterRevokeRoles(this); - } + public KW_FIRST(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FIRST, 0); } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRevokeRoles) { - listener.exitRevokeRoles(this); - } + public KW_NEXT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NEXT, 0); } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRevokeRoles) { - return visitor.visitRevokeRoles(this); - } else { - return visitor.visitChildren(this); - } + public KW_ROW(): antlr.TerminalNode[]; + public KW_ROW(i: number): antlr.TerminalNode | null; + public KW_ROW(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ROW); + } else { + return this.getToken(TrinoSqlParser.KW_ROW, i); + } } -} -export class ShowCreateTableContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_ROWS(): antlr.TerminalNode[]; + public KW_ROWS(i: number): antlr.TerminalNode | null; + public KW_ROWS(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ROWS); + } else { + return this.getToken(TrinoSqlParser.KW_ROWS, i); + } } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + public KW_ONLY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ONLY, 0); } - public KW_CREATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + public KW_TIES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TIES, 0); } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_queryNoWith; } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowCreateTable) { - listener.enterShowCreateTable(this); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterQueryNoWith) { + listener.enterQueryNoWith(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowCreateTable) { - listener.exitShowCreateTable(this); + if(listener.exitQueryNoWith) { + listener.exitQueryNoWith(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowCreateTable) { - return visitor.visitShowCreateTable(this); + if (visitor.visitQueryNoWith) { + return visitor.visitQueryNoWith(this); } else { return visitor.visitChildren(this); } } } -export class ShowColumnsContext extends StatementContext { - public _pattern?: StringContext; - public _escape?: StringContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_SHOW(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SHOW, 0); + + +export class LimitRowCountContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_COLUMNS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_COLUMNS, 0); + public KW_ALL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ALL, 0); } - public KW_FROM(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FROM, 0); + public rowCount(): RowCountContext | null { + return this.getRuleContext(0, RowCountContext); } - public KW_IN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IN, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_limitRowCount; } - public tableOrViewName(): TableOrViewNameContext | null { - return this.getRuleContext(0, TableOrViewNameContext); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterLimitRowCount) { + listener.enterLimitRowCount(this); + } } - public KW_LIKE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LIKE, 0); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitLimitRowCount) { + listener.exitLimitRowCount(this); + } } - public string_(): StringContext[]; - public string_(i: number): StringContext | null; - public string_(i?: number): StringContext[] | StringContext | null { - if (i === undefined) { - return this.getRuleContexts(StringContext); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitLimitRowCount) { + return visitor.visitLimitRowCount(this); + } else { + return visitor.visitChildren(this); } + } +} - return this.getRuleContext(i, StringContext); + +export class RowCountContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_ESCAPE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + public INTEGER_VALUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); } - public KW_DESCRIBE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DESCRIBE, 0); + public QUESTION_MARK(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.QUESTION_MARK, 0); } - public KW_DESC(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DESC, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_rowCount; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowColumns) { - listener.enterShowColumns(this); + if(listener.enterRowCount) { + listener.enterRowCount(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowColumns) { - listener.exitShowColumns(this); + if(listener.exitRowCount) { + listener.exitRowCount(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowColumns) { - return visitor.visitShowColumns(this); + if (visitor.visitRowCount) { + return visitor.visitRowCount(this); } else { return visitor.visitChildren(this); } } } -export class ShowRoleGrantsContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; - } - public KW_ROLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ROLE, 0)!; + + +export class QueryTermContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_GRANTS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_GRANTS, 0)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_queryTerm; } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); + public override copyFrom(ctx: QueryTermContext): void { + super.copyFrom(ctx); } - public KW_FROM(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FROM, 0); +} +export class QueryTermDefaultContext extends QueryTermContext { + public constructor(ctx: QueryTermContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_IN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IN, 0); + public queryPrimary(): QueryPrimaryContext { + return this.getRuleContext(0, QueryPrimaryContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowRoleGrants) { - listener.enterShowRoleGrants(this); + if(listener.enterQueryTermDefault) { + listener.enterQueryTermDefault(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowRoleGrants) { - listener.exitShowRoleGrants(this); + if(listener.exitQueryTermDefault) { + listener.exitQueryTermDefault(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowRoleGrants) { - return visitor.visitShowRoleGrants(this); + if (visitor.visitQueryTermDefault) { + return visitor.visitQueryTermDefault(this); } else { return visitor.visitChildren(this); } } } -export class AddColumnContext extends StatementContext { - public _column?: ColumnDefinitionContext; - public constructor(ctx: StatementContext) { +export class SetOperationContext extends QueryTermContext { + public _left?: QueryTermContext; + public _operator?: Token | null; + public _right?: QueryTermContext; + public constructor(ctx: QueryTermContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; - } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; - } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; - } - public KW_ADD(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ADD, 0)!; - } - public KW_COLUMN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; + public queryTerm(): QueryTermContext[]; + public queryTerm(i: number): QueryTermContext | null; + public queryTerm(i?: number): QueryTermContext[] | QueryTermContext | null { + if (i === undefined) { + return this.getRuleContexts(QueryTermContext); + } + + return this.getRuleContext(i, QueryTermContext); } - public columnDefinition(): ColumnDefinitionContext { - return this.getRuleContext(0, ColumnDefinitionContext)!; + public KW_INTERSECT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INTERSECT, 0); } - public KW_IF(): antlr.TerminalNode[]; - public KW_IF(i: number): antlr.TerminalNode | null; - public KW_IF(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_IF); - } else { - return this.getToken(TrinoSqlParser.KW_IF, i); - } + public setQuantifier(): SetQuantifierContext | null { + return this.getRuleContext(0, SetQuantifierContext); } - public KW_EXISTS(): antlr.TerminalNode[]; - public KW_EXISTS(i: number): antlr.TerminalNode | null; - public KW_EXISTS(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_EXISTS); - } else { - return this.getToken(TrinoSqlParser.KW_EXISTS, i); - } + public KW_UNION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNION, 0); } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); + public KW_EXCEPT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXCEPT, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterAddColumn) { - listener.enterAddColumn(this); + if(listener.enterSetOperation) { + listener.enterSetOperation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitAddColumn) { - listener.exitAddColumn(this); + if(listener.exitSetOperation) { + listener.exitSetOperation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitAddColumn) { - return visitor.visitAddColumn(this); + if (visitor.visitSetOperation) { + return visitor.visitSetOperation(this); } else { return visitor.visitChildren(this); } } } -export class DenyContext extends StatementContext { - public _grantee?: PrincipalContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_DENY(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DENY, 0)!; - } - public KW_ON(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ON, 0)!; - } - public KW_TO(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TO, 0)!; - } - public principal(): PrincipalContext { - return this.getRuleContext(0, PrincipalContext)!; - } - public privilege(): PrivilegeContext[]; - public privilege(i: number): PrivilegeContext | null; - public privilege(i?: number): PrivilegeContext[] | PrivilegeContext | null { - if (i === undefined) { - return this.getRuleContexts(PrivilegeContext); - } - return this.getRuleContext(i, PrivilegeContext); - } - public KW_ALL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ALL, 0); - } - public KW_PRIVILEGES(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PRIVILEGES, 0); + +export class QueryPrimaryContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public schemaName(): SchemaNameContext | null { - return this.getRuleContext(0, SchemaNameContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_queryPrimary; } - public tableName(): TableNameContext | null { - return this.getRuleContext(0, TableNameContext); + public override copyFrom(ctx: QueryPrimaryContext): void { + super.copyFrom(ctx); } - public KW_SCHEMA(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SCHEMA, 0); +} +export class SubqueryContext extends QueryPrimaryContext { + public constructor(ctx: QueryPrimaryContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_TABLE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TABLE, 0); + public queryNoWith(): QueryNoWithContext { + return this.getRuleContext(0, QueryNoWithContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDeny) { - listener.enterDeny(this); + if(listener.enterSubquery) { + listener.enterSubquery(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDeny) { - listener.exitDeny(this); + if(listener.exitSubquery) { + listener.exitSubquery(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDeny) { - return visitor.visitDeny(this); + if (visitor.visitSubquery) { + return visitor.visitSubquery(this); } else { return visitor.visitChildren(this); } } } -export class ResetSessionContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class QueryPrimaryDefaultContext extends QueryPrimaryContext { + public constructor(ctx: QueryPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_RESET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_RESET, 0)!; - } - public KW_SESSION(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SESSION, 0)!; - } - public qualifiedName(): QualifiedNameContext { - return this.getRuleContext(0, QualifiedNameContext)!; + public querySpecification(): QuerySpecificationContext { + return this.getRuleContext(0, QuerySpecificationContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterResetSession) { - listener.enterResetSession(this); + if(listener.enterQueryPrimaryDefault) { + listener.enterQueryPrimaryDefault(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitResetSession) { - listener.exitResetSession(this); + if(listener.exitQueryPrimaryDefault) { + listener.exitQueryPrimaryDefault(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitResetSession) { - return visitor.visitResetSession(this); + if (visitor.visitQueryPrimaryDefault) { + return visitor.visitQueryPrimaryDefault(this); } else { return visitor.visitChildren(this); } } } -export class InsertIntoContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class TableContext extends QueryPrimaryContext { + public constructor(ctx: QueryPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_INSERT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_INSERT, 0)!; - } - public KW_INTO(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_INTO, 0)!; - } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; - } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; } - public columnList(): ColumnListContext | null { - return this.getRuleContext(0, ColumnListContext); + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterInsertInto) { - listener.enterInsertInto(this); + if(listener.enterTable) { + listener.enterTable(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitInsertInto) { - listener.exitInsertInto(this); + if(listener.exitTable) { + listener.exitTable(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitInsertInto) { - return visitor.visitInsertInto(this); + if (visitor.visitTable) { + return visitor.visitTable(this); } else { return visitor.visitChildren(this); } } } -export class ShowSessionContext extends StatementContext { - public _pattern?: StringContext; - public _escape?: StringContext; - public constructor(ctx: StatementContext) { +export class InlineTableContext extends QueryPrimaryContext { + public constructor(ctx: QueryPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; - } - public KW_SESSION(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SESSION, 0)!; - } - public KW_LIKE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LIKE, 0); + public KW_VALUES(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VALUES, 0)!; } - public string_(): StringContext[]; - public string_(i: number): StringContext | null; - public string_(i?: number): StringContext[] | StringContext | null { + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(StringContext); + return this.getRuleContexts(ExpressionContext); } - return this.getRuleContext(i, StringContext); - } - public KW_ESCAPE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + return this.getRuleContext(i, ExpressionContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowSession) { - listener.enterShowSession(this); + if(listener.enterInlineTable) { + listener.enterInlineTable(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowSession) { - listener.exitShowSession(this); + if(listener.exitInlineTable) { + listener.exitInlineTable(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowSession) { - return visitor.visitShowSession(this); + if (visitor.visitInlineTable) { + return visitor.visitInlineTable(this); } else { return visitor.visitChildren(this); } } } -export class CreateSchemaContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_CREATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; - } - public KW_SCHEMA(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SCHEMA, 0)!; + + +export class SortItemContext extends antlr.ParserRuleContext { + public _ordering?: Token | null; + public _nullOrdering?: Token | null; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public schemaNameCreate(): SchemaNameCreateContext { - return this.getRuleContext(0, SchemaNameCreateContext)!; + public columnRef(): ColumnRefContext | null { + return this.getRuleContext(0, ColumnRefContext); } - public KW_IF(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IF, 0); + public expression(): ExpressionContext | null { + return this.getRuleContext(0, ExpressionContext); } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); + public KW_NULLS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NULLS, 0); } - public KW_EXISTS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + public KW_ASC(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ASC, 0); } - public KW_AUTHORIZATION(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0); + public KW_DESC(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DESC, 0); } - public principal(): PrincipalContext | null { - return this.getRuleContext(0, PrincipalContext); + public KW_FIRST(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FIRST, 0); } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); + public KW_LAST(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LAST, 0); } - public properties(): PropertiesContext | null { - return this.getRuleContext(0, PropertiesContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_sortItem; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCreateSchema) { - listener.enterCreateSchema(this); + if(listener.enterSortItem) { + listener.enterSortItem(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCreateSchema) { - listener.exitCreateSchema(this); + if(listener.exitSortItem) { + listener.exitSortItem(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCreateSchema) { - return visitor.visitCreateSchema(this); + if (visitor.visitSortItem) { + return visitor.visitSortItem(this); } else { return visitor.visitChildren(this); } } } -export class ExecuteContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class QuerySpecificationContext extends antlr.ParserRuleContext { + public _where?: BooleanExpressionContext; + public _having?: BooleanExpressionContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_EXECUTE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_EXECUTE, 0)!; + public KW_SELECT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SELECT, 0)!; } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public selectItem(): SelectItemContext[]; + public selectItem(i: number): SelectItemContext | null; + public selectItem(i?: number): SelectItemContext[] | SelectItemContext | null { + if (i === undefined) { + return this.getRuleContexts(SelectItemContext); + } + + return this.getRuleContext(i, SelectItemContext); + } + public setQuantifier(): SetQuantifierContext | null { + return this.getRuleContext(0, SetQuantifierContext); + } + public KW_FROM(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FROM, 0); + } + public relation(): RelationContext[]; + public relation(i: number): RelationContext | null; + public relation(i?: number): RelationContext[] | RelationContext | null { + if (i === undefined) { + return this.getRuleContexts(RelationContext); + } + + return this.getRuleContext(i, RelationContext); + } + public KW_WHERE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WHERE, 0); + } + public KW_GROUP(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_GROUP, 0); + } + public KW_BY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BY, 0); + } + public groupBy(): GroupByContext | null { + return this.getRuleContext(0, GroupByContext); + } + public KW_HAVING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_HAVING, 0); + } + public KW_WINDOW(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WINDOW, 0); + } + public windowDefinition(): WindowDefinitionContext[]; + public windowDefinition(i: number): WindowDefinitionContext | null; + public windowDefinition(i?: number): WindowDefinitionContext[] | WindowDefinitionContext | null { + if (i === undefined) { + return this.getRuleContexts(WindowDefinitionContext); + } + + return this.getRuleContext(i, WindowDefinitionContext); + } + public booleanExpression(): BooleanExpressionContext[]; + public booleanExpression(i: number): BooleanExpressionContext | null; + public booleanExpression(i?: number): BooleanExpressionContext[] | BooleanExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(BooleanExpressionContext); + } + + return this.getRuleContext(i, BooleanExpressionContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_querySpecification; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterQuerySpecification) { + listener.enterQuerySpecification(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitQuerySpecification) { + listener.exitQuerySpecification(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitQuerySpecification) { + return visitor.visitQuerySpecification(this); + } else { + return visitor.visitChildren(this); + } } - public KW_USING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_USING, 0); +} + + +export class GroupByContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + public groupingElement(): GroupingElementContext[]; + public groupingElement(i: number): GroupingElementContext | null; + public groupingElement(i?: number): GroupingElementContext[] | GroupingElementContext | null { if (i === undefined) { - return this.getRuleContexts(ExpressionContext); + return this.getRuleContexts(GroupingElementContext); } - return this.getRuleContext(i, ExpressionContext); + return this.getRuleContext(i, GroupingElementContext); + } + public setQuantifier(): SetQuantifierContext | null { + return this.getRuleContext(0, SetQuantifierContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_groupBy; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterExecute) { - listener.enterExecute(this); + if(listener.enterGroupBy) { + listener.enterGroupBy(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitExecute) { - listener.exitExecute(this); + if(listener.exitGroupBy) { + listener.exitGroupBy(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitExecute) { - return visitor.visitExecute(this); + if (visitor.visitGroupBy) { + return visitor.visitGroupBy(this); } else { return visitor.visitChildren(this); } } } -export class RenameSchemaContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class GroupingElementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_groupingElement; } - public KW_SCHEMA(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SCHEMA, 0)!; + public override copyFrom(ctx: GroupingElementContext): void { + super.copyFrom(ctx); } - public schemaName(): SchemaNameContext { - return this.getRuleContext(0, SchemaNameContext)!; +} +export class MultipleGroupingSetsContext extends GroupingElementContext { + public constructor(ctx: GroupingElementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_RENAME(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_RENAME, 0)!; + public KW_GROUPING(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_GROUPING, 0)!; } - public KW_TO(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TO, 0)!; + public KW_SETS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SETS, 0)!; } - public schemaNameCreate(): SchemaNameCreateContext { - return this.getRuleContext(0, SchemaNameCreateContext)!; + public groupingSet(): GroupingSetContext[]; + public groupingSet(i: number): GroupingSetContext | null; + public groupingSet(i?: number): GroupingSetContext[] | GroupingSetContext | null { + if (i === undefined) { + return this.getRuleContexts(GroupingSetContext); + } + + return this.getRuleContext(i, GroupingSetContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRenameSchema) { - listener.enterRenameSchema(this); + if(listener.enterMultipleGroupingSets) { + listener.enterMultipleGroupingSets(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRenameSchema) { - listener.exitRenameSchema(this); + if(listener.exitMultipleGroupingSets) { + listener.exitMultipleGroupingSets(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRenameSchema) { - return visitor.visitRenameSchema(this); + if (visitor.visitMultipleGroupingSets) { + return visitor.visitMultipleGroupingSets(this); } else { return visitor.visitChildren(this); } } } -export class DropRoleContext extends StatementContext { - public _name?: IdentifierContext; - public constructor(ctx: StatementContext) { +export class SingleGroupingSetContext extends GroupingElementContext { + public constructor(ctx: GroupingElementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_DROP(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DROP, 0)!; - } - public KW_ROLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ROLE, 0)!; - } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public groupingSet(): GroupingSetContext { + return this.getRuleContext(0, GroupingSetContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDropRole) { - listener.enterDropRole(this); + if(listener.enterSingleGroupingSet) { + listener.enterSingleGroupingSet(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDropRole) { - listener.exitDropRole(this); + if(listener.exitSingleGroupingSet) { + listener.exitSingleGroupingSet(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDropRole) { - return visitor.visitDropRole(this); + if (visitor.visitSingleGroupingSet) { + return visitor.visitSingleGroupingSet(this); } else { return visitor.visitChildren(this); } } } -export class AnalyzeContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class CubeContext extends GroupingElementContext { + public constructor(ctx: GroupingElementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_ANALYZE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ANALYZE, 0)!; - } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; - } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); + public KW_CUBE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CUBE, 0)!; } - public properties(): PropertiesContext | null { - return this.getRuleContext(0, PropertiesContext); + public groupingSet(): GroupingSetContext[]; + public groupingSet(i: number): GroupingSetContext | null; + public groupingSet(i?: number): GroupingSetContext[] | GroupingSetContext | null { + if (i === undefined) { + return this.getRuleContexts(GroupingSetContext); + } + + return this.getRuleContext(i, GroupingSetContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterAnalyze) { - listener.enterAnalyze(this); + if(listener.enterCube) { + listener.enterCube(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitAnalyze) { - listener.exitAnalyze(this); + if(listener.exitCube) { + listener.exitCube(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitAnalyze) { - return visitor.visitAnalyze(this); + if (visitor.visitCube) { + return visitor.visitCube(this); } else { return visitor.visitChildren(this); } } } -export class SetRoleContext extends StatementContext { - public _role?: IdentifierContext; - public constructor(ctx: StatementContext) { +export class RollupContext extends GroupingElementContext { + public constructor(ctx: GroupingElementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; - } - public KW_ROLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ROLE, 0)!; - } - public KW_ALL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ALL, 0); - } - public KW_NONE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NONE, 0); - } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); - } - public KW_IN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IN, 0); + public KW_ROLLUP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ROLLUP, 0)!; } - public catalogName(): CatalogNameContext | null { - return this.getRuleContext(0, CatalogNameContext); + public groupingSet(): GroupingSetContext[]; + public groupingSet(i: number): GroupingSetContext | null; + public groupingSet(i?: number): GroupingSetContext[] | GroupingSetContext | null { + if (i === undefined) { + return this.getRuleContexts(GroupingSetContext); + } + + return this.getRuleContext(i, GroupingSetContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetRole) { - listener.enterSetRole(this); + if(listener.enterRollup) { + listener.enterRollup(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetRole) { - listener.exitSetRole(this); + if(listener.exitRollup) { + listener.exitRollup(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetRole) { - return visitor.visitSetRole(this); + if (visitor.visitRollup) { + return visitor.visitRollup(this); } else { return visitor.visitChildren(this); } } } -export class ShowGrantsContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; - } - public KW_GRANTS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_GRANTS, 0)!; - } - public KW_ON(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ON, 0); + + +export class GroupingSetContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public tableName(): TableNameContext | null { - return this.getRuleContext(0, TableNameContext); + public groupingTerm(): GroupingTermContext[]; + public groupingTerm(i: number): GroupingTermContext | null; + public groupingTerm(i?: number): GroupingTermContext[] | GroupingTermContext | null { + if (i === undefined) { + return this.getRuleContexts(GroupingTermContext); + } + + return this.getRuleContext(i, GroupingTermContext); } - public KW_TABLE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TABLE, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_groupingSet; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowGrants) { - listener.enterShowGrants(this); + if(listener.enterGroupingSet) { + listener.enterGroupingSet(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowGrants) { - listener.exitShowGrants(this); + if(listener.exitGroupingSet) { + listener.exitGroupingSet(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowGrants) { - return visitor.visitShowGrants(this); + if (visitor.visitGroupingSet) { + return visitor.visitGroupingSet(this); } else { return visitor.visitChildren(this); } } } -export class DropSchemaContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_DROP(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DROP, 0)!; - } - public KW_SCHEMA(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SCHEMA, 0)!; - } - public schemaName(): SchemaNameContext { - return this.getRuleContext(0, SchemaNameContext)!; - } - public KW_IF(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IF, 0); + + +export class GroupingTermContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_EXISTS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + public columnRef(): ColumnRefContext | null { + return this.getRuleContext(0, ColumnRefContext); } - public KW_CASCADE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_CASCADE, 0); + public expression(): ExpressionContext | null { + return this.getRuleContext(0, ExpressionContext); } - public KW_RESTRICT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_RESTRICT, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_groupingTerm; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDropSchema) { - listener.enterDropSchema(this); + if(listener.enterGroupingTerm) { + listener.enterGroupingTerm(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDropSchema) { - listener.exitDropSchema(this); + if(listener.exitGroupingTerm) { + listener.exitGroupingTerm(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDropSchema) { - return visitor.visitDropSchema(this); + if (visitor.visitGroupingTerm) { + return visitor.visitGroupingTerm(this); } else { return visitor.visitChildren(this); } } } -export class SetTableAuthorizationContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; - } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + + +export class WindowDefinitionContext extends antlr.ParserRuleContext { + public _name?: IdentifierContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public KW_AS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AS, 0)!; } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; + public windowSpecification(): WindowSpecificationContext { + return this.getRuleContext(0, WindowSpecificationContext)!; } - public KW_AUTHORIZATION(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public principal(): PrincipalContext { - return this.getRuleContext(0, PrincipalContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_windowDefinition; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetTableAuthorization) { - listener.enterSetTableAuthorization(this); + if(listener.enterWindowDefinition) { + listener.enterWindowDefinition(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetTableAuthorization) { - listener.exitSetTableAuthorization(this); + if(listener.exitWindowDefinition) { + listener.exitWindowDefinition(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetTableAuthorization) { - return visitor.visitSetTableAuthorization(this); + if (visitor.visitWindowDefinition) { + return visitor.visitWindowDefinition(this); } else { return visitor.visitChildren(this); } } } -export class ShowCreateViewContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class WindowSpecificationContext extends antlr.ParserRuleContext { + public _existingWindowName?: IdentifierContext; + public _expression?: ExpressionContext; + public _partition: ExpressionContext[] = []; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + public KW_PARTITION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PARTITION, 0); } - public KW_CREATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + public KW_BY(): antlr.TerminalNode[]; + public KW_BY(i: number): antlr.TerminalNode | null; + public KW_BY(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_BY); + } else { + return this.getToken(TrinoSqlParser.KW_BY, i); + } } - public KW_VIEW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + public KW_ORDER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ORDER, 0); + } + public sortItem(): SortItemContext[]; + public sortItem(i: number): SortItemContext | null; + public sortItem(i?: number): SortItemContext[] | SortItemContext | null { + if (i === undefined) { + return this.getRuleContexts(SortItemContext); + } + + return this.getRuleContext(i, SortItemContext); + } + public windowFrame(): WindowFrameContext | null { + return this.getRuleContext(0, WindowFrameContext); + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExpressionContext); + } + + return this.getRuleContext(i, ExpressionContext); } - public viewName(): ViewNameContext { - return this.getRuleContext(0, ViewNameContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_windowSpecification; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowCreateView) { - listener.enterShowCreateView(this); + if(listener.enterWindowSpecification) { + listener.enterWindowSpecification(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowCreateView) { - listener.exitShowCreateView(this); + if(listener.exitWindowSpecification) { + listener.exitWindowSpecification(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowCreateView) { - return visitor.visitShowCreateView(this); + if (visitor.visitWindowSpecification) { + return visitor.visitWindowSpecification(this); } else { return visitor.visitChildren(this); } } } -export class ShowColumnCommentContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class NamedQueryContext extends antlr.ParserRuleContext { + public _name?: IdentifierContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + public KW_AS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AS, 0)!; } - public KW_COMMENT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COMMENT, 0)!; + public query(): QueryContext { + return this.getRuleContext(0, QueryContext)!; } - public KW_ON(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ON, 0)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public KW_COLUMN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COLUMN, 0)!; + public columnAliases(): ColumnAliasesContext | null { + return this.getRuleContext(0, ColumnAliasesContext); } - public columnName(): ColumnNameContext { - return this.getRuleContext(0, ColumnNameContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_namedQuery; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowColumnComment) { - listener.enterShowColumnComment(this); + if(listener.enterNamedQuery) { + listener.enterNamedQuery(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowColumnComment) { - listener.exitShowColumnComment(this); + if(listener.exitNamedQuery) { + listener.exitNamedQuery(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowColumnComment) { - return visitor.visitShowColumnComment(this); + if (visitor.visitNamedQuery) { + return visitor.visitNamedQuery(this); } else { return visitor.visitChildren(this); } } } -export class CreateTableContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_CREATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; - } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; - } - public tableNameCreate(): TableNameCreateContext { - return this.getRuleContext(0, TableNameCreateContext)!; - } - public tableElement(): TableElementContext[]; - public tableElement(i: number): TableElementContext | null; - public tableElement(i?: number): TableElementContext[] | TableElementContext | null { - if (i === undefined) { - return this.getRuleContexts(TableElementContext); - } - return this.getRuleContext(i, TableElementContext); - } - public KW_IF(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IF, 0); - } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); - } - public KW_EXISTS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0); - } - public KW_COMMENT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_COMMENT, 0); + +export class SetQuantifierContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public string(): StringContext | null { - return this.getRuleContext(0, StringContext); + public KW_DISTINCT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DISTINCT, 0); } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); + public KW_ALL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ALL, 0); } - public properties(): PropertiesContext | null { - return this.getRuleContext(0, PropertiesContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_setQuantifier; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCreateTable) { - listener.enterCreateTable(this); + if(listener.enterSetQuantifier) { + listener.enterSetQuantifier(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCreateTable) { - listener.exitCreateTable(this); + if(listener.exitSetQuantifier) { + listener.exitSetQuantifier(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCreateTable) { - return visitor.visitCreateTable(this); + if (visitor.visitSetQuantifier) { + return visitor.visitSetQuantifier(this); } else { return visitor.visitChildren(this); } } } -export class StartTransactionContext extends StatementContext { - public constructor(ctx: StatementContext) { + + +export class SelectItemContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_selectItem; + } + public override copyFrom(ctx: SelectItemContext): void { + super.copyFrom(ctx); + } +} +export class SelectAllContext extends SelectItemContext { + public constructor(ctx: SelectItemContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_START(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_START, 0)!; + public primaryExpression(): PrimaryExpressionContext | null { + return this.getRuleContext(0, PrimaryExpressionContext); + } + public ASTERISK(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.ASTERISK, 0)!; } - public KW_TRANSACTION(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TRANSACTION, 0)!; + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); } - public transactionMode(): TransactionModeContext[]; - public transactionMode(i: number): TransactionModeContext | null; - public transactionMode(i?: number): TransactionModeContext[] | TransactionModeContext | null { - if (i === undefined) { - return this.getRuleContexts(TransactionModeContext); - } - - return this.getRuleContext(i, TransactionModeContext); + public columnAliases(): ColumnAliasesContext | null { + return this.getRuleContext(0, ColumnAliasesContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterStartTransaction) { - listener.enterStartTransaction(this); + if(listener.enterSelectAll) { + listener.enterSelectAll(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitStartTransaction) { - listener.exitStartTransaction(this); + if(listener.exitSelectAll) { + listener.exitSelectAll(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitStartTransaction) { - return visitor.visitStartTransaction(this); + if (visitor.visitSelectAll) { + return visitor.visitSelectAll(this); } else { return visitor.visitChildren(this); } } } -export class CreateTableAsSelectContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class SelectSingleContext extends SelectItemContext { + public constructor(ctx: SelectItemContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_CREATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; - } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; - } - public tableNameCreate(): TableNameCreateContext { - return this.getRuleContext(0, TableNameCreateContext)!; - } - public KW_AS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AS, 0)!; - } - public query(): QueryContext | null { - return this.getRuleContext(0, QueryContext); - } - public KW_IF(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IF, 0); - } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); - } - public KW_EXISTS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0); - } - public columnListCreate(): ColumnListCreateContext | null { - return this.getRuleContext(0, ColumnListCreateContext); - } - public KW_COMMENT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_COMMENT, 0); - } - public string(): StringContext | null { - return this.getRuleContext(0, StringContext); - } - public KW_WITH(): antlr.TerminalNode[]; - public KW_WITH(i: number): antlr.TerminalNode | null; - public KW_WITH(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_WITH); - } else { - return this.getToken(TrinoSqlParser.KW_WITH, i); - } + public columnRef(): ColumnRefContext | null { + return this.getRuleContext(0, ColumnRefContext); } - public properties(): PropertiesContext | null { - return this.getRuleContext(0, PropertiesContext); + public expression(): ExpressionContext | null { + return this.getRuleContext(0, ExpressionContext); } - public KW_DATA(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DATA, 0); + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } - public KW_NO(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NO, 0); + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCreateTableAsSelect) { - listener.enterCreateTableAsSelect(this); + if(listener.enterSelectSingle) { + listener.enterSelectSingle(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCreateTableAsSelect) { - listener.exitCreateTableAsSelect(this); + if(listener.exitSelectSingle) { + listener.exitSelectSingle(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCreateTableAsSelect) { - return visitor.visitCreateTableAsSelect(this); + if (visitor.visitSelectSingle) { + return visitor.visitSelectSingle(this); } else { return visitor.visitChildren(this); } } } -export class ShowStatsContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class RelationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_relation; } - public KW_STATS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_STATS, 0)!; + public override copyFrom(ctx: RelationContext): void { + super.copyFrom(ctx); } - public KW_FOR(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FOR, 0)!; +} +export class RelationDefaultContext extends RelationContext { + public constructor(ctx: RelationContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public sampledRelation(): SampledRelationContext { + return this.getRuleContext(0, SampledRelationContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowStats) { - listener.enterShowStats(this); + if(listener.enterRelationDefault) { + listener.enterRelationDefault(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowStats) { - listener.exitShowStats(this); + if(listener.exitRelationDefault) { + listener.exitRelationDefault(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowStats) { - return visitor.visitShowStats(this); + if (visitor.visitRelationDefault) { + return visitor.visitRelationDefault(this); } else { return visitor.visitChildren(this); } } } -export class ShowCreateSchemaContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class JoinRelationContext extends RelationContext { + public _left?: RelationContext; + public _right?: SampledRelationContext; + public _rightRelation?: RelationContext; + public constructor(ctx: RelationContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + public relation(): RelationContext[]; + public relation(i: number): RelationContext | null; + public relation(i?: number): RelationContext[] | RelationContext | null { + if (i === undefined) { + return this.getRuleContexts(RelationContext); + } + + return this.getRuleContext(i, RelationContext); } - public KW_CREATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; + public KW_CROSS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CROSS, 0); } - public KW_SCHEMA(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SCHEMA, 0)!; + public KW_JOIN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_JOIN, 0); + } + public joinType(): JoinTypeContext | null { + return this.getRuleContext(0, JoinTypeContext); + } + public joinCriteria(): JoinCriteriaContext | null { + return this.getRuleContext(0, JoinCriteriaContext); } - public schemaName(): SchemaNameContext { - return this.getRuleContext(0, SchemaNameContext)!; + public KW_NATURAL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NATURAL, 0); + } + public sampledRelation(): SampledRelationContext | null { + return this.getRuleContext(0, SampledRelationContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowCreateSchema) { - listener.enterShowCreateSchema(this); + if(listener.enterJoinRelation) { + listener.enterJoinRelation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowCreateSchema) { - listener.exitShowCreateSchema(this); + if(listener.exitJoinRelation) { + listener.exitJoinRelation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowCreateSchema) { - return visitor.visitShowCreateSchema(this); + if (visitor.visitJoinRelation) { + return visitor.visitJoinRelation(this); } else { return visitor.visitChildren(this); } } } -export class RevokeContext extends StatementContext { - public _grantee?: PrincipalContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class JoinTypeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_REVOKE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_REVOKE, 0)!; + public KW_INNER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INNER, 0); } - public KW_ON(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ON, 0)!; + public KW_LEFT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LEFT, 0); } - public KW_FROM(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + public KW_OUTER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OUTER, 0); } - public principal(): PrincipalContext { - return this.getRuleContext(0, PrincipalContext)!; + public KW_RIGHT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RIGHT, 0); } - public privilege(): PrivilegeContext[]; - public privilege(i: number): PrivilegeContext | null; - public privilege(i?: number): PrivilegeContext[] | PrivilegeContext | null { - if (i === undefined) { - return this.getRuleContexts(PrivilegeContext); - } - - return this.getRuleContext(i, PrivilegeContext); + public KW_FULL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FULL, 0); } - public KW_ALL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ALL, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_joinType; } - public KW_PRIVILEGES(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PRIVILEGES, 0); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterJoinType) { + listener.enterJoinType(this); + } } - public KW_GRANT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_GRANT, 0); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitJoinType) { + listener.exitJoinType(this); + } } - public KW_OPTION(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_OPTION, 0); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitJoinType) { + return visitor.visitJoinType(this); + } else { + return visitor.visitChildren(this); + } } - public KW_FOR(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FOR, 0); +} + + +export class JoinCriteriaContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public schemaName(): SchemaNameContext | null { - return this.getRuleContext(0, SchemaNameContext); + public KW_ON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ON, 0); } - public tableName(): TableNameContext | null { - return this.getRuleContext(0, TableNameContext); + public booleanExpression(): BooleanExpressionContext | null { + return this.getRuleContext(0, BooleanExpressionContext); } - public KW_SCHEMA(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SCHEMA, 0); + public KW_USING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_USING, 0); } - public KW_TABLE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TABLE, 0); + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_joinCriteria; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRevoke) { - listener.enterRevoke(this); + if(listener.enterJoinCriteria) { + listener.enterJoinCriteria(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRevoke) { - listener.exitRevoke(this); + if(listener.exitJoinCriteria) { + listener.exitJoinCriteria(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRevoke) { - return visitor.visitRevoke(this); + if (visitor.visitJoinCriteria) { + return visitor.visitJoinCriteria(this); } else { return visitor.visitChildren(this); } } } -export class UpdateContext extends StatementContext { - public _where?: BooleanExpressionContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_UPDATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_UPDATE, 0)!; + + +export class SampledRelationContext extends antlr.ParserRuleContext { + public _percentage?: ExpressionContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public patternRecognition(): PatternRecognitionContext { + return this.getRuleContext(0, PatternRecognitionContext)!; } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; + public KW_TABLESAMPLE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TABLESAMPLE, 0); } - public updateAssignment(): UpdateAssignmentContext[]; - public updateAssignment(i: number): UpdateAssignmentContext | null; - public updateAssignment(i?: number): UpdateAssignmentContext[] | UpdateAssignmentContext | null { - if (i === undefined) { - return this.getRuleContexts(UpdateAssignmentContext); - } - - return this.getRuleContext(i, UpdateAssignmentContext); + public sampleType(): SampleTypeContext | null { + return this.getRuleContext(0, SampleTypeContext); } - public KW_WHERE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WHERE, 0); + public expression(): ExpressionContext | null { + return this.getRuleContext(0, ExpressionContext); } - public booleanExpression(): BooleanExpressionContext | null { - return this.getRuleContext(0, BooleanExpressionContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_sampledRelation; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterUpdate) { - listener.enterUpdate(this); + if(listener.enterSampledRelation) { + listener.enterSampledRelation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitUpdate) { - listener.exitUpdate(this); + if(listener.exitSampledRelation) { + listener.exitSampledRelation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitUpdate) { - return visitor.visitUpdate(this); + if (visitor.visitSampledRelation) { + return visitor.visitSampledRelation(this); } else { return visitor.visitChildren(this); } } } -export class TableExecuteContext extends StatementContext { - public _procedureName?: IdentifierContext; - public _where?: BooleanExpressionContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; - } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; - } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; - } - public KW_EXECUTE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_EXECUTE, 0)!; - } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + + +export class SampleTypeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_WHERE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WHERE, 0); + public KW_BERNOULLI(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BERNOULLI, 0); } - public booleanExpression(): BooleanExpressionContext | null { - return this.getRuleContext(0, BooleanExpressionContext); + public KW_SYSTEM(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SYSTEM, 0); } - public callArgument(): CallArgumentContext[]; - public callArgument(i: number): CallArgumentContext | null; - public callArgument(i?: number): CallArgumentContext[] | CallArgumentContext | null { - if (i === undefined) { - return this.getRuleContexts(CallArgumentContext); - } - - return this.getRuleContext(i, CallArgumentContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_sampleType; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTableExecute) { - listener.enterTableExecute(this); + if(listener.enterSampleType) { + listener.enterSampleType(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTableExecute) { - listener.exitTableExecute(this); + if(listener.exitSampleType) { + listener.exitSampleType(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTableExecute) { - return visitor.visitTableExecute(this); + if (visitor.visitSampleType) { + return visitor.visitSampleType(this); } else { return visitor.visitChildren(this); } } } -export class DeleteContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_DELETE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DELETE, 0)!; + + +export class TrimsSpecificationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_FROM(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + public KW_LEADING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LEADING, 0); } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public KW_TRAILING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TRAILING, 0); } - public KW_WHERE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WHERE, 0); + public KW_BOTH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BOTH, 0); } - public booleanExpression(): BooleanExpressionContext | null { - return this.getRuleContext(0, BooleanExpressionContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_trimsSpecification; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDelete) { - listener.enterDelete(this); + if(listener.enterTrimsSpecification) { + listener.enterTrimsSpecification(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDelete) { - listener.exitDelete(this); + if(listener.exitTrimsSpecification) { + listener.exitTrimsSpecification(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDelete) { - return visitor.visitDelete(this); + if (visitor.visitTrimsSpecification) { + return visitor.visitTrimsSpecification(this); } else { return visitor.visitChildren(this); } } } -export class DescribeInputContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class ListAggOverflowBehaviorContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_DESCRIBE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DESCRIBE, 0)!; + public KW_ERROR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ERROR, 0); } - public KW_INPUT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_INPUT, 0)!; + public KW_TRUNCATE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TRUNCATE, 0); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public listaggCountIndication(): ListaggCountIndicationContext | null { + return this.getRuleContext(0, ListaggCountIndicationContext); + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_listAggOverflowBehavior; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDescribeInput) { - listener.enterDescribeInput(this); + if(listener.enterListAggOverflowBehavior) { + listener.enterListAggOverflowBehavior(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDescribeInput) { - listener.exitDescribeInput(this); + if(listener.exitListAggOverflowBehavior) { + listener.exitListAggOverflowBehavior(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDescribeInput) { - return visitor.visitDescribeInput(this); + if (visitor.visitListAggOverflowBehavior) { + return visitor.visitListAggOverflowBehavior(this); } else { return visitor.visitChildren(this); } } } -export class ShowStatsForQueryContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class ListaggCountIndicationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); } - public KW_STATS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_STATS, 0)!; + public KW_COUNT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COUNT, 0)!; } - public KW_FOR(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FOR, 0)!; + public KW_WITHOUT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITHOUT, 0); } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_listaggCountIndication; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowStatsForQuery) { - listener.enterShowStatsForQuery(this); + if(listener.enterListaggCountIndication) { + listener.enterListaggCountIndication(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowStatsForQuery) { - listener.exitShowStatsForQuery(this); + if(listener.exitListaggCountIndication) { + listener.exitListaggCountIndication(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowStatsForQuery) { - return visitor.visitShowStatsForQuery(this); + if (visitor.visitListaggCountIndication) { + return visitor.visitListaggCountIndication(this); } else { return visitor.visitChildren(this); } } } -export class StatementDefaultContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class PatternRecognitionContext extends antlr.ParserRuleContext { + public _expression?: ExpressionContext; + public _partition: ExpressionContext[] = []; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; + public aliasedRelation(): AliasedRelationContext { + return this.getRuleContext(0, AliasedRelationContext)!; } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterStatementDefault) { - listener.enterStatementDefault(this); + public KW_MATCH_RECOGNIZE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_MATCH_RECOGNIZE, 0); + } + public KW_PATTERN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PATTERN, 0); + } + public rowPattern(): RowPatternContext | null { + return this.getRuleContext(0, RowPatternContext); + } + public KW_DEFINE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DEFINE, 0); + } + public variableDefinition(): VariableDefinitionContext[]; + public variableDefinition(i: number): VariableDefinitionContext | null; + public variableDefinition(i?: number): VariableDefinitionContext[] | VariableDefinitionContext | null { + if (i === undefined) { + return this.getRuleContexts(VariableDefinitionContext); + } + + return this.getRuleContext(i, VariableDefinitionContext); + } + public KW_PARTITION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PARTITION, 0); + } + public KW_BY(): antlr.TerminalNode[]; + public KW_BY(i: number): antlr.TerminalNode | null; + public KW_BY(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_BY); + } else { + return this.getToken(TrinoSqlParser.KW_BY, i); + } + } + public KW_ORDER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ORDER, 0); + } + public sortItem(): SortItemContext[]; + public sortItem(i: number): SortItemContext | null; + public sortItem(i?: number): SortItemContext[] | SortItemContext | null { + if (i === undefined) { + return this.getRuleContexts(SortItemContext); } + + return this.getRuleContext(i, SortItemContext); } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitStatementDefault) { - listener.exitStatementDefault(this); - } + public KW_MEASURES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_MEASURES, 0); } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitStatementDefault) { - return visitor.visitStatementDefault(this); - } else { - return visitor.visitChildren(this); + public measureDefinition(): MeasureDefinitionContext[]; + public measureDefinition(i: number): MeasureDefinitionContext | null; + public measureDefinition(i?: number): MeasureDefinitionContext[] | MeasureDefinitionContext | null { + if (i === undefined) { + return this.getRuleContexts(MeasureDefinitionContext); } + + return this.getRuleContext(i, MeasureDefinitionContext); } -} -export class SetTimeZoneContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; + public rowsPerMatch(): RowsPerMatchContext | null { + return this.getRuleContext(0, RowsPerMatchContext); } - public KW_TIME(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TIME, 0)!; + public KW_AFTER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AFTER, 0); } - public KW_ZONE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ZONE, 0)!; + public KW_MATCH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_MATCH, 0); } - public KW_LOCAL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LOCAL, 0); + public skipTo(): SkipToContext | null { + return this.getRuleContext(0, SkipToContext); } - public expression(): ExpressionContext | null { - return this.getRuleContext(0, ExpressionContext); + public KW_SUBSET(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SUBSET, 0); } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetTimeZone) { - listener.enterSetTimeZone(this); + public subsetDefinition(): SubsetDefinitionContext[]; + public subsetDefinition(i: number): SubsetDefinitionContext | null; + public subsetDefinition(i?: number): SubsetDefinitionContext[] | SubsetDefinitionContext | null { + if (i === undefined) { + return this.getRuleContexts(SubsetDefinitionContext); } + + return this.getRuleContext(i, SubsetDefinitionContext); } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetTimeZone) { - listener.exitSetTimeZone(this); - } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetTimeZone) { - return visitor.visitSetTimeZone(this); - } else { - return visitor.visitChildren(this); + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExpressionContext); } + + return this.getRuleContext(i, ExpressionContext); } -} -export class TruncateTableContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_INITIAL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INITIAL, 0); } - public KW_TRUNCATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TRUNCATE, 0)!; + public KW_SEEK(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SEEK, 0); } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public columnAliases(): ColumnAliasesContext | null { + return this.getRuleContext(0, ColumnAliasesContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_patternRecognition; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTruncateTable) { - listener.enterTruncateTable(this); + if(listener.enterPatternRecognition) { + listener.enterPatternRecognition(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTruncateTable) { - listener.exitTruncateTable(this); + if(listener.exitPatternRecognition) { + listener.exitPatternRecognition(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTruncateTable) { - return visitor.visitTruncateTable(this); + if (visitor.visitPatternRecognition) { + return visitor.visitPatternRecognition(this); } else { return visitor.visitChildren(this); } } } -export class CreateMaterializedViewContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_CREATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; - } - public KW_MATERIALIZED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; - } - public KW_VIEW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + + +export class MeasureDefinitionContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public viewNameCreate(): ViewNameCreateContext { - return this.getRuleContext(0, ViewNameCreateContext)!; + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } public KW_AS(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_AS, 0)!; } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; - } - public KW_OR(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_OR, 0); - } - public KW_REPLACE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_REPLACE, 0); - } - public KW_IF(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IF, 0); - } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); - } - public KW_EXISTS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0); - } - public KW_COMMENT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_COMMENT, 0); - } - public string(): StringContext | null { - return this.getRuleContext(0, StringContext); - } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public properties(): PropertiesContext | null { - return this.getRuleContext(0, PropertiesContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_measureDefinition; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCreateMaterializedView) { - listener.enterCreateMaterializedView(this); + if(listener.enterMeasureDefinition) { + listener.enterMeasureDefinition(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCreateMaterializedView) { - listener.exitCreateMaterializedView(this); + if(listener.exitMeasureDefinition) { + listener.exitMeasureDefinition(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCreateMaterializedView) { - return visitor.visitCreateMaterializedView(this); + if (visitor.visitMeasureDefinition) { + return visitor.visitMeasureDefinition(this); } else { return visitor.visitChildren(this); } } } -export class SetSessionContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class RowsPerMatchContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; + public KW_ONE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ONE, 0); } - public KW_SESSION(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SESSION, 0)!; + public KW_ROW(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ROW, 0); } - public qualifiedName(): QualifiedNameContext { - return this.getRuleContext(0, QualifiedNameContext)!; + public KW_PER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_PER, 0)!; } - public EQ(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.EQ, 0)!; + public KW_MATCH(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MATCH, 0)!; } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; + public KW_ALL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ALL, 0); + } + public KW_ROWS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ROWS, 0); + } + public emptyMatchHandling(): EmptyMatchHandlingContext | null { + return this.getRuleContext(0, EmptyMatchHandlingContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_rowsPerMatch; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetSession) { - listener.enterSetSession(this); + if(listener.enterRowsPerMatch) { + listener.enterRowsPerMatch(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetSession) { - listener.exitSetSession(this); + if(listener.exitRowsPerMatch) { + listener.exitRowsPerMatch(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetSession) { - return visitor.visitSetSession(this); + if (visitor.visitRowsPerMatch) { + return visitor.visitRowsPerMatch(this); } else { return visitor.visitChildren(this); } } } -export class CreateViewContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_CREATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; - } - public KW_VIEW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; - } - public viewNameCreate(): ViewNameCreateContext { - return this.getRuleContext(0, ViewNameCreateContext)!; - } - public KW_AS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AS, 0)!; + + +export class EmptyMatchHandlingContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; + public KW_SHOW(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SHOW, 0); } - public KW_OR(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_OR, 0); + public KW_EMPTY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EMPTY, 0); } - public KW_REPLACE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_REPLACE, 0); + public KW_MATCHES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_MATCHES, 0); } - public KW_COMMENT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_COMMENT, 0); + public KW_OMIT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OMIT, 0); } - public string(): StringContext | null { - return this.getRuleContext(0, StringContext); + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); } - public KW_SECURITY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SECURITY, 0); + public KW_UNMATCHED(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNMATCHED, 0); } - public KW_DEFINER(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DEFINER, 0); + public KW_ROWS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ROWS, 0); } - public KW_INVOKER(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_INVOKER, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_emptyMatchHandling; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCreateView) { - listener.enterCreateView(this); + if(listener.enterEmptyMatchHandling) { + listener.enterEmptyMatchHandling(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCreateView) { - listener.exitCreateView(this); + if(listener.exitEmptyMatchHandling) { + listener.exitEmptyMatchHandling(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCreateView) { - return visitor.visitCreateView(this); + if (visitor.visitEmptyMatchHandling) { + return visitor.visitEmptyMatchHandling(this); } else { return visitor.visitChildren(this); } } } -export class RenameMaterializedViewContext extends StatementContext { - public _from_?: ViewNameContext; - public _to?: ViewNameCreateContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + + +export class SkipToContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_MATERIALIZED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; + public KW_TO(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TO, 0); } - public KW_VIEW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + public KW_NEXT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NEXT, 0); } - public KW_RENAME(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_RENAME, 0)!; + public KW_ROW(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ROW, 0); } - public KW_TO(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TO, 0)!; + public KW_PAST(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PAST, 0); } - public viewName(): ViewNameContext { - return this.getRuleContext(0, ViewNameContext)!; + public KW_LAST(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LAST, 0); } - public viewNameCreate(): ViewNameCreateContext { - return this.getRuleContext(0, ViewNameCreateContext)!; + public KW_FIRST(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FIRST, 0); } - public KW_IF(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IF, 0); + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } - public KW_EXISTS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_skipTo; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRenameMaterializedView) { - listener.enterRenameMaterializedView(this); + if(listener.enterSkipTo) { + listener.enterSkipTo(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRenameMaterializedView) { - listener.exitRenameMaterializedView(this); + if(listener.exitSkipTo) { + listener.exitSkipTo(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRenameMaterializedView) { - return visitor.visitRenameMaterializedView(this); + if (visitor.visitSkipTo) { + return visitor.visitSkipTo(this); } else { return visitor.visitChildren(this); } } } -export class ShowSchemasContext extends StatementContext { - public _pattern?: StringContext; - public _escape?: StringContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; - } - public KW_SCHEMAS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SCHEMAS, 0)!; - } - public catalogName(): CatalogNameContext | null { - return this.getRuleContext(0, CatalogNameContext); - } - public KW_LIKE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LIKE, 0); - } - public KW_FROM(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FROM, 0); + + +export class SubsetDefinitionContext extends antlr.ParserRuleContext { + public _name?: IdentifierContext; + public _identifier?: IdentifierContext; + public _union: IdentifierContext[] = []; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_IN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IN, 0); + public EQ(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.EQ, 0)!; } - public string_(): StringContext[]; - public string_(i: number): StringContext | null; - public string_(i?: number): StringContext[] | StringContext | null { + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { if (i === undefined) { - return this.getRuleContexts(StringContext); + return this.getRuleContexts(IdentifierContext); } - return this.getRuleContext(i, StringContext); + return this.getRuleContext(i, IdentifierContext); } - public KW_ESCAPE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_subsetDefinition; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowSchemas) { - listener.enterShowSchemas(this); + if(listener.enterSubsetDefinition) { + listener.enterSubsetDefinition(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowSchemas) { - listener.exitShowSchemas(this); + if(listener.exitSubsetDefinition) { + listener.exitSubsetDefinition(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowSchemas) { - return visitor.visitShowSchemas(this); + if (visitor.visitSubsetDefinition) { + return visitor.visitSubsetDefinition(this); } else { return visitor.visitChildren(this); } } } -export class DropTableContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_DROP(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DROP, 0)!; + + +export class VariableDefinitionContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public KW_AS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AS, 0)!; } - public KW_IF(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IF, 0); + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } - public KW_EXISTS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_variableDefinition; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDropTable) { - listener.enterDropTable(this); + if(listener.enterVariableDefinition) { + listener.enterVariableDefinition(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDropTable) { - listener.exitDropTable(this); + if(listener.exitVariableDefinition) { + listener.exitVariableDefinition(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDropTable) { - return visitor.visitDropTable(this); + if (visitor.visitVariableDefinition) { + return visitor.visitVariableDefinition(this); } else { return visitor.visitChildren(this); } } } -export class SetSchemaAuthorizationContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + + +export class AliasedRelationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_SCHEMA(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SCHEMA, 0)!; + public relationPrimary(): RelationPrimaryContext { + return this.getRuleContext(0, RelationPrimaryContext)!; } - public schemaName(): SchemaNameContext { - return this.getRuleContext(0, SchemaNameContext)!; + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); } - public KW_AUTHORIZATION(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0)!; + public columnAliases(): ColumnAliasesContext | null { + return this.getRuleContext(0, ColumnAliasesContext); } - public principal(): PrincipalContext { - return this.getRuleContext(0, PrincipalContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_aliasedRelation; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetSchemaAuthorization) { - listener.enterSetSchemaAuthorization(this); + if(listener.enterAliasedRelation) { + listener.enterAliasedRelation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetSchemaAuthorization) { - listener.exitSetSchemaAuthorization(this); + if(listener.exitAliasedRelation) { + listener.exitAliasedRelation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetSchemaAuthorization) { - return visitor.visitSetSchemaAuthorization(this); + if (visitor.visitAliasedRelation) { + return visitor.visitAliasedRelation(this); } else { return visitor.visitChildren(this); } } } -export class RollbackContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class ColumnListCreateContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_ROLLBACK(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ROLLBACK, 0)!; + public columnNameCreate(): ColumnNameCreateContext[]; + public columnNameCreate(i: number): ColumnNameCreateContext | null; + public columnNameCreate(i?: number): ColumnNameCreateContext[] | ColumnNameCreateContext | null { + if (i === undefined) { + return this.getRuleContexts(ColumnNameCreateContext); + } + + return this.getRuleContext(i, ColumnNameCreateContext); } - public KW_WORK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WORK, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_columnListCreate; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRollback) { - listener.enterRollback(this); + if(listener.enterColumnListCreate) { + listener.enterColumnListCreate(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRollback) { - listener.exitRollback(this); + if(listener.exitColumnListCreate) { + listener.exitColumnListCreate(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRollback) { - return visitor.visitRollback(this); + if (visitor.visitColumnListCreate) { + return visitor.visitColumnListCreate(this); } else { return visitor.visitChildren(this); } } } -export class CommentTableContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_COMMENT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COMMENT, 0)!; - } - public KW_ON(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ON, 0)!; - } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; - } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; - } - public KW_IS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_IS, 0)!; + + +export class ColumnListContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public string(): StringContext | null { - return this.getRuleContext(0, StringContext); + public columnRef(): ColumnRefContext[]; + public columnRef(i: number): ColumnRefContext | null; + public columnRef(i?: number): ColumnRefContext[] | ColumnRefContext | null { + if (i === undefined) { + return this.getRuleContexts(ColumnRefContext); + } + + return this.getRuleContext(i, ColumnRefContext); } - public KW_NULL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NULL, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_columnList; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCommentTable) { - listener.enterCommentTable(this); + if(listener.enterColumnList) { + listener.enterColumnList(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCommentTable) { - listener.exitCommentTable(this); + if(listener.exitColumnList) { + listener.exitColumnList(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCommentTable) { - return visitor.visitCommentTable(this); + if (visitor.visitColumnList) { + return visitor.visitColumnList(this); } else { return visitor.visitChildren(this); } } } -export class RenameViewContext extends StatementContext { - public _from_?: ViewNameContext; - public _to?: ViewNameCreateContext; - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; - } - public KW_VIEW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; - } - public KW_RENAME(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_RENAME, 0)!; - } - public KW_TO(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TO, 0)!; + + +export class ColumnAliasesContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public viewName(): ViewNameContext { - return this.getRuleContext(0, ViewNameContext)!; + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); } - public viewNameCreate(): ViewNameCreateContext { - return this.getRuleContext(0, ViewNameCreateContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_columnAliases; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRenameView) { - listener.enterRenameView(this); + if(listener.enterColumnAliases) { + listener.enterColumnAliases(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRenameView) { - listener.exitRenameView(this); + if(listener.exitColumnAliases) { + listener.exitColumnAliases(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRenameView) { - return visitor.visitRenameView(this); + if (visitor.visitColumnAliases) { + return visitor.visitColumnAliases(this); } else { return visitor.visitChildren(this); } } } -export class SetPathContext extends StatementContext { - public constructor(ctx: StatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class RelationPrimaryContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_relationPrimary; } - public KW_PATH(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_PATH, 0)!; + public override copyFrom(ctx: RelationPrimaryContext): void { + super.copyFrom(ctx); } - public pathSpecification(): PathSpecificationContext { - return this.getRuleContext(0, PathSpecificationContext)!; +} +export class SubqueryRelationContext extends RelationPrimaryContext { + public constructor(ctx: RelationPrimaryContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public query(): QueryContext { + return this.getRuleContext(0, QueryContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetPath) { - listener.enterSetPath(this); + if(listener.enterSubqueryRelation) { + listener.enterSubqueryRelation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetPath) { - listener.exitSetPath(this); + if(listener.exitSubqueryRelation) { + listener.exitSubqueryRelation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetPath) { - return visitor.visitSetPath(this); + if (visitor.visitSubqueryRelation) { + return visitor.visitSubqueryRelation(this); } else { return visitor.visitChildren(this); } } } -export class GrantRolesContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class JsonTableContext extends RelationPrimaryContext { + public constructor(ctx: RelationPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_GRANT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_GRANT, 0)!; + public KW_JSON_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_JSON_TABLE, 0)!; } - public roles(): RolesContext { - return this.getRuleContext(0, RolesContext)!; + public jsonPathInvocation(): JsonPathInvocationContext { + return this.getRuleContext(0, JsonPathInvocationContext)!; } - public KW_TO(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TO, 0)!; + public KW_COLUMNS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COLUMNS, 0)!; } - public principal(): PrincipalContext[]; - public principal(i: number): PrincipalContext | null; - public principal(i?: number): PrincipalContext[] | PrincipalContext | null { + public jsonTableColumn(): JsonTableColumnContext[]; + public jsonTableColumn(i: number): JsonTableColumnContext | null; + public jsonTableColumn(i?: number): JsonTableColumnContext[] | JsonTableColumnContext | null { if (i === undefined) { - return this.getRuleContexts(PrincipalContext); + return this.getRuleContexts(JsonTableColumnContext); } - return this.getRuleContext(i, PrincipalContext); - } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); + return this.getRuleContext(i, JsonTableColumnContext); } - public KW_ADMIN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ADMIN, 0); + public KW_PLAN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PLAN, 0); } - public KW_OPTION(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_OPTION, 0); + public jsonTableSpecificPlan(): JsonTableSpecificPlanContext | null { + return this.getRuleContext(0, JsonTableSpecificPlanContext); } - public KW_GRANTED(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_GRANTED, 0); + public KW_DEFAULT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DEFAULT, 0); } - public KW_BY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_BY, 0); + public jsonTableDefaultPlan(): JsonTableDefaultPlanContext | null { + return this.getRuleContext(0, JsonTableDefaultPlanContext); } - public grantor(): GrantorContext | null { - return this.getRuleContext(0, GrantorContext); + public KW_ON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ON, 0); } - public KW_IN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IN, 0); + public KW_ERROR(): antlr.TerminalNode[]; + public KW_ERROR(i: number): antlr.TerminalNode | null; + public KW_ERROR(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ERROR); + } else { + return this.getToken(TrinoSqlParser.KW_ERROR, i); + } } - public catalogName(): CatalogNameContext | null { - return this.getRuleContext(0, CatalogNameContext); + public KW_EMPTY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EMPTY, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterGrantRoles) { - listener.enterGrantRoles(this); + if(listener.enterJsonTable) { + listener.enterJsonTable(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitGrantRoles) { - listener.exitGrantRoles(this); + if(listener.exitJsonTable) { + listener.exitJsonTable(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitGrantRoles) { - return visitor.visitGrantRoles(this); + if (visitor.visitJsonTable) { + return visitor.visitJsonTable(this); } else { return visitor.visitChildren(this); } } } -export class CallContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class ParenthesizedRelationContext extends RelationPrimaryContext { + public constructor(ctx: RelationPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_CALL(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CALL, 0)!; - } - public functionName(): FunctionNameContext { - return this.getRuleContext(0, FunctionNameContext)!; - } - public callArgument(): CallArgumentContext[]; - public callArgument(i: number): CallArgumentContext | null; - public callArgument(i?: number): CallArgumentContext[] | CallArgumentContext | null { - if (i === undefined) { - return this.getRuleContexts(CallArgumentContext); - } - - return this.getRuleContext(i, CallArgumentContext); + public relation(): RelationContext { + return this.getRuleContext(0, RelationContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCall) { - listener.enterCall(this); + if(listener.enterParenthesizedRelation) { + listener.enterParenthesizedRelation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCall) { - listener.exitCall(this); + if(listener.exitParenthesizedRelation) { + listener.exitParenthesizedRelation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCall) { - return visitor.visitCall(this); + if (visitor.visitParenthesizedRelation) { + return visitor.visitParenthesizedRelation(this); } else { return visitor.visitChildren(this); } } } -export class RefreshMaterializedViewContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class UnnestContext extends RelationPrimaryContext { + public constructor(ctx: RelationPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_REFRESH(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_REFRESH, 0)!; + public KW_UNNEST(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_UNNEST, 0)!; } - public KW_MATERIALIZED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExpressionContext); + } + + return this.getRuleContext(i, ExpressionContext); } - public KW_VIEW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); } - public viewName(): ViewNameContext { - return this.getRuleContext(0, ViewNameContext)!; + public KW_ORDINALITY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ORDINALITY, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRefreshMaterializedView) { - listener.enterRefreshMaterializedView(this); + if(listener.enterUnnest) { + listener.enterUnnest(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRefreshMaterializedView) { - listener.exitRefreshMaterializedView(this); + if(listener.exitUnnest) { + listener.exitUnnest(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRefreshMaterializedView) { - return visitor.visitRefreshMaterializedView(this); + if (visitor.visitUnnest) { + return visitor.visitUnnest(this); } else { return visitor.visitChildren(this); } } } -export class ShowCreateMaterializedViewContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class TableFunctionInvocationContext extends RelationPrimaryContext { + public constructor(ctx: RelationPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; - } - public KW_CREATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CREATE, 0)!; - } - public KW_MATERIALIZED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MATERIALIZED, 0)!; - } - public KW_VIEW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VIEW, 0)!; + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; } - public viewName(): ViewNameContext { - return this.getRuleContext(0, ViewNameContext)!; + public tableFunctionCall(): TableFunctionCallContext { + return this.getRuleContext(0, TableFunctionCallContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowCreateMaterializedView) { - listener.enterShowCreateMaterializedView(this); + if(listener.enterTableFunctionInvocation) { + listener.enterTableFunctionInvocation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowCreateMaterializedView) { - listener.exitShowCreateMaterializedView(this); + if(listener.exitTableFunctionInvocation) { + listener.exitTableFunctionInvocation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowCreateMaterializedView) { - return visitor.visitShowCreateMaterializedView(this); + if (visitor.visitTableFunctionInvocation) { + return visitor.visitTableFunctionInvocation(this); } else { return visitor.visitChildren(this); } } } -export class ShowFunctionsContext extends StatementContext { - public _pattern?: StringContext; - public _escape?: StringContext; - public constructor(ctx: StatementContext) { +export class LateralContext extends RelationPrimaryContext { + public constructor(ctx: RelationPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_SHOW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SHOW, 0)!; - } - public KW_FUNCTIONS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FUNCTIONS, 0)!; - } - public KW_LIKE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LIKE, 0); - } - public string_(): StringContext[]; - public string_(i: number): StringContext | null; - public string_(i?: number): StringContext[] | StringContext | null { - if (i === undefined) { - return this.getRuleContexts(StringContext); - } - - return this.getRuleContext(i, StringContext); + public KW_LATERAL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_LATERAL, 0)!; } - public KW_ESCAPE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + public query(): QueryContext { + return this.getRuleContext(0, QueryContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterShowFunctions) { - listener.enterShowFunctions(this); + if(listener.enterLateral) { + listener.enterLateral(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitShowFunctions) { - listener.exitShowFunctions(this); + if(listener.exitLateral) { + listener.exitLateral(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitShowFunctions) { - return visitor.visitShowFunctions(this); + if (visitor.visitLateral) { + return visitor.visitLateral(this); } else { return visitor.visitChildren(this); } } } -export class DescribeOutputContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class TableNameContext extends RelationPrimaryContext { + public constructor(ctx: RelationPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_DESCRIBE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DESCRIBE, 0)!; - } - public KW_OUTPUT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_OUTPUT, 0)!; + public tableOrViewName(): TableOrViewNameContext { + return this.getRuleContext(0, TableOrViewNameContext)!; } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public queryPeriod(): QueryPeriodContext | null { + return this.getRuleContext(0, QueryPeriodContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDescribeOutput) { - listener.enterDescribeOutput(this); + if(listener.enterTableName) { + listener.enterTableName(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDescribeOutput) { - listener.exitDescribeOutput(this); + if(listener.exitTableName) { + listener.exitTableName(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDescribeOutput) { - return visitor.visitDescribeOutput(this); + if (visitor.visitTableName) { + return visitor.visitTableName(this); } else { return visitor.visitChildren(this); } } } -export class GrantContext extends StatementContext { - public _grantee?: PrincipalContext; - public constructor(ctx: StatementContext) { + + +export class JsonTableColumnContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonTableColumn; + } + public override copyFrom(ctx: JsonTableColumnContext): void { + super.copyFrom(ctx); + } +} +export class QueryColumnContext extends JsonTableColumnContext { + public _emptyBehavior?: JsonQueryBehaviorContext; + public _errorBehavior?: JsonQueryBehaviorContext; + public constructor(ctx: JsonTableColumnContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_GRANT(): antlr.TerminalNode[]; - public KW_GRANT(i: number): antlr.TerminalNode | null; - public KW_GRANT(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_GRANT); - } else { - return this.getToken(TrinoSqlParser.KW_GRANT, i); - } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public KW_ON(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ON, 0)!; + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; } - public KW_TO(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TO, 0)!; + public KW_FORMAT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FORMAT, 0)!; } - public principal(): PrincipalContext { - return this.getRuleContext(0, PrincipalContext)!; + public jsonRepresentation(): JsonRepresentationContext { + return this.getRuleContext(0, JsonRepresentationContext)!; } - public privilege(): PrivilegeContext[]; - public privilege(i: number): PrivilegeContext | null; - public privilege(i?: number): PrivilegeContext[] | PrivilegeContext | null { - if (i === undefined) { - return this.getRuleContexts(PrivilegeContext); - } - - return this.getRuleContext(i, PrivilegeContext); + public KW_PATH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PATH, 0); } - public KW_ALL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ALL, 0); + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); } - public KW_PRIVILEGES(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PRIVILEGES, 0); + public jsonQueryWrapperBehavior(): JsonQueryWrapperBehaviorContext | null { + return this.getRuleContext(0, JsonQueryWrapperBehaviorContext); } - public schemaName(): SchemaNameContext | null { - return this.getRuleContext(0, SchemaNameContext); + public KW_WRAPPER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WRAPPER, 0); } - public tableName(): TableNameContext | null { - return this.getRuleContext(0, TableNameContext); + public KW_QUOTES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_QUOTES, 0); } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); + public KW_ON(): antlr.TerminalNode[]; + public KW_ON(i: number): antlr.TerminalNode | null; + public KW_ON(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ON); + } else { + return this.getToken(TrinoSqlParser.KW_ON, i); + } } - public KW_OPTION(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_OPTION, 0); + public KW_EMPTY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EMPTY, 0); } - public KW_SCHEMA(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SCHEMA, 0); + public KW_ERROR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ERROR, 0); } - public KW_TABLE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TABLE, 0); + public KW_KEEP(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_KEEP, 0); + } + public KW_OMIT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OMIT, 0); + } + public jsonQueryBehavior(): JsonQueryBehaviorContext[]; + public jsonQueryBehavior(i: number): JsonQueryBehaviorContext | null; + public jsonQueryBehavior(i?: number): JsonQueryBehaviorContext[] | JsonQueryBehaviorContext | null { + if (i === undefined) { + return this.getRuleContexts(JsonQueryBehaviorContext); + } + + return this.getRuleContext(i, JsonQueryBehaviorContext); + } + public KW_SCALAR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SCALAR, 0); + } + public KW_TEXT_STRING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TEXT_STRING, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterGrant) { - listener.enterGrant(this); + if(listener.enterQueryColumn) { + listener.enterQueryColumn(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitGrant) { - listener.exitGrant(this); + if(listener.exitQueryColumn) { + listener.exitQueryColumn(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitGrant) { - return visitor.visitGrant(this); + if (visitor.visitQueryColumn) { + return visitor.visitQueryColumn(this); } else { return visitor.visitChildren(this); } } } -export class SetTablePropertiesContext extends StatementContext { - public constructor(ctx: StatementContext) { +export class NestedColumnsContext extends JsonTableColumnContext { + public constructor(ctx: JsonTableColumnContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_ALTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ALTER, 0)!; + public KW_NESTED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_NESTED, 0)!; } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + public string(): StringContext { + return this.getRuleContext(0, StringContext)!; } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public KW_COLUMNS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COLUMNS, 0)!; } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; + public jsonTableColumn(): JsonTableColumnContext[]; + public jsonTableColumn(i: number): JsonTableColumnContext | null; + public jsonTableColumn(i?: number): JsonTableColumnContext[] | JsonTableColumnContext | null { + if (i === undefined) { + return this.getRuleContexts(JsonTableColumnContext); + } + + return this.getRuleContext(i, JsonTableColumnContext); } - public KW_PROPERTIES(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_PROPERTIES, 0)!; + public KW_PATH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PATH, 0); } - public propertyAssignments(): PropertyAssignmentsContext { - return this.getRuleContext(0, PropertyAssignmentsContext)!; + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetTableProperties) { - listener.enterSetTableProperties(this); + if(listener.enterNestedColumns) { + listener.enterNestedColumns(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetTableProperties) { - listener.exitSetTableProperties(this); + if(listener.exitNestedColumns) { + listener.exitNestedColumns(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetTableProperties) { - return visitor.visitSetTableProperties(this); + if (visitor.visitNestedColumns) { + return visitor.visitNestedColumns(this); } else { return visitor.visitChildren(this); } } } - - -export class QueryContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_query; - } - public override copyFrom(ctx: QueryContext): void { - super.copyFrom(ctx); - } -} -export class QueryStatementContext extends QueryContext { - public constructor(ctx: QueryContext) { +export class ValueColumnContext extends JsonTableColumnContext { + public _emptyBehavior?: JsonValueBehaviorContext; + public _errorBehavior?: JsonValueBehaviorContext; + public constructor(ctx: JsonTableColumnContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public queryNoWith(): QueryNoWithContext { - return this.getRuleContext(0, QueryNoWithContext)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public with(): WithContext | null { - return this.getRuleContext(0, WithContext); + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterQueryStatement) { - listener.enterQueryStatement(this); - } + public KW_PATH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PATH, 0); } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitQueryStatement) { - listener.exitQueryStatement(this); - } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitQueryStatement) { - return visitor.visitQueryStatement(this); - } else { - return visitor.visitChildren(this); - } + public KW_ON(): antlr.TerminalNode[]; + public KW_ON(i: number): antlr.TerminalNode | null; + public KW_ON(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ON); + } else { + return this.getToken(TrinoSqlParser.KW_ON, i); + } } -} - - -export class WithContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + public KW_EMPTY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EMPTY, 0); } - public KW_WITH(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_WITH, 0)!; + public KW_ERROR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ERROR, 0); } - public namedQuery(): NamedQueryContext[]; - public namedQuery(i: number): NamedQueryContext | null; - public namedQuery(i?: number): NamedQueryContext[] | NamedQueryContext | null { + public jsonValueBehavior(): JsonValueBehaviorContext[]; + public jsonValueBehavior(i: number): JsonValueBehaviorContext | null; + public jsonValueBehavior(i?: number): JsonValueBehaviorContext[] | JsonValueBehaviorContext | null { if (i === undefined) { - return this.getRuleContexts(NamedQueryContext); + return this.getRuleContexts(JsonValueBehaviorContext); } - return this.getRuleContext(i, NamedQueryContext); - } - public KW_RECURSIVE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_RECURSIVE, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_with; + return this.getRuleContext(i, JsonValueBehaviorContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterWith) { - listener.enterWith(this); + if(listener.enterValueColumn) { + listener.enterValueColumn(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitWith) { - listener.exitWith(this); + if(listener.exitValueColumn) { + listener.exitValueColumn(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitWith) { - return visitor.visitWith(this); + if (visitor.visitValueColumn) { + return visitor.visitValueColumn(this); } else { return visitor.visitChildren(this); } } } - - -export class TableElementContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public columnDefinition(): ColumnDefinitionContext | null { - return this.getRuleContext(0, ColumnDefinitionContext); +export class OrdinalityColumnContext extends JsonTableColumnContext { + public constructor(ctx: JsonTableColumnContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public likeClause(): LikeClauseContext | null { - return this.getRuleContext(0, LikeClauseContext); + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_tableElement; + public KW_FOR(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FOR, 0)!; + } + public KW_ORDINALITY(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ORDINALITY, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTableElement) { - listener.enterTableElement(this); + if(listener.enterOrdinalityColumn) { + listener.enterOrdinalityColumn(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTableElement) { - listener.exitTableElement(this); + if(listener.exitOrdinalityColumn) { + listener.exitOrdinalityColumn(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTableElement) { - return visitor.visitTableElement(this); + if (visitor.visitOrdinalityColumn) { + return visitor.visitOrdinalityColumn(this); } else { return visitor.visitChildren(this); } @@ -16538,159 +25093,155 @@ export class TableElementContext extends antlr.ParserRuleContext { } -export class ColumnDefinitionContext extends antlr.ParserRuleContext { +export class JsonTableSpecificPlanContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public columnNameCreate(): ColumnNameCreateContext { - return this.getRuleContext(0, ColumnNameCreateContext)!; - } - public type(): TypeContext { - return this.getRuleContext(0, TypeContext)!; - } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); - } - public KW_NULL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NULL, 0); - } - public KW_COMMENT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_COMMENT, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonTableSpecificPlan; } - public string(): StringContext | null { - return this.getRuleContext(0, StringContext); + public override copyFrom(ctx: JsonTableSpecificPlanContext): void { + super.copyFrom(ctx); } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); +} +export class CrossPlanContext extends JsonTableSpecificPlanContext { + public constructor(ctx: JsonTableSpecificPlanContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public properties(): PropertiesContext | null { - return this.getRuleContext(0, PropertiesContext); + public planPrimary(): PlanPrimaryContext[]; + public planPrimary(i: number): PlanPrimaryContext | null; + public planPrimary(i?: number): PlanPrimaryContext[] | PlanPrimaryContext | null { + if (i === undefined) { + return this.getRuleContexts(PlanPrimaryContext); + } + + return this.getRuleContext(i, PlanPrimaryContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_columnDefinition; + public KW_CROSS(): antlr.TerminalNode[]; + public KW_CROSS(i: number): antlr.TerminalNode | null; + public KW_CROSS(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_CROSS); + } else { + return this.getToken(TrinoSqlParser.KW_CROSS, i); + } } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterColumnDefinition) { - listener.enterColumnDefinition(this); + if(listener.enterCrossPlan) { + listener.enterCrossPlan(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitColumnDefinition) { - listener.exitColumnDefinition(this); + if(listener.exitCrossPlan) { + listener.exitCrossPlan(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitColumnDefinition) { - return visitor.visitColumnDefinition(this); + if (visitor.visitCrossPlan) { + return visitor.visitCrossPlan(this); } else { return visitor.visitChildren(this); } } } - - -export class LikeClauseContext extends antlr.ParserRuleContext { - public _optionType?: Token | null; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_LIKE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_LIKE, 0)!; - } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; +export class JoinPlanContext extends JsonTableSpecificPlanContext { + public constructor(ctx: JsonTableSpecificPlanContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_PROPERTIES(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PROPERTIES, 0); + public jsonTablePathName(): JsonTablePathNameContext { + return this.getRuleContext(0, JsonTablePathNameContext)!; } - public KW_INCLUDING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_INCLUDING, 0); + public planPrimary(): PlanPrimaryContext { + return this.getRuleContext(0, PlanPrimaryContext)!; } - public KW_EXCLUDING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXCLUDING, 0); + public KW_OUTER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OUTER, 0); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_likeClause; + public KW_INNER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INNER, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLikeClause) { - listener.enterLikeClause(this); + if(listener.enterJoinPlan) { + listener.enterJoinPlan(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLikeClause) { - listener.exitLikeClause(this); + if(listener.exitJoinPlan) { + listener.exitJoinPlan(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLikeClause) { - return visitor.visitLikeClause(this); + if (visitor.visitJoinPlan) { + return visitor.visitJoinPlan(this); } else { return visitor.visitChildren(this); } } } - - -export class PropertiesContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public propertyAssignments(): PropertyAssignmentsContext { - return this.getRuleContext(0, PropertyAssignmentsContext)!; +export class LeafPlanContext extends JsonTableSpecificPlanContext { + public constructor(ctx: JsonTableSpecificPlanContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_properties; + public jsonTablePathName(): JsonTablePathNameContext { + return this.getRuleContext(0, JsonTablePathNameContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterProperties) { - listener.enterProperties(this); + if(listener.enterLeafPlan) { + listener.enterLeafPlan(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitProperties) { - listener.exitProperties(this); + if(listener.exitLeafPlan) { + listener.exitLeafPlan(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitProperties) { - return visitor.visitProperties(this); + if (visitor.visitLeafPlan) { + return visitor.visitLeafPlan(this); } else { return visitor.visitChildren(this); } } } - - -export class PropertyAssignmentsContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class UnionPlanContext extends JsonTableSpecificPlanContext { + public constructor(ctx: JsonTableSpecificPlanContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public property(): PropertyContext[]; - public property(i: number): PropertyContext | null; - public property(i?: number): PropertyContext[] | PropertyContext | null { + public planPrimary(): PlanPrimaryContext[]; + public planPrimary(i: number): PlanPrimaryContext | null; + public planPrimary(i?: number): PlanPrimaryContext[] | PlanPrimaryContext | null { if (i === undefined) { - return this.getRuleContexts(PropertyContext); + return this.getRuleContexts(PlanPrimaryContext); } - return this.getRuleContext(i, PropertyContext); + return this.getRuleContext(i, PlanPrimaryContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_propertyAssignments; + public KW_UNION(): antlr.TerminalNode[]; + public KW_UNION(i: number): antlr.TerminalNode | null; + public KW_UNION(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_UNION); + } else { + return this.getToken(TrinoSqlParser.KW_UNION, i); + } } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPropertyAssignments) { - listener.enterPropertyAssignments(this); + if(listener.enterUnionPlan) { + listener.enterUnionPlan(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPropertyAssignments) { - listener.exitPropertyAssignments(this); + if(listener.exitUnionPlan) { + listener.exitUnionPlan(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPropertyAssignments) { - return visitor.visitPropertyAssignments(this); + if (visitor.visitUnionPlan) { + return visitor.visitUnionPlan(this); } else { return visitor.visitChildren(this); } @@ -16698,35 +25249,29 @@ export class PropertyAssignmentsContext extends antlr.ParserRuleContext { } -export class PropertyContext extends antlr.ParserRuleContext { +export class JsonTablePathNameContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } public identifier(): IdentifierContext { return this.getRuleContext(0, IdentifierContext)!; } - public EQ(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.EQ, 0)!; - } - public propertyValue(): PropertyValueContext { - return this.getRuleContext(0, PropertyValueContext)!; - } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_property; + return TrinoSqlParser.RULE_jsonTablePathName; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterProperty) { - listener.enterProperty(this); + if(listener.enterJsonTablePathName) { + listener.enterJsonTablePathName(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitProperty) { - listener.exitProperty(this); + if(listener.exitJsonTablePathName) { + listener.exitJsonTablePathName(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitProperty) { - return visitor.visitProperty(this); + if (visitor.visitJsonTablePathName) { + return visitor.visitJsonTablePathName(this); } else { return visitor.visitChildren(this); } @@ -16734,64 +25279,71 @@ export class PropertyContext extends antlr.ParserRuleContext { } -export class PropertyValueContext extends antlr.ParserRuleContext { +export class PlanPrimaryContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_propertyValue; - } - public override copyFrom(ctx: PropertyValueContext): void { - super.copyFrom(ctx); + public jsonTablePathName(): JsonTablePathNameContext | null { + return this.getRuleContext(0, JsonTablePathNameContext); } -} -export class DefaultPropertyValueContext extends PropertyValueContext { - public constructor(ctx: PropertyValueContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public jsonTableSpecificPlan(): JsonTableSpecificPlanContext | null { + return this.getRuleContext(0, JsonTableSpecificPlanContext); } - public KW_DEFAULT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DEFAULT, 0)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_planPrimary; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDefaultPropertyValue) { - listener.enterDefaultPropertyValue(this); + if(listener.enterPlanPrimary) { + listener.enterPlanPrimary(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDefaultPropertyValue) { - listener.exitDefaultPropertyValue(this); + if(listener.exitPlanPrimary) { + listener.exitPlanPrimary(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDefaultPropertyValue) { - return visitor.visitDefaultPropertyValue(this); + if (visitor.visitPlanPrimary) { + return visitor.visitPlanPrimary(this); } else { return visitor.visitChildren(this); } } } -export class NonDefaultPropertyValueContext extends PropertyValueContext { - public constructor(ctx: PropertyValueContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class JsonTableDefaultPlanContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; + public KW_OUTER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OUTER, 0); + } + public KW_INNER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INNER, 0); + } + public KW_UNION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNION, 0); + } + public KW_CROSS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CROSS, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonTableDefaultPlan; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNonDefaultPropertyValue) { - listener.enterNonDefaultPropertyValue(this); + if(listener.enterJsonTableDefaultPlan) { + listener.enterJsonTableDefaultPlan(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNonDefaultPropertyValue) { - listener.exitNonDefaultPropertyValue(this); + if(listener.exitJsonTableDefaultPlan) { + listener.exitJsonTableDefaultPlan(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNonDefaultPropertyValue) { - return visitor.visitNonDefaultPropertyValue(this); + if (visitor.visitJsonTableDefaultPlan) { + return visitor.visitJsonTableDefaultPlan(this); } else { return visitor.visitChildren(this); } @@ -16799,101 +25351,50 @@ export class NonDefaultPropertyValueContext extends PropertyValueContext { } -export class QueryNoWithContext extends antlr.ParserRuleContext { - public _offset?: RowCountContext; - public _limit?: LimitRowCountContext; - public _fetchFirst?: RowCountContext; +export class TableFunctionCallContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public queryTerm(): QueryTermContext { - return this.getRuleContext(0, QueryTermContext)!; - } - public KW_ORDER(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ORDER, 0); - } - public KW_BY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_BY, 0); - } - public sortItem(): SortItemContext[]; - public sortItem(i: number): SortItemContext | null; - public sortItem(i?: number): SortItemContext[] | SortItemContext | null { - if (i === undefined) { - return this.getRuleContexts(SortItemContext); - } - - return this.getRuleContext(i, SortItemContext); - } - public KW_OFFSET(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_OFFSET, 0); - } - public rowCount(): RowCountContext[]; - public rowCount(i: number): RowCountContext | null; - public rowCount(i?: number): RowCountContext[] | RowCountContext | null { - if (i === undefined) { - return this.getRuleContexts(RowCountContext); - } - - return this.getRuleContext(i, RowCountContext); - } - public KW_LIMIT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LIMIT, 0); - } - public KW_FETCH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FETCH, 0); - } - public limitRowCount(): LimitRowCountContext | null { - return this.getRuleContext(0, LimitRowCountContext); - } - public KW_FIRST(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FIRST, 0); - } - public KW_NEXT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NEXT, 0); - } - public KW_ROW(): antlr.TerminalNode[]; - public KW_ROW(i: number): antlr.TerminalNode | null; - public KW_ROW(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_ROW); - } else { - return this.getToken(TrinoSqlParser.KW_ROW, i); - } - } - public KW_ROWS(): antlr.TerminalNode[]; - public KW_ROWS(i: number): antlr.TerminalNode | null; - public KW_ROWS(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_ROWS); - } else { - return this.getToken(TrinoSqlParser.KW_ROWS, i); - } - } - public KW_ONLY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ONLY, 0); + public functionName(): FunctionNameContext { + return this.getRuleContext(0, FunctionNameContext)!; } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); + public tableFunctionArgument(): TableFunctionArgumentContext[]; + public tableFunctionArgument(i: number): TableFunctionArgumentContext | null; + public tableFunctionArgument(i?: number): TableFunctionArgumentContext[] | TableFunctionArgumentContext | null { + if (i === undefined) { + return this.getRuleContexts(TableFunctionArgumentContext); + } + + return this.getRuleContext(i, TableFunctionArgumentContext); } - public KW_TIES(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TIES, 0); + public KW_COPARTITION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COPARTITION, 0); + } + public copartitionTables(): CopartitionTablesContext[]; + public copartitionTables(i: number): CopartitionTablesContext | null; + public copartitionTables(i?: number): CopartitionTablesContext[] | CopartitionTablesContext | null { + if (i === undefined) { + return this.getRuleContexts(CopartitionTablesContext); + } + + return this.getRuleContext(i, CopartitionTablesContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_queryNoWith; + return TrinoSqlParser.RULE_tableFunctionCall; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterQueryNoWith) { - listener.enterQueryNoWith(this); + if(listener.enterTableFunctionCall) { + listener.enterTableFunctionCall(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitQueryNoWith) { - listener.exitQueryNoWith(this); + if(listener.exitTableFunctionCall) { + listener.exitTableFunctionCall(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitQueryNoWith) { - return visitor.visitQueryNoWith(this); + if (visitor.visitTableFunctionCall) { + return visitor.visitTableFunctionCall(this); } else { return visitor.visitChildren(this); } @@ -16901,32 +25402,38 @@ export class QueryNoWithContext extends antlr.ParserRuleContext { } -export class LimitRowCountContext extends antlr.ParserRuleContext { +export class TableFunctionArgumentContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public KW_ALL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ALL, 0); + public tableArgument(): TableArgumentContext | null { + return this.getRuleContext(0, TableArgumentContext); } - public rowCount(): RowCountContext | null { - return this.getRuleContext(0, RowCountContext); + public descriptorArgument(): DescriptorArgumentContext | null { + return this.getRuleContext(0, DescriptorArgumentContext); + } + public expression(): ExpressionContext | null { + return this.getRuleContext(0, ExpressionContext); + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_limitRowCount; + return TrinoSqlParser.RULE_tableFunctionArgument; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLimitRowCount) { - listener.enterLimitRowCount(this); + if(listener.enterTableFunctionArgument) { + listener.enterTableFunctionArgument(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLimitRowCount) { - listener.exitLimitRowCount(this); + if(listener.exitTableFunctionArgument) { + listener.exitTableFunctionArgument(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLimitRowCount) { - return visitor.visitLimitRowCount(this); + if (visitor.visitTableFunctionArgument) { + return visitor.visitTableFunctionArgument(this); } else { return visitor.visitChildren(this); } @@ -16934,32 +25441,74 @@ export class LimitRowCountContext extends antlr.ParserRuleContext { } -export class RowCountContext extends antlr.ParserRuleContext { +export class TableArgumentContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public INTEGER_VALUE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); + public tableArgumentRelation(): TableArgumentRelationContext { + return this.getRuleContext(0, TableArgumentRelationContext)!; } - public QUESTION_MARK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.QUESTION_MARK, 0); + public KW_PARTITION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PARTITION, 0); + } + public KW_BY(): antlr.TerminalNode[]; + public KW_BY(i: number): antlr.TerminalNode | null; + public KW_BY(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_BY); + } else { + return this.getToken(TrinoSqlParser.KW_BY, i); + } + } + public KW_PRUNE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PRUNE, 0); + } + public KW_WHEN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WHEN, 0); + } + public KW_EMPTY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EMPTY, 0); + } + public KW_KEEP(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_KEEP, 0); + } + public KW_ORDER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ORDER, 0); + } + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExpressionContext); + } + + return this.getRuleContext(i, ExpressionContext); + } + public sortItem(): SortItemContext[]; + public sortItem(i: number): SortItemContext | null; + public sortItem(i?: number): SortItemContext[] | SortItemContext | null { + if (i === undefined) { + return this.getRuleContexts(SortItemContext); + } + + return this.getRuleContext(i, SortItemContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_rowCount; + return TrinoSqlParser.RULE_tableArgument; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRowCount) { - listener.enterRowCount(this); + if(listener.enterTableArgument) { + listener.enterTableArgument(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRowCount) { - listener.exitRowCount(this); + if(listener.exitTableArgument) { + listener.exitTableArgument(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRowCount) { - return visitor.visitRowCount(this); + if (visitor.visitTableArgument) { + return visitor.visitTableArgument(this); } else { return visitor.visitChildren(this); } @@ -16967,85 +25516,88 @@ export class RowCountContext extends antlr.ParserRuleContext { } -export class QueryTermContext extends antlr.ParserRuleContext { +export class TableArgumentRelationContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_queryTerm; + return TrinoSqlParser.RULE_tableArgumentRelation; } - public override copyFrom(ctx: QueryTermContext): void { + public override copyFrom(ctx: TableArgumentRelationContext): void { super.copyFrom(ctx); } } -export class QueryTermDefaultContext extends QueryTermContext { - public constructor(ctx: QueryTermContext) { +export class TableArgumentQueryContext extends TableArgumentRelationContext { + public constructor(ctx: TableArgumentRelationContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public queryPrimary(): QueryPrimaryContext { - return this.getRuleContext(0, QueryPrimaryContext)!; + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + } + public query(): QueryContext { + return this.getRuleContext(0, QueryContext)!; + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); + } + public columnAliases(): ColumnAliasesContext | null { + return this.getRuleContext(0, ColumnAliasesContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterQueryTermDefault) { - listener.enterQueryTermDefault(this); + if(listener.enterTableArgumentQuery) { + listener.enterTableArgumentQuery(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitQueryTermDefault) { - listener.exitQueryTermDefault(this); + if(listener.exitTableArgumentQuery) { + listener.exitTableArgumentQuery(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitQueryTermDefault) { - return visitor.visitQueryTermDefault(this); + if (visitor.visitTableArgumentQuery) { + return visitor.visitTableArgumentQuery(this); } else { return visitor.visitChildren(this); } } } -export class SetOperationContext extends QueryTermContext { - public _left?: QueryTermContext; - public _operator?: Token | null; - public _right?: QueryTermContext; - public constructor(ctx: QueryTermContext) { +export class TableArgumentTableContext extends TableArgumentRelationContext { + public constructor(ctx: TableArgumentRelationContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public queryTerm(): QueryTermContext[]; - public queryTerm(i: number): QueryTermContext | null; - public queryTerm(i?: number): QueryTermContext[] | QueryTermContext | null { - if (i === undefined) { - return this.getRuleContexts(QueryTermContext); - } - - return this.getRuleContext(i, QueryTermContext); + public KW_TABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; } - public KW_INTERSECT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_INTERSECT, 0); + public tableRef(): TableRefContext { + return this.getRuleContext(0, TableRefContext)!; } - public setQuantifier(): SetQuantifierContext | null { - return this.getRuleContext(0, SetQuantifierContext); + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } - public KW_UNION(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_UNION, 0); + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); } - public KW_EXCEPT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXCEPT, 0); + public columnAliases(): ColumnAliasesContext | null { + return this.getRuleContext(0, ColumnAliasesContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetOperation) { - listener.enterSetOperation(this); + if(listener.enterTableArgumentTable) { + listener.enterTableArgumentTable(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetOperation) { - listener.exitSetOperation(this); + if(listener.exitTableArgumentTable) { + listener.exitTableArgumentTable(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetOperation) { - return visitor.visitSetOperation(this); + if (visitor.visitTableArgumentTable) { + return visitor.visitTableArgumentTable(this); } else { return visitor.visitChildren(this); } @@ -17053,128 +25605,146 @@ export class SetOperationContext extends QueryTermContext { } -export class QueryPrimaryContext extends antlr.ParserRuleContext { +export class DescriptorArgumentContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_queryPrimary; + public KW_DESCRIPTOR(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DESCRIPTOR, 0)!; } - public override copyFrom(ctx: QueryPrimaryContext): void { - super.copyFrom(ctx); + public descriptorField(): DescriptorFieldContext[]; + public descriptorField(i: number): DescriptorFieldContext | null; + public descriptorField(i?: number): DescriptorFieldContext[] | DescriptorFieldContext | null { + if (i === undefined) { + return this.getRuleContexts(DescriptorFieldContext); + } + + return this.getRuleContext(i, DescriptorFieldContext); } -} -export class SubqueryContext extends QueryPrimaryContext { - public constructor(ctx: QueryPrimaryContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_CAST(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CAST, 0); } - public queryNoWith(): QueryNoWithContext { - return this.getRuleContext(0, QueryNoWithContext)!; + public KW_NULL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NULL, 0); + } + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_descriptorArgument; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSubquery) { - listener.enterSubquery(this); + if(listener.enterDescriptorArgument) { + listener.enterDescriptorArgument(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSubquery) { - listener.exitSubquery(this); + if(listener.exitDescriptorArgument) { + listener.exitDescriptorArgument(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSubquery) { - return visitor.visitSubquery(this); + if (visitor.visitDescriptorArgument) { + return visitor.visitDescriptorArgument(this); } else { return visitor.visitChildren(this); } } } -export class QueryPrimaryDefaultContext extends QueryPrimaryContext { - public constructor(ctx: QueryPrimaryContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class DescriptorFieldContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public querySpecification(): QuerySpecificationContext { - return this.getRuleContext(0, QuerySpecificationContext)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public type(): TypeContext | null { + return this.getRuleContext(0, TypeContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_descriptorField; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterQueryPrimaryDefault) { - listener.enterQueryPrimaryDefault(this); + if(listener.enterDescriptorField) { + listener.enterDescriptorField(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitQueryPrimaryDefault) { - listener.exitQueryPrimaryDefault(this); + if(listener.exitDescriptorField) { + listener.exitDescriptorField(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitQueryPrimaryDefault) { - return visitor.visitQueryPrimaryDefault(this); + if (visitor.visitDescriptorField) { + return visitor.visitDescriptorField(this); } else { return visitor.visitChildren(this); } } } -export class TableContext extends QueryPrimaryContext { - public constructor(ctx: QueryPrimaryContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class CopartitionTablesContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_TABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TABLE, 0)!; + public qualifiedName(): QualifiedNameContext[]; + public qualifiedName(i: number): QualifiedNameContext | null; + public qualifiedName(i?: number): QualifiedNameContext[] | QualifiedNameContext | null { + if (i === undefined) { + return this.getRuleContexts(QualifiedNameContext); + } + + return this.getRuleContext(i, QualifiedNameContext); } - public tableName(): TableNameContext { - return this.getRuleContext(0, TableNameContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_copartitionTables; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTable) { - listener.enterTable(this); + if(listener.enterCopartitionTables) { + listener.enterCopartitionTables(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTable) { - listener.exitTable(this); + if(listener.exitCopartitionTables) { + listener.exitCopartitionTables(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTable) { - return visitor.visitTable(this); + if (visitor.visitCopartitionTables) { + return visitor.visitCopartitionTables(this); } else { return visitor.visitChildren(this); } } } -export class InlineTableContext extends QueryPrimaryContext { - public constructor(ctx: QueryPrimaryContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class ExpressionContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_VALUES(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VALUES, 0)!; + public booleanExpression(): BooleanExpressionContext { + return this.getRuleContext(0, BooleanExpressionContext)!; } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ExpressionContext); - } - - return this.getRuleContext(i, ExpressionContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_expression; } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterInlineTable) { - listener.enterInlineTable(this); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterExpression) { + listener.enterExpression(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitInlineTable) { - listener.exitInlineTable(this); + if(listener.exitExpression) { + listener.exitExpression(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitInlineTable) { - return visitor.visitInlineTable(this); + if (visitor.visitExpression) { + return visitor.visitExpression(this); } else { return visitor.visitChildren(this); } @@ -17182,115 +25752,80 @@ export class InlineTableContext extends QueryPrimaryContext { } -export class SortItemContext extends antlr.ParserRuleContext { - public _ordering?: Token | null; - public _nullOrdering?: Token | null; +export class BooleanExpressionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public columnName(): ColumnNameContext | null { - return this.getRuleContext(0, ColumnNameContext); - } - public expression(): ExpressionContext | null { - return this.getRuleContext(0, ExpressionContext); - } - public KW_NULLS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NULLS, 0); - } - public KW_ASC(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ASC, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_booleanExpression; } - public KW_DESC(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DESC, 0); + public override copyFrom(ctx: BooleanExpressionContext): void { + super.copyFrom(ctx); } - public KW_FIRST(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FIRST, 0); +} +export class LogicalNotContext extends BooleanExpressionContext { + public constructor(ctx: BooleanExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_LAST(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LAST, 0); + public KW_NOT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_NOT, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_sortItem; + public booleanExpression(): BooleanExpressionContext { + return this.getRuleContext(0, BooleanExpressionContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSortItem) { - listener.enterSortItem(this); + if(listener.enterLogicalNot) { + listener.enterLogicalNot(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSortItem) { - listener.exitSortItem(this); + if(listener.exitLogicalNot) { + listener.exitLogicalNot(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSortItem) { - return visitor.visitSortItem(this); + if (visitor.visitLogicalNot) { + return visitor.visitLogicalNot(this); } else { return visitor.visitChildren(this); } } } - - -export class QuerySpecificationContext extends antlr.ParserRuleContext { - public _where?: BooleanExpressionContext; - public _having?: BooleanExpressionContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_SELECT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SELECT, 0)!; - } - public selectItem(): SelectItemContext[]; - public selectItem(i: number): SelectItemContext | null; - public selectItem(i?: number): SelectItemContext[] | SelectItemContext | null { - if (i === undefined) { - return this.getRuleContexts(SelectItemContext); - } - - return this.getRuleContext(i, SelectItemContext); +export class PredicatedContext extends BooleanExpressionContext { + public _valueExpression?: ValueExpressionContext; + public constructor(ctx: BooleanExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public setQuantifier(): SetQuantifierContext | null { - return this.getRuleContext(0, SetQuantifierContext); + public valueExpression(): ValueExpressionContext { + return this.getRuleContext(0, ValueExpressionContext)!; } - public KW_FROM(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FROM, 0); + public predicate(): PredicateContext | null { + return this.getRuleContext(0, PredicateContext); } - public relation(): RelationContext[]; - public relation(i: number): RelationContext | null; - public relation(i?: number): RelationContext[] | RelationContext | null { - if (i === undefined) { - return this.getRuleContexts(RelationContext); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterPredicated) { + listener.enterPredicated(this); } - - return this.getRuleContext(i, RelationContext); - } - public KW_WHERE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WHERE, 0); - } - public KW_GROUP(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_GROUP, 0); - } - public KW_BY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_BY, 0); - } - public groupBy(): GroupByContext | null { - return this.getRuleContext(0, GroupByContext); - } - public KW_HAVING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_HAVING, 0); } - public KW_WINDOW(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WINDOW, 0); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitPredicated) { + listener.exitPredicated(this); + } } - public windowDefinition(): WindowDefinitionContext[]; - public windowDefinition(i: number): WindowDefinitionContext | null; - public windowDefinition(i?: number): WindowDefinitionContext[] | WindowDefinitionContext | null { - if (i === undefined) { - return this.getRuleContexts(WindowDefinitionContext); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitPredicated) { + return visitor.visitPredicated(this); + } else { + return visitor.visitChildren(this); } - - return this.getRuleContext(i, WindowDefinitionContext); + } +} +export class OrContext extends BooleanExpressionContext { + public constructor(ctx: BooleanExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } public booleanExpression(): BooleanExpressionContext[]; public booleanExpression(i: number): BooleanExpressionContext | null; @@ -17301,61 +25836,57 @@ export class QuerySpecificationContext extends antlr.ParserRuleContext { return this.getRuleContext(i, BooleanExpressionContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_querySpecification; + public KW_OR(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_OR, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterQuerySpecification) { - listener.enterQuerySpecification(this); + if(listener.enterOr) { + listener.enterOr(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitQuerySpecification) { - listener.exitQuerySpecification(this); + if(listener.exitOr) { + listener.exitOr(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitQuerySpecification) { - return visitor.visitQuerySpecification(this); + if (visitor.visitOr) { + return visitor.visitOr(this); } else { return visitor.visitChildren(this); } } } - - -export class GroupByContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class AndContext extends BooleanExpressionContext { + public constructor(ctx: BooleanExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public groupingElement(): GroupingElementContext[]; - public groupingElement(i: number): GroupingElementContext | null; - public groupingElement(i?: number): GroupingElementContext[] | GroupingElementContext | null { + public booleanExpression(): BooleanExpressionContext[]; + public booleanExpression(i: number): BooleanExpressionContext | null; + public booleanExpression(i?: number): BooleanExpressionContext[] | BooleanExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(GroupingElementContext); + return this.getRuleContexts(BooleanExpressionContext); } - return this.getRuleContext(i, GroupingElementContext); - } - public setQuantifier(): SetQuantifierContext | null { - return this.getRuleContext(0, SetQuantifierContext); + return this.getRuleContext(i, BooleanExpressionContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_groupBy; + public KW_AND(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AND, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterGroupBy) { - listener.enterGroupBy(this); + if(listener.enterAnd) { + listener.enterAnd(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitGroupBy) { - listener.exitGroupBy(this); + if(listener.exitAnd) { + listener.exitAnd(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitGroupBy) { - return visitor.visitGroupBy(this); + if (visitor.visitAnd) { + return visitor.visitAnd(this); } else { return visitor.visitChildren(this); } @@ -17363,321 +25894,304 @@ export class GroupByContext extends antlr.ParserRuleContext { } -export class GroupingElementContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { +export class PredicateContext extends antlr.ParserRuleContext { + public value: ParserRuleContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number, value: ParserRuleContext) { super(parent, invokingState); + this.value = value; } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_groupingElement; + return TrinoSqlParser.RULE_predicate; } - public override copyFrom(ctx: GroupingElementContext): void { + public override copyFrom(ctx: PredicateContext): void { super.copyFrom(ctx); + this.value = ctx.value; } } -export class MultipleGroupingSetsContext extends GroupingElementContext { - public constructor(ctx: GroupingElementContext) { - super(ctx.parent, ctx.invokingState); +export class ComparisonContext extends PredicateContext { + public _right?: ValueExpressionContext; + public constructor(ctx: PredicateContext) { + super(ctx.parent, ctx.invokingState, ctx.value); super.copyFrom(ctx); } - public KW_GROUPING(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_GROUPING, 0)!; - } - public KW_SETS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SETS, 0)!; + public comparisonOperator(): ComparisonOperatorContext { + return this.getRuleContext(0, ComparisonOperatorContext)!; } - public groupingSet(): GroupingSetContext[]; - public groupingSet(i: number): GroupingSetContext | null; - public groupingSet(i?: number): GroupingSetContext[] | GroupingSetContext | null { - if (i === undefined) { - return this.getRuleContexts(GroupingSetContext); - } - - return this.getRuleContext(i, GroupingSetContext); + public valueExpression(): ValueExpressionContext { + return this.getRuleContext(0, ValueExpressionContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterMultipleGroupingSets) { - listener.enterMultipleGroupingSets(this); + if(listener.enterComparison) { + listener.enterComparison(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitMultipleGroupingSets) { - listener.exitMultipleGroupingSets(this); + if(listener.exitComparison) { + listener.exitComparison(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitMultipleGroupingSets) { - return visitor.visitMultipleGroupingSets(this); + if (visitor.visitComparison) { + return visitor.visitComparison(this); } else { return visitor.visitChildren(this); } } } -export class SingleGroupingSetContext extends GroupingElementContext { - public constructor(ctx: GroupingElementContext) { - super(ctx.parent, ctx.invokingState); +export class LikeContext extends PredicateContext { + public _pattern?: ValueExpressionContext; + public _escape?: ValueExpressionContext; + public constructor(ctx: PredicateContext) { + super(ctx.parent, ctx.invokingState, ctx.value); super.copyFrom(ctx); } - public groupingSet(): GroupingSetContext { - return this.getRuleContext(0, GroupingSetContext)!; + public KW_LIKE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_LIKE, 0)!; + } + public valueExpression(): ValueExpressionContext[]; + public valueExpression(i: number): ValueExpressionContext | null; + public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ValueExpressionContext); + } + + return this.getRuleContext(i, ValueExpressionContext); + } + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); + } + public KW_ESCAPE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSingleGroupingSet) { - listener.enterSingleGroupingSet(this); + if(listener.enterLike) { + listener.enterLike(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSingleGroupingSet) { - listener.exitSingleGroupingSet(this); + if(listener.exitLike) { + listener.exitLike(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSingleGroupingSet) { - return visitor.visitSingleGroupingSet(this); + if (visitor.visitLike) { + return visitor.visitLike(this); } else { return visitor.visitChildren(this); } } } -export class CubeContext extends GroupingElementContext { - public constructor(ctx: GroupingElementContext) { - super(ctx.parent, ctx.invokingState); +export class InSubqueryContext extends PredicateContext { + public constructor(ctx: PredicateContext) { + super(ctx.parent, ctx.invokingState, ctx.value); super.copyFrom(ctx); } - public KW_CUBE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CUBE, 0)!; + public KW_IN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_IN, 0)!; } - public groupingTerm(): GroupingTermContext[]; - public groupingTerm(i: number): GroupingTermContext | null; - public groupingTerm(i?: number): GroupingTermContext[] | GroupingTermContext | null { - if (i === undefined) { - return this.getRuleContexts(GroupingTermContext); - } - - return this.getRuleContext(i, GroupingTermContext); + public query(): QueryContext { + return this.getRuleContext(0, QueryContext)!; + } + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCube) { - listener.enterCube(this); + if(listener.enterInSubquery) { + listener.enterInSubquery(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCube) { - listener.exitCube(this); + if(listener.exitInSubquery) { + listener.exitInSubquery(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCube) { - return visitor.visitCube(this); + if (visitor.visitInSubquery) { + return visitor.visitInSubquery(this); } else { return visitor.visitChildren(this); } } } -export class RollupContext extends GroupingElementContext { - public constructor(ctx: GroupingElementContext) { - super(ctx.parent, ctx.invokingState); +export class DistinctFromContext extends PredicateContext { + public _right?: ValueExpressionContext; + public constructor(ctx: PredicateContext) { + super(ctx.parent, ctx.invokingState, ctx.value); super.copyFrom(ctx); } - public KW_ROLLUP(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ROLLUP, 0)!; + public KW_IS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_IS, 0)!; } - public groupingTerm(): GroupingTermContext[]; - public groupingTerm(i: number): GroupingTermContext | null; - public groupingTerm(i?: number): GroupingTermContext[] | GroupingTermContext | null { - if (i === undefined) { - return this.getRuleContexts(GroupingTermContext); - } - - return this.getRuleContext(i, GroupingTermContext); + public KW_DISTINCT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DISTINCT, 0)!; + } + public KW_FROM(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + } + public valueExpression(): ValueExpressionContext { + return this.getRuleContext(0, ValueExpressionContext)!; + } + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRollup) { - listener.enterRollup(this); + if(listener.enterDistinctFrom) { + listener.enterDistinctFrom(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRollup) { - listener.exitRollup(this); + if(listener.exitDistinctFrom) { + listener.exitDistinctFrom(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRollup) { - return visitor.visitRollup(this); + if (visitor.visitDistinctFrom) { + return visitor.visitDistinctFrom(this); } else { return visitor.visitChildren(this); } } } - - -export class GroupingSetContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class InListContext extends PredicateContext { + public constructor(ctx: PredicateContext) { + super(ctx.parent, ctx.invokingState, ctx.value); + super.copyFrom(ctx); } - public groupingTerm(): GroupingTermContext[]; - public groupingTerm(i: number): GroupingTermContext | null; - public groupingTerm(i?: number): GroupingTermContext[] | GroupingTermContext | null { + public KW_IN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_IN, 0)!; + } + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(GroupingTermContext); + return this.getRuleContexts(ExpressionContext); } - return this.getRuleContext(i, GroupingTermContext); + return this.getRuleContext(i, ExpressionContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_groupingSet; + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterGroupingSet) { - listener.enterGroupingSet(this); + if(listener.enterInList) { + listener.enterInList(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitGroupingSet) { - listener.exitGroupingSet(this); + if(listener.exitInList) { + listener.exitInList(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitGroupingSet) { - return visitor.visitGroupingSet(this); + if (visitor.visitInList) { + return visitor.visitInList(this); } else { return visitor.visitChildren(this); } } } - - -export class GroupingTermContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class NullPredicateContext extends PredicateContext { + public constructor(ctx: PredicateContext) { + super(ctx.parent, ctx.invokingState, ctx.value); + super.copyFrom(ctx); } - public columnName(): ColumnNameContext | null { - return this.getRuleContext(0, ColumnNameContext); + public KW_IS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_IS, 0)!; } - public expression(): ExpressionContext | null { - return this.getRuleContext(0, ExpressionContext); + public KW_NULL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_NULL, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_groupingTerm; + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterGroupingTerm) { - listener.enterGroupingTerm(this); + if(listener.enterNullPredicate) { + listener.enterNullPredicate(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitGroupingTerm) { - listener.exitGroupingTerm(this); + if(listener.exitNullPredicate) { + listener.exitNullPredicate(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitGroupingTerm) { - return visitor.visitGroupingTerm(this); + if (visitor.visitNullPredicate) { + return visitor.visitNullPredicate(this); } else { return visitor.visitChildren(this); } } } - - -export class WindowDefinitionContext extends antlr.ParserRuleContext { - public _name?: IdentifierContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class BetweenContext extends PredicateContext { + public _lower?: ValueExpressionContext; + public _upper?: ValueExpressionContext; + public constructor(ctx: PredicateContext) { + super(ctx.parent, ctx.invokingState, ctx.value); + super.copyFrom(ctx); } - public KW_AS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AS, 0)!; + public KW_BETWEEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_BETWEEN, 0)!; } - public windowSpecification(): WindowSpecificationContext { - return this.getRuleContext(0, WindowSpecificationContext)!; + public KW_AND(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AND, 0)!; } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public valueExpression(): ValueExpressionContext[]; + public valueExpression(i: number): ValueExpressionContext | null; + public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ValueExpressionContext); + } + + return this.getRuleContext(i, ValueExpressionContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_windowDefinition; + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterWindowDefinition) { - listener.enterWindowDefinition(this); + if(listener.enterBetween) { + listener.enterBetween(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitWindowDefinition) { - listener.exitWindowDefinition(this); + if(listener.exitBetween) { + listener.exitBetween(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitWindowDefinition) { - return visitor.visitWindowDefinition(this); + if (visitor.visitBetween) { + return visitor.visitBetween(this); } else { return visitor.visitChildren(this); } } } - - -export class WindowSpecificationContext extends antlr.ParserRuleContext { - public _existingWindowName?: IdentifierContext; - public _expression?: ExpressionContext; - public _partition: ExpressionContext[] = []; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_PARTITION(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PARTITION, 0); - } - public KW_BY(): antlr.TerminalNode[]; - public KW_BY(i: number): antlr.TerminalNode | null; - public KW_BY(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_BY); - } else { - return this.getToken(TrinoSqlParser.KW_BY, i); - } - } - public KW_ORDER(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ORDER, 0); - } - public sortItem(): SortItemContext[]; - public sortItem(i: number): SortItemContext | null; - public sortItem(i?: number): SortItemContext[] | SortItemContext | null { - if (i === undefined) { - return this.getRuleContexts(SortItemContext); - } - - return this.getRuleContext(i, SortItemContext); - } - public windowFrame(): WindowFrameContext | null { - return this.getRuleContext(0, WindowFrameContext); +export class QuantifiedComparisonContext extends PredicateContext { + public constructor(ctx: PredicateContext) { + super(ctx.parent, ctx.invokingState, ctx.value); + super.copyFrom(ctx); } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); + public comparisonOperator(): ComparisonOperatorContext { + return this.getRuleContext(0, ComparisonOperatorContext)!; } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ExpressionContext); - } - - return this.getRuleContext(i, ExpressionContext); + public comparisonQuantifier(): ComparisonQuantifierContext { + return this.getRuleContext(0, ComparisonQuantifierContext)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_windowSpecification; + public query(): QueryContext { + return this.getRuleContext(0, QueryContext)!; } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterWindowSpecification) { - listener.enterWindowSpecification(this); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterQuantifiedComparison) { + listener.enterQuantifiedComparison(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitWindowSpecification) { - listener.exitWindowSpecification(this); + if(listener.exitQuantifiedComparison) { + listener.exitQuantifiedComparison(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitWindowSpecification) { - return visitor.visitWindowSpecification(this); + if (visitor.visitQuantifiedComparison) { + return visitor.visitQuantifiedComparison(this); } else { return visitor.visitChildren(this); } @@ -17685,155 +26199,190 @@ export class WindowSpecificationContext extends antlr.ParserRuleContext { } -export class NamedQueryContext extends antlr.ParserRuleContext { - public _name?: IdentifierContext; +export class ValueExpressionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public KW_AS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AS, 0)!; - } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_valueExpression; } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public override copyFrom(ctx: ValueExpressionContext): void { + super.copyFrom(ctx); } - public columnAliases(): ColumnAliasesContext | null { - return this.getRuleContext(0, ColumnAliasesContext); +} +export class ValueExpressionDefaultContext extends ValueExpressionContext { + public constructor(ctx: ValueExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_namedQuery; + public primaryExpression(): PrimaryExpressionContext { + return this.getRuleContext(0, PrimaryExpressionContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNamedQuery) { - listener.enterNamedQuery(this); + if(listener.enterValueExpressionDefault) { + listener.enterValueExpressionDefault(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNamedQuery) { - listener.exitNamedQuery(this); + if(listener.exitValueExpressionDefault) { + listener.exitValueExpressionDefault(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNamedQuery) { - return visitor.visitNamedQuery(this); + if (visitor.visitValueExpressionDefault) { + return visitor.visitValueExpressionDefault(this); } else { return visitor.visitChildren(this); } } } - - -export class SetQuantifierContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_DISTINCT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DISTINCT, 0); +export class ConcatenationContext extends ValueExpressionContext { + public _left?: ValueExpressionContext; + public _right?: ValueExpressionContext; + public constructor(ctx: ValueExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_ALL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ALL, 0); + public CONCAT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.CONCAT, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_setQuantifier; + public valueExpression(): ValueExpressionContext[]; + public valueExpression(i: number): ValueExpressionContext | null; + public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ValueExpressionContext); + } + + return this.getRuleContext(i, ValueExpressionContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSetQuantifier) { - listener.enterSetQuantifier(this); + if(listener.enterConcatenation) { + listener.enterConcatenation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSetQuantifier) { - listener.exitSetQuantifier(this); + if(listener.exitConcatenation) { + listener.exitConcatenation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSetQuantifier) { - return visitor.visitSetQuantifier(this); + if (visitor.visitConcatenation) { + return visitor.visitConcatenation(this); } else { return visitor.visitChildren(this); } } } +export class ArithmeticBinaryContext extends ValueExpressionContext { + public _left?: ValueExpressionContext; + public _operator?: Token | null; + public _right?: ValueExpressionContext; + public constructor(ctx: ValueExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public valueExpression(): ValueExpressionContext[]; + public valueExpression(i: number): ValueExpressionContext | null; + public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ValueExpressionContext); + } - -export class SelectItemContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + return this.getRuleContext(i, ValueExpressionContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_selectItem; + public ASTERISK(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.ASTERISK, 0); } - public override copyFrom(ctx: SelectItemContext): void { - super.copyFrom(ctx); + public SLASH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.SLASH, 0); + } + public PERCENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.PERCENT, 0); + } + public PLUS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.PLUS, 0); + } + public MINUS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.MINUS, 0); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterArithmeticBinary) { + listener.enterArithmeticBinary(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitArithmeticBinary) { + listener.exitArithmeticBinary(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitArithmeticBinary) { + return visitor.visitArithmeticBinary(this); + } else { + return visitor.visitChildren(this); + } } } -export class SelectAllContext extends SelectItemContext { - public constructor(ctx: SelectItemContext) { +export class ArithmeticUnaryContext extends ValueExpressionContext { + public _operator?: Token | null; + public constructor(ctx: ValueExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public primaryExpression(): PrimaryExpressionContext | null { - return this.getRuleContext(0, PrimaryExpressionContext); - } - public ASTERISK(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.ASTERISK, 0)!; + public valueExpression(): ValueExpressionContext { + return this.getRuleContext(0, ValueExpressionContext)!; } - public KW_AS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AS, 0); + public MINUS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.MINUS, 0); } - public columnAliases(): ColumnAliasesContext | null { - return this.getRuleContext(0, ColumnAliasesContext); + public PLUS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.PLUS, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSelectAll) { - listener.enterSelectAll(this); + if(listener.enterArithmeticUnary) { + listener.enterArithmeticUnary(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSelectAll) { - listener.exitSelectAll(this); + if(listener.exitArithmeticUnary) { + listener.exitArithmeticUnary(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSelectAll) { - return visitor.visitSelectAll(this); + if (visitor.visitArithmeticUnary) { + return visitor.visitArithmeticUnary(this); } else { return visitor.visitChildren(this); } } } -export class SelectSingleContext extends SelectItemContext { - public constructor(ctx: SelectItemContext) { +export class AtTimeZoneContext extends ValueExpressionContext { + public constructor(ctx: ValueExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public columnName(): ColumnNameContext | null { - return this.getRuleContext(0, ColumnNameContext); - } - public expression(): ExpressionContext | null { - return this.getRuleContext(0, ExpressionContext); + public valueExpression(): ValueExpressionContext { + return this.getRuleContext(0, ValueExpressionContext)!; } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); + public KW_AT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AT, 0)!; } - public KW_AS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AS, 0); + public timeZoneSpecifier(): TimeZoneSpecifierContext { + return this.getRuleContext(0, TimeZoneSpecifierContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSelectSingle) { - listener.enterSelectSingle(this); + if(listener.enterAtTimeZone) { + listener.enterAtTimeZone(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSelectSingle) { - listener.exitSelectSingle(this); + if(listener.exitAtTimeZone) { + listener.exitAtTimeZone(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSelectSingle) { - return visitor.visitSelectSingle(this); + if (visitor.visitAtTimeZone) { + return visitor.visitAtTimeZone(this); } else { return visitor.visitChildren(this); } @@ -17841,813 +26390,894 @@ export class SelectSingleContext extends SelectItemContext { } -export class RelationContext extends antlr.ParserRuleContext { +export class PrimaryExpressionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_relation; + return TrinoSqlParser.RULE_primaryExpression; } - public override copyFrom(ctx: RelationContext): void { + public override copyFrom(ctx: PrimaryExpressionContext): void { super.copyFrom(ctx); } } -export class RelationDefaultContext extends RelationContext { - public constructor(ctx: RelationContext) { +export class DereferenceContext extends PrimaryExpressionContext { + public _base?: PrimaryExpressionContext; + public _fieldName?: IdentifierContext; + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public sampledRelation(): SampledRelationContext { - return this.getRuleContext(0, SampledRelationContext)!; + public primaryExpression(): PrimaryExpressionContext { + return this.getRuleContext(0, PrimaryExpressionContext)!; + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterDereference) { + listener.enterDereference(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitDereference) { + listener.exitDereference(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitDereference) { + return visitor.visitDereference(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class TypeConstructorContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public string(): StringContext { + return this.getRuleContext(0, StringContext)!; + } + public KW_DOUBLE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DOUBLE, 0); + } + public KW_PRECISION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PRECISION, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRelationDefault) { - listener.enterRelationDefault(this); + if(listener.enterTypeConstructor) { + listener.enterTypeConstructor(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRelationDefault) { - listener.exitRelationDefault(this); + if(listener.exitTypeConstructor) { + listener.exitTypeConstructor(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRelationDefault) { - return visitor.visitRelationDefault(this); + if (visitor.visitTypeConstructor) { + return visitor.visitTypeConstructor(this); } else { return visitor.visitChildren(this); } } } -export class JoinRelationContext extends RelationContext { - public _left?: RelationContext; - public _right?: SampledRelationContext; - public _rightRelation?: RelationContext; - public constructor(ctx: RelationContext) { +export class JsonValueContext extends PrimaryExpressionContext { + public _emptyBehavior?: JsonValueBehaviorContext; + public _errorBehavior?: JsonValueBehaviorContext; + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public relation(): RelationContext[]; - public relation(i: number): RelationContext | null; - public relation(i?: number): RelationContext[] | RelationContext | null { - if (i === undefined) { - return this.getRuleContexts(RelationContext); - } - - return this.getRuleContext(i, RelationContext); + public KW_JSON_VALUE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_JSON_VALUE, 0)!; } - public KW_CROSS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_CROSS, 0); + public jsonPathInvocation(): JsonPathInvocationContext { + return this.getRuleContext(0, JsonPathInvocationContext)!; } - public KW_JOIN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_JOIN, 0); + public KW_RETURNING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RETURNING, 0); } - public joinType(): JoinTypeContext | null { - return this.getRuleContext(0, JoinTypeContext); + public type(): TypeContext | null { + return this.getRuleContext(0, TypeContext); } - public joinCriteria(): JoinCriteriaContext | null { - return this.getRuleContext(0, JoinCriteriaContext); + public KW_ON(): antlr.TerminalNode[]; + public KW_ON(i: number): antlr.TerminalNode | null; + public KW_ON(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ON); + } else { + return this.getToken(TrinoSqlParser.KW_ON, i); + } } - public KW_NATURAL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NATURAL, 0); + public KW_EMPTY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EMPTY, 0); } - public sampledRelation(): SampledRelationContext | null { - return this.getRuleContext(0, SampledRelationContext); + public KW_ERROR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ERROR, 0); + } + public jsonValueBehavior(): JsonValueBehaviorContext[]; + public jsonValueBehavior(i: number): JsonValueBehaviorContext | null; + public jsonValueBehavior(i?: number): JsonValueBehaviorContext[] | JsonValueBehaviorContext | null { + if (i === undefined) { + return this.getRuleContexts(JsonValueBehaviorContext); + } + + return this.getRuleContext(i, JsonValueBehaviorContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterJoinRelation) { - listener.enterJoinRelation(this); + if(listener.enterJsonValue) { + listener.enterJsonValue(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitJoinRelation) { - listener.exitJoinRelation(this); + if(listener.exitJsonValue) { + listener.exitJsonValue(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitJoinRelation) { - return visitor.visitJoinRelation(this); + if (visitor.visitJsonValue) { + return visitor.visitJsonValue(this); } else { return visitor.visitChildren(this); } } } - - -export class JoinTypeContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_INNER(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_INNER, 0); - } - public KW_LEFT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LEFT, 0); - } - public KW_OUTER(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_OUTER, 0); - } - public KW_RIGHT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_RIGHT, 0); - } - public KW_FULL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FULL, 0); +export class CurrentDateContext extends PrimaryExpressionContext { + public _name?: Token | null; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_joinType; + public KW_CURRENT_DATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CURRENT_DATE, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterJoinType) { - listener.enterJoinType(this); + if(listener.enterCurrentDate) { + listener.enterCurrentDate(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitJoinType) { - listener.exitJoinType(this); + if(listener.exitCurrentDate) { + listener.exitCurrentDate(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitJoinType) { - return visitor.visitJoinType(this); + if (visitor.visitCurrentDate) { + return visitor.visitCurrentDate(this); } else { return visitor.visitChildren(this); } } } - - -export class JoinCriteriaContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_ON(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ON, 0); - } - public booleanExpression(): BooleanExpressionContext | null { - return this.getRuleContext(0, BooleanExpressionContext); +export class SubstringContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_USING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_USING, 0); + public KW_SUBSTRING(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SUBSTRING, 0)!; } - public identifier(): IdentifierContext[]; - public identifier(i: number): IdentifierContext | null; - public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + public valueExpression(): ValueExpressionContext[]; + public valueExpression(i: number): ValueExpressionContext | null; + public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(IdentifierContext); + return this.getRuleContexts(ValueExpressionContext); } - return this.getRuleContext(i, IdentifierContext); + return this.getRuleContext(i, ValueExpressionContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_joinCriteria; + public KW_FROM(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + } + public KW_FOR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FOR, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterJoinCriteria) { - listener.enterJoinCriteria(this); + if(listener.enterSubstring) { + listener.enterSubstring(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitJoinCriteria) { - listener.exitJoinCriteria(this); + if(listener.exitSubstring) { + listener.exitSubstring(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitJoinCriteria) { - return visitor.visitJoinCriteria(this); + if (visitor.visitSubstring) { + return visitor.visitSubstring(this); } else { return visitor.visitChildren(this); } } } - - -export class SampledRelationContext extends antlr.ParserRuleContext { - public _percentage?: ExpressionContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class CastContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public patternRecognition(): PatternRecognitionContext { - return this.getRuleContext(0, PatternRecognitionContext)!; + public KW_CAST(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CAST, 0); } - public KW_TABLESAMPLE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TABLESAMPLE, 0); + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } - public sampleType(): SampleTypeContext | null { - return this.getRuleContext(0, SampleTypeContext); + public KW_AS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AS, 0)!; } - public expression(): ExpressionContext | null { - return this.getRuleContext(0, ExpressionContext); + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_sampledRelation; + public KW_TRY_CAST(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TRY_CAST, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSampledRelation) { - listener.enterSampledRelation(this); + if(listener.enterCast) { + listener.enterCast(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSampledRelation) { - listener.exitSampledRelation(this); + if(listener.exitCast) { + listener.exitCast(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSampledRelation) { - return visitor.visitSampledRelation(this); + if (visitor.visitCast) { + return visitor.visitCast(this); } else { return visitor.visitChildren(this); } } } - - -export class SampleTypeContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_BERNOULLI(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_BERNOULLI, 0); +export class LambdaContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_SYSTEM(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SYSTEM, 0); + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_sampleType; + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSampleType) { - listener.enterSampleType(this); + if(listener.enterLambda) { + listener.enterLambda(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSampleType) { - listener.exitSampleType(this); + if(listener.exitLambda) { + listener.exitLambda(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSampleType) { - return visitor.visitSampleType(this); + if (visitor.visitLambda) { + return visitor.visitLambda(this); } else { return visitor.visitChildren(this); } } } - - -export class PatternRecognitionContext extends antlr.ParserRuleContext { - public _expression?: ExpressionContext; - public _partition: ExpressionContext[] = []; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public aliasedRelation(): AliasedRelationContext { - return this.getRuleContext(0, AliasedRelationContext)!; - } - public KW_MATCH_RECOGNIZE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_MATCH_RECOGNIZE, 0); +export class ParenthesizedExpressionContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_PATTERN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PATTERN, 0); + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } - public rowPattern(): RowPatternContext | null { - return this.getRuleContext(0, RowPatternContext); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterParenthesizedExpression) { + listener.enterParenthesizedExpression(this); + } } - public KW_DEFINE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DEFINE, 0); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitParenthesizedExpression) { + listener.exitParenthesizedExpression(this); + } } - public variableDefinition(): VariableDefinitionContext[]; - public variableDefinition(i: number): VariableDefinitionContext | null; - public variableDefinition(i?: number): VariableDefinitionContext[] | VariableDefinitionContext | null { - if (i === undefined) { - return this.getRuleContexts(VariableDefinitionContext); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitParenthesizedExpression) { + return visitor.visitParenthesizedExpression(this); + } else { + return visitor.visitChildren(this); } - - return this.getRuleContext(i, VariableDefinitionContext); } - public KW_PARTITION(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PARTITION, 0); - } - public KW_BY(): antlr.TerminalNode[]; - public KW_BY(i: number): antlr.TerminalNode | null; - public KW_BY(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_BY); - } else { - return this.getToken(TrinoSqlParser.KW_BY, i); - } +} +export class TrimContext extends PrimaryExpressionContext { + public _trimChar?: ValueExpressionContext; + public _trimSource?: ValueExpressionContext; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_ORDER(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ORDER, 0); + public KW_TRIM(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TRIM, 0)!; } - public sortItem(): SortItemContext[]; - public sortItem(i: number): SortItemContext | null; - public sortItem(i?: number): SortItemContext[] | SortItemContext | null { + public valueExpression(): ValueExpressionContext[]; + public valueExpression(i: number): ValueExpressionContext | null; + public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(SortItemContext); + return this.getRuleContexts(ValueExpressionContext); } - return this.getRuleContext(i, SortItemContext); + return this.getRuleContext(i, ValueExpressionContext); } - public KW_MEASURES(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_MEASURES, 0); + public KW_FROM(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FROM, 0); } - public measureDefinition(): MeasureDefinitionContext[]; - public measureDefinition(i: number): MeasureDefinitionContext | null; - public measureDefinition(i?: number): MeasureDefinitionContext[] | MeasureDefinitionContext | null { - if (i === undefined) { - return this.getRuleContexts(MeasureDefinitionContext); - } - - return this.getRuleContext(i, MeasureDefinitionContext); + public trimsSpecification(): TrimsSpecificationContext | null { + return this.getRuleContext(0, TrimsSpecificationContext); } - public rowsPerMatch(): RowsPerMatchContext | null { - return this.getRuleContext(0, RowsPerMatchContext); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterTrim) { + listener.enterTrim(this); + } } - public KW_AFTER(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AFTER, 0); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitTrim) { + listener.exitTrim(this); + } } - public KW_MATCH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_MATCH, 0); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitTrim) { + return visitor.visitTrim(this); + } else { + return visitor.visitChildren(this); + } } - public skipTo(): SkipToContext | null { - return this.getRuleContext(0, SkipToContext); +} +export class ParameterContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_SUBSET(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SUBSET, 0); + public QUESTION_MARK(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.QUESTION_MARK, 0)!; } - public subsetDefinition(): SubsetDefinitionContext[]; - public subsetDefinition(i: number): SubsetDefinitionContext | null; - public subsetDefinition(i?: number): SubsetDefinitionContext[] | SubsetDefinitionContext | null { - if (i === undefined) { - return this.getRuleContexts(SubsetDefinitionContext); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterParameter) { + listener.enterParameter(this); } - - return this.getRuleContext(i, SubsetDefinitionContext); - } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ExpressionContext); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitParameter) { + listener.exitParameter(this); } - - return this.getRuleContext(i, ExpressionContext); } - public KW_INITIAL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_INITIAL, 0); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitParameter) { + return visitor.visitParameter(this); + } else { + return visitor.visitChildren(this); + } } - public KW_SEEK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SEEK, 0); +} +export class NormalizeContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_AS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AS, 0); + public KW_NORMALIZE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_NORMALIZE, 0)!; } - public columnAliases(): ColumnAliasesContext | null { - return this.getRuleContext(0, ColumnAliasesContext); + public valueExpression(): ValueExpressionContext { + return this.getRuleContext(0, ValueExpressionContext)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_patternRecognition; + public normalForm(): NormalFormContext | null { + return this.getRuleContext(0, NormalFormContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPatternRecognition) { - listener.enterPatternRecognition(this); + if(listener.enterNormalize) { + listener.enterNormalize(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPatternRecognition) { - listener.exitPatternRecognition(this); + if(listener.exitNormalize) { + listener.exitNormalize(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPatternRecognition) { - return visitor.visitPatternRecognition(this); + if (visitor.visitNormalize) { + return visitor.visitNormalize(this); } else { return visitor.visitChildren(this); } } } - - -export class MeasureDefinitionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; - } - public KW_AS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AS, 0)!; +export class LocalTimestampContext extends PrimaryExpressionContext { + public _name?: Token | null; + public _precision?: Token | null; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public KW_LOCALTIMESTAMP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_LOCALTIMESTAMP, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_measureDefinition; + public INTEGER_VALUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterMeasureDefinition) { - listener.enterMeasureDefinition(this); + if(listener.enterLocalTimestamp) { + listener.enterLocalTimestamp(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitMeasureDefinition) { - listener.exitMeasureDefinition(this); + if(listener.exitLocalTimestamp) { + listener.exitLocalTimestamp(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitMeasureDefinition) { - return visitor.visitMeasureDefinition(this); + if (visitor.visitLocalTimestamp) { + return visitor.visitLocalTimestamp(this); } else { return visitor.visitChildren(this); } } } +export class JsonObjectContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_JSON_OBJECT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_JSON_OBJECT, 0)!; + } + public jsonObjectMember(): JsonObjectMemberContext[]; + public jsonObjectMember(i: number): JsonObjectMemberContext | null; + public jsonObjectMember(i?: number): JsonObjectMemberContext[] | JsonObjectMemberContext | null { + if (i === undefined) { + return this.getRuleContexts(JsonObjectMemberContext); + } - -export class RowsPerMatchContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + return this.getRuleContext(i, JsonObjectMemberContext); } - public KW_ONE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ONE, 0); + public KW_RETURNING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RETURNING, 0); } - public KW_ROW(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ROW, 0); + public type(): TypeContext | null { + return this.getRuleContext(0, TypeContext); } - public KW_PER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_PER, 0)!; + public KW_NULL(): antlr.TerminalNode[]; + public KW_NULL(i: number): antlr.TerminalNode | null; + public KW_NULL(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_NULL); + } else { + return this.getToken(TrinoSqlParser.KW_NULL, i); + } } - public KW_MATCH(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MATCH, 0)!; + public KW_ON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ON, 0); } - public KW_ALL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ALL, 0); + public KW_ABSENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ABSENT, 0); } - public KW_ROWS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ROWS, 0); + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); } - public emptyMatchHandling(): EmptyMatchHandlingContext | null { - return this.getRuleContext(0, EmptyMatchHandlingContext); + public KW_UNIQUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNIQUE, 0); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_rowsPerMatch; + public KW_WITHOUT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITHOUT, 0); + } + public KW_FORMAT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FORMAT, 0); + } + public jsonRepresentation(): JsonRepresentationContext | null { + return this.getRuleContext(0, JsonRepresentationContext); + } + public KW_KEYS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_KEYS, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRowsPerMatch) { - listener.enterRowsPerMatch(this); + if(listener.enterJsonObject) { + listener.enterJsonObject(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRowsPerMatch) { - listener.exitRowsPerMatch(this); + if(listener.exitJsonObject) { + listener.exitJsonObject(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRowsPerMatch) { - return visitor.visitRowsPerMatch(this); + if (visitor.visitJsonObject) { + return visitor.visitJsonObject(this); } else { return visitor.visitChildren(this); } } } - - -export class EmptyMatchHandlingContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class IntervalLiteralContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_SHOW(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SHOW, 0); + public interval(): IntervalContext { + return this.getRuleContext(0, IntervalContext)!; } - public KW_EMPTY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EMPTY, 0); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterIntervalLiteral) { + listener.enterIntervalLiteral(this); + } } - public KW_MATCHES(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_MATCHES, 0); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitIntervalLiteral) { + listener.exitIntervalLiteral(this); + } } - public KW_OMIT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_OMIT, 0); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitIntervalLiteral) { + return visitor.visitIntervalLiteral(this); + } else { + return visitor.visitChildren(this); + } } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); +} +export class NumericLiteralContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public number(): NumberContext { + return this.getRuleContext(0, NumberContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterNumericLiteral) { + listener.enterNumericLiteral(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitNumericLiteral) { + listener.exitNumericLiteral(this); + } } - public KW_UNMATCHED(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_UNMATCHED, 0); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitNumericLiteral) { + return visitor.visitNumericLiteral(this); + } else { + return visitor.visitChildren(this); + } } - public KW_ROWS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ROWS, 0); +} +export class BooleanLiteralContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_emptyMatchHandling; + public booleanValue(): BooleanValueContext { + return this.getRuleContext(0, BooleanValueContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterEmptyMatchHandling) { - listener.enterEmptyMatchHandling(this); + if(listener.enterBooleanLiteral) { + listener.enterBooleanLiteral(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitEmptyMatchHandling) { - listener.exitEmptyMatchHandling(this); + if(listener.exitBooleanLiteral) { + listener.exitBooleanLiteral(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitEmptyMatchHandling) { - return visitor.visitEmptyMatchHandling(this); + if (visitor.visitBooleanLiteral) { + return visitor.visitBooleanLiteral(this); } else { return visitor.visitChildren(this); } } } - - -export class SkipToContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class JsonArrayContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_TO(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TO, 0); + public KW_JSON_ARRAY(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_JSON_ARRAY, 0)!; } - public KW_NEXT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NEXT, 0); + public jsonValueExpression(): JsonValueExpressionContext[]; + public jsonValueExpression(i: number): JsonValueExpressionContext | null; + public jsonValueExpression(i?: number): JsonValueExpressionContext[] | JsonValueExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(JsonValueExpressionContext); + } + + return this.getRuleContext(i, JsonValueExpressionContext); } - public KW_ROW(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ROW, 0); + public KW_RETURNING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RETURNING, 0); } - public KW_PAST(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PAST, 0); + public type(): TypeContext | null { + return this.getRuleContext(0, TypeContext); } - public KW_LAST(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LAST, 0); + public KW_NULL(): antlr.TerminalNode[]; + public KW_NULL(i: number): antlr.TerminalNode | null; + public KW_NULL(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_NULL); + } else { + return this.getToken(TrinoSqlParser.KW_NULL, i); + } } - public KW_FIRST(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FIRST, 0); + public KW_ON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ON, 0); } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); + public KW_ABSENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ABSENT, 0); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_skipTo; + public KW_FORMAT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FORMAT, 0); + } + public jsonRepresentation(): JsonRepresentationContext | null { + return this.getRuleContext(0, JsonRepresentationContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSkipTo) { - listener.enterSkipTo(this); + if(listener.enterJsonArray) { + listener.enterJsonArray(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSkipTo) { - listener.exitSkipTo(this); + if(listener.exitJsonArray) { + listener.exitJsonArray(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSkipTo) { - return visitor.visitSkipTo(this); + if (visitor.visitJsonArray) { + return visitor.visitJsonArray(this); } else { return visitor.visitChildren(this); } } } - - -export class SubsetDefinitionContext extends antlr.ParserRuleContext { - public _name?: IdentifierContext; - public _identifier?: IdentifierContext; - public _union: IdentifierContext[] = []; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class SimpleCaseContext extends PrimaryExpressionContext { + public _operand?: ExpressionContext; + public _elseExpression?: ExpressionContext; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public EQ(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.EQ, 0)!; + public KW_CASE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CASE, 0)!; } - public identifier(): IdentifierContext[]; - public identifier(i: number): IdentifierContext | null; - public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + public KW_END(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_END, 0)!; + } + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(IdentifierContext); + return this.getRuleContexts(ExpressionContext); } - return this.getRuleContext(i, IdentifierContext); + return this.getRuleContext(i, ExpressionContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_subsetDefinition; + public whenClause(): WhenClauseContext[]; + public whenClause(i: number): WhenClauseContext | null; + public whenClause(i?: number): WhenClauseContext[] | WhenClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(WhenClauseContext); + } + + return this.getRuleContext(i, WhenClauseContext); + } + public KW_ELSE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ELSE, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSubsetDefinition) { - listener.enterSubsetDefinition(this); + if(listener.enterSimpleCase) { + listener.enterSimpleCase(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSubsetDefinition) { - listener.exitSubsetDefinition(this); + if(listener.exitSimpleCase) { + listener.exitSimpleCase(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSubsetDefinition) { - return visitor.visitSubsetDefinition(this); + if (visitor.visitSimpleCase) { + return visitor.visitSimpleCase(this); } else { return visitor.visitChildren(this); } } } - - -export class VariableDefinitionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class ColumnReferenceContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } public identifier(): IdentifierContext { return this.getRuleContext(0, IdentifierContext)!; } - public KW_AS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AS, 0)!; - } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_variableDefinition; - } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterVariableDefinition) { - listener.enterVariableDefinition(this); + if(listener.enterColumnReference) { + listener.enterColumnReference(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitVariableDefinition) { - listener.exitVariableDefinition(this); + if(listener.exitColumnReference) { + listener.exitColumnReference(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitVariableDefinition) { - return visitor.visitVariableDefinition(this); + if (visitor.visitColumnReference) { + return visitor.visitColumnReference(this); } else { return visitor.visitChildren(this); } } } - - -export class AliasedRelationContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public relationPrimary(): RelationPrimaryContext { - return this.getRuleContext(0, RelationPrimaryContext)!; - } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); - } - public KW_AS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AS, 0); - } - public columnAliases(): ColumnAliasesContext | null { - return this.getRuleContext(0, ColumnAliasesContext); +export class NullLiteralContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_aliasedRelation; + public KW_NULL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_NULL, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterAliasedRelation) { - listener.enterAliasedRelation(this); + if(listener.enterNullLiteral) { + listener.enterNullLiteral(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitAliasedRelation) { - listener.exitAliasedRelation(this); + if(listener.exitNullLiteral) { + listener.exitNullLiteral(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitAliasedRelation) { - return visitor.visitAliasedRelation(this); + if (visitor.visitNullLiteral) { + return visitor.visitNullLiteral(this); } else { return visitor.visitChildren(this); } } } - - -export class ColumnListCreateContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class RowConstructorContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public columnNameCreate(): ColumnNameCreateContext[]; - public columnNameCreate(i: number): ColumnNameCreateContext | null; - public columnNameCreate(i?: number): ColumnNameCreateContext[] | ColumnNameCreateContext | null { + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(ColumnNameCreateContext); + return this.getRuleContexts(ExpressionContext); } - return this.getRuleContext(i, ColumnNameCreateContext); + return this.getRuleContext(i, ExpressionContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_columnListCreate; + public KW_ROW(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ROW, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterColumnListCreate) { - listener.enterColumnListCreate(this); + if(listener.enterRowConstructor) { + listener.enterRowConstructor(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitRowConstructor) { + listener.exitRowConstructor(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitRowConstructor) { + return visitor.visitRowConstructor(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class SubscriptContext extends PrimaryExpressionContext { + public _value?: PrimaryExpressionContext; + public _index?: ValueExpressionContext; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public primaryExpression(): PrimaryExpressionContext { + return this.getRuleContext(0, PrimaryExpressionContext)!; + } + public valueExpression(): ValueExpressionContext { + return this.getRuleContext(0, ValueExpressionContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSubscript) { + listener.enterSubscript(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitColumnListCreate) { - listener.exitColumnListCreate(this); + if(listener.exitSubscript) { + listener.exitSubscript(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitColumnListCreate) { - return visitor.visitColumnListCreate(this); + if (visitor.visitSubscript) { + return visitor.visitSubscript(this); } else { return visitor.visitChildren(this); } } } - - -export class ColumnListContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class JsonExistsContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public columnName(): ColumnNameContext[]; - public columnName(i: number): ColumnNameContext | null; - public columnName(i?: number): ColumnNameContext[] | ColumnNameContext | null { - if (i === undefined) { - return this.getRuleContexts(ColumnNameContext); - } - - return this.getRuleContext(i, ColumnNameContext); + public KW_JSON_EXISTS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_JSON_EXISTS, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_columnList; + public jsonPathInvocation(): JsonPathInvocationContext { + return this.getRuleContext(0, JsonPathInvocationContext)!; + } + public jsonExistsErrorBehavior(): JsonExistsErrorBehaviorContext | null { + return this.getRuleContext(0, JsonExistsErrorBehaviorContext); + } + public KW_ON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ON, 0); + } + public KW_ERROR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ERROR, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterColumnList) { - listener.enterColumnList(this); + if(listener.enterJsonExists) { + listener.enterJsonExists(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitColumnList) { - listener.exitColumnList(this); + if(listener.exitJsonExists) { + listener.exitJsonExists(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitColumnList) { - return visitor.visitColumnList(this); + if (visitor.visitJsonExists) { + return visitor.visitJsonExists(this); } else { return visitor.visitChildren(this); } } } - - -export class ColumnAliasesContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public identifier(): IdentifierContext[]; - public identifier(i: number): IdentifierContext | null; - public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { - if (i === undefined) { - return this.getRuleContexts(IdentifierContext); - } - - return this.getRuleContext(i, IdentifierContext); +export class CurrentPathContext extends PrimaryExpressionContext { + public _name?: Token | null; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_columnAliases; + public KW_CURRENT_PATH(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CURRENT_PATH, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterColumnAliases) { - listener.enterColumnAliases(this); + if(listener.enterCurrentPath) { + listener.enterCurrentPath(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitColumnAliases) { - listener.exitColumnAliases(this); + if(listener.exitCurrentPath) { + listener.exitCurrentPath(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitColumnAliases) { - return visitor.visitColumnAliases(this); + if (visitor.visitCurrentPath) { + return visitor.visitCurrentPath(this); } else { return visitor.visitChildren(this); } } } - - -export class RelationPrimaryContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_relationPrimary; - } - public override copyFrom(ctx: RelationPrimaryContext): void { - super.copyFrom(ctx); - } -} -export class SubqueryRelationContext extends RelationPrimaryContext { - public constructor(ctx: RelationPrimaryContext) { +export class SubqueryExpressionContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } @@ -18655,530 +27285,517 @@ export class SubqueryRelationContext extends RelationPrimaryContext { return this.getRuleContext(0, QueryContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSubqueryRelation) { - listener.enterSubqueryRelation(this); + if(listener.enterSubqueryExpression) { + listener.enterSubqueryExpression(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSubqueryRelation) { - listener.exitSubqueryRelation(this); + if(listener.exitSubqueryExpression) { + listener.exitSubqueryExpression(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSubqueryRelation) { - return visitor.visitSubqueryRelation(this); + if (visitor.visitSubqueryExpression) { + return visitor.visitSubqueryExpression(this); } else { return visitor.visitChildren(this); } } } -export class ParenthesizedRelationContext extends RelationPrimaryContext { - public constructor(ctx: RelationPrimaryContext) { +export class BinaryLiteralContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public relation(): RelationContext { - return this.getRuleContext(0, RelationContext)!; + public BINARY_LITERAL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.BINARY_LITERAL, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterParenthesizedRelation) { - listener.enterParenthesizedRelation(this); + if(listener.enterBinaryLiteral) { + listener.enterBinaryLiteral(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitParenthesizedRelation) { - listener.exitParenthesizedRelation(this); + if(listener.exitBinaryLiteral) { + listener.exitBinaryLiteral(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitParenthesizedRelation) { - return visitor.visitParenthesizedRelation(this); + if (visitor.visitBinaryLiteral) { + return visitor.visitBinaryLiteral(this); } else { return visitor.visitChildren(this); } } } -export class UnnestContext extends RelationPrimaryContext { - public constructor(ctx: RelationPrimaryContext) { +export class CurrentTimeContext extends PrimaryExpressionContext { + public _name?: Token | null; + public _precision?: Token | null; + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_UNNEST(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_UNNEST, 0)!; - } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ExpressionContext); - } - - return this.getRuleContext(i, ExpressionContext); - } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); + public KW_CURRENT_TIME(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CURRENT_TIME, 0)!; } - public KW_ORDINALITY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ORDINALITY, 0); + public INTEGER_VALUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterUnnest) { - listener.enterUnnest(this); + if(listener.enterCurrentTime) { + listener.enterCurrentTime(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitUnnest) { - listener.exitUnnest(this); + if(listener.exitCurrentTime) { + listener.exitCurrentTime(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitUnnest) { - return visitor.visitUnnest(this); + if (visitor.visitCurrentTime) { + return visitor.visitCurrentTime(this); } else { return visitor.visitChildren(this); } } } -export class TableOrViewRelationContext extends RelationPrimaryContext { - public constructor(ctx: RelationPrimaryContext) { +export class LocalTimeContext extends PrimaryExpressionContext { + public _name?: Token | null; + public _precision?: Token | null; + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public tableOrViewName(): TableOrViewNameContext { - return this.getRuleContext(0, TableOrViewNameContext)!; + public KW_LOCALTIME(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_LOCALTIME, 0)!; + } + public INTEGER_VALUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTableOrViewRelation) { - listener.enterTableOrViewRelation(this); + if(listener.enterLocalTime) { + listener.enterLocalTime(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTableOrViewRelation) { - listener.exitTableOrViewRelation(this); + if(listener.exitLocalTime) { + listener.exitLocalTime(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTableOrViewRelation) { - return visitor.visitTableOrViewRelation(this); + if (visitor.visitLocalTime) { + return visitor.visitLocalTime(this); } else { return visitor.visitChildren(this); } } } -export class LateralContext extends RelationPrimaryContext { - public constructor(ctx: RelationPrimaryContext) { +export class CurrentUserContext extends PrimaryExpressionContext { + public _name?: Token | null; + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_LATERAL(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_LATERAL, 0)!; - } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; + public KW_CURRENT_USER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CURRENT_USER, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLateral) { - listener.enterLateral(this); + if(listener.enterCurrentUser) { + listener.enterCurrentUser(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLateral) { - listener.exitLateral(this); + if(listener.exitCurrentUser) { + listener.exitCurrentUser(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLateral) { - return visitor.visitLateral(this); + if (visitor.visitCurrentUser) { + return visitor.visitCurrentUser(this); } else { return visitor.visitChildren(this); } } } - - -export class ExpressionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class JsonQueryContext extends PrimaryExpressionContext { + public _emptyBehavior?: JsonQueryBehaviorContext; + public _errorBehavior?: JsonQueryBehaviorContext; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public booleanExpression(): BooleanExpressionContext { - return this.getRuleContext(0, BooleanExpressionContext)!; + public KW_JSON_QUERY(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_JSON_QUERY, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_expression; + public jsonPathInvocation(): JsonPathInvocationContext { + return this.getRuleContext(0, JsonPathInvocationContext)!; } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterExpression) { - listener.enterExpression(this); - } + public KW_RETURNING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RETURNING, 0); } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitExpression) { - listener.exitExpression(this); - } + public type(): TypeContext | null { + return this.getRuleContext(0, TypeContext); } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitExpression) { - return visitor.visitExpression(this); - } else { - return visitor.visitChildren(this); - } + public jsonQueryWrapperBehavior(): JsonQueryWrapperBehaviorContext | null { + return this.getRuleContext(0, JsonQueryWrapperBehaviorContext); } -} - - -export class BooleanExpressionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + public KW_WRAPPER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WRAPPER, 0); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_booleanExpression; + public KW_QUOTES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_QUOTES, 0); } - public override copyFrom(ctx: BooleanExpressionContext): void { - super.copyFrom(ctx); + public KW_ON(): antlr.TerminalNode[]; + public KW_ON(i: number): antlr.TerminalNode | null; + public KW_ON(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ON); + } else { + return this.getToken(TrinoSqlParser.KW_ON, i); + } } -} -export class LogicalNotContext extends BooleanExpressionContext { - public constructor(ctx: BooleanExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_EMPTY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EMPTY, 0); } - public KW_NOT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_NOT, 0)!; + public KW_ERROR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ERROR, 0); } - public booleanExpression(): BooleanExpressionContext { - return this.getRuleContext(0, BooleanExpressionContext)!; + public KW_KEEP(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_KEEP, 0); + } + public KW_OMIT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OMIT, 0); + } + public jsonQueryBehavior(): JsonQueryBehaviorContext[]; + public jsonQueryBehavior(i: number): JsonQueryBehaviorContext | null; + public jsonQueryBehavior(i?: number): JsonQueryBehaviorContext[] | JsonQueryBehaviorContext | null { + if (i === undefined) { + return this.getRuleContexts(JsonQueryBehaviorContext); + } + + return this.getRuleContext(i, JsonQueryBehaviorContext); + } + public KW_FORMAT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FORMAT, 0); + } + public jsonRepresentation(): JsonRepresentationContext | null { + return this.getRuleContext(0, JsonRepresentationContext); + } + public KW_SCALAR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SCALAR, 0); + } + public KW_TEXT_STRING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TEXT_STRING, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLogicalNot) { - listener.enterLogicalNot(this); + if(listener.enterJsonQuery) { + listener.enterJsonQuery(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLogicalNot) { - listener.exitLogicalNot(this); + if(listener.exitJsonQuery) { + listener.exitJsonQuery(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLogicalNot) { - return visitor.visitLogicalNot(this); + if (visitor.visitJsonQuery) { + return visitor.visitJsonQuery(this); } else { return visitor.visitChildren(this); } } } -export class PredicatedContext extends BooleanExpressionContext { - public _valueExpression?: ValueExpressionContext; - public constructor(ctx: BooleanExpressionContext) { +export class MeasureContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public valueExpression(): ValueExpressionContext { - return this.getRuleContext(0, ValueExpressionContext)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public predicate(): PredicateContext | null { - return this.getRuleContext(0, PredicateContext); + public over(): OverContext { + return this.getRuleContext(0, OverContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPredicated) { - listener.enterPredicated(this); + if(listener.enterMeasure) { + listener.enterMeasure(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPredicated) { - listener.exitPredicated(this); + if(listener.exitMeasure) { + listener.exitMeasure(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPredicated) { - return visitor.visitPredicated(this); + if (visitor.visitMeasure) { + return visitor.visitMeasure(this); } else { return visitor.visitChildren(this); } } } -export class LogicalBinaryContext extends BooleanExpressionContext { - public _left?: BooleanExpressionContext; - public _operator?: Token | null; - public _right?: BooleanExpressionContext; - public constructor(ctx: BooleanExpressionContext) { +export class ExtractContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public booleanExpression(): BooleanExpressionContext[]; - public booleanExpression(i: number): BooleanExpressionContext | null; - public booleanExpression(i?: number): BooleanExpressionContext[] | BooleanExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(BooleanExpressionContext); - } - - return this.getRuleContext(i, BooleanExpressionContext); + public KW_EXTRACT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_EXTRACT, 0)!; } - public KW_AND(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AND, 0); + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public KW_OR(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_OR, 0); + public KW_FROM(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + } + public valueExpression(): ValueExpressionContext { + return this.getRuleContext(0, ValueExpressionContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLogicalBinary) { - listener.enterLogicalBinary(this); + if(listener.enterExtract) { + listener.enterExtract(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLogicalBinary) { - listener.exitLogicalBinary(this); + if(listener.exitExtract) { + listener.exitExtract(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLogicalBinary) { - return visitor.visitLogicalBinary(this); + if (visitor.visitExtract) { + return visitor.visitExtract(this); } else { return visitor.visitChildren(this); } } } - - -export class PredicateContext extends antlr.ParserRuleContext { - public value: antlr.ParserRuleContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number, value: antlr.ParserRuleContext) { - super(parent, invokingState); - this.value = value; - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_predicate; - } - public override copyFrom(ctx: PredicateContext): void { - super.copyFrom(ctx); - this.value = ctx.value; - } -} -export class ComparisonContext extends PredicateContext { - public _right?: ValueExpressionContext; - public constructor(ctx: PredicateContext) { - super(ctx.parent, ctx.invokingState, ctx.value); +export class StringLiteralContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public comparisonOperator(): ComparisonOperatorContext { - return this.getRuleContext(0, ComparisonOperatorContext)!; - } - public valueExpression(): ValueExpressionContext { - return this.getRuleContext(0, ValueExpressionContext)!; + public string(): StringContext { + return this.getRuleContext(0, StringContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterComparison) { - listener.enterComparison(this); + if(listener.enterStringLiteral) { + listener.enterStringLiteral(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitComparison) { - listener.exitComparison(this); + if(listener.exitStringLiteral) { + listener.exitStringLiteral(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitComparison) { - return visitor.visitComparison(this); + if (visitor.visitStringLiteral) { + return visitor.visitStringLiteral(this); } else { return visitor.visitChildren(this); } } } -export class LikeContext extends PredicateContext { - public _pattern?: ValueExpressionContext; - public _escape?: ValueExpressionContext; - public constructor(ctx: PredicateContext) { - super(ctx.parent, ctx.invokingState, ctx.value); +export class ArrayConstructorContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_LIKE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_LIKE, 0)!; + public KW_ARRAY(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ARRAY, 0)!; } - public valueExpression(): ValueExpressionContext[]; - public valueExpression(i: number): ValueExpressionContext | null; - public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(ValueExpressionContext); + return this.getRuleContexts(ExpressionContext); } - return this.getRuleContext(i, ValueExpressionContext); - } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); - } - public KW_ESCAPE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ESCAPE, 0); + return this.getRuleContext(i, ExpressionContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLike) { - listener.enterLike(this); + if(listener.enterArrayConstructor) { + listener.enterArrayConstructor(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLike) { - listener.exitLike(this); + if(listener.exitArrayConstructor) { + listener.exitArrayConstructor(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLike) { - return visitor.visitLike(this); + if (visitor.visitArrayConstructor) { + return visitor.visitArrayConstructor(this); } else { return visitor.visitChildren(this); } } } -export class InSubqueryContext extends PredicateContext { - public constructor(ctx: PredicateContext) { - super(ctx.parent, ctx.invokingState, ctx.value); +export class FunctionCallContext extends PrimaryExpressionContext { + public _label?: IdentifierContext; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_IN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_IN, 0)!; + public functionName(): FunctionNameContext { + return this.getRuleContext(0, FunctionNameContext)!; } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; + public ASTERISK(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.ASTERISK, 0); } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); + public processingMode(): ProcessingModeContext | null { + return this.getRuleContext(0, ProcessingModeContext); + } + public filter(): FilterContext | null { + return this.getRuleContext(0, FilterContext); + } + public over(): OverContext | null { + return this.getRuleContext(0, OverContext); + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExpressionContext); + } + + return this.getRuleContext(i, ExpressionContext); + } + public KW_ORDER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ORDER, 0); + } + public KW_BY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BY, 0); + } + public sortItem(): SortItemContext[]; + public sortItem(i: number): SortItemContext | null; + public sortItem(i?: number): SortItemContext[] | SortItemContext | null { + if (i === undefined) { + return this.getRuleContexts(SortItemContext); + } + + return this.getRuleContext(i, SortItemContext); + } + public setQuantifier(): SetQuantifierContext | null { + return this.getRuleContext(0, SetQuantifierContext); + } + public nullTreatment(): NullTreatmentContext | null { + return this.getRuleContext(0, NullTreatmentContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterInSubquery) { - listener.enterInSubquery(this); + if(listener.enterFunctionCall) { + listener.enterFunctionCall(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitInSubquery) { - listener.exitInSubquery(this); + if(listener.exitFunctionCall) { + listener.exitFunctionCall(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitInSubquery) { - return visitor.visitInSubquery(this); + if (visitor.visitFunctionCall) { + return visitor.visitFunctionCall(this); } else { return visitor.visitChildren(this); } } } -export class DistinctFromContext extends PredicateContext { - public _right?: ValueExpressionContext; - public constructor(ctx: PredicateContext) { - super(ctx.parent, ctx.invokingState, ctx.value); +export class CurrentTimestampContext extends PrimaryExpressionContext { + public _name?: Token | null; + public _precision?: Token | null; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_IS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_IS, 0)!; - } - public KW_DISTINCT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DISTINCT, 0)!; - } - public KW_FROM(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FROM, 0)!; - } - public valueExpression(): ValueExpressionContext { - return this.getRuleContext(0, ValueExpressionContext)!; + public KW_CURRENT_TIMESTAMP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CURRENT_TIMESTAMP, 0)!; } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); + public INTEGER_VALUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDistinctFrom) { - listener.enterDistinctFrom(this); + if(listener.enterCurrentTimestamp) { + listener.enterCurrentTimestamp(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDistinctFrom) { - listener.exitDistinctFrom(this); + if(listener.exitCurrentTimestamp) { + listener.exitCurrentTimestamp(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDistinctFrom) { - return visitor.visitDistinctFrom(this); + if (visitor.visitCurrentTimestamp) { + return visitor.visitCurrentTimestamp(this); } else { return visitor.visitChildren(this); } } } -export class InListContext extends PredicateContext { - public constructor(ctx: PredicateContext) { - super(ctx.parent, ctx.invokingState, ctx.value); +export class CurrentSchemaContext extends PrimaryExpressionContext { + public _name?: Token | null; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_IN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_IN, 0)!; - } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ExpressionContext); - } - - return this.getRuleContext(i, ExpressionContext); - } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); + public KW_CURRENT_SCHEMA(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CURRENT_SCHEMA, 0)!; } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterInList) { - listener.enterInList(this); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterCurrentSchema) { + listener.enterCurrentSchema(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitInList) { - listener.exitInList(this); + if(listener.exitCurrentSchema) { + listener.exitCurrentSchema(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitInList) { - return visitor.visitInList(this); + if (visitor.visitCurrentSchema) { + return visitor.visitCurrentSchema(this); } else { return visitor.visitChildren(this); } } } -export class NullPredicateContext extends PredicateContext { - public constructor(ctx: PredicateContext) { - super(ctx.parent, ctx.invokingState, ctx.value); +export class ExistsContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_IS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_IS, 0)!; - } - public KW_NULL(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_NULL, 0)!; + public KW_EXISTS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_EXISTS, 0)!; } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); + public query(): QueryContext { + return this.getRuleContext(0, QueryContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNullPredicate) { - listener.enterNullPredicate(this); + if(listener.enterExists) { + listener.enterExists(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNullPredicate) { - listener.exitNullPredicate(this); + if(listener.exitExists) { + listener.exitExists(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNullPredicate) { - return visitor.visitNullPredicate(this); + if (visitor.visitExists) { + return visitor.visitExists(this); } else { return visitor.visitChildren(this); } } } -export class BetweenContext extends PredicateContext { - public _lower?: ValueExpressionContext; - public _upper?: ValueExpressionContext; - public constructor(ctx: PredicateContext) { - super(ctx.parent, ctx.invokingState, ctx.value); +export class PositionContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_BETWEEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_BETWEEN, 0)!; - } - public KW_AND(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AND, 0)!; + public KW_POSITION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_POSITION, 0)!; } public valueExpression(): ValueExpressionContext[]; public valueExpression(i: number): ValueExpressionContext | null; @@ -19189,245 +27806,365 @@ export class BetweenContext extends PredicateContext { return this.getRuleContext(i, ValueExpressionContext); } - public KW_NOT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NOT, 0); + public KW_IN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_IN, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterBetween) { - listener.enterBetween(this); + if(listener.enterPosition) { + listener.enterPosition(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitBetween) { - listener.exitBetween(this); + if(listener.exitPosition) { + listener.exitPosition(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitBetween) { - return visitor.visitBetween(this); + if (visitor.visitPosition) { + return visitor.visitPosition(this); } else { return visitor.visitChildren(this); } } } -export class QuantifiedComparisonContext extends PredicateContext { - public constructor(ctx: PredicateContext) { - super(ctx.parent, ctx.invokingState, ctx.value); +export class ListaggContext extends PrimaryExpressionContext { + public _name?: Token | null; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public comparisonOperator(): ComparisonOperatorContext { - return this.getRuleContext(0, ComparisonOperatorContext)!; + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } - public comparisonQuantifier(): ComparisonQuantifierContext { - return this.getRuleContext(0, ComparisonQuantifierContext)!; + public KW_LISTAGG(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_LISTAGG, 0)!; } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; + public KW_WITHIN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITHIN, 0); + } + public KW_GROUP(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_GROUP, 0); + } + public KW_ORDER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ORDER, 0); + } + public KW_BY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BY, 0); + } + public sortItem(): SortItemContext[]; + public sortItem(i: number): SortItemContext | null; + public sortItem(i?: number): SortItemContext[] | SortItemContext | null { + if (i === undefined) { + return this.getRuleContexts(SortItemContext); + } + + return this.getRuleContext(i, SortItemContext); + } + public setQuantifier(): SetQuantifierContext | null { + return this.getRuleContext(0, SetQuantifierContext); + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); + } + public KW_ON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ON, 0); + } + public KW_OVERFLOW(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OVERFLOW, 0); + } + public listAggOverflowBehavior(): ListAggOverflowBehaviorContext | null { + return this.getRuleContext(0, ListAggOverflowBehaviorContext); + } + public filter(): FilterContext | null { + return this.getRuleContext(0, FilterContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterQuantifiedComparison) { - listener.enterQuantifiedComparison(this); + if(listener.enterListagg) { + listener.enterListagg(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitQuantifiedComparison) { - listener.exitQuantifiedComparison(this); + if(listener.exitListagg) { + listener.exitListagg(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitQuantifiedComparison) { - return visitor.visitQuantifiedComparison(this); + if (visitor.visitListagg) { + return visitor.visitListagg(this); } else { return visitor.visitChildren(this); } } } +export class SearchedCaseContext extends PrimaryExpressionContext { + public _elseExpression?: ExpressionContext; + public constructor(ctx: PrimaryExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_CASE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CASE, 0)!; + } + public KW_END(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_END, 0)!; + } + public whenClause(): WhenClauseContext[]; + public whenClause(i: number): WhenClauseContext | null; + public whenClause(i?: number): WhenClauseContext[] | WhenClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(WhenClauseContext); + } - -export class ValueExpressionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + return this.getRuleContext(i, WhenClauseContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_valueExpression; + public KW_ELSE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ELSE, 0); } - public override copyFrom(ctx: ValueExpressionContext): void { - super.copyFrom(ctx); + public expression(): ExpressionContext | null { + return this.getRuleContext(0, ExpressionContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterSearchedCase) { + listener.enterSearchedCase(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitSearchedCase) { + listener.exitSearchedCase(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitSearchedCase) { + return visitor.visitSearchedCase(this); + } else { + return visitor.visitChildren(this); + } } } -export class ValueExpressionDefaultContext extends ValueExpressionContext { - public constructor(ctx: ValueExpressionContext) { +export class CurrentCatalogContext extends PrimaryExpressionContext { + public _name?: Token | null; + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public primaryExpression(): PrimaryExpressionContext { - return this.getRuleContext(0, PrimaryExpressionContext)!; + public KW_CURRENT_CATALOG(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CURRENT_CATALOG, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterValueExpressionDefault) { - listener.enterValueExpressionDefault(this); + if(listener.enterCurrentCatalog) { + listener.enterCurrentCatalog(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitValueExpressionDefault) { - listener.exitValueExpressionDefault(this); + if(listener.exitCurrentCatalog) { + listener.exitCurrentCatalog(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitValueExpressionDefault) { - return visitor.visitValueExpressionDefault(this); + if (visitor.visitCurrentCatalog) { + return visitor.visitCurrentCatalog(this); } else { return visitor.visitChildren(this); } } } -export class ConcatenationContext extends ValueExpressionContext { - public _left?: ValueExpressionContext; - public _right?: ValueExpressionContext; - public constructor(ctx: ValueExpressionContext) { +export class GroupingOperationContext extends PrimaryExpressionContext { + public constructor(ctx: PrimaryExpressionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public CONCAT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.CONCAT, 0)!; + public KW_GROUPING(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_GROUPING, 0)!; } - public valueExpression(): ValueExpressionContext[]; - public valueExpression(i: number): ValueExpressionContext | null; - public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { + public qualifiedName(): QualifiedNameContext[]; + public qualifiedName(i: number): QualifiedNameContext | null; + public qualifiedName(i?: number): QualifiedNameContext[] | QualifiedNameContext | null { if (i === undefined) { - return this.getRuleContexts(ValueExpressionContext); + return this.getRuleContexts(QualifiedNameContext); } - return this.getRuleContext(i, ValueExpressionContext); + return this.getRuleContext(i, QualifiedNameContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterConcatenation) { - listener.enterConcatenation(this); + if(listener.enterGroupingOperation) { + listener.enterGroupingOperation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitConcatenation) { - listener.exitConcatenation(this); + if(listener.exitGroupingOperation) { + listener.exitGroupingOperation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitConcatenation) { - return visitor.visitConcatenation(this); + if (visitor.visitGroupingOperation) { + return visitor.visitGroupingOperation(this); } else { return visitor.visitChildren(this); } } } -export class ArithmeticBinaryContext extends ValueExpressionContext { - public _left?: ValueExpressionContext; - public _operator?: Token | null; - public _right?: ValueExpressionContext; - public constructor(ctx: ValueExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class JsonPathInvocationContext extends antlr.ParserRuleContext { + public _path?: StringContext; + public _pathName?: IdentifierContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public jsonValueExpression(): JsonValueExpressionContext { + return this.getRuleContext(0, JsonValueExpressionContext)!; + } + public string(): StringContext { + return this.getRuleContext(0, StringContext)!; + } + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); + } + public KW_PASSING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PASSING, 0); + } + public jsonArgument(): JsonArgumentContext[]; + public jsonArgument(i: number): JsonArgumentContext | null; + public jsonArgument(i?: number): JsonArgumentContext[] | JsonArgumentContext | null { + if (i === undefined) { + return this.getRuleContexts(JsonArgumentContext); + } + + return this.getRuleContext(i, JsonArgumentContext); + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonPathInvocation; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterJsonPathInvocation) { + listener.enterJsonPathInvocation(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitJsonPathInvocation) { + listener.exitJsonPathInvocation(this); + } } - public valueExpression(): ValueExpressionContext[]; - public valueExpression(i: number): ValueExpressionContext | null; - public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ValueExpressionContext); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitJsonPathInvocation) { + return visitor.visitJsonPathInvocation(this); + } else { + return visitor.visitChildren(this); } - - return this.getRuleContext(i, ValueExpressionContext); } - public ASTERISK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.ASTERISK, 0); +} + + +export class JsonValueExpressionContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public SLASH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.SLASH, 0); + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } - public PERCENT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.PERCENT, 0); + public KW_FORMAT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FORMAT, 0); } - public PLUS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.PLUS, 0); + public jsonRepresentation(): JsonRepresentationContext | null { + return this.getRuleContext(0, JsonRepresentationContext); } - public MINUS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.MINUS, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonValueExpression; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterArithmeticBinary) { - listener.enterArithmeticBinary(this); + if(listener.enterJsonValueExpression) { + listener.enterJsonValueExpression(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitArithmeticBinary) { - listener.exitArithmeticBinary(this); + if(listener.exitJsonValueExpression) { + listener.exitJsonValueExpression(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitArithmeticBinary) { - return visitor.visitArithmeticBinary(this); + if (visitor.visitJsonValueExpression) { + return visitor.visitJsonValueExpression(this); } else { return visitor.visitChildren(this); } } } -export class ArithmeticUnaryContext extends ValueExpressionContext { - public _operator?: Token | null; - public constructor(ctx: ValueExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class JsonRepresentationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public valueExpression(): ValueExpressionContext { - return this.getRuleContext(0, ValueExpressionContext)!; + public KW_JSON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_JSON, 0)!; } - public MINUS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.MINUS, 0); + public KW_ENCODING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ENCODING, 0); } - public PLUS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.PLUS, 0); + public KW_UTF8(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UTF8, 0); + } + public KW_UTF16(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UTF16, 0); + } + public KW_UTF32(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UTF32, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonRepresentation; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterArithmeticUnary) { - listener.enterArithmeticUnary(this); + if(listener.enterJsonRepresentation) { + listener.enterJsonRepresentation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitArithmeticUnary) { - listener.exitArithmeticUnary(this); + if(listener.exitJsonRepresentation) { + listener.exitJsonRepresentation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitArithmeticUnary) { - return visitor.visitArithmeticUnary(this); + if (visitor.visitJsonRepresentation) { + return visitor.visitJsonRepresentation(this); } else { return visitor.visitChildren(this); } } } -export class AtTimeZoneContext extends ValueExpressionContext { - public constructor(ctx: ValueExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class JsonArgumentContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public valueExpression(): ValueExpressionContext { - return this.getRuleContext(0, ValueExpressionContext)!; + public jsonValueExpression(): JsonValueExpressionContext { + return this.getRuleContext(0, JsonValueExpressionContext)!; } - public KW_AT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AT, 0)!; + public KW_AS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AS, 0)!; } - public timeZoneSpecifier(): TimeZoneSpecifierContext { - return this.getRuleContext(0, TimeZoneSpecifierContext)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonArgument; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterAtTimeZone) { - listener.enterAtTimeZone(this); + if(listener.enterJsonArgument) { + listener.enterJsonArgument(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitAtTimeZone) { - listener.exitAtTimeZone(this); + if(listener.exitJsonArgument) { + listener.exitJsonArgument(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitAtTimeZone) { - return visitor.visitAtTimeZone(this); + if (visitor.visitJsonArgument) { + return visitor.visitJsonArgument(this); } else { return visitor.visitChildren(this); } @@ -19435,1207 +28172,1358 @@ export class AtTimeZoneContext extends ValueExpressionContext { } -export class PrimaryExpressionContext extends antlr.ParserRuleContext { +export class JsonExistsErrorBehaviorContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_primaryExpression; + public KW_TRUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TRUE, 0); } - public override copyFrom(ctx: PrimaryExpressionContext): void { - super.copyFrom(ctx); + public KW_FALSE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FALSE, 0); } -} -export class DereferenceContext extends PrimaryExpressionContext { - public _base?: PrimaryExpressionContext; - public _fieldName?: IdentifierContext; - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_UNKNOWN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNKNOWN, 0); } - public primaryExpression(): PrimaryExpressionContext { - return this.getRuleContext(0, PrimaryExpressionContext)!; + public KW_ERROR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ERROR, 0); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonExistsErrorBehavior; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDereference) { - listener.enterDereference(this); + if(listener.enterJsonExistsErrorBehavior) { + listener.enterJsonExistsErrorBehavior(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDereference) { - listener.exitDereference(this); + if(listener.exitJsonExistsErrorBehavior) { + listener.exitJsonExistsErrorBehavior(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDereference) { - return visitor.visitDereference(this); + if (visitor.visitJsonExistsErrorBehavior) { + return visitor.visitJsonExistsErrorBehavior(this); } else { return visitor.visitChildren(this); } } } -export class TypeConstructorContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class JsonValueBehaviorContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); + public KW_ERROR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ERROR, 0); } - public string(): StringContext { - return this.getRuleContext(0, StringContext)!; + public KW_NULL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NULL, 0); } - public KW_DOUBLE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DOUBLE, 0); + public KW_DEFAULT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DEFAULT, 0); } - public KW_PRECISION(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PRECISION, 0); + public expression(): ExpressionContext | null { + return this.getRuleContext(0, ExpressionContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonValueBehavior; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTypeConstructor) { - listener.enterTypeConstructor(this); + if(listener.enterJsonValueBehavior) { + listener.enterJsonValueBehavior(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTypeConstructor) { - listener.exitTypeConstructor(this); + if(listener.exitJsonValueBehavior) { + listener.exitJsonValueBehavior(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTypeConstructor) { - return visitor.visitTypeConstructor(this); + if (visitor.visitJsonValueBehavior) { + return visitor.visitJsonValueBehavior(this); } else { return visitor.visitChildren(this); } } } -export class SpecialDateTimeFunctionContext extends PrimaryExpressionContext { - public _name?: Token | null; - public _precision?: Token | null; - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class JsonQueryWrapperBehaviorContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_CURRENT_DATE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_CURRENT_DATE, 0); + public KW_WITHOUT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITHOUT, 0); } - public KW_CURRENT_TIME(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_CURRENT_TIME, 0); + public KW_ARRAY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ARRAY, 0); } - public INTEGER_VALUE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); } - public KW_CURRENT_TIMESTAMP(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_CURRENT_TIMESTAMP, 0); + public KW_CONDITIONAL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CONDITIONAL, 0); } - public KW_LOCALTIME(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LOCALTIME, 0); + public KW_UNCONDITIONAL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNCONDITIONAL, 0); } - public KW_LOCALTIMESTAMP(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LOCALTIMESTAMP, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonQueryWrapperBehavior; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSpecialDateTimeFunction) { - listener.enterSpecialDateTimeFunction(this); + if(listener.enterJsonQueryWrapperBehavior) { + listener.enterJsonQueryWrapperBehavior(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSpecialDateTimeFunction) { - listener.exitSpecialDateTimeFunction(this); + if(listener.exitJsonQueryWrapperBehavior) { + listener.exitJsonQueryWrapperBehavior(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSpecialDateTimeFunction) { - return visitor.visitSpecialDateTimeFunction(this); + if (visitor.visitJsonQueryWrapperBehavior) { + return visitor.visitJsonQueryWrapperBehavior(this); } else { return visitor.visitChildren(this); } } } -export class SubstringContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class JsonQueryBehaviorContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_SUBSTRING(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SUBSTRING, 0)!; + public KW_ERROR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ERROR, 0); } - public valueExpression(): ValueExpressionContext[]; - public valueExpression(i: number): ValueExpressionContext | null; - public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ValueExpressionContext); - } - - return this.getRuleContext(i, ValueExpressionContext); + public KW_NULL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NULL, 0); } - public KW_FROM(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + public KW_EMPTY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EMPTY, 0); } - public KW_FOR(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FOR, 0); + public KW_ARRAY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ARRAY, 0); + } + public KW_OBJECT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OBJECT, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonQueryBehavior; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSubstring) { - listener.enterSubstring(this); + if(listener.enterJsonQueryBehavior) { + listener.enterJsonQueryBehavior(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSubstring) { - listener.exitSubstring(this); + if(listener.exitJsonQueryBehavior) { + listener.exitJsonQueryBehavior(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSubstring) { - return visitor.visitSubstring(this); + if (visitor.visitJsonQueryBehavior) { + return visitor.visitJsonQueryBehavior(this); } else { return visitor.visitChildren(this); } } } -export class CastContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_CAST(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_CAST, 0); + + +export class JsonObjectMemberContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } public expression(): ExpressionContext { return this.getRuleContext(0, ExpressionContext)!; } - public KW_AS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AS, 0)!; + public KW_VALUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_VALUE, 0); } - public type(): TypeContext { - return this.getRuleContext(0, TypeContext)!; + public jsonValueExpression(): JsonValueExpressionContext { + return this.getRuleContext(0, JsonValueExpressionContext)!; } - public KW_TRY_CAST(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TRY_CAST, 0); + public KW_KEY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_KEY, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_jsonObjectMember; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCast) { - listener.enterCast(this); + if(listener.enterJsonObjectMember) { + listener.enterJsonObjectMember(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCast) { - listener.exitCast(this); + if(listener.exitJsonObjectMember) { + listener.exitJsonObjectMember(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCast) { - return visitor.visitCast(this); + if (visitor.visitJsonObjectMember) { + return visitor.visitJsonObjectMember(this); } else { return visitor.visitChildren(this); } } } -export class LambdaContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public identifier(): IdentifierContext[]; - public identifier(i: number): IdentifierContext | null; - public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { - if (i === undefined) { - return this.getRuleContexts(IdentifierContext); - } - return this.getRuleContext(i, IdentifierContext); + +export class ProcessingModeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; + public KW_RUNNING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RUNNING, 0); + } + public KW_FINAL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FINAL, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_processingMode; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLambda) { - listener.enterLambda(this); + if(listener.enterProcessingMode) { + listener.enterProcessingMode(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLambda) { - listener.exitLambda(this); + if(listener.exitProcessingMode) { + listener.exitProcessingMode(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLambda) { - return visitor.visitLambda(this); + if (visitor.visitProcessingMode) { + return visitor.visitProcessingMode(this); } else { return visitor.visitChildren(this); } } } -export class ParenthesizedExpressionContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class NullTreatmentContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; + public KW_IGNORE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IGNORE, 0); + } + public KW_NULLS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_NULLS, 0)!; + } + public KW_RESPECT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RESPECT, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_nullTreatment; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterParenthesizedExpression) { - listener.enterParenthesizedExpression(this); + if(listener.enterNullTreatment) { + listener.enterNullTreatment(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitParenthesizedExpression) { - listener.exitParenthesizedExpression(this); + if(listener.exitNullTreatment) { + listener.exitNullTreatment(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitParenthesizedExpression) { - return visitor.visitParenthesizedExpression(this); + if (visitor.visitNullTreatment) { + return visitor.visitNullTreatment(this); } else { return visitor.visitChildren(this); } } } -export class ParameterContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { + + +export class StringContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_string; + } + public override copyFrom(ctx: StringContext): void { + super.copyFrom(ctx); + } +} +export class UnicodeStringLiteralContext extends StringContext { + public constructor(ctx: StringContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public QUESTION_MARK(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.QUESTION_MARK, 0)!; + public UNICODE_STRING(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.UNICODE_STRING, 0)!; + } + public KW_UESCAPE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UESCAPE, 0); + } + public STRING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.STRING, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterParameter) { - listener.enterParameter(this); + if(listener.enterUnicodeStringLiteral) { + listener.enterUnicodeStringLiteral(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitParameter) { - listener.exitParameter(this); + if(listener.exitUnicodeStringLiteral) { + listener.exitUnicodeStringLiteral(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitParameter) { - return visitor.visitParameter(this); + if (visitor.visitUnicodeStringLiteral) { + return visitor.visitUnicodeStringLiteral(this); } else { return visitor.visitChildren(this); } } } -export class NormalizeContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { +export class BasicStringLiteralContext extends StringContext { + public constructor(ctx: StringContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_NORMALIZE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_NORMALIZE, 0)!; - } - public valueExpression(): ValueExpressionContext { - return this.getRuleContext(0, ValueExpressionContext)!; - } - public normalForm(): NormalFormContext | null { - return this.getRuleContext(0, NormalFormContext); + public STRING(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.STRING, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNormalize) { - listener.enterNormalize(this); + if(listener.enterBasicStringLiteral) { + listener.enterBasicStringLiteral(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNormalize) { - listener.exitNormalize(this); + if(listener.exitBasicStringLiteral) { + listener.exitBasicStringLiteral(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNormalize) { - return visitor.visitNormalize(this); + if (visitor.visitBasicStringLiteral) { + return visitor.visitBasicStringLiteral(this); } else { return visitor.visitChildren(this); } } } -export class IntervalLiteralContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { + + +export class TimeZoneSpecifierContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_timeZoneSpecifier; + } + public override copyFrom(ctx: TimeZoneSpecifierContext): void { + super.copyFrom(ctx); + } +} +export class TimeZoneIntervalContext extends TimeZoneSpecifierContext { + public constructor(ctx: TimeZoneSpecifierContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } + public KW_TIME(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TIME, 0)!; + } + public KW_ZONE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ZONE, 0)!; + } public interval(): IntervalContext { return this.getRuleContext(0, IntervalContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterIntervalLiteral) { - listener.enterIntervalLiteral(this); + if(listener.enterTimeZoneInterval) { + listener.enterTimeZoneInterval(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitIntervalLiteral) { - listener.exitIntervalLiteral(this); + if(listener.exitTimeZoneInterval) { + listener.exitTimeZoneInterval(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitIntervalLiteral) { - return visitor.visitIntervalLiteral(this); + if (visitor.visitTimeZoneInterval) { + return visitor.visitTimeZoneInterval(this); } else { return visitor.visitChildren(this); } } } -export class NumericLiteralContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { +export class TimeZoneStringContext extends TimeZoneSpecifierContext { + public constructor(ctx: TimeZoneSpecifierContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public number(): NumberContext { - return this.getRuleContext(0, NumberContext)!; + public KW_TIME(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TIME, 0)!; + } + public KW_ZONE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ZONE, 0)!; + } + public string(): StringContext { + return this.getRuleContext(0, StringContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNumericLiteral) { - listener.enterNumericLiteral(this); + if(listener.enterTimeZoneString) { + listener.enterTimeZoneString(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNumericLiteral) { - listener.exitNumericLiteral(this); + if(listener.exitTimeZoneString) { + listener.exitTimeZoneString(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNumericLiteral) { - return visitor.visitNumericLiteral(this); + if (visitor.visitTimeZoneString) { + return visitor.visitTimeZoneString(this); } else { return visitor.visitChildren(this); } } } -export class BooleanLiteralContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class ComparisonOperatorContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public booleanValue(): BooleanValueContext { - return this.getRuleContext(0, BooleanValueContext)!; + public EQ(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.EQ, 0); + } + public NEQ(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.NEQ, 0); + } + public LT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.LT, 0); + } + public LTE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.LTE, 0); + } + public GT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.GT, 0); + } + public GTE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.GTE, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_comparisonOperator; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterBooleanLiteral) { - listener.enterBooleanLiteral(this); + if(listener.enterComparisonOperator) { + listener.enterComparisonOperator(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitBooleanLiteral) { - listener.exitBooleanLiteral(this); + if(listener.exitComparisonOperator) { + listener.exitComparisonOperator(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitBooleanLiteral) { - return visitor.visitBooleanLiteral(this); + if (visitor.visitComparisonOperator) { + return visitor.visitComparisonOperator(this); } else { return visitor.visitChildren(this); } } } -export class SimpleCaseContext extends PrimaryExpressionContext { - public _operand?: ExpressionContext; - public _elseExpression?: ExpressionContext; - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_CASE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CASE, 0)!; - } - public KW_END(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_END, 0)!; - } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ExpressionContext); - } - return this.getRuleContext(i, ExpressionContext); - } - public whenClause(): WhenClauseContext[]; - public whenClause(i: number): WhenClauseContext | null; - public whenClause(i?: number): WhenClauseContext[] | WhenClauseContext | null { - if (i === undefined) { - return this.getRuleContexts(WhenClauseContext); - } - return this.getRuleContext(i, WhenClauseContext); - } - public KW_ELSE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ELSE, 0); - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSimpleCase) { - listener.enterSimpleCase(this); - } +export class ComparisonQuantifierContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSimpleCase) { - listener.exitSimpleCase(this); - } + public KW_ALL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ALL, 0); } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSimpleCase) { - return visitor.visitSimpleCase(this); - } else { - return visitor.visitChildren(this); - } + public KW_SOME(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SOME, 0); } -} -export class ColumnReferenceContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_ANY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ANY, 0); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_comparisonQuantifier; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterColumnReference) { - listener.enterColumnReference(this); + if(listener.enterComparisonQuantifier) { + listener.enterComparisonQuantifier(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitColumnReference) { - listener.exitColumnReference(this); + if(listener.exitComparisonQuantifier) { + listener.exitComparisonQuantifier(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitColumnReference) { - return visitor.visitColumnReference(this); + if (visitor.visitComparisonQuantifier) { + return visitor.visitComparisonQuantifier(this); } else { return visitor.visitChildren(this); } } } -export class NullLiteralContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class BooleanValueContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_NULL(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_NULL, 0)!; + public KW_TRUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TRUE, 0); + } + public KW_FALSE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FALSE, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_booleanValue; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNullLiteral) { - listener.enterNullLiteral(this); + if(listener.enterBooleanValue) { + listener.enterBooleanValue(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNullLiteral) { - listener.exitNullLiteral(this); + if(listener.exitBooleanValue) { + listener.exitBooleanValue(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNullLiteral) { - return visitor.visitNullLiteral(this); + if (visitor.visitBooleanValue) { + return visitor.visitBooleanValue(this); } else { return visitor.visitChildren(this); } } } -export class RowConstructorContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class IntervalContext extends antlr.ParserRuleContext { + public _sign?: Token | null; + public _from_?: IntervalFieldContext; + public _to?: IntervalFieldContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + public KW_INTERVAL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_INTERVAL, 0)!; + } + public string(): StringContext { + return this.getRuleContext(0, StringContext)!; + } + public intervalField(): IntervalFieldContext[]; + public intervalField(i: number): IntervalFieldContext | null; + public intervalField(i?: number): IntervalFieldContext[] | IntervalFieldContext | null { if (i === undefined) { - return this.getRuleContexts(ExpressionContext); + return this.getRuleContexts(IntervalFieldContext); } - return this.getRuleContext(i, ExpressionContext); + return this.getRuleContext(i, IntervalFieldContext); } - public KW_ROW(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ROW, 0); + public KW_TO(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TO, 0); + } + public PLUS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.PLUS, 0); + } + public MINUS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.MINUS, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_interval; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRowConstructor) { - listener.enterRowConstructor(this); + if(listener.enterInterval) { + listener.enterInterval(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRowConstructor) { - listener.exitRowConstructor(this); + if(listener.exitInterval) { + listener.exitInterval(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRowConstructor) { - return visitor.visitRowConstructor(this); + if (visitor.visitInterval) { + return visitor.visitInterval(this); } else { return visitor.visitChildren(this); } } } -export class SubscriptContext extends PrimaryExpressionContext { - public _value?: PrimaryExpressionContext; - public _index?: ValueExpressionContext; - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class IntervalFieldContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public primaryExpression(): PrimaryExpressionContext { - return this.getRuleContext(0, PrimaryExpressionContext)!; + public KW_YEAR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_YEAR, 0); } - public valueExpression(): ValueExpressionContext { - return this.getRuleContext(0, ValueExpressionContext)!; + public KW_MONTH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_MONTH, 0); } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSubscript) { - listener.enterSubscript(this); - } + public KW_DAY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DAY, 0); } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSubscript) { - listener.exitSubscript(this); - } + public KW_HOUR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_HOUR, 0); } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSubscript) { - return visitor.visitSubscript(this); - } else { - return visitor.visitChildren(this); - } + public KW_MINUTE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_MINUTE, 0); } -} -export class CurrentPathContext extends PrimaryExpressionContext { - public _name?: Token | null; - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_SECOND(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SECOND, 0); } - public KW_CURRENT_PATH(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CURRENT_PATH, 0)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_intervalField; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCurrentPath) { - listener.enterCurrentPath(this); + if(listener.enterIntervalField) { + listener.enterIntervalField(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCurrentPath) { - listener.exitCurrentPath(this); + if(listener.exitIntervalField) { + listener.exitIntervalField(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCurrentPath) { - return visitor.visitCurrentPath(this); + if (visitor.visitIntervalField) { + return visitor.visitIntervalField(this); } else { return visitor.visitChildren(this); } } } -export class SubqueryExpressionContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class NormalFormContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; + public KW_NFD(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NFD, 0); + } + public KW_NFC(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NFC, 0); + } + public KW_NFKD(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NFKD, 0); + } + public KW_NFKC(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NFKC, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_normalForm; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSubqueryExpression) { - listener.enterSubqueryExpression(this); + if(listener.enterNormalForm) { + listener.enterNormalForm(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSubqueryExpression) { - listener.exitSubqueryExpression(this); + if(listener.exitNormalForm) { + listener.exitNormalForm(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSubqueryExpression) { - return visitor.visitSubqueryExpression(this); + if (visitor.visitNormalForm) { + return visitor.visitNormalForm(this); } else { return visitor.visitChildren(this); } } } -export class BinaryLiteralContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { + + +export class TypeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_type; + } + public override copyFrom(ctx: TypeContext): void { + super.copyFrom(ctx); + } +} +export class RowTypeContext extends TypeContext { + public constructor(ctx: TypeContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public BINARY_LITERAL(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.BINARY_LITERAL, 0)!; + public KW_ROW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ROW, 0)!; + } + public rowField(): RowFieldContext[]; + public rowField(i: number): RowFieldContext | null; + public rowField(i?: number): RowFieldContext[] | RowFieldContext | null { + if (i === undefined) { + return this.getRuleContexts(RowFieldContext); + } + + return this.getRuleContext(i, RowFieldContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterBinaryLiteral) { - listener.enterBinaryLiteral(this); + if(listener.enterRowType) { + listener.enterRowType(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitBinaryLiteral) { - listener.exitBinaryLiteral(this); + if(listener.exitRowType) { + listener.exitRowType(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitBinaryLiteral) { - return visitor.visitBinaryLiteral(this); + if (visitor.visitRowType) { + return visitor.visitRowType(this); } else { return visitor.visitChildren(this); } } } -export class CurrentUserContext extends PrimaryExpressionContext { - public _name?: Token | null; - public constructor(ctx: PrimaryExpressionContext) { +export class IntervalTypeContext extends TypeContext { + public _from_?: IntervalFieldContext; + public _to?: IntervalFieldContext; + public constructor(ctx: TypeContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_CURRENT_USER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CURRENT_USER, 0)!; + public KW_INTERVAL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_INTERVAL, 0)!; + } + public intervalField(): IntervalFieldContext[]; + public intervalField(i: number): IntervalFieldContext | null; + public intervalField(i?: number): IntervalFieldContext[] | IntervalFieldContext | null { + if (i === undefined) { + return this.getRuleContexts(IntervalFieldContext); + } + + return this.getRuleContext(i, IntervalFieldContext); + } + public KW_TO(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TO, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCurrentUser) { - listener.enterCurrentUser(this); + if(listener.enterIntervalType) { + listener.enterIntervalType(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCurrentUser) { - listener.exitCurrentUser(this); + if(listener.exitIntervalType) { + listener.exitIntervalType(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCurrentUser) { - return visitor.visitCurrentUser(this); + if (visitor.visitIntervalType) { + return visitor.visitIntervalType(this); } else { return visitor.visitChildren(this); } } } -export class MeasureContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { +export class ArrayTypeContext extends TypeContext { + public constructor(ctx: TypeContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; } - public over(): OverContext { - return this.getRuleContext(0, OverContext)!; + public KW_ARRAY(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ARRAY, 0)!; + } + public INTEGER_VALUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterMeasure) { - listener.enterMeasure(this); + if(listener.enterArrayType) { + listener.enterArrayType(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitMeasure) { - listener.exitMeasure(this); + if(listener.exitArrayType) { + listener.exitArrayType(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitMeasure) { - return visitor.visitMeasure(this); + if (visitor.visitArrayType) { + return visitor.visitArrayType(this); } else { return visitor.visitChildren(this); } } } -export class ExtractContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { +export class DoublePrecisionTypeContext extends TypeContext { + public constructor(ctx: TypeContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_EXTRACT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_EXTRACT, 0)!; - } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; - } - public KW_FROM(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FROM, 0)!; + public KW_DOUBLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DOUBLE, 0)!; } - public valueExpression(): ValueExpressionContext { - return this.getRuleContext(0, ValueExpressionContext)!; + public KW_PRECISION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_PRECISION, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterExtract) { - listener.enterExtract(this); + if(listener.enterDoublePrecisionType) { + listener.enterDoublePrecisionType(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitExtract) { - listener.exitExtract(this); + if(listener.exitDoublePrecisionType) { + listener.exitDoublePrecisionType(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitExtract) { - return visitor.visitExtract(this); + if (visitor.visitDoublePrecisionType) { + return visitor.visitDoublePrecisionType(this); } else { return visitor.visitChildren(this); } } } -export class StringLiteralContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { +export class LegacyArrayTypeContext extends TypeContext { + public constructor(ctx: TypeContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public string(): StringContext { - return this.getRuleContext(0, StringContext)!; + public KW_ARRAY(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ARRAY, 0)!; + } + public LT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.LT, 0)!; + } + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; + } + public GT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.GT, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterStringLiteral) { - listener.enterStringLiteral(this); + if(listener.enterLegacyArrayType) { + listener.enterLegacyArrayType(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitStringLiteral) { - listener.exitStringLiteral(this); + if(listener.exitLegacyArrayType) { + listener.exitLegacyArrayType(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitStringLiteral) { - return visitor.visitStringLiteral(this); + if (visitor.visitLegacyArrayType) { + return visitor.visitLegacyArrayType(this); } else { return visitor.visitChildren(this); } } } -export class ArrayConstructorContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { +export class GenericTypeContext extends TypeContext { + public constructor(ctx: TypeContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_ARRAY(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ARRAY, 0)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + public typeParameter(): TypeParameterContext[]; + public typeParameter(i: number): TypeParameterContext | null; + public typeParameter(i?: number): TypeParameterContext[] | TypeParameterContext | null { if (i === undefined) { - return this.getRuleContexts(ExpressionContext); + return this.getRuleContexts(TypeParameterContext); } - return this.getRuleContext(i, ExpressionContext); + return this.getRuleContext(i, TypeParameterContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterArrayConstructor) { - listener.enterArrayConstructor(this); + if(listener.enterGenericType) { + listener.enterGenericType(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitArrayConstructor) { - listener.exitArrayConstructor(this); + if(listener.exitGenericType) { + listener.exitGenericType(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitArrayConstructor) { - return visitor.visitArrayConstructor(this); + if (visitor.visitGenericType) { + return visitor.visitGenericType(this); } else { return visitor.visitChildren(this); } } } -export class FunctionCallContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { +export class DateTimeTypeContext extends TypeContext { + public _base?: Token | null; + public _precision?: TypeParameterContext; + public constructor(ctx: TypeContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public functionName(): FunctionNameContext { - return this.getRuleContext(0, FunctionNameContext)!; - } - public ASTERISK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.ASTERISK, 0); - } - public filter(): FilterContext | null { - return this.getRuleContext(0, FilterContext); - } - public over(): OverContext | null { - return this.getRuleContext(0, OverContext); - } - public processingMode(): ProcessingModeContext | null { - return this.getRuleContext(0, ProcessingModeContext); - } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ExpressionContext); - } - - return this.getRuleContext(i, ExpressionContext); + public KW_TIMESTAMP(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TIMESTAMP, 0); } - public KW_ORDER(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ORDER, 0); + public KW_WITHOUT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITHOUT, 0); } - public KW_BY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_BY, 0); + public KW_TIME(): antlr.TerminalNode[]; + public KW_TIME(i: number): antlr.TerminalNode | null; + public KW_TIME(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_TIME); + } else { + return this.getToken(TrinoSqlParser.KW_TIME, i); + } } - public sortItem(): SortItemContext[]; - public sortItem(i: number): SortItemContext | null; - public sortItem(i?: number): SortItemContext[] | SortItemContext | null { - if (i === undefined) { - return this.getRuleContexts(SortItemContext); - } - - return this.getRuleContext(i, SortItemContext); + public KW_ZONE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ZONE, 0); } - public setQuantifier(): SetQuantifierContext | null { - return this.getRuleContext(0, SetQuantifierContext); + public typeParameter(): TypeParameterContext | null { + return this.getRuleContext(0, TypeParameterContext); } - public nullTreatment(): NullTreatmentContext | null { - return this.getRuleContext(0, NullTreatmentContext); + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterFunctionCall) { - listener.enterFunctionCall(this); + if(listener.enterDateTimeType) { + listener.enterDateTimeType(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitFunctionCall) { - listener.exitFunctionCall(this); + if(listener.exitDateTimeType) { + listener.exitDateTimeType(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitFunctionCall) { - return visitor.visitFunctionCall(this); + if (visitor.visitDateTimeType) { + return visitor.visitDateTimeType(this); } else { return visitor.visitChildren(this); } } } -export class CurrentSchemaContext extends PrimaryExpressionContext { - public _name?: Token | null; - public constructor(ctx: PrimaryExpressionContext) { +export class LegacyMapTypeContext extends TypeContext { + public _keyType?: TypeContext; + public _valueType?: TypeContext; + public constructor(ctx: TypeContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_CURRENT_SCHEMA(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CURRENT_SCHEMA, 0)!; + public KW_MAP(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MAP, 0)!; } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCurrentSchema) { - listener.enterCurrentSchema(this); + public LT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.LT, 0)!; + } + public GT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.GT, 0)!; + } + public type_(): TypeContext[]; + public type_(i: number): TypeContext | null; + public type_(i?: number): TypeContext[] | TypeContext | null { + if (i === undefined) { + return this.getRuleContexts(TypeContext); + } + + return this.getRuleContext(i, TypeContext); + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterLegacyMapType) { + listener.enterLegacyMapType(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCurrentSchema) { - listener.exitCurrentSchema(this); + if(listener.exitLegacyMapType) { + listener.exitLegacyMapType(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCurrentSchema) { - return visitor.visitCurrentSchema(this); + if (visitor.visitLegacyMapType) { + return visitor.visitLegacyMapType(this); } else { return visitor.visitChildren(this); } } } -export class ExistsContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class RowFieldContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_EXISTS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_EXISTS, 0)!; + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; } - public query(): QueryContext { - return this.getRuleContext(0, QueryContext)!; + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_rowField; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterExists) { - listener.enterExists(this); + if(listener.enterRowField) { + listener.enterRowField(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitExists) { - listener.exitExists(this); + if(listener.exitRowField) { + listener.exitRowField(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitExists) { - return visitor.visitExists(this); + if (visitor.visitRowField) { + return visitor.visitRowField(this); } else { return visitor.visitChildren(this); } } } -export class PositionContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class TypeParameterContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_POSITION(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_POSITION, 0)!; + public INTEGER_VALUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); } - public valueExpression(): ValueExpressionContext[]; - public valueExpression(i: number): ValueExpressionContext | null; - public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ValueExpressionContext); - } - - return this.getRuleContext(i, ValueExpressionContext); + public type(): TypeContext | null { + return this.getRuleContext(0, TypeContext); } - public KW_IN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_IN, 0)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_typeParameter; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPosition) { - listener.enterPosition(this); + if(listener.enterTypeParameter) { + listener.enterTypeParameter(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPosition) { - listener.exitPosition(this); + if(listener.exitTypeParameter) { + listener.exitTypeParameter(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPosition) { - return visitor.visitPosition(this); + if (visitor.visitTypeParameter) { + return visitor.visitTypeParameter(this); } else { return visitor.visitChildren(this); } } } -export class SearchedCaseContext extends PrimaryExpressionContext { - public _elseExpression?: ExpressionContext; - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class WhenClauseContext extends antlr.ParserRuleContext { + public _condition?: ExpressionContext; + public _result?: ExpressionContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_CASE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CASE, 0)!; + public KW_WHEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_WHEN, 0)!; } - public KW_END(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_END, 0)!; + public KW_THEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_THEN, 0)!; } - public whenClause(): WhenClauseContext[]; - public whenClause(i: number): WhenClauseContext | null; - public whenClause(i?: number): WhenClauseContext[] | WhenClauseContext | null { + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(WhenClauseContext); + return this.getRuleContexts(ExpressionContext); } - return this.getRuleContext(i, WhenClauseContext); - } - public KW_ELSE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ELSE, 0); + return this.getRuleContext(i, ExpressionContext); } - public expression(): ExpressionContext | null { - return this.getRuleContext(0, ExpressionContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_whenClause; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSearchedCase) { - listener.enterSearchedCase(this); + if(listener.enterWhenClause) { + listener.enterWhenClause(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSearchedCase) { - listener.exitSearchedCase(this); + if(listener.exitWhenClause) { + listener.exitWhenClause(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSearchedCase) { - return visitor.visitSearchedCase(this); + if (visitor.visitWhenClause) { + return visitor.visitWhenClause(this); } else { return visitor.visitChildren(this); } } } -export class CurrentCatalogContext extends PrimaryExpressionContext { - public _name?: Token | null; - public constructor(ctx: PrimaryExpressionContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class FilterContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_CURRENT_CATALOG(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CURRENT_CATALOG, 0)!; + public KW_FILTER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FILTER, 0)!; + } + public KW_WHERE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_WHERE, 0)!; + } + public booleanExpression(): BooleanExpressionContext { + return this.getRuleContext(0, BooleanExpressionContext)!; + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_filter; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCurrentCatalog) { - listener.enterCurrentCatalog(this); + if(listener.enterFilter) { + listener.enterFilter(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCurrentCatalog) { - listener.exitCurrentCatalog(this); + if(listener.exitFilter) { + listener.exitFilter(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCurrentCatalog) { - return visitor.visitCurrentCatalog(this); + if (visitor.visitFilter) { + return visitor.visitFilter(this); } else { return visitor.visitChildren(this); } } } -export class GroupingOperationContext extends PrimaryExpressionContext { - public constructor(ctx: PrimaryExpressionContext) { + + +export class MergeCaseContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_mergeCase; + } + public override copyFrom(ctx: MergeCaseContext): void { + super.copyFrom(ctx); + } +} +export class MergeInsertContext extends MergeCaseContext { + public _condition?: ExpressionContext; + public _identifier?: IdentifierContext; + public _targets: IdentifierContext[] = []; + public _expression?: ExpressionContext; + public _values: ExpressionContext[] = []; + public constructor(ctx: MergeCaseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_GROUPING(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_GROUPING, 0)!; + public KW_WHEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_WHEN, 0)!; } - public qualifiedName(): QualifiedNameContext[]; - public qualifiedName(i: number): QualifiedNameContext | null; - public qualifiedName(i?: number): QualifiedNameContext[] | QualifiedNameContext | null { - if (i === undefined) { - return this.getRuleContexts(QualifiedNameContext); - } - - return this.getRuleContext(i, QualifiedNameContext); + public KW_NOT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_NOT, 0)!; } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterGroupingOperation) { - listener.enterGroupingOperation(this); - } + public KW_MATCHED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MATCHED, 0)!; } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitGroupingOperation) { - listener.exitGroupingOperation(this); - } + public KW_THEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_THEN, 0)!; } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitGroupingOperation) { - return visitor.visitGroupingOperation(this); - } else { - return visitor.visitChildren(this); - } + public KW_INSERT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_INSERT, 0)!; } -} - - -export class ProcessingModeContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + public KW_VALUES(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_VALUES, 0)!; } - public KW_RUNNING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_RUNNING, 0); + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExpressionContext); + } + + return this.getRuleContext(i, ExpressionContext); } - public KW_FINAL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FINAL, 0); + public KW_AND(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AND, 0); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_processingMode; + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterProcessingMode) { - listener.enterProcessingMode(this); + if(listener.enterMergeInsert) { + listener.enterMergeInsert(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitProcessingMode) { - listener.exitProcessingMode(this); + if(listener.exitMergeInsert) { + listener.exitMergeInsert(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitProcessingMode) { - return visitor.visitProcessingMode(this); + if (visitor.visitMergeInsert) { + return visitor.visitMergeInsert(this); } else { return visitor.visitChildren(this); } } } - - -export class NullTreatmentContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class MergeUpdateContext extends MergeCaseContext { + public _condition?: ExpressionContext; + public _identifier?: IdentifierContext; + public _targets: IdentifierContext[] = []; + public _expression?: ExpressionContext; + public _values: ExpressionContext[] = []; + public constructor(ctx: MergeCaseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_IGNORE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IGNORE, 0); + public KW_WHEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_WHEN, 0)!; } - public KW_NULLS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_NULLS, 0)!; + public KW_MATCHED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MATCHED, 0)!; } - public KW_RESPECT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_RESPECT, 0); + public KW_THEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_THEN, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_nullTreatment; + public KW_UPDATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_UPDATE, 0)!; + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; + } + public EQ(): antlr.TerminalNode[]; + public EQ(i: number): antlr.TerminalNode | null; + public EQ(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.EQ); + } else { + return this.getToken(TrinoSqlParser.EQ, i); + } + } + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); + } + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExpressionContext); + } + + return this.getRuleContext(i, ExpressionContext); + } + public KW_AND(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AND, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNullTreatment) { - listener.enterNullTreatment(this); + if(listener.enterMergeUpdate) { + listener.enterMergeUpdate(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNullTreatment) { - listener.exitNullTreatment(this); + if(listener.exitMergeUpdate) { + listener.exitMergeUpdate(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNullTreatment) { - return visitor.visitNullTreatment(this); + if (visitor.visitMergeUpdate) { + return visitor.visitMergeUpdate(this); } else { return visitor.visitChildren(this); } } } - - -export class StringContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class MergeDeleteContext extends MergeCaseContext { + public _condition?: ExpressionContext; + public constructor(ctx: MergeCaseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_string; + public KW_WHEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_WHEN, 0)!; } - public override copyFrom(ctx: StringContext): void { - super.copyFrom(ctx); + public KW_MATCHED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MATCHED, 0)!; } -} -export class UnicodeStringLiteralContext extends StringContext { - public constructor(ctx: StringContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_THEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_THEN, 0)!; } - public UNICODE_STRING(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.UNICODE_STRING, 0)!; + public KW_DELETE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DELETE, 0)!; } - public KW_UESCAPE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_UESCAPE, 0); + public KW_AND(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AND, 0); } - public STRING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.STRING, 0); + public expression(): ExpressionContext | null { + return this.getRuleContext(0, ExpressionContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterUnicodeStringLiteral) { - listener.enterUnicodeStringLiteral(this); + if(listener.enterMergeDelete) { + listener.enterMergeDelete(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitUnicodeStringLiteral) { - listener.exitUnicodeStringLiteral(this); + if(listener.exitMergeDelete) { + listener.exitMergeDelete(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitUnicodeStringLiteral) { - return visitor.visitUnicodeStringLiteral(this); + if (visitor.visitMergeDelete) { + return visitor.visitMergeDelete(this); } else { return visitor.visitChildren(this); } } } -export class BasicStringLiteralContext extends StringContext { - public constructor(ctx: StringContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class OverContext extends antlr.ParserRuleContext { + public _windowName?: IdentifierContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public STRING(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.STRING, 0)!; + public KW_OVER(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_OVER, 0)!; + } + public windowSpecification(): WindowSpecificationContext | null { + return this.getRuleContext(0, WindowSpecificationContext); + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_over; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterBasicStringLiteral) { - listener.enterBasicStringLiteral(this); + if(listener.enterOver) { + listener.enterOver(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitBasicStringLiteral) { - listener.exitBasicStringLiteral(this); + if(listener.exitOver) { + listener.exitOver(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitBasicStringLiteral) { - return visitor.visitBasicStringLiteral(this); + if (visitor.visitOver) { + return visitor.visitOver(this); } else { return visitor.visitChildren(this); } @@ -20643,76 +29531,86 @@ export class BasicStringLiteralContext extends StringContext { } -export class TimeZoneSpecifierContext extends antlr.ParserRuleContext { +export class WindowFrameContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_timeZoneSpecifier; + public frameExtent(): FrameExtentContext { + return this.getRuleContext(0, FrameExtentContext)!; } - public override copyFrom(ctx: TimeZoneSpecifierContext): void { - super.copyFrom(ctx); + public KW_MEASURES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_MEASURES, 0); } -} -export class TimeZoneIntervalContext extends TimeZoneSpecifierContext { - public constructor(ctx: TimeZoneSpecifierContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public measureDefinition(): MeasureDefinitionContext[]; + public measureDefinition(i: number): MeasureDefinitionContext | null; + public measureDefinition(i?: number): MeasureDefinitionContext[] | MeasureDefinitionContext | null { + if (i === undefined) { + return this.getRuleContexts(MeasureDefinitionContext); + } + + return this.getRuleContext(i, MeasureDefinitionContext); } - public KW_TIME(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TIME, 0)!; + public KW_AFTER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AFTER, 0); } - public KW_ZONE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ZONE, 0)!; + public KW_MATCH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_MATCH, 0); } - public interval(): IntervalContext { - return this.getRuleContext(0, IntervalContext)!; + public skipTo(): SkipToContext | null { + return this.getRuleContext(0, SkipToContext); } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTimeZoneInterval) { - listener.enterTimeZoneInterval(this); - } + public KW_PATTERN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PATTERN, 0); } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTimeZoneInterval) { - listener.exitTimeZoneInterval(this); - } + public rowPattern(): RowPatternContext | null { + return this.getRuleContext(0, RowPatternContext); } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTimeZoneInterval) { - return visitor.visitTimeZoneInterval(this); - } else { - return visitor.visitChildren(this); + public KW_SUBSET(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SUBSET, 0); + } + public subsetDefinition(): SubsetDefinitionContext[]; + public subsetDefinition(i: number): SubsetDefinitionContext | null; + public subsetDefinition(i?: number): SubsetDefinitionContext[] | SubsetDefinitionContext | null { + if (i === undefined) { + return this.getRuleContexts(SubsetDefinitionContext); } + + return this.getRuleContext(i, SubsetDefinitionContext); } -} -export class TimeZoneStringContext extends TimeZoneSpecifierContext { - public constructor(ctx: TimeZoneSpecifierContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_DEFINE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DEFINE, 0); } - public KW_TIME(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TIME, 0)!; + public variableDefinition(): VariableDefinitionContext[]; + public variableDefinition(i: number): VariableDefinitionContext | null; + public variableDefinition(i?: number): VariableDefinitionContext[] | VariableDefinitionContext | null { + if (i === undefined) { + return this.getRuleContexts(VariableDefinitionContext); + } + + return this.getRuleContext(i, VariableDefinitionContext); } - public KW_ZONE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ZONE, 0)!; + public KW_INITIAL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INITIAL, 0); } - public string(): StringContext { - return this.getRuleContext(0, StringContext)!; + public KW_SEEK(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SEEK, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_windowFrame; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTimeZoneString) { - listener.enterTimeZoneString(this); + if(listener.enterWindowFrame) { + listener.enterWindowFrame(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTimeZoneString) { - listener.exitTimeZoneString(this); + if(listener.exitWindowFrame) { + listener.exitWindowFrame(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTimeZoneString) { - return visitor.visitTimeZoneString(this); + if (visitor.visitWindowFrame) { + return visitor.visitWindowFrame(this); } else { return visitor.visitChildren(this); } @@ -20720,44 +29618,53 @@ export class TimeZoneStringContext extends TimeZoneSpecifierContext { } -export class ComparisonOperatorContext extends antlr.ParserRuleContext { +export class FrameExtentContext extends antlr.ParserRuleContext { + public _frameType?: Token | null; + public _start?: FrameBoundContext; + public _end?: FrameBoundContext; public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public EQ(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.EQ, 0); + public KW_RANGE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RANGE, 0); } - public NEQ(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.NEQ, 0); + public frameBound(): FrameBoundContext[]; + public frameBound(i: number): FrameBoundContext | null; + public frameBound(i?: number): FrameBoundContext[] | FrameBoundContext | null { + if (i === undefined) { + return this.getRuleContexts(FrameBoundContext); + } + + return this.getRuleContext(i, FrameBoundContext); } - public LT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.LT, 0); + public KW_ROWS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ROWS, 0); } - public LTE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.LTE, 0); + public KW_GROUPS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_GROUPS, 0); } - public GT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.GT, 0); + public KW_BETWEEN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BETWEEN, 0); } - public GTE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.GTE, 0); + public KW_AND(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AND, 0); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_comparisonOperator; + return TrinoSqlParser.RULE_frameExtent; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterComparisonOperator) { - listener.enterComparisonOperator(this); + if(listener.enterFrameExtent) { + listener.enterFrameExtent(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitComparisonOperator) { - listener.exitComparisonOperator(this); + if(listener.exitFrameExtent) { + listener.exitFrameExtent(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitComparisonOperator) { - return visitor.visitComparisonOperator(this); + if (visitor.visitFrameExtent) { + return visitor.visitFrameExtent(this); } else { return visitor.visitChildren(this); } @@ -20765,122 +29672,107 @@ export class ComparisonOperatorContext extends antlr.ParserRuleContext { } -export class ComparisonQuantifierContext extends antlr.ParserRuleContext { +export class FrameBoundContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public KW_ALL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ALL, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_frameBound; } - public KW_SOME(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SOME, 0); + public override copyFrom(ctx: FrameBoundContext): void { + super.copyFrom(ctx); } - public KW_ANY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ANY, 0); +} +export class BoundedFrameContext extends FrameBoundContext { + public _boundType?: Token | null; + public constructor(ctx: FrameBoundContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_comparisonQuantifier; + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; + } + public KW_PRECEDING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PRECEDING, 0); + } + public KW_FOLLOWING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FOLLOWING, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterComparisonQuantifier) { - listener.enterComparisonQuantifier(this); + if(listener.enterBoundedFrame) { + listener.enterBoundedFrame(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitComparisonQuantifier) { - listener.exitComparisonQuantifier(this); + if(listener.exitBoundedFrame) { + listener.exitBoundedFrame(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitComparisonQuantifier) { - return visitor.visitComparisonQuantifier(this); + if (visitor.visitBoundedFrame) { + return visitor.visitBoundedFrame(this); } else { return visitor.visitChildren(this); } } } - - -export class BooleanValueContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class UnboundedFrameContext extends FrameBoundContext { + public _boundType?: Token | null; + public constructor(ctx: FrameBoundContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_TRUE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TRUE, 0); + public KW_UNBOUNDED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_UNBOUNDED, 0)!; } - public KW_FALSE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FALSE, 0); + public KW_PRECEDING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PRECEDING, 0); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_booleanValue; + public KW_FOLLOWING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FOLLOWING, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterBooleanValue) { - listener.enterBooleanValue(this); + if(listener.enterUnboundedFrame) { + listener.enterUnboundedFrame(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitBooleanValue) { - listener.exitBooleanValue(this); + if(listener.exitUnboundedFrame) { + listener.exitUnboundedFrame(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitBooleanValue) { - return visitor.visitBooleanValue(this); + if (visitor.visitUnboundedFrame) { + return visitor.visitUnboundedFrame(this); } else { return visitor.visitChildren(this); } } } - - -export class IntervalContext extends antlr.ParserRuleContext { - public _sign?: Token | null; - public _from_?: IntervalFieldContext; - public _to?: IntervalFieldContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_INTERVAL(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_INTERVAL, 0)!; - } - public string(): StringContext { - return this.getRuleContext(0, StringContext)!; - } - public intervalField(): IntervalFieldContext[]; - public intervalField(i: number): IntervalFieldContext | null; - public intervalField(i?: number): IntervalFieldContext[] | IntervalFieldContext | null { - if (i === undefined) { - return this.getRuleContexts(IntervalFieldContext); - } - - return this.getRuleContext(i, IntervalFieldContext); - } - public KW_TO(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TO, 0); - } - public PLUS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.PLUS, 0); +export class CurrentRowBoundContext extends FrameBoundContext { + public constructor(ctx: FrameBoundContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public MINUS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.MINUS, 0); + public KW_CURRENT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CURRENT, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_interval; + public KW_ROW(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ROW, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterInterval) { - listener.enterInterval(this); + if(listener.enterCurrentRowBound) { + listener.enterCurrentRowBound(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitInterval) { - listener.exitInterval(this); + if(listener.exitCurrentRowBound) { + listener.exitCurrentRowBound(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitInterval) { - return visitor.visitInterval(this); + if (visitor.visitCurrentRowBound) { + return visitor.visitCurrentRowBound(this); } else { return visitor.visitChildren(this); } @@ -20888,83 +29780,105 @@ export class IntervalContext extends antlr.ParserRuleContext { } -export class IntervalFieldContext extends antlr.ParserRuleContext { +export class RowPatternContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public KW_YEAR(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_YEAR, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_rowPattern; } - public KW_MONTH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_MONTH, 0); + public override copyFrom(ctx: RowPatternContext): void { + super.copyFrom(ctx); } - public KW_DAY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DAY, 0); +} +export class QuantifiedPrimaryContext extends RowPatternContext { + public constructor(ctx: RowPatternContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_HOUR(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_HOUR, 0); + public patternPrimary(): PatternPrimaryContext { + return this.getRuleContext(0, PatternPrimaryContext)!; } - public KW_MINUTE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_MINUTE, 0); + public patternQuantifier(): PatternQuantifierContext | null { + return this.getRuleContext(0, PatternQuantifierContext); } - public KW_SECOND(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SECOND, 0); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterQuantifiedPrimary) { + listener.enterQuantifiedPrimary(this); + } } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_intervalField; + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitQuantifiedPrimary) { + listener.exitQuantifiedPrimary(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitQuantifiedPrimary) { + return visitor.visitQuantifiedPrimary(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class PatternConcatenationContext extends RowPatternContext { + public constructor(ctx: RowPatternContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public rowPattern(): RowPatternContext[]; + public rowPattern(i: number): RowPatternContext | null; + public rowPattern(i?: number): RowPatternContext[] | RowPatternContext | null { + if (i === undefined) { + return this.getRuleContexts(RowPatternContext); + } + + return this.getRuleContext(i, RowPatternContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterIntervalField) { - listener.enterIntervalField(this); + if(listener.enterPatternConcatenation) { + listener.enterPatternConcatenation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitIntervalField) { - listener.exitIntervalField(this); + if(listener.exitPatternConcatenation) { + listener.exitPatternConcatenation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitIntervalField) { - return visitor.visitIntervalField(this); + if (visitor.visitPatternConcatenation) { + return visitor.visitPatternConcatenation(this); } else { return visitor.visitChildren(this); } } } - - -export class NormalFormContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_NFD(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NFD, 0); - } - public KW_NFC(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NFC, 0); - } - public KW_NFKD(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NFKD, 0); - } - public KW_NFKC(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NFKC, 0); +export class PatternAlternationContext extends RowPatternContext { + public constructor(ctx: RowPatternContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_normalForm; + public rowPattern(): RowPatternContext[]; + public rowPattern(i: number): RowPatternContext | null; + public rowPattern(i?: number): RowPatternContext[] | RowPatternContext | null { + if (i === undefined) { + return this.getRuleContexts(RowPatternContext); + } + + return this.getRuleContext(i, RowPatternContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNormalForm) { - listener.enterNormalForm(this); + if(listener.enterPatternAlternation) { + listener.enterPatternAlternation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNormalForm) { - listener.exitNormalForm(this); + if(listener.exitPatternAlternation) { + listener.exitPatternAlternation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNormalForm) { - return visitor.visitNormalForm(this); + if (visitor.visitPatternAlternation) { + return visitor.visitPatternAlternation(this); } else { return visitor.visitChildren(this); } @@ -20972,420 +29886,339 @@ export class NormalFormContext extends antlr.ParserRuleContext { } -export class TypeContext extends antlr.ParserRuleContext { +export class PatternPrimaryContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_type; + return TrinoSqlParser.RULE_patternPrimary; } - public override copyFrom(ctx: TypeContext): void { + public override copyFrom(ctx: PatternPrimaryContext): void { super.copyFrom(ctx); } } -export class RowTypeContext extends TypeContext { - public constructor(ctx: TypeContext) { +export class PatternPermutationContext extends PatternPrimaryContext { + public constructor(ctx: PatternPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_ROW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ROW, 0)!; + public KW_PERMUTE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_PERMUTE, 0)!; } - public rowField(): RowFieldContext[]; - public rowField(i: number): RowFieldContext | null; - public rowField(i?: number): RowFieldContext[] | RowFieldContext | null { + public rowPattern(): RowPatternContext[]; + public rowPattern(i: number): RowPatternContext | null; + public rowPattern(i?: number): RowPatternContext[] | RowPatternContext | null { if (i === undefined) { - return this.getRuleContexts(RowFieldContext); + return this.getRuleContexts(RowPatternContext); } - return this.getRuleContext(i, RowFieldContext); + return this.getRuleContext(i, RowPatternContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRowType) { - listener.enterRowType(this); + if(listener.enterPatternPermutation) { + listener.enterPatternPermutation(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRowType) { - listener.exitRowType(this); + if(listener.exitPatternPermutation) { + listener.exitPatternPermutation(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRowType) { - return visitor.visitRowType(this); + if (visitor.visitPatternPermutation) { + return visitor.visitPatternPermutation(this); } else { return visitor.visitChildren(this); } } } -export class IntervalTypeContext extends TypeContext { - public _from_?: IntervalFieldContext; - public _to?: IntervalFieldContext; - public constructor(ctx: TypeContext) { +export class PartitionEndAnchorContext extends PatternPrimaryContext { + public constructor(ctx: PatternPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_INTERVAL(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_INTERVAL, 0)!; - } - public intervalField(): IntervalFieldContext[]; - public intervalField(i: number): IntervalFieldContext | null; - public intervalField(i?: number): IntervalFieldContext[] | IntervalFieldContext | null { - if (i === undefined) { - return this.getRuleContexts(IntervalFieldContext); - } - - return this.getRuleContext(i, IntervalFieldContext); - } - public KW_TO(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TO, 0); - } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterIntervalType) { - listener.enterIntervalType(this); + if(listener.enterPartitionEndAnchor) { + listener.enterPartitionEndAnchor(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitIntervalType) { - listener.exitIntervalType(this); + if(listener.exitPartitionEndAnchor) { + listener.exitPartitionEndAnchor(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitIntervalType) { - return visitor.visitIntervalType(this); + if (visitor.visitPartitionEndAnchor) { + return visitor.visitPartitionEndAnchor(this); } else { return visitor.visitChildren(this); } } } -export class ArrayTypeContext extends TypeContext { - public constructor(ctx: TypeContext) { +export class PatternVariableContext extends PatternPrimaryContext { + public constructor(ctx: PatternPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public type(): TypeContext { - return this.getRuleContext(0, TypeContext)!; - } - public KW_ARRAY(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ARRAY, 0)!; - } - public INTEGER_VALUE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterArrayType) { - listener.enterArrayType(this); + if(listener.enterPatternVariable) { + listener.enterPatternVariable(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitArrayType) { - listener.exitArrayType(this); + if(listener.exitPatternVariable) { + listener.exitPatternVariable(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitArrayType) { - return visitor.visitArrayType(this); + if (visitor.visitPatternVariable) { + return visitor.visitPatternVariable(this); } else { return visitor.visitChildren(this); } } } -export class DoublePrecisionTypeContext extends TypeContext { - public constructor(ctx: TypeContext) { +export class ExcludedPatternContext extends PatternPrimaryContext { + public constructor(ctx: PatternPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_DOUBLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DOUBLE, 0)!; - } - public KW_PRECISION(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_PRECISION, 0)!; + public rowPattern(): RowPatternContext { + return this.getRuleContext(0, RowPatternContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDoublePrecisionType) { - listener.enterDoublePrecisionType(this); + if(listener.enterExcludedPattern) { + listener.enterExcludedPattern(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDoublePrecisionType) { - listener.exitDoublePrecisionType(this); + if(listener.exitExcludedPattern) { + listener.exitExcludedPattern(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDoublePrecisionType) { - return visitor.visitDoublePrecisionType(this); + if (visitor.visitExcludedPattern) { + return visitor.visitExcludedPattern(this); } else { return visitor.visitChildren(this); } } } -export class LegacyArrayTypeContext extends TypeContext { - public constructor(ctx: TypeContext) { +export class PartitionStartAnchorContext extends PatternPrimaryContext { + public constructor(ctx: PatternPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_ARRAY(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ARRAY, 0)!; - } - public LT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.LT, 0)!; - } - public type(): TypeContext { - return this.getRuleContext(0, TypeContext)!; - } - public GT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.GT, 0)!; - } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLegacyArrayType) { - listener.enterLegacyArrayType(this); + if(listener.enterPartitionStartAnchor) { + listener.enterPartitionStartAnchor(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLegacyArrayType) { - listener.exitLegacyArrayType(this); + if(listener.exitPartitionStartAnchor) { + listener.exitPartitionStartAnchor(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLegacyArrayType) { - return visitor.visitLegacyArrayType(this); + if (visitor.visitPartitionStartAnchor) { + return visitor.visitPartitionStartAnchor(this); } else { return visitor.visitChildren(this); } } } -export class GenericTypeContext extends TypeContext { - public constructor(ctx: TypeContext) { +export class EmptyPatternContext extends PatternPrimaryContext { + public constructor(ctx: PatternPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; - } - public typeParameter(): TypeParameterContext[]; - public typeParameter(i: number): TypeParameterContext | null; - public typeParameter(i?: number): TypeParameterContext[] | TypeParameterContext | null { - if (i === undefined) { - return this.getRuleContexts(TypeParameterContext); - } - - return this.getRuleContext(i, TypeParameterContext); - } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterGenericType) { - listener.enterGenericType(this); + if(listener.enterEmptyPattern) { + listener.enterEmptyPattern(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitGenericType) { - listener.exitGenericType(this); + if(listener.exitEmptyPattern) { + listener.exitEmptyPattern(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitGenericType) { - return visitor.visitGenericType(this); + if (visitor.visitEmptyPattern) { + return visitor.visitEmptyPattern(this); } else { return visitor.visitChildren(this); } } } -export class DateTimeTypeContext extends TypeContext { - public _base?: Token | null; - public _precision?: TypeParameterContext; - public constructor(ctx: TypeContext) { +export class GroupedPatternContext extends PatternPrimaryContext { + public constructor(ctx: PatternPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_TIMESTAMP(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TIMESTAMP, 0); - } - public KW_WITHOUT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITHOUT, 0); - } - public KW_TIME(): antlr.TerminalNode[]; - public KW_TIME(i: number): antlr.TerminalNode | null; - public KW_TIME(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.KW_TIME); - } else { - return this.getToken(TrinoSqlParser.KW_TIME, i); - } - } - public KW_ZONE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ZONE, 0); - } - public typeParameter(): TypeParameterContext | null { - return this.getRuleContext(0, TypeParameterContext); - } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); + public rowPattern(): RowPatternContext { + return this.getRuleContext(0, RowPatternContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDateTimeType) { - listener.enterDateTimeType(this); + if(listener.enterGroupedPattern) { + listener.enterGroupedPattern(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDateTimeType) { - listener.exitDateTimeType(this); + if(listener.exitGroupedPattern) { + listener.exitGroupedPattern(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDateTimeType) { - return visitor.visitDateTimeType(this); + if (visitor.visitGroupedPattern) { + return visitor.visitGroupedPattern(this); } else { return visitor.visitChildren(this); } } } -export class LegacyMapTypeContext extends TypeContext { - public _keyType?: TypeContext; - public _valueType?: TypeContext; - public constructor(ctx: TypeContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class PatternQuantifierContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_MAP(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MAP, 0)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_patternQuantifier; } - public LT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.LT, 0)!; + public override copyFrom(ctx: PatternQuantifierContext): void { + super.copyFrom(ctx); } - public GT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.GT, 0)!; +} +export class ZeroOrMoreQuantifierContext extends PatternQuantifierContext { + public _reluctant?: Token | null; + public constructor(ctx: PatternQuantifierContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public type_(): TypeContext[]; - public type_(i: number): TypeContext | null; - public type_(i?: number): TypeContext[] | TypeContext | null { - if (i === undefined) { - return this.getRuleContexts(TypeContext); - } - - return this.getRuleContext(i, TypeContext); + public ASTERISK(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.ASTERISK, 0)!; + } + public QUESTION_MARK(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.QUESTION_MARK, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLegacyMapType) { - listener.enterLegacyMapType(this); + if(listener.enterZeroOrMoreQuantifier) { + listener.enterZeroOrMoreQuantifier(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLegacyMapType) { - listener.exitLegacyMapType(this); + if(listener.exitZeroOrMoreQuantifier) { + listener.exitZeroOrMoreQuantifier(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLegacyMapType) { - return visitor.visitLegacyMapType(this); + if (visitor.visitZeroOrMoreQuantifier) { + return visitor.visitZeroOrMoreQuantifier(this); } else { return visitor.visitChildren(this); } } } - - -export class RowFieldContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public type(): TypeContext { - return this.getRuleContext(0, TypeContext)!; +export class OneOrMoreQuantifierContext extends PatternQuantifierContext { + public _reluctant?: Token | null; + public constructor(ctx: PatternQuantifierContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); + public PLUS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.PLUS, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_rowField; + public QUESTION_MARK(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.QUESTION_MARK, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRowField) { - listener.enterRowField(this); + if(listener.enterOneOrMoreQuantifier) { + listener.enterOneOrMoreQuantifier(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRowField) { - listener.exitRowField(this); + if(listener.exitOneOrMoreQuantifier) { + listener.exitOneOrMoreQuantifier(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRowField) { - return visitor.visitRowField(this); + if (visitor.visitOneOrMoreQuantifier) { + return visitor.visitOneOrMoreQuantifier(this); } else { return visitor.visitChildren(this); } } } - - -export class TypeParameterContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public INTEGER_VALUE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); - } - public type(): TypeContext | null { - return this.getRuleContext(0, TypeContext); +export class ZeroOrOneQuantifierContext extends PatternQuantifierContext { + public _reluctant?: Token | null; + public constructor(ctx: PatternQuantifierContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_typeParameter; + public QUESTION_MARK(): antlr.TerminalNode[]; + public QUESTION_MARK(i: number): antlr.TerminalNode | null; + public QUESTION_MARK(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.QUESTION_MARK); + } else { + return this.getToken(TrinoSqlParser.QUESTION_MARK, i); + } } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTypeParameter) { - listener.enterTypeParameter(this); + if(listener.enterZeroOrOneQuantifier) { + listener.enterZeroOrOneQuantifier(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTypeParameter) { - listener.exitTypeParameter(this); + if(listener.exitZeroOrOneQuantifier) { + listener.exitZeroOrOneQuantifier(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTypeParameter) { - return visitor.visitTypeParameter(this); + if (visitor.visitZeroOrOneQuantifier) { + return visitor.visitZeroOrOneQuantifier(this); } else { return visitor.visitChildren(this); } } } - - -export class WhenClauseContext extends antlr.ParserRuleContext { - public _condition?: ExpressionContext; - public _result?: ExpressionContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_WHEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_WHEN, 0)!; - } - public KW_THEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_THEN, 0)!; +export class RangeQuantifierContext extends PatternQuantifierContext { + public _exactly?: Token | null; + public _reluctant?: Token | null; + public _atLeast?: Token | null; + public _atMost?: Token | null; + public constructor(ctx: PatternQuantifierContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ExpressionContext); - } - - return this.getRuleContext(i, ExpressionContext); + public INTEGER_VALUE(): antlr.TerminalNode[]; + public INTEGER_VALUE(i: number): antlr.TerminalNode | null; + public INTEGER_VALUE(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.INTEGER_VALUE); + } else { + return this.getToken(TrinoSqlParser.INTEGER_VALUE, i); + } } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_whenClause; + public QUESTION_MARK(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.QUESTION_MARK, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterWhenClause) { - listener.enterWhenClause(this); + if(listener.enterRangeQuantifier) { + listener.enterRangeQuantifier(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitWhenClause) { - listener.exitWhenClause(this); + if(listener.exitRangeQuantifier) { + listener.exitRangeQuantifier(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitWhenClause) { - return visitor.visitWhenClause(this); + if (visitor.visitRangeQuantifier) { + return visitor.visitRangeQuantifier(this); } else { return visitor.visitChildren(this); } @@ -21393,35 +30226,35 @@ export class WhenClauseContext extends antlr.ParserRuleContext { } -export class FilterContext extends antlr.ParserRuleContext { +export class UpdateAssignmentContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public KW_FILTER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FILTER, 0)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public KW_WHERE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_WHERE, 0)!; + public EQ(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.EQ, 0)!; } - public booleanExpression(): BooleanExpressionContext { - return this.getRuleContext(0, BooleanExpressionContext)!; + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_filter; + return TrinoSqlParser.RULE_updateAssignment; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterFilter) { - listener.enterFilter(this); + if(listener.enterUpdateAssignment) { + listener.enterUpdateAssignment(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitFilter) { - listener.exitFilter(this); + if(listener.exitUpdateAssignment) { + listener.exitUpdateAssignment(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitFilter) { - return visitor.visitFilter(this); + if (visitor.visitUpdateAssignment) { + return visitor.visitUpdateAssignment(this); } else { return visitor.visitChildren(this); } @@ -21429,231 +30262,165 @@ export class FilterContext extends antlr.ParserRuleContext { } -export class MergeCaseContext extends antlr.ParserRuleContext { +export class ExplainOptionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_mergeCase; + return TrinoSqlParser.RULE_explainOption; } - public override copyFrom(ctx: MergeCaseContext): void { + public override copyFrom(ctx: ExplainOptionContext): void { super.copyFrom(ctx); } } -export class MergeInsertContext extends MergeCaseContext { - public _condition?: ExpressionContext; - public _identifier?: IdentifierContext; - public _targets: IdentifierContext[] = []; - public _expression?: ExpressionContext; - public _values: ExpressionContext[] = []; - public constructor(ctx: MergeCaseContext) { +export class ExplainFormatContext extends ExplainOptionContext { + public _value?: Token | null; + public constructor(ctx: ExplainOptionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_WHEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_WHEN, 0)!; - } - public KW_NOT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_NOT, 0)!; - } - public KW_MATCHED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MATCHED, 0)!; - } - public KW_THEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_THEN, 0)!; - } - public KW_INSERT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_INSERT, 0)!; - } - public KW_VALUES(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_VALUES, 0)!; - } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ExpressionContext); - } - - return this.getRuleContext(i, ExpressionContext); + public KW_FORMAT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FORMAT, 0)!; } - public KW_AND(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AND, 0); + public KW_TEXT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TEXT, 0); } - public identifier(): IdentifierContext[]; - public identifier(i: number): IdentifierContext | null; - public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { - if (i === undefined) { - return this.getRuleContexts(IdentifierContext); - } - - return this.getRuleContext(i, IdentifierContext); + public KW_GRAPHVIZ(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_GRAPHVIZ, 0); + } + public KW_JSON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_JSON, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterMergeInsert) { - listener.enterMergeInsert(this); + if(listener.enterExplainFormat) { + listener.enterExplainFormat(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitMergeInsert) { - listener.exitMergeInsert(this); + if(listener.exitExplainFormat) { + listener.exitExplainFormat(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitMergeInsert) { - return visitor.visitMergeInsert(this); + if (visitor.visitExplainFormat) { + return visitor.visitExplainFormat(this); } else { return visitor.visitChildren(this); } } } -export class MergeUpdateContext extends MergeCaseContext { - public _condition?: ExpressionContext; - public _identifier?: IdentifierContext; - public _targets: IdentifierContext[] = []; - public _expression?: ExpressionContext; - public _values: ExpressionContext[] = []; - public constructor(ctx: MergeCaseContext) { +export class ExplainTypeContext extends ExplainOptionContext { + public _value?: Token | null; + public constructor(ctx: ExplainOptionContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_WHEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_WHEN, 0)!; - } - public KW_MATCHED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MATCHED, 0)!; - } - public KW_THEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_THEN, 0)!; - } - public KW_UPDATE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_UPDATE, 0)!; - } - public KW_SET(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SET, 0)!; + public KW_TYPE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_TYPE, 0)!; } - public EQ(): antlr.TerminalNode[]; - public EQ(i: number): antlr.TerminalNode | null; - public EQ(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(TrinoSqlParser.EQ); - } else { - return this.getToken(TrinoSqlParser.EQ, i); - } + public KW_LOGICAL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LOGICAL, 0); } - public identifier(): IdentifierContext[]; - public identifier(i: number): IdentifierContext | null; - public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { - if (i === undefined) { - return this.getRuleContexts(IdentifierContext); - } - - return this.getRuleContext(i, IdentifierContext); + public KW_DISTRIBUTED(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DISTRIBUTED, 0); } - public expression(): ExpressionContext[]; - public expression(i: number): ExpressionContext | null; - public expression(i?: number): ExpressionContext[] | ExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(ExpressionContext); - } - - return this.getRuleContext(i, ExpressionContext); + public KW_VALIDATE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_VALIDATE, 0); } - public KW_AND(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AND, 0); + public KW_IO(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IO, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterMergeUpdate) { - listener.enterMergeUpdate(this); + if(listener.enterExplainType) { + listener.enterExplainType(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitMergeUpdate) { - listener.exitMergeUpdate(this); + if(listener.exitExplainType) { + listener.exitExplainType(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitMergeUpdate) { - return visitor.visitMergeUpdate(this); + if (visitor.visitExplainType) { + return visitor.visitExplainType(this); } else { return visitor.visitChildren(this); } } } -export class MergeDeleteContext extends MergeCaseContext { - public _condition?: ExpressionContext; - public constructor(ctx: MergeCaseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class TransactionModeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public KW_WHEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_WHEN, 0)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_transactionMode; } - public KW_MATCHED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MATCHED, 0)!; + public override copyFrom(ctx: TransactionModeContext): void { + super.copyFrom(ctx); } - public KW_THEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_THEN, 0)!; +} +export class TransactionAccessModeContext extends TransactionModeContext { + public _accessMode?: Token | null; + public constructor(ctx: TransactionModeContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_DELETE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DELETE, 0)!; + public KW_READ(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_READ, 0)!; } - public KW_AND(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AND, 0); + public KW_ONLY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ONLY, 0); } - public expression(): ExpressionContext | null { - return this.getRuleContext(0, ExpressionContext); + public KW_WRITE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WRITE, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterMergeDelete) { - listener.enterMergeDelete(this); + if(listener.enterTransactionAccessMode) { + listener.enterTransactionAccessMode(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitMergeDelete) { - listener.exitMergeDelete(this); + if(listener.exitTransactionAccessMode) { + listener.exitTransactionAccessMode(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitMergeDelete) { - return visitor.visitMergeDelete(this); + if (visitor.visitTransactionAccessMode) { + return visitor.visitTransactionAccessMode(this); } else { return visitor.visitChildren(this); } } } - - -export class OverContext extends antlr.ParserRuleContext { - public _windowName?: IdentifierContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_OVER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_OVER, 0)!; +export class IsolationLevelContext extends TransactionModeContext { + public constructor(ctx: TransactionModeContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public windowSpecification(): WindowSpecificationContext | null { - return this.getRuleContext(0, WindowSpecificationContext); + public KW_ISOLATION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ISOLATION, 0)!; } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); + public KW_LEVEL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_LEVEL, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_over; + public levelOfIsolation(): LevelOfIsolationContext { + return this.getRuleContext(0, LevelOfIsolationContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterOver) { - listener.enterOver(this); + if(listener.enterIsolationLevel) { + listener.enterIsolationLevel(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitOver) { - listener.exitOver(this); + if(listener.exitIsolationLevel) { + listener.exitIsolationLevel(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitOver) { - return visitor.visitOver(this); + if (visitor.visitIsolationLevel) { + return visitor.visitIsolationLevel(this); } else { return visitor.visitChildren(this); } @@ -21661,140 +30428,125 @@ export class OverContext extends antlr.ParserRuleContext { } -export class WindowFrameContext extends antlr.ParserRuleContext { +export class LevelOfIsolationContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public frameExtent(): FrameExtentContext { - return this.getRuleContext(0, FrameExtentContext)!; - } - public KW_MEASURES(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_MEASURES, 0); - } - public measureDefinition(): MeasureDefinitionContext[]; - public measureDefinition(i: number): MeasureDefinitionContext | null; - public measureDefinition(i?: number): MeasureDefinitionContext[] | MeasureDefinitionContext | null { - if (i === undefined) { - return this.getRuleContexts(MeasureDefinitionContext); - } - - return this.getRuleContext(i, MeasureDefinitionContext); - } - public KW_AFTER(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AFTER, 0); - } - public KW_MATCH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_MATCH, 0); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_levelOfIsolation; } - public skipTo(): SkipToContext | null { - return this.getRuleContext(0, SkipToContext); + public override copyFrom(ctx: LevelOfIsolationContext): void { + super.copyFrom(ctx); } - public KW_PATTERN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PATTERN, 0); +} +export class ReadUncommittedContext extends LevelOfIsolationContext { + public constructor(ctx: LevelOfIsolationContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public rowPattern(): RowPatternContext | null { - return this.getRuleContext(0, RowPatternContext); + public KW_READ(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_READ, 0)!; } - public KW_SUBSET(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SUBSET, 0); + public KW_UNCOMMITTED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_UNCOMMITTED, 0)!; } - public subsetDefinition(): SubsetDefinitionContext[]; - public subsetDefinition(i: number): SubsetDefinitionContext | null; - public subsetDefinition(i?: number): SubsetDefinitionContext[] | SubsetDefinitionContext | null { - if (i === undefined) { - return this.getRuleContexts(SubsetDefinitionContext); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterReadUncommitted) { + listener.enterReadUncommitted(this); } - - return this.getRuleContext(i, SubsetDefinitionContext); - } - public KW_DEFINE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DEFINE, 0); } - public variableDefinition(): VariableDefinitionContext[]; - public variableDefinition(i: number): VariableDefinitionContext | null; - public variableDefinition(i?: number): VariableDefinitionContext[] | VariableDefinitionContext | null { - if (i === undefined) { - return this.getRuleContexts(VariableDefinitionContext); - } - - return this.getRuleContext(i, VariableDefinitionContext); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitReadUncommitted) { + listener.exitReadUncommitted(this); + } } - public KW_INITIAL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_INITIAL, 0); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitReadUncommitted) { + return visitor.visitReadUncommitted(this); + } else { + return visitor.visitChildren(this); + } } - public KW_SEEK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SEEK, 0); +} +export class SerializableContext extends LevelOfIsolationContext { + public constructor(ctx: LevelOfIsolationContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_windowFrame; + public KW_SERIALIZABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SERIALIZABLE, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterWindowFrame) { - listener.enterWindowFrame(this); + if(listener.enterSerializable) { + listener.enterSerializable(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitWindowFrame) { - listener.exitWindowFrame(this); + if(listener.exitSerializable) { + listener.exitSerializable(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitWindowFrame) { - return visitor.visitWindowFrame(this); + if (visitor.visitSerializable) { + return visitor.visitSerializable(this); } else { return visitor.visitChildren(this); } } } - - -export class FrameExtentContext extends antlr.ParserRuleContext { - public _frameType?: Token | null; - public _frameStart?: FrameBoundContext; - public _end?: FrameBoundContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class ReadCommittedContext extends LevelOfIsolationContext { + public constructor(ctx: LevelOfIsolationContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_RANGE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_RANGE, 0); + public KW_READ(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_READ, 0)!; } - public frameBound(): FrameBoundContext[]; - public frameBound(i: number): FrameBoundContext | null; - public frameBound(i?: number): FrameBoundContext[] | FrameBoundContext | null { - if (i === undefined) { - return this.getRuleContexts(FrameBoundContext); + public KW_COMMITTED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COMMITTED, 0)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterReadCommitted) { + listener.enterReadCommitted(this); } - - return this.getRuleContext(i, FrameBoundContext); } - public KW_ROWS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ROWS, 0); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitReadCommitted) { + listener.exitReadCommitted(this); + } } - public KW_GROUPS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_GROUPS, 0); + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitReadCommitted) { + return visitor.visitReadCommitted(this); + } else { + return visitor.visitChildren(this); + } } - public KW_BETWEEN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_BETWEEN, 0); +} +export class RepeatableReadContext extends LevelOfIsolationContext { + public constructor(ctx: LevelOfIsolationContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public KW_AND(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_AND, 0); + public KW_REPEATABLE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_REPEATABLE, 0)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_frameExtent; + public KW_READ(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_READ, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterFrameExtent) { - listener.enterFrameExtent(this); + if(listener.enterRepeatableRead) { + listener.enterRepeatableRead(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitFrameExtent) { - listener.exitFrameExtent(this); + if(listener.exitRepeatableRead) { + listener.exitRepeatableRead(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitFrameExtent) { - return visitor.visitFrameExtent(this); + if (visitor.visitRepeatableRead) { + return visitor.visitRepeatableRead(this); } else { return visitor.visitChildren(this); } @@ -21802,107 +30554,138 @@ export class FrameExtentContext extends antlr.ParserRuleContext { } -export class FrameBoundContext extends antlr.ParserRuleContext { +export class CallArgumentContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_frameBound; + return TrinoSqlParser.RULE_callArgument; } - public override copyFrom(ctx: FrameBoundContext): void { + public override copyFrom(ctx: CallArgumentContext): void { super.copyFrom(ctx); } } -export class BoundedFrameContext extends FrameBoundContext { - public _boundType?: Token | null; - public constructor(ctx: FrameBoundContext) { +export class PositionalArgumentContext extends CallArgumentContext { + public constructor(ctx: CallArgumentContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } public expression(): ExpressionContext { return this.getRuleContext(0, ExpressionContext)!; } - public KW_PRECEDING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PRECEDING, 0); - } - public KW_FOLLOWING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FOLLOWING, 0); - } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterBoundedFrame) { - listener.enterBoundedFrame(this); + if(listener.enterPositionalArgument) { + listener.enterPositionalArgument(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitBoundedFrame) { - listener.exitBoundedFrame(this); + if(listener.exitPositionalArgument) { + listener.exitPositionalArgument(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitBoundedFrame) { - return visitor.visitBoundedFrame(this); + if (visitor.visitPositionalArgument) { + return visitor.visitPositionalArgument(this); } else { return visitor.visitChildren(this); } } } -export class UnboundedFrameContext extends FrameBoundContext { - public _boundType?: Token | null; - public constructor(ctx: FrameBoundContext) { +export class NamedArgumentContext extends CallArgumentContext { + public constructor(ctx: CallArgumentContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_UNBOUNDED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_UNBOUNDED, 0)!; - } - public KW_PRECEDING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PRECEDING, 0); + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public KW_FOLLOWING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FOLLOWING, 0); + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterUnboundedFrame) { - listener.enterUnboundedFrame(this); + if(listener.enterNamedArgument) { + listener.enterNamedArgument(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitUnboundedFrame) { - listener.exitUnboundedFrame(this); + if(listener.exitNamedArgument) { + listener.exitNamedArgument(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitUnboundedFrame) { - return visitor.visitUnboundedFrame(this); + if (visitor.visitNamedArgument) { + return visitor.visitNamedArgument(this); } else { return visitor.visitChildren(this); } } } -export class CurrentRowBoundContext extends FrameBoundContext { - public constructor(ctx: FrameBoundContext) { + + +export class PathElementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_pathElement; + } + public override copyFrom(ctx: PathElementContext): void { + super.copyFrom(ctx); + } +} +export class QualifiedArgumentContext extends PathElementContext { + public constructor(ctx: PathElementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_CURRENT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_CURRENT, 0)!; + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); } - public KW_ROW(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ROW, 0)!; + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterQualifiedArgument) { + listener.enterQualifiedArgument(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitQualifiedArgument) { + listener.exitQualifiedArgument(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitQualifiedArgument) { + return visitor.visitQualifiedArgument(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class UnqualifiedArgumentContext extends PathElementContext { + public constructor(ctx: PathElementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCurrentRowBound) { - listener.enterCurrentRowBound(this); + if(listener.enterUnqualifiedArgument) { + listener.enterUnqualifiedArgument(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCurrentRowBound) { - listener.exitCurrentRowBound(this); + if(listener.exitUnqualifiedArgument) { + listener.exitUnqualifiedArgument(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCurrentRowBound) { - return visitor.visitCurrentRowBound(this); + if (visitor.visitUnqualifiedArgument) { + return visitor.visitUnqualifiedArgument(this); } else { return visitor.visitChildren(this); } @@ -21910,105 +30693,122 @@ export class CurrentRowBoundContext extends FrameBoundContext { } -export class RowPatternContext extends antlr.ParserRuleContext { +export class PathSpecificationContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_rowPattern; - } - public override copyFrom(ctx: RowPatternContext): void { - super.copyFrom(ctx); - } -} -export class QuantifiedPrimaryContext extends RowPatternContext { - public constructor(ctx: RowPatternContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public patternPrimary(): PatternPrimaryContext { - return this.getRuleContext(0, PatternPrimaryContext)!; + public pathElement(): PathElementContext[]; + public pathElement(i: number): PathElementContext | null; + public pathElement(i?: number): PathElementContext[] | PathElementContext | null { + if (i === undefined) { + return this.getRuleContexts(PathElementContext); + } + + return this.getRuleContext(i, PathElementContext); } - public patternQuantifier(): PatternQuantifierContext | null { - return this.getRuleContext(0, PatternQuantifierContext); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_pathSpecification; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterQuantifiedPrimary) { - listener.enterQuantifiedPrimary(this); + if(listener.enterPathSpecification) { + listener.enterPathSpecification(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitQuantifiedPrimary) { - listener.exitQuantifiedPrimary(this); + if(listener.exitPathSpecification) { + listener.exitPathSpecification(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitQuantifiedPrimary) { - return visitor.visitQuantifiedPrimary(this); + if (visitor.visitPathSpecification) { + return visitor.visitPathSpecification(this); } else { return visitor.visitChildren(this); } } } -export class PatternConcatenationContext extends RowPatternContext { - public constructor(ctx: RowPatternContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class FunctionSpecificationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public rowPattern(): RowPatternContext[]; - public rowPattern(i: number): RowPatternContext | null; - public rowPattern(i?: number): RowPatternContext[] | RowPatternContext | null { + public KW_FUNCTION(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FUNCTION, 0)!; + } + public functionDeclaration(): FunctionDeclarationContext { + return this.getRuleContext(0, FunctionDeclarationContext)!; + } + public returnsClause(): ReturnsClauseContext { + return this.getRuleContext(0, ReturnsClauseContext)!; + } + public controlStatement(): ControlStatementContext { + return this.getRuleContext(0, ControlStatementContext)!; + } + public routineCharacteristic(): RoutineCharacteristicContext[]; + public routineCharacteristic(i: number): RoutineCharacteristicContext | null; + public routineCharacteristic(i?: number): RoutineCharacteristicContext[] | RoutineCharacteristicContext | null { if (i === undefined) { - return this.getRuleContexts(RowPatternContext); + return this.getRuleContexts(RoutineCharacteristicContext); } - return this.getRuleContext(i, RowPatternContext); + return this.getRuleContext(i, RoutineCharacteristicContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_functionSpecification; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPatternConcatenation) { - listener.enterPatternConcatenation(this); + if(listener.enterFunctionSpecification) { + listener.enterFunctionSpecification(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPatternConcatenation) { - listener.exitPatternConcatenation(this); + if(listener.exitFunctionSpecification) { + listener.exitFunctionSpecification(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPatternConcatenation) { - return visitor.visitPatternConcatenation(this); + if (visitor.visitFunctionSpecification) { + return visitor.visitFunctionSpecification(this); } else { return visitor.visitChildren(this); } } } -export class PatternAlternationContext extends RowPatternContext { - public constructor(ctx: RowPatternContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class FunctionDeclarationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public rowPattern(): RowPatternContext[]; - public rowPattern(i: number): RowPatternContext | null; - public rowPattern(i?: number): RowPatternContext[] | RowPatternContext | null { + public functionNameCreate(): FunctionNameCreateContext { + return this.getRuleContext(0, FunctionNameCreateContext)!; + } + public parameterDeclaration(): ParameterDeclarationContext[]; + public parameterDeclaration(i: number): ParameterDeclarationContext | null; + public parameterDeclaration(i?: number): ParameterDeclarationContext[] | ParameterDeclarationContext | null { if (i === undefined) { - return this.getRuleContexts(RowPatternContext); + return this.getRuleContexts(ParameterDeclarationContext); } - return this.getRuleContext(i, RowPatternContext); + return this.getRuleContext(i, ParameterDeclarationContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_functionDeclaration; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPatternAlternation) { - listener.enterPatternAlternation(this); + if(listener.enterFunctionDeclaration) { + listener.enterFunctionDeclaration(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPatternAlternation) { - listener.exitPatternAlternation(this); + if(listener.exitFunctionDeclaration) { + listener.exitFunctionDeclaration(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPatternAlternation) { - return visitor.visitPatternAlternation(this); + if (visitor.visitFunctionDeclaration) { + return visitor.visitFunctionDeclaration(this); } else { return visitor.visitChildren(this); } @@ -22016,194 +30816,273 @@ export class PatternAlternationContext extends RowPatternContext { } -export class PatternPrimaryContext extends antlr.ParserRuleContext { +export class ParameterDeclarationContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_patternPrimary; + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; } - public override copyFrom(ctx: PatternPrimaryContext): void { - super.copyFrom(ctx); + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } -} -export class PatternPermutationContext extends PatternPrimaryContext { - public constructor(ctx: PatternPrimaryContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_parameterDeclaration; } - public KW_PERMUTE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_PERMUTE, 0)!; + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterParameterDeclaration) { + listener.enterParameterDeclaration(this); + } } - public rowPattern(): RowPatternContext[]; - public rowPattern(i: number): RowPatternContext | null; - public rowPattern(i?: number): RowPatternContext[] | RowPatternContext | null { - if (i === undefined) { - return this.getRuleContexts(RowPatternContext); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitParameterDeclaration) { + listener.exitParameterDeclaration(this); } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitParameterDeclaration) { + return visitor.visitParameterDeclaration(this); + } else { + return visitor.visitChildren(this); + } + } +} - return this.getRuleContext(i, RowPatternContext); + +export class ReturnsClauseContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public KW_RETURNS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RETURNS, 0)!; + } + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_returnsClause; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPatternPermutation) { - listener.enterPatternPermutation(this); + if(listener.enterReturnsClause) { + listener.enterReturnsClause(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPatternPermutation) { - listener.exitPatternPermutation(this); + if(listener.exitReturnsClause) { + listener.exitReturnsClause(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPatternPermutation) { - return visitor.visitPatternPermutation(this); + if (visitor.visitReturnsClause) { + return visitor.visitReturnsClause(this); } else { return visitor.visitChildren(this); } } } -export class PartitionEndAnchorContext extends PatternPrimaryContext { - public constructor(ctx: PatternPrimaryContext) { + + +export class RoutineCharacteristicContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_routineCharacteristic; + } + public override copyFrom(ctx: RoutineCharacteristicContext): void { + super.copyFrom(ctx); + } +} +export class ReturnsNullOnNullInputCharacteristicContext extends RoutineCharacteristicContext { + public constructor(ctx: RoutineCharacteristicContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } + public KW_RETURNS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RETURNS, 0)!; + } + public KW_NULL(): antlr.TerminalNode[]; + public KW_NULL(i: number): antlr.TerminalNode | null; + public KW_NULL(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_NULL); + } else { + return this.getToken(TrinoSqlParser.KW_NULL, i); + } + } + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; + } + public KW_INPUT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_INPUT, 0)!; + } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPartitionEndAnchor) { - listener.enterPartitionEndAnchor(this); + if(listener.enterReturnsNullOnNullInputCharacteristic) { + listener.enterReturnsNullOnNullInputCharacteristic(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPartitionEndAnchor) { - listener.exitPartitionEndAnchor(this); + if(listener.exitReturnsNullOnNullInputCharacteristic) { + listener.exitReturnsNullOnNullInputCharacteristic(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPartitionEndAnchor) { - return visitor.visitPartitionEndAnchor(this); + if (visitor.visitReturnsNullOnNullInputCharacteristic) { + return visitor.visitReturnsNullOnNullInputCharacteristic(this); } else { return visitor.visitChildren(this); } } } -export class PatternVariableContext extends PatternPrimaryContext { - public constructor(ctx: PatternPrimaryContext) { +export class SecurityCharacteristicContext extends RoutineCharacteristicContext { + public constructor(ctx: RoutineCharacteristicContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public KW_SECURITY(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SECURITY, 0)!; + } + public KW_DEFINER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DEFINER, 0); + } + public KW_INVOKER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INVOKER, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPatternVariable) { - listener.enterPatternVariable(this); + if(listener.enterSecurityCharacteristic) { + listener.enterSecurityCharacteristic(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPatternVariable) { - listener.exitPatternVariable(this); + if(listener.exitSecurityCharacteristic) { + listener.exitSecurityCharacteristic(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPatternVariable) { - return visitor.visitPatternVariable(this); + if (visitor.visitSecurityCharacteristic) { + return visitor.visitSecurityCharacteristic(this); } else { return visitor.visitChildren(this); } } } -export class ExcludedPatternContext extends PatternPrimaryContext { - public constructor(ctx: PatternPrimaryContext) { +export class CalledOnNullInputCharacteristicContext extends RoutineCharacteristicContext { + public constructor(ctx: RoutineCharacteristicContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public rowPattern(): RowPatternContext { - return this.getRuleContext(0, RowPatternContext)!; + public KW_CALLED(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_CALLED, 0)!; + } + public KW_ON(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ON, 0)!; + } + public KW_NULL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_NULL, 0)!; + } + public KW_INPUT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_INPUT, 0)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterExcludedPattern) { - listener.enterExcludedPattern(this); + if(listener.enterCalledOnNullInputCharacteristic) { + listener.enterCalledOnNullInputCharacteristic(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitExcludedPattern) { - listener.exitExcludedPattern(this); + if(listener.exitCalledOnNullInputCharacteristic) { + listener.exitCalledOnNullInputCharacteristic(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitExcludedPattern) { - return visitor.visitExcludedPattern(this); + if (visitor.visitCalledOnNullInputCharacteristic) { + return visitor.visitCalledOnNullInputCharacteristic(this); } else { return visitor.visitChildren(this); } } } -export class PartitionStartAnchorContext extends PatternPrimaryContext { - public constructor(ctx: PatternPrimaryContext) { +export class CommentCharacteristicContext extends RoutineCharacteristicContext { + public constructor(ctx: RoutineCharacteristicContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } + public KW_COMMENT(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_COMMENT, 0)!; + } + public string(): StringContext { + return this.getRuleContext(0, StringContext)!; + } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPartitionStartAnchor) { - listener.enterPartitionStartAnchor(this); + if(listener.enterCommentCharacteristic) { + listener.enterCommentCharacteristic(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPartitionStartAnchor) { - listener.exitPartitionStartAnchor(this); + if(listener.exitCommentCharacteristic) { + listener.exitCommentCharacteristic(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPartitionStartAnchor) { - return visitor.visitPartitionStartAnchor(this); + if (visitor.visitCommentCharacteristic) { + return visitor.visitCommentCharacteristic(this); } else { return visitor.visitChildren(this); } } } -export class EmptyPatternContext extends PatternPrimaryContext { - public constructor(ctx: PatternPrimaryContext) { +export class LanguageCharacteristicContext extends RoutineCharacteristicContext { + public constructor(ctx: RoutineCharacteristicContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } + public KW_LANGUAGE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_LANGUAGE, 0)!; + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterEmptyPattern) { - listener.enterEmptyPattern(this); + if(listener.enterLanguageCharacteristic) { + listener.enterLanguageCharacteristic(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitEmptyPattern) { - listener.exitEmptyPattern(this); + if(listener.exitLanguageCharacteristic) { + listener.exitLanguageCharacteristic(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitEmptyPattern) { - return visitor.visitEmptyPattern(this); + if (visitor.visitLanguageCharacteristic) { + return visitor.visitLanguageCharacteristic(this); } else { return visitor.visitChildren(this); } } } -export class GroupedPatternContext extends PatternPrimaryContext { - public constructor(ctx: PatternPrimaryContext) { +export class DeterministicCharacteristicContext extends RoutineCharacteristicContext { + public constructor(ctx: RoutineCharacteristicContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public rowPattern(): RowPatternContext { - return this.getRuleContext(0, RowPatternContext)!; + public KW_DETERMINISTIC(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DETERMINISTIC, 0)!; + } + public KW_NOT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NOT, 0); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterGroupedPattern) { - listener.enterGroupedPattern(this); + if(listener.enterDeterministicCharacteristic) { + listener.enterDeterministicCharacteristic(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitGroupedPattern) { - listener.exitGroupedPattern(this); + if(listener.exitDeterministicCharacteristic) { + listener.exitDeterministicCharacteristic(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitGroupedPattern) { - return visitor.visitGroupedPattern(this); + if (visitor.visitDeterministicCharacteristic) { + return visitor.visitDeterministicCharacteristic(this); } else { return visitor.visitChildren(this); } @@ -22211,154 +31090,170 @@ export class GroupedPatternContext extends PatternPrimaryContext { } -export class PatternQuantifierContext extends antlr.ParserRuleContext { +export class ControlStatementContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_patternQuantifier; + return TrinoSqlParser.RULE_controlStatement; } - public override copyFrom(ctx: PatternQuantifierContext): void { + public override copyFrom(ctx: ControlStatementContext): void { super.copyFrom(ctx); } } -export class ZeroOrMoreQuantifierContext extends PatternQuantifierContext { - public _reluctant?: Token | null; - public constructor(ctx: PatternQuantifierContext) { +export class WhileStatementContext extends ControlStatementContext { + public _label?: IdentifierContext; + public constructor(ctx: ControlStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public ASTERISK(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.ASTERISK, 0)!; - } - public QUESTION_MARK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.QUESTION_MARK, 0); - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterZeroOrMoreQuantifier) { - listener.enterZeroOrMoreQuantifier(this); - } + public KW_WHILE(): antlr.TerminalNode[]; + public KW_WHILE(i: number): antlr.TerminalNode | null; + public KW_WHILE(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_WHILE); + } else { + return this.getToken(TrinoSqlParser.KW_WHILE, i); + } } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitZeroOrMoreQuantifier) { - listener.exitZeroOrMoreQuantifier(this); - } + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitZeroOrMoreQuantifier) { - return visitor.visitZeroOrMoreQuantifier(this); - } else { - return visitor.visitChildren(this); - } + public KW_DO(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DO, 0)!; } -} -export class OneOrMoreQuantifierContext extends PatternQuantifierContext { - public _reluctant?: Token | null; - public constructor(ctx: PatternQuantifierContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public sqlStatementList(): SqlStatementListContext { + return this.getRuleContext(0, SqlStatementListContext)!; } - public PLUS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.PLUS, 0)!; + public KW_END(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_END, 0)!; } - public QUESTION_MARK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.QUESTION_MARK, 0); + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterOneOrMoreQuantifier) { - listener.enterOneOrMoreQuantifier(this); + if(listener.enterWhileStatement) { + listener.enterWhileStatement(this); } } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitOneOrMoreQuantifier) { - listener.exitOneOrMoreQuantifier(this); + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitWhileStatement) { + listener.exitWhileStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitOneOrMoreQuantifier) { - return visitor.visitOneOrMoreQuantifier(this); + if (visitor.visitWhileStatement) { + return visitor.visitWhileStatement(this); } else { return visitor.visitChildren(this); } } } -export class ZeroOrOneQuantifierContext extends PatternQuantifierContext { - public _reluctant?: Token | null; - public constructor(ctx: PatternQuantifierContext) { +export class SimpleCaseStatementContext extends ControlStatementContext { + public constructor(ctx: ControlStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public QUESTION_MARK(): antlr.TerminalNode[]; - public QUESTION_MARK(i: number): antlr.TerminalNode | null; - public QUESTION_MARK(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + public KW_CASE(): antlr.TerminalNode[]; + public KW_CASE(i: number): antlr.TerminalNode | null; + public KW_CASE(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { if (i === undefined) { - return this.getTokens(TrinoSqlParser.QUESTION_MARK); + return this.getTokens(TrinoSqlParser.KW_CASE); } else { - return this.getToken(TrinoSqlParser.QUESTION_MARK, i); + return this.getToken(TrinoSqlParser.KW_CASE, i); } } + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; + } + public KW_END(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_END, 0)!; + } + public caseStatementWhenClause(): CaseStatementWhenClauseContext[]; + public caseStatementWhenClause(i: number): CaseStatementWhenClauseContext | null; + public caseStatementWhenClause(i?: number): CaseStatementWhenClauseContext[] | CaseStatementWhenClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(CaseStatementWhenClauseContext); + } + + return this.getRuleContext(i, CaseStatementWhenClauseContext); + } + public elseClause(): ElseClauseContext | null { + return this.getRuleContext(0, ElseClauseContext); + } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterZeroOrOneQuantifier) { - listener.enterZeroOrOneQuantifier(this); + if(listener.enterSimpleCaseStatement) { + listener.enterSimpleCaseStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitZeroOrOneQuantifier) { - listener.exitZeroOrOneQuantifier(this); + if(listener.exitSimpleCaseStatement) { + listener.exitSimpleCaseStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitZeroOrOneQuantifier) { - return visitor.visitZeroOrOneQuantifier(this); + if (visitor.visitSimpleCaseStatement) { + return visitor.visitSimpleCaseStatement(this); } else { return visitor.visitChildren(this); } } } -export class RangeQuantifierContext extends PatternQuantifierContext { - public _exactly?: Token | null; - public _reluctant?: Token | null; - public _atLeast?: Token | null; - public _atMost?: Token | null; - public constructor(ctx: PatternQuantifierContext) { +export class RepeatStatementContext extends ControlStatementContext { + public _label?: IdentifierContext; + public constructor(ctx: ControlStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public INTEGER_VALUE(): antlr.TerminalNode[]; - public INTEGER_VALUE(i: number): antlr.TerminalNode | null; - public INTEGER_VALUE(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + public KW_REPEAT(): antlr.TerminalNode[]; + public KW_REPEAT(i: number): antlr.TerminalNode | null; + public KW_REPEAT(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { if (i === undefined) { - return this.getTokens(TrinoSqlParser.INTEGER_VALUE); + return this.getTokens(TrinoSqlParser.KW_REPEAT); } else { - return this.getToken(TrinoSqlParser.INTEGER_VALUE, i); + return this.getToken(TrinoSqlParser.KW_REPEAT, i); } } - public QUESTION_MARK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.QUESTION_MARK, 0); + public sqlStatementList(): SqlStatementListContext { + return this.getRuleContext(0, SqlStatementListContext)!; + } + public KW_UNTIL(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_UNTIL, 0)!; + } + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; + } + public KW_END(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_END, 0)!; + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRangeQuantifier) { - listener.enterRangeQuantifier(this); + if(listener.enterRepeatStatement) { + listener.enterRepeatStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRangeQuantifier) { - listener.exitRangeQuantifier(this); + if(listener.exitRepeatStatement) { + listener.exitRepeatStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRangeQuantifier) { - return visitor.visitRangeQuantifier(this); + if (visitor.visitRepeatStatement) { + return visitor.visitRepeatStatement(this); } else { return visitor.visitChildren(this); } } } - - -export class UpdateAssignmentContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class AssignmentStatementContext extends ControlStatementContext { + public constructor(ctx: ControlStatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public KW_SET(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_SET, 0)!; } public identifier(): IdentifierContext { return this.getRuleContext(0, IdentifierContext)!; @@ -22369,314 +31264,301 @@ export class UpdateAssignmentContext extends antlr.ParserRuleContext { public expression(): ExpressionContext { return this.getRuleContext(0, ExpressionContext)!; } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_updateAssignment; - } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterUpdateAssignment) { - listener.enterUpdateAssignment(this); + if(listener.enterAssignmentStatement) { + listener.enterAssignmentStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitUpdateAssignment) { - listener.exitUpdateAssignment(this); + if(listener.exitAssignmentStatement) { + listener.exitAssignmentStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitUpdateAssignment) { - return visitor.visitUpdateAssignment(this); + if (visitor.visitAssignmentStatement) { + return visitor.visitAssignmentStatement(this); } else { return visitor.visitChildren(this); } } } - - -export class ExplainOptionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_explainOption; - } - public override copyFrom(ctx: ExplainOptionContext): void { - super.copyFrom(ctx); - } -} -export class ExplainFormatContext extends ExplainOptionContext { - public _value?: Token | null; - public constructor(ctx: ExplainOptionContext) { +export class LeaveStatementContext extends ControlStatementContext { + public constructor(ctx: ControlStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_FORMAT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FORMAT, 0)!; - } - public KW_TEXT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TEXT, 0); - } - public KW_GRAPHVIZ(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_GRAPHVIZ, 0); + public KW_LEAVE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_LEAVE, 0)!; } - public KW_JSON(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_JSON, 0); + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterExplainFormat) { - listener.enterExplainFormat(this); + if(listener.enterLeaveStatement) { + listener.enterLeaveStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitExplainFormat) { - listener.exitExplainFormat(this); + if(listener.exitLeaveStatement) { + listener.exitLeaveStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitExplainFormat) { - return visitor.visitExplainFormat(this); + if (visitor.visitLeaveStatement) { + return visitor.visitLeaveStatement(this); } else { return visitor.visitChildren(this); } } } -export class ExplainTypeContext extends ExplainOptionContext { - public _value?: Token | null; - public constructor(ctx: ExplainOptionContext) { +export class CompoundStatementContext extends ControlStatementContext { + public constructor(ctx: ControlStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_TYPE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TYPE, 0)!; + public KW_BEGIN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_BEGIN, 0)!; } - public KW_LOGICAL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LOGICAL, 0); + public KW_END(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_END, 0)!; } - public KW_DISTRIBUTED(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DISTRIBUTED, 0); + public variableDeclaration(): VariableDeclarationContext[]; + public variableDeclaration(i: number): VariableDeclarationContext | null; + public variableDeclaration(i?: number): VariableDeclarationContext[] | VariableDeclarationContext | null { + if (i === undefined) { + return this.getRuleContexts(VariableDeclarationContext); + } + + return this.getRuleContext(i, VariableDeclarationContext); } - public KW_VALIDATE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_VALIDATE, 0); + public SEMICOLON(): antlr.TerminalNode[]; + public SEMICOLON(i: number): antlr.TerminalNode | null; + public SEMICOLON(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.SEMICOLON); + } else { + return this.getToken(TrinoSqlParser.SEMICOLON, i); + } } - public KW_IO(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IO, 0); + public sqlStatementList(): SqlStatementListContext | null { + return this.getRuleContext(0, SqlStatementListContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterExplainType) { - listener.enterExplainType(this); + if(listener.enterCompoundStatement) { + listener.enterCompoundStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitExplainType) { - listener.exitExplainType(this); + if(listener.exitCompoundStatement) { + listener.exitCompoundStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitExplainType) { - return visitor.visitExplainType(this); + if (visitor.visitCompoundStatement) { + return visitor.visitCompoundStatement(this); } else { return visitor.visitChildren(this); } } } - - -export class TransactionModeContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_transactionMode; - } - public override copyFrom(ctx: TransactionModeContext): void { - super.copyFrom(ctx); - } -} -export class TransactionAccessModeContext extends TransactionModeContext { - public _accessMode?: Token | null; - public constructor(ctx: TransactionModeContext) { +export class IterateStatementContext extends ControlStatementContext { + public constructor(ctx: ControlStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_READ(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_READ, 0)!; - } - public KW_ONLY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ONLY, 0); + public KW_ITERATE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ITERATE, 0)!; } - public KW_WRITE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WRITE, 0); + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTransactionAccessMode) { - listener.enterTransactionAccessMode(this); + if(listener.enterIterateStatement) { + listener.enterIterateStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTransactionAccessMode) { - listener.exitTransactionAccessMode(this); + if(listener.exitIterateStatement) { + listener.exitIterateStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTransactionAccessMode) { - return visitor.visitTransactionAccessMode(this); + if (visitor.visitIterateStatement) { + return visitor.visitIterateStatement(this); } else { return visitor.visitChildren(this); } } } -export class IsolationLevelContext extends TransactionModeContext { - public constructor(ctx: TransactionModeContext) { +export class LoopStatementContext extends ControlStatementContext { + public _label?: IdentifierContext; + public constructor(ctx: ControlStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_ISOLATION(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ISOLATION, 0)!; + public KW_LOOP(): antlr.TerminalNode[]; + public KW_LOOP(i: number): antlr.TerminalNode | null; + public KW_LOOP(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_LOOP); + } else { + return this.getToken(TrinoSqlParser.KW_LOOP, i); + } } - public KW_LEVEL(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_LEVEL, 0)!; + public sqlStatementList(): SqlStatementListContext { + return this.getRuleContext(0, SqlStatementListContext)!; } - public levelOfIsolation(): LevelOfIsolationContext { - return this.getRuleContext(0, LevelOfIsolationContext)!; + public KW_END(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_END, 0)!; + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterIsolationLevel) { - listener.enterIsolationLevel(this); + if(listener.enterLoopStatement) { + listener.enterLoopStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitIsolationLevel) { - listener.exitIsolationLevel(this); + if(listener.exitLoopStatement) { + listener.exitLoopStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitIsolationLevel) { - return visitor.visitIsolationLevel(this); + if (visitor.visitLoopStatement) { + return visitor.visitLoopStatement(this); } else { return visitor.visitChildren(this); } } } - - -export class LevelOfIsolationContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_levelOfIsolation; - } - public override copyFrom(ctx: LevelOfIsolationContext): void { - super.copyFrom(ctx); - } -} -export class ReadUncommittedContext extends LevelOfIsolationContext { - public constructor(ctx: LevelOfIsolationContext) { +export class ReturnStatementContext extends ControlStatementContext { + public constructor(ctx: ControlStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_READ(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_READ, 0)!; + public KW_RETURN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RETURN, 0)!; } - public KW_UNCOMMITTED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_UNCOMMITTED, 0)!; + public valueExpression(): ValueExpressionContext { + return this.getRuleContext(0, ValueExpressionContext)!; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterReadUncommitted) { - listener.enterReadUncommitted(this); + if(listener.enterReturnStatement) { + listener.enterReturnStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitReadUncommitted) { - listener.exitReadUncommitted(this); + if(listener.exitReturnStatement) { + listener.exitReturnStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitReadUncommitted) { - return visitor.visitReadUncommitted(this); + if (visitor.visitReturnStatement) { + return visitor.visitReturnStatement(this); } else { return visitor.visitChildren(this); } } } -export class SerializableContext extends LevelOfIsolationContext { - public constructor(ctx: LevelOfIsolationContext) { +export class IfStatementContext extends ControlStatementContext { + public constructor(ctx: ControlStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_SERIALIZABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SERIALIZABLE, 0)!; + public KW_IF(): antlr.TerminalNode[]; + public KW_IF(i: number): antlr.TerminalNode | null; + public KW_IF(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_IF); + } else { + return this.getToken(TrinoSqlParser.KW_IF, i); + } } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSerializable) { - listener.enterSerializable(this); - } + public expression(): ExpressionContext { + return this.getRuleContext(0, ExpressionContext)!; } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSerializable) { - listener.exitSerializable(this); - } + public KW_THEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_THEN, 0)!; } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSerializable) { - return visitor.visitSerializable(this); - } else { - return visitor.visitChildren(this); - } + public sqlStatementList(): SqlStatementListContext { + return this.getRuleContext(0, SqlStatementListContext)!; } -} -export class ReadCommittedContext extends LevelOfIsolationContext { - public constructor(ctx: LevelOfIsolationContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_END(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_END, 0)!; } - public KW_READ(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_READ, 0)!; + public elseIfClause(): ElseIfClauseContext[]; + public elseIfClause(i: number): ElseIfClauseContext | null; + public elseIfClause(i?: number): ElseIfClauseContext[] | ElseIfClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(ElseIfClauseContext); + } + + return this.getRuleContext(i, ElseIfClauseContext); } - public KW_COMMITTED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COMMITTED, 0)!; + public elseClause(): ElseClauseContext | null { + return this.getRuleContext(0, ElseClauseContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterReadCommitted) { - listener.enterReadCommitted(this); + if(listener.enterIfStatement) { + listener.enterIfStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitReadCommitted) { - listener.exitReadCommitted(this); + if(listener.exitIfStatement) { + listener.exitIfStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitReadCommitted) { - return visitor.visitReadCommitted(this); + if (visitor.visitIfStatement) { + return visitor.visitIfStatement(this); } else { return visitor.visitChildren(this); } } } -export class RepeatableReadContext extends LevelOfIsolationContext { - public constructor(ctx: LevelOfIsolationContext) { +export class SearchedCaseStatementContext extends ControlStatementContext { + public constructor(ctx: ControlStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public KW_REPEATABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_REPEATABLE, 0)!; + public KW_CASE(): antlr.TerminalNode[]; + public KW_CASE(i: number): antlr.TerminalNode | null; + public KW_CASE(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_CASE); + } else { + return this.getToken(TrinoSqlParser.KW_CASE, i); + } } - public KW_READ(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_READ, 0)!; + public KW_END(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_END, 0)!; + } + public caseStatementWhenClause(): CaseStatementWhenClauseContext[]; + public caseStatementWhenClause(i: number): CaseStatementWhenClauseContext | null; + public caseStatementWhenClause(i?: number): CaseStatementWhenClauseContext[] | CaseStatementWhenClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(CaseStatementWhenClauseContext); + } + + return this.getRuleContext(i, CaseStatementWhenClauseContext); + } + public elseClause(): ElseClauseContext | null { + return this.getRuleContext(0, ElseClauseContext); } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRepeatableRead) { - listener.enterRepeatableRead(this); + if(listener.enterSearchedCaseStatement) { + listener.enterSearchedCaseStatement(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRepeatableRead) { - listener.exitRepeatableRead(this); + if(listener.exitSearchedCaseStatement) { + listener.exitSearchedCaseStatement(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRepeatableRead) { - return visitor.visitRepeatableRead(this); + if (visitor.visitSearchedCaseStatement) { + return visitor.visitSearchedCaseStatement(this); } else { return visitor.visitChildren(this); } @@ -22684,67 +31566,77 @@ export class RepeatableReadContext extends LevelOfIsolationContext { } -export class CallArgumentContext extends antlr.ParserRuleContext { +export class CaseStatementWhenClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_callArgument; - } - public override copyFrom(ctx: CallArgumentContext): void { - super.copyFrom(ctx); - } -} -export class PositionalArgumentContext extends CallArgumentContext { - public constructor(ctx: CallArgumentContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public KW_WHEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_WHEN, 0)!; } public expression(): ExpressionContext { return this.getRuleContext(0, ExpressionContext)!; } + public KW_THEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_THEN, 0)!; + } + public sqlStatementList(): SqlStatementListContext { + return this.getRuleContext(0, SqlStatementListContext)!; + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_caseStatementWhenClause; + } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPositionalArgument) { - listener.enterPositionalArgument(this); + if(listener.enterCaseStatementWhenClause) { + listener.enterCaseStatementWhenClause(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPositionalArgument) { - listener.exitPositionalArgument(this); + if(listener.exitCaseStatementWhenClause) { + listener.exitCaseStatementWhenClause(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPositionalArgument) { - return visitor.visitPositionalArgument(this); + if (visitor.visitCaseStatementWhenClause) { + return visitor.visitCaseStatementWhenClause(this); } else { return visitor.visitChildren(this); } } } -export class NamedArgumentContext extends CallArgumentContext { - public constructor(ctx: CallArgumentContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class ElseIfClauseContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public KW_ELSEIF(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ELSEIF, 0)!; } public expression(): ExpressionContext { return this.getRuleContext(0, ExpressionContext)!; } + public KW_THEN(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_THEN, 0)!; + } + public sqlStatementList(): SqlStatementListContext { + return this.getRuleContext(0, SqlStatementListContext)!; + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_elseIfClause; + } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNamedArgument) { - listener.enterNamedArgument(this); + if(listener.enterElseIfClause) { + listener.enterElseIfClause(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNamedArgument) { - listener.exitNamedArgument(this); + if(listener.exitElseIfClause) { + listener.exitElseIfClause(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNamedArgument) { - return visitor.visitNamedArgument(this); + if (visitor.visitElseIfClause) { + return visitor.visitElseIfClause(this); } else { return visitor.visitChildren(this); } @@ -22752,21 +31644,45 @@ export class NamedArgumentContext extends CallArgumentContext { } -export class PathElementContext extends antlr.ParserRuleContext { +export class ElseClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } + public KW_ELSE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_ELSE, 0)!; + } + public sqlStatementList(): SqlStatementListContext { + return this.getRuleContext(0, SqlStatementListContext)!; + } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_pathElement; + return TrinoSqlParser.RULE_elseClause; } - public override copyFrom(ctx: PathElementContext): void { - super.copyFrom(ctx); + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterElseClause) { + listener.enterElseClause(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitElseClause) { + listener.exitElseClause(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitElseClause) { + return visitor.visitElseClause(this); + } else { + return visitor.visitChildren(this); + } } } -export class QualifiedArgumentContext extends PathElementContext { - public constructor(ctx: PathElementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class VariableDeclarationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public KW_DECLARE(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_DECLARE, 0)!; } public identifier(): IdentifierContext[]; public identifier(i: number): IdentifierContext | null; @@ -22777,45 +31693,31 @@ export class QualifiedArgumentContext extends PathElementContext { return this.getRuleContext(i, IdentifierContext); } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterQualifiedArgument) { - listener.enterQualifiedArgument(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitQualifiedArgument) { - listener.exitQualifiedArgument(this); - } + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitQualifiedArgument) { - return visitor.visitQualifiedArgument(this); - } else { - return visitor.visitChildren(this); - } + public KW_DEFAULT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DEFAULT, 0); } -} -export class UnqualifiedArgumentContext extends PathElementContext { - public constructor(ctx: PathElementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public valueExpression(): ValueExpressionContext | null { + return this.getRuleContext(0, ValueExpressionContext); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_variableDeclaration; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterUnqualifiedArgument) { - listener.enterUnqualifiedArgument(this); + if(listener.enterVariableDeclaration) { + listener.enterVariableDeclaration(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitUnqualifiedArgument) { - listener.exitUnqualifiedArgument(this); + if(listener.exitVariableDeclaration) { + listener.exitVariableDeclaration(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitUnqualifiedArgument) { - return visitor.visitUnqualifiedArgument(this); + if (visitor.visitVariableDeclaration) { + return visitor.visitVariableDeclaration(this); } else { return visitor.visitChildren(this); } @@ -22823,35 +31725,44 @@ export class UnqualifiedArgumentContext extends PathElementContext { } -export class PathSpecificationContext extends antlr.ParserRuleContext { +export class SqlStatementListContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public pathElement(): PathElementContext[]; - public pathElement(i: number): PathElementContext | null; - public pathElement(i?: number): PathElementContext[] | PathElementContext | null { + public controlStatement(): ControlStatementContext[]; + public controlStatement(i: number): ControlStatementContext | null; + public controlStatement(i?: number): ControlStatementContext[] | ControlStatementContext | null { if (i === undefined) { - return this.getRuleContexts(PathElementContext); + return this.getRuleContexts(ControlStatementContext); } - return this.getRuleContext(i, PathElementContext); + return this.getRuleContext(i, ControlStatementContext); + } + public SEMICOLON(): antlr.TerminalNode[]; + public SEMICOLON(i: number): antlr.TerminalNode | null; + public SEMICOLON(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.SEMICOLON); + } else { + return this.getToken(TrinoSqlParser.SEMICOLON, i); + } } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_pathSpecification; + return TrinoSqlParser.RULE_sqlStatementList; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterPathSpecification) { - listener.enterPathSpecification(this); + if(listener.enterSqlStatementList) { + listener.enterSqlStatementList(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitPathSpecification) { - listener.exitPathSpecification(this); + if(listener.exitSqlStatementList) { + listener.exitSqlStatementList(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitPathSpecification) { - return visitor.visitPathSpecification(this); + if (visitor.visitSqlStatementList) { + return visitor.visitSqlStatementList(this); } else { return visitor.visitChildren(this); } @@ -22863,6 +31774,9 @@ export class PrivilegeContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } + public KW_CREATE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CREATE, 0); + } public KW_SELECT(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_SELECT, 0); } @@ -22875,6 +31789,9 @@ export class PrivilegeContext extends antlr.ParserRuleContext { public KW_UPDATE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_UPDATE, 0); } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } public override get ruleIndex(): number { return TrinoSqlParser.RULE_privilege; } @@ -22898,32 +31815,35 @@ export class PrivilegeContext extends antlr.ParserRuleContext { } -export class TableOrViewNameContext extends antlr.ParserRuleContext { +export class EntityKindContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public tableName(): TableNameContext | null { - return this.getRuleContext(0, TableNameContext); + public KW_TABLE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TABLE, 0); + } + public KW_SCHEMA(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SCHEMA, 0); } - public viewName(): ViewNameContext | null { - return this.getRuleContext(0, ViewNameContext); + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_tableOrViewName; + return TrinoSqlParser.RULE_entityKind; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTableOrViewName) { - listener.enterTableOrViewName(this); + if(listener.enterEntityKind) { + listener.enterEntityKind(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTableOrViewName) { - listener.exitTableOrViewName(this); + if(listener.exitEntityKind) { + listener.exitEntityKind(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTableOrViewName) { - return visitor.visitTableOrViewName(this); + if (visitor.visitEntityKind) { + return visitor.visitEntityKind(this); } else { return visitor.visitChildren(this); } @@ -22931,29 +31851,32 @@ export class TableOrViewNameContext extends antlr.ParserRuleContext { } -export class TableNameContext extends antlr.ParserRuleContext { +export class GrantObjectContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public tablePath(): TablePathContext { - return this.getRuleContext(0, TablePathContext)!; + public qualifiedName(): QualifiedNameContext { + return this.getRuleContext(0, QualifiedNameContext)!; + } + public entityKind(): EntityKindContext | null { + return this.getRuleContext(0, EntityKindContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_tableName; + return TrinoSqlParser.RULE_grantObject; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTableName) { - listener.enterTableName(this); + if(listener.enterGrantObject) { + listener.enterGrantObject(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTableName) { - listener.exitTableName(this); + if(listener.exitGrantObject) { + listener.exitGrantObject(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTableName) { - return visitor.visitTableName(this); + if (visitor.visitGrantObject) { + return visitor.visitGrantObject(this); } else { return visitor.visitChildren(this); } @@ -22961,29 +31884,32 @@ export class TableNameContext extends antlr.ParserRuleContext { } -export class TableNameCreateContext extends antlr.ParserRuleContext { +export class TableOrViewNameContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public tablePath(): TablePathContext { - return this.getRuleContext(0, TablePathContext)!; + public tableRef(): TableRefContext | null { + return this.getRuleContext(0, TableRefContext); + } + public viewRef(): ViewRefContext | null { + return this.getRuleContext(0, ViewRefContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_tableNameCreate; + return TrinoSqlParser.RULE_tableOrViewName; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTableNameCreate) { - listener.enterTableNameCreate(this); + if(listener.enterTableOrViewName) { + listener.enterTableOrViewName(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTableNameCreate) { - listener.exitTableNameCreate(this); + if(listener.exitTableOrViewName) { + listener.exitTableOrViewName(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTableNameCreate) { - return visitor.visitTableNameCreate(this); + if (visitor.visitTableOrViewName) { + return visitor.visitTableOrViewName(this); } else { return visitor.visitChildren(this); } @@ -22991,59 +31917,38 @@ export class TableNameCreateContext extends antlr.ParserRuleContext { } -export class ViewNameContext extends antlr.ParserRuleContext { +export class TableRefContext extends antlr.ParserRuleContext { + public _table?: IdentifierContext; + public _schema?: IdentifierContext; + public _catalog?: IdentifierContext; public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public viewPath(): ViewPathContext { - return this.getRuleContext(0, ViewPathContext)!; - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_viewName; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterViewName) { - listener.enterViewName(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitViewName) { - listener.exitViewName(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitViewName) { - return visitor.visitViewName(this); - } else { - return visitor.visitChildren(this); + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); } - } -} - -export class ViewNameCreateContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public viewPath(): ViewPathContext { - return this.getRuleContext(0, ViewPathContext)!; + return this.getRuleContext(i, IdentifierContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_viewNameCreate; + return TrinoSqlParser.RULE_tableRef; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterViewNameCreate) { - listener.enterViewNameCreate(this); + if(listener.enterTableRef) { + listener.enterTableRef(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitViewNameCreate) { - listener.exitViewNameCreate(this); + if(listener.exitTableRef) { + listener.exitTableRef(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitViewNameCreate) { - return visitor.visitViewNameCreate(this); + if (visitor.visitTableRef) { + return visitor.visitTableRef(this); } else { return visitor.visitChildren(this); } @@ -23051,7 +31956,7 @@ export class ViewNameCreateContext extends antlr.ParserRuleContext { } -export class TablePathContext extends antlr.ParserRuleContext { +export class TableNameCreateContext extends antlr.ParserRuleContext { public _table?: IdentifierContext; public _schema?: IdentifierContext; public _catalog?: IdentifierContext; @@ -23068,21 +31973,21 @@ export class TablePathContext extends antlr.ParserRuleContext { return this.getRuleContext(i, IdentifierContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_tablePath; + return TrinoSqlParser.RULE_tableNameCreate; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTablePath) { - listener.enterTablePath(this); + if(listener.enterTableNameCreate) { + listener.enterTableNameCreate(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTablePath) { - listener.exitTablePath(this); + if(listener.exitTableNameCreate) { + listener.exitTableNameCreate(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTablePath) { - return visitor.visitTablePath(this); + if (visitor.visitTableNameCreate) { + return visitor.visitTableNameCreate(this); } else { return visitor.visitChildren(this); } @@ -23090,7 +31995,7 @@ export class TablePathContext extends antlr.ParserRuleContext { } -export class ViewPathContext extends antlr.ParserRuleContext { +export class ViewRefContext extends antlr.ParserRuleContext { public _view?: IdentifierContext; public _schema?: IdentifierContext; public _catalog?: IdentifierContext; @@ -23107,21 +32012,21 @@ export class ViewPathContext extends antlr.ParserRuleContext { return this.getRuleContext(i, IdentifierContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_viewPath; + return TrinoSqlParser.RULE_viewRef; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterViewPath) { - listener.enterViewPath(this); + if(listener.enterViewRef) { + listener.enterViewRef(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitViewPath) { - listener.exitViewPath(this); + if(listener.exitViewRef) { + listener.exitViewRef(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitViewPath) { - return visitor.visitViewPath(this); + if (visitor.visitViewRef) { + return visitor.visitViewRef(this); } else { return visitor.visitChildren(this); } @@ -23129,29 +32034,38 @@ export class ViewPathContext extends antlr.ParserRuleContext { } -export class SchemaNameContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public schemaPath(): SchemaPathContext { - return this.getRuleContext(0, SchemaPathContext)!; +export class ViewNameCreateContext extends antlr.ParserRuleContext { + public _view?: IdentifierContext; + public _schema?: IdentifierContext; + public _catalog?: IdentifierContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_schemaName; + return TrinoSqlParser.RULE_viewNameCreate; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSchemaName) { - listener.enterSchemaName(this); + if(listener.enterViewNameCreate) { + listener.enterViewNameCreate(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSchemaName) { - listener.exitSchemaName(this); + if(listener.exitViewNameCreate) { + listener.exitViewNameCreate(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSchemaName) { - return visitor.visitSchemaName(this); + if (visitor.visitViewNameCreate) { + return visitor.visitViewNameCreate(this); } else { return visitor.visitChildren(this); } @@ -23159,29 +32073,37 @@ export class SchemaNameContext extends antlr.ParserRuleContext { } -export class SchemaNameCreateContext extends antlr.ParserRuleContext { +export class SchemaRefContext extends antlr.ParserRuleContext { + public _schema?: IdentifierContext; + public _catalog?: IdentifierContext; public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public schemaPath(): SchemaPathContext { - return this.getRuleContext(0, SchemaPathContext)!; + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_schemaNameCreate; + return TrinoSqlParser.RULE_schemaRef; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSchemaNameCreate) { - listener.enterSchemaNameCreate(this); + if(listener.enterSchemaRef) { + listener.enterSchemaRef(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSchemaNameCreate) { - listener.exitSchemaNameCreate(this); + if(listener.exitSchemaRef) { + listener.exitSchemaRef(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSchemaNameCreate) { - return visitor.visitSchemaNameCreate(this); + if (visitor.visitSchemaRef) { + return visitor.visitSchemaRef(this); } else { return visitor.visitChildren(this); } @@ -23189,7 +32111,7 @@ export class SchemaNameCreateContext extends antlr.ParserRuleContext { } -export class SchemaPathContext extends antlr.ParserRuleContext { +export class SchemaNameCreateContext extends antlr.ParserRuleContext { public _schema?: IdentifierContext; public _catalog?: IdentifierContext; public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { @@ -23205,21 +32127,21 @@ export class SchemaPathContext extends antlr.ParserRuleContext { return this.getRuleContext(i, IdentifierContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_schemaPath; + return TrinoSqlParser.RULE_schemaNameCreate; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSchemaPath) { - listener.enterSchemaPath(this); + if(listener.enterSchemaNameCreate) { + listener.enterSchemaNameCreate(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSchemaPath) { - listener.exitSchemaPath(this); + if(listener.exitSchemaNameCreate) { + listener.exitSchemaNameCreate(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSchemaPath) { - return visitor.visitSchemaPath(this); + if (visitor.visitSchemaNameCreate) { + return visitor.visitSchemaNameCreate(this); } else { return visitor.visitChildren(this); } @@ -23227,7 +32149,7 @@ export class SchemaPathContext extends antlr.ParserRuleContext { } -export class CatalogNameContext extends antlr.ParserRuleContext { +export class CatalogRefContext extends antlr.ParserRuleContext { public _catalog?: IdentifierContext; public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -23236,21 +32158,21 @@ export class CatalogNameContext extends antlr.ParserRuleContext { return this.getRuleContext(0, IdentifierContext)!; } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_catalogName; + return TrinoSqlParser.RULE_catalogRef; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterCatalogName) { - listener.enterCatalogName(this); + if(listener.enterCatalogRef) { + listener.enterCatalogRef(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitCatalogName) { - listener.exitCatalogName(this); + if(listener.exitCatalogRef) { + listener.exitCatalogRef(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitCatalogName) { - return visitor.visitCatalogName(this); + if (visitor.visitCatalogRef) { + return visitor.visitCatalogRef(this); } else { return visitor.visitChildren(this); } @@ -23319,7 +32241,37 @@ export class FunctionNameContext extends antlr.ParserRuleContext { } -export class ColumnNameContext extends antlr.ParserRuleContext { +export class FunctionNameCreateContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public qualifiedName(): QualifiedNameContext { + return this.getRuleContext(0, QualifiedNameContext)!; + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_functionNameCreate; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterFunctionNameCreate) { + listener.enterFunctionNameCreate(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitFunctionNameCreate) { + listener.exitFunctionNameCreate(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitFunctionNameCreate) { + return visitor.visitFunctionNameCreate(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class ColumnRefContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } @@ -23327,21 +32279,21 @@ export class ColumnNameContext extends antlr.ParserRuleContext { return this.getRuleContext(0, QualifiedNameContext); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_columnName; + return TrinoSqlParser.RULE_columnRef; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterColumnName) { - listener.enterColumnName(this); + if(listener.enterColumnRef) { + listener.enterColumnRef(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitColumnName) { - listener.exitColumnName(this); + if(listener.exitColumnRef) { + listener.exitColumnRef(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitColumnName) { - return visitor.visitColumnName(this); + if (visitor.visitColumnRef) { + return visitor.visitColumnRef(this); } else { return visitor.visitChildren(this); } @@ -23415,6 +32367,82 @@ export class QualifiedNameContext extends antlr.ParserRuleContext { } +export class QueryPeriodContext extends antlr.ParserRuleContext { + public _end?: ValueExpressionContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public KW_FOR(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_FOR, 0)!; + } + public rangeType(): RangeTypeContext { + return this.getRuleContext(0, RangeTypeContext)!; + } + public KW_AS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_AS, 0)!; + } + public KW_OF(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_OF, 0)!; + } + public valueExpression(): ValueExpressionContext { + return this.getRuleContext(0, ValueExpressionContext)!; + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_queryPeriod; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterQueryPeriod) { + listener.enterQueryPeriod(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitQueryPeriod) { + listener.exitQueryPeriod(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitQueryPeriod) { + return visitor.visitQueryPeriod(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class RangeTypeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public KW_TIMESTAMP(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TIMESTAMP, 0); + } + public KW_VERSION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_VERSION, 0); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_rangeType; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterRangeType) { + listener.enterRangeType(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitRangeType) { + listener.exitRangeType(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitRangeType) { + return visitor.visitRangeType(this); + } else { + return visitor.visitChildren(this); + } + } +} + + export class GrantorContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -23639,6 +32667,54 @@ export class RolesContext extends antlr.ParserRuleContext { } +export class PrivilegeOrRoleContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public KW_CREATE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CREATE, 0); + } + public KW_SELECT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SELECT, 0); + } + public KW_DELETE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DELETE, 0); + } + public KW_INSERT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INSERT, 0); + } + public KW_UPDATE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UPDATE, 0); + } + public KW_EXECUTE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXECUTE, 0); + } + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_privilegeOrRole; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterPrivilegeOrRole) { + listener.enterPrivilegeOrRole(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitPrivilegeOrRole) { + listener.exitPrivilegeOrRole(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitPrivilegeOrRole) { + return visitor.visitPrivilegeOrRole(this); + } else { + return visitor.visitChildren(this); + } + } +} + + export class IdentifierContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -23859,10 +32935,78 @@ export class IntegerLiteralContext extends NumberContext { } +export class AuthorizationUserContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_authorizationUser; + } + public override copyFrom(ctx: AuthorizationUserContext): void { + super.copyFrom(ctx); + } +} +export class StringUserContext extends AuthorizationUserContext { + public constructor(ctx: AuthorizationUserContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public string(): StringContext { + return this.getRuleContext(0, StringContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterStringUser) { + listener.enterStringUser(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitStringUser) { + listener.exitStringUser(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitStringUser) { + return visitor.visitStringUser(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class IdentifierUserContext extends AuthorizationUserContext { + public constructor(ctx: AuthorizationUserContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterIdentifierUser) { + listener.enterIdentifierUser(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitIdentifierUser) { + listener.exitIdentifierUser(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitIdentifierUser) { + return visitor.visitIdentifierUser(this); + } else { + return visitor.visitChildren(this); + } + } +} + + export class NonReservedContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } + public KW_ABSENT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ABSENT, 0); + } public KW_ADD(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_ADD, 0); } @@ -23893,15 +33037,27 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_AUTHORIZATION(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0); } + public KW_BEGIN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BEGIN, 0); + } public KW_BERNOULLI(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_BERNOULLI, 0); } + public KW_BOTH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BOTH, 0); + } public KW_CALL(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_CALL, 0); } + public KW_CALLED(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CALLED, 0); + } public KW_CASCADE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_CASCADE, 0); } + public KW_CATALOG(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CATALOG, 0); + } public KW_CATALOGS(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_CATALOGS, 0); } @@ -23920,6 +33076,15 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_COMMITTED(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_COMMITTED, 0); } + public KW_CONDITIONAL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_CONDITIONAL, 0); + } + public KW_COPARTITION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COPARTITION, 0); + } + public KW_COUNT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COUNT, 0); + } public KW_CURRENT(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_CURRENT, 0); } @@ -23932,6 +33097,9 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_DAY(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_DAY, 0); } + public KW_DECLARE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DECLARE, 0); + } public KW_DEFAULT(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_DEFAULT, 0); } @@ -23941,18 +33109,39 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_DEFINER(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_DEFINER, 0); } + public KW_DENY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DENY, 0); + } public KW_DESC(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_DESC, 0); } + public KW_DESCRIPTOR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DESCRIPTOR, 0); + } + public KW_DETERMINISTIC(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DETERMINISTIC, 0); + } public KW_DISTRIBUTED(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_DISTRIBUTED, 0); } + public KW_DO(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DO, 0); + } public KW_DOUBLE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_DOUBLE, 0); } + public KW_ELSEIF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ELSEIF, 0); + } public KW_EMPTY(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_EMPTY, 0); } + public KW_ENCODING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ENCODING, 0); + } + public KW_ERROR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ERROR, 0); + } public KW_EXCLUDING(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_EXCLUDING, 0); } @@ -23977,9 +33166,15 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_FORMAT(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_FORMAT, 0); } + public KW_FUNCTION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FUNCTION, 0); + } public KW_FUNCTIONS(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_FUNCTIONS, 0); } + public KW_GRACE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_GRACE, 0); + } public KW_GRANT(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_GRANT, 0); } @@ -23989,9 +33184,6 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_GRANTS(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_GRANTS, 0); } - public KW_DENY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DENY, 0); - } public KW_GRAPHVIZ(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_GRAPHVIZ, 0); } @@ -24007,6 +33199,9 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_IGNORE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_IGNORE, 0); } + public KW_IMMEDIATE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IMMEDIATE, 0); + } public KW_INCLUDING(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_INCLUDING, 0); } @@ -24025,18 +33220,39 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_IO(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_IO, 0); } + public KW_ITERATE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ITERATE, 0); + } public KW_ISOLATION(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_ISOLATION, 0); } public KW_JSON(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_JSON, 0); } + public KW_KEEP(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_KEEP, 0); + } + public KW_KEY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_KEY, 0); + } + public KW_KEYS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_KEYS, 0); + } + public KW_LANGUAGE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LANGUAGE, 0); + } public KW_LAST(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_LAST, 0); } public KW_LATERAL(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_LATERAL, 0); } + public KW_LEADING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LEADING, 0); + } + public KW_LEAVE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LEAVE, 0); + } public KW_LEVEL(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_LEVEL, 0); } @@ -24049,6 +33265,9 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_LOGICAL(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_LOGICAL, 0); } + public KW_LOOP(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LOOP, 0); + } public KW_MAP(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_MAP, 0); } @@ -24079,6 +33298,9 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_MONTH(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_MONTH, 0); } + public KW_NESTED(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NESTED, 0); + } public KW_NEXT(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_NEXT, 0); } @@ -24106,6 +33328,12 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_NULLS(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_NULLS, 0); } + public KW_OBJECT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OBJECT, 0); + } + public KW_OF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OF, 0); + } public KW_OFFSET(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_OFFSET, 0); } @@ -24130,12 +33358,18 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_OVER(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_OVER, 0); } + public KW_OVERFLOW(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OVERFLOW, 0); + } public KW_PARTITION(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_PARTITION, 0); } public KW_PARTITIONS(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_PARTITIONS, 0); } + public KW_PASSING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PASSING, 0); + } public KW_PAST(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_PAST, 0); } @@ -24148,9 +33382,15 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_PER(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_PER, 0); } + public KW_PERIOD(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PERIOD, 0); + } public KW_PERMUTE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_PERMUTE, 0); } + public KW_PLAN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PLAN, 0); + } public KW_POSITION(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_POSITION, 0); } @@ -24166,6 +33406,12 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_PROPERTIES(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_PROPERTIES, 0); } + public KW_PRUNE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PRUNE, 0); + } + public KW_QUOTES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_QUOTES, 0); + } public KW_RANGE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_RANGE, 0); } @@ -24178,6 +33424,9 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_RENAME(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_RENAME, 0); } + public KW_REPEAT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_REPEAT, 0); + } public KW_REPEATABLE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_REPEATABLE, 0); } @@ -24193,6 +33442,15 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_RESTRICT(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_RESTRICT, 0); } + public KW_RETURN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RETURN, 0); + } + public KW_RETURNING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RETURNING, 0); + } + public KW_RETURNS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RETURNS, 0); + } public KW_REVOKE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_REVOKE, 0); } @@ -24214,6 +33472,9 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_RUNNING(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_RUNNING, 0); } + public KW_SCALAR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SCALAR, 0); + } public KW_SCHEMA(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_SCHEMA, 0); } @@ -24271,6 +33532,9 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_TEXT(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_TEXT, 0); } + public KW_TEXT_STRING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TEXT_STRING, 0); + } public KW_TIES(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_TIES, 0); } @@ -24283,6 +33547,9 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_TO(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_TO, 0); } + public KW_TRAILING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TRAILING, 0); + } public KW_TRANSACTION(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_TRANSACTION, 0); } @@ -24301,9 +33568,21 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_UNCOMMITTED(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_UNCOMMITTED, 0); } + public KW_UNCONDITIONAL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNCONDITIONAL, 0); + } + public KW_UNIQUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNIQUE, 0); + } + public KW_UNKNOWN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNKNOWN, 0); + } public KW_UNMATCHED(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_UNMATCHED, 0); } + public KW_UNTIL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNTIL, 0); + } public KW_UPDATE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_UPDATE, 0); } @@ -24313,24 +33592,48 @@ export class NonReservedContext extends antlr.ParserRuleContext { public KW_USER(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_USER, 0); } + public KW_UTF16(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UTF16, 0); + } + public KW_UTF32(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UTF32, 0); + } + public KW_UTF8(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UTF8, 0); + } public KW_VALIDATE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_VALIDATE, 0); } + public KW_VALUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_VALUE, 0); + } public KW_VERBOSE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_VERBOSE, 0); } + public KW_VERSION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_VERSION, 0); + } public KW_VIEW(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_VIEW, 0); } + public KW_WHILE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WHILE, 0); + } public KW_WINDOW(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_WINDOW, 0); } + public KW_WITHIN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITHIN, 0); + } public KW_WITHOUT(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_WITHOUT, 0); } public KW_WORK(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_WORK, 0); } + public KW_WRAPPER(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WRAPPER, 0); + } public KW_WRITE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_WRITE, 0); } diff --git a/src/lib/trino/TrinoSqlVisitor.ts b/src/lib/trino/TrinoSqlVisitor.ts index 72312cef..d340ce44 100644 --- a/src/lib/trino/TrinoSqlVisitor.ts +++ b/src/lib/trino/TrinoSqlVisitor.ts @@ -10,14 +10,16 @@ import { SQLParserBase } from '../SQLParserBase'; import { ProgramContext } from "./TrinoSqlParser.js"; import { StatementsContext } from "./TrinoSqlParser.js"; -import { StandaloneClauseContext } from "./TrinoSqlParser.js"; import { SingleStatementContext } from "./TrinoSqlParser.js"; import { StandaloneExpressionContext } from "./TrinoSqlParser.js"; import { StandalonePathSpecificationContext } from "./TrinoSqlParser.js"; import { StandaloneTypeContext } from "./TrinoSqlParser.js"; import { StandaloneRowPatternContext } from "./TrinoSqlParser.js"; +import { StandaloneFunctionSpecificationContext } from "./TrinoSqlParser.js"; import { StatementDefaultContext } from "./TrinoSqlParser.js"; import { UseContext } from "./TrinoSqlParser.js"; +import { CreateCatalogContext } from "./TrinoSqlParser.js"; +import { DropCatalogContext } from "./TrinoSqlParser.js"; import { CreateSchemaContext } from "./TrinoSqlParser.js"; import { DropSchemaContext } from "./TrinoSqlParser.js"; import { RenameSchemaContext } from "./TrinoSqlParser.js"; @@ -28,12 +30,15 @@ import { DropTableContext } from "./TrinoSqlParser.js"; import { InsertIntoContext } from "./TrinoSqlParser.js"; import { DeleteContext } from "./TrinoSqlParser.js"; import { TruncateTableContext } from "./TrinoSqlParser.js"; -import { RenameTableContext } from "./TrinoSqlParser.js"; import { CommentTableContext } from "./TrinoSqlParser.js"; +import { CommentViewContext } from "./TrinoSqlParser.js"; import { CommentColumnContext } from "./TrinoSqlParser.js"; +import { RenameTableContext } from "./TrinoSqlParser.js"; +import { AddColumnContext } from "./TrinoSqlParser.js"; import { RenameColumnContext } from "./TrinoSqlParser.js"; import { DropColumnContext } from "./TrinoSqlParser.js"; -import { AddColumnContext } from "./TrinoSqlParser.js"; +import { SetColumnTypeContext } from "./TrinoSqlParser.js"; +import { DropNotNullConstraintContext } from "./TrinoSqlParser.js"; import { SetTableAuthorizationContext } from "./TrinoSqlParser.js"; import { SetTablePropertiesContext } from "./TrinoSqlParser.js"; import { TableExecuteContext } from "./TrinoSqlParser.js"; @@ -48,20 +53,24 @@ import { DropViewContext } from "./TrinoSqlParser.js"; import { RenameViewContext } from "./TrinoSqlParser.js"; import { SetViewAuthorizationContext } from "./TrinoSqlParser.js"; import { CallContext } from "./TrinoSqlParser.js"; +import { CreateFunctionContext } from "./TrinoSqlParser.js"; +import { DropFunctionContext } from "./TrinoSqlParser.js"; import { CreateRoleContext } from "./TrinoSqlParser.js"; import { DropRoleContext } from "./TrinoSqlParser.js"; import { GrantRolesContext } from "./TrinoSqlParser.js"; +import { GrantPrivilegesContext } from "./TrinoSqlParser.js"; import { RevokeRolesContext } from "./TrinoSqlParser.js"; -import { SetRoleContext } from "./TrinoSqlParser.js"; -import { GrantContext } from "./TrinoSqlParser.js"; +import { RevokePrivilegesContext } from "./TrinoSqlParser.js"; import { DenyContext } from "./TrinoSqlParser.js"; -import { RevokeContext } from "./TrinoSqlParser.js"; +import { SetRoleContext } from "./TrinoSqlParser.js"; import { ShowGrantsContext } from "./TrinoSqlParser.js"; import { ExplainContext } from "./TrinoSqlParser.js"; +import { ExplainAnalyzeContext } from "./TrinoSqlParser.js"; import { ShowCreateTableContext } from "./TrinoSqlParser.js"; import { ShowCreateSchemaContext } from "./TrinoSqlParser.js"; import { ShowCreateViewContext } from "./TrinoSqlParser.js"; import { ShowCreateMaterializedViewContext } from "./TrinoSqlParser.js"; +import { ShowCreateFunctionContext } from "./TrinoSqlParser.js"; import { ShowTablesContext } from "./TrinoSqlParser.js"; import { ShowSchemasContext } from "./TrinoSqlParser.js"; import { ShowCatalogsContext } from "./TrinoSqlParser.js"; @@ -72,6 +81,8 @@ import { ShowRolesContext } from "./TrinoSqlParser.js"; import { ShowRoleGrantsContext } from "./TrinoSqlParser.js"; import { ShowFunctionsContext } from "./TrinoSqlParser.js"; import { ShowSessionContext } from "./TrinoSqlParser.js"; +import { SetSessionAuthorizationContext } from "./TrinoSqlParser.js"; +import { ResetSessionAuthorizationContext } from "./TrinoSqlParser.js"; import { SetSessionContext } from "./TrinoSqlParser.js"; import { ResetSessionContext } from "./TrinoSqlParser.js"; import { StartTransactionContext } from "./TrinoSqlParser.js"; @@ -80,6 +91,7 @@ import { RollbackContext } from "./TrinoSqlParser.js"; import { PrepareContext } from "./TrinoSqlParser.js"; import { DeallocateContext } from "./TrinoSqlParser.js"; import { ExecuteContext } from "./TrinoSqlParser.js"; +import { ExecuteImmediateContext } from "./TrinoSqlParser.js"; import { DescribeInputContext } from "./TrinoSqlParser.js"; import { DescribeOutputContext } from "./TrinoSqlParser.js"; import { SetPathContext } from "./TrinoSqlParser.js"; @@ -88,6 +100,8 @@ import { UpdateContext } from "./TrinoSqlParser.js"; import { MergeContext } from "./TrinoSqlParser.js"; import { ShowTableCommentContext } from "./TrinoSqlParser.js"; import { ShowColumnCommentContext } from "./TrinoSqlParser.js"; +import { RootQueryContext } from "./TrinoSqlParser.js"; +import { WithFunctionContext } from "./TrinoSqlParser.js"; import { QueryStatementContext } from "./TrinoSqlParser.js"; import { WithContext } from "./TrinoSqlParser.js"; import { TableElementContext } from "./TrinoSqlParser.js"; @@ -128,6 +142,9 @@ import { JoinTypeContext } from "./TrinoSqlParser.js"; import { JoinCriteriaContext } from "./TrinoSqlParser.js"; import { SampledRelationContext } from "./TrinoSqlParser.js"; import { SampleTypeContext } from "./TrinoSqlParser.js"; +import { TrimsSpecificationContext } from "./TrinoSqlParser.js"; +import { ListAggOverflowBehaviorContext } from "./TrinoSqlParser.js"; +import { ListaggCountIndicationContext } from "./TrinoSqlParser.js"; import { PatternRecognitionContext } from "./TrinoSqlParser.js"; import { MeasureDefinitionContext } from "./TrinoSqlParser.js"; import { RowsPerMatchContext } from "./TrinoSqlParser.js"; @@ -139,15 +156,37 @@ import { AliasedRelationContext } from "./TrinoSqlParser.js"; import { ColumnListCreateContext } from "./TrinoSqlParser.js"; import { ColumnListContext } from "./TrinoSqlParser.js"; import { ColumnAliasesContext } from "./TrinoSqlParser.js"; -import { TableOrViewRelationContext } from "./TrinoSqlParser.js"; +import { TableNameContext } from "./TrinoSqlParser.js"; import { SubqueryRelationContext } from "./TrinoSqlParser.js"; import { UnnestContext } from "./TrinoSqlParser.js"; import { LateralContext } from "./TrinoSqlParser.js"; +import { TableFunctionInvocationContext } from "./TrinoSqlParser.js"; import { ParenthesizedRelationContext } from "./TrinoSqlParser.js"; +import { JsonTableContext } from "./TrinoSqlParser.js"; +import { OrdinalityColumnContext } from "./TrinoSqlParser.js"; +import { ValueColumnContext } from "./TrinoSqlParser.js"; +import { QueryColumnContext } from "./TrinoSqlParser.js"; +import { NestedColumnsContext } from "./TrinoSqlParser.js"; +import { LeafPlanContext } from "./TrinoSqlParser.js"; +import { JoinPlanContext } from "./TrinoSqlParser.js"; +import { UnionPlanContext } from "./TrinoSqlParser.js"; +import { CrossPlanContext } from "./TrinoSqlParser.js"; +import { JsonTablePathNameContext } from "./TrinoSqlParser.js"; +import { PlanPrimaryContext } from "./TrinoSqlParser.js"; +import { JsonTableDefaultPlanContext } from "./TrinoSqlParser.js"; +import { TableFunctionCallContext } from "./TrinoSqlParser.js"; +import { TableFunctionArgumentContext } from "./TrinoSqlParser.js"; +import { TableArgumentContext } from "./TrinoSqlParser.js"; +import { TableArgumentTableContext } from "./TrinoSqlParser.js"; +import { TableArgumentQueryContext } from "./TrinoSqlParser.js"; +import { DescriptorArgumentContext } from "./TrinoSqlParser.js"; +import { DescriptorFieldContext } from "./TrinoSqlParser.js"; +import { CopartitionTablesContext } from "./TrinoSqlParser.js"; import { ExpressionContext } from "./TrinoSqlParser.js"; import { LogicalNotContext } from "./TrinoSqlParser.js"; import { PredicatedContext } from "./TrinoSqlParser.js"; -import { LogicalBinaryContext } from "./TrinoSqlParser.js"; +import { OrContext } from "./TrinoSqlParser.js"; +import { AndContext } from "./TrinoSqlParser.js"; import { ComparisonContext } from "./TrinoSqlParser.js"; import { QuantifiedComparisonContext } from "./TrinoSqlParser.js"; import { BetweenContext } from "./TrinoSqlParser.js"; @@ -163,36 +202,56 @@ import { ArithmeticUnaryContext } from "./TrinoSqlParser.js"; import { AtTimeZoneContext } from "./TrinoSqlParser.js"; import { DereferenceContext } from "./TrinoSqlParser.js"; import { TypeConstructorContext } from "./TrinoSqlParser.js"; -import { SpecialDateTimeFunctionContext } from "./TrinoSqlParser.js"; +import { JsonValueContext } from "./TrinoSqlParser.js"; +import { CurrentDateContext } from "./TrinoSqlParser.js"; import { SubstringContext } from "./TrinoSqlParser.js"; import { CastContext } from "./TrinoSqlParser.js"; import { LambdaContext } from "./TrinoSqlParser.js"; import { ParenthesizedExpressionContext } from "./TrinoSqlParser.js"; +import { TrimContext } from "./TrinoSqlParser.js"; import { ParameterContext } from "./TrinoSqlParser.js"; import { NormalizeContext } from "./TrinoSqlParser.js"; +import { LocalTimestampContext } from "./TrinoSqlParser.js"; +import { JsonObjectContext } from "./TrinoSqlParser.js"; import { IntervalLiteralContext } from "./TrinoSqlParser.js"; import { NumericLiteralContext } from "./TrinoSqlParser.js"; import { BooleanLiteralContext } from "./TrinoSqlParser.js"; +import { JsonArrayContext } from "./TrinoSqlParser.js"; import { SimpleCaseContext } from "./TrinoSqlParser.js"; import { ColumnReferenceContext } from "./TrinoSqlParser.js"; import { NullLiteralContext } from "./TrinoSqlParser.js"; import { RowConstructorContext } from "./TrinoSqlParser.js"; import { SubscriptContext } from "./TrinoSqlParser.js"; +import { JsonExistsContext } from "./TrinoSqlParser.js"; import { CurrentPathContext } from "./TrinoSqlParser.js"; import { SubqueryExpressionContext } from "./TrinoSqlParser.js"; import { BinaryLiteralContext } from "./TrinoSqlParser.js"; +import { CurrentTimeContext } from "./TrinoSqlParser.js"; +import { LocalTimeContext } from "./TrinoSqlParser.js"; import { CurrentUserContext } from "./TrinoSqlParser.js"; +import { JsonQueryContext } from "./TrinoSqlParser.js"; import { MeasureContext } from "./TrinoSqlParser.js"; import { ExtractContext } from "./TrinoSqlParser.js"; import { StringLiteralContext } from "./TrinoSqlParser.js"; import { ArrayConstructorContext } from "./TrinoSqlParser.js"; import { FunctionCallContext } from "./TrinoSqlParser.js"; +import { CurrentTimestampContext } from "./TrinoSqlParser.js"; import { CurrentSchemaContext } from "./TrinoSqlParser.js"; import { ExistsContext } from "./TrinoSqlParser.js"; import { PositionContext } from "./TrinoSqlParser.js"; +import { ListaggContext } from "./TrinoSqlParser.js"; import { SearchedCaseContext } from "./TrinoSqlParser.js"; import { CurrentCatalogContext } from "./TrinoSqlParser.js"; import { GroupingOperationContext } from "./TrinoSqlParser.js"; +import { JsonPathInvocationContext } from "./TrinoSqlParser.js"; +import { JsonValueExpressionContext } from "./TrinoSqlParser.js"; +import { JsonRepresentationContext } from "./TrinoSqlParser.js"; +import { JsonArgumentContext } from "./TrinoSqlParser.js"; +import { JsonExistsErrorBehaviorContext } from "./TrinoSqlParser.js"; +import { JsonValueBehaviorContext } from "./TrinoSqlParser.js"; +import { JsonQueryWrapperBehaviorContext } from "./TrinoSqlParser.js"; +import { JsonQueryBehaviorContext } from "./TrinoSqlParser.js"; +import { JsonObjectMemberContext } from "./TrinoSqlParser.js"; import { ProcessingModeContext } from "./TrinoSqlParser.js"; import { NullTreatmentContext } from "./TrinoSqlParser.js"; import { BasicStringLiteralContext } from "./TrinoSqlParser.js"; @@ -254,23 +313,51 @@ import { NamedArgumentContext } from "./TrinoSqlParser.js"; import { QualifiedArgumentContext } from "./TrinoSqlParser.js"; import { UnqualifiedArgumentContext } from "./TrinoSqlParser.js"; import { PathSpecificationContext } from "./TrinoSqlParser.js"; +import { FunctionSpecificationContext } from "./TrinoSqlParser.js"; +import { FunctionDeclarationContext } from "./TrinoSqlParser.js"; +import { ParameterDeclarationContext } from "./TrinoSqlParser.js"; +import { ReturnsClauseContext } from "./TrinoSqlParser.js"; +import { LanguageCharacteristicContext } from "./TrinoSqlParser.js"; +import { DeterministicCharacteristicContext } from "./TrinoSqlParser.js"; +import { ReturnsNullOnNullInputCharacteristicContext } from "./TrinoSqlParser.js"; +import { CalledOnNullInputCharacteristicContext } from "./TrinoSqlParser.js"; +import { SecurityCharacteristicContext } from "./TrinoSqlParser.js"; +import { CommentCharacteristicContext } from "./TrinoSqlParser.js"; +import { ReturnStatementContext } from "./TrinoSqlParser.js"; +import { AssignmentStatementContext } from "./TrinoSqlParser.js"; +import { SimpleCaseStatementContext } from "./TrinoSqlParser.js"; +import { SearchedCaseStatementContext } from "./TrinoSqlParser.js"; +import { IfStatementContext } from "./TrinoSqlParser.js"; +import { IterateStatementContext } from "./TrinoSqlParser.js"; +import { LeaveStatementContext } from "./TrinoSqlParser.js"; +import { CompoundStatementContext } from "./TrinoSqlParser.js"; +import { LoopStatementContext } from "./TrinoSqlParser.js"; +import { WhileStatementContext } from "./TrinoSqlParser.js"; +import { RepeatStatementContext } from "./TrinoSqlParser.js"; +import { CaseStatementWhenClauseContext } from "./TrinoSqlParser.js"; +import { ElseIfClauseContext } from "./TrinoSqlParser.js"; +import { ElseClauseContext } from "./TrinoSqlParser.js"; +import { VariableDeclarationContext } from "./TrinoSqlParser.js"; +import { SqlStatementListContext } from "./TrinoSqlParser.js"; import { PrivilegeContext } from "./TrinoSqlParser.js"; +import { EntityKindContext } from "./TrinoSqlParser.js"; +import { GrantObjectContext } from "./TrinoSqlParser.js"; import { TableOrViewNameContext } from "./TrinoSqlParser.js"; -import { TableNameContext } from "./TrinoSqlParser.js"; +import { TableRefContext } from "./TrinoSqlParser.js"; import { TableNameCreateContext } from "./TrinoSqlParser.js"; -import { ViewNameContext } from "./TrinoSqlParser.js"; +import { ViewRefContext } from "./TrinoSqlParser.js"; import { ViewNameCreateContext } from "./TrinoSqlParser.js"; -import { TablePathContext } from "./TrinoSqlParser.js"; -import { ViewPathContext } from "./TrinoSqlParser.js"; -import { SchemaNameContext } from "./TrinoSqlParser.js"; +import { SchemaRefContext } from "./TrinoSqlParser.js"; import { SchemaNameCreateContext } from "./TrinoSqlParser.js"; -import { SchemaPathContext } from "./TrinoSqlParser.js"; -import { CatalogNameContext } from "./TrinoSqlParser.js"; +import { CatalogRefContext } from "./TrinoSqlParser.js"; import { CatalogNameCreateContext } from "./TrinoSqlParser.js"; import { FunctionNameContext } from "./TrinoSqlParser.js"; -import { ColumnNameContext } from "./TrinoSqlParser.js"; +import { FunctionNameCreateContext } from "./TrinoSqlParser.js"; +import { ColumnRefContext } from "./TrinoSqlParser.js"; import { ColumnNameCreateContext } from "./TrinoSqlParser.js"; import { QualifiedNameContext } from "./TrinoSqlParser.js"; +import { QueryPeriodContext } from "./TrinoSqlParser.js"; +import { RangeTypeContext } from "./TrinoSqlParser.js"; import { SpecifiedPrincipalContext } from "./TrinoSqlParser.js"; import { CurrentUserGrantorContext } from "./TrinoSqlParser.js"; import { CurrentRoleGrantorContext } from "./TrinoSqlParser.js"; @@ -278,6 +365,7 @@ import { UnspecifiedPrincipalContext } from "./TrinoSqlParser.js"; import { UserPrincipalContext } from "./TrinoSqlParser.js"; import { RolePrincipalContext } from "./TrinoSqlParser.js"; import { RolesContext } from "./TrinoSqlParser.js"; +import { PrivilegeOrRoleContext } from "./TrinoSqlParser.js"; import { UnquotedIdentifierContext } from "./TrinoSqlParser.js"; import { QuotedIdentifierContext } from "./TrinoSqlParser.js"; import { BackQuotedIdentifierContext } from "./TrinoSqlParser.js"; @@ -285,6 +373,8 @@ import { DigitIdentifierContext } from "./TrinoSqlParser.js"; import { DecimalLiteralContext } from "./TrinoSqlParser.js"; import { DoubleLiteralContext } from "./TrinoSqlParser.js"; import { IntegerLiteralContext } from "./TrinoSqlParser.js"; +import { IdentifierUserContext } from "./TrinoSqlParser.js"; +import { StringUserContext } from "./TrinoSqlParser.js"; import { NonReservedContext } from "./TrinoSqlParser.js"; @@ -308,12 +398,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitStatements?: (ctx: StatementsContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.standaloneClause`. - * @param ctx the parse tree - * @return the visitor result - */ - visitStandaloneClause?: (ctx: StandaloneClauseContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.singleStatement`. * @param ctx the parse tree @@ -344,6 +428,12 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitStandaloneRowPattern?: (ctx: StandaloneRowPatternContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.standaloneFunctionSpecification`. + * @param ctx the parse tree + * @return the visitor result + */ + visitStandaloneFunctionSpecification?: (ctx: StandaloneFunctionSpecificationContext) => Result; /** * Visit a parse tree produced by the `statementDefault` * labeled alternative in `TrinoSqlParser.statement`. @@ -358,6 +448,20 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitUse?: (ctx: UseContext) => Result; + /** + * Visit a parse tree produced by the `createCatalog` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCreateCatalog?: (ctx: CreateCatalogContext) => Result; + /** + * Visit a parse tree produced by the `dropCatalog` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitDropCatalog?: (ctx: DropCatalogContext) => Result; /** * Visit a parse tree produced by the `createSchema` * labeled alternative in `TrinoSqlParser.statement`. @@ -429,19 +533,19 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { */ visitTruncateTable?: (ctx: TruncateTableContext) => Result; /** - * Visit a parse tree produced by the `renameTable` + * Visit a parse tree produced by the `commentTable` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree * @return the visitor result */ - visitRenameTable?: (ctx: RenameTableContext) => Result; + visitCommentTable?: (ctx: CommentTableContext) => Result; /** - * Visit a parse tree produced by the `commentTable` + * Visit a parse tree produced by the `commentView` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree * @return the visitor result */ - visitCommentTable?: (ctx: CommentTableContext) => Result; + visitCommentView?: (ctx: CommentViewContext) => Result; /** * Visit a parse tree produced by the `commentColumn` * labeled alternative in `TrinoSqlParser.statement`. @@ -449,6 +553,20 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitCommentColumn?: (ctx: CommentColumnContext) => Result; + /** + * Visit a parse tree produced by the `renameTable` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitRenameTable?: (ctx: RenameTableContext) => Result; + /** + * Visit a parse tree produced by the `addColumn` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitAddColumn?: (ctx: AddColumnContext) => Result; /** * Visit a parse tree produced by the `renameColumn` * labeled alternative in `TrinoSqlParser.statement`. @@ -464,12 +582,19 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { */ visitDropColumn?: (ctx: DropColumnContext) => Result; /** - * Visit a parse tree produced by the `addColumn` + * Visit a parse tree produced by the `setColumnType` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree * @return the visitor result */ - visitAddColumn?: (ctx: AddColumnContext) => Result; + visitSetColumnType?: (ctx: SetColumnTypeContext) => Result; + /** + * Visit a parse tree produced by the `dropNotNullConstraint` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitDropNotNullConstraint?: (ctx: DropNotNullConstraintContext) => Result; /** * Visit a parse tree produced by the `setTableAuthorization` * labeled alternative in `TrinoSqlParser.statement`. @@ -568,6 +693,20 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitCall?: (ctx: CallContext) => Result; + /** + * Visit a parse tree produced by the `createFunction` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCreateFunction?: (ctx: CreateFunctionContext) => Result; + /** + * Visit a parse tree produced by the `dropFunction` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitDropFunction?: (ctx: DropFunctionContext) => Result; /** * Visit a parse tree produced by the `createRole` * labeled alternative in `TrinoSqlParser.statement`. @@ -590,26 +729,26 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { */ visitGrantRoles?: (ctx: GrantRolesContext) => Result; /** - * Visit a parse tree produced by the `revokeRoles` + * Visit a parse tree produced by the `grantPrivileges` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree * @return the visitor result */ - visitRevokeRoles?: (ctx: RevokeRolesContext) => Result; + visitGrantPrivileges?: (ctx: GrantPrivilegesContext) => Result; /** - * Visit a parse tree produced by the `setRole` + * Visit a parse tree produced by the `revokeRoles` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree * @return the visitor result */ - visitSetRole?: (ctx: SetRoleContext) => Result; + visitRevokeRoles?: (ctx: RevokeRolesContext) => Result; /** - * Visit a parse tree produced by the `grant` + * Visit a parse tree produced by the `revokePrivileges` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree * @return the visitor result */ - visitGrant?: (ctx: GrantContext) => Result; + visitRevokePrivileges?: (ctx: RevokePrivilegesContext) => Result; /** * Visit a parse tree produced by the `deny` * labeled alternative in `TrinoSqlParser.statement`. @@ -618,12 +757,12 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { */ visitDeny?: (ctx: DenyContext) => Result; /** - * Visit a parse tree produced by the `revoke` + * Visit a parse tree produced by the `setRole` * labeled alternative in `TrinoSqlParser.statement`. * @param ctx the parse tree * @return the visitor result */ - visitRevoke?: (ctx: RevokeContext) => Result; + visitSetRole?: (ctx: SetRoleContext) => Result; /** * Visit a parse tree produced by the `showGrants` * labeled alternative in `TrinoSqlParser.statement`. @@ -638,6 +777,13 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitExplain?: (ctx: ExplainContext) => Result; + /** + * Visit a parse tree produced by the `explainAnalyze` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitExplainAnalyze?: (ctx: ExplainAnalyzeContext) => Result; /** * Visit a parse tree produced by the `showCreateTable` * labeled alternative in `TrinoSqlParser.statement`. @@ -666,6 +812,13 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitShowCreateMaterializedView?: (ctx: ShowCreateMaterializedViewContext) => Result; + /** + * Visit a parse tree produced by the `showCreateFunction` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitShowCreateFunction?: (ctx: ShowCreateFunctionContext) => Result; /** * Visit a parse tree produced by the `showTables` * labeled alternative in `TrinoSqlParser.statement`. @@ -736,6 +889,20 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitShowSession?: (ctx: ShowSessionContext) => Result; + /** + * Visit a parse tree produced by the `setSessionAuthorization` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitSetSessionAuthorization?: (ctx: SetSessionAuthorizationContext) => Result; + /** + * Visit a parse tree produced by the `resetSessionAuthorization` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitResetSessionAuthorization?: (ctx: ResetSessionAuthorizationContext) => Result; /** * Visit a parse tree produced by the `setSession` * labeled alternative in `TrinoSqlParser.statement`. @@ -792,6 +959,13 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitExecute?: (ctx: ExecuteContext) => Result; + /** + * Visit a parse tree produced by the `executeImmediate` + * labeled alternative in `TrinoSqlParser.statement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitExecuteImmediate?: (ctx: ExecuteImmediateContext) => Result; /** * Visit a parse tree produced by the `describeInput` * labeled alternative in `TrinoSqlParser.statement`. @@ -848,6 +1022,18 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitShowColumnComment?: (ctx: ShowColumnCommentContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.rootQuery`. + * @param ctx the parse tree + * @return the visitor result + */ + visitRootQuery?: (ctx: RootQueryContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.withFunction`. + * @param ctx the parse tree + * @return the visitor result + */ + visitWithFunction?: (ctx: WithFunctionContext) => Result; /** * Visit a parse tree produced by the `queryStatement` * labeled alternative in `TrinoSqlParser.query`. @@ -1105,6 +1291,24 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitSampleType?: (ctx: SampleTypeContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.trimsSpecification`. + * @param ctx the parse tree + * @return the visitor result + */ + visitTrimsSpecification?: (ctx: TrimsSpecificationContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.listAggOverflowBehavior`. + * @param ctx the parse tree + * @return the visitor result + */ + visitListAggOverflowBehavior?: (ctx: ListAggOverflowBehaviorContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.listaggCountIndication`. + * @param ctx the parse tree + * @return the visitor result + */ + visitListaggCountIndication?: (ctx: ListaggCountIndicationContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.patternRecognition`. * @param ctx the parse tree @@ -1172,12 +1376,12 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { */ visitColumnAliases?: (ctx: ColumnAliasesContext) => Result; /** - * Visit a parse tree produced by the `tableOrViewRelation` + * Visit a parse tree produced by the `tableName` * labeled alternative in `TrinoSqlParser.relationPrimary`. * @param ctx the parse tree * @return the visitor result */ - visitTableOrViewRelation?: (ctx: TableOrViewRelationContext) => Result; + visitTableName?: (ctx: TableNameContext) => Result; /** * Visit a parse tree produced by the `subqueryRelation` * labeled alternative in `TrinoSqlParser.relationPrimary`. @@ -1199,6 +1403,13 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitLateral?: (ctx: LateralContext) => Result; + /** + * Visit a parse tree produced by the `tableFunctionInvocation` + * labeled alternative in `TrinoSqlParser.relationPrimary`. + * @param ctx the parse tree + * @return the visitor result + */ + visitTableFunctionInvocation?: (ctx: TableFunctionInvocationContext) => Result; /** * Visit a parse tree produced by the `parenthesizedRelation` * labeled alternative in `TrinoSqlParser.relationPrimary`. @@ -1206,6 +1417,137 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitParenthesizedRelation?: (ctx: ParenthesizedRelationContext) => Result; + /** + * Visit a parse tree produced by the `jsonTable` + * labeled alternative in `TrinoSqlParser.relationPrimary`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonTable?: (ctx: JsonTableContext) => Result; + /** + * Visit a parse tree produced by the `ordinalityColumn` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. + * @param ctx the parse tree + * @return the visitor result + */ + visitOrdinalityColumn?: (ctx: OrdinalityColumnContext) => Result; + /** + * Visit a parse tree produced by the `valueColumn` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. + * @param ctx the parse tree + * @return the visitor result + */ + visitValueColumn?: (ctx: ValueColumnContext) => Result; + /** + * Visit a parse tree produced by the `queryColumn` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. + * @param ctx the parse tree + * @return the visitor result + */ + visitQueryColumn?: (ctx: QueryColumnContext) => Result; + /** + * Visit a parse tree produced by the `nestedColumns` + * labeled alternative in `TrinoSqlParser.jsonTableColumn`. + * @param ctx the parse tree + * @return the visitor result + */ + visitNestedColumns?: (ctx: NestedColumnsContext) => Result; + /** + * Visit a parse tree produced by the `leafPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. + * @param ctx the parse tree + * @return the visitor result + */ + visitLeafPlan?: (ctx: LeafPlanContext) => Result; + /** + * Visit a parse tree produced by the `joinPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJoinPlan?: (ctx: JoinPlanContext) => Result; + /** + * Visit a parse tree produced by the `unionPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. + * @param ctx the parse tree + * @return the visitor result + */ + visitUnionPlan?: (ctx: UnionPlanContext) => Result; + /** + * Visit a parse tree produced by the `crossPlan` + * labeled alternative in `TrinoSqlParser.jsonTableSpecificPlan`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCrossPlan?: (ctx: CrossPlanContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonTablePathName`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonTablePathName?: (ctx: JsonTablePathNameContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.planPrimary`. + * @param ctx the parse tree + * @return the visitor result + */ + visitPlanPrimary?: (ctx: PlanPrimaryContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonTableDefaultPlan`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonTableDefaultPlan?: (ctx: JsonTableDefaultPlanContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.tableFunctionCall`. + * @param ctx the parse tree + * @return the visitor result + */ + visitTableFunctionCall?: (ctx: TableFunctionCallContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.tableFunctionArgument`. + * @param ctx the parse tree + * @return the visitor result + */ + visitTableFunctionArgument?: (ctx: TableFunctionArgumentContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.tableArgument`. + * @param ctx the parse tree + * @return the visitor result + */ + visitTableArgument?: (ctx: TableArgumentContext) => Result; + /** + * Visit a parse tree produced by the `tableArgumentTable` + * labeled alternative in `TrinoSqlParser.tableArgumentRelation`. + * @param ctx the parse tree + * @return the visitor result + */ + visitTableArgumentTable?: (ctx: TableArgumentTableContext) => Result; + /** + * Visit a parse tree produced by the `tableArgumentQuery` + * labeled alternative in `TrinoSqlParser.tableArgumentRelation`. + * @param ctx the parse tree + * @return the visitor result + */ + visitTableArgumentQuery?: (ctx: TableArgumentQueryContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.descriptorArgument`. + * @param ctx the parse tree + * @return the visitor result + */ + visitDescriptorArgument?: (ctx: DescriptorArgumentContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.descriptorField`. + * @param ctx the parse tree + * @return the visitor result + */ + visitDescriptorField?: (ctx: DescriptorFieldContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.copartitionTables`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCopartitionTables?: (ctx: CopartitionTablesContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.expression`. * @param ctx the parse tree @@ -1227,12 +1569,19 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { */ visitPredicated?: (ctx: PredicatedContext) => Result; /** - * Visit a parse tree produced by the `logicalBinary` + * Visit a parse tree produced by the `or` * labeled alternative in `TrinoSqlParser.booleanExpression`. * @param ctx the parse tree * @return the visitor result */ - visitLogicalBinary?: (ctx: LogicalBinaryContext) => Result; + visitOr?: (ctx: OrContext) => Result; + /** + * Visit a parse tree produced by the `and` + * labeled alternative in `TrinoSqlParser.booleanExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitAnd?: (ctx: AndContext) => Result; /** * Visit a parse tree produced by the `comparison` * labeled alternative in `TrinoSqlParser.predicate`. @@ -1339,12 +1688,19 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { */ visitTypeConstructor?: (ctx: TypeConstructorContext) => Result; /** - * Visit a parse tree produced by the `specialDateTimeFunction` + * Visit a parse tree produced by the `jsonValue` * labeled alternative in `TrinoSqlParser.primaryExpression`. * @param ctx the parse tree * @return the visitor result */ - visitSpecialDateTimeFunction?: (ctx: SpecialDateTimeFunctionContext) => Result; + visitJsonValue?: (ctx: JsonValueContext) => Result; + /** + * Visit a parse tree produced by the `currentDate` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCurrentDate?: (ctx: CurrentDateContext) => Result; /** * Visit a parse tree produced by the `substring` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -1373,6 +1729,13 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => Result; + /** + * Visit a parse tree produced by the `trim` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitTrim?: (ctx: TrimContext) => Result; /** * Visit a parse tree produced by the `parameter` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -1387,6 +1750,20 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitNormalize?: (ctx: NormalizeContext) => Result; + /** + * Visit a parse tree produced by the `localTimestamp` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitLocalTimestamp?: (ctx: LocalTimestampContext) => Result; + /** + * Visit a parse tree produced by the `jsonObject` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonObject?: (ctx: JsonObjectContext) => Result; /** * Visit a parse tree produced by the `intervalLiteral` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -1408,6 +1785,13 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitBooleanLiteral?: (ctx: BooleanLiteralContext) => Result; + /** + * Visit a parse tree produced by the `jsonArray` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonArray?: (ctx: JsonArrayContext) => Result; /** * Visit a parse tree produced by the `simpleCase` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -1443,6 +1827,13 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitSubscript?: (ctx: SubscriptContext) => Result; + /** + * Visit a parse tree produced by the `jsonExists` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonExists?: (ctx: JsonExistsContext) => Result; /** * Visit a parse tree produced by the `currentPath` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -1464,6 +1855,20 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitBinaryLiteral?: (ctx: BinaryLiteralContext) => Result; + /** + * Visit a parse tree produced by the `currentTime` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCurrentTime?: (ctx: CurrentTimeContext) => Result; + /** + * Visit a parse tree produced by the `localTime` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitLocalTime?: (ctx: LocalTimeContext) => Result; /** * Visit a parse tree produced by the `currentUser` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -1471,6 +1876,13 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitCurrentUser?: (ctx: CurrentUserContext) => Result; + /** + * Visit a parse tree produced by the `jsonQuery` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonQuery?: (ctx: JsonQueryContext) => Result; /** * Visit a parse tree produced by the `measure` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -1506,6 +1918,13 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitFunctionCall?: (ctx: FunctionCallContext) => Result; + /** + * Visit a parse tree produced by the `currentTimestamp` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCurrentTimestamp?: (ctx: CurrentTimestampContext) => Result; /** * Visit a parse tree produced by the `currentSchema` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -1527,6 +1946,13 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitPosition?: (ctx: PositionContext) => Result; + /** + * Visit a parse tree produced by the `listagg` + * labeled alternative in `TrinoSqlParser.primaryExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitListagg?: (ctx: ListaggContext) => Result; /** * Visit a parse tree produced by the `searchedCase` * labeled alternative in `TrinoSqlParser.primaryExpression`. @@ -1548,6 +1974,60 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitGroupingOperation?: (ctx: GroupingOperationContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonPathInvocation`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonPathInvocation?: (ctx: JsonPathInvocationContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonValueExpression`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonValueExpression?: (ctx: JsonValueExpressionContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonRepresentation`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonRepresentation?: (ctx: JsonRepresentationContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonArgument`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonArgument?: (ctx: JsonArgumentContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonExistsErrorBehavior`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonExistsErrorBehavior?: (ctx: JsonExistsErrorBehaviorContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonValueBehavior`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonValueBehavior?: (ctx: JsonValueBehaviorContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonQueryWrapperBehavior`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonQueryWrapperBehavior?: (ctx: JsonQueryWrapperBehaviorContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonQueryBehavior`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonQueryBehavior?: (ctx: JsonQueryBehaviorContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.jsonObjectMember`. + * @param ctx the parse tree + * @return the visitor result + */ + visitJsonObjectMember?: (ctx: JsonObjectMemberContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.processingMode`. * @param ctx the parse tree @@ -1959,77 +2439,244 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { */ visitPathSpecification?: (ctx: PathSpecificationContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.privilege`. + * Visit a parse tree produced by `TrinoSqlParser.functionSpecification`. * @param ctx the parse tree * @return the visitor result */ - visitPrivilege?: (ctx: PrivilegeContext) => Result; + visitFunctionSpecification?: (ctx: FunctionSpecificationContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.tableOrViewName`. + * Visit a parse tree produced by `TrinoSqlParser.functionDeclaration`. * @param ctx the parse tree * @return the visitor result */ - visitTableOrViewName?: (ctx: TableOrViewNameContext) => Result; + visitFunctionDeclaration?: (ctx: FunctionDeclarationContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.tableName`. + * Visit a parse tree produced by `TrinoSqlParser.parameterDeclaration`. * @param ctx the parse tree * @return the visitor result */ - visitTableName?: (ctx: TableNameContext) => Result; + visitParameterDeclaration?: (ctx: ParameterDeclarationContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.tableNameCreate`. + * Visit a parse tree produced by `TrinoSqlParser.returnsClause`. * @param ctx the parse tree * @return the visitor result */ - visitTableNameCreate?: (ctx: TableNameCreateContext) => Result; + visitReturnsClause?: (ctx: ReturnsClauseContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.viewName`. + * Visit a parse tree produced by the `languageCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. * @param ctx the parse tree * @return the visitor result */ - visitViewName?: (ctx: ViewNameContext) => Result; + visitLanguageCharacteristic?: (ctx: LanguageCharacteristicContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.viewNameCreate`. + * Visit a parse tree produced by the `deterministicCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. * @param ctx the parse tree * @return the visitor result */ - visitViewNameCreate?: (ctx: ViewNameCreateContext) => Result; + visitDeterministicCharacteristic?: (ctx: DeterministicCharacteristicContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.tablePath`. + * Visit a parse tree produced by the `returnsNullOnNullInputCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. * @param ctx the parse tree * @return the visitor result */ - visitTablePath?: (ctx: TablePathContext) => Result; + visitReturnsNullOnNullInputCharacteristic?: (ctx: ReturnsNullOnNullInputCharacteristicContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.viewPath`. + * Visit a parse tree produced by the `calledOnNullInputCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. * @param ctx the parse tree * @return the visitor result */ - visitViewPath?: (ctx: ViewPathContext) => Result; + visitCalledOnNullInputCharacteristic?: (ctx: CalledOnNullInputCharacteristicContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.schemaName`. + * Visit a parse tree produced by the `securityCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. * @param ctx the parse tree * @return the visitor result */ - visitSchemaName?: (ctx: SchemaNameContext) => Result; + visitSecurityCharacteristic?: (ctx: SecurityCharacteristicContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.schemaNameCreate`. + * Visit a parse tree produced by the `commentCharacteristic` + * labeled alternative in `TrinoSqlParser.routineCharacteristic`. * @param ctx the parse tree * @return the visitor result */ - visitSchemaNameCreate?: (ctx: SchemaNameCreateContext) => Result; + visitCommentCharacteristic?: (ctx: CommentCharacteristicContext) => Result; + /** + * Visit a parse tree produced by the `returnStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitReturnStatement?: (ctx: ReturnStatementContext) => Result; + /** + * Visit a parse tree produced by the `assignmentStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitAssignmentStatement?: (ctx: AssignmentStatementContext) => Result; + /** + * Visit a parse tree produced by the `simpleCaseStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitSimpleCaseStatement?: (ctx: SimpleCaseStatementContext) => Result; + /** + * Visit a parse tree produced by the `searchedCaseStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitSearchedCaseStatement?: (ctx: SearchedCaseStatementContext) => Result; + /** + * Visit a parse tree produced by the `ifStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitIfStatement?: (ctx: IfStatementContext) => Result; + /** + * Visit a parse tree produced by the `iterateStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitIterateStatement?: (ctx: IterateStatementContext) => Result; + /** + * Visit a parse tree produced by the `leaveStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitLeaveStatement?: (ctx: LeaveStatementContext) => Result; + /** + * Visit a parse tree produced by the `compoundStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCompoundStatement?: (ctx: CompoundStatementContext) => Result; + /** + * Visit a parse tree produced by the `loopStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitLoopStatement?: (ctx: LoopStatementContext) => Result; + /** + * Visit a parse tree produced by the `whileStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitWhileStatement?: (ctx: WhileStatementContext) => Result; + /** + * Visit a parse tree produced by the `repeatStatement` + * labeled alternative in `TrinoSqlParser.controlStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitRepeatStatement?: (ctx: RepeatStatementContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.caseStatementWhenClause`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCaseStatementWhenClause?: (ctx: CaseStatementWhenClauseContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.elseIfClause`. + * @param ctx the parse tree + * @return the visitor result + */ + visitElseIfClause?: (ctx: ElseIfClauseContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.elseClause`. + * @param ctx the parse tree + * @return the visitor result + */ + visitElseClause?: (ctx: ElseClauseContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.variableDeclaration`. + * @param ctx the parse tree + * @return the visitor result + */ + visitVariableDeclaration?: (ctx: VariableDeclarationContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.sqlStatementList`. + * @param ctx the parse tree + * @return the visitor result + */ + visitSqlStatementList?: (ctx: SqlStatementListContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.privilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitPrivilege?: (ctx: PrivilegeContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.entityKind`. + * @param ctx the parse tree + * @return the visitor result + */ + visitEntityKind?: (ctx: EntityKindContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.schemaPath`. + * Visit a parse tree produced by `TrinoSqlParser.grantObject`. * @param ctx the parse tree * @return the visitor result */ - visitSchemaPath?: (ctx: SchemaPathContext) => Result; + visitGrantObject?: (ctx: GrantObjectContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.catalogName`. + * Visit a parse tree produced by `TrinoSqlParser.tableOrViewName`. * @param ctx the parse tree * @return the visitor result */ - visitCatalogName?: (ctx: CatalogNameContext) => Result; + visitTableOrViewName?: (ctx: TableOrViewNameContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.tableRef`. + * @param ctx the parse tree + * @return the visitor result + */ + visitTableRef?: (ctx: TableRefContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.tableNameCreate`. + * @param ctx the parse tree + * @return the visitor result + */ + visitTableNameCreate?: (ctx: TableNameCreateContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.viewRef`. + * @param ctx the parse tree + * @return the visitor result + */ + visitViewRef?: (ctx: ViewRefContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.viewNameCreate`. + * @param ctx the parse tree + * @return the visitor result + */ + visitViewNameCreate?: (ctx: ViewNameCreateContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.schemaRef`. + * @param ctx the parse tree + * @return the visitor result + */ + visitSchemaRef?: (ctx: SchemaRefContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.schemaNameCreate`. + * @param ctx the parse tree + * @return the visitor result + */ + visitSchemaNameCreate?: (ctx: SchemaNameCreateContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.catalogRef`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCatalogRef?: (ctx: CatalogRefContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.catalogNameCreate`. * @param ctx the parse tree @@ -2043,11 +2690,17 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { */ visitFunctionName?: (ctx: FunctionNameContext) => Result; /** - * Visit a parse tree produced by `TrinoSqlParser.columnName`. + * Visit a parse tree produced by `TrinoSqlParser.functionNameCreate`. + * @param ctx the parse tree + * @return the visitor result + */ + visitFunctionNameCreate?: (ctx: FunctionNameCreateContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.columnRef`. * @param ctx the parse tree * @return the visitor result */ - visitColumnName?: (ctx: ColumnNameContext) => Result; + visitColumnRef?: (ctx: ColumnRefContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.columnNameCreate`. * @param ctx the parse tree @@ -2060,6 +2713,18 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitQualifiedName?: (ctx: QualifiedNameContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.queryPeriod`. + * @param ctx the parse tree + * @return the visitor result + */ + visitQueryPeriod?: (ctx: QueryPeriodContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.rangeType`. + * @param ctx the parse tree + * @return the visitor result + */ + visitRangeType?: (ctx: RangeTypeContext) => Result; /** * Visit a parse tree produced by the `specifiedPrincipal` * labeled alternative in `TrinoSqlParser.grantor`. @@ -2108,6 +2773,12 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitRoles?: (ctx: RolesContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.privilegeOrRole`. + * @param ctx the parse tree + * @return the visitor result + */ + visitPrivilegeOrRole?: (ctx: PrivilegeOrRoleContext) => Result; /** * Visit a parse tree produced by the `unquotedIdentifier` * labeled alternative in `TrinoSqlParser.identifier`. @@ -2157,6 +2828,20 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitIntegerLiteral?: (ctx: IntegerLiteralContext) => Result; + /** + * Visit a parse tree produced by the `identifierUser` + * labeled alternative in `TrinoSqlParser.authorizationUser`. + * @param ctx the parse tree + * @return the visitor result + */ + visitIdentifierUser?: (ctx: IdentifierUserContext) => Result; + /** + * Visit a parse tree produced by the `stringUser` + * labeled alternative in `TrinoSqlParser.authorizationUser`. + * @param ctx the parse tree + * @return the visitor result + */ + visitStringUser?: (ctx: StringUserContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.nonReserved`. * @param ctx the parse tree diff --git a/src/parser/trino/index.ts b/src/parser/trino/index.ts index 61ff9409..ccf7ded3 100644 --- a/src/parser/trino/index.ts +++ b/src/parser/trino/index.ts @@ -28,16 +28,16 @@ export class TrinoSQL extends BasicSQL = new Set([ - TrinoSqlParser.RULE_catalogName, + TrinoSqlParser.RULE_catalogRef, TrinoSqlParser.RULE_catalogNameCreate, - TrinoSqlParser.RULE_schemaName, + TrinoSqlParser.RULE_schemaRef, TrinoSqlParser.RULE_schemaNameCreate, - TrinoSqlParser.RULE_tableName, + TrinoSqlParser.RULE_tableRef, TrinoSqlParser.RULE_tableNameCreate, - TrinoSqlParser.RULE_viewName, + TrinoSqlParser.RULE_viewRef, TrinoSqlParser.RULE_viewNameCreate, TrinoSqlParser.RULE_functionName, - TrinoSqlParser.RULE_columnName, + TrinoSqlParser.RULE_columnRef, TrinoSqlParser.RULE_columnNameCreate, ]); @@ -60,11 +60,11 @@ export class TrinoSQL extends BasicSQL { expect(suggestion).toMatchUnorderedArrary([ 'ROLE', - 'VIEW', + 'FUNCTION', 'OR', + 'VIEW', 'MATERIALIZED', 'TABLE', 'SCHEMA', + 'CATALOG', ]); }); @@ -76,9 +78,17 @@ describe('Trino SQL Token Suggestion', () => { const suggestion = trino.getSuggestionAtCaretPosition( commentOtherLine(tokenSql, pos.lineNumber), pos - )?.keywords; + ); + + expect(suggestion?.keywords?.includes('INPUT')).toBeTruthy(); + expect(suggestion?.keywords?.includes('OUTPUT')).toBeTruthy(); - expect(suggestion).toMatchUnorderedArrary(['OUTPUT', 'INPUT']); + expect( + suggestion?.syntax?.find((item) => item.syntaxContextType === EntityContextType.TABLE) + ).not.toBeUndefined(); + expect( + suggestion?.syntax?.find((item) => item.syntaxContextType === EntityContextType.VIEW) + ).not.toBeUndefined(); }); test('After DROP', () => { @@ -93,10 +103,12 @@ describe('Trino SQL Token Suggestion', () => { expect(suggestion).toMatchUnorderedArrary([ 'ROLE', + 'FUNCTION', 'VIEW', 'MATERIALIZED', 'TABLE', 'SCHEMA', + 'CATALOG', ]); }); From 7574c59068cfafa06449b15b43edc0231043a63b Mon Sep 17 00:00:00 2001 From: Hayden Date: Wed, 26 Jun 2024 15:37:46 +0800 Subject: [PATCH 4/6] feat: optimize trino drop function --- src/grammar/trino/TrinoSql.g4 | 6 +- src/lib/trino/TrinoSql.interp | 3 +- src/lib/trino/TrinoSqlListener.ts | 11 + src/lib/trino/TrinoSqlParser.ts | 8475 +++++++++++++++-------------- src/lib/trino/TrinoSqlVisitor.ts | 7 + src/parser/trino/index.ts | 9 + 6 files changed, 4323 insertions(+), 4188 deletions(-) diff --git a/src/grammar/trino/TrinoSql.g4 b/src/grammar/trino/TrinoSql.g4 index b25ceee5..4c1c6bf8 100644 --- a/src/grammar/trino/TrinoSql.g4 +++ b/src/grammar/trino/TrinoSql.g4 @@ -123,7 +123,7 @@ statement | KW_ALTER KW_VIEW from=viewRef KW_SET KW_AUTHORIZATION principal # setViewAuthorization | KW_CALL functionName '(' (callArgument (',' callArgument)*)? ')' # call | KW_CREATE (KW_OR KW_REPLACE)? functionSpecification # createFunction - | KW_DROP KW_FUNCTION (KW_IF KW_EXISTS)? functionDeclaration # dropFunction + | KW_DROP KW_FUNCTION (KW_IF KW_EXISTS)? functionSignature # dropFunction | KW_CREATE KW_ROLE name=identifier (KW_WITH KW_ADMIN grantor)? (KW_IN catalog=catalogRef)? # createRole | KW_DROP KW_ROLE name=identifier (KW_IN catalog=catalogRef)? # dropRole | KW_GRANT privilegeOrRole (',' privilegeOrRole)* KW_TO principal (',' principal)* ( @@ -874,6 +874,10 @@ functionDeclaration : functionNameCreate '(' (parameterDeclaration (',' parameterDeclaration)*)? ')' ; +functionSignature + : functionName '(' (parameterDeclaration (',' parameterDeclaration)*)? ')' + ; + parameterDeclaration : identifier? type ; diff --git a/src/lib/trino/TrinoSql.interp b/src/lib/trino/TrinoSql.interp index 187d4741..4b2b7d8d 100644 --- a/src/lib/trino/TrinoSql.interp +++ b/src/lib/trino/TrinoSql.interp @@ -799,6 +799,7 @@ pathElement pathSpecification functionSpecification functionDeclaration +functionSignature parameterDeclaration returnsClause routineCharacteristic @@ -838,4 +839,4 @@ nonReserved atn: -[4, 1, 340, 3674, 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, 1, 0, 5, 0, 302, 8, 0, 10, 0, 12, 0, 305, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 3, 2, 313, 8, 2, 1, 3, 1, 3, 3, 3, 317, 8, 3, 1, 4, 1, 4, 3, 4, 321, 8, 4, 1, 5, 1, 5, 3, 5, 325, 8, 5, 1, 6, 1, 6, 3, 6, 329, 8, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 342, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 349, 8, 8, 1, 8, 1, 8, 3, 8, 353, 8, 8, 1, 8, 1, 8, 3, 8, 357, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 363, 8, 8, 1, 8, 1, 8, 3, 8, 367, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 374, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 379, 8, 8, 1, 8, 1, 8, 3, 8, 383, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 389, 8, 8, 1, 8, 1, 8, 3, 8, 393, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 412, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 418, 8, 8, 1, 8, 1, 8, 3, 8, 422, 8, 8, 1, 8, 1, 8, 3, 8, 426, 8, 8, 1, 8, 1, 8, 3, 8, 430, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 438, 8, 8, 1, 8, 1, 8, 3, 8, 442, 8, 8, 1, 8, 3, 8, 445, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 450, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 456, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 463, 8, 8, 10, 8, 12, 8, 466, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 471, 8, 8, 1, 8, 1, 8, 3, 8, 475, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 481, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 488, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 497, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 509, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 518, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 527, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 533, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 544, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 552, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 560, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 567, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 577, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 584, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 592, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 607, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 640, 8, 8, 10, 8, 12, 8, 643, 9, 8, 3, 8, 645, 8, 8, 1, 8, 3, 8, 648, 8, 8, 1, 8, 1, 8, 3, 8, 652, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 658, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 663, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 670, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 676, 8, 8, 1, 8, 1, 8, 3, 8, 680, 8, 8, 1, 8, 1, 8, 3, 8, 684, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 692, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 698, 8, 8, 1, 8, 1, 8, 3, 8, 702, 8, 8, 1, 8, 1, 8, 3, 8, 706, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 720, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 728, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 747, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 770, 8, 8, 10, 8, 12, 8, 773, 9, 8, 3, 8, 775, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 782, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 789, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 798, 8, 8, 1, 8, 1, 8, 3, 8, 802, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 809, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 815, 8, 8, 10, 8, 12, 8, 818, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 824, 8, 8, 10, 8, 12, 8, 827, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 832, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 837, 8, 8, 1, 8, 1, 8, 3, 8, 841, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 847, 8, 8, 10, 8, 12, 8, 850, 9, 8, 1, 8, 1, 8, 3, 8, 854, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 863, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 869, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 874, 8, 8, 10, 8, 12, 8, 877, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 883, 8, 8, 10, 8, 12, 8, 886, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 891, 8, 8, 1, 8, 1, 8, 3, 8, 895, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 901, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 906, 8, 8, 10, 8, 12, 8, 909, 9, 8, 1, 8, 1, 8, 3, 8, 913, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 924, 8, 8, 10, 8, 12, 8, 927, 9, 8, 1, 8, 1, 8, 3, 8, 931, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 943, 8, 8, 1, 8, 1, 8, 3, 8, 947, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 953, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 960, 8, 8, 10, 8, 12, 8, 963, 9, 8, 1, 8, 1, 8, 3, 8, 967, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 973, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1001, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1007, 8, 8, 3, 8, 1009, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1015, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1021, 8, 8, 3, 8, 1023, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1031, 8, 8, 3, 8, 1033, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1043, 8, 8, 3, 8, 1045, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1060, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1065, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1072, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1082, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1088, 8, 8, 3, 8, 1090, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1098, 8, 8, 3, 8, 1100, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1123, 8, 8, 10, 8, 12, 8, 1126, 9, 8, 3, 8, 1128, 8, 8, 1, 8, 1, 8, 3, 8, 1132, 8, 8, 1, 8, 1, 8, 3, 8, 1136, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1152, 8, 8, 10, 8, 12, 8, 1155, 9, 8, 3, 8, 1157, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1166, 8, 8, 10, 8, 12, 8, 1169, 9, 8, 3, 8, 1171, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1187, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1195, 8, 8, 10, 8, 12, 8, 1198, 9, 8, 1, 8, 1, 8, 3, 8, 1202, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1208, 8, 8, 1, 8, 3, 8, 1211, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 4, 8, 1218, 8, 8, 11, 8, 12, 8, 1219, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1232, 8, 8, 1, 9, 3, 9, 1235, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 1243, 8, 10, 10, 10, 12, 10, 1246, 9, 10, 1, 11, 3, 11, 1249, 8, 11, 1, 11, 1, 11, 1, 12, 1, 12, 3, 12, 1255, 8, 12, 1, 12, 1, 12, 1, 12, 5, 12, 1260, 8, 12, 10, 12, 12, 12, 1263, 9, 12, 1, 13, 1, 13, 3, 13, 1267, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 1273, 8, 14, 1, 14, 1, 14, 3, 14, 1277, 8, 14, 1, 14, 1, 14, 3, 14, 1281, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 1287, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 5, 17, 1296, 8, 17, 10, 17, 12, 17, 1299, 9, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 3, 19, 1307, 8, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 1315, 8, 20, 10, 20, 12, 20, 1318, 9, 20, 3, 20, 1320, 8, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1325, 8, 20, 3, 20, 1327, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1334, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1340, 8, 20, 3, 20, 1342, 8, 20, 1, 21, 1, 21, 3, 21, 1346, 8, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1356, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1362, 8, 23, 1, 23, 5, 23, 1365, 8, 23, 10, 23, 12, 23, 1368, 9, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 1377, 8, 24, 10, 24, 12, 24, 1380, 9, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 1386, 8, 24, 1, 25, 1, 25, 3, 25, 1390, 8, 25, 1, 25, 3, 25, 1393, 8, 25, 1, 25, 1, 25, 3, 25, 1397, 8, 25, 1, 26, 1, 26, 3, 26, 1401, 8, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1406, 8, 26, 10, 26, 12, 26, 1409, 9, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1415, 8, 26, 10, 26, 12, 26, 1418, 9, 26, 3, 26, 1420, 8, 26, 1, 26, 1, 26, 3, 26, 1424, 8, 26, 1, 26, 1, 26, 1, 26, 3, 26, 1429, 8, 26, 1, 26, 1, 26, 3, 26, 1433, 8, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1439, 8, 26, 10, 26, 12, 26, 1442, 9, 26, 3, 26, 1444, 8, 26, 1, 27, 3, 27, 1447, 8, 27, 1, 27, 1, 27, 1, 27, 5, 27, 1452, 8, 27, 10, 27, 12, 27, 1455, 9, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1463, 8, 28, 10, 28, 12, 28, 1466, 9, 28, 3, 28, 1468, 8, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1476, 8, 28, 10, 28, 12, 28, 1479, 9, 28, 3, 28, 1481, 8, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1490, 8, 28, 10, 28, 12, 28, 1493, 9, 28, 1, 28, 1, 28, 3, 28, 1497, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 5, 29, 1503, 8, 29, 10, 29, 12, 29, 1506, 9, 29, 3, 29, 1508, 8, 29, 1, 29, 1, 29, 3, 29, 1512, 8, 29, 1, 30, 1, 30, 3, 30, 1516, 8, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 3, 32, 1525, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1532, 8, 32, 10, 32, 12, 32, 1535, 9, 32, 3, 32, 1537, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1544, 8, 32, 10, 32, 12, 32, 1547, 9, 32, 3, 32, 1549, 8, 32, 1, 32, 3, 32, 1552, 8, 32, 1, 33, 1, 33, 3, 33, 1556, 8, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 3, 35, 1567, 8, 35, 1, 35, 3, 35, 1570, 8, 35, 1, 35, 3, 35, 1573, 8, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 1580, 8, 35, 1, 35, 3, 35, 1583, 8, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 3, 36, 1602, 8, 36, 5, 36, 1604, 8, 36, 10, 36, 12, 36, 1607, 9, 36, 1, 37, 3, 37, 1610, 8, 37, 1, 37, 1, 37, 3, 37, 1614, 8, 37, 1, 37, 1, 37, 3, 37, 1618, 8, 37, 1, 37, 1, 37, 3, 37, 1622, 8, 37, 3, 37, 1624, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 5, 38, 1633, 8, 38, 10, 38, 12, 38, 1636, 9, 38, 1, 38, 1, 38, 3, 38, 1640, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 1649, 8, 39, 1, 40, 1, 40, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 3, 42, 1658, 8, 42, 1, 42, 3, 42, 1661, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 1667, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1677, 8, 44, 10, 44, 12, 44, 1680, 9, 44, 3, 44, 1682, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1689, 8, 44, 10, 44, 12, 44, 1692, 9, 44, 3, 44, 1694, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1700, 8, 44, 10, 44, 12, 44, 1703, 9, 44, 3, 44, 1705, 8, 44, 1, 44, 3, 44, 1708, 8, 44, 1, 44, 1, 44, 1, 44, 3, 44, 1713, 8, 44, 1, 44, 3, 44, 1716, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1726, 8, 44, 10, 44, 12, 44, 1729, 9, 44, 3, 44, 1731, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1737, 8, 44, 10, 44, 12, 44, 1740, 9, 44, 1, 44, 1, 44, 3, 44, 1744, 8, 44, 1, 44, 1, 44, 3, 44, 1748, 8, 44, 3, 44, 1750, 8, 44, 3, 44, 1752, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 1767, 8, 46, 3, 46, 1769, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 1780, 8, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 1801, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 1809, 8, 49, 10, 49, 12, 49, 1812, 9, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 3, 51, 1822, 8, 51, 1, 51, 1, 51, 3, 51, 1826, 8, 51, 3, 51, 1828, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 1834, 8, 52, 10, 52, 12, 52, 1837, 9, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 5, 53, 1845, 8, 53, 10, 53, 12, 53, 1848, 9, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 1856, 8, 54, 10, 54, 12, 54, 1859, 9, 54, 1, 54, 1, 54, 1, 55, 1, 55, 3, 55, 1865, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1876, 8, 55, 10, 55, 12, 55, 1879, 9, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1884, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1908, 8, 55, 10, 55, 12, 55, 1911, 9, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1925, 8, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1930, 8, 55, 1, 55, 1, 55, 3, 55, 1934, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1944, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1950, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1956, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1964, 8, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1969, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1976, 8, 56, 3, 56, 1978, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1984, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1990, 8, 56, 1, 56, 1, 56, 3, 56, 1994, 8, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1999, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 2006, 8, 56, 10, 56, 12, 56, 2009, 9, 56, 1, 56, 1, 56, 3, 56, 2013, 8, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 2025, 8, 57, 10, 57, 12, 57, 2028, 9, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 2035, 8, 57, 10, 57, 12, 57, 2038, 9, 57, 3, 57, 2040, 8, 57, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 2049, 8, 59, 1, 60, 1, 60, 1, 60, 3, 60, 2054, 8, 60, 1, 60, 1, 60, 1, 60, 3, 60, 2059, 8, 60, 3, 60, 2061, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 5, 61, 2068, 8, 61, 10, 61, 12, 61, 2071, 9, 61, 3, 61, 2073, 8, 61, 1, 61, 1, 61, 1, 61, 1, 61, 5, 61, 2079, 8, 61, 10, 61, 12, 61, 2082, 9, 61, 3, 61, 2084, 8, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 3, 62, 2091, 8, 62, 1, 62, 1, 62, 1, 62, 3, 62, 2096, 8, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 2105, 8, 63, 10, 63, 12, 63, 2108, 9, 63, 3, 63, 2110, 8, 63, 1, 63, 1, 63, 3, 63, 2114, 8, 63, 3, 63, 2116, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 2124, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 2132, 8, 63, 10, 63, 12, 63, 2135, 9, 63, 1, 63, 1, 63, 1, 63, 3, 63, 2140, 8, 63, 3, 63, 2142, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 2149, 8, 64, 1, 64, 1, 64, 3, 64, 2153, 8, 64, 3, 64, 2155, 8, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 2162, 8, 64, 1, 64, 1, 64, 3, 64, 2166, 8, 64, 3, 64, 2168, 8, 64, 3, 64, 2170, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 2177, 8, 65, 10, 65, 12, 65, 2180, 9, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 2190, 8, 65, 1, 66, 1, 66, 3, 66, 2194, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 2202, 8, 67, 10, 67, 12, 67, 2205, 9, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 3, 69, 2214, 8, 69, 1, 69, 1, 69, 3, 69, 2218, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 2226, 8, 69, 10, 69, 12, 69, 2229, 9, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2241, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2249, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 5, 70, 2256, 8, 70, 10, 70, 12, 70, 2259, 9, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2264, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2272, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2278, 8, 70, 1, 70, 1, 70, 3, 70, 2282, 8, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2287, 8, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2292, 8, 70, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2298, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2312, 8, 71, 10, 71, 12, 71, 2315, 9, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 4, 72, 2342, 8, 72, 11, 72, 12, 72, 2343, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2353, 8, 72, 10, 72, 12, 72, 2356, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2363, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2368, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2373, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2384, 8, 72, 10, 72, 12, 72, 2387, 9, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2392, 8, 72, 1, 72, 3, 72, 2395, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2402, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2407, 8, 72, 1, 72, 3, 72, 2410, 8, 72, 1, 72, 3, 72, 2413, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2418, 8, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2423, 8, 72, 10, 72, 12, 72, 2426, 9, 72, 3, 72, 2428, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2435, 8, 72, 10, 72, 12, 72, 2438, 9, 72, 3, 72, 2440, 8, 72, 1, 72, 1, 72, 3, 72, 2444, 8, 72, 1, 72, 3, 72, 2447, 8, 72, 1, 72, 3, 72, 2450, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2463, 8, 72, 10, 72, 12, 72, 2466, 9, 72, 3, 72, 2468, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 4, 72, 2485, 8, 72, 11, 72, 12, 72, 2486, 1, 72, 1, 72, 3, 72, 2491, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 4, 72, 2497, 8, 72, 11, 72, 12, 72, 2498, 1, 72, 1, 72, 3, 72, 2503, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2526, 8, 72, 10, 72, 12, 72, 2529, 9, 72, 3, 72, 2531, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2540, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2546, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2552, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2558, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2567, 8, 72, 1, 72, 3, 72, 2570, 8, 72, 1, 72, 3, 72, 2573, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2592, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2601, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2621, 8, 72, 10, 72, 12, 72, 2624, 9, 72, 3, 72, 2626, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2636, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2645, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2651, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2657, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2668, 8, 72, 3, 72, 2670, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2675, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2682, 8, 72, 3, 72, 2684, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2690, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2696, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2705, 8, 72, 10, 72, 12, 72, 2708, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2716, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2721, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2726, 8, 72, 3, 72, 2728, 8, 72, 3, 72, 2730, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2736, 8, 72, 3, 72, 2738, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2746, 8, 72, 10, 72, 12, 72, 2749, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2757, 8, 72, 3, 72, 2759, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2765, 8, 72, 3, 72, 2767, 8, 72, 1, 72, 3, 72, 2770, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2780, 8, 72, 10, 72, 12, 72, 2783, 9, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 2790, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 2796, 8, 73, 10, 73, 12, 73, 2799, 9, 73, 3, 73, 2801, 8, 73, 1, 74, 1, 74, 1, 74, 3, 74, 2806, 8, 74, 1, 75, 1, 75, 1, 75, 3, 75, 2811, 8, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 3, 78, 2823, 8, 78, 1, 79, 1, 79, 3, 79, 2827, 8, 79, 1, 79, 1, 79, 3, 79, 2831, 8, 79, 1, 79, 3, 79, 2834, 8, 79, 3, 79, 2836, 8, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 3, 80, 2844, 8, 80, 1, 81, 3, 81, 2847, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2857, 8, 81, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2865, 8, 83, 1, 84, 1, 84, 1, 84, 1, 84, 3, 84, 2871, 8, 84, 3, 84, 2873, 8, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 3, 85, 2881, 8, 85, 1, 86, 1, 86, 1, 87, 1, 87, 1, 88, 1, 88, 1, 89, 1, 89, 3, 89, 2891, 8, 89, 1, 89, 1, 89, 1, 89, 1, 89, 3, 89, 2897, 8, 89, 1, 90, 1, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 5, 92, 2909, 8, 92, 10, 92, 12, 92, 2912, 9, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2920, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2927, 8, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2932, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2939, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2949, 8, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2954, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2961, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 5, 92, 2985, 8, 92, 10, 92, 12, 92, 2988, 9, 92, 1, 92, 1, 92, 3, 92, 2992, 8, 92, 3, 92, 2994, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 3001, 8, 92, 5, 92, 3003, 8, 92, 10, 92, 12, 92, 3006, 9, 92, 1, 93, 1, 93, 1, 93, 1, 93, 3, 93, 3012, 8, 93, 1, 94, 1, 94, 3, 94, 3016, 8, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3033, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 5, 97, 3046, 8, 97, 10, 97, 12, 97, 3049, 9, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3055, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3064, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 5, 97, 3072, 8, 97, 10, 97, 12, 97, 3075, 9, 97, 1, 97, 1, 97, 3, 97, 3079, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 5, 97, 3086, 8, 97, 10, 97, 12, 97, 3089, 9, 97, 1, 97, 1, 97, 3, 97, 3093, 8, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 3, 98, 3101, 8, 98, 1, 99, 1, 99, 1, 99, 1, 99, 5, 99, 3107, 8, 99, 10, 99, 12, 99, 3110, 9, 99, 3, 99, 3112, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 3, 99, 3118, 8, 99, 1, 99, 3, 99, 3121, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 3, 99, 3128, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 5, 99, 3134, 8, 99, 10, 99, 12, 99, 3137, 9, 99, 3, 99, 3139, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 5, 99, 3145, 8, 99, 10, 99, 12, 99, 3148, 9, 99, 3, 99, 3150, 8, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 3, 100, 3176, 8, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 3, 101, 3187, 8, 101, 1, 102, 1, 102, 1, 102, 3, 102, 3192, 8, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 5, 102, 3199, 8, 102, 10, 102, 12, 102, 3202, 9, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 5, 103, 3212, 8, 103, 10, 103, 12, 103, 3215, 9, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 3, 103, 3229, 8, 103, 1, 104, 1, 104, 3, 104, 3233, 8, 104, 1, 104, 1, 104, 3, 104, 3237, 8, 104, 1, 104, 1, 104, 3, 104, 3241, 8, 104, 1, 104, 1, 104, 1, 104, 1, 104, 3, 104, 3247, 8, 104, 1, 104, 1, 104, 3, 104, 3251, 8, 104, 1, 104, 1, 104, 3, 104, 3255, 8, 104, 1, 104, 1, 104, 3, 104, 3259, 8, 104, 3, 104, 3261, 8, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 3, 106, 3271, 8, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 3278, 8, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3287, 8, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 3, 109, 3294, 8, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 3, 110, 3301, 8, 110, 1, 111, 1, 111, 1, 111, 5, 111, 3306, 8, 111, 10, 111, 12, 111, 3309, 9, 111, 1, 112, 1, 112, 1, 112, 1, 112, 5, 112, 3315, 8, 112, 10, 112, 12, 112, 3318, 9, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 5, 113, 3327, 8, 113, 10, 113, 12, 113, 3330, 9, 113, 3, 113, 3332, 8, 113, 1, 113, 1, 113, 1, 114, 3, 114, 3337, 8, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 3, 116, 3347, 8, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 3, 116, 3363, 8, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 4, 117, 3375, 8, 117, 11, 117, 12, 117, 3376, 1, 117, 3, 117, 3380, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 4, 117, 3387, 8, 117, 11, 117, 12, 117, 3388, 1, 117, 3, 117, 3392, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 5, 117, 3402, 8, 117, 10, 117, 12, 117, 3405, 9, 117, 1, 117, 3, 117, 3408, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 5, 117, 3421, 8, 117, 10, 117, 12, 117, 3424, 9, 117, 1, 117, 3, 117, 3427, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3433, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3443, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3455, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3464, 8, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 120, 1, 120, 1, 120, 1, 121, 1, 121, 1, 121, 1, 121, 5, 121, 3483, 8, 121, 10, 121, 12, 121, 3486, 9, 121, 1, 121, 1, 121, 1, 121, 3, 121, 3491, 8, 121, 1, 122, 1, 122, 1, 122, 4, 122, 3496, 8, 122, 11, 122, 12, 122, 3497, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 3, 123, 3506, 8, 123, 1, 124, 1, 124, 1, 124, 3, 124, 3511, 8, 124, 1, 125, 3, 125, 3514, 8, 125, 1, 125, 1, 125, 1, 126, 1, 126, 3, 126, 3520, 8, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 3, 127, 3533, 8, 127, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 3, 128, 3546, 8, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 3, 129, 3559, 8, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 3, 130, 3572, 8, 130, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 3, 131, 3579, 8, 131, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 3, 132, 3586, 8, 132, 1, 133, 1, 133, 1, 134, 1, 134, 1, 135, 1, 135, 1, 136, 1, 136, 1, 137, 1, 137, 3, 137, 3598, 8, 137, 1, 138, 1, 138, 1, 139, 1, 139, 1, 139, 5, 139, 3605, 8, 139, 10, 139, 12, 139, 3608, 9, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 141, 1, 141, 1, 142, 1, 142, 1, 142, 3, 142, 3621, 8, 142, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 3, 143, 3628, 8, 143, 1, 144, 1, 144, 1, 144, 5, 144, 3633, 8, 144, 10, 144, 12, 144, 3636, 9, 144, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 3, 145, 3645, 8, 145, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 3, 146, 3652, 8, 146, 1, 147, 3, 147, 3655, 8, 147, 1, 147, 1, 147, 3, 147, 3659, 8, 147, 1, 147, 1, 147, 3, 147, 3663, 8, 147, 1, 147, 3, 147, 3666, 8, 147, 1, 148, 1, 148, 3, 148, 3670, 8, 148, 1, 149, 1, 149, 1, 149, 0, 7, 46, 72, 138, 142, 144, 184, 204, 150, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 246, 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 272, 274, 276, 278, 280, 282, 284, 286, 288, 290, 292, 294, 296, 298, 0, 35, 2, 0, 39, 39, 229, 229, 2, 0, 72, 72, 131, 131, 2, 0, 105, 105, 122, 122, 2, 0, 92, 92, 123, 123, 1, 0, 239, 240, 2, 0, 101, 101, 174, 174, 2, 0, 324, 324, 329, 329, 2, 0, 91, 91, 281, 281, 2, 0, 29, 29, 75, 75, 2, 0, 101, 101, 148, 148, 2, 0, 22, 22, 79, 79, 2, 0, 33, 33, 259, 259, 3, 0, 35, 35, 150, 150, 270, 270, 2, 0, 124, 124, 247, 247, 2, 0, 85, 85, 89, 89, 2, 0, 144, 144, 189, 189, 2, 0, 125, 125, 197, 197, 2, 0, 54, 54, 281, 281, 1, 0, 318, 319, 1, 0, 320, 322, 1, 0, 291, 293, 4, 0, 89, 89, 97, 97, 273, 273, 283, 283, 2, 0, 49, 49, 280, 280, 2, 0, 100, 100, 241, 241, 1, 0, 312, 317, 3, 0, 22, 22, 26, 26, 254, 254, 2, 0, 97, 97, 273, 273, 5, 0, 67, 67, 118, 118, 170, 171, 245, 245, 310, 310, 1, 0, 175, 178, 2, 0, 102, 102, 212, 212, 3, 0, 113, 113, 137, 137, 263, 263, 4, 0, 80, 80, 132, 132, 160, 160, 294, 294, 2, 0, 192, 192, 309, 309, 2, 0, 268, 268, 298, 298, 54, 0, 18, 22, 24, 24, 26, 27, 29, 33, 35, 35, 37, 39, 42, 49, 51, 52, 56, 56, 65, 67, 69, 72, 74, 75, 77, 78, 80, 82, 85, 87, 89, 89, 92, 92, 95, 95, 98, 102, 104, 104, 107, 113, 116, 116, 118, 121, 123, 124, 126, 126, 129, 129, 131, 132, 134, 135, 137, 137, 144, 151, 153, 153, 155, 155, 157, 157, 160, 171, 173, 180, 184, 189, 191, 193, 196, 196, 198, 213, 215, 220, 222, 233, 235, 237, 239, 247, 249, 259, 261, 264, 266, 271, 274, 276, 278, 280, 282, 284, 286, 289, 291, 295, 297, 299, 302, 303, 305, 311, 4228, 0, 303, 1, 0, 0, 0, 2, 308, 1, 0, 0, 0, 4, 310, 1, 0, 0, 0, 6, 314, 1, 0, 0, 0, 8, 318, 1, 0, 0, 0, 10, 322, 1, 0, 0, 0, 12, 326, 1, 0, 0, 0, 14, 330, 1, 0, 0, 0, 16, 1231, 1, 0, 0, 0, 18, 1234, 1, 0, 0, 0, 20, 1238, 1, 0, 0, 0, 22, 1248, 1, 0, 0, 0, 24, 1252, 1, 0, 0, 0, 26, 1266, 1, 0, 0, 0, 28, 1268, 1, 0, 0, 0, 30, 1282, 1, 0, 0, 0, 32, 1288, 1, 0, 0, 0, 34, 1292, 1, 0, 0, 0, 36, 1300, 1, 0, 0, 0, 38, 1306, 1, 0, 0, 0, 40, 1308, 1, 0, 0, 0, 42, 1345, 1, 0, 0, 0, 44, 1347, 1, 0, 0, 0, 46, 1349, 1, 0, 0, 0, 48, 1385, 1, 0, 0, 0, 50, 1389, 1, 0, 0, 0, 52, 1398, 1, 0, 0, 0, 54, 1446, 1, 0, 0, 0, 56, 1496, 1, 0, 0, 0, 58, 1511, 1, 0, 0, 0, 60, 1515, 1, 0, 0, 0, 62, 1517, 1, 0, 0, 0, 64, 1524, 1, 0, 0, 0, 66, 1553, 1, 0, 0, 0, 68, 1562, 1, 0, 0, 0, 70, 1582, 1, 0, 0, 0, 72, 1584, 1, 0, 0, 0, 74, 1623, 1, 0, 0, 0, 76, 1639, 1, 0, 0, 0, 78, 1641, 1, 0, 0, 0, 80, 1650, 1, 0, 0, 0, 82, 1652, 1, 0, 0, 0, 84, 1660, 1, 0, 0, 0, 86, 1666, 1, 0, 0, 0, 88, 1668, 1, 0, 0, 0, 90, 1753, 1, 0, 0, 0, 92, 1768, 1, 0, 0, 0, 94, 1779, 1, 0, 0, 0, 96, 1800, 1, 0, 0, 0, 98, 1802, 1, 0, 0, 0, 100, 1815, 1, 0, 0, 0, 102, 1819, 1, 0, 0, 0, 104, 1829, 1, 0, 0, 0, 106, 1840, 1, 0, 0, 0, 108, 1851, 1, 0, 0, 0, 110, 1933, 1, 0, 0, 0, 112, 2012, 1, 0, 0, 0, 114, 2039, 1, 0, 0, 0, 116, 2041, 1, 0, 0, 0, 118, 2048, 1, 0, 0, 0, 120, 2060, 1, 0, 0, 0, 122, 2062, 1, 0, 0, 0, 124, 2090, 1, 0, 0, 0, 126, 2097, 1, 0, 0, 0, 128, 2169, 1, 0, 0, 0, 130, 2189, 1, 0, 0, 0, 132, 2191, 1, 0, 0, 0, 134, 2195, 1, 0, 0, 0, 136, 2208, 1, 0, 0, 0, 138, 2217, 1, 0, 0, 0, 140, 2291, 1, 0, 0, 0, 142, 2297, 1, 0, 0, 0, 144, 2769, 1, 0, 0, 0, 146, 2784, 1, 0, 0, 0, 148, 2802, 1, 0, 0, 0, 150, 2807, 1, 0, 0, 0, 152, 2812, 1, 0, 0, 0, 154, 2816, 1, 0, 0, 0, 156, 2822, 1, 0, 0, 0, 158, 2835, 1, 0, 0, 0, 160, 2843, 1, 0, 0, 0, 162, 2856, 1, 0, 0, 0, 164, 2858, 1, 0, 0, 0, 166, 2864, 1, 0, 0, 0, 168, 2872, 1, 0, 0, 0, 170, 2880, 1, 0, 0, 0, 172, 2882, 1, 0, 0, 0, 174, 2884, 1, 0, 0, 0, 176, 2886, 1, 0, 0, 0, 178, 2888, 1, 0, 0, 0, 180, 2898, 1, 0, 0, 0, 182, 2900, 1, 0, 0, 0, 184, 2993, 1, 0, 0, 0, 186, 3011, 1, 0, 0, 0, 188, 3015, 1, 0, 0, 0, 190, 3017, 1, 0, 0, 0, 192, 3022, 1, 0, 0, 0, 194, 3092, 1, 0, 0, 0, 196, 3094, 1, 0, 0, 0, 198, 3111, 1, 0, 0, 0, 200, 3175, 1, 0, 0, 0, 202, 3186, 1, 0, 0, 0, 204, 3188, 1, 0, 0, 0, 206, 3228, 1, 0, 0, 0, 208, 3260, 1, 0, 0, 0, 210, 3262, 1, 0, 0, 0, 212, 3270, 1, 0, 0, 0, 214, 3277, 1, 0, 0, 0, 216, 3286, 1, 0, 0, 0, 218, 3293, 1, 0, 0, 0, 220, 3300, 1, 0, 0, 0, 222, 3302, 1, 0, 0, 0, 224, 3310, 1, 0, 0, 0, 226, 3321, 1, 0, 0, 0, 228, 3336, 1, 0, 0, 0, 230, 3340, 1, 0, 0, 0, 232, 3362, 1, 0, 0, 0, 234, 3463, 1, 0, 0, 0, 236, 3465, 1, 0, 0, 0, 238, 3470, 1, 0, 0, 0, 240, 3475, 1, 0, 0, 0, 242, 3478, 1, 0, 0, 0, 244, 3495, 1, 0, 0, 0, 246, 3505, 1, 0, 0, 0, 248, 3510, 1, 0, 0, 0, 250, 3513, 1, 0, 0, 0, 252, 3519, 1, 0, 0, 0, 254, 3532, 1, 0, 0, 0, 256, 3545, 1, 0, 0, 0, 258, 3558, 1, 0, 0, 0, 260, 3571, 1, 0, 0, 0, 262, 3578, 1, 0, 0, 0, 264, 3585, 1, 0, 0, 0, 266, 3587, 1, 0, 0, 0, 268, 3589, 1, 0, 0, 0, 270, 3591, 1, 0, 0, 0, 272, 3593, 1, 0, 0, 0, 274, 3597, 1, 0, 0, 0, 276, 3599, 1, 0, 0, 0, 278, 3601, 1, 0, 0, 0, 280, 3609, 1, 0, 0, 0, 282, 3615, 1, 0, 0, 0, 284, 3620, 1, 0, 0, 0, 286, 3627, 1, 0, 0, 0, 288, 3629, 1, 0, 0, 0, 290, 3644, 1, 0, 0, 0, 292, 3651, 1, 0, 0, 0, 294, 3665, 1, 0, 0, 0, 296, 3669, 1, 0, 0, 0, 298, 3671, 1, 0, 0, 0, 300, 302, 3, 2, 1, 0, 301, 300, 1, 0, 0, 0, 302, 305, 1, 0, 0, 0, 303, 301, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 306, 1, 0, 0, 0, 305, 303, 1, 0, 0, 0, 306, 307, 5, 0, 0, 1, 307, 1, 1, 0, 0, 0, 308, 309, 3, 4, 2, 0, 309, 3, 1, 0, 0, 0, 310, 312, 3, 16, 8, 0, 311, 313, 5, 325, 0, 0, 312, 311, 1, 0, 0, 0, 312, 313, 1, 0, 0, 0, 313, 5, 1, 0, 0, 0, 314, 316, 3, 136, 68, 0, 315, 317, 5, 325, 0, 0, 316, 315, 1, 0, 0, 0, 316, 317, 1, 0, 0, 0, 317, 7, 1, 0, 0, 0, 318, 320, 3, 222, 111, 0, 319, 321, 5, 325, 0, 0, 320, 319, 1, 0, 0, 0, 320, 321, 1, 0, 0, 0, 321, 9, 1, 0, 0, 0, 322, 324, 3, 184, 92, 0, 323, 325, 5, 325, 0, 0, 324, 323, 1, 0, 0, 0, 324, 325, 1, 0, 0, 0, 325, 11, 1, 0, 0, 0, 326, 328, 3, 204, 102, 0, 327, 329, 5, 325, 0, 0, 328, 327, 1, 0, 0, 0, 328, 329, 1, 0, 0, 0, 329, 13, 1, 0, 0, 0, 330, 331, 3, 224, 112, 0, 331, 332, 5, 0, 0, 1, 332, 15, 1, 0, 0, 0, 333, 1232, 3, 18, 9, 0, 334, 335, 5, 288, 0, 0, 335, 1232, 3, 262, 131, 0, 336, 337, 5, 53, 0, 0, 337, 341, 5, 42, 0, 0, 338, 339, 5, 119, 0, 0, 339, 340, 5, 182, 0, 0, 340, 342, 5, 94, 0, 0, 341, 338, 1, 0, 0, 0, 341, 342, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 344, 3, 268, 134, 0, 344, 345, 5, 290, 0, 0, 345, 348, 3, 292, 146, 0, 346, 347, 5, 46, 0, 0, 347, 349, 3, 168, 84, 0, 348, 346, 1, 0, 0, 0, 348, 349, 1, 0, 0, 0, 349, 352, 1, 0, 0, 0, 350, 351, 5, 31, 0, 0, 351, 353, 3, 286, 143, 0, 352, 350, 1, 0, 0, 0, 352, 353, 1, 0, 0, 0, 353, 356, 1, 0, 0, 0, 354, 355, 5, 304, 0, 0, 355, 357, 3, 32, 16, 0, 356, 354, 1, 0, 0, 0, 356, 357, 1, 0, 0, 0, 357, 1232, 1, 0, 0, 0, 358, 359, 5, 83, 0, 0, 359, 362, 5, 42, 0, 0, 360, 361, 5, 119, 0, 0, 361, 363, 5, 94, 0, 0, 362, 360, 1, 0, 0, 0, 362, 363, 1, 0, 0, 0, 363, 364, 1, 0, 0, 0, 364, 366, 3, 266, 133, 0, 365, 367, 7, 0, 0, 0, 366, 365, 1, 0, 0, 0, 366, 367, 1, 0, 0, 0, 367, 1232, 1, 0, 0, 0, 368, 369, 5, 53, 0, 0, 369, 373, 5, 243, 0, 0, 370, 371, 5, 119, 0, 0, 371, 372, 5, 182, 0, 0, 372, 374, 5, 94, 0, 0, 373, 370, 1, 0, 0, 0, 373, 374, 1, 0, 0, 0, 374, 375, 1, 0, 0, 0, 375, 378, 3, 264, 132, 0, 376, 377, 5, 31, 0, 0, 377, 379, 3, 286, 143, 0, 378, 376, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 382, 1, 0, 0, 0, 380, 381, 5, 304, 0, 0, 381, 383, 3, 32, 16, 0, 382, 380, 1, 0, 0, 0, 382, 383, 1, 0, 0, 0, 383, 1232, 1, 0, 0, 0, 384, 385, 5, 83, 0, 0, 385, 388, 5, 243, 0, 0, 386, 387, 5, 119, 0, 0, 387, 389, 5, 94, 0, 0, 388, 386, 1, 0, 0, 0, 388, 389, 1, 0, 0, 0, 389, 390, 1, 0, 0, 0, 390, 392, 3, 262, 131, 0, 391, 393, 7, 0, 0, 0, 392, 391, 1, 0, 0, 0, 392, 393, 1, 0, 0, 0, 393, 1232, 1, 0, 0, 0, 394, 395, 5, 23, 0, 0, 395, 396, 5, 243, 0, 0, 396, 397, 3, 262, 131, 0, 397, 398, 5, 223, 0, 0, 398, 399, 5, 269, 0, 0, 399, 400, 3, 264, 132, 0, 400, 1232, 1, 0, 0, 0, 401, 402, 5, 23, 0, 0, 402, 403, 5, 243, 0, 0, 403, 404, 3, 262, 131, 0, 404, 405, 5, 251, 0, 0, 405, 406, 5, 31, 0, 0, 406, 407, 3, 286, 143, 0, 407, 1232, 1, 0, 0, 0, 408, 411, 5, 53, 0, 0, 409, 410, 5, 194, 0, 0, 410, 412, 5, 226, 0, 0, 411, 409, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 413, 1, 0, 0, 0, 413, 417, 5, 260, 0, 0, 414, 415, 5, 119, 0, 0, 415, 416, 5, 182, 0, 0, 416, 418, 5, 94, 0, 0, 417, 414, 1, 0, 0, 0, 417, 418, 1, 0, 0, 0, 418, 419, 1, 0, 0, 0, 419, 421, 3, 256, 128, 0, 420, 422, 3, 104, 52, 0, 421, 420, 1, 0, 0, 0, 421, 422, 1, 0, 0, 0, 422, 425, 1, 0, 0, 0, 423, 424, 5, 46, 0, 0, 424, 426, 3, 168, 84, 0, 425, 423, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 429, 1, 0, 0, 0, 427, 428, 5, 304, 0, 0, 428, 430, 3, 32, 16, 0, 429, 427, 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 431, 1, 0, 0, 0, 431, 437, 5, 28, 0, 0, 432, 438, 3, 18, 9, 0, 433, 434, 5, 1, 0, 0, 434, 435, 3, 18, 9, 0, 435, 436, 5, 2, 0, 0, 436, 438, 1, 0, 0, 0, 437, 432, 1, 0, 0, 0, 437, 433, 1, 0, 0, 0, 438, 444, 1, 0, 0, 0, 439, 441, 5, 304, 0, 0, 440, 442, 5, 179, 0, 0, 441, 440, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 443, 1, 0, 0, 0, 443, 445, 5, 65, 0, 0, 444, 439, 1, 0, 0, 0, 444, 445, 1, 0, 0, 0, 445, 1232, 1, 0, 0, 0, 446, 449, 5, 53, 0, 0, 447, 448, 5, 194, 0, 0, 448, 450, 5, 226, 0, 0, 449, 447, 1, 0, 0, 0, 449, 450, 1, 0, 0, 0, 450, 451, 1, 0, 0, 0, 451, 455, 5, 260, 0, 0, 452, 453, 5, 119, 0, 0, 453, 454, 5, 182, 0, 0, 454, 456, 5, 94, 0, 0, 455, 452, 1, 0, 0, 0, 455, 456, 1, 0, 0, 0, 456, 457, 1, 0, 0, 0, 457, 458, 3, 256, 128, 0, 458, 459, 5, 1, 0, 0, 459, 464, 3, 26, 13, 0, 460, 461, 5, 3, 0, 0, 461, 463, 3, 26, 13, 0, 462, 460, 1, 0, 0, 0, 463, 466, 1, 0, 0, 0, 464, 462, 1, 0, 0, 0, 464, 465, 1, 0, 0, 0, 465, 467, 1, 0, 0, 0, 466, 464, 1, 0, 0, 0, 467, 470, 5, 2, 0, 0, 468, 469, 5, 46, 0, 0, 469, 471, 3, 168, 84, 0, 470, 468, 1, 0, 0, 0, 470, 471, 1, 0, 0, 0, 471, 474, 1, 0, 0, 0, 472, 473, 5, 304, 0, 0, 473, 475, 3, 32, 16, 0, 474, 472, 1, 0, 0, 0, 474, 475, 1, 0, 0, 0, 475, 1232, 1, 0, 0, 0, 476, 477, 5, 83, 0, 0, 477, 480, 5, 260, 0, 0, 478, 479, 5, 119, 0, 0, 479, 481, 5, 94, 0, 0, 480, 478, 1, 0, 0, 0, 480, 481, 1, 0, 0, 0, 481, 482, 1, 0, 0, 0, 482, 1232, 3, 254, 127, 0, 483, 484, 5, 127, 0, 0, 484, 485, 5, 130, 0, 0, 485, 487, 3, 254, 127, 0, 486, 488, 3, 106, 53, 0, 487, 486, 1, 0, 0, 0, 487, 488, 1, 0, 0, 0, 488, 489, 1, 0, 0, 0, 489, 490, 3, 18, 9, 0, 490, 1232, 1, 0, 0, 0, 491, 492, 5, 73, 0, 0, 492, 493, 5, 105, 0, 0, 493, 496, 3, 254, 127, 0, 494, 495, 5, 301, 0, 0, 495, 497, 3, 138, 69, 0, 496, 494, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0, 497, 1232, 1, 0, 0, 0, 498, 499, 5, 274, 0, 0, 499, 500, 5, 260, 0, 0, 500, 1232, 3, 254, 127, 0, 501, 502, 5, 46, 0, 0, 502, 503, 5, 190, 0, 0, 503, 504, 5, 260, 0, 0, 504, 505, 3, 254, 127, 0, 505, 508, 5, 133, 0, 0, 506, 509, 3, 168, 84, 0, 507, 509, 5, 183, 0, 0, 508, 506, 1, 0, 0, 0, 508, 507, 1, 0, 0, 0, 509, 1232, 1, 0, 0, 0, 510, 511, 5, 46, 0, 0, 511, 512, 5, 190, 0, 0, 512, 513, 5, 299, 0, 0, 513, 514, 3, 258, 129, 0, 514, 517, 5, 133, 0, 0, 515, 518, 3, 168, 84, 0, 516, 518, 5, 183, 0, 0, 517, 515, 1, 0, 0, 0, 517, 516, 1, 0, 0, 0, 518, 1232, 1, 0, 0, 0, 519, 520, 5, 46, 0, 0, 520, 521, 5, 190, 0, 0, 521, 522, 5, 44, 0, 0, 522, 523, 3, 274, 137, 0, 523, 526, 5, 133, 0, 0, 524, 527, 3, 168, 84, 0, 525, 527, 5, 183, 0, 0, 526, 524, 1, 0, 0, 0, 526, 525, 1, 0, 0, 0, 527, 1232, 1, 0, 0, 0, 528, 529, 5, 23, 0, 0, 529, 532, 5, 260, 0, 0, 530, 531, 5, 119, 0, 0, 531, 533, 5, 94, 0, 0, 532, 530, 1, 0, 0, 0, 532, 533, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, 534, 535, 3, 254, 127, 0, 535, 536, 5, 223, 0, 0, 536, 537, 5, 269, 0, 0, 537, 538, 3, 256, 128, 0, 538, 1232, 1, 0, 0, 0, 539, 540, 5, 23, 0, 0, 540, 543, 5, 260, 0, 0, 541, 542, 5, 119, 0, 0, 542, 544, 5, 94, 0, 0, 543, 541, 1, 0, 0, 0, 543, 544, 1, 0, 0, 0, 544, 545, 1, 0, 0, 0, 545, 546, 3, 254, 127, 0, 546, 547, 5, 19, 0, 0, 547, 551, 5, 44, 0, 0, 548, 549, 5, 119, 0, 0, 549, 550, 5, 182, 0, 0, 550, 552, 5, 94, 0, 0, 551, 548, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 553, 1, 0, 0, 0, 553, 554, 3, 28, 14, 0, 554, 1232, 1, 0, 0, 0, 555, 556, 5, 23, 0, 0, 556, 559, 5, 260, 0, 0, 557, 558, 5, 119, 0, 0, 558, 560, 5, 94, 0, 0, 559, 557, 1, 0, 0, 0, 559, 560, 1, 0, 0, 0, 560, 561, 1, 0, 0, 0, 561, 562, 3, 254, 127, 0, 562, 563, 5, 223, 0, 0, 563, 566, 5, 44, 0, 0, 564, 565, 5, 119, 0, 0, 565, 567, 5, 94, 0, 0, 566, 564, 1, 0, 0, 0, 566, 567, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 569, 3, 274, 137, 0, 569, 570, 5, 269, 0, 0, 570, 571, 3, 276, 138, 0, 571, 1232, 1, 0, 0, 0, 572, 573, 5, 23, 0, 0, 573, 576, 5, 260, 0, 0, 574, 575, 5, 119, 0, 0, 575, 577, 5, 94, 0, 0, 576, 574, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 578, 1, 0, 0, 0, 578, 579, 3, 254, 127, 0, 579, 580, 5, 83, 0, 0, 580, 583, 5, 44, 0, 0, 581, 582, 5, 119, 0, 0, 582, 584, 5, 94, 0, 0, 583, 581, 1, 0, 0, 0, 583, 584, 1, 0, 0, 0, 584, 585, 1, 0, 0, 0, 585, 586, 3, 274, 137, 0, 586, 1232, 1, 0, 0, 0, 587, 588, 5, 23, 0, 0, 588, 591, 5, 260, 0, 0, 589, 590, 5, 119, 0, 0, 590, 592, 5, 94, 0, 0, 591, 589, 1, 0, 0, 0, 591, 592, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 594, 3, 254, 127, 0, 594, 595, 5, 23, 0, 0, 595, 596, 5, 44, 0, 0, 596, 597, 3, 274, 137, 0, 597, 598, 5, 251, 0, 0, 598, 599, 5, 65, 0, 0, 599, 600, 5, 276, 0, 0, 600, 601, 3, 184, 92, 0, 601, 1232, 1, 0, 0, 0, 602, 603, 5, 23, 0, 0, 603, 606, 5, 260, 0, 0, 604, 605, 5, 119, 0, 0, 605, 607, 5, 94, 0, 0, 606, 604, 1, 0, 0, 0, 606, 607, 1, 0, 0, 0, 607, 608, 1, 0, 0, 0, 608, 609, 3, 254, 127, 0, 609, 610, 5, 23, 0, 0, 610, 611, 5, 44, 0, 0, 611, 612, 3, 274, 137, 0, 612, 613, 5, 83, 0, 0, 613, 614, 5, 182, 0, 0, 614, 615, 5, 183, 0, 0, 615, 1232, 1, 0, 0, 0, 616, 617, 5, 23, 0, 0, 617, 618, 5, 260, 0, 0, 618, 619, 3, 254, 127, 0, 619, 620, 5, 251, 0, 0, 620, 621, 5, 31, 0, 0, 621, 622, 3, 286, 143, 0, 622, 1232, 1, 0, 0, 0, 623, 624, 5, 23, 0, 0, 624, 625, 5, 260, 0, 0, 625, 626, 3, 254, 127, 0, 626, 627, 5, 251, 0, 0, 627, 628, 5, 216, 0, 0, 628, 629, 3, 34, 17, 0, 629, 1232, 1, 0, 0, 0, 630, 631, 5, 23, 0, 0, 631, 632, 5, 260, 0, 0, 632, 633, 3, 254, 127, 0, 633, 634, 5, 93, 0, 0, 634, 647, 3, 270, 135, 0, 635, 644, 5, 1, 0, 0, 636, 641, 3, 218, 109, 0, 637, 638, 5, 3, 0, 0, 638, 640, 3, 218, 109, 0, 639, 637, 1, 0, 0, 0, 640, 643, 1, 0, 0, 0, 641, 639, 1, 0, 0, 0, 641, 642, 1, 0, 0, 0, 642, 645, 1, 0, 0, 0, 643, 641, 1, 0, 0, 0, 644, 636, 1, 0, 0, 0, 644, 645, 1, 0, 0, 0, 645, 646, 1, 0, 0, 0, 646, 648, 5, 2, 0, 0, 647, 635, 1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 651, 1, 0, 0, 0, 649, 650, 5, 301, 0, 0, 650, 652, 3, 138, 69, 0, 651, 649, 1, 0, 0, 0, 651, 652, 1, 0, 0, 0, 652, 1232, 1, 0, 0, 0, 653, 654, 5, 24, 0, 0, 654, 657, 3, 254, 127, 0, 655, 656, 5, 304, 0, 0, 656, 658, 3, 32, 16, 0, 657, 655, 1, 0, 0, 0, 657, 658, 1, 0, 0, 0, 658, 1232, 1, 0, 0, 0, 659, 662, 5, 53, 0, 0, 660, 661, 5, 194, 0, 0, 661, 663, 5, 226, 0, 0, 662, 660, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 664, 1, 0, 0, 0, 664, 665, 5, 167, 0, 0, 665, 669, 5, 299, 0, 0, 666, 667, 5, 119, 0, 0, 667, 668, 5, 182, 0, 0, 668, 670, 5, 94, 0, 0, 669, 666, 1, 0, 0, 0, 669, 670, 1, 0, 0, 0, 670, 671, 1, 0, 0, 0, 671, 675, 3, 260, 130, 0, 672, 673, 5, 109, 0, 0, 673, 674, 5, 208, 0, 0, 674, 676, 3, 178, 89, 0, 675, 672, 1, 0, 0, 0, 675, 676, 1, 0, 0, 0, 676, 679, 1, 0, 0, 0, 677, 678, 5, 46, 0, 0, 678, 680, 3, 168, 84, 0, 679, 677, 1, 0, 0, 0, 679, 680, 1, 0, 0, 0, 680, 683, 1, 0, 0, 0, 681, 682, 5, 304, 0, 0, 682, 684, 3, 32, 16, 0, 683, 681, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 685, 1, 0, 0, 0, 685, 686, 5, 28, 0, 0, 686, 687, 3, 18, 9, 0, 687, 1232, 1, 0, 0, 0, 688, 691, 5, 53, 0, 0, 689, 690, 5, 194, 0, 0, 690, 692, 5, 226, 0, 0, 691, 689, 1, 0, 0, 0, 691, 692, 1, 0, 0, 0, 692, 693, 1, 0, 0, 0, 693, 694, 5, 299, 0, 0, 694, 697, 3, 260, 130, 0, 695, 696, 5, 46, 0, 0, 696, 698, 3, 168, 84, 0, 697, 695, 1, 0, 0, 0, 697, 698, 1, 0, 0, 0, 698, 701, 1, 0, 0, 0, 699, 700, 5, 246, 0, 0, 700, 702, 7, 1, 0, 0, 701, 699, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 705, 1, 0, 0, 0, 703, 704, 5, 304, 0, 0, 704, 706, 3, 32, 16, 0, 705, 703, 1, 0, 0, 0, 705, 706, 1, 0, 0, 0, 706, 707, 1, 0, 0, 0, 707, 708, 5, 28, 0, 0, 708, 709, 3, 18, 9, 0, 709, 1232, 1, 0, 0, 0, 710, 711, 5, 222, 0, 0, 711, 712, 5, 167, 0, 0, 712, 713, 5, 299, 0, 0, 713, 1232, 3, 258, 129, 0, 714, 715, 5, 83, 0, 0, 715, 716, 5, 167, 0, 0, 716, 719, 5, 299, 0, 0, 717, 718, 5, 119, 0, 0, 718, 720, 5, 94, 0, 0, 719, 717, 1, 0, 0, 0, 719, 720, 1, 0, 0, 0, 720, 721, 1, 0, 0, 0, 721, 1232, 3, 258, 129, 0, 722, 723, 5, 23, 0, 0, 723, 724, 5, 167, 0, 0, 724, 727, 5, 299, 0, 0, 725, 726, 5, 119, 0, 0, 726, 728, 5, 94, 0, 0, 727, 725, 1, 0, 0, 0, 727, 728, 1, 0, 0, 0, 728, 729, 1, 0, 0, 0, 729, 730, 3, 258, 129, 0, 730, 731, 5, 223, 0, 0, 731, 732, 5, 269, 0, 0, 732, 733, 3, 260, 130, 0, 733, 1232, 1, 0, 0, 0, 734, 735, 5, 23, 0, 0, 735, 736, 5, 167, 0, 0, 736, 737, 5, 299, 0, 0, 737, 738, 3, 258, 129, 0, 738, 739, 5, 251, 0, 0, 739, 740, 5, 216, 0, 0, 740, 741, 3, 34, 17, 0, 741, 1232, 1, 0, 0, 0, 742, 743, 5, 83, 0, 0, 743, 746, 5, 299, 0, 0, 744, 745, 5, 119, 0, 0, 745, 747, 5, 94, 0, 0, 746, 744, 1, 0, 0, 0, 746, 747, 1, 0, 0, 0, 747, 748, 1, 0, 0, 0, 748, 1232, 3, 258, 129, 0, 749, 750, 5, 23, 0, 0, 750, 751, 5, 299, 0, 0, 751, 752, 3, 258, 129, 0, 752, 753, 5, 223, 0, 0, 753, 754, 5, 269, 0, 0, 754, 755, 3, 260, 130, 0, 755, 1232, 1, 0, 0, 0, 756, 757, 5, 23, 0, 0, 757, 758, 5, 299, 0, 0, 758, 759, 3, 258, 129, 0, 759, 760, 5, 251, 0, 0, 760, 761, 5, 31, 0, 0, 761, 762, 3, 286, 143, 0, 762, 1232, 1, 0, 0, 0, 763, 764, 5, 37, 0, 0, 764, 765, 3, 270, 135, 0, 765, 774, 5, 1, 0, 0, 766, 771, 3, 218, 109, 0, 767, 768, 5, 3, 0, 0, 768, 770, 3, 218, 109, 0, 769, 767, 1, 0, 0, 0, 770, 773, 1, 0, 0, 0, 771, 769, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 775, 1, 0, 0, 0, 773, 771, 1, 0, 0, 0, 774, 766, 1, 0, 0, 0, 774, 775, 1, 0, 0, 0, 775, 776, 1, 0, 0, 0, 776, 777, 5, 2, 0, 0, 777, 1232, 1, 0, 0, 0, 778, 781, 5, 53, 0, 0, 779, 780, 5, 194, 0, 0, 780, 782, 5, 226, 0, 0, 781, 779, 1, 0, 0, 0, 781, 782, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 1232, 3, 224, 112, 0, 784, 785, 5, 83, 0, 0, 785, 788, 5, 107, 0, 0, 786, 787, 5, 119, 0, 0, 787, 789, 5, 94, 0, 0, 788, 786, 1, 0, 0, 0, 788, 789, 1, 0, 0, 0, 789, 790, 1, 0, 0, 0, 790, 1232, 3, 226, 113, 0, 791, 792, 5, 53, 0, 0, 792, 793, 5, 235, 0, 0, 793, 797, 3, 292, 146, 0, 794, 795, 5, 304, 0, 0, 795, 796, 5, 20, 0, 0, 796, 798, 3, 284, 142, 0, 797, 794, 1, 0, 0, 0, 797, 798, 1, 0, 0, 0, 798, 801, 1, 0, 0, 0, 799, 800, 5, 122, 0, 0, 800, 802, 3, 266, 133, 0, 801, 799, 1, 0, 0, 0, 801, 802, 1, 0, 0, 0, 802, 1232, 1, 0, 0, 0, 803, 804, 5, 83, 0, 0, 804, 805, 5, 235, 0, 0, 805, 808, 3, 292, 146, 0, 806, 807, 5, 122, 0, 0, 807, 809, 3, 266, 133, 0, 808, 806, 1, 0, 0, 0, 808, 809, 1, 0, 0, 0, 809, 1232, 1, 0, 0, 0, 810, 811, 5, 110, 0, 0, 811, 816, 3, 290, 145, 0, 812, 813, 5, 3, 0, 0, 813, 815, 3, 290, 145, 0, 814, 812, 1, 0, 0, 0, 815, 818, 1, 0, 0, 0, 816, 814, 1, 0, 0, 0, 816, 817, 1, 0, 0, 0, 817, 819, 1, 0, 0, 0, 818, 816, 1, 0, 0, 0, 819, 820, 5, 269, 0, 0, 820, 825, 3, 286, 143, 0, 821, 822, 5, 3, 0, 0, 822, 824, 3, 286, 143, 0, 823, 821, 1, 0, 0, 0, 824, 827, 1, 0, 0, 0, 825, 823, 1, 0, 0, 0, 825, 826, 1, 0, 0, 0, 826, 831, 1, 0, 0, 0, 827, 825, 1, 0, 0, 0, 828, 829, 5, 304, 0, 0, 829, 830, 5, 20, 0, 0, 830, 832, 5, 193, 0, 0, 831, 828, 1, 0, 0, 0, 831, 832, 1, 0, 0, 0, 832, 836, 1, 0, 0, 0, 833, 834, 5, 111, 0, 0, 834, 835, 5, 36, 0, 0, 835, 837, 3, 284, 142, 0, 836, 833, 1, 0, 0, 0, 836, 837, 1, 0, 0, 0, 837, 840, 1, 0, 0, 0, 838, 839, 5, 122, 0, 0, 839, 841, 3, 266, 133, 0, 840, 838, 1, 0, 0, 0, 840, 841, 1, 0, 0, 0, 841, 1232, 1, 0, 0, 0, 842, 853, 5, 110, 0, 0, 843, 848, 3, 290, 145, 0, 844, 845, 5, 3, 0, 0, 845, 847, 3, 290, 145, 0, 846, 844, 1, 0, 0, 0, 847, 850, 1, 0, 0, 0, 848, 846, 1, 0, 0, 0, 848, 849, 1, 0, 0, 0, 849, 854, 1, 0, 0, 0, 850, 848, 1, 0, 0, 0, 851, 852, 5, 22, 0, 0, 852, 854, 5, 215, 0, 0, 853, 843, 1, 0, 0, 0, 853, 851, 1, 0, 0, 0, 854, 855, 1, 0, 0, 0, 855, 856, 5, 190, 0, 0, 856, 857, 3, 250, 125, 0, 857, 858, 5, 269, 0, 0, 858, 862, 3, 286, 143, 0, 859, 860, 5, 304, 0, 0, 860, 861, 5, 110, 0, 0, 861, 863, 5, 193, 0, 0, 862, 859, 1, 0, 0, 0, 862, 863, 1, 0, 0, 0, 863, 1232, 1, 0, 0, 0, 864, 868, 5, 233, 0, 0, 865, 866, 5, 20, 0, 0, 866, 867, 5, 193, 0, 0, 867, 869, 5, 103, 0, 0, 868, 865, 1, 0, 0, 0, 868, 869, 1, 0, 0, 0, 869, 870, 1, 0, 0, 0, 870, 875, 3, 290, 145, 0, 871, 872, 5, 3, 0, 0, 872, 874, 3, 290, 145, 0, 873, 871, 1, 0, 0, 0, 874, 877, 1, 0, 0, 0, 875, 873, 1, 0, 0, 0, 875, 876, 1, 0, 0, 0, 876, 878, 1, 0, 0, 0, 877, 875, 1, 0, 0, 0, 878, 879, 5, 105, 0, 0, 879, 884, 3, 286, 143, 0, 880, 881, 5, 3, 0, 0, 881, 883, 3, 286, 143, 0, 882, 880, 1, 0, 0, 0, 883, 886, 1, 0, 0, 0, 884, 882, 1, 0, 0, 0, 884, 885, 1, 0, 0, 0, 885, 890, 1, 0, 0, 0, 886, 884, 1, 0, 0, 0, 887, 888, 5, 111, 0, 0, 888, 889, 5, 36, 0, 0, 889, 891, 3, 284, 142, 0, 890, 887, 1, 0, 0, 0, 890, 891, 1, 0, 0, 0, 891, 894, 1, 0, 0, 0, 892, 893, 5, 122, 0, 0, 893, 895, 3, 266, 133, 0, 894, 892, 1, 0, 0, 0, 894, 895, 1, 0, 0, 0, 895, 1232, 1, 0, 0, 0, 896, 900, 5, 233, 0, 0, 897, 898, 5, 110, 0, 0, 898, 899, 5, 193, 0, 0, 899, 901, 5, 103, 0, 0, 900, 897, 1, 0, 0, 0, 900, 901, 1, 0, 0, 0, 901, 912, 1, 0, 0, 0, 902, 907, 3, 290, 145, 0, 903, 904, 5, 3, 0, 0, 904, 906, 3, 290, 145, 0, 905, 903, 1, 0, 0, 0, 906, 909, 1, 0, 0, 0, 907, 905, 1, 0, 0, 0, 907, 908, 1, 0, 0, 0, 908, 913, 1, 0, 0, 0, 909, 907, 1, 0, 0, 0, 910, 911, 5, 22, 0, 0, 911, 913, 5, 215, 0, 0, 912, 902, 1, 0, 0, 0, 912, 910, 1, 0, 0, 0, 913, 914, 1, 0, 0, 0, 914, 915, 5, 190, 0, 0, 915, 916, 3, 250, 125, 0, 916, 917, 5, 105, 0, 0, 917, 918, 3, 286, 143, 0, 918, 1232, 1, 0, 0, 0, 919, 930, 5, 74, 0, 0, 920, 925, 3, 246, 123, 0, 921, 922, 5, 3, 0, 0, 922, 924, 3, 246, 123, 0, 923, 921, 1, 0, 0, 0, 924, 927, 1, 0, 0, 0, 925, 923, 1, 0, 0, 0, 925, 926, 1, 0, 0, 0, 926, 931, 1, 0, 0, 0, 927, 925, 1, 0, 0, 0, 928, 929, 5, 22, 0, 0, 929, 931, 5, 215, 0, 0, 930, 920, 1, 0, 0, 0, 930, 928, 1, 0, 0, 0, 931, 932, 1, 0, 0, 0, 932, 933, 5, 190, 0, 0, 933, 934, 3, 250, 125, 0, 934, 935, 5, 269, 0, 0, 935, 936, 3, 286, 143, 0, 936, 1232, 1, 0, 0, 0, 937, 938, 5, 251, 0, 0, 938, 942, 5, 235, 0, 0, 939, 943, 5, 22, 0, 0, 940, 943, 5, 180, 0, 0, 941, 943, 3, 292, 146, 0, 942, 939, 1, 0, 0, 0, 942, 940, 1, 0, 0, 0, 942, 941, 1, 0, 0, 0, 943, 946, 1, 0, 0, 0, 944, 945, 5, 122, 0, 0, 945, 947, 3, 266, 133, 0, 946, 944, 1, 0, 0, 0, 946, 947, 1, 0, 0, 0, 947, 1232, 1, 0, 0, 0, 948, 949, 5, 253, 0, 0, 949, 952, 5, 112, 0, 0, 950, 951, 5, 190, 0, 0, 951, 953, 3, 250, 125, 0, 952, 950, 1, 0, 0, 0, 952, 953, 1, 0, 0, 0, 953, 1232, 1, 0, 0, 0, 954, 966, 5, 95, 0, 0, 955, 956, 5, 1, 0, 0, 956, 961, 3, 212, 106, 0, 957, 958, 5, 3, 0, 0, 958, 960, 3, 212, 106, 0, 959, 957, 1, 0, 0, 0, 960, 963, 1, 0, 0, 0, 961, 959, 1, 0, 0, 0, 961, 962, 1, 0, 0, 0, 962, 964, 1, 0, 0, 0, 963, 961, 1, 0, 0, 0, 964, 965, 5, 2, 0, 0, 965, 967, 1, 0, 0, 0, 966, 955, 1, 0, 0, 0, 966, 967, 1, 0, 0, 0, 967, 968, 1, 0, 0, 0, 968, 1232, 3, 16, 8, 0, 969, 970, 5, 95, 0, 0, 970, 972, 5, 24, 0, 0, 971, 973, 5, 297, 0, 0, 972, 971, 1, 0, 0, 0, 972, 973, 1, 0, 0, 0, 973, 974, 1, 0, 0, 0, 974, 1232, 3, 16, 8, 0, 975, 976, 5, 253, 0, 0, 976, 977, 5, 53, 0, 0, 977, 978, 5, 260, 0, 0, 978, 1232, 3, 254, 127, 0, 979, 980, 5, 253, 0, 0, 980, 981, 5, 53, 0, 0, 981, 982, 5, 243, 0, 0, 982, 1232, 3, 262, 131, 0, 983, 984, 5, 253, 0, 0, 984, 985, 5, 53, 0, 0, 985, 986, 5, 299, 0, 0, 986, 1232, 3, 258, 129, 0, 987, 988, 5, 253, 0, 0, 988, 989, 5, 53, 0, 0, 989, 990, 5, 167, 0, 0, 990, 991, 5, 299, 0, 0, 991, 1232, 3, 258, 129, 0, 992, 993, 5, 253, 0, 0, 993, 994, 5, 53, 0, 0, 994, 995, 5, 107, 0, 0, 995, 1232, 3, 270, 135, 0, 996, 997, 5, 253, 0, 0, 997, 1000, 5, 261, 0, 0, 998, 999, 7, 2, 0, 0, 999, 1001, 3, 262, 131, 0, 1000, 998, 1, 0, 0, 0, 1000, 1001, 1, 0, 0, 0, 1001, 1008, 1, 0, 0, 0, 1002, 1003, 5, 154, 0, 0, 1003, 1006, 3, 168, 84, 0, 1004, 1005, 5, 90, 0, 0, 1005, 1007, 3, 168, 84, 0, 1006, 1004, 1, 0, 0, 0, 1006, 1007, 1, 0, 0, 0, 1007, 1009, 1, 0, 0, 0, 1008, 1002, 1, 0, 0, 0, 1008, 1009, 1, 0, 0, 0, 1009, 1232, 1, 0, 0, 0, 1010, 1011, 5, 253, 0, 0, 1011, 1014, 5, 244, 0, 0, 1012, 1013, 7, 2, 0, 0, 1013, 1015, 3, 266, 133, 0, 1014, 1012, 1, 0, 0, 0, 1014, 1015, 1, 0, 0, 0, 1015, 1022, 1, 0, 0, 0, 1016, 1017, 5, 154, 0, 0, 1017, 1020, 3, 168, 84, 0, 1018, 1019, 5, 90, 0, 0, 1019, 1021, 3, 168, 84, 0, 1020, 1018, 1, 0, 0, 0, 1020, 1021, 1, 0, 0, 0, 1021, 1023, 1, 0, 0, 0, 1022, 1016, 1, 0, 0, 0, 1022, 1023, 1, 0, 0, 0, 1023, 1232, 1, 0, 0, 0, 1024, 1025, 5, 253, 0, 0, 1025, 1032, 5, 43, 0, 0, 1026, 1027, 5, 154, 0, 0, 1027, 1030, 3, 168, 84, 0, 1028, 1029, 5, 90, 0, 0, 1029, 1031, 3, 168, 84, 0, 1030, 1028, 1, 0, 0, 0, 1030, 1031, 1, 0, 0, 0, 1031, 1033, 1, 0, 0, 0, 1032, 1026, 1, 0, 0, 0, 1032, 1033, 1, 0, 0, 0, 1033, 1232, 1, 0, 0, 0, 1034, 1035, 5, 253, 0, 0, 1035, 1036, 5, 45, 0, 0, 1036, 1037, 7, 2, 0, 0, 1037, 1044, 3, 252, 126, 0, 1038, 1039, 5, 154, 0, 0, 1039, 1042, 3, 168, 84, 0, 1040, 1041, 5, 90, 0, 0, 1041, 1043, 3, 168, 84, 0, 1042, 1040, 1, 0, 0, 0, 1042, 1043, 1, 0, 0, 0, 1043, 1045, 1, 0, 0, 0, 1044, 1038, 1, 0, 0, 0, 1044, 1045, 1, 0, 0, 0, 1045, 1232, 1, 0, 0, 0, 1046, 1047, 5, 253, 0, 0, 1047, 1048, 5, 256, 0, 0, 1048, 1049, 5, 103, 0, 0, 1049, 1232, 3, 252, 126, 0, 1050, 1051, 5, 253, 0, 0, 1051, 1052, 5, 256, 0, 0, 1052, 1053, 5, 103, 0, 0, 1053, 1054, 5, 1, 0, 0, 1054, 1055, 3, 18, 9, 0, 1055, 1056, 5, 2, 0, 0, 1056, 1232, 1, 0, 0, 0, 1057, 1059, 5, 253, 0, 0, 1058, 1060, 5, 56, 0, 0, 1059, 1058, 1, 0, 0, 0, 1059, 1060, 1, 0, 0, 0, 1060, 1061, 1, 0, 0, 0, 1061, 1064, 5, 236, 0, 0, 1062, 1063, 7, 2, 0, 0, 1063, 1065, 3, 266, 133, 0, 1064, 1062, 1, 0, 0, 0, 1064, 1065, 1, 0, 0, 0, 1065, 1232, 1, 0, 0, 0, 1066, 1067, 5, 253, 0, 0, 1067, 1068, 5, 235, 0, 0, 1068, 1071, 5, 112, 0, 0, 1069, 1070, 7, 2, 0, 0, 1070, 1072, 3, 266, 133, 0, 1071, 1069, 1, 0, 0, 0, 1071, 1072, 1, 0, 0, 0, 1072, 1232, 1, 0, 0, 0, 1073, 1074, 5, 76, 0, 0, 1074, 1232, 3, 252, 126, 0, 1075, 1076, 5, 75, 0, 0, 1076, 1232, 3, 252, 126, 0, 1077, 1078, 5, 253, 0, 0, 1078, 1081, 5, 108, 0, 0, 1079, 1080, 7, 2, 0, 0, 1080, 1082, 3, 262, 131, 0, 1081, 1079, 1, 0, 0, 0, 1081, 1082, 1, 0, 0, 0, 1082, 1089, 1, 0, 0, 0, 1083, 1084, 5, 154, 0, 0, 1084, 1087, 3, 168, 84, 0, 1085, 1086, 5, 90, 0, 0, 1086, 1088, 3, 168, 84, 0, 1087, 1085, 1, 0, 0, 0, 1087, 1088, 1, 0, 0, 0, 1088, 1090, 1, 0, 0, 0, 1089, 1083, 1, 0, 0, 0, 1089, 1090, 1, 0, 0, 0, 1090, 1232, 1, 0, 0, 0, 1091, 1092, 5, 253, 0, 0, 1092, 1099, 5, 250, 0, 0, 1093, 1094, 5, 154, 0, 0, 1094, 1097, 3, 168, 84, 0, 1095, 1096, 5, 90, 0, 0, 1096, 1098, 3, 168, 84, 0, 1097, 1095, 1, 0, 0, 0, 1097, 1098, 1, 0, 0, 0, 1098, 1100, 1, 0, 0, 0, 1099, 1093, 1, 0, 0, 0, 1099, 1100, 1, 0, 0, 0, 1100, 1232, 1, 0, 0, 0, 1101, 1102, 5, 251, 0, 0, 1102, 1103, 5, 250, 0, 0, 1103, 1104, 5, 31, 0, 0, 1104, 1232, 3, 296, 148, 0, 1105, 1106, 5, 227, 0, 0, 1106, 1107, 5, 250, 0, 0, 1107, 1232, 5, 31, 0, 0, 1108, 1109, 5, 251, 0, 0, 1109, 1110, 5, 250, 0, 0, 1110, 1111, 3, 278, 139, 0, 1111, 1112, 5, 312, 0, 0, 1112, 1113, 3, 136, 68, 0, 1113, 1232, 1, 0, 0, 0, 1114, 1115, 5, 227, 0, 0, 1115, 1116, 5, 250, 0, 0, 1116, 1232, 3, 278, 139, 0, 1117, 1118, 5, 255, 0, 0, 1118, 1127, 5, 271, 0, 0, 1119, 1124, 3, 214, 107, 0, 1120, 1121, 5, 3, 0, 0, 1121, 1123, 3, 214, 107, 0, 1122, 1120, 1, 0, 0, 0, 1123, 1126, 1, 0, 0, 0, 1124, 1122, 1, 0, 0, 0, 1124, 1125, 1, 0, 0, 0, 1125, 1128, 1, 0, 0, 0, 1126, 1124, 1, 0, 0, 0, 1127, 1119, 1, 0, 0, 0, 1127, 1128, 1, 0, 0, 0, 1128, 1232, 1, 0, 0, 0, 1129, 1131, 5, 47, 0, 0, 1130, 1132, 5, 307, 0, 0, 1131, 1130, 1, 0, 0, 0, 1131, 1132, 1, 0, 0, 0, 1132, 1232, 1, 0, 0, 0, 1133, 1135, 5, 237, 0, 0, 1134, 1136, 5, 307, 0, 0, 1135, 1134, 1, 0, 0, 0, 1135, 1136, 1, 0, 0, 0, 1136, 1232, 1, 0, 0, 0, 1137, 1138, 5, 214, 0, 0, 1138, 1139, 3, 292, 146, 0, 1139, 1140, 5, 105, 0, 0, 1140, 1141, 3, 16, 8, 0, 1141, 1232, 1, 0, 0, 0, 1142, 1143, 5, 68, 0, 0, 1143, 1144, 5, 214, 0, 0, 1144, 1232, 3, 292, 146, 0, 1145, 1146, 5, 93, 0, 0, 1146, 1156, 3, 292, 146, 0, 1147, 1148, 5, 290, 0, 0, 1148, 1153, 3, 136, 68, 0, 1149, 1150, 5, 3, 0, 0, 1150, 1152, 3, 136, 68, 0, 1151, 1149, 1, 0, 0, 0, 1152, 1155, 1, 0, 0, 0, 1153, 1151, 1, 0, 0, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1157, 1, 0, 0, 0, 1155, 1153, 1, 0, 0, 0, 1156, 1147, 1, 0, 0, 0, 1156, 1157, 1, 0, 0, 0, 1157, 1232, 1, 0, 0, 0, 1158, 1159, 5, 93, 0, 0, 1159, 1160, 5, 121, 0, 0, 1160, 1170, 3, 168, 84, 0, 1161, 1162, 5, 290, 0, 0, 1162, 1167, 3, 136, 68, 0, 1163, 1164, 5, 3, 0, 0, 1164, 1166, 3, 136, 68, 0, 1165, 1163, 1, 0, 0, 0, 1166, 1169, 1, 0, 0, 0, 1167, 1165, 1, 0, 0, 0, 1167, 1168, 1, 0, 0, 0, 1168, 1171, 1, 0, 0, 0, 1169, 1167, 1, 0, 0, 0, 1170, 1161, 1, 0, 0, 0, 1170, 1171, 1, 0, 0, 0, 1171, 1232, 1, 0, 0, 0, 1172, 1173, 5, 76, 0, 0, 1173, 1174, 5, 126, 0, 0, 1174, 1232, 3, 292, 146, 0, 1175, 1176, 5, 76, 0, 0, 1176, 1177, 5, 198, 0, 0, 1177, 1232, 3, 292, 146, 0, 1178, 1179, 5, 251, 0, 0, 1179, 1180, 5, 205, 0, 0, 1180, 1232, 3, 222, 111, 0, 1181, 1182, 5, 251, 0, 0, 1182, 1183, 5, 267, 0, 0, 1183, 1186, 5, 311, 0, 0, 1184, 1187, 5, 157, 0, 0, 1185, 1187, 3, 136, 68, 0, 1186, 1184, 1, 0, 0, 0, 1186, 1185, 1, 0, 0, 0, 1187, 1232, 1, 0, 0, 0, 1188, 1189, 5, 287, 0, 0, 1189, 1190, 3, 254, 127, 0, 1190, 1191, 5, 251, 0, 0, 1191, 1196, 3, 210, 105, 0, 1192, 1193, 5, 3, 0, 0, 1193, 1195, 3, 210, 105, 0, 1194, 1192, 1, 0, 0, 0, 1195, 1198, 1, 0, 0, 0, 1196, 1194, 1, 0, 0, 0, 1196, 1197, 1, 0, 0, 0, 1197, 1201, 1, 0, 0, 0, 1198, 1196, 1, 0, 0, 0, 1199, 1200, 5, 301, 0, 0, 1200, 1202, 3, 138, 69, 0, 1201, 1199, 1, 0, 0, 0, 1201, 1202, 1, 0, 0, 0, 1202, 1232, 1, 0, 0, 0, 1203, 1204, 5, 169, 0, 0, 1204, 1205, 5, 130, 0, 0, 1205, 1210, 3, 254, 127, 0, 1206, 1208, 5, 28, 0, 0, 1207, 1206, 1, 0, 0, 0, 1207, 1208, 1, 0, 0, 0, 1208, 1209, 1, 0, 0, 0, 1209, 1211, 3, 292, 146, 0, 1210, 1207, 1, 0, 0, 0, 1210, 1211, 1, 0, 0, 0, 1211, 1212, 1, 0, 0, 0, 1212, 1213, 5, 290, 0, 0, 1213, 1214, 3, 72, 36, 0, 1214, 1215, 5, 190, 0, 0, 1215, 1217, 3, 136, 68, 0, 1216, 1218, 3, 194, 97, 0, 1217, 1216, 1, 0, 0, 0, 1218, 1219, 1, 0, 0, 0, 1219, 1217, 1, 0, 0, 0, 1219, 1220, 1, 0, 0, 0, 1220, 1232, 1, 0, 0, 0, 1221, 1222, 5, 253, 0, 0, 1222, 1223, 5, 46, 0, 0, 1223, 1224, 5, 190, 0, 0, 1224, 1225, 5, 260, 0, 0, 1225, 1232, 3, 254, 127, 0, 1226, 1227, 5, 253, 0, 0, 1227, 1228, 5, 46, 0, 0, 1228, 1229, 5, 190, 0, 0, 1229, 1230, 5, 44, 0, 0, 1230, 1232, 3, 274, 137, 0, 1231, 333, 1, 0, 0, 0, 1231, 334, 1, 0, 0, 0, 1231, 336, 1, 0, 0, 0, 1231, 358, 1, 0, 0, 0, 1231, 368, 1, 0, 0, 0, 1231, 384, 1, 0, 0, 0, 1231, 394, 1, 0, 0, 0, 1231, 401, 1, 0, 0, 0, 1231, 408, 1, 0, 0, 0, 1231, 446, 1, 0, 0, 0, 1231, 476, 1, 0, 0, 0, 1231, 483, 1, 0, 0, 0, 1231, 491, 1, 0, 0, 0, 1231, 498, 1, 0, 0, 0, 1231, 501, 1, 0, 0, 0, 1231, 510, 1, 0, 0, 0, 1231, 519, 1, 0, 0, 0, 1231, 528, 1, 0, 0, 0, 1231, 539, 1, 0, 0, 0, 1231, 555, 1, 0, 0, 0, 1231, 572, 1, 0, 0, 0, 1231, 587, 1, 0, 0, 0, 1231, 602, 1, 0, 0, 0, 1231, 616, 1, 0, 0, 0, 1231, 623, 1, 0, 0, 0, 1231, 630, 1, 0, 0, 0, 1231, 653, 1, 0, 0, 0, 1231, 659, 1, 0, 0, 0, 1231, 688, 1, 0, 0, 0, 1231, 710, 1, 0, 0, 0, 1231, 714, 1, 0, 0, 0, 1231, 722, 1, 0, 0, 0, 1231, 734, 1, 0, 0, 0, 1231, 742, 1, 0, 0, 0, 1231, 749, 1, 0, 0, 0, 1231, 756, 1, 0, 0, 0, 1231, 763, 1, 0, 0, 0, 1231, 778, 1, 0, 0, 0, 1231, 784, 1, 0, 0, 0, 1231, 791, 1, 0, 0, 0, 1231, 803, 1, 0, 0, 0, 1231, 810, 1, 0, 0, 0, 1231, 842, 1, 0, 0, 0, 1231, 864, 1, 0, 0, 0, 1231, 896, 1, 0, 0, 0, 1231, 919, 1, 0, 0, 0, 1231, 937, 1, 0, 0, 0, 1231, 948, 1, 0, 0, 0, 1231, 954, 1, 0, 0, 0, 1231, 969, 1, 0, 0, 0, 1231, 975, 1, 0, 0, 0, 1231, 979, 1, 0, 0, 0, 1231, 983, 1, 0, 0, 0, 1231, 987, 1, 0, 0, 0, 1231, 992, 1, 0, 0, 0, 1231, 996, 1, 0, 0, 0, 1231, 1010, 1, 0, 0, 0, 1231, 1024, 1, 0, 0, 0, 1231, 1034, 1, 0, 0, 0, 1231, 1046, 1, 0, 0, 0, 1231, 1050, 1, 0, 0, 0, 1231, 1057, 1, 0, 0, 0, 1231, 1066, 1, 0, 0, 0, 1231, 1073, 1, 0, 0, 0, 1231, 1075, 1, 0, 0, 0, 1231, 1077, 1, 0, 0, 0, 1231, 1091, 1, 0, 0, 0, 1231, 1101, 1, 0, 0, 0, 1231, 1105, 1, 0, 0, 0, 1231, 1108, 1, 0, 0, 0, 1231, 1114, 1, 0, 0, 0, 1231, 1117, 1, 0, 0, 0, 1231, 1129, 1, 0, 0, 0, 1231, 1133, 1, 0, 0, 0, 1231, 1137, 1, 0, 0, 0, 1231, 1142, 1, 0, 0, 0, 1231, 1145, 1, 0, 0, 0, 1231, 1158, 1, 0, 0, 0, 1231, 1172, 1, 0, 0, 0, 1231, 1175, 1, 0, 0, 0, 1231, 1178, 1, 0, 0, 0, 1231, 1181, 1, 0, 0, 0, 1231, 1188, 1, 0, 0, 0, 1231, 1203, 1, 0, 0, 0, 1231, 1221, 1, 0, 0, 0, 1231, 1226, 1, 0, 0, 0, 1232, 17, 1, 0, 0, 0, 1233, 1235, 3, 20, 10, 0, 1234, 1233, 1, 0, 0, 0, 1234, 1235, 1, 0, 0, 0, 1235, 1236, 1, 0, 0, 0, 1236, 1237, 3, 22, 11, 0, 1237, 19, 1, 0, 0, 0, 1238, 1239, 5, 304, 0, 0, 1239, 1244, 3, 224, 112, 0, 1240, 1241, 5, 3, 0, 0, 1241, 1243, 3, 224, 112, 0, 1242, 1240, 1, 0, 0, 0, 1243, 1246, 1, 0, 0, 0, 1244, 1242, 1, 0, 0, 0, 1244, 1245, 1, 0, 0, 0, 1245, 21, 1, 0, 0, 0, 1246, 1244, 1, 0, 0, 0, 1247, 1249, 3, 24, 12, 0, 1248, 1247, 1, 0, 0, 0, 1248, 1249, 1, 0, 0, 0, 1249, 1250, 1, 0, 0, 0, 1250, 1251, 3, 40, 20, 0, 1251, 23, 1, 0, 0, 0, 1252, 1254, 5, 304, 0, 0, 1253, 1255, 5, 221, 0, 0, 1254, 1253, 1, 0, 0, 0, 1254, 1255, 1, 0, 0, 0, 1255, 1256, 1, 0, 0, 0, 1256, 1261, 3, 66, 33, 0, 1257, 1258, 5, 3, 0, 0, 1258, 1260, 3, 66, 33, 0, 1259, 1257, 1, 0, 0, 0, 1260, 1263, 1, 0, 0, 0, 1261, 1259, 1, 0, 0, 0, 1261, 1262, 1, 0, 0, 0, 1262, 25, 1, 0, 0, 0, 1263, 1261, 1, 0, 0, 0, 1264, 1267, 3, 28, 14, 0, 1265, 1267, 3, 30, 15, 0, 1266, 1264, 1, 0, 0, 0, 1266, 1265, 1, 0, 0, 0, 1267, 27, 1, 0, 0, 0, 1268, 1269, 3, 276, 138, 0, 1269, 1272, 3, 184, 92, 0, 1270, 1271, 5, 182, 0, 0, 1271, 1273, 5, 183, 0, 0, 1272, 1270, 1, 0, 0, 0, 1272, 1273, 1, 0, 0, 0, 1273, 1276, 1, 0, 0, 0, 1274, 1275, 5, 46, 0, 0, 1275, 1277, 3, 168, 84, 0, 1276, 1274, 1, 0, 0, 0, 1276, 1277, 1, 0, 0, 0, 1277, 1280, 1, 0, 0, 0, 1278, 1279, 5, 304, 0, 0, 1279, 1281, 3, 32, 16, 0, 1280, 1278, 1, 0, 0, 0, 1280, 1281, 1, 0, 0, 0, 1281, 29, 1, 0, 0, 0, 1282, 1283, 5, 154, 0, 0, 1283, 1286, 3, 254, 127, 0, 1284, 1285, 7, 3, 0, 0, 1285, 1287, 5, 216, 0, 0, 1286, 1284, 1, 0, 0, 0, 1286, 1287, 1, 0, 0, 0, 1287, 31, 1, 0, 0, 0, 1288, 1289, 5, 1, 0, 0, 1289, 1290, 3, 34, 17, 0, 1290, 1291, 5, 2, 0, 0, 1291, 33, 1, 0, 0, 0, 1292, 1297, 3, 36, 18, 0, 1293, 1294, 5, 3, 0, 0, 1294, 1296, 3, 36, 18, 0, 1295, 1293, 1, 0, 0, 0, 1296, 1299, 1, 0, 0, 0, 1297, 1295, 1, 0, 0, 0, 1297, 1298, 1, 0, 0, 0, 1298, 35, 1, 0, 0, 0, 1299, 1297, 1, 0, 0, 0, 1300, 1301, 3, 292, 146, 0, 1301, 1302, 5, 312, 0, 0, 1302, 1303, 3, 38, 19, 0, 1303, 37, 1, 0, 0, 0, 1304, 1307, 5, 70, 0, 0, 1305, 1307, 3, 136, 68, 0, 1306, 1304, 1, 0, 0, 0, 1306, 1305, 1, 0, 0, 0, 1307, 39, 1, 0, 0, 0, 1308, 1319, 3, 46, 23, 0, 1309, 1310, 5, 195, 0, 0, 1310, 1311, 5, 36, 0, 0, 1311, 1316, 3, 50, 25, 0, 1312, 1313, 5, 3, 0, 0, 1313, 1315, 3, 50, 25, 0, 1314, 1312, 1, 0, 0, 0, 1315, 1318, 1, 0, 0, 0, 1316, 1314, 1, 0, 0, 0, 1316, 1317, 1, 0, 0, 0, 1317, 1320, 1, 0, 0, 0, 1318, 1316, 1, 0, 0, 0, 1319, 1309, 1, 0, 0, 0, 1319, 1320, 1, 0, 0, 0, 1320, 1326, 1, 0, 0, 0, 1321, 1322, 5, 188, 0, 0, 1322, 1324, 3, 44, 22, 0, 1323, 1325, 7, 4, 0, 0, 1324, 1323, 1, 0, 0, 0, 1324, 1325, 1, 0, 0, 0, 1325, 1327, 1, 0, 0, 0, 1326, 1321, 1, 0, 0, 0, 1326, 1327, 1, 0, 0, 0, 1327, 1341, 1, 0, 0, 0, 1328, 1329, 5, 155, 0, 0, 1329, 1342, 3, 42, 21, 0, 1330, 1331, 5, 98, 0, 0, 1331, 1333, 7, 5, 0, 0, 1332, 1334, 3, 44, 22, 0, 1333, 1332, 1, 0, 0, 0, 1333, 1334, 1, 0, 0, 0, 1334, 1335, 1, 0, 0, 0, 1335, 1339, 7, 4, 0, 0, 1336, 1340, 5, 192, 0, 0, 1337, 1338, 5, 304, 0, 0, 1338, 1340, 5, 266, 0, 0, 1339, 1336, 1, 0, 0, 0, 1339, 1337, 1, 0, 0, 0, 1340, 1342, 1, 0, 0, 0, 1341, 1328, 1, 0, 0, 0, 1341, 1330, 1, 0, 0, 0, 1341, 1342, 1, 0, 0, 0, 1342, 41, 1, 0, 0, 0, 1343, 1346, 5, 22, 0, 0, 1344, 1346, 3, 44, 22, 0, 1345, 1343, 1, 0, 0, 0, 1345, 1344, 1, 0, 0, 0, 1346, 43, 1, 0, 0, 0, 1347, 1348, 7, 6, 0, 0, 1348, 45, 1, 0, 0, 0, 1349, 1350, 6, 23, -1, 0, 1350, 1351, 3, 48, 24, 0, 1351, 1366, 1, 0, 0, 0, 1352, 1353, 10, 2, 0, 0, 1353, 1355, 5, 128, 0, 0, 1354, 1356, 3, 68, 34, 0, 1355, 1354, 1, 0, 0, 0, 1355, 1356, 1, 0, 0, 0, 1356, 1357, 1, 0, 0, 0, 1357, 1365, 3, 46, 23, 3, 1358, 1359, 10, 1, 0, 0, 1359, 1361, 7, 7, 0, 0, 1360, 1362, 3, 68, 34, 0, 1361, 1360, 1, 0, 0, 0, 1361, 1362, 1, 0, 0, 0, 1362, 1363, 1, 0, 0, 0, 1363, 1365, 3, 46, 23, 2, 1364, 1352, 1, 0, 0, 0, 1364, 1358, 1, 0, 0, 0, 1365, 1368, 1, 0, 0, 0, 1366, 1364, 1, 0, 0, 0, 1366, 1367, 1, 0, 0, 0, 1367, 47, 1, 0, 0, 0, 1368, 1366, 1, 0, 0, 0, 1369, 1386, 3, 52, 26, 0, 1370, 1371, 5, 260, 0, 0, 1371, 1386, 3, 254, 127, 0, 1372, 1373, 5, 296, 0, 0, 1373, 1378, 3, 136, 68, 0, 1374, 1375, 5, 3, 0, 0, 1375, 1377, 3, 136, 68, 0, 1376, 1374, 1, 0, 0, 0, 1377, 1380, 1, 0, 0, 0, 1378, 1376, 1, 0, 0, 0, 1378, 1379, 1, 0, 0, 0, 1379, 1386, 1, 0, 0, 0, 1380, 1378, 1, 0, 0, 0, 1381, 1382, 5, 1, 0, 0, 1382, 1383, 3, 40, 20, 0, 1383, 1384, 5, 2, 0, 0, 1384, 1386, 1, 0, 0, 0, 1385, 1369, 1, 0, 0, 0, 1385, 1370, 1, 0, 0, 0, 1385, 1372, 1, 0, 0, 0, 1385, 1381, 1, 0, 0, 0, 1386, 49, 1, 0, 0, 0, 1387, 1390, 3, 274, 137, 0, 1388, 1390, 3, 136, 68, 0, 1389, 1387, 1, 0, 0, 0, 1389, 1388, 1, 0, 0, 0, 1390, 1392, 1, 0, 0, 0, 1391, 1393, 7, 8, 0, 0, 1392, 1391, 1, 0, 0, 0, 1392, 1393, 1, 0, 0, 0, 1393, 1396, 1, 0, 0, 0, 1394, 1395, 5, 185, 0, 0, 1395, 1397, 7, 9, 0, 0, 1396, 1394, 1, 0, 0, 0, 1396, 1397, 1, 0, 0, 0, 1397, 51, 1, 0, 0, 0, 1398, 1400, 5, 248, 0, 0, 1399, 1401, 3, 68, 34, 0, 1400, 1399, 1, 0, 0, 0, 1400, 1401, 1, 0, 0, 0, 1401, 1402, 1, 0, 0, 0, 1402, 1407, 3, 70, 35, 0, 1403, 1404, 5, 3, 0, 0, 1404, 1406, 3, 70, 35, 0, 1405, 1403, 1, 0, 0, 0, 1406, 1409, 1, 0, 0, 0, 1407, 1405, 1, 0, 0, 0, 1407, 1408, 1, 0, 0, 0, 1408, 1419, 1, 0, 0, 0, 1409, 1407, 1, 0, 0, 0, 1410, 1411, 5, 105, 0, 0, 1411, 1416, 3, 72, 36, 0, 1412, 1413, 5, 3, 0, 0, 1413, 1415, 3, 72, 36, 0, 1414, 1412, 1, 0, 0, 0, 1415, 1418, 1, 0, 0, 0, 1416, 1414, 1, 0, 0, 0, 1416, 1417, 1, 0, 0, 0, 1417, 1420, 1, 0, 0, 0, 1418, 1416, 1, 0, 0, 0, 1419, 1410, 1, 0, 0, 0, 1419, 1420, 1, 0, 0, 0, 1420, 1423, 1, 0, 0, 0, 1421, 1422, 5, 301, 0, 0, 1422, 1424, 3, 138, 69, 0, 1423, 1421, 1, 0, 0, 0, 1423, 1424, 1, 0, 0, 0, 1424, 1428, 1, 0, 0, 0, 1425, 1426, 5, 114, 0, 0, 1426, 1427, 5, 36, 0, 0, 1427, 1429, 3, 54, 27, 0, 1428, 1425, 1, 0, 0, 0, 1428, 1429, 1, 0, 0, 0, 1429, 1432, 1, 0, 0, 0, 1430, 1431, 5, 117, 0, 0, 1431, 1433, 3, 138, 69, 0, 1432, 1430, 1, 0, 0, 0, 1432, 1433, 1, 0, 0, 0, 1433, 1443, 1, 0, 0, 0, 1434, 1435, 5, 303, 0, 0, 1435, 1440, 3, 62, 31, 0, 1436, 1437, 5, 3, 0, 0, 1437, 1439, 3, 62, 31, 0, 1438, 1436, 1, 0, 0, 0, 1439, 1442, 1, 0, 0, 0, 1440, 1438, 1, 0, 0, 0, 1440, 1441, 1, 0, 0, 0, 1441, 1444, 1, 0, 0, 0, 1442, 1440, 1, 0, 0, 0, 1443, 1434, 1, 0, 0, 0, 1443, 1444, 1, 0, 0, 0, 1444, 53, 1, 0, 0, 0, 1445, 1447, 3, 68, 34, 0, 1446, 1445, 1, 0, 0, 0, 1446, 1447, 1, 0, 0, 0, 1447, 1448, 1, 0, 0, 0, 1448, 1453, 3, 56, 28, 0, 1449, 1450, 5, 3, 0, 0, 1450, 1452, 3, 56, 28, 0, 1451, 1449, 1, 0, 0, 0, 1452, 1455, 1, 0, 0, 0, 1453, 1451, 1, 0, 0, 0, 1453, 1454, 1, 0, 0, 0, 1454, 55, 1, 0, 0, 0, 1455, 1453, 1, 0, 0, 0, 1456, 1497, 3, 58, 29, 0, 1457, 1458, 5, 238, 0, 0, 1458, 1467, 5, 1, 0, 0, 1459, 1464, 3, 58, 29, 0, 1460, 1461, 5, 3, 0, 0, 1461, 1463, 3, 58, 29, 0, 1462, 1460, 1, 0, 0, 0, 1463, 1466, 1, 0, 0, 0, 1464, 1462, 1, 0, 0, 0, 1464, 1465, 1, 0, 0, 0, 1465, 1468, 1, 0, 0, 0, 1466, 1464, 1, 0, 0, 0, 1467, 1459, 1, 0, 0, 0, 1467, 1468, 1, 0, 0, 0, 1468, 1469, 1, 0, 0, 0, 1469, 1497, 5, 2, 0, 0, 1470, 1471, 5, 55, 0, 0, 1471, 1480, 5, 1, 0, 0, 1472, 1477, 3, 58, 29, 0, 1473, 1474, 5, 3, 0, 0, 1474, 1476, 3, 58, 29, 0, 1475, 1473, 1, 0, 0, 0, 1476, 1479, 1, 0, 0, 0, 1477, 1475, 1, 0, 0, 0, 1477, 1478, 1, 0, 0, 0, 1478, 1481, 1, 0, 0, 0, 1479, 1477, 1, 0, 0, 0, 1480, 1472, 1, 0, 0, 0, 1480, 1481, 1, 0, 0, 0, 1481, 1482, 1, 0, 0, 0, 1482, 1497, 5, 2, 0, 0, 1483, 1484, 5, 115, 0, 0, 1484, 1485, 5, 252, 0, 0, 1485, 1486, 5, 1, 0, 0, 1486, 1491, 3, 58, 29, 0, 1487, 1488, 5, 3, 0, 0, 1488, 1490, 3, 58, 29, 0, 1489, 1487, 1, 0, 0, 0, 1490, 1493, 1, 0, 0, 0, 1491, 1489, 1, 0, 0, 0, 1491, 1492, 1, 0, 0, 0, 1492, 1494, 1, 0, 0, 0, 1493, 1491, 1, 0, 0, 0, 1494, 1495, 5, 2, 0, 0, 1495, 1497, 1, 0, 0, 0, 1496, 1456, 1, 0, 0, 0, 1496, 1457, 1, 0, 0, 0, 1496, 1470, 1, 0, 0, 0, 1496, 1483, 1, 0, 0, 0, 1497, 57, 1, 0, 0, 0, 1498, 1507, 5, 1, 0, 0, 1499, 1504, 3, 60, 30, 0, 1500, 1501, 5, 3, 0, 0, 1501, 1503, 3, 60, 30, 0, 1502, 1500, 1, 0, 0, 0, 1503, 1506, 1, 0, 0, 0, 1504, 1502, 1, 0, 0, 0, 1504, 1505, 1, 0, 0, 0, 1505, 1508, 1, 0, 0, 0, 1506, 1504, 1, 0, 0, 0, 1507, 1499, 1, 0, 0, 0, 1507, 1508, 1, 0, 0, 0, 1508, 1509, 1, 0, 0, 0, 1509, 1512, 5, 2, 0, 0, 1510, 1512, 3, 60, 30, 0, 1511, 1498, 1, 0, 0, 0, 1511, 1510, 1, 0, 0, 0, 1512, 59, 1, 0, 0, 0, 1513, 1516, 3, 274, 137, 0, 1514, 1516, 3, 136, 68, 0, 1515, 1513, 1, 0, 0, 0, 1515, 1514, 1, 0, 0, 0, 1516, 61, 1, 0, 0, 0, 1517, 1518, 3, 292, 146, 0, 1518, 1519, 5, 28, 0, 0, 1519, 1520, 5, 1, 0, 0, 1520, 1521, 3, 64, 32, 0, 1521, 1522, 5, 2, 0, 0, 1522, 63, 1, 0, 0, 0, 1523, 1525, 3, 292, 146, 0, 1524, 1523, 1, 0, 0, 0, 1524, 1525, 1, 0, 0, 0, 1525, 1536, 1, 0, 0, 0, 1526, 1527, 5, 201, 0, 0, 1527, 1528, 5, 36, 0, 0, 1528, 1533, 3, 136, 68, 0, 1529, 1530, 5, 3, 0, 0, 1530, 1532, 3, 136, 68, 0, 1531, 1529, 1, 0, 0, 0, 1532, 1535, 1, 0, 0, 0, 1533, 1531, 1, 0, 0, 0, 1533, 1534, 1, 0, 0, 0, 1534, 1537, 1, 0, 0, 0, 1535, 1533, 1, 0, 0, 0, 1536, 1526, 1, 0, 0, 0, 1536, 1537, 1, 0, 0, 0, 1537, 1548, 1, 0, 0, 0, 1538, 1539, 5, 195, 0, 0, 1539, 1540, 5, 36, 0, 0, 1540, 1545, 3, 50, 25, 0, 1541, 1542, 5, 3, 0, 0, 1542, 1544, 3, 50, 25, 0, 1543, 1541, 1, 0, 0, 0, 1544, 1547, 1, 0, 0, 0, 1545, 1543, 1, 0, 0, 0, 1545, 1546, 1, 0, 0, 0, 1546, 1549, 1, 0, 0, 0, 1547, 1545, 1, 0, 0, 0, 1548, 1538, 1, 0, 0, 0, 1548, 1549, 1, 0, 0, 0, 1549, 1551, 1, 0, 0, 0, 1550, 1552, 3, 198, 99, 0, 1551, 1550, 1, 0, 0, 0, 1551, 1552, 1, 0, 0, 0, 1552, 65, 1, 0, 0, 0, 1553, 1555, 3, 292, 146, 0, 1554, 1556, 3, 108, 54, 0, 1555, 1554, 1, 0, 0, 0, 1555, 1556, 1, 0, 0, 0, 1556, 1557, 1, 0, 0, 0, 1557, 1558, 5, 28, 0, 0, 1558, 1559, 5, 1, 0, 0, 1559, 1560, 3, 22, 11, 0, 1560, 1561, 5, 2, 0, 0, 1561, 67, 1, 0, 0, 0, 1562, 1563, 7, 10, 0, 0, 1563, 69, 1, 0, 0, 0, 1564, 1567, 3, 274, 137, 0, 1565, 1567, 3, 136, 68, 0, 1566, 1564, 1, 0, 0, 0, 1566, 1565, 1, 0, 0, 0, 1567, 1572, 1, 0, 0, 0, 1568, 1570, 5, 28, 0, 0, 1569, 1568, 1, 0, 0, 0, 1569, 1570, 1, 0, 0, 0, 1570, 1571, 1, 0, 0, 0, 1571, 1573, 3, 292, 146, 0, 1572, 1569, 1, 0, 0, 0, 1572, 1573, 1, 0, 0, 0, 1573, 1583, 1, 0, 0, 0, 1574, 1575, 3, 144, 72, 0, 1575, 1576, 5, 4, 0, 0, 1576, 1579, 5, 320, 0, 0, 1577, 1578, 5, 28, 0, 0, 1578, 1580, 3, 108, 54, 0, 1579, 1577, 1, 0, 0, 0, 1579, 1580, 1, 0, 0, 0, 1580, 1583, 1, 0, 0, 0, 1581, 1583, 5, 320, 0, 0, 1582, 1566, 1, 0, 0, 0, 1582, 1574, 1, 0, 0, 0, 1582, 1581, 1, 0, 0, 0, 1583, 71, 1, 0, 0, 0, 1584, 1585, 6, 36, -1, 0, 1585, 1586, 3, 78, 39, 0, 1586, 1605, 1, 0, 0, 0, 1587, 1601, 10, 2, 0, 0, 1588, 1589, 5, 54, 0, 0, 1589, 1590, 5, 136, 0, 0, 1590, 1602, 3, 78, 39, 0, 1591, 1592, 3, 74, 37, 0, 1592, 1593, 5, 136, 0, 0, 1593, 1594, 3, 72, 36, 0, 1594, 1595, 3, 76, 38, 0, 1595, 1602, 1, 0, 0, 0, 1596, 1597, 5, 172, 0, 0, 1597, 1598, 3, 74, 37, 0, 1598, 1599, 5, 136, 0, 0, 1599, 1600, 3, 78, 39, 0, 1600, 1602, 1, 0, 0, 0, 1601, 1588, 1, 0, 0, 0, 1601, 1591, 1, 0, 0, 0, 1601, 1596, 1, 0, 0, 0, 1602, 1604, 1, 0, 0, 0, 1603, 1587, 1, 0, 0, 0, 1604, 1607, 1, 0, 0, 0, 1605, 1603, 1, 0, 0, 0, 1605, 1606, 1, 0, 0, 0, 1606, 73, 1, 0, 0, 0, 1607, 1605, 1, 0, 0, 0, 1608, 1610, 5, 125, 0, 0, 1609, 1608, 1, 0, 0, 0, 1609, 1610, 1, 0, 0, 0, 1610, 1624, 1, 0, 0, 0, 1611, 1613, 5, 152, 0, 0, 1612, 1614, 5, 197, 0, 0, 1613, 1612, 1, 0, 0, 0, 1613, 1614, 1, 0, 0, 0, 1614, 1624, 1, 0, 0, 0, 1615, 1617, 5, 234, 0, 0, 1616, 1618, 5, 197, 0, 0, 1617, 1616, 1, 0, 0, 0, 1617, 1618, 1, 0, 0, 0, 1618, 1624, 1, 0, 0, 0, 1619, 1621, 5, 106, 0, 0, 1620, 1622, 5, 197, 0, 0, 1621, 1620, 1, 0, 0, 0, 1621, 1622, 1, 0, 0, 0, 1622, 1624, 1, 0, 0, 0, 1623, 1609, 1, 0, 0, 0, 1623, 1611, 1, 0, 0, 0, 1623, 1615, 1, 0, 0, 0, 1623, 1619, 1, 0, 0, 0, 1624, 75, 1, 0, 0, 0, 1625, 1626, 5, 190, 0, 0, 1626, 1640, 3, 138, 69, 0, 1627, 1628, 5, 290, 0, 0, 1628, 1629, 5, 1, 0, 0, 1629, 1634, 3, 292, 146, 0, 1630, 1631, 5, 3, 0, 0, 1631, 1633, 3, 292, 146, 0, 1632, 1630, 1, 0, 0, 0, 1633, 1636, 1, 0, 0, 0, 1634, 1632, 1, 0, 0, 0, 1634, 1635, 1, 0, 0, 0, 1635, 1637, 1, 0, 0, 0, 1636, 1634, 1, 0, 0, 0, 1637, 1638, 5, 2, 0, 0, 1638, 1640, 1, 0, 0, 0, 1639, 1625, 1, 0, 0, 0, 1639, 1627, 1, 0, 0, 0, 1640, 77, 1, 0, 0, 0, 1641, 1648, 3, 88, 44, 0, 1642, 1643, 5, 262, 0, 0, 1643, 1644, 3, 80, 40, 0, 1644, 1645, 5, 1, 0, 0, 1645, 1646, 3, 136, 68, 0, 1646, 1647, 5, 2, 0, 0, 1647, 1649, 1, 0, 0, 0, 1648, 1642, 1, 0, 0, 0, 1648, 1649, 1, 0, 0, 0, 1649, 79, 1, 0, 0, 0, 1650, 1651, 7, 11, 0, 0, 1651, 81, 1, 0, 0, 0, 1652, 1653, 7, 12, 0, 0, 1653, 83, 1, 0, 0, 0, 1654, 1661, 5, 89, 0, 0, 1655, 1657, 5, 274, 0, 0, 1656, 1658, 3, 168, 84, 0, 1657, 1656, 1, 0, 0, 0, 1657, 1658, 1, 0, 0, 0, 1658, 1659, 1, 0, 0, 0, 1659, 1661, 3, 86, 43, 0, 1660, 1654, 1, 0, 0, 0, 1660, 1655, 1, 0, 0, 0, 1661, 85, 1, 0, 0, 0, 1662, 1663, 5, 304, 0, 0, 1663, 1667, 5, 51, 0, 0, 1664, 1665, 5, 306, 0, 0, 1665, 1667, 5, 51, 0, 0, 1666, 1662, 1, 0, 0, 0, 1666, 1664, 1, 0, 0, 0, 1667, 87, 1, 0, 0, 0, 1668, 1751, 3, 102, 51, 0, 1669, 1670, 5, 166, 0, 0, 1670, 1681, 5, 1, 0, 0, 1671, 1672, 5, 201, 0, 0, 1672, 1673, 5, 36, 0, 0, 1673, 1678, 3, 136, 68, 0, 1674, 1675, 5, 3, 0, 0, 1675, 1677, 3, 136, 68, 0, 1676, 1674, 1, 0, 0, 0, 1677, 1680, 1, 0, 0, 0, 1678, 1676, 1, 0, 0, 0, 1678, 1679, 1, 0, 0, 0, 1679, 1682, 1, 0, 0, 0, 1680, 1678, 1, 0, 0, 0, 1681, 1671, 1, 0, 0, 0, 1681, 1682, 1, 0, 0, 0, 1682, 1693, 1, 0, 0, 0, 1683, 1684, 5, 195, 0, 0, 1684, 1685, 5, 36, 0, 0, 1685, 1690, 3, 50, 25, 0, 1686, 1687, 5, 3, 0, 0, 1687, 1689, 3, 50, 25, 0, 1688, 1686, 1, 0, 0, 0, 1689, 1692, 1, 0, 0, 0, 1690, 1688, 1, 0, 0, 0, 1690, 1691, 1, 0, 0, 0, 1691, 1694, 1, 0, 0, 0, 1692, 1690, 1, 0, 0, 0, 1693, 1683, 1, 0, 0, 0, 1693, 1694, 1, 0, 0, 0, 1694, 1704, 1, 0, 0, 0, 1695, 1696, 5, 168, 0, 0, 1696, 1701, 3, 90, 45, 0, 1697, 1698, 5, 3, 0, 0, 1698, 1700, 3, 90, 45, 0, 1699, 1697, 1, 0, 0, 0, 1700, 1703, 1, 0, 0, 0, 1701, 1699, 1, 0, 0, 0, 1701, 1702, 1, 0, 0, 0, 1702, 1705, 1, 0, 0, 0, 1703, 1701, 1, 0, 0, 0, 1704, 1695, 1, 0, 0, 0, 1704, 1705, 1, 0, 0, 0, 1705, 1707, 1, 0, 0, 0, 1706, 1708, 3, 92, 46, 0, 1707, 1706, 1, 0, 0, 0, 1707, 1708, 1, 0, 0, 0, 1708, 1712, 1, 0, 0, 0, 1709, 1710, 5, 21, 0, 0, 1710, 1711, 5, 163, 0, 0, 1711, 1713, 3, 96, 48, 0, 1712, 1709, 1, 0, 0, 0, 1712, 1713, 1, 0, 0, 0, 1713, 1715, 1, 0, 0, 0, 1714, 1716, 7, 13, 0, 0, 1715, 1714, 1, 0, 0, 0, 1715, 1716, 1, 0, 0, 0, 1716, 1717, 1, 0, 0, 0, 1717, 1718, 5, 206, 0, 0, 1718, 1719, 5, 1, 0, 0, 1719, 1720, 3, 204, 102, 0, 1720, 1730, 5, 2, 0, 0, 1721, 1722, 5, 257, 0, 0, 1722, 1727, 3, 98, 49, 0, 1723, 1724, 5, 3, 0, 0, 1724, 1726, 3, 98, 49, 0, 1725, 1723, 1, 0, 0, 0, 1726, 1729, 1, 0, 0, 0, 1727, 1725, 1, 0, 0, 0, 1727, 1728, 1, 0, 0, 0, 1728, 1731, 1, 0, 0, 0, 1729, 1727, 1, 0, 0, 0, 1730, 1721, 1, 0, 0, 0, 1730, 1731, 1, 0, 0, 0, 1731, 1732, 1, 0, 0, 0, 1732, 1733, 5, 71, 0, 0, 1733, 1738, 3, 100, 50, 0, 1734, 1735, 5, 3, 0, 0, 1735, 1737, 3, 100, 50, 0, 1736, 1734, 1, 0, 0, 0, 1737, 1740, 1, 0, 0, 0, 1738, 1736, 1, 0, 0, 0, 1738, 1739, 1, 0, 0, 0, 1739, 1741, 1, 0, 0, 0, 1740, 1738, 1, 0, 0, 0, 1741, 1749, 5, 2, 0, 0, 1742, 1744, 5, 28, 0, 0, 1743, 1742, 1, 0, 0, 0, 1743, 1744, 1, 0, 0, 0, 1744, 1745, 1, 0, 0, 0, 1745, 1747, 3, 292, 146, 0, 1746, 1748, 3, 108, 54, 0, 1747, 1746, 1, 0, 0, 0, 1747, 1748, 1, 0, 0, 0, 1748, 1750, 1, 0, 0, 0, 1749, 1743, 1, 0, 0, 0, 1749, 1750, 1, 0, 0, 0, 1750, 1752, 1, 0, 0, 0, 1751, 1669, 1, 0, 0, 0, 1751, 1752, 1, 0, 0, 0, 1752, 89, 1, 0, 0, 0, 1753, 1754, 3, 136, 68, 0, 1754, 1755, 5, 28, 0, 0, 1755, 1756, 3, 292, 146, 0, 1756, 91, 1, 0, 0, 0, 1757, 1758, 5, 191, 0, 0, 1758, 1759, 5, 239, 0, 0, 1759, 1760, 5, 207, 0, 0, 1760, 1769, 5, 163, 0, 0, 1761, 1762, 5, 22, 0, 0, 1762, 1763, 5, 240, 0, 0, 1763, 1764, 5, 207, 0, 0, 1764, 1766, 5, 163, 0, 0, 1765, 1767, 3, 94, 47, 0, 1766, 1765, 1, 0, 0, 0, 1766, 1767, 1, 0, 0, 0, 1767, 1769, 1, 0, 0, 0, 1768, 1757, 1, 0, 0, 0, 1768, 1761, 1, 0, 0, 0, 1769, 93, 1, 0, 0, 0, 1770, 1771, 5, 253, 0, 0, 1771, 1772, 5, 85, 0, 0, 1772, 1780, 5, 165, 0, 0, 1773, 1774, 5, 189, 0, 0, 1774, 1775, 5, 85, 0, 0, 1775, 1780, 5, 165, 0, 0, 1776, 1777, 5, 304, 0, 0, 1777, 1778, 5, 284, 0, 0, 1778, 1780, 5, 240, 0, 0, 1779, 1770, 1, 0, 0, 0, 1779, 1773, 1, 0, 0, 0, 1779, 1776, 1, 0, 0, 0, 1780, 95, 1, 0, 0, 0, 1781, 1782, 5, 5, 0, 0, 1782, 1783, 5, 269, 0, 0, 1783, 1784, 5, 174, 0, 0, 1784, 1801, 5, 239, 0, 0, 1785, 1786, 5, 5, 0, 0, 1786, 1787, 5, 204, 0, 0, 1787, 1788, 5, 148, 0, 0, 1788, 1801, 5, 239, 0, 0, 1789, 1790, 5, 5, 0, 0, 1790, 1791, 5, 269, 0, 0, 1791, 1792, 5, 101, 0, 0, 1792, 1801, 3, 292, 146, 0, 1793, 1794, 5, 5, 0, 0, 1794, 1795, 5, 269, 0, 0, 1795, 1796, 5, 148, 0, 0, 1796, 1801, 3, 292, 146, 0, 1797, 1798, 5, 5, 0, 0, 1798, 1799, 5, 269, 0, 0, 1799, 1801, 3, 292, 146, 0, 1800, 1781, 1, 0, 0, 0, 1800, 1785, 1, 0, 0, 0, 1800, 1789, 1, 0, 0, 0, 1800, 1793, 1, 0, 0, 0, 1800, 1797, 1, 0, 0, 0, 1801, 97, 1, 0, 0, 0, 1802, 1803, 3, 292, 146, 0, 1803, 1804, 5, 312, 0, 0, 1804, 1805, 5, 1, 0, 0, 1805, 1810, 3, 292, 146, 0, 1806, 1807, 5, 3, 0, 0, 1807, 1809, 3, 292, 146, 0, 1808, 1806, 1, 0, 0, 0, 1809, 1812, 1, 0, 0, 0, 1810, 1808, 1, 0, 0, 0, 1810, 1811, 1, 0, 0, 0, 1811, 1813, 1, 0, 0, 0, 1812, 1810, 1, 0, 0, 0, 1813, 1814, 5, 2, 0, 0, 1814, 99, 1, 0, 0, 0, 1815, 1816, 3, 292, 146, 0, 1816, 1817, 5, 28, 0, 0, 1817, 1818, 3, 136, 68, 0, 1818, 101, 1, 0, 0, 0, 1819, 1827, 3, 110, 55, 0, 1820, 1822, 5, 28, 0, 0, 1821, 1820, 1, 0, 0, 0, 1821, 1822, 1, 0, 0, 0, 1822, 1823, 1, 0, 0, 0, 1823, 1825, 3, 292, 146, 0, 1824, 1826, 3, 108, 54, 0, 1825, 1824, 1, 0, 0, 0, 1825, 1826, 1, 0, 0, 0, 1826, 1828, 1, 0, 0, 0, 1827, 1821, 1, 0, 0, 0, 1827, 1828, 1, 0, 0, 0, 1828, 103, 1, 0, 0, 0, 1829, 1830, 5, 1, 0, 0, 1830, 1835, 3, 276, 138, 0, 1831, 1832, 5, 3, 0, 0, 1832, 1834, 3, 276, 138, 0, 1833, 1831, 1, 0, 0, 0, 1834, 1837, 1, 0, 0, 0, 1835, 1833, 1, 0, 0, 0, 1835, 1836, 1, 0, 0, 0, 1836, 1838, 1, 0, 0, 0, 1837, 1835, 1, 0, 0, 0, 1838, 1839, 5, 2, 0, 0, 1839, 105, 1, 0, 0, 0, 1840, 1841, 5, 1, 0, 0, 1841, 1846, 3, 274, 137, 0, 1842, 1843, 5, 3, 0, 0, 1843, 1845, 3, 274, 137, 0, 1844, 1842, 1, 0, 0, 0, 1845, 1848, 1, 0, 0, 0, 1846, 1844, 1, 0, 0, 0, 1846, 1847, 1, 0, 0, 0, 1847, 1849, 1, 0, 0, 0, 1848, 1846, 1, 0, 0, 0, 1849, 1850, 5, 2, 0, 0, 1850, 107, 1, 0, 0, 0, 1851, 1852, 5, 1, 0, 0, 1852, 1857, 3, 292, 146, 0, 1853, 1854, 5, 3, 0, 0, 1854, 1856, 3, 292, 146, 0, 1855, 1853, 1, 0, 0, 0, 1856, 1859, 1, 0, 0, 0, 1857, 1855, 1, 0, 0, 0, 1857, 1858, 1, 0, 0, 0, 1858, 1860, 1, 0, 0, 0, 1859, 1857, 1, 0, 0, 0, 1860, 1861, 5, 2, 0, 0, 1861, 109, 1, 0, 0, 0, 1862, 1864, 3, 252, 126, 0, 1863, 1865, 3, 280, 140, 0, 1864, 1863, 1, 0, 0, 0, 1864, 1865, 1, 0, 0, 0, 1865, 1934, 1, 0, 0, 0, 1866, 1867, 5, 1, 0, 0, 1867, 1868, 3, 22, 11, 0, 1868, 1869, 5, 2, 0, 0, 1869, 1934, 1, 0, 0, 0, 1870, 1871, 5, 285, 0, 0, 1871, 1872, 5, 1, 0, 0, 1872, 1877, 3, 136, 68, 0, 1873, 1874, 5, 3, 0, 0, 1874, 1876, 3, 136, 68, 0, 1875, 1873, 1, 0, 0, 0, 1876, 1879, 1, 0, 0, 0, 1877, 1875, 1, 0, 0, 0, 1877, 1878, 1, 0, 0, 0, 1878, 1880, 1, 0, 0, 0, 1879, 1877, 1, 0, 0, 0, 1880, 1883, 5, 2, 0, 0, 1881, 1882, 5, 304, 0, 0, 1882, 1884, 5, 196, 0, 0, 1883, 1881, 1, 0, 0, 0, 1883, 1884, 1, 0, 0, 0, 1884, 1934, 1, 0, 0, 0, 1885, 1886, 5, 149, 0, 0, 1886, 1887, 5, 1, 0, 0, 1887, 1888, 3, 22, 11, 0, 1888, 1889, 5, 2, 0, 0, 1889, 1934, 1, 0, 0, 0, 1890, 1891, 5, 260, 0, 0, 1891, 1892, 5, 1, 0, 0, 1892, 1893, 3, 122, 61, 0, 1893, 1894, 5, 2, 0, 0, 1894, 1934, 1, 0, 0, 0, 1895, 1896, 5, 1, 0, 0, 1896, 1897, 3, 72, 36, 0, 1897, 1898, 5, 2, 0, 0, 1898, 1934, 1, 0, 0, 0, 1899, 1900, 5, 142, 0, 0, 1900, 1901, 5, 1, 0, 0, 1901, 1902, 3, 146, 73, 0, 1902, 1903, 5, 45, 0, 0, 1903, 1904, 5, 1, 0, 0, 1904, 1909, 3, 112, 56, 0, 1905, 1906, 5, 3, 0, 0, 1906, 1908, 3, 112, 56, 0, 1907, 1905, 1, 0, 0, 0, 1908, 1911, 1, 0, 0, 0, 1909, 1907, 1, 0, 0, 0, 1909, 1910, 1, 0, 0, 0, 1910, 1912, 1, 0, 0, 0, 1911, 1909, 1, 0, 0, 0, 1912, 1924, 5, 2, 0, 0, 1913, 1914, 5, 210, 0, 0, 1914, 1915, 5, 1, 0, 0, 1915, 1916, 3, 114, 57, 0, 1916, 1917, 5, 2, 0, 0, 1917, 1925, 1, 0, 0, 0, 1918, 1919, 5, 210, 0, 0, 1919, 1920, 5, 70, 0, 0, 1920, 1921, 5, 1, 0, 0, 1921, 1922, 3, 120, 60, 0, 1922, 1923, 5, 2, 0, 0, 1923, 1925, 1, 0, 0, 0, 1924, 1913, 1, 0, 0, 0, 1924, 1918, 1, 0, 0, 0, 1924, 1925, 1, 0, 0, 0, 1925, 1929, 1, 0, 0, 0, 1926, 1927, 7, 14, 0, 0, 1927, 1928, 5, 190, 0, 0, 1928, 1930, 5, 89, 0, 0, 1929, 1926, 1, 0, 0, 0, 1929, 1930, 1, 0, 0, 0, 1930, 1931, 1, 0, 0, 0, 1931, 1932, 5, 2, 0, 0, 1932, 1934, 1, 0, 0, 0, 1933, 1862, 1, 0, 0, 0, 1933, 1866, 1, 0, 0, 0, 1933, 1870, 1, 0, 0, 0, 1933, 1885, 1, 0, 0, 0, 1933, 1890, 1, 0, 0, 0, 1933, 1895, 1, 0, 0, 0, 1933, 1899, 1, 0, 0, 0, 1934, 111, 1, 0, 0, 0, 1935, 1936, 3, 292, 146, 0, 1936, 1937, 5, 103, 0, 0, 1937, 1938, 5, 196, 0, 0, 1938, 2013, 1, 0, 0, 0, 1939, 1940, 3, 292, 146, 0, 1940, 1943, 3, 184, 92, 0, 1941, 1942, 5, 205, 0, 0, 1942, 1944, 3, 168, 84, 0, 1943, 1941, 1, 0, 0, 0, 1943, 1944, 1, 0, 0, 0, 1944, 1949, 1, 0, 0, 0, 1945, 1946, 3, 156, 78, 0, 1946, 1947, 5, 190, 0, 0, 1947, 1948, 5, 85, 0, 0, 1948, 1950, 1, 0, 0, 0, 1949, 1945, 1, 0, 0, 0, 1949, 1950, 1, 0, 0, 0, 1950, 1955, 1, 0, 0, 0, 1951, 1952, 3, 156, 78, 0, 1952, 1953, 5, 190, 0, 0, 1953, 1954, 5, 89, 0, 0, 1954, 1956, 1, 0, 0, 0, 1955, 1951, 1, 0, 0, 0, 1955, 1956, 1, 0, 0, 0, 1956, 2013, 1, 0, 0, 0, 1957, 1958, 3, 292, 146, 0, 1958, 1959, 3, 184, 92, 0, 1959, 1960, 5, 104, 0, 0, 1960, 1963, 3, 150, 75, 0, 1961, 1962, 5, 205, 0, 0, 1962, 1964, 3, 168, 84, 0, 1963, 1961, 1, 0, 0, 0, 1963, 1964, 1, 0, 0, 0, 1964, 1968, 1, 0, 0, 0, 1965, 1966, 3, 158, 79, 0, 1966, 1967, 5, 308, 0, 0, 1967, 1969, 1, 0, 0, 0, 1968, 1965, 1, 0, 0, 0, 1968, 1969, 1, 0, 0, 0, 1969, 1977, 1, 0, 0, 0, 1970, 1971, 7, 15, 0, 0, 1971, 1975, 5, 218, 0, 0, 1972, 1973, 5, 190, 0, 0, 1973, 1974, 5, 242, 0, 0, 1974, 1976, 5, 264, 0, 0, 1975, 1972, 1, 0, 0, 0, 1975, 1976, 1, 0, 0, 0, 1976, 1978, 1, 0, 0, 0, 1977, 1970, 1, 0, 0, 0, 1977, 1978, 1, 0, 0, 0, 1978, 1983, 1, 0, 0, 0, 1979, 1980, 3, 160, 80, 0, 1980, 1981, 5, 190, 0, 0, 1981, 1982, 5, 85, 0, 0, 1982, 1984, 1, 0, 0, 0, 1983, 1979, 1, 0, 0, 0, 1983, 1984, 1, 0, 0, 0, 1984, 1989, 1, 0, 0, 0, 1985, 1986, 3, 160, 80, 0, 1986, 1987, 5, 190, 0, 0, 1987, 1988, 5, 89, 0, 0, 1988, 1990, 1, 0, 0, 0, 1989, 1985, 1, 0, 0, 0, 1989, 1990, 1, 0, 0, 0, 1990, 2013, 1, 0, 0, 0, 1991, 1993, 5, 173, 0, 0, 1992, 1994, 5, 205, 0, 0, 1993, 1992, 1, 0, 0, 0, 1993, 1994, 1, 0, 0, 0, 1994, 1995, 1, 0, 0, 0, 1995, 1998, 3, 168, 84, 0, 1996, 1997, 5, 28, 0, 0, 1997, 1999, 3, 292, 146, 0, 1998, 1996, 1, 0, 0, 0, 1998, 1999, 1, 0, 0, 0, 1999, 2000, 1, 0, 0, 0, 2000, 2001, 5, 45, 0, 0, 2001, 2002, 5, 1, 0, 0, 2002, 2007, 3, 112, 56, 0, 2003, 2004, 5, 3, 0, 0, 2004, 2006, 3, 112, 56, 0, 2005, 2003, 1, 0, 0, 0, 2006, 2009, 1, 0, 0, 0, 2007, 2005, 1, 0, 0, 0, 2007, 2008, 1, 0, 0, 0, 2008, 2010, 1, 0, 0, 0, 2009, 2007, 1, 0, 0, 0, 2010, 2011, 5, 2, 0, 0, 2011, 2013, 1, 0, 0, 0, 2012, 1935, 1, 0, 0, 0, 2012, 1939, 1, 0, 0, 0, 2012, 1957, 1, 0, 0, 0, 2012, 1991, 1, 0, 0, 0, 2013, 113, 1, 0, 0, 0, 2014, 2040, 3, 116, 58, 0, 2015, 2016, 3, 116, 58, 0, 2016, 2017, 7, 16, 0, 0, 2017, 2018, 3, 118, 59, 0, 2018, 2040, 1, 0, 0, 0, 2019, 2020, 3, 118, 59, 0, 2020, 2021, 5, 281, 0, 0, 2021, 2026, 3, 118, 59, 0, 2022, 2023, 5, 281, 0, 0, 2023, 2025, 3, 118, 59, 0, 2024, 2022, 1, 0, 0, 0, 2025, 2028, 1, 0, 0, 0, 2026, 2024, 1, 0, 0, 0, 2026, 2027, 1, 0, 0, 0, 2027, 2040, 1, 0, 0, 0, 2028, 2026, 1, 0, 0, 0, 2029, 2030, 3, 118, 59, 0, 2030, 2031, 5, 54, 0, 0, 2031, 2036, 3, 118, 59, 0, 2032, 2033, 5, 54, 0, 0, 2033, 2035, 3, 118, 59, 0, 2034, 2032, 1, 0, 0, 0, 2035, 2038, 1, 0, 0, 0, 2036, 2034, 1, 0, 0, 0, 2036, 2037, 1, 0, 0, 0, 2037, 2040, 1, 0, 0, 0, 2038, 2036, 1, 0, 0, 0, 2039, 2014, 1, 0, 0, 0, 2039, 2015, 1, 0, 0, 0, 2039, 2019, 1, 0, 0, 0, 2039, 2029, 1, 0, 0, 0, 2040, 115, 1, 0, 0, 0, 2041, 2042, 3, 292, 146, 0, 2042, 117, 1, 0, 0, 0, 2043, 2049, 3, 116, 58, 0, 2044, 2045, 5, 1, 0, 0, 2045, 2046, 3, 114, 57, 0, 2046, 2047, 5, 2, 0, 0, 2047, 2049, 1, 0, 0, 0, 2048, 2043, 1, 0, 0, 0, 2048, 2044, 1, 0, 0, 0, 2049, 119, 1, 0, 0, 0, 2050, 2053, 7, 16, 0, 0, 2051, 2052, 5, 3, 0, 0, 2052, 2054, 7, 17, 0, 0, 2053, 2051, 1, 0, 0, 0, 2053, 2054, 1, 0, 0, 0, 2054, 2061, 1, 0, 0, 0, 2055, 2058, 7, 17, 0, 0, 2056, 2057, 5, 3, 0, 0, 2057, 2059, 7, 16, 0, 0, 2058, 2056, 1, 0, 0, 0, 2058, 2059, 1, 0, 0, 0, 2059, 2061, 1, 0, 0, 0, 2060, 2050, 1, 0, 0, 0, 2060, 2055, 1, 0, 0, 0, 2061, 121, 1, 0, 0, 0, 2062, 2063, 3, 270, 135, 0, 2063, 2072, 5, 1, 0, 0, 2064, 2069, 3, 124, 62, 0, 2065, 2066, 5, 3, 0, 0, 2066, 2068, 3, 124, 62, 0, 2067, 2065, 1, 0, 0, 0, 2068, 2071, 1, 0, 0, 0, 2069, 2067, 1, 0, 0, 0, 2069, 2070, 1, 0, 0, 0, 2070, 2073, 1, 0, 0, 0, 2071, 2069, 1, 0, 0, 0, 2072, 2064, 1, 0, 0, 0, 2072, 2073, 1, 0, 0, 0, 2073, 2083, 1, 0, 0, 0, 2074, 2075, 5, 52, 0, 0, 2075, 2080, 3, 134, 67, 0, 2076, 2077, 5, 3, 0, 0, 2077, 2079, 3, 134, 67, 0, 2078, 2076, 1, 0, 0, 0, 2079, 2082, 1, 0, 0, 0, 2080, 2078, 1, 0, 0, 0, 2080, 2081, 1, 0, 0, 0, 2081, 2084, 1, 0, 0, 0, 2082, 2080, 1, 0, 0, 0, 2083, 2074, 1, 0, 0, 0, 2083, 2084, 1, 0, 0, 0, 2084, 2085, 1, 0, 0, 0, 2085, 2086, 5, 2, 0, 0, 2086, 123, 1, 0, 0, 0, 2087, 2088, 3, 292, 146, 0, 2088, 2089, 5, 6, 0, 0, 2089, 2091, 1, 0, 0, 0, 2090, 2087, 1, 0, 0, 0, 2090, 2091, 1, 0, 0, 0, 2091, 2095, 1, 0, 0, 0, 2092, 2096, 3, 126, 63, 0, 2093, 2096, 3, 130, 65, 0, 2094, 2096, 3, 136, 68, 0, 2095, 2092, 1, 0, 0, 0, 2095, 2093, 1, 0, 0, 0, 2095, 2094, 1, 0, 0, 0, 2096, 125, 1, 0, 0, 0, 2097, 2115, 3, 128, 64, 0, 2098, 2099, 5, 201, 0, 0, 2099, 2113, 5, 36, 0, 0, 2100, 2109, 5, 1, 0, 0, 2101, 2106, 3, 136, 68, 0, 2102, 2103, 5, 3, 0, 0, 2103, 2105, 3, 136, 68, 0, 2104, 2102, 1, 0, 0, 0, 2105, 2108, 1, 0, 0, 0, 2106, 2104, 1, 0, 0, 0, 2106, 2107, 1, 0, 0, 0, 2107, 2110, 1, 0, 0, 0, 2108, 2106, 1, 0, 0, 0, 2109, 2101, 1, 0, 0, 0, 2109, 2110, 1, 0, 0, 0, 2110, 2111, 1, 0, 0, 0, 2111, 2114, 5, 2, 0, 0, 2112, 2114, 3, 136, 68, 0, 2113, 2100, 1, 0, 0, 0, 2113, 2112, 1, 0, 0, 0, 2114, 2116, 1, 0, 0, 0, 2115, 2098, 1, 0, 0, 0, 2115, 2116, 1, 0, 0, 0, 2116, 2123, 1, 0, 0, 0, 2117, 2118, 5, 217, 0, 0, 2118, 2119, 5, 300, 0, 0, 2119, 2124, 5, 85, 0, 0, 2120, 2121, 5, 144, 0, 0, 2121, 2122, 5, 300, 0, 0, 2122, 2124, 5, 85, 0, 0, 2123, 2117, 1, 0, 0, 0, 2123, 2120, 1, 0, 0, 0, 2123, 2124, 1, 0, 0, 0, 2124, 2141, 1, 0, 0, 0, 2125, 2126, 5, 195, 0, 0, 2126, 2139, 5, 36, 0, 0, 2127, 2128, 5, 1, 0, 0, 2128, 2133, 3, 50, 25, 0, 2129, 2130, 5, 3, 0, 0, 2130, 2132, 3, 50, 25, 0, 2131, 2129, 1, 0, 0, 0, 2132, 2135, 1, 0, 0, 0, 2133, 2131, 1, 0, 0, 0, 2133, 2134, 1, 0, 0, 0, 2134, 2136, 1, 0, 0, 0, 2135, 2133, 1, 0, 0, 0, 2136, 2137, 5, 2, 0, 0, 2137, 2140, 1, 0, 0, 0, 2138, 2140, 3, 50, 25, 0, 2139, 2127, 1, 0, 0, 0, 2139, 2138, 1, 0, 0, 0, 2140, 2142, 1, 0, 0, 0, 2141, 2125, 1, 0, 0, 0, 2141, 2142, 1, 0, 0, 0, 2142, 127, 1, 0, 0, 0, 2143, 2144, 5, 260, 0, 0, 2144, 2145, 5, 1, 0, 0, 2145, 2146, 3, 254, 127, 0, 2146, 2154, 5, 2, 0, 0, 2147, 2149, 5, 28, 0, 0, 2148, 2147, 1, 0, 0, 0, 2148, 2149, 1, 0, 0, 0, 2149, 2150, 1, 0, 0, 0, 2150, 2152, 3, 292, 146, 0, 2151, 2153, 3, 108, 54, 0, 2152, 2151, 1, 0, 0, 0, 2152, 2153, 1, 0, 0, 0, 2153, 2155, 1, 0, 0, 0, 2154, 2148, 1, 0, 0, 0, 2154, 2155, 1, 0, 0, 0, 2155, 2170, 1, 0, 0, 0, 2156, 2157, 5, 260, 0, 0, 2157, 2158, 5, 1, 0, 0, 2158, 2159, 3, 22, 11, 0, 2159, 2167, 5, 2, 0, 0, 2160, 2162, 5, 28, 0, 0, 2161, 2160, 1, 0, 0, 0, 2161, 2162, 1, 0, 0, 0, 2162, 2163, 1, 0, 0, 0, 2163, 2165, 3, 292, 146, 0, 2164, 2166, 3, 108, 54, 0, 2165, 2164, 1, 0, 0, 0, 2165, 2166, 1, 0, 0, 0, 2166, 2168, 1, 0, 0, 0, 2167, 2161, 1, 0, 0, 0, 2167, 2168, 1, 0, 0, 0, 2168, 2170, 1, 0, 0, 0, 2169, 2143, 1, 0, 0, 0, 2169, 2156, 1, 0, 0, 0, 2170, 129, 1, 0, 0, 0, 2171, 2172, 5, 77, 0, 0, 2172, 2173, 5, 1, 0, 0, 2173, 2178, 3, 132, 66, 0, 2174, 2175, 5, 3, 0, 0, 2175, 2177, 3, 132, 66, 0, 2176, 2174, 1, 0, 0, 0, 2177, 2180, 1, 0, 0, 0, 2178, 2176, 1, 0, 0, 0, 2178, 2179, 1, 0, 0, 0, 2179, 2181, 1, 0, 0, 0, 2180, 2178, 1, 0, 0, 0, 2181, 2182, 5, 2, 0, 0, 2182, 2190, 1, 0, 0, 0, 2183, 2184, 5, 41, 0, 0, 2184, 2185, 5, 1, 0, 0, 2185, 2186, 5, 183, 0, 0, 2186, 2187, 5, 28, 0, 0, 2187, 2188, 5, 77, 0, 0, 2188, 2190, 5, 2, 0, 0, 2189, 2171, 1, 0, 0, 0, 2189, 2183, 1, 0, 0, 0, 2190, 131, 1, 0, 0, 0, 2191, 2193, 3, 292, 146, 0, 2192, 2194, 3, 184, 92, 0, 2193, 2192, 1, 0, 0, 0, 2193, 2194, 1, 0, 0, 0, 2194, 133, 1, 0, 0, 0, 2195, 2196, 5, 1, 0, 0, 2196, 2197, 3, 278, 139, 0, 2197, 2198, 5, 3, 0, 0, 2198, 2203, 3, 278, 139, 0, 2199, 2200, 5, 3, 0, 0, 2200, 2202, 3, 278, 139, 0, 2201, 2199, 1, 0, 0, 0, 2202, 2205, 1, 0, 0, 0, 2203, 2201, 1, 0, 0, 0, 2203, 2204, 1, 0, 0, 0, 2204, 2206, 1, 0, 0, 0, 2205, 2203, 1, 0, 0, 0, 2206, 2207, 5, 2, 0, 0, 2207, 135, 1, 0, 0, 0, 2208, 2209, 3, 138, 69, 0, 2209, 137, 1, 0, 0, 0, 2210, 2211, 6, 69, -1, 0, 2211, 2213, 3, 142, 71, 0, 2212, 2214, 3, 140, 70, 0, 2213, 2212, 1, 0, 0, 0, 2213, 2214, 1, 0, 0, 0, 2214, 2218, 1, 0, 0, 0, 2215, 2216, 5, 182, 0, 0, 2216, 2218, 3, 138, 69, 3, 2217, 2210, 1, 0, 0, 0, 2217, 2215, 1, 0, 0, 0, 2218, 2227, 1, 0, 0, 0, 2219, 2220, 10, 2, 0, 0, 2220, 2221, 5, 25, 0, 0, 2221, 2226, 3, 138, 69, 3, 2222, 2223, 10, 1, 0, 0, 2223, 2224, 5, 194, 0, 0, 2224, 2226, 3, 138, 69, 2, 2225, 2219, 1, 0, 0, 0, 2225, 2222, 1, 0, 0, 0, 2226, 2229, 1, 0, 0, 0, 2227, 2225, 1, 0, 0, 0, 2227, 2228, 1, 0, 0, 0, 2228, 139, 1, 0, 0, 0, 2229, 2227, 1, 0, 0, 0, 2230, 2231, 3, 172, 86, 0, 2231, 2232, 3, 142, 71, 0, 2232, 2292, 1, 0, 0, 0, 2233, 2234, 3, 172, 86, 0, 2234, 2235, 3, 174, 87, 0, 2235, 2236, 5, 1, 0, 0, 2236, 2237, 3, 22, 11, 0, 2237, 2238, 5, 2, 0, 0, 2238, 2292, 1, 0, 0, 0, 2239, 2241, 5, 182, 0, 0, 2240, 2239, 1, 0, 0, 0, 2240, 2241, 1, 0, 0, 0, 2241, 2242, 1, 0, 0, 0, 2242, 2243, 5, 34, 0, 0, 2243, 2244, 3, 142, 71, 0, 2244, 2245, 5, 25, 0, 0, 2245, 2246, 3, 142, 71, 0, 2246, 2292, 1, 0, 0, 0, 2247, 2249, 5, 182, 0, 0, 2248, 2247, 1, 0, 0, 0, 2248, 2249, 1, 0, 0, 0, 2249, 2250, 1, 0, 0, 0, 2250, 2251, 5, 122, 0, 0, 2251, 2252, 5, 1, 0, 0, 2252, 2257, 3, 136, 68, 0, 2253, 2254, 5, 3, 0, 0, 2254, 2256, 3, 136, 68, 0, 2255, 2253, 1, 0, 0, 0, 2256, 2259, 1, 0, 0, 0, 2257, 2255, 1, 0, 0, 0, 2257, 2258, 1, 0, 0, 0, 2258, 2260, 1, 0, 0, 0, 2259, 2257, 1, 0, 0, 0, 2260, 2261, 5, 2, 0, 0, 2261, 2292, 1, 0, 0, 0, 2262, 2264, 5, 182, 0, 0, 2263, 2262, 1, 0, 0, 0, 2263, 2264, 1, 0, 0, 0, 2264, 2265, 1, 0, 0, 0, 2265, 2266, 5, 122, 0, 0, 2266, 2267, 5, 1, 0, 0, 2267, 2268, 3, 22, 11, 0, 2268, 2269, 5, 2, 0, 0, 2269, 2292, 1, 0, 0, 0, 2270, 2272, 5, 182, 0, 0, 2271, 2270, 1, 0, 0, 0, 2271, 2272, 1, 0, 0, 0, 2272, 2273, 1, 0, 0, 0, 2273, 2274, 5, 154, 0, 0, 2274, 2277, 3, 142, 71, 0, 2275, 2276, 5, 90, 0, 0, 2276, 2278, 3, 142, 71, 0, 2277, 2275, 1, 0, 0, 0, 2277, 2278, 1, 0, 0, 0, 2278, 2292, 1, 0, 0, 0, 2279, 2281, 5, 133, 0, 0, 2280, 2282, 5, 182, 0, 0, 2281, 2280, 1, 0, 0, 0, 2281, 2282, 1, 0, 0, 0, 2282, 2283, 1, 0, 0, 0, 2283, 2292, 5, 183, 0, 0, 2284, 2286, 5, 133, 0, 0, 2285, 2287, 5, 182, 0, 0, 2286, 2285, 1, 0, 0, 0, 2286, 2287, 1, 0, 0, 0, 2287, 2288, 1, 0, 0, 0, 2288, 2289, 5, 79, 0, 0, 2289, 2290, 5, 105, 0, 0, 2290, 2292, 3, 142, 71, 0, 2291, 2230, 1, 0, 0, 0, 2291, 2233, 1, 0, 0, 0, 2291, 2240, 1, 0, 0, 0, 2291, 2248, 1, 0, 0, 0, 2291, 2263, 1, 0, 0, 0, 2291, 2271, 1, 0, 0, 0, 2291, 2279, 1, 0, 0, 0, 2291, 2284, 1, 0, 0, 0, 2292, 141, 1, 0, 0, 0, 2293, 2294, 6, 71, -1, 0, 2294, 2298, 3, 144, 72, 0, 2295, 2296, 7, 18, 0, 0, 2296, 2298, 3, 142, 71, 4, 2297, 2293, 1, 0, 0, 0, 2297, 2295, 1, 0, 0, 0, 2298, 2313, 1, 0, 0, 0, 2299, 2300, 10, 3, 0, 0, 2300, 2301, 7, 19, 0, 0, 2301, 2312, 3, 142, 71, 4, 2302, 2303, 10, 2, 0, 0, 2303, 2304, 7, 18, 0, 0, 2304, 2312, 3, 142, 71, 3, 2305, 2306, 10, 1, 0, 0, 2306, 2307, 5, 323, 0, 0, 2307, 2312, 3, 142, 71, 2, 2308, 2309, 10, 5, 0, 0, 2309, 2310, 5, 30, 0, 0, 2310, 2312, 3, 170, 85, 0, 2311, 2299, 1, 0, 0, 0, 2311, 2302, 1, 0, 0, 0, 2311, 2305, 1, 0, 0, 0, 2311, 2308, 1, 0, 0, 0, 2312, 2315, 1, 0, 0, 0, 2313, 2311, 1, 0, 0, 0, 2313, 2314, 1, 0, 0, 0, 2314, 143, 1, 0, 0, 0, 2315, 2313, 1, 0, 0, 0, 2316, 2317, 6, 72, -1, 0, 2317, 2770, 5, 183, 0, 0, 2318, 2770, 3, 178, 89, 0, 2319, 2320, 3, 292, 146, 0, 2320, 2321, 3, 168, 84, 0, 2321, 2770, 1, 0, 0, 0, 2322, 2323, 5, 82, 0, 0, 2323, 2324, 5, 213, 0, 0, 2324, 2770, 3, 168, 84, 0, 2325, 2770, 3, 294, 147, 0, 2326, 2770, 3, 176, 88, 0, 2327, 2770, 3, 168, 84, 0, 2328, 2770, 5, 328, 0, 0, 2329, 2770, 5, 324, 0, 0, 2330, 2331, 5, 211, 0, 0, 2331, 2332, 5, 1, 0, 0, 2332, 2333, 3, 142, 71, 0, 2333, 2334, 5, 122, 0, 0, 2334, 2335, 3, 142, 71, 0, 2335, 2336, 5, 2, 0, 0, 2336, 2770, 1, 0, 0, 0, 2337, 2338, 5, 1, 0, 0, 2338, 2341, 3, 136, 68, 0, 2339, 2340, 5, 3, 0, 0, 2340, 2342, 3, 136, 68, 0, 2341, 2339, 1, 0, 0, 0, 2342, 2343, 1, 0, 0, 0, 2343, 2341, 1, 0, 0, 0, 2343, 2344, 1, 0, 0, 0, 2344, 2345, 1, 0, 0, 0, 2345, 2346, 5, 2, 0, 0, 2346, 2770, 1, 0, 0, 0, 2347, 2348, 5, 239, 0, 0, 2348, 2349, 5, 1, 0, 0, 2349, 2354, 3, 136, 68, 0, 2350, 2351, 5, 3, 0, 0, 2351, 2353, 3, 136, 68, 0, 2352, 2350, 1, 0, 0, 0, 2353, 2356, 1, 0, 0, 0, 2354, 2352, 1, 0, 0, 0, 2354, 2355, 1, 0, 0, 0, 2355, 2357, 1, 0, 0, 0, 2356, 2354, 1, 0, 0, 0, 2357, 2358, 5, 2, 0, 0, 2358, 2770, 1, 0, 0, 0, 2359, 2360, 5, 156, 0, 0, 2360, 2362, 5, 1, 0, 0, 2361, 2363, 3, 68, 34, 0, 2362, 2361, 1, 0, 0, 0, 2362, 2363, 1, 0, 0, 0, 2363, 2364, 1, 0, 0, 0, 2364, 2367, 3, 136, 68, 0, 2365, 2366, 5, 3, 0, 0, 2366, 2368, 3, 168, 84, 0, 2367, 2365, 1, 0, 0, 0, 2367, 2368, 1, 0, 0, 0, 2368, 2372, 1, 0, 0, 0, 2369, 2370, 5, 190, 0, 0, 2370, 2371, 5, 200, 0, 0, 2371, 2373, 3, 84, 42, 0, 2372, 2369, 1, 0, 0, 0, 2372, 2373, 1, 0, 0, 0, 2373, 2374, 1, 0, 0, 0, 2374, 2375, 5, 2, 0, 0, 2375, 2376, 5, 305, 0, 0, 2376, 2377, 5, 114, 0, 0, 2377, 2378, 5, 1, 0, 0, 2378, 2379, 5, 195, 0, 0, 2379, 2380, 5, 36, 0, 0, 2380, 2385, 3, 50, 25, 0, 2381, 2382, 5, 3, 0, 0, 2382, 2384, 3, 50, 25, 0, 2383, 2381, 1, 0, 0, 0, 2384, 2387, 1, 0, 0, 0, 2385, 2383, 1, 0, 0, 0, 2385, 2386, 1, 0, 0, 0, 2386, 2388, 1, 0, 0, 0, 2387, 2385, 1, 0, 0, 0, 2388, 2389, 5, 2, 0, 0, 2389, 2391, 1, 0, 0, 0, 2390, 2392, 3, 192, 96, 0, 2391, 2390, 1, 0, 0, 0, 2391, 2392, 1, 0, 0, 0, 2392, 2770, 1, 0, 0, 0, 2393, 2395, 3, 164, 82, 0, 2394, 2393, 1, 0, 0, 0, 2394, 2395, 1, 0, 0, 0, 2395, 2396, 1, 0, 0, 0, 2396, 2397, 3, 270, 135, 0, 2397, 2401, 5, 1, 0, 0, 2398, 2399, 3, 292, 146, 0, 2399, 2400, 5, 4, 0, 0, 2400, 2402, 1, 0, 0, 0, 2401, 2398, 1, 0, 0, 0, 2401, 2402, 1, 0, 0, 0, 2402, 2403, 1, 0, 0, 0, 2403, 2404, 5, 320, 0, 0, 2404, 2406, 5, 2, 0, 0, 2405, 2407, 3, 192, 96, 0, 2406, 2405, 1, 0, 0, 0, 2406, 2407, 1, 0, 0, 0, 2407, 2409, 1, 0, 0, 0, 2408, 2410, 3, 196, 98, 0, 2409, 2408, 1, 0, 0, 0, 2409, 2410, 1, 0, 0, 0, 2410, 2770, 1, 0, 0, 0, 2411, 2413, 3, 164, 82, 0, 2412, 2411, 1, 0, 0, 0, 2412, 2413, 1, 0, 0, 0, 2413, 2414, 1, 0, 0, 0, 2414, 2415, 3, 270, 135, 0, 2415, 2427, 5, 1, 0, 0, 2416, 2418, 3, 68, 34, 0, 2417, 2416, 1, 0, 0, 0, 2417, 2418, 1, 0, 0, 0, 2418, 2419, 1, 0, 0, 0, 2419, 2424, 3, 136, 68, 0, 2420, 2421, 5, 3, 0, 0, 2421, 2423, 3, 136, 68, 0, 2422, 2420, 1, 0, 0, 0, 2423, 2426, 1, 0, 0, 0, 2424, 2422, 1, 0, 0, 0, 2424, 2425, 1, 0, 0, 0, 2425, 2428, 1, 0, 0, 0, 2426, 2424, 1, 0, 0, 0, 2427, 2417, 1, 0, 0, 0, 2427, 2428, 1, 0, 0, 0, 2428, 2439, 1, 0, 0, 0, 2429, 2430, 5, 195, 0, 0, 2430, 2431, 5, 36, 0, 0, 2431, 2436, 3, 50, 25, 0, 2432, 2433, 5, 3, 0, 0, 2433, 2435, 3, 50, 25, 0, 2434, 2432, 1, 0, 0, 0, 2435, 2438, 1, 0, 0, 0, 2436, 2434, 1, 0, 0, 0, 2436, 2437, 1, 0, 0, 0, 2437, 2440, 1, 0, 0, 0, 2438, 2436, 1, 0, 0, 0, 2439, 2429, 1, 0, 0, 0, 2439, 2440, 1, 0, 0, 0, 2440, 2441, 1, 0, 0, 0, 2441, 2443, 5, 2, 0, 0, 2442, 2444, 3, 192, 96, 0, 2443, 2442, 1, 0, 0, 0, 2443, 2444, 1, 0, 0, 0, 2444, 2449, 1, 0, 0, 0, 2445, 2447, 3, 166, 83, 0, 2446, 2445, 1, 0, 0, 0, 2446, 2447, 1, 0, 0, 0, 2447, 2448, 1, 0, 0, 0, 2448, 2450, 3, 196, 98, 0, 2449, 2446, 1, 0, 0, 0, 2449, 2450, 1, 0, 0, 0, 2450, 2770, 1, 0, 0, 0, 2451, 2452, 3, 292, 146, 0, 2452, 2453, 3, 196, 98, 0, 2453, 2770, 1, 0, 0, 0, 2454, 2455, 3, 292, 146, 0, 2455, 2456, 5, 7, 0, 0, 2456, 2457, 3, 136, 68, 0, 2457, 2770, 1, 0, 0, 0, 2458, 2467, 5, 1, 0, 0, 2459, 2464, 3, 292, 146, 0, 2460, 2461, 5, 3, 0, 0, 2461, 2463, 3, 292, 146, 0, 2462, 2460, 1, 0, 0, 0, 2463, 2466, 1, 0, 0, 0, 2464, 2462, 1, 0, 0, 0, 2464, 2465, 1, 0, 0, 0, 2465, 2468, 1, 0, 0, 0, 2466, 2464, 1, 0, 0, 0, 2467, 2459, 1, 0, 0, 0, 2467, 2468, 1, 0, 0, 0, 2468, 2469, 1, 0, 0, 0, 2469, 2470, 5, 2, 0, 0, 2470, 2471, 5, 7, 0, 0, 2471, 2770, 3, 136, 68, 0, 2472, 2473, 5, 1, 0, 0, 2473, 2474, 3, 22, 11, 0, 2474, 2475, 5, 2, 0, 0, 2475, 2770, 1, 0, 0, 0, 2476, 2477, 5, 94, 0, 0, 2477, 2478, 5, 1, 0, 0, 2478, 2479, 3, 22, 11, 0, 2479, 2480, 5, 2, 0, 0, 2480, 2770, 1, 0, 0, 0, 2481, 2482, 5, 40, 0, 0, 2482, 2484, 3, 136, 68, 0, 2483, 2485, 3, 190, 95, 0, 2484, 2483, 1, 0, 0, 0, 2485, 2486, 1, 0, 0, 0, 2486, 2484, 1, 0, 0, 0, 2486, 2487, 1, 0, 0, 0, 2487, 2490, 1, 0, 0, 0, 2488, 2489, 5, 84, 0, 0, 2489, 2491, 3, 136, 68, 0, 2490, 2488, 1, 0, 0, 0, 2490, 2491, 1, 0, 0, 0, 2491, 2492, 1, 0, 0, 0, 2492, 2493, 5, 88, 0, 0, 2493, 2770, 1, 0, 0, 0, 2494, 2496, 5, 40, 0, 0, 2495, 2497, 3, 190, 95, 0, 2496, 2495, 1, 0, 0, 0, 2497, 2498, 1, 0, 0, 0, 2498, 2496, 1, 0, 0, 0, 2498, 2499, 1, 0, 0, 0, 2499, 2502, 1, 0, 0, 0, 2500, 2501, 5, 84, 0, 0, 2501, 2503, 3, 136, 68, 0, 2502, 2500, 1, 0, 0, 0, 2502, 2503, 1, 0, 0, 0, 2503, 2504, 1, 0, 0, 0, 2504, 2505, 5, 88, 0, 0, 2505, 2770, 1, 0, 0, 0, 2506, 2507, 5, 41, 0, 0, 2507, 2508, 5, 1, 0, 0, 2508, 2509, 3, 136, 68, 0, 2509, 2510, 5, 28, 0, 0, 2510, 2511, 3, 184, 92, 0, 2511, 2512, 5, 2, 0, 0, 2512, 2770, 1, 0, 0, 0, 2513, 2514, 5, 275, 0, 0, 2514, 2515, 5, 1, 0, 0, 2515, 2516, 3, 136, 68, 0, 2516, 2517, 5, 28, 0, 0, 2517, 2518, 3, 184, 92, 0, 2518, 2519, 5, 2, 0, 0, 2519, 2770, 1, 0, 0, 0, 2520, 2521, 5, 27, 0, 0, 2521, 2530, 5, 8, 0, 0, 2522, 2527, 3, 136, 68, 0, 2523, 2524, 5, 3, 0, 0, 2524, 2526, 3, 136, 68, 0, 2525, 2523, 1, 0, 0, 0, 2526, 2529, 1, 0, 0, 0, 2527, 2525, 1, 0, 0, 0, 2527, 2528, 1, 0, 0, 0, 2528, 2531, 1, 0, 0, 0, 2529, 2527, 1, 0, 0, 0, 2530, 2522, 1, 0, 0, 0, 2530, 2531, 1, 0, 0, 0, 2531, 2532, 1, 0, 0, 0, 2532, 2770, 5, 9, 0, 0, 2533, 2770, 3, 292, 146, 0, 2534, 2770, 5, 58, 0, 0, 2535, 2539, 5, 62, 0, 0, 2536, 2537, 5, 1, 0, 0, 2537, 2538, 5, 329, 0, 0, 2538, 2540, 5, 2, 0, 0, 2539, 2536, 1, 0, 0, 0, 2539, 2540, 1, 0, 0, 0, 2540, 2770, 1, 0, 0, 0, 2541, 2545, 5, 63, 0, 0, 2542, 2543, 5, 1, 0, 0, 2543, 2544, 5, 329, 0, 0, 2544, 2546, 5, 2, 0, 0, 2545, 2542, 1, 0, 0, 0, 2545, 2546, 1, 0, 0, 0, 2546, 2770, 1, 0, 0, 0, 2547, 2551, 5, 158, 0, 0, 2548, 2549, 5, 1, 0, 0, 2549, 2550, 5, 329, 0, 0, 2550, 2552, 5, 2, 0, 0, 2551, 2548, 1, 0, 0, 0, 2551, 2552, 1, 0, 0, 0, 2552, 2770, 1, 0, 0, 0, 2553, 2557, 5, 159, 0, 0, 2554, 2555, 5, 1, 0, 0, 2555, 2556, 5, 329, 0, 0, 2556, 2558, 5, 2, 0, 0, 2557, 2554, 1, 0, 0, 0, 2557, 2558, 1, 0, 0, 0, 2558, 2770, 1, 0, 0, 0, 2559, 2770, 5, 64, 0, 0, 2560, 2770, 5, 57, 0, 0, 2561, 2770, 5, 61, 0, 0, 2562, 2770, 5, 59, 0, 0, 2563, 2564, 5, 272, 0, 0, 2564, 2572, 5, 1, 0, 0, 2565, 2567, 3, 82, 41, 0, 2566, 2565, 1, 0, 0, 0, 2566, 2567, 1, 0, 0, 0, 2567, 2569, 1, 0, 0, 0, 2568, 2570, 3, 142, 71, 0, 2569, 2568, 1, 0, 0, 0, 2569, 2570, 1, 0, 0, 0, 2570, 2571, 1, 0, 0, 0, 2571, 2573, 5, 105, 0, 0, 2572, 2566, 1, 0, 0, 0, 2572, 2573, 1, 0, 0, 0, 2573, 2574, 1, 0, 0, 0, 2574, 2575, 3, 142, 71, 0, 2575, 2576, 5, 2, 0, 0, 2576, 2770, 1, 0, 0, 0, 2577, 2578, 5, 272, 0, 0, 2578, 2579, 5, 1, 0, 0, 2579, 2580, 3, 142, 71, 0, 2580, 2581, 5, 3, 0, 0, 2581, 2582, 3, 142, 71, 0, 2582, 2583, 5, 2, 0, 0, 2583, 2770, 1, 0, 0, 0, 2584, 2585, 5, 258, 0, 0, 2585, 2586, 5, 1, 0, 0, 2586, 2587, 3, 142, 71, 0, 2587, 2588, 5, 105, 0, 0, 2588, 2591, 3, 142, 71, 0, 2589, 2590, 5, 103, 0, 0, 2590, 2592, 3, 142, 71, 0, 2591, 2589, 1, 0, 0, 0, 2591, 2592, 1, 0, 0, 0, 2592, 2593, 1, 0, 0, 0, 2593, 2594, 5, 2, 0, 0, 2594, 2770, 1, 0, 0, 0, 2595, 2596, 5, 181, 0, 0, 2596, 2597, 5, 1, 0, 0, 2597, 2600, 3, 142, 71, 0, 2598, 2599, 5, 3, 0, 0, 2599, 2601, 3, 182, 91, 0, 2600, 2598, 1, 0, 0, 0, 2600, 2601, 1, 0, 0, 0, 2601, 2602, 1, 0, 0, 0, 2602, 2603, 5, 2, 0, 0, 2603, 2770, 1, 0, 0, 0, 2604, 2605, 5, 96, 0, 0, 2605, 2606, 5, 1, 0, 0, 2606, 2607, 3, 292, 146, 0, 2607, 2608, 5, 105, 0, 0, 2608, 2609, 3, 142, 71, 0, 2609, 2610, 5, 2, 0, 0, 2610, 2770, 1, 0, 0, 0, 2611, 2612, 5, 1, 0, 0, 2612, 2613, 3, 136, 68, 0, 2613, 2614, 5, 2, 0, 0, 2614, 2770, 1, 0, 0, 0, 2615, 2616, 5, 115, 0, 0, 2616, 2625, 5, 1, 0, 0, 2617, 2622, 3, 278, 139, 0, 2618, 2619, 5, 3, 0, 0, 2619, 2621, 3, 278, 139, 0, 2620, 2618, 1, 0, 0, 0, 2621, 2624, 1, 0, 0, 0, 2622, 2620, 1, 0, 0, 0, 2622, 2623, 1, 0, 0, 0, 2623, 2626, 1, 0, 0, 0, 2624, 2622, 1, 0, 0, 0, 2625, 2617, 1, 0, 0, 0, 2625, 2626, 1, 0, 0, 0, 2626, 2627, 1, 0, 0, 0, 2627, 2770, 5, 2, 0, 0, 2628, 2629, 5, 139, 0, 0, 2629, 2630, 5, 1, 0, 0, 2630, 2635, 3, 146, 73, 0, 2631, 2632, 3, 154, 77, 0, 2632, 2633, 5, 190, 0, 0, 2633, 2634, 5, 89, 0, 0, 2634, 2636, 1, 0, 0, 0, 2635, 2631, 1, 0, 0, 0, 2635, 2636, 1, 0, 0, 0, 2636, 2637, 1, 0, 0, 0, 2637, 2638, 5, 2, 0, 0, 2638, 2770, 1, 0, 0, 0, 2639, 2640, 5, 143, 0, 0, 2640, 2641, 5, 1, 0, 0, 2641, 2644, 3, 146, 73, 0, 2642, 2643, 5, 231, 0, 0, 2643, 2645, 3, 184, 92, 0, 2644, 2642, 1, 0, 0, 0, 2644, 2645, 1, 0, 0, 0, 2645, 2650, 1, 0, 0, 0, 2646, 2647, 3, 156, 78, 0, 2647, 2648, 5, 190, 0, 0, 2648, 2649, 5, 85, 0, 0, 2649, 2651, 1, 0, 0, 0, 2650, 2646, 1, 0, 0, 0, 2650, 2651, 1, 0, 0, 0, 2651, 2656, 1, 0, 0, 0, 2652, 2653, 3, 156, 78, 0, 2653, 2654, 5, 190, 0, 0, 2654, 2655, 5, 89, 0, 0, 2655, 2657, 1, 0, 0, 0, 2656, 2652, 1, 0, 0, 0, 2656, 2657, 1, 0, 0, 0, 2657, 2658, 1, 0, 0, 0, 2658, 2659, 5, 2, 0, 0, 2659, 2770, 1, 0, 0, 0, 2660, 2661, 5, 141, 0, 0, 2661, 2662, 5, 1, 0, 0, 2662, 2669, 3, 146, 73, 0, 2663, 2664, 5, 231, 0, 0, 2664, 2667, 3, 184, 92, 0, 2665, 2666, 5, 104, 0, 0, 2666, 2668, 3, 150, 75, 0, 2667, 2665, 1, 0, 0, 0, 2667, 2668, 1, 0, 0, 0, 2668, 2670, 1, 0, 0, 0, 2669, 2663, 1, 0, 0, 0, 2669, 2670, 1, 0, 0, 0, 2670, 2674, 1, 0, 0, 0, 2671, 2672, 3, 158, 79, 0, 2672, 2673, 5, 308, 0, 0, 2673, 2675, 1, 0, 0, 0, 2674, 2671, 1, 0, 0, 0, 2674, 2675, 1, 0, 0, 0, 2675, 2683, 1, 0, 0, 0, 2676, 2677, 7, 15, 0, 0, 2677, 2681, 5, 218, 0, 0, 2678, 2679, 5, 190, 0, 0, 2679, 2680, 5, 242, 0, 0, 2680, 2682, 5, 264, 0, 0, 2681, 2678, 1, 0, 0, 0, 2681, 2682, 1, 0, 0, 0, 2682, 2684, 1, 0, 0, 0, 2683, 2676, 1, 0, 0, 0, 2683, 2684, 1, 0, 0, 0, 2684, 2689, 1, 0, 0, 0, 2685, 2686, 3, 160, 80, 0, 2686, 2687, 5, 190, 0, 0, 2687, 2688, 5, 85, 0, 0, 2688, 2690, 1, 0, 0, 0, 2689, 2685, 1, 0, 0, 0, 2689, 2690, 1, 0, 0, 0, 2690, 2695, 1, 0, 0, 0, 2691, 2692, 3, 160, 80, 0, 2692, 2693, 5, 190, 0, 0, 2693, 2694, 5, 89, 0, 0, 2694, 2696, 1, 0, 0, 0, 2695, 2691, 1, 0, 0, 0, 2695, 2696, 1, 0, 0, 0, 2696, 2697, 1, 0, 0, 0, 2697, 2698, 5, 2, 0, 0, 2698, 2770, 1, 0, 0, 0, 2699, 2700, 5, 140, 0, 0, 2700, 2729, 5, 1, 0, 0, 2701, 2706, 3, 162, 81, 0, 2702, 2703, 5, 3, 0, 0, 2703, 2705, 3, 162, 81, 0, 2704, 2702, 1, 0, 0, 0, 2705, 2708, 1, 0, 0, 0, 2706, 2704, 1, 0, 0, 0, 2706, 2707, 1, 0, 0, 0, 2707, 2715, 1, 0, 0, 0, 2708, 2706, 1, 0, 0, 0, 2709, 2710, 5, 183, 0, 0, 2710, 2711, 5, 190, 0, 0, 2711, 2716, 5, 183, 0, 0, 2712, 2713, 5, 18, 0, 0, 2713, 2714, 5, 190, 0, 0, 2714, 2716, 5, 183, 0, 0, 2715, 2709, 1, 0, 0, 0, 2715, 2712, 1, 0, 0, 0, 2715, 2716, 1, 0, 0, 0, 2716, 2727, 1, 0, 0, 0, 2717, 2718, 5, 304, 0, 0, 2718, 2720, 5, 282, 0, 0, 2719, 2721, 5, 146, 0, 0, 2720, 2719, 1, 0, 0, 0, 2720, 2721, 1, 0, 0, 0, 2721, 2728, 1, 0, 0, 0, 2722, 2723, 5, 306, 0, 0, 2723, 2725, 5, 282, 0, 0, 2724, 2726, 5, 146, 0, 0, 2725, 2724, 1, 0, 0, 0, 2725, 2726, 1, 0, 0, 0, 2726, 2728, 1, 0, 0, 0, 2727, 2717, 1, 0, 0, 0, 2727, 2722, 1, 0, 0, 0, 2727, 2728, 1, 0, 0, 0, 2728, 2730, 1, 0, 0, 0, 2729, 2701, 1, 0, 0, 0, 2729, 2730, 1, 0, 0, 0, 2730, 2737, 1, 0, 0, 0, 2731, 2732, 5, 231, 0, 0, 2732, 2735, 3, 184, 92, 0, 2733, 2734, 5, 104, 0, 0, 2734, 2736, 3, 150, 75, 0, 2735, 2733, 1, 0, 0, 0, 2735, 2736, 1, 0, 0, 0, 2736, 2738, 1, 0, 0, 0, 2737, 2731, 1, 0, 0, 0, 2737, 2738, 1, 0, 0, 0, 2738, 2739, 1, 0, 0, 0, 2739, 2770, 5, 2, 0, 0, 2740, 2741, 5, 138, 0, 0, 2741, 2758, 5, 1, 0, 0, 2742, 2747, 3, 148, 74, 0, 2743, 2744, 5, 3, 0, 0, 2744, 2746, 3, 148, 74, 0, 2745, 2743, 1, 0, 0, 0, 2746, 2749, 1, 0, 0, 0, 2747, 2745, 1, 0, 0, 0, 2747, 2748, 1, 0, 0, 0, 2748, 2756, 1, 0, 0, 0, 2749, 2747, 1, 0, 0, 0, 2750, 2751, 5, 183, 0, 0, 2751, 2752, 5, 190, 0, 0, 2752, 2757, 5, 183, 0, 0, 2753, 2754, 5, 18, 0, 0, 2754, 2755, 5, 190, 0, 0, 2755, 2757, 5, 183, 0, 0, 2756, 2750, 1, 0, 0, 0, 2756, 2753, 1, 0, 0, 0, 2756, 2757, 1, 0, 0, 0, 2757, 2759, 1, 0, 0, 0, 2758, 2742, 1, 0, 0, 0, 2758, 2759, 1, 0, 0, 0, 2759, 2766, 1, 0, 0, 0, 2760, 2761, 5, 231, 0, 0, 2761, 2764, 3, 184, 92, 0, 2762, 2763, 5, 104, 0, 0, 2763, 2765, 3, 150, 75, 0, 2764, 2762, 1, 0, 0, 0, 2764, 2765, 1, 0, 0, 0, 2765, 2767, 1, 0, 0, 0, 2766, 2760, 1, 0, 0, 0, 2766, 2767, 1, 0, 0, 0, 2767, 2768, 1, 0, 0, 0, 2768, 2770, 5, 2, 0, 0, 2769, 2316, 1, 0, 0, 0, 2769, 2318, 1, 0, 0, 0, 2769, 2319, 1, 0, 0, 0, 2769, 2322, 1, 0, 0, 0, 2769, 2325, 1, 0, 0, 0, 2769, 2326, 1, 0, 0, 0, 2769, 2327, 1, 0, 0, 0, 2769, 2328, 1, 0, 0, 0, 2769, 2329, 1, 0, 0, 0, 2769, 2330, 1, 0, 0, 0, 2769, 2337, 1, 0, 0, 0, 2769, 2347, 1, 0, 0, 0, 2769, 2359, 1, 0, 0, 0, 2769, 2394, 1, 0, 0, 0, 2769, 2412, 1, 0, 0, 0, 2769, 2451, 1, 0, 0, 0, 2769, 2454, 1, 0, 0, 0, 2769, 2458, 1, 0, 0, 0, 2769, 2472, 1, 0, 0, 0, 2769, 2476, 1, 0, 0, 0, 2769, 2481, 1, 0, 0, 0, 2769, 2494, 1, 0, 0, 0, 2769, 2506, 1, 0, 0, 0, 2769, 2513, 1, 0, 0, 0, 2769, 2520, 1, 0, 0, 0, 2769, 2533, 1, 0, 0, 0, 2769, 2534, 1, 0, 0, 0, 2769, 2535, 1, 0, 0, 0, 2769, 2541, 1, 0, 0, 0, 2769, 2547, 1, 0, 0, 0, 2769, 2553, 1, 0, 0, 0, 2769, 2559, 1, 0, 0, 0, 2769, 2560, 1, 0, 0, 0, 2769, 2561, 1, 0, 0, 0, 2769, 2562, 1, 0, 0, 0, 2769, 2563, 1, 0, 0, 0, 2769, 2577, 1, 0, 0, 0, 2769, 2584, 1, 0, 0, 0, 2769, 2595, 1, 0, 0, 0, 2769, 2604, 1, 0, 0, 0, 2769, 2611, 1, 0, 0, 0, 2769, 2615, 1, 0, 0, 0, 2769, 2628, 1, 0, 0, 0, 2769, 2639, 1, 0, 0, 0, 2769, 2660, 1, 0, 0, 0, 2769, 2699, 1, 0, 0, 0, 2769, 2740, 1, 0, 0, 0, 2770, 2781, 1, 0, 0, 0, 2771, 2772, 10, 24, 0, 0, 2772, 2773, 5, 8, 0, 0, 2773, 2774, 3, 142, 71, 0, 2774, 2775, 5, 9, 0, 0, 2775, 2780, 1, 0, 0, 0, 2776, 2777, 10, 22, 0, 0, 2777, 2778, 5, 4, 0, 0, 2778, 2780, 3, 292, 146, 0, 2779, 2771, 1, 0, 0, 0, 2779, 2776, 1, 0, 0, 0, 2780, 2783, 1, 0, 0, 0, 2781, 2779, 1, 0, 0, 0, 2781, 2782, 1, 0, 0, 0, 2782, 145, 1, 0, 0, 0, 2783, 2781, 1, 0, 0, 0, 2784, 2785, 3, 148, 74, 0, 2785, 2786, 5, 3, 0, 0, 2786, 2789, 3, 168, 84, 0, 2787, 2788, 5, 28, 0, 0, 2788, 2790, 3, 292, 146, 0, 2789, 2787, 1, 0, 0, 0, 2789, 2790, 1, 0, 0, 0, 2790, 2800, 1, 0, 0, 0, 2791, 2792, 5, 203, 0, 0, 2792, 2797, 3, 152, 76, 0, 2793, 2794, 5, 3, 0, 0, 2794, 2796, 3, 152, 76, 0, 2795, 2793, 1, 0, 0, 0, 2796, 2799, 1, 0, 0, 0, 2797, 2795, 1, 0, 0, 0, 2797, 2798, 1, 0, 0, 0, 2798, 2801, 1, 0, 0, 0, 2799, 2797, 1, 0, 0, 0, 2800, 2791, 1, 0, 0, 0, 2800, 2801, 1, 0, 0, 0, 2801, 147, 1, 0, 0, 0, 2802, 2805, 3, 136, 68, 0, 2803, 2804, 5, 104, 0, 0, 2804, 2806, 3, 150, 75, 0, 2805, 2803, 1, 0, 0, 0, 2805, 2806, 1, 0, 0, 0, 2806, 149, 1, 0, 0, 0, 2807, 2810, 5, 137, 0, 0, 2808, 2809, 5, 87, 0, 0, 2809, 2811, 7, 20, 0, 0, 2810, 2808, 1, 0, 0, 0, 2810, 2811, 1, 0, 0, 0, 2811, 151, 1, 0, 0, 0, 2812, 2813, 3, 148, 74, 0, 2813, 2814, 5, 28, 0, 0, 2814, 2815, 3, 292, 146, 0, 2815, 153, 1, 0, 0, 0, 2816, 2817, 7, 21, 0, 0, 2817, 155, 1, 0, 0, 0, 2818, 2823, 5, 89, 0, 0, 2819, 2823, 5, 183, 0, 0, 2820, 2821, 5, 70, 0, 0, 2821, 2823, 3, 136, 68, 0, 2822, 2818, 1, 0, 0, 0, 2822, 2819, 1, 0, 0, 0, 2822, 2820, 1, 0, 0, 0, 2823, 157, 1, 0, 0, 0, 2824, 2826, 5, 306, 0, 0, 2825, 2827, 5, 27, 0, 0, 2826, 2825, 1, 0, 0, 0, 2826, 2827, 1, 0, 0, 0, 2827, 2836, 1, 0, 0, 0, 2828, 2830, 5, 304, 0, 0, 2829, 2831, 7, 22, 0, 0, 2830, 2829, 1, 0, 0, 0, 2830, 2831, 1, 0, 0, 0, 2831, 2833, 1, 0, 0, 0, 2832, 2834, 5, 27, 0, 0, 2833, 2832, 1, 0, 0, 0, 2833, 2834, 1, 0, 0, 0, 2834, 2836, 1, 0, 0, 0, 2835, 2824, 1, 0, 0, 0, 2835, 2828, 1, 0, 0, 0, 2836, 159, 1, 0, 0, 0, 2837, 2844, 5, 89, 0, 0, 2838, 2844, 5, 183, 0, 0, 2839, 2840, 5, 85, 0, 0, 2840, 2844, 5, 27, 0, 0, 2841, 2842, 5, 85, 0, 0, 2842, 2844, 5, 186, 0, 0, 2843, 2837, 1, 0, 0, 0, 2843, 2838, 1, 0, 0, 0, 2843, 2839, 1, 0, 0, 0, 2843, 2841, 1, 0, 0, 0, 2844, 161, 1, 0, 0, 0, 2845, 2847, 5, 145, 0, 0, 2846, 2845, 1, 0, 0, 0, 2846, 2847, 1, 0, 0, 0, 2847, 2848, 1, 0, 0, 0, 2848, 2849, 3, 136, 68, 0, 2849, 2850, 5, 295, 0, 0, 2850, 2851, 3, 148, 74, 0, 2851, 2857, 1, 0, 0, 0, 2852, 2853, 3, 136, 68, 0, 2853, 2854, 5, 10, 0, 0, 2854, 2855, 3, 148, 74, 0, 2855, 2857, 1, 0, 0, 0, 2856, 2846, 1, 0, 0, 0, 2856, 2852, 1, 0, 0, 0, 2857, 163, 1, 0, 0, 0, 2858, 2859, 7, 23, 0, 0, 2859, 165, 1, 0, 0, 0, 2860, 2861, 5, 120, 0, 0, 2861, 2865, 5, 185, 0, 0, 2862, 2863, 5, 228, 0, 0, 2863, 2865, 5, 185, 0, 0, 2864, 2860, 1, 0, 0, 0, 2864, 2862, 1, 0, 0, 0, 2865, 167, 1, 0, 0, 0, 2866, 2873, 5, 326, 0, 0, 2867, 2870, 5, 327, 0, 0, 2868, 2869, 5, 277, 0, 0, 2869, 2871, 5, 326, 0, 0, 2870, 2868, 1, 0, 0, 0, 2870, 2871, 1, 0, 0, 0, 2871, 2873, 1, 0, 0, 0, 2872, 2866, 1, 0, 0, 0, 2872, 2867, 1, 0, 0, 0, 2873, 169, 1, 0, 0, 0, 2874, 2875, 5, 267, 0, 0, 2875, 2876, 5, 311, 0, 0, 2876, 2881, 3, 178, 89, 0, 2877, 2878, 5, 267, 0, 0, 2878, 2879, 5, 311, 0, 0, 2879, 2881, 3, 168, 84, 0, 2880, 2874, 1, 0, 0, 0, 2880, 2877, 1, 0, 0, 0, 2881, 171, 1, 0, 0, 0, 2882, 2883, 7, 24, 0, 0, 2883, 173, 1, 0, 0, 0, 2884, 2885, 7, 25, 0, 0, 2885, 175, 1, 0, 0, 0, 2886, 2887, 7, 26, 0, 0, 2887, 177, 1, 0, 0, 0, 2888, 2890, 5, 129, 0, 0, 2889, 2891, 7, 18, 0, 0, 2890, 2889, 1, 0, 0, 0, 2890, 2891, 1, 0, 0, 0, 2891, 2892, 1, 0, 0, 0, 2892, 2893, 3, 168, 84, 0, 2893, 2896, 3, 180, 90, 0, 2894, 2895, 5, 269, 0, 0, 2895, 2897, 3, 180, 90, 0, 2896, 2894, 1, 0, 0, 0, 2896, 2897, 1, 0, 0, 0, 2897, 179, 1, 0, 0, 0, 2898, 2899, 7, 27, 0, 0, 2899, 181, 1, 0, 0, 0, 2900, 2901, 7, 28, 0, 0, 2901, 183, 1, 0, 0, 0, 2902, 2903, 6, 92, -1, 0, 2903, 2904, 5, 239, 0, 0, 2904, 2905, 5, 1, 0, 0, 2905, 2910, 3, 186, 93, 0, 2906, 2907, 5, 3, 0, 0, 2907, 2909, 3, 186, 93, 0, 2908, 2906, 1, 0, 0, 0, 2909, 2912, 1, 0, 0, 0, 2910, 2908, 1, 0, 0, 0, 2910, 2911, 1, 0, 0, 0, 2911, 2913, 1, 0, 0, 0, 2912, 2910, 1, 0, 0, 0, 2913, 2914, 5, 2, 0, 0, 2914, 2994, 1, 0, 0, 0, 2915, 2916, 5, 129, 0, 0, 2916, 2919, 3, 180, 90, 0, 2917, 2918, 5, 269, 0, 0, 2918, 2920, 3, 180, 90, 0, 2919, 2917, 1, 0, 0, 0, 2919, 2920, 1, 0, 0, 0, 2920, 2994, 1, 0, 0, 0, 2921, 2926, 5, 268, 0, 0, 2922, 2923, 5, 1, 0, 0, 2923, 2924, 3, 188, 94, 0, 2924, 2925, 5, 2, 0, 0, 2925, 2927, 1, 0, 0, 0, 2926, 2922, 1, 0, 0, 0, 2926, 2927, 1, 0, 0, 0, 2927, 2931, 1, 0, 0, 0, 2928, 2929, 5, 306, 0, 0, 2929, 2930, 5, 267, 0, 0, 2930, 2932, 5, 311, 0, 0, 2931, 2928, 1, 0, 0, 0, 2931, 2932, 1, 0, 0, 0, 2932, 2994, 1, 0, 0, 0, 2933, 2938, 5, 268, 0, 0, 2934, 2935, 5, 1, 0, 0, 2935, 2936, 3, 188, 94, 0, 2936, 2937, 5, 2, 0, 0, 2937, 2939, 1, 0, 0, 0, 2938, 2934, 1, 0, 0, 0, 2938, 2939, 1, 0, 0, 0, 2939, 2940, 1, 0, 0, 0, 2940, 2941, 5, 304, 0, 0, 2941, 2942, 5, 267, 0, 0, 2942, 2994, 5, 311, 0, 0, 2943, 2948, 5, 267, 0, 0, 2944, 2945, 5, 1, 0, 0, 2945, 2946, 3, 188, 94, 0, 2946, 2947, 5, 2, 0, 0, 2947, 2949, 1, 0, 0, 0, 2948, 2944, 1, 0, 0, 0, 2948, 2949, 1, 0, 0, 0, 2949, 2953, 1, 0, 0, 0, 2950, 2951, 5, 306, 0, 0, 2951, 2952, 5, 267, 0, 0, 2952, 2954, 5, 311, 0, 0, 2953, 2950, 1, 0, 0, 0, 2953, 2954, 1, 0, 0, 0, 2954, 2994, 1, 0, 0, 0, 2955, 2960, 5, 267, 0, 0, 2956, 2957, 5, 1, 0, 0, 2957, 2958, 3, 188, 94, 0, 2958, 2959, 5, 2, 0, 0, 2959, 2961, 1, 0, 0, 0, 2960, 2956, 1, 0, 0, 0, 2960, 2961, 1, 0, 0, 0, 2961, 2962, 1, 0, 0, 0, 2962, 2963, 5, 304, 0, 0, 2963, 2964, 5, 267, 0, 0, 2964, 2994, 5, 311, 0, 0, 2965, 2966, 5, 82, 0, 0, 2966, 2994, 5, 213, 0, 0, 2967, 2968, 5, 27, 0, 0, 2968, 2969, 5, 314, 0, 0, 2969, 2970, 3, 184, 92, 0, 2970, 2971, 5, 316, 0, 0, 2971, 2994, 1, 0, 0, 0, 2972, 2973, 5, 162, 0, 0, 2973, 2974, 5, 314, 0, 0, 2974, 2975, 3, 184, 92, 0, 2975, 2976, 5, 3, 0, 0, 2976, 2977, 3, 184, 92, 0, 2977, 2978, 5, 316, 0, 0, 2978, 2994, 1, 0, 0, 0, 2979, 2991, 3, 292, 146, 0, 2980, 2981, 5, 1, 0, 0, 2981, 2986, 3, 188, 94, 0, 2982, 2983, 5, 3, 0, 0, 2983, 2985, 3, 188, 94, 0, 2984, 2982, 1, 0, 0, 0, 2985, 2988, 1, 0, 0, 0, 2986, 2984, 1, 0, 0, 0, 2986, 2987, 1, 0, 0, 0, 2987, 2989, 1, 0, 0, 0, 2988, 2986, 1, 0, 0, 0, 2989, 2990, 5, 2, 0, 0, 2990, 2992, 1, 0, 0, 0, 2991, 2980, 1, 0, 0, 0, 2991, 2992, 1, 0, 0, 0, 2992, 2994, 1, 0, 0, 0, 2993, 2902, 1, 0, 0, 0, 2993, 2915, 1, 0, 0, 0, 2993, 2921, 1, 0, 0, 0, 2993, 2933, 1, 0, 0, 0, 2993, 2943, 1, 0, 0, 0, 2993, 2955, 1, 0, 0, 0, 2993, 2965, 1, 0, 0, 0, 2993, 2967, 1, 0, 0, 0, 2993, 2972, 1, 0, 0, 0, 2993, 2979, 1, 0, 0, 0, 2994, 3004, 1, 0, 0, 0, 2995, 2996, 10, 2, 0, 0, 2996, 3000, 5, 27, 0, 0, 2997, 2998, 5, 8, 0, 0, 2998, 2999, 5, 329, 0, 0, 2999, 3001, 5, 9, 0, 0, 3000, 2997, 1, 0, 0, 0, 3000, 3001, 1, 0, 0, 0, 3001, 3003, 1, 0, 0, 0, 3002, 2995, 1, 0, 0, 0, 3003, 3006, 1, 0, 0, 0, 3004, 3002, 1, 0, 0, 0, 3004, 3005, 1, 0, 0, 0, 3005, 185, 1, 0, 0, 0, 3006, 3004, 1, 0, 0, 0, 3007, 3012, 3, 184, 92, 0, 3008, 3009, 3, 292, 146, 0, 3009, 3010, 3, 184, 92, 0, 3010, 3012, 1, 0, 0, 0, 3011, 3007, 1, 0, 0, 0, 3011, 3008, 1, 0, 0, 0, 3012, 187, 1, 0, 0, 0, 3013, 3016, 5, 329, 0, 0, 3014, 3016, 3, 184, 92, 0, 3015, 3013, 1, 0, 0, 0, 3015, 3014, 1, 0, 0, 0, 3016, 189, 1, 0, 0, 0, 3017, 3018, 5, 300, 0, 0, 3018, 3019, 3, 136, 68, 0, 3019, 3020, 5, 265, 0, 0, 3020, 3021, 3, 136, 68, 0, 3021, 191, 1, 0, 0, 0, 3022, 3023, 5, 99, 0, 0, 3023, 3024, 5, 1, 0, 0, 3024, 3025, 5, 301, 0, 0, 3025, 3026, 3, 138, 69, 0, 3026, 3027, 5, 2, 0, 0, 3027, 193, 1, 0, 0, 0, 3028, 3029, 5, 300, 0, 0, 3029, 3032, 5, 164, 0, 0, 3030, 3031, 5, 25, 0, 0, 3031, 3033, 3, 136, 68, 0, 3032, 3030, 1, 0, 0, 0, 3032, 3033, 1, 0, 0, 0, 3033, 3034, 1, 0, 0, 0, 3034, 3035, 5, 265, 0, 0, 3035, 3036, 5, 287, 0, 0, 3036, 3037, 5, 251, 0, 0, 3037, 3038, 3, 292, 146, 0, 3038, 3039, 5, 312, 0, 0, 3039, 3047, 3, 136, 68, 0, 3040, 3041, 5, 3, 0, 0, 3041, 3042, 3, 292, 146, 0, 3042, 3043, 5, 312, 0, 0, 3043, 3044, 3, 136, 68, 0, 3044, 3046, 1, 0, 0, 0, 3045, 3040, 1, 0, 0, 0, 3046, 3049, 1, 0, 0, 0, 3047, 3045, 1, 0, 0, 0, 3047, 3048, 1, 0, 0, 0, 3048, 3093, 1, 0, 0, 0, 3049, 3047, 1, 0, 0, 0, 3050, 3051, 5, 300, 0, 0, 3051, 3054, 5, 164, 0, 0, 3052, 3053, 5, 25, 0, 0, 3053, 3055, 3, 136, 68, 0, 3054, 3052, 1, 0, 0, 0, 3054, 3055, 1, 0, 0, 0, 3055, 3056, 1, 0, 0, 0, 3056, 3057, 5, 265, 0, 0, 3057, 3093, 5, 73, 0, 0, 3058, 3059, 5, 300, 0, 0, 3059, 3060, 5, 182, 0, 0, 3060, 3063, 5, 164, 0, 0, 3061, 3062, 5, 25, 0, 0, 3062, 3064, 3, 136, 68, 0, 3063, 3061, 1, 0, 0, 0, 3063, 3064, 1, 0, 0, 0, 3064, 3065, 1, 0, 0, 0, 3065, 3066, 5, 265, 0, 0, 3066, 3078, 5, 127, 0, 0, 3067, 3068, 5, 1, 0, 0, 3068, 3073, 3, 292, 146, 0, 3069, 3070, 5, 3, 0, 0, 3070, 3072, 3, 292, 146, 0, 3071, 3069, 1, 0, 0, 0, 3072, 3075, 1, 0, 0, 0, 3073, 3071, 1, 0, 0, 0, 3073, 3074, 1, 0, 0, 0, 3074, 3076, 1, 0, 0, 0, 3075, 3073, 1, 0, 0, 0, 3076, 3077, 5, 2, 0, 0, 3077, 3079, 1, 0, 0, 0, 3078, 3067, 1, 0, 0, 0, 3078, 3079, 1, 0, 0, 0, 3079, 3080, 1, 0, 0, 0, 3080, 3081, 5, 296, 0, 0, 3081, 3082, 5, 1, 0, 0, 3082, 3087, 3, 136, 68, 0, 3083, 3084, 5, 3, 0, 0, 3084, 3086, 3, 136, 68, 0, 3085, 3083, 1, 0, 0, 0, 3086, 3089, 1, 0, 0, 0, 3087, 3085, 1, 0, 0, 0, 3087, 3088, 1, 0, 0, 0, 3088, 3090, 1, 0, 0, 0, 3089, 3087, 1, 0, 0, 0, 3090, 3091, 5, 2, 0, 0, 3091, 3093, 1, 0, 0, 0, 3092, 3028, 1, 0, 0, 0, 3092, 3050, 1, 0, 0, 0, 3092, 3058, 1, 0, 0, 0, 3093, 195, 1, 0, 0, 0, 3094, 3100, 5, 199, 0, 0, 3095, 3101, 3, 292, 146, 0, 3096, 3097, 5, 1, 0, 0, 3097, 3098, 3, 64, 32, 0, 3098, 3099, 5, 2, 0, 0, 3099, 3101, 1, 0, 0, 0, 3100, 3095, 1, 0, 0, 0, 3100, 3096, 1, 0, 0, 0, 3101, 197, 1, 0, 0, 0, 3102, 3103, 5, 168, 0, 0, 3103, 3108, 3, 90, 45, 0, 3104, 3105, 5, 3, 0, 0, 3105, 3107, 3, 90, 45, 0, 3106, 3104, 1, 0, 0, 0, 3107, 3110, 1, 0, 0, 0, 3108, 3106, 1, 0, 0, 0, 3108, 3109, 1, 0, 0, 0, 3109, 3112, 1, 0, 0, 0, 3110, 3108, 1, 0, 0, 0, 3111, 3102, 1, 0, 0, 0, 3111, 3112, 1, 0, 0, 0, 3112, 3113, 1, 0, 0, 0, 3113, 3117, 3, 200, 100, 0, 3114, 3115, 5, 21, 0, 0, 3115, 3116, 5, 163, 0, 0, 3116, 3118, 3, 96, 48, 0, 3117, 3114, 1, 0, 0, 0, 3117, 3118, 1, 0, 0, 0, 3118, 3120, 1, 0, 0, 0, 3119, 3121, 7, 13, 0, 0, 3120, 3119, 1, 0, 0, 0, 3120, 3121, 1, 0, 0, 0, 3121, 3127, 1, 0, 0, 0, 3122, 3123, 5, 206, 0, 0, 3123, 3124, 5, 1, 0, 0, 3124, 3125, 3, 204, 102, 0, 3125, 3126, 5, 2, 0, 0, 3126, 3128, 1, 0, 0, 0, 3127, 3122, 1, 0, 0, 0, 3127, 3128, 1, 0, 0, 0, 3128, 3138, 1, 0, 0, 0, 3129, 3130, 5, 257, 0, 0, 3130, 3135, 3, 98, 49, 0, 3131, 3132, 5, 3, 0, 0, 3132, 3134, 3, 98, 49, 0, 3133, 3131, 1, 0, 0, 0, 3134, 3137, 1, 0, 0, 0, 3135, 3133, 1, 0, 0, 0, 3135, 3136, 1, 0, 0, 0, 3136, 3139, 1, 0, 0, 0, 3137, 3135, 1, 0, 0, 0, 3138, 3129, 1, 0, 0, 0, 3138, 3139, 1, 0, 0, 0, 3139, 3149, 1, 0, 0, 0, 3140, 3141, 5, 71, 0, 0, 3141, 3146, 3, 100, 50, 0, 3142, 3143, 5, 3, 0, 0, 3143, 3145, 3, 100, 50, 0, 3144, 3142, 1, 0, 0, 0, 3145, 3148, 1, 0, 0, 0, 3146, 3144, 1, 0, 0, 0, 3146, 3147, 1, 0, 0, 0, 3147, 3150, 1, 0, 0, 0, 3148, 3146, 1, 0, 0, 0, 3149, 3140, 1, 0, 0, 0, 3149, 3150, 1, 0, 0, 0, 3150, 199, 1, 0, 0, 0, 3151, 3152, 5, 219, 0, 0, 3152, 3176, 3, 202, 101, 0, 3153, 3154, 5, 240, 0, 0, 3154, 3176, 3, 202, 101, 0, 3155, 3156, 5, 116, 0, 0, 3156, 3176, 3, 202, 101, 0, 3157, 3158, 5, 219, 0, 0, 3158, 3159, 5, 34, 0, 0, 3159, 3160, 3, 202, 101, 0, 3160, 3161, 5, 25, 0, 0, 3161, 3162, 3, 202, 101, 0, 3162, 3176, 1, 0, 0, 0, 3163, 3164, 5, 240, 0, 0, 3164, 3165, 5, 34, 0, 0, 3165, 3166, 3, 202, 101, 0, 3166, 3167, 5, 25, 0, 0, 3167, 3168, 3, 202, 101, 0, 3168, 3176, 1, 0, 0, 0, 3169, 3170, 5, 116, 0, 0, 3170, 3171, 5, 34, 0, 0, 3171, 3172, 3, 202, 101, 0, 3172, 3173, 5, 25, 0, 0, 3173, 3174, 3, 202, 101, 0, 3174, 3176, 1, 0, 0, 0, 3175, 3151, 1, 0, 0, 0, 3175, 3153, 1, 0, 0, 0, 3175, 3155, 1, 0, 0, 0, 3175, 3157, 1, 0, 0, 0, 3175, 3163, 1, 0, 0, 0, 3175, 3169, 1, 0, 0, 0, 3176, 201, 1, 0, 0, 0, 3177, 3178, 5, 278, 0, 0, 3178, 3187, 5, 212, 0, 0, 3179, 3180, 5, 278, 0, 0, 3180, 3187, 5, 102, 0, 0, 3181, 3182, 5, 56, 0, 0, 3182, 3187, 5, 239, 0, 0, 3183, 3184, 3, 136, 68, 0, 3184, 3185, 7, 29, 0, 0, 3185, 3187, 1, 0, 0, 0, 3186, 3177, 1, 0, 0, 0, 3186, 3179, 1, 0, 0, 0, 3186, 3181, 1, 0, 0, 0, 3186, 3183, 1, 0, 0, 0, 3187, 203, 1, 0, 0, 0, 3188, 3189, 6, 102, -1, 0, 3189, 3191, 3, 206, 103, 0, 3190, 3192, 3, 208, 104, 0, 3191, 3190, 1, 0, 0, 0, 3191, 3192, 1, 0, 0, 0, 3192, 3200, 1, 0, 0, 0, 3193, 3194, 10, 2, 0, 0, 3194, 3199, 3, 204, 102, 3, 3195, 3196, 10, 1, 0, 0, 3196, 3197, 5, 11, 0, 0, 3197, 3199, 3, 204, 102, 2, 3198, 3193, 1, 0, 0, 0, 3198, 3195, 1, 0, 0, 0, 3199, 3202, 1, 0, 0, 0, 3200, 3198, 1, 0, 0, 0, 3200, 3201, 1, 0, 0, 0, 3201, 205, 1, 0, 0, 0, 3202, 3200, 1, 0, 0, 0, 3203, 3229, 3, 292, 146, 0, 3204, 3205, 5, 1, 0, 0, 3205, 3229, 5, 2, 0, 0, 3206, 3207, 5, 209, 0, 0, 3207, 3208, 5, 1, 0, 0, 3208, 3213, 3, 204, 102, 0, 3209, 3210, 5, 3, 0, 0, 3210, 3212, 3, 204, 102, 0, 3211, 3209, 1, 0, 0, 0, 3212, 3215, 1, 0, 0, 0, 3213, 3211, 1, 0, 0, 0, 3213, 3214, 1, 0, 0, 0, 3214, 3216, 1, 0, 0, 0, 3215, 3213, 1, 0, 0, 0, 3216, 3217, 5, 2, 0, 0, 3217, 3229, 1, 0, 0, 0, 3218, 3219, 5, 1, 0, 0, 3219, 3220, 3, 204, 102, 0, 3220, 3221, 5, 2, 0, 0, 3221, 3229, 1, 0, 0, 0, 3222, 3229, 5, 12, 0, 0, 3223, 3229, 5, 13, 0, 0, 3224, 3225, 5, 14, 0, 0, 3225, 3226, 3, 204, 102, 0, 3226, 3227, 5, 15, 0, 0, 3227, 3229, 1, 0, 0, 0, 3228, 3203, 1, 0, 0, 0, 3228, 3204, 1, 0, 0, 0, 3228, 3206, 1, 0, 0, 0, 3228, 3218, 1, 0, 0, 0, 3228, 3222, 1, 0, 0, 0, 3228, 3223, 1, 0, 0, 0, 3228, 3224, 1, 0, 0, 0, 3229, 207, 1, 0, 0, 0, 3230, 3232, 5, 320, 0, 0, 3231, 3233, 5, 324, 0, 0, 3232, 3231, 1, 0, 0, 0, 3232, 3233, 1, 0, 0, 0, 3233, 3261, 1, 0, 0, 0, 3234, 3236, 5, 318, 0, 0, 3235, 3237, 5, 324, 0, 0, 3236, 3235, 1, 0, 0, 0, 3236, 3237, 1, 0, 0, 0, 3237, 3261, 1, 0, 0, 0, 3238, 3240, 5, 324, 0, 0, 3239, 3241, 5, 324, 0, 0, 3240, 3239, 1, 0, 0, 0, 3240, 3241, 1, 0, 0, 0, 3241, 3261, 1, 0, 0, 0, 3242, 3243, 5, 16, 0, 0, 3243, 3244, 5, 329, 0, 0, 3244, 3246, 5, 17, 0, 0, 3245, 3247, 5, 324, 0, 0, 3246, 3245, 1, 0, 0, 0, 3246, 3247, 1, 0, 0, 0, 3247, 3261, 1, 0, 0, 0, 3248, 3250, 5, 16, 0, 0, 3249, 3251, 5, 329, 0, 0, 3250, 3249, 1, 0, 0, 0, 3250, 3251, 1, 0, 0, 0, 3251, 3252, 1, 0, 0, 0, 3252, 3254, 5, 3, 0, 0, 3253, 3255, 5, 329, 0, 0, 3254, 3253, 1, 0, 0, 0, 3254, 3255, 1, 0, 0, 0, 3255, 3256, 1, 0, 0, 0, 3256, 3258, 5, 17, 0, 0, 3257, 3259, 5, 324, 0, 0, 3258, 3257, 1, 0, 0, 0, 3258, 3259, 1, 0, 0, 0, 3259, 3261, 1, 0, 0, 0, 3260, 3230, 1, 0, 0, 0, 3260, 3234, 1, 0, 0, 0, 3260, 3238, 1, 0, 0, 0, 3260, 3242, 1, 0, 0, 0, 3260, 3248, 1, 0, 0, 0, 3261, 209, 1, 0, 0, 0, 3262, 3263, 3, 292, 146, 0, 3263, 3264, 5, 312, 0, 0, 3264, 3265, 3, 136, 68, 0, 3265, 211, 1, 0, 0, 0, 3266, 3267, 5, 104, 0, 0, 3267, 3271, 7, 30, 0, 0, 3268, 3269, 5, 276, 0, 0, 3269, 3271, 7, 31, 0, 0, 3270, 3266, 1, 0, 0, 0, 3270, 3268, 1, 0, 0, 0, 3271, 213, 1, 0, 0, 0, 3272, 3273, 5, 134, 0, 0, 3273, 3274, 5, 153, 0, 0, 3274, 3278, 3, 216, 108, 0, 3275, 3276, 5, 220, 0, 0, 3276, 3278, 7, 32, 0, 0, 3277, 3272, 1, 0, 0, 0, 3277, 3275, 1, 0, 0, 0, 3278, 215, 1, 0, 0, 0, 3279, 3280, 5, 220, 0, 0, 3280, 3287, 5, 279, 0, 0, 3281, 3282, 5, 220, 0, 0, 3282, 3287, 5, 48, 0, 0, 3283, 3284, 5, 225, 0, 0, 3284, 3287, 5, 220, 0, 0, 3285, 3287, 5, 249, 0, 0, 3286, 3279, 1, 0, 0, 0, 3286, 3281, 1, 0, 0, 0, 3286, 3283, 1, 0, 0, 0, 3286, 3285, 1, 0, 0, 0, 3287, 217, 1, 0, 0, 0, 3288, 3294, 3, 136, 68, 0, 3289, 3290, 3, 292, 146, 0, 3290, 3291, 5, 6, 0, 0, 3291, 3292, 3, 136, 68, 0, 3292, 3294, 1, 0, 0, 0, 3293, 3288, 1, 0, 0, 0, 3293, 3289, 1, 0, 0, 0, 3294, 219, 1, 0, 0, 0, 3295, 3296, 3, 292, 146, 0, 3296, 3297, 5, 4, 0, 0, 3297, 3298, 3, 292, 146, 0, 3298, 3301, 1, 0, 0, 0, 3299, 3301, 3, 292, 146, 0, 3300, 3295, 1, 0, 0, 0, 3300, 3299, 1, 0, 0, 0, 3301, 221, 1, 0, 0, 0, 3302, 3307, 3, 220, 110, 0, 3303, 3304, 5, 3, 0, 0, 3304, 3306, 3, 220, 110, 0, 3305, 3303, 1, 0, 0, 0, 3306, 3309, 1, 0, 0, 0, 3307, 3305, 1, 0, 0, 0, 3307, 3308, 1, 0, 0, 0, 3308, 223, 1, 0, 0, 0, 3309, 3307, 1, 0, 0, 0, 3310, 3311, 5, 107, 0, 0, 3311, 3312, 3, 226, 113, 0, 3312, 3316, 3, 230, 115, 0, 3313, 3315, 3, 232, 116, 0, 3314, 3313, 1, 0, 0, 0, 3315, 3318, 1, 0, 0, 0, 3316, 3314, 1, 0, 0, 0, 3316, 3317, 1, 0, 0, 0, 3317, 3319, 1, 0, 0, 0, 3318, 3316, 1, 0, 0, 0, 3319, 3320, 3, 234, 117, 0, 3320, 225, 1, 0, 0, 0, 3321, 3322, 3, 272, 136, 0, 3322, 3331, 5, 1, 0, 0, 3323, 3328, 3, 228, 114, 0, 3324, 3325, 5, 3, 0, 0, 3325, 3327, 3, 228, 114, 0, 3326, 3324, 1, 0, 0, 0, 3327, 3330, 1, 0, 0, 0, 3328, 3326, 1, 0, 0, 0, 3328, 3329, 1, 0, 0, 0, 3329, 3332, 1, 0, 0, 0, 3330, 3328, 1, 0, 0, 0, 3331, 3323, 1, 0, 0, 0, 3331, 3332, 1, 0, 0, 0, 3332, 3333, 1, 0, 0, 0, 3333, 3334, 5, 2, 0, 0, 3334, 227, 1, 0, 0, 0, 3335, 3337, 3, 292, 146, 0, 3336, 3335, 1, 0, 0, 0, 3336, 3337, 1, 0, 0, 0, 3337, 3338, 1, 0, 0, 0, 3338, 3339, 3, 184, 92, 0, 3339, 229, 1, 0, 0, 0, 3340, 3341, 5, 232, 0, 0, 3341, 3342, 3, 184, 92, 0, 3342, 231, 1, 0, 0, 0, 3343, 3344, 5, 147, 0, 0, 3344, 3363, 3, 292, 146, 0, 3345, 3347, 5, 182, 0, 0, 3346, 3345, 1, 0, 0, 0, 3346, 3347, 1, 0, 0, 0, 3347, 3348, 1, 0, 0, 0, 3348, 3363, 5, 78, 0, 0, 3349, 3350, 5, 232, 0, 0, 3350, 3351, 5, 183, 0, 0, 3351, 3352, 5, 190, 0, 0, 3352, 3353, 5, 183, 0, 0, 3353, 3363, 5, 126, 0, 0, 3354, 3355, 5, 38, 0, 0, 3355, 3356, 5, 190, 0, 0, 3356, 3357, 5, 183, 0, 0, 3357, 3363, 5, 126, 0, 0, 3358, 3359, 5, 246, 0, 0, 3359, 3363, 7, 1, 0, 0, 3360, 3361, 5, 46, 0, 0, 3361, 3363, 3, 168, 84, 0, 3362, 3343, 1, 0, 0, 0, 3362, 3346, 1, 0, 0, 0, 3362, 3349, 1, 0, 0, 0, 3362, 3354, 1, 0, 0, 0, 3362, 3358, 1, 0, 0, 0, 3362, 3360, 1, 0, 0, 0, 3363, 233, 1, 0, 0, 0, 3364, 3365, 5, 230, 0, 0, 3365, 3464, 3, 142, 71, 0, 3366, 3367, 5, 251, 0, 0, 3367, 3368, 3, 292, 146, 0, 3368, 3369, 5, 312, 0, 0, 3369, 3370, 3, 136, 68, 0, 3370, 3464, 1, 0, 0, 0, 3371, 3372, 5, 40, 0, 0, 3372, 3374, 3, 136, 68, 0, 3373, 3375, 3, 236, 118, 0, 3374, 3373, 1, 0, 0, 0, 3375, 3376, 1, 0, 0, 0, 3376, 3374, 1, 0, 0, 0, 3376, 3377, 1, 0, 0, 0, 3377, 3379, 1, 0, 0, 0, 3378, 3380, 3, 240, 120, 0, 3379, 3378, 1, 0, 0, 0, 3379, 3380, 1, 0, 0, 0, 3380, 3381, 1, 0, 0, 0, 3381, 3382, 5, 88, 0, 0, 3382, 3383, 5, 40, 0, 0, 3383, 3464, 1, 0, 0, 0, 3384, 3386, 5, 40, 0, 0, 3385, 3387, 3, 236, 118, 0, 3386, 3385, 1, 0, 0, 0, 3387, 3388, 1, 0, 0, 0, 3388, 3386, 1, 0, 0, 0, 3388, 3389, 1, 0, 0, 0, 3389, 3391, 1, 0, 0, 0, 3390, 3392, 3, 240, 120, 0, 3391, 3390, 1, 0, 0, 0, 3391, 3392, 1, 0, 0, 0, 3392, 3393, 1, 0, 0, 0, 3393, 3394, 5, 88, 0, 0, 3394, 3395, 5, 40, 0, 0, 3395, 3464, 1, 0, 0, 0, 3396, 3397, 5, 119, 0, 0, 3397, 3398, 3, 136, 68, 0, 3398, 3399, 5, 265, 0, 0, 3399, 3403, 3, 244, 122, 0, 3400, 3402, 3, 238, 119, 0, 3401, 3400, 1, 0, 0, 0, 3402, 3405, 1, 0, 0, 0, 3403, 3401, 1, 0, 0, 0, 3403, 3404, 1, 0, 0, 0, 3404, 3407, 1, 0, 0, 0, 3405, 3403, 1, 0, 0, 0, 3406, 3408, 3, 240, 120, 0, 3407, 3406, 1, 0, 0, 0, 3407, 3408, 1, 0, 0, 0, 3408, 3409, 1, 0, 0, 0, 3409, 3410, 5, 88, 0, 0, 3410, 3411, 5, 119, 0, 0, 3411, 3464, 1, 0, 0, 0, 3412, 3413, 5, 135, 0, 0, 3413, 3464, 3, 292, 146, 0, 3414, 3415, 5, 151, 0, 0, 3415, 3464, 3, 292, 146, 0, 3416, 3422, 5, 32, 0, 0, 3417, 3418, 3, 242, 121, 0, 3418, 3419, 5, 325, 0, 0, 3419, 3421, 1, 0, 0, 0, 3420, 3417, 1, 0, 0, 0, 3421, 3424, 1, 0, 0, 0, 3422, 3420, 1, 0, 0, 0, 3422, 3423, 1, 0, 0, 0, 3423, 3426, 1, 0, 0, 0, 3424, 3422, 1, 0, 0, 0, 3425, 3427, 3, 244, 122, 0, 3426, 3425, 1, 0, 0, 0, 3426, 3427, 1, 0, 0, 0, 3427, 3428, 1, 0, 0, 0, 3428, 3464, 5, 88, 0, 0, 3429, 3430, 3, 292, 146, 0, 3430, 3431, 5, 10, 0, 0, 3431, 3433, 1, 0, 0, 0, 3432, 3429, 1, 0, 0, 0, 3432, 3433, 1, 0, 0, 0, 3433, 3434, 1, 0, 0, 0, 3434, 3435, 5, 161, 0, 0, 3435, 3436, 3, 244, 122, 0, 3436, 3437, 5, 88, 0, 0, 3437, 3438, 5, 161, 0, 0, 3438, 3464, 1, 0, 0, 0, 3439, 3440, 3, 292, 146, 0, 3440, 3441, 5, 10, 0, 0, 3441, 3443, 1, 0, 0, 0, 3442, 3439, 1, 0, 0, 0, 3442, 3443, 1, 0, 0, 0, 3443, 3444, 1, 0, 0, 0, 3444, 3445, 5, 302, 0, 0, 3445, 3446, 3, 136, 68, 0, 3446, 3447, 5, 81, 0, 0, 3447, 3448, 3, 244, 122, 0, 3448, 3449, 5, 88, 0, 0, 3449, 3450, 5, 302, 0, 0, 3450, 3464, 1, 0, 0, 0, 3451, 3452, 3, 292, 146, 0, 3452, 3453, 5, 10, 0, 0, 3453, 3455, 1, 0, 0, 0, 3454, 3451, 1, 0, 0, 0, 3454, 3455, 1, 0, 0, 0, 3455, 3456, 1, 0, 0, 0, 3456, 3457, 5, 224, 0, 0, 3457, 3458, 3, 244, 122, 0, 3458, 3459, 5, 286, 0, 0, 3459, 3460, 3, 136, 68, 0, 3460, 3461, 5, 88, 0, 0, 3461, 3462, 5, 224, 0, 0, 3462, 3464, 1, 0, 0, 0, 3463, 3364, 1, 0, 0, 0, 3463, 3366, 1, 0, 0, 0, 3463, 3371, 1, 0, 0, 0, 3463, 3384, 1, 0, 0, 0, 3463, 3396, 1, 0, 0, 0, 3463, 3412, 1, 0, 0, 0, 3463, 3414, 1, 0, 0, 0, 3463, 3416, 1, 0, 0, 0, 3463, 3432, 1, 0, 0, 0, 3463, 3442, 1, 0, 0, 0, 3463, 3454, 1, 0, 0, 0, 3464, 235, 1, 0, 0, 0, 3465, 3466, 5, 300, 0, 0, 3466, 3467, 3, 136, 68, 0, 3467, 3468, 5, 265, 0, 0, 3468, 3469, 3, 244, 122, 0, 3469, 237, 1, 0, 0, 0, 3470, 3471, 5, 86, 0, 0, 3471, 3472, 3, 136, 68, 0, 3472, 3473, 5, 265, 0, 0, 3473, 3474, 3, 244, 122, 0, 3474, 239, 1, 0, 0, 0, 3475, 3476, 5, 84, 0, 0, 3476, 3477, 3, 244, 122, 0, 3477, 241, 1, 0, 0, 0, 3478, 3479, 5, 69, 0, 0, 3479, 3484, 3, 292, 146, 0, 3480, 3481, 5, 3, 0, 0, 3481, 3483, 3, 292, 146, 0, 3482, 3480, 1, 0, 0, 0, 3483, 3486, 1, 0, 0, 0, 3484, 3482, 1, 0, 0, 0, 3484, 3485, 1, 0, 0, 0, 3485, 3487, 1, 0, 0, 0, 3486, 3484, 1, 0, 0, 0, 3487, 3490, 3, 184, 92, 0, 3488, 3489, 5, 70, 0, 0, 3489, 3491, 3, 142, 71, 0, 3490, 3488, 1, 0, 0, 0, 3490, 3491, 1, 0, 0, 0, 3491, 243, 1, 0, 0, 0, 3492, 3493, 3, 234, 117, 0, 3493, 3494, 5, 325, 0, 0, 3494, 3496, 1, 0, 0, 0, 3495, 3492, 1, 0, 0, 0, 3496, 3497, 1, 0, 0, 0, 3497, 3495, 1, 0, 0, 0, 3497, 3498, 1, 0, 0, 0, 3498, 245, 1, 0, 0, 0, 3499, 3506, 5, 53, 0, 0, 3500, 3506, 5, 248, 0, 0, 3501, 3506, 5, 73, 0, 0, 3502, 3506, 5, 127, 0, 0, 3503, 3506, 5, 287, 0, 0, 3504, 3506, 3, 292, 146, 0, 3505, 3499, 1, 0, 0, 0, 3505, 3500, 1, 0, 0, 0, 3505, 3501, 1, 0, 0, 0, 3505, 3502, 1, 0, 0, 0, 3505, 3503, 1, 0, 0, 0, 3505, 3504, 1, 0, 0, 0, 3506, 247, 1, 0, 0, 0, 3507, 3511, 5, 260, 0, 0, 3508, 3511, 5, 243, 0, 0, 3509, 3511, 3, 292, 146, 0, 3510, 3507, 1, 0, 0, 0, 3510, 3508, 1, 0, 0, 0, 3510, 3509, 1, 0, 0, 0, 3511, 249, 1, 0, 0, 0, 3512, 3514, 3, 248, 124, 0, 3513, 3512, 1, 0, 0, 0, 3513, 3514, 1, 0, 0, 0, 3514, 3515, 1, 0, 0, 0, 3515, 3516, 3, 278, 139, 0, 3516, 251, 1, 0, 0, 0, 3517, 3520, 3, 254, 127, 0, 3518, 3520, 3, 258, 129, 0, 3519, 3517, 1, 0, 0, 0, 3519, 3518, 1, 0, 0, 0, 3520, 253, 1, 0, 0, 0, 3521, 3533, 3, 292, 146, 0, 3522, 3523, 3, 292, 146, 0, 3523, 3524, 5, 4, 0, 0, 3524, 3525, 3, 292, 146, 0, 3525, 3533, 1, 0, 0, 0, 3526, 3527, 3, 292, 146, 0, 3527, 3528, 5, 4, 0, 0, 3528, 3529, 3, 292, 146, 0, 3529, 3530, 5, 4, 0, 0, 3530, 3531, 3, 292, 146, 0, 3531, 3533, 1, 0, 0, 0, 3532, 3521, 1, 0, 0, 0, 3532, 3522, 1, 0, 0, 0, 3532, 3526, 1, 0, 0, 0, 3533, 255, 1, 0, 0, 0, 3534, 3546, 3, 292, 146, 0, 3535, 3536, 3, 292, 146, 0, 3536, 3537, 5, 4, 0, 0, 3537, 3538, 3, 292, 146, 0, 3538, 3546, 1, 0, 0, 0, 3539, 3540, 3, 292, 146, 0, 3540, 3541, 5, 4, 0, 0, 3541, 3542, 3, 292, 146, 0, 3542, 3543, 5, 4, 0, 0, 3543, 3544, 3, 292, 146, 0, 3544, 3546, 1, 0, 0, 0, 3545, 3534, 1, 0, 0, 0, 3545, 3535, 1, 0, 0, 0, 3545, 3539, 1, 0, 0, 0, 3546, 257, 1, 0, 0, 0, 3547, 3559, 3, 292, 146, 0, 3548, 3549, 3, 292, 146, 0, 3549, 3550, 5, 4, 0, 0, 3550, 3551, 3, 292, 146, 0, 3551, 3559, 1, 0, 0, 0, 3552, 3553, 3, 292, 146, 0, 3553, 3554, 5, 4, 0, 0, 3554, 3555, 3, 292, 146, 0, 3555, 3556, 5, 4, 0, 0, 3556, 3557, 3, 292, 146, 0, 3557, 3559, 1, 0, 0, 0, 3558, 3547, 1, 0, 0, 0, 3558, 3548, 1, 0, 0, 0, 3558, 3552, 1, 0, 0, 0, 3559, 259, 1, 0, 0, 0, 3560, 3572, 3, 292, 146, 0, 3561, 3562, 3, 292, 146, 0, 3562, 3563, 5, 4, 0, 0, 3563, 3564, 3, 292, 146, 0, 3564, 3572, 1, 0, 0, 0, 3565, 3566, 3, 292, 146, 0, 3566, 3567, 5, 4, 0, 0, 3567, 3568, 3, 292, 146, 0, 3568, 3569, 5, 4, 0, 0, 3569, 3570, 3, 292, 146, 0, 3570, 3572, 1, 0, 0, 0, 3571, 3560, 1, 0, 0, 0, 3571, 3561, 1, 0, 0, 0, 3571, 3565, 1, 0, 0, 0, 3572, 261, 1, 0, 0, 0, 3573, 3579, 3, 292, 146, 0, 3574, 3575, 3, 292, 146, 0, 3575, 3576, 5, 4, 0, 0, 3576, 3577, 3, 292, 146, 0, 3577, 3579, 1, 0, 0, 0, 3578, 3573, 1, 0, 0, 0, 3578, 3574, 1, 0, 0, 0, 3579, 263, 1, 0, 0, 0, 3580, 3586, 3, 292, 146, 0, 3581, 3582, 3, 292, 146, 0, 3582, 3583, 5, 4, 0, 0, 3583, 3584, 3, 292, 146, 0, 3584, 3586, 1, 0, 0, 0, 3585, 3580, 1, 0, 0, 0, 3585, 3581, 1, 0, 0, 0, 3586, 265, 1, 0, 0, 0, 3587, 3588, 3, 292, 146, 0, 3588, 267, 1, 0, 0, 0, 3589, 3590, 3, 292, 146, 0, 3590, 269, 1, 0, 0, 0, 3591, 3592, 3, 278, 139, 0, 3592, 271, 1, 0, 0, 0, 3593, 3594, 3, 278, 139, 0, 3594, 273, 1, 0, 0, 0, 3595, 3598, 3, 278, 139, 0, 3596, 3598, 4, 137, 14, 0, 3597, 3595, 1, 0, 0, 0, 3597, 3596, 1, 0, 0, 0, 3598, 275, 1, 0, 0, 0, 3599, 3600, 3, 292, 146, 0, 3600, 277, 1, 0, 0, 0, 3601, 3606, 3, 292, 146, 0, 3602, 3603, 5, 4, 0, 0, 3603, 3605, 3, 292, 146, 0, 3604, 3602, 1, 0, 0, 0, 3605, 3608, 1, 0, 0, 0, 3606, 3604, 1, 0, 0, 0, 3606, 3607, 1, 0, 0, 0, 3607, 279, 1, 0, 0, 0, 3608, 3606, 1, 0, 0, 0, 3609, 3610, 5, 103, 0, 0, 3610, 3611, 3, 282, 141, 0, 3611, 3612, 5, 28, 0, 0, 3612, 3613, 5, 187, 0, 0, 3613, 3614, 3, 142, 71, 0, 3614, 281, 1, 0, 0, 0, 3615, 3616, 7, 33, 0, 0, 3616, 283, 1, 0, 0, 0, 3617, 3621, 3, 286, 143, 0, 3618, 3621, 5, 64, 0, 0, 3619, 3621, 5, 60, 0, 0, 3620, 3617, 1, 0, 0, 0, 3620, 3618, 1, 0, 0, 0, 3620, 3619, 1, 0, 0, 0, 3621, 285, 1, 0, 0, 0, 3622, 3628, 3, 292, 146, 0, 3623, 3624, 5, 289, 0, 0, 3624, 3628, 3, 292, 146, 0, 3625, 3626, 5, 235, 0, 0, 3626, 3628, 3, 292, 146, 0, 3627, 3622, 1, 0, 0, 0, 3627, 3623, 1, 0, 0, 0, 3627, 3625, 1, 0, 0, 0, 3628, 287, 1, 0, 0, 0, 3629, 3634, 3, 292, 146, 0, 3630, 3631, 5, 3, 0, 0, 3631, 3633, 3, 292, 146, 0, 3632, 3630, 1, 0, 0, 0, 3633, 3636, 1, 0, 0, 0, 3634, 3632, 1, 0, 0, 0, 3634, 3635, 1, 0, 0, 0, 3635, 289, 1, 0, 0, 0, 3636, 3634, 1, 0, 0, 0, 3637, 3645, 5, 53, 0, 0, 3638, 3645, 5, 248, 0, 0, 3639, 3645, 5, 73, 0, 0, 3640, 3645, 5, 127, 0, 0, 3641, 3645, 5, 287, 0, 0, 3642, 3645, 5, 93, 0, 0, 3643, 3645, 3, 292, 146, 0, 3644, 3637, 1, 0, 0, 0, 3644, 3638, 1, 0, 0, 0, 3644, 3639, 1, 0, 0, 0, 3644, 3640, 1, 0, 0, 0, 3644, 3641, 1, 0, 0, 0, 3644, 3642, 1, 0, 0, 0, 3644, 3643, 1, 0, 0, 0, 3645, 291, 1, 0, 0, 0, 3646, 3652, 5, 332, 0, 0, 3647, 3652, 5, 334, 0, 0, 3648, 3652, 3, 298, 149, 0, 3649, 3652, 5, 335, 0, 0, 3650, 3652, 5, 333, 0, 0, 3651, 3646, 1, 0, 0, 0, 3651, 3647, 1, 0, 0, 0, 3651, 3648, 1, 0, 0, 0, 3651, 3649, 1, 0, 0, 0, 3651, 3650, 1, 0, 0, 0, 3652, 293, 1, 0, 0, 0, 3653, 3655, 5, 319, 0, 0, 3654, 3653, 1, 0, 0, 0, 3654, 3655, 1, 0, 0, 0, 3655, 3656, 1, 0, 0, 0, 3656, 3666, 5, 330, 0, 0, 3657, 3659, 5, 319, 0, 0, 3658, 3657, 1, 0, 0, 0, 3658, 3659, 1, 0, 0, 0, 3659, 3660, 1, 0, 0, 0, 3660, 3666, 5, 331, 0, 0, 3661, 3663, 5, 319, 0, 0, 3662, 3661, 1, 0, 0, 0, 3662, 3663, 1, 0, 0, 0, 3663, 3664, 1, 0, 0, 0, 3664, 3666, 5, 329, 0, 0, 3665, 3654, 1, 0, 0, 0, 3665, 3658, 1, 0, 0, 0, 3665, 3662, 1, 0, 0, 0, 3666, 295, 1, 0, 0, 0, 3667, 3670, 3, 292, 146, 0, 3668, 3670, 3, 168, 84, 0, 3669, 3667, 1, 0, 0, 0, 3669, 3668, 1, 0, 0, 0, 3670, 297, 1, 0, 0, 0, 3671, 3672, 7, 34, 0, 0, 3672, 299, 1, 0, 0, 0, 478, 303, 312, 316, 320, 324, 328, 341, 348, 352, 356, 362, 366, 373, 378, 382, 388, 392, 411, 417, 421, 425, 429, 437, 441, 444, 449, 455, 464, 470, 474, 480, 487, 496, 508, 517, 526, 532, 543, 551, 559, 566, 576, 583, 591, 606, 641, 644, 647, 651, 657, 662, 669, 675, 679, 683, 691, 697, 701, 705, 719, 727, 746, 771, 774, 781, 788, 797, 801, 808, 816, 825, 831, 836, 840, 848, 853, 862, 868, 875, 884, 890, 894, 900, 907, 912, 925, 930, 942, 946, 952, 961, 966, 972, 1000, 1006, 1008, 1014, 1020, 1022, 1030, 1032, 1042, 1044, 1059, 1064, 1071, 1081, 1087, 1089, 1097, 1099, 1124, 1127, 1131, 1135, 1153, 1156, 1167, 1170, 1186, 1196, 1201, 1207, 1210, 1219, 1231, 1234, 1244, 1248, 1254, 1261, 1266, 1272, 1276, 1280, 1286, 1297, 1306, 1316, 1319, 1324, 1326, 1333, 1339, 1341, 1345, 1355, 1361, 1364, 1366, 1378, 1385, 1389, 1392, 1396, 1400, 1407, 1416, 1419, 1423, 1428, 1432, 1440, 1443, 1446, 1453, 1464, 1467, 1477, 1480, 1491, 1496, 1504, 1507, 1511, 1515, 1524, 1533, 1536, 1545, 1548, 1551, 1555, 1566, 1569, 1572, 1579, 1582, 1601, 1605, 1609, 1613, 1617, 1621, 1623, 1634, 1639, 1648, 1657, 1660, 1666, 1678, 1681, 1690, 1693, 1701, 1704, 1707, 1712, 1715, 1727, 1730, 1738, 1743, 1747, 1749, 1751, 1766, 1768, 1779, 1800, 1810, 1821, 1825, 1827, 1835, 1846, 1857, 1864, 1877, 1883, 1909, 1924, 1929, 1933, 1943, 1949, 1955, 1963, 1968, 1975, 1977, 1983, 1989, 1993, 1998, 2007, 2012, 2026, 2036, 2039, 2048, 2053, 2058, 2060, 2069, 2072, 2080, 2083, 2090, 2095, 2106, 2109, 2113, 2115, 2123, 2133, 2139, 2141, 2148, 2152, 2154, 2161, 2165, 2167, 2169, 2178, 2189, 2193, 2203, 2213, 2217, 2225, 2227, 2240, 2248, 2257, 2263, 2271, 2277, 2281, 2286, 2291, 2297, 2311, 2313, 2343, 2354, 2362, 2367, 2372, 2385, 2391, 2394, 2401, 2406, 2409, 2412, 2417, 2424, 2427, 2436, 2439, 2443, 2446, 2449, 2464, 2467, 2486, 2490, 2498, 2502, 2527, 2530, 2539, 2545, 2551, 2557, 2566, 2569, 2572, 2591, 2600, 2622, 2625, 2635, 2644, 2650, 2656, 2667, 2669, 2674, 2681, 2683, 2689, 2695, 2706, 2715, 2720, 2725, 2727, 2729, 2735, 2737, 2747, 2756, 2758, 2764, 2766, 2769, 2779, 2781, 2789, 2797, 2800, 2805, 2810, 2822, 2826, 2830, 2833, 2835, 2843, 2846, 2856, 2864, 2870, 2872, 2880, 2890, 2896, 2910, 2919, 2926, 2931, 2938, 2948, 2953, 2960, 2986, 2991, 2993, 3000, 3004, 3011, 3015, 3032, 3047, 3054, 3063, 3073, 3078, 3087, 3092, 3100, 3108, 3111, 3117, 3120, 3127, 3135, 3138, 3146, 3149, 3175, 3186, 3191, 3198, 3200, 3213, 3228, 3232, 3236, 3240, 3246, 3250, 3254, 3258, 3260, 3270, 3277, 3286, 3293, 3300, 3307, 3316, 3328, 3331, 3336, 3346, 3362, 3376, 3379, 3388, 3391, 3403, 3407, 3422, 3426, 3432, 3442, 3454, 3463, 3484, 3490, 3497, 3505, 3510, 3513, 3519, 3532, 3545, 3558, 3571, 3578, 3585, 3597, 3606, 3620, 3627, 3634, 3644, 3651, 3654, 3658, 3662, 3665, 3669] \ No newline at end of file +[4, 1, 340, 3690, 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, 1, 0, 5, 0, 304, 8, 0, 10, 0, 12, 0, 307, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 3, 2, 315, 8, 2, 1, 3, 1, 3, 3, 3, 319, 8, 3, 1, 4, 1, 4, 3, 4, 323, 8, 4, 1, 5, 1, 5, 3, 5, 327, 8, 5, 1, 6, 1, 6, 3, 6, 331, 8, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 344, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 351, 8, 8, 1, 8, 1, 8, 3, 8, 355, 8, 8, 1, 8, 1, 8, 3, 8, 359, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 365, 8, 8, 1, 8, 1, 8, 3, 8, 369, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 376, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 381, 8, 8, 1, 8, 1, 8, 3, 8, 385, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 391, 8, 8, 1, 8, 1, 8, 3, 8, 395, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 414, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 420, 8, 8, 1, 8, 1, 8, 3, 8, 424, 8, 8, 1, 8, 1, 8, 3, 8, 428, 8, 8, 1, 8, 1, 8, 3, 8, 432, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 440, 8, 8, 1, 8, 1, 8, 3, 8, 444, 8, 8, 1, 8, 3, 8, 447, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 452, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 458, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 465, 8, 8, 10, 8, 12, 8, 468, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 473, 8, 8, 1, 8, 1, 8, 3, 8, 477, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 483, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 490, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 499, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 511, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 520, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 529, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 535, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 546, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 554, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 562, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 569, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 579, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 586, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 594, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 609, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 642, 8, 8, 10, 8, 12, 8, 645, 9, 8, 3, 8, 647, 8, 8, 1, 8, 3, 8, 650, 8, 8, 1, 8, 1, 8, 3, 8, 654, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 660, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 665, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 672, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 678, 8, 8, 1, 8, 1, 8, 3, 8, 682, 8, 8, 1, 8, 1, 8, 3, 8, 686, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 694, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 700, 8, 8, 1, 8, 1, 8, 3, 8, 704, 8, 8, 1, 8, 1, 8, 3, 8, 708, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 722, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 730, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 749, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 772, 8, 8, 10, 8, 12, 8, 775, 9, 8, 3, 8, 777, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 784, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 791, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 800, 8, 8, 1, 8, 1, 8, 3, 8, 804, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 811, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 817, 8, 8, 10, 8, 12, 8, 820, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 826, 8, 8, 10, 8, 12, 8, 829, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 834, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 839, 8, 8, 1, 8, 1, 8, 3, 8, 843, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 849, 8, 8, 10, 8, 12, 8, 852, 9, 8, 1, 8, 1, 8, 3, 8, 856, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 865, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 871, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 876, 8, 8, 10, 8, 12, 8, 879, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 885, 8, 8, 10, 8, 12, 8, 888, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 893, 8, 8, 1, 8, 1, 8, 3, 8, 897, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 903, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 908, 8, 8, 10, 8, 12, 8, 911, 9, 8, 1, 8, 1, 8, 3, 8, 915, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 926, 8, 8, 10, 8, 12, 8, 929, 9, 8, 1, 8, 1, 8, 3, 8, 933, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 945, 8, 8, 1, 8, 1, 8, 3, 8, 949, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 955, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 962, 8, 8, 10, 8, 12, 8, 965, 9, 8, 1, 8, 1, 8, 3, 8, 969, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 975, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1003, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1009, 8, 8, 3, 8, 1011, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1017, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1023, 8, 8, 3, 8, 1025, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1033, 8, 8, 3, 8, 1035, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1045, 8, 8, 3, 8, 1047, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1062, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1067, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1074, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1084, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1090, 8, 8, 3, 8, 1092, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1100, 8, 8, 3, 8, 1102, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1125, 8, 8, 10, 8, 12, 8, 1128, 9, 8, 3, 8, 1130, 8, 8, 1, 8, 1, 8, 3, 8, 1134, 8, 8, 1, 8, 1, 8, 3, 8, 1138, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1154, 8, 8, 10, 8, 12, 8, 1157, 9, 8, 3, 8, 1159, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1168, 8, 8, 10, 8, 12, 8, 1171, 9, 8, 3, 8, 1173, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1189, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1197, 8, 8, 10, 8, 12, 8, 1200, 9, 8, 1, 8, 1, 8, 3, 8, 1204, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1210, 8, 8, 1, 8, 3, 8, 1213, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 4, 8, 1220, 8, 8, 11, 8, 12, 8, 1221, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1234, 8, 8, 1, 9, 3, 9, 1237, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 1245, 8, 10, 10, 10, 12, 10, 1248, 9, 10, 1, 11, 3, 11, 1251, 8, 11, 1, 11, 1, 11, 1, 12, 1, 12, 3, 12, 1257, 8, 12, 1, 12, 1, 12, 1, 12, 5, 12, 1262, 8, 12, 10, 12, 12, 12, 1265, 9, 12, 1, 13, 1, 13, 3, 13, 1269, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 1275, 8, 14, 1, 14, 1, 14, 3, 14, 1279, 8, 14, 1, 14, 1, 14, 3, 14, 1283, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 1289, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 5, 17, 1298, 8, 17, 10, 17, 12, 17, 1301, 9, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 3, 19, 1309, 8, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 1317, 8, 20, 10, 20, 12, 20, 1320, 9, 20, 3, 20, 1322, 8, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1327, 8, 20, 3, 20, 1329, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1336, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1342, 8, 20, 3, 20, 1344, 8, 20, 1, 21, 1, 21, 3, 21, 1348, 8, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1358, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1364, 8, 23, 1, 23, 5, 23, 1367, 8, 23, 10, 23, 12, 23, 1370, 9, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 1379, 8, 24, 10, 24, 12, 24, 1382, 9, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 1388, 8, 24, 1, 25, 1, 25, 3, 25, 1392, 8, 25, 1, 25, 3, 25, 1395, 8, 25, 1, 25, 1, 25, 3, 25, 1399, 8, 25, 1, 26, 1, 26, 3, 26, 1403, 8, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1408, 8, 26, 10, 26, 12, 26, 1411, 9, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1417, 8, 26, 10, 26, 12, 26, 1420, 9, 26, 3, 26, 1422, 8, 26, 1, 26, 1, 26, 3, 26, 1426, 8, 26, 1, 26, 1, 26, 1, 26, 3, 26, 1431, 8, 26, 1, 26, 1, 26, 3, 26, 1435, 8, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1441, 8, 26, 10, 26, 12, 26, 1444, 9, 26, 3, 26, 1446, 8, 26, 1, 27, 3, 27, 1449, 8, 27, 1, 27, 1, 27, 1, 27, 5, 27, 1454, 8, 27, 10, 27, 12, 27, 1457, 9, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1465, 8, 28, 10, 28, 12, 28, 1468, 9, 28, 3, 28, 1470, 8, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1478, 8, 28, 10, 28, 12, 28, 1481, 9, 28, 3, 28, 1483, 8, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1492, 8, 28, 10, 28, 12, 28, 1495, 9, 28, 1, 28, 1, 28, 3, 28, 1499, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 5, 29, 1505, 8, 29, 10, 29, 12, 29, 1508, 9, 29, 3, 29, 1510, 8, 29, 1, 29, 1, 29, 3, 29, 1514, 8, 29, 1, 30, 1, 30, 3, 30, 1518, 8, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 3, 32, 1527, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1534, 8, 32, 10, 32, 12, 32, 1537, 9, 32, 3, 32, 1539, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1546, 8, 32, 10, 32, 12, 32, 1549, 9, 32, 3, 32, 1551, 8, 32, 1, 32, 3, 32, 1554, 8, 32, 1, 33, 1, 33, 3, 33, 1558, 8, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 3, 35, 1569, 8, 35, 1, 35, 3, 35, 1572, 8, 35, 1, 35, 3, 35, 1575, 8, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 1582, 8, 35, 1, 35, 3, 35, 1585, 8, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 3, 36, 1604, 8, 36, 5, 36, 1606, 8, 36, 10, 36, 12, 36, 1609, 9, 36, 1, 37, 3, 37, 1612, 8, 37, 1, 37, 1, 37, 3, 37, 1616, 8, 37, 1, 37, 1, 37, 3, 37, 1620, 8, 37, 1, 37, 1, 37, 3, 37, 1624, 8, 37, 3, 37, 1626, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 5, 38, 1635, 8, 38, 10, 38, 12, 38, 1638, 9, 38, 1, 38, 1, 38, 3, 38, 1642, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 1651, 8, 39, 1, 40, 1, 40, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 3, 42, 1660, 8, 42, 1, 42, 3, 42, 1663, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 1669, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1679, 8, 44, 10, 44, 12, 44, 1682, 9, 44, 3, 44, 1684, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1691, 8, 44, 10, 44, 12, 44, 1694, 9, 44, 3, 44, 1696, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1702, 8, 44, 10, 44, 12, 44, 1705, 9, 44, 3, 44, 1707, 8, 44, 1, 44, 3, 44, 1710, 8, 44, 1, 44, 1, 44, 1, 44, 3, 44, 1715, 8, 44, 1, 44, 3, 44, 1718, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1728, 8, 44, 10, 44, 12, 44, 1731, 9, 44, 3, 44, 1733, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 1739, 8, 44, 10, 44, 12, 44, 1742, 9, 44, 1, 44, 1, 44, 3, 44, 1746, 8, 44, 1, 44, 1, 44, 3, 44, 1750, 8, 44, 3, 44, 1752, 8, 44, 3, 44, 1754, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 1769, 8, 46, 3, 46, 1771, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 1782, 8, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 1803, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 1811, 8, 49, 10, 49, 12, 49, 1814, 9, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 3, 51, 1824, 8, 51, 1, 51, 1, 51, 3, 51, 1828, 8, 51, 3, 51, 1830, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 1836, 8, 52, 10, 52, 12, 52, 1839, 9, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 5, 53, 1847, 8, 53, 10, 53, 12, 53, 1850, 9, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 1858, 8, 54, 10, 54, 12, 54, 1861, 9, 54, 1, 54, 1, 54, 1, 55, 1, 55, 3, 55, 1867, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1878, 8, 55, 10, 55, 12, 55, 1881, 9, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1886, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1910, 8, 55, 10, 55, 12, 55, 1913, 9, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1927, 8, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1932, 8, 55, 1, 55, 1, 55, 3, 55, 1936, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1946, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1952, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1958, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1966, 8, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1971, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1978, 8, 56, 3, 56, 1980, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1986, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1992, 8, 56, 1, 56, 1, 56, 3, 56, 1996, 8, 56, 1, 56, 1, 56, 1, 56, 3, 56, 2001, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 2008, 8, 56, 10, 56, 12, 56, 2011, 9, 56, 1, 56, 1, 56, 3, 56, 2015, 8, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 2027, 8, 57, 10, 57, 12, 57, 2030, 9, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 2037, 8, 57, 10, 57, 12, 57, 2040, 9, 57, 3, 57, 2042, 8, 57, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 2051, 8, 59, 1, 60, 1, 60, 1, 60, 3, 60, 2056, 8, 60, 1, 60, 1, 60, 1, 60, 3, 60, 2061, 8, 60, 3, 60, 2063, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 5, 61, 2070, 8, 61, 10, 61, 12, 61, 2073, 9, 61, 3, 61, 2075, 8, 61, 1, 61, 1, 61, 1, 61, 1, 61, 5, 61, 2081, 8, 61, 10, 61, 12, 61, 2084, 9, 61, 3, 61, 2086, 8, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 3, 62, 2093, 8, 62, 1, 62, 1, 62, 1, 62, 3, 62, 2098, 8, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 2107, 8, 63, 10, 63, 12, 63, 2110, 9, 63, 3, 63, 2112, 8, 63, 1, 63, 1, 63, 3, 63, 2116, 8, 63, 3, 63, 2118, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 2126, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 2134, 8, 63, 10, 63, 12, 63, 2137, 9, 63, 1, 63, 1, 63, 1, 63, 3, 63, 2142, 8, 63, 3, 63, 2144, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 2151, 8, 64, 1, 64, 1, 64, 3, 64, 2155, 8, 64, 3, 64, 2157, 8, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 2164, 8, 64, 1, 64, 1, 64, 3, 64, 2168, 8, 64, 3, 64, 2170, 8, 64, 3, 64, 2172, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 2179, 8, 65, 10, 65, 12, 65, 2182, 9, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 2192, 8, 65, 1, 66, 1, 66, 3, 66, 2196, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 2204, 8, 67, 10, 67, 12, 67, 2207, 9, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 3, 69, 2216, 8, 69, 1, 69, 1, 69, 3, 69, 2220, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 2228, 8, 69, 10, 69, 12, 69, 2231, 9, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2243, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2251, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 5, 70, 2258, 8, 70, 10, 70, 12, 70, 2261, 9, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2266, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2274, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2280, 8, 70, 1, 70, 1, 70, 3, 70, 2284, 8, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2289, 8, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2294, 8, 70, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2300, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2314, 8, 71, 10, 71, 12, 71, 2317, 9, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 4, 72, 2344, 8, 72, 11, 72, 12, 72, 2345, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2355, 8, 72, 10, 72, 12, 72, 2358, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2365, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2370, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2375, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2386, 8, 72, 10, 72, 12, 72, 2389, 9, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2394, 8, 72, 1, 72, 3, 72, 2397, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2404, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2409, 8, 72, 1, 72, 3, 72, 2412, 8, 72, 1, 72, 3, 72, 2415, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2420, 8, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2425, 8, 72, 10, 72, 12, 72, 2428, 9, 72, 3, 72, 2430, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2437, 8, 72, 10, 72, 12, 72, 2440, 9, 72, 3, 72, 2442, 8, 72, 1, 72, 1, 72, 3, 72, 2446, 8, 72, 1, 72, 3, 72, 2449, 8, 72, 1, 72, 3, 72, 2452, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2465, 8, 72, 10, 72, 12, 72, 2468, 9, 72, 3, 72, 2470, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 4, 72, 2487, 8, 72, 11, 72, 12, 72, 2488, 1, 72, 1, 72, 3, 72, 2493, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 4, 72, 2499, 8, 72, 11, 72, 12, 72, 2500, 1, 72, 1, 72, 3, 72, 2505, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2528, 8, 72, 10, 72, 12, 72, 2531, 9, 72, 3, 72, 2533, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2542, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2548, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2554, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2560, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2569, 8, 72, 1, 72, 3, 72, 2572, 8, 72, 1, 72, 3, 72, 2575, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2594, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2603, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2623, 8, 72, 10, 72, 12, 72, 2626, 9, 72, 3, 72, 2628, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2638, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2647, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2653, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2659, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2670, 8, 72, 3, 72, 2672, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2677, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2684, 8, 72, 3, 72, 2686, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2692, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2698, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2707, 8, 72, 10, 72, 12, 72, 2710, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2718, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2723, 8, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2728, 8, 72, 3, 72, 2730, 8, 72, 3, 72, 2732, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2738, 8, 72, 3, 72, 2740, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2748, 8, 72, 10, 72, 12, 72, 2751, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2759, 8, 72, 3, 72, 2761, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2767, 8, 72, 3, 72, 2769, 8, 72, 1, 72, 3, 72, 2772, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2782, 8, 72, 10, 72, 12, 72, 2785, 9, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 2792, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 2798, 8, 73, 10, 73, 12, 73, 2801, 9, 73, 3, 73, 2803, 8, 73, 1, 74, 1, 74, 1, 74, 3, 74, 2808, 8, 74, 1, 75, 1, 75, 1, 75, 3, 75, 2813, 8, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 3, 78, 2825, 8, 78, 1, 79, 1, 79, 3, 79, 2829, 8, 79, 1, 79, 1, 79, 3, 79, 2833, 8, 79, 1, 79, 3, 79, 2836, 8, 79, 3, 79, 2838, 8, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 3, 80, 2846, 8, 80, 1, 81, 3, 81, 2849, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2859, 8, 81, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2867, 8, 83, 1, 84, 1, 84, 1, 84, 1, 84, 3, 84, 2873, 8, 84, 3, 84, 2875, 8, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 3, 85, 2883, 8, 85, 1, 86, 1, 86, 1, 87, 1, 87, 1, 88, 1, 88, 1, 89, 1, 89, 3, 89, 2893, 8, 89, 1, 89, 1, 89, 1, 89, 1, 89, 3, 89, 2899, 8, 89, 1, 90, 1, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 5, 92, 2911, 8, 92, 10, 92, 12, 92, 2914, 9, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2922, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2929, 8, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2934, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2941, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2951, 8, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2956, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2963, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 5, 92, 2987, 8, 92, 10, 92, 12, 92, 2990, 9, 92, 1, 92, 1, 92, 3, 92, 2994, 8, 92, 3, 92, 2996, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 3003, 8, 92, 5, 92, 3005, 8, 92, 10, 92, 12, 92, 3008, 9, 92, 1, 93, 1, 93, 1, 93, 1, 93, 3, 93, 3014, 8, 93, 1, 94, 1, 94, 3, 94, 3018, 8, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3035, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 5, 97, 3048, 8, 97, 10, 97, 12, 97, 3051, 9, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3057, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3066, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 5, 97, 3074, 8, 97, 10, 97, 12, 97, 3077, 9, 97, 1, 97, 1, 97, 3, 97, 3081, 8, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 5, 97, 3088, 8, 97, 10, 97, 12, 97, 3091, 9, 97, 1, 97, 1, 97, 3, 97, 3095, 8, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 3, 98, 3103, 8, 98, 1, 99, 1, 99, 1, 99, 1, 99, 5, 99, 3109, 8, 99, 10, 99, 12, 99, 3112, 9, 99, 3, 99, 3114, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 3, 99, 3120, 8, 99, 1, 99, 3, 99, 3123, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 3, 99, 3130, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 5, 99, 3136, 8, 99, 10, 99, 12, 99, 3139, 9, 99, 3, 99, 3141, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 5, 99, 3147, 8, 99, 10, 99, 12, 99, 3150, 9, 99, 3, 99, 3152, 8, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 3, 100, 3178, 8, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 3, 101, 3189, 8, 101, 1, 102, 1, 102, 1, 102, 3, 102, 3194, 8, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 5, 102, 3201, 8, 102, 10, 102, 12, 102, 3204, 9, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 5, 103, 3214, 8, 103, 10, 103, 12, 103, 3217, 9, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 3, 103, 3231, 8, 103, 1, 104, 1, 104, 3, 104, 3235, 8, 104, 1, 104, 1, 104, 3, 104, 3239, 8, 104, 1, 104, 1, 104, 3, 104, 3243, 8, 104, 1, 104, 1, 104, 1, 104, 1, 104, 3, 104, 3249, 8, 104, 1, 104, 1, 104, 3, 104, 3253, 8, 104, 1, 104, 1, 104, 3, 104, 3257, 8, 104, 1, 104, 1, 104, 3, 104, 3261, 8, 104, 3, 104, 3263, 8, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 3, 106, 3273, 8, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 3280, 8, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3289, 8, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 3, 109, 3296, 8, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 3, 110, 3303, 8, 110, 1, 111, 1, 111, 1, 111, 5, 111, 3308, 8, 111, 10, 111, 12, 111, 3311, 9, 111, 1, 112, 1, 112, 1, 112, 1, 112, 5, 112, 3317, 8, 112, 10, 112, 12, 112, 3320, 9, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 5, 113, 3329, 8, 113, 10, 113, 12, 113, 3332, 9, 113, 3, 113, 3334, 8, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 5, 114, 3343, 8, 114, 10, 114, 12, 114, 3346, 9, 114, 3, 114, 3348, 8, 114, 1, 114, 1, 114, 1, 115, 3, 115, 3353, 8, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 117, 3, 117, 3363, 8, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3379, 8, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 4, 118, 3391, 8, 118, 11, 118, 12, 118, 3392, 1, 118, 3, 118, 3396, 8, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 4, 118, 3403, 8, 118, 11, 118, 12, 118, 3404, 1, 118, 3, 118, 3408, 8, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 5, 118, 3418, 8, 118, 10, 118, 12, 118, 3421, 9, 118, 1, 118, 3, 118, 3424, 8, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 5, 118, 3437, 8, 118, 10, 118, 12, 118, 3440, 9, 118, 1, 118, 3, 118, 3443, 8, 118, 1, 118, 1, 118, 1, 118, 1, 118, 3, 118, 3449, 8, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 3, 118, 3459, 8, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 3, 118, 3471, 8, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 3, 118, 3480, 8, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 121, 1, 121, 1, 121, 1, 122, 1, 122, 1, 122, 1, 122, 5, 122, 3499, 8, 122, 10, 122, 12, 122, 3502, 9, 122, 1, 122, 1, 122, 1, 122, 3, 122, 3507, 8, 122, 1, 123, 1, 123, 1, 123, 4, 123, 3512, 8, 123, 11, 123, 12, 123, 3513, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 3, 124, 3522, 8, 124, 1, 125, 1, 125, 1, 125, 3, 125, 3527, 8, 125, 1, 126, 3, 126, 3530, 8, 126, 1, 126, 1, 126, 1, 127, 1, 127, 3, 127, 3536, 8, 127, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 3, 128, 3549, 8, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 3, 129, 3562, 8, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 3, 130, 3575, 8, 130, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 3, 131, 3588, 8, 131, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 3, 132, 3595, 8, 132, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 3, 133, 3602, 8, 133, 1, 134, 1, 134, 1, 135, 1, 135, 1, 136, 1, 136, 1, 137, 1, 137, 1, 138, 1, 138, 3, 138, 3614, 8, 138, 1, 139, 1, 139, 1, 140, 1, 140, 1, 140, 5, 140, 3621, 8, 140, 10, 140, 12, 140, 3624, 9, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 142, 1, 142, 1, 143, 1, 143, 1, 143, 3, 143, 3637, 8, 143, 1, 144, 1, 144, 1, 144, 1, 144, 1, 144, 3, 144, 3644, 8, 144, 1, 145, 1, 145, 1, 145, 5, 145, 3649, 8, 145, 10, 145, 12, 145, 3652, 9, 145, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 3, 146, 3661, 8, 146, 1, 147, 1, 147, 1, 147, 1, 147, 1, 147, 3, 147, 3668, 8, 147, 1, 148, 3, 148, 3671, 8, 148, 1, 148, 1, 148, 3, 148, 3675, 8, 148, 1, 148, 1, 148, 3, 148, 3679, 8, 148, 1, 148, 3, 148, 3682, 8, 148, 1, 149, 1, 149, 3, 149, 3686, 8, 149, 1, 150, 1, 150, 1, 150, 0, 7, 46, 72, 138, 142, 144, 184, 204, 151, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 246, 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 272, 274, 276, 278, 280, 282, 284, 286, 288, 290, 292, 294, 296, 298, 300, 0, 35, 2, 0, 39, 39, 229, 229, 2, 0, 72, 72, 131, 131, 2, 0, 105, 105, 122, 122, 2, 0, 92, 92, 123, 123, 1, 0, 239, 240, 2, 0, 101, 101, 174, 174, 2, 0, 324, 324, 329, 329, 2, 0, 91, 91, 281, 281, 2, 0, 29, 29, 75, 75, 2, 0, 101, 101, 148, 148, 2, 0, 22, 22, 79, 79, 2, 0, 33, 33, 259, 259, 3, 0, 35, 35, 150, 150, 270, 270, 2, 0, 124, 124, 247, 247, 2, 0, 85, 85, 89, 89, 2, 0, 144, 144, 189, 189, 2, 0, 125, 125, 197, 197, 2, 0, 54, 54, 281, 281, 1, 0, 318, 319, 1, 0, 320, 322, 1, 0, 291, 293, 4, 0, 89, 89, 97, 97, 273, 273, 283, 283, 2, 0, 49, 49, 280, 280, 2, 0, 100, 100, 241, 241, 1, 0, 312, 317, 3, 0, 22, 22, 26, 26, 254, 254, 2, 0, 97, 97, 273, 273, 5, 0, 67, 67, 118, 118, 170, 171, 245, 245, 310, 310, 1, 0, 175, 178, 2, 0, 102, 102, 212, 212, 3, 0, 113, 113, 137, 137, 263, 263, 4, 0, 80, 80, 132, 132, 160, 160, 294, 294, 2, 0, 192, 192, 309, 309, 2, 0, 268, 268, 298, 298, 54, 0, 18, 22, 24, 24, 26, 27, 29, 33, 35, 35, 37, 39, 42, 49, 51, 52, 56, 56, 65, 67, 69, 72, 74, 75, 77, 78, 80, 82, 85, 87, 89, 89, 92, 92, 95, 95, 98, 102, 104, 104, 107, 113, 116, 116, 118, 121, 123, 124, 126, 126, 129, 129, 131, 132, 134, 135, 137, 137, 144, 151, 153, 153, 155, 155, 157, 157, 160, 171, 173, 180, 184, 189, 191, 193, 196, 196, 198, 213, 215, 220, 222, 233, 235, 237, 239, 247, 249, 259, 261, 264, 266, 271, 274, 276, 278, 280, 282, 284, 286, 289, 291, 295, 297, 299, 302, 303, 305, 311, 4245, 0, 305, 1, 0, 0, 0, 2, 310, 1, 0, 0, 0, 4, 312, 1, 0, 0, 0, 6, 316, 1, 0, 0, 0, 8, 320, 1, 0, 0, 0, 10, 324, 1, 0, 0, 0, 12, 328, 1, 0, 0, 0, 14, 332, 1, 0, 0, 0, 16, 1233, 1, 0, 0, 0, 18, 1236, 1, 0, 0, 0, 20, 1240, 1, 0, 0, 0, 22, 1250, 1, 0, 0, 0, 24, 1254, 1, 0, 0, 0, 26, 1268, 1, 0, 0, 0, 28, 1270, 1, 0, 0, 0, 30, 1284, 1, 0, 0, 0, 32, 1290, 1, 0, 0, 0, 34, 1294, 1, 0, 0, 0, 36, 1302, 1, 0, 0, 0, 38, 1308, 1, 0, 0, 0, 40, 1310, 1, 0, 0, 0, 42, 1347, 1, 0, 0, 0, 44, 1349, 1, 0, 0, 0, 46, 1351, 1, 0, 0, 0, 48, 1387, 1, 0, 0, 0, 50, 1391, 1, 0, 0, 0, 52, 1400, 1, 0, 0, 0, 54, 1448, 1, 0, 0, 0, 56, 1498, 1, 0, 0, 0, 58, 1513, 1, 0, 0, 0, 60, 1517, 1, 0, 0, 0, 62, 1519, 1, 0, 0, 0, 64, 1526, 1, 0, 0, 0, 66, 1555, 1, 0, 0, 0, 68, 1564, 1, 0, 0, 0, 70, 1584, 1, 0, 0, 0, 72, 1586, 1, 0, 0, 0, 74, 1625, 1, 0, 0, 0, 76, 1641, 1, 0, 0, 0, 78, 1643, 1, 0, 0, 0, 80, 1652, 1, 0, 0, 0, 82, 1654, 1, 0, 0, 0, 84, 1662, 1, 0, 0, 0, 86, 1668, 1, 0, 0, 0, 88, 1670, 1, 0, 0, 0, 90, 1755, 1, 0, 0, 0, 92, 1770, 1, 0, 0, 0, 94, 1781, 1, 0, 0, 0, 96, 1802, 1, 0, 0, 0, 98, 1804, 1, 0, 0, 0, 100, 1817, 1, 0, 0, 0, 102, 1821, 1, 0, 0, 0, 104, 1831, 1, 0, 0, 0, 106, 1842, 1, 0, 0, 0, 108, 1853, 1, 0, 0, 0, 110, 1935, 1, 0, 0, 0, 112, 2014, 1, 0, 0, 0, 114, 2041, 1, 0, 0, 0, 116, 2043, 1, 0, 0, 0, 118, 2050, 1, 0, 0, 0, 120, 2062, 1, 0, 0, 0, 122, 2064, 1, 0, 0, 0, 124, 2092, 1, 0, 0, 0, 126, 2099, 1, 0, 0, 0, 128, 2171, 1, 0, 0, 0, 130, 2191, 1, 0, 0, 0, 132, 2193, 1, 0, 0, 0, 134, 2197, 1, 0, 0, 0, 136, 2210, 1, 0, 0, 0, 138, 2219, 1, 0, 0, 0, 140, 2293, 1, 0, 0, 0, 142, 2299, 1, 0, 0, 0, 144, 2771, 1, 0, 0, 0, 146, 2786, 1, 0, 0, 0, 148, 2804, 1, 0, 0, 0, 150, 2809, 1, 0, 0, 0, 152, 2814, 1, 0, 0, 0, 154, 2818, 1, 0, 0, 0, 156, 2824, 1, 0, 0, 0, 158, 2837, 1, 0, 0, 0, 160, 2845, 1, 0, 0, 0, 162, 2858, 1, 0, 0, 0, 164, 2860, 1, 0, 0, 0, 166, 2866, 1, 0, 0, 0, 168, 2874, 1, 0, 0, 0, 170, 2882, 1, 0, 0, 0, 172, 2884, 1, 0, 0, 0, 174, 2886, 1, 0, 0, 0, 176, 2888, 1, 0, 0, 0, 178, 2890, 1, 0, 0, 0, 180, 2900, 1, 0, 0, 0, 182, 2902, 1, 0, 0, 0, 184, 2995, 1, 0, 0, 0, 186, 3013, 1, 0, 0, 0, 188, 3017, 1, 0, 0, 0, 190, 3019, 1, 0, 0, 0, 192, 3024, 1, 0, 0, 0, 194, 3094, 1, 0, 0, 0, 196, 3096, 1, 0, 0, 0, 198, 3113, 1, 0, 0, 0, 200, 3177, 1, 0, 0, 0, 202, 3188, 1, 0, 0, 0, 204, 3190, 1, 0, 0, 0, 206, 3230, 1, 0, 0, 0, 208, 3262, 1, 0, 0, 0, 210, 3264, 1, 0, 0, 0, 212, 3272, 1, 0, 0, 0, 214, 3279, 1, 0, 0, 0, 216, 3288, 1, 0, 0, 0, 218, 3295, 1, 0, 0, 0, 220, 3302, 1, 0, 0, 0, 222, 3304, 1, 0, 0, 0, 224, 3312, 1, 0, 0, 0, 226, 3323, 1, 0, 0, 0, 228, 3337, 1, 0, 0, 0, 230, 3352, 1, 0, 0, 0, 232, 3356, 1, 0, 0, 0, 234, 3378, 1, 0, 0, 0, 236, 3479, 1, 0, 0, 0, 238, 3481, 1, 0, 0, 0, 240, 3486, 1, 0, 0, 0, 242, 3491, 1, 0, 0, 0, 244, 3494, 1, 0, 0, 0, 246, 3511, 1, 0, 0, 0, 248, 3521, 1, 0, 0, 0, 250, 3526, 1, 0, 0, 0, 252, 3529, 1, 0, 0, 0, 254, 3535, 1, 0, 0, 0, 256, 3548, 1, 0, 0, 0, 258, 3561, 1, 0, 0, 0, 260, 3574, 1, 0, 0, 0, 262, 3587, 1, 0, 0, 0, 264, 3594, 1, 0, 0, 0, 266, 3601, 1, 0, 0, 0, 268, 3603, 1, 0, 0, 0, 270, 3605, 1, 0, 0, 0, 272, 3607, 1, 0, 0, 0, 274, 3609, 1, 0, 0, 0, 276, 3613, 1, 0, 0, 0, 278, 3615, 1, 0, 0, 0, 280, 3617, 1, 0, 0, 0, 282, 3625, 1, 0, 0, 0, 284, 3631, 1, 0, 0, 0, 286, 3636, 1, 0, 0, 0, 288, 3643, 1, 0, 0, 0, 290, 3645, 1, 0, 0, 0, 292, 3660, 1, 0, 0, 0, 294, 3667, 1, 0, 0, 0, 296, 3681, 1, 0, 0, 0, 298, 3685, 1, 0, 0, 0, 300, 3687, 1, 0, 0, 0, 302, 304, 3, 2, 1, 0, 303, 302, 1, 0, 0, 0, 304, 307, 1, 0, 0, 0, 305, 303, 1, 0, 0, 0, 305, 306, 1, 0, 0, 0, 306, 308, 1, 0, 0, 0, 307, 305, 1, 0, 0, 0, 308, 309, 5, 0, 0, 1, 309, 1, 1, 0, 0, 0, 310, 311, 3, 4, 2, 0, 311, 3, 1, 0, 0, 0, 312, 314, 3, 16, 8, 0, 313, 315, 5, 325, 0, 0, 314, 313, 1, 0, 0, 0, 314, 315, 1, 0, 0, 0, 315, 5, 1, 0, 0, 0, 316, 318, 3, 136, 68, 0, 317, 319, 5, 325, 0, 0, 318, 317, 1, 0, 0, 0, 318, 319, 1, 0, 0, 0, 319, 7, 1, 0, 0, 0, 320, 322, 3, 222, 111, 0, 321, 323, 5, 325, 0, 0, 322, 321, 1, 0, 0, 0, 322, 323, 1, 0, 0, 0, 323, 9, 1, 0, 0, 0, 324, 326, 3, 184, 92, 0, 325, 327, 5, 325, 0, 0, 326, 325, 1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 11, 1, 0, 0, 0, 328, 330, 3, 204, 102, 0, 329, 331, 5, 325, 0, 0, 330, 329, 1, 0, 0, 0, 330, 331, 1, 0, 0, 0, 331, 13, 1, 0, 0, 0, 332, 333, 3, 224, 112, 0, 333, 334, 5, 0, 0, 1, 334, 15, 1, 0, 0, 0, 335, 1234, 3, 18, 9, 0, 336, 337, 5, 288, 0, 0, 337, 1234, 3, 264, 132, 0, 338, 339, 5, 53, 0, 0, 339, 343, 5, 42, 0, 0, 340, 341, 5, 119, 0, 0, 341, 342, 5, 182, 0, 0, 342, 344, 5, 94, 0, 0, 343, 340, 1, 0, 0, 0, 343, 344, 1, 0, 0, 0, 344, 345, 1, 0, 0, 0, 345, 346, 3, 270, 135, 0, 346, 347, 5, 290, 0, 0, 347, 350, 3, 294, 147, 0, 348, 349, 5, 46, 0, 0, 349, 351, 3, 168, 84, 0, 350, 348, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 354, 1, 0, 0, 0, 352, 353, 5, 31, 0, 0, 353, 355, 3, 288, 144, 0, 354, 352, 1, 0, 0, 0, 354, 355, 1, 0, 0, 0, 355, 358, 1, 0, 0, 0, 356, 357, 5, 304, 0, 0, 357, 359, 3, 32, 16, 0, 358, 356, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 1234, 1, 0, 0, 0, 360, 361, 5, 83, 0, 0, 361, 364, 5, 42, 0, 0, 362, 363, 5, 119, 0, 0, 363, 365, 5, 94, 0, 0, 364, 362, 1, 0, 0, 0, 364, 365, 1, 0, 0, 0, 365, 366, 1, 0, 0, 0, 366, 368, 3, 268, 134, 0, 367, 369, 7, 0, 0, 0, 368, 367, 1, 0, 0, 0, 368, 369, 1, 0, 0, 0, 369, 1234, 1, 0, 0, 0, 370, 371, 5, 53, 0, 0, 371, 375, 5, 243, 0, 0, 372, 373, 5, 119, 0, 0, 373, 374, 5, 182, 0, 0, 374, 376, 5, 94, 0, 0, 375, 372, 1, 0, 0, 0, 375, 376, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 380, 3, 266, 133, 0, 378, 379, 5, 31, 0, 0, 379, 381, 3, 288, 144, 0, 380, 378, 1, 0, 0, 0, 380, 381, 1, 0, 0, 0, 381, 384, 1, 0, 0, 0, 382, 383, 5, 304, 0, 0, 383, 385, 3, 32, 16, 0, 384, 382, 1, 0, 0, 0, 384, 385, 1, 0, 0, 0, 385, 1234, 1, 0, 0, 0, 386, 387, 5, 83, 0, 0, 387, 390, 5, 243, 0, 0, 388, 389, 5, 119, 0, 0, 389, 391, 5, 94, 0, 0, 390, 388, 1, 0, 0, 0, 390, 391, 1, 0, 0, 0, 391, 392, 1, 0, 0, 0, 392, 394, 3, 264, 132, 0, 393, 395, 7, 0, 0, 0, 394, 393, 1, 0, 0, 0, 394, 395, 1, 0, 0, 0, 395, 1234, 1, 0, 0, 0, 396, 397, 5, 23, 0, 0, 397, 398, 5, 243, 0, 0, 398, 399, 3, 264, 132, 0, 399, 400, 5, 223, 0, 0, 400, 401, 5, 269, 0, 0, 401, 402, 3, 266, 133, 0, 402, 1234, 1, 0, 0, 0, 403, 404, 5, 23, 0, 0, 404, 405, 5, 243, 0, 0, 405, 406, 3, 264, 132, 0, 406, 407, 5, 251, 0, 0, 407, 408, 5, 31, 0, 0, 408, 409, 3, 288, 144, 0, 409, 1234, 1, 0, 0, 0, 410, 413, 5, 53, 0, 0, 411, 412, 5, 194, 0, 0, 412, 414, 5, 226, 0, 0, 413, 411, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 419, 5, 260, 0, 0, 416, 417, 5, 119, 0, 0, 417, 418, 5, 182, 0, 0, 418, 420, 5, 94, 0, 0, 419, 416, 1, 0, 0, 0, 419, 420, 1, 0, 0, 0, 420, 421, 1, 0, 0, 0, 421, 423, 3, 258, 129, 0, 422, 424, 3, 104, 52, 0, 423, 422, 1, 0, 0, 0, 423, 424, 1, 0, 0, 0, 424, 427, 1, 0, 0, 0, 425, 426, 5, 46, 0, 0, 426, 428, 3, 168, 84, 0, 427, 425, 1, 0, 0, 0, 427, 428, 1, 0, 0, 0, 428, 431, 1, 0, 0, 0, 429, 430, 5, 304, 0, 0, 430, 432, 3, 32, 16, 0, 431, 429, 1, 0, 0, 0, 431, 432, 1, 0, 0, 0, 432, 433, 1, 0, 0, 0, 433, 439, 5, 28, 0, 0, 434, 440, 3, 18, 9, 0, 435, 436, 5, 1, 0, 0, 436, 437, 3, 18, 9, 0, 437, 438, 5, 2, 0, 0, 438, 440, 1, 0, 0, 0, 439, 434, 1, 0, 0, 0, 439, 435, 1, 0, 0, 0, 440, 446, 1, 0, 0, 0, 441, 443, 5, 304, 0, 0, 442, 444, 5, 179, 0, 0, 443, 442, 1, 0, 0, 0, 443, 444, 1, 0, 0, 0, 444, 445, 1, 0, 0, 0, 445, 447, 5, 65, 0, 0, 446, 441, 1, 0, 0, 0, 446, 447, 1, 0, 0, 0, 447, 1234, 1, 0, 0, 0, 448, 451, 5, 53, 0, 0, 449, 450, 5, 194, 0, 0, 450, 452, 5, 226, 0, 0, 451, 449, 1, 0, 0, 0, 451, 452, 1, 0, 0, 0, 452, 453, 1, 0, 0, 0, 453, 457, 5, 260, 0, 0, 454, 455, 5, 119, 0, 0, 455, 456, 5, 182, 0, 0, 456, 458, 5, 94, 0, 0, 457, 454, 1, 0, 0, 0, 457, 458, 1, 0, 0, 0, 458, 459, 1, 0, 0, 0, 459, 460, 3, 258, 129, 0, 460, 461, 5, 1, 0, 0, 461, 466, 3, 26, 13, 0, 462, 463, 5, 3, 0, 0, 463, 465, 3, 26, 13, 0, 464, 462, 1, 0, 0, 0, 465, 468, 1, 0, 0, 0, 466, 464, 1, 0, 0, 0, 466, 467, 1, 0, 0, 0, 467, 469, 1, 0, 0, 0, 468, 466, 1, 0, 0, 0, 469, 472, 5, 2, 0, 0, 470, 471, 5, 46, 0, 0, 471, 473, 3, 168, 84, 0, 472, 470, 1, 0, 0, 0, 472, 473, 1, 0, 0, 0, 473, 476, 1, 0, 0, 0, 474, 475, 5, 304, 0, 0, 475, 477, 3, 32, 16, 0, 476, 474, 1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 1234, 1, 0, 0, 0, 478, 479, 5, 83, 0, 0, 479, 482, 5, 260, 0, 0, 480, 481, 5, 119, 0, 0, 481, 483, 5, 94, 0, 0, 482, 480, 1, 0, 0, 0, 482, 483, 1, 0, 0, 0, 483, 484, 1, 0, 0, 0, 484, 1234, 3, 256, 128, 0, 485, 486, 5, 127, 0, 0, 486, 487, 5, 130, 0, 0, 487, 489, 3, 256, 128, 0, 488, 490, 3, 106, 53, 0, 489, 488, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, 492, 3, 18, 9, 0, 492, 1234, 1, 0, 0, 0, 493, 494, 5, 73, 0, 0, 494, 495, 5, 105, 0, 0, 495, 498, 3, 256, 128, 0, 496, 497, 5, 301, 0, 0, 497, 499, 3, 138, 69, 0, 498, 496, 1, 0, 0, 0, 498, 499, 1, 0, 0, 0, 499, 1234, 1, 0, 0, 0, 500, 501, 5, 274, 0, 0, 501, 502, 5, 260, 0, 0, 502, 1234, 3, 256, 128, 0, 503, 504, 5, 46, 0, 0, 504, 505, 5, 190, 0, 0, 505, 506, 5, 260, 0, 0, 506, 507, 3, 256, 128, 0, 507, 510, 5, 133, 0, 0, 508, 511, 3, 168, 84, 0, 509, 511, 5, 183, 0, 0, 510, 508, 1, 0, 0, 0, 510, 509, 1, 0, 0, 0, 511, 1234, 1, 0, 0, 0, 512, 513, 5, 46, 0, 0, 513, 514, 5, 190, 0, 0, 514, 515, 5, 299, 0, 0, 515, 516, 3, 260, 130, 0, 516, 519, 5, 133, 0, 0, 517, 520, 3, 168, 84, 0, 518, 520, 5, 183, 0, 0, 519, 517, 1, 0, 0, 0, 519, 518, 1, 0, 0, 0, 520, 1234, 1, 0, 0, 0, 521, 522, 5, 46, 0, 0, 522, 523, 5, 190, 0, 0, 523, 524, 5, 44, 0, 0, 524, 525, 3, 276, 138, 0, 525, 528, 5, 133, 0, 0, 526, 529, 3, 168, 84, 0, 527, 529, 5, 183, 0, 0, 528, 526, 1, 0, 0, 0, 528, 527, 1, 0, 0, 0, 529, 1234, 1, 0, 0, 0, 530, 531, 5, 23, 0, 0, 531, 534, 5, 260, 0, 0, 532, 533, 5, 119, 0, 0, 533, 535, 5, 94, 0, 0, 534, 532, 1, 0, 0, 0, 534, 535, 1, 0, 0, 0, 535, 536, 1, 0, 0, 0, 536, 537, 3, 256, 128, 0, 537, 538, 5, 223, 0, 0, 538, 539, 5, 269, 0, 0, 539, 540, 3, 258, 129, 0, 540, 1234, 1, 0, 0, 0, 541, 542, 5, 23, 0, 0, 542, 545, 5, 260, 0, 0, 543, 544, 5, 119, 0, 0, 544, 546, 5, 94, 0, 0, 545, 543, 1, 0, 0, 0, 545, 546, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 548, 3, 256, 128, 0, 548, 549, 5, 19, 0, 0, 549, 553, 5, 44, 0, 0, 550, 551, 5, 119, 0, 0, 551, 552, 5, 182, 0, 0, 552, 554, 5, 94, 0, 0, 553, 550, 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 556, 3, 28, 14, 0, 556, 1234, 1, 0, 0, 0, 557, 558, 5, 23, 0, 0, 558, 561, 5, 260, 0, 0, 559, 560, 5, 119, 0, 0, 560, 562, 5, 94, 0, 0, 561, 559, 1, 0, 0, 0, 561, 562, 1, 0, 0, 0, 562, 563, 1, 0, 0, 0, 563, 564, 3, 256, 128, 0, 564, 565, 5, 223, 0, 0, 565, 568, 5, 44, 0, 0, 566, 567, 5, 119, 0, 0, 567, 569, 5, 94, 0, 0, 568, 566, 1, 0, 0, 0, 568, 569, 1, 0, 0, 0, 569, 570, 1, 0, 0, 0, 570, 571, 3, 276, 138, 0, 571, 572, 5, 269, 0, 0, 572, 573, 3, 278, 139, 0, 573, 1234, 1, 0, 0, 0, 574, 575, 5, 23, 0, 0, 575, 578, 5, 260, 0, 0, 576, 577, 5, 119, 0, 0, 577, 579, 5, 94, 0, 0, 578, 576, 1, 0, 0, 0, 578, 579, 1, 0, 0, 0, 579, 580, 1, 0, 0, 0, 580, 581, 3, 256, 128, 0, 581, 582, 5, 83, 0, 0, 582, 585, 5, 44, 0, 0, 583, 584, 5, 119, 0, 0, 584, 586, 5, 94, 0, 0, 585, 583, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 3, 276, 138, 0, 588, 1234, 1, 0, 0, 0, 589, 590, 5, 23, 0, 0, 590, 593, 5, 260, 0, 0, 591, 592, 5, 119, 0, 0, 592, 594, 5, 94, 0, 0, 593, 591, 1, 0, 0, 0, 593, 594, 1, 0, 0, 0, 594, 595, 1, 0, 0, 0, 595, 596, 3, 256, 128, 0, 596, 597, 5, 23, 0, 0, 597, 598, 5, 44, 0, 0, 598, 599, 3, 276, 138, 0, 599, 600, 5, 251, 0, 0, 600, 601, 5, 65, 0, 0, 601, 602, 5, 276, 0, 0, 602, 603, 3, 184, 92, 0, 603, 1234, 1, 0, 0, 0, 604, 605, 5, 23, 0, 0, 605, 608, 5, 260, 0, 0, 606, 607, 5, 119, 0, 0, 607, 609, 5, 94, 0, 0, 608, 606, 1, 0, 0, 0, 608, 609, 1, 0, 0, 0, 609, 610, 1, 0, 0, 0, 610, 611, 3, 256, 128, 0, 611, 612, 5, 23, 0, 0, 612, 613, 5, 44, 0, 0, 613, 614, 3, 276, 138, 0, 614, 615, 5, 83, 0, 0, 615, 616, 5, 182, 0, 0, 616, 617, 5, 183, 0, 0, 617, 1234, 1, 0, 0, 0, 618, 619, 5, 23, 0, 0, 619, 620, 5, 260, 0, 0, 620, 621, 3, 256, 128, 0, 621, 622, 5, 251, 0, 0, 622, 623, 5, 31, 0, 0, 623, 624, 3, 288, 144, 0, 624, 1234, 1, 0, 0, 0, 625, 626, 5, 23, 0, 0, 626, 627, 5, 260, 0, 0, 627, 628, 3, 256, 128, 0, 628, 629, 5, 251, 0, 0, 629, 630, 5, 216, 0, 0, 630, 631, 3, 34, 17, 0, 631, 1234, 1, 0, 0, 0, 632, 633, 5, 23, 0, 0, 633, 634, 5, 260, 0, 0, 634, 635, 3, 256, 128, 0, 635, 636, 5, 93, 0, 0, 636, 649, 3, 272, 136, 0, 637, 646, 5, 1, 0, 0, 638, 643, 3, 218, 109, 0, 639, 640, 5, 3, 0, 0, 640, 642, 3, 218, 109, 0, 641, 639, 1, 0, 0, 0, 642, 645, 1, 0, 0, 0, 643, 641, 1, 0, 0, 0, 643, 644, 1, 0, 0, 0, 644, 647, 1, 0, 0, 0, 645, 643, 1, 0, 0, 0, 646, 638, 1, 0, 0, 0, 646, 647, 1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 650, 5, 2, 0, 0, 649, 637, 1, 0, 0, 0, 649, 650, 1, 0, 0, 0, 650, 653, 1, 0, 0, 0, 651, 652, 5, 301, 0, 0, 652, 654, 3, 138, 69, 0, 653, 651, 1, 0, 0, 0, 653, 654, 1, 0, 0, 0, 654, 1234, 1, 0, 0, 0, 655, 656, 5, 24, 0, 0, 656, 659, 3, 256, 128, 0, 657, 658, 5, 304, 0, 0, 658, 660, 3, 32, 16, 0, 659, 657, 1, 0, 0, 0, 659, 660, 1, 0, 0, 0, 660, 1234, 1, 0, 0, 0, 661, 664, 5, 53, 0, 0, 662, 663, 5, 194, 0, 0, 663, 665, 5, 226, 0, 0, 664, 662, 1, 0, 0, 0, 664, 665, 1, 0, 0, 0, 665, 666, 1, 0, 0, 0, 666, 667, 5, 167, 0, 0, 667, 671, 5, 299, 0, 0, 668, 669, 5, 119, 0, 0, 669, 670, 5, 182, 0, 0, 670, 672, 5, 94, 0, 0, 671, 668, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 677, 3, 262, 131, 0, 674, 675, 5, 109, 0, 0, 675, 676, 5, 208, 0, 0, 676, 678, 3, 178, 89, 0, 677, 674, 1, 0, 0, 0, 677, 678, 1, 0, 0, 0, 678, 681, 1, 0, 0, 0, 679, 680, 5, 46, 0, 0, 680, 682, 3, 168, 84, 0, 681, 679, 1, 0, 0, 0, 681, 682, 1, 0, 0, 0, 682, 685, 1, 0, 0, 0, 683, 684, 5, 304, 0, 0, 684, 686, 3, 32, 16, 0, 685, 683, 1, 0, 0, 0, 685, 686, 1, 0, 0, 0, 686, 687, 1, 0, 0, 0, 687, 688, 5, 28, 0, 0, 688, 689, 3, 18, 9, 0, 689, 1234, 1, 0, 0, 0, 690, 693, 5, 53, 0, 0, 691, 692, 5, 194, 0, 0, 692, 694, 5, 226, 0, 0, 693, 691, 1, 0, 0, 0, 693, 694, 1, 0, 0, 0, 694, 695, 1, 0, 0, 0, 695, 696, 5, 299, 0, 0, 696, 699, 3, 262, 131, 0, 697, 698, 5, 46, 0, 0, 698, 700, 3, 168, 84, 0, 699, 697, 1, 0, 0, 0, 699, 700, 1, 0, 0, 0, 700, 703, 1, 0, 0, 0, 701, 702, 5, 246, 0, 0, 702, 704, 7, 1, 0, 0, 703, 701, 1, 0, 0, 0, 703, 704, 1, 0, 0, 0, 704, 707, 1, 0, 0, 0, 705, 706, 5, 304, 0, 0, 706, 708, 3, 32, 16, 0, 707, 705, 1, 0, 0, 0, 707, 708, 1, 0, 0, 0, 708, 709, 1, 0, 0, 0, 709, 710, 5, 28, 0, 0, 710, 711, 3, 18, 9, 0, 711, 1234, 1, 0, 0, 0, 712, 713, 5, 222, 0, 0, 713, 714, 5, 167, 0, 0, 714, 715, 5, 299, 0, 0, 715, 1234, 3, 260, 130, 0, 716, 717, 5, 83, 0, 0, 717, 718, 5, 167, 0, 0, 718, 721, 5, 299, 0, 0, 719, 720, 5, 119, 0, 0, 720, 722, 5, 94, 0, 0, 721, 719, 1, 0, 0, 0, 721, 722, 1, 0, 0, 0, 722, 723, 1, 0, 0, 0, 723, 1234, 3, 260, 130, 0, 724, 725, 5, 23, 0, 0, 725, 726, 5, 167, 0, 0, 726, 729, 5, 299, 0, 0, 727, 728, 5, 119, 0, 0, 728, 730, 5, 94, 0, 0, 729, 727, 1, 0, 0, 0, 729, 730, 1, 0, 0, 0, 730, 731, 1, 0, 0, 0, 731, 732, 3, 260, 130, 0, 732, 733, 5, 223, 0, 0, 733, 734, 5, 269, 0, 0, 734, 735, 3, 262, 131, 0, 735, 1234, 1, 0, 0, 0, 736, 737, 5, 23, 0, 0, 737, 738, 5, 167, 0, 0, 738, 739, 5, 299, 0, 0, 739, 740, 3, 260, 130, 0, 740, 741, 5, 251, 0, 0, 741, 742, 5, 216, 0, 0, 742, 743, 3, 34, 17, 0, 743, 1234, 1, 0, 0, 0, 744, 745, 5, 83, 0, 0, 745, 748, 5, 299, 0, 0, 746, 747, 5, 119, 0, 0, 747, 749, 5, 94, 0, 0, 748, 746, 1, 0, 0, 0, 748, 749, 1, 0, 0, 0, 749, 750, 1, 0, 0, 0, 750, 1234, 3, 260, 130, 0, 751, 752, 5, 23, 0, 0, 752, 753, 5, 299, 0, 0, 753, 754, 3, 260, 130, 0, 754, 755, 5, 223, 0, 0, 755, 756, 5, 269, 0, 0, 756, 757, 3, 262, 131, 0, 757, 1234, 1, 0, 0, 0, 758, 759, 5, 23, 0, 0, 759, 760, 5, 299, 0, 0, 760, 761, 3, 260, 130, 0, 761, 762, 5, 251, 0, 0, 762, 763, 5, 31, 0, 0, 763, 764, 3, 288, 144, 0, 764, 1234, 1, 0, 0, 0, 765, 766, 5, 37, 0, 0, 766, 767, 3, 272, 136, 0, 767, 776, 5, 1, 0, 0, 768, 773, 3, 218, 109, 0, 769, 770, 5, 3, 0, 0, 770, 772, 3, 218, 109, 0, 771, 769, 1, 0, 0, 0, 772, 775, 1, 0, 0, 0, 773, 771, 1, 0, 0, 0, 773, 774, 1, 0, 0, 0, 774, 777, 1, 0, 0, 0, 775, 773, 1, 0, 0, 0, 776, 768, 1, 0, 0, 0, 776, 777, 1, 0, 0, 0, 777, 778, 1, 0, 0, 0, 778, 779, 5, 2, 0, 0, 779, 1234, 1, 0, 0, 0, 780, 783, 5, 53, 0, 0, 781, 782, 5, 194, 0, 0, 782, 784, 5, 226, 0, 0, 783, 781, 1, 0, 0, 0, 783, 784, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 1234, 3, 224, 112, 0, 786, 787, 5, 83, 0, 0, 787, 790, 5, 107, 0, 0, 788, 789, 5, 119, 0, 0, 789, 791, 5, 94, 0, 0, 790, 788, 1, 0, 0, 0, 790, 791, 1, 0, 0, 0, 791, 792, 1, 0, 0, 0, 792, 1234, 3, 228, 114, 0, 793, 794, 5, 53, 0, 0, 794, 795, 5, 235, 0, 0, 795, 799, 3, 294, 147, 0, 796, 797, 5, 304, 0, 0, 797, 798, 5, 20, 0, 0, 798, 800, 3, 286, 143, 0, 799, 796, 1, 0, 0, 0, 799, 800, 1, 0, 0, 0, 800, 803, 1, 0, 0, 0, 801, 802, 5, 122, 0, 0, 802, 804, 3, 268, 134, 0, 803, 801, 1, 0, 0, 0, 803, 804, 1, 0, 0, 0, 804, 1234, 1, 0, 0, 0, 805, 806, 5, 83, 0, 0, 806, 807, 5, 235, 0, 0, 807, 810, 3, 294, 147, 0, 808, 809, 5, 122, 0, 0, 809, 811, 3, 268, 134, 0, 810, 808, 1, 0, 0, 0, 810, 811, 1, 0, 0, 0, 811, 1234, 1, 0, 0, 0, 812, 813, 5, 110, 0, 0, 813, 818, 3, 292, 146, 0, 814, 815, 5, 3, 0, 0, 815, 817, 3, 292, 146, 0, 816, 814, 1, 0, 0, 0, 817, 820, 1, 0, 0, 0, 818, 816, 1, 0, 0, 0, 818, 819, 1, 0, 0, 0, 819, 821, 1, 0, 0, 0, 820, 818, 1, 0, 0, 0, 821, 822, 5, 269, 0, 0, 822, 827, 3, 288, 144, 0, 823, 824, 5, 3, 0, 0, 824, 826, 3, 288, 144, 0, 825, 823, 1, 0, 0, 0, 826, 829, 1, 0, 0, 0, 827, 825, 1, 0, 0, 0, 827, 828, 1, 0, 0, 0, 828, 833, 1, 0, 0, 0, 829, 827, 1, 0, 0, 0, 830, 831, 5, 304, 0, 0, 831, 832, 5, 20, 0, 0, 832, 834, 5, 193, 0, 0, 833, 830, 1, 0, 0, 0, 833, 834, 1, 0, 0, 0, 834, 838, 1, 0, 0, 0, 835, 836, 5, 111, 0, 0, 836, 837, 5, 36, 0, 0, 837, 839, 3, 286, 143, 0, 838, 835, 1, 0, 0, 0, 838, 839, 1, 0, 0, 0, 839, 842, 1, 0, 0, 0, 840, 841, 5, 122, 0, 0, 841, 843, 3, 268, 134, 0, 842, 840, 1, 0, 0, 0, 842, 843, 1, 0, 0, 0, 843, 1234, 1, 0, 0, 0, 844, 855, 5, 110, 0, 0, 845, 850, 3, 292, 146, 0, 846, 847, 5, 3, 0, 0, 847, 849, 3, 292, 146, 0, 848, 846, 1, 0, 0, 0, 849, 852, 1, 0, 0, 0, 850, 848, 1, 0, 0, 0, 850, 851, 1, 0, 0, 0, 851, 856, 1, 0, 0, 0, 852, 850, 1, 0, 0, 0, 853, 854, 5, 22, 0, 0, 854, 856, 5, 215, 0, 0, 855, 845, 1, 0, 0, 0, 855, 853, 1, 0, 0, 0, 856, 857, 1, 0, 0, 0, 857, 858, 5, 190, 0, 0, 858, 859, 3, 252, 126, 0, 859, 860, 5, 269, 0, 0, 860, 864, 3, 288, 144, 0, 861, 862, 5, 304, 0, 0, 862, 863, 5, 110, 0, 0, 863, 865, 5, 193, 0, 0, 864, 861, 1, 0, 0, 0, 864, 865, 1, 0, 0, 0, 865, 1234, 1, 0, 0, 0, 866, 870, 5, 233, 0, 0, 867, 868, 5, 20, 0, 0, 868, 869, 5, 193, 0, 0, 869, 871, 5, 103, 0, 0, 870, 867, 1, 0, 0, 0, 870, 871, 1, 0, 0, 0, 871, 872, 1, 0, 0, 0, 872, 877, 3, 292, 146, 0, 873, 874, 5, 3, 0, 0, 874, 876, 3, 292, 146, 0, 875, 873, 1, 0, 0, 0, 876, 879, 1, 0, 0, 0, 877, 875, 1, 0, 0, 0, 877, 878, 1, 0, 0, 0, 878, 880, 1, 0, 0, 0, 879, 877, 1, 0, 0, 0, 880, 881, 5, 105, 0, 0, 881, 886, 3, 288, 144, 0, 882, 883, 5, 3, 0, 0, 883, 885, 3, 288, 144, 0, 884, 882, 1, 0, 0, 0, 885, 888, 1, 0, 0, 0, 886, 884, 1, 0, 0, 0, 886, 887, 1, 0, 0, 0, 887, 892, 1, 0, 0, 0, 888, 886, 1, 0, 0, 0, 889, 890, 5, 111, 0, 0, 890, 891, 5, 36, 0, 0, 891, 893, 3, 286, 143, 0, 892, 889, 1, 0, 0, 0, 892, 893, 1, 0, 0, 0, 893, 896, 1, 0, 0, 0, 894, 895, 5, 122, 0, 0, 895, 897, 3, 268, 134, 0, 896, 894, 1, 0, 0, 0, 896, 897, 1, 0, 0, 0, 897, 1234, 1, 0, 0, 0, 898, 902, 5, 233, 0, 0, 899, 900, 5, 110, 0, 0, 900, 901, 5, 193, 0, 0, 901, 903, 5, 103, 0, 0, 902, 899, 1, 0, 0, 0, 902, 903, 1, 0, 0, 0, 903, 914, 1, 0, 0, 0, 904, 909, 3, 292, 146, 0, 905, 906, 5, 3, 0, 0, 906, 908, 3, 292, 146, 0, 907, 905, 1, 0, 0, 0, 908, 911, 1, 0, 0, 0, 909, 907, 1, 0, 0, 0, 909, 910, 1, 0, 0, 0, 910, 915, 1, 0, 0, 0, 911, 909, 1, 0, 0, 0, 912, 913, 5, 22, 0, 0, 913, 915, 5, 215, 0, 0, 914, 904, 1, 0, 0, 0, 914, 912, 1, 0, 0, 0, 915, 916, 1, 0, 0, 0, 916, 917, 5, 190, 0, 0, 917, 918, 3, 252, 126, 0, 918, 919, 5, 105, 0, 0, 919, 920, 3, 288, 144, 0, 920, 1234, 1, 0, 0, 0, 921, 932, 5, 74, 0, 0, 922, 927, 3, 248, 124, 0, 923, 924, 5, 3, 0, 0, 924, 926, 3, 248, 124, 0, 925, 923, 1, 0, 0, 0, 926, 929, 1, 0, 0, 0, 927, 925, 1, 0, 0, 0, 927, 928, 1, 0, 0, 0, 928, 933, 1, 0, 0, 0, 929, 927, 1, 0, 0, 0, 930, 931, 5, 22, 0, 0, 931, 933, 5, 215, 0, 0, 932, 922, 1, 0, 0, 0, 932, 930, 1, 0, 0, 0, 933, 934, 1, 0, 0, 0, 934, 935, 5, 190, 0, 0, 935, 936, 3, 252, 126, 0, 936, 937, 5, 269, 0, 0, 937, 938, 3, 288, 144, 0, 938, 1234, 1, 0, 0, 0, 939, 940, 5, 251, 0, 0, 940, 944, 5, 235, 0, 0, 941, 945, 5, 22, 0, 0, 942, 945, 5, 180, 0, 0, 943, 945, 3, 294, 147, 0, 944, 941, 1, 0, 0, 0, 944, 942, 1, 0, 0, 0, 944, 943, 1, 0, 0, 0, 945, 948, 1, 0, 0, 0, 946, 947, 5, 122, 0, 0, 947, 949, 3, 268, 134, 0, 948, 946, 1, 0, 0, 0, 948, 949, 1, 0, 0, 0, 949, 1234, 1, 0, 0, 0, 950, 951, 5, 253, 0, 0, 951, 954, 5, 112, 0, 0, 952, 953, 5, 190, 0, 0, 953, 955, 3, 252, 126, 0, 954, 952, 1, 0, 0, 0, 954, 955, 1, 0, 0, 0, 955, 1234, 1, 0, 0, 0, 956, 968, 5, 95, 0, 0, 957, 958, 5, 1, 0, 0, 958, 963, 3, 212, 106, 0, 959, 960, 5, 3, 0, 0, 960, 962, 3, 212, 106, 0, 961, 959, 1, 0, 0, 0, 962, 965, 1, 0, 0, 0, 963, 961, 1, 0, 0, 0, 963, 964, 1, 0, 0, 0, 964, 966, 1, 0, 0, 0, 965, 963, 1, 0, 0, 0, 966, 967, 5, 2, 0, 0, 967, 969, 1, 0, 0, 0, 968, 957, 1, 0, 0, 0, 968, 969, 1, 0, 0, 0, 969, 970, 1, 0, 0, 0, 970, 1234, 3, 16, 8, 0, 971, 972, 5, 95, 0, 0, 972, 974, 5, 24, 0, 0, 973, 975, 5, 297, 0, 0, 974, 973, 1, 0, 0, 0, 974, 975, 1, 0, 0, 0, 975, 976, 1, 0, 0, 0, 976, 1234, 3, 16, 8, 0, 977, 978, 5, 253, 0, 0, 978, 979, 5, 53, 0, 0, 979, 980, 5, 260, 0, 0, 980, 1234, 3, 256, 128, 0, 981, 982, 5, 253, 0, 0, 982, 983, 5, 53, 0, 0, 983, 984, 5, 243, 0, 0, 984, 1234, 3, 264, 132, 0, 985, 986, 5, 253, 0, 0, 986, 987, 5, 53, 0, 0, 987, 988, 5, 299, 0, 0, 988, 1234, 3, 260, 130, 0, 989, 990, 5, 253, 0, 0, 990, 991, 5, 53, 0, 0, 991, 992, 5, 167, 0, 0, 992, 993, 5, 299, 0, 0, 993, 1234, 3, 260, 130, 0, 994, 995, 5, 253, 0, 0, 995, 996, 5, 53, 0, 0, 996, 997, 5, 107, 0, 0, 997, 1234, 3, 272, 136, 0, 998, 999, 5, 253, 0, 0, 999, 1002, 5, 261, 0, 0, 1000, 1001, 7, 2, 0, 0, 1001, 1003, 3, 264, 132, 0, 1002, 1000, 1, 0, 0, 0, 1002, 1003, 1, 0, 0, 0, 1003, 1010, 1, 0, 0, 0, 1004, 1005, 5, 154, 0, 0, 1005, 1008, 3, 168, 84, 0, 1006, 1007, 5, 90, 0, 0, 1007, 1009, 3, 168, 84, 0, 1008, 1006, 1, 0, 0, 0, 1008, 1009, 1, 0, 0, 0, 1009, 1011, 1, 0, 0, 0, 1010, 1004, 1, 0, 0, 0, 1010, 1011, 1, 0, 0, 0, 1011, 1234, 1, 0, 0, 0, 1012, 1013, 5, 253, 0, 0, 1013, 1016, 5, 244, 0, 0, 1014, 1015, 7, 2, 0, 0, 1015, 1017, 3, 268, 134, 0, 1016, 1014, 1, 0, 0, 0, 1016, 1017, 1, 0, 0, 0, 1017, 1024, 1, 0, 0, 0, 1018, 1019, 5, 154, 0, 0, 1019, 1022, 3, 168, 84, 0, 1020, 1021, 5, 90, 0, 0, 1021, 1023, 3, 168, 84, 0, 1022, 1020, 1, 0, 0, 0, 1022, 1023, 1, 0, 0, 0, 1023, 1025, 1, 0, 0, 0, 1024, 1018, 1, 0, 0, 0, 1024, 1025, 1, 0, 0, 0, 1025, 1234, 1, 0, 0, 0, 1026, 1027, 5, 253, 0, 0, 1027, 1034, 5, 43, 0, 0, 1028, 1029, 5, 154, 0, 0, 1029, 1032, 3, 168, 84, 0, 1030, 1031, 5, 90, 0, 0, 1031, 1033, 3, 168, 84, 0, 1032, 1030, 1, 0, 0, 0, 1032, 1033, 1, 0, 0, 0, 1033, 1035, 1, 0, 0, 0, 1034, 1028, 1, 0, 0, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1234, 1, 0, 0, 0, 1036, 1037, 5, 253, 0, 0, 1037, 1038, 5, 45, 0, 0, 1038, 1039, 7, 2, 0, 0, 1039, 1046, 3, 254, 127, 0, 1040, 1041, 5, 154, 0, 0, 1041, 1044, 3, 168, 84, 0, 1042, 1043, 5, 90, 0, 0, 1043, 1045, 3, 168, 84, 0, 1044, 1042, 1, 0, 0, 0, 1044, 1045, 1, 0, 0, 0, 1045, 1047, 1, 0, 0, 0, 1046, 1040, 1, 0, 0, 0, 1046, 1047, 1, 0, 0, 0, 1047, 1234, 1, 0, 0, 0, 1048, 1049, 5, 253, 0, 0, 1049, 1050, 5, 256, 0, 0, 1050, 1051, 5, 103, 0, 0, 1051, 1234, 3, 254, 127, 0, 1052, 1053, 5, 253, 0, 0, 1053, 1054, 5, 256, 0, 0, 1054, 1055, 5, 103, 0, 0, 1055, 1056, 5, 1, 0, 0, 1056, 1057, 3, 18, 9, 0, 1057, 1058, 5, 2, 0, 0, 1058, 1234, 1, 0, 0, 0, 1059, 1061, 5, 253, 0, 0, 1060, 1062, 5, 56, 0, 0, 1061, 1060, 1, 0, 0, 0, 1061, 1062, 1, 0, 0, 0, 1062, 1063, 1, 0, 0, 0, 1063, 1066, 5, 236, 0, 0, 1064, 1065, 7, 2, 0, 0, 1065, 1067, 3, 268, 134, 0, 1066, 1064, 1, 0, 0, 0, 1066, 1067, 1, 0, 0, 0, 1067, 1234, 1, 0, 0, 0, 1068, 1069, 5, 253, 0, 0, 1069, 1070, 5, 235, 0, 0, 1070, 1073, 5, 112, 0, 0, 1071, 1072, 7, 2, 0, 0, 1072, 1074, 3, 268, 134, 0, 1073, 1071, 1, 0, 0, 0, 1073, 1074, 1, 0, 0, 0, 1074, 1234, 1, 0, 0, 0, 1075, 1076, 5, 76, 0, 0, 1076, 1234, 3, 254, 127, 0, 1077, 1078, 5, 75, 0, 0, 1078, 1234, 3, 254, 127, 0, 1079, 1080, 5, 253, 0, 0, 1080, 1083, 5, 108, 0, 0, 1081, 1082, 7, 2, 0, 0, 1082, 1084, 3, 264, 132, 0, 1083, 1081, 1, 0, 0, 0, 1083, 1084, 1, 0, 0, 0, 1084, 1091, 1, 0, 0, 0, 1085, 1086, 5, 154, 0, 0, 1086, 1089, 3, 168, 84, 0, 1087, 1088, 5, 90, 0, 0, 1088, 1090, 3, 168, 84, 0, 1089, 1087, 1, 0, 0, 0, 1089, 1090, 1, 0, 0, 0, 1090, 1092, 1, 0, 0, 0, 1091, 1085, 1, 0, 0, 0, 1091, 1092, 1, 0, 0, 0, 1092, 1234, 1, 0, 0, 0, 1093, 1094, 5, 253, 0, 0, 1094, 1101, 5, 250, 0, 0, 1095, 1096, 5, 154, 0, 0, 1096, 1099, 3, 168, 84, 0, 1097, 1098, 5, 90, 0, 0, 1098, 1100, 3, 168, 84, 0, 1099, 1097, 1, 0, 0, 0, 1099, 1100, 1, 0, 0, 0, 1100, 1102, 1, 0, 0, 0, 1101, 1095, 1, 0, 0, 0, 1101, 1102, 1, 0, 0, 0, 1102, 1234, 1, 0, 0, 0, 1103, 1104, 5, 251, 0, 0, 1104, 1105, 5, 250, 0, 0, 1105, 1106, 5, 31, 0, 0, 1106, 1234, 3, 298, 149, 0, 1107, 1108, 5, 227, 0, 0, 1108, 1109, 5, 250, 0, 0, 1109, 1234, 5, 31, 0, 0, 1110, 1111, 5, 251, 0, 0, 1111, 1112, 5, 250, 0, 0, 1112, 1113, 3, 280, 140, 0, 1113, 1114, 5, 312, 0, 0, 1114, 1115, 3, 136, 68, 0, 1115, 1234, 1, 0, 0, 0, 1116, 1117, 5, 227, 0, 0, 1117, 1118, 5, 250, 0, 0, 1118, 1234, 3, 280, 140, 0, 1119, 1120, 5, 255, 0, 0, 1120, 1129, 5, 271, 0, 0, 1121, 1126, 3, 214, 107, 0, 1122, 1123, 5, 3, 0, 0, 1123, 1125, 3, 214, 107, 0, 1124, 1122, 1, 0, 0, 0, 1125, 1128, 1, 0, 0, 0, 1126, 1124, 1, 0, 0, 0, 1126, 1127, 1, 0, 0, 0, 1127, 1130, 1, 0, 0, 0, 1128, 1126, 1, 0, 0, 0, 1129, 1121, 1, 0, 0, 0, 1129, 1130, 1, 0, 0, 0, 1130, 1234, 1, 0, 0, 0, 1131, 1133, 5, 47, 0, 0, 1132, 1134, 5, 307, 0, 0, 1133, 1132, 1, 0, 0, 0, 1133, 1134, 1, 0, 0, 0, 1134, 1234, 1, 0, 0, 0, 1135, 1137, 5, 237, 0, 0, 1136, 1138, 5, 307, 0, 0, 1137, 1136, 1, 0, 0, 0, 1137, 1138, 1, 0, 0, 0, 1138, 1234, 1, 0, 0, 0, 1139, 1140, 5, 214, 0, 0, 1140, 1141, 3, 294, 147, 0, 1141, 1142, 5, 105, 0, 0, 1142, 1143, 3, 16, 8, 0, 1143, 1234, 1, 0, 0, 0, 1144, 1145, 5, 68, 0, 0, 1145, 1146, 5, 214, 0, 0, 1146, 1234, 3, 294, 147, 0, 1147, 1148, 5, 93, 0, 0, 1148, 1158, 3, 294, 147, 0, 1149, 1150, 5, 290, 0, 0, 1150, 1155, 3, 136, 68, 0, 1151, 1152, 5, 3, 0, 0, 1152, 1154, 3, 136, 68, 0, 1153, 1151, 1, 0, 0, 0, 1154, 1157, 1, 0, 0, 0, 1155, 1153, 1, 0, 0, 0, 1155, 1156, 1, 0, 0, 0, 1156, 1159, 1, 0, 0, 0, 1157, 1155, 1, 0, 0, 0, 1158, 1149, 1, 0, 0, 0, 1158, 1159, 1, 0, 0, 0, 1159, 1234, 1, 0, 0, 0, 1160, 1161, 5, 93, 0, 0, 1161, 1162, 5, 121, 0, 0, 1162, 1172, 3, 168, 84, 0, 1163, 1164, 5, 290, 0, 0, 1164, 1169, 3, 136, 68, 0, 1165, 1166, 5, 3, 0, 0, 1166, 1168, 3, 136, 68, 0, 1167, 1165, 1, 0, 0, 0, 1168, 1171, 1, 0, 0, 0, 1169, 1167, 1, 0, 0, 0, 1169, 1170, 1, 0, 0, 0, 1170, 1173, 1, 0, 0, 0, 1171, 1169, 1, 0, 0, 0, 1172, 1163, 1, 0, 0, 0, 1172, 1173, 1, 0, 0, 0, 1173, 1234, 1, 0, 0, 0, 1174, 1175, 5, 76, 0, 0, 1175, 1176, 5, 126, 0, 0, 1176, 1234, 3, 294, 147, 0, 1177, 1178, 5, 76, 0, 0, 1178, 1179, 5, 198, 0, 0, 1179, 1234, 3, 294, 147, 0, 1180, 1181, 5, 251, 0, 0, 1181, 1182, 5, 205, 0, 0, 1182, 1234, 3, 222, 111, 0, 1183, 1184, 5, 251, 0, 0, 1184, 1185, 5, 267, 0, 0, 1185, 1188, 5, 311, 0, 0, 1186, 1189, 5, 157, 0, 0, 1187, 1189, 3, 136, 68, 0, 1188, 1186, 1, 0, 0, 0, 1188, 1187, 1, 0, 0, 0, 1189, 1234, 1, 0, 0, 0, 1190, 1191, 5, 287, 0, 0, 1191, 1192, 3, 256, 128, 0, 1192, 1193, 5, 251, 0, 0, 1193, 1198, 3, 210, 105, 0, 1194, 1195, 5, 3, 0, 0, 1195, 1197, 3, 210, 105, 0, 1196, 1194, 1, 0, 0, 0, 1197, 1200, 1, 0, 0, 0, 1198, 1196, 1, 0, 0, 0, 1198, 1199, 1, 0, 0, 0, 1199, 1203, 1, 0, 0, 0, 1200, 1198, 1, 0, 0, 0, 1201, 1202, 5, 301, 0, 0, 1202, 1204, 3, 138, 69, 0, 1203, 1201, 1, 0, 0, 0, 1203, 1204, 1, 0, 0, 0, 1204, 1234, 1, 0, 0, 0, 1205, 1206, 5, 169, 0, 0, 1206, 1207, 5, 130, 0, 0, 1207, 1212, 3, 256, 128, 0, 1208, 1210, 5, 28, 0, 0, 1209, 1208, 1, 0, 0, 0, 1209, 1210, 1, 0, 0, 0, 1210, 1211, 1, 0, 0, 0, 1211, 1213, 3, 294, 147, 0, 1212, 1209, 1, 0, 0, 0, 1212, 1213, 1, 0, 0, 0, 1213, 1214, 1, 0, 0, 0, 1214, 1215, 5, 290, 0, 0, 1215, 1216, 3, 72, 36, 0, 1216, 1217, 5, 190, 0, 0, 1217, 1219, 3, 136, 68, 0, 1218, 1220, 3, 194, 97, 0, 1219, 1218, 1, 0, 0, 0, 1220, 1221, 1, 0, 0, 0, 1221, 1219, 1, 0, 0, 0, 1221, 1222, 1, 0, 0, 0, 1222, 1234, 1, 0, 0, 0, 1223, 1224, 5, 253, 0, 0, 1224, 1225, 5, 46, 0, 0, 1225, 1226, 5, 190, 0, 0, 1226, 1227, 5, 260, 0, 0, 1227, 1234, 3, 256, 128, 0, 1228, 1229, 5, 253, 0, 0, 1229, 1230, 5, 46, 0, 0, 1230, 1231, 5, 190, 0, 0, 1231, 1232, 5, 44, 0, 0, 1232, 1234, 3, 276, 138, 0, 1233, 335, 1, 0, 0, 0, 1233, 336, 1, 0, 0, 0, 1233, 338, 1, 0, 0, 0, 1233, 360, 1, 0, 0, 0, 1233, 370, 1, 0, 0, 0, 1233, 386, 1, 0, 0, 0, 1233, 396, 1, 0, 0, 0, 1233, 403, 1, 0, 0, 0, 1233, 410, 1, 0, 0, 0, 1233, 448, 1, 0, 0, 0, 1233, 478, 1, 0, 0, 0, 1233, 485, 1, 0, 0, 0, 1233, 493, 1, 0, 0, 0, 1233, 500, 1, 0, 0, 0, 1233, 503, 1, 0, 0, 0, 1233, 512, 1, 0, 0, 0, 1233, 521, 1, 0, 0, 0, 1233, 530, 1, 0, 0, 0, 1233, 541, 1, 0, 0, 0, 1233, 557, 1, 0, 0, 0, 1233, 574, 1, 0, 0, 0, 1233, 589, 1, 0, 0, 0, 1233, 604, 1, 0, 0, 0, 1233, 618, 1, 0, 0, 0, 1233, 625, 1, 0, 0, 0, 1233, 632, 1, 0, 0, 0, 1233, 655, 1, 0, 0, 0, 1233, 661, 1, 0, 0, 0, 1233, 690, 1, 0, 0, 0, 1233, 712, 1, 0, 0, 0, 1233, 716, 1, 0, 0, 0, 1233, 724, 1, 0, 0, 0, 1233, 736, 1, 0, 0, 0, 1233, 744, 1, 0, 0, 0, 1233, 751, 1, 0, 0, 0, 1233, 758, 1, 0, 0, 0, 1233, 765, 1, 0, 0, 0, 1233, 780, 1, 0, 0, 0, 1233, 786, 1, 0, 0, 0, 1233, 793, 1, 0, 0, 0, 1233, 805, 1, 0, 0, 0, 1233, 812, 1, 0, 0, 0, 1233, 844, 1, 0, 0, 0, 1233, 866, 1, 0, 0, 0, 1233, 898, 1, 0, 0, 0, 1233, 921, 1, 0, 0, 0, 1233, 939, 1, 0, 0, 0, 1233, 950, 1, 0, 0, 0, 1233, 956, 1, 0, 0, 0, 1233, 971, 1, 0, 0, 0, 1233, 977, 1, 0, 0, 0, 1233, 981, 1, 0, 0, 0, 1233, 985, 1, 0, 0, 0, 1233, 989, 1, 0, 0, 0, 1233, 994, 1, 0, 0, 0, 1233, 998, 1, 0, 0, 0, 1233, 1012, 1, 0, 0, 0, 1233, 1026, 1, 0, 0, 0, 1233, 1036, 1, 0, 0, 0, 1233, 1048, 1, 0, 0, 0, 1233, 1052, 1, 0, 0, 0, 1233, 1059, 1, 0, 0, 0, 1233, 1068, 1, 0, 0, 0, 1233, 1075, 1, 0, 0, 0, 1233, 1077, 1, 0, 0, 0, 1233, 1079, 1, 0, 0, 0, 1233, 1093, 1, 0, 0, 0, 1233, 1103, 1, 0, 0, 0, 1233, 1107, 1, 0, 0, 0, 1233, 1110, 1, 0, 0, 0, 1233, 1116, 1, 0, 0, 0, 1233, 1119, 1, 0, 0, 0, 1233, 1131, 1, 0, 0, 0, 1233, 1135, 1, 0, 0, 0, 1233, 1139, 1, 0, 0, 0, 1233, 1144, 1, 0, 0, 0, 1233, 1147, 1, 0, 0, 0, 1233, 1160, 1, 0, 0, 0, 1233, 1174, 1, 0, 0, 0, 1233, 1177, 1, 0, 0, 0, 1233, 1180, 1, 0, 0, 0, 1233, 1183, 1, 0, 0, 0, 1233, 1190, 1, 0, 0, 0, 1233, 1205, 1, 0, 0, 0, 1233, 1223, 1, 0, 0, 0, 1233, 1228, 1, 0, 0, 0, 1234, 17, 1, 0, 0, 0, 1235, 1237, 3, 20, 10, 0, 1236, 1235, 1, 0, 0, 0, 1236, 1237, 1, 0, 0, 0, 1237, 1238, 1, 0, 0, 0, 1238, 1239, 3, 22, 11, 0, 1239, 19, 1, 0, 0, 0, 1240, 1241, 5, 304, 0, 0, 1241, 1246, 3, 224, 112, 0, 1242, 1243, 5, 3, 0, 0, 1243, 1245, 3, 224, 112, 0, 1244, 1242, 1, 0, 0, 0, 1245, 1248, 1, 0, 0, 0, 1246, 1244, 1, 0, 0, 0, 1246, 1247, 1, 0, 0, 0, 1247, 21, 1, 0, 0, 0, 1248, 1246, 1, 0, 0, 0, 1249, 1251, 3, 24, 12, 0, 1250, 1249, 1, 0, 0, 0, 1250, 1251, 1, 0, 0, 0, 1251, 1252, 1, 0, 0, 0, 1252, 1253, 3, 40, 20, 0, 1253, 23, 1, 0, 0, 0, 1254, 1256, 5, 304, 0, 0, 1255, 1257, 5, 221, 0, 0, 1256, 1255, 1, 0, 0, 0, 1256, 1257, 1, 0, 0, 0, 1257, 1258, 1, 0, 0, 0, 1258, 1263, 3, 66, 33, 0, 1259, 1260, 5, 3, 0, 0, 1260, 1262, 3, 66, 33, 0, 1261, 1259, 1, 0, 0, 0, 1262, 1265, 1, 0, 0, 0, 1263, 1261, 1, 0, 0, 0, 1263, 1264, 1, 0, 0, 0, 1264, 25, 1, 0, 0, 0, 1265, 1263, 1, 0, 0, 0, 1266, 1269, 3, 28, 14, 0, 1267, 1269, 3, 30, 15, 0, 1268, 1266, 1, 0, 0, 0, 1268, 1267, 1, 0, 0, 0, 1269, 27, 1, 0, 0, 0, 1270, 1271, 3, 278, 139, 0, 1271, 1274, 3, 184, 92, 0, 1272, 1273, 5, 182, 0, 0, 1273, 1275, 5, 183, 0, 0, 1274, 1272, 1, 0, 0, 0, 1274, 1275, 1, 0, 0, 0, 1275, 1278, 1, 0, 0, 0, 1276, 1277, 5, 46, 0, 0, 1277, 1279, 3, 168, 84, 0, 1278, 1276, 1, 0, 0, 0, 1278, 1279, 1, 0, 0, 0, 1279, 1282, 1, 0, 0, 0, 1280, 1281, 5, 304, 0, 0, 1281, 1283, 3, 32, 16, 0, 1282, 1280, 1, 0, 0, 0, 1282, 1283, 1, 0, 0, 0, 1283, 29, 1, 0, 0, 0, 1284, 1285, 5, 154, 0, 0, 1285, 1288, 3, 256, 128, 0, 1286, 1287, 7, 3, 0, 0, 1287, 1289, 5, 216, 0, 0, 1288, 1286, 1, 0, 0, 0, 1288, 1289, 1, 0, 0, 0, 1289, 31, 1, 0, 0, 0, 1290, 1291, 5, 1, 0, 0, 1291, 1292, 3, 34, 17, 0, 1292, 1293, 5, 2, 0, 0, 1293, 33, 1, 0, 0, 0, 1294, 1299, 3, 36, 18, 0, 1295, 1296, 5, 3, 0, 0, 1296, 1298, 3, 36, 18, 0, 1297, 1295, 1, 0, 0, 0, 1298, 1301, 1, 0, 0, 0, 1299, 1297, 1, 0, 0, 0, 1299, 1300, 1, 0, 0, 0, 1300, 35, 1, 0, 0, 0, 1301, 1299, 1, 0, 0, 0, 1302, 1303, 3, 294, 147, 0, 1303, 1304, 5, 312, 0, 0, 1304, 1305, 3, 38, 19, 0, 1305, 37, 1, 0, 0, 0, 1306, 1309, 5, 70, 0, 0, 1307, 1309, 3, 136, 68, 0, 1308, 1306, 1, 0, 0, 0, 1308, 1307, 1, 0, 0, 0, 1309, 39, 1, 0, 0, 0, 1310, 1321, 3, 46, 23, 0, 1311, 1312, 5, 195, 0, 0, 1312, 1313, 5, 36, 0, 0, 1313, 1318, 3, 50, 25, 0, 1314, 1315, 5, 3, 0, 0, 1315, 1317, 3, 50, 25, 0, 1316, 1314, 1, 0, 0, 0, 1317, 1320, 1, 0, 0, 0, 1318, 1316, 1, 0, 0, 0, 1318, 1319, 1, 0, 0, 0, 1319, 1322, 1, 0, 0, 0, 1320, 1318, 1, 0, 0, 0, 1321, 1311, 1, 0, 0, 0, 1321, 1322, 1, 0, 0, 0, 1322, 1328, 1, 0, 0, 0, 1323, 1324, 5, 188, 0, 0, 1324, 1326, 3, 44, 22, 0, 1325, 1327, 7, 4, 0, 0, 1326, 1325, 1, 0, 0, 0, 1326, 1327, 1, 0, 0, 0, 1327, 1329, 1, 0, 0, 0, 1328, 1323, 1, 0, 0, 0, 1328, 1329, 1, 0, 0, 0, 1329, 1343, 1, 0, 0, 0, 1330, 1331, 5, 155, 0, 0, 1331, 1344, 3, 42, 21, 0, 1332, 1333, 5, 98, 0, 0, 1333, 1335, 7, 5, 0, 0, 1334, 1336, 3, 44, 22, 0, 1335, 1334, 1, 0, 0, 0, 1335, 1336, 1, 0, 0, 0, 1336, 1337, 1, 0, 0, 0, 1337, 1341, 7, 4, 0, 0, 1338, 1342, 5, 192, 0, 0, 1339, 1340, 5, 304, 0, 0, 1340, 1342, 5, 266, 0, 0, 1341, 1338, 1, 0, 0, 0, 1341, 1339, 1, 0, 0, 0, 1342, 1344, 1, 0, 0, 0, 1343, 1330, 1, 0, 0, 0, 1343, 1332, 1, 0, 0, 0, 1343, 1344, 1, 0, 0, 0, 1344, 41, 1, 0, 0, 0, 1345, 1348, 5, 22, 0, 0, 1346, 1348, 3, 44, 22, 0, 1347, 1345, 1, 0, 0, 0, 1347, 1346, 1, 0, 0, 0, 1348, 43, 1, 0, 0, 0, 1349, 1350, 7, 6, 0, 0, 1350, 45, 1, 0, 0, 0, 1351, 1352, 6, 23, -1, 0, 1352, 1353, 3, 48, 24, 0, 1353, 1368, 1, 0, 0, 0, 1354, 1355, 10, 2, 0, 0, 1355, 1357, 5, 128, 0, 0, 1356, 1358, 3, 68, 34, 0, 1357, 1356, 1, 0, 0, 0, 1357, 1358, 1, 0, 0, 0, 1358, 1359, 1, 0, 0, 0, 1359, 1367, 3, 46, 23, 3, 1360, 1361, 10, 1, 0, 0, 1361, 1363, 7, 7, 0, 0, 1362, 1364, 3, 68, 34, 0, 1363, 1362, 1, 0, 0, 0, 1363, 1364, 1, 0, 0, 0, 1364, 1365, 1, 0, 0, 0, 1365, 1367, 3, 46, 23, 2, 1366, 1354, 1, 0, 0, 0, 1366, 1360, 1, 0, 0, 0, 1367, 1370, 1, 0, 0, 0, 1368, 1366, 1, 0, 0, 0, 1368, 1369, 1, 0, 0, 0, 1369, 47, 1, 0, 0, 0, 1370, 1368, 1, 0, 0, 0, 1371, 1388, 3, 52, 26, 0, 1372, 1373, 5, 260, 0, 0, 1373, 1388, 3, 256, 128, 0, 1374, 1375, 5, 296, 0, 0, 1375, 1380, 3, 136, 68, 0, 1376, 1377, 5, 3, 0, 0, 1377, 1379, 3, 136, 68, 0, 1378, 1376, 1, 0, 0, 0, 1379, 1382, 1, 0, 0, 0, 1380, 1378, 1, 0, 0, 0, 1380, 1381, 1, 0, 0, 0, 1381, 1388, 1, 0, 0, 0, 1382, 1380, 1, 0, 0, 0, 1383, 1384, 5, 1, 0, 0, 1384, 1385, 3, 40, 20, 0, 1385, 1386, 5, 2, 0, 0, 1386, 1388, 1, 0, 0, 0, 1387, 1371, 1, 0, 0, 0, 1387, 1372, 1, 0, 0, 0, 1387, 1374, 1, 0, 0, 0, 1387, 1383, 1, 0, 0, 0, 1388, 49, 1, 0, 0, 0, 1389, 1392, 3, 276, 138, 0, 1390, 1392, 3, 136, 68, 0, 1391, 1389, 1, 0, 0, 0, 1391, 1390, 1, 0, 0, 0, 1392, 1394, 1, 0, 0, 0, 1393, 1395, 7, 8, 0, 0, 1394, 1393, 1, 0, 0, 0, 1394, 1395, 1, 0, 0, 0, 1395, 1398, 1, 0, 0, 0, 1396, 1397, 5, 185, 0, 0, 1397, 1399, 7, 9, 0, 0, 1398, 1396, 1, 0, 0, 0, 1398, 1399, 1, 0, 0, 0, 1399, 51, 1, 0, 0, 0, 1400, 1402, 5, 248, 0, 0, 1401, 1403, 3, 68, 34, 0, 1402, 1401, 1, 0, 0, 0, 1402, 1403, 1, 0, 0, 0, 1403, 1404, 1, 0, 0, 0, 1404, 1409, 3, 70, 35, 0, 1405, 1406, 5, 3, 0, 0, 1406, 1408, 3, 70, 35, 0, 1407, 1405, 1, 0, 0, 0, 1408, 1411, 1, 0, 0, 0, 1409, 1407, 1, 0, 0, 0, 1409, 1410, 1, 0, 0, 0, 1410, 1421, 1, 0, 0, 0, 1411, 1409, 1, 0, 0, 0, 1412, 1413, 5, 105, 0, 0, 1413, 1418, 3, 72, 36, 0, 1414, 1415, 5, 3, 0, 0, 1415, 1417, 3, 72, 36, 0, 1416, 1414, 1, 0, 0, 0, 1417, 1420, 1, 0, 0, 0, 1418, 1416, 1, 0, 0, 0, 1418, 1419, 1, 0, 0, 0, 1419, 1422, 1, 0, 0, 0, 1420, 1418, 1, 0, 0, 0, 1421, 1412, 1, 0, 0, 0, 1421, 1422, 1, 0, 0, 0, 1422, 1425, 1, 0, 0, 0, 1423, 1424, 5, 301, 0, 0, 1424, 1426, 3, 138, 69, 0, 1425, 1423, 1, 0, 0, 0, 1425, 1426, 1, 0, 0, 0, 1426, 1430, 1, 0, 0, 0, 1427, 1428, 5, 114, 0, 0, 1428, 1429, 5, 36, 0, 0, 1429, 1431, 3, 54, 27, 0, 1430, 1427, 1, 0, 0, 0, 1430, 1431, 1, 0, 0, 0, 1431, 1434, 1, 0, 0, 0, 1432, 1433, 5, 117, 0, 0, 1433, 1435, 3, 138, 69, 0, 1434, 1432, 1, 0, 0, 0, 1434, 1435, 1, 0, 0, 0, 1435, 1445, 1, 0, 0, 0, 1436, 1437, 5, 303, 0, 0, 1437, 1442, 3, 62, 31, 0, 1438, 1439, 5, 3, 0, 0, 1439, 1441, 3, 62, 31, 0, 1440, 1438, 1, 0, 0, 0, 1441, 1444, 1, 0, 0, 0, 1442, 1440, 1, 0, 0, 0, 1442, 1443, 1, 0, 0, 0, 1443, 1446, 1, 0, 0, 0, 1444, 1442, 1, 0, 0, 0, 1445, 1436, 1, 0, 0, 0, 1445, 1446, 1, 0, 0, 0, 1446, 53, 1, 0, 0, 0, 1447, 1449, 3, 68, 34, 0, 1448, 1447, 1, 0, 0, 0, 1448, 1449, 1, 0, 0, 0, 1449, 1450, 1, 0, 0, 0, 1450, 1455, 3, 56, 28, 0, 1451, 1452, 5, 3, 0, 0, 1452, 1454, 3, 56, 28, 0, 1453, 1451, 1, 0, 0, 0, 1454, 1457, 1, 0, 0, 0, 1455, 1453, 1, 0, 0, 0, 1455, 1456, 1, 0, 0, 0, 1456, 55, 1, 0, 0, 0, 1457, 1455, 1, 0, 0, 0, 1458, 1499, 3, 58, 29, 0, 1459, 1460, 5, 238, 0, 0, 1460, 1469, 5, 1, 0, 0, 1461, 1466, 3, 58, 29, 0, 1462, 1463, 5, 3, 0, 0, 1463, 1465, 3, 58, 29, 0, 1464, 1462, 1, 0, 0, 0, 1465, 1468, 1, 0, 0, 0, 1466, 1464, 1, 0, 0, 0, 1466, 1467, 1, 0, 0, 0, 1467, 1470, 1, 0, 0, 0, 1468, 1466, 1, 0, 0, 0, 1469, 1461, 1, 0, 0, 0, 1469, 1470, 1, 0, 0, 0, 1470, 1471, 1, 0, 0, 0, 1471, 1499, 5, 2, 0, 0, 1472, 1473, 5, 55, 0, 0, 1473, 1482, 5, 1, 0, 0, 1474, 1479, 3, 58, 29, 0, 1475, 1476, 5, 3, 0, 0, 1476, 1478, 3, 58, 29, 0, 1477, 1475, 1, 0, 0, 0, 1478, 1481, 1, 0, 0, 0, 1479, 1477, 1, 0, 0, 0, 1479, 1480, 1, 0, 0, 0, 1480, 1483, 1, 0, 0, 0, 1481, 1479, 1, 0, 0, 0, 1482, 1474, 1, 0, 0, 0, 1482, 1483, 1, 0, 0, 0, 1483, 1484, 1, 0, 0, 0, 1484, 1499, 5, 2, 0, 0, 1485, 1486, 5, 115, 0, 0, 1486, 1487, 5, 252, 0, 0, 1487, 1488, 5, 1, 0, 0, 1488, 1493, 3, 58, 29, 0, 1489, 1490, 5, 3, 0, 0, 1490, 1492, 3, 58, 29, 0, 1491, 1489, 1, 0, 0, 0, 1492, 1495, 1, 0, 0, 0, 1493, 1491, 1, 0, 0, 0, 1493, 1494, 1, 0, 0, 0, 1494, 1496, 1, 0, 0, 0, 1495, 1493, 1, 0, 0, 0, 1496, 1497, 5, 2, 0, 0, 1497, 1499, 1, 0, 0, 0, 1498, 1458, 1, 0, 0, 0, 1498, 1459, 1, 0, 0, 0, 1498, 1472, 1, 0, 0, 0, 1498, 1485, 1, 0, 0, 0, 1499, 57, 1, 0, 0, 0, 1500, 1509, 5, 1, 0, 0, 1501, 1506, 3, 60, 30, 0, 1502, 1503, 5, 3, 0, 0, 1503, 1505, 3, 60, 30, 0, 1504, 1502, 1, 0, 0, 0, 1505, 1508, 1, 0, 0, 0, 1506, 1504, 1, 0, 0, 0, 1506, 1507, 1, 0, 0, 0, 1507, 1510, 1, 0, 0, 0, 1508, 1506, 1, 0, 0, 0, 1509, 1501, 1, 0, 0, 0, 1509, 1510, 1, 0, 0, 0, 1510, 1511, 1, 0, 0, 0, 1511, 1514, 5, 2, 0, 0, 1512, 1514, 3, 60, 30, 0, 1513, 1500, 1, 0, 0, 0, 1513, 1512, 1, 0, 0, 0, 1514, 59, 1, 0, 0, 0, 1515, 1518, 3, 276, 138, 0, 1516, 1518, 3, 136, 68, 0, 1517, 1515, 1, 0, 0, 0, 1517, 1516, 1, 0, 0, 0, 1518, 61, 1, 0, 0, 0, 1519, 1520, 3, 294, 147, 0, 1520, 1521, 5, 28, 0, 0, 1521, 1522, 5, 1, 0, 0, 1522, 1523, 3, 64, 32, 0, 1523, 1524, 5, 2, 0, 0, 1524, 63, 1, 0, 0, 0, 1525, 1527, 3, 294, 147, 0, 1526, 1525, 1, 0, 0, 0, 1526, 1527, 1, 0, 0, 0, 1527, 1538, 1, 0, 0, 0, 1528, 1529, 5, 201, 0, 0, 1529, 1530, 5, 36, 0, 0, 1530, 1535, 3, 136, 68, 0, 1531, 1532, 5, 3, 0, 0, 1532, 1534, 3, 136, 68, 0, 1533, 1531, 1, 0, 0, 0, 1534, 1537, 1, 0, 0, 0, 1535, 1533, 1, 0, 0, 0, 1535, 1536, 1, 0, 0, 0, 1536, 1539, 1, 0, 0, 0, 1537, 1535, 1, 0, 0, 0, 1538, 1528, 1, 0, 0, 0, 1538, 1539, 1, 0, 0, 0, 1539, 1550, 1, 0, 0, 0, 1540, 1541, 5, 195, 0, 0, 1541, 1542, 5, 36, 0, 0, 1542, 1547, 3, 50, 25, 0, 1543, 1544, 5, 3, 0, 0, 1544, 1546, 3, 50, 25, 0, 1545, 1543, 1, 0, 0, 0, 1546, 1549, 1, 0, 0, 0, 1547, 1545, 1, 0, 0, 0, 1547, 1548, 1, 0, 0, 0, 1548, 1551, 1, 0, 0, 0, 1549, 1547, 1, 0, 0, 0, 1550, 1540, 1, 0, 0, 0, 1550, 1551, 1, 0, 0, 0, 1551, 1553, 1, 0, 0, 0, 1552, 1554, 3, 198, 99, 0, 1553, 1552, 1, 0, 0, 0, 1553, 1554, 1, 0, 0, 0, 1554, 65, 1, 0, 0, 0, 1555, 1557, 3, 294, 147, 0, 1556, 1558, 3, 108, 54, 0, 1557, 1556, 1, 0, 0, 0, 1557, 1558, 1, 0, 0, 0, 1558, 1559, 1, 0, 0, 0, 1559, 1560, 5, 28, 0, 0, 1560, 1561, 5, 1, 0, 0, 1561, 1562, 3, 22, 11, 0, 1562, 1563, 5, 2, 0, 0, 1563, 67, 1, 0, 0, 0, 1564, 1565, 7, 10, 0, 0, 1565, 69, 1, 0, 0, 0, 1566, 1569, 3, 276, 138, 0, 1567, 1569, 3, 136, 68, 0, 1568, 1566, 1, 0, 0, 0, 1568, 1567, 1, 0, 0, 0, 1569, 1574, 1, 0, 0, 0, 1570, 1572, 5, 28, 0, 0, 1571, 1570, 1, 0, 0, 0, 1571, 1572, 1, 0, 0, 0, 1572, 1573, 1, 0, 0, 0, 1573, 1575, 3, 294, 147, 0, 1574, 1571, 1, 0, 0, 0, 1574, 1575, 1, 0, 0, 0, 1575, 1585, 1, 0, 0, 0, 1576, 1577, 3, 144, 72, 0, 1577, 1578, 5, 4, 0, 0, 1578, 1581, 5, 320, 0, 0, 1579, 1580, 5, 28, 0, 0, 1580, 1582, 3, 108, 54, 0, 1581, 1579, 1, 0, 0, 0, 1581, 1582, 1, 0, 0, 0, 1582, 1585, 1, 0, 0, 0, 1583, 1585, 5, 320, 0, 0, 1584, 1568, 1, 0, 0, 0, 1584, 1576, 1, 0, 0, 0, 1584, 1583, 1, 0, 0, 0, 1585, 71, 1, 0, 0, 0, 1586, 1587, 6, 36, -1, 0, 1587, 1588, 3, 78, 39, 0, 1588, 1607, 1, 0, 0, 0, 1589, 1603, 10, 2, 0, 0, 1590, 1591, 5, 54, 0, 0, 1591, 1592, 5, 136, 0, 0, 1592, 1604, 3, 78, 39, 0, 1593, 1594, 3, 74, 37, 0, 1594, 1595, 5, 136, 0, 0, 1595, 1596, 3, 72, 36, 0, 1596, 1597, 3, 76, 38, 0, 1597, 1604, 1, 0, 0, 0, 1598, 1599, 5, 172, 0, 0, 1599, 1600, 3, 74, 37, 0, 1600, 1601, 5, 136, 0, 0, 1601, 1602, 3, 78, 39, 0, 1602, 1604, 1, 0, 0, 0, 1603, 1590, 1, 0, 0, 0, 1603, 1593, 1, 0, 0, 0, 1603, 1598, 1, 0, 0, 0, 1604, 1606, 1, 0, 0, 0, 1605, 1589, 1, 0, 0, 0, 1606, 1609, 1, 0, 0, 0, 1607, 1605, 1, 0, 0, 0, 1607, 1608, 1, 0, 0, 0, 1608, 73, 1, 0, 0, 0, 1609, 1607, 1, 0, 0, 0, 1610, 1612, 5, 125, 0, 0, 1611, 1610, 1, 0, 0, 0, 1611, 1612, 1, 0, 0, 0, 1612, 1626, 1, 0, 0, 0, 1613, 1615, 5, 152, 0, 0, 1614, 1616, 5, 197, 0, 0, 1615, 1614, 1, 0, 0, 0, 1615, 1616, 1, 0, 0, 0, 1616, 1626, 1, 0, 0, 0, 1617, 1619, 5, 234, 0, 0, 1618, 1620, 5, 197, 0, 0, 1619, 1618, 1, 0, 0, 0, 1619, 1620, 1, 0, 0, 0, 1620, 1626, 1, 0, 0, 0, 1621, 1623, 5, 106, 0, 0, 1622, 1624, 5, 197, 0, 0, 1623, 1622, 1, 0, 0, 0, 1623, 1624, 1, 0, 0, 0, 1624, 1626, 1, 0, 0, 0, 1625, 1611, 1, 0, 0, 0, 1625, 1613, 1, 0, 0, 0, 1625, 1617, 1, 0, 0, 0, 1625, 1621, 1, 0, 0, 0, 1626, 75, 1, 0, 0, 0, 1627, 1628, 5, 190, 0, 0, 1628, 1642, 3, 138, 69, 0, 1629, 1630, 5, 290, 0, 0, 1630, 1631, 5, 1, 0, 0, 1631, 1636, 3, 294, 147, 0, 1632, 1633, 5, 3, 0, 0, 1633, 1635, 3, 294, 147, 0, 1634, 1632, 1, 0, 0, 0, 1635, 1638, 1, 0, 0, 0, 1636, 1634, 1, 0, 0, 0, 1636, 1637, 1, 0, 0, 0, 1637, 1639, 1, 0, 0, 0, 1638, 1636, 1, 0, 0, 0, 1639, 1640, 5, 2, 0, 0, 1640, 1642, 1, 0, 0, 0, 1641, 1627, 1, 0, 0, 0, 1641, 1629, 1, 0, 0, 0, 1642, 77, 1, 0, 0, 0, 1643, 1650, 3, 88, 44, 0, 1644, 1645, 5, 262, 0, 0, 1645, 1646, 3, 80, 40, 0, 1646, 1647, 5, 1, 0, 0, 1647, 1648, 3, 136, 68, 0, 1648, 1649, 5, 2, 0, 0, 1649, 1651, 1, 0, 0, 0, 1650, 1644, 1, 0, 0, 0, 1650, 1651, 1, 0, 0, 0, 1651, 79, 1, 0, 0, 0, 1652, 1653, 7, 11, 0, 0, 1653, 81, 1, 0, 0, 0, 1654, 1655, 7, 12, 0, 0, 1655, 83, 1, 0, 0, 0, 1656, 1663, 5, 89, 0, 0, 1657, 1659, 5, 274, 0, 0, 1658, 1660, 3, 168, 84, 0, 1659, 1658, 1, 0, 0, 0, 1659, 1660, 1, 0, 0, 0, 1660, 1661, 1, 0, 0, 0, 1661, 1663, 3, 86, 43, 0, 1662, 1656, 1, 0, 0, 0, 1662, 1657, 1, 0, 0, 0, 1663, 85, 1, 0, 0, 0, 1664, 1665, 5, 304, 0, 0, 1665, 1669, 5, 51, 0, 0, 1666, 1667, 5, 306, 0, 0, 1667, 1669, 5, 51, 0, 0, 1668, 1664, 1, 0, 0, 0, 1668, 1666, 1, 0, 0, 0, 1669, 87, 1, 0, 0, 0, 1670, 1753, 3, 102, 51, 0, 1671, 1672, 5, 166, 0, 0, 1672, 1683, 5, 1, 0, 0, 1673, 1674, 5, 201, 0, 0, 1674, 1675, 5, 36, 0, 0, 1675, 1680, 3, 136, 68, 0, 1676, 1677, 5, 3, 0, 0, 1677, 1679, 3, 136, 68, 0, 1678, 1676, 1, 0, 0, 0, 1679, 1682, 1, 0, 0, 0, 1680, 1678, 1, 0, 0, 0, 1680, 1681, 1, 0, 0, 0, 1681, 1684, 1, 0, 0, 0, 1682, 1680, 1, 0, 0, 0, 1683, 1673, 1, 0, 0, 0, 1683, 1684, 1, 0, 0, 0, 1684, 1695, 1, 0, 0, 0, 1685, 1686, 5, 195, 0, 0, 1686, 1687, 5, 36, 0, 0, 1687, 1692, 3, 50, 25, 0, 1688, 1689, 5, 3, 0, 0, 1689, 1691, 3, 50, 25, 0, 1690, 1688, 1, 0, 0, 0, 1691, 1694, 1, 0, 0, 0, 1692, 1690, 1, 0, 0, 0, 1692, 1693, 1, 0, 0, 0, 1693, 1696, 1, 0, 0, 0, 1694, 1692, 1, 0, 0, 0, 1695, 1685, 1, 0, 0, 0, 1695, 1696, 1, 0, 0, 0, 1696, 1706, 1, 0, 0, 0, 1697, 1698, 5, 168, 0, 0, 1698, 1703, 3, 90, 45, 0, 1699, 1700, 5, 3, 0, 0, 1700, 1702, 3, 90, 45, 0, 1701, 1699, 1, 0, 0, 0, 1702, 1705, 1, 0, 0, 0, 1703, 1701, 1, 0, 0, 0, 1703, 1704, 1, 0, 0, 0, 1704, 1707, 1, 0, 0, 0, 1705, 1703, 1, 0, 0, 0, 1706, 1697, 1, 0, 0, 0, 1706, 1707, 1, 0, 0, 0, 1707, 1709, 1, 0, 0, 0, 1708, 1710, 3, 92, 46, 0, 1709, 1708, 1, 0, 0, 0, 1709, 1710, 1, 0, 0, 0, 1710, 1714, 1, 0, 0, 0, 1711, 1712, 5, 21, 0, 0, 1712, 1713, 5, 163, 0, 0, 1713, 1715, 3, 96, 48, 0, 1714, 1711, 1, 0, 0, 0, 1714, 1715, 1, 0, 0, 0, 1715, 1717, 1, 0, 0, 0, 1716, 1718, 7, 13, 0, 0, 1717, 1716, 1, 0, 0, 0, 1717, 1718, 1, 0, 0, 0, 1718, 1719, 1, 0, 0, 0, 1719, 1720, 5, 206, 0, 0, 1720, 1721, 5, 1, 0, 0, 1721, 1722, 3, 204, 102, 0, 1722, 1732, 5, 2, 0, 0, 1723, 1724, 5, 257, 0, 0, 1724, 1729, 3, 98, 49, 0, 1725, 1726, 5, 3, 0, 0, 1726, 1728, 3, 98, 49, 0, 1727, 1725, 1, 0, 0, 0, 1728, 1731, 1, 0, 0, 0, 1729, 1727, 1, 0, 0, 0, 1729, 1730, 1, 0, 0, 0, 1730, 1733, 1, 0, 0, 0, 1731, 1729, 1, 0, 0, 0, 1732, 1723, 1, 0, 0, 0, 1732, 1733, 1, 0, 0, 0, 1733, 1734, 1, 0, 0, 0, 1734, 1735, 5, 71, 0, 0, 1735, 1740, 3, 100, 50, 0, 1736, 1737, 5, 3, 0, 0, 1737, 1739, 3, 100, 50, 0, 1738, 1736, 1, 0, 0, 0, 1739, 1742, 1, 0, 0, 0, 1740, 1738, 1, 0, 0, 0, 1740, 1741, 1, 0, 0, 0, 1741, 1743, 1, 0, 0, 0, 1742, 1740, 1, 0, 0, 0, 1743, 1751, 5, 2, 0, 0, 1744, 1746, 5, 28, 0, 0, 1745, 1744, 1, 0, 0, 0, 1745, 1746, 1, 0, 0, 0, 1746, 1747, 1, 0, 0, 0, 1747, 1749, 3, 294, 147, 0, 1748, 1750, 3, 108, 54, 0, 1749, 1748, 1, 0, 0, 0, 1749, 1750, 1, 0, 0, 0, 1750, 1752, 1, 0, 0, 0, 1751, 1745, 1, 0, 0, 0, 1751, 1752, 1, 0, 0, 0, 1752, 1754, 1, 0, 0, 0, 1753, 1671, 1, 0, 0, 0, 1753, 1754, 1, 0, 0, 0, 1754, 89, 1, 0, 0, 0, 1755, 1756, 3, 136, 68, 0, 1756, 1757, 5, 28, 0, 0, 1757, 1758, 3, 294, 147, 0, 1758, 91, 1, 0, 0, 0, 1759, 1760, 5, 191, 0, 0, 1760, 1761, 5, 239, 0, 0, 1761, 1762, 5, 207, 0, 0, 1762, 1771, 5, 163, 0, 0, 1763, 1764, 5, 22, 0, 0, 1764, 1765, 5, 240, 0, 0, 1765, 1766, 5, 207, 0, 0, 1766, 1768, 5, 163, 0, 0, 1767, 1769, 3, 94, 47, 0, 1768, 1767, 1, 0, 0, 0, 1768, 1769, 1, 0, 0, 0, 1769, 1771, 1, 0, 0, 0, 1770, 1759, 1, 0, 0, 0, 1770, 1763, 1, 0, 0, 0, 1771, 93, 1, 0, 0, 0, 1772, 1773, 5, 253, 0, 0, 1773, 1774, 5, 85, 0, 0, 1774, 1782, 5, 165, 0, 0, 1775, 1776, 5, 189, 0, 0, 1776, 1777, 5, 85, 0, 0, 1777, 1782, 5, 165, 0, 0, 1778, 1779, 5, 304, 0, 0, 1779, 1780, 5, 284, 0, 0, 1780, 1782, 5, 240, 0, 0, 1781, 1772, 1, 0, 0, 0, 1781, 1775, 1, 0, 0, 0, 1781, 1778, 1, 0, 0, 0, 1782, 95, 1, 0, 0, 0, 1783, 1784, 5, 5, 0, 0, 1784, 1785, 5, 269, 0, 0, 1785, 1786, 5, 174, 0, 0, 1786, 1803, 5, 239, 0, 0, 1787, 1788, 5, 5, 0, 0, 1788, 1789, 5, 204, 0, 0, 1789, 1790, 5, 148, 0, 0, 1790, 1803, 5, 239, 0, 0, 1791, 1792, 5, 5, 0, 0, 1792, 1793, 5, 269, 0, 0, 1793, 1794, 5, 101, 0, 0, 1794, 1803, 3, 294, 147, 0, 1795, 1796, 5, 5, 0, 0, 1796, 1797, 5, 269, 0, 0, 1797, 1798, 5, 148, 0, 0, 1798, 1803, 3, 294, 147, 0, 1799, 1800, 5, 5, 0, 0, 1800, 1801, 5, 269, 0, 0, 1801, 1803, 3, 294, 147, 0, 1802, 1783, 1, 0, 0, 0, 1802, 1787, 1, 0, 0, 0, 1802, 1791, 1, 0, 0, 0, 1802, 1795, 1, 0, 0, 0, 1802, 1799, 1, 0, 0, 0, 1803, 97, 1, 0, 0, 0, 1804, 1805, 3, 294, 147, 0, 1805, 1806, 5, 312, 0, 0, 1806, 1807, 5, 1, 0, 0, 1807, 1812, 3, 294, 147, 0, 1808, 1809, 5, 3, 0, 0, 1809, 1811, 3, 294, 147, 0, 1810, 1808, 1, 0, 0, 0, 1811, 1814, 1, 0, 0, 0, 1812, 1810, 1, 0, 0, 0, 1812, 1813, 1, 0, 0, 0, 1813, 1815, 1, 0, 0, 0, 1814, 1812, 1, 0, 0, 0, 1815, 1816, 5, 2, 0, 0, 1816, 99, 1, 0, 0, 0, 1817, 1818, 3, 294, 147, 0, 1818, 1819, 5, 28, 0, 0, 1819, 1820, 3, 136, 68, 0, 1820, 101, 1, 0, 0, 0, 1821, 1829, 3, 110, 55, 0, 1822, 1824, 5, 28, 0, 0, 1823, 1822, 1, 0, 0, 0, 1823, 1824, 1, 0, 0, 0, 1824, 1825, 1, 0, 0, 0, 1825, 1827, 3, 294, 147, 0, 1826, 1828, 3, 108, 54, 0, 1827, 1826, 1, 0, 0, 0, 1827, 1828, 1, 0, 0, 0, 1828, 1830, 1, 0, 0, 0, 1829, 1823, 1, 0, 0, 0, 1829, 1830, 1, 0, 0, 0, 1830, 103, 1, 0, 0, 0, 1831, 1832, 5, 1, 0, 0, 1832, 1837, 3, 278, 139, 0, 1833, 1834, 5, 3, 0, 0, 1834, 1836, 3, 278, 139, 0, 1835, 1833, 1, 0, 0, 0, 1836, 1839, 1, 0, 0, 0, 1837, 1835, 1, 0, 0, 0, 1837, 1838, 1, 0, 0, 0, 1838, 1840, 1, 0, 0, 0, 1839, 1837, 1, 0, 0, 0, 1840, 1841, 5, 2, 0, 0, 1841, 105, 1, 0, 0, 0, 1842, 1843, 5, 1, 0, 0, 1843, 1848, 3, 276, 138, 0, 1844, 1845, 5, 3, 0, 0, 1845, 1847, 3, 276, 138, 0, 1846, 1844, 1, 0, 0, 0, 1847, 1850, 1, 0, 0, 0, 1848, 1846, 1, 0, 0, 0, 1848, 1849, 1, 0, 0, 0, 1849, 1851, 1, 0, 0, 0, 1850, 1848, 1, 0, 0, 0, 1851, 1852, 5, 2, 0, 0, 1852, 107, 1, 0, 0, 0, 1853, 1854, 5, 1, 0, 0, 1854, 1859, 3, 294, 147, 0, 1855, 1856, 5, 3, 0, 0, 1856, 1858, 3, 294, 147, 0, 1857, 1855, 1, 0, 0, 0, 1858, 1861, 1, 0, 0, 0, 1859, 1857, 1, 0, 0, 0, 1859, 1860, 1, 0, 0, 0, 1860, 1862, 1, 0, 0, 0, 1861, 1859, 1, 0, 0, 0, 1862, 1863, 5, 2, 0, 0, 1863, 109, 1, 0, 0, 0, 1864, 1866, 3, 254, 127, 0, 1865, 1867, 3, 282, 141, 0, 1866, 1865, 1, 0, 0, 0, 1866, 1867, 1, 0, 0, 0, 1867, 1936, 1, 0, 0, 0, 1868, 1869, 5, 1, 0, 0, 1869, 1870, 3, 22, 11, 0, 1870, 1871, 5, 2, 0, 0, 1871, 1936, 1, 0, 0, 0, 1872, 1873, 5, 285, 0, 0, 1873, 1874, 5, 1, 0, 0, 1874, 1879, 3, 136, 68, 0, 1875, 1876, 5, 3, 0, 0, 1876, 1878, 3, 136, 68, 0, 1877, 1875, 1, 0, 0, 0, 1878, 1881, 1, 0, 0, 0, 1879, 1877, 1, 0, 0, 0, 1879, 1880, 1, 0, 0, 0, 1880, 1882, 1, 0, 0, 0, 1881, 1879, 1, 0, 0, 0, 1882, 1885, 5, 2, 0, 0, 1883, 1884, 5, 304, 0, 0, 1884, 1886, 5, 196, 0, 0, 1885, 1883, 1, 0, 0, 0, 1885, 1886, 1, 0, 0, 0, 1886, 1936, 1, 0, 0, 0, 1887, 1888, 5, 149, 0, 0, 1888, 1889, 5, 1, 0, 0, 1889, 1890, 3, 22, 11, 0, 1890, 1891, 5, 2, 0, 0, 1891, 1936, 1, 0, 0, 0, 1892, 1893, 5, 260, 0, 0, 1893, 1894, 5, 1, 0, 0, 1894, 1895, 3, 122, 61, 0, 1895, 1896, 5, 2, 0, 0, 1896, 1936, 1, 0, 0, 0, 1897, 1898, 5, 1, 0, 0, 1898, 1899, 3, 72, 36, 0, 1899, 1900, 5, 2, 0, 0, 1900, 1936, 1, 0, 0, 0, 1901, 1902, 5, 142, 0, 0, 1902, 1903, 5, 1, 0, 0, 1903, 1904, 3, 146, 73, 0, 1904, 1905, 5, 45, 0, 0, 1905, 1906, 5, 1, 0, 0, 1906, 1911, 3, 112, 56, 0, 1907, 1908, 5, 3, 0, 0, 1908, 1910, 3, 112, 56, 0, 1909, 1907, 1, 0, 0, 0, 1910, 1913, 1, 0, 0, 0, 1911, 1909, 1, 0, 0, 0, 1911, 1912, 1, 0, 0, 0, 1912, 1914, 1, 0, 0, 0, 1913, 1911, 1, 0, 0, 0, 1914, 1926, 5, 2, 0, 0, 1915, 1916, 5, 210, 0, 0, 1916, 1917, 5, 1, 0, 0, 1917, 1918, 3, 114, 57, 0, 1918, 1919, 5, 2, 0, 0, 1919, 1927, 1, 0, 0, 0, 1920, 1921, 5, 210, 0, 0, 1921, 1922, 5, 70, 0, 0, 1922, 1923, 5, 1, 0, 0, 1923, 1924, 3, 120, 60, 0, 1924, 1925, 5, 2, 0, 0, 1925, 1927, 1, 0, 0, 0, 1926, 1915, 1, 0, 0, 0, 1926, 1920, 1, 0, 0, 0, 1926, 1927, 1, 0, 0, 0, 1927, 1931, 1, 0, 0, 0, 1928, 1929, 7, 14, 0, 0, 1929, 1930, 5, 190, 0, 0, 1930, 1932, 5, 89, 0, 0, 1931, 1928, 1, 0, 0, 0, 1931, 1932, 1, 0, 0, 0, 1932, 1933, 1, 0, 0, 0, 1933, 1934, 5, 2, 0, 0, 1934, 1936, 1, 0, 0, 0, 1935, 1864, 1, 0, 0, 0, 1935, 1868, 1, 0, 0, 0, 1935, 1872, 1, 0, 0, 0, 1935, 1887, 1, 0, 0, 0, 1935, 1892, 1, 0, 0, 0, 1935, 1897, 1, 0, 0, 0, 1935, 1901, 1, 0, 0, 0, 1936, 111, 1, 0, 0, 0, 1937, 1938, 3, 294, 147, 0, 1938, 1939, 5, 103, 0, 0, 1939, 1940, 5, 196, 0, 0, 1940, 2015, 1, 0, 0, 0, 1941, 1942, 3, 294, 147, 0, 1942, 1945, 3, 184, 92, 0, 1943, 1944, 5, 205, 0, 0, 1944, 1946, 3, 168, 84, 0, 1945, 1943, 1, 0, 0, 0, 1945, 1946, 1, 0, 0, 0, 1946, 1951, 1, 0, 0, 0, 1947, 1948, 3, 156, 78, 0, 1948, 1949, 5, 190, 0, 0, 1949, 1950, 5, 85, 0, 0, 1950, 1952, 1, 0, 0, 0, 1951, 1947, 1, 0, 0, 0, 1951, 1952, 1, 0, 0, 0, 1952, 1957, 1, 0, 0, 0, 1953, 1954, 3, 156, 78, 0, 1954, 1955, 5, 190, 0, 0, 1955, 1956, 5, 89, 0, 0, 1956, 1958, 1, 0, 0, 0, 1957, 1953, 1, 0, 0, 0, 1957, 1958, 1, 0, 0, 0, 1958, 2015, 1, 0, 0, 0, 1959, 1960, 3, 294, 147, 0, 1960, 1961, 3, 184, 92, 0, 1961, 1962, 5, 104, 0, 0, 1962, 1965, 3, 150, 75, 0, 1963, 1964, 5, 205, 0, 0, 1964, 1966, 3, 168, 84, 0, 1965, 1963, 1, 0, 0, 0, 1965, 1966, 1, 0, 0, 0, 1966, 1970, 1, 0, 0, 0, 1967, 1968, 3, 158, 79, 0, 1968, 1969, 5, 308, 0, 0, 1969, 1971, 1, 0, 0, 0, 1970, 1967, 1, 0, 0, 0, 1970, 1971, 1, 0, 0, 0, 1971, 1979, 1, 0, 0, 0, 1972, 1973, 7, 15, 0, 0, 1973, 1977, 5, 218, 0, 0, 1974, 1975, 5, 190, 0, 0, 1975, 1976, 5, 242, 0, 0, 1976, 1978, 5, 264, 0, 0, 1977, 1974, 1, 0, 0, 0, 1977, 1978, 1, 0, 0, 0, 1978, 1980, 1, 0, 0, 0, 1979, 1972, 1, 0, 0, 0, 1979, 1980, 1, 0, 0, 0, 1980, 1985, 1, 0, 0, 0, 1981, 1982, 3, 160, 80, 0, 1982, 1983, 5, 190, 0, 0, 1983, 1984, 5, 85, 0, 0, 1984, 1986, 1, 0, 0, 0, 1985, 1981, 1, 0, 0, 0, 1985, 1986, 1, 0, 0, 0, 1986, 1991, 1, 0, 0, 0, 1987, 1988, 3, 160, 80, 0, 1988, 1989, 5, 190, 0, 0, 1989, 1990, 5, 89, 0, 0, 1990, 1992, 1, 0, 0, 0, 1991, 1987, 1, 0, 0, 0, 1991, 1992, 1, 0, 0, 0, 1992, 2015, 1, 0, 0, 0, 1993, 1995, 5, 173, 0, 0, 1994, 1996, 5, 205, 0, 0, 1995, 1994, 1, 0, 0, 0, 1995, 1996, 1, 0, 0, 0, 1996, 1997, 1, 0, 0, 0, 1997, 2000, 3, 168, 84, 0, 1998, 1999, 5, 28, 0, 0, 1999, 2001, 3, 294, 147, 0, 2000, 1998, 1, 0, 0, 0, 2000, 2001, 1, 0, 0, 0, 2001, 2002, 1, 0, 0, 0, 2002, 2003, 5, 45, 0, 0, 2003, 2004, 5, 1, 0, 0, 2004, 2009, 3, 112, 56, 0, 2005, 2006, 5, 3, 0, 0, 2006, 2008, 3, 112, 56, 0, 2007, 2005, 1, 0, 0, 0, 2008, 2011, 1, 0, 0, 0, 2009, 2007, 1, 0, 0, 0, 2009, 2010, 1, 0, 0, 0, 2010, 2012, 1, 0, 0, 0, 2011, 2009, 1, 0, 0, 0, 2012, 2013, 5, 2, 0, 0, 2013, 2015, 1, 0, 0, 0, 2014, 1937, 1, 0, 0, 0, 2014, 1941, 1, 0, 0, 0, 2014, 1959, 1, 0, 0, 0, 2014, 1993, 1, 0, 0, 0, 2015, 113, 1, 0, 0, 0, 2016, 2042, 3, 116, 58, 0, 2017, 2018, 3, 116, 58, 0, 2018, 2019, 7, 16, 0, 0, 2019, 2020, 3, 118, 59, 0, 2020, 2042, 1, 0, 0, 0, 2021, 2022, 3, 118, 59, 0, 2022, 2023, 5, 281, 0, 0, 2023, 2028, 3, 118, 59, 0, 2024, 2025, 5, 281, 0, 0, 2025, 2027, 3, 118, 59, 0, 2026, 2024, 1, 0, 0, 0, 2027, 2030, 1, 0, 0, 0, 2028, 2026, 1, 0, 0, 0, 2028, 2029, 1, 0, 0, 0, 2029, 2042, 1, 0, 0, 0, 2030, 2028, 1, 0, 0, 0, 2031, 2032, 3, 118, 59, 0, 2032, 2033, 5, 54, 0, 0, 2033, 2038, 3, 118, 59, 0, 2034, 2035, 5, 54, 0, 0, 2035, 2037, 3, 118, 59, 0, 2036, 2034, 1, 0, 0, 0, 2037, 2040, 1, 0, 0, 0, 2038, 2036, 1, 0, 0, 0, 2038, 2039, 1, 0, 0, 0, 2039, 2042, 1, 0, 0, 0, 2040, 2038, 1, 0, 0, 0, 2041, 2016, 1, 0, 0, 0, 2041, 2017, 1, 0, 0, 0, 2041, 2021, 1, 0, 0, 0, 2041, 2031, 1, 0, 0, 0, 2042, 115, 1, 0, 0, 0, 2043, 2044, 3, 294, 147, 0, 2044, 117, 1, 0, 0, 0, 2045, 2051, 3, 116, 58, 0, 2046, 2047, 5, 1, 0, 0, 2047, 2048, 3, 114, 57, 0, 2048, 2049, 5, 2, 0, 0, 2049, 2051, 1, 0, 0, 0, 2050, 2045, 1, 0, 0, 0, 2050, 2046, 1, 0, 0, 0, 2051, 119, 1, 0, 0, 0, 2052, 2055, 7, 16, 0, 0, 2053, 2054, 5, 3, 0, 0, 2054, 2056, 7, 17, 0, 0, 2055, 2053, 1, 0, 0, 0, 2055, 2056, 1, 0, 0, 0, 2056, 2063, 1, 0, 0, 0, 2057, 2060, 7, 17, 0, 0, 2058, 2059, 5, 3, 0, 0, 2059, 2061, 7, 16, 0, 0, 2060, 2058, 1, 0, 0, 0, 2060, 2061, 1, 0, 0, 0, 2061, 2063, 1, 0, 0, 0, 2062, 2052, 1, 0, 0, 0, 2062, 2057, 1, 0, 0, 0, 2063, 121, 1, 0, 0, 0, 2064, 2065, 3, 272, 136, 0, 2065, 2074, 5, 1, 0, 0, 2066, 2071, 3, 124, 62, 0, 2067, 2068, 5, 3, 0, 0, 2068, 2070, 3, 124, 62, 0, 2069, 2067, 1, 0, 0, 0, 2070, 2073, 1, 0, 0, 0, 2071, 2069, 1, 0, 0, 0, 2071, 2072, 1, 0, 0, 0, 2072, 2075, 1, 0, 0, 0, 2073, 2071, 1, 0, 0, 0, 2074, 2066, 1, 0, 0, 0, 2074, 2075, 1, 0, 0, 0, 2075, 2085, 1, 0, 0, 0, 2076, 2077, 5, 52, 0, 0, 2077, 2082, 3, 134, 67, 0, 2078, 2079, 5, 3, 0, 0, 2079, 2081, 3, 134, 67, 0, 2080, 2078, 1, 0, 0, 0, 2081, 2084, 1, 0, 0, 0, 2082, 2080, 1, 0, 0, 0, 2082, 2083, 1, 0, 0, 0, 2083, 2086, 1, 0, 0, 0, 2084, 2082, 1, 0, 0, 0, 2085, 2076, 1, 0, 0, 0, 2085, 2086, 1, 0, 0, 0, 2086, 2087, 1, 0, 0, 0, 2087, 2088, 5, 2, 0, 0, 2088, 123, 1, 0, 0, 0, 2089, 2090, 3, 294, 147, 0, 2090, 2091, 5, 6, 0, 0, 2091, 2093, 1, 0, 0, 0, 2092, 2089, 1, 0, 0, 0, 2092, 2093, 1, 0, 0, 0, 2093, 2097, 1, 0, 0, 0, 2094, 2098, 3, 126, 63, 0, 2095, 2098, 3, 130, 65, 0, 2096, 2098, 3, 136, 68, 0, 2097, 2094, 1, 0, 0, 0, 2097, 2095, 1, 0, 0, 0, 2097, 2096, 1, 0, 0, 0, 2098, 125, 1, 0, 0, 0, 2099, 2117, 3, 128, 64, 0, 2100, 2101, 5, 201, 0, 0, 2101, 2115, 5, 36, 0, 0, 2102, 2111, 5, 1, 0, 0, 2103, 2108, 3, 136, 68, 0, 2104, 2105, 5, 3, 0, 0, 2105, 2107, 3, 136, 68, 0, 2106, 2104, 1, 0, 0, 0, 2107, 2110, 1, 0, 0, 0, 2108, 2106, 1, 0, 0, 0, 2108, 2109, 1, 0, 0, 0, 2109, 2112, 1, 0, 0, 0, 2110, 2108, 1, 0, 0, 0, 2111, 2103, 1, 0, 0, 0, 2111, 2112, 1, 0, 0, 0, 2112, 2113, 1, 0, 0, 0, 2113, 2116, 5, 2, 0, 0, 2114, 2116, 3, 136, 68, 0, 2115, 2102, 1, 0, 0, 0, 2115, 2114, 1, 0, 0, 0, 2116, 2118, 1, 0, 0, 0, 2117, 2100, 1, 0, 0, 0, 2117, 2118, 1, 0, 0, 0, 2118, 2125, 1, 0, 0, 0, 2119, 2120, 5, 217, 0, 0, 2120, 2121, 5, 300, 0, 0, 2121, 2126, 5, 85, 0, 0, 2122, 2123, 5, 144, 0, 0, 2123, 2124, 5, 300, 0, 0, 2124, 2126, 5, 85, 0, 0, 2125, 2119, 1, 0, 0, 0, 2125, 2122, 1, 0, 0, 0, 2125, 2126, 1, 0, 0, 0, 2126, 2143, 1, 0, 0, 0, 2127, 2128, 5, 195, 0, 0, 2128, 2141, 5, 36, 0, 0, 2129, 2130, 5, 1, 0, 0, 2130, 2135, 3, 50, 25, 0, 2131, 2132, 5, 3, 0, 0, 2132, 2134, 3, 50, 25, 0, 2133, 2131, 1, 0, 0, 0, 2134, 2137, 1, 0, 0, 0, 2135, 2133, 1, 0, 0, 0, 2135, 2136, 1, 0, 0, 0, 2136, 2138, 1, 0, 0, 0, 2137, 2135, 1, 0, 0, 0, 2138, 2139, 5, 2, 0, 0, 2139, 2142, 1, 0, 0, 0, 2140, 2142, 3, 50, 25, 0, 2141, 2129, 1, 0, 0, 0, 2141, 2140, 1, 0, 0, 0, 2142, 2144, 1, 0, 0, 0, 2143, 2127, 1, 0, 0, 0, 2143, 2144, 1, 0, 0, 0, 2144, 127, 1, 0, 0, 0, 2145, 2146, 5, 260, 0, 0, 2146, 2147, 5, 1, 0, 0, 2147, 2148, 3, 256, 128, 0, 2148, 2156, 5, 2, 0, 0, 2149, 2151, 5, 28, 0, 0, 2150, 2149, 1, 0, 0, 0, 2150, 2151, 1, 0, 0, 0, 2151, 2152, 1, 0, 0, 0, 2152, 2154, 3, 294, 147, 0, 2153, 2155, 3, 108, 54, 0, 2154, 2153, 1, 0, 0, 0, 2154, 2155, 1, 0, 0, 0, 2155, 2157, 1, 0, 0, 0, 2156, 2150, 1, 0, 0, 0, 2156, 2157, 1, 0, 0, 0, 2157, 2172, 1, 0, 0, 0, 2158, 2159, 5, 260, 0, 0, 2159, 2160, 5, 1, 0, 0, 2160, 2161, 3, 22, 11, 0, 2161, 2169, 5, 2, 0, 0, 2162, 2164, 5, 28, 0, 0, 2163, 2162, 1, 0, 0, 0, 2163, 2164, 1, 0, 0, 0, 2164, 2165, 1, 0, 0, 0, 2165, 2167, 3, 294, 147, 0, 2166, 2168, 3, 108, 54, 0, 2167, 2166, 1, 0, 0, 0, 2167, 2168, 1, 0, 0, 0, 2168, 2170, 1, 0, 0, 0, 2169, 2163, 1, 0, 0, 0, 2169, 2170, 1, 0, 0, 0, 2170, 2172, 1, 0, 0, 0, 2171, 2145, 1, 0, 0, 0, 2171, 2158, 1, 0, 0, 0, 2172, 129, 1, 0, 0, 0, 2173, 2174, 5, 77, 0, 0, 2174, 2175, 5, 1, 0, 0, 2175, 2180, 3, 132, 66, 0, 2176, 2177, 5, 3, 0, 0, 2177, 2179, 3, 132, 66, 0, 2178, 2176, 1, 0, 0, 0, 2179, 2182, 1, 0, 0, 0, 2180, 2178, 1, 0, 0, 0, 2180, 2181, 1, 0, 0, 0, 2181, 2183, 1, 0, 0, 0, 2182, 2180, 1, 0, 0, 0, 2183, 2184, 5, 2, 0, 0, 2184, 2192, 1, 0, 0, 0, 2185, 2186, 5, 41, 0, 0, 2186, 2187, 5, 1, 0, 0, 2187, 2188, 5, 183, 0, 0, 2188, 2189, 5, 28, 0, 0, 2189, 2190, 5, 77, 0, 0, 2190, 2192, 5, 2, 0, 0, 2191, 2173, 1, 0, 0, 0, 2191, 2185, 1, 0, 0, 0, 2192, 131, 1, 0, 0, 0, 2193, 2195, 3, 294, 147, 0, 2194, 2196, 3, 184, 92, 0, 2195, 2194, 1, 0, 0, 0, 2195, 2196, 1, 0, 0, 0, 2196, 133, 1, 0, 0, 0, 2197, 2198, 5, 1, 0, 0, 2198, 2199, 3, 280, 140, 0, 2199, 2200, 5, 3, 0, 0, 2200, 2205, 3, 280, 140, 0, 2201, 2202, 5, 3, 0, 0, 2202, 2204, 3, 280, 140, 0, 2203, 2201, 1, 0, 0, 0, 2204, 2207, 1, 0, 0, 0, 2205, 2203, 1, 0, 0, 0, 2205, 2206, 1, 0, 0, 0, 2206, 2208, 1, 0, 0, 0, 2207, 2205, 1, 0, 0, 0, 2208, 2209, 5, 2, 0, 0, 2209, 135, 1, 0, 0, 0, 2210, 2211, 3, 138, 69, 0, 2211, 137, 1, 0, 0, 0, 2212, 2213, 6, 69, -1, 0, 2213, 2215, 3, 142, 71, 0, 2214, 2216, 3, 140, 70, 0, 2215, 2214, 1, 0, 0, 0, 2215, 2216, 1, 0, 0, 0, 2216, 2220, 1, 0, 0, 0, 2217, 2218, 5, 182, 0, 0, 2218, 2220, 3, 138, 69, 3, 2219, 2212, 1, 0, 0, 0, 2219, 2217, 1, 0, 0, 0, 2220, 2229, 1, 0, 0, 0, 2221, 2222, 10, 2, 0, 0, 2222, 2223, 5, 25, 0, 0, 2223, 2228, 3, 138, 69, 3, 2224, 2225, 10, 1, 0, 0, 2225, 2226, 5, 194, 0, 0, 2226, 2228, 3, 138, 69, 2, 2227, 2221, 1, 0, 0, 0, 2227, 2224, 1, 0, 0, 0, 2228, 2231, 1, 0, 0, 0, 2229, 2227, 1, 0, 0, 0, 2229, 2230, 1, 0, 0, 0, 2230, 139, 1, 0, 0, 0, 2231, 2229, 1, 0, 0, 0, 2232, 2233, 3, 172, 86, 0, 2233, 2234, 3, 142, 71, 0, 2234, 2294, 1, 0, 0, 0, 2235, 2236, 3, 172, 86, 0, 2236, 2237, 3, 174, 87, 0, 2237, 2238, 5, 1, 0, 0, 2238, 2239, 3, 22, 11, 0, 2239, 2240, 5, 2, 0, 0, 2240, 2294, 1, 0, 0, 0, 2241, 2243, 5, 182, 0, 0, 2242, 2241, 1, 0, 0, 0, 2242, 2243, 1, 0, 0, 0, 2243, 2244, 1, 0, 0, 0, 2244, 2245, 5, 34, 0, 0, 2245, 2246, 3, 142, 71, 0, 2246, 2247, 5, 25, 0, 0, 2247, 2248, 3, 142, 71, 0, 2248, 2294, 1, 0, 0, 0, 2249, 2251, 5, 182, 0, 0, 2250, 2249, 1, 0, 0, 0, 2250, 2251, 1, 0, 0, 0, 2251, 2252, 1, 0, 0, 0, 2252, 2253, 5, 122, 0, 0, 2253, 2254, 5, 1, 0, 0, 2254, 2259, 3, 136, 68, 0, 2255, 2256, 5, 3, 0, 0, 2256, 2258, 3, 136, 68, 0, 2257, 2255, 1, 0, 0, 0, 2258, 2261, 1, 0, 0, 0, 2259, 2257, 1, 0, 0, 0, 2259, 2260, 1, 0, 0, 0, 2260, 2262, 1, 0, 0, 0, 2261, 2259, 1, 0, 0, 0, 2262, 2263, 5, 2, 0, 0, 2263, 2294, 1, 0, 0, 0, 2264, 2266, 5, 182, 0, 0, 2265, 2264, 1, 0, 0, 0, 2265, 2266, 1, 0, 0, 0, 2266, 2267, 1, 0, 0, 0, 2267, 2268, 5, 122, 0, 0, 2268, 2269, 5, 1, 0, 0, 2269, 2270, 3, 22, 11, 0, 2270, 2271, 5, 2, 0, 0, 2271, 2294, 1, 0, 0, 0, 2272, 2274, 5, 182, 0, 0, 2273, 2272, 1, 0, 0, 0, 2273, 2274, 1, 0, 0, 0, 2274, 2275, 1, 0, 0, 0, 2275, 2276, 5, 154, 0, 0, 2276, 2279, 3, 142, 71, 0, 2277, 2278, 5, 90, 0, 0, 2278, 2280, 3, 142, 71, 0, 2279, 2277, 1, 0, 0, 0, 2279, 2280, 1, 0, 0, 0, 2280, 2294, 1, 0, 0, 0, 2281, 2283, 5, 133, 0, 0, 2282, 2284, 5, 182, 0, 0, 2283, 2282, 1, 0, 0, 0, 2283, 2284, 1, 0, 0, 0, 2284, 2285, 1, 0, 0, 0, 2285, 2294, 5, 183, 0, 0, 2286, 2288, 5, 133, 0, 0, 2287, 2289, 5, 182, 0, 0, 2288, 2287, 1, 0, 0, 0, 2288, 2289, 1, 0, 0, 0, 2289, 2290, 1, 0, 0, 0, 2290, 2291, 5, 79, 0, 0, 2291, 2292, 5, 105, 0, 0, 2292, 2294, 3, 142, 71, 0, 2293, 2232, 1, 0, 0, 0, 2293, 2235, 1, 0, 0, 0, 2293, 2242, 1, 0, 0, 0, 2293, 2250, 1, 0, 0, 0, 2293, 2265, 1, 0, 0, 0, 2293, 2273, 1, 0, 0, 0, 2293, 2281, 1, 0, 0, 0, 2293, 2286, 1, 0, 0, 0, 2294, 141, 1, 0, 0, 0, 2295, 2296, 6, 71, -1, 0, 2296, 2300, 3, 144, 72, 0, 2297, 2298, 7, 18, 0, 0, 2298, 2300, 3, 142, 71, 4, 2299, 2295, 1, 0, 0, 0, 2299, 2297, 1, 0, 0, 0, 2300, 2315, 1, 0, 0, 0, 2301, 2302, 10, 3, 0, 0, 2302, 2303, 7, 19, 0, 0, 2303, 2314, 3, 142, 71, 4, 2304, 2305, 10, 2, 0, 0, 2305, 2306, 7, 18, 0, 0, 2306, 2314, 3, 142, 71, 3, 2307, 2308, 10, 1, 0, 0, 2308, 2309, 5, 323, 0, 0, 2309, 2314, 3, 142, 71, 2, 2310, 2311, 10, 5, 0, 0, 2311, 2312, 5, 30, 0, 0, 2312, 2314, 3, 170, 85, 0, 2313, 2301, 1, 0, 0, 0, 2313, 2304, 1, 0, 0, 0, 2313, 2307, 1, 0, 0, 0, 2313, 2310, 1, 0, 0, 0, 2314, 2317, 1, 0, 0, 0, 2315, 2313, 1, 0, 0, 0, 2315, 2316, 1, 0, 0, 0, 2316, 143, 1, 0, 0, 0, 2317, 2315, 1, 0, 0, 0, 2318, 2319, 6, 72, -1, 0, 2319, 2772, 5, 183, 0, 0, 2320, 2772, 3, 178, 89, 0, 2321, 2322, 3, 294, 147, 0, 2322, 2323, 3, 168, 84, 0, 2323, 2772, 1, 0, 0, 0, 2324, 2325, 5, 82, 0, 0, 2325, 2326, 5, 213, 0, 0, 2326, 2772, 3, 168, 84, 0, 2327, 2772, 3, 296, 148, 0, 2328, 2772, 3, 176, 88, 0, 2329, 2772, 3, 168, 84, 0, 2330, 2772, 5, 328, 0, 0, 2331, 2772, 5, 324, 0, 0, 2332, 2333, 5, 211, 0, 0, 2333, 2334, 5, 1, 0, 0, 2334, 2335, 3, 142, 71, 0, 2335, 2336, 5, 122, 0, 0, 2336, 2337, 3, 142, 71, 0, 2337, 2338, 5, 2, 0, 0, 2338, 2772, 1, 0, 0, 0, 2339, 2340, 5, 1, 0, 0, 2340, 2343, 3, 136, 68, 0, 2341, 2342, 5, 3, 0, 0, 2342, 2344, 3, 136, 68, 0, 2343, 2341, 1, 0, 0, 0, 2344, 2345, 1, 0, 0, 0, 2345, 2343, 1, 0, 0, 0, 2345, 2346, 1, 0, 0, 0, 2346, 2347, 1, 0, 0, 0, 2347, 2348, 5, 2, 0, 0, 2348, 2772, 1, 0, 0, 0, 2349, 2350, 5, 239, 0, 0, 2350, 2351, 5, 1, 0, 0, 2351, 2356, 3, 136, 68, 0, 2352, 2353, 5, 3, 0, 0, 2353, 2355, 3, 136, 68, 0, 2354, 2352, 1, 0, 0, 0, 2355, 2358, 1, 0, 0, 0, 2356, 2354, 1, 0, 0, 0, 2356, 2357, 1, 0, 0, 0, 2357, 2359, 1, 0, 0, 0, 2358, 2356, 1, 0, 0, 0, 2359, 2360, 5, 2, 0, 0, 2360, 2772, 1, 0, 0, 0, 2361, 2362, 5, 156, 0, 0, 2362, 2364, 5, 1, 0, 0, 2363, 2365, 3, 68, 34, 0, 2364, 2363, 1, 0, 0, 0, 2364, 2365, 1, 0, 0, 0, 2365, 2366, 1, 0, 0, 0, 2366, 2369, 3, 136, 68, 0, 2367, 2368, 5, 3, 0, 0, 2368, 2370, 3, 168, 84, 0, 2369, 2367, 1, 0, 0, 0, 2369, 2370, 1, 0, 0, 0, 2370, 2374, 1, 0, 0, 0, 2371, 2372, 5, 190, 0, 0, 2372, 2373, 5, 200, 0, 0, 2373, 2375, 3, 84, 42, 0, 2374, 2371, 1, 0, 0, 0, 2374, 2375, 1, 0, 0, 0, 2375, 2376, 1, 0, 0, 0, 2376, 2377, 5, 2, 0, 0, 2377, 2378, 5, 305, 0, 0, 2378, 2379, 5, 114, 0, 0, 2379, 2380, 5, 1, 0, 0, 2380, 2381, 5, 195, 0, 0, 2381, 2382, 5, 36, 0, 0, 2382, 2387, 3, 50, 25, 0, 2383, 2384, 5, 3, 0, 0, 2384, 2386, 3, 50, 25, 0, 2385, 2383, 1, 0, 0, 0, 2386, 2389, 1, 0, 0, 0, 2387, 2385, 1, 0, 0, 0, 2387, 2388, 1, 0, 0, 0, 2388, 2390, 1, 0, 0, 0, 2389, 2387, 1, 0, 0, 0, 2390, 2391, 5, 2, 0, 0, 2391, 2393, 1, 0, 0, 0, 2392, 2394, 3, 192, 96, 0, 2393, 2392, 1, 0, 0, 0, 2393, 2394, 1, 0, 0, 0, 2394, 2772, 1, 0, 0, 0, 2395, 2397, 3, 164, 82, 0, 2396, 2395, 1, 0, 0, 0, 2396, 2397, 1, 0, 0, 0, 2397, 2398, 1, 0, 0, 0, 2398, 2399, 3, 272, 136, 0, 2399, 2403, 5, 1, 0, 0, 2400, 2401, 3, 294, 147, 0, 2401, 2402, 5, 4, 0, 0, 2402, 2404, 1, 0, 0, 0, 2403, 2400, 1, 0, 0, 0, 2403, 2404, 1, 0, 0, 0, 2404, 2405, 1, 0, 0, 0, 2405, 2406, 5, 320, 0, 0, 2406, 2408, 5, 2, 0, 0, 2407, 2409, 3, 192, 96, 0, 2408, 2407, 1, 0, 0, 0, 2408, 2409, 1, 0, 0, 0, 2409, 2411, 1, 0, 0, 0, 2410, 2412, 3, 196, 98, 0, 2411, 2410, 1, 0, 0, 0, 2411, 2412, 1, 0, 0, 0, 2412, 2772, 1, 0, 0, 0, 2413, 2415, 3, 164, 82, 0, 2414, 2413, 1, 0, 0, 0, 2414, 2415, 1, 0, 0, 0, 2415, 2416, 1, 0, 0, 0, 2416, 2417, 3, 272, 136, 0, 2417, 2429, 5, 1, 0, 0, 2418, 2420, 3, 68, 34, 0, 2419, 2418, 1, 0, 0, 0, 2419, 2420, 1, 0, 0, 0, 2420, 2421, 1, 0, 0, 0, 2421, 2426, 3, 136, 68, 0, 2422, 2423, 5, 3, 0, 0, 2423, 2425, 3, 136, 68, 0, 2424, 2422, 1, 0, 0, 0, 2425, 2428, 1, 0, 0, 0, 2426, 2424, 1, 0, 0, 0, 2426, 2427, 1, 0, 0, 0, 2427, 2430, 1, 0, 0, 0, 2428, 2426, 1, 0, 0, 0, 2429, 2419, 1, 0, 0, 0, 2429, 2430, 1, 0, 0, 0, 2430, 2441, 1, 0, 0, 0, 2431, 2432, 5, 195, 0, 0, 2432, 2433, 5, 36, 0, 0, 2433, 2438, 3, 50, 25, 0, 2434, 2435, 5, 3, 0, 0, 2435, 2437, 3, 50, 25, 0, 2436, 2434, 1, 0, 0, 0, 2437, 2440, 1, 0, 0, 0, 2438, 2436, 1, 0, 0, 0, 2438, 2439, 1, 0, 0, 0, 2439, 2442, 1, 0, 0, 0, 2440, 2438, 1, 0, 0, 0, 2441, 2431, 1, 0, 0, 0, 2441, 2442, 1, 0, 0, 0, 2442, 2443, 1, 0, 0, 0, 2443, 2445, 5, 2, 0, 0, 2444, 2446, 3, 192, 96, 0, 2445, 2444, 1, 0, 0, 0, 2445, 2446, 1, 0, 0, 0, 2446, 2451, 1, 0, 0, 0, 2447, 2449, 3, 166, 83, 0, 2448, 2447, 1, 0, 0, 0, 2448, 2449, 1, 0, 0, 0, 2449, 2450, 1, 0, 0, 0, 2450, 2452, 3, 196, 98, 0, 2451, 2448, 1, 0, 0, 0, 2451, 2452, 1, 0, 0, 0, 2452, 2772, 1, 0, 0, 0, 2453, 2454, 3, 294, 147, 0, 2454, 2455, 3, 196, 98, 0, 2455, 2772, 1, 0, 0, 0, 2456, 2457, 3, 294, 147, 0, 2457, 2458, 5, 7, 0, 0, 2458, 2459, 3, 136, 68, 0, 2459, 2772, 1, 0, 0, 0, 2460, 2469, 5, 1, 0, 0, 2461, 2466, 3, 294, 147, 0, 2462, 2463, 5, 3, 0, 0, 2463, 2465, 3, 294, 147, 0, 2464, 2462, 1, 0, 0, 0, 2465, 2468, 1, 0, 0, 0, 2466, 2464, 1, 0, 0, 0, 2466, 2467, 1, 0, 0, 0, 2467, 2470, 1, 0, 0, 0, 2468, 2466, 1, 0, 0, 0, 2469, 2461, 1, 0, 0, 0, 2469, 2470, 1, 0, 0, 0, 2470, 2471, 1, 0, 0, 0, 2471, 2472, 5, 2, 0, 0, 2472, 2473, 5, 7, 0, 0, 2473, 2772, 3, 136, 68, 0, 2474, 2475, 5, 1, 0, 0, 2475, 2476, 3, 22, 11, 0, 2476, 2477, 5, 2, 0, 0, 2477, 2772, 1, 0, 0, 0, 2478, 2479, 5, 94, 0, 0, 2479, 2480, 5, 1, 0, 0, 2480, 2481, 3, 22, 11, 0, 2481, 2482, 5, 2, 0, 0, 2482, 2772, 1, 0, 0, 0, 2483, 2484, 5, 40, 0, 0, 2484, 2486, 3, 136, 68, 0, 2485, 2487, 3, 190, 95, 0, 2486, 2485, 1, 0, 0, 0, 2487, 2488, 1, 0, 0, 0, 2488, 2486, 1, 0, 0, 0, 2488, 2489, 1, 0, 0, 0, 2489, 2492, 1, 0, 0, 0, 2490, 2491, 5, 84, 0, 0, 2491, 2493, 3, 136, 68, 0, 2492, 2490, 1, 0, 0, 0, 2492, 2493, 1, 0, 0, 0, 2493, 2494, 1, 0, 0, 0, 2494, 2495, 5, 88, 0, 0, 2495, 2772, 1, 0, 0, 0, 2496, 2498, 5, 40, 0, 0, 2497, 2499, 3, 190, 95, 0, 2498, 2497, 1, 0, 0, 0, 2499, 2500, 1, 0, 0, 0, 2500, 2498, 1, 0, 0, 0, 2500, 2501, 1, 0, 0, 0, 2501, 2504, 1, 0, 0, 0, 2502, 2503, 5, 84, 0, 0, 2503, 2505, 3, 136, 68, 0, 2504, 2502, 1, 0, 0, 0, 2504, 2505, 1, 0, 0, 0, 2505, 2506, 1, 0, 0, 0, 2506, 2507, 5, 88, 0, 0, 2507, 2772, 1, 0, 0, 0, 2508, 2509, 5, 41, 0, 0, 2509, 2510, 5, 1, 0, 0, 2510, 2511, 3, 136, 68, 0, 2511, 2512, 5, 28, 0, 0, 2512, 2513, 3, 184, 92, 0, 2513, 2514, 5, 2, 0, 0, 2514, 2772, 1, 0, 0, 0, 2515, 2516, 5, 275, 0, 0, 2516, 2517, 5, 1, 0, 0, 2517, 2518, 3, 136, 68, 0, 2518, 2519, 5, 28, 0, 0, 2519, 2520, 3, 184, 92, 0, 2520, 2521, 5, 2, 0, 0, 2521, 2772, 1, 0, 0, 0, 2522, 2523, 5, 27, 0, 0, 2523, 2532, 5, 8, 0, 0, 2524, 2529, 3, 136, 68, 0, 2525, 2526, 5, 3, 0, 0, 2526, 2528, 3, 136, 68, 0, 2527, 2525, 1, 0, 0, 0, 2528, 2531, 1, 0, 0, 0, 2529, 2527, 1, 0, 0, 0, 2529, 2530, 1, 0, 0, 0, 2530, 2533, 1, 0, 0, 0, 2531, 2529, 1, 0, 0, 0, 2532, 2524, 1, 0, 0, 0, 2532, 2533, 1, 0, 0, 0, 2533, 2534, 1, 0, 0, 0, 2534, 2772, 5, 9, 0, 0, 2535, 2772, 3, 294, 147, 0, 2536, 2772, 5, 58, 0, 0, 2537, 2541, 5, 62, 0, 0, 2538, 2539, 5, 1, 0, 0, 2539, 2540, 5, 329, 0, 0, 2540, 2542, 5, 2, 0, 0, 2541, 2538, 1, 0, 0, 0, 2541, 2542, 1, 0, 0, 0, 2542, 2772, 1, 0, 0, 0, 2543, 2547, 5, 63, 0, 0, 2544, 2545, 5, 1, 0, 0, 2545, 2546, 5, 329, 0, 0, 2546, 2548, 5, 2, 0, 0, 2547, 2544, 1, 0, 0, 0, 2547, 2548, 1, 0, 0, 0, 2548, 2772, 1, 0, 0, 0, 2549, 2553, 5, 158, 0, 0, 2550, 2551, 5, 1, 0, 0, 2551, 2552, 5, 329, 0, 0, 2552, 2554, 5, 2, 0, 0, 2553, 2550, 1, 0, 0, 0, 2553, 2554, 1, 0, 0, 0, 2554, 2772, 1, 0, 0, 0, 2555, 2559, 5, 159, 0, 0, 2556, 2557, 5, 1, 0, 0, 2557, 2558, 5, 329, 0, 0, 2558, 2560, 5, 2, 0, 0, 2559, 2556, 1, 0, 0, 0, 2559, 2560, 1, 0, 0, 0, 2560, 2772, 1, 0, 0, 0, 2561, 2772, 5, 64, 0, 0, 2562, 2772, 5, 57, 0, 0, 2563, 2772, 5, 61, 0, 0, 2564, 2772, 5, 59, 0, 0, 2565, 2566, 5, 272, 0, 0, 2566, 2574, 5, 1, 0, 0, 2567, 2569, 3, 82, 41, 0, 2568, 2567, 1, 0, 0, 0, 2568, 2569, 1, 0, 0, 0, 2569, 2571, 1, 0, 0, 0, 2570, 2572, 3, 142, 71, 0, 2571, 2570, 1, 0, 0, 0, 2571, 2572, 1, 0, 0, 0, 2572, 2573, 1, 0, 0, 0, 2573, 2575, 5, 105, 0, 0, 2574, 2568, 1, 0, 0, 0, 2574, 2575, 1, 0, 0, 0, 2575, 2576, 1, 0, 0, 0, 2576, 2577, 3, 142, 71, 0, 2577, 2578, 5, 2, 0, 0, 2578, 2772, 1, 0, 0, 0, 2579, 2580, 5, 272, 0, 0, 2580, 2581, 5, 1, 0, 0, 2581, 2582, 3, 142, 71, 0, 2582, 2583, 5, 3, 0, 0, 2583, 2584, 3, 142, 71, 0, 2584, 2585, 5, 2, 0, 0, 2585, 2772, 1, 0, 0, 0, 2586, 2587, 5, 258, 0, 0, 2587, 2588, 5, 1, 0, 0, 2588, 2589, 3, 142, 71, 0, 2589, 2590, 5, 105, 0, 0, 2590, 2593, 3, 142, 71, 0, 2591, 2592, 5, 103, 0, 0, 2592, 2594, 3, 142, 71, 0, 2593, 2591, 1, 0, 0, 0, 2593, 2594, 1, 0, 0, 0, 2594, 2595, 1, 0, 0, 0, 2595, 2596, 5, 2, 0, 0, 2596, 2772, 1, 0, 0, 0, 2597, 2598, 5, 181, 0, 0, 2598, 2599, 5, 1, 0, 0, 2599, 2602, 3, 142, 71, 0, 2600, 2601, 5, 3, 0, 0, 2601, 2603, 3, 182, 91, 0, 2602, 2600, 1, 0, 0, 0, 2602, 2603, 1, 0, 0, 0, 2603, 2604, 1, 0, 0, 0, 2604, 2605, 5, 2, 0, 0, 2605, 2772, 1, 0, 0, 0, 2606, 2607, 5, 96, 0, 0, 2607, 2608, 5, 1, 0, 0, 2608, 2609, 3, 294, 147, 0, 2609, 2610, 5, 105, 0, 0, 2610, 2611, 3, 142, 71, 0, 2611, 2612, 5, 2, 0, 0, 2612, 2772, 1, 0, 0, 0, 2613, 2614, 5, 1, 0, 0, 2614, 2615, 3, 136, 68, 0, 2615, 2616, 5, 2, 0, 0, 2616, 2772, 1, 0, 0, 0, 2617, 2618, 5, 115, 0, 0, 2618, 2627, 5, 1, 0, 0, 2619, 2624, 3, 280, 140, 0, 2620, 2621, 5, 3, 0, 0, 2621, 2623, 3, 280, 140, 0, 2622, 2620, 1, 0, 0, 0, 2623, 2626, 1, 0, 0, 0, 2624, 2622, 1, 0, 0, 0, 2624, 2625, 1, 0, 0, 0, 2625, 2628, 1, 0, 0, 0, 2626, 2624, 1, 0, 0, 0, 2627, 2619, 1, 0, 0, 0, 2627, 2628, 1, 0, 0, 0, 2628, 2629, 1, 0, 0, 0, 2629, 2772, 5, 2, 0, 0, 2630, 2631, 5, 139, 0, 0, 2631, 2632, 5, 1, 0, 0, 2632, 2637, 3, 146, 73, 0, 2633, 2634, 3, 154, 77, 0, 2634, 2635, 5, 190, 0, 0, 2635, 2636, 5, 89, 0, 0, 2636, 2638, 1, 0, 0, 0, 2637, 2633, 1, 0, 0, 0, 2637, 2638, 1, 0, 0, 0, 2638, 2639, 1, 0, 0, 0, 2639, 2640, 5, 2, 0, 0, 2640, 2772, 1, 0, 0, 0, 2641, 2642, 5, 143, 0, 0, 2642, 2643, 5, 1, 0, 0, 2643, 2646, 3, 146, 73, 0, 2644, 2645, 5, 231, 0, 0, 2645, 2647, 3, 184, 92, 0, 2646, 2644, 1, 0, 0, 0, 2646, 2647, 1, 0, 0, 0, 2647, 2652, 1, 0, 0, 0, 2648, 2649, 3, 156, 78, 0, 2649, 2650, 5, 190, 0, 0, 2650, 2651, 5, 85, 0, 0, 2651, 2653, 1, 0, 0, 0, 2652, 2648, 1, 0, 0, 0, 2652, 2653, 1, 0, 0, 0, 2653, 2658, 1, 0, 0, 0, 2654, 2655, 3, 156, 78, 0, 2655, 2656, 5, 190, 0, 0, 2656, 2657, 5, 89, 0, 0, 2657, 2659, 1, 0, 0, 0, 2658, 2654, 1, 0, 0, 0, 2658, 2659, 1, 0, 0, 0, 2659, 2660, 1, 0, 0, 0, 2660, 2661, 5, 2, 0, 0, 2661, 2772, 1, 0, 0, 0, 2662, 2663, 5, 141, 0, 0, 2663, 2664, 5, 1, 0, 0, 2664, 2671, 3, 146, 73, 0, 2665, 2666, 5, 231, 0, 0, 2666, 2669, 3, 184, 92, 0, 2667, 2668, 5, 104, 0, 0, 2668, 2670, 3, 150, 75, 0, 2669, 2667, 1, 0, 0, 0, 2669, 2670, 1, 0, 0, 0, 2670, 2672, 1, 0, 0, 0, 2671, 2665, 1, 0, 0, 0, 2671, 2672, 1, 0, 0, 0, 2672, 2676, 1, 0, 0, 0, 2673, 2674, 3, 158, 79, 0, 2674, 2675, 5, 308, 0, 0, 2675, 2677, 1, 0, 0, 0, 2676, 2673, 1, 0, 0, 0, 2676, 2677, 1, 0, 0, 0, 2677, 2685, 1, 0, 0, 0, 2678, 2679, 7, 15, 0, 0, 2679, 2683, 5, 218, 0, 0, 2680, 2681, 5, 190, 0, 0, 2681, 2682, 5, 242, 0, 0, 2682, 2684, 5, 264, 0, 0, 2683, 2680, 1, 0, 0, 0, 2683, 2684, 1, 0, 0, 0, 2684, 2686, 1, 0, 0, 0, 2685, 2678, 1, 0, 0, 0, 2685, 2686, 1, 0, 0, 0, 2686, 2691, 1, 0, 0, 0, 2687, 2688, 3, 160, 80, 0, 2688, 2689, 5, 190, 0, 0, 2689, 2690, 5, 85, 0, 0, 2690, 2692, 1, 0, 0, 0, 2691, 2687, 1, 0, 0, 0, 2691, 2692, 1, 0, 0, 0, 2692, 2697, 1, 0, 0, 0, 2693, 2694, 3, 160, 80, 0, 2694, 2695, 5, 190, 0, 0, 2695, 2696, 5, 89, 0, 0, 2696, 2698, 1, 0, 0, 0, 2697, 2693, 1, 0, 0, 0, 2697, 2698, 1, 0, 0, 0, 2698, 2699, 1, 0, 0, 0, 2699, 2700, 5, 2, 0, 0, 2700, 2772, 1, 0, 0, 0, 2701, 2702, 5, 140, 0, 0, 2702, 2731, 5, 1, 0, 0, 2703, 2708, 3, 162, 81, 0, 2704, 2705, 5, 3, 0, 0, 2705, 2707, 3, 162, 81, 0, 2706, 2704, 1, 0, 0, 0, 2707, 2710, 1, 0, 0, 0, 2708, 2706, 1, 0, 0, 0, 2708, 2709, 1, 0, 0, 0, 2709, 2717, 1, 0, 0, 0, 2710, 2708, 1, 0, 0, 0, 2711, 2712, 5, 183, 0, 0, 2712, 2713, 5, 190, 0, 0, 2713, 2718, 5, 183, 0, 0, 2714, 2715, 5, 18, 0, 0, 2715, 2716, 5, 190, 0, 0, 2716, 2718, 5, 183, 0, 0, 2717, 2711, 1, 0, 0, 0, 2717, 2714, 1, 0, 0, 0, 2717, 2718, 1, 0, 0, 0, 2718, 2729, 1, 0, 0, 0, 2719, 2720, 5, 304, 0, 0, 2720, 2722, 5, 282, 0, 0, 2721, 2723, 5, 146, 0, 0, 2722, 2721, 1, 0, 0, 0, 2722, 2723, 1, 0, 0, 0, 2723, 2730, 1, 0, 0, 0, 2724, 2725, 5, 306, 0, 0, 2725, 2727, 5, 282, 0, 0, 2726, 2728, 5, 146, 0, 0, 2727, 2726, 1, 0, 0, 0, 2727, 2728, 1, 0, 0, 0, 2728, 2730, 1, 0, 0, 0, 2729, 2719, 1, 0, 0, 0, 2729, 2724, 1, 0, 0, 0, 2729, 2730, 1, 0, 0, 0, 2730, 2732, 1, 0, 0, 0, 2731, 2703, 1, 0, 0, 0, 2731, 2732, 1, 0, 0, 0, 2732, 2739, 1, 0, 0, 0, 2733, 2734, 5, 231, 0, 0, 2734, 2737, 3, 184, 92, 0, 2735, 2736, 5, 104, 0, 0, 2736, 2738, 3, 150, 75, 0, 2737, 2735, 1, 0, 0, 0, 2737, 2738, 1, 0, 0, 0, 2738, 2740, 1, 0, 0, 0, 2739, 2733, 1, 0, 0, 0, 2739, 2740, 1, 0, 0, 0, 2740, 2741, 1, 0, 0, 0, 2741, 2772, 5, 2, 0, 0, 2742, 2743, 5, 138, 0, 0, 2743, 2760, 5, 1, 0, 0, 2744, 2749, 3, 148, 74, 0, 2745, 2746, 5, 3, 0, 0, 2746, 2748, 3, 148, 74, 0, 2747, 2745, 1, 0, 0, 0, 2748, 2751, 1, 0, 0, 0, 2749, 2747, 1, 0, 0, 0, 2749, 2750, 1, 0, 0, 0, 2750, 2758, 1, 0, 0, 0, 2751, 2749, 1, 0, 0, 0, 2752, 2753, 5, 183, 0, 0, 2753, 2754, 5, 190, 0, 0, 2754, 2759, 5, 183, 0, 0, 2755, 2756, 5, 18, 0, 0, 2756, 2757, 5, 190, 0, 0, 2757, 2759, 5, 183, 0, 0, 2758, 2752, 1, 0, 0, 0, 2758, 2755, 1, 0, 0, 0, 2758, 2759, 1, 0, 0, 0, 2759, 2761, 1, 0, 0, 0, 2760, 2744, 1, 0, 0, 0, 2760, 2761, 1, 0, 0, 0, 2761, 2768, 1, 0, 0, 0, 2762, 2763, 5, 231, 0, 0, 2763, 2766, 3, 184, 92, 0, 2764, 2765, 5, 104, 0, 0, 2765, 2767, 3, 150, 75, 0, 2766, 2764, 1, 0, 0, 0, 2766, 2767, 1, 0, 0, 0, 2767, 2769, 1, 0, 0, 0, 2768, 2762, 1, 0, 0, 0, 2768, 2769, 1, 0, 0, 0, 2769, 2770, 1, 0, 0, 0, 2770, 2772, 5, 2, 0, 0, 2771, 2318, 1, 0, 0, 0, 2771, 2320, 1, 0, 0, 0, 2771, 2321, 1, 0, 0, 0, 2771, 2324, 1, 0, 0, 0, 2771, 2327, 1, 0, 0, 0, 2771, 2328, 1, 0, 0, 0, 2771, 2329, 1, 0, 0, 0, 2771, 2330, 1, 0, 0, 0, 2771, 2331, 1, 0, 0, 0, 2771, 2332, 1, 0, 0, 0, 2771, 2339, 1, 0, 0, 0, 2771, 2349, 1, 0, 0, 0, 2771, 2361, 1, 0, 0, 0, 2771, 2396, 1, 0, 0, 0, 2771, 2414, 1, 0, 0, 0, 2771, 2453, 1, 0, 0, 0, 2771, 2456, 1, 0, 0, 0, 2771, 2460, 1, 0, 0, 0, 2771, 2474, 1, 0, 0, 0, 2771, 2478, 1, 0, 0, 0, 2771, 2483, 1, 0, 0, 0, 2771, 2496, 1, 0, 0, 0, 2771, 2508, 1, 0, 0, 0, 2771, 2515, 1, 0, 0, 0, 2771, 2522, 1, 0, 0, 0, 2771, 2535, 1, 0, 0, 0, 2771, 2536, 1, 0, 0, 0, 2771, 2537, 1, 0, 0, 0, 2771, 2543, 1, 0, 0, 0, 2771, 2549, 1, 0, 0, 0, 2771, 2555, 1, 0, 0, 0, 2771, 2561, 1, 0, 0, 0, 2771, 2562, 1, 0, 0, 0, 2771, 2563, 1, 0, 0, 0, 2771, 2564, 1, 0, 0, 0, 2771, 2565, 1, 0, 0, 0, 2771, 2579, 1, 0, 0, 0, 2771, 2586, 1, 0, 0, 0, 2771, 2597, 1, 0, 0, 0, 2771, 2606, 1, 0, 0, 0, 2771, 2613, 1, 0, 0, 0, 2771, 2617, 1, 0, 0, 0, 2771, 2630, 1, 0, 0, 0, 2771, 2641, 1, 0, 0, 0, 2771, 2662, 1, 0, 0, 0, 2771, 2701, 1, 0, 0, 0, 2771, 2742, 1, 0, 0, 0, 2772, 2783, 1, 0, 0, 0, 2773, 2774, 10, 24, 0, 0, 2774, 2775, 5, 8, 0, 0, 2775, 2776, 3, 142, 71, 0, 2776, 2777, 5, 9, 0, 0, 2777, 2782, 1, 0, 0, 0, 2778, 2779, 10, 22, 0, 0, 2779, 2780, 5, 4, 0, 0, 2780, 2782, 3, 294, 147, 0, 2781, 2773, 1, 0, 0, 0, 2781, 2778, 1, 0, 0, 0, 2782, 2785, 1, 0, 0, 0, 2783, 2781, 1, 0, 0, 0, 2783, 2784, 1, 0, 0, 0, 2784, 145, 1, 0, 0, 0, 2785, 2783, 1, 0, 0, 0, 2786, 2787, 3, 148, 74, 0, 2787, 2788, 5, 3, 0, 0, 2788, 2791, 3, 168, 84, 0, 2789, 2790, 5, 28, 0, 0, 2790, 2792, 3, 294, 147, 0, 2791, 2789, 1, 0, 0, 0, 2791, 2792, 1, 0, 0, 0, 2792, 2802, 1, 0, 0, 0, 2793, 2794, 5, 203, 0, 0, 2794, 2799, 3, 152, 76, 0, 2795, 2796, 5, 3, 0, 0, 2796, 2798, 3, 152, 76, 0, 2797, 2795, 1, 0, 0, 0, 2798, 2801, 1, 0, 0, 0, 2799, 2797, 1, 0, 0, 0, 2799, 2800, 1, 0, 0, 0, 2800, 2803, 1, 0, 0, 0, 2801, 2799, 1, 0, 0, 0, 2802, 2793, 1, 0, 0, 0, 2802, 2803, 1, 0, 0, 0, 2803, 147, 1, 0, 0, 0, 2804, 2807, 3, 136, 68, 0, 2805, 2806, 5, 104, 0, 0, 2806, 2808, 3, 150, 75, 0, 2807, 2805, 1, 0, 0, 0, 2807, 2808, 1, 0, 0, 0, 2808, 149, 1, 0, 0, 0, 2809, 2812, 5, 137, 0, 0, 2810, 2811, 5, 87, 0, 0, 2811, 2813, 7, 20, 0, 0, 2812, 2810, 1, 0, 0, 0, 2812, 2813, 1, 0, 0, 0, 2813, 151, 1, 0, 0, 0, 2814, 2815, 3, 148, 74, 0, 2815, 2816, 5, 28, 0, 0, 2816, 2817, 3, 294, 147, 0, 2817, 153, 1, 0, 0, 0, 2818, 2819, 7, 21, 0, 0, 2819, 155, 1, 0, 0, 0, 2820, 2825, 5, 89, 0, 0, 2821, 2825, 5, 183, 0, 0, 2822, 2823, 5, 70, 0, 0, 2823, 2825, 3, 136, 68, 0, 2824, 2820, 1, 0, 0, 0, 2824, 2821, 1, 0, 0, 0, 2824, 2822, 1, 0, 0, 0, 2825, 157, 1, 0, 0, 0, 2826, 2828, 5, 306, 0, 0, 2827, 2829, 5, 27, 0, 0, 2828, 2827, 1, 0, 0, 0, 2828, 2829, 1, 0, 0, 0, 2829, 2838, 1, 0, 0, 0, 2830, 2832, 5, 304, 0, 0, 2831, 2833, 7, 22, 0, 0, 2832, 2831, 1, 0, 0, 0, 2832, 2833, 1, 0, 0, 0, 2833, 2835, 1, 0, 0, 0, 2834, 2836, 5, 27, 0, 0, 2835, 2834, 1, 0, 0, 0, 2835, 2836, 1, 0, 0, 0, 2836, 2838, 1, 0, 0, 0, 2837, 2826, 1, 0, 0, 0, 2837, 2830, 1, 0, 0, 0, 2838, 159, 1, 0, 0, 0, 2839, 2846, 5, 89, 0, 0, 2840, 2846, 5, 183, 0, 0, 2841, 2842, 5, 85, 0, 0, 2842, 2846, 5, 27, 0, 0, 2843, 2844, 5, 85, 0, 0, 2844, 2846, 5, 186, 0, 0, 2845, 2839, 1, 0, 0, 0, 2845, 2840, 1, 0, 0, 0, 2845, 2841, 1, 0, 0, 0, 2845, 2843, 1, 0, 0, 0, 2846, 161, 1, 0, 0, 0, 2847, 2849, 5, 145, 0, 0, 2848, 2847, 1, 0, 0, 0, 2848, 2849, 1, 0, 0, 0, 2849, 2850, 1, 0, 0, 0, 2850, 2851, 3, 136, 68, 0, 2851, 2852, 5, 295, 0, 0, 2852, 2853, 3, 148, 74, 0, 2853, 2859, 1, 0, 0, 0, 2854, 2855, 3, 136, 68, 0, 2855, 2856, 5, 10, 0, 0, 2856, 2857, 3, 148, 74, 0, 2857, 2859, 1, 0, 0, 0, 2858, 2848, 1, 0, 0, 0, 2858, 2854, 1, 0, 0, 0, 2859, 163, 1, 0, 0, 0, 2860, 2861, 7, 23, 0, 0, 2861, 165, 1, 0, 0, 0, 2862, 2863, 5, 120, 0, 0, 2863, 2867, 5, 185, 0, 0, 2864, 2865, 5, 228, 0, 0, 2865, 2867, 5, 185, 0, 0, 2866, 2862, 1, 0, 0, 0, 2866, 2864, 1, 0, 0, 0, 2867, 167, 1, 0, 0, 0, 2868, 2875, 5, 326, 0, 0, 2869, 2872, 5, 327, 0, 0, 2870, 2871, 5, 277, 0, 0, 2871, 2873, 5, 326, 0, 0, 2872, 2870, 1, 0, 0, 0, 2872, 2873, 1, 0, 0, 0, 2873, 2875, 1, 0, 0, 0, 2874, 2868, 1, 0, 0, 0, 2874, 2869, 1, 0, 0, 0, 2875, 169, 1, 0, 0, 0, 2876, 2877, 5, 267, 0, 0, 2877, 2878, 5, 311, 0, 0, 2878, 2883, 3, 178, 89, 0, 2879, 2880, 5, 267, 0, 0, 2880, 2881, 5, 311, 0, 0, 2881, 2883, 3, 168, 84, 0, 2882, 2876, 1, 0, 0, 0, 2882, 2879, 1, 0, 0, 0, 2883, 171, 1, 0, 0, 0, 2884, 2885, 7, 24, 0, 0, 2885, 173, 1, 0, 0, 0, 2886, 2887, 7, 25, 0, 0, 2887, 175, 1, 0, 0, 0, 2888, 2889, 7, 26, 0, 0, 2889, 177, 1, 0, 0, 0, 2890, 2892, 5, 129, 0, 0, 2891, 2893, 7, 18, 0, 0, 2892, 2891, 1, 0, 0, 0, 2892, 2893, 1, 0, 0, 0, 2893, 2894, 1, 0, 0, 0, 2894, 2895, 3, 168, 84, 0, 2895, 2898, 3, 180, 90, 0, 2896, 2897, 5, 269, 0, 0, 2897, 2899, 3, 180, 90, 0, 2898, 2896, 1, 0, 0, 0, 2898, 2899, 1, 0, 0, 0, 2899, 179, 1, 0, 0, 0, 2900, 2901, 7, 27, 0, 0, 2901, 181, 1, 0, 0, 0, 2902, 2903, 7, 28, 0, 0, 2903, 183, 1, 0, 0, 0, 2904, 2905, 6, 92, -1, 0, 2905, 2906, 5, 239, 0, 0, 2906, 2907, 5, 1, 0, 0, 2907, 2912, 3, 186, 93, 0, 2908, 2909, 5, 3, 0, 0, 2909, 2911, 3, 186, 93, 0, 2910, 2908, 1, 0, 0, 0, 2911, 2914, 1, 0, 0, 0, 2912, 2910, 1, 0, 0, 0, 2912, 2913, 1, 0, 0, 0, 2913, 2915, 1, 0, 0, 0, 2914, 2912, 1, 0, 0, 0, 2915, 2916, 5, 2, 0, 0, 2916, 2996, 1, 0, 0, 0, 2917, 2918, 5, 129, 0, 0, 2918, 2921, 3, 180, 90, 0, 2919, 2920, 5, 269, 0, 0, 2920, 2922, 3, 180, 90, 0, 2921, 2919, 1, 0, 0, 0, 2921, 2922, 1, 0, 0, 0, 2922, 2996, 1, 0, 0, 0, 2923, 2928, 5, 268, 0, 0, 2924, 2925, 5, 1, 0, 0, 2925, 2926, 3, 188, 94, 0, 2926, 2927, 5, 2, 0, 0, 2927, 2929, 1, 0, 0, 0, 2928, 2924, 1, 0, 0, 0, 2928, 2929, 1, 0, 0, 0, 2929, 2933, 1, 0, 0, 0, 2930, 2931, 5, 306, 0, 0, 2931, 2932, 5, 267, 0, 0, 2932, 2934, 5, 311, 0, 0, 2933, 2930, 1, 0, 0, 0, 2933, 2934, 1, 0, 0, 0, 2934, 2996, 1, 0, 0, 0, 2935, 2940, 5, 268, 0, 0, 2936, 2937, 5, 1, 0, 0, 2937, 2938, 3, 188, 94, 0, 2938, 2939, 5, 2, 0, 0, 2939, 2941, 1, 0, 0, 0, 2940, 2936, 1, 0, 0, 0, 2940, 2941, 1, 0, 0, 0, 2941, 2942, 1, 0, 0, 0, 2942, 2943, 5, 304, 0, 0, 2943, 2944, 5, 267, 0, 0, 2944, 2996, 5, 311, 0, 0, 2945, 2950, 5, 267, 0, 0, 2946, 2947, 5, 1, 0, 0, 2947, 2948, 3, 188, 94, 0, 2948, 2949, 5, 2, 0, 0, 2949, 2951, 1, 0, 0, 0, 2950, 2946, 1, 0, 0, 0, 2950, 2951, 1, 0, 0, 0, 2951, 2955, 1, 0, 0, 0, 2952, 2953, 5, 306, 0, 0, 2953, 2954, 5, 267, 0, 0, 2954, 2956, 5, 311, 0, 0, 2955, 2952, 1, 0, 0, 0, 2955, 2956, 1, 0, 0, 0, 2956, 2996, 1, 0, 0, 0, 2957, 2962, 5, 267, 0, 0, 2958, 2959, 5, 1, 0, 0, 2959, 2960, 3, 188, 94, 0, 2960, 2961, 5, 2, 0, 0, 2961, 2963, 1, 0, 0, 0, 2962, 2958, 1, 0, 0, 0, 2962, 2963, 1, 0, 0, 0, 2963, 2964, 1, 0, 0, 0, 2964, 2965, 5, 304, 0, 0, 2965, 2966, 5, 267, 0, 0, 2966, 2996, 5, 311, 0, 0, 2967, 2968, 5, 82, 0, 0, 2968, 2996, 5, 213, 0, 0, 2969, 2970, 5, 27, 0, 0, 2970, 2971, 5, 314, 0, 0, 2971, 2972, 3, 184, 92, 0, 2972, 2973, 5, 316, 0, 0, 2973, 2996, 1, 0, 0, 0, 2974, 2975, 5, 162, 0, 0, 2975, 2976, 5, 314, 0, 0, 2976, 2977, 3, 184, 92, 0, 2977, 2978, 5, 3, 0, 0, 2978, 2979, 3, 184, 92, 0, 2979, 2980, 5, 316, 0, 0, 2980, 2996, 1, 0, 0, 0, 2981, 2993, 3, 294, 147, 0, 2982, 2983, 5, 1, 0, 0, 2983, 2988, 3, 188, 94, 0, 2984, 2985, 5, 3, 0, 0, 2985, 2987, 3, 188, 94, 0, 2986, 2984, 1, 0, 0, 0, 2987, 2990, 1, 0, 0, 0, 2988, 2986, 1, 0, 0, 0, 2988, 2989, 1, 0, 0, 0, 2989, 2991, 1, 0, 0, 0, 2990, 2988, 1, 0, 0, 0, 2991, 2992, 5, 2, 0, 0, 2992, 2994, 1, 0, 0, 0, 2993, 2982, 1, 0, 0, 0, 2993, 2994, 1, 0, 0, 0, 2994, 2996, 1, 0, 0, 0, 2995, 2904, 1, 0, 0, 0, 2995, 2917, 1, 0, 0, 0, 2995, 2923, 1, 0, 0, 0, 2995, 2935, 1, 0, 0, 0, 2995, 2945, 1, 0, 0, 0, 2995, 2957, 1, 0, 0, 0, 2995, 2967, 1, 0, 0, 0, 2995, 2969, 1, 0, 0, 0, 2995, 2974, 1, 0, 0, 0, 2995, 2981, 1, 0, 0, 0, 2996, 3006, 1, 0, 0, 0, 2997, 2998, 10, 2, 0, 0, 2998, 3002, 5, 27, 0, 0, 2999, 3000, 5, 8, 0, 0, 3000, 3001, 5, 329, 0, 0, 3001, 3003, 5, 9, 0, 0, 3002, 2999, 1, 0, 0, 0, 3002, 3003, 1, 0, 0, 0, 3003, 3005, 1, 0, 0, 0, 3004, 2997, 1, 0, 0, 0, 3005, 3008, 1, 0, 0, 0, 3006, 3004, 1, 0, 0, 0, 3006, 3007, 1, 0, 0, 0, 3007, 185, 1, 0, 0, 0, 3008, 3006, 1, 0, 0, 0, 3009, 3014, 3, 184, 92, 0, 3010, 3011, 3, 294, 147, 0, 3011, 3012, 3, 184, 92, 0, 3012, 3014, 1, 0, 0, 0, 3013, 3009, 1, 0, 0, 0, 3013, 3010, 1, 0, 0, 0, 3014, 187, 1, 0, 0, 0, 3015, 3018, 5, 329, 0, 0, 3016, 3018, 3, 184, 92, 0, 3017, 3015, 1, 0, 0, 0, 3017, 3016, 1, 0, 0, 0, 3018, 189, 1, 0, 0, 0, 3019, 3020, 5, 300, 0, 0, 3020, 3021, 3, 136, 68, 0, 3021, 3022, 5, 265, 0, 0, 3022, 3023, 3, 136, 68, 0, 3023, 191, 1, 0, 0, 0, 3024, 3025, 5, 99, 0, 0, 3025, 3026, 5, 1, 0, 0, 3026, 3027, 5, 301, 0, 0, 3027, 3028, 3, 138, 69, 0, 3028, 3029, 5, 2, 0, 0, 3029, 193, 1, 0, 0, 0, 3030, 3031, 5, 300, 0, 0, 3031, 3034, 5, 164, 0, 0, 3032, 3033, 5, 25, 0, 0, 3033, 3035, 3, 136, 68, 0, 3034, 3032, 1, 0, 0, 0, 3034, 3035, 1, 0, 0, 0, 3035, 3036, 1, 0, 0, 0, 3036, 3037, 5, 265, 0, 0, 3037, 3038, 5, 287, 0, 0, 3038, 3039, 5, 251, 0, 0, 3039, 3040, 3, 294, 147, 0, 3040, 3041, 5, 312, 0, 0, 3041, 3049, 3, 136, 68, 0, 3042, 3043, 5, 3, 0, 0, 3043, 3044, 3, 294, 147, 0, 3044, 3045, 5, 312, 0, 0, 3045, 3046, 3, 136, 68, 0, 3046, 3048, 1, 0, 0, 0, 3047, 3042, 1, 0, 0, 0, 3048, 3051, 1, 0, 0, 0, 3049, 3047, 1, 0, 0, 0, 3049, 3050, 1, 0, 0, 0, 3050, 3095, 1, 0, 0, 0, 3051, 3049, 1, 0, 0, 0, 3052, 3053, 5, 300, 0, 0, 3053, 3056, 5, 164, 0, 0, 3054, 3055, 5, 25, 0, 0, 3055, 3057, 3, 136, 68, 0, 3056, 3054, 1, 0, 0, 0, 3056, 3057, 1, 0, 0, 0, 3057, 3058, 1, 0, 0, 0, 3058, 3059, 5, 265, 0, 0, 3059, 3095, 5, 73, 0, 0, 3060, 3061, 5, 300, 0, 0, 3061, 3062, 5, 182, 0, 0, 3062, 3065, 5, 164, 0, 0, 3063, 3064, 5, 25, 0, 0, 3064, 3066, 3, 136, 68, 0, 3065, 3063, 1, 0, 0, 0, 3065, 3066, 1, 0, 0, 0, 3066, 3067, 1, 0, 0, 0, 3067, 3068, 5, 265, 0, 0, 3068, 3080, 5, 127, 0, 0, 3069, 3070, 5, 1, 0, 0, 3070, 3075, 3, 294, 147, 0, 3071, 3072, 5, 3, 0, 0, 3072, 3074, 3, 294, 147, 0, 3073, 3071, 1, 0, 0, 0, 3074, 3077, 1, 0, 0, 0, 3075, 3073, 1, 0, 0, 0, 3075, 3076, 1, 0, 0, 0, 3076, 3078, 1, 0, 0, 0, 3077, 3075, 1, 0, 0, 0, 3078, 3079, 5, 2, 0, 0, 3079, 3081, 1, 0, 0, 0, 3080, 3069, 1, 0, 0, 0, 3080, 3081, 1, 0, 0, 0, 3081, 3082, 1, 0, 0, 0, 3082, 3083, 5, 296, 0, 0, 3083, 3084, 5, 1, 0, 0, 3084, 3089, 3, 136, 68, 0, 3085, 3086, 5, 3, 0, 0, 3086, 3088, 3, 136, 68, 0, 3087, 3085, 1, 0, 0, 0, 3088, 3091, 1, 0, 0, 0, 3089, 3087, 1, 0, 0, 0, 3089, 3090, 1, 0, 0, 0, 3090, 3092, 1, 0, 0, 0, 3091, 3089, 1, 0, 0, 0, 3092, 3093, 5, 2, 0, 0, 3093, 3095, 1, 0, 0, 0, 3094, 3030, 1, 0, 0, 0, 3094, 3052, 1, 0, 0, 0, 3094, 3060, 1, 0, 0, 0, 3095, 195, 1, 0, 0, 0, 3096, 3102, 5, 199, 0, 0, 3097, 3103, 3, 294, 147, 0, 3098, 3099, 5, 1, 0, 0, 3099, 3100, 3, 64, 32, 0, 3100, 3101, 5, 2, 0, 0, 3101, 3103, 1, 0, 0, 0, 3102, 3097, 1, 0, 0, 0, 3102, 3098, 1, 0, 0, 0, 3103, 197, 1, 0, 0, 0, 3104, 3105, 5, 168, 0, 0, 3105, 3110, 3, 90, 45, 0, 3106, 3107, 5, 3, 0, 0, 3107, 3109, 3, 90, 45, 0, 3108, 3106, 1, 0, 0, 0, 3109, 3112, 1, 0, 0, 0, 3110, 3108, 1, 0, 0, 0, 3110, 3111, 1, 0, 0, 0, 3111, 3114, 1, 0, 0, 0, 3112, 3110, 1, 0, 0, 0, 3113, 3104, 1, 0, 0, 0, 3113, 3114, 1, 0, 0, 0, 3114, 3115, 1, 0, 0, 0, 3115, 3119, 3, 200, 100, 0, 3116, 3117, 5, 21, 0, 0, 3117, 3118, 5, 163, 0, 0, 3118, 3120, 3, 96, 48, 0, 3119, 3116, 1, 0, 0, 0, 3119, 3120, 1, 0, 0, 0, 3120, 3122, 1, 0, 0, 0, 3121, 3123, 7, 13, 0, 0, 3122, 3121, 1, 0, 0, 0, 3122, 3123, 1, 0, 0, 0, 3123, 3129, 1, 0, 0, 0, 3124, 3125, 5, 206, 0, 0, 3125, 3126, 5, 1, 0, 0, 3126, 3127, 3, 204, 102, 0, 3127, 3128, 5, 2, 0, 0, 3128, 3130, 1, 0, 0, 0, 3129, 3124, 1, 0, 0, 0, 3129, 3130, 1, 0, 0, 0, 3130, 3140, 1, 0, 0, 0, 3131, 3132, 5, 257, 0, 0, 3132, 3137, 3, 98, 49, 0, 3133, 3134, 5, 3, 0, 0, 3134, 3136, 3, 98, 49, 0, 3135, 3133, 1, 0, 0, 0, 3136, 3139, 1, 0, 0, 0, 3137, 3135, 1, 0, 0, 0, 3137, 3138, 1, 0, 0, 0, 3138, 3141, 1, 0, 0, 0, 3139, 3137, 1, 0, 0, 0, 3140, 3131, 1, 0, 0, 0, 3140, 3141, 1, 0, 0, 0, 3141, 3151, 1, 0, 0, 0, 3142, 3143, 5, 71, 0, 0, 3143, 3148, 3, 100, 50, 0, 3144, 3145, 5, 3, 0, 0, 3145, 3147, 3, 100, 50, 0, 3146, 3144, 1, 0, 0, 0, 3147, 3150, 1, 0, 0, 0, 3148, 3146, 1, 0, 0, 0, 3148, 3149, 1, 0, 0, 0, 3149, 3152, 1, 0, 0, 0, 3150, 3148, 1, 0, 0, 0, 3151, 3142, 1, 0, 0, 0, 3151, 3152, 1, 0, 0, 0, 3152, 199, 1, 0, 0, 0, 3153, 3154, 5, 219, 0, 0, 3154, 3178, 3, 202, 101, 0, 3155, 3156, 5, 240, 0, 0, 3156, 3178, 3, 202, 101, 0, 3157, 3158, 5, 116, 0, 0, 3158, 3178, 3, 202, 101, 0, 3159, 3160, 5, 219, 0, 0, 3160, 3161, 5, 34, 0, 0, 3161, 3162, 3, 202, 101, 0, 3162, 3163, 5, 25, 0, 0, 3163, 3164, 3, 202, 101, 0, 3164, 3178, 1, 0, 0, 0, 3165, 3166, 5, 240, 0, 0, 3166, 3167, 5, 34, 0, 0, 3167, 3168, 3, 202, 101, 0, 3168, 3169, 5, 25, 0, 0, 3169, 3170, 3, 202, 101, 0, 3170, 3178, 1, 0, 0, 0, 3171, 3172, 5, 116, 0, 0, 3172, 3173, 5, 34, 0, 0, 3173, 3174, 3, 202, 101, 0, 3174, 3175, 5, 25, 0, 0, 3175, 3176, 3, 202, 101, 0, 3176, 3178, 1, 0, 0, 0, 3177, 3153, 1, 0, 0, 0, 3177, 3155, 1, 0, 0, 0, 3177, 3157, 1, 0, 0, 0, 3177, 3159, 1, 0, 0, 0, 3177, 3165, 1, 0, 0, 0, 3177, 3171, 1, 0, 0, 0, 3178, 201, 1, 0, 0, 0, 3179, 3180, 5, 278, 0, 0, 3180, 3189, 5, 212, 0, 0, 3181, 3182, 5, 278, 0, 0, 3182, 3189, 5, 102, 0, 0, 3183, 3184, 5, 56, 0, 0, 3184, 3189, 5, 239, 0, 0, 3185, 3186, 3, 136, 68, 0, 3186, 3187, 7, 29, 0, 0, 3187, 3189, 1, 0, 0, 0, 3188, 3179, 1, 0, 0, 0, 3188, 3181, 1, 0, 0, 0, 3188, 3183, 1, 0, 0, 0, 3188, 3185, 1, 0, 0, 0, 3189, 203, 1, 0, 0, 0, 3190, 3191, 6, 102, -1, 0, 3191, 3193, 3, 206, 103, 0, 3192, 3194, 3, 208, 104, 0, 3193, 3192, 1, 0, 0, 0, 3193, 3194, 1, 0, 0, 0, 3194, 3202, 1, 0, 0, 0, 3195, 3196, 10, 2, 0, 0, 3196, 3201, 3, 204, 102, 3, 3197, 3198, 10, 1, 0, 0, 3198, 3199, 5, 11, 0, 0, 3199, 3201, 3, 204, 102, 2, 3200, 3195, 1, 0, 0, 0, 3200, 3197, 1, 0, 0, 0, 3201, 3204, 1, 0, 0, 0, 3202, 3200, 1, 0, 0, 0, 3202, 3203, 1, 0, 0, 0, 3203, 205, 1, 0, 0, 0, 3204, 3202, 1, 0, 0, 0, 3205, 3231, 3, 294, 147, 0, 3206, 3207, 5, 1, 0, 0, 3207, 3231, 5, 2, 0, 0, 3208, 3209, 5, 209, 0, 0, 3209, 3210, 5, 1, 0, 0, 3210, 3215, 3, 204, 102, 0, 3211, 3212, 5, 3, 0, 0, 3212, 3214, 3, 204, 102, 0, 3213, 3211, 1, 0, 0, 0, 3214, 3217, 1, 0, 0, 0, 3215, 3213, 1, 0, 0, 0, 3215, 3216, 1, 0, 0, 0, 3216, 3218, 1, 0, 0, 0, 3217, 3215, 1, 0, 0, 0, 3218, 3219, 5, 2, 0, 0, 3219, 3231, 1, 0, 0, 0, 3220, 3221, 5, 1, 0, 0, 3221, 3222, 3, 204, 102, 0, 3222, 3223, 5, 2, 0, 0, 3223, 3231, 1, 0, 0, 0, 3224, 3231, 5, 12, 0, 0, 3225, 3231, 5, 13, 0, 0, 3226, 3227, 5, 14, 0, 0, 3227, 3228, 3, 204, 102, 0, 3228, 3229, 5, 15, 0, 0, 3229, 3231, 1, 0, 0, 0, 3230, 3205, 1, 0, 0, 0, 3230, 3206, 1, 0, 0, 0, 3230, 3208, 1, 0, 0, 0, 3230, 3220, 1, 0, 0, 0, 3230, 3224, 1, 0, 0, 0, 3230, 3225, 1, 0, 0, 0, 3230, 3226, 1, 0, 0, 0, 3231, 207, 1, 0, 0, 0, 3232, 3234, 5, 320, 0, 0, 3233, 3235, 5, 324, 0, 0, 3234, 3233, 1, 0, 0, 0, 3234, 3235, 1, 0, 0, 0, 3235, 3263, 1, 0, 0, 0, 3236, 3238, 5, 318, 0, 0, 3237, 3239, 5, 324, 0, 0, 3238, 3237, 1, 0, 0, 0, 3238, 3239, 1, 0, 0, 0, 3239, 3263, 1, 0, 0, 0, 3240, 3242, 5, 324, 0, 0, 3241, 3243, 5, 324, 0, 0, 3242, 3241, 1, 0, 0, 0, 3242, 3243, 1, 0, 0, 0, 3243, 3263, 1, 0, 0, 0, 3244, 3245, 5, 16, 0, 0, 3245, 3246, 5, 329, 0, 0, 3246, 3248, 5, 17, 0, 0, 3247, 3249, 5, 324, 0, 0, 3248, 3247, 1, 0, 0, 0, 3248, 3249, 1, 0, 0, 0, 3249, 3263, 1, 0, 0, 0, 3250, 3252, 5, 16, 0, 0, 3251, 3253, 5, 329, 0, 0, 3252, 3251, 1, 0, 0, 0, 3252, 3253, 1, 0, 0, 0, 3253, 3254, 1, 0, 0, 0, 3254, 3256, 5, 3, 0, 0, 3255, 3257, 5, 329, 0, 0, 3256, 3255, 1, 0, 0, 0, 3256, 3257, 1, 0, 0, 0, 3257, 3258, 1, 0, 0, 0, 3258, 3260, 5, 17, 0, 0, 3259, 3261, 5, 324, 0, 0, 3260, 3259, 1, 0, 0, 0, 3260, 3261, 1, 0, 0, 0, 3261, 3263, 1, 0, 0, 0, 3262, 3232, 1, 0, 0, 0, 3262, 3236, 1, 0, 0, 0, 3262, 3240, 1, 0, 0, 0, 3262, 3244, 1, 0, 0, 0, 3262, 3250, 1, 0, 0, 0, 3263, 209, 1, 0, 0, 0, 3264, 3265, 3, 294, 147, 0, 3265, 3266, 5, 312, 0, 0, 3266, 3267, 3, 136, 68, 0, 3267, 211, 1, 0, 0, 0, 3268, 3269, 5, 104, 0, 0, 3269, 3273, 7, 30, 0, 0, 3270, 3271, 5, 276, 0, 0, 3271, 3273, 7, 31, 0, 0, 3272, 3268, 1, 0, 0, 0, 3272, 3270, 1, 0, 0, 0, 3273, 213, 1, 0, 0, 0, 3274, 3275, 5, 134, 0, 0, 3275, 3276, 5, 153, 0, 0, 3276, 3280, 3, 216, 108, 0, 3277, 3278, 5, 220, 0, 0, 3278, 3280, 7, 32, 0, 0, 3279, 3274, 1, 0, 0, 0, 3279, 3277, 1, 0, 0, 0, 3280, 215, 1, 0, 0, 0, 3281, 3282, 5, 220, 0, 0, 3282, 3289, 5, 279, 0, 0, 3283, 3284, 5, 220, 0, 0, 3284, 3289, 5, 48, 0, 0, 3285, 3286, 5, 225, 0, 0, 3286, 3289, 5, 220, 0, 0, 3287, 3289, 5, 249, 0, 0, 3288, 3281, 1, 0, 0, 0, 3288, 3283, 1, 0, 0, 0, 3288, 3285, 1, 0, 0, 0, 3288, 3287, 1, 0, 0, 0, 3289, 217, 1, 0, 0, 0, 3290, 3296, 3, 136, 68, 0, 3291, 3292, 3, 294, 147, 0, 3292, 3293, 5, 6, 0, 0, 3293, 3294, 3, 136, 68, 0, 3294, 3296, 1, 0, 0, 0, 3295, 3290, 1, 0, 0, 0, 3295, 3291, 1, 0, 0, 0, 3296, 219, 1, 0, 0, 0, 3297, 3298, 3, 294, 147, 0, 3298, 3299, 5, 4, 0, 0, 3299, 3300, 3, 294, 147, 0, 3300, 3303, 1, 0, 0, 0, 3301, 3303, 3, 294, 147, 0, 3302, 3297, 1, 0, 0, 0, 3302, 3301, 1, 0, 0, 0, 3303, 221, 1, 0, 0, 0, 3304, 3309, 3, 220, 110, 0, 3305, 3306, 5, 3, 0, 0, 3306, 3308, 3, 220, 110, 0, 3307, 3305, 1, 0, 0, 0, 3308, 3311, 1, 0, 0, 0, 3309, 3307, 1, 0, 0, 0, 3309, 3310, 1, 0, 0, 0, 3310, 223, 1, 0, 0, 0, 3311, 3309, 1, 0, 0, 0, 3312, 3313, 5, 107, 0, 0, 3313, 3314, 3, 226, 113, 0, 3314, 3318, 3, 232, 116, 0, 3315, 3317, 3, 234, 117, 0, 3316, 3315, 1, 0, 0, 0, 3317, 3320, 1, 0, 0, 0, 3318, 3316, 1, 0, 0, 0, 3318, 3319, 1, 0, 0, 0, 3319, 3321, 1, 0, 0, 0, 3320, 3318, 1, 0, 0, 0, 3321, 3322, 3, 236, 118, 0, 3322, 225, 1, 0, 0, 0, 3323, 3324, 3, 274, 137, 0, 3324, 3333, 5, 1, 0, 0, 3325, 3330, 3, 230, 115, 0, 3326, 3327, 5, 3, 0, 0, 3327, 3329, 3, 230, 115, 0, 3328, 3326, 1, 0, 0, 0, 3329, 3332, 1, 0, 0, 0, 3330, 3328, 1, 0, 0, 0, 3330, 3331, 1, 0, 0, 0, 3331, 3334, 1, 0, 0, 0, 3332, 3330, 1, 0, 0, 0, 3333, 3325, 1, 0, 0, 0, 3333, 3334, 1, 0, 0, 0, 3334, 3335, 1, 0, 0, 0, 3335, 3336, 5, 2, 0, 0, 3336, 227, 1, 0, 0, 0, 3337, 3338, 3, 272, 136, 0, 3338, 3347, 5, 1, 0, 0, 3339, 3344, 3, 230, 115, 0, 3340, 3341, 5, 3, 0, 0, 3341, 3343, 3, 230, 115, 0, 3342, 3340, 1, 0, 0, 0, 3343, 3346, 1, 0, 0, 0, 3344, 3342, 1, 0, 0, 0, 3344, 3345, 1, 0, 0, 0, 3345, 3348, 1, 0, 0, 0, 3346, 3344, 1, 0, 0, 0, 3347, 3339, 1, 0, 0, 0, 3347, 3348, 1, 0, 0, 0, 3348, 3349, 1, 0, 0, 0, 3349, 3350, 5, 2, 0, 0, 3350, 229, 1, 0, 0, 0, 3351, 3353, 3, 294, 147, 0, 3352, 3351, 1, 0, 0, 0, 3352, 3353, 1, 0, 0, 0, 3353, 3354, 1, 0, 0, 0, 3354, 3355, 3, 184, 92, 0, 3355, 231, 1, 0, 0, 0, 3356, 3357, 5, 232, 0, 0, 3357, 3358, 3, 184, 92, 0, 3358, 233, 1, 0, 0, 0, 3359, 3360, 5, 147, 0, 0, 3360, 3379, 3, 294, 147, 0, 3361, 3363, 5, 182, 0, 0, 3362, 3361, 1, 0, 0, 0, 3362, 3363, 1, 0, 0, 0, 3363, 3364, 1, 0, 0, 0, 3364, 3379, 5, 78, 0, 0, 3365, 3366, 5, 232, 0, 0, 3366, 3367, 5, 183, 0, 0, 3367, 3368, 5, 190, 0, 0, 3368, 3369, 5, 183, 0, 0, 3369, 3379, 5, 126, 0, 0, 3370, 3371, 5, 38, 0, 0, 3371, 3372, 5, 190, 0, 0, 3372, 3373, 5, 183, 0, 0, 3373, 3379, 5, 126, 0, 0, 3374, 3375, 5, 246, 0, 0, 3375, 3379, 7, 1, 0, 0, 3376, 3377, 5, 46, 0, 0, 3377, 3379, 3, 168, 84, 0, 3378, 3359, 1, 0, 0, 0, 3378, 3362, 1, 0, 0, 0, 3378, 3365, 1, 0, 0, 0, 3378, 3370, 1, 0, 0, 0, 3378, 3374, 1, 0, 0, 0, 3378, 3376, 1, 0, 0, 0, 3379, 235, 1, 0, 0, 0, 3380, 3381, 5, 230, 0, 0, 3381, 3480, 3, 142, 71, 0, 3382, 3383, 5, 251, 0, 0, 3383, 3384, 3, 294, 147, 0, 3384, 3385, 5, 312, 0, 0, 3385, 3386, 3, 136, 68, 0, 3386, 3480, 1, 0, 0, 0, 3387, 3388, 5, 40, 0, 0, 3388, 3390, 3, 136, 68, 0, 3389, 3391, 3, 238, 119, 0, 3390, 3389, 1, 0, 0, 0, 3391, 3392, 1, 0, 0, 0, 3392, 3390, 1, 0, 0, 0, 3392, 3393, 1, 0, 0, 0, 3393, 3395, 1, 0, 0, 0, 3394, 3396, 3, 242, 121, 0, 3395, 3394, 1, 0, 0, 0, 3395, 3396, 1, 0, 0, 0, 3396, 3397, 1, 0, 0, 0, 3397, 3398, 5, 88, 0, 0, 3398, 3399, 5, 40, 0, 0, 3399, 3480, 1, 0, 0, 0, 3400, 3402, 5, 40, 0, 0, 3401, 3403, 3, 238, 119, 0, 3402, 3401, 1, 0, 0, 0, 3403, 3404, 1, 0, 0, 0, 3404, 3402, 1, 0, 0, 0, 3404, 3405, 1, 0, 0, 0, 3405, 3407, 1, 0, 0, 0, 3406, 3408, 3, 242, 121, 0, 3407, 3406, 1, 0, 0, 0, 3407, 3408, 1, 0, 0, 0, 3408, 3409, 1, 0, 0, 0, 3409, 3410, 5, 88, 0, 0, 3410, 3411, 5, 40, 0, 0, 3411, 3480, 1, 0, 0, 0, 3412, 3413, 5, 119, 0, 0, 3413, 3414, 3, 136, 68, 0, 3414, 3415, 5, 265, 0, 0, 3415, 3419, 3, 246, 123, 0, 3416, 3418, 3, 240, 120, 0, 3417, 3416, 1, 0, 0, 0, 3418, 3421, 1, 0, 0, 0, 3419, 3417, 1, 0, 0, 0, 3419, 3420, 1, 0, 0, 0, 3420, 3423, 1, 0, 0, 0, 3421, 3419, 1, 0, 0, 0, 3422, 3424, 3, 242, 121, 0, 3423, 3422, 1, 0, 0, 0, 3423, 3424, 1, 0, 0, 0, 3424, 3425, 1, 0, 0, 0, 3425, 3426, 5, 88, 0, 0, 3426, 3427, 5, 119, 0, 0, 3427, 3480, 1, 0, 0, 0, 3428, 3429, 5, 135, 0, 0, 3429, 3480, 3, 294, 147, 0, 3430, 3431, 5, 151, 0, 0, 3431, 3480, 3, 294, 147, 0, 3432, 3438, 5, 32, 0, 0, 3433, 3434, 3, 244, 122, 0, 3434, 3435, 5, 325, 0, 0, 3435, 3437, 1, 0, 0, 0, 3436, 3433, 1, 0, 0, 0, 3437, 3440, 1, 0, 0, 0, 3438, 3436, 1, 0, 0, 0, 3438, 3439, 1, 0, 0, 0, 3439, 3442, 1, 0, 0, 0, 3440, 3438, 1, 0, 0, 0, 3441, 3443, 3, 246, 123, 0, 3442, 3441, 1, 0, 0, 0, 3442, 3443, 1, 0, 0, 0, 3443, 3444, 1, 0, 0, 0, 3444, 3480, 5, 88, 0, 0, 3445, 3446, 3, 294, 147, 0, 3446, 3447, 5, 10, 0, 0, 3447, 3449, 1, 0, 0, 0, 3448, 3445, 1, 0, 0, 0, 3448, 3449, 1, 0, 0, 0, 3449, 3450, 1, 0, 0, 0, 3450, 3451, 5, 161, 0, 0, 3451, 3452, 3, 246, 123, 0, 3452, 3453, 5, 88, 0, 0, 3453, 3454, 5, 161, 0, 0, 3454, 3480, 1, 0, 0, 0, 3455, 3456, 3, 294, 147, 0, 3456, 3457, 5, 10, 0, 0, 3457, 3459, 1, 0, 0, 0, 3458, 3455, 1, 0, 0, 0, 3458, 3459, 1, 0, 0, 0, 3459, 3460, 1, 0, 0, 0, 3460, 3461, 5, 302, 0, 0, 3461, 3462, 3, 136, 68, 0, 3462, 3463, 5, 81, 0, 0, 3463, 3464, 3, 246, 123, 0, 3464, 3465, 5, 88, 0, 0, 3465, 3466, 5, 302, 0, 0, 3466, 3480, 1, 0, 0, 0, 3467, 3468, 3, 294, 147, 0, 3468, 3469, 5, 10, 0, 0, 3469, 3471, 1, 0, 0, 0, 3470, 3467, 1, 0, 0, 0, 3470, 3471, 1, 0, 0, 0, 3471, 3472, 1, 0, 0, 0, 3472, 3473, 5, 224, 0, 0, 3473, 3474, 3, 246, 123, 0, 3474, 3475, 5, 286, 0, 0, 3475, 3476, 3, 136, 68, 0, 3476, 3477, 5, 88, 0, 0, 3477, 3478, 5, 224, 0, 0, 3478, 3480, 1, 0, 0, 0, 3479, 3380, 1, 0, 0, 0, 3479, 3382, 1, 0, 0, 0, 3479, 3387, 1, 0, 0, 0, 3479, 3400, 1, 0, 0, 0, 3479, 3412, 1, 0, 0, 0, 3479, 3428, 1, 0, 0, 0, 3479, 3430, 1, 0, 0, 0, 3479, 3432, 1, 0, 0, 0, 3479, 3448, 1, 0, 0, 0, 3479, 3458, 1, 0, 0, 0, 3479, 3470, 1, 0, 0, 0, 3480, 237, 1, 0, 0, 0, 3481, 3482, 5, 300, 0, 0, 3482, 3483, 3, 136, 68, 0, 3483, 3484, 5, 265, 0, 0, 3484, 3485, 3, 246, 123, 0, 3485, 239, 1, 0, 0, 0, 3486, 3487, 5, 86, 0, 0, 3487, 3488, 3, 136, 68, 0, 3488, 3489, 5, 265, 0, 0, 3489, 3490, 3, 246, 123, 0, 3490, 241, 1, 0, 0, 0, 3491, 3492, 5, 84, 0, 0, 3492, 3493, 3, 246, 123, 0, 3493, 243, 1, 0, 0, 0, 3494, 3495, 5, 69, 0, 0, 3495, 3500, 3, 294, 147, 0, 3496, 3497, 5, 3, 0, 0, 3497, 3499, 3, 294, 147, 0, 3498, 3496, 1, 0, 0, 0, 3499, 3502, 1, 0, 0, 0, 3500, 3498, 1, 0, 0, 0, 3500, 3501, 1, 0, 0, 0, 3501, 3503, 1, 0, 0, 0, 3502, 3500, 1, 0, 0, 0, 3503, 3506, 3, 184, 92, 0, 3504, 3505, 5, 70, 0, 0, 3505, 3507, 3, 142, 71, 0, 3506, 3504, 1, 0, 0, 0, 3506, 3507, 1, 0, 0, 0, 3507, 245, 1, 0, 0, 0, 3508, 3509, 3, 236, 118, 0, 3509, 3510, 5, 325, 0, 0, 3510, 3512, 1, 0, 0, 0, 3511, 3508, 1, 0, 0, 0, 3512, 3513, 1, 0, 0, 0, 3513, 3511, 1, 0, 0, 0, 3513, 3514, 1, 0, 0, 0, 3514, 247, 1, 0, 0, 0, 3515, 3522, 5, 53, 0, 0, 3516, 3522, 5, 248, 0, 0, 3517, 3522, 5, 73, 0, 0, 3518, 3522, 5, 127, 0, 0, 3519, 3522, 5, 287, 0, 0, 3520, 3522, 3, 294, 147, 0, 3521, 3515, 1, 0, 0, 0, 3521, 3516, 1, 0, 0, 0, 3521, 3517, 1, 0, 0, 0, 3521, 3518, 1, 0, 0, 0, 3521, 3519, 1, 0, 0, 0, 3521, 3520, 1, 0, 0, 0, 3522, 249, 1, 0, 0, 0, 3523, 3527, 5, 260, 0, 0, 3524, 3527, 5, 243, 0, 0, 3525, 3527, 3, 294, 147, 0, 3526, 3523, 1, 0, 0, 0, 3526, 3524, 1, 0, 0, 0, 3526, 3525, 1, 0, 0, 0, 3527, 251, 1, 0, 0, 0, 3528, 3530, 3, 250, 125, 0, 3529, 3528, 1, 0, 0, 0, 3529, 3530, 1, 0, 0, 0, 3530, 3531, 1, 0, 0, 0, 3531, 3532, 3, 280, 140, 0, 3532, 253, 1, 0, 0, 0, 3533, 3536, 3, 256, 128, 0, 3534, 3536, 3, 260, 130, 0, 3535, 3533, 1, 0, 0, 0, 3535, 3534, 1, 0, 0, 0, 3536, 255, 1, 0, 0, 0, 3537, 3549, 3, 294, 147, 0, 3538, 3539, 3, 294, 147, 0, 3539, 3540, 5, 4, 0, 0, 3540, 3541, 3, 294, 147, 0, 3541, 3549, 1, 0, 0, 0, 3542, 3543, 3, 294, 147, 0, 3543, 3544, 5, 4, 0, 0, 3544, 3545, 3, 294, 147, 0, 3545, 3546, 5, 4, 0, 0, 3546, 3547, 3, 294, 147, 0, 3547, 3549, 1, 0, 0, 0, 3548, 3537, 1, 0, 0, 0, 3548, 3538, 1, 0, 0, 0, 3548, 3542, 1, 0, 0, 0, 3549, 257, 1, 0, 0, 0, 3550, 3562, 3, 294, 147, 0, 3551, 3552, 3, 294, 147, 0, 3552, 3553, 5, 4, 0, 0, 3553, 3554, 3, 294, 147, 0, 3554, 3562, 1, 0, 0, 0, 3555, 3556, 3, 294, 147, 0, 3556, 3557, 5, 4, 0, 0, 3557, 3558, 3, 294, 147, 0, 3558, 3559, 5, 4, 0, 0, 3559, 3560, 3, 294, 147, 0, 3560, 3562, 1, 0, 0, 0, 3561, 3550, 1, 0, 0, 0, 3561, 3551, 1, 0, 0, 0, 3561, 3555, 1, 0, 0, 0, 3562, 259, 1, 0, 0, 0, 3563, 3575, 3, 294, 147, 0, 3564, 3565, 3, 294, 147, 0, 3565, 3566, 5, 4, 0, 0, 3566, 3567, 3, 294, 147, 0, 3567, 3575, 1, 0, 0, 0, 3568, 3569, 3, 294, 147, 0, 3569, 3570, 5, 4, 0, 0, 3570, 3571, 3, 294, 147, 0, 3571, 3572, 5, 4, 0, 0, 3572, 3573, 3, 294, 147, 0, 3573, 3575, 1, 0, 0, 0, 3574, 3563, 1, 0, 0, 0, 3574, 3564, 1, 0, 0, 0, 3574, 3568, 1, 0, 0, 0, 3575, 261, 1, 0, 0, 0, 3576, 3588, 3, 294, 147, 0, 3577, 3578, 3, 294, 147, 0, 3578, 3579, 5, 4, 0, 0, 3579, 3580, 3, 294, 147, 0, 3580, 3588, 1, 0, 0, 0, 3581, 3582, 3, 294, 147, 0, 3582, 3583, 5, 4, 0, 0, 3583, 3584, 3, 294, 147, 0, 3584, 3585, 5, 4, 0, 0, 3585, 3586, 3, 294, 147, 0, 3586, 3588, 1, 0, 0, 0, 3587, 3576, 1, 0, 0, 0, 3587, 3577, 1, 0, 0, 0, 3587, 3581, 1, 0, 0, 0, 3588, 263, 1, 0, 0, 0, 3589, 3595, 3, 294, 147, 0, 3590, 3591, 3, 294, 147, 0, 3591, 3592, 5, 4, 0, 0, 3592, 3593, 3, 294, 147, 0, 3593, 3595, 1, 0, 0, 0, 3594, 3589, 1, 0, 0, 0, 3594, 3590, 1, 0, 0, 0, 3595, 265, 1, 0, 0, 0, 3596, 3602, 3, 294, 147, 0, 3597, 3598, 3, 294, 147, 0, 3598, 3599, 5, 4, 0, 0, 3599, 3600, 3, 294, 147, 0, 3600, 3602, 1, 0, 0, 0, 3601, 3596, 1, 0, 0, 0, 3601, 3597, 1, 0, 0, 0, 3602, 267, 1, 0, 0, 0, 3603, 3604, 3, 294, 147, 0, 3604, 269, 1, 0, 0, 0, 3605, 3606, 3, 294, 147, 0, 3606, 271, 1, 0, 0, 0, 3607, 3608, 3, 280, 140, 0, 3608, 273, 1, 0, 0, 0, 3609, 3610, 3, 280, 140, 0, 3610, 275, 1, 0, 0, 0, 3611, 3614, 3, 280, 140, 0, 3612, 3614, 4, 138, 14, 0, 3613, 3611, 1, 0, 0, 0, 3613, 3612, 1, 0, 0, 0, 3614, 277, 1, 0, 0, 0, 3615, 3616, 3, 294, 147, 0, 3616, 279, 1, 0, 0, 0, 3617, 3622, 3, 294, 147, 0, 3618, 3619, 5, 4, 0, 0, 3619, 3621, 3, 294, 147, 0, 3620, 3618, 1, 0, 0, 0, 3621, 3624, 1, 0, 0, 0, 3622, 3620, 1, 0, 0, 0, 3622, 3623, 1, 0, 0, 0, 3623, 281, 1, 0, 0, 0, 3624, 3622, 1, 0, 0, 0, 3625, 3626, 5, 103, 0, 0, 3626, 3627, 3, 284, 142, 0, 3627, 3628, 5, 28, 0, 0, 3628, 3629, 5, 187, 0, 0, 3629, 3630, 3, 142, 71, 0, 3630, 283, 1, 0, 0, 0, 3631, 3632, 7, 33, 0, 0, 3632, 285, 1, 0, 0, 0, 3633, 3637, 3, 288, 144, 0, 3634, 3637, 5, 64, 0, 0, 3635, 3637, 5, 60, 0, 0, 3636, 3633, 1, 0, 0, 0, 3636, 3634, 1, 0, 0, 0, 3636, 3635, 1, 0, 0, 0, 3637, 287, 1, 0, 0, 0, 3638, 3644, 3, 294, 147, 0, 3639, 3640, 5, 289, 0, 0, 3640, 3644, 3, 294, 147, 0, 3641, 3642, 5, 235, 0, 0, 3642, 3644, 3, 294, 147, 0, 3643, 3638, 1, 0, 0, 0, 3643, 3639, 1, 0, 0, 0, 3643, 3641, 1, 0, 0, 0, 3644, 289, 1, 0, 0, 0, 3645, 3650, 3, 294, 147, 0, 3646, 3647, 5, 3, 0, 0, 3647, 3649, 3, 294, 147, 0, 3648, 3646, 1, 0, 0, 0, 3649, 3652, 1, 0, 0, 0, 3650, 3648, 1, 0, 0, 0, 3650, 3651, 1, 0, 0, 0, 3651, 291, 1, 0, 0, 0, 3652, 3650, 1, 0, 0, 0, 3653, 3661, 5, 53, 0, 0, 3654, 3661, 5, 248, 0, 0, 3655, 3661, 5, 73, 0, 0, 3656, 3661, 5, 127, 0, 0, 3657, 3661, 5, 287, 0, 0, 3658, 3661, 5, 93, 0, 0, 3659, 3661, 3, 294, 147, 0, 3660, 3653, 1, 0, 0, 0, 3660, 3654, 1, 0, 0, 0, 3660, 3655, 1, 0, 0, 0, 3660, 3656, 1, 0, 0, 0, 3660, 3657, 1, 0, 0, 0, 3660, 3658, 1, 0, 0, 0, 3660, 3659, 1, 0, 0, 0, 3661, 293, 1, 0, 0, 0, 3662, 3668, 5, 332, 0, 0, 3663, 3668, 5, 334, 0, 0, 3664, 3668, 3, 300, 150, 0, 3665, 3668, 5, 335, 0, 0, 3666, 3668, 5, 333, 0, 0, 3667, 3662, 1, 0, 0, 0, 3667, 3663, 1, 0, 0, 0, 3667, 3664, 1, 0, 0, 0, 3667, 3665, 1, 0, 0, 0, 3667, 3666, 1, 0, 0, 0, 3668, 295, 1, 0, 0, 0, 3669, 3671, 5, 319, 0, 0, 3670, 3669, 1, 0, 0, 0, 3670, 3671, 1, 0, 0, 0, 3671, 3672, 1, 0, 0, 0, 3672, 3682, 5, 330, 0, 0, 3673, 3675, 5, 319, 0, 0, 3674, 3673, 1, 0, 0, 0, 3674, 3675, 1, 0, 0, 0, 3675, 3676, 1, 0, 0, 0, 3676, 3682, 5, 331, 0, 0, 3677, 3679, 5, 319, 0, 0, 3678, 3677, 1, 0, 0, 0, 3678, 3679, 1, 0, 0, 0, 3679, 3680, 1, 0, 0, 0, 3680, 3682, 5, 329, 0, 0, 3681, 3670, 1, 0, 0, 0, 3681, 3674, 1, 0, 0, 0, 3681, 3678, 1, 0, 0, 0, 3682, 297, 1, 0, 0, 0, 3683, 3686, 3, 294, 147, 0, 3684, 3686, 3, 168, 84, 0, 3685, 3683, 1, 0, 0, 0, 3685, 3684, 1, 0, 0, 0, 3686, 299, 1, 0, 0, 0, 3687, 3688, 7, 34, 0, 0, 3688, 301, 1, 0, 0, 0, 480, 305, 314, 318, 322, 326, 330, 343, 350, 354, 358, 364, 368, 375, 380, 384, 390, 394, 413, 419, 423, 427, 431, 439, 443, 446, 451, 457, 466, 472, 476, 482, 489, 498, 510, 519, 528, 534, 545, 553, 561, 568, 578, 585, 593, 608, 643, 646, 649, 653, 659, 664, 671, 677, 681, 685, 693, 699, 703, 707, 721, 729, 748, 773, 776, 783, 790, 799, 803, 810, 818, 827, 833, 838, 842, 850, 855, 864, 870, 877, 886, 892, 896, 902, 909, 914, 927, 932, 944, 948, 954, 963, 968, 974, 1002, 1008, 1010, 1016, 1022, 1024, 1032, 1034, 1044, 1046, 1061, 1066, 1073, 1083, 1089, 1091, 1099, 1101, 1126, 1129, 1133, 1137, 1155, 1158, 1169, 1172, 1188, 1198, 1203, 1209, 1212, 1221, 1233, 1236, 1246, 1250, 1256, 1263, 1268, 1274, 1278, 1282, 1288, 1299, 1308, 1318, 1321, 1326, 1328, 1335, 1341, 1343, 1347, 1357, 1363, 1366, 1368, 1380, 1387, 1391, 1394, 1398, 1402, 1409, 1418, 1421, 1425, 1430, 1434, 1442, 1445, 1448, 1455, 1466, 1469, 1479, 1482, 1493, 1498, 1506, 1509, 1513, 1517, 1526, 1535, 1538, 1547, 1550, 1553, 1557, 1568, 1571, 1574, 1581, 1584, 1603, 1607, 1611, 1615, 1619, 1623, 1625, 1636, 1641, 1650, 1659, 1662, 1668, 1680, 1683, 1692, 1695, 1703, 1706, 1709, 1714, 1717, 1729, 1732, 1740, 1745, 1749, 1751, 1753, 1768, 1770, 1781, 1802, 1812, 1823, 1827, 1829, 1837, 1848, 1859, 1866, 1879, 1885, 1911, 1926, 1931, 1935, 1945, 1951, 1957, 1965, 1970, 1977, 1979, 1985, 1991, 1995, 2000, 2009, 2014, 2028, 2038, 2041, 2050, 2055, 2060, 2062, 2071, 2074, 2082, 2085, 2092, 2097, 2108, 2111, 2115, 2117, 2125, 2135, 2141, 2143, 2150, 2154, 2156, 2163, 2167, 2169, 2171, 2180, 2191, 2195, 2205, 2215, 2219, 2227, 2229, 2242, 2250, 2259, 2265, 2273, 2279, 2283, 2288, 2293, 2299, 2313, 2315, 2345, 2356, 2364, 2369, 2374, 2387, 2393, 2396, 2403, 2408, 2411, 2414, 2419, 2426, 2429, 2438, 2441, 2445, 2448, 2451, 2466, 2469, 2488, 2492, 2500, 2504, 2529, 2532, 2541, 2547, 2553, 2559, 2568, 2571, 2574, 2593, 2602, 2624, 2627, 2637, 2646, 2652, 2658, 2669, 2671, 2676, 2683, 2685, 2691, 2697, 2708, 2717, 2722, 2727, 2729, 2731, 2737, 2739, 2749, 2758, 2760, 2766, 2768, 2771, 2781, 2783, 2791, 2799, 2802, 2807, 2812, 2824, 2828, 2832, 2835, 2837, 2845, 2848, 2858, 2866, 2872, 2874, 2882, 2892, 2898, 2912, 2921, 2928, 2933, 2940, 2950, 2955, 2962, 2988, 2993, 2995, 3002, 3006, 3013, 3017, 3034, 3049, 3056, 3065, 3075, 3080, 3089, 3094, 3102, 3110, 3113, 3119, 3122, 3129, 3137, 3140, 3148, 3151, 3177, 3188, 3193, 3200, 3202, 3215, 3230, 3234, 3238, 3242, 3248, 3252, 3256, 3260, 3262, 3272, 3279, 3288, 3295, 3302, 3309, 3318, 3330, 3333, 3344, 3347, 3352, 3362, 3378, 3392, 3395, 3404, 3407, 3419, 3423, 3438, 3442, 3448, 3458, 3470, 3479, 3500, 3506, 3513, 3521, 3526, 3529, 3535, 3548, 3561, 3574, 3587, 3594, 3601, 3613, 3622, 3636, 3643, 3650, 3660, 3667, 3670, 3674, 3678, 3681, 3685] \ No newline at end of file diff --git a/src/lib/trino/TrinoSqlListener.ts b/src/lib/trino/TrinoSqlListener.ts index 074c4214..8a0856c6 100644 --- a/src/lib/trino/TrinoSqlListener.ts +++ b/src/lib/trino/TrinoSqlListener.ts @@ -315,6 +315,7 @@ import { UnqualifiedArgumentContext } from "./TrinoSqlParser.js"; import { PathSpecificationContext } from "./TrinoSqlParser.js"; import { FunctionSpecificationContext } from "./TrinoSqlParser.js"; import { FunctionDeclarationContext } from "./TrinoSqlParser.js"; +import { FunctionSignatureContext } from "./TrinoSqlParser.js"; import { ParameterDeclarationContext } from "./TrinoSqlParser.js"; import { ReturnsClauseContext } from "./TrinoSqlParser.js"; import { LanguageCharacteristicContext } from "./TrinoSqlParser.js"; @@ -3897,6 +3898,16 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitFunctionDeclaration?: (ctx: FunctionDeclarationContext) => void; + /** + * Enter a parse tree produced by `TrinoSqlParser.functionSignature`. + * @param ctx the parse tree + */ + enterFunctionSignature?: (ctx: FunctionSignatureContext) => void; + /** + * Exit a parse tree produced by `TrinoSqlParser.functionSignature`. + * @param ctx the parse tree + */ + exitFunctionSignature?: (ctx: FunctionSignatureContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.parameterDeclaration`. * @param ctx the parse tree diff --git a/src/lib/trino/TrinoSqlParser.ts b/src/lib/trino/TrinoSqlParser.ts index 326ead43..110da9f4 100644 --- a/src/lib/trino/TrinoSqlParser.ts +++ b/src/lib/trino/TrinoSqlParser.ts @@ -471,42 +471,43 @@ export class TrinoSqlParser extends SQLParserBase { public static readonly RULE_pathSpecification = 111; public static readonly RULE_functionSpecification = 112; public static readonly RULE_functionDeclaration = 113; - public static readonly RULE_parameterDeclaration = 114; - public static readonly RULE_returnsClause = 115; - public static readonly RULE_routineCharacteristic = 116; - public static readonly RULE_controlStatement = 117; - public static readonly RULE_caseStatementWhenClause = 118; - public static readonly RULE_elseIfClause = 119; - public static readonly RULE_elseClause = 120; - public static readonly RULE_variableDeclaration = 121; - public static readonly RULE_sqlStatementList = 122; - public static readonly RULE_privilege = 123; - public static readonly RULE_entityKind = 124; - public static readonly RULE_grantObject = 125; - public static readonly RULE_tableOrViewName = 126; - public static readonly RULE_tableRef = 127; - public static readonly RULE_tableNameCreate = 128; - public static readonly RULE_viewRef = 129; - public static readonly RULE_viewNameCreate = 130; - public static readonly RULE_schemaRef = 131; - public static readonly RULE_schemaNameCreate = 132; - public static readonly RULE_catalogRef = 133; - public static readonly RULE_catalogNameCreate = 134; - public static readonly RULE_functionName = 135; - public static readonly RULE_functionNameCreate = 136; - public static readonly RULE_columnRef = 137; - public static readonly RULE_columnNameCreate = 138; - public static readonly RULE_qualifiedName = 139; - public static readonly RULE_queryPeriod = 140; - public static readonly RULE_rangeType = 141; - public static readonly RULE_grantor = 142; - public static readonly RULE_principal = 143; - public static readonly RULE_roles = 144; - public static readonly RULE_privilegeOrRole = 145; - public static readonly RULE_identifier = 146; - public static readonly RULE_number = 147; - public static readonly RULE_authorizationUser = 148; - public static readonly RULE_nonReserved = 149; + public static readonly RULE_functionSignature = 114; + public static readonly RULE_parameterDeclaration = 115; + public static readonly RULE_returnsClause = 116; + public static readonly RULE_routineCharacteristic = 117; + public static readonly RULE_controlStatement = 118; + public static readonly RULE_caseStatementWhenClause = 119; + public static readonly RULE_elseIfClause = 120; + public static readonly RULE_elseClause = 121; + public static readonly RULE_variableDeclaration = 122; + public static readonly RULE_sqlStatementList = 123; + public static readonly RULE_privilege = 124; + public static readonly RULE_entityKind = 125; + public static readonly RULE_grantObject = 126; + public static readonly RULE_tableOrViewName = 127; + public static readonly RULE_tableRef = 128; + public static readonly RULE_tableNameCreate = 129; + public static readonly RULE_viewRef = 130; + public static readonly RULE_viewNameCreate = 131; + public static readonly RULE_schemaRef = 132; + public static readonly RULE_schemaNameCreate = 133; + public static readonly RULE_catalogRef = 134; + public static readonly RULE_catalogNameCreate = 135; + public static readonly RULE_functionName = 136; + public static readonly RULE_functionNameCreate = 137; + public static readonly RULE_columnRef = 138; + public static readonly RULE_columnNameCreate = 139; + public static readonly RULE_qualifiedName = 140; + public static readonly RULE_queryPeriod = 141; + public static readonly RULE_rangeType = 142; + public static readonly RULE_grantor = 143; + public static readonly RULE_principal = 144; + public static readonly RULE_roles = 145; + public static readonly RULE_privilegeOrRole = 146; + public static readonly RULE_identifier = 147; + public static readonly RULE_number = 148; + public static readonly RULE_authorizationUser = 149; + public static readonly RULE_nonReserved = 150; public static readonly literalNames = [ null, "'('", "')'", "','", "'.'", "'SKIP'", "'=>'", "'->'", "'['", @@ -660,8 +661,8 @@ export class TrinoSqlParser extends SQLParserBase { "frameBound", "rowPattern", "patternPrimary", "patternQuantifier", "updateAssignment", "explainOption", "transactionMode", "levelOfIsolation", "callArgument", "pathElement", "pathSpecification", "functionSpecification", - "functionDeclaration", "parameterDeclaration", "returnsClause", - "routineCharacteristic", "controlStatement", "caseStatementWhenClause", + "functionDeclaration", "functionSignature", "parameterDeclaration", + "returnsClause", "routineCharacteristic", "controlStatement", "caseStatementWhenClause", "elseIfClause", "elseClause", "variableDeclaration", "sqlStatementList", "privilege", "entityKind", "grantObject", "tableOrViewName", "tableRef", "tableNameCreate", "viewRef", "viewNameCreate", "schemaRef", "schemaNameCreate", @@ -692,21 +693,21 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 303; + this.state = 305; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 25165826) !== 0) || ((((_la - 37)) & ~0x1F) === 0 && ((1 << (_la - 37)) & 2147550721) !== 0) || ((((_la - 73)) & ~0x1F) === 0 && ((1 << (_la - 73)) & 5243919) !== 0) || _la === 110 || _la === 127 || _la === 169 || ((((_la - 214)) & ~0x1F) === 0 && ((1 << (_la - 214)) & 8921345) !== 0) || ((((_la - 248)) & ~0x1F) === 0 && ((1 << (_la - 248)) & 67113129) !== 0) || ((((_la - 287)) & ~0x1F) === 0 && ((1 << (_la - 287)) & 131587) !== 0)) { { { - this.state = 300; + this.state = 302; this.statements(); } } - this.state = 305; + this.state = 307; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 306; + this.state = 308; this.match(TrinoSqlParser.EOF); } } @@ -730,7 +731,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 308; + this.state = 310; this.singleStatement(); } } @@ -755,14 +756,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 310; - this.statement(); this.state = 312; + this.statement(); + this.state = 314; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 325) { { - this.state = 311; + this.state = 313; this.match(TrinoSqlParser.SEMICOLON); } } @@ -790,14 +791,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 314; - this.expression(); this.state = 316; + this.expression(); + this.state = 318; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 325) { { - this.state = 315; + this.state = 317; this.match(TrinoSqlParser.SEMICOLON); } } @@ -825,14 +826,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 318; - this.pathSpecification(); this.state = 320; + this.pathSpecification(); + this.state = 322; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 325) { { - this.state = 319; + this.state = 321; this.match(TrinoSqlParser.SEMICOLON); } } @@ -860,14 +861,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 322; - this.type_(0); this.state = 324; + this.type_(0); + this.state = 326; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 325) { { - this.state = 323; + this.state = 325; this.match(TrinoSqlParser.SEMICOLON); } } @@ -895,14 +896,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 326; - this.rowPattern(0); this.state = 328; + this.rowPattern(0); + this.state = 330; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 325) { { - this.state = 327; + this.state = 329; this.match(TrinoSqlParser.SEMICOLON); } } @@ -929,9 +930,9 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 330; + this.state = 332; this.functionSpecification(); - this.state = 331; + this.state = 333; this.match(TrinoSqlParser.EOF); } } @@ -954,14 +955,14 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 16, TrinoSqlParser.RULE_statement); let _la: number; try { - this.state = 1231; + this.state = 1233; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 125, this.context) ) { case 1: localContext = new StatementDefaultContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 333; + this.state = 335; this.rootQuery(); } break; @@ -969,9 +970,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UseContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 334; + this.state = 336; this.match(TrinoSqlParser.KW_USE); - this.state = 335; + this.state = 337; this.schemaRef(); } break; @@ -979,62 +980,62 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateCatalogContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 336; + this.state = 338; this.match(TrinoSqlParser.KW_CREATE); - this.state = 337; + this.state = 339; this.match(TrinoSqlParser.KW_CATALOG); - this.state = 341; + this.state = 343; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 6, this.context) ) { case 1: { - this.state = 338; + this.state = 340; this.match(TrinoSqlParser.KW_IF); - this.state = 339; + this.state = 341; this.match(TrinoSqlParser.KW_NOT); - this.state = 340; + this.state = 342; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 343; + this.state = 345; (localContext as CreateCatalogContext)._catalog = this.catalogNameCreate(); - this.state = 344; + this.state = 346; this.match(TrinoSqlParser.KW_USING); - this.state = 345; + this.state = 347; (localContext as CreateCatalogContext)._connectorName = this.identifier(); - this.state = 348; + this.state = 350; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 7, this.context) ) { case 1: { - this.state = 346; + this.state = 348; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 347; + this.state = 349; this.string_(); } break; } - this.state = 352; + this.state = 354; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 31) { { - this.state = 350; + this.state = 352; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 351; + this.state = 353; this.principal(); } } - this.state = 356; + this.state = 358; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 9, this.context) ) { case 1: { - this.state = 354; + this.state = 356; this.match(TrinoSqlParser.KW_WITH); - this.state = 355; + this.state = 357; this.properties(); } break; @@ -1045,30 +1046,30 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropCatalogContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 358; + this.state = 360; this.match(TrinoSqlParser.KW_DROP); - this.state = 359; + this.state = 361; this.match(TrinoSqlParser.KW_CATALOG); - this.state = 362; + this.state = 364; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 10, this.context) ) { case 1: { - this.state = 360; + this.state = 362; this.match(TrinoSqlParser.KW_IF); - this.state = 361; + this.state = 363; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 364; - (localContext as DropCatalogContext)._catalog = this.catalogRef(); this.state = 366; + (localContext as DropCatalogContext)._catalog = this.catalogRef(); + this.state = 368; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 39 || _la === 229) { { - this.state = 365; + this.state = 367; _la = this.tokenStream.LA(1); if(!(_la === 39 || _la === 229)) { this.errorHandler.recoverInline(this); @@ -1086,46 +1087,46 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateSchemaContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 368; + this.state = 370; this.match(TrinoSqlParser.KW_CREATE); - this.state = 369; + this.state = 371; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 373; + this.state = 375; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 12, this.context) ) { case 1: { - this.state = 370; + this.state = 372; this.match(TrinoSqlParser.KW_IF); - this.state = 371; + this.state = 373; this.match(TrinoSqlParser.KW_NOT); - this.state = 372; + this.state = 374; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 375; + this.state = 377; this.schemaNameCreate(); - this.state = 378; + this.state = 380; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 31) { { - this.state = 376; + this.state = 378; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 377; + this.state = 379; this.principal(); } } - this.state = 382; + this.state = 384; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 14, this.context) ) { case 1: { - this.state = 380; + this.state = 382; this.match(TrinoSqlParser.KW_WITH); - this.state = 381; + this.state = 383; this.properties(); } break; @@ -1136,30 +1137,30 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropSchemaContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 384; + this.state = 386; this.match(TrinoSqlParser.KW_DROP); - this.state = 385; + this.state = 387; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 388; + this.state = 390; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 15, this.context) ) { case 1: { - this.state = 386; + this.state = 388; this.match(TrinoSqlParser.KW_IF); - this.state = 387; + this.state = 389; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 390; - this.schemaRef(); this.state = 392; + this.schemaRef(); + this.state = 394; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 39 || _la === 229) { { - this.state = 391; + this.state = 393; _la = this.tokenStream.LA(1); if(!(_la === 39 || _la === 229)) { this.errorHandler.recoverInline(this); @@ -1177,17 +1178,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameSchemaContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 394; + this.state = 396; this.match(TrinoSqlParser.KW_ALTER); - this.state = 395; + this.state = 397; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 396; + this.state = 398; this.schemaRef(); - this.state = 397; + this.state = 399; this.match(TrinoSqlParser.KW_RENAME); - this.state = 398; + this.state = 400; this.match(TrinoSqlParser.KW_TO); - this.state = 399; + this.state = 401; this.schemaNameCreate(); } break; @@ -1195,17 +1196,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetSchemaAuthorizationContext(localContext); this.enterOuterAlt(localContext, 8); { - this.state = 401; + this.state = 403; this.match(TrinoSqlParser.KW_ALTER); - this.state = 402; + this.state = 404; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 403; + this.state = 405; this.schemaRef(); - this.state = 404; + this.state = 406; this.match(TrinoSqlParser.KW_SET); - this.state = 405; + this.state = 407; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 406; + this.state = 408; this.principal(); } break; @@ -1213,112 +1214,112 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateTableAsSelectContext(localContext); this.enterOuterAlt(localContext, 9); { - this.state = 408; + this.state = 410; this.match(TrinoSqlParser.KW_CREATE); - this.state = 411; + this.state = 413; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 194) { { - this.state = 409; + this.state = 411; this.match(TrinoSqlParser.KW_OR); - this.state = 410; + this.state = 412; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 413; + this.state = 415; this.match(TrinoSqlParser.KW_TABLE); - this.state = 417; + this.state = 419; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 18, this.context) ) { case 1: { - this.state = 414; + this.state = 416; this.match(TrinoSqlParser.KW_IF); - this.state = 415; + this.state = 417; this.match(TrinoSqlParser.KW_NOT); - this.state = 416; + this.state = 418; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 419; - this.tableNameCreate(); this.state = 421; + this.tableNameCreate(); + this.state = 423; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 420; + this.state = 422; this.columnListCreate(); } } - this.state = 425; + this.state = 427; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 46) { { - this.state = 423; + this.state = 425; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 424; + this.state = 426; this.string_(); } } - this.state = 429; + this.state = 431; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 304) { { - this.state = 427; + this.state = 429; this.match(TrinoSqlParser.KW_WITH); - this.state = 428; + this.state = 430; this.properties(); } } - this.state = 431; + this.state = 433; this.match(TrinoSqlParser.KW_AS); - this.state = 437; + this.state = 439; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 22, this.context) ) { case 1: { - this.state = 432; + this.state = 434; this.rootQuery(); } break; case 2: { - this.state = 433; + this.state = 435; this.match(TrinoSqlParser.T__0); - this.state = 434; + this.state = 436; this.rootQuery(); - this.state = 435; + this.state = 437; this.match(TrinoSqlParser.T__1); } break; } - this.state = 444; + this.state = 446; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 24, this.context) ) { case 1: { - this.state = 439; - this.match(TrinoSqlParser.KW_WITH); this.state = 441; + this.match(TrinoSqlParser.KW_WITH); + this.state = 443; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 179) { { - this.state = 440; + this.state = 442; this.match(TrinoSqlParser.KW_NO); } } - this.state = 443; + this.state = 445; this.match(TrinoSqlParser.KW_DATA); } break; @@ -1329,80 +1330,80 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateTableContext(localContext); this.enterOuterAlt(localContext, 10); { - this.state = 446; + this.state = 448; this.match(TrinoSqlParser.KW_CREATE); - this.state = 449; + this.state = 451; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 194) { { - this.state = 447; + this.state = 449; this.match(TrinoSqlParser.KW_OR); - this.state = 448; + this.state = 450; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 451; + this.state = 453; this.match(TrinoSqlParser.KW_TABLE); - this.state = 455; + this.state = 457; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 26, this.context) ) { case 1: { - this.state = 452; + this.state = 454; this.match(TrinoSqlParser.KW_IF); - this.state = 453; + this.state = 455; this.match(TrinoSqlParser.KW_NOT); - this.state = 454; + this.state = 456; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 457; + this.state = 459; this.tableNameCreate(); - this.state = 458; + this.state = 460; this.match(TrinoSqlParser.T__0); - this.state = 459; + this.state = 461; this.tableElement(); - this.state = 464; + this.state = 466; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 460; + this.state = 462; this.match(TrinoSqlParser.T__2); - this.state = 461; + this.state = 463; this.tableElement(); } } - this.state = 466; + this.state = 468; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 467; + this.state = 469; this.match(TrinoSqlParser.T__1); - this.state = 470; + this.state = 472; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 28, this.context) ) { case 1: { - this.state = 468; + this.state = 470; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 469; + this.state = 471; this.string_(); } break; } - this.state = 474; + this.state = 476; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 29, this.context) ) { case 1: { - this.state = 472; + this.state = 474; this.match(TrinoSqlParser.KW_WITH); - this.state = 473; + this.state = 475; this.properties(); } break; @@ -1413,23 +1414,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropTableContext(localContext); this.enterOuterAlt(localContext, 11); { - this.state = 476; + this.state = 478; this.match(TrinoSqlParser.KW_DROP); - this.state = 477; + this.state = 479; this.match(TrinoSqlParser.KW_TABLE); - this.state = 480; + this.state = 482; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 30, this.context) ) { case 1: { - this.state = 478; + this.state = 480; this.match(TrinoSqlParser.KW_IF); - this.state = 479; + this.state = 481; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 482; + this.state = 484; this.tableRef(); } break; @@ -1437,23 +1438,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InsertIntoContext(localContext); this.enterOuterAlt(localContext, 12); { - this.state = 483; + this.state = 485; this.match(TrinoSqlParser.KW_INSERT); - this.state = 484; + this.state = 486; this.match(TrinoSqlParser.KW_INTO); - this.state = 485; - this.tableRef(); this.state = 487; + this.tableRef(); + this.state = 489; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 31, this.context) ) { case 1: { - this.state = 486; + this.state = 488; this.columnList(); } break; } - this.state = 489; + this.state = 491; this.rootQuery(); } break; @@ -1461,20 +1462,20 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DeleteContext(localContext); this.enterOuterAlt(localContext, 13); { - this.state = 491; + this.state = 493; this.match(TrinoSqlParser.KW_DELETE); - this.state = 492; + this.state = 494; this.match(TrinoSqlParser.KW_FROM); - this.state = 493; + this.state = 495; this.tableRef(); - this.state = 496; + this.state = 498; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 301) { { - this.state = 494; + this.state = 496; this.match(TrinoSqlParser.KW_WHERE); - this.state = 495; + this.state = 497; this.booleanExpression(0); } } @@ -1485,11 +1486,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TruncateTableContext(localContext); this.enterOuterAlt(localContext, 14); { - this.state = 498; + this.state = 500; this.match(TrinoSqlParser.KW_TRUNCATE); - this.state = 499; + this.state = 501; this.match(TrinoSqlParser.KW_TABLE); - this.state = 500; + this.state = 502; this.tableRef(); } break; @@ -1497,29 +1498,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommentTableContext(localContext); this.enterOuterAlt(localContext, 15); { - this.state = 501; + this.state = 503; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 502; + this.state = 504; this.match(TrinoSqlParser.KW_ON); - this.state = 503; + this.state = 505; this.match(TrinoSqlParser.KW_TABLE); - this.state = 504; + this.state = 506; this.tableRef(); - this.state = 505; + this.state = 507; this.match(TrinoSqlParser.KW_IS); - this.state = 508; + this.state = 510; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 506; + this.state = 508; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 507; + this.state = 509; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1532,29 +1533,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommentViewContext(localContext); this.enterOuterAlt(localContext, 16); { - this.state = 510; + this.state = 512; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 511; + this.state = 513; this.match(TrinoSqlParser.KW_ON); - this.state = 512; + this.state = 514; this.match(TrinoSqlParser.KW_VIEW); - this.state = 513; + this.state = 515; this.viewRef(); - this.state = 514; + this.state = 516; this.match(TrinoSqlParser.KW_IS); - this.state = 517; + this.state = 519; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 515; + this.state = 517; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 516; + this.state = 518; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1567,29 +1568,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommentColumnContext(localContext); this.enterOuterAlt(localContext, 17); { - this.state = 519; + this.state = 521; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 520; + this.state = 522; this.match(TrinoSqlParser.KW_ON); - this.state = 521; + this.state = 523; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 522; + this.state = 524; this.columnRef(); - this.state = 523; + this.state = 525; this.match(TrinoSqlParser.KW_IS); - this.state = 526; + this.state = 528; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 524; + this.state = 526; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 525; + this.state = 527; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1602,29 +1603,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameTableContext(localContext); this.enterOuterAlt(localContext, 18); { - this.state = 528; + this.state = 530; this.match(TrinoSqlParser.KW_ALTER); - this.state = 529; + this.state = 531; this.match(TrinoSqlParser.KW_TABLE); - this.state = 532; + this.state = 534; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 36, this.context) ) { case 1: { - this.state = 530; + this.state = 532; this.match(TrinoSqlParser.KW_IF); - this.state = 531; + this.state = 533; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 534; + this.state = 536; (localContext as RenameTableContext)._from_ = this.tableRef(); - this.state = 535; + this.state = 537; this.match(TrinoSqlParser.KW_RENAME); - this.state = 536; + this.state = 538; this.match(TrinoSqlParser.KW_TO); - this.state = 537; + this.state = 539; (localContext as RenameTableContext)._to = this.tableNameCreate(); } break; @@ -1632,43 +1633,43 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new AddColumnContext(localContext); this.enterOuterAlt(localContext, 19); { - this.state = 539; + this.state = 541; this.match(TrinoSqlParser.KW_ALTER); - this.state = 540; + this.state = 542; this.match(TrinoSqlParser.KW_TABLE); - this.state = 543; + this.state = 545; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 37, this.context) ) { case 1: { - this.state = 541; + this.state = 543; this.match(TrinoSqlParser.KW_IF); - this.state = 542; + this.state = 544; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 545; + this.state = 547; (localContext as AddColumnContext)._tableName = this.tableRef(); - this.state = 546; + this.state = 548; this.match(TrinoSqlParser.KW_ADD); - this.state = 547; + this.state = 549; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 551; + this.state = 553; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 38, this.context) ) { case 1: { - this.state = 548; + this.state = 550; this.match(TrinoSqlParser.KW_IF); - this.state = 549; + this.state = 551; this.match(TrinoSqlParser.KW_NOT); - this.state = 550; + this.state = 552; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 553; + this.state = 555; (localContext as AddColumnContext)._column = this.columnDefinition(); } break; @@ -1676,45 +1677,45 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameColumnContext(localContext); this.enterOuterAlt(localContext, 20); { - this.state = 555; + this.state = 557; this.match(TrinoSqlParser.KW_ALTER); - this.state = 556; + this.state = 558; this.match(TrinoSqlParser.KW_TABLE); - this.state = 559; + this.state = 561; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 39, this.context) ) { case 1: { - this.state = 557; + this.state = 559; this.match(TrinoSqlParser.KW_IF); - this.state = 558; + this.state = 560; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 561; + this.state = 563; (localContext as RenameColumnContext)._tableName = this.tableRef(); - this.state = 562; + this.state = 564; this.match(TrinoSqlParser.KW_RENAME); - this.state = 563; + this.state = 565; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 566; + this.state = 568; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 40, this.context) ) { case 1: { - this.state = 564; + this.state = 566; this.match(TrinoSqlParser.KW_IF); - this.state = 565; + this.state = 567; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 568; + this.state = 570; (localContext as RenameColumnContext)._from_ = this.columnRef(); - this.state = 569; + this.state = 571; this.match(TrinoSqlParser.KW_TO); - this.state = 570; + this.state = 572; (localContext as RenameColumnContext)._to = this.columnNameCreate(); } break; @@ -1722,41 +1723,41 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropColumnContext(localContext); this.enterOuterAlt(localContext, 21); { - this.state = 572; + this.state = 574; this.match(TrinoSqlParser.KW_ALTER); - this.state = 573; + this.state = 575; this.match(TrinoSqlParser.KW_TABLE); - this.state = 576; + this.state = 578; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 41, this.context) ) { case 1: { - this.state = 574; + this.state = 576; this.match(TrinoSqlParser.KW_IF); - this.state = 575; + this.state = 577; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 578; + this.state = 580; (localContext as DropColumnContext)._tableName = this.tableRef(); - this.state = 579; + this.state = 581; this.match(TrinoSqlParser.KW_DROP); - this.state = 580; + this.state = 582; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 583; + this.state = 585; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 42, this.context) ) { case 1: { - this.state = 581; + this.state = 583; this.match(TrinoSqlParser.KW_IF); - this.state = 582; + this.state = 584; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 585; + this.state = 587; (localContext as DropColumnContext)._column = this.columnRef(); } break; @@ -1764,37 +1765,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetColumnTypeContext(localContext); this.enterOuterAlt(localContext, 22); { - this.state = 587; + this.state = 589; this.match(TrinoSqlParser.KW_ALTER); - this.state = 588; + this.state = 590; this.match(TrinoSqlParser.KW_TABLE); - this.state = 591; + this.state = 593; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 43, this.context) ) { case 1: { - this.state = 589; + this.state = 591; this.match(TrinoSqlParser.KW_IF); - this.state = 590; + this.state = 592; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 593; + this.state = 595; (localContext as SetColumnTypeContext)._tableName = this.tableRef(); - this.state = 594; + this.state = 596; this.match(TrinoSqlParser.KW_ALTER); - this.state = 595; + this.state = 597; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 596; + this.state = 598; (localContext as SetColumnTypeContext)._column = this.columnRef(); - this.state = 597; + this.state = 599; this.match(TrinoSqlParser.KW_SET); - this.state = 598; + this.state = 600; this.match(TrinoSqlParser.KW_DATA); - this.state = 599; + this.state = 601; this.match(TrinoSqlParser.KW_TYPE); - this.state = 600; + this.state = 602; this.type_(0); } break; @@ -1802,35 +1803,35 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropNotNullConstraintContext(localContext); this.enterOuterAlt(localContext, 23); { - this.state = 602; + this.state = 604; this.match(TrinoSqlParser.KW_ALTER); - this.state = 603; + this.state = 605; this.match(TrinoSqlParser.KW_TABLE); - this.state = 606; + this.state = 608; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 44, this.context) ) { case 1: { - this.state = 604; + this.state = 606; this.match(TrinoSqlParser.KW_IF); - this.state = 605; + this.state = 607; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 608; + this.state = 610; (localContext as DropNotNullConstraintContext)._tableName = this.tableRef(); - this.state = 609; + this.state = 611; this.match(TrinoSqlParser.KW_ALTER); - this.state = 610; + this.state = 612; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 611; + this.state = 613; (localContext as DropNotNullConstraintContext)._column = this.columnRef(); - this.state = 612; + this.state = 614; this.match(TrinoSqlParser.KW_DROP); - this.state = 613; + this.state = 615; this.match(TrinoSqlParser.KW_NOT); - this.state = 614; + this.state = 616; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1838,17 +1839,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetTableAuthorizationContext(localContext); this.enterOuterAlt(localContext, 24); { - this.state = 616; + this.state = 618; this.match(TrinoSqlParser.KW_ALTER); - this.state = 617; + this.state = 619; this.match(TrinoSqlParser.KW_TABLE); - this.state = 618; + this.state = 620; (localContext as SetTableAuthorizationContext)._tableName = this.tableRef(); - this.state = 619; + this.state = 621; this.match(TrinoSqlParser.KW_SET); - this.state = 620; + this.state = 622; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 621; + this.state = 623; this.principal(); } break; @@ -1856,17 +1857,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetTablePropertiesContext(localContext); this.enterOuterAlt(localContext, 25); { - this.state = 623; + this.state = 625; this.match(TrinoSqlParser.KW_ALTER); - this.state = 624; + this.state = 626; this.match(TrinoSqlParser.KW_TABLE); - this.state = 625; + this.state = 627; (localContext as SetTablePropertiesContext)._tableName = this.tableRef(); - this.state = 626; + this.state = 628; this.match(TrinoSqlParser.KW_SET); - this.state = 627; + this.state = 629; this.match(TrinoSqlParser.KW_PROPERTIES); - this.state = 628; + this.state = 630; this.propertyAssignments(); } break; @@ -1874,62 +1875,62 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableExecuteContext(localContext); this.enterOuterAlt(localContext, 26); { - this.state = 630; + this.state = 632; this.match(TrinoSqlParser.KW_ALTER); - this.state = 631; + this.state = 633; this.match(TrinoSqlParser.KW_TABLE); - this.state = 632; + this.state = 634; (localContext as TableExecuteContext)._tableName = this.tableRef(); - this.state = 633; + this.state = 635; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 634; + this.state = 636; (localContext as TableExecuteContext)._procedureName = this.functionName(); - this.state = 647; + this.state = 649; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 47, this.context) ) { case 1: { - this.state = 635; + this.state = 637; this.match(TrinoSqlParser.T__0); - this.state = 644; + this.state = 646; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538382319) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3758094335) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { { - this.state = 636; + this.state = 638; this.callArgument(); - this.state = 641; + this.state = 643; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 637; + this.state = 639; this.match(TrinoSqlParser.T__2); - this.state = 638; + this.state = 640; this.callArgument(); } } - this.state = 643; + this.state = 645; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 646; + this.state = 648; this.match(TrinoSqlParser.T__1); } break; } - this.state = 651; + this.state = 653; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 301) { { - this.state = 649; + this.state = 651; this.match(TrinoSqlParser.KW_WHERE); - this.state = 650; + this.state = 652; (localContext as TableExecuteContext)._where = this.booleanExpression(0); } } @@ -1940,18 +1941,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new AnalyzeContext(localContext); this.enterOuterAlt(localContext, 27); { - this.state = 653; + this.state = 655; this.match(TrinoSqlParser.KW_ANALYZE); - this.state = 654; + this.state = 656; this.tableRef(); - this.state = 657; + this.state = 659; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 49, this.context) ) { case 1: { - this.state = 655; + this.state = 657; this.match(TrinoSqlParser.KW_WITH); - this.state = 656; + this.state = 658; this.properties(); } break; @@ -1962,81 +1963,81 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 28); { - this.state = 659; + this.state = 661; this.match(TrinoSqlParser.KW_CREATE); - this.state = 662; + this.state = 664; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 194) { { - this.state = 660; + this.state = 662; this.match(TrinoSqlParser.KW_OR); - this.state = 661; + this.state = 663; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 664; + this.state = 666; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 665; + this.state = 667; this.match(TrinoSqlParser.KW_VIEW); - this.state = 669; + this.state = 671; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 51, this.context) ) { case 1: { - this.state = 666; + this.state = 668; this.match(TrinoSqlParser.KW_IF); - this.state = 667; + this.state = 669; this.match(TrinoSqlParser.KW_NOT); - this.state = 668; + this.state = 670; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 671; + this.state = 673; this.viewNameCreate(); - this.state = 675; + this.state = 677; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 109) { { - this.state = 672; + this.state = 674; this.match(TrinoSqlParser.KW_GRACE); - this.state = 673; + this.state = 675; this.match(TrinoSqlParser.KW_PERIOD); - this.state = 674; + this.state = 676; this.interval(); } } - this.state = 679; + this.state = 681; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 46) { { - this.state = 677; + this.state = 679; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 678; + this.state = 680; this.string_(); } } - this.state = 683; + this.state = 685; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 304) { { - this.state = 681; + this.state = 683; this.match(TrinoSqlParser.KW_WITH); - this.state = 682; + this.state = 684; this.properties(); } } - this.state = 685; + this.state = 687; this.match(TrinoSqlParser.KW_AS); - this.state = 686; + this.state = 688; this.rootQuery(); } break; @@ -2044,44 +2045,44 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateViewContext(localContext); this.enterOuterAlt(localContext, 29); { - this.state = 688; + this.state = 690; this.match(TrinoSqlParser.KW_CREATE); - this.state = 691; + this.state = 693; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 194) { { - this.state = 689; + this.state = 691; this.match(TrinoSqlParser.KW_OR); - this.state = 690; + this.state = 692; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 693; + this.state = 695; this.match(TrinoSqlParser.KW_VIEW); - this.state = 694; + this.state = 696; this.viewNameCreate(); - this.state = 697; + this.state = 699; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 46) { { - this.state = 695; + this.state = 697; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 696; + this.state = 698; this.string_(); } } - this.state = 701; + this.state = 703; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 246) { { - this.state = 699; + this.state = 701; this.match(TrinoSqlParser.KW_SECURITY); - this.state = 700; + this.state = 702; _la = this.tokenStream.LA(1); if(!(_la === 72 || _la === 131)) { this.errorHandler.recoverInline(this); @@ -2093,21 +2094,21 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 705; + this.state = 707; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 304) { { - this.state = 703; + this.state = 705; this.match(TrinoSqlParser.KW_WITH); - this.state = 704; + this.state = 706; this.properties(); } } - this.state = 707; + this.state = 709; this.match(TrinoSqlParser.KW_AS); - this.state = 708; + this.state = 710; this.rootQuery(); } break; @@ -2115,13 +2116,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RefreshMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 30); { - this.state = 710; + this.state = 712; this.match(TrinoSqlParser.KW_REFRESH); - this.state = 711; + this.state = 713; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 712; + this.state = 714; this.match(TrinoSqlParser.KW_VIEW); - this.state = 713; + this.state = 715; this.viewRef(); } break; @@ -2129,25 +2130,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 31); { - this.state = 714; + this.state = 716; this.match(TrinoSqlParser.KW_DROP); - this.state = 715; + this.state = 717; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 716; + this.state = 718; this.match(TrinoSqlParser.KW_VIEW); - this.state = 719; + this.state = 721; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 59, this.context) ) { case 1: { - this.state = 717; + this.state = 719; this.match(TrinoSqlParser.KW_IF); - this.state = 718; + this.state = 720; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 721; + this.state = 723; this.viewRef(); } break; @@ -2155,31 +2156,31 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 32); { - this.state = 722; + this.state = 724; this.match(TrinoSqlParser.KW_ALTER); - this.state = 723; + this.state = 725; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 724; + this.state = 726; this.match(TrinoSqlParser.KW_VIEW); - this.state = 727; + this.state = 729; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 60, this.context) ) { case 1: { - this.state = 725; + this.state = 727; this.match(TrinoSqlParser.KW_IF); - this.state = 726; + this.state = 728; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 729; + this.state = 731; (localContext as RenameMaterializedViewContext)._from_ = this.viewRef(); - this.state = 730; + this.state = 732; this.match(TrinoSqlParser.KW_RENAME); - this.state = 731; + this.state = 733; this.match(TrinoSqlParser.KW_TO); - this.state = 732; + this.state = 734; (localContext as RenameMaterializedViewContext)._to = this.viewNameCreate(); } break; @@ -2187,19 +2188,19 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetMaterializedViewPropertiesContext(localContext); this.enterOuterAlt(localContext, 33); { - this.state = 734; + this.state = 736; this.match(TrinoSqlParser.KW_ALTER); - this.state = 735; + this.state = 737; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 736; + this.state = 738; this.match(TrinoSqlParser.KW_VIEW); - this.state = 737; + this.state = 739; this.viewRef(); - this.state = 738; + this.state = 740; this.match(TrinoSqlParser.KW_SET); - this.state = 739; + this.state = 741; this.match(TrinoSqlParser.KW_PROPERTIES); - this.state = 740; + this.state = 742; this.propertyAssignments(); } break; @@ -2207,23 +2208,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropViewContext(localContext); this.enterOuterAlt(localContext, 34); { - this.state = 742; + this.state = 744; this.match(TrinoSqlParser.KW_DROP); - this.state = 743; + this.state = 745; this.match(TrinoSqlParser.KW_VIEW); - this.state = 746; + this.state = 748; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 61, this.context) ) { case 1: { - this.state = 744; + this.state = 746; this.match(TrinoSqlParser.KW_IF); - this.state = 745; + this.state = 747; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 748; + this.state = 750; this.viewRef(); } break; @@ -2231,17 +2232,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameViewContext(localContext); this.enterOuterAlt(localContext, 35); { - this.state = 749; + this.state = 751; this.match(TrinoSqlParser.KW_ALTER); - this.state = 750; + this.state = 752; this.match(TrinoSqlParser.KW_VIEW); - this.state = 751; + this.state = 753; (localContext as RenameViewContext)._from_ = this.viewRef(); - this.state = 752; + this.state = 754; this.match(TrinoSqlParser.KW_RENAME); - this.state = 753; + this.state = 755; this.match(TrinoSqlParser.KW_TO); - this.state = 754; + this.state = 756; (localContext as RenameViewContext)._to = this.viewNameCreate(); } break; @@ -2249,17 +2250,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetViewAuthorizationContext(localContext); this.enterOuterAlt(localContext, 36); { - this.state = 756; + this.state = 758; this.match(TrinoSqlParser.KW_ALTER); - this.state = 757; + this.state = 759; this.match(TrinoSqlParser.KW_VIEW); - this.state = 758; + this.state = 760; (localContext as SetViewAuthorizationContext)._from_ = this.viewRef(); - this.state = 759; + this.state = 761; this.match(TrinoSqlParser.KW_SET); - this.state = 760; + this.state = 762; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 761; + this.state = 763; this.principal(); } break; @@ -2267,39 +2268,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CallContext(localContext); this.enterOuterAlt(localContext, 37); { - this.state = 763; + this.state = 765; this.match(TrinoSqlParser.KW_CALL); - this.state = 764; + this.state = 766; this.functionName(); - this.state = 765; + this.state = 767; this.match(TrinoSqlParser.T__0); - this.state = 774; + this.state = 776; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538382319) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3758094335) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { { - this.state = 766; + this.state = 768; this.callArgument(); - this.state = 771; + this.state = 773; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 767; + this.state = 769; this.match(TrinoSqlParser.T__2); - this.state = 768; + this.state = 770; this.callArgument(); } } - this.state = 773; + this.state = 775; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 776; + this.state = 778; this.match(TrinoSqlParser.T__1); } break; @@ -2307,21 +2308,21 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateFunctionContext(localContext); this.enterOuterAlt(localContext, 38); { - this.state = 778; + this.state = 780; this.match(TrinoSqlParser.KW_CREATE); - this.state = 781; + this.state = 783; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 194) { { - this.state = 779; + this.state = 781; this.match(TrinoSqlParser.KW_OR); - this.state = 780; + this.state = 782; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 783; + this.state = 785; this.functionSpecification(); } break; @@ -2329,58 +2330,58 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropFunctionContext(localContext); this.enterOuterAlt(localContext, 39); { - this.state = 784; + this.state = 786; this.match(TrinoSqlParser.KW_DROP); - this.state = 785; + this.state = 787; this.match(TrinoSqlParser.KW_FUNCTION); - this.state = 788; + this.state = 790; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 65, this.context) ) { case 1: { - this.state = 786; + this.state = 788; this.match(TrinoSqlParser.KW_IF); - this.state = 787; + this.state = 789; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 790; - this.functionDeclaration(); + this.state = 792; + this.functionSignature(); } break; case 40: localContext = new CreateRoleContext(localContext); this.enterOuterAlt(localContext, 40); { - this.state = 791; + this.state = 793; this.match(TrinoSqlParser.KW_CREATE); - this.state = 792; + this.state = 794; this.match(TrinoSqlParser.KW_ROLE); - this.state = 793; + this.state = 795; (localContext as CreateRoleContext)._name = this.identifier(); - this.state = 797; + this.state = 799; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 66, this.context) ) { case 1: { - this.state = 794; + this.state = 796; this.match(TrinoSqlParser.KW_WITH); - this.state = 795; + this.state = 797; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 796; + this.state = 798; this.grantor(); } break; } - this.state = 801; + this.state = 803; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 122) { { - this.state = 799; + this.state = 801; this.match(TrinoSqlParser.KW_IN); - this.state = 800; + this.state = 802; (localContext as CreateRoleContext)._catalog = this.catalogRef(); } } @@ -2391,20 +2392,20 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropRoleContext(localContext); this.enterOuterAlt(localContext, 41); { - this.state = 803; + this.state = 805; this.match(TrinoSqlParser.KW_DROP); - this.state = 804; + this.state = 806; this.match(TrinoSqlParser.KW_ROLE); - this.state = 805; + this.state = 807; (localContext as DropRoleContext)._name = this.identifier(); - this.state = 808; + this.state = 810; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 122) { { - this.state = 806; + this.state = 808; this.match(TrinoSqlParser.KW_IN); - this.state = 807; + this.state = 809; (localContext as DropRoleContext)._catalog = this.catalogRef(); } } @@ -2415,82 +2416,82 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GrantRolesContext(localContext); this.enterOuterAlt(localContext, 42); { - this.state = 810; + this.state = 812; this.match(TrinoSqlParser.KW_GRANT); - this.state = 811; + this.state = 813; this.privilegeOrRole(); - this.state = 816; + this.state = 818; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 812; + this.state = 814; this.match(TrinoSqlParser.T__2); - this.state = 813; + this.state = 815; this.privilegeOrRole(); } } - this.state = 818; + this.state = 820; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 819; + this.state = 821; this.match(TrinoSqlParser.KW_TO); - this.state = 820; + this.state = 822; this.principal(); - this.state = 825; + this.state = 827; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 821; + this.state = 823; this.match(TrinoSqlParser.T__2); - this.state = 822; + this.state = 824; this.principal(); } } - this.state = 827; + this.state = 829; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 831; + this.state = 833; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 71, this.context) ) { case 1: { - this.state = 828; + this.state = 830; this.match(TrinoSqlParser.KW_WITH); - this.state = 829; + this.state = 831; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 830; + this.state = 832; this.match(TrinoSqlParser.KW_OPTION); } break; } - this.state = 836; + this.state = 838; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 111) { { - this.state = 833; + this.state = 835; this.match(TrinoSqlParser.KW_GRANTED); - this.state = 834; + this.state = 836; this.match(TrinoSqlParser.KW_BY); - this.state = 835; + this.state = 837; this.grantor(); } } - this.state = 840; + this.state = 842; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 122) { { - this.state = 838; + this.state = 840; this.match(TrinoSqlParser.KW_IN); - this.state = 839; + this.state = 841; (localContext as GrantRolesContext)._catalog = this.catalogRef(); } } @@ -2501,29 +2502,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GrantPrivilegesContext(localContext); this.enterOuterAlt(localContext, 43); { - this.state = 842; + this.state = 844; this.match(TrinoSqlParser.KW_GRANT); - this.state = 853; + this.state = 855; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 75, this.context) ) { case 1: { { - this.state = 843; + this.state = 845; this.privilegeOrRole(); - this.state = 848; + this.state = 850; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 844; + this.state = 846; this.match(TrinoSqlParser.T__2); - this.state = 845; + this.state = 847; this.privilegeOrRole(); } } - this.state = 850; + this.state = 852; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2532,31 +2533,31 @@ export class TrinoSqlParser extends SQLParserBase { break; case 2: { - this.state = 851; + this.state = 853; this.match(TrinoSqlParser.KW_ALL); - this.state = 852; + this.state = 854; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; } - this.state = 855; + this.state = 857; this.match(TrinoSqlParser.KW_ON); - this.state = 856; + this.state = 858; this.grantObject(); - this.state = 857; + this.state = 859; this.match(TrinoSqlParser.KW_TO); - this.state = 858; + this.state = 860; this.principal(); - this.state = 862; + this.state = 864; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 76, this.context) ) { case 1: { - this.state = 859; + this.state = 861; this.match(TrinoSqlParser.KW_WITH); - this.state = 860; + this.state = 862; this.match(TrinoSqlParser.KW_GRANT); - this.state = 861; + this.state = 863; this.match(TrinoSqlParser.KW_OPTION); } break; @@ -2567,82 +2568,82 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RevokeRolesContext(localContext); this.enterOuterAlt(localContext, 44); { - this.state = 864; + this.state = 866; this.match(TrinoSqlParser.KW_REVOKE); - this.state = 868; + this.state = 870; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 77, this.context) ) { case 1: { - this.state = 865; + this.state = 867; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 866; + this.state = 868; this.match(TrinoSqlParser.KW_OPTION); - this.state = 867; + this.state = 869; this.match(TrinoSqlParser.KW_FOR); } break; } - this.state = 870; + this.state = 872; this.privilegeOrRole(); - this.state = 875; + this.state = 877; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 871; + this.state = 873; this.match(TrinoSqlParser.T__2); - this.state = 872; + this.state = 874; this.privilegeOrRole(); } } - this.state = 877; + this.state = 879; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 878; + this.state = 880; this.match(TrinoSqlParser.KW_FROM); - this.state = 879; + this.state = 881; this.principal(); - this.state = 884; + this.state = 886; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 880; + this.state = 882; this.match(TrinoSqlParser.T__2); - this.state = 881; + this.state = 883; this.principal(); } } - this.state = 886; + this.state = 888; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 890; + this.state = 892; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 111) { { - this.state = 887; + this.state = 889; this.match(TrinoSqlParser.KW_GRANTED); - this.state = 888; + this.state = 890; this.match(TrinoSqlParser.KW_BY); - this.state = 889; + this.state = 891; this.grantor(); } } - this.state = 894; + this.state = 896; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 122) { { - this.state = 892; + this.state = 894; this.match(TrinoSqlParser.KW_IN); - this.state = 893; + this.state = 895; (localContext as RevokeRolesContext)._catalog = this.catalogRef(); } } @@ -2653,43 +2654,43 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RevokePrivilegesContext(localContext); this.enterOuterAlt(localContext, 45); { - this.state = 896; + this.state = 898; this.match(TrinoSqlParser.KW_REVOKE); - this.state = 900; + this.state = 902; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 82, this.context) ) { case 1: { - this.state = 897; + this.state = 899; this.match(TrinoSqlParser.KW_GRANT); - this.state = 898; + this.state = 900; this.match(TrinoSqlParser.KW_OPTION); - this.state = 899; + this.state = 901; this.match(TrinoSqlParser.KW_FOR); } break; } - this.state = 912; + this.state = 914; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 84, this.context) ) { case 1: { { - this.state = 902; + this.state = 904; this.privilegeOrRole(); - this.state = 907; + this.state = 909; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 903; + this.state = 905; this.match(TrinoSqlParser.T__2); - this.state = 904; + this.state = 906; this.privilegeOrRole(); } } - this.state = 909; + this.state = 911; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2698,20 +2699,20 @@ export class TrinoSqlParser extends SQLParserBase { break; case 2: { - this.state = 910; + this.state = 912; this.match(TrinoSqlParser.KW_ALL); - this.state = 911; + this.state = 913; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; } - this.state = 914; + this.state = 916; this.match(TrinoSqlParser.KW_ON); - this.state = 915; + this.state = 917; this.grantObject(); - this.state = 916; + this.state = 918; this.match(TrinoSqlParser.KW_FROM); - this.state = 917; + this.state = 919; (localContext as RevokePrivilegesContext)._grantee = this.principal(); } break; @@ -2719,28 +2720,28 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DenyContext(localContext); this.enterOuterAlt(localContext, 46); { - this.state = 919; + this.state = 921; this.match(TrinoSqlParser.KW_DENY); - this.state = 930; + this.state = 932; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 86, this.context) ) { case 1: { - this.state = 920; + this.state = 922; this.privilege(); - this.state = 925; + this.state = 927; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 921; + this.state = 923; this.match(TrinoSqlParser.T__2); - this.state = 922; + this.state = 924; this.privilege(); } } - this.state = 927; + this.state = 929; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2748,20 +2749,20 @@ export class TrinoSqlParser extends SQLParserBase { break; case 2: { - this.state = 928; + this.state = 930; this.match(TrinoSqlParser.KW_ALL); - this.state = 929; + this.state = 931; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; } - this.state = 932; + this.state = 934; this.match(TrinoSqlParser.KW_ON); - this.state = 933; + this.state = 935; this.grantObject(); - this.state = 934; + this.state = 936; this.match(TrinoSqlParser.KW_TO); - this.state = 935; + this.state = 937; (localContext as DenyContext)._grantee = this.principal(); } break; @@ -2769,40 +2770,40 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetRoleContext(localContext); this.enterOuterAlt(localContext, 47); { - this.state = 937; + this.state = 939; this.match(TrinoSqlParser.KW_SET); - this.state = 938; + this.state = 940; this.match(TrinoSqlParser.KW_ROLE); - this.state = 942; + this.state = 944; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 87, this.context) ) { case 1: { - this.state = 939; + this.state = 941; this.match(TrinoSqlParser.KW_ALL); } break; case 2: { - this.state = 940; + this.state = 942; this.match(TrinoSqlParser.KW_NONE); } break; case 3: { - this.state = 941; + this.state = 943; (localContext as SetRoleContext)._role = this.identifier(); } break; } - this.state = 946; + this.state = 948; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 122) { { - this.state = 944; + this.state = 946; this.match(TrinoSqlParser.KW_IN); - this.state = 945; + this.state = 947; (localContext as SetRoleContext)._catalog = this.catalogRef(); } } @@ -2813,18 +2814,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowGrantsContext(localContext); this.enterOuterAlt(localContext, 48); { - this.state = 948; + this.state = 950; this.match(TrinoSqlParser.KW_SHOW); - this.state = 949; + this.state = 951; this.match(TrinoSqlParser.KW_GRANTS); - this.state = 952; + this.state = 954; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 190) { { - this.state = 950; + this.state = 952; this.match(TrinoSqlParser.KW_ON); - this.state = 951; + this.state = 953; this.grantObject(); } } @@ -2835,39 +2836,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExplainContext(localContext); this.enterOuterAlt(localContext, 49); { - this.state = 954; + this.state = 956; this.match(TrinoSqlParser.KW_EXPLAIN); - this.state = 966; + this.state = 968; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 91, this.context) ) { case 1: { - this.state = 955; + this.state = 957; this.match(TrinoSqlParser.T__0); - this.state = 956; + this.state = 958; this.explainOption(); - this.state = 961; + this.state = 963; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 957; + this.state = 959; this.match(TrinoSqlParser.T__2); - this.state = 958; + this.state = 960; this.explainOption(); } } - this.state = 963; + this.state = 965; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 964; + this.state = 966; this.match(TrinoSqlParser.T__1); } break; } - this.state = 968; + this.state = 970; this.statement(); } break; @@ -2875,21 +2876,21 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExplainAnalyzeContext(localContext); this.enterOuterAlt(localContext, 50); { - this.state = 969; + this.state = 971; this.match(TrinoSqlParser.KW_EXPLAIN); - this.state = 970; - this.match(TrinoSqlParser.KW_ANALYZE); this.state = 972; + this.match(TrinoSqlParser.KW_ANALYZE); + this.state = 974; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 297) { { - this.state = 971; + this.state = 973; this.match(TrinoSqlParser.KW_VERBOSE); } } - this.state = 974; + this.state = 976; this.statement(); } break; @@ -2897,13 +2898,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateTableContext(localContext); this.enterOuterAlt(localContext, 51); { - this.state = 975; + this.state = 977; this.match(TrinoSqlParser.KW_SHOW); - this.state = 976; + this.state = 978; this.match(TrinoSqlParser.KW_CREATE); - this.state = 977; + this.state = 979; this.match(TrinoSqlParser.KW_TABLE); - this.state = 978; + this.state = 980; this.tableRef(); } break; @@ -2911,13 +2912,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateSchemaContext(localContext); this.enterOuterAlt(localContext, 52); { - this.state = 979; + this.state = 981; this.match(TrinoSqlParser.KW_SHOW); - this.state = 980; + this.state = 982; this.match(TrinoSqlParser.KW_CREATE); - this.state = 981; + this.state = 983; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 982; + this.state = 984; this.schemaRef(); } break; @@ -2925,13 +2926,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateViewContext(localContext); this.enterOuterAlt(localContext, 53); { - this.state = 983; + this.state = 985; this.match(TrinoSqlParser.KW_SHOW); - this.state = 984; + this.state = 986; this.match(TrinoSqlParser.KW_CREATE); - this.state = 985; + this.state = 987; this.match(TrinoSqlParser.KW_VIEW); - this.state = 986; + this.state = 988; this.viewRef(); } break; @@ -2939,15 +2940,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 54); { - this.state = 987; + this.state = 989; this.match(TrinoSqlParser.KW_SHOW); - this.state = 988; + this.state = 990; this.match(TrinoSqlParser.KW_CREATE); - this.state = 989; + this.state = 991; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 990; + this.state = 992; this.match(TrinoSqlParser.KW_VIEW); - this.state = 991; + this.state = 993; this.viewRef(); } break; @@ -2955,13 +2956,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateFunctionContext(localContext); this.enterOuterAlt(localContext, 55); { - this.state = 992; + this.state = 994; this.match(TrinoSqlParser.KW_SHOW); - this.state = 993; + this.state = 995; this.match(TrinoSqlParser.KW_CREATE); - this.state = 994; + this.state = 996; this.match(TrinoSqlParser.KW_FUNCTION); - this.state = 995; + this.state = 997; this.functionName(); } break; @@ -2969,16 +2970,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowTablesContext(localContext); this.enterOuterAlt(localContext, 56); { - this.state = 996; + this.state = 998; this.match(TrinoSqlParser.KW_SHOW); - this.state = 997; + this.state = 999; this.match(TrinoSqlParser.KW_TABLES); - this.state = 1000; + this.state = 1002; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105 || _la === 122) { { - this.state = 998; + this.state = 1000; _la = this.tokenStream.LA(1); if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); @@ -2987,28 +2988,28 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 999; + this.state = 1001; this.schemaRef(); } } - this.state = 1008; + this.state = 1010; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 154) { { - this.state = 1002; + this.state = 1004; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1003; + this.state = 1005; (localContext as ShowTablesContext)._pattern = this.string_(); - this.state = 1006; + this.state = 1008; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 90) { { - this.state = 1004; + this.state = 1006; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1005; + this.state = 1007; (localContext as ShowTablesContext)._escape = this.string_(); } } @@ -3022,16 +3023,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowSchemasContext(localContext); this.enterOuterAlt(localContext, 57); { - this.state = 1010; + this.state = 1012; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1011; + this.state = 1013; this.match(TrinoSqlParser.KW_SCHEMAS); - this.state = 1014; + this.state = 1016; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105 || _la === 122) { { - this.state = 1012; + this.state = 1014; _la = this.tokenStream.LA(1); if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); @@ -3040,28 +3041,28 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1013; + this.state = 1015; this.catalogRef(); } } - this.state = 1022; + this.state = 1024; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 154) { { - this.state = 1016; + this.state = 1018; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1017; + this.state = 1019; (localContext as ShowSchemasContext)._pattern = this.string_(); - this.state = 1020; + this.state = 1022; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 90) { { - this.state = 1018; + this.state = 1020; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1019; + this.state = 1021; (localContext as ShowSchemasContext)._escape = this.string_(); } } @@ -3075,27 +3076,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCatalogsContext(localContext); this.enterOuterAlt(localContext, 58); { - this.state = 1024; + this.state = 1026; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1025; + this.state = 1027; this.match(TrinoSqlParser.KW_CATALOGS); - this.state = 1032; + this.state = 1034; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 154) { { - this.state = 1026; + this.state = 1028; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1027; + this.state = 1029; (localContext as ShowCatalogsContext)._pattern = this.string_(); - this.state = 1030; + this.state = 1032; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 90) { { - this.state = 1028; + this.state = 1030; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1029; + this.state = 1031; (localContext as ShowCatalogsContext)._escape = this.string_(); } } @@ -3109,11 +3110,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnsContext(localContext); this.enterOuterAlt(localContext, 59); { - this.state = 1034; + this.state = 1036; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1035; + this.state = 1037; this.match(TrinoSqlParser.KW_COLUMNS); - this.state = 1036; + this.state = 1038; _la = this.tokenStream.LA(1); if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); @@ -3122,25 +3123,25 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1037; + this.state = 1039; this.tableOrViewName(); - this.state = 1044; + this.state = 1046; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 154) { { - this.state = 1038; + this.state = 1040; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1039; + this.state = 1041; (localContext as ShowColumnsContext)._pattern = this.string_(); - this.state = 1042; + this.state = 1044; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 90) { { - this.state = 1040; + this.state = 1042; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1041; + this.state = 1043; (localContext as ShowColumnsContext)._escape = this.string_(); } } @@ -3154,13 +3155,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowStatsContext(localContext); this.enterOuterAlt(localContext, 60); { - this.state = 1046; + this.state = 1048; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1047; + this.state = 1049; this.match(TrinoSqlParser.KW_STATS); - this.state = 1048; + this.state = 1050; this.match(TrinoSqlParser.KW_FOR); - this.state = 1049; + this.state = 1051; this.tableOrViewName(); } break; @@ -3168,17 +3169,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowStatsForQueryContext(localContext); this.enterOuterAlt(localContext, 61); { - this.state = 1050; + this.state = 1052; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1051; + this.state = 1053; this.match(TrinoSqlParser.KW_STATS); - this.state = 1052; + this.state = 1054; this.match(TrinoSqlParser.KW_FOR); - this.state = 1053; + this.state = 1055; this.match(TrinoSqlParser.T__0); - this.state = 1054; + this.state = 1056; this.rootQuery(); - this.state = 1055; + this.state = 1057; this.match(TrinoSqlParser.T__1); } break; @@ -3186,26 +3187,26 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowRolesContext(localContext); this.enterOuterAlt(localContext, 62); { - this.state = 1057; - this.match(TrinoSqlParser.KW_SHOW); this.state = 1059; + this.match(TrinoSqlParser.KW_SHOW); + this.state = 1061; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 56) { { - this.state = 1058; + this.state = 1060; this.match(TrinoSqlParser.KW_CURRENT); } } - this.state = 1061; + this.state = 1063; this.match(TrinoSqlParser.KW_ROLES); - this.state = 1064; + this.state = 1066; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105 || _la === 122) { { - this.state = 1062; + this.state = 1064; _la = this.tokenStream.LA(1); if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); @@ -3214,7 +3215,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1063; + this.state = 1065; this.catalogRef(); } } @@ -3225,18 +3226,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowRoleGrantsContext(localContext); this.enterOuterAlt(localContext, 63); { - this.state = 1066; + this.state = 1068; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1067; + this.state = 1069; this.match(TrinoSqlParser.KW_ROLE); - this.state = 1068; + this.state = 1070; this.match(TrinoSqlParser.KW_GRANTS); - this.state = 1071; + this.state = 1073; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105 || _la === 122) { { - this.state = 1069; + this.state = 1071; _la = this.tokenStream.LA(1); if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); @@ -3245,7 +3246,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1070; + this.state = 1072; this.catalogRef(); } } @@ -3256,9 +3257,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnsContext(localContext); this.enterOuterAlt(localContext, 64); { - this.state = 1073; + this.state = 1075; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 1074; + this.state = 1076; this.tableOrViewName(); } break; @@ -3266,9 +3267,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnsContext(localContext); this.enterOuterAlt(localContext, 65); { - this.state = 1075; + this.state = 1077; this.match(TrinoSqlParser.KW_DESC); - this.state = 1076; + this.state = 1078; this.tableOrViewName(); } break; @@ -3276,16 +3277,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowFunctionsContext(localContext); this.enterOuterAlt(localContext, 66); { - this.state = 1077; + this.state = 1079; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1078; + this.state = 1080; this.match(TrinoSqlParser.KW_FUNCTIONS); - this.state = 1081; + this.state = 1083; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105 || _la === 122) { { - this.state = 1079; + this.state = 1081; _la = this.tokenStream.LA(1); if(!(_la === 105 || _la === 122)) { this.errorHandler.recoverInline(this); @@ -3294,28 +3295,28 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1080; + this.state = 1082; this.schemaRef(); } } - this.state = 1089; + this.state = 1091; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 154) { { - this.state = 1083; + this.state = 1085; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1084; + this.state = 1086; (localContext as ShowFunctionsContext)._pattern = this.string_(); - this.state = 1087; + this.state = 1089; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 90) { { - this.state = 1085; + this.state = 1087; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1086; + this.state = 1088; (localContext as ShowFunctionsContext)._escape = this.string_(); } } @@ -3329,27 +3330,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowSessionContext(localContext); this.enterOuterAlt(localContext, 67); { - this.state = 1091; + this.state = 1093; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1092; + this.state = 1094; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1099; + this.state = 1101; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 154) { { - this.state = 1093; + this.state = 1095; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1094; + this.state = 1096; (localContext as ShowSessionContext)._pattern = this.string_(); - this.state = 1097; + this.state = 1099; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 90) { { - this.state = 1095; + this.state = 1097; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1096; + this.state = 1098; (localContext as ShowSessionContext)._escape = this.string_(); } } @@ -3363,13 +3364,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetSessionAuthorizationContext(localContext); this.enterOuterAlt(localContext, 68); { - this.state = 1101; + this.state = 1103; this.match(TrinoSqlParser.KW_SET); - this.state = 1102; + this.state = 1104; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1103; + this.state = 1105; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 1104; + this.state = 1106; this.authorizationUser(); } break; @@ -3377,11 +3378,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ResetSessionAuthorizationContext(localContext); this.enterOuterAlt(localContext, 69); { - this.state = 1105; + this.state = 1107; this.match(TrinoSqlParser.KW_RESET); - this.state = 1106; + this.state = 1108; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1107; + this.state = 1109; this.match(TrinoSqlParser.KW_AUTHORIZATION); } break; @@ -3389,15 +3390,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetSessionContext(localContext); this.enterOuterAlt(localContext, 70); { - this.state = 1108; + this.state = 1110; this.match(TrinoSqlParser.KW_SET); - this.state = 1109; + this.state = 1111; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1110; + this.state = 1112; this.qualifiedName(); - this.state = 1111; + this.state = 1113; this.match(TrinoSqlParser.EQ); - this.state = 1112; + this.state = 1114; this.expression(); } break; @@ -3405,11 +3406,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ResetSessionContext(localContext); this.enterOuterAlt(localContext, 71); { - this.state = 1114; + this.state = 1116; this.match(TrinoSqlParser.KW_RESET); - this.state = 1115; + this.state = 1117; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1116; + this.state = 1118; this.qualifiedName(); } break; @@ -3417,30 +3418,30 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new StartTransactionContext(localContext); this.enterOuterAlt(localContext, 72); { - this.state = 1117; + this.state = 1119; this.match(TrinoSqlParser.KW_START); - this.state = 1118; + this.state = 1120; this.match(TrinoSqlParser.KW_TRANSACTION); - this.state = 1127; + this.state = 1129; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 134 || _la === 220) { { - this.state = 1119; + this.state = 1121; this.transactionMode(); - this.state = 1124; + this.state = 1126; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1120; + this.state = 1122; this.match(TrinoSqlParser.T__2); - this.state = 1121; + this.state = 1123; this.transactionMode(); } } - this.state = 1126; + this.state = 1128; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3453,14 +3454,14 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommitContext(localContext); this.enterOuterAlt(localContext, 73); { - this.state = 1129; - this.match(TrinoSqlParser.KW_COMMIT); this.state = 1131; + this.match(TrinoSqlParser.KW_COMMIT); + this.state = 1133; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 307) { { - this.state = 1130; + this.state = 1132; this.match(TrinoSqlParser.KW_WORK); } } @@ -3471,14 +3472,14 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RollbackContext(localContext); this.enterOuterAlt(localContext, 74); { - this.state = 1133; - this.match(TrinoSqlParser.KW_ROLLBACK); this.state = 1135; + this.match(TrinoSqlParser.KW_ROLLBACK); + this.state = 1137; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 307) { { - this.state = 1134; + this.state = 1136; this.match(TrinoSqlParser.KW_WORK); } } @@ -3489,13 +3490,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new PrepareContext(localContext); this.enterOuterAlt(localContext, 75); { - this.state = 1137; + this.state = 1139; this.match(TrinoSqlParser.KW_PREPARE); - this.state = 1138; + this.state = 1140; this.identifier(); - this.state = 1139; + this.state = 1141; this.match(TrinoSqlParser.KW_FROM); - this.state = 1140; + this.state = 1142; this.statement(); } break; @@ -3503,11 +3504,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DeallocateContext(localContext); this.enterOuterAlt(localContext, 76); { - this.state = 1142; + this.state = 1144; this.match(TrinoSqlParser.KW_DEALLOCATE); - this.state = 1143; + this.state = 1145; this.match(TrinoSqlParser.KW_PREPARE); - this.state = 1144; + this.state = 1146; this.identifier(); } break; @@ -3515,32 +3516,32 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExecuteContext(localContext); this.enterOuterAlt(localContext, 77); { - this.state = 1145; + this.state = 1147; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 1146; + this.state = 1148; this.identifier(); - this.state = 1156; + this.state = 1158; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 290) { { - this.state = 1147; + this.state = 1149; this.match(TrinoSqlParser.KW_USING); - this.state = 1148; + this.state = 1150; this.expression(); - this.state = 1153; + this.state = 1155; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1149; + this.state = 1151; this.match(TrinoSqlParser.T__2); - this.state = 1150; + this.state = 1152; this.expression(); } } - this.state = 1155; + this.state = 1157; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3553,34 +3554,34 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExecuteImmediateContext(localContext); this.enterOuterAlt(localContext, 78); { - this.state = 1158; + this.state = 1160; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 1159; + this.state = 1161; this.match(TrinoSqlParser.KW_IMMEDIATE); - this.state = 1160; + this.state = 1162; this.string_(); - this.state = 1170; + this.state = 1172; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 290) { { - this.state = 1161; + this.state = 1163; this.match(TrinoSqlParser.KW_USING); - this.state = 1162; + this.state = 1164; this.expression(); - this.state = 1167; + this.state = 1169; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1163; + this.state = 1165; this.match(TrinoSqlParser.T__2); - this.state = 1164; + this.state = 1166; this.expression(); } } - this.state = 1169; + this.state = 1171; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3593,11 +3594,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DescribeInputContext(localContext); this.enterOuterAlt(localContext, 79); { - this.state = 1172; + this.state = 1174; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 1173; + this.state = 1175; this.match(TrinoSqlParser.KW_INPUT); - this.state = 1174; + this.state = 1176; this.identifier(); } break; @@ -3605,11 +3606,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DescribeOutputContext(localContext); this.enterOuterAlt(localContext, 80); { - this.state = 1175; + this.state = 1177; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 1176; + this.state = 1178; this.match(TrinoSqlParser.KW_OUTPUT); - this.state = 1177; + this.state = 1179; this.identifier(); } break; @@ -3617,11 +3618,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetPathContext(localContext); this.enterOuterAlt(localContext, 81); { - this.state = 1178; + this.state = 1180; this.match(TrinoSqlParser.KW_SET); - this.state = 1179; + this.state = 1181; this.match(TrinoSqlParser.KW_PATH); - this.state = 1180; + this.state = 1182; this.pathSpecification(); } break; @@ -3629,24 +3630,24 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetTimeZoneContext(localContext); this.enterOuterAlt(localContext, 82); { - this.state = 1181; + this.state = 1183; this.match(TrinoSqlParser.KW_SET); - this.state = 1182; + this.state = 1184; this.match(TrinoSqlParser.KW_TIME); - this.state = 1183; + this.state = 1185; this.match(TrinoSqlParser.KW_ZONE); - this.state = 1186; + this.state = 1188; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 119, this.context) ) { case 1: { - this.state = 1184; + this.state = 1186; this.match(TrinoSqlParser.KW_LOCAL); } break; case 2: { - this.state = 1185; + this.state = 1187; this.expression(); } break; @@ -3657,38 +3658,38 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UpdateContext(localContext); this.enterOuterAlt(localContext, 83); { - this.state = 1188; + this.state = 1190; this.match(TrinoSqlParser.KW_UPDATE); - this.state = 1189; + this.state = 1191; this.tableRef(); - this.state = 1190; + this.state = 1192; this.match(TrinoSqlParser.KW_SET); - this.state = 1191; + this.state = 1193; this.updateAssignment(); - this.state = 1196; + this.state = 1198; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1192; + this.state = 1194; this.match(TrinoSqlParser.T__2); - this.state = 1193; + this.state = 1195; this.updateAssignment(); } } - this.state = 1198; + this.state = 1200; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1201; + this.state = 1203; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 301) { { - this.state = 1199; + this.state = 1201; this.match(TrinoSqlParser.KW_WHERE); - this.state = 1200; + this.state = 1202; (localContext as UpdateContext)._where = this.booleanExpression(0); } } @@ -3699,51 +3700,51 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MergeContext(localContext); this.enterOuterAlt(localContext, 84); { - this.state = 1203; + this.state = 1205; this.match(TrinoSqlParser.KW_MERGE); - this.state = 1204; + this.state = 1206; this.match(TrinoSqlParser.KW_INTO); - this.state = 1205; + this.state = 1207; this.tableRef(); - this.state = 1210; + this.state = 1212; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282056543) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - this.state = 1207; + this.state = 1209; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1206; + this.state = 1208; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1209; + this.state = 1211; this.identifier(); } } - this.state = 1212; + this.state = 1214; this.match(TrinoSqlParser.KW_USING); - this.state = 1213; + this.state = 1215; this.relation(0); - this.state = 1214; + this.state = 1216; this.match(TrinoSqlParser.KW_ON); - this.state = 1215; - this.expression(); this.state = 1217; + this.expression(); + this.state = 1219; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 1216; + this.state = 1218; this.mergeCase(); } } - this.state = 1219; + this.state = 1221; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 300); @@ -3753,15 +3754,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowTableCommentContext(localContext); this.enterOuterAlt(localContext, 85); { - this.state = 1221; + this.state = 1223; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1222; + this.state = 1224; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1223; + this.state = 1225; this.match(TrinoSqlParser.KW_ON); - this.state = 1224; + this.state = 1226; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1225; + this.state = 1227; this.tableRef(); } break; @@ -3769,15 +3770,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnCommentContext(localContext); this.enterOuterAlt(localContext, 86); { - this.state = 1226; + this.state = 1228; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1227; + this.state = 1229; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1228; + this.state = 1230; this.match(TrinoSqlParser.KW_ON); - this.state = 1229; + this.state = 1231; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 1230; + this.state = 1232; this.columnRef(); } break; @@ -3803,17 +3804,17 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1234; + this.state = 1236; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 126, this.context) ) { case 1: { - this.state = 1233; + this.state = 1235; this.withFunction(); } break; } - this.state = 1236; + this.state = 1238; this.query(); } } @@ -3838,23 +3839,23 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1238; + this.state = 1240; this.match(TrinoSqlParser.KW_WITH); - this.state = 1239; + this.state = 1241; this.functionSpecification(); - this.state = 1244; + this.state = 1246; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1240; + this.state = 1242; this.match(TrinoSqlParser.T__2); - this.state = 1241; + this.state = 1243; this.functionSpecification(); } } - this.state = 1246; + this.state = 1248; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3882,17 +3883,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new QueryStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1248; + this.state = 1250; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 304) { { - this.state = 1247; + this.state = 1249; this.with_(); } } - this.state = 1250; + this.state = 1252; this.queryNoWith(); } } @@ -3917,33 +3918,33 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1252; - this.match(TrinoSqlParser.KW_WITH); this.state = 1254; + this.match(TrinoSqlParser.KW_WITH); + this.state = 1256; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 221) { { - this.state = 1253; + this.state = 1255; this.match(TrinoSqlParser.KW_RECURSIVE); } } - this.state = 1256; + this.state = 1258; this.namedQuery(); - this.state = 1261; + this.state = 1263; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1257; + this.state = 1259; this.match(TrinoSqlParser.T__2); - this.state = 1258; + this.state = 1260; this.namedQuery(); } } - this.state = 1263; + this.state = 1265; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3967,7 +3968,7 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new TableElementContext(this.context, this.state); this.enterRule(localContext, 26, TrinoSqlParser.RULE_tableElement); try { - this.state = 1266; + this.state = 1268; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -4189,14 +4190,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.BACKQUOTED_IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 1264; + this.state = 1266; this.columnDefinition(); } break; case TrinoSqlParser.KW_LIKE: this.enterOuterAlt(localContext, 2); { - this.state = 1265; + this.state = 1267; this.likeClause(); } break; @@ -4225,42 +4226,42 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1268; + this.state = 1270; this.columnNameCreate(); - this.state = 1269; + this.state = 1271; this.type_(0); - this.state = 1272; + this.state = 1274; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 182) { { - this.state = 1270; + this.state = 1272; this.match(TrinoSqlParser.KW_NOT); - this.state = 1271; + this.state = 1273; this.match(TrinoSqlParser.KW_NULL); } } - this.state = 1276; + this.state = 1278; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 133, this.context) ) { case 1: { - this.state = 1274; + this.state = 1276; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1275; + this.state = 1277; this.string_(); } break; } - this.state = 1280; + this.state = 1282; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 134, this.context) ) { case 1: { - this.state = 1278; + this.state = 1280; this.match(TrinoSqlParser.KW_WITH); - this.state = 1279; + this.state = 1281; this.properties(); } break; @@ -4288,16 +4289,16 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1282; + this.state = 1284; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1283; + this.state = 1285; this.tableRef(); - this.state = 1286; + this.state = 1288; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 92 || _la === 123) { { - this.state = 1284; + this.state = 1286; localContext._optionType = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 92 || _la === 123)) { @@ -4307,7 +4308,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1285; + this.state = 1287; this.match(TrinoSqlParser.KW_PROPERTIES); } } @@ -4334,11 +4335,11 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1288; + this.state = 1290; this.match(TrinoSqlParser.T__0); - this.state = 1289; + this.state = 1291; this.propertyAssignments(); - this.state = 1290; + this.state = 1292; this.match(TrinoSqlParser.T__1); } } @@ -4363,21 +4364,21 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1292; + this.state = 1294; this.property(); - this.state = 1297; + this.state = 1299; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1293; + this.state = 1295; this.match(TrinoSqlParser.T__2); - this.state = 1294; + this.state = 1296; this.property(); } } - this.state = 1299; + this.state = 1301; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -4403,11 +4404,11 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1300; + this.state = 1302; this.identifier(); - this.state = 1301; + this.state = 1303; this.match(TrinoSqlParser.EQ); - this.state = 1302; + this.state = 1304; this.propertyValue(); } } @@ -4429,14 +4430,14 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new PropertyValueContext(this.context, this.state); this.enterRule(localContext, 38, TrinoSqlParser.RULE_propertyValue); try { - this.state = 1306; + this.state = 1308; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 137, this.context) ) { case 1: localContext = new DefaultPropertyValueContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1304; + this.state = 1306; this.match(TrinoSqlParser.KW_DEFAULT); } break; @@ -4444,7 +4445,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NonDefaultPropertyValueContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1305; + this.state = 1307; this.expression(); } break; @@ -4471,53 +4472,53 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1308; + this.state = 1310; this.queryTerm(0); - this.state = 1319; + this.state = 1321; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 1309; + this.state = 1311; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1310; + this.state = 1312; this.match(TrinoSqlParser.KW_BY); - this.state = 1311; + this.state = 1313; this.sortItem(); - this.state = 1316; + this.state = 1318; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1312; + this.state = 1314; this.match(TrinoSqlParser.T__2); - this.state = 1313; + this.state = 1315; this.sortItem(); } } - this.state = 1318; + this.state = 1320; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1326; + this.state = 1328; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 188) { { - this.state = 1321; + this.state = 1323; this.match(TrinoSqlParser.KW_OFFSET); - this.state = 1322; - localContext._offset = this.rowCount(); this.state = 1324; + localContext._offset = this.rowCount(); + this.state = 1326; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 239 || _la === 240) { { - this.state = 1323; + this.state = 1325; _la = this.tokenStream.LA(1); if(!(_la === 239 || _la === 240)) { this.errorHandler.recoverInline(this); @@ -4532,15 +4533,15 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 1341; + this.state = 1343; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_LIMIT: { { - this.state = 1328; + this.state = 1330; this.match(TrinoSqlParser.KW_LIMIT); - this.state = 1329; + this.state = 1331; localContext._limit = this.limitRowCount(); } } @@ -4548,9 +4549,9 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_FETCH: { { - this.state = 1330; + this.state = 1332; this.match(TrinoSqlParser.KW_FETCH); - this.state = 1331; + this.state = 1333; _la = this.tokenStream.LA(1); if(!(_la === 101 || _la === 174)) { this.errorHandler.recoverInline(this); @@ -4559,17 +4560,17 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1333; + this.state = 1335; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 324 || _la === 329) { { - this.state = 1332; + this.state = 1334; localContext._fetchFirst = this.rowCount(); } } - this.state = 1335; + this.state = 1337; _la = this.tokenStream.LA(1); if(!(_la === 239 || _la === 240)) { this.errorHandler.recoverInline(this); @@ -4578,20 +4579,20 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1339; + this.state = 1341; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ONLY: { - this.state = 1336; + this.state = 1338; this.match(TrinoSqlParser.KW_ONLY); } break; case TrinoSqlParser.KW_WITH: { - this.state = 1337; + this.state = 1339; this.match(TrinoSqlParser.KW_WITH); - this.state = 1338; + this.state = 1340; this.match(TrinoSqlParser.KW_TIES); } break; @@ -4661,13 +4662,13 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new LimitRowCountContext(this.context, this.state); this.enterRule(localContext, 42, TrinoSqlParser.RULE_limitRowCount); try { - this.state = 1345; + this.state = 1347; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ALL: this.enterOuterAlt(localContext, 1); { - this.state = 1343; + this.state = 1345; this.match(TrinoSqlParser.KW_ALL); } break; @@ -4675,7 +4676,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.INTEGER_VALUE: this.enterOuterAlt(localContext, 2); { - this.state = 1344; + this.state = 1346; this.rowCount(); } break; @@ -4704,7 +4705,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1347; + this.state = 1349; _la = this.tokenStream.LA(1); if(!(_la === 324 || _la === 329)) { this.errorHandler.recoverInline(this); @@ -4753,11 +4754,11 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 1350; + this.state = 1352; this.queryPrimary(); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 1366; + this.state = 1368; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 149, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { @@ -4767,7 +4768,7 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 1364; + this.state = 1366; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 148, this.context) ) { case 1: @@ -4775,23 +4776,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetOperationContext(new QueryTermContext(parentContext, parentState)); (localContext as SetOperationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_queryTerm); - this.state = 1352; + this.state = 1354; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 1353; - (localContext as SetOperationContext)._operator = this.match(TrinoSqlParser.KW_INTERSECT); this.state = 1355; + (localContext as SetOperationContext)._operator = this.match(TrinoSqlParser.KW_INTERSECT); + this.state = 1357; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 22 || _la === 79) { { - this.state = 1354; + this.state = 1356; this.setQuantifier(); } } - this.state = 1357; + this.state = 1359; (localContext as SetOperationContext)._right = this.queryTerm(3); } break; @@ -4800,11 +4801,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetOperationContext(new QueryTermContext(parentContext, parentState)); (localContext as SetOperationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_queryTerm); - this.state = 1358; + this.state = 1360; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 1359; + this.state = 1361; (localContext as SetOperationContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 91 || _la === 281)) { @@ -4814,24 +4815,24 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1361; + this.state = 1363; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 22 || _la === 79) { { - this.state = 1360; + this.state = 1362; this.setQuantifier(); } } - this.state = 1363; + this.state = 1365; (localContext as SetOperationContext)._right = this.queryTerm(2); } break; } } } - this.state = 1368; + this.state = 1370; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 149, this.context); } @@ -4856,14 +4857,14 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 48, TrinoSqlParser.RULE_queryPrimary); try { let alternative: number; - this.state = 1385; + this.state = 1387; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_SELECT: localContext = new QueryPrimaryDefaultContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1369; + this.state = 1371; this.querySpecification(); } break; @@ -4871,9 +4872,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1370; + this.state = 1372; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1371; + this.state = 1373; this.tableRef(); } break; @@ -4881,25 +4882,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InlineTableContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1372; + this.state = 1374; this.match(TrinoSqlParser.KW_VALUES); - this.state = 1373; + this.state = 1375; this.expression(); - this.state = 1378; + this.state = 1380; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 150, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1374; + this.state = 1376; this.match(TrinoSqlParser.T__2); - this.state = 1375; + this.state = 1377; this.expression(); } } } - this.state = 1380; + this.state = 1382; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 150, this.context); } @@ -4909,11 +4910,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubqueryContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1381; + this.state = 1383; this.match(TrinoSqlParser.T__0); - this.state = 1382; + this.state = 1384; this.queryNoWith(); - this.state = 1383; + this.state = 1385; this.match(TrinoSqlParser.T__1); } break; @@ -4942,28 +4943,28 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1389; + this.state = 1391; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 152, this.context) ) { case 1: { - this.state = 1387; + this.state = 1389; this.columnRef(); } break; case 2: { - this.state = 1388; + this.state = 1390; this.expression(); } break; } - this.state = 1392; + this.state = 1394; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 153, this.context) ) { case 1: { - this.state = 1391; + this.state = 1393; localContext._ordering = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 29 || _la === 75)) { @@ -4976,14 +4977,14 @@ export class TrinoSqlParser extends SQLParserBase { } break; } - this.state = 1396; + this.state = 1398; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 185) { { - this.state = 1394; + this.state = 1396; this.match(TrinoSqlParser.KW_NULLS); - this.state = 1395; + this.state = 1397; localContext._nullOrdering = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 101 || _la === 148)) { @@ -5019,130 +5020,130 @@ export class TrinoSqlParser extends SQLParserBase { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1398; - this.match(TrinoSqlParser.KW_SELECT); this.state = 1400; + this.match(TrinoSqlParser.KW_SELECT); + this.state = 1402; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 155, this.context) ) { case 1: { - this.state = 1399; + this.state = 1401; this.setQuantifier(); } break; } - this.state = 1402; + this.state = 1404; this.selectItem(); - this.state = 1407; + this.state = 1409; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 156, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1403; + this.state = 1405; this.match(TrinoSqlParser.T__2); - this.state = 1404; + this.state = 1406; this.selectItem(); } } } - this.state = 1409; + this.state = 1411; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 156, this.context); } - this.state = 1419; + this.state = 1421; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 158, this.context) ) { case 1: { - this.state = 1410; + this.state = 1412; this.match(TrinoSqlParser.KW_FROM); - this.state = 1411; + this.state = 1413; this.relation(0); - this.state = 1416; + this.state = 1418; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 157, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1412; + this.state = 1414; this.match(TrinoSqlParser.T__2); - this.state = 1413; + this.state = 1415; this.relation(0); } } } - this.state = 1418; + this.state = 1420; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 157, this.context); } } break; } - this.state = 1423; + this.state = 1425; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 159, this.context) ) { case 1: { - this.state = 1421; + this.state = 1423; this.match(TrinoSqlParser.KW_WHERE); - this.state = 1422; + this.state = 1424; localContext._where = this.booleanExpression(0); } break; } - this.state = 1428; + this.state = 1430; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 160, this.context) ) { case 1: { - this.state = 1425; + this.state = 1427; this.match(TrinoSqlParser.KW_GROUP); - this.state = 1426; + this.state = 1428; this.match(TrinoSqlParser.KW_BY); - this.state = 1427; + this.state = 1429; this.groupBy(); } break; } - this.state = 1432; + this.state = 1434; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 161, this.context) ) { case 1: { - this.state = 1430; + this.state = 1432; this.match(TrinoSqlParser.KW_HAVING); - this.state = 1431; + this.state = 1433; localContext._having = this.booleanExpression(0); } break; } - this.state = 1443; + this.state = 1445; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 163, this.context) ) { case 1: { - this.state = 1434; + this.state = 1436; this.match(TrinoSqlParser.KW_WINDOW); - this.state = 1435; + this.state = 1437; this.windowDefinition(); - this.state = 1440; + this.state = 1442; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 162, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1436; + this.state = 1438; this.match(TrinoSqlParser.T__2); - this.state = 1437; + this.state = 1439; this.windowDefinition(); } } } - this.state = 1442; + this.state = 1444; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 162, this.context); } @@ -5172,33 +5173,33 @@ export class TrinoSqlParser extends SQLParserBase { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1446; + this.state = 1448; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 164, this.context) ) { case 1: { - this.state = 1445; + this.state = 1447; this.setQuantifier(); } break; } - this.state = 1448; + this.state = 1450; this.groupingElement(); - this.state = 1453; + this.state = 1455; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 165, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1449; + this.state = 1451; this.match(TrinoSqlParser.T__2); - this.state = 1450; + this.state = 1452; this.groupingElement(); } } } - this.state = 1455; + this.state = 1457; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 165, this.context); } @@ -5223,14 +5224,14 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 56, TrinoSqlParser.RULE_groupingElement); let _la: number; try { - this.state = 1496; + this.state = 1498; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 171, this.context) ) { case 1: localContext = new SingleGroupingSetContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1456; + this.state = 1458; this.groupingSet(); } break; @@ -5238,37 +5239,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RollupContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1457; + this.state = 1459; this.match(TrinoSqlParser.KW_ROLLUP); - this.state = 1458; + this.state = 1460; this.match(TrinoSqlParser.T__0); - this.state = 1467; + this.state = 1469; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 167, this.context) ) { case 1: { - this.state = 1459; + this.state = 1461; this.groupingSet(); - this.state = 1464; + this.state = 1466; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1460; + this.state = 1462; this.match(TrinoSqlParser.T__2); - this.state = 1461; + this.state = 1463; this.groupingSet(); } } - this.state = 1466; + this.state = 1468; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1469; + this.state = 1471; this.match(TrinoSqlParser.T__1); } break; @@ -5276,37 +5277,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CubeContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1470; + this.state = 1472; this.match(TrinoSqlParser.KW_CUBE); - this.state = 1471; + this.state = 1473; this.match(TrinoSqlParser.T__0); - this.state = 1480; + this.state = 1482; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 169, this.context) ) { case 1: { - this.state = 1472; + this.state = 1474; this.groupingSet(); - this.state = 1477; + this.state = 1479; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1473; + this.state = 1475; this.match(TrinoSqlParser.T__2); - this.state = 1474; + this.state = 1476; this.groupingSet(); } } - this.state = 1479; + this.state = 1481; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1482; + this.state = 1484; this.match(TrinoSqlParser.T__1); } break; @@ -5314,31 +5315,31 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MultipleGroupingSetsContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1483; + this.state = 1485; this.match(TrinoSqlParser.KW_GROUPING); - this.state = 1484; + this.state = 1486; this.match(TrinoSqlParser.KW_SETS); - this.state = 1485; + this.state = 1487; this.match(TrinoSqlParser.T__0); - this.state = 1486; + this.state = 1488; this.groupingSet(); - this.state = 1491; + this.state = 1493; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1487; + this.state = 1489; this.match(TrinoSqlParser.T__2); - this.state = 1488; + this.state = 1490; this.groupingSet(); } } - this.state = 1493; + this.state = 1495; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1494; + this.state = 1496; this.match(TrinoSqlParser.T__1); } break; @@ -5363,48 +5364,48 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 58, TrinoSqlParser.RULE_groupingSet); let _la: number; try { - this.state = 1511; + this.state = 1513; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 174, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1498; + this.state = 1500; this.match(TrinoSqlParser.T__0); - this.state = 1507; + this.state = 1509; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 173, this.context) ) { case 1: { - this.state = 1499; + this.state = 1501; this.groupingTerm(); - this.state = 1504; + this.state = 1506; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1500; + this.state = 1502; this.match(TrinoSqlParser.T__2); - this.state = 1501; + this.state = 1503; this.groupingTerm(); } } - this.state = 1506; + this.state = 1508; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1509; + this.state = 1511; this.match(TrinoSqlParser.T__1); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1510; + this.state = 1512; this.groupingTerm(); } break; @@ -5428,20 +5429,20 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new GroupingTermContext(this.context, this.state); this.enterRule(localContext, 60, TrinoSqlParser.RULE_groupingTerm); try { - this.state = 1515; + this.state = 1517; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 175, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1513; + this.state = 1515; this.columnRef(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1514; + this.state = 1516; this.expression(); } break; @@ -5467,15 +5468,15 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1517; + this.state = 1519; localContext._name = this.identifier(); - this.state = 1518; + this.state = 1520; this.match(TrinoSqlParser.KW_AS); - this.state = 1519; + this.state = 1521; this.match(TrinoSqlParser.T__0); - this.state = 1520; + this.state = 1522; this.windowSpecification(); - this.state = 1521; + this.state = 1523; this.match(TrinoSqlParser.T__1); } } @@ -5500,84 +5501,84 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1524; + this.state = 1526; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 176, this.context) ) { case 1: { - this.state = 1523; + this.state = 1525; localContext._existingWindowName = this.identifier(); } break; } - this.state = 1536; + this.state = 1538; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 201) { { - this.state = 1526; + this.state = 1528; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 1527; + this.state = 1529; this.match(TrinoSqlParser.KW_BY); - this.state = 1528; + this.state = 1530; localContext._expression = this.expression(); localContext._partition.push(localContext._expression); - this.state = 1533; + this.state = 1535; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1529; + this.state = 1531; this.match(TrinoSqlParser.T__2); - this.state = 1530; + this.state = 1532; localContext._expression = this.expression(); localContext._partition.push(localContext._expression); } } - this.state = 1535; + this.state = 1537; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1548; + this.state = 1550; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 1538; + this.state = 1540; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1539; + this.state = 1541; this.match(TrinoSqlParser.KW_BY); - this.state = 1540; + this.state = 1542; this.sortItem(); - this.state = 1545; + this.state = 1547; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1541; + this.state = 1543; this.match(TrinoSqlParser.T__2); - this.state = 1542; + this.state = 1544; this.sortItem(); } } - this.state = 1547; + this.state = 1549; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1551; + this.state = 1553; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 116 || _la === 168 || _la === 219 || _la === 240) { { - this.state = 1550; + this.state = 1552; this.windowFrame(); } } @@ -5605,25 +5606,25 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1553; - localContext._name = this.identifier(); this.state = 1555; + localContext._name = this.identifier(); + this.state = 1557; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 1554; + this.state = 1556; this.columnAliases(); } } - this.state = 1557; + this.state = 1559; this.match(TrinoSqlParser.KW_AS); - this.state = 1558; + this.state = 1560; this.match(TrinoSqlParser.T__0); - this.state = 1559; + this.state = 1561; this.query(); - this.state = 1560; + this.state = 1562; this.match(TrinoSqlParser.T__1); } } @@ -5648,7 +5649,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1562; + this.state = 1564; _la = this.tokenStream.LA(1); if(!(_la === 22 || _la === 79)) { this.errorHandler.recoverInline(this); @@ -5678,45 +5679,45 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 70, TrinoSqlParser.RULE_selectItem); let _la: number; try { - this.state = 1582; + this.state = 1584; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 187, this.context) ) { case 1: localContext = new SelectSingleContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1566; + this.state = 1568; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 183, this.context) ) { case 1: { - this.state = 1564; + this.state = 1566; this.columnRef(); } break; case 2: { - this.state = 1565; + this.state = 1567; this.expression(); } break; } - this.state = 1572; + this.state = 1574; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 185, this.context) ) { case 1: { - this.state = 1569; + this.state = 1571; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1568; + this.state = 1570; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1571; + this.state = 1573; this.identifier(); } break; @@ -5727,20 +5728,20 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SelectAllContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1574; + this.state = 1576; this.primaryExpression(0); - this.state = 1575; + this.state = 1577; this.match(TrinoSqlParser.T__3); - this.state = 1576; + this.state = 1578; this.match(TrinoSqlParser.ASTERISK); - this.state = 1579; + this.state = 1581; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 186, this.context) ) { case 1: { - this.state = 1577; + this.state = 1579; this.match(TrinoSqlParser.KW_AS); - this.state = 1578; + this.state = 1580; this.columnAliases(); } break; @@ -5751,7 +5752,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SelectAllContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1581; + this.state = 1583; this.match(TrinoSqlParser.ASTERISK); } break; @@ -5794,11 +5795,11 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 1585; + this.state = 1587; this.sampledRelation(); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 1605; + this.state = 1607; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 189, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { @@ -5812,20 +5813,20 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JoinRelationContext(new RelationContext(parentContext, parentState)); (localContext as JoinRelationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_relation); - this.state = 1587; + this.state = 1589; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 1601; + this.state = 1603; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_CROSS: { - this.state = 1588; + this.state = 1590; this.match(TrinoSqlParser.KW_CROSS); - this.state = 1589; + this.state = 1591; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1590; + this.state = 1592; (localContext as JoinRelationContext)._right = this.sampledRelation(); } break; @@ -5835,25 +5836,25 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_LEFT: case TrinoSqlParser.KW_RIGHT: { - this.state = 1591; + this.state = 1593; this.joinType(); - this.state = 1592; + this.state = 1594; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1593; + this.state = 1595; (localContext as JoinRelationContext)._rightRelation = this.relation(0); - this.state = 1594; + this.state = 1596; this.joinCriteria(); } break; case TrinoSqlParser.KW_NATURAL: { - this.state = 1596; + this.state = 1598; this.match(TrinoSqlParser.KW_NATURAL); - this.state = 1597; + this.state = 1599; this.joinType(); - this.state = 1598; + this.state = 1600; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1599; + this.state = 1601; (localContext as JoinRelationContext)._right = this.sampledRelation(); } break; @@ -5863,7 +5864,7 @@ export class TrinoSqlParser extends SQLParserBase { } } } - this.state = 1607; + this.state = 1609; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 189, this.context); } @@ -5888,19 +5889,19 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 74, TrinoSqlParser.RULE_joinType); let _la: number; try { - this.state = 1623; + this.state = 1625; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_INNER: case TrinoSqlParser.KW_JOIN: this.enterOuterAlt(localContext, 1); { - this.state = 1609; + this.state = 1611; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 125) { { - this.state = 1608; + this.state = 1610; this.match(TrinoSqlParser.KW_INNER); } } @@ -5910,14 +5911,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_LEFT: this.enterOuterAlt(localContext, 2); { - this.state = 1611; - this.match(TrinoSqlParser.KW_LEFT); this.state = 1613; + this.match(TrinoSqlParser.KW_LEFT); + this.state = 1615; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 197) { { - this.state = 1612; + this.state = 1614; this.match(TrinoSqlParser.KW_OUTER); } } @@ -5927,14 +5928,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_RIGHT: this.enterOuterAlt(localContext, 3); { - this.state = 1615; - this.match(TrinoSqlParser.KW_RIGHT); this.state = 1617; + this.match(TrinoSqlParser.KW_RIGHT); + this.state = 1619; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 197) { { - this.state = 1616; + this.state = 1618; this.match(TrinoSqlParser.KW_OUTER); } } @@ -5944,14 +5945,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_FULL: this.enterOuterAlt(localContext, 4); { - this.state = 1619; - this.match(TrinoSqlParser.KW_FULL); this.state = 1621; + this.match(TrinoSqlParser.KW_FULL); + this.state = 1623; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 197) { { - this.state = 1620; + this.state = 1622; this.match(TrinoSqlParser.KW_OUTER); } } @@ -5981,44 +5982,44 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 76, TrinoSqlParser.RULE_joinCriteria); let _la: number; try { - this.state = 1639; + this.state = 1641; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ON: this.enterOuterAlt(localContext, 1); { - this.state = 1625; + this.state = 1627; this.match(TrinoSqlParser.KW_ON); - this.state = 1626; + this.state = 1628; this.booleanExpression(0); } break; case TrinoSqlParser.KW_USING: this.enterOuterAlt(localContext, 2); { - this.state = 1627; + this.state = 1629; this.match(TrinoSqlParser.KW_USING); - this.state = 1628; + this.state = 1630; this.match(TrinoSqlParser.T__0); - this.state = 1629; + this.state = 1631; this.identifier(); - this.state = 1634; + this.state = 1636; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1630; + this.state = 1632; this.match(TrinoSqlParser.T__2); - this.state = 1631; + this.state = 1633; this.identifier(); } } - this.state = 1636; + this.state = 1638; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1637; + this.state = 1639; this.match(TrinoSqlParser.T__1); } break; @@ -6046,22 +6047,22 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1641; + this.state = 1643; this.patternRecognition(); - this.state = 1648; + this.state = 1650; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 197, this.context) ) { case 1: { - this.state = 1642; + this.state = 1644; this.match(TrinoSqlParser.KW_TABLESAMPLE); - this.state = 1643; + this.state = 1645; this.sampleType(); - this.state = 1644; + this.state = 1646; this.match(TrinoSqlParser.T__0); - this.state = 1645; + this.state = 1647; localContext._percentage = this.expression(); - this.state = 1646; + this.state = 1648; this.match(TrinoSqlParser.T__1); } break; @@ -6089,7 +6090,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1650; + this.state = 1652; _la = this.tokenStream.LA(1); if(!(_la === 33 || _la === 259)) { this.errorHandler.recoverInline(this); @@ -6121,7 +6122,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1652; + this.state = 1654; _la = this.tokenStream.LA(1); if(!(_la === 35 || _la === 150 || _la === 270)) { this.errorHandler.recoverInline(this); @@ -6151,32 +6152,32 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 84, TrinoSqlParser.RULE_listAggOverflowBehavior); let _la: number; try { - this.state = 1660; + this.state = 1662; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ERROR: this.enterOuterAlt(localContext, 1); { - this.state = 1654; + this.state = 1656; this.match(TrinoSqlParser.KW_ERROR); } break; case TrinoSqlParser.KW_TRUNCATE: this.enterOuterAlt(localContext, 2); { - this.state = 1655; - this.match(TrinoSqlParser.KW_TRUNCATE); this.state = 1657; + this.match(TrinoSqlParser.KW_TRUNCATE); + this.state = 1659; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326 || _la === 327) { { - this.state = 1656; + this.state = 1658; this.string_(); } } - this.state = 1659; + this.state = 1661; this.listaggCountIndication(); } break; @@ -6202,24 +6203,24 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new ListaggCountIndicationContext(this.context, this.state); this.enterRule(localContext, 86, TrinoSqlParser.RULE_listaggCountIndication); try { - this.state = 1666; + this.state = 1668; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_WITH: this.enterOuterAlt(localContext, 1); { - this.state = 1662; + this.state = 1664; this.match(TrinoSqlParser.KW_WITH); - this.state = 1663; + this.state = 1665; this.match(TrinoSqlParser.KW_COUNT); } break; case TrinoSqlParser.KW_WITHOUT: this.enterOuterAlt(localContext, 2); { - this.state = 1664; + this.state = 1666; this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 1665; + this.state = 1667; this.match(TrinoSqlParser.KW_COUNT); } break; @@ -6248,137 +6249,137 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1668; + this.state = 1670; this.aliasedRelation(); - this.state = 1751; + this.state = 1753; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 216, this.context) ) { case 1: { - this.state = 1669; + this.state = 1671; this.match(TrinoSqlParser.KW_MATCH_RECOGNIZE); - this.state = 1670; + this.state = 1672; this.match(TrinoSqlParser.T__0); - this.state = 1681; + this.state = 1683; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 201) { { - this.state = 1671; + this.state = 1673; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 1672; + this.state = 1674; this.match(TrinoSqlParser.KW_BY); - this.state = 1673; + this.state = 1675; localContext._expression = this.expression(); localContext._partition.push(localContext._expression); - this.state = 1678; + this.state = 1680; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1674; + this.state = 1676; this.match(TrinoSqlParser.T__2); - this.state = 1675; + this.state = 1677; localContext._expression = this.expression(); localContext._partition.push(localContext._expression); } } - this.state = 1680; + this.state = 1682; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1693; + this.state = 1695; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 1683; + this.state = 1685; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1684; + this.state = 1686; this.match(TrinoSqlParser.KW_BY); - this.state = 1685; + this.state = 1687; this.sortItem(); - this.state = 1690; + this.state = 1692; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1686; + this.state = 1688; this.match(TrinoSqlParser.T__2); - this.state = 1687; + this.state = 1689; this.sortItem(); } } - this.state = 1692; + this.state = 1694; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1704; + this.state = 1706; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 168) { { - this.state = 1695; + this.state = 1697; this.match(TrinoSqlParser.KW_MEASURES); - this.state = 1696; + this.state = 1698; this.measureDefinition(); - this.state = 1701; + this.state = 1703; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1697; + this.state = 1699; this.match(TrinoSqlParser.T__2); - this.state = 1698; + this.state = 1700; this.measureDefinition(); } } - this.state = 1703; + this.state = 1705; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1707; + this.state = 1709; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 22 || _la === 191) { { - this.state = 1706; + this.state = 1708; this.rowsPerMatch(); } } - this.state = 1712; + this.state = 1714; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 21) { { - this.state = 1709; + this.state = 1711; this.match(TrinoSqlParser.KW_AFTER); - this.state = 1710; + this.state = 1712; this.match(TrinoSqlParser.KW_MATCH); - this.state = 1711; + this.state = 1713; this.skipTo(); } } - this.state = 1715; + this.state = 1717; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 124 || _la === 247) { { - this.state = 1714; + this.state = 1716; _la = this.tokenStream.LA(1); if(!(_la === 124 || _la === 247)) { this.errorHandler.recoverInline(this); @@ -6390,87 +6391,87 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 1717; + this.state = 1719; this.match(TrinoSqlParser.KW_PATTERN); - this.state = 1718; + this.state = 1720; this.match(TrinoSqlParser.T__0); - this.state = 1719; + this.state = 1721; this.rowPattern(0); - this.state = 1720; + this.state = 1722; this.match(TrinoSqlParser.T__1); - this.state = 1730; + this.state = 1732; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 257) { { - this.state = 1721; + this.state = 1723; this.match(TrinoSqlParser.KW_SUBSET); - this.state = 1722; + this.state = 1724; this.subsetDefinition(); - this.state = 1727; + this.state = 1729; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1723; + this.state = 1725; this.match(TrinoSqlParser.T__2); - this.state = 1724; + this.state = 1726; this.subsetDefinition(); } } - this.state = 1729; + this.state = 1731; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1732; + this.state = 1734; this.match(TrinoSqlParser.KW_DEFINE); - this.state = 1733; + this.state = 1735; this.variableDefinition(); - this.state = 1738; + this.state = 1740; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1734; + this.state = 1736; this.match(TrinoSqlParser.T__2); - this.state = 1735; + this.state = 1737; this.variableDefinition(); } } - this.state = 1740; + this.state = 1742; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1741; + this.state = 1743; this.match(TrinoSqlParser.T__1); - this.state = 1749; + this.state = 1751; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 215, this.context) ) { case 1: { - this.state = 1743; + this.state = 1745; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1742; + this.state = 1744; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1745; - this.identifier(); this.state = 1747; + this.identifier(); + this.state = 1749; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 214, this.context) ) { case 1: { - this.state = 1746; + this.state = 1748; this.columnAliases(); } break; @@ -6503,11 +6504,11 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1753; + this.state = 1755; this.expression(); - this.state = 1754; + this.state = 1756; this.match(TrinoSqlParser.KW_AS); - this.state = 1755; + this.state = 1757; this.identifier(); } } @@ -6530,39 +6531,39 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 92, TrinoSqlParser.RULE_rowsPerMatch); let _la: number; try { - this.state = 1768; + this.state = 1770; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ONE: this.enterOuterAlt(localContext, 1); { - this.state = 1757; + this.state = 1759; this.match(TrinoSqlParser.KW_ONE); - this.state = 1758; + this.state = 1760; this.match(TrinoSqlParser.KW_ROW); - this.state = 1759; + this.state = 1761; this.match(TrinoSqlParser.KW_PER); - this.state = 1760; + this.state = 1762; this.match(TrinoSqlParser.KW_MATCH); } break; case TrinoSqlParser.KW_ALL: this.enterOuterAlt(localContext, 2); { - this.state = 1761; + this.state = 1763; this.match(TrinoSqlParser.KW_ALL); - this.state = 1762; + this.state = 1764; this.match(TrinoSqlParser.KW_ROWS); - this.state = 1763; + this.state = 1765; this.match(TrinoSqlParser.KW_PER); - this.state = 1764; - this.match(TrinoSqlParser.KW_MATCH); this.state = 1766; + this.match(TrinoSqlParser.KW_MATCH); + this.state = 1768; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 189 || _la === 253 || _la === 304) { { - this.state = 1765; + this.state = 1767; this.emptyMatchHandling(); } } @@ -6591,39 +6592,39 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new EmptyMatchHandlingContext(this.context, this.state); this.enterRule(localContext, 94, TrinoSqlParser.RULE_emptyMatchHandling); try { - this.state = 1779; + this.state = 1781; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_SHOW: this.enterOuterAlt(localContext, 1); { - this.state = 1770; + this.state = 1772; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1771; + this.state = 1773; this.match(TrinoSqlParser.KW_EMPTY); - this.state = 1772; + this.state = 1774; this.match(TrinoSqlParser.KW_MATCHES); } break; case TrinoSqlParser.KW_OMIT: this.enterOuterAlt(localContext, 2); { - this.state = 1773; + this.state = 1775; this.match(TrinoSqlParser.KW_OMIT); - this.state = 1774; + this.state = 1776; this.match(TrinoSqlParser.KW_EMPTY); - this.state = 1775; + this.state = 1777; this.match(TrinoSqlParser.KW_MATCHES); } break; case TrinoSqlParser.KW_WITH: this.enterOuterAlt(localContext, 3); { - this.state = 1776; + this.state = 1778; this.match(TrinoSqlParser.KW_WITH); - this.state = 1777; + this.state = 1779; this.match(TrinoSqlParser.KW_UNMATCHED); - this.state = 1778; + this.state = 1780; this.match(TrinoSqlParser.KW_ROWS); } break; @@ -6649,69 +6650,69 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new SkipToContext(this.context, this.state); this.enterRule(localContext, 96, TrinoSqlParser.RULE_skipTo); try { - this.state = 1800; + this.state = 1802; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 220, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1781; + this.state = 1783; this.match(TrinoSqlParser.T__4); - this.state = 1782; + this.state = 1784; this.match(TrinoSqlParser.KW_TO); - this.state = 1783; + this.state = 1785; this.match(TrinoSqlParser.KW_NEXT); - this.state = 1784; + this.state = 1786; this.match(TrinoSqlParser.KW_ROW); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1785; + this.state = 1787; this.match(TrinoSqlParser.T__4); - this.state = 1786; + this.state = 1788; this.match(TrinoSqlParser.KW_PAST); - this.state = 1787; + this.state = 1789; this.match(TrinoSqlParser.KW_LAST); - this.state = 1788; + this.state = 1790; this.match(TrinoSqlParser.KW_ROW); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1789; + this.state = 1791; this.match(TrinoSqlParser.T__4); - this.state = 1790; + this.state = 1792; this.match(TrinoSqlParser.KW_TO); - this.state = 1791; + this.state = 1793; this.match(TrinoSqlParser.KW_FIRST); - this.state = 1792; + this.state = 1794; this.identifier(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 1793; + this.state = 1795; this.match(TrinoSqlParser.T__4); - this.state = 1794; + this.state = 1796; this.match(TrinoSqlParser.KW_TO); - this.state = 1795; + this.state = 1797; this.match(TrinoSqlParser.KW_LAST); - this.state = 1796; + this.state = 1798; this.identifier(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 1797; + this.state = 1799; this.match(TrinoSqlParser.T__4); - this.state = 1798; + this.state = 1800; this.match(TrinoSqlParser.KW_TO); - this.state = 1799; + this.state = 1801; this.identifier(); } break; @@ -6738,33 +6739,33 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1802; + this.state = 1804; localContext._name = this.identifier(); - this.state = 1803; + this.state = 1805; this.match(TrinoSqlParser.EQ); - this.state = 1804; + this.state = 1806; this.match(TrinoSqlParser.T__0); - this.state = 1805; + this.state = 1807; localContext._identifier = this.identifier(); localContext._union.push(localContext._identifier); - this.state = 1810; + this.state = 1812; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1806; + this.state = 1808; this.match(TrinoSqlParser.T__2); - this.state = 1807; + this.state = 1809; localContext._identifier = this.identifier(); localContext._union.push(localContext._identifier); } } - this.state = 1812; + this.state = 1814; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1813; + this.state = 1815; this.match(TrinoSqlParser.T__1); } } @@ -6788,11 +6789,11 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1815; + this.state = 1817; this.identifier(); - this.state = 1816; + this.state = 1818; this.match(TrinoSqlParser.KW_AS); - this.state = 1817; + this.state = 1819; this.expression(); } } @@ -6817,31 +6818,31 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1819; + this.state = 1821; this.relationPrimary(); - this.state = 1827; + this.state = 1829; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 224, this.context) ) { case 1: { - this.state = 1821; + this.state = 1823; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1820; + this.state = 1822; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1823; - this.identifier(); this.state = 1825; + this.identifier(); + this.state = 1827; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 223, this.context) ) { case 1: { - this.state = 1824; + this.state = 1826; this.columnAliases(); } break; @@ -6872,27 +6873,27 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1829; + this.state = 1831; this.match(TrinoSqlParser.T__0); - this.state = 1830; + this.state = 1832; this.columnNameCreate(); - this.state = 1835; + this.state = 1837; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1831; + this.state = 1833; this.match(TrinoSqlParser.T__2); - this.state = 1832; + this.state = 1834; this.columnNameCreate(); } } - this.state = 1837; + this.state = 1839; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1838; + this.state = 1840; this.match(TrinoSqlParser.T__1); } } @@ -6917,27 +6918,27 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1840; + this.state = 1842; this.match(TrinoSqlParser.T__0); - this.state = 1841; + this.state = 1843; this.columnRef(); - this.state = 1846; + this.state = 1848; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1842; + this.state = 1844; this.match(TrinoSqlParser.T__2); - this.state = 1843; + this.state = 1845; this.columnRef(); } } - this.state = 1848; + this.state = 1850; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1849; + this.state = 1851; this.match(TrinoSqlParser.T__1); } } @@ -6962,27 +6963,27 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1851; + this.state = 1853; this.match(TrinoSqlParser.T__0); - this.state = 1852; + this.state = 1854; this.identifier(); - this.state = 1857; + this.state = 1859; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1853; + this.state = 1855; this.match(TrinoSqlParser.T__2); - this.state = 1854; + this.state = 1856; this.identifier(); } } - this.state = 1859; + this.state = 1861; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1860; + this.state = 1862; this.match(TrinoSqlParser.T__1); } } @@ -7005,21 +7006,21 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 110, TrinoSqlParser.RULE_relationPrimary); let _la: number; try { - this.state = 1933; + this.state = 1935; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 234, this.context) ) { case 1: localContext = new TableNameContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1862; - this.tableOrViewName(); this.state = 1864; + this.tableOrViewName(); + this.state = 1866; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 228, this.context) ) { case 1: { - this.state = 1863; + this.state = 1865; this.queryPeriod(); } break; @@ -7030,11 +7031,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubqueryRelationContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1866; + this.state = 1868; this.match(TrinoSqlParser.T__0); - this.state = 1867; + this.state = 1869; this.query(); - this.state = 1868; + this.state = 1870; this.match(TrinoSqlParser.T__1); } break; @@ -7042,38 +7043,38 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnnestContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1870; + this.state = 1872; this.match(TrinoSqlParser.KW_UNNEST); - this.state = 1871; + this.state = 1873; this.match(TrinoSqlParser.T__0); - this.state = 1872; + this.state = 1874; this.expression(); - this.state = 1877; + this.state = 1879; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1873; + this.state = 1875; this.match(TrinoSqlParser.T__2); - this.state = 1874; + this.state = 1876; this.expression(); } } - this.state = 1879; + this.state = 1881; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1880; + this.state = 1882; this.match(TrinoSqlParser.T__1); - this.state = 1883; + this.state = 1885; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 230, this.context) ) { case 1: { - this.state = 1881; + this.state = 1883; this.match(TrinoSqlParser.KW_WITH); - this.state = 1882; + this.state = 1884; this.match(TrinoSqlParser.KW_ORDINALITY); } break; @@ -7084,13 +7085,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LateralContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1885; + this.state = 1887; this.match(TrinoSqlParser.KW_LATERAL); - this.state = 1886; + this.state = 1888; this.match(TrinoSqlParser.T__0); - this.state = 1887; + this.state = 1889; this.query(); - this.state = 1888; + this.state = 1890; this.match(TrinoSqlParser.T__1); } break; @@ -7098,13 +7099,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableFunctionInvocationContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 1890; + this.state = 1892; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1891; + this.state = 1893; this.match(TrinoSqlParser.T__0); - this.state = 1892; + this.state = 1894; this.tableFunctionCall(); - this.state = 1893; + this.state = 1895; this.match(TrinoSqlParser.T__1); } break; @@ -7112,11 +7113,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ParenthesizedRelationContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 1895; + this.state = 1897; this.match(TrinoSqlParser.T__0); - this.state = 1896; + this.state = 1898; this.relation(0); - this.state = 1897; + this.state = 1899; this.match(TrinoSqlParser.T__1); } break; @@ -7124,72 +7125,72 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonTableContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 1899; + this.state = 1901; this.match(TrinoSqlParser.KW_JSON_TABLE); - this.state = 1900; + this.state = 1902; this.match(TrinoSqlParser.T__0); - this.state = 1901; + this.state = 1903; this.jsonPathInvocation(); - this.state = 1902; + this.state = 1904; this.match(TrinoSqlParser.KW_COLUMNS); - this.state = 1903; + this.state = 1905; this.match(TrinoSqlParser.T__0); - this.state = 1904; + this.state = 1906; this.jsonTableColumn(); - this.state = 1909; + this.state = 1911; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1905; + this.state = 1907; this.match(TrinoSqlParser.T__2); - this.state = 1906; + this.state = 1908; this.jsonTableColumn(); } } - this.state = 1911; + this.state = 1913; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1912; + this.state = 1914; this.match(TrinoSqlParser.T__1); - this.state = 1924; + this.state = 1926; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 232, this.context) ) { case 1: { - this.state = 1913; + this.state = 1915; this.match(TrinoSqlParser.KW_PLAN); - this.state = 1914; + this.state = 1916; this.match(TrinoSqlParser.T__0); - this.state = 1915; + this.state = 1917; this.jsonTableSpecificPlan(); - this.state = 1916; + this.state = 1918; this.match(TrinoSqlParser.T__1); } break; case 2: { - this.state = 1918; + this.state = 1920; this.match(TrinoSqlParser.KW_PLAN); - this.state = 1919; + this.state = 1921; this.match(TrinoSqlParser.KW_DEFAULT); - this.state = 1920; + this.state = 1922; this.match(TrinoSqlParser.T__0); - this.state = 1921; + this.state = 1923; this.jsonTableDefaultPlan(); - this.state = 1922; + this.state = 1924; this.match(TrinoSqlParser.T__1); } break; } - this.state = 1929; + this.state = 1931; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 85 || _la === 89) { { - this.state = 1926; + this.state = 1928; _la = this.tokenStream.LA(1); if(!(_la === 85 || _la === 89)) { this.errorHandler.recoverInline(this); @@ -7198,14 +7199,14 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1927; + this.state = 1929; this.match(TrinoSqlParser.KW_ON); - this.state = 1928; + this.state = 1930; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 1931; + this.state = 1933; this.match(TrinoSqlParser.T__1); } break; @@ -7230,18 +7231,18 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 112, TrinoSqlParser.RULE_jsonTableColumn); let _la: number; try { - this.state = 2012; + this.state = 2014; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 247, this.context) ) { case 1: localContext = new OrdinalityColumnContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1935; + this.state = 1937; this.identifier(); - this.state = 1936; + this.state = 1938; this.match(TrinoSqlParser.KW_FOR); - this.state = 1937; + this.state = 1939; this.match(TrinoSqlParser.KW_ORDINALITY); } break; @@ -7249,46 +7250,46 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ValueColumnContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1939; + this.state = 1941; this.identifier(); - this.state = 1940; + this.state = 1942; this.type_(0); - this.state = 1943; + this.state = 1945; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 205) { { - this.state = 1941; + this.state = 1943; this.match(TrinoSqlParser.KW_PATH); - this.state = 1942; + this.state = 1944; this.string_(); } } - this.state = 1949; + this.state = 1951; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 236, this.context) ) { case 1: { - this.state = 1945; + this.state = 1947; (localContext as ValueColumnContext)._emptyBehavior = this.jsonValueBehavior(); - this.state = 1946; + this.state = 1948; this.match(TrinoSqlParser.KW_ON); - this.state = 1947; + this.state = 1949; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 1955; + this.state = 1957; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 70 || _la === 89 || _la === 183) { { - this.state = 1951; + this.state = 1953; (localContext as ValueColumnContext)._errorBehavior = this.jsonValueBehavior(); - this.state = 1952; + this.state = 1954; this.match(TrinoSqlParser.KW_ON); - this.state = 1953; + this.state = 1955; this.match(TrinoSqlParser.KW_ERROR); } } @@ -7299,44 +7300,44 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new QueryColumnContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1957; + this.state = 1959; this.identifier(); - this.state = 1958; + this.state = 1960; this.type_(0); - this.state = 1959; + this.state = 1961; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 1960; + this.state = 1962; this.jsonRepresentation(); - this.state = 1963; + this.state = 1965; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 205) { { - this.state = 1961; + this.state = 1963; this.match(TrinoSqlParser.KW_PATH); - this.state = 1962; + this.state = 1964; this.string_(); } } - this.state = 1968; + this.state = 1970; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 304 || _la === 306) { { - this.state = 1965; + this.state = 1967; this.jsonQueryWrapperBehavior(); - this.state = 1966; + this.state = 1968; this.match(TrinoSqlParser.KW_WRAPPER); } } - this.state = 1977; + this.state = 1979; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 144 || _la === 189) { { - this.state = 1970; + this.state = 1972; _la = this.tokenStream.LA(1); if(!(_la === 144 || _la === 189)) { this.errorHandler.recoverInline(this); @@ -7345,18 +7346,18 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1971; + this.state = 1973; this.match(TrinoSqlParser.KW_QUOTES); - this.state = 1975; + this.state = 1977; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 190) { { - this.state = 1972; + this.state = 1974; this.match(TrinoSqlParser.KW_ON); - this.state = 1973; + this.state = 1975; this.match(TrinoSqlParser.KW_SCALAR); - this.state = 1974; + this.state = 1976; this.match(TrinoSqlParser.KW_TEXT_STRING); } } @@ -7364,30 +7365,30 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 1983; + this.state = 1985; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 242, this.context) ) { case 1: { - this.state = 1979; + this.state = 1981; (localContext as QueryColumnContext)._emptyBehavior = this.jsonQueryBehavior(); - this.state = 1980; + this.state = 1982; this.match(TrinoSqlParser.KW_ON); - this.state = 1981; + this.state = 1983; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 1989; + this.state = 1991; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 85 || _la === 89 || _la === 183) { { - this.state = 1985; + this.state = 1987; (localContext as QueryColumnContext)._errorBehavior = this.jsonQueryBehavior(); - this.state = 1986; + this.state = 1988; this.match(TrinoSqlParser.KW_ON); - this.state = 1987; + this.state = 1989; this.match(TrinoSqlParser.KW_ERROR); } } @@ -7398,55 +7399,55 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NestedColumnsContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1991; - this.match(TrinoSqlParser.KW_NESTED); this.state = 1993; + this.match(TrinoSqlParser.KW_NESTED); + this.state = 1995; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 205) { { - this.state = 1992; + this.state = 1994; this.match(TrinoSqlParser.KW_PATH); } } - this.state = 1995; + this.state = 1997; this.string_(); - this.state = 1998; + this.state = 2000; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1996; + this.state = 1998; this.match(TrinoSqlParser.KW_AS); - this.state = 1997; + this.state = 1999; this.identifier(); } } - this.state = 2000; + this.state = 2002; this.match(TrinoSqlParser.KW_COLUMNS); - this.state = 2001; + this.state = 2003; this.match(TrinoSqlParser.T__0); - this.state = 2002; + this.state = 2004; this.jsonTableColumn(); - this.state = 2007; + this.state = 2009; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2003; + this.state = 2005; this.match(TrinoSqlParser.T__2); - this.state = 2004; + this.state = 2006; this.jsonTableColumn(); } } - this.state = 2009; + this.state = 2011; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2010; + this.state = 2012; this.match(TrinoSqlParser.T__1); } break; @@ -7471,14 +7472,14 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 114, TrinoSqlParser.RULE_jsonTableSpecificPlan); let _la: number; try { - this.state = 2039; + this.state = 2041; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 250, this.context) ) { case 1: localContext = new LeafPlanContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2014; + this.state = 2016; this.jsonTablePathName(); } break; @@ -7486,9 +7487,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JoinPlanContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2015; + this.state = 2017; this.jsonTablePathName(); - this.state = 2016; + this.state = 2018; _la = this.tokenStream.LA(1); if(!(_la === 125 || _la === 197)) { this.errorHandler.recoverInline(this); @@ -7497,7 +7498,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2017; + this.state = 2019; this.planPrimary(); } break; @@ -7505,25 +7506,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnionPlanContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 2019; + this.state = 2021; this.planPrimary(); - this.state = 2020; + this.state = 2022; this.match(TrinoSqlParser.KW_UNION); - this.state = 2021; + this.state = 2023; this.planPrimary(); - this.state = 2026; + this.state = 2028; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 281) { { { - this.state = 2022; + this.state = 2024; this.match(TrinoSqlParser.KW_UNION); - this.state = 2023; + this.state = 2025; this.planPrimary(); } } - this.state = 2028; + this.state = 2030; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -7533,25 +7534,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CrossPlanContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 2029; + this.state = 2031; this.planPrimary(); - this.state = 2030; + this.state = 2032; this.match(TrinoSqlParser.KW_CROSS); - this.state = 2031; + this.state = 2033; this.planPrimary(); - this.state = 2036; + this.state = 2038; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 54) { { { - this.state = 2032; + this.state = 2034; this.match(TrinoSqlParser.KW_CROSS); - this.state = 2033; + this.state = 2035; this.planPrimary(); } } - this.state = 2038; + this.state = 2040; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -7579,7 +7580,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2041; + this.state = 2043; this.identifier(); } } @@ -7601,7 +7602,7 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new PlanPrimaryContext(this.context, this.state); this.enterRule(localContext, 118, TrinoSqlParser.RULE_planPrimary); try { - this.state = 2048; + this.state = 2050; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -7823,18 +7824,18 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.BACKQUOTED_IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 2043; + this.state = 2045; this.jsonTablePathName(); } break; case TrinoSqlParser.T__0: this.enterOuterAlt(localContext, 2); { - this.state = 2044; + this.state = 2046; this.match(TrinoSqlParser.T__0); - this.state = 2045; + this.state = 2047; this.jsonTableSpecificPlan(); - this.state = 2046; + this.state = 2048; this.match(TrinoSqlParser.T__1); } break; @@ -7861,14 +7862,14 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 120, TrinoSqlParser.RULE_jsonTableDefaultPlan); let _la: number; try { - this.state = 2060; + this.state = 2062; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_INNER: case TrinoSqlParser.KW_OUTER: this.enterOuterAlt(localContext, 1); { - this.state = 2050; + this.state = 2052; _la = this.tokenStream.LA(1); if(!(_la === 125 || _la === 197)) { this.errorHandler.recoverInline(this); @@ -7877,14 +7878,14 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2053; + this.state = 2055; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2051; + this.state = 2053; this.match(TrinoSqlParser.T__2); - this.state = 2052; + this.state = 2054; _la = this.tokenStream.LA(1); if(!(_la === 54 || _la === 281)) { this.errorHandler.recoverInline(this); @@ -7902,7 +7903,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_UNION: this.enterOuterAlt(localContext, 2); { - this.state = 2055; + this.state = 2057; _la = this.tokenStream.LA(1); if(!(_la === 54 || _la === 281)) { this.errorHandler.recoverInline(this); @@ -7911,14 +7912,14 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2058; + this.state = 2060; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2056; + this.state = 2058; this.match(TrinoSqlParser.T__2); - this.state = 2057; + this.state = 2059; _la = this.tokenStream.LA(1); if(!(_la === 125 || _la === 197)) { this.errorHandler.recoverInline(this); @@ -7957,65 +7958,65 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2062; + this.state = 2064; this.functionName(); - this.state = 2063; + this.state = 2065; this.match(TrinoSqlParser.T__0); - this.state = 2072; + this.state = 2074; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 256, this.context) ) { case 1: { - this.state = 2064; + this.state = 2066; this.tableFunctionArgument(); - this.state = 2069; + this.state = 2071; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2065; + this.state = 2067; this.match(TrinoSqlParser.T__2); - this.state = 2066; + this.state = 2068; this.tableFunctionArgument(); } } - this.state = 2071; + this.state = 2073; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 2083; + this.state = 2085; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 52) { { - this.state = 2074; + this.state = 2076; this.match(TrinoSqlParser.KW_COPARTITION); - this.state = 2075; + this.state = 2077; this.copartitionTables(); - this.state = 2080; + this.state = 2082; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2076; + this.state = 2078; this.match(TrinoSqlParser.T__2); - this.state = 2077; + this.state = 2079; this.copartitionTables(); } } - this.state = 2082; + this.state = 2084; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2085; + this.state = 2087; this.match(TrinoSqlParser.T__1); } } @@ -8039,36 +8040,36 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2090; + this.state = 2092; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 259, this.context) ) { case 1: { - this.state = 2087; + this.state = 2089; this.identifier(); - this.state = 2088; + this.state = 2090; this.match(TrinoSqlParser.T__5); } break; } - this.state = 2095; + this.state = 2097; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 260, this.context) ) { case 1: { - this.state = 2092; + this.state = 2094; this.tableArgument(); } break; case 2: { - this.state = 2093; + this.state = 2095; this.descriptorArgument(); } break; case 3: { - this.state = 2094; + this.state = 2096; this.expression(); } break; @@ -8096,57 +8097,57 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2097; + this.state = 2099; this.tableArgumentRelation(); - this.state = 2115; + this.state = 2117; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 201) { { - this.state = 2098; + this.state = 2100; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 2099; + this.state = 2101; this.match(TrinoSqlParser.KW_BY); - this.state = 2113; + this.state = 2115; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 263, this.context) ) { case 1: { - this.state = 2100; + this.state = 2102; this.match(TrinoSqlParser.T__0); - this.state = 2109; + this.state = 2111; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538382319) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3758094335) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { { - this.state = 2101; + this.state = 2103; this.expression(); - this.state = 2106; + this.state = 2108; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2102; + this.state = 2104; this.match(TrinoSqlParser.T__2); - this.state = 2103; + this.state = 2105; this.expression(); } } - this.state = 2108; + this.state = 2110; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2111; + this.state = 2113; this.match(TrinoSqlParser.T__1); } break; case 2: { - this.state = 2112; + this.state = 2114; this.expression(); } break; @@ -8154,26 +8155,26 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2123; + this.state = 2125; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_PRUNE: { - this.state = 2117; + this.state = 2119; this.match(TrinoSqlParser.KW_PRUNE); - this.state = 2118; + this.state = 2120; this.match(TrinoSqlParser.KW_WHEN); - this.state = 2119; + this.state = 2121; this.match(TrinoSqlParser.KW_EMPTY); } break; case TrinoSqlParser.KW_KEEP: { - this.state = 2120; + this.state = 2122; this.match(TrinoSqlParser.KW_KEEP); - this.state = 2121; + this.state = 2123; this.match(TrinoSqlParser.KW_WHEN); - this.state = 2122; + this.state = 2124; this.match(TrinoSqlParser.KW_EMPTY); } break; @@ -8185,47 +8186,47 @@ export class TrinoSqlParser extends SQLParserBase { default: break; } - this.state = 2141; + this.state = 2143; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 2125; + this.state = 2127; this.match(TrinoSqlParser.KW_ORDER); - this.state = 2126; + this.state = 2128; this.match(TrinoSqlParser.KW_BY); - this.state = 2139; + this.state = 2141; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 267, this.context) ) { case 1: { - this.state = 2127; + this.state = 2129; this.match(TrinoSqlParser.T__0); - this.state = 2128; + this.state = 2130; this.sortItem(); - this.state = 2133; + this.state = 2135; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2129; + this.state = 2131; this.match(TrinoSqlParser.T__2); - this.state = 2130; + this.state = 2132; this.sortItem(); } } - this.state = 2135; + this.state = 2137; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2136; + this.state = 2138; this.match(TrinoSqlParser.T__1); } break; case 2: { - this.state = 2138; + this.state = 2140; this.sortItem(); } break; @@ -8254,44 +8255,44 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 128, TrinoSqlParser.RULE_tableArgumentRelation); let _la: number; try { - this.state = 2169; + this.state = 2171; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 275, this.context) ) { case 1: localContext = new TableArgumentTableContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2143; + this.state = 2145; this.match(TrinoSqlParser.KW_TABLE); - this.state = 2144; + this.state = 2146; this.match(TrinoSqlParser.T__0); - this.state = 2145; + this.state = 2147; this.tableRef(); - this.state = 2146; + this.state = 2148; this.match(TrinoSqlParser.T__1); - this.state = 2154; + this.state = 2156; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 271, this.context) ) { case 1: { - this.state = 2148; + this.state = 2150; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2147; + this.state = 2149; this.match(TrinoSqlParser.KW_AS); } } - - this.state = 2150; - this.identifier(); + this.state = 2152; + this.identifier(); + this.state = 2154; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 2151; + this.state = 2153; this.columnAliases(); } } @@ -8305,37 +8306,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableArgumentQueryContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2156; + this.state = 2158; this.match(TrinoSqlParser.KW_TABLE); - this.state = 2157; + this.state = 2159; this.match(TrinoSqlParser.T__0); - this.state = 2158; + this.state = 2160; this.query(); - this.state = 2159; + this.state = 2161; this.match(TrinoSqlParser.T__1); - this.state = 2167; + this.state = 2169; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 274, this.context) ) { case 1: { - this.state = 2161; + this.state = 2163; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2160; + this.state = 2162; this.match(TrinoSqlParser.KW_AS); } } - this.state = 2163; - this.identifier(); this.state = 2165; + this.identifier(); + this.state = 2167; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 2164; + this.state = 2166; this.columnAliases(); } } @@ -8366,52 +8367,52 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 130, TrinoSqlParser.RULE_descriptorArgument); let _la: number; try { - this.state = 2189; + this.state = 2191; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_DESCRIPTOR: this.enterOuterAlt(localContext, 1); { - this.state = 2171; + this.state = 2173; this.match(TrinoSqlParser.KW_DESCRIPTOR); - this.state = 2172; + this.state = 2174; this.match(TrinoSqlParser.T__0); - this.state = 2173; + this.state = 2175; this.descriptorField(); - this.state = 2178; + this.state = 2180; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2174; + this.state = 2176; this.match(TrinoSqlParser.T__2); - this.state = 2175; + this.state = 2177; this.descriptorField(); } } - this.state = 2180; + this.state = 2182; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2181; + this.state = 2183; this.match(TrinoSqlParser.T__1); } break; case TrinoSqlParser.KW_CAST: this.enterOuterAlt(localContext, 2); { - this.state = 2183; + this.state = 2185; this.match(TrinoSqlParser.KW_CAST); - this.state = 2184; + this.state = 2186; this.match(TrinoSqlParser.T__0); - this.state = 2185; + this.state = 2187; this.match(TrinoSqlParser.KW_NULL); - this.state = 2186; + this.state = 2188; this.match(TrinoSqlParser.KW_AS); - this.state = 2187; + this.state = 2189; this.match(TrinoSqlParser.KW_DESCRIPTOR); - this.state = 2188; + this.state = 2190; this.match(TrinoSqlParser.T__1); } break; @@ -8440,14 +8441,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2191; - this.identifier(); this.state = 2193; + this.identifier(); + this.state = 2195; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - this.state = 2192; + this.state = 2194; this.type_(0); } } @@ -8475,31 +8476,31 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2195; + this.state = 2197; this.match(TrinoSqlParser.T__0); - this.state = 2196; + this.state = 2198; this.qualifiedName(); - this.state = 2197; + this.state = 2199; this.match(TrinoSqlParser.T__2); - this.state = 2198; + this.state = 2200; this.qualifiedName(); - this.state = 2203; + this.state = 2205; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2199; + this.state = 2201; this.match(TrinoSqlParser.T__2); - this.state = 2200; + this.state = 2202; this.qualifiedName(); } } - this.state = 2205; + this.state = 2207; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2206; + this.state = 2208; this.match(TrinoSqlParser.T__1); } } @@ -8523,7 +8524,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2208; + this.state = 2210; this.booleanExpression(0); } } @@ -8559,7 +8560,7 @@ export class TrinoSqlParser extends SQLParserBase { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2217; + this.state = 2219; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.T__0: @@ -8819,14 +8820,14 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 2211; - (localContext as PredicatedContext)._valueExpression = this.valueExpression(0); this.state = 2213; + (localContext as PredicatedContext)._valueExpression = this.valueExpression(0); + this.state = 2215; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 280, this.context) ) { case 1: { - this.state = 2212; + this.state = 2214; this.predicate((localContext as PredicatedContext)._valueExpression); } break; @@ -8838,9 +8839,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LogicalNotContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2215; + this.state = 2217; this.match(TrinoSqlParser.KW_NOT); - this.state = 2216; + this.state = 2218; this.booleanExpression(3); } break; @@ -8848,7 +8849,7 @@ export class TrinoSqlParser extends SQLParserBase { throw new antlr.NoViableAltException(this); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2227; + this.state = 2229; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 283, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { @@ -8858,20 +8859,20 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2225; + this.state = 2227; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 282, this.context) ) { case 1: { localContext = new AndContext(new BooleanExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_booleanExpression); - this.state = 2219; + this.state = 2221; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 2220; + this.state = 2222; this.match(TrinoSqlParser.KW_AND); - this.state = 2221; + this.state = 2223; this.booleanExpression(3); } break; @@ -8879,20 +8880,20 @@ export class TrinoSqlParser extends SQLParserBase { { localContext = new OrContext(new BooleanExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_booleanExpression); - this.state = 2222; + this.state = 2224; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 2223; + this.state = 2225; this.match(TrinoSqlParser.KW_OR); - this.state = 2224; + this.state = 2226; this.booleanExpression(2); } break; } } } - this.state = 2229; + this.state = 2231; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 283, this.context); } @@ -8917,16 +8918,16 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 140, TrinoSqlParser.RULE_predicate); let _la: number; try { - this.state = 2291; + this.state = 2293; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 292, this.context) ) { case 1: localContext = new ComparisonContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2230; + this.state = 2232; this.comparisonOperator(); - this.state = 2231; + this.state = 2233; (localContext as ComparisonContext)._right = this.valueExpression(0); } break; @@ -8934,15 +8935,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new QuantifiedComparisonContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2233; + this.state = 2235; this.comparisonOperator(); - this.state = 2234; + this.state = 2236; this.comparisonQuantifier(); - this.state = 2235; + this.state = 2237; this.match(TrinoSqlParser.T__0); - this.state = 2236; + this.state = 2238; this.query(); - this.state = 2237; + this.state = 2239; this.match(TrinoSqlParser.T__1); } break; @@ -8950,23 +8951,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BetweenContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 2240; + this.state = 2242; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 182) { { - this.state = 2239; + this.state = 2241; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2242; + this.state = 2244; this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 2243; + this.state = 2245; (localContext as BetweenContext)._lower = this.valueExpression(0); - this.state = 2244; + this.state = 2246; this.match(TrinoSqlParser.KW_AND); - this.state = 2245; + this.state = 2247; (localContext as BetweenContext)._upper = this.valueExpression(0); } break; @@ -8974,39 +8975,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InListContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 2248; + this.state = 2250; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 182) { { - this.state = 2247; + this.state = 2249; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2250; + this.state = 2252; this.match(TrinoSqlParser.KW_IN); - this.state = 2251; + this.state = 2253; this.match(TrinoSqlParser.T__0); - this.state = 2252; + this.state = 2254; this.expression(); - this.state = 2257; + this.state = 2259; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2253; + this.state = 2255; this.match(TrinoSqlParser.T__2); - this.state = 2254; + this.state = 2256; this.expression(); } } - this.state = 2259; + this.state = 2261; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2260; + this.state = 2262; this.match(TrinoSqlParser.T__1); } break; @@ -9014,23 +9015,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InSubqueryContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 2263; + this.state = 2265; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 182) { { - this.state = 2262; + this.state = 2264; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2265; + this.state = 2267; this.match(TrinoSqlParser.KW_IN); - this.state = 2266; + this.state = 2268; this.match(TrinoSqlParser.T__0); - this.state = 2267; + this.state = 2269; this.query(); - this.state = 2268; + this.state = 2270; this.match(TrinoSqlParser.T__1); } break; @@ -9038,28 +9039,28 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LikeContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 2271; + this.state = 2273; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 182) { { - this.state = 2270; + this.state = 2272; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2273; + this.state = 2275; this.match(TrinoSqlParser.KW_LIKE); - this.state = 2274; + this.state = 2276; (localContext as LikeContext)._pattern = this.valueExpression(0); - this.state = 2277; + this.state = 2279; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 289, this.context) ) { case 1: { - this.state = 2275; + this.state = 2277; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 2276; + this.state = 2278; (localContext as LikeContext)._escape = this.valueExpression(0); } break; @@ -9070,19 +9071,19 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NullPredicateContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 2279; - this.match(TrinoSqlParser.KW_IS); this.state = 2281; + this.match(TrinoSqlParser.KW_IS); + this.state = 2283; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 182) { { - this.state = 2280; + this.state = 2282; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2283; + this.state = 2285; this.match(TrinoSqlParser.KW_NULL); } break; @@ -9090,23 +9091,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DistinctFromContext(localContext); this.enterOuterAlt(localContext, 8); { - this.state = 2284; - this.match(TrinoSqlParser.KW_IS); this.state = 2286; + this.match(TrinoSqlParser.KW_IS); + this.state = 2288; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 182) { { - this.state = 2285; + this.state = 2287; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2288; + this.state = 2290; this.match(TrinoSqlParser.KW_DISTINCT); - this.state = 2289; + this.state = 2291; this.match(TrinoSqlParser.KW_FROM); - this.state = 2290; + this.state = 2292; (localContext as DistinctFromContext)._right = this.valueExpression(0); } break; @@ -9145,7 +9146,7 @@ export class TrinoSqlParser extends SQLParserBase { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2297; + this.state = 2299; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 293, this.context) ) { case 1: @@ -9154,7 +9155,7 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 2294; + this.state = 2296; this.primaryExpression(0); } break; @@ -9163,7 +9164,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ArithmeticUnaryContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2295; + this.state = 2297; (localContext as ArithmeticUnaryContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 318 || _la === 319)) { @@ -9173,13 +9174,13 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2296; + this.state = 2298; this.valueExpression(4); } break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2313; + this.state = 2315; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 295, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { @@ -9189,7 +9190,7 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2311; + this.state = 2313; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 294, this.context) ) { case 1: @@ -9197,11 +9198,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ArithmeticBinaryContext(new ValueExpressionContext(parentContext, parentState)); (localContext as ArithmeticBinaryContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 2299; + this.state = 2301; if (!(this.precpred(this.context, 3))) { throw this.createFailedPredicateException("this.precpred(this.context, 3)"); } - this.state = 2300; + this.state = 2302; (localContext as ArithmeticBinaryContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(((((_la - 320)) & ~0x1F) === 0 && ((1 << (_la - 320)) & 7) !== 0))) { @@ -9211,7 +9212,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2301; + this.state = 2303; (localContext as ArithmeticBinaryContext)._right = this.valueExpression(4); } break; @@ -9220,11 +9221,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ArithmeticBinaryContext(new ValueExpressionContext(parentContext, parentState)); (localContext as ArithmeticBinaryContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 2302; + this.state = 2304; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 2303; + this.state = 2305; (localContext as ArithmeticBinaryContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 318 || _la === 319)) { @@ -9234,7 +9235,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2304; + this.state = 2306; (localContext as ArithmeticBinaryContext)._right = this.valueExpression(3); } break; @@ -9243,13 +9244,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ConcatenationContext(new ValueExpressionContext(parentContext, parentState)); (localContext as ConcatenationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 2305; + this.state = 2307; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 2306; + this.state = 2308; this.match(TrinoSqlParser.CONCAT); - this.state = 2307; + this.state = 2309; (localContext as ConcatenationContext)._right = this.valueExpression(2); } break; @@ -9257,20 +9258,20 @@ export class TrinoSqlParser extends SQLParserBase { { localContext = new AtTimeZoneContext(new ValueExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 2308; + this.state = 2310; if (!(this.precpred(this.context, 5))) { throw this.createFailedPredicateException("this.precpred(this.context, 5)"); } - this.state = 2309; + this.state = 2311; this.match(TrinoSqlParser.KW_AT); - this.state = 2310; + this.state = 2312; this.timeZoneSpecifier(); } break; } } } - this.state = 2315; + this.state = 2317; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 295, this.context); } @@ -9309,7 +9310,7 @@ export class TrinoSqlParser extends SQLParserBase { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2769; + this.state = 2771; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 359, this.context) ) { case 1: @@ -9318,7 +9319,7 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 2317; + this.state = 2319; this.match(TrinoSqlParser.KW_NULL); } break; @@ -9327,7 +9328,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new IntervalLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2318; + this.state = 2320; this.interval(); } break; @@ -9336,9 +9337,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TypeConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2319; + this.state = 2321; this.identifier(); - this.state = 2320; + this.state = 2322; this.string_(); } break; @@ -9347,11 +9348,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TypeConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2322; + this.state = 2324; this.match(TrinoSqlParser.KW_DOUBLE); - this.state = 2323; + this.state = 2325; this.match(TrinoSqlParser.KW_PRECISION); - this.state = 2324; + this.state = 2326; this.string_(); } break; @@ -9360,7 +9361,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NumericLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2325; + this.state = 2327; this.number_(); } break; @@ -9369,7 +9370,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BooleanLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2326; + this.state = 2328; this.booleanValue(); } break; @@ -9378,7 +9379,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new StringLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2327; + this.state = 2329; this.string_(); } break; @@ -9387,7 +9388,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BinaryLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2328; + this.state = 2330; this.match(TrinoSqlParser.BINARY_LITERAL); } break; @@ -9396,7 +9397,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ParameterContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2329; + this.state = 2331; this.match(TrinoSqlParser.QUESTION_MARK); } break; @@ -9405,17 +9406,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new PositionContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2330; - this.match(TrinoSqlParser.KW_POSITION); - this.state = 2331; - this.match(TrinoSqlParser.T__0); this.state = 2332; - this.valueExpression(0); + this.match(TrinoSqlParser.KW_POSITION); this.state = 2333; - this.match(TrinoSqlParser.KW_IN); + this.match(TrinoSqlParser.T__0); this.state = 2334; this.valueExpression(0); this.state = 2335; + this.match(TrinoSqlParser.KW_IN); + this.state = 2336; + this.valueExpression(0); + this.state = 2337; this.match(TrinoSqlParser.T__1); } break; @@ -9424,27 +9425,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RowConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2337; + this.state = 2339; this.match(TrinoSqlParser.T__0); - this.state = 2338; + this.state = 2340; this.expression(); - this.state = 2341; + this.state = 2343; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 2339; + this.state = 2341; this.match(TrinoSqlParser.T__2); - this.state = 2340; + this.state = 2342; this.expression(); } } - this.state = 2343; + this.state = 2345; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 3); - this.state = 2345; + this.state = 2347; this.match(TrinoSqlParser.T__1); } break; @@ -9453,29 +9454,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RowConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2347; + this.state = 2349; this.match(TrinoSqlParser.KW_ROW); - this.state = 2348; + this.state = 2350; this.match(TrinoSqlParser.T__0); - this.state = 2349; + this.state = 2351; this.expression(); - this.state = 2354; + this.state = 2356; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2350; + this.state = 2352; this.match(TrinoSqlParser.T__2); - this.state = 2351; + this.state = 2353; this.expression(); } } - this.state = 2356; + this.state = 2358; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2357; + this.state = 2359; this.match(TrinoSqlParser.T__1); } break; @@ -9484,88 +9485,88 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ListaggContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2359; + this.state = 2361; (localContext as ListaggContext)._name = this.match(TrinoSqlParser.KW_LISTAGG); - this.state = 2360; - this.match(TrinoSqlParser.T__0); this.state = 2362; + this.match(TrinoSqlParser.T__0); + this.state = 2364; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 298, this.context) ) { case 1: { - this.state = 2361; + this.state = 2363; this.setQuantifier(); } break; } - this.state = 2364; + this.state = 2366; this.expression(); - this.state = 2367; + this.state = 2369; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2365; + this.state = 2367; this.match(TrinoSqlParser.T__2); - this.state = 2366; + this.state = 2368; this.string_(); } } - this.state = 2372; + this.state = 2374; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 190) { { - this.state = 2369; + this.state = 2371; this.match(TrinoSqlParser.KW_ON); - this.state = 2370; + this.state = 2372; this.match(TrinoSqlParser.KW_OVERFLOW); - this.state = 2371; + this.state = 2373; this.listAggOverflowBehavior(); } } - this.state = 2374; + this.state = 2376; this.match(TrinoSqlParser.T__1); { - this.state = 2375; + this.state = 2377; this.match(TrinoSqlParser.KW_WITHIN); - this.state = 2376; + this.state = 2378; this.match(TrinoSqlParser.KW_GROUP); - this.state = 2377; + this.state = 2379; this.match(TrinoSqlParser.T__0); - this.state = 2378; + this.state = 2380; this.match(TrinoSqlParser.KW_ORDER); - this.state = 2379; + this.state = 2381; this.match(TrinoSqlParser.KW_BY); - this.state = 2380; + this.state = 2382; this.sortItem(); - this.state = 2385; + this.state = 2387; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2381; + this.state = 2383; this.match(TrinoSqlParser.T__2); - this.state = 2382; + this.state = 2384; this.sortItem(); } } - this.state = 2387; + this.state = 2389; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2388; + this.state = 2390; this.match(TrinoSqlParser.T__1); } - this.state = 2391; + this.state = 2393; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 302, this.context) ) { case 1: { - this.state = 2390; + this.state = 2392; this.filter(); } break; @@ -9577,52 +9578,52 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new FunctionCallContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2394; + this.state = 2396; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 303, this.context) ) { case 1: { - this.state = 2393; + this.state = 2395; this.processingMode(); } break; } - this.state = 2396; + this.state = 2398; this.functionName(); - this.state = 2397; + this.state = 2399; this.match(TrinoSqlParser.T__0); - this.state = 2401; + this.state = 2403; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - this.state = 2398; + this.state = 2400; (localContext as FunctionCallContext)._label = this.identifier(); - this.state = 2399; + this.state = 2401; this.match(TrinoSqlParser.T__3); } } - this.state = 2403; + this.state = 2405; this.match(TrinoSqlParser.ASTERISK); - this.state = 2404; - this.match(TrinoSqlParser.T__1); this.state = 2406; + this.match(TrinoSqlParser.T__1); + this.state = 2408; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 305, this.context) ) { case 1: { - this.state = 2405; + this.state = 2407; this.filter(); } break; } - this.state = 2409; + this.state = 2411; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 306, this.context) ) { case 1: { - this.state = 2408; + this.state = 2410; this.over(); } break; @@ -9634,114 +9635,114 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new FunctionCallContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2412; + this.state = 2414; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 307, this.context) ) { case 1: { - this.state = 2411; + this.state = 2413; this.processingMode(); } break; } - this.state = 2414; + this.state = 2416; this.functionName(); - this.state = 2415; + this.state = 2417; this.match(TrinoSqlParser.T__0); - this.state = 2427; + this.state = 2429; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538415087) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3758094335) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { { - this.state = 2417; + this.state = 2419; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 308, this.context) ) { case 1: { - this.state = 2416; + this.state = 2418; this.setQuantifier(); } break; } - this.state = 2419; + this.state = 2421; this.expression(); - this.state = 2424; + this.state = 2426; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2420; + this.state = 2422; this.match(TrinoSqlParser.T__2); - this.state = 2421; + this.state = 2423; this.expression(); } } - this.state = 2426; + this.state = 2428; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2439; + this.state = 2441; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 2429; + this.state = 2431; this.match(TrinoSqlParser.KW_ORDER); - this.state = 2430; + this.state = 2432; this.match(TrinoSqlParser.KW_BY); - this.state = 2431; + this.state = 2433; this.sortItem(); - this.state = 2436; + this.state = 2438; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2432; + this.state = 2434; this.match(TrinoSqlParser.T__2); - this.state = 2433; + this.state = 2435; this.sortItem(); } } - this.state = 2438; + this.state = 2440; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2441; - this.match(TrinoSqlParser.T__1); this.state = 2443; + this.match(TrinoSqlParser.T__1); + this.state = 2445; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 313, this.context) ) { case 1: { - this.state = 2442; + this.state = 2444; this.filter(); } break; } - this.state = 2449; + this.state = 2451; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 315, this.context) ) { case 1: { - this.state = 2446; + this.state = 2448; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 120 || _la === 228) { { - this.state = 2445; + this.state = 2447; this.nullTreatment(); } } - this.state = 2448; + this.state = 2450; this.over(); } break; @@ -9753,9 +9754,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MeasureContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2451; + this.state = 2453; this.identifier(); - this.state = 2452; + this.state = 2454; this.over(); } break; @@ -9764,11 +9765,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LambdaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2454; + this.state = 2456; this.identifier(); - this.state = 2455; + this.state = 2457; this.match(TrinoSqlParser.T__6); - this.state = 2456; + this.state = 2458; this.expression(); } break; @@ -9777,39 +9778,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LambdaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2458; + this.state = 2460; this.match(TrinoSqlParser.T__0); - this.state = 2467; + this.state = 2469; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - this.state = 2459; + this.state = 2461; this.identifier(); - this.state = 2464; + this.state = 2466; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2460; + this.state = 2462; this.match(TrinoSqlParser.T__2); - this.state = 2461; + this.state = 2463; this.identifier(); } } - this.state = 2466; + this.state = 2468; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2469; + this.state = 2471; this.match(TrinoSqlParser.T__1); - this.state = 2470; + this.state = 2472; this.match(TrinoSqlParser.T__6); - this.state = 2471; + this.state = 2473; this.expression(); } break; @@ -9818,11 +9819,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubqueryExpressionContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2472; + this.state = 2474; this.match(TrinoSqlParser.T__0); - this.state = 2473; + this.state = 2475; this.query(); - this.state = 2474; + this.state = 2476; this.match(TrinoSqlParser.T__1); } break; @@ -9831,13 +9832,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExistsContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2476; + this.state = 2478; this.match(TrinoSqlParser.KW_EXISTS); - this.state = 2477; + this.state = 2479; this.match(TrinoSqlParser.T__0); - this.state = 2478; + this.state = 2480; this.query(); - this.state = 2479; + this.state = 2481; this.match(TrinoSqlParser.T__1); } break; @@ -9846,37 +9847,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SimpleCaseContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2481; + this.state = 2483; this.match(TrinoSqlParser.KW_CASE); - this.state = 2482; - (localContext as SimpleCaseContext)._operand = this.expression(); this.state = 2484; + (localContext as SimpleCaseContext)._operand = this.expression(); + this.state = 2486; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 2483; + this.state = 2485; this.whenClause(); } } - this.state = 2486; + this.state = 2488; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 300); - this.state = 2490; + this.state = 2492; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 84) { { - this.state = 2488; + this.state = 2490; this.match(TrinoSqlParser.KW_ELSE); - this.state = 2489; + this.state = 2491; (localContext as SimpleCaseContext)._elseExpression = this.expression(); } } - this.state = 2492; + this.state = 2494; this.match(TrinoSqlParser.KW_END); } break; @@ -9885,35 +9886,35 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SearchedCaseContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2494; - this.match(TrinoSqlParser.KW_CASE); this.state = 2496; + this.match(TrinoSqlParser.KW_CASE); + this.state = 2498; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 2495; + this.state = 2497; this.whenClause(); } } - this.state = 2498; + this.state = 2500; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 300); - this.state = 2502; + this.state = 2504; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 84) { { - this.state = 2500; + this.state = 2502; this.match(TrinoSqlParser.KW_ELSE); - this.state = 2501; + this.state = 2503; (localContext as SearchedCaseContext)._elseExpression = this.expression(); } } - this.state = 2504; + this.state = 2506; this.match(TrinoSqlParser.KW_END); } break; @@ -9922,17 +9923,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CastContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2506; + this.state = 2508; this.match(TrinoSqlParser.KW_CAST); - this.state = 2507; + this.state = 2509; this.match(TrinoSqlParser.T__0); - this.state = 2508; + this.state = 2510; this.expression(); - this.state = 2509; + this.state = 2511; this.match(TrinoSqlParser.KW_AS); - this.state = 2510; + this.state = 2512; this.type_(0); - this.state = 2511; + this.state = 2513; this.match(TrinoSqlParser.T__1); } break; @@ -9941,17 +9942,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CastContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2513; + this.state = 2515; this.match(TrinoSqlParser.KW_TRY_CAST); - this.state = 2514; + this.state = 2516; this.match(TrinoSqlParser.T__0); - this.state = 2515; + this.state = 2517; this.expression(); - this.state = 2516; + this.state = 2518; this.match(TrinoSqlParser.KW_AS); - this.state = 2517; + this.state = 2519; this.type_(0); - this.state = 2518; + this.state = 2520; this.match(TrinoSqlParser.T__1); } break; @@ -9960,37 +9961,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ArrayConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2520; + this.state = 2522; this.match(TrinoSqlParser.KW_ARRAY); - this.state = 2521; + this.state = 2523; this.match(TrinoSqlParser.T__7); - this.state = 2530; + this.state = 2532; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538382319) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3758094335) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { { - this.state = 2522; + this.state = 2524; this.expression(); - this.state = 2527; + this.state = 2529; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2523; + this.state = 2525; this.match(TrinoSqlParser.T__2); - this.state = 2524; + this.state = 2526; this.expression(); } } - this.state = 2529; + this.state = 2531; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2532; + this.state = 2534; this.match(TrinoSqlParser.T__8); } break; @@ -9999,7 +10000,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ColumnReferenceContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2533; + this.state = 2535; this.identifier(); } break; @@ -10008,7 +10009,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentDateContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2534; + this.state = 2536; (localContext as CurrentDateContext)._name = this.match(TrinoSqlParser.KW_CURRENT_DATE); } break; @@ -10017,18 +10018,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentTimeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2535; + this.state = 2537; (localContext as CurrentTimeContext)._name = this.match(TrinoSqlParser.KW_CURRENT_TIME); - this.state = 2539; + this.state = 2541; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 324, this.context) ) { case 1: { - this.state = 2536; + this.state = 2538; this.match(TrinoSqlParser.T__0); - this.state = 2537; + this.state = 2539; (localContext as CurrentTimeContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2538; + this.state = 2540; this.match(TrinoSqlParser.T__1); } break; @@ -10040,18 +10041,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentTimestampContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2541; + this.state = 2543; (localContext as CurrentTimestampContext)._name = this.match(TrinoSqlParser.KW_CURRENT_TIMESTAMP); - this.state = 2545; + this.state = 2547; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 325, this.context) ) { case 1: { - this.state = 2542; + this.state = 2544; this.match(TrinoSqlParser.T__0); - this.state = 2543; + this.state = 2545; (localContext as CurrentTimestampContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2544; + this.state = 2546; this.match(TrinoSqlParser.T__1); } break; @@ -10063,18 +10064,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LocalTimeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2547; + this.state = 2549; (localContext as LocalTimeContext)._name = this.match(TrinoSqlParser.KW_LOCALTIME); - this.state = 2551; + this.state = 2553; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 326, this.context) ) { case 1: { - this.state = 2548; + this.state = 2550; this.match(TrinoSqlParser.T__0); - this.state = 2549; + this.state = 2551; (localContext as LocalTimeContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2550; + this.state = 2552; this.match(TrinoSqlParser.T__1); } break; @@ -10086,18 +10087,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LocalTimestampContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2553; + this.state = 2555; (localContext as LocalTimestampContext)._name = this.match(TrinoSqlParser.KW_LOCALTIMESTAMP); - this.state = 2557; + this.state = 2559; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 327, this.context) ) { case 1: { - this.state = 2554; + this.state = 2556; this.match(TrinoSqlParser.T__0); - this.state = 2555; + this.state = 2557; (localContext as LocalTimestampContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2556; + this.state = 2558; this.match(TrinoSqlParser.T__1); } break; @@ -10109,7 +10110,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentUserContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2559; + this.state = 2561; (localContext as CurrentUserContext)._name = this.match(TrinoSqlParser.KW_CURRENT_USER); } break; @@ -10118,7 +10119,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentCatalogContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2560; + this.state = 2562; (localContext as CurrentCatalogContext)._name = this.match(TrinoSqlParser.KW_CURRENT_CATALOG); } break; @@ -10127,7 +10128,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentSchemaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2561; + this.state = 2563; (localContext as CurrentSchemaContext)._name = this.match(TrinoSqlParser.KW_CURRENT_SCHEMA); } break; @@ -10136,7 +10137,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentPathContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2562; + this.state = 2564; (localContext as CurrentPathContext)._name = this.match(TrinoSqlParser.KW_CURRENT_PATH); } break; @@ -10145,43 +10146,43 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TrimContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2563; + this.state = 2565; this.match(TrinoSqlParser.KW_TRIM); - this.state = 2564; + this.state = 2566; this.match(TrinoSqlParser.T__0); - this.state = 2572; + this.state = 2574; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 330, this.context) ) { case 1: { - this.state = 2566; + this.state = 2568; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 328, this.context) ) { case 1: { - this.state = 2565; + this.state = 2567; this.trimsSpecification(); } break; } - this.state = 2569; + this.state = 2571; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4011589611) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 3538382319) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 1541142911) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4253015917) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 3755997183) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4024434665) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 4286569983) !== 0) || ((((_la - 257)) & ~0x1F) === 0 && ((1 << (_la - 257)) & 4008705783) !== 0) || ((((_la - 289)) & ~0x1F) === 0 && ((1 << (_la - 289)) & 1618962301) !== 0) || ((((_la - 324)) & ~0x1F) === 0 && ((1 << (_la - 324)) & 4093) !== 0)) { { - this.state = 2568; + this.state = 2570; (localContext as TrimContext)._trimChar = this.valueExpression(0); } } - this.state = 2571; + this.state = 2573; this.match(TrinoSqlParser.KW_FROM); } break; } - this.state = 2574; + this.state = 2576; (localContext as TrimContext)._trimSource = this.valueExpression(0); - this.state = 2575; + this.state = 2577; this.match(TrinoSqlParser.T__1); } break; @@ -10190,17 +10191,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TrimContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2577; + this.state = 2579; this.match(TrinoSqlParser.KW_TRIM); - this.state = 2578; + this.state = 2580; this.match(TrinoSqlParser.T__0); - this.state = 2579; + this.state = 2581; (localContext as TrimContext)._trimSource = this.valueExpression(0); - this.state = 2580; + this.state = 2582; this.match(TrinoSqlParser.T__2); - this.state = 2581; + this.state = 2583; (localContext as TrimContext)._trimChar = this.valueExpression(0); - this.state = 2582; + this.state = 2584; this.match(TrinoSqlParser.T__1); } break; @@ -10209,29 +10210,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubstringContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2584; + this.state = 2586; this.match(TrinoSqlParser.KW_SUBSTRING); - this.state = 2585; + this.state = 2587; this.match(TrinoSqlParser.T__0); - this.state = 2586; + this.state = 2588; this.valueExpression(0); - this.state = 2587; + this.state = 2589; this.match(TrinoSqlParser.KW_FROM); - this.state = 2588; + this.state = 2590; this.valueExpression(0); - this.state = 2591; + this.state = 2593; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 103) { { - this.state = 2589; + this.state = 2591; this.match(TrinoSqlParser.KW_FOR); - this.state = 2590; + this.state = 2592; this.valueExpression(0); } } - this.state = 2593; + this.state = 2595; this.match(TrinoSqlParser.T__1); } break; @@ -10240,25 +10241,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NormalizeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2595; + this.state = 2597; this.match(TrinoSqlParser.KW_NORMALIZE); - this.state = 2596; + this.state = 2598; this.match(TrinoSqlParser.T__0); - this.state = 2597; + this.state = 2599; this.valueExpression(0); - this.state = 2600; + this.state = 2602; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2598; + this.state = 2600; this.match(TrinoSqlParser.T__2); - this.state = 2599; + this.state = 2601; this.normalForm(); } } - this.state = 2602; + this.state = 2604; this.match(TrinoSqlParser.T__1); } break; @@ -10267,17 +10268,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExtractContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2604; + this.state = 2606; this.match(TrinoSqlParser.KW_EXTRACT); - this.state = 2605; + this.state = 2607; this.match(TrinoSqlParser.T__0); - this.state = 2606; + this.state = 2608; this.identifier(); - this.state = 2607; + this.state = 2609; this.match(TrinoSqlParser.KW_FROM); - this.state = 2608; + this.state = 2610; this.valueExpression(0); - this.state = 2609; + this.state = 2611; this.match(TrinoSqlParser.T__1); } break; @@ -10286,11 +10287,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ParenthesizedExpressionContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2611; + this.state = 2613; this.match(TrinoSqlParser.T__0); - this.state = 2612; + this.state = 2614; this.expression(); - this.state = 2613; + this.state = 2615; this.match(TrinoSqlParser.T__1); } break; @@ -10299,37 +10300,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GroupingOperationContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2615; + this.state = 2617; this.match(TrinoSqlParser.KW_GROUPING); - this.state = 2616; + this.state = 2618; this.match(TrinoSqlParser.T__0); - this.state = 2625; + this.state = 2627; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - this.state = 2617; + this.state = 2619; this.qualifiedName(); - this.state = 2622; + this.state = 2624; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2618; + this.state = 2620; this.match(TrinoSqlParser.T__2); - this.state = 2619; + this.state = 2621; this.qualifiedName(); } } - this.state = 2624; + this.state = 2626; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2627; + this.state = 2629; this.match(TrinoSqlParser.T__1); } break; @@ -10338,27 +10339,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonExistsContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2628; + this.state = 2630; this.match(TrinoSqlParser.KW_JSON_EXISTS); - this.state = 2629; + this.state = 2631; this.match(TrinoSqlParser.T__0); - this.state = 2630; + this.state = 2632; this.jsonPathInvocation(); - this.state = 2635; + this.state = 2637; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 89 || _la === 97 || _la === 273 || _la === 283) { { - this.state = 2631; + this.state = 2633; this.jsonExistsErrorBehavior(); - this.state = 2632; + this.state = 2634; this.match(TrinoSqlParser.KW_ON); - this.state = 2633; + this.state = 2635; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 2637; + this.state = 2639; this.match(TrinoSqlParser.T__1); } break; @@ -10367,53 +10368,53 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonValueContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2639; + this.state = 2641; this.match(TrinoSqlParser.KW_JSON_VALUE); - this.state = 2640; + this.state = 2642; this.match(TrinoSqlParser.T__0); - this.state = 2641; + this.state = 2643; this.jsonPathInvocation(); - this.state = 2644; + this.state = 2646; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 231) { { - this.state = 2642; + this.state = 2644; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2643; + this.state = 2645; this.type_(0); } } - this.state = 2650; + this.state = 2652; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 337, this.context) ) { case 1: { - this.state = 2646; + this.state = 2648; (localContext as JsonValueContext)._emptyBehavior = this.jsonValueBehavior(); - this.state = 2647; + this.state = 2649; this.match(TrinoSqlParser.KW_ON); - this.state = 2648; + this.state = 2650; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 2656; + this.state = 2658; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 70 || _la === 89 || _la === 183) { { - this.state = 2652; + this.state = 2654; (localContext as JsonValueContext)._errorBehavior = this.jsonValueBehavior(); - this.state = 2653; + this.state = 2655; this.match(TrinoSqlParser.KW_ON); - this.state = 2654; + this.state = 2656; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 2658; + this.state = 2660; this.match(TrinoSqlParser.T__1); } break; @@ -10422,29 +10423,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonQueryContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2660; + this.state = 2662; this.match(TrinoSqlParser.KW_JSON_QUERY); - this.state = 2661; + this.state = 2663; this.match(TrinoSqlParser.T__0); - this.state = 2662; + this.state = 2664; this.jsonPathInvocation(); - this.state = 2669; + this.state = 2671; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 231) { { - this.state = 2663; + this.state = 2665; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2664; + this.state = 2666; this.type_(0); - this.state = 2667; + this.state = 2669; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 104) { { - this.state = 2665; + this.state = 2667; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2666; + this.state = 2668; this.jsonRepresentation(); } } @@ -10452,24 +10453,24 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2674; + this.state = 2676; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 304 || _la === 306) { { - this.state = 2671; + this.state = 2673; this.jsonQueryWrapperBehavior(); - this.state = 2672; + this.state = 2674; this.match(TrinoSqlParser.KW_WRAPPER); } } - this.state = 2683; + this.state = 2685; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 144 || _la === 189) { { - this.state = 2676; + this.state = 2678; _la = this.tokenStream.LA(1); if(!(_la === 144 || _la === 189)) { this.errorHandler.recoverInline(this); @@ -10478,18 +10479,18 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2677; + this.state = 2679; this.match(TrinoSqlParser.KW_QUOTES); - this.state = 2681; + this.state = 2683; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 190) { { - this.state = 2678; + this.state = 2680; this.match(TrinoSqlParser.KW_ON); - this.state = 2679; + this.state = 2681; this.match(TrinoSqlParser.KW_SCALAR); - this.state = 2680; + this.state = 2682; this.match(TrinoSqlParser.KW_TEXT_STRING); } } @@ -10497,35 +10498,35 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2689; + this.state = 2691; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 344, this.context) ) { case 1: { - this.state = 2685; + this.state = 2687; (localContext as JsonQueryContext)._emptyBehavior = this.jsonQueryBehavior(); - this.state = 2686; + this.state = 2688; this.match(TrinoSqlParser.KW_ON); - this.state = 2687; + this.state = 2689; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 2695; + this.state = 2697; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 85 || _la === 89 || _la === 183) { { - this.state = 2691; + this.state = 2693; (localContext as JsonQueryContext)._errorBehavior = this.jsonQueryBehavior(); - this.state = 2692; + this.state = 2694; this.match(TrinoSqlParser.KW_ON); - this.state = 2693; + this.state = 2695; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 2697; + this.state = 2699; this.match(TrinoSqlParser.T__1); } break; @@ -10534,53 +10535,53 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonObjectContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2699; + this.state = 2701; this.match(TrinoSqlParser.KW_JSON_OBJECT); - this.state = 2700; + this.state = 2702; this.match(TrinoSqlParser.T__0); - this.state = 2729; + this.state = 2731; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 351, this.context) ) { case 1: { - this.state = 2701; + this.state = 2703; this.jsonObjectMember(); - this.state = 2706; + this.state = 2708; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2702; + this.state = 2704; this.match(TrinoSqlParser.T__2); - this.state = 2703; + this.state = 2705; this.jsonObjectMember(); } } - this.state = 2708; + this.state = 2710; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2715; + this.state = 2717; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_NULL: { - this.state = 2709; + this.state = 2711; this.match(TrinoSqlParser.KW_NULL); - this.state = 2710; + this.state = 2712; this.match(TrinoSqlParser.KW_ON); - this.state = 2711; + this.state = 2713; this.match(TrinoSqlParser.KW_NULL); } break; case TrinoSqlParser.KW_ABSENT: { - this.state = 2712; + this.state = 2714; this.match(TrinoSqlParser.KW_ABSENT); - this.state = 2713; + this.state = 2715; this.match(TrinoSqlParser.KW_ON); - this.state = 2714; + this.state = 2716; this.match(TrinoSqlParser.KW_NULL); } break; @@ -10592,21 +10593,21 @@ export class TrinoSqlParser extends SQLParserBase { default: break; } - this.state = 2727; + this.state = 2729; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_WITH: { - this.state = 2717; + this.state = 2719; this.match(TrinoSqlParser.KW_WITH); - this.state = 2718; - this.match(TrinoSqlParser.KW_UNIQUE); this.state = 2720; + this.match(TrinoSqlParser.KW_UNIQUE); + this.state = 2722; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 146) { { - this.state = 2719; + this.state = 2721; this.match(TrinoSqlParser.KW_KEYS); } } @@ -10615,16 +10616,16 @@ export class TrinoSqlParser extends SQLParserBase { break; case TrinoSqlParser.KW_WITHOUT: { - this.state = 2722; + this.state = 2724; this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 2723; - this.match(TrinoSqlParser.KW_UNIQUE); this.state = 2725; + this.match(TrinoSqlParser.KW_UNIQUE); + this.state = 2727; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 146) { { - this.state = 2724; + this.state = 2726; this.match(TrinoSqlParser.KW_KEYS); } } @@ -10640,23 +10641,23 @@ export class TrinoSqlParser extends SQLParserBase { } break; } - this.state = 2737; + this.state = 2739; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 231) { { - this.state = 2731; + this.state = 2733; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2732; + this.state = 2734; this.type_(0); - this.state = 2735; + this.state = 2737; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 104) { { - this.state = 2733; + this.state = 2735; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2734; + this.state = 2736; this.jsonRepresentation(); } } @@ -10664,7 +10665,7 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2739; + this.state = 2741; this.match(TrinoSqlParser.T__1); } break; @@ -10673,53 +10674,53 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonArrayContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2740; + this.state = 2742; this.match(TrinoSqlParser.KW_JSON_ARRAY); - this.state = 2741; + this.state = 2743; this.match(TrinoSqlParser.T__0); - this.state = 2758; + this.state = 2760; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 356, this.context) ) { case 1: { - this.state = 2742; + this.state = 2744; this.jsonValueExpression(); - this.state = 2747; + this.state = 2749; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2743; + this.state = 2745; this.match(TrinoSqlParser.T__2); - this.state = 2744; + this.state = 2746; this.jsonValueExpression(); } } - this.state = 2749; + this.state = 2751; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2756; + this.state = 2758; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_NULL: { - this.state = 2750; + this.state = 2752; this.match(TrinoSqlParser.KW_NULL); - this.state = 2751; + this.state = 2753; this.match(TrinoSqlParser.KW_ON); - this.state = 2752; + this.state = 2754; this.match(TrinoSqlParser.KW_NULL); } break; case TrinoSqlParser.KW_ABSENT: { - this.state = 2753; + this.state = 2755; this.match(TrinoSqlParser.KW_ABSENT); - this.state = 2754; + this.state = 2756; this.match(TrinoSqlParser.KW_ON); - this.state = 2755; + this.state = 2757; this.match(TrinoSqlParser.KW_NULL); } break; @@ -10732,23 +10733,23 @@ export class TrinoSqlParser extends SQLParserBase { } break; } - this.state = 2766; + this.state = 2768; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 231) { { - this.state = 2760; + this.state = 2762; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2761; + this.state = 2763; this.type_(0); - this.state = 2764; + this.state = 2766; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 104) { { - this.state = 2762; + this.state = 2764; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2763; + this.state = 2765; this.jsonRepresentation(); } } @@ -10756,13 +10757,13 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2768; + this.state = 2770; this.match(TrinoSqlParser.T__1); } break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2781; + this.state = 2783; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 361, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { @@ -10772,7 +10773,7 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2779; + this.state = 2781; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 360, this.context) ) { case 1: @@ -10780,15 +10781,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubscriptContext(new PrimaryExpressionContext(parentContext, parentState)); (localContext as SubscriptContext)._value = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_primaryExpression); - this.state = 2771; + this.state = 2773; if (!(this.precpred(this.context, 24))) { throw this.createFailedPredicateException("this.precpred(this.context, 24)"); } - this.state = 2772; + this.state = 2774; this.match(TrinoSqlParser.T__7); - this.state = 2773; + this.state = 2775; (localContext as SubscriptContext)._index = this.valueExpression(0); - this.state = 2774; + this.state = 2776; this.match(TrinoSqlParser.T__8); } break; @@ -10797,20 +10798,20 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DereferenceContext(new PrimaryExpressionContext(parentContext, parentState)); (localContext as DereferenceContext)._base = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_primaryExpression); - this.state = 2776; + this.state = 2778; if (!(this.precpred(this.context, 22))) { throw this.createFailedPredicateException("this.precpred(this.context, 22)"); } - this.state = 2777; + this.state = 2779; this.match(TrinoSqlParser.T__3); - this.state = 2778; + this.state = 2780; (localContext as DereferenceContext)._fieldName = this.identifier(); } break; } } } - this.state = 2783; + this.state = 2785; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 361, this.context); } @@ -10837,46 +10838,46 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2784; + this.state = 2786; this.jsonValueExpression(); - this.state = 2785; + this.state = 2787; this.match(TrinoSqlParser.T__2); - this.state = 2786; + this.state = 2788; localContext._path = this.string_(); - this.state = 2789; + this.state = 2791; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2787; + this.state = 2789; this.match(TrinoSqlParser.KW_AS); - this.state = 2788; + this.state = 2790; localContext._pathName = this.identifier(); } } - this.state = 2800; + this.state = 2802; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 203) { { - this.state = 2791; + this.state = 2793; this.match(TrinoSqlParser.KW_PASSING); - this.state = 2792; + this.state = 2794; this.jsonArgument(); - this.state = 2797; + this.state = 2799; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2793; + this.state = 2795; this.match(TrinoSqlParser.T__2); - this.state = 2794; + this.state = 2796; this.jsonArgument(); } } - this.state = 2799; + this.state = 2801; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -10906,16 +10907,16 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2802; + this.state = 2804; this.expression(); - this.state = 2805; + this.state = 2807; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 104) { { - this.state = 2803; + this.state = 2805; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2804; + this.state = 2806; this.jsonRepresentation(); } } @@ -10943,16 +10944,16 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2807; + this.state = 2809; this.match(TrinoSqlParser.KW_JSON); - this.state = 2810; + this.state = 2812; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 87) { { - this.state = 2808; + this.state = 2810; this.match(TrinoSqlParser.KW_ENCODING); - this.state = 2809; + this.state = 2811; _la = this.tokenStream.LA(1); if(!(((((_la - 291)) & ~0x1F) === 0 && ((1 << (_la - 291)) & 7) !== 0))) { this.errorHandler.recoverInline(this); @@ -10986,11 +10987,11 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2812; + this.state = 2814; this.jsonValueExpression(); - this.state = 2813; + this.state = 2815; this.match(TrinoSqlParser.KW_AS); - this.state = 2814; + this.state = 2816; this.identifier(); } } @@ -11015,7 +11016,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2816; + this.state = 2818; _la = this.tokenStream.LA(1); if(!(_la === 89 || _la === 97 || _la === 273 || _la === 283)) { this.errorHandler.recoverInline(this); @@ -11044,29 +11045,29 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new JsonValueBehaviorContext(this.context, this.state); this.enterRule(localContext, 156, TrinoSqlParser.RULE_jsonValueBehavior); try { - this.state = 2822; + this.state = 2824; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ERROR: this.enterOuterAlt(localContext, 1); { - this.state = 2818; + this.state = 2820; this.match(TrinoSqlParser.KW_ERROR); } break; case TrinoSqlParser.KW_NULL: this.enterOuterAlt(localContext, 2); { - this.state = 2819; + this.state = 2821; this.match(TrinoSqlParser.KW_NULL); } break; case TrinoSqlParser.KW_DEFAULT: this.enterOuterAlt(localContext, 3); { - this.state = 2820; + this.state = 2822; this.match(TrinoSqlParser.KW_DEFAULT); - this.state = 2821; + this.state = 2823; this.expression(); } break; @@ -11093,20 +11094,20 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 158, TrinoSqlParser.RULE_jsonQueryWrapperBehavior); let _la: number; try { - this.state = 2835; + this.state = 2837; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_WITHOUT: this.enterOuterAlt(localContext, 1); { - this.state = 2824; - this.match(TrinoSqlParser.KW_WITHOUT); this.state = 2826; + this.match(TrinoSqlParser.KW_WITHOUT); + this.state = 2828; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 27) { { - this.state = 2825; + this.state = 2827; this.match(TrinoSqlParser.KW_ARRAY); } } @@ -11116,14 +11117,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_WITH: this.enterOuterAlt(localContext, 2); { - this.state = 2828; - this.match(TrinoSqlParser.KW_WITH); this.state = 2830; + this.match(TrinoSqlParser.KW_WITH); + this.state = 2832; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 49 || _la === 280) { { - this.state = 2829; + this.state = 2831; _la = this.tokenStream.LA(1); if(!(_la === 49 || _la === 280)) { this.errorHandler.recoverInline(this); @@ -11135,12 +11136,12 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2833; + this.state = 2835; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 27) { { - this.state = 2832; + this.state = 2834; this.match(TrinoSqlParser.KW_ARRAY); } } @@ -11169,38 +11170,38 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new JsonQueryBehaviorContext(this.context, this.state); this.enterRule(localContext, 160, TrinoSqlParser.RULE_jsonQueryBehavior); try { - this.state = 2843; + this.state = 2845; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 372, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 2837; + this.state = 2839; this.match(TrinoSqlParser.KW_ERROR); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 2838; + this.state = 2840; this.match(TrinoSqlParser.KW_NULL); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 2839; + this.state = 2841; this.match(TrinoSqlParser.KW_EMPTY); - this.state = 2840; + this.state = 2842; this.match(TrinoSqlParser.KW_ARRAY); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 2841; + this.state = 2843; this.match(TrinoSqlParser.KW_EMPTY); - this.state = 2842; + this.state = 2844; this.match(TrinoSqlParser.KW_OBJECT); } break; @@ -11224,38 +11225,38 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new JsonObjectMemberContext(this.context, this.state); this.enterRule(localContext, 162, TrinoSqlParser.RULE_jsonObjectMember); try { - this.state = 2856; + this.state = 2858; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 374, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 2846; + this.state = 2848; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 373, this.context) ) { case 1: { - this.state = 2845; + this.state = 2847; this.match(TrinoSqlParser.KW_KEY); } break; } - this.state = 2848; + this.state = 2850; this.expression(); - this.state = 2849; + this.state = 2851; this.match(TrinoSqlParser.KW_VALUE); - this.state = 2850; + this.state = 2852; this.jsonValueExpression(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 2852; + this.state = 2854; this.expression(); - this.state = 2853; + this.state = 2855; this.match(TrinoSqlParser.T__9); - this.state = 2854; + this.state = 2856; this.jsonValueExpression(); } break; @@ -11282,7 +11283,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2858; + this.state = 2860; _la = this.tokenStream.LA(1); if(!(_la === 100 || _la === 241)) { this.errorHandler.recoverInline(this); @@ -11311,24 +11312,24 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new NullTreatmentContext(this.context, this.state); this.enterRule(localContext, 166, TrinoSqlParser.RULE_nullTreatment); try { - this.state = 2864; + this.state = 2866; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_IGNORE: this.enterOuterAlt(localContext, 1); { - this.state = 2860; + this.state = 2862; this.match(TrinoSqlParser.KW_IGNORE); - this.state = 2861; + this.state = 2863; this.match(TrinoSqlParser.KW_NULLS); } break; case TrinoSqlParser.KW_RESPECT: this.enterOuterAlt(localContext, 2); { - this.state = 2862; + this.state = 2864; this.match(TrinoSqlParser.KW_RESPECT); - this.state = 2863; + this.state = 2865; this.match(TrinoSqlParser.KW_NULLS); } break; @@ -11354,14 +11355,14 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new StringContext(this.context, this.state); this.enterRule(localContext, 168, TrinoSqlParser.RULE_string); try { - this.state = 2872; + this.state = 2874; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: localContext = new BasicStringLiteralContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2866; + this.state = 2868; this.match(TrinoSqlParser.STRING); } break; @@ -11369,16 +11370,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnicodeStringLiteralContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2867; + this.state = 2869; this.match(TrinoSqlParser.UNICODE_STRING); - this.state = 2870; + this.state = 2872; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 376, this.context) ) { case 1: { - this.state = 2868; + this.state = 2870; this.match(TrinoSqlParser.KW_UESCAPE); - this.state = 2869; + this.state = 2871; this.match(TrinoSqlParser.STRING); } break; @@ -11407,18 +11408,18 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new TimeZoneSpecifierContext(this.context, this.state); this.enterRule(localContext, 170, TrinoSqlParser.RULE_timeZoneSpecifier); try { - this.state = 2880; + this.state = 2882; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 378, this.context) ) { case 1: localContext = new TimeZoneIntervalContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2874; + this.state = 2876; this.match(TrinoSqlParser.KW_TIME); - this.state = 2875; + this.state = 2877; this.match(TrinoSqlParser.KW_ZONE); - this.state = 2876; + this.state = 2878; this.interval(); } break; @@ -11426,11 +11427,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TimeZoneStringContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2877; + this.state = 2879; this.match(TrinoSqlParser.KW_TIME); - this.state = 2878; + this.state = 2880; this.match(TrinoSqlParser.KW_ZONE); - this.state = 2879; + this.state = 2881; this.string_(); } break; @@ -11457,7 +11458,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2882; + this.state = 2884; _la = this.tokenStream.LA(1); if(!(((((_la - 312)) & ~0x1F) === 0 && ((1 << (_la - 312)) & 63) !== 0))) { this.errorHandler.recoverInline(this); @@ -11489,7 +11490,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2884; + this.state = 2886; _la = this.tokenStream.LA(1); if(!(_la === 22 || _la === 26 || _la === 254)) { this.errorHandler.recoverInline(this); @@ -11521,7 +11522,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2886; + this.state = 2888; _la = this.tokenStream.LA(1); if(!(_la === 97 || _la === 273)) { this.errorHandler.recoverInline(this); @@ -11553,14 +11554,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2888; - this.match(TrinoSqlParser.KW_INTERVAL); this.state = 2890; + this.match(TrinoSqlParser.KW_INTERVAL); + this.state = 2892; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 318 || _la === 319) { { - this.state = 2889; + this.state = 2891; localContext._sign = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 318 || _la === 319)) { @@ -11573,18 +11574,18 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2892; + this.state = 2894; this.string_(); - this.state = 2893; + this.state = 2895; localContext._from_ = this.intervalField(); - this.state = 2896; + this.state = 2898; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 380, this.context) ) { case 1: { - this.state = 2894; + this.state = 2896; this.match(TrinoSqlParser.KW_TO); - this.state = 2895; + this.state = 2897; localContext._to = this.intervalField(); } break; @@ -11612,7 +11613,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2898; + this.state = 2900; _la = this.tokenStream.LA(1); if(!(_la === 67 || _la === 118 || _la === 170 || _la === 171 || _la === 245 || _la === 310)) { this.errorHandler.recoverInline(this); @@ -11644,7 +11645,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 2900; + this.state = 2902; _la = this.tokenStream.LA(1); if(!(((((_la - 175)) & ~0x1F) === 0 && ((1 << (_la - 175)) & 15) !== 0))) { this.errorHandler.recoverInline(this); @@ -11688,7 +11689,7 @@ export class TrinoSqlParser extends SQLParserBase { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2993; + this.state = 2995; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 391, this.context) ) { case 1: @@ -11697,29 +11698,29 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 2903; + this.state = 2905; this.match(TrinoSqlParser.KW_ROW); - this.state = 2904; + this.state = 2906; this.match(TrinoSqlParser.T__0); - this.state = 2905; + this.state = 2907; this.rowField(); - this.state = 2910; + this.state = 2912; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2906; + this.state = 2908; this.match(TrinoSqlParser.T__2); - this.state = 2907; + this.state = 2909; this.rowField(); } } - this.state = 2912; + this.state = 2914; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2913; + this.state = 2915; this.match(TrinoSqlParser.T__1); } break; @@ -11728,18 +11729,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new IntervalTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2915; + this.state = 2917; this.match(TrinoSqlParser.KW_INTERVAL); - this.state = 2916; + this.state = 2918; (localContext as IntervalTypeContext)._from_ = this.intervalField(); - this.state = 2919; + this.state = 2921; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 382, this.context) ) { case 1: { - this.state = 2917; + this.state = 2919; this.match(TrinoSqlParser.KW_TO); - this.state = 2918; + this.state = 2920; (localContext as IntervalTypeContext)._to = this.intervalField(); } break; @@ -11751,32 +11752,32 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DateTimeTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2921; + this.state = 2923; (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIMESTAMP); - this.state = 2926; + this.state = 2928; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 383, this.context) ) { case 1: { - this.state = 2922; + this.state = 2924; this.match(TrinoSqlParser.T__0); - this.state = 2923; + this.state = 2925; (localContext as DateTimeTypeContext)._precision = this.typeParameter(); - this.state = 2924; + this.state = 2926; this.match(TrinoSqlParser.T__1); } break; } - this.state = 2931; + this.state = 2933; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 384, this.context) ) { case 1: { - this.state = 2928; + this.state = 2930; this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 2929; + this.state = 2931; this.match(TrinoSqlParser.KW_TIME); - this.state = 2930; + this.state = 2932; this.match(TrinoSqlParser.KW_ZONE); } break; @@ -11788,27 +11789,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DateTimeTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2933; + this.state = 2935; (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIMESTAMP); - this.state = 2938; + this.state = 2940; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 2934; + this.state = 2936; this.match(TrinoSqlParser.T__0); - this.state = 2935; + this.state = 2937; (localContext as DateTimeTypeContext)._precision = this.typeParameter(); - this.state = 2936; + this.state = 2938; this.match(TrinoSqlParser.T__1); } } - this.state = 2940; + this.state = 2942; this.match(TrinoSqlParser.KW_WITH); - this.state = 2941; + this.state = 2943; this.match(TrinoSqlParser.KW_TIME); - this.state = 2942; + this.state = 2944; this.match(TrinoSqlParser.KW_ZONE); } break; @@ -11817,32 +11818,32 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DateTimeTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2943; + this.state = 2945; (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIME); - this.state = 2948; + this.state = 2950; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 386, this.context) ) { case 1: { - this.state = 2944; + this.state = 2946; this.match(TrinoSqlParser.T__0); - this.state = 2945; + this.state = 2947; (localContext as DateTimeTypeContext)._precision = this.typeParameter(); - this.state = 2946; + this.state = 2948; this.match(TrinoSqlParser.T__1); } break; } - this.state = 2953; + this.state = 2955; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 387, this.context) ) { case 1: { - this.state = 2950; + this.state = 2952; this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 2951; + this.state = 2953; this.match(TrinoSqlParser.KW_TIME); - this.state = 2952; + this.state = 2954; this.match(TrinoSqlParser.KW_ZONE); } break; @@ -11854,27 +11855,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DateTimeTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2955; + this.state = 2957; (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIME); - this.state = 2960; + this.state = 2962; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 2956; + this.state = 2958; this.match(TrinoSqlParser.T__0); - this.state = 2957; + this.state = 2959; (localContext as DateTimeTypeContext)._precision = this.typeParameter(); - this.state = 2958; + this.state = 2960; this.match(TrinoSqlParser.T__1); } } - this.state = 2962; + this.state = 2964; this.match(TrinoSqlParser.KW_WITH); - this.state = 2963; + this.state = 2965; this.match(TrinoSqlParser.KW_TIME); - this.state = 2964; + this.state = 2966; this.match(TrinoSqlParser.KW_ZONE); } break; @@ -11883,9 +11884,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DoublePrecisionTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2965; + this.state = 2967; this.match(TrinoSqlParser.KW_DOUBLE); - this.state = 2966; + this.state = 2968; this.match(TrinoSqlParser.KW_PRECISION); } break; @@ -11894,13 +11895,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LegacyArrayTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2967; + this.state = 2969; this.match(TrinoSqlParser.KW_ARRAY); - this.state = 2968; + this.state = 2970; this.match(TrinoSqlParser.LT); - this.state = 2969; + this.state = 2971; this.type_(0); - this.state = 2970; + this.state = 2972; this.match(TrinoSqlParser.GT); } break; @@ -11909,17 +11910,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LegacyMapTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2972; + this.state = 2974; this.match(TrinoSqlParser.KW_MAP); - this.state = 2973; + this.state = 2975; this.match(TrinoSqlParser.LT); - this.state = 2974; + this.state = 2976; (localContext as LegacyMapTypeContext)._keyType = this.type_(0); - this.state = 2975; + this.state = 2977; this.match(TrinoSqlParser.T__2); - this.state = 2976; + this.state = 2978; (localContext as LegacyMapTypeContext)._valueType = this.type_(0); - this.state = 2977; + this.state = 2979; this.match(TrinoSqlParser.GT); } break; @@ -11928,34 +11929,34 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GenericTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2979; + this.state = 2981; this.identifier(); - this.state = 2991; + this.state = 2993; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 390, this.context) ) { case 1: { - this.state = 2980; + this.state = 2982; this.match(TrinoSqlParser.T__0); - this.state = 2981; + this.state = 2983; this.typeParameter(); - this.state = 2986; + this.state = 2988; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2982; + this.state = 2984; this.match(TrinoSqlParser.T__2); - this.state = 2983; + this.state = 2985; this.typeParameter(); } } - this.state = 2988; + this.state = 2990; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2989; + this.state = 2991; this.match(TrinoSqlParser.T__1); } break; @@ -11964,7 +11965,7 @@ export class TrinoSqlParser extends SQLParserBase { break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 3004; + this.state = 3006; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 393, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { @@ -11977,22 +11978,22 @@ export class TrinoSqlParser extends SQLParserBase { { localContext = new ArrayTypeContext(new TypeContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_type); - this.state = 2995; + this.state = 2997; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 2996; + this.state = 2998; this.match(TrinoSqlParser.KW_ARRAY); - this.state = 3000; + this.state = 3002; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 392, this.context) ) { case 1: { - this.state = 2997; + this.state = 2999; this.match(TrinoSqlParser.T__7); - this.state = 2998; + this.state = 3000; this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2999; + this.state = 3001; this.match(TrinoSqlParser.T__8); } break; @@ -12000,7 +12001,7 @@ export class TrinoSqlParser extends SQLParserBase { } } } - this.state = 3006; + this.state = 3008; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 393, this.context); } @@ -12024,22 +12025,22 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new RowFieldContext(this.context, this.state); this.enterRule(localContext, 186, TrinoSqlParser.RULE_rowField); try { - this.state = 3011; + this.state = 3013; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 394, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3007; + this.state = 3009; this.type_(0); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3008; + this.state = 3010; this.identifier(); - this.state = 3009; + this.state = 3011; this.type_(0); } break; @@ -12063,13 +12064,13 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new TypeParameterContext(this.context, this.state); this.enterRule(localContext, 188, TrinoSqlParser.RULE_typeParameter); try { - this.state = 3015; + this.state = 3017; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.INTEGER_VALUE: this.enterOuterAlt(localContext, 1); { - this.state = 3013; + this.state = 3015; this.match(TrinoSqlParser.INTEGER_VALUE); } break; @@ -12292,7 +12293,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.BACKQUOTED_IDENTIFIER: this.enterOuterAlt(localContext, 2); { - this.state = 3014; + this.state = 3016; this.type_(0); } break; @@ -12320,13 +12321,13 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 3017; + this.state = 3019; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3018; + this.state = 3020; localContext._condition = this.expression(); - this.state = 3019; + this.state = 3021; this.match(TrinoSqlParser.KW_THEN); - this.state = 3020; + this.state = 3022; localContext._result = this.expression(); } } @@ -12350,15 +12351,15 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 3022; + this.state = 3024; this.match(TrinoSqlParser.KW_FILTER); - this.state = 3023; + this.state = 3025; this.match(TrinoSqlParser.T__0); - this.state = 3024; + this.state = 3026; this.match(TrinoSqlParser.KW_WHERE); - this.state = 3025; + this.state = 3027; this.booleanExpression(0); - this.state = 3026; + this.state = 3028; this.match(TrinoSqlParser.T__1); } } @@ -12381,62 +12382,62 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 194, TrinoSqlParser.RULE_mergeCase); let _la: number; try { - this.state = 3092; + this.state = 3094; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 403, this.context) ) { case 1: localContext = new MergeUpdateContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3028; + this.state = 3030; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3029; + this.state = 3031; this.match(TrinoSqlParser.KW_MATCHED); - this.state = 3032; + this.state = 3034; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 25) { { - this.state = 3030; + this.state = 3032; this.match(TrinoSqlParser.KW_AND); - this.state = 3031; + this.state = 3033; (localContext as MergeUpdateContext)._condition = this.expression(); } } - this.state = 3034; + this.state = 3036; this.match(TrinoSqlParser.KW_THEN); - this.state = 3035; + this.state = 3037; this.match(TrinoSqlParser.KW_UPDATE); - this.state = 3036; + this.state = 3038; this.match(TrinoSqlParser.KW_SET); - this.state = 3037; + this.state = 3039; (localContext as MergeUpdateContext)._identifier = this.identifier(); (localContext as MergeUpdateContext)._targets.push((localContext as MergeUpdateContext)._identifier); - this.state = 3038; + this.state = 3040; this.match(TrinoSqlParser.EQ); - this.state = 3039; + this.state = 3041; (localContext as MergeUpdateContext)._expression = this.expression(); (localContext as MergeUpdateContext)._values.push((localContext as MergeUpdateContext)._expression); - this.state = 3047; + this.state = 3049; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3040; + this.state = 3042; this.match(TrinoSqlParser.T__2); - this.state = 3041; + this.state = 3043; (localContext as MergeUpdateContext)._identifier = this.identifier(); (localContext as MergeUpdateContext)._targets.push((localContext as MergeUpdateContext)._identifier); - this.state = 3042; + this.state = 3044; this.match(TrinoSqlParser.EQ); - this.state = 3043; + this.state = 3045; (localContext as MergeUpdateContext)._expression = this.expression(); (localContext as MergeUpdateContext)._values.push((localContext as MergeUpdateContext)._expression); } } - this.state = 3049; + this.state = 3051; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -12446,25 +12447,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MergeDeleteContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3050; + this.state = 3052; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3051; + this.state = 3053; this.match(TrinoSqlParser.KW_MATCHED); - this.state = 3054; + this.state = 3056; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 25) { { - this.state = 3052; + this.state = 3054; this.match(TrinoSqlParser.KW_AND); - this.state = 3053; + this.state = 3055; (localContext as MergeDeleteContext)._condition = this.expression(); } } - this.state = 3056; + this.state = 3058; this.match(TrinoSqlParser.KW_THEN); - this.state = 3057; + this.state = 3059; this.match(TrinoSqlParser.KW_DELETE); } break; @@ -12472,85 +12473,85 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MergeInsertContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3058; + this.state = 3060; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3059; + this.state = 3061; this.match(TrinoSqlParser.KW_NOT); - this.state = 3060; + this.state = 3062; this.match(TrinoSqlParser.KW_MATCHED); - this.state = 3063; + this.state = 3065; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 25) { { - this.state = 3061; + this.state = 3063; this.match(TrinoSqlParser.KW_AND); - this.state = 3062; + this.state = 3064; (localContext as MergeInsertContext)._condition = this.expression(); } } - this.state = 3065; + this.state = 3067; this.match(TrinoSqlParser.KW_THEN); - this.state = 3066; + this.state = 3068; this.match(TrinoSqlParser.KW_INSERT); - this.state = 3078; + this.state = 3080; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 3067; + this.state = 3069; this.match(TrinoSqlParser.T__0); - this.state = 3068; + this.state = 3070; (localContext as MergeInsertContext)._identifier = this.identifier(); (localContext as MergeInsertContext)._targets.push((localContext as MergeInsertContext)._identifier); - this.state = 3073; + this.state = 3075; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3069; + this.state = 3071; this.match(TrinoSqlParser.T__2); - this.state = 3070; + this.state = 3072; (localContext as MergeInsertContext)._identifier = this.identifier(); (localContext as MergeInsertContext)._targets.push((localContext as MergeInsertContext)._identifier); } } - this.state = 3075; + this.state = 3077; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3076; + this.state = 3078; this.match(TrinoSqlParser.T__1); } } - this.state = 3080; + this.state = 3082; this.match(TrinoSqlParser.KW_VALUES); - this.state = 3081; + this.state = 3083; this.match(TrinoSqlParser.T__0); - this.state = 3082; + this.state = 3084; (localContext as MergeInsertContext)._expression = this.expression(); (localContext as MergeInsertContext)._values.push((localContext as MergeInsertContext)._expression); - this.state = 3087; + this.state = 3089; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3083; + this.state = 3085; this.match(TrinoSqlParser.T__2); - this.state = 3084; + this.state = 3086; (localContext as MergeInsertContext)._expression = this.expression(); (localContext as MergeInsertContext)._values.push((localContext as MergeInsertContext)._expression); } } - this.state = 3089; + this.state = 3091; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3090; + this.state = 3092; this.match(TrinoSqlParser.T__1); } break; @@ -12576,9 +12577,9 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 3094; + this.state = 3096; this.match(TrinoSqlParser.KW_OVER); - this.state = 3100; + this.state = 3102; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -12799,17 +12800,17 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.QUOTED_IDENTIFIER: case TrinoSqlParser.BACKQUOTED_IDENTIFIER: { - this.state = 3095; + this.state = 3097; localContext._windowName = this.identifier(); } break; case TrinoSqlParser.T__0: { - this.state = 3096; + this.state = 3098; this.match(TrinoSqlParser.T__0); - this.state = 3097; + this.state = 3099; this.windowSpecification(); - this.state = 3098; + this.state = 3100; this.match(TrinoSqlParser.T__1); } break; @@ -12839,56 +12840,56 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 3111; + this.state = 3113; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 168) { { - this.state = 3102; + this.state = 3104; this.match(TrinoSqlParser.KW_MEASURES); - this.state = 3103; + this.state = 3105; this.measureDefinition(); - this.state = 3108; + this.state = 3110; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3104; + this.state = 3106; this.match(TrinoSqlParser.T__2); - this.state = 3105; + this.state = 3107; this.measureDefinition(); } } - this.state = 3110; + this.state = 3112; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 3113; + this.state = 3115; this.frameExtent(); - this.state = 3117; + this.state = 3119; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 21) { { - this.state = 3114; + this.state = 3116; this.match(TrinoSqlParser.KW_AFTER); - this.state = 3115; + this.state = 3117; this.match(TrinoSqlParser.KW_MATCH); - this.state = 3116; + this.state = 3118; this.skipTo(); } } - this.state = 3120; + this.state = 3122; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 124 || _la === 247) { { - this.state = 3119; + this.state = 3121; _la = this.tokenStream.LA(1); if(!(_la === 124 || _la === 247)) { this.errorHandler.recoverInline(this); @@ -12900,72 +12901,72 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 3127; + this.state = 3129; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 206) { { - this.state = 3122; + this.state = 3124; this.match(TrinoSqlParser.KW_PATTERN); - this.state = 3123; + this.state = 3125; this.match(TrinoSqlParser.T__0); - this.state = 3124; + this.state = 3126; this.rowPattern(0); - this.state = 3125; + this.state = 3127; this.match(TrinoSqlParser.T__1); } } - this.state = 3138; + this.state = 3140; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 257) { { - this.state = 3129; + this.state = 3131; this.match(TrinoSqlParser.KW_SUBSET); - this.state = 3130; + this.state = 3132; this.subsetDefinition(); - this.state = 3135; + this.state = 3137; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3131; + this.state = 3133; this.match(TrinoSqlParser.T__2); - this.state = 3132; + this.state = 3134; this.subsetDefinition(); } } - this.state = 3137; + this.state = 3139; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 3149; + this.state = 3151; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 71) { { - this.state = 3140; + this.state = 3142; this.match(TrinoSqlParser.KW_DEFINE); - this.state = 3141; + this.state = 3143; this.variableDefinition(); - this.state = 3146; + this.state = 3148; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3142; + this.state = 3144; this.match(TrinoSqlParser.T__2); - this.state = 3143; + this.state = 3145; this.variableDefinition(); } } - this.state = 3148; + this.state = 3150; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -12992,78 +12993,78 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new FrameExtentContext(this.context, this.state); this.enterRule(localContext, 200, TrinoSqlParser.RULE_frameExtent); try { - this.state = 3175; + this.state = 3177; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 414, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3151; + this.state = 3153; localContext._frameType = this.match(TrinoSqlParser.KW_RANGE); - this.state = 3152; + this.state = 3154; localContext._start = this.frameBound(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3153; + this.state = 3155; localContext._frameType = this.match(TrinoSqlParser.KW_ROWS); - this.state = 3154; + this.state = 3156; localContext._start = this.frameBound(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 3155; + this.state = 3157; localContext._frameType = this.match(TrinoSqlParser.KW_GROUPS); - this.state = 3156; + this.state = 3158; localContext._start = this.frameBound(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 3157; + this.state = 3159; localContext._frameType = this.match(TrinoSqlParser.KW_RANGE); - this.state = 3158; + this.state = 3160; this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 3159; + this.state = 3161; localContext._start = this.frameBound(); - this.state = 3160; + this.state = 3162; this.match(TrinoSqlParser.KW_AND); - this.state = 3161; + this.state = 3163; localContext._end = this.frameBound(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 3163; + this.state = 3165; localContext._frameType = this.match(TrinoSqlParser.KW_ROWS); - this.state = 3164; + this.state = 3166; this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 3165; + this.state = 3167; localContext._start = this.frameBound(); - this.state = 3166; + this.state = 3168; this.match(TrinoSqlParser.KW_AND); - this.state = 3167; + this.state = 3169; localContext._end = this.frameBound(); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 3169; + this.state = 3171; localContext._frameType = this.match(TrinoSqlParser.KW_GROUPS); - this.state = 3170; + this.state = 3172; this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 3171; + this.state = 3173; localContext._start = this.frameBound(); - this.state = 3172; + this.state = 3174; this.match(TrinoSqlParser.KW_AND); - this.state = 3173; + this.state = 3175; localContext._end = this.frameBound(); } break; @@ -13088,16 +13089,16 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 202, TrinoSqlParser.RULE_frameBound); let _la: number; try { - this.state = 3186; + this.state = 3188; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 415, this.context) ) { case 1: localContext = new UnboundedFrameContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3177; + this.state = 3179; this.match(TrinoSqlParser.KW_UNBOUNDED); - this.state = 3178; + this.state = 3180; (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_PRECEDING); } break; @@ -13105,9 +13106,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnboundedFrameContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3179; + this.state = 3181; this.match(TrinoSqlParser.KW_UNBOUNDED); - this.state = 3180; + this.state = 3182; (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_FOLLOWING); } break; @@ -13115,9 +13116,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentRowBoundContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3181; + this.state = 3183; this.match(TrinoSqlParser.KW_CURRENT); - this.state = 3182; + this.state = 3184; this.match(TrinoSqlParser.KW_ROW); } break; @@ -13125,9 +13126,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BoundedFrameContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 3183; + this.state = 3185; this.expression(); - this.state = 3184; + this.state = 3186; (localContext as BoundedFrameContext)._boundType = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 102 || _la === 212)) { @@ -13178,21 +13179,21 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 3189; - this.patternPrimary(); this.state = 3191; + this.patternPrimary(); + this.state = 3193; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 416, this.context) ) { case 1: { - this.state = 3190; + this.state = 3192; this.patternQuantifier(); } break; } } this.context!.stop = this.tokenStream.LT(-1); - this.state = 3200; + this.state = 3202; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 418, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { @@ -13202,18 +13203,18 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 3198; + this.state = 3200; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 417, this.context) ) { case 1: { localContext = new PatternConcatenationContext(new RowPatternContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); - this.state = 3193; + this.state = 3195; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 3194; + this.state = 3196; this.rowPattern(3); } break; @@ -13221,20 +13222,20 @@ export class TrinoSqlParser extends SQLParserBase { { localContext = new PatternAlternationContext(new RowPatternContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); - this.state = 3195; + this.state = 3197; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 3196; + this.state = 3198; this.match(TrinoSqlParser.T__10); - this.state = 3197; + this.state = 3199; this.rowPattern(2); } break; } } } - this.state = 3202; + this.state = 3204; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 418, this.context); } @@ -13259,14 +13260,14 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 206, TrinoSqlParser.RULE_patternPrimary); let _la: number; try { - this.state = 3228; + this.state = 3230; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 420, this.context) ) { case 1: localContext = new PatternVariableContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3203; + this.state = 3205; this.identifier(); } break; @@ -13274,9 +13275,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new EmptyPatternContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3204; + this.state = 3206; this.match(TrinoSqlParser.T__0); - this.state = 3205; + this.state = 3207; this.match(TrinoSqlParser.T__1); } break; @@ -13284,29 +13285,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new PatternPermutationContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3206; + this.state = 3208; this.match(TrinoSqlParser.KW_PERMUTE); - this.state = 3207; + this.state = 3209; this.match(TrinoSqlParser.T__0); - this.state = 3208; + this.state = 3210; this.rowPattern(0); - this.state = 3213; + this.state = 3215; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3209; + this.state = 3211; this.match(TrinoSqlParser.T__2); - this.state = 3210; + this.state = 3212; this.rowPattern(0); } } - this.state = 3215; + this.state = 3217; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3216; + this.state = 3218; this.match(TrinoSqlParser.T__1); } break; @@ -13314,11 +13315,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GroupedPatternContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 3218; + this.state = 3220; this.match(TrinoSqlParser.T__0); - this.state = 3219; + this.state = 3221; this.rowPattern(0); - this.state = 3220; + this.state = 3222; this.match(TrinoSqlParser.T__1); } break; @@ -13326,7 +13327,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new PartitionStartAnchorContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 3222; + this.state = 3224; this.match(TrinoSqlParser.T__11); } break; @@ -13334,7 +13335,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new PartitionEndAnchorContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 3223; + this.state = 3225; this.match(TrinoSqlParser.T__12); } break; @@ -13342,11 +13343,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExcludedPatternContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 3224; + this.state = 3226; this.match(TrinoSqlParser.T__13); - this.state = 3225; + this.state = 3227; this.rowPattern(0); - this.state = 3226; + this.state = 3228; this.match(TrinoSqlParser.T__14); } break; @@ -13371,21 +13372,21 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 208, TrinoSqlParser.RULE_patternQuantifier); let _la: number; try { - this.state = 3260; + this.state = 3262; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 428, this.context) ) { case 1: localContext = new ZeroOrMoreQuantifierContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3230; - this.match(TrinoSqlParser.ASTERISK); this.state = 3232; + this.match(TrinoSqlParser.ASTERISK); + this.state = 3234; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 421, this.context) ) { case 1: { - this.state = 3231; + this.state = 3233; (localContext as ZeroOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); } break; @@ -13396,14 +13397,14 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new OneOrMoreQuantifierContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3234; - this.match(TrinoSqlParser.PLUS); this.state = 3236; + this.match(TrinoSqlParser.PLUS); + this.state = 3238; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 422, this.context) ) { case 1: { - this.state = 3235; + this.state = 3237; (localContext as OneOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); } break; @@ -13414,14 +13415,14 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ZeroOrOneQuantifierContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3238; - this.match(TrinoSqlParser.QUESTION_MARK); this.state = 3240; + this.match(TrinoSqlParser.QUESTION_MARK); + this.state = 3242; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 423, this.context) ) { case 1: { - this.state = 3239; + this.state = 3241; (localContext as ZeroOrOneQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); } break; @@ -13432,18 +13433,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RangeQuantifierContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 3242; + this.state = 3244; this.match(TrinoSqlParser.T__15); - this.state = 3243; + this.state = 3245; (localContext as RangeQuantifierContext)._exactly = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 3244; - this.match(TrinoSqlParser.T__16); this.state = 3246; + this.match(TrinoSqlParser.T__16); + this.state = 3248; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 424, this.context) ) { case 1: { - this.state = 3245; + this.state = 3247; (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); } break; @@ -13454,38 +13455,38 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RangeQuantifierContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 3248; - this.match(TrinoSqlParser.T__15); this.state = 3250; + this.match(TrinoSqlParser.T__15); + this.state = 3252; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 329) { { - this.state = 3249; + this.state = 3251; (localContext as RangeQuantifierContext)._atLeast = this.match(TrinoSqlParser.INTEGER_VALUE); } } - this.state = 3252; - this.match(TrinoSqlParser.T__2); this.state = 3254; + this.match(TrinoSqlParser.T__2); + this.state = 3256; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 329) { { - this.state = 3253; + this.state = 3255; (localContext as RangeQuantifierContext)._atMost = this.match(TrinoSqlParser.INTEGER_VALUE); } } - this.state = 3256; - this.match(TrinoSqlParser.T__16); this.state = 3258; + this.match(TrinoSqlParser.T__16); + this.state = 3260; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 427, this.context) ) { case 1: { - this.state = 3257; + this.state = 3259; (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); } break; @@ -13514,11 +13515,11 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 3262; + this.state = 3264; this.identifier(); - this.state = 3263; + this.state = 3265; this.match(TrinoSqlParser.EQ); - this.state = 3264; + this.state = 3266; this.expression(); } } @@ -13541,16 +13542,16 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 212, TrinoSqlParser.RULE_explainOption); let _la: number; try { - this.state = 3270; + this.state = 3272; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_FORMAT: localContext = new ExplainFormatContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3266; + this.state = 3268; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 3267; + this.state = 3269; (localContext as ExplainFormatContext)._value = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 113 || _la === 137 || _la === 263)) { @@ -13566,9 +13567,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExplainTypeContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3268; + this.state = 3270; this.match(TrinoSqlParser.KW_TYPE); - this.state = 3269; + this.state = 3271; (localContext as ExplainTypeContext)._value = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 80 || _la === 132 || _la === 160 || _la === 294)) { @@ -13603,18 +13604,18 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 214, TrinoSqlParser.RULE_transactionMode); let _la: number; try { - this.state = 3277; + this.state = 3279; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ISOLATION: localContext = new IsolationLevelContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3272; + this.state = 3274; this.match(TrinoSqlParser.KW_ISOLATION); - this.state = 3273; + this.state = 3275; this.match(TrinoSqlParser.KW_LEVEL); - this.state = 3274; + this.state = 3276; this.levelOfIsolation(); } break; @@ -13622,9 +13623,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TransactionAccessModeContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3275; + this.state = 3277; this.match(TrinoSqlParser.KW_READ); - this.state = 3276; + this.state = 3278; (localContext as TransactionAccessModeContext)._accessMode = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 192 || _la === 309)) { @@ -13658,16 +13659,16 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new LevelOfIsolationContext(this.context, this.state); this.enterRule(localContext, 216, TrinoSqlParser.RULE_levelOfIsolation); try { - this.state = 3286; + this.state = 3288; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 431, this.context) ) { case 1: localContext = new ReadUncommittedContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3279; + this.state = 3281; this.match(TrinoSqlParser.KW_READ); - this.state = 3280; + this.state = 3282; this.match(TrinoSqlParser.KW_UNCOMMITTED); } break; @@ -13675,9 +13676,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ReadCommittedContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3281; + this.state = 3283; this.match(TrinoSqlParser.KW_READ); - this.state = 3282; + this.state = 3284; this.match(TrinoSqlParser.KW_COMMITTED); } break; @@ -13685,9 +13686,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RepeatableReadContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3283; + this.state = 3285; this.match(TrinoSqlParser.KW_REPEATABLE); - this.state = 3284; + this.state = 3286; this.match(TrinoSqlParser.KW_READ); } break; @@ -13695,7 +13696,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SerializableContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 3285; + this.state = 3287; this.match(TrinoSqlParser.KW_SERIALIZABLE); } break; @@ -13719,14 +13720,14 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new CallArgumentContext(this.context, this.state); this.enterRule(localContext, 218, TrinoSqlParser.RULE_callArgument); try { - this.state = 3293; + this.state = 3295; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 432, this.context) ) { case 1: localContext = new PositionalArgumentContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3288; + this.state = 3290; this.expression(); } break; @@ -13734,11 +13735,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NamedArgumentContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3289; + this.state = 3291; this.identifier(); - this.state = 3290; + this.state = 3292; this.match(TrinoSqlParser.T__5); - this.state = 3291; + this.state = 3293; this.expression(); } break; @@ -13762,18 +13763,18 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new PathElementContext(this.context, this.state); this.enterRule(localContext, 220, TrinoSqlParser.RULE_pathElement); try { - this.state = 3300; + this.state = 3302; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 433, this.context) ) { case 1: localContext = new QualifiedArgumentContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3295; + this.state = 3297; this.identifier(); - this.state = 3296; + this.state = 3298; this.match(TrinoSqlParser.T__3); - this.state = 3297; + this.state = 3299; this.identifier(); } break; @@ -13781,7 +13782,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnqualifiedArgumentContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3299; + this.state = 3301; this.identifier(); } break; @@ -13808,21 +13809,21 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 3302; + this.state = 3304; this.pathElement(); - this.state = 3307; + this.state = 3309; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3303; + this.state = 3305; this.match(TrinoSqlParser.T__2); - this.state = 3304; + this.state = 3306; this.pathElement(); } } - this.state = 3309; + this.state = 3311; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -13849,30 +13850,85 @@ export class TrinoSqlParser extends SQLParserBase { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 3310; + this.state = 3312; this.match(TrinoSqlParser.KW_FUNCTION); - this.state = 3311; + this.state = 3313; this.functionDeclaration(); - this.state = 3312; + this.state = 3314; this.returnsClause(); - this.state = 3316; + this.state = 3318; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 435, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 3313; - this.routineCharacteristic(); + this.state = 3315; + this.routineCharacteristic(); + } + } + } + this.state = 3320; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 435, this.context); + } + this.state = 3321; + this.controlStatement(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public functionDeclaration(): FunctionDeclarationContext { + let localContext = new FunctionDeclarationContext(this.context, this.state); + this.enterRule(localContext, 226, TrinoSqlParser.RULE_functionDeclaration); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3323; + this.functionNameCreate(); + this.state = 3324; + this.match(TrinoSqlParser.T__0); + this.state = 3333; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { + { + this.state = 3325; + this.parameterDeclaration(); + this.state = 3330; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3326; + this.match(TrinoSqlParser.T__2); + this.state = 3327; + this.parameterDeclaration(); } } + this.state = 3332; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } } - this.state = 3318; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 435, this.context); } - this.state = 3319; - this.controlStatement(); + + this.state = 3335; + this.match(TrinoSqlParser.T__1); } } catch (re) { @@ -13889,44 +13945,44 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public functionDeclaration(): FunctionDeclarationContext { - let localContext = new FunctionDeclarationContext(this.context, this.state); - this.enterRule(localContext, 226, TrinoSqlParser.RULE_functionDeclaration); + public functionSignature(): FunctionSignatureContext { + let localContext = new FunctionSignatureContext(this.context, this.state); + this.enterRule(localContext, 228, TrinoSqlParser.RULE_functionSignature); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 3321; - this.functionNameCreate(); - this.state = 3322; + this.state = 3337; + this.functionName(); + this.state = 3338; this.match(TrinoSqlParser.T__0); - this.state = 3331; + this.state = 3347; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - this.state = 3323; + this.state = 3339; this.parameterDeclaration(); - this.state = 3328; + this.state = 3344; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3324; + this.state = 3340; this.match(TrinoSqlParser.T__2); - this.state = 3325; + this.state = 3341; this.parameterDeclaration(); } } - this.state = 3330; + this.state = 3346; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 3333; + this.state = 3349; this.match(TrinoSqlParser.T__1); } } @@ -13946,21 +14002,21 @@ export class TrinoSqlParser extends SQLParserBase { } public parameterDeclaration(): ParameterDeclarationContext { let localContext = new ParameterDeclarationContext(this.context, this.state); - this.enterRule(localContext, 228, TrinoSqlParser.RULE_parameterDeclaration); + this.enterRule(localContext, 230, TrinoSqlParser.RULE_parameterDeclaration); try { this.enterOuterAlt(localContext, 1); { - this.state = 3336; + this.state = 3352; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 438, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 440, this.context) ) { case 1: { - this.state = 3335; + this.state = 3351; this.identifier(); } break; } - this.state = 3338; + this.state = 3354; this.type_(0); } } @@ -13980,13 +14036,13 @@ export class TrinoSqlParser extends SQLParserBase { } public returnsClause(): ReturnsClauseContext { let localContext = new ReturnsClauseContext(this.context, this.state); - this.enterRule(localContext, 230, TrinoSqlParser.RULE_returnsClause); + this.enterRule(localContext, 232, TrinoSqlParser.RULE_returnsClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 3340; + this.state = 3356; this.match(TrinoSqlParser.KW_RETURNS); - this.state = 3341; + this.state = 3357; this.type_(0); } } @@ -14006,19 +14062,19 @@ export class TrinoSqlParser extends SQLParserBase { } public routineCharacteristic(): RoutineCharacteristicContext { let localContext = new RoutineCharacteristicContext(this.context, this.state); - this.enterRule(localContext, 232, TrinoSqlParser.RULE_routineCharacteristic); + this.enterRule(localContext, 234, TrinoSqlParser.RULE_routineCharacteristic); let _la: number; try { - this.state = 3362; + this.state = 3378; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_LANGUAGE: localContext = new LanguageCharacteristicContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3343; + this.state = 3359; this.match(TrinoSqlParser.KW_LANGUAGE); - this.state = 3344; + this.state = 3360; this.identifier(); } break; @@ -14027,17 +14083,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DeterministicCharacteristicContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3346; + this.state = 3362; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 182) { { - this.state = 3345; + this.state = 3361; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 3348; + this.state = 3364; this.match(TrinoSqlParser.KW_DETERMINISTIC); } break; @@ -14045,15 +14101,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ReturnsNullOnNullInputCharacteristicContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3349; + this.state = 3365; this.match(TrinoSqlParser.KW_RETURNS); - this.state = 3350; + this.state = 3366; this.match(TrinoSqlParser.KW_NULL); - this.state = 3351; + this.state = 3367; this.match(TrinoSqlParser.KW_ON); - this.state = 3352; + this.state = 3368; this.match(TrinoSqlParser.KW_NULL); - this.state = 3353; + this.state = 3369; this.match(TrinoSqlParser.KW_INPUT); } break; @@ -14061,13 +14117,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CalledOnNullInputCharacteristicContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 3354; + this.state = 3370; this.match(TrinoSqlParser.KW_CALLED); - this.state = 3355; + this.state = 3371; this.match(TrinoSqlParser.KW_ON); - this.state = 3356; + this.state = 3372; this.match(TrinoSqlParser.KW_NULL); - this.state = 3357; + this.state = 3373; this.match(TrinoSqlParser.KW_INPUT); } break; @@ -14075,9 +14131,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SecurityCharacteristicContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 3358; + this.state = 3374; this.match(TrinoSqlParser.KW_SECURITY); - this.state = 3359; + this.state = 3375; _la = this.tokenStream.LA(1); if(!(_la === 72 || _la === 131)) { this.errorHandler.recoverInline(this); @@ -14092,9 +14148,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommentCharacteristicContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 3360; + this.state = 3376; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 3361; + this.state = 3377; this.string_(); } break; @@ -14118,20 +14174,20 @@ export class TrinoSqlParser extends SQLParserBase { } public controlStatement(): ControlStatementContext { let localContext = new ControlStatementContext(this.context, this.state); - this.enterRule(localContext, 234, TrinoSqlParser.RULE_controlStatement); + this.enterRule(localContext, 236, TrinoSqlParser.RULE_controlStatement); let _la: number; try { let alternative: number; - this.state = 3463; + this.state = 3479; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 452, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 454, this.context) ) { case 1: localContext = new ReturnStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3364; + this.state = 3380; this.match(TrinoSqlParser.KW_RETURN); - this.state = 3365; + this.state = 3381; this.valueExpression(0); } break; @@ -14139,13 +14195,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new AssignmentStatementContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3366; + this.state = 3382; this.match(TrinoSqlParser.KW_SET); - this.state = 3367; + this.state = 3383; this.identifier(); - this.state = 3368; + this.state = 3384; this.match(TrinoSqlParser.EQ); - this.state = 3369; + this.state = 3385; this.expression(); } break; @@ -14153,37 +14209,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SimpleCaseStatementContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3371; + this.state = 3387; this.match(TrinoSqlParser.KW_CASE); - this.state = 3372; + this.state = 3388; this.expression(); - this.state = 3374; + this.state = 3390; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 3373; + this.state = 3389; this.caseStatementWhenClause(); } } - this.state = 3376; + this.state = 3392; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 300); - this.state = 3379; + this.state = 3395; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 84) { { - this.state = 3378; + this.state = 3394; this.elseClause(); } } - this.state = 3381; + this.state = 3397; this.match(TrinoSqlParser.KW_END); - this.state = 3382; + this.state = 3398; this.match(TrinoSqlParser.KW_CASE); } break; @@ -14191,35 +14247,35 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SearchedCaseStatementContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 3384; + this.state = 3400; this.match(TrinoSqlParser.KW_CASE); - this.state = 3386; + this.state = 3402; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 3385; + this.state = 3401; this.caseStatementWhenClause(); } } - this.state = 3388; + this.state = 3404; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 300); - this.state = 3391; + this.state = 3407; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 84) { { - this.state = 3390; + this.state = 3406; this.elseClause(); } } - this.state = 3393; + this.state = 3409; this.match(TrinoSqlParser.KW_END); - this.state = 3394; + this.state = 3410; this.match(TrinoSqlParser.KW_CASE); } break; @@ -14227,41 +14283,41 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new IfStatementContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 3396; + this.state = 3412; this.match(TrinoSqlParser.KW_IF); - this.state = 3397; + this.state = 3413; this.expression(); - this.state = 3398; + this.state = 3414; this.match(TrinoSqlParser.KW_THEN); - this.state = 3399; + this.state = 3415; this.sqlStatementList(); - this.state = 3403; + this.state = 3419; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 86) { { { - this.state = 3400; + this.state = 3416; this.elseIfClause(); } } - this.state = 3405; + this.state = 3421; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3407; + this.state = 3423; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 84) { { - this.state = 3406; + this.state = 3422; this.elseClause(); } } - this.state = 3409; + this.state = 3425; this.match(TrinoSqlParser.KW_END); - this.state = 3410; + this.state = 3426; this.match(TrinoSqlParser.KW_IF); } break; @@ -14269,9 +14325,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new IterateStatementContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 3412; + this.state = 3428; this.match(TrinoSqlParser.KW_ITERATE); - this.state = 3413; + this.state = 3429; this.identifier(); } break; @@ -14279,9 +14335,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LeaveStatementContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 3414; + this.state = 3430; this.match(TrinoSqlParser.KW_LEAVE); - this.state = 3415; + this.state = 3431; this.identifier(); } break; @@ -14289,37 +14345,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CompoundStatementContext(localContext); this.enterOuterAlt(localContext, 8); { - this.state = 3416; + this.state = 3432; this.match(TrinoSqlParser.KW_BEGIN); - this.state = 3422; + this.state = 3438; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 447, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 449, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 3417; + this.state = 3433; this.variableDeclaration(); - this.state = 3418; + this.state = 3434; this.match(TrinoSqlParser.SEMICOLON); } } } - this.state = 3424; + this.state = 3440; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 447, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 449, this.context); } - this.state = 3426; + this.state = 3442; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4286249823) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0) || ((((_la - 332)) & ~0x1F) === 0 && ((1 << (_la - 332)) & 15) !== 0)) { { - this.state = 3425; + this.state = 3441; this.sqlStatementList(); } } - this.state = 3428; + this.state = 3444; this.match(TrinoSqlParser.KW_END); } break; @@ -14327,25 +14383,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LoopStatementContext(localContext); this.enterOuterAlt(localContext, 9); { - this.state = 3432; + this.state = 3448; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 449, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 451, this.context) ) { case 1: { - this.state = 3429; + this.state = 3445; (localContext as LoopStatementContext)._label = this.identifier(); - this.state = 3430; + this.state = 3446; this.match(TrinoSqlParser.T__9); } break; } - this.state = 3434; + this.state = 3450; this.match(TrinoSqlParser.KW_LOOP); - this.state = 3435; + this.state = 3451; this.sqlStatementList(); - this.state = 3436; + this.state = 3452; this.match(TrinoSqlParser.KW_END); - this.state = 3437; + this.state = 3453; this.match(TrinoSqlParser.KW_LOOP); } break; @@ -14353,29 +14409,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new WhileStatementContext(localContext); this.enterOuterAlt(localContext, 10); { - this.state = 3442; + this.state = 3458; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 450, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 452, this.context) ) { case 1: { - this.state = 3439; + this.state = 3455; (localContext as WhileStatementContext)._label = this.identifier(); - this.state = 3440; + this.state = 3456; this.match(TrinoSqlParser.T__9); } break; } - this.state = 3444; + this.state = 3460; this.match(TrinoSqlParser.KW_WHILE); - this.state = 3445; + this.state = 3461; this.expression(); - this.state = 3446; + this.state = 3462; this.match(TrinoSqlParser.KW_DO); - this.state = 3447; + this.state = 3463; this.sqlStatementList(); - this.state = 3448; + this.state = 3464; this.match(TrinoSqlParser.KW_END); - this.state = 3449; + this.state = 3465; this.match(TrinoSqlParser.KW_WHILE); } break; @@ -14383,29 +14439,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RepeatStatementContext(localContext); this.enterOuterAlt(localContext, 11); { - this.state = 3454; + this.state = 3470; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 451, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 453, this.context) ) { case 1: { - this.state = 3451; + this.state = 3467; (localContext as RepeatStatementContext)._label = this.identifier(); - this.state = 3452; + this.state = 3468; this.match(TrinoSqlParser.T__9); } break; } - this.state = 3456; + this.state = 3472; this.match(TrinoSqlParser.KW_REPEAT); - this.state = 3457; + this.state = 3473; this.sqlStatementList(); - this.state = 3458; + this.state = 3474; this.match(TrinoSqlParser.KW_UNTIL); - this.state = 3459; + this.state = 3475; this.expression(); - this.state = 3460; + this.state = 3476; this.match(TrinoSqlParser.KW_END); - this.state = 3461; + this.state = 3477; this.match(TrinoSqlParser.KW_REPEAT); } break; @@ -14427,17 +14483,17 @@ export class TrinoSqlParser extends SQLParserBase { } public caseStatementWhenClause(): CaseStatementWhenClauseContext { let localContext = new CaseStatementWhenClauseContext(this.context, this.state); - this.enterRule(localContext, 236, TrinoSqlParser.RULE_caseStatementWhenClause); + this.enterRule(localContext, 238, TrinoSqlParser.RULE_caseStatementWhenClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 3465; + this.state = 3481; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3466; + this.state = 3482; this.expression(); - this.state = 3467; + this.state = 3483; this.match(TrinoSqlParser.KW_THEN); - this.state = 3468; + this.state = 3484; this.sqlStatementList(); } } @@ -14457,17 +14513,17 @@ export class TrinoSqlParser extends SQLParserBase { } public elseIfClause(): ElseIfClauseContext { let localContext = new ElseIfClauseContext(this.context, this.state); - this.enterRule(localContext, 238, TrinoSqlParser.RULE_elseIfClause); + this.enterRule(localContext, 240, TrinoSqlParser.RULE_elseIfClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 3470; + this.state = 3486; this.match(TrinoSqlParser.KW_ELSEIF); - this.state = 3471; + this.state = 3487; this.expression(); - this.state = 3472; + this.state = 3488; this.match(TrinoSqlParser.KW_THEN); - this.state = 3473; + this.state = 3489; this.sqlStatementList(); } } @@ -14487,13 +14543,13 @@ export class TrinoSqlParser extends SQLParserBase { } public elseClause(): ElseClauseContext { let localContext = new ElseClauseContext(this.context, this.state); - this.enterRule(localContext, 240, TrinoSqlParser.RULE_elseClause); + this.enterRule(localContext, 242, TrinoSqlParser.RULE_elseClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 3475; + this.state = 3491; this.match(TrinoSqlParser.KW_ELSE); - this.state = 3476; + this.state = 3492; this.sqlStatementList(); } } @@ -14513,41 +14569,41 @@ export class TrinoSqlParser extends SQLParserBase { } public variableDeclaration(): VariableDeclarationContext { let localContext = new VariableDeclarationContext(this.context, this.state); - this.enterRule(localContext, 242, TrinoSqlParser.RULE_variableDeclaration); + this.enterRule(localContext, 244, TrinoSqlParser.RULE_variableDeclaration); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 3478; + this.state = 3494; this.match(TrinoSqlParser.KW_DECLARE); - this.state = 3479; + this.state = 3495; this.identifier(); - this.state = 3484; + this.state = 3500; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3480; + this.state = 3496; this.match(TrinoSqlParser.T__2); - this.state = 3481; + this.state = 3497; this.identifier(); } } - this.state = 3486; + this.state = 3502; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3487; + this.state = 3503; this.type_(0); - this.state = 3490; + this.state = 3506; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 70) { { - this.state = 3488; + this.state = 3504; this.match(TrinoSqlParser.KW_DEFAULT); - this.state = 3489; + this.state = 3505; this.valueExpression(0); } } @@ -14570,12 +14626,12 @@ export class TrinoSqlParser extends SQLParserBase { } public sqlStatementList(): SqlStatementListContext { let localContext = new SqlStatementListContext(this.context, this.state); - this.enterRule(localContext, 244, TrinoSqlParser.RULE_sqlStatementList); + this.enterRule(localContext, 246, TrinoSqlParser.RULE_sqlStatementList); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 3495; + this.state = 3511; this.errorHandler.sync(this); alternative = 1; do { @@ -14583,9 +14639,9 @@ export class TrinoSqlParser extends SQLParserBase { case 1: { { - this.state = 3492; + this.state = 3508; this.controlStatement(); - this.state = 3493; + this.state = 3509; this.match(TrinoSqlParser.SEMICOLON); } } @@ -14593,9 +14649,9 @@ export class TrinoSqlParser extends SQLParserBase { default: throw new antlr.NoViableAltException(this); } - this.state = 3497; + this.state = 3513; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 455, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 457, this.context); } while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER); } } @@ -14615,50 +14671,50 @@ export class TrinoSqlParser extends SQLParserBase { } public privilege(): PrivilegeContext { let localContext = new PrivilegeContext(this.context, this.state); - this.enterRule(localContext, 246, TrinoSqlParser.RULE_privilege); + this.enterRule(localContext, 248, TrinoSqlParser.RULE_privilege); try { - this.state = 3505; + this.state = 3521; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 456, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 458, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3499; + this.state = 3515; this.match(TrinoSqlParser.KW_CREATE); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3500; + this.state = 3516; this.match(TrinoSqlParser.KW_SELECT); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 3501; + this.state = 3517; this.match(TrinoSqlParser.KW_DELETE); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 3502; + this.state = 3518; this.match(TrinoSqlParser.KW_INSERT); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 3503; + this.state = 3519; this.match(TrinoSqlParser.KW_UPDATE); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 3504; + this.state = 3520; this.identifier(); } break; @@ -14680,29 +14736,29 @@ export class TrinoSqlParser extends SQLParserBase { } public entityKind(): EntityKindContext { let localContext = new EntityKindContext(this.context, this.state); - this.enterRule(localContext, 248, TrinoSqlParser.RULE_entityKind); + this.enterRule(localContext, 250, TrinoSqlParser.RULE_entityKind); try { - this.state = 3510; + this.state = 3526; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 457, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 459, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3507; + this.state = 3523; this.match(TrinoSqlParser.KW_TABLE); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3508; + this.state = 3524; this.match(TrinoSqlParser.KW_SCHEMA); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 3509; + this.state = 3525; this.identifier(); } break; @@ -14724,21 +14780,21 @@ export class TrinoSqlParser extends SQLParserBase { } public grantObject(): GrantObjectContext { let localContext = new GrantObjectContext(this.context, this.state); - this.enterRule(localContext, 250, TrinoSqlParser.RULE_grantObject); + this.enterRule(localContext, 252, TrinoSqlParser.RULE_grantObject); try { this.enterOuterAlt(localContext, 1); { - this.state = 3513; + this.state = 3529; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 458, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 460, this.context) ) { case 1: { - this.state = 3512; + this.state = 3528; this.entityKind(); } break; } - this.state = 3515; + this.state = 3531; this.qualifiedName(); } } @@ -14758,22 +14814,22 @@ export class TrinoSqlParser extends SQLParserBase { } public tableOrViewName(): TableOrViewNameContext { let localContext = new TableOrViewNameContext(this.context, this.state); - this.enterRule(localContext, 252, TrinoSqlParser.RULE_tableOrViewName); + this.enterRule(localContext, 254, TrinoSqlParser.RULE_tableOrViewName); try { - this.state = 3519; + this.state = 3535; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 459, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 461, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3517; + this.state = 3533; this.tableRef(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3518; + this.state = 3534; this.viewRef(); } break; @@ -14795,41 +14851,41 @@ export class TrinoSqlParser extends SQLParserBase { } public tableRef(): TableRefContext { let localContext = new TableRefContext(this.context, this.state); - this.enterRule(localContext, 254, TrinoSqlParser.RULE_tableRef); + this.enterRule(localContext, 256, TrinoSqlParser.RULE_tableRef); try { - this.state = 3532; + this.state = 3548; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 460, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 462, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3521; + this.state = 3537; localContext._table = this.identifier(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3522; + this.state = 3538; localContext._schema = this.identifier(); - this.state = 3523; + this.state = 3539; this.match(TrinoSqlParser.T__3); - this.state = 3524; + this.state = 3540; localContext._table = this.identifier(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 3526; + this.state = 3542; localContext._catalog = this.identifier(); - this.state = 3527; + this.state = 3543; this.match(TrinoSqlParser.T__3); - this.state = 3528; + this.state = 3544; localContext._schema = this.identifier(); - this.state = 3529; + this.state = 3545; this.match(TrinoSqlParser.T__3); - this.state = 3530; + this.state = 3546; localContext._table = this.identifier(); } break; @@ -14851,41 +14907,41 @@ export class TrinoSqlParser extends SQLParserBase { } public tableNameCreate(): TableNameCreateContext { let localContext = new TableNameCreateContext(this.context, this.state); - this.enterRule(localContext, 256, TrinoSqlParser.RULE_tableNameCreate); + this.enterRule(localContext, 258, TrinoSqlParser.RULE_tableNameCreate); try { - this.state = 3545; + this.state = 3561; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 461, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 463, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3534; + this.state = 3550; localContext._table = this.identifier(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3535; + this.state = 3551; localContext._schema = this.identifier(); - this.state = 3536; + this.state = 3552; this.match(TrinoSqlParser.T__3); - this.state = 3537; + this.state = 3553; localContext._table = this.identifier(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 3539; + this.state = 3555; localContext._catalog = this.identifier(); - this.state = 3540; + this.state = 3556; this.match(TrinoSqlParser.T__3); - this.state = 3541; + this.state = 3557; localContext._schema = this.identifier(); - this.state = 3542; + this.state = 3558; this.match(TrinoSqlParser.T__3); - this.state = 3543; + this.state = 3559; localContext._table = this.identifier(); } break; @@ -14907,41 +14963,41 @@ export class TrinoSqlParser extends SQLParserBase { } public viewRef(): ViewRefContext { let localContext = new ViewRefContext(this.context, this.state); - this.enterRule(localContext, 258, TrinoSqlParser.RULE_viewRef); + this.enterRule(localContext, 260, TrinoSqlParser.RULE_viewRef); try { - this.state = 3558; + this.state = 3574; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 462, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 464, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3547; + this.state = 3563; localContext._view = this.identifier(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3548; + this.state = 3564; localContext._schema = this.identifier(); - this.state = 3549; + this.state = 3565; this.match(TrinoSqlParser.T__3); - this.state = 3550; + this.state = 3566; localContext._view = this.identifier(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 3552; + this.state = 3568; localContext._catalog = this.identifier(); - this.state = 3553; + this.state = 3569; this.match(TrinoSqlParser.T__3); - this.state = 3554; + this.state = 3570; localContext._schema = this.identifier(); - this.state = 3555; + this.state = 3571; this.match(TrinoSqlParser.T__3); - this.state = 3556; + this.state = 3572; localContext._view = this.identifier(); } break; @@ -14963,41 +15019,41 @@ export class TrinoSqlParser extends SQLParserBase { } public viewNameCreate(): ViewNameCreateContext { let localContext = new ViewNameCreateContext(this.context, this.state); - this.enterRule(localContext, 260, TrinoSqlParser.RULE_viewNameCreate); + this.enterRule(localContext, 262, TrinoSqlParser.RULE_viewNameCreate); try { - this.state = 3571; + this.state = 3587; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 463, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 465, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3560; + this.state = 3576; localContext._view = this.identifier(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3561; + this.state = 3577; localContext._schema = this.identifier(); - this.state = 3562; + this.state = 3578; this.match(TrinoSqlParser.T__3); - this.state = 3563; + this.state = 3579; localContext._view = this.identifier(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 3565; + this.state = 3581; localContext._catalog = this.identifier(); - this.state = 3566; + this.state = 3582; this.match(TrinoSqlParser.T__3); - this.state = 3567; + this.state = 3583; localContext._schema = this.identifier(); - this.state = 3568; + this.state = 3584; this.match(TrinoSqlParser.T__3); - this.state = 3569; + this.state = 3585; localContext._view = this.identifier(); } break; @@ -15019,26 +15075,26 @@ export class TrinoSqlParser extends SQLParserBase { } public schemaRef(): SchemaRefContext { let localContext = new SchemaRefContext(this.context, this.state); - this.enterRule(localContext, 262, TrinoSqlParser.RULE_schemaRef); + this.enterRule(localContext, 264, TrinoSqlParser.RULE_schemaRef); try { - this.state = 3578; + this.state = 3594; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 464, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 466, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3573; + this.state = 3589; localContext._schema = this.identifier(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3574; + this.state = 3590; localContext._catalog = this.identifier(); - this.state = 3575; + this.state = 3591; this.match(TrinoSqlParser.T__3); - this.state = 3576; + this.state = 3592; localContext._schema = this.identifier(); } break; @@ -15060,26 +15116,26 @@ export class TrinoSqlParser extends SQLParserBase { } public schemaNameCreate(): SchemaNameCreateContext { let localContext = new SchemaNameCreateContext(this.context, this.state); - this.enterRule(localContext, 264, TrinoSqlParser.RULE_schemaNameCreate); + this.enterRule(localContext, 266, TrinoSqlParser.RULE_schemaNameCreate); try { - this.state = 3585; + this.state = 3601; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 465, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 467, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3580; + this.state = 3596; localContext._schema = this.identifier(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3581; + this.state = 3597; localContext._catalog = this.identifier(); - this.state = 3582; + this.state = 3598; this.match(TrinoSqlParser.T__3); - this.state = 3583; + this.state = 3599; localContext._schema = this.identifier(); } break; @@ -15101,11 +15157,11 @@ export class TrinoSqlParser extends SQLParserBase { } public catalogRef(): CatalogRefContext { let localContext = new CatalogRefContext(this.context, this.state); - this.enterRule(localContext, 266, TrinoSqlParser.RULE_catalogRef); + this.enterRule(localContext, 268, TrinoSqlParser.RULE_catalogRef); try { this.enterOuterAlt(localContext, 1); { - this.state = 3587; + this.state = 3603; localContext._catalog = this.identifier(); } } @@ -15125,11 +15181,11 @@ export class TrinoSqlParser extends SQLParserBase { } public catalogNameCreate(): CatalogNameCreateContext { let localContext = new CatalogNameCreateContext(this.context, this.state); - this.enterRule(localContext, 268, TrinoSqlParser.RULE_catalogNameCreate); + this.enterRule(localContext, 270, TrinoSqlParser.RULE_catalogNameCreate); try { this.enterOuterAlt(localContext, 1); { - this.state = 3589; + this.state = 3605; localContext._catalog = this.identifier(); } } @@ -15149,11 +15205,11 @@ export class TrinoSqlParser extends SQLParserBase { } public functionName(): FunctionNameContext { let localContext = new FunctionNameContext(this.context, this.state); - this.enterRule(localContext, 270, TrinoSqlParser.RULE_functionName); + this.enterRule(localContext, 272, TrinoSqlParser.RULE_functionName); try { this.enterOuterAlt(localContext, 1); { - this.state = 3591; + this.state = 3607; this.qualifiedName(); } } @@ -15173,11 +15229,11 @@ export class TrinoSqlParser extends SQLParserBase { } public functionNameCreate(): FunctionNameCreateContext { let localContext = new FunctionNameCreateContext(this.context, this.state); - this.enterRule(localContext, 272, TrinoSqlParser.RULE_functionNameCreate); + this.enterRule(localContext, 274, TrinoSqlParser.RULE_functionNameCreate); try { this.enterOuterAlt(localContext, 1); { - this.state = 3593; + this.state = 3609; this.qualifiedName(); } } @@ -15197,22 +15253,22 @@ export class TrinoSqlParser extends SQLParserBase { } public columnRef(): ColumnRefContext { let localContext = new ColumnRefContext(this.context, this.state); - this.enterRule(localContext, 274, TrinoSqlParser.RULE_columnRef); + this.enterRule(localContext, 276, TrinoSqlParser.RULE_columnRef); try { - this.state = 3597; + this.state = 3613; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 466, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 468, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3595; + this.state = 3611; this.qualifiedName(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3596; + this.state = 3612; if (!(this.shouldMatchEmpty())) { throw this.createFailedPredicateException("this.shouldMatchEmpty()"); } @@ -15236,11 +15292,11 @@ export class TrinoSqlParser extends SQLParserBase { } public columnNameCreate(): ColumnNameCreateContext { let localContext = new ColumnNameCreateContext(this.context, this.state); - this.enterRule(localContext, 276, TrinoSqlParser.RULE_columnNameCreate); + this.enterRule(localContext, 278, TrinoSqlParser.RULE_columnNameCreate); try { this.enterOuterAlt(localContext, 1); { - this.state = 3599; + this.state = 3615; this.identifier(); } } @@ -15260,30 +15316,30 @@ export class TrinoSqlParser extends SQLParserBase { } public qualifiedName(): QualifiedNameContext { let localContext = new QualifiedNameContext(this.context, this.state); - this.enterRule(localContext, 278, TrinoSqlParser.RULE_qualifiedName); + this.enterRule(localContext, 280, TrinoSqlParser.RULE_qualifiedName); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 3601; + this.state = 3617; this.identifier(); - this.state = 3606; + this.state = 3622; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 467, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 469, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 3602; + this.state = 3618; this.match(TrinoSqlParser.T__3); - this.state = 3603; + this.state = 3619; this.identifier(); } } } - this.state = 3608; + this.state = 3624; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 467, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 469, this.context); } } } @@ -15303,19 +15359,19 @@ export class TrinoSqlParser extends SQLParserBase { } public queryPeriod(): QueryPeriodContext { let localContext = new QueryPeriodContext(this.context, this.state); - this.enterRule(localContext, 280, TrinoSqlParser.RULE_queryPeriod); + this.enterRule(localContext, 282, TrinoSqlParser.RULE_queryPeriod); try { this.enterOuterAlt(localContext, 1); { - this.state = 3609; + this.state = 3625; this.match(TrinoSqlParser.KW_FOR); - this.state = 3610; + this.state = 3626; this.rangeType(); - this.state = 3611; + this.state = 3627; this.match(TrinoSqlParser.KW_AS); - this.state = 3612; + this.state = 3628; this.match(TrinoSqlParser.KW_OF); - this.state = 3613; + this.state = 3629; localContext._end = this.valueExpression(0); } } @@ -15335,12 +15391,12 @@ export class TrinoSqlParser extends SQLParserBase { } public rangeType(): RangeTypeContext { let localContext = new RangeTypeContext(this.context, this.state); - this.enterRule(localContext, 282, TrinoSqlParser.RULE_rangeType); + this.enterRule(localContext, 284, TrinoSqlParser.RULE_rangeType); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 3615; + this.state = 3631; _la = this.tokenStream.LA(1); if(!(_la === 268 || _la === 298)) { this.errorHandler.recoverInline(this); @@ -15367,9 +15423,9 @@ export class TrinoSqlParser extends SQLParserBase { } public grantor(): GrantorContext { let localContext = new GrantorContext(this.context, this.state); - this.enterRule(localContext, 284, TrinoSqlParser.RULE_grantor); + this.enterRule(localContext, 286, TrinoSqlParser.RULE_grantor); try { - this.state = 3620; + this.state = 3636; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -15592,7 +15648,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SpecifiedPrincipalContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3617; + this.state = 3633; this.principal(); } break; @@ -15600,7 +15656,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentUserGrantorContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3618; + this.state = 3634; this.match(TrinoSqlParser.KW_CURRENT_USER); } break; @@ -15608,7 +15664,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentRoleGrantorContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3619; + this.state = 3635; this.match(TrinoSqlParser.KW_CURRENT_ROLE); } break; @@ -15632,16 +15688,16 @@ export class TrinoSqlParser extends SQLParserBase { } public principal(): PrincipalContext { let localContext = new PrincipalContext(this.context, this.state); - this.enterRule(localContext, 286, TrinoSqlParser.RULE_principal); + this.enterRule(localContext, 288, TrinoSqlParser.RULE_principal); try { - this.state = 3627; + this.state = 3643; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 469, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 471, this.context) ) { case 1: localContext = new UnspecifiedPrincipalContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3622; + this.state = 3638; this.identifier(); } break; @@ -15649,9 +15705,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UserPrincipalContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3623; + this.state = 3639; this.match(TrinoSqlParser.KW_USER); - this.state = 3624; + this.state = 3640; this.identifier(); } break; @@ -15659,9 +15715,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RolePrincipalContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3625; + this.state = 3641; this.match(TrinoSqlParser.KW_ROLE); - this.state = 3626; + this.state = 3642; this.identifier(); } break; @@ -15683,26 +15739,26 @@ export class TrinoSqlParser extends SQLParserBase { } public roles(): RolesContext { let localContext = new RolesContext(this.context, this.state); - this.enterRule(localContext, 288, TrinoSqlParser.RULE_roles); + this.enterRule(localContext, 290, TrinoSqlParser.RULE_roles); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 3629; + this.state = 3645; this.identifier(); - this.state = 3634; + this.state = 3650; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3630; + this.state = 3646; this.match(TrinoSqlParser.T__2); - this.state = 3631; + this.state = 3647; this.identifier(); } } - this.state = 3636; + this.state = 3652; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -15724,57 +15780,57 @@ export class TrinoSqlParser extends SQLParserBase { } public privilegeOrRole(): PrivilegeOrRoleContext { let localContext = new PrivilegeOrRoleContext(this.context, this.state); - this.enterRule(localContext, 290, TrinoSqlParser.RULE_privilegeOrRole); + this.enterRule(localContext, 292, TrinoSqlParser.RULE_privilegeOrRole); try { - this.state = 3644; + this.state = 3660; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 471, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 473, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3637; + this.state = 3653; this.match(TrinoSqlParser.KW_CREATE); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3638; + this.state = 3654; this.match(TrinoSqlParser.KW_SELECT); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 3639; + this.state = 3655; this.match(TrinoSqlParser.KW_DELETE); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 3640; + this.state = 3656; this.match(TrinoSqlParser.KW_INSERT); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 3641; + this.state = 3657; this.match(TrinoSqlParser.KW_UPDATE); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 3642; + this.state = 3658; this.match(TrinoSqlParser.KW_EXECUTE); } break; case 7: this.enterOuterAlt(localContext, 7); { - this.state = 3643; + this.state = 3659; this.identifier(); } break; @@ -15796,16 +15852,16 @@ export class TrinoSqlParser extends SQLParserBase { } public identifier(): IdentifierContext { let localContext = new IdentifierContext(this.context, this.state); - this.enterRule(localContext, 292, TrinoSqlParser.RULE_identifier); + this.enterRule(localContext, 294, TrinoSqlParser.RULE_identifier); try { - this.state = 3651; + this.state = 3667; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.IDENTIFIER: localContext = new UnquotedIdentifierContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3646; + this.state = 3662; this.match(TrinoSqlParser.IDENTIFIER); } break; @@ -15813,7 +15869,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new QuotedIdentifierContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3647; + this.state = 3663; this.match(TrinoSqlParser.QUOTED_IDENTIFIER); } break; @@ -16033,7 +16089,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnquotedIdentifierContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3648; + this.state = 3664; this.nonReserved(); } break; @@ -16041,7 +16097,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BackQuotedIdentifierContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 3649; + this.state = 3665; this.match(TrinoSqlParser.BACKQUOTED_IDENTIFIER); } break; @@ -16049,7 +16105,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DigitIdentifierContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 3650; + this.state = 3666; this.match(TrinoSqlParser.DIGIT_IDENTIFIER); } break; @@ -16073,27 +16129,27 @@ export class TrinoSqlParser extends SQLParserBase { } public number_(): NumberContext { let localContext = new NumberContext(this.context, this.state); - this.enterRule(localContext, 294, TrinoSqlParser.RULE_number); + this.enterRule(localContext, 296, TrinoSqlParser.RULE_number); let _la: number; try { - this.state = 3665; + this.state = 3681; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 476, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 478, this.context) ) { case 1: localContext = new DecimalLiteralContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3654; + this.state = 3670; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 319) { { - this.state = 3653; + this.state = 3669; this.match(TrinoSqlParser.MINUS); } } - this.state = 3656; + this.state = 3672; this.match(TrinoSqlParser.DECIMAL_VALUE); } break; @@ -16101,17 +16157,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DoubleLiteralContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3658; + this.state = 3674; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 319) { { - this.state = 3657; + this.state = 3673; this.match(TrinoSqlParser.MINUS); } } - this.state = 3660; + this.state = 3676; this.match(TrinoSqlParser.DOUBLE_VALUE); } break; @@ -16119,17 +16175,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new IntegerLiteralContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3662; + this.state = 3678; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 319) { { - this.state = 3661; + this.state = 3677; this.match(TrinoSqlParser.MINUS); } } - this.state = 3664; + this.state = 3680; this.match(TrinoSqlParser.INTEGER_VALUE); } break; @@ -16151,9 +16207,9 @@ export class TrinoSqlParser extends SQLParserBase { } public authorizationUser(): AuthorizationUserContext { let localContext = new AuthorizationUserContext(this.context, this.state); - this.enterRule(localContext, 296, TrinoSqlParser.RULE_authorizationUser); + this.enterRule(localContext, 298, TrinoSqlParser.RULE_authorizationUser); try { - this.state = 3669; + this.state = 3685; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -16376,7 +16432,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new IdentifierUserContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3667; + this.state = 3683; this.identifier(); } break; @@ -16385,7 +16441,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new StringUserContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3668; + this.state = 3684; this.string_(); } break; @@ -16409,12 +16465,12 @@ export class TrinoSqlParser extends SQLParserBase { } public nonReserved(): NonReservedContext { let localContext = new NonReservedContext(this.context, this.state); - this.enterRule(localContext, 298, TrinoSqlParser.RULE_nonReserved); + this.enterRule(localContext, 300, TrinoSqlParser.RULE_nonReserved); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 3671; + this.state = 3687; _la = this.tokenStream.LA(1); if(!(((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 51)) & ~0x1F) === 0 && ((1 << (_la - 51)) & 3988635683) !== 0) || ((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 2680939671) !== 0) || ((((_la - 118)) & ~0x1F) === 0 && ((1 << (_la - 118)) & 4228606319) !== 0) || ((((_la - 150)) & ~0x1F) === 0 && ((1 << (_la - 150)) & 2143288491) !== 0) || ((((_la - 184)) & ~0x1F) === 0 && ((1 << (_la - 184)) & 3221214143) !== 0) || ((((_la - 216)) & ~0x1F) === 0 && ((1 << (_la - 216)) & 4290510815) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 4001298431) !== 0) || ((((_la - 282)) & ~0x1F) === 0 && ((1 << (_la - 282)) & 1068744439) !== 0))) { this.errorHandler.recoverInline(this); @@ -16456,7 +16512,7 @@ export class TrinoSqlParser extends SQLParserBase { return this.type_sempred(localContext as TypeContext, predIndex); case 102: return this.rowPattern_sempred(localContext as RowPatternContext, predIndex); - case 137: + case 138: return this.columnRef_sempred(localContext as ColumnRefContext, predIndex); } return true; @@ -16533,7 +16589,7 @@ export class TrinoSqlParser extends SQLParserBase { } public static readonly _serializedATN: number[] = [ - 4,1,340,3674,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, + 4,1,340,3690,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, @@ -16557,306 +16613,308 @@ export class TrinoSqlParser extends SQLParserBase { 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,1,0,5,0,302,8,0,10,0,12,0,305,9,0,1,0,1, - 0,1,1,1,1,1,2,1,2,3,2,313,8,2,1,3,1,3,3,3,317,8,3,1,4,1,4,3,4,321, - 8,4,1,5,1,5,3,5,325,8,5,1,6,1,6,3,6,329,8,6,1,7,1,7,1,7,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,3,8,342,8,8,1,8,1,8,1,8,1,8,1,8,3,8,349, - 8,8,1,8,1,8,3,8,353,8,8,1,8,1,8,3,8,357,8,8,1,8,1,8,1,8,1,8,3,8, - 363,8,8,1,8,1,8,3,8,367,8,8,1,8,1,8,1,8,1,8,1,8,3,8,374,8,8,1,8, - 1,8,1,8,3,8,379,8,8,1,8,1,8,3,8,383,8,8,1,8,1,8,1,8,1,8,3,8,389, - 8,8,1,8,1,8,3,8,393,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,412,8,8,1,8,1,8,1,8,1,8,3,8,418, - 8,8,1,8,1,8,3,8,422,8,8,1,8,1,8,3,8,426,8,8,1,8,1,8,3,8,430,8,8, - 1,8,1,8,1,8,1,8,1,8,1,8,3,8,438,8,8,1,8,1,8,3,8,442,8,8,1,8,3,8, - 445,8,8,1,8,1,8,1,8,3,8,450,8,8,1,8,1,8,1,8,1,8,3,8,456,8,8,1,8, - 1,8,1,8,1,8,1,8,5,8,463,8,8,10,8,12,8,466,9,8,1,8,1,8,1,8,3,8,471, - 8,8,1,8,1,8,3,8,475,8,8,1,8,1,8,1,8,1,8,3,8,481,8,8,1,8,1,8,1,8, - 1,8,1,8,3,8,488,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,497,8,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,509,8,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,3,8,518,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,527,8,8, - 1,8,1,8,1,8,1,8,3,8,533,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 3,8,544,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,552,8,8,1,8,1,8,1,8,1,8, - 1,8,1,8,3,8,560,8,8,1,8,1,8,1,8,1,8,1,8,3,8,567,8,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,3,8,577,8,8,1,8,1,8,1,8,1,8,1,8,3,8,584,8,8, - 1,8,1,8,1,8,1,8,1,8,1,8,3,8,592,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,3,8,607,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 2,148,7,148,2,149,7,149,2,150,7,150,1,0,5,0,304,8,0,10,0,12,0,307, + 9,0,1,0,1,0,1,1,1,1,1,2,1,2,3,2,315,8,2,1,3,1,3,3,3,319,8,3,1,4, + 1,4,3,4,323,8,4,1,5,1,5,3,5,327,8,5,1,6,1,6,3,6,331,8,6,1,7,1,7, + 1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,344,8,8,1,8,1,8,1,8,1,8, + 1,8,3,8,351,8,8,1,8,1,8,3,8,355,8,8,1,8,1,8,3,8,359,8,8,1,8,1,8, + 1,8,1,8,3,8,365,8,8,1,8,1,8,3,8,369,8,8,1,8,1,8,1,8,1,8,1,8,3,8, + 376,8,8,1,8,1,8,1,8,3,8,381,8,8,1,8,1,8,3,8,385,8,8,1,8,1,8,1,8, + 1,8,3,8,391,8,8,1,8,1,8,3,8,395,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,414,8,8,1,8,1,8,1,8, + 1,8,3,8,420,8,8,1,8,1,8,3,8,424,8,8,1,8,1,8,3,8,428,8,8,1,8,1,8, + 3,8,432,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,440,8,8,1,8,1,8,3,8,444, + 8,8,1,8,3,8,447,8,8,1,8,1,8,1,8,3,8,452,8,8,1,8,1,8,1,8,1,8,3,8, + 458,8,8,1,8,1,8,1,8,1,8,1,8,5,8,465,8,8,10,8,12,8,468,9,8,1,8,1, + 8,1,8,3,8,473,8,8,1,8,1,8,3,8,477,8,8,1,8,1,8,1,8,1,8,3,8,483,8, + 8,1,8,1,8,1,8,1,8,1,8,3,8,490,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3, + 8,499,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,511,8,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,520,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,3,8,529,8,8,1,8,1,8,1,8,1,8,3,8,535,8,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,3,8,546,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,554,8,8,1, + 8,1,8,1,8,1,8,1,8,1,8,3,8,562,8,8,1,8,1,8,1,8,1,8,1,8,3,8,569,8, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,579,8,8,1,8,1,8,1,8,1,8,1, + 8,3,8,586,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,594,8,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,609,8,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,642,8,8,10,8,12, + 8,645,9,8,3,8,647,8,8,1,8,3,8,650,8,8,1,8,1,8,3,8,654,8,8,1,8,1, + 8,1,8,1,8,3,8,660,8,8,1,8,1,8,1,8,3,8,665,8,8,1,8,1,8,1,8,1,8,1, + 8,3,8,672,8,8,1,8,1,8,1,8,1,8,3,8,678,8,8,1,8,1,8,3,8,682,8,8,1, + 8,1,8,3,8,686,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,694,8,8,1,8,1,8,1, + 8,1,8,3,8,700,8,8,1,8,1,8,3,8,704,8,8,1,8,1,8,3,8,708,8,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,722,8,8,1,8,1,8,1, + 8,1,8,1,8,1,8,3,8,730,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,749,8,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5, + 8,772,8,8,10,8,12,8,775,9,8,3,8,777,8,8,1,8,1,8,1,8,1,8,1,8,3,8, + 784,8,8,1,8,1,8,1,8,1,8,1,8,3,8,791,8,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,3,8,800,8,8,1,8,1,8,3,8,804,8,8,1,8,1,8,1,8,1,8,1,8,3,8,811, + 8,8,1,8,1,8,1,8,1,8,5,8,817,8,8,10,8,12,8,820,9,8,1,8,1,8,1,8,1, + 8,5,8,826,8,8,10,8,12,8,829,9,8,1,8,1,8,1,8,3,8,834,8,8,1,8,1,8, + 1,8,3,8,839,8,8,1,8,1,8,3,8,843,8,8,1,8,1,8,1,8,1,8,5,8,849,8,8, + 10,8,12,8,852,9,8,1,8,1,8,3,8,856,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,3,8,865,8,8,1,8,1,8,1,8,1,8,3,8,871,8,8,1,8,1,8,1,8,5,8,876,8, + 8,10,8,12,8,879,9,8,1,8,1,8,1,8,1,8,5,8,885,8,8,10,8,12,8,888,9, + 8,1,8,1,8,1,8,3,8,893,8,8,1,8,1,8,3,8,897,8,8,1,8,1,8,1,8,1,8,3, + 8,903,8,8,1,8,1,8,1,8,5,8,908,8,8,10,8,12,8,911,9,8,1,8,1,8,3,8, + 915,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,926,8,8,10,8,12, + 8,929,9,8,1,8,1,8,3,8,933,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,3,8,945,8,8,1,8,1,8,3,8,949,8,8,1,8,1,8,1,8,1,8,3,8,955,8, + 8,1,8,1,8,1,8,1,8,1,8,5,8,962,8,8,10,8,12,8,965,9,8,1,8,1,8,3,8, + 969,8,8,1,8,1,8,1,8,1,8,3,8,975,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,640,8,8,10,8,12,8,643,9,8,3, - 8,645,8,8,1,8,3,8,648,8,8,1,8,1,8,3,8,652,8,8,1,8,1,8,1,8,1,8,3, - 8,658,8,8,1,8,1,8,1,8,3,8,663,8,8,1,8,1,8,1,8,1,8,1,8,3,8,670,8, - 8,1,8,1,8,1,8,1,8,3,8,676,8,8,1,8,1,8,3,8,680,8,8,1,8,1,8,3,8,684, - 8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,692,8,8,1,8,1,8,1,8,1,8,3,8,698, - 8,8,1,8,1,8,3,8,702,8,8,1,8,1,8,3,8,706,8,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,720,8,8,1,8,1,8,1,8,1,8,1,8,1,8, - 3,8,728,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,3,8,747,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,770,8,8,10,8, - 12,8,773,9,8,3,8,775,8,8,1,8,1,8,1,8,1,8,1,8,3,8,782,8,8,1,8,1,8, - 1,8,1,8,1,8,3,8,789,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,798,8,8, - 1,8,1,8,3,8,802,8,8,1,8,1,8,1,8,1,8,1,8,3,8,809,8,8,1,8,1,8,1,8, - 1,8,5,8,815,8,8,10,8,12,8,818,9,8,1,8,1,8,1,8,1,8,5,8,824,8,8,10, - 8,12,8,827,9,8,1,8,1,8,1,8,3,8,832,8,8,1,8,1,8,1,8,3,8,837,8,8,1, - 8,1,8,3,8,841,8,8,1,8,1,8,1,8,1,8,5,8,847,8,8,10,8,12,8,850,9,8, - 1,8,1,8,3,8,854,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,863,8,8,1,8, - 1,8,1,8,1,8,3,8,869,8,8,1,8,1,8,1,8,5,8,874,8,8,10,8,12,8,877,9, - 8,1,8,1,8,1,8,1,8,5,8,883,8,8,10,8,12,8,886,9,8,1,8,1,8,1,8,3,8, - 891,8,8,1,8,1,8,3,8,895,8,8,1,8,1,8,1,8,1,8,3,8,901,8,8,1,8,1,8, - 1,8,5,8,906,8,8,10,8,12,8,909,9,8,1,8,1,8,3,8,913,8,8,1,8,1,8,1, - 8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,924,8,8,10,8,12,8,927,9,8,1,8,1,8, - 3,8,931,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,943,8,8, - 1,8,1,8,3,8,947,8,8,1,8,1,8,1,8,1,8,3,8,953,8,8,1,8,1,8,1,8,1,8, - 1,8,5,8,960,8,8,10,8,12,8,963,9,8,1,8,1,8,3,8,967,8,8,1,8,1,8,1, - 8,1,8,3,8,973,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1001, - 8,8,1,8,1,8,1,8,1,8,3,8,1007,8,8,3,8,1009,8,8,1,8,1,8,1,8,1,8,3, - 8,1015,8,8,1,8,1,8,1,8,1,8,3,8,1021,8,8,3,8,1023,8,8,1,8,1,8,1,8, - 1,8,1,8,1,8,3,8,1031,8,8,3,8,1033,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,3,8,1043,8,8,3,8,1045,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,3,8,1060,8,8,1,8,1,8,1,8,3,8,1065,8,8,1,8,1, - 8,1,8,1,8,1,8,3,8,1072,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1082, - 8,8,1,8,1,8,1,8,1,8,3,8,1088,8,8,3,8,1090,8,8,1,8,1,8,1,8,1,8,1, - 8,1,8,3,8,1098,8,8,3,8,1100,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1123,8,8, - 10,8,12,8,1126,9,8,3,8,1128,8,8,1,8,1,8,3,8,1132,8,8,1,8,1,8,3,8, - 1136,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 5,8,1152,8,8,10,8,12,8,1155,9,8,3,8,1157,8,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,5,8,1166,8,8,10,8,12,8,1169,9,8,3,8,1171,8,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1187,8,8,1,8,1,8, - 1,8,1,8,1,8,1,8,5,8,1195,8,8,10,8,12,8,1198,9,8,1,8,1,8,3,8,1202, - 8,8,1,8,1,8,1,8,1,8,3,8,1208,8,8,1,8,3,8,1211,8,8,1,8,1,8,1,8,1, - 8,1,8,4,8,1218,8,8,11,8,12,8,1219,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,1,8,3,8,1232,8,8,1,9,3,9,1235,8,9,1,9,1,9,1,10,1,10,1,10,1, - 10,5,10,1243,8,10,10,10,12,10,1246,9,10,1,11,3,11,1249,8,11,1,11, - 1,11,1,12,1,12,3,12,1255,8,12,1,12,1,12,1,12,5,12,1260,8,12,10,12, - 12,12,1263,9,12,1,13,1,13,3,13,1267,8,13,1,14,1,14,1,14,1,14,3,14, - 1273,8,14,1,14,1,14,3,14,1277,8,14,1,14,1,14,3,14,1281,8,14,1,15, - 1,15,1,15,1,15,3,15,1287,8,15,1,16,1,16,1,16,1,16,1,17,1,17,1,17, - 5,17,1296,8,17,10,17,12,17,1299,9,17,1,18,1,18,1,18,1,18,1,19,1, - 19,3,19,1307,8,19,1,20,1,20,1,20,1,20,1,20,1,20,5,20,1315,8,20,10, - 20,12,20,1318,9,20,3,20,1320,8,20,1,20,1,20,1,20,3,20,1325,8,20, - 3,20,1327,8,20,1,20,1,20,1,20,1,20,1,20,3,20,1334,8,20,1,20,1,20, - 1,20,1,20,3,20,1340,8,20,3,20,1342,8,20,1,21,1,21,3,21,1346,8,21, - 1,22,1,22,1,23,1,23,1,23,1,23,1,23,1,23,3,23,1356,8,23,1,23,1,23, - 1,23,1,23,3,23,1362,8,23,1,23,5,23,1365,8,23,10,23,12,23,1368,9, - 23,1,24,1,24,1,24,1,24,1,24,1,24,1,24,5,24,1377,8,24,10,24,12,24, - 1380,9,24,1,24,1,24,1,24,1,24,3,24,1386,8,24,1,25,1,25,3,25,1390, - 8,25,1,25,3,25,1393,8,25,1,25,1,25,3,25,1397,8,25,1,26,1,26,3,26, - 1401,8,26,1,26,1,26,1,26,5,26,1406,8,26,10,26,12,26,1409,9,26,1, - 26,1,26,1,26,1,26,5,26,1415,8,26,10,26,12,26,1418,9,26,3,26,1420, - 8,26,1,26,1,26,3,26,1424,8,26,1,26,1,26,1,26,3,26,1429,8,26,1,26, - 1,26,3,26,1433,8,26,1,26,1,26,1,26,1,26,5,26,1439,8,26,10,26,12, - 26,1442,9,26,3,26,1444,8,26,1,27,3,27,1447,8,27,1,27,1,27,1,27,5, - 27,1452,8,27,10,27,12,27,1455,9,27,1,28,1,28,1,28,1,28,1,28,1,28, - 5,28,1463,8,28,10,28,12,28,1466,9,28,3,28,1468,8,28,1,28,1,28,1, - 28,1,28,1,28,1,28,5,28,1476,8,28,10,28,12,28,1479,9,28,3,28,1481, - 8,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,5,28,1490,8,28,10,28,12, - 28,1493,9,28,1,28,1,28,3,28,1497,8,28,1,29,1,29,1,29,1,29,5,29,1503, - 8,29,10,29,12,29,1506,9,29,3,29,1508,8,29,1,29,1,29,3,29,1512,8, - 29,1,30,1,30,3,30,1516,8,30,1,31,1,31,1,31,1,31,1,31,1,31,1,32,3, - 32,1525,8,32,1,32,1,32,1,32,1,32,1,32,5,32,1532,8,32,10,32,12,32, - 1535,9,32,3,32,1537,8,32,1,32,1,32,1,32,1,32,1,32,5,32,1544,8,32, - 10,32,12,32,1547,9,32,3,32,1549,8,32,1,32,3,32,1552,8,32,1,33,1, - 33,3,33,1556,8,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,35,1,35,3, - 35,1567,8,35,1,35,3,35,1570,8,35,1,35,3,35,1573,8,35,1,35,1,35,1, - 35,1,35,1,35,3,35,1580,8,35,1,35,3,35,1583,8,35,1,36,1,36,1,36,1, - 36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1, - 36,3,36,1602,8,36,5,36,1604,8,36,10,36,12,36,1607,9,36,1,37,3,37, - 1610,8,37,1,37,1,37,3,37,1614,8,37,1,37,1,37,3,37,1618,8,37,1,37, - 1,37,3,37,1622,8,37,3,37,1624,8,37,1,38,1,38,1,38,1,38,1,38,1,38, - 1,38,5,38,1633,8,38,10,38,12,38,1636,9,38,1,38,1,38,3,38,1640,8, - 38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,1649,8,39,1,40,1,40,1, - 41,1,41,1,42,1,42,1,42,3,42,1658,8,42,1,42,3,42,1661,8,42,1,43,1, - 43,1,43,1,43,3,43,1667,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1, - 44,5,44,1677,8,44,10,44,12,44,1680,9,44,3,44,1682,8,44,1,44,1,44, - 1,44,1,44,1,44,5,44,1689,8,44,10,44,12,44,1692,9,44,3,44,1694,8, - 44,1,44,1,44,1,44,1,44,5,44,1700,8,44,10,44,12,44,1703,9,44,3,44, - 1705,8,44,1,44,3,44,1708,8,44,1,44,1,44,1,44,3,44,1713,8,44,1,44, - 3,44,1716,8,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,5,44,1726, - 8,44,10,44,12,44,1729,9,44,3,44,1731,8,44,1,44,1,44,1,44,1,44,5, - 44,1737,8,44,10,44,12,44,1740,9,44,1,44,1,44,3,44,1744,8,44,1,44, - 1,44,3,44,1748,8,44,3,44,1750,8,44,3,44,1752,8,44,1,45,1,45,1,45, - 1,45,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,3,46,1767,8,46, - 3,46,1769,8,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47, - 1780,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48, - 1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,1801,8,48,1,49,1,49, - 1,49,1,49,1,49,1,49,5,49,1809,8,49,10,49,12,49,1812,9,49,1,49,1, - 49,1,50,1,50,1,50,1,50,1,51,1,51,3,51,1822,8,51,1,51,1,51,3,51,1826, - 8,51,3,51,1828,8,51,1,52,1,52,1,52,1,52,5,52,1834,8,52,10,52,12, - 52,1837,9,52,1,52,1,52,1,53,1,53,1,53,1,53,5,53,1845,8,53,10,53, - 12,53,1848,9,53,1,53,1,53,1,54,1,54,1,54,1,54,5,54,1856,8,54,10, - 54,12,54,1859,9,54,1,54,1,54,1,55,1,55,3,55,1865,8,55,1,55,1,55, - 1,55,1,55,1,55,1,55,1,55,1,55,1,55,5,55,1876,8,55,10,55,12,55,1879, - 9,55,1,55,1,55,1,55,3,55,1884,8,55,1,55,1,55,1,55,1,55,1,55,1,55, - 1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55, - 1,55,1,55,1,55,5,55,1908,8,55,10,55,12,55,1911,9,55,1,55,1,55,1, - 55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,1925,8,55,1, - 55,1,55,1,55,3,55,1930,8,55,1,55,1,55,3,55,1934,8,55,1,56,1,56,1, - 56,1,56,1,56,1,56,1,56,1,56,3,56,1944,8,56,1,56,1,56,1,56,1,56,3, - 56,1950,8,56,1,56,1,56,1,56,1,56,3,56,1956,8,56,1,56,1,56,1,56,1, - 56,1,56,1,56,3,56,1964,8,56,1,56,1,56,1,56,3,56,1969,8,56,1,56,1, - 56,1,56,1,56,1,56,3,56,1976,8,56,3,56,1978,8,56,1,56,1,56,1,56,1, - 56,3,56,1984,8,56,1,56,1,56,1,56,1,56,3,56,1990,8,56,1,56,1,56,3, - 56,1994,8,56,1,56,1,56,1,56,3,56,1999,8,56,1,56,1,56,1,56,1,56,1, - 56,5,56,2006,8,56,10,56,12,56,2009,9,56,1,56,1,56,3,56,2013,8,56, - 1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,5,57,2025,8,57, - 10,57,12,57,2028,9,57,1,57,1,57,1,57,1,57,1,57,5,57,2035,8,57,10, - 57,12,57,2038,9,57,3,57,2040,8,57,1,58,1,58,1,59,1,59,1,59,1,59, - 1,59,3,59,2049,8,59,1,60,1,60,1,60,3,60,2054,8,60,1,60,1,60,1,60, - 3,60,2059,8,60,3,60,2061,8,60,1,61,1,61,1,61,1,61,1,61,5,61,2068, - 8,61,10,61,12,61,2071,9,61,3,61,2073,8,61,1,61,1,61,1,61,1,61,5, - 61,2079,8,61,10,61,12,61,2082,9,61,3,61,2084,8,61,1,61,1,61,1,62, - 1,62,1,62,3,62,2091,8,62,1,62,1,62,1,62,3,62,2096,8,62,1,63,1,63, - 1,63,1,63,1,63,1,63,1,63,5,63,2105,8,63,10,63,12,63,2108,9,63,3, - 63,2110,8,63,1,63,1,63,3,63,2114,8,63,3,63,2116,8,63,1,63,1,63,1, - 63,1,63,1,63,1,63,3,63,2124,8,63,1,63,1,63,1,63,1,63,1,63,1,63,5, - 63,2132,8,63,10,63,12,63,2135,9,63,1,63,1,63,1,63,3,63,2140,8,63, - 3,63,2142,8,63,1,64,1,64,1,64,1,64,1,64,3,64,2149,8,64,1,64,1,64, - 3,64,2153,8,64,3,64,2155,8,64,1,64,1,64,1,64,1,64,1,64,3,64,2162, - 8,64,1,64,1,64,3,64,2166,8,64,3,64,2168,8,64,3,64,2170,8,64,1,65, - 1,65,1,65,1,65,1,65,5,65,2177,8,65,10,65,12,65,2180,9,65,1,65,1, - 65,1,65,1,65,1,65,1,65,1,65,1,65,3,65,2190,8,65,1,66,1,66,3,66,2194, - 8,66,1,67,1,67,1,67,1,67,1,67,1,67,5,67,2202,8,67,10,67,12,67,2205, - 9,67,1,67,1,67,1,68,1,68,1,69,1,69,1,69,3,69,2214,8,69,1,69,1,69, - 3,69,2218,8,69,1,69,1,69,1,69,1,69,1,69,1,69,5,69,2226,8,69,10,69, - 12,69,2229,9,69,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70, - 3,70,2241,8,70,1,70,1,70,1,70,1,70,1,70,1,70,3,70,2249,8,70,1,70, - 1,70,1,70,1,70,1,70,5,70,2256,8,70,10,70,12,70,2259,9,70,1,70,1, - 70,1,70,3,70,2264,8,70,1,70,1,70,1,70,1,70,1,70,1,70,3,70,2272,8, - 70,1,70,1,70,1,70,1,70,3,70,2278,8,70,1,70,1,70,3,70,2282,8,70,1, - 70,1,70,1,70,3,70,2287,8,70,1,70,1,70,1,70,3,70,2292,8,70,1,71,1, - 71,1,71,1,71,3,71,2298,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1, - 71,1,71,1,71,1,71,1,71,5,71,2312,8,71,10,71,12,71,2315,9,71,1,72, - 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, - 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,4,72,2342, - 8,72,11,72,12,72,2343,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2353, - 8,72,10,72,12,72,2356,9,72,1,72,1,72,1,72,1,72,1,72,3,72,2363,8, - 72,1,72,1,72,1,72,3,72,2368,8,72,1,72,1,72,1,72,3,72,2373,8,72,1, - 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2384,8,72,10,72, - 12,72,2387,9,72,1,72,1,72,1,72,3,72,2392,8,72,1,72,3,72,2395,8,72, - 1,72,1,72,1,72,1,72,1,72,3,72,2402,8,72,1,72,1,72,1,72,3,72,2407, - 8,72,1,72,3,72,2410,8,72,1,72,3,72,2413,8,72,1,72,1,72,1,72,3,72, - 2418,8,72,1,72,1,72,1,72,5,72,2423,8,72,10,72,12,72,2426,9,72,3, - 72,2428,8,72,1,72,1,72,1,72,1,72,1,72,5,72,2435,8,72,10,72,12,72, - 2438,9,72,3,72,2440,8,72,1,72,1,72,3,72,2444,8,72,1,72,3,72,2447, - 8,72,1,72,3,72,2450,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, - 1,72,1,72,1,72,5,72,2463,8,72,10,72,12,72,2466,9,72,3,72,2468,8, + 1,8,1,8,1,8,3,8,1003,8,8,1,8,1,8,1,8,1,8,3,8,1009,8,8,3,8,1011,8, + 8,1,8,1,8,1,8,1,8,3,8,1017,8,8,1,8,1,8,1,8,1,8,3,8,1023,8,8,3,8, + 1025,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1033,8,8,3,8,1035,8,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1045,8,8,3,8,1047,8,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1062,8,8,1,8,1,8,1,8, + 3,8,1067,8,8,1,8,1,8,1,8,1,8,1,8,3,8,1074,8,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,3,8,1084,8,8,1,8,1,8,1,8,1,8,3,8,1090,8,8,3,8,1092, + 8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1100,8,8,3,8,1102,8,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,5,8,1125,8,8,10,8,12,8,1128,9,8,3,8,1130,8,8,1,8,1,8,3, + 8,1134,8,8,1,8,1,8,3,8,1138,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,5,8,1154,8,8,10,8,12,8,1157,9,8,3,8,1159, + 8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1168,8,8,10,8,12,8,1171,9,8, + 3,8,1173,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,3,8,1189,8,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1197,8,8,10,8,12,8, + 1200,9,8,1,8,1,8,3,8,1204,8,8,1,8,1,8,1,8,1,8,3,8,1210,8,8,1,8,3, + 8,1213,8,8,1,8,1,8,1,8,1,8,1,8,4,8,1220,8,8,11,8,12,8,1221,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1234,8,8,1,9,3,9,1237,8,9, + 1,9,1,9,1,10,1,10,1,10,1,10,5,10,1245,8,10,10,10,12,10,1248,9,10, + 1,11,3,11,1251,8,11,1,11,1,11,1,12,1,12,3,12,1257,8,12,1,12,1,12, + 1,12,5,12,1262,8,12,10,12,12,12,1265,9,12,1,13,1,13,3,13,1269,8, + 13,1,14,1,14,1,14,1,14,3,14,1275,8,14,1,14,1,14,3,14,1279,8,14,1, + 14,1,14,3,14,1283,8,14,1,15,1,15,1,15,1,15,3,15,1289,8,15,1,16,1, + 16,1,16,1,16,1,17,1,17,1,17,5,17,1298,8,17,10,17,12,17,1301,9,17, + 1,18,1,18,1,18,1,18,1,19,1,19,3,19,1309,8,19,1,20,1,20,1,20,1,20, + 1,20,1,20,5,20,1317,8,20,10,20,12,20,1320,9,20,3,20,1322,8,20,1, + 20,1,20,1,20,3,20,1327,8,20,3,20,1329,8,20,1,20,1,20,1,20,1,20,1, + 20,3,20,1336,8,20,1,20,1,20,1,20,1,20,3,20,1342,8,20,3,20,1344,8, + 20,1,21,1,21,3,21,1348,8,21,1,22,1,22,1,23,1,23,1,23,1,23,1,23,1, + 23,3,23,1358,8,23,1,23,1,23,1,23,1,23,3,23,1364,8,23,1,23,5,23,1367, + 8,23,10,23,12,23,1370,9,23,1,24,1,24,1,24,1,24,1,24,1,24,1,24,5, + 24,1379,8,24,10,24,12,24,1382,9,24,1,24,1,24,1,24,1,24,3,24,1388, + 8,24,1,25,1,25,3,25,1392,8,25,1,25,3,25,1395,8,25,1,25,1,25,3,25, + 1399,8,25,1,26,1,26,3,26,1403,8,26,1,26,1,26,1,26,5,26,1408,8,26, + 10,26,12,26,1411,9,26,1,26,1,26,1,26,1,26,5,26,1417,8,26,10,26,12, + 26,1420,9,26,3,26,1422,8,26,1,26,1,26,3,26,1426,8,26,1,26,1,26,1, + 26,3,26,1431,8,26,1,26,1,26,3,26,1435,8,26,1,26,1,26,1,26,1,26,5, + 26,1441,8,26,10,26,12,26,1444,9,26,3,26,1446,8,26,1,27,3,27,1449, + 8,27,1,27,1,27,1,27,5,27,1454,8,27,10,27,12,27,1457,9,27,1,28,1, + 28,1,28,1,28,1,28,1,28,5,28,1465,8,28,10,28,12,28,1468,9,28,3,28, + 1470,8,28,1,28,1,28,1,28,1,28,1,28,1,28,5,28,1478,8,28,10,28,12, + 28,1481,9,28,3,28,1483,8,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,5, + 28,1492,8,28,10,28,12,28,1495,9,28,1,28,1,28,3,28,1499,8,28,1,29, + 1,29,1,29,1,29,5,29,1505,8,29,10,29,12,29,1508,9,29,3,29,1510,8, + 29,1,29,1,29,3,29,1514,8,29,1,30,1,30,3,30,1518,8,30,1,31,1,31,1, + 31,1,31,1,31,1,31,1,32,3,32,1527,8,32,1,32,1,32,1,32,1,32,1,32,5, + 32,1534,8,32,10,32,12,32,1537,9,32,3,32,1539,8,32,1,32,1,32,1,32, + 1,32,1,32,5,32,1546,8,32,10,32,12,32,1549,9,32,3,32,1551,8,32,1, + 32,3,32,1554,8,32,1,33,1,33,3,33,1558,8,33,1,33,1,33,1,33,1,33,1, + 33,1,34,1,34,1,35,1,35,3,35,1569,8,35,1,35,3,35,1572,8,35,1,35,3, + 35,1575,8,35,1,35,1,35,1,35,1,35,1,35,3,35,1582,8,35,1,35,3,35,1585, + 8,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36, + 1,36,1,36,1,36,1,36,1,36,3,36,1604,8,36,5,36,1606,8,36,10,36,12, + 36,1609,9,36,1,37,3,37,1612,8,37,1,37,1,37,3,37,1616,8,37,1,37,1, + 37,3,37,1620,8,37,1,37,1,37,3,37,1624,8,37,3,37,1626,8,37,1,38,1, + 38,1,38,1,38,1,38,1,38,1,38,5,38,1635,8,38,10,38,12,38,1638,9,38, + 1,38,1,38,3,38,1642,8,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39, + 1651,8,39,1,40,1,40,1,41,1,41,1,42,1,42,1,42,3,42,1660,8,42,1,42, + 3,42,1663,8,42,1,43,1,43,1,43,1,43,3,43,1669,8,43,1,44,1,44,1,44, + 1,44,1,44,1,44,1,44,1,44,5,44,1679,8,44,10,44,12,44,1682,9,44,3, + 44,1684,8,44,1,44,1,44,1,44,1,44,1,44,5,44,1691,8,44,10,44,12,44, + 1694,9,44,3,44,1696,8,44,1,44,1,44,1,44,1,44,5,44,1702,8,44,10,44, + 12,44,1705,9,44,3,44,1707,8,44,1,44,3,44,1710,8,44,1,44,1,44,1,44, + 3,44,1715,8,44,1,44,3,44,1718,8,44,1,44,1,44,1,44,1,44,1,44,1,44, + 1,44,1,44,5,44,1728,8,44,10,44,12,44,1731,9,44,3,44,1733,8,44,1, + 44,1,44,1,44,1,44,5,44,1739,8,44,10,44,12,44,1742,9,44,1,44,1,44, + 3,44,1746,8,44,1,44,1,44,3,44,1750,8,44,3,44,1752,8,44,3,44,1754, + 8,44,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46, + 1,46,3,46,1769,8,46,3,46,1771,8,46,1,47,1,47,1,47,1,47,1,47,1,47, + 1,47,1,47,1,47,3,47,1782,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48, + 1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48, + 1803,8,48,1,49,1,49,1,49,1,49,1,49,1,49,5,49,1811,8,49,10,49,12, + 49,1814,9,49,1,49,1,49,1,50,1,50,1,50,1,50,1,51,1,51,3,51,1824,8, + 51,1,51,1,51,3,51,1828,8,51,3,51,1830,8,51,1,52,1,52,1,52,1,52,5, + 52,1836,8,52,10,52,12,52,1839,9,52,1,52,1,52,1,53,1,53,1,53,1,53, + 5,53,1847,8,53,10,53,12,53,1850,9,53,1,53,1,53,1,54,1,54,1,54,1, + 54,5,54,1858,8,54,10,54,12,54,1861,9,54,1,54,1,54,1,55,1,55,3,55, + 1867,8,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,5,55,1878, + 8,55,10,55,12,55,1881,9,55,1,55,1,55,1,55,3,55,1886,8,55,1,55,1, + 55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1, + 55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,5,55,1910,8,55,10,55,12,55, + 1913,9,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55, + 1,55,3,55,1927,8,55,1,55,1,55,1,55,3,55,1932,8,55,1,55,1,55,3,55, + 1936,8,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,3,56,1946,8,56, + 1,56,1,56,1,56,1,56,3,56,1952,8,56,1,56,1,56,1,56,1,56,3,56,1958, + 8,56,1,56,1,56,1,56,1,56,1,56,1,56,3,56,1966,8,56,1,56,1,56,1,56, + 3,56,1971,8,56,1,56,1,56,1,56,1,56,1,56,3,56,1978,8,56,3,56,1980, + 8,56,1,56,1,56,1,56,1,56,3,56,1986,8,56,1,56,1,56,1,56,1,56,3,56, + 1992,8,56,1,56,1,56,3,56,1996,8,56,1,56,1,56,1,56,3,56,2001,8,56, + 1,56,1,56,1,56,1,56,1,56,5,56,2008,8,56,10,56,12,56,2011,9,56,1, + 56,1,56,3,56,2015,8,56,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1, + 57,1,57,5,57,2027,8,57,10,57,12,57,2030,9,57,1,57,1,57,1,57,1,57, + 1,57,5,57,2037,8,57,10,57,12,57,2040,9,57,3,57,2042,8,57,1,58,1, + 58,1,59,1,59,1,59,1,59,1,59,3,59,2051,8,59,1,60,1,60,1,60,3,60,2056, + 8,60,1,60,1,60,1,60,3,60,2061,8,60,3,60,2063,8,60,1,61,1,61,1,61, + 1,61,1,61,5,61,2070,8,61,10,61,12,61,2073,9,61,3,61,2075,8,61,1, + 61,1,61,1,61,1,61,5,61,2081,8,61,10,61,12,61,2084,9,61,3,61,2086, + 8,61,1,61,1,61,1,62,1,62,1,62,3,62,2093,8,62,1,62,1,62,1,62,3,62, + 2098,8,62,1,63,1,63,1,63,1,63,1,63,1,63,1,63,5,63,2107,8,63,10,63, + 12,63,2110,9,63,3,63,2112,8,63,1,63,1,63,3,63,2116,8,63,3,63,2118, + 8,63,1,63,1,63,1,63,1,63,1,63,1,63,3,63,2126,8,63,1,63,1,63,1,63, + 1,63,1,63,1,63,5,63,2134,8,63,10,63,12,63,2137,9,63,1,63,1,63,1, + 63,3,63,2142,8,63,3,63,2144,8,63,1,64,1,64,1,64,1,64,1,64,3,64,2151, + 8,64,1,64,1,64,3,64,2155,8,64,3,64,2157,8,64,1,64,1,64,1,64,1,64, + 1,64,3,64,2164,8,64,1,64,1,64,3,64,2168,8,64,3,64,2170,8,64,3,64, + 2172,8,64,1,65,1,65,1,65,1,65,1,65,5,65,2179,8,65,10,65,12,65,2182, + 9,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,3,65,2192,8,65,1,66, + 1,66,3,66,2196,8,66,1,67,1,67,1,67,1,67,1,67,1,67,5,67,2204,8,67, + 10,67,12,67,2207,9,67,1,67,1,67,1,68,1,68,1,69,1,69,1,69,3,69,2216, + 8,69,1,69,1,69,3,69,2220,8,69,1,69,1,69,1,69,1,69,1,69,1,69,5,69, + 2228,8,69,10,69,12,69,2231,9,69,1,70,1,70,1,70,1,70,1,70,1,70,1, + 70,1,70,1,70,1,70,3,70,2243,8,70,1,70,1,70,1,70,1,70,1,70,1,70,3, + 70,2251,8,70,1,70,1,70,1,70,1,70,1,70,5,70,2258,8,70,10,70,12,70, + 2261,9,70,1,70,1,70,1,70,3,70,2266,8,70,1,70,1,70,1,70,1,70,1,70, + 1,70,3,70,2274,8,70,1,70,1,70,1,70,1,70,3,70,2280,8,70,1,70,1,70, + 3,70,2284,8,70,1,70,1,70,1,70,3,70,2289,8,70,1,70,1,70,1,70,3,70, + 2294,8,70,1,71,1,71,1,71,1,71,3,71,2300,8,71,1,71,1,71,1,71,1,71, + 1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,5,71,2314,8,71,10,71,12, + 71,2317,9,71,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1, 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1, - 72,1,72,1,72,4,72,2485,8,72,11,72,12,72,2486,1,72,1,72,3,72,2491, - 8,72,1,72,1,72,1,72,1,72,4,72,2497,8,72,11,72,12,72,2498,1,72,1, - 72,3,72,2503,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1, - 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2526, - 8,72,10,72,12,72,2529,9,72,3,72,2531,8,72,1,72,1,72,1,72,1,72,1, - 72,1,72,1,72,3,72,2540,8,72,1,72,1,72,1,72,1,72,3,72,2546,8,72,1, - 72,1,72,1,72,1,72,3,72,2552,8,72,1,72,1,72,1,72,1,72,3,72,2558,8, - 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2567,8,72,1,72,3,72,2570, - 8,72,1,72,3,72,2573,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, - 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2592,8,72,1,72, - 1,72,1,72,1,72,1,72,1,72,1,72,3,72,2601,8,72,1,72,1,72,1,72,1,72, + 72,1,72,4,72,2344,8,72,11,72,12,72,2345,1,72,1,72,1,72,1,72,1,72, + 1,72,1,72,5,72,2355,8,72,10,72,12,72,2358,9,72,1,72,1,72,1,72,1, + 72,1,72,3,72,2365,8,72,1,72,1,72,1,72,3,72,2370,8,72,1,72,1,72,1, + 72,3,72,2375,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5, + 72,2386,8,72,10,72,12,72,2389,9,72,1,72,1,72,1,72,3,72,2394,8,72, + 1,72,3,72,2397,8,72,1,72,1,72,1,72,1,72,1,72,3,72,2404,8,72,1,72, + 1,72,1,72,3,72,2409,8,72,1,72,3,72,2412,8,72,1,72,3,72,2415,8,72, + 1,72,1,72,1,72,3,72,2420,8,72,1,72,1,72,1,72,5,72,2425,8,72,10,72, + 12,72,2428,9,72,3,72,2430,8,72,1,72,1,72,1,72,1,72,1,72,5,72,2437, + 8,72,10,72,12,72,2440,9,72,3,72,2442,8,72,1,72,1,72,3,72,2446,8, + 72,1,72,3,72,2449,8,72,1,72,3,72,2452,8,72,1,72,1,72,1,72,1,72,1, + 72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2465,8,72,10,72,12,72,2468, + 9,72,3,72,2470,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, + 1,72,1,72,1,72,1,72,1,72,1,72,4,72,2487,8,72,11,72,12,72,2488,1, + 72,1,72,3,72,2493,8,72,1,72,1,72,1,72,1,72,4,72,2499,8,72,11,72, + 12,72,2500,1,72,1,72,3,72,2505,8,72,1,72,1,72,1,72,1,72,1,72,1,72, + 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, + 1,72,1,72,5,72,2528,8,72,10,72,12,72,2531,9,72,3,72,2533,8,72,1, + 72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2542,8,72,1,72,1,72,1,72,1, + 72,3,72,2548,8,72,1,72,1,72,1,72,1,72,3,72,2554,8,72,1,72,1,72,1, + 72,1,72,3,72,2560,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2569, + 8,72,1,72,3,72,2572,8,72,1,72,3,72,2575,8,72,1,72,1,72,1,72,1,72, 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, - 1,72,5,72,2621,8,72,10,72,12,72,2624,9,72,3,72,2626,8,72,1,72,1, - 72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2636,8,72,1,72,1,72,1,72,1, - 72,1,72,1,72,1,72,3,72,2645,8,72,1,72,1,72,1,72,1,72,3,72,2651,8, - 72,1,72,1,72,1,72,1,72,3,72,2657,8,72,1,72,1,72,1,72,1,72,1,72,1, - 72,1,72,1,72,1,72,3,72,2668,8,72,3,72,2670,8,72,1,72,1,72,1,72,3, - 72,2675,8,72,1,72,1,72,1,72,1,72,1,72,3,72,2682,8,72,3,72,2684,8, - 72,1,72,1,72,1,72,1,72,3,72,2690,8,72,1,72,1,72,1,72,1,72,3,72,2696, - 8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2705,8,72,10,72,12, - 72,2708,9,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2716,8,72,1,72,1, - 72,1,72,3,72,2721,8,72,1,72,1,72,1,72,3,72,2726,8,72,3,72,2728,8, - 72,3,72,2730,8,72,1,72,1,72,1,72,1,72,3,72,2736,8,72,3,72,2738,8, - 72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2746,8,72,10,72,12,72,2749, - 9,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2757,8,72,3,72,2759,8,72, - 1,72,1,72,1,72,1,72,3,72,2765,8,72,3,72,2767,8,72,1,72,3,72,2770, - 8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2780,8,72,10,72, - 12,72,2783,9,72,1,73,1,73,1,73,1,73,1,73,3,73,2790,8,73,1,73,1,73, - 1,73,1,73,5,73,2796,8,73,10,73,12,73,2799,9,73,3,73,2801,8,73,1, - 74,1,74,1,74,3,74,2806,8,74,1,75,1,75,1,75,3,75,2811,8,75,1,76,1, - 76,1,76,1,76,1,77,1,77,1,78,1,78,1,78,1,78,3,78,2823,8,78,1,79,1, - 79,3,79,2827,8,79,1,79,1,79,3,79,2831,8,79,1,79,3,79,2834,8,79,3, - 79,2836,8,79,1,80,1,80,1,80,1,80,1,80,1,80,3,80,2844,8,80,1,81,3, - 81,2847,8,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,3,81,2857,8, - 81,1,82,1,82,1,83,1,83,1,83,1,83,3,83,2865,8,83,1,84,1,84,1,84,1, - 84,3,84,2871,8,84,3,84,2873,8,84,1,85,1,85,1,85,1,85,1,85,1,85,3, - 85,2881,8,85,1,86,1,86,1,87,1,87,1,88,1,88,1,89,1,89,3,89,2891,8, - 89,1,89,1,89,1,89,1,89,3,89,2897,8,89,1,90,1,90,1,91,1,91,1,92,1, - 92,1,92,1,92,1,92,1,92,5,92,2909,8,92,10,92,12,92,2912,9,92,1,92, - 1,92,1,92,1,92,1,92,1,92,3,92,2920,8,92,1,92,1,92,1,92,1,92,1,92, - 3,92,2927,8,92,1,92,1,92,1,92,3,92,2932,8,92,1,92,1,92,1,92,1,92, - 1,92,3,92,2939,8,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,3,92, - 2949,8,92,1,92,1,92,1,92,3,92,2954,8,92,1,92,1,92,1,92,1,92,1,92, - 3,92,2961,8,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92, - 1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,5,92, - 2985,8,92,10,92,12,92,2988,9,92,1,92,1,92,3,92,2992,8,92,3,92,2994, - 8,92,1,92,1,92,1,92,1,92,1,92,3,92,3001,8,92,5,92,3003,8,92,10,92, - 12,92,3006,9,92,1,93,1,93,1,93,1,93,3,93,3012,8,93,1,94,1,94,3,94, - 3016,8,94,1,95,1,95,1,95,1,95,1,95,1,96,1,96,1,96,1,96,1,96,1,96, - 1,97,1,97,1,97,1,97,3,97,3033,8,97,1,97,1,97,1,97,1,97,1,97,1,97, - 1,97,1,97,1,97,1,97,1,97,5,97,3046,8,97,10,97,12,97,3049,9,97,1, - 97,1,97,1,97,1,97,3,97,3055,8,97,1,97,1,97,1,97,1,97,1,97,1,97,1, - 97,3,97,3064,8,97,1,97,1,97,1,97,1,97,1,97,1,97,5,97,3072,8,97,10, - 97,12,97,3075,9,97,1,97,1,97,3,97,3079,8,97,1,97,1,97,1,97,1,97, - 1,97,5,97,3086,8,97,10,97,12,97,3089,9,97,1,97,1,97,3,97,3093,8, - 97,1,98,1,98,1,98,1,98,1,98,1,98,3,98,3101,8,98,1,99,1,99,1,99,1, - 99,5,99,3107,8,99,10,99,12,99,3110,9,99,3,99,3112,8,99,1,99,1,99, - 1,99,1,99,3,99,3118,8,99,1,99,3,99,3121,8,99,1,99,1,99,1,99,1,99, - 1,99,3,99,3128,8,99,1,99,1,99,1,99,1,99,5,99,3134,8,99,10,99,12, - 99,3137,9,99,3,99,3139,8,99,1,99,1,99,1,99,1,99,5,99,3145,8,99,10, - 99,12,99,3148,9,99,3,99,3150,8,99,1,100,1,100,1,100,1,100,1,100, + 3,72,2594,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2603,8,72, + 1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72, + 1,72,1,72,1,72,1,72,1,72,5,72,2623,8,72,10,72,12,72,2626,9,72,3, + 72,2628,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2638,8, + 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2647,8,72,1,72,1,72,1, + 72,1,72,3,72,2653,8,72,1,72,1,72,1,72,1,72,3,72,2659,8,72,1,72,1, + 72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2670,8,72,3,72,2672,8, + 72,1,72,1,72,1,72,3,72,2677,8,72,1,72,1,72,1,72,1,72,1,72,3,72,2684, + 8,72,3,72,2686,8,72,1,72,1,72,1,72,1,72,3,72,2692,8,72,1,72,1,72, + 1,72,1,72,3,72,2698,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72, + 2707,8,72,10,72,12,72,2710,9,72,1,72,1,72,1,72,1,72,1,72,1,72,3, + 72,2718,8,72,1,72,1,72,1,72,3,72,2723,8,72,1,72,1,72,1,72,3,72,2728, + 8,72,3,72,2730,8,72,3,72,2732,8,72,1,72,1,72,1,72,1,72,3,72,2738, + 8,72,3,72,2740,8,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2748,8,72, + 10,72,12,72,2751,9,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,2759,8, + 72,3,72,2761,8,72,1,72,1,72,1,72,1,72,3,72,2767,8,72,3,72,2769,8, + 72,1,72,3,72,2772,8,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,1,72,5, + 72,2782,8,72,10,72,12,72,2785,9,72,1,73,1,73,1,73,1,73,1,73,3,73, + 2792,8,73,1,73,1,73,1,73,1,73,5,73,2798,8,73,10,73,12,73,2801,9, + 73,3,73,2803,8,73,1,74,1,74,1,74,3,74,2808,8,74,1,75,1,75,1,75,3, + 75,2813,8,75,1,76,1,76,1,76,1,76,1,77,1,77,1,78,1,78,1,78,1,78,3, + 78,2825,8,78,1,79,1,79,3,79,2829,8,79,1,79,1,79,3,79,2833,8,79,1, + 79,3,79,2836,8,79,3,79,2838,8,79,1,80,1,80,1,80,1,80,1,80,1,80,3, + 80,2846,8,80,1,81,3,81,2849,8,81,1,81,1,81,1,81,1,81,1,81,1,81,1, + 81,1,81,3,81,2859,8,81,1,82,1,82,1,83,1,83,1,83,1,83,3,83,2867,8, + 83,1,84,1,84,1,84,1,84,3,84,2873,8,84,3,84,2875,8,84,1,85,1,85,1, + 85,1,85,1,85,1,85,3,85,2883,8,85,1,86,1,86,1,87,1,87,1,88,1,88,1, + 89,1,89,3,89,2893,8,89,1,89,1,89,1,89,1,89,3,89,2899,8,89,1,90,1, + 90,1,91,1,91,1,92,1,92,1,92,1,92,1,92,1,92,5,92,2911,8,92,10,92, + 12,92,2914,9,92,1,92,1,92,1,92,1,92,1,92,1,92,3,92,2922,8,92,1,92, + 1,92,1,92,1,92,1,92,3,92,2929,8,92,1,92,1,92,1,92,3,92,2934,8,92, + 1,92,1,92,1,92,1,92,1,92,3,92,2941,8,92,1,92,1,92,1,92,1,92,1,92, + 1,92,1,92,1,92,3,92,2951,8,92,1,92,1,92,1,92,3,92,2956,8,92,1,92, + 1,92,1,92,1,92,1,92,3,92,2963,8,92,1,92,1,92,1,92,1,92,1,92,1,92, + 1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92, + 1,92,1,92,1,92,5,92,2987,8,92,10,92,12,92,2990,9,92,1,92,1,92,3, + 92,2994,8,92,3,92,2996,8,92,1,92,1,92,1,92,1,92,1,92,3,92,3003,8, + 92,5,92,3005,8,92,10,92,12,92,3008,9,92,1,93,1,93,1,93,1,93,3,93, + 3014,8,93,1,94,1,94,3,94,3018,8,94,1,95,1,95,1,95,1,95,1,95,1,96, + 1,96,1,96,1,96,1,96,1,96,1,97,1,97,1,97,1,97,3,97,3035,8,97,1,97, + 1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,5,97,3048,8,97, + 10,97,12,97,3051,9,97,1,97,1,97,1,97,1,97,3,97,3057,8,97,1,97,1, + 97,1,97,1,97,1,97,1,97,1,97,3,97,3066,8,97,1,97,1,97,1,97,1,97,1, + 97,1,97,5,97,3074,8,97,10,97,12,97,3077,9,97,1,97,1,97,3,97,3081, + 8,97,1,97,1,97,1,97,1,97,1,97,5,97,3088,8,97,10,97,12,97,3091,9, + 97,1,97,1,97,3,97,3095,8,97,1,98,1,98,1,98,1,98,1,98,1,98,3,98,3103, + 8,98,1,99,1,99,1,99,1,99,5,99,3109,8,99,10,99,12,99,3112,9,99,3, + 99,3114,8,99,1,99,1,99,1,99,1,99,3,99,3120,8,99,1,99,3,99,3123,8, + 99,1,99,1,99,1,99,1,99,1,99,3,99,3130,8,99,1,99,1,99,1,99,1,99,5, + 99,3136,8,99,10,99,12,99,3139,9,99,3,99,3141,8,99,1,99,1,99,1,99, + 1,99,5,99,3147,8,99,10,99,12,99,3150,9,99,3,99,3152,8,99,1,100,1, + 100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100, 1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100, - 1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,3,100,3176,8,100, - 1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,3,101,3187, - 8,101,1,102,1,102,1,102,3,102,3192,8,102,1,102,1,102,1,102,1,102, - 1,102,5,102,3199,8,102,10,102,12,102,3202,9,102,1,103,1,103,1,103, - 1,103,1,103,1,103,1,103,1,103,5,103,3212,8,103,10,103,12,103,3215, - 9,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103, - 1,103,1,103,3,103,3229,8,103,1,104,1,104,3,104,3233,8,104,1,104, - 1,104,3,104,3237,8,104,1,104,1,104,3,104,3241,8,104,1,104,1,104, - 1,104,1,104,3,104,3247,8,104,1,104,1,104,3,104,3251,8,104,1,104, - 1,104,3,104,3255,8,104,1,104,1,104,3,104,3259,8,104,3,104,3261,8, - 104,1,105,1,105,1,105,1,105,1,106,1,106,1,106,1,106,3,106,3271,8, - 106,1,107,1,107,1,107,1,107,1,107,3,107,3278,8,107,1,108,1,108,1, - 108,1,108,1,108,1,108,1,108,3,108,3287,8,108,1,109,1,109,1,109,1, - 109,1,109,3,109,3294,8,109,1,110,1,110,1,110,1,110,1,110,3,110,3301, - 8,110,1,111,1,111,1,111,5,111,3306,8,111,10,111,12,111,3309,9,111, - 1,112,1,112,1,112,1,112,5,112,3315,8,112,10,112,12,112,3318,9,112, - 1,112,1,112,1,113,1,113,1,113,1,113,1,113,5,113,3327,8,113,10,113, - 12,113,3330,9,113,3,113,3332,8,113,1,113,1,113,1,114,3,114,3337, - 8,114,1,114,1,114,1,115,1,115,1,115,1,116,1,116,1,116,3,116,3347, - 8,116,1,116,1,116,1,116,1,116,1,116,1,116,1,116,1,116,1,116,1,116, - 1,116,1,116,1,116,1,116,3,116,3363,8,116,1,117,1,117,1,117,1,117, - 1,117,1,117,1,117,1,117,1,117,1,117,4,117,3375,8,117,11,117,12,117, - 3376,1,117,3,117,3380,8,117,1,117,1,117,1,117,1,117,1,117,4,117, - 3387,8,117,11,117,12,117,3388,1,117,3,117,3392,8,117,1,117,1,117, - 1,117,1,117,1,117,1,117,1,117,1,117,5,117,3402,8,117,10,117,12,117, - 3405,9,117,1,117,3,117,3408,8,117,1,117,1,117,1,117,1,117,1,117, - 1,117,1,117,1,117,1,117,1,117,1,117,5,117,3421,8,117,10,117,12,117, - 3424,9,117,1,117,3,117,3427,8,117,1,117,1,117,1,117,1,117,3,117, - 3433,8,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,3,117, - 3443,8,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117, - 1,117,3,117,3455,8,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117, - 3,117,3464,8,117,1,118,1,118,1,118,1,118,1,118,1,119,1,119,1,119, - 1,119,1,119,1,120,1,120,1,120,1,121,1,121,1,121,1,121,5,121,3483, - 8,121,10,121,12,121,3486,9,121,1,121,1,121,1,121,3,121,3491,8,121, - 1,122,1,122,1,122,4,122,3496,8,122,11,122,12,122,3497,1,123,1,123, - 1,123,1,123,1,123,1,123,3,123,3506,8,123,1,124,1,124,1,124,3,124, - 3511,8,124,1,125,3,125,3514,8,125,1,125,1,125,1,126,1,126,3,126, - 3520,8,126,1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127, - 1,127,1,127,3,127,3533,8,127,1,128,1,128,1,128,1,128,1,128,1,128, - 1,128,1,128,1,128,1,128,1,128,3,128,3546,8,128,1,129,1,129,1,129, - 1,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129,3,129,3559,8,129, - 1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130, - 3,130,3572,8,130,1,131,1,131,1,131,1,131,1,131,3,131,3579,8,131, - 1,132,1,132,1,132,1,132,1,132,3,132,3586,8,132,1,133,1,133,1,134, - 1,134,1,135,1,135,1,136,1,136,1,137,1,137,3,137,3598,8,137,1,138, - 1,138,1,139,1,139,1,139,5,139,3605,8,139,10,139,12,139,3608,9,139, - 1,140,1,140,1,140,1,140,1,140,1,140,1,141,1,141,1,142,1,142,1,142, - 3,142,3621,8,142,1,143,1,143,1,143,1,143,1,143,3,143,3628,8,143, - 1,144,1,144,1,144,5,144,3633,8,144,10,144,12,144,3636,9,144,1,145, - 1,145,1,145,1,145,1,145,1,145,1,145,3,145,3645,8,145,1,146,1,146, - 1,146,1,146,1,146,3,146,3652,8,146,1,147,3,147,3655,8,147,1,147, - 1,147,3,147,3659,8,147,1,147,1,147,3,147,3663,8,147,1,147,3,147, - 3666,8,147,1,148,1,148,3,148,3670,8,148,1,149,1,149,1,149,0,7,46, - 72,138,142,144,184,204,150,0,2,4,6,8,10,12,14,16,18,20,22,24,26, + 1,100,3,100,3178,8,100,1,101,1,101,1,101,1,101,1,101,1,101,1,101, + 1,101,1,101,3,101,3189,8,101,1,102,1,102,1,102,3,102,3194,8,102, + 1,102,1,102,1,102,1,102,1,102,5,102,3201,8,102,10,102,12,102,3204, + 9,102,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,5,103,3214, + 8,103,10,103,12,103,3217,9,103,1,103,1,103,1,103,1,103,1,103,1,103, + 1,103,1,103,1,103,1,103,1,103,1,103,3,103,3231,8,103,1,104,1,104, + 3,104,3235,8,104,1,104,1,104,3,104,3239,8,104,1,104,1,104,3,104, + 3243,8,104,1,104,1,104,1,104,1,104,3,104,3249,8,104,1,104,1,104, + 3,104,3253,8,104,1,104,1,104,3,104,3257,8,104,1,104,1,104,3,104, + 3261,8,104,3,104,3263,8,104,1,105,1,105,1,105,1,105,1,106,1,106, + 1,106,1,106,3,106,3273,8,106,1,107,1,107,1,107,1,107,1,107,3,107, + 3280,8,107,1,108,1,108,1,108,1,108,1,108,1,108,1,108,3,108,3289, + 8,108,1,109,1,109,1,109,1,109,1,109,3,109,3296,8,109,1,110,1,110, + 1,110,1,110,1,110,3,110,3303,8,110,1,111,1,111,1,111,5,111,3308, + 8,111,10,111,12,111,3311,9,111,1,112,1,112,1,112,1,112,5,112,3317, + 8,112,10,112,12,112,3320,9,112,1,112,1,112,1,113,1,113,1,113,1,113, + 1,113,5,113,3329,8,113,10,113,12,113,3332,9,113,3,113,3334,8,113, + 1,113,1,113,1,114,1,114,1,114,1,114,1,114,5,114,3343,8,114,10,114, + 12,114,3346,9,114,3,114,3348,8,114,1,114,1,114,1,115,3,115,3353, + 8,115,1,115,1,115,1,116,1,116,1,116,1,117,1,117,1,117,3,117,3363, + 8,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117, + 1,117,1,117,1,117,1,117,3,117,3379,8,117,1,118,1,118,1,118,1,118, + 1,118,1,118,1,118,1,118,1,118,1,118,4,118,3391,8,118,11,118,12,118, + 3392,1,118,3,118,3396,8,118,1,118,1,118,1,118,1,118,1,118,4,118, + 3403,8,118,11,118,12,118,3404,1,118,3,118,3408,8,118,1,118,1,118, + 1,118,1,118,1,118,1,118,1,118,1,118,5,118,3418,8,118,10,118,12,118, + 3421,9,118,1,118,3,118,3424,8,118,1,118,1,118,1,118,1,118,1,118, + 1,118,1,118,1,118,1,118,1,118,1,118,5,118,3437,8,118,10,118,12,118, + 3440,9,118,1,118,3,118,3443,8,118,1,118,1,118,1,118,1,118,3,118, + 3449,8,118,1,118,1,118,1,118,1,118,1,118,1,118,1,118,1,118,3,118, + 3459,8,118,1,118,1,118,1,118,1,118,1,118,1,118,1,118,1,118,1,118, + 1,118,3,118,3471,8,118,1,118,1,118,1,118,1,118,1,118,1,118,1,118, + 3,118,3480,8,118,1,119,1,119,1,119,1,119,1,119,1,120,1,120,1,120, + 1,120,1,120,1,121,1,121,1,121,1,122,1,122,1,122,1,122,5,122,3499, + 8,122,10,122,12,122,3502,9,122,1,122,1,122,1,122,3,122,3507,8,122, + 1,123,1,123,1,123,4,123,3512,8,123,11,123,12,123,3513,1,124,1,124, + 1,124,1,124,1,124,1,124,3,124,3522,8,124,1,125,1,125,1,125,3,125, + 3527,8,125,1,126,3,126,3530,8,126,1,126,1,126,1,127,1,127,3,127, + 3536,8,127,1,128,1,128,1,128,1,128,1,128,1,128,1,128,1,128,1,128, + 1,128,1,128,3,128,3549,8,128,1,129,1,129,1,129,1,129,1,129,1,129, + 1,129,1,129,1,129,1,129,1,129,3,129,3562,8,129,1,130,1,130,1,130, + 1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,3,130,3575,8,130, + 1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131, + 3,131,3588,8,131,1,132,1,132,1,132,1,132,1,132,3,132,3595,8,132, + 1,133,1,133,1,133,1,133,1,133,3,133,3602,8,133,1,134,1,134,1,135, + 1,135,1,136,1,136,1,137,1,137,1,138,1,138,3,138,3614,8,138,1,139, + 1,139,1,140,1,140,1,140,5,140,3621,8,140,10,140,12,140,3624,9,140, + 1,141,1,141,1,141,1,141,1,141,1,141,1,142,1,142,1,143,1,143,1,143, + 3,143,3637,8,143,1,144,1,144,1,144,1,144,1,144,3,144,3644,8,144, + 1,145,1,145,1,145,5,145,3649,8,145,10,145,12,145,3652,9,145,1,146, + 1,146,1,146,1,146,1,146,1,146,1,146,3,146,3661,8,146,1,147,1,147, + 1,147,1,147,1,147,3,147,3668,8,147,1,148,3,148,3671,8,148,1,148, + 1,148,3,148,3675,8,148,1,148,1,148,3,148,3679,8,148,1,148,3,148, + 3682,8,148,1,149,1,149,3,149,3686,8,149,1,150,1,150,1,150,0,7,46, + 72,138,142,144,184,204,151,0,2,4,6,8,10,12,14,16,18,20,22,24,26, 28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70, 72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110, 112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142, @@ -16864,1251 +16922,1257 @@ export class TrinoSqlParser extends SQLParserBase { 176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206, 208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238, 240,242,244,246,248,250,252,254,256,258,260,262,264,266,268,270, - 272,274,276,278,280,282,284,286,288,290,292,294,296,298,0,35,2,0, - 39,39,229,229,2,0,72,72,131,131,2,0,105,105,122,122,2,0,92,92,123, - 123,1,0,239,240,2,0,101,101,174,174,2,0,324,324,329,329,2,0,91,91, - 281,281,2,0,29,29,75,75,2,0,101,101,148,148,2,0,22,22,79,79,2,0, - 33,33,259,259,3,0,35,35,150,150,270,270,2,0,124,124,247,247,2,0, - 85,85,89,89,2,0,144,144,189,189,2,0,125,125,197,197,2,0,54,54,281, - 281,1,0,318,319,1,0,320,322,1,0,291,293,4,0,89,89,97,97,273,273, - 283,283,2,0,49,49,280,280,2,0,100,100,241,241,1,0,312,317,3,0,22, - 22,26,26,254,254,2,0,97,97,273,273,5,0,67,67,118,118,170,171,245, - 245,310,310,1,0,175,178,2,0,102,102,212,212,3,0,113,113,137,137, - 263,263,4,0,80,80,132,132,160,160,294,294,2,0,192,192,309,309,2, - 0,268,268,298,298,54,0,18,22,24,24,26,27,29,33,35,35,37,39,42,49, - 51,52,56,56,65,67,69,72,74,75,77,78,80,82,85,87,89,89,92,92,95,95, - 98,102,104,104,107,113,116,116,118,121,123,124,126,126,129,129,131, - 132,134,135,137,137,144,151,153,153,155,155,157,157,160,171,173, - 180,184,189,191,193,196,196,198,213,215,220,222,233,235,237,239, - 247,249,259,261,264,266,271,274,276,278,280,282,284,286,289,291, - 295,297,299,302,303,305,311,4228,0,303,1,0,0,0,2,308,1,0,0,0,4,310, - 1,0,0,0,6,314,1,0,0,0,8,318,1,0,0,0,10,322,1,0,0,0,12,326,1,0,0, - 0,14,330,1,0,0,0,16,1231,1,0,0,0,18,1234,1,0,0,0,20,1238,1,0,0,0, - 22,1248,1,0,0,0,24,1252,1,0,0,0,26,1266,1,0,0,0,28,1268,1,0,0,0, - 30,1282,1,0,0,0,32,1288,1,0,0,0,34,1292,1,0,0,0,36,1300,1,0,0,0, - 38,1306,1,0,0,0,40,1308,1,0,0,0,42,1345,1,0,0,0,44,1347,1,0,0,0, - 46,1349,1,0,0,0,48,1385,1,0,0,0,50,1389,1,0,0,0,52,1398,1,0,0,0, - 54,1446,1,0,0,0,56,1496,1,0,0,0,58,1511,1,0,0,0,60,1515,1,0,0,0, - 62,1517,1,0,0,0,64,1524,1,0,0,0,66,1553,1,0,0,0,68,1562,1,0,0,0, - 70,1582,1,0,0,0,72,1584,1,0,0,0,74,1623,1,0,0,0,76,1639,1,0,0,0, - 78,1641,1,0,0,0,80,1650,1,0,0,0,82,1652,1,0,0,0,84,1660,1,0,0,0, - 86,1666,1,0,0,0,88,1668,1,0,0,0,90,1753,1,0,0,0,92,1768,1,0,0,0, - 94,1779,1,0,0,0,96,1800,1,0,0,0,98,1802,1,0,0,0,100,1815,1,0,0,0, - 102,1819,1,0,0,0,104,1829,1,0,0,0,106,1840,1,0,0,0,108,1851,1,0, - 0,0,110,1933,1,0,0,0,112,2012,1,0,0,0,114,2039,1,0,0,0,116,2041, - 1,0,0,0,118,2048,1,0,0,0,120,2060,1,0,0,0,122,2062,1,0,0,0,124,2090, - 1,0,0,0,126,2097,1,0,0,0,128,2169,1,0,0,0,130,2189,1,0,0,0,132,2191, - 1,0,0,0,134,2195,1,0,0,0,136,2208,1,0,0,0,138,2217,1,0,0,0,140,2291, - 1,0,0,0,142,2297,1,0,0,0,144,2769,1,0,0,0,146,2784,1,0,0,0,148,2802, - 1,0,0,0,150,2807,1,0,0,0,152,2812,1,0,0,0,154,2816,1,0,0,0,156,2822, - 1,0,0,0,158,2835,1,0,0,0,160,2843,1,0,0,0,162,2856,1,0,0,0,164,2858, - 1,0,0,0,166,2864,1,0,0,0,168,2872,1,0,0,0,170,2880,1,0,0,0,172,2882, - 1,0,0,0,174,2884,1,0,0,0,176,2886,1,0,0,0,178,2888,1,0,0,0,180,2898, - 1,0,0,0,182,2900,1,0,0,0,184,2993,1,0,0,0,186,3011,1,0,0,0,188,3015, - 1,0,0,0,190,3017,1,0,0,0,192,3022,1,0,0,0,194,3092,1,0,0,0,196,3094, - 1,0,0,0,198,3111,1,0,0,0,200,3175,1,0,0,0,202,3186,1,0,0,0,204,3188, - 1,0,0,0,206,3228,1,0,0,0,208,3260,1,0,0,0,210,3262,1,0,0,0,212,3270, - 1,0,0,0,214,3277,1,0,0,0,216,3286,1,0,0,0,218,3293,1,0,0,0,220,3300, - 1,0,0,0,222,3302,1,0,0,0,224,3310,1,0,0,0,226,3321,1,0,0,0,228,3336, - 1,0,0,0,230,3340,1,0,0,0,232,3362,1,0,0,0,234,3463,1,0,0,0,236,3465, - 1,0,0,0,238,3470,1,0,0,0,240,3475,1,0,0,0,242,3478,1,0,0,0,244,3495, - 1,0,0,0,246,3505,1,0,0,0,248,3510,1,0,0,0,250,3513,1,0,0,0,252,3519, - 1,0,0,0,254,3532,1,0,0,0,256,3545,1,0,0,0,258,3558,1,0,0,0,260,3571, - 1,0,0,0,262,3578,1,0,0,0,264,3585,1,0,0,0,266,3587,1,0,0,0,268,3589, - 1,0,0,0,270,3591,1,0,0,0,272,3593,1,0,0,0,274,3597,1,0,0,0,276,3599, - 1,0,0,0,278,3601,1,0,0,0,280,3609,1,0,0,0,282,3615,1,0,0,0,284,3620, - 1,0,0,0,286,3627,1,0,0,0,288,3629,1,0,0,0,290,3644,1,0,0,0,292,3651, - 1,0,0,0,294,3665,1,0,0,0,296,3669,1,0,0,0,298,3671,1,0,0,0,300,302, - 3,2,1,0,301,300,1,0,0,0,302,305,1,0,0,0,303,301,1,0,0,0,303,304, - 1,0,0,0,304,306,1,0,0,0,305,303,1,0,0,0,306,307,5,0,0,1,307,1,1, - 0,0,0,308,309,3,4,2,0,309,3,1,0,0,0,310,312,3,16,8,0,311,313,5,325, - 0,0,312,311,1,0,0,0,312,313,1,0,0,0,313,5,1,0,0,0,314,316,3,136, - 68,0,315,317,5,325,0,0,316,315,1,0,0,0,316,317,1,0,0,0,317,7,1,0, - 0,0,318,320,3,222,111,0,319,321,5,325,0,0,320,319,1,0,0,0,320,321, - 1,0,0,0,321,9,1,0,0,0,322,324,3,184,92,0,323,325,5,325,0,0,324,323, - 1,0,0,0,324,325,1,0,0,0,325,11,1,0,0,0,326,328,3,204,102,0,327,329, - 5,325,0,0,328,327,1,0,0,0,328,329,1,0,0,0,329,13,1,0,0,0,330,331, - 3,224,112,0,331,332,5,0,0,1,332,15,1,0,0,0,333,1232,3,18,9,0,334, - 335,5,288,0,0,335,1232,3,262,131,0,336,337,5,53,0,0,337,341,5,42, - 0,0,338,339,5,119,0,0,339,340,5,182,0,0,340,342,5,94,0,0,341,338, - 1,0,0,0,341,342,1,0,0,0,342,343,1,0,0,0,343,344,3,268,134,0,344, - 345,5,290,0,0,345,348,3,292,146,0,346,347,5,46,0,0,347,349,3,168, - 84,0,348,346,1,0,0,0,348,349,1,0,0,0,349,352,1,0,0,0,350,351,5,31, - 0,0,351,353,3,286,143,0,352,350,1,0,0,0,352,353,1,0,0,0,353,356, - 1,0,0,0,354,355,5,304,0,0,355,357,3,32,16,0,356,354,1,0,0,0,356, - 357,1,0,0,0,357,1232,1,0,0,0,358,359,5,83,0,0,359,362,5,42,0,0,360, - 361,5,119,0,0,361,363,5,94,0,0,362,360,1,0,0,0,362,363,1,0,0,0,363, - 364,1,0,0,0,364,366,3,266,133,0,365,367,7,0,0,0,366,365,1,0,0,0, - 366,367,1,0,0,0,367,1232,1,0,0,0,368,369,5,53,0,0,369,373,5,243, - 0,0,370,371,5,119,0,0,371,372,5,182,0,0,372,374,5,94,0,0,373,370, - 1,0,0,0,373,374,1,0,0,0,374,375,1,0,0,0,375,378,3,264,132,0,376, - 377,5,31,0,0,377,379,3,286,143,0,378,376,1,0,0,0,378,379,1,0,0,0, - 379,382,1,0,0,0,380,381,5,304,0,0,381,383,3,32,16,0,382,380,1,0, - 0,0,382,383,1,0,0,0,383,1232,1,0,0,0,384,385,5,83,0,0,385,388,5, - 243,0,0,386,387,5,119,0,0,387,389,5,94,0,0,388,386,1,0,0,0,388,389, - 1,0,0,0,389,390,1,0,0,0,390,392,3,262,131,0,391,393,7,0,0,0,392, - 391,1,0,0,0,392,393,1,0,0,0,393,1232,1,0,0,0,394,395,5,23,0,0,395, - 396,5,243,0,0,396,397,3,262,131,0,397,398,5,223,0,0,398,399,5,269, - 0,0,399,400,3,264,132,0,400,1232,1,0,0,0,401,402,5,23,0,0,402,403, - 5,243,0,0,403,404,3,262,131,0,404,405,5,251,0,0,405,406,5,31,0,0, - 406,407,3,286,143,0,407,1232,1,0,0,0,408,411,5,53,0,0,409,410,5, - 194,0,0,410,412,5,226,0,0,411,409,1,0,0,0,411,412,1,0,0,0,412,413, - 1,0,0,0,413,417,5,260,0,0,414,415,5,119,0,0,415,416,5,182,0,0,416, - 418,5,94,0,0,417,414,1,0,0,0,417,418,1,0,0,0,418,419,1,0,0,0,419, - 421,3,256,128,0,420,422,3,104,52,0,421,420,1,0,0,0,421,422,1,0,0, - 0,422,425,1,0,0,0,423,424,5,46,0,0,424,426,3,168,84,0,425,423,1, - 0,0,0,425,426,1,0,0,0,426,429,1,0,0,0,427,428,5,304,0,0,428,430, - 3,32,16,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,437, - 5,28,0,0,432,438,3,18,9,0,433,434,5,1,0,0,434,435,3,18,9,0,435,436, - 5,2,0,0,436,438,1,0,0,0,437,432,1,0,0,0,437,433,1,0,0,0,438,444, - 1,0,0,0,439,441,5,304,0,0,440,442,5,179,0,0,441,440,1,0,0,0,441, - 442,1,0,0,0,442,443,1,0,0,0,443,445,5,65,0,0,444,439,1,0,0,0,444, - 445,1,0,0,0,445,1232,1,0,0,0,446,449,5,53,0,0,447,448,5,194,0,0, - 448,450,5,226,0,0,449,447,1,0,0,0,449,450,1,0,0,0,450,451,1,0,0, - 0,451,455,5,260,0,0,452,453,5,119,0,0,453,454,5,182,0,0,454,456, - 5,94,0,0,455,452,1,0,0,0,455,456,1,0,0,0,456,457,1,0,0,0,457,458, - 3,256,128,0,458,459,5,1,0,0,459,464,3,26,13,0,460,461,5,3,0,0,461, - 463,3,26,13,0,462,460,1,0,0,0,463,466,1,0,0,0,464,462,1,0,0,0,464, - 465,1,0,0,0,465,467,1,0,0,0,466,464,1,0,0,0,467,470,5,2,0,0,468, - 469,5,46,0,0,469,471,3,168,84,0,470,468,1,0,0,0,470,471,1,0,0,0, - 471,474,1,0,0,0,472,473,5,304,0,0,473,475,3,32,16,0,474,472,1,0, - 0,0,474,475,1,0,0,0,475,1232,1,0,0,0,476,477,5,83,0,0,477,480,5, - 260,0,0,478,479,5,119,0,0,479,481,5,94,0,0,480,478,1,0,0,0,480,481, - 1,0,0,0,481,482,1,0,0,0,482,1232,3,254,127,0,483,484,5,127,0,0,484, - 485,5,130,0,0,485,487,3,254,127,0,486,488,3,106,53,0,487,486,1,0, - 0,0,487,488,1,0,0,0,488,489,1,0,0,0,489,490,3,18,9,0,490,1232,1, - 0,0,0,491,492,5,73,0,0,492,493,5,105,0,0,493,496,3,254,127,0,494, - 495,5,301,0,0,495,497,3,138,69,0,496,494,1,0,0,0,496,497,1,0,0,0, - 497,1232,1,0,0,0,498,499,5,274,0,0,499,500,5,260,0,0,500,1232,3, - 254,127,0,501,502,5,46,0,0,502,503,5,190,0,0,503,504,5,260,0,0,504, - 505,3,254,127,0,505,508,5,133,0,0,506,509,3,168,84,0,507,509,5,183, - 0,0,508,506,1,0,0,0,508,507,1,0,0,0,509,1232,1,0,0,0,510,511,5,46, - 0,0,511,512,5,190,0,0,512,513,5,299,0,0,513,514,3,258,129,0,514, - 517,5,133,0,0,515,518,3,168,84,0,516,518,5,183,0,0,517,515,1,0,0, - 0,517,516,1,0,0,0,518,1232,1,0,0,0,519,520,5,46,0,0,520,521,5,190, - 0,0,521,522,5,44,0,0,522,523,3,274,137,0,523,526,5,133,0,0,524,527, - 3,168,84,0,525,527,5,183,0,0,526,524,1,0,0,0,526,525,1,0,0,0,527, - 1232,1,0,0,0,528,529,5,23,0,0,529,532,5,260,0,0,530,531,5,119,0, - 0,531,533,5,94,0,0,532,530,1,0,0,0,532,533,1,0,0,0,533,534,1,0,0, - 0,534,535,3,254,127,0,535,536,5,223,0,0,536,537,5,269,0,0,537,538, - 3,256,128,0,538,1232,1,0,0,0,539,540,5,23,0,0,540,543,5,260,0,0, - 541,542,5,119,0,0,542,544,5,94,0,0,543,541,1,0,0,0,543,544,1,0,0, - 0,544,545,1,0,0,0,545,546,3,254,127,0,546,547,5,19,0,0,547,551,5, - 44,0,0,548,549,5,119,0,0,549,550,5,182,0,0,550,552,5,94,0,0,551, - 548,1,0,0,0,551,552,1,0,0,0,552,553,1,0,0,0,553,554,3,28,14,0,554, - 1232,1,0,0,0,555,556,5,23,0,0,556,559,5,260,0,0,557,558,5,119,0, - 0,558,560,5,94,0,0,559,557,1,0,0,0,559,560,1,0,0,0,560,561,1,0,0, - 0,561,562,3,254,127,0,562,563,5,223,0,0,563,566,5,44,0,0,564,565, - 5,119,0,0,565,567,5,94,0,0,566,564,1,0,0,0,566,567,1,0,0,0,567,568, - 1,0,0,0,568,569,3,274,137,0,569,570,5,269,0,0,570,571,3,276,138, - 0,571,1232,1,0,0,0,572,573,5,23,0,0,573,576,5,260,0,0,574,575,5, - 119,0,0,575,577,5,94,0,0,576,574,1,0,0,0,576,577,1,0,0,0,577,578, - 1,0,0,0,578,579,3,254,127,0,579,580,5,83,0,0,580,583,5,44,0,0,581, - 582,5,119,0,0,582,584,5,94,0,0,583,581,1,0,0,0,583,584,1,0,0,0,584, - 585,1,0,0,0,585,586,3,274,137,0,586,1232,1,0,0,0,587,588,5,23,0, - 0,588,591,5,260,0,0,589,590,5,119,0,0,590,592,5,94,0,0,591,589,1, - 0,0,0,591,592,1,0,0,0,592,593,1,0,0,0,593,594,3,254,127,0,594,595, - 5,23,0,0,595,596,5,44,0,0,596,597,3,274,137,0,597,598,5,251,0,0, - 598,599,5,65,0,0,599,600,5,276,0,0,600,601,3,184,92,0,601,1232,1, - 0,0,0,602,603,5,23,0,0,603,606,5,260,0,0,604,605,5,119,0,0,605,607, - 5,94,0,0,606,604,1,0,0,0,606,607,1,0,0,0,607,608,1,0,0,0,608,609, - 3,254,127,0,609,610,5,23,0,0,610,611,5,44,0,0,611,612,3,274,137, - 0,612,613,5,83,0,0,613,614,5,182,0,0,614,615,5,183,0,0,615,1232, - 1,0,0,0,616,617,5,23,0,0,617,618,5,260,0,0,618,619,3,254,127,0,619, - 620,5,251,0,0,620,621,5,31,0,0,621,622,3,286,143,0,622,1232,1,0, - 0,0,623,624,5,23,0,0,624,625,5,260,0,0,625,626,3,254,127,0,626,627, - 5,251,0,0,627,628,5,216,0,0,628,629,3,34,17,0,629,1232,1,0,0,0,630, - 631,5,23,0,0,631,632,5,260,0,0,632,633,3,254,127,0,633,634,5,93, - 0,0,634,647,3,270,135,0,635,644,5,1,0,0,636,641,3,218,109,0,637, - 638,5,3,0,0,638,640,3,218,109,0,639,637,1,0,0,0,640,643,1,0,0,0, - 641,639,1,0,0,0,641,642,1,0,0,0,642,645,1,0,0,0,643,641,1,0,0,0, - 644,636,1,0,0,0,644,645,1,0,0,0,645,646,1,0,0,0,646,648,5,2,0,0, - 647,635,1,0,0,0,647,648,1,0,0,0,648,651,1,0,0,0,649,650,5,301,0, - 0,650,652,3,138,69,0,651,649,1,0,0,0,651,652,1,0,0,0,652,1232,1, - 0,0,0,653,654,5,24,0,0,654,657,3,254,127,0,655,656,5,304,0,0,656, - 658,3,32,16,0,657,655,1,0,0,0,657,658,1,0,0,0,658,1232,1,0,0,0,659, - 662,5,53,0,0,660,661,5,194,0,0,661,663,5,226,0,0,662,660,1,0,0,0, - 662,663,1,0,0,0,663,664,1,0,0,0,664,665,5,167,0,0,665,669,5,299, - 0,0,666,667,5,119,0,0,667,668,5,182,0,0,668,670,5,94,0,0,669,666, - 1,0,0,0,669,670,1,0,0,0,670,671,1,0,0,0,671,675,3,260,130,0,672, - 673,5,109,0,0,673,674,5,208,0,0,674,676,3,178,89,0,675,672,1,0,0, - 0,675,676,1,0,0,0,676,679,1,0,0,0,677,678,5,46,0,0,678,680,3,168, - 84,0,679,677,1,0,0,0,679,680,1,0,0,0,680,683,1,0,0,0,681,682,5,304, - 0,0,682,684,3,32,16,0,683,681,1,0,0,0,683,684,1,0,0,0,684,685,1, - 0,0,0,685,686,5,28,0,0,686,687,3,18,9,0,687,1232,1,0,0,0,688,691, - 5,53,0,0,689,690,5,194,0,0,690,692,5,226,0,0,691,689,1,0,0,0,691, - 692,1,0,0,0,692,693,1,0,0,0,693,694,5,299,0,0,694,697,3,260,130, - 0,695,696,5,46,0,0,696,698,3,168,84,0,697,695,1,0,0,0,697,698,1, - 0,0,0,698,701,1,0,0,0,699,700,5,246,0,0,700,702,7,1,0,0,701,699, - 1,0,0,0,701,702,1,0,0,0,702,705,1,0,0,0,703,704,5,304,0,0,704,706, - 3,32,16,0,705,703,1,0,0,0,705,706,1,0,0,0,706,707,1,0,0,0,707,708, - 5,28,0,0,708,709,3,18,9,0,709,1232,1,0,0,0,710,711,5,222,0,0,711, - 712,5,167,0,0,712,713,5,299,0,0,713,1232,3,258,129,0,714,715,5,83, - 0,0,715,716,5,167,0,0,716,719,5,299,0,0,717,718,5,119,0,0,718,720, - 5,94,0,0,719,717,1,0,0,0,719,720,1,0,0,0,720,721,1,0,0,0,721,1232, - 3,258,129,0,722,723,5,23,0,0,723,724,5,167,0,0,724,727,5,299,0,0, - 725,726,5,119,0,0,726,728,5,94,0,0,727,725,1,0,0,0,727,728,1,0,0, - 0,728,729,1,0,0,0,729,730,3,258,129,0,730,731,5,223,0,0,731,732, - 5,269,0,0,732,733,3,260,130,0,733,1232,1,0,0,0,734,735,5,23,0,0, - 735,736,5,167,0,0,736,737,5,299,0,0,737,738,3,258,129,0,738,739, - 5,251,0,0,739,740,5,216,0,0,740,741,3,34,17,0,741,1232,1,0,0,0,742, - 743,5,83,0,0,743,746,5,299,0,0,744,745,5,119,0,0,745,747,5,94,0, - 0,746,744,1,0,0,0,746,747,1,0,0,0,747,748,1,0,0,0,748,1232,3,258, - 129,0,749,750,5,23,0,0,750,751,5,299,0,0,751,752,3,258,129,0,752, - 753,5,223,0,0,753,754,5,269,0,0,754,755,3,260,130,0,755,1232,1,0, - 0,0,756,757,5,23,0,0,757,758,5,299,0,0,758,759,3,258,129,0,759,760, - 5,251,0,0,760,761,5,31,0,0,761,762,3,286,143,0,762,1232,1,0,0,0, - 763,764,5,37,0,0,764,765,3,270,135,0,765,774,5,1,0,0,766,771,3,218, - 109,0,767,768,5,3,0,0,768,770,3,218,109,0,769,767,1,0,0,0,770,773, - 1,0,0,0,771,769,1,0,0,0,771,772,1,0,0,0,772,775,1,0,0,0,773,771, - 1,0,0,0,774,766,1,0,0,0,774,775,1,0,0,0,775,776,1,0,0,0,776,777, - 5,2,0,0,777,1232,1,0,0,0,778,781,5,53,0,0,779,780,5,194,0,0,780, - 782,5,226,0,0,781,779,1,0,0,0,781,782,1,0,0,0,782,783,1,0,0,0,783, - 1232,3,224,112,0,784,785,5,83,0,0,785,788,5,107,0,0,786,787,5,119, - 0,0,787,789,5,94,0,0,788,786,1,0,0,0,788,789,1,0,0,0,789,790,1,0, - 0,0,790,1232,3,226,113,0,791,792,5,53,0,0,792,793,5,235,0,0,793, - 797,3,292,146,0,794,795,5,304,0,0,795,796,5,20,0,0,796,798,3,284, - 142,0,797,794,1,0,0,0,797,798,1,0,0,0,798,801,1,0,0,0,799,800,5, - 122,0,0,800,802,3,266,133,0,801,799,1,0,0,0,801,802,1,0,0,0,802, - 1232,1,0,0,0,803,804,5,83,0,0,804,805,5,235,0,0,805,808,3,292,146, - 0,806,807,5,122,0,0,807,809,3,266,133,0,808,806,1,0,0,0,808,809, - 1,0,0,0,809,1232,1,0,0,0,810,811,5,110,0,0,811,816,3,290,145,0,812, - 813,5,3,0,0,813,815,3,290,145,0,814,812,1,0,0,0,815,818,1,0,0,0, - 816,814,1,0,0,0,816,817,1,0,0,0,817,819,1,0,0,0,818,816,1,0,0,0, - 819,820,5,269,0,0,820,825,3,286,143,0,821,822,5,3,0,0,822,824,3, - 286,143,0,823,821,1,0,0,0,824,827,1,0,0,0,825,823,1,0,0,0,825,826, - 1,0,0,0,826,831,1,0,0,0,827,825,1,0,0,0,828,829,5,304,0,0,829,830, - 5,20,0,0,830,832,5,193,0,0,831,828,1,0,0,0,831,832,1,0,0,0,832,836, - 1,0,0,0,833,834,5,111,0,0,834,835,5,36,0,0,835,837,3,284,142,0,836, - 833,1,0,0,0,836,837,1,0,0,0,837,840,1,0,0,0,838,839,5,122,0,0,839, - 841,3,266,133,0,840,838,1,0,0,0,840,841,1,0,0,0,841,1232,1,0,0,0, - 842,853,5,110,0,0,843,848,3,290,145,0,844,845,5,3,0,0,845,847,3, - 290,145,0,846,844,1,0,0,0,847,850,1,0,0,0,848,846,1,0,0,0,848,849, - 1,0,0,0,849,854,1,0,0,0,850,848,1,0,0,0,851,852,5,22,0,0,852,854, - 5,215,0,0,853,843,1,0,0,0,853,851,1,0,0,0,854,855,1,0,0,0,855,856, - 5,190,0,0,856,857,3,250,125,0,857,858,5,269,0,0,858,862,3,286,143, - 0,859,860,5,304,0,0,860,861,5,110,0,0,861,863,5,193,0,0,862,859, - 1,0,0,0,862,863,1,0,0,0,863,1232,1,0,0,0,864,868,5,233,0,0,865,866, - 5,20,0,0,866,867,5,193,0,0,867,869,5,103,0,0,868,865,1,0,0,0,868, - 869,1,0,0,0,869,870,1,0,0,0,870,875,3,290,145,0,871,872,5,3,0,0, - 872,874,3,290,145,0,873,871,1,0,0,0,874,877,1,0,0,0,875,873,1,0, - 0,0,875,876,1,0,0,0,876,878,1,0,0,0,877,875,1,0,0,0,878,879,5,105, - 0,0,879,884,3,286,143,0,880,881,5,3,0,0,881,883,3,286,143,0,882, - 880,1,0,0,0,883,886,1,0,0,0,884,882,1,0,0,0,884,885,1,0,0,0,885, - 890,1,0,0,0,886,884,1,0,0,0,887,888,5,111,0,0,888,889,5,36,0,0,889, - 891,3,284,142,0,890,887,1,0,0,0,890,891,1,0,0,0,891,894,1,0,0,0, - 892,893,5,122,0,0,893,895,3,266,133,0,894,892,1,0,0,0,894,895,1, - 0,0,0,895,1232,1,0,0,0,896,900,5,233,0,0,897,898,5,110,0,0,898,899, - 5,193,0,0,899,901,5,103,0,0,900,897,1,0,0,0,900,901,1,0,0,0,901, - 912,1,0,0,0,902,907,3,290,145,0,903,904,5,3,0,0,904,906,3,290,145, - 0,905,903,1,0,0,0,906,909,1,0,0,0,907,905,1,0,0,0,907,908,1,0,0, - 0,908,913,1,0,0,0,909,907,1,0,0,0,910,911,5,22,0,0,911,913,5,215, - 0,0,912,902,1,0,0,0,912,910,1,0,0,0,913,914,1,0,0,0,914,915,5,190, - 0,0,915,916,3,250,125,0,916,917,5,105,0,0,917,918,3,286,143,0,918, - 1232,1,0,0,0,919,930,5,74,0,0,920,925,3,246,123,0,921,922,5,3,0, - 0,922,924,3,246,123,0,923,921,1,0,0,0,924,927,1,0,0,0,925,923,1, - 0,0,0,925,926,1,0,0,0,926,931,1,0,0,0,927,925,1,0,0,0,928,929,5, - 22,0,0,929,931,5,215,0,0,930,920,1,0,0,0,930,928,1,0,0,0,931,932, - 1,0,0,0,932,933,5,190,0,0,933,934,3,250,125,0,934,935,5,269,0,0, - 935,936,3,286,143,0,936,1232,1,0,0,0,937,938,5,251,0,0,938,942,5, - 235,0,0,939,943,5,22,0,0,940,943,5,180,0,0,941,943,3,292,146,0,942, - 939,1,0,0,0,942,940,1,0,0,0,942,941,1,0,0,0,943,946,1,0,0,0,944, - 945,5,122,0,0,945,947,3,266,133,0,946,944,1,0,0,0,946,947,1,0,0, - 0,947,1232,1,0,0,0,948,949,5,253,0,0,949,952,5,112,0,0,950,951,5, - 190,0,0,951,953,3,250,125,0,952,950,1,0,0,0,952,953,1,0,0,0,953, - 1232,1,0,0,0,954,966,5,95,0,0,955,956,5,1,0,0,956,961,3,212,106, - 0,957,958,5,3,0,0,958,960,3,212,106,0,959,957,1,0,0,0,960,963,1, - 0,0,0,961,959,1,0,0,0,961,962,1,0,0,0,962,964,1,0,0,0,963,961,1, - 0,0,0,964,965,5,2,0,0,965,967,1,0,0,0,966,955,1,0,0,0,966,967,1, - 0,0,0,967,968,1,0,0,0,968,1232,3,16,8,0,969,970,5,95,0,0,970,972, - 5,24,0,0,971,973,5,297,0,0,972,971,1,0,0,0,972,973,1,0,0,0,973,974, - 1,0,0,0,974,1232,3,16,8,0,975,976,5,253,0,0,976,977,5,53,0,0,977, - 978,5,260,0,0,978,1232,3,254,127,0,979,980,5,253,0,0,980,981,5,53, - 0,0,981,982,5,243,0,0,982,1232,3,262,131,0,983,984,5,253,0,0,984, - 985,5,53,0,0,985,986,5,299,0,0,986,1232,3,258,129,0,987,988,5,253, - 0,0,988,989,5,53,0,0,989,990,5,167,0,0,990,991,5,299,0,0,991,1232, - 3,258,129,0,992,993,5,253,0,0,993,994,5,53,0,0,994,995,5,107,0,0, - 995,1232,3,270,135,0,996,997,5,253,0,0,997,1000,5,261,0,0,998,999, - 7,2,0,0,999,1001,3,262,131,0,1000,998,1,0,0,0,1000,1001,1,0,0,0, - 1001,1008,1,0,0,0,1002,1003,5,154,0,0,1003,1006,3,168,84,0,1004, - 1005,5,90,0,0,1005,1007,3,168,84,0,1006,1004,1,0,0,0,1006,1007,1, - 0,0,0,1007,1009,1,0,0,0,1008,1002,1,0,0,0,1008,1009,1,0,0,0,1009, - 1232,1,0,0,0,1010,1011,5,253,0,0,1011,1014,5,244,0,0,1012,1013,7, - 2,0,0,1013,1015,3,266,133,0,1014,1012,1,0,0,0,1014,1015,1,0,0,0, - 1015,1022,1,0,0,0,1016,1017,5,154,0,0,1017,1020,3,168,84,0,1018, - 1019,5,90,0,0,1019,1021,3,168,84,0,1020,1018,1,0,0,0,1020,1021,1, - 0,0,0,1021,1023,1,0,0,0,1022,1016,1,0,0,0,1022,1023,1,0,0,0,1023, - 1232,1,0,0,0,1024,1025,5,253,0,0,1025,1032,5,43,0,0,1026,1027,5, - 154,0,0,1027,1030,3,168,84,0,1028,1029,5,90,0,0,1029,1031,3,168, - 84,0,1030,1028,1,0,0,0,1030,1031,1,0,0,0,1031,1033,1,0,0,0,1032, - 1026,1,0,0,0,1032,1033,1,0,0,0,1033,1232,1,0,0,0,1034,1035,5,253, - 0,0,1035,1036,5,45,0,0,1036,1037,7,2,0,0,1037,1044,3,252,126,0,1038, - 1039,5,154,0,0,1039,1042,3,168,84,0,1040,1041,5,90,0,0,1041,1043, - 3,168,84,0,1042,1040,1,0,0,0,1042,1043,1,0,0,0,1043,1045,1,0,0,0, - 1044,1038,1,0,0,0,1044,1045,1,0,0,0,1045,1232,1,0,0,0,1046,1047, - 5,253,0,0,1047,1048,5,256,0,0,1048,1049,5,103,0,0,1049,1232,3,252, - 126,0,1050,1051,5,253,0,0,1051,1052,5,256,0,0,1052,1053,5,103,0, - 0,1053,1054,5,1,0,0,1054,1055,3,18,9,0,1055,1056,5,2,0,0,1056,1232, - 1,0,0,0,1057,1059,5,253,0,0,1058,1060,5,56,0,0,1059,1058,1,0,0,0, - 1059,1060,1,0,0,0,1060,1061,1,0,0,0,1061,1064,5,236,0,0,1062,1063, - 7,2,0,0,1063,1065,3,266,133,0,1064,1062,1,0,0,0,1064,1065,1,0,0, - 0,1065,1232,1,0,0,0,1066,1067,5,253,0,0,1067,1068,5,235,0,0,1068, - 1071,5,112,0,0,1069,1070,7,2,0,0,1070,1072,3,266,133,0,1071,1069, - 1,0,0,0,1071,1072,1,0,0,0,1072,1232,1,0,0,0,1073,1074,5,76,0,0,1074, - 1232,3,252,126,0,1075,1076,5,75,0,0,1076,1232,3,252,126,0,1077,1078, - 5,253,0,0,1078,1081,5,108,0,0,1079,1080,7,2,0,0,1080,1082,3,262, - 131,0,1081,1079,1,0,0,0,1081,1082,1,0,0,0,1082,1089,1,0,0,0,1083, - 1084,5,154,0,0,1084,1087,3,168,84,0,1085,1086,5,90,0,0,1086,1088, - 3,168,84,0,1087,1085,1,0,0,0,1087,1088,1,0,0,0,1088,1090,1,0,0,0, - 1089,1083,1,0,0,0,1089,1090,1,0,0,0,1090,1232,1,0,0,0,1091,1092, - 5,253,0,0,1092,1099,5,250,0,0,1093,1094,5,154,0,0,1094,1097,3,168, - 84,0,1095,1096,5,90,0,0,1096,1098,3,168,84,0,1097,1095,1,0,0,0,1097, - 1098,1,0,0,0,1098,1100,1,0,0,0,1099,1093,1,0,0,0,1099,1100,1,0,0, - 0,1100,1232,1,0,0,0,1101,1102,5,251,0,0,1102,1103,5,250,0,0,1103, - 1104,5,31,0,0,1104,1232,3,296,148,0,1105,1106,5,227,0,0,1106,1107, - 5,250,0,0,1107,1232,5,31,0,0,1108,1109,5,251,0,0,1109,1110,5,250, - 0,0,1110,1111,3,278,139,0,1111,1112,5,312,0,0,1112,1113,3,136,68, - 0,1113,1232,1,0,0,0,1114,1115,5,227,0,0,1115,1116,5,250,0,0,1116, - 1232,3,278,139,0,1117,1118,5,255,0,0,1118,1127,5,271,0,0,1119,1124, - 3,214,107,0,1120,1121,5,3,0,0,1121,1123,3,214,107,0,1122,1120,1, - 0,0,0,1123,1126,1,0,0,0,1124,1122,1,0,0,0,1124,1125,1,0,0,0,1125, - 1128,1,0,0,0,1126,1124,1,0,0,0,1127,1119,1,0,0,0,1127,1128,1,0,0, - 0,1128,1232,1,0,0,0,1129,1131,5,47,0,0,1130,1132,5,307,0,0,1131, - 1130,1,0,0,0,1131,1132,1,0,0,0,1132,1232,1,0,0,0,1133,1135,5,237, - 0,0,1134,1136,5,307,0,0,1135,1134,1,0,0,0,1135,1136,1,0,0,0,1136, - 1232,1,0,0,0,1137,1138,5,214,0,0,1138,1139,3,292,146,0,1139,1140, - 5,105,0,0,1140,1141,3,16,8,0,1141,1232,1,0,0,0,1142,1143,5,68,0, - 0,1143,1144,5,214,0,0,1144,1232,3,292,146,0,1145,1146,5,93,0,0,1146, - 1156,3,292,146,0,1147,1148,5,290,0,0,1148,1153,3,136,68,0,1149,1150, - 5,3,0,0,1150,1152,3,136,68,0,1151,1149,1,0,0,0,1152,1155,1,0,0,0, - 1153,1151,1,0,0,0,1153,1154,1,0,0,0,1154,1157,1,0,0,0,1155,1153, - 1,0,0,0,1156,1147,1,0,0,0,1156,1157,1,0,0,0,1157,1232,1,0,0,0,1158, - 1159,5,93,0,0,1159,1160,5,121,0,0,1160,1170,3,168,84,0,1161,1162, - 5,290,0,0,1162,1167,3,136,68,0,1163,1164,5,3,0,0,1164,1166,3,136, - 68,0,1165,1163,1,0,0,0,1166,1169,1,0,0,0,1167,1165,1,0,0,0,1167, - 1168,1,0,0,0,1168,1171,1,0,0,0,1169,1167,1,0,0,0,1170,1161,1,0,0, - 0,1170,1171,1,0,0,0,1171,1232,1,0,0,0,1172,1173,5,76,0,0,1173,1174, - 5,126,0,0,1174,1232,3,292,146,0,1175,1176,5,76,0,0,1176,1177,5,198, - 0,0,1177,1232,3,292,146,0,1178,1179,5,251,0,0,1179,1180,5,205,0, - 0,1180,1232,3,222,111,0,1181,1182,5,251,0,0,1182,1183,5,267,0,0, - 1183,1186,5,311,0,0,1184,1187,5,157,0,0,1185,1187,3,136,68,0,1186, - 1184,1,0,0,0,1186,1185,1,0,0,0,1187,1232,1,0,0,0,1188,1189,5,287, - 0,0,1189,1190,3,254,127,0,1190,1191,5,251,0,0,1191,1196,3,210,105, - 0,1192,1193,5,3,0,0,1193,1195,3,210,105,0,1194,1192,1,0,0,0,1195, - 1198,1,0,0,0,1196,1194,1,0,0,0,1196,1197,1,0,0,0,1197,1201,1,0,0, - 0,1198,1196,1,0,0,0,1199,1200,5,301,0,0,1200,1202,3,138,69,0,1201, - 1199,1,0,0,0,1201,1202,1,0,0,0,1202,1232,1,0,0,0,1203,1204,5,169, - 0,0,1204,1205,5,130,0,0,1205,1210,3,254,127,0,1206,1208,5,28,0,0, - 1207,1206,1,0,0,0,1207,1208,1,0,0,0,1208,1209,1,0,0,0,1209,1211, - 3,292,146,0,1210,1207,1,0,0,0,1210,1211,1,0,0,0,1211,1212,1,0,0, - 0,1212,1213,5,290,0,0,1213,1214,3,72,36,0,1214,1215,5,190,0,0,1215, - 1217,3,136,68,0,1216,1218,3,194,97,0,1217,1216,1,0,0,0,1218,1219, - 1,0,0,0,1219,1217,1,0,0,0,1219,1220,1,0,0,0,1220,1232,1,0,0,0,1221, - 1222,5,253,0,0,1222,1223,5,46,0,0,1223,1224,5,190,0,0,1224,1225, - 5,260,0,0,1225,1232,3,254,127,0,1226,1227,5,253,0,0,1227,1228,5, - 46,0,0,1228,1229,5,190,0,0,1229,1230,5,44,0,0,1230,1232,3,274,137, - 0,1231,333,1,0,0,0,1231,334,1,0,0,0,1231,336,1,0,0,0,1231,358,1, - 0,0,0,1231,368,1,0,0,0,1231,384,1,0,0,0,1231,394,1,0,0,0,1231,401, - 1,0,0,0,1231,408,1,0,0,0,1231,446,1,0,0,0,1231,476,1,0,0,0,1231, - 483,1,0,0,0,1231,491,1,0,0,0,1231,498,1,0,0,0,1231,501,1,0,0,0,1231, - 510,1,0,0,0,1231,519,1,0,0,0,1231,528,1,0,0,0,1231,539,1,0,0,0,1231, - 555,1,0,0,0,1231,572,1,0,0,0,1231,587,1,0,0,0,1231,602,1,0,0,0,1231, - 616,1,0,0,0,1231,623,1,0,0,0,1231,630,1,0,0,0,1231,653,1,0,0,0,1231, - 659,1,0,0,0,1231,688,1,0,0,0,1231,710,1,0,0,0,1231,714,1,0,0,0,1231, - 722,1,0,0,0,1231,734,1,0,0,0,1231,742,1,0,0,0,1231,749,1,0,0,0,1231, - 756,1,0,0,0,1231,763,1,0,0,0,1231,778,1,0,0,0,1231,784,1,0,0,0,1231, - 791,1,0,0,0,1231,803,1,0,0,0,1231,810,1,0,0,0,1231,842,1,0,0,0,1231, - 864,1,0,0,0,1231,896,1,0,0,0,1231,919,1,0,0,0,1231,937,1,0,0,0,1231, - 948,1,0,0,0,1231,954,1,0,0,0,1231,969,1,0,0,0,1231,975,1,0,0,0,1231, - 979,1,0,0,0,1231,983,1,0,0,0,1231,987,1,0,0,0,1231,992,1,0,0,0,1231, - 996,1,0,0,0,1231,1010,1,0,0,0,1231,1024,1,0,0,0,1231,1034,1,0,0, - 0,1231,1046,1,0,0,0,1231,1050,1,0,0,0,1231,1057,1,0,0,0,1231,1066, - 1,0,0,0,1231,1073,1,0,0,0,1231,1075,1,0,0,0,1231,1077,1,0,0,0,1231, - 1091,1,0,0,0,1231,1101,1,0,0,0,1231,1105,1,0,0,0,1231,1108,1,0,0, - 0,1231,1114,1,0,0,0,1231,1117,1,0,0,0,1231,1129,1,0,0,0,1231,1133, - 1,0,0,0,1231,1137,1,0,0,0,1231,1142,1,0,0,0,1231,1145,1,0,0,0,1231, - 1158,1,0,0,0,1231,1172,1,0,0,0,1231,1175,1,0,0,0,1231,1178,1,0,0, - 0,1231,1181,1,0,0,0,1231,1188,1,0,0,0,1231,1203,1,0,0,0,1231,1221, - 1,0,0,0,1231,1226,1,0,0,0,1232,17,1,0,0,0,1233,1235,3,20,10,0,1234, - 1233,1,0,0,0,1234,1235,1,0,0,0,1235,1236,1,0,0,0,1236,1237,3,22, - 11,0,1237,19,1,0,0,0,1238,1239,5,304,0,0,1239,1244,3,224,112,0,1240, - 1241,5,3,0,0,1241,1243,3,224,112,0,1242,1240,1,0,0,0,1243,1246,1, - 0,0,0,1244,1242,1,0,0,0,1244,1245,1,0,0,0,1245,21,1,0,0,0,1246,1244, - 1,0,0,0,1247,1249,3,24,12,0,1248,1247,1,0,0,0,1248,1249,1,0,0,0, - 1249,1250,1,0,0,0,1250,1251,3,40,20,0,1251,23,1,0,0,0,1252,1254, - 5,304,0,0,1253,1255,5,221,0,0,1254,1253,1,0,0,0,1254,1255,1,0,0, - 0,1255,1256,1,0,0,0,1256,1261,3,66,33,0,1257,1258,5,3,0,0,1258,1260, - 3,66,33,0,1259,1257,1,0,0,0,1260,1263,1,0,0,0,1261,1259,1,0,0,0, - 1261,1262,1,0,0,0,1262,25,1,0,0,0,1263,1261,1,0,0,0,1264,1267,3, - 28,14,0,1265,1267,3,30,15,0,1266,1264,1,0,0,0,1266,1265,1,0,0,0, - 1267,27,1,0,0,0,1268,1269,3,276,138,0,1269,1272,3,184,92,0,1270, - 1271,5,182,0,0,1271,1273,5,183,0,0,1272,1270,1,0,0,0,1272,1273,1, - 0,0,0,1273,1276,1,0,0,0,1274,1275,5,46,0,0,1275,1277,3,168,84,0, - 1276,1274,1,0,0,0,1276,1277,1,0,0,0,1277,1280,1,0,0,0,1278,1279, - 5,304,0,0,1279,1281,3,32,16,0,1280,1278,1,0,0,0,1280,1281,1,0,0, - 0,1281,29,1,0,0,0,1282,1283,5,154,0,0,1283,1286,3,254,127,0,1284, - 1285,7,3,0,0,1285,1287,5,216,0,0,1286,1284,1,0,0,0,1286,1287,1,0, - 0,0,1287,31,1,0,0,0,1288,1289,5,1,0,0,1289,1290,3,34,17,0,1290,1291, - 5,2,0,0,1291,33,1,0,0,0,1292,1297,3,36,18,0,1293,1294,5,3,0,0,1294, - 1296,3,36,18,0,1295,1293,1,0,0,0,1296,1299,1,0,0,0,1297,1295,1,0, - 0,0,1297,1298,1,0,0,0,1298,35,1,0,0,0,1299,1297,1,0,0,0,1300,1301, - 3,292,146,0,1301,1302,5,312,0,0,1302,1303,3,38,19,0,1303,37,1,0, - 0,0,1304,1307,5,70,0,0,1305,1307,3,136,68,0,1306,1304,1,0,0,0,1306, - 1305,1,0,0,0,1307,39,1,0,0,0,1308,1319,3,46,23,0,1309,1310,5,195, - 0,0,1310,1311,5,36,0,0,1311,1316,3,50,25,0,1312,1313,5,3,0,0,1313, - 1315,3,50,25,0,1314,1312,1,0,0,0,1315,1318,1,0,0,0,1316,1314,1,0, - 0,0,1316,1317,1,0,0,0,1317,1320,1,0,0,0,1318,1316,1,0,0,0,1319,1309, - 1,0,0,0,1319,1320,1,0,0,0,1320,1326,1,0,0,0,1321,1322,5,188,0,0, - 1322,1324,3,44,22,0,1323,1325,7,4,0,0,1324,1323,1,0,0,0,1324,1325, - 1,0,0,0,1325,1327,1,0,0,0,1326,1321,1,0,0,0,1326,1327,1,0,0,0,1327, - 1341,1,0,0,0,1328,1329,5,155,0,0,1329,1342,3,42,21,0,1330,1331,5, - 98,0,0,1331,1333,7,5,0,0,1332,1334,3,44,22,0,1333,1332,1,0,0,0,1333, - 1334,1,0,0,0,1334,1335,1,0,0,0,1335,1339,7,4,0,0,1336,1340,5,192, - 0,0,1337,1338,5,304,0,0,1338,1340,5,266,0,0,1339,1336,1,0,0,0,1339, - 1337,1,0,0,0,1340,1342,1,0,0,0,1341,1328,1,0,0,0,1341,1330,1,0,0, - 0,1341,1342,1,0,0,0,1342,41,1,0,0,0,1343,1346,5,22,0,0,1344,1346, - 3,44,22,0,1345,1343,1,0,0,0,1345,1344,1,0,0,0,1346,43,1,0,0,0,1347, - 1348,7,6,0,0,1348,45,1,0,0,0,1349,1350,6,23,-1,0,1350,1351,3,48, - 24,0,1351,1366,1,0,0,0,1352,1353,10,2,0,0,1353,1355,5,128,0,0,1354, - 1356,3,68,34,0,1355,1354,1,0,0,0,1355,1356,1,0,0,0,1356,1357,1,0, - 0,0,1357,1365,3,46,23,3,1358,1359,10,1,0,0,1359,1361,7,7,0,0,1360, - 1362,3,68,34,0,1361,1360,1,0,0,0,1361,1362,1,0,0,0,1362,1363,1,0, - 0,0,1363,1365,3,46,23,2,1364,1352,1,0,0,0,1364,1358,1,0,0,0,1365, - 1368,1,0,0,0,1366,1364,1,0,0,0,1366,1367,1,0,0,0,1367,47,1,0,0,0, - 1368,1366,1,0,0,0,1369,1386,3,52,26,0,1370,1371,5,260,0,0,1371,1386, - 3,254,127,0,1372,1373,5,296,0,0,1373,1378,3,136,68,0,1374,1375,5, - 3,0,0,1375,1377,3,136,68,0,1376,1374,1,0,0,0,1377,1380,1,0,0,0,1378, - 1376,1,0,0,0,1378,1379,1,0,0,0,1379,1386,1,0,0,0,1380,1378,1,0,0, - 0,1381,1382,5,1,0,0,1382,1383,3,40,20,0,1383,1384,5,2,0,0,1384,1386, - 1,0,0,0,1385,1369,1,0,0,0,1385,1370,1,0,0,0,1385,1372,1,0,0,0,1385, - 1381,1,0,0,0,1386,49,1,0,0,0,1387,1390,3,274,137,0,1388,1390,3,136, - 68,0,1389,1387,1,0,0,0,1389,1388,1,0,0,0,1390,1392,1,0,0,0,1391, - 1393,7,8,0,0,1392,1391,1,0,0,0,1392,1393,1,0,0,0,1393,1396,1,0,0, - 0,1394,1395,5,185,0,0,1395,1397,7,9,0,0,1396,1394,1,0,0,0,1396,1397, - 1,0,0,0,1397,51,1,0,0,0,1398,1400,5,248,0,0,1399,1401,3,68,34,0, - 1400,1399,1,0,0,0,1400,1401,1,0,0,0,1401,1402,1,0,0,0,1402,1407, - 3,70,35,0,1403,1404,5,3,0,0,1404,1406,3,70,35,0,1405,1403,1,0,0, - 0,1406,1409,1,0,0,0,1407,1405,1,0,0,0,1407,1408,1,0,0,0,1408,1419, - 1,0,0,0,1409,1407,1,0,0,0,1410,1411,5,105,0,0,1411,1416,3,72,36, - 0,1412,1413,5,3,0,0,1413,1415,3,72,36,0,1414,1412,1,0,0,0,1415,1418, - 1,0,0,0,1416,1414,1,0,0,0,1416,1417,1,0,0,0,1417,1420,1,0,0,0,1418, - 1416,1,0,0,0,1419,1410,1,0,0,0,1419,1420,1,0,0,0,1420,1423,1,0,0, - 0,1421,1422,5,301,0,0,1422,1424,3,138,69,0,1423,1421,1,0,0,0,1423, - 1424,1,0,0,0,1424,1428,1,0,0,0,1425,1426,5,114,0,0,1426,1427,5,36, - 0,0,1427,1429,3,54,27,0,1428,1425,1,0,0,0,1428,1429,1,0,0,0,1429, - 1432,1,0,0,0,1430,1431,5,117,0,0,1431,1433,3,138,69,0,1432,1430, - 1,0,0,0,1432,1433,1,0,0,0,1433,1443,1,0,0,0,1434,1435,5,303,0,0, - 1435,1440,3,62,31,0,1436,1437,5,3,0,0,1437,1439,3,62,31,0,1438,1436, - 1,0,0,0,1439,1442,1,0,0,0,1440,1438,1,0,0,0,1440,1441,1,0,0,0,1441, - 1444,1,0,0,0,1442,1440,1,0,0,0,1443,1434,1,0,0,0,1443,1444,1,0,0, - 0,1444,53,1,0,0,0,1445,1447,3,68,34,0,1446,1445,1,0,0,0,1446,1447, - 1,0,0,0,1447,1448,1,0,0,0,1448,1453,3,56,28,0,1449,1450,5,3,0,0, - 1450,1452,3,56,28,0,1451,1449,1,0,0,0,1452,1455,1,0,0,0,1453,1451, - 1,0,0,0,1453,1454,1,0,0,0,1454,55,1,0,0,0,1455,1453,1,0,0,0,1456, - 1497,3,58,29,0,1457,1458,5,238,0,0,1458,1467,5,1,0,0,1459,1464,3, - 58,29,0,1460,1461,5,3,0,0,1461,1463,3,58,29,0,1462,1460,1,0,0,0, - 1463,1466,1,0,0,0,1464,1462,1,0,0,0,1464,1465,1,0,0,0,1465,1468, - 1,0,0,0,1466,1464,1,0,0,0,1467,1459,1,0,0,0,1467,1468,1,0,0,0,1468, - 1469,1,0,0,0,1469,1497,5,2,0,0,1470,1471,5,55,0,0,1471,1480,5,1, - 0,0,1472,1477,3,58,29,0,1473,1474,5,3,0,0,1474,1476,3,58,29,0,1475, - 1473,1,0,0,0,1476,1479,1,0,0,0,1477,1475,1,0,0,0,1477,1478,1,0,0, - 0,1478,1481,1,0,0,0,1479,1477,1,0,0,0,1480,1472,1,0,0,0,1480,1481, - 1,0,0,0,1481,1482,1,0,0,0,1482,1497,5,2,0,0,1483,1484,5,115,0,0, - 1484,1485,5,252,0,0,1485,1486,5,1,0,0,1486,1491,3,58,29,0,1487,1488, - 5,3,0,0,1488,1490,3,58,29,0,1489,1487,1,0,0,0,1490,1493,1,0,0,0, - 1491,1489,1,0,0,0,1491,1492,1,0,0,0,1492,1494,1,0,0,0,1493,1491, - 1,0,0,0,1494,1495,5,2,0,0,1495,1497,1,0,0,0,1496,1456,1,0,0,0,1496, - 1457,1,0,0,0,1496,1470,1,0,0,0,1496,1483,1,0,0,0,1497,57,1,0,0,0, - 1498,1507,5,1,0,0,1499,1504,3,60,30,0,1500,1501,5,3,0,0,1501,1503, - 3,60,30,0,1502,1500,1,0,0,0,1503,1506,1,0,0,0,1504,1502,1,0,0,0, - 1504,1505,1,0,0,0,1505,1508,1,0,0,0,1506,1504,1,0,0,0,1507,1499, - 1,0,0,0,1507,1508,1,0,0,0,1508,1509,1,0,0,0,1509,1512,5,2,0,0,1510, - 1512,3,60,30,0,1511,1498,1,0,0,0,1511,1510,1,0,0,0,1512,59,1,0,0, - 0,1513,1516,3,274,137,0,1514,1516,3,136,68,0,1515,1513,1,0,0,0,1515, - 1514,1,0,0,0,1516,61,1,0,0,0,1517,1518,3,292,146,0,1518,1519,5,28, - 0,0,1519,1520,5,1,0,0,1520,1521,3,64,32,0,1521,1522,5,2,0,0,1522, - 63,1,0,0,0,1523,1525,3,292,146,0,1524,1523,1,0,0,0,1524,1525,1,0, - 0,0,1525,1536,1,0,0,0,1526,1527,5,201,0,0,1527,1528,5,36,0,0,1528, - 1533,3,136,68,0,1529,1530,5,3,0,0,1530,1532,3,136,68,0,1531,1529, - 1,0,0,0,1532,1535,1,0,0,0,1533,1531,1,0,0,0,1533,1534,1,0,0,0,1534, - 1537,1,0,0,0,1535,1533,1,0,0,0,1536,1526,1,0,0,0,1536,1537,1,0,0, - 0,1537,1548,1,0,0,0,1538,1539,5,195,0,0,1539,1540,5,36,0,0,1540, - 1545,3,50,25,0,1541,1542,5,3,0,0,1542,1544,3,50,25,0,1543,1541,1, - 0,0,0,1544,1547,1,0,0,0,1545,1543,1,0,0,0,1545,1546,1,0,0,0,1546, - 1549,1,0,0,0,1547,1545,1,0,0,0,1548,1538,1,0,0,0,1548,1549,1,0,0, - 0,1549,1551,1,0,0,0,1550,1552,3,198,99,0,1551,1550,1,0,0,0,1551, - 1552,1,0,0,0,1552,65,1,0,0,0,1553,1555,3,292,146,0,1554,1556,3,108, - 54,0,1555,1554,1,0,0,0,1555,1556,1,0,0,0,1556,1557,1,0,0,0,1557, - 1558,5,28,0,0,1558,1559,5,1,0,0,1559,1560,3,22,11,0,1560,1561,5, - 2,0,0,1561,67,1,0,0,0,1562,1563,7,10,0,0,1563,69,1,0,0,0,1564,1567, - 3,274,137,0,1565,1567,3,136,68,0,1566,1564,1,0,0,0,1566,1565,1,0, - 0,0,1567,1572,1,0,0,0,1568,1570,5,28,0,0,1569,1568,1,0,0,0,1569, - 1570,1,0,0,0,1570,1571,1,0,0,0,1571,1573,3,292,146,0,1572,1569,1, - 0,0,0,1572,1573,1,0,0,0,1573,1583,1,0,0,0,1574,1575,3,144,72,0,1575, - 1576,5,4,0,0,1576,1579,5,320,0,0,1577,1578,5,28,0,0,1578,1580,3, - 108,54,0,1579,1577,1,0,0,0,1579,1580,1,0,0,0,1580,1583,1,0,0,0,1581, - 1583,5,320,0,0,1582,1566,1,0,0,0,1582,1574,1,0,0,0,1582,1581,1,0, - 0,0,1583,71,1,0,0,0,1584,1585,6,36,-1,0,1585,1586,3,78,39,0,1586, - 1605,1,0,0,0,1587,1601,10,2,0,0,1588,1589,5,54,0,0,1589,1590,5,136, - 0,0,1590,1602,3,78,39,0,1591,1592,3,74,37,0,1592,1593,5,136,0,0, - 1593,1594,3,72,36,0,1594,1595,3,76,38,0,1595,1602,1,0,0,0,1596,1597, - 5,172,0,0,1597,1598,3,74,37,0,1598,1599,5,136,0,0,1599,1600,3,78, - 39,0,1600,1602,1,0,0,0,1601,1588,1,0,0,0,1601,1591,1,0,0,0,1601, - 1596,1,0,0,0,1602,1604,1,0,0,0,1603,1587,1,0,0,0,1604,1607,1,0,0, - 0,1605,1603,1,0,0,0,1605,1606,1,0,0,0,1606,73,1,0,0,0,1607,1605, - 1,0,0,0,1608,1610,5,125,0,0,1609,1608,1,0,0,0,1609,1610,1,0,0,0, - 1610,1624,1,0,0,0,1611,1613,5,152,0,0,1612,1614,5,197,0,0,1613,1612, - 1,0,0,0,1613,1614,1,0,0,0,1614,1624,1,0,0,0,1615,1617,5,234,0,0, - 1616,1618,5,197,0,0,1617,1616,1,0,0,0,1617,1618,1,0,0,0,1618,1624, - 1,0,0,0,1619,1621,5,106,0,0,1620,1622,5,197,0,0,1621,1620,1,0,0, - 0,1621,1622,1,0,0,0,1622,1624,1,0,0,0,1623,1609,1,0,0,0,1623,1611, - 1,0,0,0,1623,1615,1,0,0,0,1623,1619,1,0,0,0,1624,75,1,0,0,0,1625, - 1626,5,190,0,0,1626,1640,3,138,69,0,1627,1628,5,290,0,0,1628,1629, - 5,1,0,0,1629,1634,3,292,146,0,1630,1631,5,3,0,0,1631,1633,3,292, - 146,0,1632,1630,1,0,0,0,1633,1636,1,0,0,0,1634,1632,1,0,0,0,1634, - 1635,1,0,0,0,1635,1637,1,0,0,0,1636,1634,1,0,0,0,1637,1638,5,2,0, - 0,1638,1640,1,0,0,0,1639,1625,1,0,0,0,1639,1627,1,0,0,0,1640,77, - 1,0,0,0,1641,1648,3,88,44,0,1642,1643,5,262,0,0,1643,1644,3,80,40, - 0,1644,1645,5,1,0,0,1645,1646,3,136,68,0,1646,1647,5,2,0,0,1647, - 1649,1,0,0,0,1648,1642,1,0,0,0,1648,1649,1,0,0,0,1649,79,1,0,0,0, - 1650,1651,7,11,0,0,1651,81,1,0,0,0,1652,1653,7,12,0,0,1653,83,1, - 0,0,0,1654,1661,5,89,0,0,1655,1657,5,274,0,0,1656,1658,3,168,84, - 0,1657,1656,1,0,0,0,1657,1658,1,0,0,0,1658,1659,1,0,0,0,1659,1661, - 3,86,43,0,1660,1654,1,0,0,0,1660,1655,1,0,0,0,1661,85,1,0,0,0,1662, - 1663,5,304,0,0,1663,1667,5,51,0,0,1664,1665,5,306,0,0,1665,1667, - 5,51,0,0,1666,1662,1,0,0,0,1666,1664,1,0,0,0,1667,87,1,0,0,0,1668, - 1751,3,102,51,0,1669,1670,5,166,0,0,1670,1681,5,1,0,0,1671,1672, - 5,201,0,0,1672,1673,5,36,0,0,1673,1678,3,136,68,0,1674,1675,5,3, - 0,0,1675,1677,3,136,68,0,1676,1674,1,0,0,0,1677,1680,1,0,0,0,1678, - 1676,1,0,0,0,1678,1679,1,0,0,0,1679,1682,1,0,0,0,1680,1678,1,0,0, - 0,1681,1671,1,0,0,0,1681,1682,1,0,0,0,1682,1693,1,0,0,0,1683,1684, - 5,195,0,0,1684,1685,5,36,0,0,1685,1690,3,50,25,0,1686,1687,5,3,0, - 0,1687,1689,3,50,25,0,1688,1686,1,0,0,0,1689,1692,1,0,0,0,1690,1688, - 1,0,0,0,1690,1691,1,0,0,0,1691,1694,1,0,0,0,1692,1690,1,0,0,0,1693, - 1683,1,0,0,0,1693,1694,1,0,0,0,1694,1704,1,0,0,0,1695,1696,5,168, - 0,0,1696,1701,3,90,45,0,1697,1698,5,3,0,0,1698,1700,3,90,45,0,1699, - 1697,1,0,0,0,1700,1703,1,0,0,0,1701,1699,1,0,0,0,1701,1702,1,0,0, - 0,1702,1705,1,0,0,0,1703,1701,1,0,0,0,1704,1695,1,0,0,0,1704,1705, - 1,0,0,0,1705,1707,1,0,0,0,1706,1708,3,92,46,0,1707,1706,1,0,0,0, - 1707,1708,1,0,0,0,1708,1712,1,0,0,0,1709,1710,5,21,0,0,1710,1711, - 5,163,0,0,1711,1713,3,96,48,0,1712,1709,1,0,0,0,1712,1713,1,0,0, - 0,1713,1715,1,0,0,0,1714,1716,7,13,0,0,1715,1714,1,0,0,0,1715,1716, - 1,0,0,0,1716,1717,1,0,0,0,1717,1718,5,206,0,0,1718,1719,5,1,0,0, - 1719,1720,3,204,102,0,1720,1730,5,2,0,0,1721,1722,5,257,0,0,1722, - 1727,3,98,49,0,1723,1724,5,3,0,0,1724,1726,3,98,49,0,1725,1723,1, - 0,0,0,1726,1729,1,0,0,0,1727,1725,1,0,0,0,1727,1728,1,0,0,0,1728, - 1731,1,0,0,0,1729,1727,1,0,0,0,1730,1721,1,0,0,0,1730,1731,1,0,0, - 0,1731,1732,1,0,0,0,1732,1733,5,71,0,0,1733,1738,3,100,50,0,1734, - 1735,5,3,0,0,1735,1737,3,100,50,0,1736,1734,1,0,0,0,1737,1740,1, - 0,0,0,1738,1736,1,0,0,0,1738,1739,1,0,0,0,1739,1741,1,0,0,0,1740, - 1738,1,0,0,0,1741,1749,5,2,0,0,1742,1744,5,28,0,0,1743,1742,1,0, - 0,0,1743,1744,1,0,0,0,1744,1745,1,0,0,0,1745,1747,3,292,146,0,1746, - 1748,3,108,54,0,1747,1746,1,0,0,0,1747,1748,1,0,0,0,1748,1750,1, - 0,0,0,1749,1743,1,0,0,0,1749,1750,1,0,0,0,1750,1752,1,0,0,0,1751, - 1669,1,0,0,0,1751,1752,1,0,0,0,1752,89,1,0,0,0,1753,1754,3,136,68, - 0,1754,1755,5,28,0,0,1755,1756,3,292,146,0,1756,91,1,0,0,0,1757, - 1758,5,191,0,0,1758,1759,5,239,0,0,1759,1760,5,207,0,0,1760,1769, - 5,163,0,0,1761,1762,5,22,0,0,1762,1763,5,240,0,0,1763,1764,5,207, - 0,0,1764,1766,5,163,0,0,1765,1767,3,94,47,0,1766,1765,1,0,0,0,1766, - 1767,1,0,0,0,1767,1769,1,0,0,0,1768,1757,1,0,0,0,1768,1761,1,0,0, - 0,1769,93,1,0,0,0,1770,1771,5,253,0,0,1771,1772,5,85,0,0,1772,1780, - 5,165,0,0,1773,1774,5,189,0,0,1774,1775,5,85,0,0,1775,1780,5,165, - 0,0,1776,1777,5,304,0,0,1777,1778,5,284,0,0,1778,1780,5,240,0,0, - 1779,1770,1,0,0,0,1779,1773,1,0,0,0,1779,1776,1,0,0,0,1780,95,1, - 0,0,0,1781,1782,5,5,0,0,1782,1783,5,269,0,0,1783,1784,5,174,0,0, - 1784,1801,5,239,0,0,1785,1786,5,5,0,0,1786,1787,5,204,0,0,1787,1788, - 5,148,0,0,1788,1801,5,239,0,0,1789,1790,5,5,0,0,1790,1791,5,269, - 0,0,1791,1792,5,101,0,0,1792,1801,3,292,146,0,1793,1794,5,5,0,0, - 1794,1795,5,269,0,0,1795,1796,5,148,0,0,1796,1801,3,292,146,0,1797, - 1798,5,5,0,0,1798,1799,5,269,0,0,1799,1801,3,292,146,0,1800,1781, - 1,0,0,0,1800,1785,1,0,0,0,1800,1789,1,0,0,0,1800,1793,1,0,0,0,1800, - 1797,1,0,0,0,1801,97,1,0,0,0,1802,1803,3,292,146,0,1803,1804,5,312, - 0,0,1804,1805,5,1,0,0,1805,1810,3,292,146,0,1806,1807,5,3,0,0,1807, - 1809,3,292,146,0,1808,1806,1,0,0,0,1809,1812,1,0,0,0,1810,1808,1, - 0,0,0,1810,1811,1,0,0,0,1811,1813,1,0,0,0,1812,1810,1,0,0,0,1813, - 1814,5,2,0,0,1814,99,1,0,0,0,1815,1816,3,292,146,0,1816,1817,5,28, - 0,0,1817,1818,3,136,68,0,1818,101,1,0,0,0,1819,1827,3,110,55,0,1820, - 1822,5,28,0,0,1821,1820,1,0,0,0,1821,1822,1,0,0,0,1822,1823,1,0, - 0,0,1823,1825,3,292,146,0,1824,1826,3,108,54,0,1825,1824,1,0,0,0, - 1825,1826,1,0,0,0,1826,1828,1,0,0,0,1827,1821,1,0,0,0,1827,1828, - 1,0,0,0,1828,103,1,0,0,0,1829,1830,5,1,0,0,1830,1835,3,276,138,0, - 1831,1832,5,3,0,0,1832,1834,3,276,138,0,1833,1831,1,0,0,0,1834,1837, - 1,0,0,0,1835,1833,1,0,0,0,1835,1836,1,0,0,0,1836,1838,1,0,0,0,1837, - 1835,1,0,0,0,1838,1839,5,2,0,0,1839,105,1,0,0,0,1840,1841,5,1,0, - 0,1841,1846,3,274,137,0,1842,1843,5,3,0,0,1843,1845,3,274,137,0, - 1844,1842,1,0,0,0,1845,1848,1,0,0,0,1846,1844,1,0,0,0,1846,1847, - 1,0,0,0,1847,1849,1,0,0,0,1848,1846,1,0,0,0,1849,1850,5,2,0,0,1850, - 107,1,0,0,0,1851,1852,5,1,0,0,1852,1857,3,292,146,0,1853,1854,5, - 3,0,0,1854,1856,3,292,146,0,1855,1853,1,0,0,0,1856,1859,1,0,0,0, - 1857,1855,1,0,0,0,1857,1858,1,0,0,0,1858,1860,1,0,0,0,1859,1857, - 1,0,0,0,1860,1861,5,2,0,0,1861,109,1,0,0,0,1862,1864,3,252,126,0, - 1863,1865,3,280,140,0,1864,1863,1,0,0,0,1864,1865,1,0,0,0,1865,1934, - 1,0,0,0,1866,1867,5,1,0,0,1867,1868,3,22,11,0,1868,1869,5,2,0,0, - 1869,1934,1,0,0,0,1870,1871,5,285,0,0,1871,1872,5,1,0,0,1872,1877, - 3,136,68,0,1873,1874,5,3,0,0,1874,1876,3,136,68,0,1875,1873,1,0, - 0,0,1876,1879,1,0,0,0,1877,1875,1,0,0,0,1877,1878,1,0,0,0,1878,1880, - 1,0,0,0,1879,1877,1,0,0,0,1880,1883,5,2,0,0,1881,1882,5,304,0,0, - 1882,1884,5,196,0,0,1883,1881,1,0,0,0,1883,1884,1,0,0,0,1884,1934, - 1,0,0,0,1885,1886,5,149,0,0,1886,1887,5,1,0,0,1887,1888,3,22,11, - 0,1888,1889,5,2,0,0,1889,1934,1,0,0,0,1890,1891,5,260,0,0,1891,1892, - 5,1,0,0,1892,1893,3,122,61,0,1893,1894,5,2,0,0,1894,1934,1,0,0,0, - 1895,1896,5,1,0,0,1896,1897,3,72,36,0,1897,1898,5,2,0,0,1898,1934, - 1,0,0,0,1899,1900,5,142,0,0,1900,1901,5,1,0,0,1901,1902,3,146,73, - 0,1902,1903,5,45,0,0,1903,1904,5,1,0,0,1904,1909,3,112,56,0,1905, - 1906,5,3,0,0,1906,1908,3,112,56,0,1907,1905,1,0,0,0,1908,1911,1, - 0,0,0,1909,1907,1,0,0,0,1909,1910,1,0,0,0,1910,1912,1,0,0,0,1911, - 1909,1,0,0,0,1912,1924,5,2,0,0,1913,1914,5,210,0,0,1914,1915,5,1, - 0,0,1915,1916,3,114,57,0,1916,1917,5,2,0,0,1917,1925,1,0,0,0,1918, - 1919,5,210,0,0,1919,1920,5,70,0,0,1920,1921,5,1,0,0,1921,1922,3, - 120,60,0,1922,1923,5,2,0,0,1923,1925,1,0,0,0,1924,1913,1,0,0,0,1924, - 1918,1,0,0,0,1924,1925,1,0,0,0,1925,1929,1,0,0,0,1926,1927,7,14, - 0,0,1927,1928,5,190,0,0,1928,1930,5,89,0,0,1929,1926,1,0,0,0,1929, - 1930,1,0,0,0,1930,1931,1,0,0,0,1931,1932,5,2,0,0,1932,1934,1,0,0, - 0,1933,1862,1,0,0,0,1933,1866,1,0,0,0,1933,1870,1,0,0,0,1933,1885, - 1,0,0,0,1933,1890,1,0,0,0,1933,1895,1,0,0,0,1933,1899,1,0,0,0,1934, - 111,1,0,0,0,1935,1936,3,292,146,0,1936,1937,5,103,0,0,1937,1938, - 5,196,0,0,1938,2013,1,0,0,0,1939,1940,3,292,146,0,1940,1943,3,184, - 92,0,1941,1942,5,205,0,0,1942,1944,3,168,84,0,1943,1941,1,0,0,0, - 1943,1944,1,0,0,0,1944,1949,1,0,0,0,1945,1946,3,156,78,0,1946,1947, - 5,190,0,0,1947,1948,5,85,0,0,1948,1950,1,0,0,0,1949,1945,1,0,0,0, - 1949,1950,1,0,0,0,1950,1955,1,0,0,0,1951,1952,3,156,78,0,1952,1953, - 5,190,0,0,1953,1954,5,89,0,0,1954,1956,1,0,0,0,1955,1951,1,0,0,0, - 1955,1956,1,0,0,0,1956,2013,1,0,0,0,1957,1958,3,292,146,0,1958,1959, - 3,184,92,0,1959,1960,5,104,0,0,1960,1963,3,150,75,0,1961,1962,5, - 205,0,0,1962,1964,3,168,84,0,1963,1961,1,0,0,0,1963,1964,1,0,0,0, - 1964,1968,1,0,0,0,1965,1966,3,158,79,0,1966,1967,5,308,0,0,1967, - 1969,1,0,0,0,1968,1965,1,0,0,0,1968,1969,1,0,0,0,1969,1977,1,0,0, - 0,1970,1971,7,15,0,0,1971,1975,5,218,0,0,1972,1973,5,190,0,0,1973, - 1974,5,242,0,0,1974,1976,5,264,0,0,1975,1972,1,0,0,0,1975,1976,1, - 0,0,0,1976,1978,1,0,0,0,1977,1970,1,0,0,0,1977,1978,1,0,0,0,1978, - 1983,1,0,0,0,1979,1980,3,160,80,0,1980,1981,5,190,0,0,1981,1982, - 5,85,0,0,1982,1984,1,0,0,0,1983,1979,1,0,0,0,1983,1984,1,0,0,0,1984, - 1989,1,0,0,0,1985,1986,3,160,80,0,1986,1987,5,190,0,0,1987,1988, - 5,89,0,0,1988,1990,1,0,0,0,1989,1985,1,0,0,0,1989,1990,1,0,0,0,1990, - 2013,1,0,0,0,1991,1993,5,173,0,0,1992,1994,5,205,0,0,1993,1992,1, - 0,0,0,1993,1994,1,0,0,0,1994,1995,1,0,0,0,1995,1998,3,168,84,0,1996, - 1997,5,28,0,0,1997,1999,3,292,146,0,1998,1996,1,0,0,0,1998,1999, - 1,0,0,0,1999,2000,1,0,0,0,2000,2001,5,45,0,0,2001,2002,5,1,0,0,2002, - 2007,3,112,56,0,2003,2004,5,3,0,0,2004,2006,3,112,56,0,2005,2003, - 1,0,0,0,2006,2009,1,0,0,0,2007,2005,1,0,0,0,2007,2008,1,0,0,0,2008, - 2010,1,0,0,0,2009,2007,1,0,0,0,2010,2011,5,2,0,0,2011,2013,1,0,0, - 0,2012,1935,1,0,0,0,2012,1939,1,0,0,0,2012,1957,1,0,0,0,2012,1991, - 1,0,0,0,2013,113,1,0,0,0,2014,2040,3,116,58,0,2015,2016,3,116,58, - 0,2016,2017,7,16,0,0,2017,2018,3,118,59,0,2018,2040,1,0,0,0,2019, - 2020,3,118,59,0,2020,2021,5,281,0,0,2021,2026,3,118,59,0,2022,2023, - 5,281,0,0,2023,2025,3,118,59,0,2024,2022,1,0,0,0,2025,2028,1,0,0, - 0,2026,2024,1,0,0,0,2026,2027,1,0,0,0,2027,2040,1,0,0,0,2028,2026, - 1,0,0,0,2029,2030,3,118,59,0,2030,2031,5,54,0,0,2031,2036,3,118, - 59,0,2032,2033,5,54,0,0,2033,2035,3,118,59,0,2034,2032,1,0,0,0,2035, - 2038,1,0,0,0,2036,2034,1,0,0,0,2036,2037,1,0,0,0,2037,2040,1,0,0, - 0,2038,2036,1,0,0,0,2039,2014,1,0,0,0,2039,2015,1,0,0,0,2039,2019, - 1,0,0,0,2039,2029,1,0,0,0,2040,115,1,0,0,0,2041,2042,3,292,146,0, - 2042,117,1,0,0,0,2043,2049,3,116,58,0,2044,2045,5,1,0,0,2045,2046, - 3,114,57,0,2046,2047,5,2,0,0,2047,2049,1,0,0,0,2048,2043,1,0,0,0, - 2048,2044,1,0,0,0,2049,119,1,0,0,0,2050,2053,7,16,0,0,2051,2052, - 5,3,0,0,2052,2054,7,17,0,0,2053,2051,1,0,0,0,2053,2054,1,0,0,0,2054, - 2061,1,0,0,0,2055,2058,7,17,0,0,2056,2057,5,3,0,0,2057,2059,7,16, - 0,0,2058,2056,1,0,0,0,2058,2059,1,0,0,0,2059,2061,1,0,0,0,2060,2050, - 1,0,0,0,2060,2055,1,0,0,0,2061,121,1,0,0,0,2062,2063,3,270,135,0, - 2063,2072,5,1,0,0,2064,2069,3,124,62,0,2065,2066,5,3,0,0,2066,2068, - 3,124,62,0,2067,2065,1,0,0,0,2068,2071,1,0,0,0,2069,2067,1,0,0,0, - 2069,2070,1,0,0,0,2070,2073,1,0,0,0,2071,2069,1,0,0,0,2072,2064, - 1,0,0,0,2072,2073,1,0,0,0,2073,2083,1,0,0,0,2074,2075,5,52,0,0,2075, - 2080,3,134,67,0,2076,2077,5,3,0,0,2077,2079,3,134,67,0,2078,2076, - 1,0,0,0,2079,2082,1,0,0,0,2080,2078,1,0,0,0,2080,2081,1,0,0,0,2081, - 2084,1,0,0,0,2082,2080,1,0,0,0,2083,2074,1,0,0,0,2083,2084,1,0,0, - 0,2084,2085,1,0,0,0,2085,2086,5,2,0,0,2086,123,1,0,0,0,2087,2088, - 3,292,146,0,2088,2089,5,6,0,0,2089,2091,1,0,0,0,2090,2087,1,0,0, - 0,2090,2091,1,0,0,0,2091,2095,1,0,0,0,2092,2096,3,126,63,0,2093, - 2096,3,130,65,0,2094,2096,3,136,68,0,2095,2092,1,0,0,0,2095,2093, - 1,0,0,0,2095,2094,1,0,0,0,2096,125,1,0,0,0,2097,2115,3,128,64,0, - 2098,2099,5,201,0,0,2099,2113,5,36,0,0,2100,2109,5,1,0,0,2101,2106, - 3,136,68,0,2102,2103,5,3,0,0,2103,2105,3,136,68,0,2104,2102,1,0, - 0,0,2105,2108,1,0,0,0,2106,2104,1,0,0,0,2106,2107,1,0,0,0,2107,2110, - 1,0,0,0,2108,2106,1,0,0,0,2109,2101,1,0,0,0,2109,2110,1,0,0,0,2110, - 2111,1,0,0,0,2111,2114,5,2,0,0,2112,2114,3,136,68,0,2113,2100,1, - 0,0,0,2113,2112,1,0,0,0,2114,2116,1,0,0,0,2115,2098,1,0,0,0,2115, - 2116,1,0,0,0,2116,2123,1,0,0,0,2117,2118,5,217,0,0,2118,2119,5,300, - 0,0,2119,2124,5,85,0,0,2120,2121,5,144,0,0,2121,2122,5,300,0,0,2122, - 2124,5,85,0,0,2123,2117,1,0,0,0,2123,2120,1,0,0,0,2123,2124,1,0, - 0,0,2124,2141,1,0,0,0,2125,2126,5,195,0,0,2126,2139,5,36,0,0,2127, - 2128,5,1,0,0,2128,2133,3,50,25,0,2129,2130,5,3,0,0,2130,2132,3,50, - 25,0,2131,2129,1,0,0,0,2132,2135,1,0,0,0,2133,2131,1,0,0,0,2133, - 2134,1,0,0,0,2134,2136,1,0,0,0,2135,2133,1,0,0,0,2136,2137,5,2,0, - 0,2137,2140,1,0,0,0,2138,2140,3,50,25,0,2139,2127,1,0,0,0,2139,2138, - 1,0,0,0,2140,2142,1,0,0,0,2141,2125,1,0,0,0,2141,2142,1,0,0,0,2142, - 127,1,0,0,0,2143,2144,5,260,0,0,2144,2145,5,1,0,0,2145,2146,3,254, - 127,0,2146,2154,5,2,0,0,2147,2149,5,28,0,0,2148,2147,1,0,0,0,2148, - 2149,1,0,0,0,2149,2150,1,0,0,0,2150,2152,3,292,146,0,2151,2153,3, - 108,54,0,2152,2151,1,0,0,0,2152,2153,1,0,0,0,2153,2155,1,0,0,0,2154, - 2148,1,0,0,0,2154,2155,1,0,0,0,2155,2170,1,0,0,0,2156,2157,5,260, - 0,0,2157,2158,5,1,0,0,2158,2159,3,22,11,0,2159,2167,5,2,0,0,2160, - 2162,5,28,0,0,2161,2160,1,0,0,0,2161,2162,1,0,0,0,2162,2163,1,0, - 0,0,2163,2165,3,292,146,0,2164,2166,3,108,54,0,2165,2164,1,0,0,0, - 2165,2166,1,0,0,0,2166,2168,1,0,0,0,2167,2161,1,0,0,0,2167,2168, - 1,0,0,0,2168,2170,1,0,0,0,2169,2143,1,0,0,0,2169,2156,1,0,0,0,2170, - 129,1,0,0,0,2171,2172,5,77,0,0,2172,2173,5,1,0,0,2173,2178,3,132, - 66,0,2174,2175,5,3,0,0,2175,2177,3,132,66,0,2176,2174,1,0,0,0,2177, - 2180,1,0,0,0,2178,2176,1,0,0,0,2178,2179,1,0,0,0,2179,2181,1,0,0, - 0,2180,2178,1,0,0,0,2181,2182,5,2,0,0,2182,2190,1,0,0,0,2183,2184, - 5,41,0,0,2184,2185,5,1,0,0,2185,2186,5,183,0,0,2186,2187,5,28,0, - 0,2187,2188,5,77,0,0,2188,2190,5,2,0,0,2189,2171,1,0,0,0,2189,2183, - 1,0,0,0,2190,131,1,0,0,0,2191,2193,3,292,146,0,2192,2194,3,184,92, - 0,2193,2192,1,0,0,0,2193,2194,1,0,0,0,2194,133,1,0,0,0,2195,2196, - 5,1,0,0,2196,2197,3,278,139,0,2197,2198,5,3,0,0,2198,2203,3,278, - 139,0,2199,2200,5,3,0,0,2200,2202,3,278,139,0,2201,2199,1,0,0,0, - 2202,2205,1,0,0,0,2203,2201,1,0,0,0,2203,2204,1,0,0,0,2204,2206, - 1,0,0,0,2205,2203,1,0,0,0,2206,2207,5,2,0,0,2207,135,1,0,0,0,2208, - 2209,3,138,69,0,2209,137,1,0,0,0,2210,2211,6,69,-1,0,2211,2213,3, - 142,71,0,2212,2214,3,140,70,0,2213,2212,1,0,0,0,2213,2214,1,0,0, - 0,2214,2218,1,0,0,0,2215,2216,5,182,0,0,2216,2218,3,138,69,3,2217, - 2210,1,0,0,0,2217,2215,1,0,0,0,2218,2227,1,0,0,0,2219,2220,10,2, - 0,0,2220,2221,5,25,0,0,2221,2226,3,138,69,3,2222,2223,10,1,0,0,2223, - 2224,5,194,0,0,2224,2226,3,138,69,2,2225,2219,1,0,0,0,2225,2222, - 1,0,0,0,2226,2229,1,0,0,0,2227,2225,1,0,0,0,2227,2228,1,0,0,0,2228, - 139,1,0,0,0,2229,2227,1,0,0,0,2230,2231,3,172,86,0,2231,2232,3,142, - 71,0,2232,2292,1,0,0,0,2233,2234,3,172,86,0,2234,2235,3,174,87,0, - 2235,2236,5,1,0,0,2236,2237,3,22,11,0,2237,2238,5,2,0,0,2238,2292, - 1,0,0,0,2239,2241,5,182,0,0,2240,2239,1,0,0,0,2240,2241,1,0,0,0, - 2241,2242,1,0,0,0,2242,2243,5,34,0,0,2243,2244,3,142,71,0,2244,2245, - 5,25,0,0,2245,2246,3,142,71,0,2246,2292,1,0,0,0,2247,2249,5,182, - 0,0,2248,2247,1,0,0,0,2248,2249,1,0,0,0,2249,2250,1,0,0,0,2250,2251, - 5,122,0,0,2251,2252,5,1,0,0,2252,2257,3,136,68,0,2253,2254,5,3,0, - 0,2254,2256,3,136,68,0,2255,2253,1,0,0,0,2256,2259,1,0,0,0,2257, - 2255,1,0,0,0,2257,2258,1,0,0,0,2258,2260,1,0,0,0,2259,2257,1,0,0, - 0,2260,2261,5,2,0,0,2261,2292,1,0,0,0,2262,2264,5,182,0,0,2263,2262, - 1,0,0,0,2263,2264,1,0,0,0,2264,2265,1,0,0,0,2265,2266,5,122,0,0, - 2266,2267,5,1,0,0,2267,2268,3,22,11,0,2268,2269,5,2,0,0,2269,2292, - 1,0,0,0,2270,2272,5,182,0,0,2271,2270,1,0,0,0,2271,2272,1,0,0,0, - 2272,2273,1,0,0,0,2273,2274,5,154,0,0,2274,2277,3,142,71,0,2275, - 2276,5,90,0,0,2276,2278,3,142,71,0,2277,2275,1,0,0,0,2277,2278,1, - 0,0,0,2278,2292,1,0,0,0,2279,2281,5,133,0,0,2280,2282,5,182,0,0, - 2281,2280,1,0,0,0,2281,2282,1,0,0,0,2282,2283,1,0,0,0,2283,2292, - 5,183,0,0,2284,2286,5,133,0,0,2285,2287,5,182,0,0,2286,2285,1,0, - 0,0,2286,2287,1,0,0,0,2287,2288,1,0,0,0,2288,2289,5,79,0,0,2289, - 2290,5,105,0,0,2290,2292,3,142,71,0,2291,2230,1,0,0,0,2291,2233, - 1,0,0,0,2291,2240,1,0,0,0,2291,2248,1,0,0,0,2291,2263,1,0,0,0,2291, - 2271,1,0,0,0,2291,2279,1,0,0,0,2291,2284,1,0,0,0,2292,141,1,0,0, - 0,2293,2294,6,71,-1,0,2294,2298,3,144,72,0,2295,2296,7,18,0,0,2296, - 2298,3,142,71,4,2297,2293,1,0,0,0,2297,2295,1,0,0,0,2298,2313,1, - 0,0,0,2299,2300,10,3,0,0,2300,2301,7,19,0,0,2301,2312,3,142,71,4, - 2302,2303,10,2,0,0,2303,2304,7,18,0,0,2304,2312,3,142,71,3,2305, - 2306,10,1,0,0,2306,2307,5,323,0,0,2307,2312,3,142,71,2,2308,2309, - 10,5,0,0,2309,2310,5,30,0,0,2310,2312,3,170,85,0,2311,2299,1,0,0, - 0,2311,2302,1,0,0,0,2311,2305,1,0,0,0,2311,2308,1,0,0,0,2312,2315, - 1,0,0,0,2313,2311,1,0,0,0,2313,2314,1,0,0,0,2314,143,1,0,0,0,2315, - 2313,1,0,0,0,2316,2317,6,72,-1,0,2317,2770,5,183,0,0,2318,2770,3, - 178,89,0,2319,2320,3,292,146,0,2320,2321,3,168,84,0,2321,2770,1, - 0,0,0,2322,2323,5,82,0,0,2323,2324,5,213,0,0,2324,2770,3,168,84, - 0,2325,2770,3,294,147,0,2326,2770,3,176,88,0,2327,2770,3,168,84, - 0,2328,2770,5,328,0,0,2329,2770,5,324,0,0,2330,2331,5,211,0,0,2331, - 2332,5,1,0,0,2332,2333,3,142,71,0,2333,2334,5,122,0,0,2334,2335, - 3,142,71,0,2335,2336,5,2,0,0,2336,2770,1,0,0,0,2337,2338,5,1,0,0, - 2338,2341,3,136,68,0,2339,2340,5,3,0,0,2340,2342,3,136,68,0,2341, - 2339,1,0,0,0,2342,2343,1,0,0,0,2343,2341,1,0,0,0,2343,2344,1,0,0, - 0,2344,2345,1,0,0,0,2345,2346,5,2,0,0,2346,2770,1,0,0,0,2347,2348, - 5,239,0,0,2348,2349,5,1,0,0,2349,2354,3,136,68,0,2350,2351,5,3,0, - 0,2351,2353,3,136,68,0,2352,2350,1,0,0,0,2353,2356,1,0,0,0,2354, - 2352,1,0,0,0,2354,2355,1,0,0,0,2355,2357,1,0,0,0,2356,2354,1,0,0, - 0,2357,2358,5,2,0,0,2358,2770,1,0,0,0,2359,2360,5,156,0,0,2360,2362, - 5,1,0,0,2361,2363,3,68,34,0,2362,2361,1,0,0,0,2362,2363,1,0,0,0, - 2363,2364,1,0,0,0,2364,2367,3,136,68,0,2365,2366,5,3,0,0,2366,2368, - 3,168,84,0,2367,2365,1,0,0,0,2367,2368,1,0,0,0,2368,2372,1,0,0,0, - 2369,2370,5,190,0,0,2370,2371,5,200,0,0,2371,2373,3,84,42,0,2372, - 2369,1,0,0,0,2372,2373,1,0,0,0,2373,2374,1,0,0,0,2374,2375,5,2,0, - 0,2375,2376,5,305,0,0,2376,2377,5,114,0,0,2377,2378,5,1,0,0,2378, - 2379,5,195,0,0,2379,2380,5,36,0,0,2380,2385,3,50,25,0,2381,2382, - 5,3,0,0,2382,2384,3,50,25,0,2383,2381,1,0,0,0,2384,2387,1,0,0,0, - 2385,2383,1,0,0,0,2385,2386,1,0,0,0,2386,2388,1,0,0,0,2387,2385, - 1,0,0,0,2388,2389,5,2,0,0,2389,2391,1,0,0,0,2390,2392,3,192,96,0, - 2391,2390,1,0,0,0,2391,2392,1,0,0,0,2392,2770,1,0,0,0,2393,2395, - 3,164,82,0,2394,2393,1,0,0,0,2394,2395,1,0,0,0,2395,2396,1,0,0,0, - 2396,2397,3,270,135,0,2397,2401,5,1,0,0,2398,2399,3,292,146,0,2399, - 2400,5,4,0,0,2400,2402,1,0,0,0,2401,2398,1,0,0,0,2401,2402,1,0,0, - 0,2402,2403,1,0,0,0,2403,2404,5,320,0,0,2404,2406,5,2,0,0,2405,2407, - 3,192,96,0,2406,2405,1,0,0,0,2406,2407,1,0,0,0,2407,2409,1,0,0,0, - 2408,2410,3,196,98,0,2409,2408,1,0,0,0,2409,2410,1,0,0,0,2410,2770, - 1,0,0,0,2411,2413,3,164,82,0,2412,2411,1,0,0,0,2412,2413,1,0,0,0, - 2413,2414,1,0,0,0,2414,2415,3,270,135,0,2415,2427,5,1,0,0,2416,2418, - 3,68,34,0,2417,2416,1,0,0,0,2417,2418,1,0,0,0,2418,2419,1,0,0,0, - 2419,2424,3,136,68,0,2420,2421,5,3,0,0,2421,2423,3,136,68,0,2422, - 2420,1,0,0,0,2423,2426,1,0,0,0,2424,2422,1,0,0,0,2424,2425,1,0,0, - 0,2425,2428,1,0,0,0,2426,2424,1,0,0,0,2427,2417,1,0,0,0,2427,2428, - 1,0,0,0,2428,2439,1,0,0,0,2429,2430,5,195,0,0,2430,2431,5,36,0,0, - 2431,2436,3,50,25,0,2432,2433,5,3,0,0,2433,2435,3,50,25,0,2434,2432, - 1,0,0,0,2435,2438,1,0,0,0,2436,2434,1,0,0,0,2436,2437,1,0,0,0,2437, - 2440,1,0,0,0,2438,2436,1,0,0,0,2439,2429,1,0,0,0,2439,2440,1,0,0, - 0,2440,2441,1,0,0,0,2441,2443,5,2,0,0,2442,2444,3,192,96,0,2443, - 2442,1,0,0,0,2443,2444,1,0,0,0,2444,2449,1,0,0,0,2445,2447,3,166, - 83,0,2446,2445,1,0,0,0,2446,2447,1,0,0,0,2447,2448,1,0,0,0,2448, - 2450,3,196,98,0,2449,2446,1,0,0,0,2449,2450,1,0,0,0,2450,2770,1, - 0,0,0,2451,2452,3,292,146,0,2452,2453,3,196,98,0,2453,2770,1,0,0, - 0,2454,2455,3,292,146,0,2455,2456,5,7,0,0,2456,2457,3,136,68,0,2457, - 2770,1,0,0,0,2458,2467,5,1,0,0,2459,2464,3,292,146,0,2460,2461,5, - 3,0,0,2461,2463,3,292,146,0,2462,2460,1,0,0,0,2463,2466,1,0,0,0, - 2464,2462,1,0,0,0,2464,2465,1,0,0,0,2465,2468,1,0,0,0,2466,2464, - 1,0,0,0,2467,2459,1,0,0,0,2467,2468,1,0,0,0,2468,2469,1,0,0,0,2469, - 2470,5,2,0,0,2470,2471,5,7,0,0,2471,2770,3,136,68,0,2472,2473,5, - 1,0,0,2473,2474,3,22,11,0,2474,2475,5,2,0,0,2475,2770,1,0,0,0,2476, - 2477,5,94,0,0,2477,2478,5,1,0,0,2478,2479,3,22,11,0,2479,2480,5, - 2,0,0,2480,2770,1,0,0,0,2481,2482,5,40,0,0,2482,2484,3,136,68,0, - 2483,2485,3,190,95,0,2484,2483,1,0,0,0,2485,2486,1,0,0,0,2486,2484, - 1,0,0,0,2486,2487,1,0,0,0,2487,2490,1,0,0,0,2488,2489,5,84,0,0,2489, - 2491,3,136,68,0,2490,2488,1,0,0,0,2490,2491,1,0,0,0,2491,2492,1, - 0,0,0,2492,2493,5,88,0,0,2493,2770,1,0,0,0,2494,2496,5,40,0,0,2495, - 2497,3,190,95,0,2496,2495,1,0,0,0,2497,2498,1,0,0,0,2498,2496,1, - 0,0,0,2498,2499,1,0,0,0,2499,2502,1,0,0,0,2500,2501,5,84,0,0,2501, - 2503,3,136,68,0,2502,2500,1,0,0,0,2502,2503,1,0,0,0,2503,2504,1, - 0,0,0,2504,2505,5,88,0,0,2505,2770,1,0,0,0,2506,2507,5,41,0,0,2507, - 2508,5,1,0,0,2508,2509,3,136,68,0,2509,2510,5,28,0,0,2510,2511,3, - 184,92,0,2511,2512,5,2,0,0,2512,2770,1,0,0,0,2513,2514,5,275,0,0, - 2514,2515,5,1,0,0,2515,2516,3,136,68,0,2516,2517,5,28,0,0,2517,2518, - 3,184,92,0,2518,2519,5,2,0,0,2519,2770,1,0,0,0,2520,2521,5,27,0, - 0,2521,2530,5,8,0,0,2522,2527,3,136,68,0,2523,2524,5,3,0,0,2524, - 2526,3,136,68,0,2525,2523,1,0,0,0,2526,2529,1,0,0,0,2527,2525,1, - 0,0,0,2527,2528,1,0,0,0,2528,2531,1,0,0,0,2529,2527,1,0,0,0,2530, - 2522,1,0,0,0,2530,2531,1,0,0,0,2531,2532,1,0,0,0,2532,2770,5,9,0, - 0,2533,2770,3,292,146,0,2534,2770,5,58,0,0,2535,2539,5,62,0,0,2536, - 2537,5,1,0,0,2537,2538,5,329,0,0,2538,2540,5,2,0,0,2539,2536,1,0, - 0,0,2539,2540,1,0,0,0,2540,2770,1,0,0,0,2541,2545,5,63,0,0,2542, - 2543,5,1,0,0,2543,2544,5,329,0,0,2544,2546,5,2,0,0,2545,2542,1,0, - 0,0,2545,2546,1,0,0,0,2546,2770,1,0,0,0,2547,2551,5,158,0,0,2548, - 2549,5,1,0,0,2549,2550,5,329,0,0,2550,2552,5,2,0,0,2551,2548,1,0, - 0,0,2551,2552,1,0,0,0,2552,2770,1,0,0,0,2553,2557,5,159,0,0,2554, - 2555,5,1,0,0,2555,2556,5,329,0,0,2556,2558,5,2,0,0,2557,2554,1,0, - 0,0,2557,2558,1,0,0,0,2558,2770,1,0,0,0,2559,2770,5,64,0,0,2560, - 2770,5,57,0,0,2561,2770,5,61,0,0,2562,2770,5,59,0,0,2563,2564,5, - 272,0,0,2564,2572,5,1,0,0,2565,2567,3,82,41,0,2566,2565,1,0,0,0, - 2566,2567,1,0,0,0,2567,2569,1,0,0,0,2568,2570,3,142,71,0,2569,2568, - 1,0,0,0,2569,2570,1,0,0,0,2570,2571,1,0,0,0,2571,2573,5,105,0,0, - 2572,2566,1,0,0,0,2572,2573,1,0,0,0,2573,2574,1,0,0,0,2574,2575, - 3,142,71,0,2575,2576,5,2,0,0,2576,2770,1,0,0,0,2577,2578,5,272,0, - 0,2578,2579,5,1,0,0,2579,2580,3,142,71,0,2580,2581,5,3,0,0,2581, - 2582,3,142,71,0,2582,2583,5,2,0,0,2583,2770,1,0,0,0,2584,2585,5, - 258,0,0,2585,2586,5,1,0,0,2586,2587,3,142,71,0,2587,2588,5,105,0, - 0,2588,2591,3,142,71,0,2589,2590,5,103,0,0,2590,2592,3,142,71,0, - 2591,2589,1,0,0,0,2591,2592,1,0,0,0,2592,2593,1,0,0,0,2593,2594, - 5,2,0,0,2594,2770,1,0,0,0,2595,2596,5,181,0,0,2596,2597,5,1,0,0, - 2597,2600,3,142,71,0,2598,2599,5,3,0,0,2599,2601,3,182,91,0,2600, - 2598,1,0,0,0,2600,2601,1,0,0,0,2601,2602,1,0,0,0,2602,2603,5,2,0, - 0,2603,2770,1,0,0,0,2604,2605,5,96,0,0,2605,2606,5,1,0,0,2606,2607, - 3,292,146,0,2607,2608,5,105,0,0,2608,2609,3,142,71,0,2609,2610,5, - 2,0,0,2610,2770,1,0,0,0,2611,2612,5,1,0,0,2612,2613,3,136,68,0,2613, - 2614,5,2,0,0,2614,2770,1,0,0,0,2615,2616,5,115,0,0,2616,2625,5,1, - 0,0,2617,2622,3,278,139,0,2618,2619,5,3,0,0,2619,2621,3,278,139, - 0,2620,2618,1,0,0,0,2621,2624,1,0,0,0,2622,2620,1,0,0,0,2622,2623, - 1,0,0,0,2623,2626,1,0,0,0,2624,2622,1,0,0,0,2625,2617,1,0,0,0,2625, - 2626,1,0,0,0,2626,2627,1,0,0,0,2627,2770,5,2,0,0,2628,2629,5,139, - 0,0,2629,2630,5,1,0,0,2630,2635,3,146,73,0,2631,2632,3,154,77,0, - 2632,2633,5,190,0,0,2633,2634,5,89,0,0,2634,2636,1,0,0,0,2635,2631, - 1,0,0,0,2635,2636,1,0,0,0,2636,2637,1,0,0,0,2637,2638,5,2,0,0,2638, - 2770,1,0,0,0,2639,2640,5,143,0,0,2640,2641,5,1,0,0,2641,2644,3,146, - 73,0,2642,2643,5,231,0,0,2643,2645,3,184,92,0,2644,2642,1,0,0,0, - 2644,2645,1,0,0,0,2645,2650,1,0,0,0,2646,2647,3,156,78,0,2647,2648, - 5,190,0,0,2648,2649,5,85,0,0,2649,2651,1,0,0,0,2650,2646,1,0,0,0, - 2650,2651,1,0,0,0,2651,2656,1,0,0,0,2652,2653,3,156,78,0,2653,2654, - 5,190,0,0,2654,2655,5,89,0,0,2655,2657,1,0,0,0,2656,2652,1,0,0,0, - 2656,2657,1,0,0,0,2657,2658,1,0,0,0,2658,2659,5,2,0,0,2659,2770, - 1,0,0,0,2660,2661,5,141,0,0,2661,2662,5,1,0,0,2662,2669,3,146,73, - 0,2663,2664,5,231,0,0,2664,2667,3,184,92,0,2665,2666,5,104,0,0,2666, - 2668,3,150,75,0,2667,2665,1,0,0,0,2667,2668,1,0,0,0,2668,2670,1, - 0,0,0,2669,2663,1,0,0,0,2669,2670,1,0,0,0,2670,2674,1,0,0,0,2671, - 2672,3,158,79,0,2672,2673,5,308,0,0,2673,2675,1,0,0,0,2674,2671, - 1,0,0,0,2674,2675,1,0,0,0,2675,2683,1,0,0,0,2676,2677,7,15,0,0,2677, - 2681,5,218,0,0,2678,2679,5,190,0,0,2679,2680,5,242,0,0,2680,2682, - 5,264,0,0,2681,2678,1,0,0,0,2681,2682,1,0,0,0,2682,2684,1,0,0,0, - 2683,2676,1,0,0,0,2683,2684,1,0,0,0,2684,2689,1,0,0,0,2685,2686, - 3,160,80,0,2686,2687,5,190,0,0,2687,2688,5,85,0,0,2688,2690,1,0, - 0,0,2689,2685,1,0,0,0,2689,2690,1,0,0,0,2690,2695,1,0,0,0,2691,2692, - 3,160,80,0,2692,2693,5,190,0,0,2693,2694,5,89,0,0,2694,2696,1,0, - 0,0,2695,2691,1,0,0,0,2695,2696,1,0,0,0,2696,2697,1,0,0,0,2697,2698, - 5,2,0,0,2698,2770,1,0,0,0,2699,2700,5,140,0,0,2700,2729,5,1,0,0, - 2701,2706,3,162,81,0,2702,2703,5,3,0,0,2703,2705,3,162,81,0,2704, - 2702,1,0,0,0,2705,2708,1,0,0,0,2706,2704,1,0,0,0,2706,2707,1,0,0, - 0,2707,2715,1,0,0,0,2708,2706,1,0,0,0,2709,2710,5,183,0,0,2710,2711, - 5,190,0,0,2711,2716,5,183,0,0,2712,2713,5,18,0,0,2713,2714,5,190, - 0,0,2714,2716,5,183,0,0,2715,2709,1,0,0,0,2715,2712,1,0,0,0,2715, - 2716,1,0,0,0,2716,2727,1,0,0,0,2717,2718,5,304,0,0,2718,2720,5,282, - 0,0,2719,2721,5,146,0,0,2720,2719,1,0,0,0,2720,2721,1,0,0,0,2721, - 2728,1,0,0,0,2722,2723,5,306,0,0,2723,2725,5,282,0,0,2724,2726,5, - 146,0,0,2725,2724,1,0,0,0,2725,2726,1,0,0,0,2726,2728,1,0,0,0,2727, - 2717,1,0,0,0,2727,2722,1,0,0,0,2727,2728,1,0,0,0,2728,2730,1,0,0, - 0,2729,2701,1,0,0,0,2729,2730,1,0,0,0,2730,2737,1,0,0,0,2731,2732, - 5,231,0,0,2732,2735,3,184,92,0,2733,2734,5,104,0,0,2734,2736,3,150, - 75,0,2735,2733,1,0,0,0,2735,2736,1,0,0,0,2736,2738,1,0,0,0,2737, - 2731,1,0,0,0,2737,2738,1,0,0,0,2738,2739,1,0,0,0,2739,2770,5,2,0, - 0,2740,2741,5,138,0,0,2741,2758,5,1,0,0,2742,2747,3,148,74,0,2743, - 2744,5,3,0,0,2744,2746,3,148,74,0,2745,2743,1,0,0,0,2746,2749,1, - 0,0,0,2747,2745,1,0,0,0,2747,2748,1,0,0,0,2748,2756,1,0,0,0,2749, - 2747,1,0,0,0,2750,2751,5,183,0,0,2751,2752,5,190,0,0,2752,2757,5, - 183,0,0,2753,2754,5,18,0,0,2754,2755,5,190,0,0,2755,2757,5,183,0, - 0,2756,2750,1,0,0,0,2756,2753,1,0,0,0,2756,2757,1,0,0,0,2757,2759, - 1,0,0,0,2758,2742,1,0,0,0,2758,2759,1,0,0,0,2759,2766,1,0,0,0,2760, - 2761,5,231,0,0,2761,2764,3,184,92,0,2762,2763,5,104,0,0,2763,2765, - 3,150,75,0,2764,2762,1,0,0,0,2764,2765,1,0,0,0,2765,2767,1,0,0,0, - 2766,2760,1,0,0,0,2766,2767,1,0,0,0,2767,2768,1,0,0,0,2768,2770, - 5,2,0,0,2769,2316,1,0,0,0,2769,2318,1,0,0,0,2769,2319,1,0,0,0,2769, - 2322,1,0,0,0,2769,2325,1,0,0,0,2769,2326,1,0,0,0,2769,2327,1,0,0, - 0,2769,2328,1,0,0,0,2769,2329,1,0,0,0,2769,2330,1,0,0,0,2769,2337, - 1,0,0,0,2769,2347,1,0,0,0,2769,2359,1,0,0,0,2769,2394,1,0,0,0,2769, - 2412,1,0,0,0,2769,2451,1,0,0,0,2769,2454,1,0,0,0,2769,2458,1,0,0, - 0,2769,2472,1,0,0,0,2769,2476,1,0,0,0,2769,2481,1,0,0,0,2769,2494, - 1,0,0,0,2769,2506,1,0,0,0,2769,2513,1,0,0,0,2769,2520,1,0,0,0,2769, - 2533,1,0,0,0,2769,2534,1,0,0,0,2769,2535,1,0,0,0,2769,2541,1,0,0, - 0,2769,2547,1,0,0,0,2769,2553,1,0,0,0,2769,2559,1,0,0,0,2769,2560, - 1,0,0,0,2769,2561,1,0,0,0,2769,2562,1,0,0,0,2769,2563,1,0,0,0,2769, - 2577,1,0,0,0,2769,2584,1,0,0,0,2769,2595,1,0,0,0,2769,2604,1,0,0, - 0,2769,2611,1,0,0,0,2769,2615,1,0,0,0,2769,2628,1,0,0,0,2769,2639, - 1,0,0,0,2769,2660,1,0,0,0,2769,2699,1,0,0,0,2769,2740,1,0,0,0,2770, - 2781,1,0,0,0,2771,2772,10,24,0,0,2772,2773,5,8,0,0,2773,2774,3,142, - 71,0,2774,2775,5,9,0,0,2775,2780,1,0,0,0,2776,2777,10,22,0,0,2777, - 2778,5,4,0,0,2778,2780,3,292,146,0,2779,2771,1,0,0,0,2779,2776,1, - 0,0,0,2780,2783,1,0,0,0,2781,2779,1,0,0,0,2781,2782,1,0,0,0,2782, - 145,1,0,0,0,2783,2781,1,0,0,0,2784,2785,3,148,74,0,2785,2786,5,3, - 0,0,2786,2789,3,168,84,0,2787,2788,5,28,0,0,2788,2790,3,292,146, - 0,2789,2787,1,0,0,0,2789,2790,1,0,0,0,2790,2800,1,0,0,0,2791,2792, - 5,203,0,0,2792,2797,3,152,76,0,2793,2794,5,3,0,0,2794,2796,3,152, - 76,0,2795,2793,1,0,0,0,2796,2799,1,0,0,0,2797,2795,1,0,0,0,2797, - 2798,1,0,0,0,2798,2801,1,0,0,0,2799,2797,1,0,0,0,2800,2791,1,0,0, - 0,2800,2801,1,0,0,0,2801,147,1,0,0,0,2802,2805,3,136,68,0,2803,2804, - 5,104,0,0,2804,2806,3,150,75,0,2805,2803,1,0,0,0,2805,2806,1,0,0, - 0,2806,149,1,0,0,0,2807,2810,5,137,0,0,2808,2809,5,87,0,0,2809,2811, - 7,20,0,0,2810,2808,1,0,0,0,2810,2811,1,0,0,0,2811,151,1,0,0,0,2812, - 2813,3,148,74,0,2813,2814,5,28,0,0,2814,2815,3,292,146,0,2815,153, - 1,0,0,0,2816,2817,7,21,0,0,2817,155,1,0,0,0,2818,2823,5,89,0,0,2819, - 2823,5,183,0,0,2820,2821,5,70,0,0,2821,2823,3,136,68,0,2822,2818, - 1,0,0,0,2822,2819,1,0,0,0,2822,2820,1,0,0,0,2823,157,1,0,0,0,2824, - 2826,5,306,0,0,2825,2827,5,27,0,0,2826,2825,1,0,0,0,2826,2827,1, - 0,0,0,2827,2836,1,0,0,0,2828,2830,5,304,0,0,2829,2831,7,22,0,0,2830, - 2829,1,0,0,0,2830,2831,1,0,0,0,2831,2833,1,0,0,0,2832,2834,5,27, - 0,0,2833,2832,1,0,0,0,2833,2834,1,0,0,0,2834,2836,1,0,0,0,2835,2824, - 1,0,0,0,2835,2828,1,0,0,0,2836,159,1,0,0,0,2837,2844,5,89,0,0,2838, - 2844,5,183,0,0,2839,2840,5,85,0,0,2840,2844,5,27,0,0,2841,2842,5, - 85,0,0,2842,2844,5,186,0,0,2843,2837,1,0,0,0,2843,2838,1,0,0,0,2843, - 2839,1,0,0,0,2843,2841,1,0,0,0,2844,161,1,0,0,0,2845,2847,5,145, - 0,0,2846,2845,1,0,0,0,2846,2847,1,0,0,0,2847,2848,1,0,0,0,2848,2849, - 3,136,68,0,2849,2850,5,295,0,0,2850,2851,3,148,74,0,2851,2857,1, - 0,0,0,2852,2853,3,136,68,0,2853,2854,5,10,0,0,2854,2855,3,148,74, - 0,2855,2857,1,0,0,0,2856,2846,1,0,0,0,2856,2852,1,0,0,0,2857,163, - 1,0,0,0,2858,2859,7,23,0,0,2859,165,1,0,0,0,2860,2861,5,120,0,0, - 2861,2865,5,185,0,0,2862,2863,5,228,0,0,2863,2865,5,185,0,0,2864, - 2860,1,0,0,0,2864,2862,1,0,0,0,2865,167,1,0,0,0,2866,2873,5,326, - 0,0,2867,2870,5,327,0,0,2868,2869,5,277,0,0,2869,2871,5,326,0,0, - 2870,2868,1,0,0,0,2870,2871,1,0,0,0,2871,2873,1,0,0,0,2872,2866, - 1,0,0,0,2872,2867,1,0,0,0,2873,169,1,0,0,0,2874,2875,5,267,0,0,2875, - 2876,5,311,0,0,2876,2881,3,178,89,0,2877,2878,5,267,0,0,2878,2879, - 5,311,0,0,2879,2881,3,168,84,0,2880,2874,1,0,0,0,2880,2877,1,0,0, - 0,2881,171,1,0,0,0,2882,2883,7,24,0,0,2883,173,1,0,0,0,2884,2885, - 7,25,0,0,2885,175,1,0,0,0,2886,2887,7,26,0,0,2887,177,1,0,0,0,2888, - 2890,5,129,0,0,2889,2891,7,18,0,0,2890,2889,1,0,0,0,2890,2891,1, - 0,0,0,2891,2892,1,0,0,0,2892,2893,3,168,84,0,2893,2896,3,180,90, - 0,2894,2895,5,269,0,0,2895,2897,3,180,90,0,2896,2894,1,0,0,0,2896, - 2897,1,0,0,0,2897,179,1,0,0,0,2898,2899,7,27,0,0,2899,181,1,0,0, - 0,2900,2901,7,28,0,0,2901,183,1,0,0,0,2902,2903,6,92,-1,0,2903,2904, - 5,239,0,0,2904,2905,5,1,0,0,2905,2910,3,186,93,0,2906,2907,5,3,0, - 0,2907,2909,3,186,93,0,2908,2906,1,0,0,0,2909,2912,1,0,0,0,2910, - 2908,1,0,0,0,2910,2911,1,0,0,0,2911,2913,1,0,0,0,2912,2910,1,0,0, - 0,2913,2914,5,2,0,0,2914,2994,1,0,0,0,2915,2916,5,129,0,0,2916,2919, - 3,180,90,0,2917,2918,5,269,0,0,2918,2920,3,180,90,0,2919,2917,1, - 0,0,0,2919,2920,1,0,0,0,2920,2994,1,0,0,0,2921,2926,5,268,0,0,2922, - 2923,5,1,0,0,2923,2924,3,188,94,0,2924,2925,5,2,0,0,2925,2927,1, - 0,0,0,2926,2922,1,0,0,0,2926,2927,1,0,0,0,2927,2931,1,0,0,0,2928, - 2929,5,306,0,0,2929,2930,5,267,0,0,2930,2932,5,311,0,0,2931,2928, - 1,0,0,0,2931,2932,1,0,0,0,2932,2994,1,0,0,0,2933,2938,5,268,0,0, - 2934,2935,5,1,0,0,2935,2936,3,188,94,0,2936,2937,5,2,0,0,2937,2939, - 1,0,0,0,2938,2934,1,0,0,0,2938,2939,1,0,0,0,2939,2940,1,0,0,0,2940, - 2941,5,304,0,0,2941,2942,5,267,0,0,2942,2994,5,311,0,0,2943,2948, - 5,267,0,0,2944,2945,5,1,0,0,2945,2946,3,188,94,0,2946,2947,5,2,0, - 0,2947,2949,1,0,0,0,2948,2944,1,0,0,0,2948,2949,1,0,0,0,2949,2953, - 1,0,0,0,2950,2951,5,306,0,0,2951,2952,5,267,0,0,2952,2954,5,311, - 0,0,2953,2950,1,0,0,0,2953,2954,1,0,0,0,2954,2994,1,0,0,0,2955,2960, - 5,267,0,0,2956,2957,5,1,0,0,2957,2958,3,188,94,0,2958,2959,5,2,0, - 0,2959,2961,1,0,0,0,2960,2956,1,0,0,0,2960,2961,1,0,0,0,2961,2962, - 1,0,0,0,2962,2963,5,304,0,0,2963,2964,5,267,0,0,2964,2994,5,311, - 0,0,2965,2966,5,82,0,0,2966,2994,5,213,0,0,2967,2968,5,27,0,0,2968, - 2969,5,314,0,0,2969,2970,3,184,92,0,2970,2971,5,316,0,0,2971,2994, - 1,0,0,0,2972,2973,5,162,0,0,2973,2974,5,314,0,0,2974,2975,3,184, - 92,0,2975,2976,5,3,0,0,2976,2977,3,184,92,0,2977,2978,5,316,0,0, - 2978,2994,1,0,0,0,2979,2991,3,292,146,0,2980,2981,5,1,0,0,2981,2986, - 3,188,94,0,2982,2983,5,3,0,0,2983,2985,3,188,94,0,2984,2982,1,0, - 0,0,2985,2988,1,0,0,0,2986,2984,1,0,0,0,2986,2987,1,0,0,0,2987,2989, - 1,0,0,0,2988,2986,1,0,0,0,2989,2990,5,2,0,0,2990,2992,1,0,0,0,2991, - 2980,1,0,0,0,2991,2992,1,0,0,0,2992,2994,1,0,0,0,2993,2902,1,0,0, - 0,2993,2915,1,0,0,0,2993,2921,1,0,0,0,2993,2933,1,0,0,0,2993,2943, - 1,0,0,0,2993,2955,1,0,0,0,2993,2965,1,0,0,0,2993,2967,1,0,0,0,2993, - 2972,1,0,0,0,2993,2979,1,0,0,0,2994,3004,1,0,0,0,2995,2996,10,2, - 0,0,2996,3000,5,27,0,0,2997,2998,5,8,0,0,2998,2999,5,329,0,0,2999, - 3001,5,9,0,0,3000,2997,1,0,0,0,3000,3001,1,0,0,0,3001,3003,1,0,0, - 0,3002,2995,1,0,0,0,3003,3006,1,0,0,0,3004,3002,1,0,0,0,3004,3005, - 1,0,0,0,3005,185,1,0,0,0,3006,3004,1,0,0,0,3007,3012,3,184,92,0, - 3008,3009,3,292,146,0,3009,3010,3,184,92,0,3010,3012,1,0,0,0,3011, - 3007,1,0,0,0,3011,3008,1,0,0,0,3012,187,1,0,0,0,3013,3016,5,329, - 0,0,3014,3016,3,184,92,0,3015,3013,1,0,0,0,3015,3014,1,0,0,0,3016, - 189,1,0,0,0,3017,3018,5,300,0,0,3018,3019,3,136,68,0,3019,3020,5, - 265,0,0,3020,3021,3,136,68,0,3021,191,1,0,0,0,3022,3023,5,99,0,0, - 3023,3024,5,1,0,0,3024,3025,5,301,0,0,3025,3026,3,138,69,0,3026, - 3027,5,2,0,0,3027,193,1,0,0,0,3028,3029,5,300,0,0,3029,3032,5,164, - 0,0,3030,3031,5,25,0,0,3031,3033,3,136,68,0,3032,3030,1,0,0,0,3032, - 3033,1,0,0,0,3033,3034,1,0,0,0,3034,3035,5,265,0,0,3035,3036,5,287, - 0,0,3036,3037,5,251,0,0,3037,3038,3,292,146,0,3038,3039,5,312,0, - 0,3039,3047,3,136,68,0,3040,3041,5,3,0,0,3041,3042,3,292,146,0,3042, - 3043,5,312,0,0,3043,3044,3,136,68,0,3044,3046,1,0,0,0,3045,3040, - 1,0,0,0,3046,3049,1,0,0,0,3047,3045,1,0,0,0,3047,3048,1,0,0,0,3048, - 3093,1,0,0,0,3049,3047,1,0,0,0,3050,3051,5,300,0,0,3051,3054,5,164, - 0,0,3052,3053,5,25,0,0,3053,3055,3,136,68,0,3054,3052,1,0,0,0,3054, - 3055,1,0,0,0,3055,3056,1,0,0,0,3056,3057,5,265,0,0,3057,3093,5,73, - 0,0,3058,3059,5,300,0,0,3059,3060,5,182,0,0,3060,3063,5,164,0,0, - 3061,3062,5,25,0,0,3062,3064,3,136,68,0,3063,3061,1,0,0,0,3063,3064, - 1,0,0,0,3064,3065,1,0,0,0,3065,3066,5,265,0,0,3066,3078,5,127,0, - 0,3067,3068,5,1,0,0,3068,3073,3,292,146,0,3069,3070,5,3,0,0,3070, - 3072,3,292,146,0,3071,3069,1,0,0,0,3072,3075,1,0,0,0,3073,3071,1, - 0,0,0,3073,3074,1,0,0,0,3074,3076,1,0,0,0,3075,3073,1,0,0,0,3076, - 3077,5,2,0,0,3077,3079,1,0,0,0,3078,3067,1,0,0,0,3078,3079,1,0,0, - 0,3079,3080,1,0,0,0,3080,3081,5,296,0,0,3081,3082,5,1,0,0,3082,3087, - 3,136,68,0,3083,3084,5,3,0,0,3084,3086,3,136,68,0,3085,3083,1,0, - 0,0,3086,3089,1,0,0,0,3087,3085,1,0,0,0,3087,3088,1,0,0,0,3088,3090, - 1,0,0,0,3089,3087,1,0,0,0,3090,3091,5,2,0,0,3091,3093,1,0,0,0,3092, - 3028,1,0,0,0,3092,3050,1,0,0,0,3092,3058,1,0,0,0,3093,195,1,0,0, - 0,3094,3100,5,199,0,0,3095,3101,3,292,146,0,3096,3097,5,1,0,0,3097, - 3098,3,64,32,0,3098,3099,5,2,0,0,3099,3101,1,0,0,0,3100,3095,1,0, - 0,0,3100,3096,1,0,0,0,3101,197,1,0,0,0,3102,3103,5,168,0,0,3103, - 3108,3,90,45,0,3104,3105,5,3,0,0,3105,3107,3,90,45,0,3106,3104,1, - 0,0,0,3107,3110,1,0,0,0,3108,3106,1,0,0,0,3108,3109,1,0,0,0,3109, - 3112,1,0,0,0,3110,3108,1,0,0,0,3111,3102,1,0,0,0,3111,3112,1,0,0, - 0,3112,3113,1,0,0,0,3113,3117,3,200,100,0,3114,3115,5,21,0,0,3115, - 3116,5,163,0,0,3116,3118,3,96,48,0,3117,3114,1,0,0,0,3117,3118,1, - 0,0,0,3118,3120,1,0,0,0,3119,3121,7,13,0,0,3120,3119,1,0,0,0,3120, - 3121,1,0,0,0,3121,3127,1,0,0,0,3122,3123,5,206,0,0,3123,3124,5,1, - 0,0,3124,3125,3,204,102,0,3125,3126,5,2,0,0,3126,3128,1,0,0,0,3127, - 3122,1,0,0,0,3127,3128,1,0,0,0,3128,3138,1,0,0,0,3129,3130,5,257, - 0,0,3130,3135,3,98,49,0,3131,3132,5,3,0,0,3132,3134,3,98,49,0,3133, - 3131,1,0,0,0,3134,3137,1,0,0,0,3135,3133,1,0,0,0,3135,3136,1,0,0, - 0,3136,3139,1,0,0,0,3137,3135,1,0,0,0,3138,3129,1,0,0,0,3138,3139, - 1,0,0,0,3139,3149,1,0,0,0,3140,3141,5,71,0,0,3141,3146,3,100,50, - 0,3142,3143,5,3,0,0,3143,3145,3,100,50,0,3144,3142,1,0,0,0,3145, - 3148,1,0,0,0,3146,3144,1,0,0,0,3146,3147,1,0,0,0,3147,3150,1,0,0, - 0,3148,3146,1,0,0,0,3149,3140,1,0,0,0,3149,3150,1,0,0,0,3150,199, - 1,0,0,0,3151,3152,5,219,0,0,3152,3176,3,202,101,0,3153,3154,5,240, - 0,0,3154,3176,3,202,101,0,3155,3156,5,116,0,0,3156,3176,3,202,101, - 0,3157,3158,5,219,0,0,3158,3159,5,34,0,0,3159,3160,3,202,101,0,3160, - 3161,5,25,0,0,3161,3162,3,202,101,0,3162,3176,1,0,0,0,3163,3164, - 5,240,0,0,3164,3165,5,34,0,0,3165,3166,3,202,101,0,3166,3167,5,25, - 0,0,3167,3168,3,202,101,0,3168,3176,1,0,0,0,3169,3170,5,116,0,0, - 3170,3171,5,34,0,0,3171,3172,3,202,101,0,3172,3173,5,25,0,0,3173, - 3174,3,202,101,0,3174,3176,1,0,0,0,3175,3151,1,0,0,0,3175,3153,1, - 0,0,0,3175,3155,1,0,0,0,3175,3157,1,0,0,0,3175,3163,1,0,0,0,3175, - 3169,1,0,0,0,3176,201,1,0,0,0,3177,3178,5,278,0,0,3178,3187,5,212, - 0,0,3179,3180,5,278,0,0,3180,3187,5,102,0,0,3181,3182,5,56,0,0,3182, - 3187,5,239,0,0,3183,3184,3,136,68,0,3184,3185,7,29,0,0,3185,3187, - 1,0,0,0,3186,3177,1,0,0,0,3186,3179,1,0,0,0,3186,3181,1,0,0,0,3186, - 3183,1,0,0,0,3187,203,1,0,0,0,3188,3189,6,102,-1,0,3189,3191,3,206, - 103,0,3190,3192,3,208,104,0,3191,3190,1,0,0,0,3191,3192,1,0,0,0, - 3192,3200,1,0,0,0,3193,3194,10,2,0,0,3194,3199,3,204,102,3,3195, - 3196,10,1,0,0,3196,3197,5,11,0,0,3197,3199,3,204,102,2,3198,3193, - 1,0,0,0,3198,3195,1,0,0,0,3199,3202,1,0,0,0,3200,3198,1,0,0,0,3200, - 3201,1,0,0,0,3201,205,1,0,0,0,3202,3200,1,0,0,0,3203,3229,3,292, - 146,0,3204,3205,5,1,0,0,3205,3229,5,2,0,0,3206,3207,5,209,0,0,3207, - 3208,5,1,0,0,3208,3213,3,204,102,0,3209,3210,5,3,0,0,3210,3212,3, - 204,102,0,3211,3209,1,0,0,0,3212,3215,1,0,0,0,3213,3211,1,0,0,0, - 3213,3214,1,0,0,0,3214,3216,1,0,0,0,3215,3213,1,0,0,0,3216,3217, - 5,2,0,0,3217,3229,1,0,0,0,3218,3219,5,1,0,0,3219,3220,3,204,102, - 0,3220,3221,5,2,0,0,3221,3229,1,0,0,0,3222,3229,5,12,0,0,3223,3229, - 5,13,0,0,3224,3225,5,14,0,0,3225,3226,3,204,102,0,3226,3227,5,15, - 0,0,3227,3229,1,0,0,0,3228,3203,1,0,0,0,3228,3204,1,0,0,0,3228,3206, - 1,0,0,0,3228,3218,1,0,0,0,3228,3222,1,0,0,0,3228,3223,1,0,0,0,3228, - 3224,1,0,0,0,3229,207,1,0,0,0,3230,3232,5,320,0,0,3231,3233,5,324, - 0,0,3232,3231,1,0,0,0,3232,3233,1,0,0,0,3233,3261,1,0,0,0,3234,3236, - 5,318,0,0,3235,3237,5,324,0,0,3236,3235,1,0,0,0,3236,3237,1,0,0, - 0,3237,3261,1,0,0,0,3238,3240,5,324,0,0,3239,3241,5,324,0,0,3240, - 3239,1,0,0,0,3240,3241,1,0,0,0,3241,3261,1,0,0,0,3242,3243,5,16, - 0,0,3243,3244,5,329,0,0,3244,3246,5,17,0,0,3245,3247,5,324,0,0,3246, - 3245,1,0,0,0,3246,3247,1,0,0,0,3247,3261,1,0,0,0,3248,3250,5,16, - 0,0,3249,3251,5,329,0,0,3250,3249,1,0,0,0,3250,3251,1,0,0,0,3251, - 3252,1,0,0,0,3252,3254,5,3,0,0,3253,3255,5,329,0,0,3254,3253,1,0, - 0,0,3254,3255,1,0,0,0,3255,3256,1,0,0,0,3256,3258,5,17,0,0,3257, - 3259,5,324,0,0,3258,3257,1,0,0,0,3258,3259,1,0,0,0,3259,3261,1,0, - 0,0,3260,3230,1,0,0,0,3260,3234,1,0,0,0,3260,3238,1,0,0,0,3260,3242, - 1,0,0,0,3260,3248,1,0,0,0,3261,209,1,0,0,0,3262,3263,3,292,146,0, - 3263,3264,5,312,0,0,3264,3265,3,136,68,0,3265,211,1,0,0,0,3266,3267, - 5,104,0,0,3267,3271,7,30,0,0,3268,3269,5,276,0,0,3269,3271,7,31, - 0,0,3270,3266,1,0,0,0,3270,3268,1,0,0,0,3271,213,1,0,0,0,3272,3273, - 5,134,0,0,3273,3274,5,153,0,0,3274,3278,3,216,108,0,3275,3276,5, - 220,0,0,3276,3278,7,32,0,0,3277,3272,1,0,0,0,3277,3275,1,0,0,0,3278, - 215,1,0,0,0,3279,3280,5,220,0,0,3280,3287,5,279,0,0,3281,3282,5, - 220,0,0,3282,3287,5,48,0,0,3283,3284,5,225,0,0,3284,3287,5,220,0, - 0,3285,3287,5,249,0,0,3286,3279,1,0,0,0,3286,3281,1,0,0,0,3286,3283, - 1,0,0,0,3286,3285,1,0,0,0,3287,217,1,0,0,0,3288,3294,3,136,68,0, - 3289,3290,3,292,146,0,3290,3291,5,6,0,0,3291,3292,3,136,68,0,3292, - 3294,1,0,0,0,3293,3288,1,0,0,0,3293,3289,1,0,0,0,3294,219,1,0,0, - 0,3295,3296,3,292,146,0,3296,3297,5,4,0,0,3297,3298,3,292,146,0, - 3298,3301,1,0,0,0,3299,3301,3,292,146,0,3300,3295,1,0,0,0,3300,3299, - 1,0,0,0,3301,221,1,0,0,0,3302,3307,3,220,110,0,3303,3304,5,3,0,0, - 3304,3306,3,220,110,0,3305,3303,1,0,0,0,3306,3309,1,0,0,0,3307,3305, - 1,0,0,0,3307,3308,1,0,0,0,3308,223,1,0,0,0,3309,3307,1,0,0,0,3310, - 3311,5,107,0,0,3311,3312,3,226,113,0,3312,3316,3,230,115,0,3313, - 3315,3,232,116,0,3314,3313,1,0,0,0,3315,3318,1,0,0,0,3316,3314,1, - 0,0,0,3316,3317,1,0,0,0,3317,3319,1,0,0,0,3318,3316,1,0,0,0,3319, - 3320,3,234,117,0,3320,225,1,0,0,0,3321,3322,3,272,136,0,3322,3331, - 5,1,0,0,3323,3328,3,228,114,0,3324,3325,5,3,0,0,3325,3327,3,228, - 114,0,3326,3324,1,0,0,0,3327,3330,1,0,0,0,3328,3326,1,0,0,0,3328, - 3329,1,0,0,0,3329,3332,1,0,0,0,3330,3328,1,0,0,0,3331,3323,1,0,0, - 0,3331,3332,1,0,0,0,3332,3333,1,0,0,0,3333,3334,5,2,0,0,3334,227, - 1,0,0,0,3335,3337,3,292,146,0,3336,3335,1,0,0,0,3336,3337,1,0,0, - 0,3337,3338,1,0,0,0,3338,3339,3,184,92,0,3339,229,1,0,0,0,3340,3341, - 5,232,0,0,3341,3342,3,184,92,0,3342,231,1,0,0,0,3343,3344,5,147, - 0,0,3344,3363,3,292,146,0,3345,3347,5,182,0,0,3346,3345,1,0,0,0, - 3346,3347,1,0,0,0,3347,3348,1,0,0,0,3348,3363,5,78,0,0,3349,3350, - 5,232,0,0,3350,3351,5,183,0,0,3351,3352,5,190,0,0,3352,3353,5,183, - 0,0,3353,3363,5,126,0,0,3354,3355,5,38,0,0,3355,3356,5,190,0,0,3356, - 3357,5,183,0,0,3357,3363,5,126,0,0,3358,3359,5,246,0,0,3359,3363, - 7,1,0,0,3360,3361,5,46,0,0,3361,3363,3,168,84,0,3362,3343,1,0,0, - 0,3362,3346,1,0,0,0,3362,3349,1,0,0,0,3362,3354,1,0,0,0,3362,3358, - 1,0,0,0,3362,3360,1,0,0,0,3363,233,1,0,0,0,3364,3365,5,230,0,0,3365, - 3464,3,142,71,0,3366,3367,5,251,0,0,3367,3368,3,292,146,0,3368,3369, - 5,312,0,0,3369,3370,3,136,68,0,3370,3464,1,0,0,0,3371,3372,5,40, - 0,0,3372,3374,3,136,68,0,3373,3375,3,236,118,0,3374,3373,1,0,0,0, - 3375,3376,1,0,0,0,3376,3374,1,0,0,0,3376,3377,1,0,0,0,3377,3379, - 1,0,0,0,3378,3380,3,240,120,0,3379,3378,1,0,0,0,3379,3380,1,0,0, - 0,3380,3381,1,0,0,0,3381,3382,5,88,0,0,3382,3383,5,40,0,0,3383,3464, - 1,0,0,0,3384,3386,5,40,0,0,3385,3387,3,236,118,0,3386,3385,1,0,0, - 0,3387,3388,1,0,0,0,3388,3386,1,0,0,0,3388,3389,1,0,0,0,3389,3391, - 1,0,0,0,3390,3392,3,240,120,0,3391,3390,1,0,0,0,3391,3392,1,0,0, - 0,3392,3393,1,0,0,0,3393,3394,5,88,0,0,3394,3395,5,40,0,0,3395,3464, - 1,0,0,0,3396,3397,5,119,0,0,3397,3398,3,136,68,0,3398,3399,5,265, - 0,0,3399,3403,3,244,122,0,3400,3402,3,238,119,0,3401,3400,1,0,0, - 0,3402,3405,1,0,0,0,3403,3401,1,0,0,0,3403,3404,1,0,0,0,3404,3407, - 1,0,0,0,3405,3403,1,0,0,0,3406,3408,3,240,120,0,3407,3406,1,0,0, - 0,3407,3408,1,0,0,0,3408,3409,1,0,0,0,3409,3410,5,88,0,0,3410,3411, - 5,119,0,0,3411,3464,1,0,0,0,3412,3413,5,135,0,0,3413,3464,3,292, - 146,0,3414,3415,5,151,0,0,3415,3464,3,292,146,0,3416,3422,5,32,0, - 0,3417,3418,3,242,121,0,3418,3419,5,325,0,0,3419,3421,1,0,0,0,3420, - 3417,1,0,0,0,3421,3424,1,0,0,0,3422,3420,1,0,0,0,3422,3423,1,0,0, - 0,3423,3426,1,0,0,0,3424,3422,1,0,0,0,3425,3427,3,244,122,0,3426, - 3425,1,0,0,0,3426,3427,1,0,0,0,3427,3428,1,0,0,0,3428,3464,5,88, - 0,0,3429,3430,3,292,146,0,3430,3431,5,10,0,0,3431,3433,1,0,0,0,3432, - 3429,1,0,0,0,3432,3433,1,0,0,0,3433,3434,1,0,0,0,3434,3435,5,161, - 0,0,3435,3436,3,244,122,0,3436,3437,5,88,0,0,3437,3438,5,161,0,0, - 3438,3464,1,0,0,0,3439,3440,3,292,146,0,3440,3441,5,10,0,0,3441, - 3443,1,0,0,0,3442,3439,1,0,0,0,3442,3443,1,0,0,0,3443,3444,1,0,0, - 0,3444,3445,5,302,0,0,3445,3446,3,136,68,0,3446,3447,5,81,0,0,3447, - 3448,3,244,122,0,3448,3449,5,88,0,0,3449,3450,5,302,0,0,3450,3464, - 1,0,0,0,3451,3452,3,292,146,0,3452,3453,5,10,0,0,3453,3455,1,0,0, - 0,3454,3451,1,0,0,0,3454,3455,1,0,0,0,3455,3456,1,0,0,0,3456,3457, - 5,224,0,0,3457,3458,3,244,122,0,3458,3459,5,286,0,0,3459,3460,3, - 136,68,0,3460,3461,5,88,0,0,3461,3462,5,224,0,0,3462,3464,1,0,0, - 0,3463,3364,1,0,0,0,3463,3366,1,0,0,0,3463,3371,1,0,0,0,3463,3384, - 1,0,0,0,3463,3396,1,0,0,0,3463,3412,1,0,0,0,3463,3414,1,0,0,0,3463, - 3416,1,0,0,0,3463,3432,1,0,0,0,3463,3442,1,0,0,0,3463,3454,1,0,0, - 0,3464,235,1,0,0,0,3465,3466,5,300,0,0,3466,3467,3,136,68,0,3467, - 3468,5,265,0,0,3468,3469,3,244,122,0,3469,237,1,0,0,0,3470,3471, - 5,86,0,0,3471,3472,3,136,68,0,3472,3473,5,265,0,0,3473,3474,3,244, - 122,0,3474,239,1,0,0,0,3475,3476,5,84,0,0,3476,3477,3,244,122,0, - 3477,241,1,0,0,0,3478,3479,5,69,0,0,3479,3484,3,292,146,0,3480,3481, - 5,3,0,0,3481,3483,3,292,146,0,3482,3480,1,0,0,0,3483,3486,1,0,0, - 0,3484,3482,1,0,0,0,3484,3485,1,0,0,0,3485,3487,1,0,0,0,3486,3484, - 1,0,0,0,3487,3490,3,184,92,0,3488,3489,5,70,0,0,3489,3491,3,142, - 71,0,3490,3488,1,0,0,0,3490,3491,1,0,0,0,3491,243,1,0,0,0,3492,3493, - 3,234,117,0,3493,3494,5,325,0,0,3494,3496,1,0,0,0,3495,3492,1,0, - 0,0,3496,3497,1,0,0,0,3497,3495,1,0,0,0,3497,3498,1,0,0,0,3498,245, - 1,0,0,0,3499,3506,5,53,0,0,3500,3506,5,248,0,0,3501,3506,5,73,0, - 0,3502,3506,5,127,0,0,3503,3506,5,287,0,0,3504,3506,3,292,146,0, - 3505,3499,1,0,0,0,3505,3500,1,0,0,0,3505,3501,1,0,0,0,3505,3502, - 1,0,0,0,3505,3503,1,0,0,0,3505,3504,1,0,0,0,3506,247,1,0,0,0,3507, - 3511,5,260,0,0,3508,3511,5,243,0,0,3509,3511,3,292,146,0,3510,3507, - 1,0,0,0,3510,3508,1,0,0,0,3510,3509,1,0,0,0,3511,249,1,0,0,0,3512, - 3514,3,248,124,0,3513,3512,1,0,0,0,3513,3514,1,0,0,0,3514,3515,1, - 0,0,0,3515,3516,3,278,139,0,3516,251,1,0,0,0,3517,3520,3,254,127, - 0,3518,3520,3,258,129,0,3519,3517,1,0,0,0,3519,3518,1,0,0,0,3520, - 253,1,0,0,0,3521,3533,3,292,146,0,3522,3523,3,292,146,0,3523,3524, - 5,4,0,0,3524,3525,3,292,146,0,3525,3533,1,0,0,0,3526,3527,3,292, - 146,0,3527,3528,5,4,0,0,3528,3529,3,292,146,0,3529,3530,5,4,0,0, - 3530,3531,3,292,146,0,3531,3533,1,0,0,0,3532,3521,1,0,0,0,3532,3522, - 1,0,0,0,3532,3526,1,0,0,0,3533,255,1,0,0,0,3534,3546,3,292,146,0, - 3535,3536,3,292,146,0,3536,3537,5,4,0,0,3537,3538,3,292,146,0,3538, - 3546,1,0,0,0,3539,3540,3,292,146,0,3540,3541,5,4,0,0,3541,3542,3, - 292,146,0,3542,3543,5,4,0,0,3543,3544,3,292,146,0,3544,3546,1,0, - 0,0,3545,3534,1,0,0,0,3545,3535,1,0,0,0,3545,3539,1,0,0,0,3546,257, - 1,0,0,0,3547,3559,3,292,146,0,3548,3549,3,292,146,0,3549,3550,5, - 4,0,0,3550,3551,3,292,146,0,3551,3559,1,0,0,0,3552,3553,3,292,146, - 0,3553,3554,5,4,0,0,3554,3555,3,292,146,0,3555,3556,5,4,0,0,3556, - 3557,3,292,146,0,3557,3559,1,0,0,0,3558,3547,1,0,0,0,3558,3548,1, - 0,0,0,3558,3552,1,0,0,0,3559,259,1,0,0,0,3560,3572,3,292,146,0,3561, - 3562,3,292,146,0,3562,3563,5,4,0,0,3563,3564,3,292,146,0,3564,3572, - 1,0,0,0,3565,3566,3,292,146,0,3566,3567,5,4,0,0,3567,3568,3,292, - 146,0,3568,3569,5,4,0,0,3569,3570,3,292,146,0,3570,3572,1,0,0,0, - 3571,3560,1,0,0,0,3571,3561,1,0,0,0,3571,3565,1,0,0,0,3572,261,1, - 0,0,0,3573,3579,3,292,146,0,3574,3575,3,292,146,0,3575,3576,5,4, - 0,0,3576,3577,3,292,146,0,3577,3579,1,0,0,0,3578,3573,1,0,0,0,3578, - 3574,1,0,0,0,3579,263,1,0,0,0,3580,3586,3,292,146,0,3581,3582,3, - 292,146,0,3582,3583,5,4,0,0,3583,3584,3,292,146,0,3584,3586,1,0, - 0,0,3585,3580,1,0,0,0,3585,3581,1,0,0,0,3586,265,1,0,0,0,3587,3588, - 3,292,146,0,3588,267,1,0,0,0,3589,3590,3,292,146,0,3590,269,1,0, - 0,0,3591,3592,3,278,139,0,3592,271,1,0,0,0,3593,3594,3,278,139,0, - 3594,273,1,0,0,0,3595,3598,3,278,139,0,3596,3598,4,137,14,0,3597, - 3595,1,0,0,0,3597,3596,1,0,0,0,3598,275,1,0,0,0,3599,3600,3,292, - 146,0,3600,277,1,0,0,0,3601,3606,3,292,146,0,3602,3603,5,4,0,0,3603, - 3605,3,292,146,0,3604,3602,1,0,0,0,3605,3608,1,0,0,0,3606,3604,1, - 0,0,0,3606,3607,1,0,0,0,3607,279,1,0,0,0,3608,3606,1,0,0,0,3609, - 3610,5,103,0,0,3610,3611,3,282,141,0,3611,3612,5,28,0,0,3612,3613, - 5,187,0,0,3613,3614,3,142,71,0,3614,281,1,0,0,0,3615,3616,7,33,0, - 0,3616,283,1,0,0,0,3617,3621,3,286,143,0,3618,3621,5,64,0,0,3619, - 3621,5,60,0,0,3620,3617,1,0,0,0,3620,3618,1,0,0,0,3620,3619,1,0, - 0,0,3621,285,1,0,0,0,3622,3628,3,292,146,0,3623,3624,5,289,0,0,3624, - 3628,3,292,146,0,3625,3626,5,235,0,0,3626,3628,3,292,146,0,3627, - 3622,1,0,0,0,3627,3623,1,0,0,0,3627,3625,1,0,0,0,3628,287,1,0,0, - 0,3629,3634,3,292,146,0,3630,3631,5,3,0,0,3631,3633,3,292,146,0, - 3632,3630,1,0,0,0,3633,3636,1,0,0,0,3634,3632,1,0,0,0,3634,3635, - 1,0,0,0,3635,289,1,0,0,0,3636,3634,1,0,0,0,3637,3645,5,53,0,0,3638, - 3645,5,248,0,0,3639,3645,5,73,0,0,3640,3645,5,127,0,0,3641,3645, - 5,287,0,0,3642,3645,5,93,0,0,3643,3645,3,292,146,0,3644,3637,1,0, - 0,0,3644,3638,1,0,0,0,3644,3639,1,0,0,0,3644,3640,1,0,0,0,3644,3641, - 1,0,0,0,3644,3642,1,0,0,0,3644,3643,1,0,0,0,3645,291,1,0,0,0,3646, - 3652,5,332,0,0,3647,3652,5,334,0,0,3648,3652,3,298,149,0,3649,3652, - 5,335,0,0,3650,3652,5,333,0,0,3651,3646,1,0,0,0,3651,3647,1,0,0, - 0,3651,3648,1,0,0,0,3651,3649,1,0,0,0,3651,3650,1,0,0,0,3652,293, - 1,0,0,0,3653,3655,5,319,0,0,3654,3653,1,0,0,0,3654,3655,1,0,0,0, - 3655,3656,1,0,0,0,3656,3666,5,330,0,0,3657,3659,5,319,0,0,3658,3657, - 1,0,0,0,3658,3659,1,0,0,0,3659,3660,1,0,0,0,3660,3666,5,331,0,0, - 3661,3663,5,319,0,0,3662,3661,1,0,0,0,3662,3663,1,0,0,0,3663,3664, - 1,0,0,0,3664,3666,5,329,0,0,3665,3654,1,0,0,0,3665,3658,1,0,0,0, - 3665,3662,1,0,0,0,3666,295,1,0,0,0,3667,3670,3,292,146,0,3668,3670, - 3,168,84,0,3669,3667,1,0,0,0,3669,3668,1,0,0,0,3670,297,1,0,0,0, - 3671,3672,7,34,0,0,3672,299,1,0,0,0,478,303,312,316,320,324,328, - 341,348,352,356,362,366,373,378,382,388,392,411,417,421,425,429, - 437,441,444,449,455,464,470,474,480,487,496,508,517,526,532,543, - 551,559,566,576,583,591,606,641,644,647,651,657,662,669,675,679, - 683,691,697,701,705,719,727,746,771,774,781,788,797,801,808,816, - 825,831,836,840,848,853,862,868,875,884,890,894,900,907,912,925, - 930,942,946,952,961,966,972,1000,1006,1008,1014,1020,1022,1030,1032, - 1042,1044,1059,1064,1071,1081,1087,1089,1097,1099,1124,1127,1131, - 1135,1153,1156,1167,1170,1186,1196,1201,1207,1210,1219,1231,1234, - 1244,1248,1254,1261,1266,1272,1276,1280,1286,1297,1306,1316,1319, - 1324,1326,1333,1339,1341,1345,1355,1361,1364,1366,1378,1385,1389, - 1392,1396,1400,1407,1416,1419,1423,1428,1432,1440,1443,1446,1453, - 1464,1467,1477,1480,1491,1496,1504,1507,1511,1515,1524,1533,1536, - 1545,1548,1551,1555,1566,1569,1572,1579,1582,1601,1605,1609,1613, - 1617,1621,1623,1634,1639,1648,1657,1660,1666,1678,1681,1690,1693, - 1701,1704,1707,1712,1715,1727,1730,1738,1743,1747,1749,1751,1766, - 1768,1779,1800,1810,1821,1825,1827,1835,1846,1857,1864,1877,1883, - 1909,1924,1929,1933,1943,1949,1955,1963,1968,1975,1977,1983,1989, - 1993,1998,2007,2012,2026,2036,2039,2048,2053,2058,2060,2069,2072, - 2080,2083,2090,2095,2106,2109,2113,2115,2123,2133,2139,2141,2148, - 2152,2154,2161,2165,2167,2169,2178,2189,2193,2203,2213,2217,2225, - 2227,2240,2248,2257,2263,2271,2277,2281,2286,2291,2297,2311,2313, - 2343,2354,2362,2367,2372,2385,2391,2394,2401,2406,2409,2412,2417, - 2424,2427,2436,2439,2443,2446,2449,2464,2467,2486,2490,2498,2502, - 2527,2530,2539,2545,2551,2557,2566,2569,2572,2591,2600,2622,2625, - 2635,2644,2650,2656,2667,2669,2674,2681,2683,2689,2695,2706,2715, - 2720,2725,2727,2729,2735,2737,2747,2756,2758,2764,2766,2769,2779, - 2781,2789,2797,2800,2805,2810,2822,2826,2830,2833,2835,2843,2846, - 2856,2864,2870,2872,2880,2890,2896,2910,2919,2926,2931,2938,2948, - 2953,2960,2986,2991,2993,3000,3004,3011,3015,3032,3047,3054,3063, - 3073,3078,3087,3092,3100,3108,3111,3117,3120,3127,3135,3138,3146, - 3149,3175,3186,3191,3198,3200,3213,3228,3232,3236,3240,3246,3250, - 3254,3258,3260,3270,3277,3286,3293,3300,3307,3316,3328,3331,3336, - 3346,3362,3376,3379,3388,3391,3403,3407,3422,3426,3432,3442,3454, - 3463,3484,3490,3497,3505,3510,3513,3519,3532,3545,3558,3571,3578, - 3585,3597,3606,3620,3627,3634,3644,3651,3654,3658,3662,3665,3669 + 272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,0,35, + 2,0,39,39,229,229,2,0,72,72,131,131,2,0,105,105,122,122,2,0,92,92, + 123,123,1,0,239,240,2,0,101,101,174,174,2,0,324,324,329,329,2,0, + 91,91,281,281,2,0,29,29,75,75,2,0,101,101,148,148,2,0,22,22,79,79, + 2,0,33,33,259,259,3,0,35,35,150,150,270,270,2,0,124,124,247,247, + 2,0,85,85,89,89,2,0,144,144,189,189,2,0,125,125,197,197,2,0,54,54, + 281,281,1,0,318,319,1,0,320,322,1,0,291,293,4,0,89,89,97,97,273, + 273,283,283,2,0,49,49,280,280,2,0,100,100,241,241,1,0,312,317,3, + 0,22,22,26,26,254,254,2,0,97,97,273,273,5,0,67,67,118,118,170,171, + 245,245,310,310,1,0,175,178,2,0,102,102,212,212,3,0,113,113,137, + 137,263,263,4,0,80,80,132,132,160,160,294,294,2,0,192,192,309,309, + 2,0,268,268,298,298,54,0,18,22,24,24,26,27,29,33,35,35,37,39,42, + 49,51,52,56,56,65,67,69,72,74,75,77,78,80,82,85,87,89,89,92,92,95, + 95,98,102,104,104,107,113,116,116,118,121,123,124,126,126,129,129, + 131,132,134,135,137,137,144,151,153,153,155,155,157,157,160,171, + 173,180,184,189,191,193,196,196,198,213,215,220,222,233,235,237, + 239,247,249,259,261,264,266,271,274,276,278,280,282,284,286,289, + 291,295,297,299,302,303,305,311,4245,0,305,1,0,0,0,2,310,1,0,0,0, + 4,312,1,0,0,0,6,316,1,0,0,0,8,320,1,0,0,0,10,324,1,0,0,0,12,328, + 1,0,0,0,14,332,1,0,0,0,16,1233,1,0,0,0,18,1236,1,0,0,0,20,1240,1, + 0,0,0,22,1250,1,0,0,0,24,1254,1,0,0,0,26,1268,1,0,0,0,28,1270,1, + 0,0,0,30,1284,1,0,0,0,32,1290,1,0,0,0,34,1294,1,0,0,0,36,1302,1, + 0,0,0,38,1308,1,0,0,0,40,1310,1,0,0,0,42,1347,1,0,0,0,44,1349,1, + 0,0,0,46,1351,1,0,0,0,48,1387,1,0,0,0,50,1391,1,0,0,0,52,1400,1, + 0,0,0,54,1448,1,0,0,0,56,1498,1,0,0,0,58,1513,1,0,0,0,60,1517,1, + 0,0,0,62,1519,1,0,0,0,64,1526,1,0,0,0,66,1555,1,0,0,0,68,1564,1, + 0,0,0,70,1584,1,0,0,0,72,1586,1,0,0,0,74,1625,1,0,0,0,76,1641,1, + 0,0,0,78,1643,1,0,0,0,80,1652,1,0,0,0,82,1654,1,0,0,0,84,1662,1, + 0,0,0,86,1668,1,0,0,0,88,1670,1,0,0,0,90,1755,1,0,0,0,92,1770,1, + 0,0,0,94,1781,1,0,0,0,96,1802,1,0,0,0,98,1804,1,0,0,0,100,1817,1, + 0,0,0,102,1821,1,0,0,0,104,1831,1,0,0,0,106,1842,1,0,0,0,108,1853, + 1,0,0,0,110,1935,1,0,0,0,112,2014,1,0,0,0,114,2041,1,0,0,0,116,2043, + 1,0,0,0,118,2050,1,0,0,0,120,2062,1,0,0,0,122,2064,1,0,0,0,124,2092, + 1,0,0,0,126,2099,1,0,0,0,128,2171,1,0,0,0,130,2191,1,0,0,0,132,2193, + 1,0,0,0,134,2197,1,0,0,0,136,2210,1,0,0,0,138,2219,1,0,0,0,140,2293, + 1,0,0,0,142,2299,1,0,0,0,144,2771,1,0,0,0,146,2786,1,0,0,0,148,2804, + 1,0,0,0,150,2809,1,0,0,0,152,2814,1,0,0,0,154,2818,1,0,0,0,156,2824, + 1,0,0,0,158,2837,1,0,0,0,160,2845,1,0,0,0,162,2858,1,0,0,0,164,2860, + 1,0,0,0,166,2866,1,0,0,0,168,2874,1,0,0,0,170,2882,1,0,0,0,172,2884, + 1,0,0,0,174,2886,1,0,0,0,176,2888,1,0,0,0,178,2890,1,0,0,0,180,2900, + 1,0,0,0,182,2902,1,0,0,0,184,2995,1,0,0,0,186,3013,1,0,0,0,188,3017, + 1,0,0,0,190,3019,1,0,0,0,192,3024,1,0,0,0,194,3094,1,0,0,0,196,3096, + 1,0,0,0,198,3113,1,0,0,0,200,3177,1,0,0,0,202,3188,1,0,0,0,204,3190, + 1,0,0,0,206,3230,1,0,0,0,208,3262,1,0,0,0,210,3264,1,0,0,0,212,3272, + 1,0,0,0,214,3279,1,0,0,0,216,3288,1,0,0,0,218,3295,1,0,0,0,220,3302, + 1,0,0,0,222,3304,1,0,0,0,224,3312,1,0,0,0,226,3323,1,0,0,0,228,3337, + 1,0,0,0,230,3352,1,0,0,0,232,3356,1,0,0,0,234,3378,1,0,0,0,236,3479, + 1,0,0,0,238,3481,1,0,0,0,240,3486,1,0,0,0,242,3491,1,0,0,0,244,3494, + 1,0,0,0,246,3511,1,0,0,0,248,3521,1,0,0,0,250,3526,1,0,0,0,252,3529, + 1,0,0,0,254,3535,1,0,0,0,256,3548,1,0,0,0,258,3561,1,0,0,0,260,3574, + 1,0,0,0,262,3587,1,0,0,0,264,3594,1,0,0,0,266,3601,1,0,0,0,268,3603, + 1,0,0,0,270,3605,1,0,0,0,272,3607,1,0,0,0,274,3609,1,0,0,0,276,3613, + 1,0,0,0,278,3615,1,0,0,0,280,3617,1,0,0,0,282,3625,1,0,0,0,284,3631, + 1,0,0,0,286,3636,1,0,0,0,288,3643,1,0,0,0,290,3645,1,0,0,0,292,3660, + 1,0,0,0,294,3667,1,0,0,0,296,3681,1,0,0,0,298,3685,1,0,0,0,300,3687, + 1,0,0,0,302,304,3,2,1,0,303,302,1,0,0,0,304,307,1,0,0,0,305,303, + 1,0,0,0,305,306,1,0,0,0,306,308,1,0,0,0,307,305,1,0,0,0,308,309, + 5,0,0,1,309,1,1,0,0,0,310,311,3,4,2,0,311,3,1,0,0,0,312,314,3,16, + 8,0,313,315,5,325,0,0,314,313,1,0,0,0,314,315,1,0,0,0,315,5,1,0, + 0,0,316,318,3,136,68,0,317,319,5,325,0,0,318,317,1,0,0,0,318,319, + 1,0,0,0,319,7,1,0,0,0,320,322,3,222,111,0,321,323,5,325,0,0,322, + 321,1,0,0,0,322,323,1,0,0,0,323,9,1,0,0,0,324,326,3,184,92,0,325, + 327,5,325,0,0,326,325,1,0,0,0,326,327,1,0,0,0,327,11,1,0,0,0,328, + 330,3,204,102,0,329,331,5,325,0,0,330,329,1,0,0,0,330,331,1,0,0, + 0,331,13,1,0,0,0,332,333,3,224,112,0,333,334,5,0,0,1,334,15,1,0, + 0,0,335,1234,3,18,9,0,336,337,5,288,0,0,337,1234,3,264,132,0,338, + 339,5,53,0,0,339,343,5,42,0,0,340,341,5,119,0,0,341,342,5,182,0, + 0,342,344,5,94,0,0,343,340,1,0,0,0,343,344,1,0,0,0,344,345,1,0,0, + 0,345,346,3,270,135,0,346,347,5,290,0,0,347,350,3,294,147,0,348, + 349,5,46,0,0,349,351,3,168,84,0,350,348,1,0,0,0,350,351,1,0,0,0, + 351,354,1,0,0,0,352,353,5,31,0,0,353,355,3,288,144,0,354,352,1,0, + 0,0,354,355,1,0,0,0,355,358,1,0,0,0,356,357,5,304,0,0,357,359,3, + 32,16,0,358,356,1,0,0,0,358,359,1,0,0,0,359,1234,1,0,0,0,360,361, + 5,83,0,0,361,364,5,42,0,0,362,363,5,119,0,0,363,365,5,94,0,0,364, + 362,1,0,0,0,364,365,1,0,0,0,365,366,1,0,0,0,366,368,3,268,134,0, + 367,369,7,0,0,0,368,367,1,0,0,0,368,369,1,0,0,0,369,1234,1,0,0,0, + 370,371,5,53,0,0,371,375,5,243,0,0,372,373,5,119,0,0,373,374,5,182, + 0,0,374,376,5,94,0,0,375,372,1,0,0,0,375,376,1,0,0,0,376,377,1,0, + 0,0,377,380,3,266,133,0,378,379,5,31,0,0,379,381,3,288,144,0,380, + 378,1,0,0,0,380,381,1,0,0,0,381,384,1,0,0,0,382,383,5,304,0,0,383, + 385,3,32,16,0,384,382,1,0,0,0,384,385,1,0,0,0,385,1234,1,0,0,0,386, + 387,5,83,0,0,387,390,5,243,0,0,388,389,5,119,0,0,389,391,5,94,0, + 0,390,388,1,0,0,0,390,391,1,0,0,0,391,392,1,0,0,0,392,394,3,264, + 132,0,393,395,7,0,0,0,394,393,1,0,0,0,394,395,1,0,0,0,395,1234,1, + 0,0,0,396,397,5,23,0,0,397,398,5,243,0,0,398,399,3,264,132,0,399, + 400,5,223,0,0,400,401,5,269,0,0,401,402,3,266,133,0,402,1234,1,0, + 0,0,403,404,5,23,0,0,404,405,5,243,0,0,405,406,3,264,132,0,406,407, + 5,251,0,0,407,408,5,31,0,0,408,409,3,288,144,0,409,1234,1,0,0,0, + 410,413,5,53,0,0,411,412,5,194,0,0,412,414,5,226,0,0,413,411,1,0, + 0,0,413,414,1,0,0,0,414,415,1,0,0,0,415,419,5,260,0,0,416,417,5, + 119,0,0,417,418,5,182,0,0,418,420,5,94,0,0,419,416,1,0,0,0,419,420, + 1,0,0,0,420,421,1,0,0,0,421,423,3,258,129,0,422,424,3,104,52,0,423, + 422,1,0,0,0,423,424,1,0,0,0,424,427,1,0,0,0,425,426,5,46,0,0,426, + 428,3,168,84,0,427,425,1,0,0,0,427,428,1,0,0,0,428,431,1,0,0,0,429, + 430,5,304,0,0,430,432,3,32,16,0,431,429,1,0,0,0,431,432,1,0,0,0, + 432,433,1,0,0,0,433,439,5,28,0,0,434,440,3,18,9,0,435,436,5,1,0, + 0,436,437,3,18,9,0,437,438,5,2,0,0,438,440,1,0,0,0,439,434,1,0,0, + 0,439,435,1,0,0,0,440,446,1,0,0,0,441,443,5,304,0,0,442,444,5,179, + 0,0,443,442,1,0,0,0,443,444,1,0,0,0,444,445,1,0,0,0,445,447,5,65, + 0,0,446,441,1,0,0,0,446,447,1,0,0,0,447,1234,1,0,0,0,448,451,5,53, + 0,0,449,450,5,194,0,0,450,452,5,226,0,0,451,449,1,0,0,0,451,452, + 1,0,0,0,452,453,1,0,0,0,453,457,5,260,0,0,454,455,5,119,0,0,455, + 456,5,182,0,0,456,458,5,94,0,0,457,454,1,0,0,0,457,458,1,0,0,0,458, + 459,1,0,0,0,459,460,3,258,129,0,460,461,5,1,0,0,461,466,3,26,13, + 0,462,463,5,3,0,0,463,465,3,26,13,0,464,462,1,0,0,0,465,468,1,0, + 0,0,466,464,1,0,0,0,466,467,1,0,0,0,467,469,1,0,0,0,468,466,1,0, + 0,0,469,472,5,2,0,0,470,471,5,46,0,0,471,473,3,168,84,0,472,470, + 1,0,0,0,472,473,1,0,0,0,473,476,1,0,0,0,474,475,5,304,0,0,475,477, + 3,32,16,0,476,474,1,0,0,0,476,477,1,0,0,0,477,1234,1,0,0,0,478,479, + 5,83,0,0,479,482,5,260,0,0,480,481,5,119,0,0,481,483,5,94,0,0,482, + 480,1,0,0,0,482,483,1,0,0,0,483,484,1,0,0,0,484,1234,3,256,128,0, + 485,486,5,127,0,0,486,487,5,130,0,0,487,489,3,256,128,0,488,490, + 3,106,53,0,489,488,1,0,0,0,489,490,1,0,0,0,490,491,1,0,0,0,491,492, + 3,18,9,0,492,1234,1,0,0,0,493,494,5,73,0,0,494,495,5,105,0,0,495, + 498,3,256,128,0,496,497,5,301,0,0,497,499,3,138,69,0,498,496,1,0, + 0,0,498,499,1,0,0,0,499,1234,1,0,0,0,500,501,5,274,0,0,501,502,5, + 260,0,0,502,1234,3,256,128,0,503,504,5,46,0,0,504,505,5,190,0,0, + 505,506,5,260,0,0,506,507,3,256,128,0,507,510,5,133,0,0,508,511, + 3,168,84,0,509,511,5,183,0,0,510,508,1,0,0,0,510,509,1,0,0,0,511, + 1234,1,0,0,0,512,513,5,46,0,0,513,514,5,190,0,0,514,515,5,299,0, + 0,515,516,3,260,130,0,516,519,5,133,0,0,517,520,3,168,84,0,518,520, + 5,183,0,0,519,517,1,0,0,0,519,518,1,0,0,0,520,1234,1,0,0,0,521,522, + 5,46,0,0,522,523,5,190,0,0,523,524,5,44,0,0,524,525,3,276,138,0, + 525,528,5,133,0,0,526,529,3,168,84,0,527,529,5,183,0,0,528,526,1, + 0,0,0,528,527,1,0,0,0,529,1234,1,0,0,0,530,531,5,23,0,0,531,534, + 5,260,0,0,532,533,5,119,0,0,533,535,5,94,0,0,534,532,1,0,0,0,534, + 535,1,0,0,0,535,536,1,0,0,0,536,537,3,256,128,0,537,538,5,223,0, + 0,538,539,5,269,0,0,539,540,3,258,129,0,540,1234,1,0,0,0,541,542, + 5,23,0,0,542,545,5,260,0,0,543,544,5,119,0,0,544,546,5,94,0,0,545, + 543,1,0,0,0,545,546,1,0,0,0,546,547,1,0,0,0,547,548,3,256,128,0, + 548,549,5,19,0,0,549,553,5,44,0,0,550,551,5,119,0,0,551,552,5,182, + 0,0,552,554,5,94,0,0,553,550,1,0,0,0,553,554,1,0,0,0,554,555,1,0, + 0,0,555,556,3,28,14,0,556,1234,1,0,0,0,557,558,5,23,0,0,558,561, + 5,260,0,0,559,560,5,119,0,0,560,562,5,94,0,0,561,559,1,0,0,0,561, + 562,1,0,0,0,562,563,1,0,0,0,563,564,3,256,128,0,564,565,5,223,0, + 0,565,568,5,44,0,0,566,567,5,119,0,0,567,569,5,94,0,0,568,566,1, + 0,0,0,568,569,1,0,0,0,569,570,1,0,0,0,570,571,3,276,138,0,571,572, + 5,269,0,0,572,573,3,278,139,0,573,1234,1,0,0,0,574,575,5,23,0,0, + 575,578,5,260,0,0,576,577,5,119,0,0,577,579,5,94,0,0,578,576,1,0, + 0,0,578,579,1,0,0,0,579,580,1,0,0,0,580,581,3,256,128,0,581,582, + 5,83,0,0,582,585,5,44,0,0,583,584,5,119,0,0,584,586,5,94,0,0,585, + 583,1,0,0,0,585,586,1,0,0,0,586,587,1,0,0,0,587,588,3,276,138,0, + 588,1234,1,0,0,0,589,590,5,23,0,0,590,593,5,260,0,0,591,592,5,119, + 0,0,592,594,5,94,0,0,593,591,1,0,0,0,593,594,1,0,0,0,594,595,1,0, + 0,0,595,596,3,256,128,0,596,597,5,23,0,0,597,598,5,44,0,0,598,599, + 3,276,138,0,599,600,5,251,0,0,600,601,5,65,0,0,601,602,5,276,0,0, + 602,603,3,184,92,0,603,1234,1,0,0,0,604,605,5,23,0,0,605,608,5,260, + 0,0,606,607,5,119,0,0,607,609,5,94,0,0,608,606,1,0,0,0,608,609,1, + 0,0,0,609,610,1,0,0,0,610,611,3,256,128,0,611,612,5,23,0,0,612,613, + 5,44,0,0,613,614,3,276,138,0,614,615,5,83,0,0,615,616,5,182,0,0, + 616,617,5,183,0,0,617,1234,1,0,0,0,618,619,5,23,0,0,619,620,5,260, + 0,0,620,621,3,256,128,0,621,622,5,251,0,0,622,623,5,31,0,0,623,624, + 3,288,144,0,624,1234,1,0,0,0,625,626,5,23,0,0,626,627,5,260,0,0, + 627,628,3,256,128,0,628,629,5,251,0,0,629,630,5,216,0,0,630,631, + 3,34,17,0,631,1234,1,0,0,0,632,633,5,23,0,0,633,634,5,260,0,0,634, + 635,3,256,128,0,635,636,5,93,0,0,636,649,3,272,136,0,637,646,5,1, + 0,0,638,643,3,218,109,0,639,640,5,3,0,0,640,642,3,218,109,0,641, + 639,1,0,0,0,642,645,1,0,0,0,643,641,1,0,0,0,643,644,1,0,0,0,644, + 647,1,0,0,0,645,643,1,0,0,0,646,638,1,0,0,0,646,647,1,0,0,0,647, + 648,1,0,0,0,648,650,5,2,0,0,649,637,1,0,0,0,649,650,1,0,0,0,650, + 653,1,0,0,0,651,652,5,301,0,0,652,654,3,138,69,0,653,651,1,0,0,0, + 653,654,1,0,0,0,654,1234,1,0,0,0,655,656,5,24,0,0,656,659,3,256, + 128,0,657,658,5,304,0,0,658,660,3,32,16,0,659,657,1,0,0,0,659,660, + 1,0,0,0,660,1234,1,0,0,0,661,664,5,53,0,0,662,663,5,194,0,0,663, + 665,5,226,0,0,664,662,1,0,0,0,664,665,1,0,0,0,665,666,1,0,0,0,666, + 667,5,167,0,0,667,671,5,299,0,0,668,669,5,119,0,0,669,670,5,182, + 0,0,670,672,5,94,0,0,671,668,1,0,0,0,671,672,1,0,0,0,672,673,1,0, + 0,0,673,677,3,262,131,0,674,675,5,109,0,0,675,676,5,208,0,0,676, + 678,3,178,89,0,677,674,1,0,0,0,677,678,1,0,0,0,678,681,1,0,0,0,679, + 680,5,46,0,0,680,682,3,168,84,0,681,679,1,0,0,0,681,682,1,0,0,0, + 682,685,1,0,0,0,683,684,5,304,0,0,684,686,3,32,16,0,685,683,1,0, + 0,0,685,686,1,0,0,0,686,687,1,0,0,0,687,688,5,28,0,0,688,689,3,18, + 9,0,689,1234,1,0,0,0,690,693,5,53,0,0,691,692,5,194,0,0,692,694, + 5,226,0,0,693,691,1,0,0,0,693,694,1,0,0,0,694,695,1,0,0,0,695,696, + 5,299,0,0,696,699,3,262,131,0,697,698,5,46,0,0,698,700,3,168,84, + 0,699,697,1,0,0,0,699,700,1,0,0,0,700,703,1,0,0,0,701,702,5,246, + 0,0,702,704,7,1,0,0,703,701,1,0,0,0,703,704,1,0,0,0,704,707,1,0, + 0,0,705,706,5,304,0,0,706,708,3,32,16,0,707,705,1,0,0,0,707,708, + 1,0,0,0,708,709,1,0,0,0,709,710,5,28,0,0,710,711,3,18,9,0,711,1234, + 1,0,0,0,712,713,5,222,0,0,713,714,5,167,0,0,714,715,5,299,0,0,715, + 1234,3,260,130,0,716,717,5,83,0,0,717,718,5,167,0,0,718,721,5,299, + 0,0,719,720,5,119,0,0,720,722,5,94,0,0,721,719,1,0,0,0,721,722,1, + 0,0,0,722,723,1,0,0,0,723,1234,3,260,130,0,724,725,5,23,0,0,725, + 726,5,167,0,0,726,729,5,299,0,0,727,728,5,119,0,0,728,730,5,94,0, + 0,729,727,1,0,0,0,729,730,1,0,0,0,730,731,1,0,0,0,731,732,3,260, + 130,0,732,733,5,223,0,0,733,734,5,269,0,0,734,735,3,262,131,0,735, + 1234,1,0,0,0,736,737,5,23,0,0,737,738,5,167,0,0,738,739,5,299,0, + 0,739,740,3,260,130,0,740,741,5,251,0,0,741,742,5,216,0,0,742,743, + 3,34,17,0,743,1234,1,0,0,0,744,745,5,83,0,0,745,748,5,299,0,0,746, + 747,5,119,0,0,747,749,5,94,0,0,748,746,1,0,0,0,748,749,1,0,0,0,749, + 750,1,0,0,0,750,1234,3,260,130,0,751,752,5,23,0,0,752,753,5,299, + 0,0,753,754,3,260,130,0,754,755,5,223,0,0,755,756,5,269,0,0,756, + 757,3,262,131,0,757,1234,1,0,0,0,758,759,5,23,0,0,759,760,5,299, + 0,0,760,761,3,260,130,0,761,762,5,251,0,0,762,763,5,31,0,0,763,764, + 3,288,144,0,764,1234,1,0,0,0,765,766,5,37,0,0,766,767,3,272,136, + 0,767,776,5,1,0,0,768,773,3,218,109,0,769,770,5,3,0,0,770,772,3, + 218,109,0,771,769,1,0,0,0,772,775,1,0,0,0,773,771,1,0,0,0,773,774, + 1,0,0,0,774,777,1,0,0,0,775,773,1,0,0,0,776,768,1,0,0,0,776,777, + 1,0,0,0,777,778,1,0,0,0,778,779,5,2,0,0,779,1234,1,0,0,0,780,783, + 5,53,0,0,781,782,5,194,0,0,782,784,5,226,0,0,783,781,1,0,0,0,783, + 784,1,0,0,0,784,785,1,0,0,0,785,1234,3,224,112,0,786,787,5,83,0, + 0,787,790,5,107,0,0,788,789,5,119,0,0,789,791,5,94,0,0,790,788,1, + 0,0,0,790,791,1,0,0,0,791,792,1,0,0,0,792,1234,3,228,114,0,793,794, + 5,53,0,0,794,795,5,235,0,0,795,799,3,294,147,0,796,797,5,304,0,0, + 797,798,5,20,0,0,798,800,3,286,143,0,799,796,1,0,0,0,799,800,1,0, + 0,0,800,803,1,0,0,0,801,802,5,122,0,0,802,804,3,268,134,0,803,801, + 1,0,0,0,803,804,1,0,0,0,804,1234,1,0,0,0,805,806,5,83,0,0,806,807, + 5,235,0,0,807,810,3,294,147,0,808,809,5,122,0,0,809,811,3,268,134, + 0,810,808,1,0,0,0,810,811,1,0,0,0,811,1234,1,0,0,0,812,813,5,110, + 0,0,813,818,3,292,146,0,814,815,5,3,0,0,815,817,3,292,146,0,816, + 814,1,0,0,0,817,820,1,0,0,0,818,816,1,0,0,0,818,819,1,0,0,0,819, + 821,1,0,0,0,820,818,1,0,0,0,821,822,5,269,0,0,822,827,3,288,144, + 0,823,824,5,3,0,0,824,826,3,288,144,0,825,823,1,0,0,0,826,829,1, + 0,0,0,827,825,1,0,0,0,827,828,1,0,0,0,828,833,1,0,0,0,829,827,1, + 0,0,0,830,831,5,304,0,0,831,832,5,20,0,0,832,834,5,193,0,0,833,830, + 1,0,0,0,833,834,1,0,0,0,834,838,1,0,0,0,835,836,5,111,0,0,836,837, + 5,36,0,0,837,839,3,286,143,0,838,835,1,0,0,0,838,839,1,0,0,0,839, + 842,1,0,0,0,840,841,5,122,0,0,841,843,3,268,134,0,842,840,1,0,0, + 0,842,843,1,0,0,0,843,1234,1,0,0,0,844,855,5,110,0,0,845,850,3,292, + 146,0,846,847,5,3,0,0,847,849,3,292,146,0,848,846,1,0,0,0,849,852, + 1,0,0,0,850,848,1,0,0,0,850,851,1,0,0,0,851,856,1,0,0,0,852,850, + 1,0,0,0,853,854,5,22,0,0,854,856,5,215,0,0,855,845,1,0,0,0,855,853, + 1,0,0,0,856,857,1,0,0,0,857,858,5,190,0,0,858,859,3,252,126,0,859, + 860,5,269,0,0,860,864,3,288,144,0,861,862,5,304,0,0,862,863,5,110, + 0,0,863,865,5,193,0,0,864,861,1,0,0,0,864,865,1,0,0,0,865,1234,1, + 0,0,0,866,870,5,233,0,0,867,868,5,20,0,0,868,869,5,193,0,0,869,871, + 5,103,0,0,870,867,1,0,0,0,870,871,1,0,0,0,871,872,1,0,0,0,872,877, + 3,292,146,0,873,874,5,3,0,0,874,876,3,292,146,0,875,873,1,0,0,0, + 876,879,1,0,0,0,877,875,1,0,0,0,877,878,1,0,0,0,878,880,1,0,0,0, + 879,877,1,0,0,0,880,881,5,105,0,0,881,886,3,288,144,0,882,883,5, + 3,0,0,883,885,3,288,144,0,884,882,1,0,0,0,885,888,1,0,0,0,886,884, + 1,0,0,0,886,887,1,0,0,0,887,892,1,0,0,0,888,886,1,0,0,0,889,890, + 5,111,0,0,890,891,5,36,0,0,891,893,3,286,143,0,892,889,1,0,0,0,892, + 893,1,0,0,0,893,896,1,0,0,0,894,895,5,122,0,0,895,897,3,268,134, + 0,896,894,1,0,0,0,896,897,1,0,0,0,897,1234,1,0,0,0,898,902,5,233, + 0,0,899,900,5,110,0,0,900,901,5,193,0,0,901,903,5,103,0,0,902,899, + 1,0,0,0,902,903,1,0,0,0,903,914,1,0,0,0,904,909,3,292,146,0,905, + 906,5,3,0,0,906,908,3,292,146,0,907,905,1,0,0,0,908,911,1,0,0,0, + 909,907,1,0,0,0,909,910,1,0,0,0,910,915,1,0,0,0,911,909,1,0,0,0, + 912,913,5,22,0,0,913,915,5,215,0,0,914,904,1,0,0,0,914,912,1,0,0, + 0,915,916,1,0,0,0,916,917,5,190,0,0,917,918,3,252,126,0,918,919, + 5,105,0,0,919,920,3,288,144,0,920,1234,1,0,0,0,921,932,5,74,0,0, + 922,927,3,248,124,0,923,924,5,3,0,0,924,926,3,248,124,0,925,923, + 1,0,0,0,926,929,1,0,0,0,927,925,1,0,0,0,927,928,1,0,0,0,928,933, + 1,0,0,0,929,927,1,0,0,0,930,931,5,22,0,0,931,933,5,215,0,0,932,922, + 1,0,0,0,932,930,1,0,0,0,933,934,1,0,0,0,934,935,5,190,0,0,935,936, + 3,252,126,0,936,937,5,269,0,0,937,938,3,288,144,0,938,1234,1,0,0, + 0,939,940,5,251,0,0,940,944,5,235,0,0,941,945,5,22,0,0,942,945,5, + 180,0,0,943,945,3,294,147,0,944,941,1,0,0,0,944,942,1,0,0,0,944, + 943,1,0,0,0,945,948,1,0,0,0,946,947,5,122,0,0,947,949,3,268,134, + 0,948,946,1,0,0,0,948,949,1,0,0,0,949,1234,1,0,0,0,950,951,5,253, + 0,0,951,954,5,112,0,0,952,953,5,190,0,0,953,955,3,252,126,0,954, + 952,1,0,0,0,954,955,1,0,0,0,955,1234,1,0,0,0,956,968,5,95,0,0,957, + 958,5,1,0,0,958,963,3,212,106,0,959,960,5,3,0,0,960,962,3,212,106, + 0,961,959,1,0,0,0,962,965,1,0,0,0,963,961,1,0,0,0,963,964,1,0,0, + 0,964,966,1,0,0,0,965,963,1,0,0,0,966,967,5,2,0,0,967,969,1,0,0, + 0,968,957,1,0,0,0,968,969,1,0,0,0,969,970,1,0,0,0,970,1234,3,16, + 8,0,971,972,5,95,0,0,972,974,5,24,0,0,973,975,5,297,0,0,974,973, + 1,0,0,0,974,975,1,0,0,0,975,976,1,0,0,0,976,1234,3,16,8,0,977,978, + 5,253,0,0,978,979,5,53,0,0,979,980,5,260,0,0,980,1234,3,256,128, + 0,981,982,5,253,0,0,982,983,5,53,0,0,983,984,5,243,0,0,984,1234, + 3,264,132,0,985,986,5,253,0,0,986,987,5,53,0,0,987,988,5,299,0,0, + 988,1234,3,260,130,0,989,990,5,253,0,0,990,991,5,53,0,0,991,992, + 5,167,0,0,992,993,5,299,0,0,993,1234,3,260,130,0,994,995,5,253,0, + 0,995,996,5,53,0,0,996,997,5,107,0,0,997,1234,3,272,136,0,998,999, + 5,253,0,0,999,1002,5,261,0,0,1000,1001,7,2,0,0,1001,1003,3,264,132, + 0,1002,1000,1,0,0,0,1002,1003,1,0,0,0,1003,1010,1,0,0,0,1004,1005, + 5,154,0,0,1005,1008,3,168,84,0,1006,1007,5,90,0,0,1007,1009,3,168, + 84,0,1008,1006,1,0,0,0,1008,1009,1,0,0,0,1009,1011,1,0,0,0,1010, + 1004,1,0,0,0,1010,1011,1,0,0,0,1011,1234,1,0,0,0,1012,1013,5,253, + 0,0,1013,1016,5,244,0,0,1014,1015,7,2,0,0,1015,1017,3,268,134,0, + 1016,1014,1,0,0,0,1016,1017,1,0,0,0,1017,1024,1,0,0,0,1018,1019, + 5,154,0,0,1019,1022,3,168,84,0,1020,1021,5,90,0,0,1021,1023,3,168, + 84,0,1022,1020,1,0,0,0,1022,1023,1,0,0,0,1023,1025,1,0,0,0,1024, + 1018,1,0,0,0,1024,1025,1,0,0,0,1025,1234,1,0,0,0,1026,1027,5,253, + 0,0,1027,1034,5,43,0,0,1028,1029,5,154,0,0,1029,1032,3,168,84,0, + 1030,1031,5,90,0,0,1031,1033,3,168,84,0,1032,1030,1,0,0,0,1032,1033, + 1,0,0,0,1033,1035,1,0,0,0,1034,1028,1,0,0,0,1034,1035,1,0,0,0,1035, + 1234,1,0,0,0,1036,1037,5,253,0,0,1037,1038,5,45,0,0,1038,1039,7, + 2,0,0,1039,1046,3,254,127,0,1040,1041,5,154,0,0,1041,1044,3,168, + 84,0,1042,1043,5,90,0,0,1043,1045,3,168,84,0,1044,1042,1,0,0,0,1044, + 1045,1,0,0,0,1045,1047,1,0,0,0,1046,1040,1,0,0,0,1046,1047,1,0,0, + 0,1047,1234,1,0,0,0,1048,1049,5,253,0,0,1049,1050,5,256,0,0,1050, + 1051,5,103,0,0,1051,1234,3,254,127,0,1052,1053,5,253,0,0,1053,1054, + 5,256,0,0,1054,1055,5,103,0,0,1055,1056,5,1,0,0,1056,1057,3,18,9, + 0,1057,1058,5,2,0,0,1058,1234,1,0,0,0,1059,1061,5,253,0,0,1060,1062, + 5,56,0,0,1061,1060,1,0,0,0,1061,1062,1,0,0,0,1062,1063,1,0,0,0,1063, + 1066,5,236,0,0,1064,1065,7,2,0,0,1065,1067,3,268,134,0,1066,1064, + 1,0,0,0,1066,1067,1,0,0,0,1067,1234,1,0,0,0,1068,1069,5,253,0,0, + 1069,1070,5,235,0,0,1070,1073,5,112,0,0,1071,1072,7,2,0,0,1072,1074, + 3,268,134,0,1073,1071,1,0,0,0,1073,1074,1,0,0,0,1074,1234,1,0,0, + 0,1075,1076,5,76,0,0,1076,1234,3,254,127,0,1077,1078,5,75,0,0,1078, + 1234,3,254,127,0,1079,1080,5,253,0,0,1080,1083,5,108,0,0,1081,1082, + 7,2,0,0,1082,1084,3,264,132,0,1083,1081,1,0,0,0,1083,1084,1,0,0, + 0,1084,1091,1,0,0,0,1085,1086,5,154,0,0,1086,1089,3,168,84,0,1087, + 1088,5,90,0,0,1088,1090,3,168,84,0,1089,1087,1,0,0,0,1089,1090,1, + 0,0,0,1090,1092,1,0,0,0,1091,1085,1,0,0,0,1091,1092,1,0,0,0,1092, + 1234,1,0,0,0,1093,1094,5,253,0,0,1094,1101,5,250,0,0,1095,1096,5, + 154,0,0,1096,1099,3,168,84,0,1097,1098,5,90,0,0,1098,1100,3,168, + 84,0,1099,1097,1,0,0,0,1099,1100,1,0,0,0,1100,1102,1,0,0,0,1101, + 1095,1,0,0,0,1101,1102,1,0,0,0,1102,1234,1,0,0,0,1103,1104,5,251, + 0,0,1104,1105,5,250,0,0,1105,1106,5,31,0,0,1106,1234,3,298,149,0, + 1107,1108,5,227,0,0,1108,1109,5,250,0,0,1109,1234,5,31,0,0,1110, + 1111,5,251,0,0,1111,1112,5,250,0,0,1112,1113,3,280,140,0,1113,1114, + 5,312,0,0,1114,1115,3,136,68,0,1115,1234,1,0,0,0,1116,1117,5,227, + 0,0,1117,1118,5,250,0,0,1118,1234,3,280,140,0,1119,1120,5,255,0, + 0,1120,1129,5,271,0,0,1121,1126,3,214,107,0,1122,1123,5,3,0,0,1123, + 1125,3,214,107,0,1124,1122,1,0,0,0,1125,1128,1,0,0,0,1126,1124,1, + 0,0,0,1126,1127,1,0,0,0,1127,1130,1,0,0,0,1128,1126,1,0,0,0,1129, + 1121,1,0,0,0,1129,1130,1,0,0,0,1130,1234,1,0,0,0,1131,1133,5,47, + 0,0,1132,1134,5,307,0,0,1133,1132,1,0,0,0,1133,1134,1,0,0,0,1134, + 1234,1,0,0,0,1135,1137,5,237,0,0,1136,1138,5,307,0,0,1137,1136,1, + 0,0,0,1137,1138,1,0,0,0,1138,1234,1,0,0,0,1139,1140,5,214,0,0,1140, + 1141,3,294,147,0,1141,1142,5,105,0,0,1142,1143,3,16,8,0,1143,1234, + 1,0,0,0,1144,1145,5,68,0,0,1145,1146,5,214,0,0,1146,1234,3,294,147, + 0,1147,1148,5,93,0,0,1148,1158,3,294,147,0,1149,1150,5,290,0,0,1150, + 1155,3,136,68,0,1151,1152,5,3,0,0,1152,1154,3,136,68,0,1153,1151, + 1,0,0,0,1154,1157,1,0,0,0,1155,1153,1,0,0,0,1155,1156,1,0,0,0,1156, + 1159,1,0,0,0,1157,1155,1,0,0,0,1158,1149,1,0,0,0,1158,1159,1,0,0, + 0,1159,1234,1,0,0,0,1160,1161,5,93,0,0,1161,1162,5,121,0,0,1162, + 1172,3,168,84,0,1163,1164,5,290,0,0,1164,1169,3,136,68,0,1165,1166, + 5,3,0,0,1166,1168,3,136,68,0,1167,1165,1,0,0,0,1168,1171,1,0,0,0, + 1169,1167,1,0,0,0,1169,1170,1,0,0,0,1170,1173,1,0,0,0,1171,1169, + 1,0,0,0,1172,1163,1,0,0,0,1172,1173,1,0,0,0,1173,1234,1,0,0,0,1174, + 1175,5,76,0,0,1175,1176,5,126,0,0,1176,1234,3,294,147,0,1177,1178, + 5,76,0,0,1178,1179,5,198,0,0,1179,1234,3,294,147,0,1180,1181,5,251, + 0,0,1181,1182,5,205,0,0,1182,1234,3,222,111,0,1183,1184,5,251,0, + 0,1184,1185,5,267,0,0,1185,1188,5,311,0,0,1186,1189,5,157,0,0,1187, + 1189,3,136,68,0,1188,1186,1,0,0,0,1188,1187,1,0,0,0,1189,1234,1, + 0,0,0,1190,1191,5,287,0,0,1191,1192,3,256,128,0,1192,1193,5,251, + 0,0,1193,1198,3,210,105,0,1194,1195,5,3,0,0,1195,1197,3,210,105, + 0,1196,1194,1,0,0,0,1197,1200,1,0,0,0,1198,1196,1,0,0,0,1198,1199, + 1,0,0,0,1199,1203,1,0,0,0,1200,1198,1,0,0,0,1201,1202,5,301,0,0, + 1202,1204,3,138,69,0,1203,1201,1,0,0,0,1203,1204,1,0,0,0,1204,1234, + 1,0,0,0,1205,1206,5,169,0,0,1206,1207,5,130,0,0,1207,1212,3,256, + 128,0,1208,1210,5,28,0,0,1209,1208,1,0,0,0,1209,1210,1,0,0,0,1210, + 1211,1,0,0,0,1211,1213,3,294,147,0,1212,1209,1,0,0,0,1212,1213,1, + 0,0,0,1213,1214,1,0,0,0,1214,1215,5,290,0,0,1215,1216,3,72,36,0, + 1216,1217,5,190,0,0,1217,1219,3,136,68,0,1218,1220,3,194,97,0,1219, + 1218,1,0,0,0,1220,1221,1,0,0,0,1221,1219,1,0,0,0,1221,1222,1,0,0, + 0,1222,1234,1,0,0,0,1223,1224,5,253,0,0,1224,1225,5,46,0,0,1225, + 1226,5,190,0,0,1226,1227,5,260,0,0,1227,1234,3,256,128,0,1228,1229, + 5,253,0,0,1229,1230,5,46,0,0,1230,1231,5,190,0,0,1231,1232,5,44, + 0,0,1232,1234,3,276,138,0,1233,335,1,0,0,0,1233,336,1,0,0,0,1233, + 338,1,0,0,0,1233,360,1,0,0,0,1233,370,1,0,0,0,1233,386,1,0,0,0,1233, + 396,1,0,0,0,1233,403,1,0,0,0,1233,410,1,0,0,0,1233,448,1,0,0,0,1233, + 478,1,0,0,0,1233,485,1,0,0,0,1233,493,1,0,0,0,1233,500,1,0,0,0,1233, + 503,1,0,0,0,1233,512,1,0,0,0,1233,521,1,0,0,0,1233,530,1,0,0,0,1233, + 541,1,0,0,0,1233,557,1,0,0,0,1233,574,1,0,0,0,1233,589,1,0,0,0,1233, + 604,1,0,0,0,1233,618,1,0,0,0,1233,625,1,0,0,0,1233,632,1,0,0,0,1233, + 655,1,0,0,0,1233,661,1,0,0,0,1233,690,1,0,0,0,1233,712,1,0,0,0,1233, + 716,1,0,0,0,1233,724,1,0,0,0,1233,736,1,0,0,0,1233,744,1,0,0,0,1233, + 751,1,0,0,0,1233,758,1,0,0,0,1233,765,1,0,0,0,1233,780,1,0,0,0,1233, + 786,1,0,0,0,1233,793,1,0,0,0,1233,805,1,0,0,0,1233,812,1,0,0,0,1233, + 844,1,0,0,0,1233,866,1,0,0,0,1233,898,1,0,0,0,1233,921,1,0,0,0,1233, + 939,1,0,0,0,1233,950,1,0,0,0,1233,956,1,0,0,0,1233,971,1,0,0,0,1233, + 977,1,0,0,0,1233,981,1,0,0,0,1233,985,1,0,0,0,1233,989,1,0,0,0,1233, + 994,1,0,0,0,1233,998,1,0,0,0,1233,1012,1,0,0,0,1233,1026,1,0,0,0, + 1233,1036,1,0,0,0,1233,1048,1,0,0,0,1233,1052,1,0,0,0,1233,1059, + 1,0,0,0,1233,1068,1,0,0,0,1233,1075,1,0,0,0,1233,1077,1,0,0,0,1233, + 1079,1,0,0,0,1233,1093,1,0,0,0,1233,1103,1,0,0,0,1233,1107,1,0,0, + 0,1233,1110,1,0,0,0,1233,1116,1,0,0,0,1233,1119,1,0,0,0,1233,1131, + 1,0,0,0,1233,1135,1,0,0,0,1233,1139,1,0,0,0,1233,1144,1,0,0,0,1233, + 1147,1,0,0,0,1233,1160,1,0,0,0,1233,1174,1,0,0,0,1233,1177,1,0,0, + 0,1233,1180,1,0,0,0,1233,1183,1,0,0,0,1233,1190,1,0,0,0,1233,1205, + 1,0,0,0,1233,1223,1,0,0,0,1233,1228,1,0,0,0,1234,17,1,0,0,0,1235, + 1237,3,20,10,0,1236,1235,1,0,0,0,1236,1237,1,0,0,0,1237,1238,1,0, + 0,0,1238,1239,3,22,11,0,1239,19,1,0,0,0,1240,1241,5,304,0,0,1241, + 1246,3,224,112,0,1242,1243,5,3,0,0,1243,1245,3,224,112,0,1244,1242, + 1,0,0,0,1245,1248,1,0,0,0,1246,1244,1,0,0,0,1246,1247,1,0,0,0,1247, + 21,1,0,0,0,1248,1246,1,0,0,0,1249,1251,3,24,12,0,1250,1249,1,0,0, + 0,1250,1251,1,0,0,0,1251,1252,1,0,0,0,1252,1253,3,40,20,0,1253,23, + 1,0,0,0,1254,1256,5,304,0,0,1255,1257,5,221,0,0,1256,1255,1,0,0, + 0,1256,1257,1,0,0,0,1257,1258,1,0,0,0,1258,1263,3,66,33,0,1259,1260, + 5,3,0,0,1260,1262,3,66,33,0,1261,1259,1,0,0,0,1262,1265,1,0,0,0, + 1263,1261,1,0,0,0,1263,1264,1,0,0,0,1264,25,1,0,0,0,1265,1263,1, + 0,0,0,1266,1269,3,28,14,0,1267,1269,3,30,15,0,1268,1266,1,0,0,0, + 1268,1267,1,0,0,0,1269,27,1,0,0,0,1270,1271,3,278,139,0,1271,1274, + 3,184,92,0,1272,1273,5,182,0,0,1273,1275,5,183,0,0,1274,1272,1,0, + 0,0,1274,1275,1,0,0,0,1275,1278,1,0,0,0,1276,1277,5,46,0,0,1277, + 1279,3,168,84,0,1278,1276,1,0,0,0,1278,1279,1,0,0,0,1279,1282,1, + 0,0,0,1280,1281,5,304,0,0,1281,1283,3,32,16,0,1282,1280,1,0,0,0, + 1282,1283,1,0,0,0,1283,29,1,0,0,0,1284,1285,5,154,0,0,1285,1288, + 3,256,128,0,1286,1287,7,3,0,0,1287,1289,5,216,0,0,1288,1286,1,0, + 0,0,1288,1289,1,0,0,0,1289,31,1,0,0,0,1290,1291,5,1,0,0,1291,1292, + 3,34,17,0,1292,1293,5,2,0,0,1293,33,1,0,0,0,1294,1299,3,36,18,0, + 1295,1296,5,3,0,0,1296,1298,3,36,18,0,1297,1295,1,0,0,0,1298,1301, + 1,0,0,0,1299,1297,1,0,0,0,1299,1300,1,0,0,0,1300,35,1,0,0,0,1301, + 1299,1,0,0,0,1302,1303,3,294,147,0,1303,1304,5,312,0,0,1304,1305, + 3,38,19,0,1305,37,1,0,0,0,1306,1309,5,70,0,0,1307,1309,3,136,68, + 0,1308,1306,1,0,0,0,1308,1307,1,0,0,0,1309,39,1,0,0,0,1310,1321, + 3,46,23,0,1311,1312,5,195,0,0,1312,1313,5,36,0,0,1313,1318,3,50, + 25,0,1314,1315,5,3,0,0,1315,1317,3,50,25,0,1316,1314,1,0,0,0,1317, + 1320,1,0,0,0,1318,1316,1,0,0,0,1318,1319,1,0,0,0,1319,1322,1,0,0, + 0,1320,1318,1,0,0,0,1321,1311,1,0,0,0,1321,1322,1,0,0,0,1322,1328, + 1,0,0,0,1323,1324,5,188,0,0,1324,1326,3,44,22,0,1325,1327,7,4,0, + 0,1326,1325,1,0,0,0,1326,1327,1,0,0,0,1327,1329,1,0,0,0,1328,1323, + 1,0,0,0,1328,1329,1,0,0,0,1329,1343,1,0,0,0,1330,1331,5,155,0,0, + 1331,1344,3,42,21,0,1332,1333,5,98,0,0,1333,1335,7,5,0,0,1334,1336, + 3,44,22,0,1335,1334,1,0,0,0,1335,1336,1,0,0,0,1336,1337,1,0,0,0, + 1337,1341,7,4,0,0,1338,1342,5,192,0,0,1339,1340,5,304,0,0,1340,1342, + 5,266,0,0,1341,1338,1,0,0,0,1341,1339,1,0,0,0,1342,1344,1,0,0,0, + 1343,1330,1,0,0,0,1343,1332,1,0,0,0,1343,1344,1,0,0,0,1344,41,1, + 0,0,0,1345,1348,5,22,0,0,1346,1348,3,44,22,0,1347,1345,1,0,0,0,1347, + 1346,1,0,0,0,1348,43,1,0,0,0,1349,1350,7,6,0,0,1350,45,1,0,0,0,1351, + 1352,6,23,-1,0,1352,1353,3,48,24,0,1353,1368,1,0,0,0,1354,1355,10, + 2,0,0,1355,1357,5,128,0,0,1356,1358,3,68,34,0,1357,1356,1,0,0,0, + 1357,1358,1,0,0,0,1358,1359,1,0,0,0,1359,1367,3,46,23,3,1360,1361, + 10,1,0,0,1361,1363,7,7,0,0,1362,1364,3,68,34,0,1363,1362,1,0,0,0, + 1363,1364,1,0,0,0,1364,1365,1,0,0,0,1365,1367,3,46,23,2,1366,1354, + 1,0,0,0,1366,1360,1,0,0,0,1367,1370,1,0,0,0,1368,1366,1,0,0,0,1368, + 1369,1,0,0,0,1369,47,1,0,0,0,1370,1368,1,0,0,0,1371,1388,3,52,26, + 0,1372,1373,5,260,0,0,1373,1388,3,256,128,0,1374,1375,5,296,0,0, + 1375,1380,3,136,68,0,1376,1377,5,3,0,0,1377,1379,3,136,68,0,1378, + 1376,1,0,0,0,1379,1382,1,0,0,0,1380,1378,1,0,0,0,1380,1381,1,0,0, + 0,1381,1388,1,0,0,0,1382,1380,1,0,0,0,1383,1384,5,1,0,0,1384,1385, + 3,40,20,0,1385,1386,5,2,0,0,1386,1388,1,0,0,0,1387,1371,1,0,0,0, + 1387,1372,1,0,0,0,1387,1374,1,0,0,0,1387,1383,1,0,0,0,1388,49,1, + 0,0,0,1389,1392,3,276,138,0,1390,1392,3,136,68,0,1391,1389,1,0,0, + 0,1391,1390,1,0,0,0,1392,1394,1,0,0,0,1393,1395,7,8,0,0,1394,1393, + 1,0,0,0,1394,1395,1,0,0,0,1395,1398,1,0,0,0,1396,1397,5,185,0,0, + 1397,1399,7,9,0,0,1398,1396,1,0,0,0,1398,1399,1,0,0,0,1399,51,1, + 0,0,0,1400,1402,5,248,0,0,1401,1403,3,68,34,0,1402,1401,1,0,0,0, + 1402,1403,1,0,0,0,1403,1404,1,0,0,0,1404,1409,3,70,35,0,1405,1406, + 5,3,0,0,1406,1408,3,70,35,0,1407,1405,1,0,0,0,1408,1411,1,0,0,0, + 1409,1407,1,0,0,0,1409,1410,1,0,0,0,1410,1421,1,0,0,0,1411,1409, + 1,0,0,0,1412,1413,5,105,0,0,1413,1418,3,72,36,0,1414,1415,5,3,0, + 0,1415,1417,3,72,36,0,1416,1414,1,0,0,0,1417,1420,1,0,0,0,1418,1416, + 1,0,0,0,1418,1419,1,0,0,0,1419,1422,1,0,0,0,1420,1418,1,0,0,0,1421, + 1412,1,0,0,0,1421,1422,1,0,0,0,1422,1425,1,0,0,0,1423,1424,5,301, + 0,0,1424,1426,3,138,69,0,1425,1423,1,0,0,0,1425,1426,1,0,0,0,1426, + 1430,1,0,0,0,1427,1428,5,114,0,0,1428,1429,5,36,0,0,1429,1431,3, + 54,27,0,1430,1427,1,0,0,0,1430,1431,1,0,0,0,1431,1434,1,0,0,0,1432, + 1433,5,117,0,0,1433,1435,3,138,69,0,1434,1432,1,0,0,0,1434,1435, + 1,0,0,0,1435,1445,1,0,0,0,1436,1437,5,303,0,0,1437,1442,3,62,31, + 0,1438,1439,5,3,0,0,1439,1441,3,62,31,0,1440,1438,1,0,0,0,1441,1444, + 1,0,0,0,1442,1440,1,0,0,0,1442,1443,1,0,0,0,1443,1446,1,0,0,0,1444, + 1442,1,0,0,0,1445,1436,1,0,0,0,1445,1446,1,0,0,0,1446,53,1,0,0,0, + 1447,1449,3,68,34,0,1448,1447,1,0,0,0,1448,1449,1,0,0,0,1449,1450, + 1,0,0,0,1450,1455,3,56,28,0,1451,1452,5,3,0,0,1452,1454,3,56,28, + 0,1453,1451,1,0,0,0,1454,1457,1,0,0,0,1455,1453,1,0,0,0,1455,1456, + 1,0,0,0,1456,55,1,0,0,0,1457,1455,1,0,0,0,1458,1499,3,58,29,0,1459, + 1460,5,238,0,0,1460,1469,5,1,0,0,1461,1466,3,58,29,0,1462,1463,5, + 3,0,0,1463,1465,3,58,29,0,1464,1462,1,0,0,0,1465,1468,1,0,0,0,1466, + 1464,1,0,0,0,1466,1467,1,0,0,0,1467,1470,1,0,0,0,1468,1466,1,0,0, + 0,1469,1461,1,0,0,0,1469,1470,1,0,0,0,1470,1471,1,0,0,0,1471,1499, + 5,2,0,0,1472,1473,5,55,0,0,1473,1482,5,1,0,0,1474,1479,3,58,29,0, + 1475,1476,5,3,0,0,1476,1478,3,58,29,0,1477,1475,1,0,0,0,1478,1481, + 1,0,0,0,1479,1477,1,0,0,0,1479,1480,1,0,0,0,1480,1483,1,0,0,0,1481, + 1479,1,0,0,0,1482,1474,1,0,0,0,1482,1483,1,0,0,0,1483,1484,1,0,0, + 0,1484,1499,5,2,0,0,1485,1486,5,115,0,0,1486,1487,5,252,0,0,1487, + 1488,5,1,0,0,1488,1493,3,58,29,0,1489,1490,5,3,0,0,1490,1492,3,58, + 29,0,1491,1489,1,0,0,0,1492,1495,1,0,0,0,1493,1491,1,0,0,0,1493, + 1494,1,0,0,0,1494,1496,1,0,0,0,1495,1493,1,0,0,0,1496,1497,5,2,0, + 0,1497,1499,1,0,0,0,1498,1458,1,0,0,0,1498,1459,1,0,0,0,1498,1472, + 1,0,0,0,1498,1485,1,0,0,0,1499,57,1,0,0,0,1500,1509,5,1,0,0,1501, + 1506,3,60,30,0,1502,1503,5,3,0,0,1503,1505,3,60,30,0,1504,1502,1, + 0,0,0,1505,1508,1,0,0,0,1506,1504,1,0,0,0,1506,1507,1,0,0,0,1507, + 1510,1,0,0,0,1508,1506,1,0,0,0,1509,1501,1,0,0,0,1509,1510,1,0,0, + 0,1510,1511,1,0,0,0,1511,1514,5,2,0,0,1512,1514,3,60,30,0,1513,1500, + 1,0,0,0,1513,1512,1,0,0,0,1514,59,1,0,0,0,1515,1518,3,276,138,0, + 1516,1518,3,136,68,0,1517,1515,1,0,0,0,1517,1516,1,0,0,0,1518,61, + 1,0,0,0,1519,1520,3,294,147,0,1520,1521,5,28,0,0,1521,1522,5,1,0, + 0,1522,1523,3,64,32,0,1523,1524,5,2,0,0,1524,63,1,0,0,0,1525,1527, + 3,294,147,0,1526,1525,1,0,0,0,1526,1527,1,0,0,0,1527,1538,1,0,0, + 0,1528,1529,5,201,0,0,1529,1530,5,36,0,0,1530,1535,3,136,68,0,1531, + 1532,5,3,0,0,1532,1534,3,136,68,0,1533,1531,1,0,0,0,1534,1537,1, + 0,0,0,1535,1533,1,0,0,0,1535,1536,1,0,0,0,1536,1539,1,0,0,0,1537, + 1535,1,0,0,0,1538,1528,1,0,0,0,1538,1539,1,0,0,0,1539,1550,1,0,0, + 0,1540,1541,5,195,0,0,1541,1542,5,36,0,0,1542,1547,3,50,25,0,1543, + 1544,5,3,0,0,1544,1546,3,50,25,0,1545,1543,1,0,0,0,1546,1549,1,0, + 0,0,1547,1545,1,0,0,0,1547,1548,1,0,0,0,1548,1551,1,0,0,0,1549,1547, + 1,0,0,0,1550,1540,1,0,0,0,1550,1551,1,0,0,0,1551,1553,1,0,0,0,1552, + 1554,3,198,99,0,1553,1552,1,0,0,0,1553,1554,1,0,0,0,1554,65,1,0, + 0,0,1555,1557,3,294,147,0,1556,1558,3,108,54,0,1557,1556,1,0,0,0, + 1557,1558,1,0,0,0,1558,1559,1,0,0,0,1559,1560,5,28,0,0,1560,1561, + 5,1,0,0,1561,1562,3,22,11,0,1562,1563,5,2,0,0,1563,67,1,0,0,0,1564, + 1565,7,10,0,0,1565,69,1,0,0,0,1566,1569,3,276,138,0,1567,1569,3, + 136,68,0,1568,1566,1,0,0,0,1568,1567,1,0,0,0,1569,1574,1,0,0,0,1570, + 1572,5,28,0,0,1571,1570,1,0,0,0,1571,1572,1,0,0,0,1572,1573,1,0, + 0,0,1573,1575,3,294,147,0,1574,1571,1,0,0,0,1574,1575,1,0,0,0,1575, + 1585,1,0,0,0,1576,1577,3,144,72,0,1577,1578,5,4,0,0,1578,1581,5, + 320,0,0,1579,1580,5,28,0,0,1580,1582,3,108,54,0,1581,1579,1,0,0, + 0,1581,1582,1,0,0,0,1582,1585,1,0,0,0,1583,1585,5,320,0,0,1584,1568, + 1,0,0,0,1584,1576,1,0,0,0,1584,1583,1,0,0,0,1585,71,1,0,0,0,1586, + 1587,6,36,-1,0,1587,1588,3,78,39,0,1588,1607,1,0,0,0,1589,1603,10, + 2,0,0,1590,1591,5,54,0,0,1591,1592,5,136,0,0,1592,1604,3,78,39,0, + 1593,1594,3,74,37,0,1594,1595,5,136,0,0,1595,1596,3,72,36,0,1596, + 1597,3,76,38,0,1597,1604,1,0,0,0,1598,1599,5,172,0,0,1599,1600,3, + 74,37,0,1600,1601,5,136,0,0,1601,1602,3,78,39,0,1602,1604,1,0,0, + 0,1603,1590,1,0,0,0,1603,1593,1,0,0,0,1603,1598,1,0,0,0,1604,1606, + 1,0,0,0,1605,1589,1,0,0,0,1606,1609,1,0,0,0,1607,1605,1,0,0,0,1607, + 1608,1,0,0,0,1608,73,1,0,0,0,1609,1607,1,0,0,0,1610,1612,5,125,0, + 0,1611,1610,1,0,0,0,1611,1612,1,0,0,0,1612,1626,1,0,0,0,1613,1615, + 5,152,0,0,1614,1616,5,197,0,0,1615,1614,1,0,0,0,1615,1616,1,0,0, + 0,1616,1626,1,0,0,0,1617,1619,5,234,0,0,1618,1620,5,197,0,0,1619, + 1618,1,0,0,0,1619,1620,1,0,0,0,1620,1626,1,0,0,0,1621,1623,5,106, + 0,0,1622,1624,5,197,0,0,1623,1622,1,0,0,0,1623,1624,1,0,0,0,1624, + 1626,1,0,0,0,1625,1611,1,0,0,0,1625,1613,1,0,0,0,1625,1617,1,0,0, + 0,1625,1621,1,0,0,0,1626,75,1,0,0,0,1627,1628,5,190,0,0,1628,1642, + 3,138,69,0,1629,1630,5,290,0,0,1630,1631,5,1,0,0,1631,1636,3,294, + 147,0,1632,1633,5,3,0,0,1633,1635,3,294,147,0,1634,1632,1,0,0,0, + 1635,1638,1,0,0,0,1636,1634,1,0,0,0,1636,1637,1,0,0,0,1637,1639, + 1,0,0,0,1638,1636,1,0,0,0,1639,1640,5,2,0,0,1640,1642,1,0,0,0,1641, + 1627,1,0,0,0,1641,1629,1,0,0,0,1642,77,1,0,0,0,1643,1650,3,88,44, + 0,1644,1645,5,262,0,0,1645,1646,3,80,40,0,1646,1647,5,1,0,0,1647, + 1648,3,136,68,0,1648,1649,5,2,0,0,1649,1651,1,0,0,0,1650,1644,1, + 0,0,0,1650,1651,1,0,0,0,1651,79,1,0,0,0,1652,1653,7,11,0,0,1653, + 81,1,0,0,0,1654,1655,7,12,0,0,1655,83,1,0,0,0,1656,1663,5,89,0,0, + 1657,1659,5,274,0,0,1658,1660,3,168,84,0,1659,1658,1,0,0,0,1659, + 1660,1,0,0,0,1660,1661,1,0,0,0,1661,1663,3,86,43,0,1662,1656,1,0, + 0,0,1662,1657,1,0,0,0,1663,85,1,0,0,0,1664,1665,5,304,0,0,1665,1669, + 5,51,0,0,1666,1667,5,306,0,0,1667,1669,5,51,0,0,1668,1664,1,0,0, + 0,1668,1666,1,0,0,0,1669,87,1,0,0,0,1670,1753,3,102,51,0,1671,1672, + 5,166,0,0,1672,1683,5,1,0,0,1673,1674,5,201,0,0,1674,1675,5,36,0, + 0,1675,1680,3,136,68,0,1676,1677,5,3,0,0,1677,1679,3,136,68,0,1678, + 1676,1,0,0,0,1679,1682,1,0,0,0,1680,1678,1,0,0,0,1680,1681,1,0,0, + 0,1681,1684,1,0,0,0,1682,1680,1,0,0,0,1683,1673,1,0,0,0,1683,1684, + 1,0,0,0,1684,1695,1,0,0,0,1685,1686,5,195,0,0,1686,1687,5,36,0,0, + 1687,1692,3,50,25,0,1688,1689,5,3,0,0,1689,1691,3,50,25,0,1690,1688, + 1,0,0,0,1691,1694,1,0,0,0,1692,1690,1,0,0,0,1692,1693,1,0,0,0,1693, + 1696,1,0,0,0,1694,1692,1,0,0,0,1695,1685,1,0,0,0,1695,1696,1,0,0, + 0,1696,1706,1,0,0,0,1697,1698,5,168,0,0,1698,1703,3,90,45,0,1699, + 1700,5,3,0,0,1700,1702,3,90,45,0,1701,1699,1,0,0,0,1702,1705,1,0, + 0,0,1703,1701,1,0,0,0,1703,1704,1,0,0,0,1704,1707,1,0,0,0,1705,1703, + 1,0,0,0,1706,1697,1,0,0,0,1706,1707,1,0,0,0,1707,1709,1,0,0,0,1708, + 1710,3,92,46,0,1709,1708,1,0,0,0,1709,1710,1,0,0,0,1710,1714,1,0, + 0,0,1711,1712,5,21,0,0,1712,1713,5,163,0,0,1713,1715,3,96,48,0,1714, + 1711,1,0,0,0,1714,1715,1,0,0,0,1715,1717,1,0,0,0,1716,1718,7,13, + 0,0,1717,1716,1,0,0,0,1717,1718,1,0,0,0,1718,1719,1,0,0,0,1719,1720, + 5,206,0,0,1720,1721,5,1,0,0,1721,1722,3,204,102,0,1722,1732,5,2, + 0,0,1723,1724,5,257,0,0,1724,1729,3,98,49,0,1725,1726,5,3,0,0,1726, + 1728,3,98,49,0,1727,1725,1,0,0,0,1728,1731,1,0,0,0,1729,1727,1,0, + 0,0,1729,1730,1,0,0,0,1730,1733,1,0,0,0,1731,1729,1,0,0,0,1732,1723, + 1,0,0,0,1732,1733,1,0,0,0,1733,1734,1,0,0,0,1734,1735,5,71,0,0,1735, + 1740,3,100,50,0,1736,1737,5,3,0,0,1737,1739,3,100,50,0,1738,1736, + 1,0,0,0,1739,1742,1,0,0,0,1740,1738,1,0,0,0,1740,1741,1,0,0,0,1741, + 1743,1,0,0,0,1742,1740,1,0,0,0,1743,1751,5,2,0,0,1744,1746,5,28, + 0,0,1745,1744,1,0,0,0,1745,1746,1,0,0,0,1746,1747,1,0,0,0,1747,1749, + 3,294,147,0,1748,1750,3,108,54,0,1749,1748,1,0,0,0,1749,1750,1,0, + 0,0,1750,1752,1,0,0,0,1751,1745,1,0,0,0,1751,1752,1,0,0,0,1752,1754, + 1,0,0,0,1753,1671,1,0,0,0,1753,1754,1,0,0,0,1754,89,1,0,0,0,1755, + 1756,3,136,68,0,1756,1757,5,28,0,0,1757,1758,3,294,147,0,1758,91, + 1,0,0,0,1759,1760,5,191,0,0,1760,1761,5,239,0,0,1761,1762,5,207, + 0,0,1762,1771,5,163,0,0,1763,1764,5,22,0,0,1764,1765,5,240,0,0,1765, + 1766,5,207,0,0,1766,1768,5,163,0,0,1767,1769,3,94,47,0,1768,1767, + 1,0,0,0,1768,1769,1,0,0,0,1769,1771,1,0,0,0,1770,1759,1,0,0,0,1770, + 1763,1,0,0,0,1771,93,1,0,0,0,1772,1773,5,253,0,0,1773,1774,5,85, + 0,0,1774,1782,5,165,0,0,1775,1776,5,189,0,0,1776,1777,5,85,0,0,1777, + 1782,5,165,0,0,1778,1779,5,304,0,0,1779,1780,5,284,0,0,1780,1782, + 5,240,0,0,1781,1772,1,0,0,0,1781,1775,1,0,0,0,1781,1778,1,0,0,0, + 1782,95,1,0,0,0,1783,1784,5,5,0,0,1784,1785,5,269,0,0,1785,1786, + 5,174,0,0,1786,1803,5,239,0,0,1787,1788,5,5,0,0,1788,1789,5,204, + 0,0,1789,1790,5,148,0,0,1790,1803,5,239,0,0,1791,1792,5,5,0,0,1792, + 1793,5,269,0,0,1793,1794,5,101,0,0,1794,1803,3,294,147,0,1795,1796, + 5,5,0,0,1796,1797,5,269,0,0,1797,1798,5,148,0,0,1798,1803,3,294, + 147,0,1799,1800,5,5,0,0,1800,1801,5,269,0,0,1801,1803,3,294,147, + 0,1802,1783,1,0,0,0,1802,1787,1,0,0,0,1802,1791,1,0,0,0,1802,1795, + 1,0,0,0,1802,1799,1,0,0,0,1803,97,1,0,0,0,1804,1805,3,294,147,0, + 1805,1806,5,312,0,0,1806,1807,5,1,0,0,1807,1812,3,294,147,0,1808, + 1809,5,3,0,0,1809,1811,3,294,147,0,1810,1808,1,0,0,0,1811,1814,1, + 0,0,0,1812,1810,1,0,0,0,1812,1813,1,0,0,0,1813,1815,1,0,0,0,1814, + 1812,1,0,0,0,1815,1816,5,2,0,0,1816,99,1,0,0,0,1817,1818,3,294,147, + 0,1818,1819,5,28,0,0,1819,1820,3,136,68,0,1820,101,1,0,0,0,1821, + 1829,3,110,55,0,1822,1824,5,28,0,0,1823,1822,1,0,0,0,1823,1824,1, + 0,0,0,1824,1825,1,0,0,0,1825,1827,3,294,147,0,1826,1828,3,108,54, + 0,1827,1826,1,0,0,0,1827,1828,1,0,0,0,1828,1830,1,0,0,0,1829,1823, + 1,0,0,0,1829,1830,1,0,0,0,1830,103,1,0,0,0,1831,1832,5,1,0,0,1832, + 1837,3,278,139,0,1833,1834,5,3,0,0,1834,1836,3,278,139,0,1835,1833, + 1,0,0,0,1836,1839,1,0,0,0,1837,1835,1,0,0,0,1837,1838,1,0,0,0,1838, + 1840,1,0,0,0,1839,1837,1,0,0,0,1840,1841,5,2,0,0,1841,105,1,0,0, + 0,1842,1843,5,1,0,0,1843,1848,3,276,138,0,1844,1845,5,3,0,0,1845, + 1847,3,276,138,0,1846,1844,1,0,0,0,1847,1850,1,0,0,0,1848,1846,1, + 0,0,0,1848,1849,1,0,0,0,1849,1851,1,0,0,0,1850,1848,1,0,0,0,1851, + 1852,5,2,0,0,1852,107,1,0,0,0,1853,1854,5,1,0,0,1854,1859,3,294, + 147,0,1855,1856,5,3,0,0,1856,1858,3,294,147,0,1857,1855,1,0,0,0, + 1858,1861,1,0,0,0,1859,1857,1,0,0,0,1859,1860,1,0,0,0,1860,1862, + 1,0,0,0,1861,1859,1,0,0,0,1862,1863,5,2,0,0,1863,109,1,0,0,0,1864, + 1866,3,254,127,0,1865,1867,3,282,141,0,1866,1865,1,0,0,0,1866,1867, + 1,0,0,0,1867,1936,1,0,0,0,1868,1869,5,1,0,0,1869,1870,3,22,11,0, + 1870,1871,5,2,0,0,1871,1936,1,0,0,0,1872,1873,5,285,0,0,1873,1874, + 5,1,0,0,1874,1879,3,136,68,0,1875,1876,5,3,0,0,1876,1878,3,136,68, + 0,1877,1875,1,0,0,0,1878,1881,1,0,0,0,1879,1877,1,0,0,0,1879,1880, + 1,0,0,0,1880,1882,1,0,0,0,1881,1879,1,0,0,0,1882,1885,5,2,0,0,1883, + 1884,5,304,0,0,1884,1886,5,196,0,0,1885,1883,1,0,0,0,1885,1886,1, + 0,0,0,1886,1936,1,0,0,0,1887,1888,5,149,0,0,1888,1889,5,1,0,0,1889, + 1890,3,22,11,0,1890,1891,5,2,0,0,1891,1936,1,0,0,0,1892,1893,5,260, + 0,0,1893,1894,5,1,0,0,1894,1895,3,122,61,0,1895,1896,5,2,0,0,1896, + 1936,1,0,0,0,1897,1898,5,1,0,0,1898,1899,3,72,36,0,1899,1900,5,2, + 0,0,1900,1936,1,0,0,0,1901,1902,5,142,0,0,1902,1903,5,1,0,0,1903, + 1904,3,146,73,0,1904,1905,5,45,0,0,1905,1906,5,1,0,0,1906,1911,3, + 112,56,0,1907,1908,5,3,0,0,1908,1910,3,112,56,0,1909,1907,1,0,0, + 0,1910,1913,1,0,0,0,1911,1909,1,0,0,0,1911,1912,1,0,0,0,1912,1914, + 1,0,0,0,1913,1911,1,0,0,0,1914,1926,5,2,0,0,1915,1916,5,210,0,0, + 1916,1917,5,1,0,0,1917,1918,3,114,57,0,1918,1919,5,2,0,0,1919,1927, + 1,0,0,0,1920,1921,5,210,0,0,1921,1922,5,70,0,0,1922,1923,5,1,0,0, + 1923,1924,3,120,60,0,1924,1925,5,2,0,0,1925,1927,1,0,0,0,1926,1915, + 1,0,0,0,1926,1920,1,0,0,0,1926,1927,1,0,0,0,1927,1931,1,0,0,0,1928, + 1929,7,14,0,0,1929,1930,5,190,0,0,1930,1932,5,89,0,0,1931,1928,1, + 0,0,0,1931,1932,1,0,0,0,1932,1933,1,0,0,0,1933,1934,5,2,0,0,1934, + 1936,1,0,0,0,1935,1864,1,0,0,0,1935,1868,1,0,0,0,1935,1872,1,0,0, + 0,1935,1887,1,0,0,0,1935,1892,1,0,0,0,1935,1897,1,0,0,0,1935,1901, + 1,0,0,0,1936,111,1,0,0,0,1937,1938,3,294,147,0,1938,1939,5,103,0, + 0,1939,1940,5,196,0,0,1940,2015,1,0,0,0,1941,1942,3,294,147,0,1942, + 1945,3,184,92,0,1943,1944,5,205,0,0,1944,1946,3,168,84,0,1945,1943, + 1,0,0,0,1945,1946,1,0,0,0,1946,1951,1,0,0,0,1947,1948,3,156,78,0, + 1948,1949,5,190,0,0,1949,1950,5,85,0,0,1950,1952,1,0,0,0,1951,1947, + 1,0,0,0,1951,1952,1,0,0,0,1952,1957,1,0,0,0,1953,1954,3,156,78,0, + 1954,1955,5,190,0,0,1955,1956,5,89,0,0,1956,1958,1,0,0,0,1957,1953, + 1,0,0,0,1957,1958,1,0,0,0,1958,2015,1,0,0,0,1959,1960,3,294,147, + 0,1960,1961,3,184,92,0,1961,1962,5,104,0,0,1962,1965,3,150,75,0, + 1963,1964,5,205,0,0,1964,1966,3,168,84,0,1965,1963,1,0,0,0,1965, + 1966,1,0,0,0,1966,1970,1,0,0,0,1967,1968,3,158,79,0,1968,1969,5, + 308,0,0,1969,1971,1,0,0,0,1970,1967,1,0,0,0,1970,1971,1,0,0,0,1971, + 1979,1,0,0,0,1972,1973,7,15,0,0,1973,1977,5,218,0,0,1974,1975,5, + 190,0,0,1975,1976,5,242,0,0,1976,1978,5,264,0,0,1977,1974,1,0,0, + 0,1977,1978,1,0,0,0,1978,1980,1,0,0,0,1979,1972,1,0,0,0,1979,1980, + 1,0,0,0,1980,1985,1,0,0,0,1981,1982,3,160,80,0,1982,1983,5,190,0, + 0,1983,1984,5,85,0,0,1984,1986,1,0,0,0,1985,1981,1,0,0,0,1985,1986, + 1,0,0,0,1986,1991,1,0,0,0,1987,1988,3,160,80,0,1988,1989,5,190,0, + 0,1989,1990,5,89,0,0,1990,1992,1,0,0,0,1991,1987,1,0,0,0,1991,1992, + 1,0,0,0,1992,2015,1,0,0,0,1993,1995,5,173,0,0,1994,1996,5,205,0, + 0,1995,1994,1,0,0,0,1995,1996,1,0,0,0,1996,1997,1,0,0,0,1997,2000, + 3,168,84,0,1998,1999,5,28,0,0,1999,2001,3,294,147,0,2000,1998,1, + 0,0,0,2000,2001,1,0,0,0,2001,2002,1,0,0,0,2002,2003,5,45,0,0,2003, + 2004,5,1,0,0,2004,2009,3,112,56,0,2005,2006,5,3,0,0,2006,2008,3, + 112,56,0,2007,2005,1,0,0,0,2008,2011,1,0,0,0,2009,2007,1,0,0,0,2009, + 2010,1,0,0,0,2010,2012,1,0,0,0,2011,2009,1,0,0,0,2012,2013,5,2,0, + 0,2013,2015,1,0,0,0,2014,1937,1,0,0,0,2014,1941,1,0,0,0,2014,1959, + 1,0,0,0,2014,1993,1,0,0,0,2015,113,1,0,0,0,2016,2042,3,116,58,0, + 2017,2018,3,116,58,0,2018,2019,7,16,0,0,2019,2020,3,118,59,0,2020, + 2042,1,0,0,0,2021,2022,3,118,59,0,2022,2023,5,281,0,0,2023,2028, + 3,118,59,0,2024,2025,5,281,0,0,2025,2027,3,118,59,0,2026,2024,1, + 0,0,0,2027,2030,1,0,0,0,2028,2026,1,0,0,0,2028,2029,1,0,0,0,2029, + 2042,1,0,0,0,2030,2028,1,0,0,0,2031,2032,3,118,59,0,2032,2033,5, + 54,0,0,2033,2038,3,118,59,0,2034,2035,5,54,0,0,2035,2037,3,118,59, + 0,2036,2034,1,0,0,0,2037,2040,1,0,0,0,2038,2036,1,0,0,0,2038,2039, + 1,0,0,0,2039,2042,1,0,0,0,2040,2038,1,0,0,0,2041,2016,1,0,0,0,2041, + 2017,1,0,0,0,2041,2021,1,0,0,0,2041,2031,1,0,0,0,2042,115,1,0,0, + 0,2043,2044,3,294,147,0,2044,117,1,0,0,0,2045,2051,3,116,58,0,2046, + 2047,5,1,0,0,2047,2048,3,114,57,0,2048,2049,5,2,0,0,2049,2051,1, + 0,0,0,2050,2045,1,0,0,0,2050,2046,1,0,0,0,2051,119,1,0,0,0,2052, + 2055,7,16,0,0,2053,2054,5,3,0,0,2054,2056,7,17,0,0,2055,2053,1,0, + 0,0,2055,2056,1,0,0,0,2056,2063,1,0,0,0,2057,2060,7,17,0,0,2058, + 2059,5,3,0,0,2059,2061,7,16,0,0,2060,2058,1,0,0,0,2060,2061,1,0, + 0,0,2061,2063,1,0,0,0,2062,2052,1,0,0,0,2062,2057,1,0,0,0,2063,121, + 1,0,0,0,2064,2065,3,272,136,0,2065,2074,5,1,0,0,2066,2071,3,124, + 62,0,2067,2068,5,3,0,0,2068,2070,3,124,62,0,2069,2067,1,0,0,0,2070, + 2073,1,0,0,0,2071,2069,1,0,0,0,2071,2072,1,0,0,0,2072,2075,1,0,0, + 0,2073,2071,1,0,0,0,2074,2066,1,0,0,0,2074,2075,1,0,0,0,2075,2085, + 1,0,0,0,2076,2077,5,52,0,0,2077,2082,3,134,67,0,2078,2079,5,3,0, + 0,2079,2081,3,134,67,0,2080,2078,1,0,0,0,2081,2084,1,0,0,0,2082, + 2080,1,0,0,0,2082,2083,1,0,0,0,2083,2086,1,0,0,0,2084,2082,1,0,0, + 0,2085,2076,1,0,0,0,2085,2086,1,0,0,0,2086,2087,1,0,0,0,2087,2088, + 5,2,0,0,2088,123,1,0,0,0,2089,2090,3,294,147,0,2090,2091,5,6,0,0, + 2091,2093,1,0,0,0,2092,2089,1,0,0,0,2092,2093,1,0,0,0,2093,2097, + 1,0,0,0,2094,2098,3,126,63,0,2095,2098,3,130,65,0,2096,2098,3,136, + 68,0,2097,2094,1,0,0,0,2097,2095,1,0,0,0,2097,2096,1,0,0,0,2098, + 125,1,0,0,0,2099,2117,3,128,64,0,2100,2101,5,201,0,0,2101,2115,5, + 36,0,0,2102,2111,5,1,0,0,2103,2108,3,136,68,0,2104,2105,5,3,0,0, + 2105,2107,3,136,68,0,2106,2104,1,0,0,0,2107,2110,1,0,0,0,2108,2106, + 1,0,0,0,2108,2109,1,0,0,0,2109,2112,1,0,0,0,2110,2108,1,0,0,0,2111, + 2103,1,0,0,0,2111,2112,1,0,0,0,2112,2113,1,0,0,0,2113,2116,5,2,0, + 0,2114,2116,3,136,68,0,2115,2102,1,0,0,0,2115,2114,1,0,0,0,2116, + 2118,1,0,0,0,2117,2100,1,0,0,0,2117,2118,1,0,0,0,2118,2125,1,0,0, + 0,2119,2120,5,217,0,0,2120,2121,5,300,0,0,2121,2126,5,85,0,0,2122, + 2123,5,144,0,0,2123,2124,5,300,0,0,2124,2126,5,85,0,0,2125,2119, + 1,0,0,0,2125,2122,1,0,0,0,2125,2126,1,0,0,0,2126,2143,1,0,0,0,2127, + 2128,5,195,0,0,2128,2141,5,36,0,0,2129,2130,5,1,0,0,2130,2135,3, + 50,25,0,2131,2132,5,3,0,0,2132,2134,3,50,25,0,2133,2131,1,0,0,0, + 2134,2137,1,0,0,0,2135,2133,1,0,0,0,2135,2136,1,0,0,0,2136,2138, + 1,0,0,0,2137,2135,1,0,0,0,2138,2139,5,2,0,0,2139,2142,1,0,0,0,2140, + 2142,3,50,25,0,2141,2129,1,0,0,0,2141,2140,1,0,0,0,2142,2144,1,0, + 0,0,2143,2127,1,0,0,0,2143,2144,1,0,0,0,2144,127,1,0,0,0,2145,2146, + 5,260,0,0,2146,2147,5,1,0,0,2147,2148,3,256,128,0,2148,2156,5,2, + 0,0,2149,2151,5,28,0,0,2150,2149,1,0,0,0,2150,2151,1,0,0,0,2151, + 2152,1,0,0,0,2152,2154,3,294,147,0,2153,2155,3,108,54,0,2154,2153, + 1,0,0,0,2154,2155,1,0,0,0,2155,2157,1,0,0,0,2156,2150,1,0,0,0,2156, + 2157,1,0,0,0,2157,2172,1,0,0,0,2158,2159,5,260,0,0,2159,2160,5,1, + 0,0,2160,2161,3,22,11,0,2161,2169,5,2,0,0,2162,2164,5,28,0,0,2163, + 2162,1,0,0,0,2163,2164,1,0,0,0,2164,2165,1,0,0,0,2165,2167,3,294, + 147,0,2166,2168,3,108,54,0,2167,2166,1,0,0,0,2167,2168,1,0,0,0,2168, + 2170,1,0,0,0,2169,2163,1,0,0,0,2169,2170,1,0,0,0,2170,2172,1,0,0, + 0,2171,2145,1,0,0,0,2171,2158,1,0,0,0,2172,129,1,0,0,0,2173,2174, + 5,77,0,0,2174,2175,5,1,0,0,2175,2180,3,132,66,0,2176,2177,5,3,0, + 0,2177,2179,3,132,66,0,2178,2176,1,0,0,0,2179,2182,1,0,0,0,2180, + 2178,1,0,0,0,2180,2181,1,0,0,0,2181,2183,1,0,0,0,2182,2180,1,0,0, + 0,2183,2184,5,2,0,0,2184,2192,1,0,0,0,2185,2186,5,41,0,0,2186,2187, + 5,1,0,0,2187,2188,5,183,0,0,2188,2189,5,28,0,0,2189,2190,5,77,0, + 0,2190,2192,5,2,0,0,2191,2173,1,0,0,0,2191,2185,1,0,0,0,2192,131, + 1,0,0,0,2193,2195,3,294,147,0,2194,2196,3,184,92,0,2195,2194,1,0, + 0,0,2195,2196,1,0,0,0,2196,133,1,0,0,0,2197,2198,5,1,0,0,2198,2199, + 3,280,140,0,2199,2200,5,3,0,0,2200,2205,3,280,140,0,2201,2202,5, + 3,0,0,2202,2204,3,280,140,0,2203,2201,1,0,0,0,2204,2207,1,0,0,0, + 2205,2203,1,0,0,0,2205,2206,1,0,0,0,2206,2208,1,0,0,0,2207,2205, + 1,0,0,0,2208,2209,5,2,0,0,2209,135,1,0,0,0,2210,2211,3,138,69,0, + 2211,137,1,0,0,0,2212,2213,6,69,-1,0,2213,2215,3,142,71,0,2214,2216, + 3,140,70,0,2215,2214,1,0,0,0,2215,2216,1,0,0,0,2216,2220,1,0,0,0, + 2217,2218,5,182,0,0,2218,2220,3,138,69,3,2219,2212,1,0,0,0,2219, + 2217,1,0,0,0,2220,2229,1,0,0,0,2221,2222,10,2,0,0,2222,2223,5,25, + 0,0,2223,2228,3,138,69,3,2224,2225,10,1,0,0,2225,2226,5,194,0,0, + 2226,2228,3,138,69,2,2227,2221,1,0,0,0,2227,2224,1,0,0,0,2228,2231, + 1,0,0,0,2229,2227,1,0,0,0,2229,2230,1,0,0,0,2230,139,1,0,0,0,2231, + 2229,1,0,0,0,2232,2233,3,172,86,0,2233,2234,3,142,71,0,2234,2294, + 1,0,0,0,2235,2236,3,172,86,0,2236,2237,3,174,87,0,2237,2238,5,1, + 0,0,2238,2239,3,22,11,0,2239,2240,5,2,0,0,2240,2294,1,0,0,0,2241, + 2243,5,182,0,0,2242,2241,1,0,0,0,2242,2243,1,0,0,0,2243,2244,1,0, + 0,0,2244,2245,5,34,0,0,2245,2246,3,142,71,0,2246,2247,5,25,0,0,2247, + 2248,3,142,71,0,2248,2294,1,0,0,0,2249,2251,5,182,0,0,2250,2249, + 1,0,0,0,2250,2251,1,0,0,0,2251,2252,1,0,0,0,2252,2253,5,122,0,0, + 2253,2254,5,1,0,0,2254,2259,3,136,68,0,2255,2256,5,3,0,0,2256,2258, + 3,136,68,0,2257,2255,1,0,0,0,2258,2261,1,0,0,0,2259,2257,1,0,0,0, + 2259,2260,1,0,0,0,2260,2262,1,0,0,0,2261,2259,1,0,0,0,2262,2263, + 5,2,0,0,2263,2294,1,0,0,0,2264,2266,5,182,0,0,2265,2264,1,0,0,0, + 2265,2266,1,0,0,0,2266,2267,1,0,0,0,2267,2268,5,122,0,0,2268,2269, + 5,1,0,0,2269,2270,3,22,11,0,2270,2271,5,2,0,0,2271,2294,1,0,0,0, + 2272,2274,5,182,0,0,2273,2272,1,0,0,0,2273,2274,1,0,0,0,2274,2275, + 1,0,0,0,2275,2276,5,154,0,0,2276,2279,3,142,71,0,2277,2278,5,90, + 0,0,2278,2280,3,142,71,0,2279,2277,1,0,0,0,2279,2280,1,0,0,0,2280, + 2294,1,0,0,0,2281,2283,5,133,0,0,2282,2284,5,182,0,0,2283,2282,1, + 0,0,0,2283,2284,1,0,0,0,2284,2285,1,0,0,0,2285,2294,5,183,0,0,2286, + 2288,5,133,0,0,2287,2289,5,182,0,0,2288,2287,1,0,0,0,2288,2289,1, + 0,0,0,2289,2290,1,0,0,0,2290,2291,5,79,0,0,2291,2292,5,105,0,0,2292, + 2294,3,142,71,0,2293,2232,1,0,0,0,2293,2235,1,0,0,0,2293,2242,1, + 0,0,0,2293,2250,1,0,0,0,2293,2265,1,0,0,0,2293,2273,1,0,0,0,2293, + 2281,1,0,0,0,2293,2286,1,0,0,0,2294,141,1,0,0,0,2295,2296,6,71,-1, + 0,2296,2300,3,144,72,0,2297,2298,7,18,0,0,2298,2300,3,142,71,4,2299, + 2295,1,0,0,0,2299,2297,1,0,0,0,2300,2315,1,0,0,0,2301,2302,10,3, + 0,0,2302,2303,7,19,0,0,2303,2314,3,142,71,4,2304,2305,10,2,0,0,2305, + 2306,7,18,0,0,2306,2314,3,142,71,3,2307,2308,10,1,0,0,2308,2309, + 5,323,0,0,2309,2314,3,142,71,2,2310,2311,10,5,0,0,2311,2312,5,30, + 0,0,2312,2314,3,170,85,0,2313,2301,1,0,0,0,2313,2304,1,0,0,0,2313, + 2307,1,0,0,0,2313,2310,1,0,0,0,2314,2317,1,0,0,0,2315,2313,1,0,0, + 0,2315,2316,1,0,0,0,2316,143,1,0,0,0,2317,2315,1,0,0,0,2318,2319, + 6,72,-1,0,2319,2772,5,183,0,0,2320,2772,3,178,89,0,2321,2322,3,294, + 147,0,2322,2323,3,168,84,0,2323,2772,1,0,0,0,2324,2325,5,82,0,0, + 2325,2326,5,213,0,0,2326,2772,3,168,84,0,2327,2772,3,296,148,0,2328, + 2772,3,176,88,0,2329,2772,3,168,84,0,2330,2772,5,328,0,0,2331,2772, + 5,324,0,0,2332,2333,5,211,0,0,2333,2334,5,1,0,0,2334,2335,3,142, + 71,0,2335,2336,5,122,0,0,2336,2337,3,142,71,0,2337,2338,5,2,0,0, + 2338,2772,1,0,0,0,2339,2340,5,1,0,0,2340,2343,3,136,68,0,2341,2342, + 5,3,0,0,2342,2344,3,136,68,0,2343,2341,1,0,0,0,2344,2345,1,0,0,0, + 2345,2343,1,0,0,0,2345,2346,1,0,0,0,2346,2347,1,0,0,0,2347,2348, + 5,2,0,0,2348,2772,1,0,0,0,2349,2350,5,239,0,0,2350,2351,5,1,0,0, + 2351,2356,3,136,68,0,2352,2353,5,3,0,0,2353,2355,3,136,68,0,2354, + 2352,1,0,0,0,2355,2358,1,0,0,0,2356,2354,1,0,0,0,2356,2357,1,0,0, + 0,2357,2359,1,0,0,0,2358,2356,1,0,0,0,2359,2360,5,2,0,0,2360,2772, + 1,0,0,0,2361,2362,5,156,0,0,2362,2364,5,1,0,0,2363,2365,3,68,34, + 0,2364,2363,1,0,0,0,2364,2365,1,0,0,0,2365,2366,1,0,0,0,2366,2369, + 3,136,68,0,2367,2368,5,3,0,0,2368,2370,3,168,84,0,2369,2367,1,0, + 0,0,2369,2370,1,0,0,0,2370,2374,1,0,0,0,2371,2372,5,190,0,0,2372, + 2373,5,200,0,0,2373,2375,3,84,42,0,2374,2371,1,0,0,0,2374,2375,1, + 0,0,0,2375,2376,1,0,0,0,2376,2377,5,2,0,0,2377,2378,5,305,0,0,2378, + 2379,5,114,0,0,2379,2380,5,1,0,0,2380,2381,5,195,0,0,2381,2382,5, + 36,0,0,2382,2387,3,50,25,0,2383,2384,5,3,0,0,2384,2386,3,50,25,0, + 2385,2383,1,0,0,0,2386,2389,1,0,0,0,2387,2385,1,0,0,0,2387,2388, + 1,0,0,0,2388,2390,1,0,0,0,2389,2387,1,0,0,0,2390,2391,5,2,0,0,2391, + 2393,1,0,0,0,2392,2394,3,192,96,0,2393,2392,1,0,0,0,2393,2394,1, + 0,0,0,2394,2772,1,0,0,0,2395,2397,3,164,82,0,2396,2395,1,0,0,0,2396, + 2397,1,0,0,0,2397,2398,1,0,0,0,2398,2399,3,272,136,0,2399,2403,5, + 1,0,0,2400,2401,3,294,147,0,2401,2402,5,4,0,0,2402,2404,1,0,0,0, + 2403,2400,1,0,0,0,2403,2404,1,0,0,0,2404,2405,1,0,0,0,2405,2406, + 5,320,0,0,2406,2408,5,2,0,0,2407,2409,3,192,96,0,2408,2407,1,0,0, + 0,2408,2409,1,0,0,0,2409,2411,1,0,0,0,2410,2412,3,196,98,0,2411, + 2410,1,0,0,0,2411,2412,1,0,0,0,2412,2772,1,0,0,0,2413,2415,3,164, + 82,0,2414,2413,1,0,0,0,2414,2415,1,0,0,0,2415,2416,1,0,0,0,2416, + 2417,3,272,136,0,2417,2429,5,1,0,0,2418,2420,3,68,34,0,2419,2418, + 1,0,0,0,2419,2420,1,0,0,0,2420,2421,1,0,0,0,2421,2426,3,136,68,0, + 2422,2423,5,3,0,0,2423,2425,3,136,68,0,2424,2422,1,0,0,0,2425,2428, + 1,0,0,0,2426,2424,1,0,0,0,2426,2427,1,0,0,0,2427,2430,1,0,0,0,2428, + 2426,1,0,0,0,2429,2419,1,0,0,0,2429,2430,1,0,0,0,2430,2441,1,0,0, + 0,2431,2432,5,195,0,0,2432,2433,5,36,0,0,2433,2438,3,50,25,0,2434, + 2435,5,3,0,0,2435,2437,3,50,25,0,2436,2434,1,0,0,0,2437,2440,1,0, + 0,0,2438,2436,1,0,0,0,2438,2439,1,0,0,0,2439,2442,1,0,0,0,2440,2438, + 1,0,0,0,2441,2431,1,0,0,0,2441,2442,1,0,0,0,2442,2443,1,0,0,0,2443, + 2445,5,2,0,0,2444,2446,3,192,96,0,2445,2444,1,0,0,0,2445,2446,1, + 0,0,0,2446,2451,1,0,0,0,2447,2449,3,166,83,0,2448,2447,1,0,0,0,2448, + 2449,1,0,0,0,2449,2450,1,0,0,0,2450,2452,3,196,98,0,2451,2448,1, + 0,0,0,2451,2452,1,0,0,0,2452,2772,1,0,0,0,2453,2454,3,294,147,0, + 2454,2455,3,196,98,0,2455,2772,1,0,0,0,2456,2457,3,294,147,0,2457, + 2458,5,7,0,0,2458,2459,3,136,68,0,2459,2772,1,0,0,0,2460,2469,5, + 1,0,0,2461,2466,3,294,147,0,2462,2463,5,3,0,0,2463,2465,3,294,147, + 0,2464,2462,1,0,0,0,2465,2468,1,0,0,0,2466,2464,1,0,0,0,2466,2467, + 1,0,0,0,2467,2470,1,0,0,0,2468,2466,1,0,0,0,2469,2461,1,0,0,0,2469, + 2470,1,0,0,0,2470,2471,1,0,0,0,2471,2472,5,2,0,0,2472,2473,5,7,0, + 0,2473,2772,3,136,68,0,2474,2475,5,1,0,0,2475,2476,3,22,11,0,2476, + 2477,5,2,0,0,2477,2772,1,0,0,0,2478,2479,5,94,0,0,2479,2480,5,1, + 0,0,2480,2481,3,22,11,0,2481,2482,5,2,0,0,2482,2772,1,0,0,0,2483, + 2484,5,40,0,0,2484,2486,3,136,68,0,2485,2487,3,190,95,0,2486,2485, + 1,0,0,0,2487,2488,1,0,0,0,2488,2486,1,0,0,0,2488,2489,1,0,0,0,2489, + 2492,1,0,0,0,2490,2491,5,84,0,0,2491,2493,3,136,68,0,2492,2490,1, + 0,0,0,2492,2493,1,0,0,0,2493,2494,1,0,0,0,2494,2495,5,88,0,0,2495, + 2772,1,0,0,0,2496,2498,5,40,0,0,2497,2499,3,190,95,0,2498,2497,1, + 0,0,0,2499,2500,1,0,0,0,2500,2498,1,0,0,0,2500,2501,1,0,0,0,2501, + 2504,1,0,0,0,2502,2503,5,84,0,0,2503,2505,3,136,68,0,2504,2502,1, + 0,0,0,2504,2505,1,0,0,0,2505,2506,1,0,0,0,2506,2507,5,88,0,0,2507, + 2772,1,0,0,0,2508,2509,5,41,0,0,2509,2510,5,1,0,0,2510,2511,3,136, + 68,0,2511,2512,5,28,0,0,2512,2513,3,184,92,0,2513,2514,5,2,0,0,2514, + 2772,1,0,0,0,2515,2516,5,275,0,0,2516,2517,5,1,0,0,2517,2518,3,136, + 68,0,2518,2519,5,28,0,0,2519,2520,3,184,92,0,2520,2521,5,2,0,0,2521, + 2772,1,0,0,0,2522,2523,5,27,0,0,2523,2532,5,8,0,0,2524,2529,3,136, + 68,0,2525,2526,5,3,0,0,2526,2528,3,136,68,0,2527,2525,1,0,0,0,2528, + 2531,1,0,0,0,2529,2527,1,0,0,0,2529,2530,1,0,0,0,2530,2533,1,0,0, + 0,2531,2529,1,0,0,0,2532,2524,1,0,0,0,2532,2533,1,0,0,0,2533,2534, + 1,0,0,0,2534,2772,5,9,0,0,2535,2772,3,294,147,0,2536,2772,5,58,0, + 0,2537,2541,5,62,0,0,2538,2539,5,1,0,0,2539,2540,5,329,0,0,2540, + 2542,5,2,0,0,2541,2538,1,0,0,0,2541,2542,1,0,0,0,2542,2772,1,0,0, + 0,2543,2547,5,63,0,0,2544,2545,5,1,0,0,2545,2546,5,329,0,0,2546, + 2548,5,2,0,0,2547,2544,1,0,0,0,2547,2548,1,0,0,0,2548,2772,1,0,0, + 0,2549,2553,5,158,0,0,2550,2551,5,1,0,0,2551,2552,5,329,0,0,2552, + 2554,5,2,0,0,2553,2550,1,0,0,0,2553,2554,1,0,0,0,2554,2772,1,0,0, + 0,2555,2559,5,159,0,0,2556,2557,5,1,0,0,2557,2558,5,329,0,0,2558, + 2560,5,2,0,0,2559,2556,1,0,0,0,2559,2560,1,0,0,0,2560,2772,1,0,0, + 0,2561,2772,5,64,0,0,2562,2772,5,57,0,0,2563,2772,5,61,0,0,2564, + 2772,5,59,0,0,2565,2566,5,272,0,0,2566,2574,5,1,0,0,2567,2569,3, + 82,41,0,2568,2567,1,0,0,0,2568,2569,1,0,0,0,2569,2571,1,0,0,0,2570, + 2572,3,142,71,0,2571,2570,1,0,0,0,2571,2572,1,0,0,0,2572,2573,1, + 0,0,0,2573,2575,5,105,0,0,2574,2568,1,0,0,0,2574,2575,1,0,0,0,2575, + 2576,1,0,0,0,2576,2577,3,142,71,0,2577,2578,5,2,0,0,2578,2772,1, + 0,0,0,2579,2580,5,272,0,0,2580,2581,5,1,0,0,2581,2582,3,142,71,0, + 2582,2583,5,3,0,0,2583,2584,3,142,71,0,2584,2585,5,2,0,0,2585,2772, + 1,0,0,0,2586,2587,5,258,0,0,2587,2588,5,1,0,0,2588,2589,3,142,71, + 0,2589,2590,5,105,0,0,2590,2593,3,142,71,0,2591,2592,5,103,0,0,2592, + 2594,3,142,71,0,2593,2591,1,0,0,0,2593,2594,1,0,0,0,2594,2595,1, + 0,0,0,2595,2596,5,2,0,0,2596,2772,1,0,0,0,2597,2598,5,181,0,0,2598, + 2599,5,1,0,0,2599,2602,3,142,71,0,2600,2601,5,3,0,0,2601,2603,3, + 182,91,0,2602,2600,1,0,0,0,2602,2603,1,0,0,0,2603,2604,1,0,0,0,2604, + 2605,5,2,0,0,2605,2772,1,0,0,0,2606,2607,5,96,0,0,2607,2608,5,1, + 0,0,2608,2609,3,294,147,0,2609,2610,5,105,0,0,2610,2611,3,142,71, + 0,2611,2612,5,2,0,0,2612,2772,1,0,0,0,2613,2614,5,1,0,0,2614,2615, + 3,136,68,0,2615,2616,5,2,0,0,2616,2772,1,0,0,0,2617,2618,5,115,0, + 0,2618,2627,5,1,0,0,2619,2624,3,280,140,0,2620,2621,5,3,0,0,2621, + 2623,3,280,140,0,2622,2620,1,0,0,0,2623,2626,1,0,0,0,2624,2622,1, + 0,0,0,2624,2625,1,0,0,0,2625,2628,1,0,0,0,2626,2624,1,0,0,0,2627, + 2619,1,0,0,0,2627,2628,1,0,0,0,2628,2629,1,0,0,0,2629,2772,5,2,0, + 0,2630,2631,5,139,0,0,2631,2632,5,1,0,0,2632,2637,3,146,73,0,2633, + 2634,3,154,77,0,2634,2635,5,190,0,0,2635,2636,5,89,0,0,2636,2638, + 1,0,0,0,2637,2633,1,0,0,0,2637,2638,1,0,0,0,2638,2639,1,0,0,0,2639, + 2640,5,2,0,0,2640,2772,1,0,0,0,2641,2642,5,143,0,0,2642,2643,5,1, + 0,0,2643,2646,3,146,73,0,2644,2645,5,231,0,0,2645,2647,3,184,92, + 0,2646,2644,1,0,0,0,2646,2647,1,0,0,0,2647,2652,1,0,0,0,2648,2649, + 3,156,78,0,2649,2650,5,190,0,0,2650,2651,5,85,0,0,2651,2653,1,0, + 0,0,2652,2648,1,0,0,0,2652,2653,1,0,0,0,2653,2658,1,0,0,0,2654,2655, + 3,156,78,0,2655,2656,5,190,0,0,2656,2657,5,89,0,0,2657,2659,1,0, + 0,0,2658,2654,1,0,0,0,2658,2659,1,0,0,0,2659,2660,1,0,0,0,2660,2661, + 5,2,0,0,2661,2772,1,0,0,0,2662,2663,5,141,0,0,2663,2664,5,1,0,0, + 2664,2671,3,146,73,0,2665,2666,5,231,0,0,2666,2669,3,184,92,0,2667, + 2668,5,104,0,0,2668,2670,3,150,75,0,2669,2667,1,0,0,0,2669,2670, + 1,0,0,0,2670,2672,1,0,0,0,2671,2665,1,0,0,0,2671,2672,1,0,0,0,2672, + 2676,1,0,0,0,2673,2674,3,158,79,0,2674,2675,5,308,0,0,2675,2677, + 1,0,0,0,2676,2673,1,0,0,0,2676,2677,1,0,0,0,2677,2685,1,0,0,0,2678, + 2679,7,15,0,0,2679,2683,5,218,0,0,2680,2681,5,190,0,0,2681,2682, + 5,242,0,0,2682,2684,5,264,0,0,2683,2680,1,0,0,0,2683,2684,1,0,0, + 0,2684,2686,1,0,0,0,2685,2678,1,0,0,0,2685,2686,1,0,0,0,2686,2691, + 1,0,0,0,2687,2688,3,160,80,0,2688,2689,5,190,0,0,2689,2690,5,85, + 0,0,2690,2692,1,0,0,0,2691,2687,1,0,0,0,2691,2692,1,0,0,0,2692,2697, + 1,0,0,0,2693,2694,3,160,80,0,2694,2695,5,190,0,0,2695,2696,5,89, + 0,0,2696,2698,1,0,0,0,2697,2693,1,0,0,0,2697,2698,1,0,0,0,2698,2699, + 1,0,0,0,2699,2700,5,2,0,0,2700,2772,1,0,0,0,2701,2702,5,140,0,0, + 2702,2731,5,1,0,0,2703,2708,3,162,81,0,2704,2705,5,3,0,0,2705,2707, + 3,162,81,0,2706,2704,1,0,0,0,2707,2710,1,0,0,0,2708,2706,1,0,0,0, + 2708,2709,1,0,0,0,2709,2717,1,0,0,0,2710,2708,1,0,0,0,2711,2712, + 5,183,0,0,2712,2713,5,190,0,0,2713,2718,5,183,0,0,2714,2715,5,18, + 0,0,2715,2716,5,190,0,0,2716,2718,5,183,0,0,2717,2711,1,0,0,0,2717, + 2714,1,0,0,0,2717,2718,1,0,0,0,2718,2729,1,0,0,0,2719,2720,5,304, + 0,0,2720,2722,5,282,0,0,2721,2723,5,146,0,0,2722,2721,1,0,0,0,2722, + 2723,1,0,0,0,2723,2730,1,0,0,0,2724,2725,5,306,0,0,2725,2727,5,282, + 0,0,2726,2728,5,146,0,0,2727,2726,1,0,0,0,2727,2728,1,0,0,0,2728, + 2730,1,0,0,0,2729,2719,1,0,0,0,2729,2724,1,0,0,0,2729,2730,1,0,0, + 0,2730,2732,1,0,0,0,2731,2703,1,0,0,0,2731,2732,1,0,0,0,2732,2739, + 1,0,0,0,2733,2734,5,231,0,0,2734,2737,3,184,92,0,2735,2736,5,104, + 0,0,2736,2738,3,150,75,0,2737,2735,1,0,0,0,2737,2738,1,0,0,0,2738, + 2740,1,0,0,0,2739,2733,1,0,0,0,2739,2740,1,0,0,0,2740,2741,1,0,0, + 0,2741,2772,5,2,0,0,2742,2743,5,138,0,0,2743,2760,5,1,0,0,2744,2749, + 3,148,74,0,2745,2746,5,3,0,0,2746,2748,3,148,74,0,2747,2745,1,0, + 0,0,2748,2751,1,0,0,0,2749,2747,1,0,0,0,2749,2750,1,0,0,0,2750,2758, + 1,0,0,0,2751,2749,1,0,0,0,2752,2753,5,183,0,0,2753,2754,5,190,0, + 0,2754,2759,5,183,0,0,2755,2756,5,18,0,0,2756,2757,5,190,0,0,2757, + 2759,5,183,0,0,2758,2752,1,0,0,0,2758,2755,1,0,0,0,2758,2759,1,0, + 0,0,2759,2761,1,0,0,0,2760,2744,1,0,0,0,2760,2761,1,0,0,0,2761,2768, + 1,0,0,0,2762,2763,5,231,0,0,2763,2766,3,184,92,0,2764,2765,5,104, + 0,0,2765,2767,3,150,75,0,2766,2764,1,0,0,0,2766,2767,1,0,0,0,2767, + 2769,1,0,0,0,2768,2762,1,0,0,0,2768,2769,1,0,0,0,2769,2770,1,0,0, + 0,2770,2772,5,2,0,0,2771,2318,1,0,0,0,2771,2320,1,0,0,0,2771,2321, + 1,0,0,0,2771,2324,1,0,0,0,2771,2327,1,0,0,0,2771,2328,1,0,0,0,2771, + 2329,1,0,0,0,2771,2330,1,0,0,0,2771,2331,1,0,0,0,2771,2332,1,0,0, + 0,2771,2339,1,0,0,0,2771,2349,1,0,0,0,2771,2361,1,0,0,0,2771,2396, + 1,0,0,0,2771,2414,1,0,0,0,2771,2453,1,0,0,0,2771,2456,1,0,0,0,2771, + 2460,1,0,0,0,2771,2474,1,0,0,0,2771,2478,1,0,0,0,2771,2483,1,0,0, + 0,2771,2496,1,0,0,0,2771,2508,1,0,0,0,2771,2515,1,0,0,0,2771,2522, + 1,0,0,0,2771,2535,1,0,0,0,2771,2536,1,0,0,0,2771,2537,1,0,0,0,2771, + 2543,1,0,0,0,2771,2549,1,0,0,0,2771,2555,1,0,0,0,2771,2561,1,0,0, + 0,2771,2562,1,0,0,0,2771,2563,1,0,0,0,2771,2564,1,0,0,0,2771,2565, + 1,0,0,0,2771,2579,1,0,0,0,2771,2586,1,0,0,0,2771,2597,1,0,0,0,2771, + 2606,1,0,0,0,2771,2613,1,0,0,0,2771,2617,1,0,0,0,2771,2630,1,0,0, + 0,2771,2641,1,0,0,0,2771,2662,1,0,0,0,2771,2701,1,0,0,0,2771,2742, + 1,0,0,0,2772,2783,1,0,0,0,2773,2774,10,24,0,0,2774,2775,5,8,0,0, + 2775,2776,3,142,71,0,2776,2777,5,9,0,0,2777,2782,1,0,0,0,2778,2779, + 10,22,0,0,2779,2780,5,4,0,0,2780,2782,3,294,147,0,2781,2773,1,0, + 0,0,2781,2778,1,0,0,0,2782,2785,1,0,0,0,2783,2781,1,0,0,0,2783,2784, + 1,0,0,0,2784,145,1,0,0,0,2785,2783,1,0,0,0,2786,2787,3,148,74,0, + 2787,2788,5,3,0,0,2788,2791,3,168,84,0,2789,2790,5,28,0,0,2790,2792, + 3,294,147,0,2791,2789,1,0,0,0,2791,2792,1,0,0,0,2792,2802,1,0,0, + 0,2793,2794,5,203,0,0,2794,2799,3,152,76,0,2795,2796,5,3,0,0,2796, + 2798,3,152,76,0,2797,2795,1,0,0,0,2798,2801,1,0,0,0,2799,2797,1, + 0,0,0,2799,2800,1,0,0,0,2800,2803,1,0,0,0,2801,2799,1,0,0,0,2802, + 2793,1,0,0,0,2802,2803,1,0,0,0,2803,147,1,0,0,0,2804,2807,3,136, + 68,0,2805,2806,5,104,0,0,2806,2808,3,150,75,0,2807,2805,1,0,0,0, + 2807,2808,1,0,0,0,2808,149,1,0,0,0,2809,2812,5,137,0,0,2810,2811, + 5,87,0,0,2811,2813,7,20,0,0,2812,2810,1,0,0,0,2812,2813,1,0,0,0, + 2813,151,1,0,0,0,2814,2815,3,148,74,0,2815,2816,5,28,0,0,2816,2817, + 3,294,147,0,2817,153,1,0,0,0,2818,2819,7,21,0,0,2819,155,1,0,0,0, + 2820,2825,5,89,0,0,2821,2825,5,183,0,0,2822,2823,5,70,0,0,2823,2825, + 3,136,68,0,2824,2820,1,0,0,0,2824,2821,1,0,0,0,2824,2822,1,0,0,0, + 2825,157,1,0,0,0,2826,2828,5,306,0,0,2827,2829,5,27,0,0,2828,2827, + 1,0,0,0,2828,2829,1,0,0,0,2829,2838,1,0,0,0,2830,2832,5,304,0,0, + 2831,2833,7,22,0,0,2832,2831,1,0,0,0,2832,2833,1,0,0,0,2833,2835, + 1,0,0,0,2834,2836,5,27,0,0,2835,2834,1,0,0,0,2835,2836,1,0,0,0,2836, + 2838,1,0,0,0,2837,2826,1,0,0,0,2837,2830,1,0,0,0,2838,159,1,0,0, + 0,2839,2846,5,89,0,0,2840,2846,5,183,0,0,2841,2842,5,85,0,0,2842, + 2846,5,27,0,0,2843,2844,5,85,0,0,2844,2846,5,186,0,0,2845,2839,1, + 0,0,0,2845,2840,1,0,0,0,2845,2841,1,0,0,0,2845,2843,1,0,0,0,2846, + 161,1,0,0,0,2847,2849,5,145,0,0,2848,2847,1,0,0,0,2848,2849,1,0, + 0,0,2849,2850,1,0,0,0,2850,2851,3,136,68,0,2851,2852,5,295,0,0,2852, + 2853,3,148,74,0,2853,2859,1,0,0,0,2854,2855,3,136,68,0,2855,2856, + 5,10,0,0,2856,2857,3,148,74,0,2857,2859,1,0,0,0,2858,2848,1,0,0, + 0,2858,2854,1,0,0,0,2859,163,1,0,0,0,2860,2861,7,23,0,0,2861,165, + 1,0,0,0,2862,2863,5,120,0,0,2863,2867,5,185,0,0,2864,2865,5,228, + 0,0,2865,2867,5,185,0,0,2866,2862,1,0,0,0,2866,2864,1,0,0,0,2867, + 167,1,0,0,0,2868,2875,5,326,0,0,2869,2872,5,327,0,0,2870,2871,5, + 277,0,0,2871,2873,5,326,0,0,2872,2870,1,0,0,0,2872,2873,1,0,0,0, + 2873,2875,1,0,0,0,2874,2868,1,0,0,0,2874,2869,1,0,0,0,2875,169,1, + 0,0,0,2876,2877,5,267,0,0,2877,2878,5,311,0,0,2878,2883,3,178,89, + 0,2879,2880,5,267,0,0,2880,2881,5,311,0,0,2881,2883,3,168,84,0,2882, + 2876,1,0,0,0,2882,2879,1,0,0,0,2883,171,1,0,0,0,2884,2885,7,24,0, + 0,2885,173,1,0,0,0,2886,2887,7,25,0,0,2887,175,1,0,0,0,2888,2889, + 7,26,0,0,2889,177,1,0,0,0,2890,2892,5,129,0,0,2891,2893,7,18,0,0, + 2892,2891,1,0,0,0,2892,2893,1,0,0,0,2893,2894,1,0,0,0,2894,2895, + 3,168,84,0,2895,2898,3,180,90,0,2896,2897,5,269,0,0,2897,2899,3, + 180,90,0,2898,2896,1,0,0,0,2898,2899,1,0,0,0,2899,179,1,0,0,0,2900, + 2901,7,27,0,0,2901,181,1,0,0,0,2902,2903,7,28,0,0,2903,183,1,0,0, + 0,2904,2905,6,92,-1,0,2905,2906,5,239,0,0,2906,2907,5,1,0,0,2907, + 2912,3,186,93,0,2908,2909,5,3,0,0,2909,2911,3,186,93,0,2910,2908, + 1,0,0,0,2911,2914,1,0,0,0,2912,2910,1,0,0,0,2912,2913,1,0,0,0,2913, + 2915,1,0,0,0,2914,2912,1,0,0,0,2915,2916,5,2,0,0,2916,2996,1,0,0, + 0,2917,2918,5,129,0,0,2918,2921,3,180,90,0,2919,2920,5,269,0,0,2920, + 2922,3,180,90,0,2921,2919,1,0,0,0,2921,2922,1,0,0,0,2922,2996,1, + 0,0,0,2923,2928,5,268,0,0,2924,2925,5,1,0,0,2925,2926,3,188,94,0, + 2926,2927,5,2,0,0,2927,2929,1,0,0,0,2928,2924,1,0,0,0,2928,2929, + 1,0,0,0,2929,2933,1,0,0,0,2930,2931,5,306,0,0,2931,2932,5,267,0, + 0,2932,2934,5,311,0,0,2933,2930,1,0,0,0,2933,2934,1,0,0,0,2934,2996, + 1,0,0,0,2935,2940,5,268,0,0,2936,2937,5,1,0,0,2937,2938,3,188,94, + 0,2938,2939,5,2,0,0,2939,2941,1,0,0,0,2940,2936,1,0,0,0,2940,2941, + 1,0,0,0,2941,2942,1,0,0,0,2942,2943,5,304,0,0,2943,2944,5,267,0, + 0,2944,2996,5,311,0,0,2945,2950,5,267,0,0,2946,2947,5,1,0,0,2947, + 2948,3,188,94,0,2948,2949,5,2,0,0,2949,2951,1,0,0,0,2950,2946,1, + 0,0,0,2950,2951,1,0,0,0,2951,2955,1,0,0,0,2952,2953,5,306,0,0,2953, + 2954,5,267,0,0,2954,2956,5,311,0,0,2955,2952,1,0,0,0,2955,2956,1, + 0,0,0,2956,2996,1,0,0,0,2957,2962,5,267,0,0,2958,2959,5,1,0,0,2959, + 2960,3,188,94,0,2960,2961,5,2,0,0,2961,2963,1,0,0,0,2962,2958,1, + 0,0,0,2962,2963,1,0,0,0,2963,2964,1,0,0,0,2964,2965,5,304,0,0,2965, + 2966,5,267,0,0,2966,2996,5,311,0,0,2967,2968,5,82,0,0,2968,2996, + 5,213,0,0,2969,2970,5,27,0,0,2970,2971,5,314,0,0,2971,2972,3,184, + 92,0,2972,2973,5,316,0,0,2973,2996,1,0,0,0,2974,2975,5,162,0,0,2975, + 2976,5,314,0,0,2976,2977,3,184,92,0,2977,2978,5,3,0,0,2978,2979, + 3,184,92,0,2979,2980,5,316,0,0,2980,2996,1,0,0,0,2981,2993,3,294, + 147,0,2982,2983,5,1,0,0,2983,2988,3,188,94,0,2984,2985,5,3,0,0,2985, + 2987,3,188,94,0,2986,2984,1,0,0,0,2987,2990,1,0,0,0,2988,2986,1, + 0,0,0,2988,2989,1,0,0,0,2989,2991,1,0,0,0,2990,2988,1,0,0,0,2991, + 2992,5,2,0,0,2992,2994,1,0,0,0,2993,2982,1,0,0,0,2993,2994,1,0,0, + 0,2994,2996,1,0,0,0,2995,2904,1,0,0,0,2995,2917,1,0,0,0,2995,2923, + 1,0,0,0,2995,2935,1,0,0,0,2995,2945,1,0,0,0,2995,2957,1,0,0,0,2995, + 2967,1,0,0,0,2995,2969,1,0,0,0,2995,2974,1,0,0,0,2995,2981,1,0,0, + 0,2996,3006,1,0,0,0,2997,2998,10,2,0,0,2998,3002,5,27,0,0,2999,3000, + 5,8,0,0,3000,3001,5,329,0,0,3001,3003,5,9,0,0,3002,2999,1,0,0,0, + 3002,3003,1,0,0,0,3003,3005,1,0,0,0,3004,2997,1,0,0,0,3005,3008, + 1,0,0,0,3006,3004,1,0,0,0,3006,3007,1,0,0,0,3007,185,1,0,0,0,3008, + 3006,1,0,0,0,3009,3014,3,184,92,0,3010,3011,3,294,147,0,3011,3012, + 3,184,92,0,3012,3014,1,0,0,0,3013,3009,1,0,0,0,3013,3010,1,0,0,0, + 3014,187,1,0,0,0,3015,3018,5,329,0,0,3016,3018,3,184,92,0,3017,3015, + 1,0,0,0,3017,3016,1,0,0,0,3018,189,1,0,0,0,3019,3020,5,300,0,0,3020, + 3021,3,136,68,0,3021,3022,5,265,0,0,3022,3023,3,136,68,0,3023,191, + 1,0,0,0,3024,3025,5,99,0,0,3025,3026,5,1,0,0,3026,3027,5,301,0,0, + 3027,3028,3,138,69,0,3028,3029,5,2,0,0,3029,193,1,0,0,0,3030,3031, + 5,300,0,0,3031,3034,5,164,0,0,3032,3033,5,25,0,0,3033,3035,3,136, + 68,0,3034,3032,1,0,0,0,3034,3035,1,0,0,0,3035,3036,1,0,0,0,3036, + 3037,5,265,0,0,3037,3038,5,287,0,0,3038,3039,5,251,0,0,3039,3040, + 3,294,147,0,3040,3041,5,312,0,0,3041,3049,3,136,68,0,3042,3043,5, + 3,0,0,3043,3044,3,294,147,0,3044,3045,5,312,0,0,3045,3046,3,136, + 68,0,3046,3048,1,0,0,0,3047,3042,1,0,0,0,3048,3051,1,0,0,0,3049, + 3047,1,0,0,0,3049,3050,1,0,0,0,3050,3095,1,0,0,0,3051,3049,1,0,0, + 0,3052,3053,5,300,0,0,3053,3056,5,164,0,0,3054,3055,5,25,0,0,3055, + 3057,3,136,68,0,3056,3054,1,0,0,0,3056,3057,1,0,0,0,3057,3058,1, + 0,0,0,3058,3059,5,265,0,0,3059,3095,5,73,0,0,3060,3061,5,300,0,0, + 3061,3062,5,182,0,0,3062,3065,5,164,0,0,3063,3064,5,25,0,0,3064, + 3066,3,136,68,0,3065,3063,1,0,0,0,3065,3066,1,0,0,0,3066,3067,1, + 0,0,0,3067,3068,5,265,0,0,3068,3080,5,127,0,0,3069,3070,5,1,0,0, + 3070,3075,3,294,147,0,3071,3072,5,3,0,0,3072,3074,3,294,147,0,3073, + 3071,1,0,0,0,3074,3077,1,0,0,0,3075,3073,1,0,0,0,3075,3076,1,0,0, + 0,3076,3078,1,0,0,0,3077,3075,1,0,0,0,3078,3079,5,2,0,0,3079,3081, + 1,0,0,0,3080,3069,1,0,0,0,3080,3081,1,0,0,0,3081,3082,1,0,0,0,3082, + 3083,5,296,0,0,3083,3084,5,1,0,0,3084,3089,3,136,68,0,3085,3086, + 5,3,0,0,3086,3088,3,136,68,0,3087,3085,1,0,0,0,3088,3091,1,0,0,0, + 3089,3087,1,0,0,0,3089,3090,1,0,0,0,3090,3092,1,0,0,0,3091,3089, + 1,0,0,0,3092,3093,5,2,0,0,3093,3095,1,0,0,0,3094,3030,1,0,0,0,3094, + 3052,1,0,0,0,3094,3060,1,0,0,0,3095,195,1,0,0,0,3096,3102,5,199, + 0,0,3097,3103,3,294,147,0,3098,3099,5,1,0,0,3099,3100,3,64,32,0, + 3100,3101,5,2,0,0,3101,3103,1,0,0,0,3102,3097,1,0,0,0,3102,3098, + 1,0,0,0,3103,197,1,0,0,0,3104,3105,5,168,0,0,3105,3110,3,90,45,0, + 3106,3107,5,3,0,0,3107,3109,3,90,45,0,3108,3106,1,0,0,0,3109,3112, + 1,0,0,0,3110,3108,1,0,0,0,3110,3111,1,0,0,0,3111,3114,1,0,0,0,3112, + 3110,1,0,0,0,3113,3104,1,0,0,0,3113,3114,1,0,0,0,3114,3115,1,0,0, + 0,3115,3119,3,200,100,0,3116,3117,5,21,0,0,3117,3118,5,163,0,0,3118, + 3120,3,96,48,0,3119,3116,1,0,0,0,3119,3120,1,0,0,0,3120,3122,1,0, + 0,0,3121,3123,7,13,0,0,3122,3121,1,0,0,0,3122,3123,1,0,0,0,3123, + 3129,1,0,0,0,3124,3125,5,206,0,0,3125,3126,5,1,0,0,3126,3127,3,204, + 102,0,3127,3128,5,2,0,0,3128,3130,1,0,0,0,3129,3124,1,0,0,0,3129, + 3130,1,0,0,0,3130,3140,1,0,0,0,3131,3132,5,257,0,0,3132,3137,3,98, + 49,0,3133,3134,5,3,0,0,3134,3136,3,98,49,0,3135,3133,1,0,0,0,3136, + 3139,1,0,0,0,3137,3135,1,0,0,0,3137,3138,1,0,0,0,3138,3141,1,0,0, + 0,3139,3137,1,0,0,0,3140,3131,1,0,0,0,3140,3141,1,0,0,0,3141,3151, + 1,0,0,0,3142,3143,5,71,0,0,3143,3148,3,100,50,0,3144,3145,5,3,0, + 0,3145,3147,3,100,50,0,3146,3144,1,0,0,0,3147,3150,1,0,0,0,3148, + 3146,1,0,0,0,3148,3149,1,0,0,0,3149,3152,1,0,0,0,3150,3148,1,0,0, + 0,3151,3142,1,0,0,0,3151,3152,1,0,0,0,3152,199,1,0,0,0,3153,3154, + 5,219,0,0,3154,3178,3,202,101,0,3155,3156,5,240,0,0,3156,3178,3, + 202,101,0,3157,3158,5,116,0,0,3158,3178,3,202,101,0,3159,3160,5, + 219,0,0,3160,3161,5,34,0,0,3161,3162,3,202,101,0,3162,3163,5,25, + 0,0,3163,3164,3,202,101,0,3164,3178,1,0,0,0,3165,3166,5,240,0,0, + 3166,3167,5,34,0,0,3167,3168,3,202,101,0,3168,3169,5,25,0,0,3169, + 3170,3,202,101,0,3170,3178,1,0,0,0,3171,3172,5,116,0,0,3172,3173, + 5,34,0,0,3173,3174,3,202,101,0,3174,3175,5,25,0,0,3175,3176,3,202, + 101,0,3176,3178,1,0,0,0,3177,3153,1,0,0,0,3177,3155,1,0,0,0,3177, + 3157,1,0,0,0,3177,3159,1,0,0,0,3177,3165,1,0,0,0,3177,3171,1,0,0, + 0,3178,201,1,0,0,0,3179,3180,5,278,0,0,3180,3189,5,212,0,0,3181, + 3182,5,278,0,0,3182,3189,5,102,0,0,3183,3184,5,56,0,0,3184,3189, + 5,239,0,0,3185,3186,3,136,68,0,3186,3187,7,29,0,0,3187,3189,1,0, + 0,0,3188,3179,1,0,0,0,3188,3181,1,0,0,0,3188,3183,1,0,0,0,3188,3185, + 1,0,0,0,3189,203,1,0,0,0,3190,3191,6,102,-1,0,3191,3193,3,206,103, + 0,3192,3194,3,208,104,0,3193,3192,1,0,0,0,3193,3194,1,0,0,0,3194, + 3202,1,0,0,0,3195,3196,10,2,0,0,3196,3201,3,204,102,3,3197,3198, + 10,1,0,0,3198,3199,5,11,0,0,3199,3201,3,204,102,2,3200,3195,1,0, + 0,0,3200,3197,1,0,0,0,3201,3204,1,0,0,0,3202,3200,1,0,0,0,3202,3203, + 1,0,0,0,3203,205,1,0,0,0,3204,3202,1,0,0,0,3205,3231,3,294,147,0, + 3206,3207,5,1,0,0,3207,3231,5,2,0,0,3208,3209,5,209,0,0,3209,3210, + 5,1,0,0,3210,3215,3,204,102,0,3211,3212,5,3,0,0,3212,3214,3,204, + 102,0,3213,3211,1,0,0,0,3214,3217,1,0,0,0,3215,3213,1,0,0,0,3215, + 3216,1,0,0,0,3216,3218,1,0,0,0,3217,3215,1,0,0,0,3218,3219,5,2,0, + 0,3219,3231,1,0,0,0,3220,3221,5,1,0,0,3221,3222,3,204,102,0,3222, + 3223,5,2,0,0,3223,3231,1,0,0,0,3224,3231,5,12,0,0,3225,3231,5,13, + 0,0,3226,3227,5,14,0,0,3227,3228,3,204,102,0,3228,3229,5,15,0,0, + 3229,3231,1,0,0,0,3230,3205,1,0,0,0,3230,3206,1,0,0,0,3230,3208, + 1,0,0,0,3230,3220,1,0,0,0,3230,3224,1,0,0,0,3230,3225,1,0,0,0,3230, + 3226,1,0,0,0,3231,207,1,0,0,0,3232,3234,5,320,0,0,3233,3235,5,324, + 0,0,3234,3233,1,0,0,0,3234,3235,1,0,0,0,3235,3263,1,0,0,0,3236,3238, + 5,318,0,0,3237,3239,5,324,0,0,3238,3237,1,0,0,0,3238,3239,1,0,0, + 0,3239,3263,1,0,0,0,3240,3242,5,324,0,0,3241,3243,5,324,0,0,3242, + 3241,1,0,0,0,3242,3243,1,0,0,0,3243,3263,1,0,0,0,3244,3245,5,16, + 0,0,3245,3246,5,329,0,0,3246,3248,5,17,0,0,3247,3249,5,324,0,0,3248, + 3247,1,0,0,0,3248,3249,1,0,0,0,3249,3263,1,0,0,0,3250,3252,5,16, + 0,0,3251,3253,5,329,0,0,3252,3251,1,0,0,0,3252,3253,1,0,0,0,3253, + 3254,1,0,0,0,3254,3256,5,3,0,0,3255,3257,5,329,0,0,3256,3255,1,0, + 0,0,3256,3257,1,0,0,0,3257,3258,1,0,0,0,3258,3260,5,17,0,0,3259, + 3261,5,324,0,0,3260,3259,1,0,0,0,3260,3261,1,0,0,0,3261,3263,1,0, + 0,0,3262,3232,1,0,0,0,3262,3236,1,0,0,0,3262,3240,1,0,0,0,3262,3244, + 1,0,0,0,3262,3250,1,0,0,0,3263,209,1,0,0,0,3264,3265,3,294,147,0, + 3265,3266,5,312,0,0,3266,3267,3,136,68,0,3267,211,1,0,0,0,3268,3269, + 5,104,0,0,3269,3273,7,30,0,0,3270,3271,5,276,0,0,3271,3273,7,31, + 0,0,3272,3268,1,0,0,0,3272,3270,1,0,0,0,3273,213,1,0,0,0,3274,3275, + 5,134,0,0,3275,3276,5,153,0,0,3276,3280,3,216,108,0,3277,3278,5, + 220,0,0,3278,3280,7,32,0,0,3279,3274,1,0,0,0,3279,3277,1,0,0,0,3280, + 215,1,0,0,0,3281,3282,5,220,0,0,3282,3289,5,279,0,0,3283,3284,5, + 220,0,0,3284,3289,5,48,0,0,3285,3286,5,225,0,0,3286,3289,5,220,0, + 0,3287,3289,5,249,0,0,3288,3281,1,0,0,0,3288,3283,1,0,0,0,3288,3285, + 1,0,0,0,3288,3287,1,0,0,0,3289,217,1,0,0,0,3290,3296,3,136,68,0, + 3291,3292,3,294,147,0,3292,3293,5,6,0,0,3293,3294,3,136,68,0,3294, + 3296,1,0,0,0,3295,3290,1,0,0,0,3295,3291,1,0,0,0,3296,219,1,0,0, + 0,3297,3298,3,294,147,0,3298,3299,5,4,0,0,3299,3300,3,294,147,0, + 3300,3303,1,0,0,0,3301,3303,3,294,147,0,3302,3297,1,0,0,0,3302,3301, + 1,0,0,0,3303,221,1,0,0,0,3304,3309,3,220,110,0,3305,3306,5,3,0,0, + 3306,3308,3,220,110,0,3307,3305,1,0,0,0,3308,3311,1,0,0,0,3309,3307, + 1,0,0,0,3309,3310,1,0,0,0,3310,223,1,0,0,0,3311,3309,1,0,0,0,3312, + 3313,5,107,0,0,3313,3314,3,226,113,0,3314,3318,3,232,116,0,3315, + 3317,3,234,117,0,3316,3315,1,0,0,0,3317,3320,1,0,0,0,3318,3316,1, + 0,0,0,3318,3319,1,0,0,0,3319,3321,1,0,0,0,3320,3318,1,0,0,0,3321, + 3322,3,236,118,0,3322,225,1,0,0,0,3323,3324,3,274,137,0,3324,3333, + 5,1,0,0,3325,3330,3,230,115,0,3326,3327,5,3,0,0,3327,3329,3,230, + 115,0,3328,3326,1,0,0,0,3329,3332,1,0,0,0,3330,3328,1,0,0,0,3330, + 3331,1,0,0,0,3331,3334,1,0,0,0,3332,3330,1,0,0,0,3333,3325,1,0,0, + 0,3333,3334,1,0,0,0,3334,3335,1,0,0,0,3335,3336,5,2,0,0,3336,227, + 1,0,0,0,3337,3338,3,272,136,0,3338,3347,5,1,0,0,3339,3344,3,230, + 115,0,3340,3341,5,3,0,0,3341,3343,3,230,115,0,3342,3340,1,0,0,0, + 3343,3346,1,0,0,0,3344,3342,1,0,0,0,3344,3345,1,0,0,0,3345,3348, + 1,0,0,0,3346,3344,1,0,0,0,3347,3339,1,0,0,0,3347,3348,1,0,0,0,3348, + 3349,1,0,0,0,3349,3350,5,2,0,0,3350,229,1,0,0,0,3351,3353,3,294, + 147,0,3352,3351,1,0,0,0,3352,3353,1,0,0,0,3353,3354,1,0,0,0,3354, + 3355,3,184,92,0,3355,231,1,0,0,0,3356,3357,5,232,0,0,3357,3358,3, + 184,92,0,3358,233,1,0,0,0,3359,3360,5,147,0,0,3360,3379,3,294,147, + 0,3361,3363,5,182,0,0,3362,3361,1,0,0,0,3362,3363,1,0,0,0,3363,3364, + 1,0,0,0,3364,3379,5,78,0,0,3365,3366,5,232,0,0,3366,3367,5,183,0, + 0,3367,3368,5,190,0,0,3368,3369,5,183,0,0,3369,3379,5,126,0,0,3370, + 3371,5,38,0,0,3371,3372,5,190,0,0,3372,3373,5,183,0,0,3373,3379, + 5,126,0,0,3374,3375,5,246,0,0,3375,3379,7,1,0,0,3376,3377,5,46,0, + 0,3377,3379,3,168,84,0,3378,3359,1,0,0,0,3378,3362,1,0,0,0,3378, + 3365,1,0,0,0,3378,3370,1,0,0,0,3378,3374,1,0,0,0,3378,3376,1,0,0, + 0,3379,235,1,0,0,0,3380,3381,5,230,0,0,3381,3480,3,142,71,0,3382, + 3383,5,251,0,0,3383,3384,3,294,147,0,3384,3385,5,312,0,0,3385,3386, + 3,136,68,0,3386,3480,1,0,0,0,3387,3388,5,40,0,0,3388,3390,3,136, + 68,0,3389,3391,3,238,119,0,3390,3389,1,0,0,0,3391,3392,1,0,0,0,3392, + 3390,1,0,0,0,3392,3393,1,0,0,0,3393,3395,1,0,0,0,3394,3396,3,242, + 121,0,3395,3394,1,0,0,0,3395,3396,1,0,0,0,3396,3397,1,0,0,0,3397, + 3398,5,88,0,0,3398,3399,5,40,0,0,3399,3480,1,0,0,0,3400,3402,5,40, + 0,0,3401,3403,3,238,119,0,3402,3401,1,0,0,0,3403,3404,1,0,0,0,3404, + 3402,1,0,0,0,3404,3405,1,0,0,0,3405,3407,1,0,0,0,3406,3408,3,242, + 121,0,3407,3406,1,0,0,0,3407,3408,1,0,0,0,3408,3409,1,0,0,0,3409, + 3410,5,88,0,0,3410,3411,5,40,0,0,3411,3480,1,0,0,0,3412,3413,5,119, + 0,0,3413,3414,3,136,68,0,3414,3415,5,265,0,0,3415,3419,3,246,123, + 0,3416,3418,3,240,120,0,3417,3416,1,0,0,0,3418,3421,1,0,0,0,3419, + 3417,1,0,0,0,3419,3420,1,0,0,0,3420,3423,1,0,0,0,3421,3419,1,0,0, + 0,3422,3424,3,242,121,0,3423,3422,1,0,0,0,3423,3424,1,0,0,0,3424, + 3425,1,0,0,0,3425,3426,5,88,0,0,3426,3427,5,119,0,0,3427,3480,1, + 0,0,0,3428,3429,5,135,0,0,3429,3480,3,294,147,0,3430,3431,5,151, + 0,0,3431,3480,3,294,147,0,3432,3438,5,32,0,0,3433,3434,3,244,122, + 0,3434,3435,5,325,0,0,3435,3437,1,0,0,0,3436,3433,1,0,0,0,3437,3440, + 1,0,0,0,3438,3436,1,0,0,0,3438,3439,1,0,0,0,3439,3442,1,0,0,0,3440, + 3438,1,0,0,0,3441,3443,3,246,123,0,3442,3441,1,0,0,0,3442,3443,1, + 0,0,0,3443,3444,1,0,0,0,3444,3480,5,88,0,0,3445,3446,3,294,147,0, + 3446,3447,5,10,0,0,3447,3449,1,0,0,0,3448,3445,1,0,0,0,3448,3449, + 1,0,0,0,3449,3450,1,0,0,0,3450,3451,5,161,0,0,3451,3452,3,246,123, + 0,3452,3453,5,88,0,0,3453,3454,5,161,0,0,3454,3480,1,0,0,0,3455, + 3456,3,294,147,0,3456,3457,5,10,0,0,3457,3459,1,0,0,0,3458,3455, + 1,0,0,0,3458,3459,1,0,0,0,3459,3460,1,0,0,0,3460,3461,5,302,0,0, + 3461,3462,3,136,68,0,3462,3463,5,81,0,0,3463,3464,3,246,123,0,3464, + 3465,5,88,0,0,3465,3466,5,302,0,0,3466,3480,1,0,0,0,3467,3468,3, + 294,147,0,3468,3469,5,10,0,0,3469,3471,1,0,0,0,3470,3467,1,0,0,0, + 3470,3471,1,0,0,0,3471,3472,1,0,0,0,3472,3473,5,224,0,0,3473,3474, + 3,246,123,0,3474,3475,5,286,0,0,3475,3476,3,136,68,0,3476,3477,5, + 88,0,0,3477,3478,5,224,0,0,3478,3480,1,0,0,0,3479,3380,1,0,0,0,3479, + 3382,1,0,0,0,3479,3387,1,0,0,0,3479,3400,1,0,0,0,3479,3412,1,0,0, + 0,3479,3428,1,0,0,0,3479,3430,1,0,0,0,3479,3432,1,0,0,0,3479,3448, + 1,0,0,0,3479,3458,1,0,0,0,3479,3470,1,0,0,0,3480,237,1,0,0,0,3481, + 3482,5,300,0,0,3482,3483,3,136,68,0,3483,3484,5,265,0,0,3484,3485, + 3,246,123,0,3485,239,1,0,0,0,3486,3487,5,86,0,0,3487,3488,3,136, + 68,0,3488,3489,5,265,0,0,3489,3490,3,246,123,0,3490,241,1,0,0,0, + 3491,3492,5,84,0,0,3492,3493,3,246,123,0,3493,243,1,0,0,0,3494,3495, + 5,69,0,0,3495,3500,3,294,147,0,3496,3497,5,3,0,0,3497,3499,3,294, + 147,0,3498,3496,1,0,0,0,3499,3502,1,0,0,0,3500,3498,1,0,0,0,3500, + 3501,1,0,0,0,3501,3503,1,0,0,0,3502,3500,1,0,0,0,3503,3506,3,184, + 92,0,3504,3505,5,70,0,0,3505,3507,3,142,71,0,3506,3504,1,0,0,0,3506, + 3507,1,0,0,0,3507,245,1,0,0,0,3508,3509,3,236,118,0,3509,3510,5, + 325,0,0,3510,3512,1,0,0,0,3511,3508,1,0,0,0,3512,3513,1,0,0,0,3513, + 3511,1,0,0,0,3513,3514,1,0,0,0,3514,247,1,0,0,0,3515,3522,5,53,0, + 0,3516,3522,5,248,0,0,3517,3522,5,73,0,0,3518,3522,5,127,0,0,3519, + 3522,5,287,0,0,3520,3522,3,294,147,0,3521,3515,1,0,0,0,3521,3516, + 1,0,0,0,3521,3517,1,0,0,0,3521,3518,1,0,0,0,3521,3519,1,0,0,0,3521, + 3520,1,0,0,0,3522,249,1,0,0,0,3523,3527,5,260,0,0,3524,3527,5,243, + 0,0,3525,3527,3,294,147,0,3526,3523,1,0,0,0,3526,3524,1,0,0,0,3526, + 3525,1,0,0,0,3527,251,1,0,0,0,3528,3530,3,250,125,0,3529,3528,1, + 0,0,0,3529,3530,1,0,0,0,3530,3531,1,0,0,0,3531,3532,3,280,140,0, + 3532,253,1,0,0,0,3533,3536,3,256,128,0,3534,3536,3,260,130,0,3535, + 3533,1,0,0,0,3535,3534,1,0,0,0,3536,255,1,0,0,0,3537,3549,3,294, + 147,0,3538,3539,3,294,147,0,3539,3540,5,4,0,0,3540,3541,3,294,147, + 0,3541,3549,1,0,0,0,3542,3543,3,294,147,0,3543,3544,5,4,0,0,3544, + 3545,3,294,147,0,3545,3546,5,4,0,0,3546,3547,3,294,147,0,3547,3549, + 1,0,0,0,3548,3537,1,0,0,0,3548,3538,1,0,0,0,3548,3542,1,0,0,0,3549, + 257,1,0,0,0,3550,3562,3,294,147,0,3551,3552,3,294,147,0,3552,3553, + 5,4,0,0,3553,3554,3,294,147,0,3554,3562,1,0,0,0,3555,3556,3,294, + 147,0,3556,3557,5,4,0,0,3557,3558,3,294,147,0,3558,3559,5,4,0,0, + 3559,3560,3,294,147,0,3560,3562,1,0,0,0,3561,3550,1,0,0,0,3561,3551, + 1,0,0,0,3561,3555,1,0,0,0,3562,259,1,0,0,0,3563,3575,3,294,147,0, + 3564,3565,3,294,147,0,3565,3566,5,4,0,0,3566,3567,3,294,147,0,3567, + 3575,1,0,0,0,3568,3569,3,294,147,0,3569,3570,5,4,0,0,3570,3571,3, + 294,147,0,3571,3572,5,4,0,0,3572,3573,3,294,147,0,3573,3575,1,0, + 0,0,3574,3563,1,0,0,0,3574,3564,1,0,0,0,3574,3568,1,0,0,0,3575,261, + 1,0,0,0,3576,3588,3,294,147,0,3577,3578,3,294,147,0,3578,3579,5, + 4,0,0,3579,3580,3,294,147,0,3580,3588,1,0,0,0,3581,3582,3,294,147, + 0,3582,3583,5,4,0,0,3583,3584,3,294,147,0,3584,3585,5,4,0,0,3585, + 3586,3,294,147,0,3586,3588,1,0,0,0,3587,3576,1,0,0,0,3587,3577,1, + 0,0,0,3587,3581,1,0,0,0,3588,263,1,0,0,0,3589,3595,3,294,147,0,3590, + 3591,3,294,147,0,3591,3592,5,4,0,0,3592,3593,3,294,147,0,3593,3595, + 1,0,0,0,3594,3589,1,0,0,0,3594,3590,1,0,0,0,3595,265,1,0,0,0,3596, + 3602,3,294,147,0,3597,3598,3,294,147,0,3598,3599,5,4,0,0,3599,3600, + 3,294,147,0,3600,3602,1,0,0,0,3601,3596,1,0,0,0,3601,3597,1,0,0, + 0,3602,267,1,0,0,0,3603,3604,3,294,147,0,3604,269,1,0,0,0,3605,3606, + 3,294,147,0,3606,271,1,0,0,0,3607,3608,3,280,140,0,3608,273,1,0, + 0,0,3609,3610,3,280,140,0,3610,275,1,0,0,0,3611,3614,3,280,140,0, + 3612,3614,4,138,14,0,3613,3611,1,0,0,0,3613,3612,1,0,0,0,3614,277, + 1,0,0,0,3615,3616,3,294,147,0,3616,279,1,0,0,0,3617,3622,3,294,147, + 0,3618,3619,5,4,0,0,3619,3621,3,294,147,0,3620,3618,1,0,0,0,3621, + 3624,1,0,0,0,3622,3620,1,0,0,0,3622,3623,1,0,0,0,3623,281,1,0,0, + 0,3624,3622,1,0,0,0,3625,3626,5,103,0,0,3626,3627,3,284,142,0,3627, + 3628,5,28,0,0,3628,3629,5,187,0,0,3629,3630,3,142,71,0,3630,283, + 1,0,0,0,3631,3632,7,33,0,0,3632,285,1,0,0,0,3633,3637,3,288,144, + 0,3634,3637,5,64,0,0,3635,3637,5,60,0,0,3636,3633,1,0,0,0,3636,3634, + 1,0,0,0,3636,3635,1,0,0,0,3637,287,1,0,0,0,3638,3644,3,294,147,0, + 3639,3640,5,289,0,0,3640,3644,3,294,147,0,3641,3642,5,235,0,0,3642, + 3644,3,294,147,0,3643,3638,1,0,0,0,3643,3639,1,0,0,0,3643,3641,1, + 0,0,0,3644,289,1,0,0,0,3645,3650,3,294,147,0,3646,3647,5,3,0,0,3647, + 3649,3,294,147,0,3648,3646,1,0,0,0,3649,3652,1,0,0,0,3650,3648,1, + 0,0,0,3650,3651,1,0,0,0,3651,291,1,0,0,0,3652,3650,1,0,0,0,3653, + 3661,5,53,0,0,3654,3661,5,248,0,0,3655,3661,5,73,0,0,3656,3661,5, + 127,0,0,3657,3661,5,287,0,0,3658,3661,5,93,0,0,3659,3661,3,294,147, + 0,3660,3653,1,0,0,0,3660,3654,1,0,0,0,3660,3655,1,0,0,0,3660,3656, + 1,0,0,0,3660,3657,1,0,0,0,3660,3658,1,0,0,0,3660,3659,1,0,0,0,3661, + 293,1,0,0,0,3662,3668,5,332,0,0,3663,3668,5,334,0,0,3664,3668,3, + 300,150,0,3665,3668,5,335,0,0,3666,3668,5,333,0,0,3667,3662,1,0, + 0,0,3667,3663,1,0,0,0,3667,3664,1,0,0,0,3667,3665,1,0,0,0,3667,3666, + 1,0,0,0,3668,295,1,0,0,0,3669,3671,5,319,0,0,3670,3669,1,0,0,0,3670, + 3671,1,0,0,0,3671,3672,1,0,0,0,3672,3682,5,330,0,0,3673,3675,5,319, + 0,0,3674,3673,1,0,0,0,3674,3675,1,0,0,0,3675,3676,1,0,0,0,3676,3682, + 5,331,0,0,3677,3679,5,319,0,0,3678,3677,1,0,0,0,3678,3679,1,0,0, + 0,3679,3680,1,0,0,0,3680,3682,5,329,0,0,3681,3670,1,0,0,0,3681,3674, + 1,0,0,0,3681,3678,1,0,0,0,3682,297,1,0,0,0,3683,3686,3,294,147,0, + 3684,3686,3,168,84,0,3685,3683,1,0,0,0,3685,3684,1,0,0,0,3686,299, + 1,0,0,0,3687,3688,7,34,0,0,3688,301,1,0,0,0,480,305,314,318,322, + 326,330,343,350,354,358,364,368,375,380,384,390,394,413,419,423, + 427,431,439,443,446,451,457,466,472,476,482,489,498,510,519,528, + 534,545,553,561,568,578,585,593,608,643,646,649,653,659,664,671, + 677,681,685,693,699,703,707,721,729,748,773,776,783,790,799,803, + 810,818,827,833,838,842,850,855,864,870,877,886,892,896,902,909, + 914,927,932,944,948,954,963,968,974,1002,1008,1010,1016,1022,1024, + 1032,1034,1044,1046,1061,1066,1073,1083,1089,1091,1099,1101,1126, + 1129,1133,1137,1155,1158,1169,1172,1188,1198,1203,1209,1212,1221, + 1233,1236,1246,1250,1256,1263,1268,1274,1278,1282,1288,1299,1308, + 1318,1321,1326,1328,1335,1341,1343,1347,1357,1363,1366,1368,1380, + 1387,1391,1394,1398,1402,1409,1418,1421,1425,1430,1434,1442,1445, + 1448,1455,1466,1469,1479,1482,1493,1498,1506,1509,1513,1517,1526, + 1535,1538,1547,1550,1553,1557,1568,1571,1574,1581,1584,1603,1607, + 1611,1615,1619,1623,1625,1636,1641,1650,1659,1662,1668,1680,1683, + 1692,1695,1703,1706,1709,1714,1717,1729,1732,1740,1745,1749,1751, + 1753,1768,1770,1781,1802,1812,1823,1827,1829,1837,1848,1859,1866, + 1879,1885,1911,1926,1931,1935,1945,1951,1957,1965,1970,1977,1979, + 1985,1991,1995,2000,2009,2014,2028,2038,2041,2050,2055,2060,2062, + 2071,2074,2082,2085,2092,2097,2108,2111,2115,2117,2125,2135,2141, + 2143,2150,2154,2156,2163,2167,2169,2171,2180,2191,2195,2205,2215, + 2219,2227,2229,2242,2250,2259,2265,2273,2279,2283,2288,2293,2299, + 2313,2315,2345,2356,2364,2369,2374,2387,2393,2396,2403,2408,2411, + 2414,2419,2426,2429,2438,2441,2445,2448,2451,2466,2469,2488,2492, + 2500,2504,2529,2532,2541,2547,2553,2559,2568,2571,2574,2593,2602, + 2624,2627,2637,2646,2652,2658,2669,2671,2676,2683,2685,2691,2697, + 2708,2717,2722,2727,2729,2731,2737,2739,2749,2758,2760,2766,2768, + 2771,2781,2783,2791,2799,2802,2807,2812,2824,2828,2832,2835,2837, + 2845,2848,2858,2866,2872,2874,2882,2892,2898,2912,2921,2928,2933, + 2940,2950,2955,2962,2988,2993,2995,3002,3006,3013,3017,3034,3049, + 3056,3065,3075,3080,3089,3094,3102,3110,3113,3119,3122,3129,3137, + 3140,3148,3151,3177,3188,3193,3200,3202,3215,3230,3234,3238,3242, + 3248,3252,3256,3260,3262,3272,3279,3288,3295,3302,3309,3318,3330, + 3333,3344,3347,3352,3362,3378,3392,3395,3404,3407,3419,3423,3438, + 3442,3448,3458,3470,3479,3500,3506,3513,3521,3526,3529,3535,3548, + 3561,3574,3587,3594,3601,3613,3622,3636,3643,3650,3660,3667,3670, + 3674,3678,3681,3685 ]; private static __ATN: antlr.ATN; @@ -20856,8 +20920,8 @@ export class DropFunctionContext extends StatementContext { public KW_FUNCTION(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_FUNCTION, 0)!; } - public functionDeclaration(): FunctionDeclarationContext { - return this.getRuleContext(0, FunctionDeclarationContext)!; + public functionSignature(): FunctionSignatureContext { + return this.getRuleContext(0, FunctionSignatureContext)!; } public KW_IF(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_IF, 0); @@ -30816,6 +30880,45 @@ export class FunctionDeclarationContext extends antlr.ParserRuleContext { } +export class FunctionSignatureContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public functionName(): FunctionNameContext { + return this.getRuleContext(0, FunctionNameContext)!; + } + public parameterDeclaration(): ParameterDeclarationContext[]; + public parameterDeclaration(i: number): ParameterDeclarationContext | null; + public parameterDeclaration(i?: number): ParameterDeclarationContext[] | ParameterDeclarationContext | null { + if (i === undefined) { + return this.getRuleContexts(ParameterDeclarationContext); + } + + return this.getRuleContext(i, ParameterDeclarationContext); + } + public override get ruleIndex(): number { + return TrinoSqlParser.RULE_functionSignature; + } + public override enterRule(listener: TrinoSqlListener): void { + if(listener.enterFunctionSignature) { + listener.enterFunctionSignature(this); + } + } + public override exitRule(listener: TrinoSqlListener): void { + if(listener.exitFunctionSignature) { + listener.exitFunctionSignature(this); + } + } + public override accept(visitor: TrinoSqlVisitor): Result | null { + if (visitor.visitFunctionSignature) { + return visitor.visitFunctionSignature(this); + } else { + return visitor.visitChildren(this); + } + } +} + + export class ParameterDeclarationContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); diff --git a/src/lib/trino/TrinoSqlVisitor.ts b/src/lib/trino/TrinoSqlVisitor.ts index d340ce44..d7645f05 100644 --- a/src/lib/trino/TrinoSqlVisitor.ts +++ b/src/lib/trino/TrinoSqlVisitor.ts @@ -315,6 +315,7 @@ import { UnqualifiedArgumentContext } from "./TrinoSqlParser.js"; import { PathSpecificationContext } from "./TrinoSqlParser.js"; import { FunctionSpecificationContext } from "./TrinoSqlParser.js"; import { FunctionDeclarationContext } from "./TrinoSqlParser.js"; +import { FunctionSignatureContext } from "./TrinoSqlParser.js"; import { ParameterDeclarationContext } from "./TrinoSqlParser.js"; import { ReturnsClauseContext } from "./TrinoSqlParser.js"; import { LanguageCharacteristicContext } from "./TrinoSqlParser.js"; @@ -2450,6 +2451,12 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitFunctionDeclaration?: (ctx: FunctionDeclarationContext) => Result; + /** + * Visit a parse tree produced by `TrinoSqlParser.functionSignature`. + * @param ctx the parse tree + * @return the visitor result + */ + visitFunctionSignature?: (ctx: FunctionSignatureContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.parameterDeclaration`. * @param ctx the parse tree diff --git a/src/parser/trino/index.ts b/src/parser/trino/index.ts index ccf7ded3..a57958a2 100644 --- a/src/parser/trino/index.ts +++ b/src/parser/trino/index.ts @@ -37,6 +37,7 @@ export class TrinoSQL extends BasicSQL Date: Wed, 26 Jun 2024 15:38:16 +0800 Subject: [PATCH 5/6] feat: add test cases to trino unit tests --- test/helper.ts | 4 +- .../suggestion/fixtures/syntaxSuggestion.sql | 8 +++ .../trino/suggestion/syntaxSuggestion.test.ts | 70 +++++++++++++++++++ .../trino/syntax/createStatement.test.ts | 12 ++++ .../parser/trino/syntax/dropStatement.test.ts | 12 ++++ .../trino/syntax/fixtures/alter_table.sql | 2 + test/parser/trino/syntax/fixtures/comment.sql | 2 + .../trino/syntax/fixtures/create_catalog.sql | 13 ++++ .../trino/syntax/fixtures/create_function.sql | 8 +++ .../fixtures/create_materialized_view.sql | 28 ++++++++ .../trino/syntax/fixtures/create_table.sql | 1 + .../trino/syntax/fixtures/drop_catalog.sql | 1 + .../trino/syntax/fixtures/drop_function.sql | 5 ++ test/parser/trino/syntax/fixtures/execute.sql | 8 +++ .../trino/syntax/fixtures/reset_session.sql | 2 + .../fixtures/select_function_tables.sql | 16 +++++ .../trino/syntax/fixtures/set_session.sql | 4 ++ .../trino/syntax/fixtures/show_create.sql | 5 +- .../trino/syntax/selectStatement.test.ts | 6 ++ 19 files changed, 203 insertions(+), 4 deletions(-) create mode 100644 test/parser/trino/syntax/fixtures/create_catalog.sql create mode 100644 test/parser/trino/syntax/fixtures/create_function.sql create mode 100644 test/parser/trino/syntax/fixtures/drop_catalog.sql create mode 100644 test/parser/trino/syntax/fixtures/drop_function.sql create mode 100644 test/parser/trino/syntax/fixtures/select_function_tables.sql diff --git a/test/helper.ts b/test/helper.ts index 4b023796..debfb24f 100644 --- a/test/helper.ts +++ b/test/helper.ts @@ -11,7 +11,9 @@ export const readSQL = (dirname: string, fileName: string) => { tmp += char; const isMulti = - tmp.includes('EXECUTE STATEMENT SET') || tmp.includes('BEGIN STATEMENT SET;'); + tmp.includes('EXECUTE STATEMENT SET') || + tmp.includes('BEGIN STATEMENT SET;') || + tmp.includes('BEGIN'); if (!isMulti) { // 非批量的先简单按照分号切割 diff --git a/test/parser/trino/suggestion/fixtures/syntaxSuggestion.sql b/test/parser/trino/suggestion/fixtures/syntaxSuggestion.sql index d3972f8b..15e05ed1 100644 --- a/test/parser/trino/suggestion/fixtures/syntaxSuggestion.sql +++ b/test/parser/trino/suggestion/fixtures/syntaxSuggestion.sql @@ -35,3 +35,11 @@ INSERT INTO tb (id, ); SELECT * FROM tb ORDER BY ; SELECT * FROM tb GROUP BY ; + +CREATE CATALOG ; + +DROP CATALOG cat ; + +CREATE FUNCTION example.default. ; + +DROP FUNCTION ; \ No newline at end of file diff --git a/test/parser/trino/suggestion/syntaxSuggestion.test.ts b/test/parser/trino/suggestion/syntaxSuggestion.test.ts index fed5c17a..74bbd084 100644 --- a/test/parser/trino/suggestion/syntaxSuggestion.test.ts +++ b/test/parser/trino/suggestion/syntaxSuggestion.test.ts @@ -349,4 +349,74 @@ describe('Trino SQL Syntax Suggestion', () => { expect(suggestion).not.toBeUndefined(); expect(suggestion?.wordRanges.map((token) => token.text)).toEqual([]); }); + + test('Create Catalog', () => { + const pos: CaretPosition = { + lineNumber: 39, + column: 16, + }; + const syntaxes = trino.getSuggestionAtCaretPosition( + commentOtherLine(syntaxSql, pos.lineNumber), + pos + )?.syntax; + const suggestion = syntaxes?.find( + (syn) => syn.syntaxContextType === EntityContextType.CATALOG_CREATE + ); + + expect(suggestion).not.toBeUndefined(); + expect(suggestion?.wordRanges.map((token) => token.text)).toEqual([]); + }); + test('Drop Catalog', () => { + const pos: CaretPosition = { + lineNumber: 41, + column: 17, + }; + const syntaxes = trino.getSuggestionAtCaretPosition( + commentOtherLine(syntaxSql, pos.lineNumber), + pos + )?.syntax; + const suggestion = syntaxes?.find( + (syn) => syn.syntaxContextType === EntityContextType.CATALOG + ); + + expect(suggestion).not.toBeUndefined(); + expect(suggestion?.wordRanges.map((token) => token.text)).toEqual(['cat']); + }); + test('Create Function', () => { + const pos: CaretPosition = { + lineNumber: 43, + column: 33, + }; + const syntaxes = trino.getSuggestionAtCaretPosition( + commentOtherLine(syntaxSql, pos.lineNumber), + pos + )?.syntax; + const suggestion = syntaxes?.find( + (syn) => syn.syntaxContextType === EntityContextType.FUNCTION_CREATE + ); + + expect(suggestion).not.toBeUndefined(); + expect(suggestion?.wordRanges.map((token) => token.text)).toEqual([ + 'example', + '.', + 'default', + '.', + ]); + }); + test('Drop Function', () => { + const pos: CaretPosition = { + lineNumber: 45, + column: 15, + }; + const syntaxes = trino.getSuggestionAtCaretPosition( + commentOtherLine(syntaxSql, pos.lineNumber), + pos + )?.syntax; + const suggestion = syntaxes?.find( + (syn) => syn.syntaxContextType === EntityContextType.FUNCTION + ); + + expect(suggestion).not.toBeUndefined(); + expect(suggestion?.wordRanges.map((token) => token.text)).toEqual([]); + }); }); diff --git a/test/parser/trino/syntax/createStatement.test.ts b/test/parser/trino/syntax/createStatement.test.ts index 0c4dda29..e02e92bc 100644 --- a/test/parser/trino/syntax/createStatement.test.ts +++ b/test/parser/trino/syntax/createStatement.test.ts @@ -8,6 +8,8 @@ const features = { role: readSQL(__dirname, 'create_role.sql'), tableAsSelect: readSQL(__dirname, 'create_table_as_select.sql'), materializedView: readSQL(__dirname, 'create_materialized_view.sql'), + catalog: readSQL(__dirname, 'create_catalog.sql'), + function: readSQL(__dirname, 'create_function.sql'), }; describe('TrinoSQL Create Statements Syntax Tests', () => { @@ -43,4 +45,14 @@ describe('TrinoSQL Create Statements Syntax Tests', () => { expect(trino.validate(sql).length).toBe(0); }); }); + features.catalog.forEach((sql) => { + it(sql, () => { + expect(trino.validate(sql).length).toBe(0); + }); + }); + features.function.forEach((sql) => { + it(sql, () => { + expect(trino.validate(sql).length).toBe(0); + }); + }); }); diff --git a/test/parser/trino/syntax/dropStatement.test.ts b/test/parser/trino/syntax/dropStatement.test.ts index 42122987..d18f7d83 100644 --- a/test/parser/trino/syntax/dropStatement.test.ts +++ b/test/parser/trino/syntax/dropStatement.test.ts @@ -8,6 +8,8 @@ const features = { role: readSQL(__dirname, 'drop_role.sql'), column: readSQL(__dirname, 'drop_column.sql'), materializedView: readSQL(__dirname, 'drop_materialized_view.sql'), + catalog: readSQL(__dirname, 'drop_catalog.sql'), + function: readSQL(__dirname, 'drop_function.sql'), }; describe('TrinoSQL Drop Statements Syntax Tests', () => { @@ -43,4 +45,14 @@ describe('TrinoSQL Drop Statements Syntax Tests', () => { expect(trino.validate(sql).length).toBe(0); }); }); + features.catalog.forEach((sql) => { + it(sql, () => { + expect(trino.validate(sql).length).toBe(0); + }); + }); + features.function.forEach((sql) => { + it(sql, () => { + expect(trino.validate(sql).length).toBe(0); + }); + }); }); diff --git a/test/parser/trino/syntax/fixtures/alter_table.sql b/test/parser/trino/syntax/fixtures/alter_table.sql index 0ceb2baa..3e3bdfd3 100644 --- a/test/parser/trino/syntax/fixtures/alter_table.sql +++ b/test/parser/trino/syntax/fixtures/alter_table.sql @@ -6,6 +6,8 @@ ALTER TABLE users DROP COLUMN zip; ALTER TABLE IF EXISTS users DROP COLUMN IF EXISTS zip; ALTER TABLE users RENAME COLUMN id TO user_id; ALTER TABLE IF EXISTS users RENAME column IF EXISTS id to user_id; +ALTER TABLE users ALTER COLUMN id SET DATA TYPE bigint; +ALTER TABLE users ALTER COLUMN id DROP NOT NULL; ALTER TABLE people SET AUTHORIZATION alice; ALTER TABLE people SET AUTHORIZATION ROLE PUBLIC; ALTER TABLE people SET PROPERTIES x = 'y'; diff --git a/test/parser/trino/syntax/fixtures/comment.sql b/test/parser/trino/syntax/fixtures/comment.sql index bae01bcb..d0704dc0 100644 --- a/test/parser/trino/syntax/fixtures/comment.sql +++ b/test/parser/trino/syntax/fixtures/comment.sql @@ -1,5 +1,7 @@ COMMENT ON TABLE users IS 'master table'; +COMMENT ON VIEW users IS 'master view'; + COMMENT ON COLUMN users.name IS 'full name'; SHOW COMMENT ON COLUMN column1; diff --git a/test/parser/trino/syntax/fixtures/create_catalog.sql b/test/parser/trino/syntax/fixtures/create_catalog.sql new file mode 100644 index 00000000..ef5540ca --- /dev/null +++ b/test/parser/trino/syntax/fixtures/create_catalog.sql @@ -0,0 +1,13 @@ +CREATE CATALOG tpch USING tpch; + +CREATE CATALOG brain USING memory +WITH ("memory.max-data-per-node" = '128MB'); + + +CREATE CATALOG example USING postgresql +WITH ( + "connection-url" = 'jdbc:pg:localhost:5432', + "connection-user" = '${ENV:POSTGRES_USER}', + "connection-password" = '${ENV:POSTGRES_PASSWORD}', + "case-insensitive-name-matching" = 'true' +); \ No newline at end of file diff --git a/test/parser/trino/syntax/fixtures/create_function.sql b/test/parser/trino/syntax/fixtures/create_function.sql new file mode 100644 index 00000000..86b4c81c --- /dev/null +++ b/test/parser/trino/syntax/fixtures/create_function.sql @@ -0,0 +1,8 @@ +CREATE FUNCTION example.default.meaning_of_life() + RETURNS bigint + BEGIN + RETURN 42; + END; + + +CREATE FUNCTION meaning_of_life() RETURNS bigint RETURN 42; \ No newline at end of file diff --git a/test/parser/trino/syntax/fixtures/create_materialized_view.sql b/test/parser/trino/syntax/fixtures/create_materialized_view.sql index 4523110f..ec690a05 100644 --- a/test/parser/trino/syntax/fixtures/create_materialized_view.sql +++ b/test/parser/trino/syntax/fixtures/create_materialized_view.sql @@ -3,3 +3,31 @@ CREATE OR REPLACE MATERIALIZED VIEW catalog.schema.matview COMMENT 'A simple mat CREATE OR REPLACE MATERIALIZED VIEW catalog.schema.matview COMMENT 'A simple materialized view' AS SELECT * FROM catalog2.schema2.tab; CREATE OR REPLACE MATERIALIZED VIEW catalog.schema.matview COMMENT 'A simple materialized view'WITH (partitioned_by = ARRAY ['dateint']) AS SELECT * FROM catalog2.schema2.tab; CREATE OR REPLACE MATERIALIZED VIEW catalog.schema.matview COMMENT 'A partitioned materialized view' WITH (partitioned_by = ARRAY ['dateint']) AS WITH a (t, u) AS (SELECT * FROM x), b AS (SELECT * FROM a) TABLE b; + +CREATE MATERIALIZED VIEW cancelled_orders +AS + SELECT orderkey, totalprice + FROM orders + WHERE orderstatus = 3; + +CREATE OR REPLACE MATERIALIZED VIEW order_totals_by_date +AS + SELECT orderdate, sum(totalprice) AS price + FROM orders + GROUP BY orderdate; + +CREATE MATERIALIZED VIEW orders_nation_mkgsegment +COMMENT 'Orders with nation and market segment data' +WITH ( partitioning = ARRAY['mktsegment', 'nationkey'] ) +AS + SELECT o.*, c.nationkey, c.mktsegment + FROM orders AS o + JOIN customer AS c + ON o.custkey = c.custkey; + +CREATE OR REPLACE MATERIALIZED VIEW +IF NOT EXISTS orders_nation_mkgsegment +GRACE PERIOD INTERVAL '1' YEAR +COMMENT 'Orders with nation and market segment data' +WITH ( partitioning = ARRAY['mktsegment', 'nationkey'] ) +AS SELECT * FROM t; \ No newline at end of file diff --git a/test/parser/trino/syntax/fixtures/create_table.sql b/test/parser/trino/syntax/fixtures/create_table.sql index 191dc6b9..f052e64c 100644 --- a/test/parser/trino/syntax/fixtures/create_table.sql +++ b/test/parser/trino/syntax/fixtures/create_table.sql @@ -1,2 +1,3 @@ CREATE TABLE IF NOT EXISTS bar (LIKE like_table); CREATE TABLE IF NOT EXISTS bar (LIKE like_table INCLUDING PROPERTIES); +CREATE OR REPLACE TABLE IF NOT EXISTS bar (LIKE like_table); diff --git a/test/parser/trino/syntax/fixtures/drop_catalog.sql b/test/parser/trino/syntax/fixtures/drop_catalog.sql new file mode 100644 index 00000000..a2d4ed3b --- /dev/null +++ b/test/parser/trino/syntax/fixtures/drop_catalog.sql @@ -0,0 +1 @@ +DROP CATALOG example; \ No newline at end of file diff --git a/test/parser/trino/syntax/fixtures/drop_function.sql b/test/parser/trino/syntax/fixtures/drop_function.sql new file mode 100644 index 00000000..dad1bb01 --- /dev/null +++ b/test/parser/trino/syntax/fixtures/drop_function.sql @@ -0,0 +1,5 @@ +DROP FUNCTION example.default.meaning_of_life(); + +DROP FUNCTION multiply_by_two(bigint); + +DROP FUNCTION meaning_of_life(); \ No newline at end of file diff --git a/test/parser/trino/syntax/fixtures/execute.sql b/test/parser/trino/syntax/fixtures/execute.sql index ac7c7d9b..94ff3428 100644 --- a/test/parser/trino/syntax/fixtures/execute.sql +++ b/test/parser/trino/syntax/fixtures/execute.sql @@ -9,3 +9,11 @@ PREPARE my_select2 FROM SELECT name FROM nation WHERE regionkey = ? and nationkey < ?; EXECUTE my_select2 USING 1, 3; + +EXECUTE IMMEDIATE +'SELECT name FROM nation'; + + +EXECUTE IMMEDIATE +'SELECT name FROM nation WHERE regionkey = ? and nationkey < ?' +USING 1, 3; diff --git a/test/parser/trino/syntax/fixtures/reset_session.sql b/test/parser/trino/syntax/fixtures/reset_session.sql index 859afa76..a4608f00 100644 --- a/test/parser/trino/syntax/fixtures/reset_session.sql +++ b/test/parser/trino/syntax/fixtures/reset_session.sql @@ -1,2 +1,4 @@ RESET SESSION foo.bar; RESET SESSION foo; + +RESET SESSION AUTHORIZATION \ No newline at end of file diff --git a/test/parser/trino/syntax/fixtures/select_function_tables.sql b/test/parser/trino/syntax/fixtures/select_function_tables.sql new file mode 100644 index 00000000..bc17ef3e --- /dev/null +++ b/test/parser/trino/syntax/fixtures/select_function_tables.sql @@ -0,0 +1,16 @@ +SELECT * FROM TABLE(my_function(1, 100)); + +SELECT * +FROM TABLE(exclude_columns( + input => TABLE(orders), + columns => DESCRIPTOR(clerk, comment))); + +SELECT * +FROM TABLE(sequence( + start => 1000000, + stop => -2000000, + step => -3)); + +SELECT * FROM TABLE(schema_name.my_function(1, 100)); + +SELECT * FROM TABLE(catalog_name.schema_name.my_function(1, 100)); \ No newline at end of file diff --git a/test/parser/trino/syntax/fixtures/set_session.sql b/test/parser/trino/syntax/fixtures/set_session.sql index 159d4b9e..f346fcf4 100644 --- a/test/parser/trino/syntax/fixtures/set_session.sql +++ b/test/parser/trino/syntax/fixtures/set_session.sql @@ -2,3 +2,7 @@ SET SESSION foo = 'bar'; SET SESSION foo.bar = 'baz'; SET SESSION foo.bar.boo = 'baz'; SET SESSION foo.bar = 'ban' || 'ana'; + +SET SESSION AUTHORIZATION 'John'; +SET SESSION AUTHORIZATION John; +SET SESSION AUTHORIZATION "John"; \ No newline at end of file diff --git a/test/parser/trino/syntax/fixtures/show_create.sql b/test/parser/trino/syntax/fixtures/show_create.sql index 083d87cf..32459786 100644 --- a/test/parser/trino/syntax/fixtures/show_create.sql +++ b/test/parser/trino/syntax/fixtures/show_create.sql @@ -10,7 +10,6 @@ SHOW CREATE MATERIALIZED VIEW cancelled_orders AS SELECT orderkey, totalprice FROM orders - WHERE orderstatus = 3; - - + WHERE orderstatus = 3; +SHOW CREATE FUNCTION example.default.meaning_of_life; \ No newline at end of file diff --git a/test/parser/trino/syntax/selectStatement.test.ts b/test/parser/trino/syntax/selectStatement.test.ts index e99900de..10a93a7d 100644 --- a/test/parser/trino/syntax/selectStatement.test.ts +++ b/test/parser/trino/syntax/selectStatement.test.ts @@ -14,6 +14,7 @@ const features = { selectWithUNNEST: readSQL(__dirname, 'select_with_ unnest.sql'), selectWithExists: readSQL(__dirname, 'select_with_exists.sql'), selectWithUnion: readSQL(__dirname, 'select_with_union.sql'), + selectFunctionTables: readSQL(__dirname, 'select_function_tables.sql'), }; describe('TrinoSQL Select Statements Syntax Tests', () => { @@ -79,4 +80,9 @@ describe('TrinoSQL Select Statements Syntax Tests', () => { expect(trino.validate(sql).length).toBe(0); }); }); + features.selectFunctionTables.forEach((sql) => { + it(sql, () => { + expect(trino.validate(sql).length).toBe(0); + }); + }); }); From 029361968d1830600ff27b4fc309b6af4b0474f2 Mon Sep 17 00:00:00 2001 From: Hayden Date: Thu, 27 Jun 2024 19:49:28 +0800 Subject: [PATCH 6/6] feat: correct types --- src/grammar/trino/TrinoSql.g4 | 2 +- src/lib/trino/TrinoSqlParser.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/grammar/trino/TrinoSql.g4 b/src/grammar/trino/TrinoSql.g4 index 4c1c6bf8..ed74b529 100644 --- a/src/grammar/trino/TrinoSql.g4 +++ b/src/grammar/trino/TrinoSql.g4 @@ -538,7 +538,7 @@ booleanExpression ; // workaround for https://github.com/antlr/antlr4/issues/780 -predicate[ParserRuleContext value] +predicate[antlr.ParserRuleContext value] : comparisonOperator right=valueExpression # comparison | comparisonOperator comparisonQuantifier '(' query ')' # quantifiedComparison | KW_NOT? KW_BETWEEN lower=valueExpression KW_AND upper=valueExpression # between diff --git a/src/lib/trino/TrinoSqlParser.ts b/src/lib/trino/TrinoSqlParser.ts index 110da9f4..bf394649 100644 --- a/src/lib/trino/TrinoSqlParser.ts +++ b/src/lib/trino/TrinoSqlParser.ts @@ -8913,7 +8913,7 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public predicate(value: ParserRuleContext): PredicateContext { + public predicate(value: antlr.ParserRuleContext): PredicateContext { let localContext = new PredicateContext(this.context, this.state, value); this.enterRule(localContext, 140, TrinoSqlParser.RULE_predicate); let _la: number; @@ -25959,8 +25959,8 @@ export class AndContext extends BooleanExpressionContext { export class PredicateContext extends antlr.ParserRuleContext { - public value: ParserRuleContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number, value: ParserRuleContext) { + public value: antlr.ParserRuleContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number, value: antlr.ParserRuleContext) { super(parent, invokingState); this.value = value; }