UNPKG

@neo4j-cypher/language-support

Version:
1,142 lines 258 kB
import { ATN, DFA, FailedPredicateException, Parser, ParserRuleContext, TerminalNode, Token, TokenStream } from 'antlr4'; import CypherCmdParserListener from "./CypherCmdParserListener.js"; import CypherCmdParserVisitor from "./CypherCmdParserVisitor.js"; export default class CypherCmdParser extends Parser { static readonly PARAM = 1; static readonly CLEAR = 2; static readonly HISTORY = 3; static readonly EXPLAIN = 4; static readonly PROFILE = 5; static readonly SPACE = 6; static readonly SINGLE_LINE_COMMENT = 7; static readonly MULTI_LINE_COMMENT = 8; static readonly DECIMAL_DOUBLE = 9; static readonly UNSIGNED_DECIMAL_INTEGER = 10; static readonly UNSIGNED_HEX_INTEGER = 11; static readonly UNSIGNED_OCTAL_INTEGER = 12; static readonly STRING_LITERAL1 = 13; static readonly STRING_LITERAL2 = 14; static readonly ESCAPED_SYMBOLIC_NAME = 15; static readonly ACCESS = 16; static readonly ACTIVE = 17; static readonly ADMIN = 18; static readonly ADMINISTRATOR = 19; static readonly ALIAS = 20; static readonly ALIASES = 21; static readonly ALL_SHORTEST_PATHS = 22; static readonly ALL = 23; static readonly ALTER = 24; static readonly AND = 25; static readonly ANY = 26; static readonly ARRAY = 27; static readonly AS = 28; static readonly ASC = 29; static readonly ASCENDING = 30; static readonly ASSERT = 31; static readonly ASSIGN = 32; static readonly AT = 33; static readonly BAR = 34; static readonly BINDINGS = 35; static readonly BOOL = 36; static readonly BOOLEAN = 37; static readonly BOOSTED = 38; static readonly BOTH = 39; static readonly BREAK = 40; static readonly BRIEF = 41; static readonly BTREE = 42; static readonly BUILT = 43; static readonly BY = 44; static readonly CALL = 45; static readonly CASE = 46; static readonly CHANGE = 47; static readonly CIDR = 48; static readonly COLLECT = 49; static readonly COLON = 50; static readonly COLONCOLON = 51; static readonly COMMA = 52; static readonly COMMAND = 53; static readonly COMMANDS = 54; static readonly COMMIT = 55; static readonly COMPOSITE = 56; static readonly CONCURRENT = 57; static readonly CONSTRAINT = 58; static readonly CONSTRAINTS = 59; static readonly CONTAINS = 60; static readonly COPY = 61; static readonly CONTINUE = 62; static readonly COUNT = 63; static readonly CREATE = 64; static readonly CSV = 65; static readonly CURRENT = 66; static readonly DATA = 67; static readonly DATABASE = 68; static readonly DATABASES = 69; static readonly DATE = 70; static readonly DATETIME = 71; static readonly DBMS = 72; static readonly DEALLOCATE = 73; static readonly DEFAULT = 74; static readonly DEFINED = 75; static readonly DELETE = 76; static readonly DENY = 77; static readonly DESC = 78; static readonly DESCENDING = 79; static readonly DESTROY = 80; static readonly DETACH = 81; static readonly DIFFERENT = 82; static readonly DOLLAR = 83; static readonly DISTINCT = 84; static readonly DIVIDE = 85; static readonly DOT = 86; static readonly DOTDOT = 87; static readonly DOUBLEBAR = 88; static readonly DRIVER = 89; static readonly DROP = 90; static readonly DRYRUN = 91; static readonly DUMP = 92; static readonly DURATION = 93; static readonly EACH = 94; static readonly EDGE = 95; static readonly ENABLE = 96; static readonly ELEMENT = 97; static readonly ELEMENTS = 98; static readonly ELSE = 99; static readonly ENCRYPTED = 100; static readonly END = 101; static readonly ENDS = 102; static readonly EQ = 103; static readonly EXECUTABLE = 104; static readonly EXECUTE = 105; static readonly EXIST = 106; static readonly EXISTENCE = 107; static readonly EXISTS = 108; static readonly ERROR = 109; static readonly FAIL = 110; static readonly FALSE = 111; static readonly FIELDTERMINATOR = 112; static readonly FINISH = 113; static readonly FLOAT = 114; static readonly FOR = 115; static readonly FOREACH = 116; static readonly FROM = 117; static readonly FULLTEXT = 118; static readonly FUNCTION = 119; static readonly FUNCTIONS = 120; static readonly GE = 121; static readonly GRANT = 122; static readonly GRAPH = 123; static readonly GRAPHS = 124; static readonly GROUP = 125; static readonly GROUPS = 126; static readonly GT = 127; static readonly HEADERS = 128; static readonly HOME = 129; static readonly IF = 130; static readonly IMPERSONATE = 131; static readonly IMMUTABLE = 132; static readonly IN = 133; static readonly INDEX = 134; static readonly INDEXES = 135; static readonly INF = 136; static readonly INFINITY = 137; static readonly INSERT = 138; static readonly INT = 139; static readonly INTEGER = 140; static readonly IS = 141; static readonly JOIN = 142; static readonly KEY = 143; static readonly LABEL = 144; static readonly LABELS = 145; static readonly AMPERSAND = 146; static readonly EXCLAMATION_MARK = 147; static readonly LBRACKET = 148; static readonly LCURLY = 149; static readonly LE = 150; static readonly LEADING = 151; static readonly LIMITROWS = 152; static readonly LIST = 153; static readonly LOAD = 154; static readonly LOCAL = 155; static readonly LOOKUP = 156; static readonly LPAREN = 157; static readonly LT = 158; static readonly MANAGEMENT = 159; static readonly MAP = 160; static readonly MATCH = 161; static readonly MERGE = 162; static readonly MINUS = 163; static readonly PERCENT = 164; static readonly INVALID_NEQ = 165; static readonly NEQ = 166; static readonly NAME = 167; static readonly NAMES = 168; static readonly NAN = 169; static readonly NFC = 170; static readonly NFD = 171; static readonly NFKC = 172; static readonly NFKD = 173; static readonly NEW = 174; static readonly NODE = 175; static readonly NODETACH = 176; static readonly NODES = 177; static readonly NONE = 178; static readonly NORMALIZE = 179; static readonly NORMALIZED = 180; static readonly NOT = 181; static readonly NOTHING = 182; static readonly NOWAIT = 183; static readonly NULL = 184; static readonly OF = 185; static readonly ON = 186; static readonly ONLY = 187; static readonly OPTIONAL = 188; static readonly OPTIONS = 189; static readonly OPTION = 190; static readonly OR = 191; static readonly ORDER = 192; static readonly OUTPUT = 193; static readonly PASSWORD = 194; static readonly PASSWORDS = 195; static readonly PATH = 196; static readonly PATHS = 197; static readonly PERIODIC = 198; static readonly PLAINTEXT = 199; static readonly PLUS = 200; static readonly PLUSEQUAL = 201; static readonly POINT = 202; static readonly POPULATED = 203; static readonly POW = 204; static readonly PRIMARY = 205; static readonly PRIMARIES = 206; static readonly PRIVILEGE = 207; static readonly PRIVILEGES = 208; static readonly PROCEDURE = 209; static readonly PROCEDURES = 210; static readonly PROPERTIES = 211; static readonly PROPERTY = 212; static readonly QUESTION = 213; static readonly RANGE = 214; static readonly RBRACKET = 215; static readonly RCURLY = 216; static readonly READ = 217; static readonly REALLOCATE = 218; static readonly REDUCE = 219; static readonly RENAME = 220; static readonly REGEQ = 221; static readonly REL = 222; static readonly RELATIONSHIP = 223; static readonly RELATIONSHIPS = 224; static readonly REMOVE = 225; static readonly REPEATABLE = 226; static readonly REPLACE = 227; static readonly REPORT = 228; static readonly REQUIRE = 229; static readonly REQUIRED = 230; static readonly RETURN = 231; static readonly REVOKE = 232; static readonly ROLE = 233; static readonly ROLES = 234; static readonly ROW = 235; static readonly ROWS = 236; static readonly RPAREN = 237; static readonly SCAN = 238; static readonly SEC = 239; static readonly SECOND = 240; static readonly SECONDARY = 241; static readonly SECONDARIES = 242; static readonly SECONDS = 243; static readonly SEEK = 244; static readonly SEMICOLON = 245; static readonly SERVER = 246; static readonly SERVERS = 247; static readonly SET = 248; static readonly SETTING = 249; static readonly SETTINGS = 250; static readonly SHORTEST_PATH = 251; static readonly SHORTEST = 252; static readonly SHOW = 253; static readonly SIGNED = 254; static readonly SINGLE = 255; static readonly SKIPROWS = 256; static readonly START = 257; static readonly STARTS = 258; static readonly STATUS = 259; static readonly STOP = 260; static readonly STRING = 261; static readonly SUPPORTED = 262; static readonly SUSPENDED = 263; static readonly TARGET = 264; static readonly TERMINATE = 265; static readonly TEXT = 266; static readonly THEN = 267; static readonly TIME = 268; static readonly TIMES = 269; static readonly TIMESTAMP = 270; static readonly TIMEZONE = 271; static readonly TO = 272; static readonly TOPOLOGY = 273; static readonly TRAILING = 274; static readonly TRANSACTION = 275; static readonly TRANSACTIONS = 276; static readonly TRAVERSE = 277; static readonly TRIM = 278; static readonly TRUE = 279; static readonly TYPE = 280; static readonly TYPED = 281; static readonly TYPES = 282; static readonly UNION = 283; static readonly UNIQUE = 284; static readonly UNIQUENESS = 285; static readonly UNWIND = 286; static readonly URL = 287; static readonly USE = 288; static readonly USER = 289; static readonly USERS = 290; static readonly USING = 291; static readonly VALUE = 292; static readonly VARCHAR = 293; static readonly VECTOR = 294; static readonly VERBOSE = 295; static readonly VERTEX = 296; static readonly WAIT = 297; static readonly WHEN = 298; static readonly WHERE = 299; static readonly WITH = 300; static readonly WITHOUT = 301; static readonly WRITE = 302; static readonly XOR = 303; static readonly YIELD = 304; static readonly ZONED = 305; static readonly IDENTIFIER = 306; static readonly ARROW_LINE = 307; static readonly ARROW_LEFT_HEAD = 308; static readonly ARROW_RIGHT_HEAD = 309; static readonly ErrorChar = 310; static readonly EOF: number; static readonly RULE_statementsOrCommands = 0; static readonly RULE_statementOrCommand = 1; static readonly RULE_consoleCommand = 2; static readonly RULE_paramsCmd = 3; static readonly RULE_paramsArgs = 4; static readonly RULE_lambda = 5; static readonly RULE_clearCmd = 6; static readonly RULE_historyCmd = 7; static readonly RULE_useCmd = 8; static readonly RULE_listCompletionRule = 9; static readonly RULE_useCompletionRule = 10; static readonly RULE_preparsedStatement = 11; static readonly RULE_preparserOption = 12; static readonly RULE_statements = 13; static readonly RULE_statement = 14; static readonly RULE_periodicCommitQueryHintFailure = 15; static readonly RULE_regularQuery = 16; static readonly RULE_singleQuery = 17; static readonly RULE_clause = 18; static readonly RULE_useClause = 19; static readonly RULE_graphReference = 20; static readonly RULE_finishClause = 21; static readonly RULE_returnClause = 22; static readonly RULE_returnBody = 23; static readonly RULE_returnItem = 24; static readonly RULE_returnItems = 25; static readonly RULE_orderItem = 26; static readonly RULE_ascToken = 27; static readonly RULE_descToken = 28; static readonly RULE_orderBy = 29; static readonly RULE_skip = 30; static readonly RULE_limit = 31; static readonly RULE_whereClause = 32; static readonly RULE_withClause = 33; static readonly RULE_createClause = 34; static readonly RULE_insertClause = 35; static readonly RULE_setClause = 36; static readonly RULE_setItem = 37; static readonly RULE_removeClause = 38; static readonly RULE_removeItem = 39; static readonly RULE_deleteClause = 40; static readonly RULE_matchClause = 41; static readonly RULE_matchMode = 42; static readonly RULE_hint = 43; static readonly RULE_mergeClause = 44; static readonly RULE_mergeAction = 45; static readonly RULE_unwindClause = 46; static readonly RULE_callClause = 47; static readonly RULE_procedureName = 48; static readonly RULE_procedureArgument = 49; static readonly RULE_procedureResultItem = 50; static readonly RULE_loadCSVClause = 51; static readonly RULE_foreachClause = 52; static readonly RULE_subqueryClause = 53; static readonly RULE_subqueryInTransactionsParameters = 54; static readonly RULE_subqueryInTransactionsBatchParameters = 55; static readonly RULE_subqueryInTransactionsErrorParameters = 56; static readonly RULE_subqueryInTransactionsReportParameters = 57; static readonly RULE_patternList = 58; static readonly RULE_insertPatternList = 59; static readonly RULE_pattern = 60; static readonly RULE_insertPattern = 61; static readonly RULE_quantifier = 62; static readonly RULE_anonymousPattern = 63; static readonly RULE_shortestPathPattern = 64; static readonly RULE_patternElement = 65; static readonly RULE_selector = 66; static readonly RULE_groupToken = 67; static readonly RULE_pathToken = 68; static readonly RULE_pathPatternNonEmpty = 69; static readonly RULE_nodePattern = 70; static readonly RULE_insertNodePattern = 71; static readonly RULE_parenthesizedPath = 72; static readonly RULE_nodeLabels = 73; static readonly RULE_nodeLabelsIs = 74; static readonly RULE_labelType = 75; static readonly RULE_relType = 76; static readonly RULE_labelOrRelType = 77; static readonly RULE_properties = 78; static readonly RULE_relationshipPattern = 79; static readonly RULE_insertRelationshipPattern = 80; static readonly RULE_leftArrow = 81; static readonly RULE_arrowLine = 82; static readonly RULE_rightArrow = 83; static readonly RULE_pathLength = 84; static readonly RULE_labelExpression = 85; static readonly RULE_labelExpression4 = 86; static readonly RULE_labelExpression4Is = 87; static readonly RULE_labelExpression3 = 88; static readonly RULE_labelExpression3Is = 89; static readonly RULE_labelExpression2 = 90; static readonly RULE_labelExpression2Is = 91; static readonly RULE_labelExpression1 = 92; static readonly RULE_labelExpression1Is = 93; static readonly RULE_insertNodeLabelExpression = 94; static readonly RULE_insertRelationshipLabelExpression = 95; static readonly RULE_expression = 96; static readonly RULE_expression11 = 97; static readonly RULE_expression10 = 98; static readonly RULE_expression9 = 99; static readonly RULE_expression8 = 100; static readonly RULE_expression7 = 101; static readonly RULE_comparisonExpression6 = 102; static readonly RULE_normalForm = 103; static readonly RULE_expression6 = 104; static readonly RULE_expression5 = 105; static readonly RULE_expression4 = 106; static readonly RULE_expression3 = 107; static readonly RULE_expression2 = 108; static readonly RULE_postFix = 109; static readonly RULE_property = 110; static readonly RULE_propertyExpression = 111; static readonly RULE_expression1 = 112; static readonly RULE_literal = 113; static readonly RULE_caseExpression = 114; static readonly RULE_caseAlternative = 115; static readonly RULE_extendedCaseExpression = 116; static readonly RULE_extendedCaseAlternative = 117; static readonly RULE_extendedWhen = 118; static readonly RULE_listComprehension = 119; static readonly RULE_patternComprehension = 120; static readonly RULE_reduceExpression = 121; static readonly RULE_listItemsPredicate = 122; static readonly RULE_normalizeFunction = 123; static readonly RULE_trimFunction = 124; static readonly RULE_patternExpression = 125; static readonly RULE_shortestPathExpression = 126; static readonly RULE_parenthesizedExpression = 127; static readonly RULE_mapProjection = 128; static readonly RULE_mapProjectionElement = 129; static readonly RULE_countStar = 130; static readonly RULE_existsExpression = 131; static readonly RULE_countExpression = 132; static readonly RULE_collectExpression = 133; static readonly RULE_numberLiteral = 134; static readonly RULE_signedIntegerLiteral = 135; static readonly RULE_listLiteral = 136; static readonly RULE_propertyKeyName = 137; static readonly RULE_parameter = 138; static readonly RULE_parameterName = 139; static readonly RULE_functionInvocation = 140; static readonly RULE_functionArgument = 141; static readonly RULE_functionName = 142; static readonly RULE_namespace = 143; static readonly RULE_variable = 144; static readonly RULE_nonEmptyNameList = 145; static readonly RULE_command = 146; static readonly RULE_createCommand = 147; static readonly RULE_dropCommand = 148; static readonly RULE_alterCommand = 149; static readonly RULE_renameCommand = 150; static readonly RULE_showCommand = 151; static readonly RULE_showCommandYield = 152; static readonly RULE_yieldItem = 153; static readonly RULE_yieldSkip = 154; static readonly RULE_yieldLimit = 155; static readonly RULE_yieldClause = 156; static readonly RULE_showBriefAndYield = 157; static readonly RULE_showIndexCommand = 158; static readonly RULE_showIndexesAllowBrief = 159; static readonly RULE_showIndexesNoBrief = 160; static readonly RULE_showConstraintCommand = 161; static readonly RULE_constraintAllowYieldType = 162; static readonly RULE_constraintExistType = 163; static readonly RULE_constraintBriefAndYieldType = 164; static readonly RULE_showConstraintsAllowBriefAndYield = 165; static readonly RULE_showConstraintsAllowBrief = 166; static readonly RULE_showConstraintsAllowYield = 167; static readonly RULE_showProcedures = 168; static readonly RULE_showFunctions = 169; static readonly RULE_functionToken = 170; static readonly RULE_executableBy = 171; static readonly RULE_showFunctionsType = 172; static readonly RULE_showTransactions = 173; static readonly RULE_terminateCommand = 174; static readonly RULE_terminateTransactions = 175; static readonly RULE_showSettings = 176; static readonly RULE_settingToken = 177; static readonly RULE_namesAndClauses = 178; static readonly RULE_composableCommandClauses = 179; static readonly RULE_composableShowCommandClauses = 180; static readonly RULE_stringsOrExpression = 181; static readonly RULE_type = 182; static readonly RULE_typePart = 183; static readonly RULE_typeName = 184; static readonly RULE_typeNullability = 185; static readonly RULE_typeListSuffix = 186; static readonly RULE_commandNodePattern = 187; static readonly RULE_commandRelPattern = 188; static readonly RULE_createConstraint = 189; static readonly RULE_constraintType = 190; static readonly RULE_dropConstraint = 191; static readonly RULE_createIndex = 192; static readonly RULE_oldCreateIndex = 193; static readonly RULE_createIndex_ = 194; static readonly RULE_createFulltextIndex = 195; static readonly RULE_fulltextNodePattern = 196; static readonly RULE_fulltextRelPattern = 197; static readonly RULE_createLookupIndex = 198; static readonly RULE_lookupIndexNodePattern = 199; static readonly RULE_lookupIndexRelPattern = 200; static readonly RULE_dropIndex = 201; static readonly RULE_propertyList = 202; static readonly RULE_enableServerCommand = 203; static readonly RULE_alterServer = 204; static readonly RULE_renameServer = 205; static readonly RULE_dropServer = 206; static readonly RULE_showServers = 207; static readonly RULE_allocationCommand = 208; static readonly RULE_deallocateDatabaseFromServers = 209; static readonly RULE_reallocateDatabases = 210; static readonly RULE_createRole = 211; static readonly RULE_dropRole = 212; static readonly RULE_renameRole = 213; static readonly RULE_showRoles = 214; static readonly RULE_roleToken = 215; static readonly RULE_createUser = 216; static readonly RULE_dropUser = 217; static readonly RULE_renameUser = 218; static readonly RULE_alterCurrentUser = 219; static readonly RULE_alterUser = 220; static readonly RULE_password = 221; static readonly RULE_passwordExpression = 222; static readonly RULE_passwordChangeRequired = 223; static readonly RULE_userStatus = 224; static readonly RULE_homeDatabase = 225; static readonly RULE_showUsers = 226; static readonly RULE_showCurrentUser = 227; static readonly RULE_showPrivileges = 228; static readonly RULE_showSupportedPrivileges = 229; static readonly RULE_showRolePrivileges = 230; static readonly RULE_showUserPrivileges = 231; static readonly RULE_privilegeAsCommand = 232; static readonly RULE_privilegeToken = 233; static readonly RULE_grantCommand = 234; static readonly RULE_grantRole = 235; static readonly RULE_userNames = 236; static readonly RULE_roleNames = 237; static readonly RULE_denyCommand = 238; static readonly RULE_revokeCommand = 239; static readonly RULE_revokeRole = 240; static readonly RULE_privilege = 241; static readonly RULE_allPrivilege = 242; static readonly RULE_allPrivilegeType = 243; static readonly RULE_allPrivilegeTarget = 244; static readonly RULE_createPrivilege = 245; static readonly RULE_createPrivilegeForDatabase = 246; static readonly RULE_createNodePrivilegeToken = 247; static readonly RULE_createRelPrivilegeToken = 248; static readonly RULE_createPropertyPrivilegeToken = 249; static readonly RULE_actionForDBMS = 250; static readonly RULE_dropPrivilege = 251; static readonly RULE_loadPrivilege = 252; static readonly RULE_showPrivilege = 253; static readonly RULE_setPrivilege = 254; static readonly RULE_passwordToken = 255; static readonly RULE_removePrivilege = 256; static readonly RULE_writePrivilege = 257; static readonly RULE_databasePrivilege = 258; static readonly RULE_dbmsPrivilege = 259; static readonly RULE_dbmsPrivilegeExecute = 260; static readonly RULE_adminToken = 261; static readonly RULE_procedureToken = 262; static readonly RULE_indexToken = 263; static readonly RULE_constraintToken = 264; static readonly RULE_transactionToken = 265; static readonly RULE_userQualifier = 266; static readonly RULE_executeFunctionQualifier = 267; static readonly RULE_executeProcedureQualifier = 268; static readonly RULE_settingQualifier = 269; static readonly RULE_globs = 270; static readonly RULE_qualifiedGraphPrivilegesWithProperty = 271; static readonly RULE_qualifiedGraphPrivileges = 272; static readonly RULE_labelsResource = 273; static readonly RULE_propertiesResource = 274; static readonly RULE_nonEmptyStringList = 275; static readonly RULE_graphQualifier = 276; static readonly RULE_graphQualifierToken = 277; static readonly RULE_relToken = 278; static readonly RULE_elementToken = 279; static readonly RULE_nodeToken = 280; static readonly RULE_createCompositeDatabase = 281; static readonly RULE_createDatabase = 282; static readonly RULE_primaryTopology = 283; static readonly RULE_primaryToken = 284; static readonly RULE_secondaryTopology = 285; static readonly RULE_secondaryToken = 286; static readonly RULE_dropDatabase = 287; static readonly RULE_alterDatabase = 288; static readonly RULE_alterDatabaseAccess = 289; static readonly RULE_alterDatabaseTopology = 290; static readonly RULE_alterDatabaseOption = 291; static readonly RULE_startDatabase = 292; static readonly RULE_stopDatabase = 293; static readonly RULE_waitClause = 294; static readonly RULE_secondsToken = 295; static readonly RULE_showDatabase = 296; static readonly RULE_databaseScope = 297; static readonly RULE_graphScope = 298; static readonly RULE_commandOptions = 299; static readonly RULE_commandNameExpression = 300; static readonly RULE_symbolicNameOrStringParameter = 301; static readonly RULE_createAlias = 302; static readonly RULE_dropAlias = 303; static readonly RULE_alterAlias = 304; static readonly RULE_alterAliasTarget = 305; static readonly RULE_alterAliasUser = 306; static readonly RULE_alterAliasPassword = 307; static readonly RULE_alterAliasDriver = 308; static readonly RULE_alterAliasProperties = 309; static readonly RULE_showAliases = 310; static readonly RULE_symbolicAliasNameList = 311; static readonly RULE_symbolicAliasNameOrParameter = 312; static readonly RULE_symbolicAliasName = 313; static readonly RULE_symbolicNameOrStringParameterList = 314; static readonly RULE_glob = 315; static readonly RULE_globRecursive = 316; static readonly RULE_globPart = 317; static readonly RULE_stringList = 318; static readonly RULE_stringLiteral = 319; static readonly RULE_stringOrParameter = 320; static readonly RULE_mapOrParameter = 321; static readonly RULE_map = 322; static readonly RULE_symbolicNameString = 323; static readonly RULE_escapedSymbolicNameString = 324; static readonly RULE_unescapedSymbolicNameString = 325; static readonly RULE_symbolicLabelNameString = 326; static readonly RULE_unescapedLabelSymbolicNameString = 327; static readonly RULE_endOfFile = 328; static readonly literalNames: (string | null)[]; static readonly symbolicNames: (string | null)[]; static readonly ruleNames: string[]; get grammarFileName(): string; get literalNames(): (string | null)[]; get symbolicNames(): (string | null)[]; get ruleNames(): string[]; get serializedATN(): number[]; protected createFailedPredicateException(predicate?: string, message?: string): FailedPredicateException; constructor(input: TokenStream); statementsOrCommands(): StatementsOrCommandsContext; statementOrCommand(): StatementOrCommandContext; consoleCommand(): ConsoleCommandContext; paramsCmd(): ParamsCmdContext; paramsArgs(): ParamsArgsContext; lambda(): LambdaContext; clearCmd(): ClearCmdContext; historyCmd(): HistoryCmdContext; useCmd(): UseCmdContext; listCompletionRule(): ListCompletionRuleContext; useCompletionRule(): UseCompletionRuleContext; preparsedStatement(): PreparsedStatementContext; preparserOption(): PreparserOptionContext; statements(): StatementsContext; statement(): StatementContext; periodicCommitQueryHintFailure(): PeriodicCommitQueryHintFailureContext; regularQuery(): RegularQueryContext; singleQuery(): SingleQueryContext; clause(): ClauseContext; useClause(): UseClauseContext; graphReference(): GraphReferenceContext; finishClause(): FinishClauseContext; returnClause(): ReturnClauseContext; returnBody(): ReturnBodyContext; returnItem(): ReturnItemContext; returnItems(): ReturnItemsContext; orderItem(): OrderItemContext; ascToken(): AscTokenContext; descToken(): DescTokenContext; orderBy(): OrderByContext; skip(): SkipContext; limit(): LimitContext; whereClause(): WhereClauseContext; withClause(): WithClauseContext; createClause(): CreateClauseContext; insertClause(): InsertClauseContext; setClause(): SetClauseContext; setItem(): SetItemContext; removeClause(): RemoveClauseContext; removeItem(): RemoveItemContext; deleteClause(): DeleteClauseContext; matchClause(): MatchClauseContext; matchMode(): MatchModeContext; hint(): HintContext; mergeClause(): MergeClauseContext; mergeAction(): MergeActionContext; unwindClause(): UnwindClauseContext; callClause(): CallClauseContext; procedureName(): ProcedureNameContext; procedureArgument(): ProcedureArgumentContext; procedureResultItem(): ProcedureResultItemContext; loadCSVClause(): LoadCSVClauseContext; foreachClause(): ForeachClauseContext; subqueryClause(): SubqueryClauseContext; subqueryInTransactionsParameters(): SubqueryInTransactionsParametersContext; subqueryInTransactionsBatchParameters(): SubqueryInTransactionsBatchParametersContext; subqueryInTransactionsErrorParameters(): SubqueryInTransactionsErrorParametersContext; subqueryInTransactionsReportParameters(): SubqueryInTransactionsReportParametersContext; patternList(): PatternListContext; insertPatternList(): InsertPatternListContext; pattern(): PatternContext; insertPattern(): InsertPatternContext; quantifier(): QuantifierContext; anonymousPattern(): AnonymousPatternContext; shortestPathPattern(): ShortestPathPatternContext; patternElement(): PatternElementContext; selector(): SelectorContext; groupToken(): GroupTokenContext; pathToken(): PathTokenContext; pathPatternNonEmpty(): PathPatternNonEmptyContext; nodePattern(): NodePatternContext; insertNodePattern(): InsertNodePatternContext; parenthesizedPath(): ParenthesizedPathContext; nodeLabels(): NodeLabelsContext; nodeLabelsIs(): NodeLabelsIsContext; labelType(): LabelTypeContext; relType(): RelTypeContext; labelOrRelType(): LabelOrRelTypeContext; properties(): PropertiesContext; relationshipPattern(): RelationshipPatternContext; insertRelationshipPattern(): InsertRelationshipPatternContext; leftArrow(): LeftArrowContext; arrowLine(): ArrowLineContext; rightArrow(): RightArrowContext; pathLength(): PathLengthContext; labelExpression(): LabelExpressionContext; labelExpression4(): LabelExpression4Context; labelExpression4Is(): LabelExpression4IsContext; labelExpression3(): LabelExpression3Context; labelExpression3Is(): LabelExpression3IsContext; labelExpression2(): LabelExpression2Context; labelExpression2Is(): LabelExpression2IsContext; labelExpression1(): LabelExpression1Context; labelExpression1Is(): LabelExpression1IsContext; insertNodeLabelExpression(): InsertNodeLabelExpressionContext; insertRelationshipLabelExpression(): InsertRelationshipLabelExpressionContext; expression(): ExpressionContext; expression11(): Expression11Context; expression10(): Expression10Context; expression9(): Expression9Context; expression8(): Expression8Context; expression7(): Expression7Context; comparisonExpression6(): ComparisonExpression6Context; normalForm(): NormalFormContext; expression6(): Expression6Context; expression5(): Expression5Context; expression4(): Expression4Context; expression3(): Expression3Context; expression2(): Expression2Context; postFix(): PostFixContext; property(): PropertyContext; propertyExpression(): PropertyExpressionContext; expression1(): Expression1Context; literal(): LiteralContext; caseExpression(): CaseExpressionContext; caseAlternative(): CaseAlternativeContext; extendedCaseExpression(): ExtendedCaseExpressionContext; extendedCaseAlternative(): ExtendedCaseAlternativeContext; extendedWhen(): ExtendedWhenContext; listComprehension(): ListComprehensionContext; patternComprehension(): PatternComprehensionContext; reduceExpression(): ReduceExpressionContext; listItemsPredicate(): ListItemsPredicateContext; normalizeFunction(): NormalizeFunctionContext; trimFunction(): TrimFunctionContext; patternExpression(): PatternExpressionContext; shortestPathExpression(): ShortestPathExpressionContext; parenthesizedExpression(): ParenthesizedExpressionContext; mapProjection(): MapProjectionContext; mapProjectionElement(): MapProjectionElementContext; countStar(): CountStarContext; existsExpression(): ExistsExpressionContext; countExpression(): CountExpressionContext; collectExpression(): CollectExpressionContext; numberLiteral(): NumberLiteralContext; signedIntegerLiteral(): SignedIntegerLiteralContext; listLiteral(): ListLiteralContext; propertyKeyName(): PropertyKeyNameContext; parameter(paramType: String): ParameterContext; parameterName(): ParameterNameContext; functionInvocation(): FunctionInvocationContext; functionArgument(): FunctionArgumentContext; functionName(): FunctionNameContext; namespace(): NamespaceContext; variable(): VariableContext; nonEmptyNameList(): NonEmptyNameListContext; command(): CommandContext; createCommand(): CreateCommandContext; dropCommand(): DropCommandContext; alterCommand(): AlterCommandContext; renameCommand(): RenameCommandContext; showCommand(): ShowCommandContext; showCommandYield(): ShowCommandYieldContext; yieldItem(): YieldItemContext; yieldSkip(): YieldSkipContext; yieldLimit(): YieldLimitContext; yieldClause(): YieldClauseContext; showBriefAndYield(): ShowBriefAndYieldContext; showIndexCommand(): ShowIndexCommandContext; showIndexesAllowBrief(): ShowIndexesAllowBriefContext; showIndexesNoBrief(): ShowIndexesNoBriefContext; showConstraintCommand(): ShowConstraintCommandContext; constraintAllowYieldType(): ConstraintAllowYieldTypeContext; constraintExistType(): ConstraintExistTypeContext; constraintBriefAndYieldType(): ConstraintBriefAndYieldTypeContext; showConstraintsAllowBriefAndYield(): ShowConstraintsAllowBriefAndYieldContext; showConstraintsAllowBrief(): ShowConstraintsAllowBriefContext; showConstraintsAllowYield(): ShowConstraintsAllowYieldContext; showProcedures(): ShowProceduresContext; showFunctions(): ShowFunctionsContext; functionToken(): FunctionTokenContext; executableBy(): ExecutableByContext; showFunctionsType(): ShowFunctionsTypeContext; showTransactions(): ShowTransactionsContext; terminateCommand(): TerminateCommandContext; terminateTransactions(): TerminateTransactionsContext; showSettings(): ShowSettingsContext; settingToken(): SettingTokenContext; namesAndClauses(): NamesAndClausesContext; composableCommandClauses(): ComposableCommandClausesContext; composableShowCommandClauses(): ComposableShowCommandClausesContext; stringsOrExpression(): StringsOrExpressionContext; type_(): TypeContext; typePart(): TypePartContext; typeName(): TypeNameContext; typeNullability(): TypeNullabilityContext; typeListSuffix(): TypeListSuffixContext; commandNodePattern(): CommandNodePatternContext; commandRelPattern(): CommandRelPatternContext; createConstraint(): CreateConstraintContext; constraintType(): ConstraintTypeContext; dropConstraint(): DropConstraintContext; createIndex(): CreateIndexContext; oldCreateIndex(): OldCreateIndexContext; createIndex_(): CreateIndex_Context; createFulltextIndex(): CreateFulltextIndexContext; fulltextNodePattern(): FulltextNodePatternContext; fulltextRelPattern(): FulltextRelPatternContext; createLookupIndex(): CreateLookupIndexContext; lookupIndexNodePattern(): LookupIndexNodePatternContext; lookupIndexRelPattern(): LookupIndexRelPatternContext; dropIndex(): DropIndexContext; propertyList(): PropertyListContext; enableServerCommand(): EnableServerCommandContext; alterServer(): AlterServerContext; renameServer(): RenameServerContext; dropServer(): DropServerContext; showServers(): ShowServersContext; allocationCommand(): AllocationCommandContext; deallocateDatabaseFromServers(): DeallocateDatabaseFromServersContext; reallocateDatabases(): ReallocateDatabasesContext; createRole(): CreateRoleContext; dropRole(): DropRoleContext; renameRole(): RenameRoleContext; showRoles(): ShowRolesContext; roleToken(): RoleTokenContext; createUser(): CreateUserContext; dropUser(): DropUserContext; renameUser(): RenameUserContext; alterCurrentUser(): AlterCurrentUserContext; alterUser(): AlterUserContext; password(): PasswordContext; passwordExpression(): PasswordExpressionContext; passwordChangeRequired(): PasswordChangeRequiredContext; userStatus(): UserStatusContext; homeDatabase(): HomeDatabaseContext; showUsers(): ShowUsersContext; showCurrentUser(): ShowCurrentUserContext; showPrivileges(): ShowPrivilegesContext; showSupportedPrivileges(): ShowSupportedPrivilegesContext; showRolePrivileges(): ShowRolePrivilegesContext; showUserPrivileges(): ShowUserPrivilegesContext; privilegeAsCommand(): PrivilegeAsCommandContext; privilegeToken(): PrivilegeTokenContext; grantCommand(): GrantCommandContext; grantRole(): GrantRoleContext; userNames(): UserNamesContext; roleNames(): RoleNamesContext; denyCommand(): DenyCommandContext; revokeCommand(): RevokeCommandContext; revokeRole(): RevokeRoleContext; privilege(): PrivilegeContext; allPrivilege(): AllPrivilegeContext; allPrivilegeType(): AllPrivilegeTypeContext; allPrivilegeTarget(): AllPrivilegeTargetContext; createPrivilege(): CreatePrivilegeContext; createPrivilegeForDatabase(): CreatePrivilegeForDatabaseContext; createNodePrivilegeToken(): CreateNodePrivilegeTokenContext; createRelPrivilegeToken(): CreateRelPrivilegeTokenContext; createPropertyPrivilegeToken(): CreatePropertyPrivilegeTokenContext; actionForDBMS(): ActionForDBMSContext; dropPrivilege(): DropPrivilegeContext; loadPrivilege(): LoadPrivilegeContext; showPrivilege(): ShowPrivilegeContext; setPrivilege(): SetPrivilegeContext; passwordToken(): PasswordTokenContext; removePrivilege(): RemovePrivilegeContext; writePrivilege(): WritePrivilegeContext; databasePrivilege(): DatabasePrivilegeContext; dbmsPrivilege(): DbmsPrivilegeContext; dbmsPrivilegeExecute(): DbmsPrivilegeExecuteContext; adminToken(): AdminTokenContext; procedureToken(): ProcedureTokenContext; indexToken(): IndexTokenContext; constraintToken(): ConstraintTokenContext; transactionToken(): TransactionTokenContext; userQualifier(): UserQualifierContext; executeFunctionQualifier(): ExecuteFunctionQualifierContext; executeProcedureQualifier(): ExecuteProcedureQualifierContext; settingQualifier(): SettingQualifierContext; globs(): GlobsContext; qualifiedGraphPrivilegesWithProperty(): QualifiedGraphPrivilegesWithPropertyContext; qualifiedGraphPrivileges(): QualifiedGraphPrivilegesContext; labelsResource(): LabelsResourceContext; propertiesResource(): PropertiesResourceContext; nonEmptyStringList(): NonEmptyStringListContext; graphQualifier(): GraphQualifierContext; graphQualifierToken(): GraphQualifierTokenContext; relToken(): RelTokenContext; elementToken(): ElementTokenContext; nodeToken(): NodeTokenContext; createCompositeDatabase(): CreateCompositeDatabaseContext; createDatabase(): CreateDatabaseContext; primaryTopology(): PrimaryTopologyContext; primaryToken(): PrimaryTokenContext; secondaryTopology(): SecondaryTopologyContext; secondaryToken(): SecondaryTokenContext; dropDatabase(): DropDatabaseContext; alterDatabase(): AlterDatabaseContext; alterDatabaseAccess(): AlterDatabaseAccessContext; alterDatabaseTopology(): AlterDatabaseTopologyContext; alterDatabaseOption(): AlterDatabaseOptionContext; startDatabase(): StartDatabaseContext; stopDatabase(): StopDatabaseContext; waitClause(): WaitClauseContext; secondsToken(): SecondsTokenContext; showDatabase(): ShowDatabaseContext; databaseScope(): DatabaseScopeContext; graphScope(): GraphScopeContext; commandOptions(): CommandOptionsContext; commandNameExpression(): CommandNameExpressionContext; symbolicNameOrStringParameter(): SymbolicNameOrStringParameterContext; createAlias(): CreateAliasContext; dropAlias(): DropAliasContext; alterAlias(): AlterAliasContext; alterAliasTarget(): AlterAliasTargetContext; alterAliasUser(): AlterAliasUserContext; alterAliasPassword(): AlterAliasPasswordContext; alterAliasDriver(): AlterAliasDriverContext; alterAliasProperties(): AlterAliasPropertiesContext; showAliases(): ShowAliasesContext; symbolicAliasNameList(): SymbolicAliasNameListContext; symbolicAliasNameOrParameter(): SymbolicAliasNameOrParameterContext; symbolicAliasName(): SymbolicAliasNameContext; symbolicNameOrStringParameterList(): SymbolicNameOrStringParameterListContext; glob(): GlobContext; globRecursive(): GlobRecursiveContext; globPart(): GlobPartContext; stringList(): StringListContext; stringLiteral(): StringLiteralContext; stringOrParameter(): StringOrParameterContext; mapOrParameter(): MapOrParameterContext; map(): MapContext; symbolicNameString(): SymbolicNameStringContext; escapedSymbolicNameString(): EscapedSymbolicNameStringContext; unescapedSymbolicNameString(): UnescapedSymbolicNameStringContext; symbolicLabelNameString(): SymbolicLabelNameStringContext; unescapedLabelSymbolicNameString(): UnescapedLabelSymbolicNameStringContext; endOfFile(): EndOfFileContext; static readonly _serializedATN: number[]; private static __ATN; static get _ATN(): ATN; static DecisionsToDFA: DFA[]; } export declare class StatementsOrCommandsContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); statementOrCommand_list(): StatementOrCommandContext[]; statementOrCommand(i: number): StatementOrCommandContext; EOF(): TerminalNode; SEMICOLON_list(): TerminalNode[]; SEMICOLON(i: number): TerminalNode; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class StatementOrCommandContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); preparsedStatement(): PreparsedStatementContext; consoleCommand(): ConsoleCommandContext; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class ConsoleCommandContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); COLON(): TerminalNode; clearCmd(): ClearCmdContext; historyCmd(): HistoryCmdContext; useCmd(): UseCmdContext; paramsCmd(): ParamsCmdContext; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class ParamsCmdContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); PARAM(): TerminalNode; paramsArgs(): ParamsArgsContext; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class ParamsArgsContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); CLEAR(): TerminalNode; listCompletionRule(): ListCompletionRuleContext; map(): MapContext; lambda(): LambdaContext; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class LambdaContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); unescapedSymbolicNameString(): UnescapedSymbolicNameStringContext; EQ(): TerminalNode; GT(): TerminalNode; expression(): ExpressionContext; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class ClearCmdContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); CLEAR(): TerminalNode; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class HistoryCmdContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); HISTORY(): TerminalNode; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class UseCmdContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); useCompletionRule(): UseCompletionRuleContext; symbolicAliasName(): SymbolicAliasNameContext; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class ListCompletionRuleContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); LIST(): TerminalNode; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class UseCompletionRuleContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); USE(): TerminalNode; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class PreparsedStatementContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); statement(): StatementContext; preparserOption(): PreparserOptionContext; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class PreparserOptionContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); EXPLAIN(): TerminalNode; PROFILE(): TerminalNode; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class StatementsContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); statement_list(): StatementContext[]; statement(i: number): StatementContext; EOF(): TerminalNode; SEMICOLON_list(): TerminalNode[]; SEMICOLON(i: number): TerminalNode; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class StatementContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); command(): CommandContext; regularQuery(): RegularQueryContext; periodicCommitQueryHintFailure(): PeriodicCommitQueryHintFailureContext; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserListener): void; accept<Result>(visitor: CypherCmdParserVisitor<Result>): Result; } export declare class PeriodicCommitQueryHintFailureContext extends ParserRuleContext { constructor(parser?: CypherCmdParser, parent?: ParserRuleContext, invokingState?: number); USING(): TerminalNode; PERIODIC(): TerminalNode; COMMIT(): TerminalNode; UNSIGNED_DECIMAL_INTEGER(): TerminalNode; get ruleIndex(): number; enterRule(listener: CypherCmdParserListener): void; exitRule(listener: CypherCmdParserList