UNPKG

dt-sql-parser

Version:

SQL Parsers for BigData, built with antlr4

362 lines (361 loc) 13.3 kB
import * as antlr from "antlr4ng"; export declare class TrinoSqlLexer extends antlr.Lexer { static readonly T__0 = 1; static readonly T__1 = 2; static readonly T__2 = 3; static readonly T__3 = 4; static readonly T__4 = 5; static readonly T__5 = 6; static readonly T__6 = 7; static readonly T__7 = 8; static readonly T__8 = 9; static readonly T__9 = 10; static readonly T__10 = 11; static readonly T__11 = 12; static readonly T__12 = 13; static readonly T__13 = 14; static readonly T__14 = 15; static readonly T__15 = 16; static readonly T__16 = 17; static readonly KW_ABSENT = 18; static readonly KW_ADD = 19; static readonly KW_ADMIN = 20; static readonly KW_AFTER = 21; static readonly KW_ALL = 22; static readonly KW_ALTER = 23; static readonly KW_ANALYZE = 24; static readonly KW_AND = 25; static readonly KW_ANY = 26; static readonly KW_ARRAY = 27; static readonly KW_AS = 28; static readonly KW_ASC = 29; static readonly KW_AT = 30; static readonly KW_AUTHORIZATION = 31; static readonly KW_BEGIN = 32; static readonly KW_BERNOULLI = 33; static readonly KW_BETWEEN = 34; static readonly KW_BOTH = 35; static readonly KW_BY = 36; static readonly KW_CALL = 37; static readonly KW_CALLED = 38; static readonly KW_CASCADE = 39; static readonly KW_CASE = 40; static readonly KW_CAST = 41; static readonly KW_CATALOG = 42; static readonly KW_CATALOGS = 43; static readonly KW_COLUMN = 44; static readonly KW_COLUMNS = 45; static readonly KW_COMMENT = 46; static readonly KW_COMMIT = 47; static readonly KW_COMMITTED = 48; static readonly KW_CONDITIONAL = 49; static readonly KW_CONSTRAINT = 50; static readonly KW_COUNT = 51; static readonly KW_COPARTITION = 52; static readonly KW_CREATE = 53; static readonly KW_CROSS = 54; static readonly KW_CUBE = 55; static readonly KW_CURRENT = 56; static readonly KW_CURRENT_CATALOG = 57; static readonly KW_CURRENT_DATE = 58; static readonly KW_CURRENT_PATH = 59; static readonly KW_CURRENT_ROLE = 60; static readonly KW_CURRENT_SCHEMA = 61; static readonly KW_CURRENT_TIME = 62; static readonly KW_CURRENT_TIMESTAMP = 63; static readonly KW_CURRENT_USER = 64; static readonly KW_DATA = 65; static readonly KW_DATE = 66; static readonly KW_DAY = 67; static readonly KW_DEALLOCATE = 68; static readonly KW_DECLARE = 69; static readonly KW_DEFAULT = 70; static readonly KW_DEFINE = 71; static readonly KW_DEFINER = 72; static readonly KW_DELETE = 73; static readonly KW_DENY = 74; static readonly KW_DESC = 75; static readonly KW_DESCRIBE = 76; static readonly KW_DESCRIPTOR = 77; static readonly KW_DETERMINISTIC = 78; static readonly KW_DISTINCT = 79; static readonly KW_DISTRIBUTED = 80; static readonly KW_DO = 81; static readonly KW_DOUBLE = 82; static readonly KW_DROP = 83; static readonly KW_ELSE = 84; static readonly KW_EMPTY = 85; static readonly KW_ELSEIF = 86; static readonly KW_ENCODING = 87; static readonly KW_END = 88; static readonly KW_ERROR = 89; static readonly KW_ESCAPE = 90; static readonly KW_EXCEPT = 91; static readonly KW_EXCLUDING = 92; static readonly KW_EXECUTE = 93; static readonly KW_EXISTS = 94; static readonly KW_EXPLAIN = 95; static readonly KW_EXTRACT = 96; static readonly KW_FALSE = 97; static readonly KW_FETCH = 98; static readonly KW_FILTER = 99; static readonly KW_FINAL = 100; static readonly KW_FIRST = 101; static readonly KW_FOLLOWING = 102; static readonly KW_FOR = 103; static readonly KW_FORMAT = 104; static readonly KW_FROM = 105; static readonly KW_FULL = 106; static readonly KW_FUNCTION = 107; static readonly KW_FUNCTIONS = 108; static readonly KW_GRACE = 109; static readonly KW_GRANT = 110; static readonly KW_GRANTED = 111; static readonly KW_GRANTS = 112; static readonly KW_GRAPHVIZ = 113; static readonly KW_GROUP = 114; static readonly KW_GROUPING = 115; static readonly KW_GROUPS = 116; static readonly KW_HAVING = 117; static readonly KW_HOUR = 118; static readonly KW_IF = 119; static readonly KW_IGNORE = 120; static readonly KW_IMMEDIATE = 121; static readonly KW_IN = 122; static readonly KW_INCLUDING = 123; static readonly KW_INITIAL = 124; static readonly KW_INNER = 125; static readonly KW_INPUT = 126; static readonly KW_INSERT = 127; static readonly KW_INTERSECT = 128; static readonly KW_INTERVAL = 129; static readonly KW_INTO = 130; static readonly KW_INVOKER = 131; static readonly KW_IO = 132; static readonly KW_IS = 133; static readonly KW_ISOLATION = 134; static readonly KW_ITERATE = 135; static readonly KW_JOIN = 136; static readonly KW_JSON = 137; static readonly KW_JSON_ARRAY = 138; static readonly KW_JSON_EXISTS = 139; static readonly KW_JSON_OBJECT = 140; static readonly KW_JSON_QUERY = 141; static readonly KW_JSON_TABLE = 142; static readonly KW_JSON_VALUE = 143; static readonly KW_KEEP = 144; static readonly KW_KEY = 145; static readonly KW_KEYS = 146; static readonly KW_LANGUAGE = 147; static readonly KW_LAST = 148; static readonly KW_LATERAL = 149; static readonly KW_LEADING = 150; static readonly KW_LEAVE = 151; static readonly KW_LEFT = 152; static readonly KW_LEVEL = 153; static readonly KW_LIKE = 154; static readonly KW_LIMIT = 155; static readonly KW_LISTAGG = 156; static readonly KW_LOCAL = 157; static readonly KW_LOCALTIME = 158; static readonly KW_LOCALTIMESTAMP = 159; static readonly KW_LOGICAL = 160; static readonly KW_LOOP = 161; static readonly KW_MAP = 162; static readonly KW_MATCH = 163; static readonly KW_MATCHED = 164; static readonly KW_MATCHES = 165; static readonly KW_MATCH_RECOGNIZE = 166; static readonly KW_MATERIALIZED = 167; static readonly KW_MEASURES = 168; static readonly KW_MERGE = 169; static readonly KW_MINUTE = 170; static readonly KW_MONTH = 171; static readonly KW_NATURAL = 172; static readonly KW_NESTED = 173; static readonly KW_NEXT = 174; static readonly KW_NFC = 175; static readonly KW_NFD = 176; static readonly KW_NFKC = 177; static readonly KW_NFKD = 178; static readonly KW_NO = 179; static readonly KW_NONE = 180; static readonly KW_NORMALIZE = 181; static readonly KW_NOT = 182; static readonly KW_NULL = 183; static readonly KW_NULLIF = 184; static readonly KW_NULLS = 185; static readonly KW_OBJECT = 186; static readonly KW_OF = 187; static readonly KW_OFFSET = 188; static readonly KW_OMIT = 189; static readonly KW_ON = 190; static readonly KW_ONE = 191; static readonly KW_ONLY = 192; static readonly KW_OPTION = 193; static readonly KW_OR = 194; static readonly KW_ORDER = 195; static readonly KW_ORDINALITY = 196; static readonly KW_OUTER = 197; static readonly KW_OUTPUT = 198; static readonly KW_OVER = 199; static readonly KW_OVERFLOW = 200; static readonly KW_PARTITION = 201; static readonly KW_PARTITIONS = 202; static readonly KW_PASSING = 203; static readonly KW_PAST = 204; static readonly KW_PATH = 205; static readonly KW_PATTERN = 206; static readonly KW_PER = 207; static readonly KW_PERIOD = 208; static readonly KW_PERMUTE = 209; static readonly KW_PLAN = 210; static readonly KW_POSITION = 211; static readonly KW_PRECEDING = 212; static readonly KW_PRECISION = 213; static readonly KW_PREPARE = 214; static readonly KW_PRIVILEGES = 215; static readonly KW_PROPERTIES = 216; static readonly KW_PRUNE = 217; static readonly KW_QUOTES = 218; static readonly KW_RANGE = 219; static readonly KW_READ = 220; static readonly KW_RECURSIVE = 221; static readonly KW_REFRESH = 222; static readonly KW_RENAME = 223; static readonly KW_REPEAT = 224; static readonly KW_REPEATABLE = 225; static readonly KW_REPLACE = 226; static readonly KW_RESET = 227; static readonly KW_RESPECT = 228; static readonly KW_RESTRICT = 229; static readonly KW_RETURN = 230; static readonly KW_RETURNING = 231; static readonly KW_RETURNS = 232; static readonly KW_REVOKE = 233; static readonly KW_RIGHT = 234; static readonly KW_ROLE = 235; static readonly KW_ROLES = 236; static readonly KW_ROLLBACK = 237; static readonly KW_ROLLUP = 238; static readonly KW_ROW = 239; static readonly KW_ROWS = 240; static readonly KW_RUNNING = 241; static readonly KW_SCALAR = 242; static readonly KW_SCHEMA = 243; static readonly KW_SCHEMAS = 244; static readonly KW_SECOND = 245; static readonly KW_SECURITY = 246; static readonly KW_SEEK = 247; static readonly KW_SELECT = 248; static readonly KW_SERIALIZABLE = 249; static readonly KW_SESSION = 250; static readonly KW_SET = 251; static readonly KW_SETS = 252; static readonly KW_SHOW = 253; static readonly KW_SOME = 254; static readonly KW_START = 255; static readonly KW_STATS = 256; static readonly KW_SUBSET = 257; static readonly KW_SUBSTRING = 258; static readonly KW_SYSTEM = 259; static readonly KW_TABLE = 260; static readonly KW_TABLES = 261; static readonly KW_TABLESAMPLE = 262; static readonly KW_TEXT = 263; static readonly KW_TEXT_STRING = 264; static readonly KW_THEN = 265; static readonly KW_TIES = 266; static readonly KW_TIME = 267; static readonly KW_TIMESTAMP = 268; static readonly KW_TO = 269; static readonly KW_TRAILING = 270; static readonly KW_TRANSACTION = 271; static readonly KW_TRIM = 272; static readonly KW_TRUE = 273; static readonly KW_TRUNCATE = 274; static readonly KW_TRY_CAST = 275; static readonly KW_TYPE = 276; static readonly KW_UESCAPE = 277; static readonly KW_UNBOUNDED = 278; static readonly KW_UNCOMMITTED = 279; static readonly KW_UNCONDITIONAL = 280; static readonly KW_UNION = 281; static readonly KW_UNIQUE = 282; static readonly KW_UNKNOWN = 283; static readonly KW_UNMATCHED = 284; static readonly KW_UNNEST = 285; static readonly KW_UNTIL = 286; static readonly KW_UPDATE = 287; static readonly KW_USE = 288; static readonly KW_USER = 289; static readonly KW_USING = 290; static readonly KW_UTF16 = 291; static readonly KW_UTF32 = 292; static readonly KW_UTF8 = 293; static readonly KW_VALIDATE = 294; static readonly KW_VALUE = 295; static readonly KW_VALUES = 296; static readonly KW_VERBOSE = 297; static readonly KW_VERSION = 298; static readonly KW_VIEW = 299; static readonly KW_WHEN = 300; static readonly KW_WHERE = 301; static readonly KW_WHILE = 302; static readonly KW_WINDOW = 303; static readonly KW_WITH = 304; static readonly KW_WITHIN = 305; static readonly KW_WITHOUT = 306; static readonly KW_WORK = 307; static readonly KW_WRAPPER = 308; static readonly KW_WRITE = 309; static readonly KW_YEAR = 310; static readonly KW_ZONE = 311; static readonly EQ = 312; static readonly NEQ = 313; static readonly LT = 314; static readonly LTE = 315; static readonly GT = 316; static readonly GTE = 317; static readonly PLUS = 318; static readonly MINUS = 319; static readonly ASTERISK = 320; static readonly SLASH = 321; static readonly PERCENT = 322; static readonly CONCAT = 323; static readonly QUESTION_MARK = 324; static readonly SEMICOLON = 325; static readonly STRING = 326; static readonly UNICODE_STRING = 327; static readonly BINARY_LITERAL = 328; static readonly INTEGER_VALUE = 329; static readonly DECIMAL_VALUE = 330; static readonly DOUBLE_VALUE = 331; static readonly IDENTIFIER = 332; static readonly DIGIT_IDENTIFIER = 333; static readonly QUOTED_IDENTIFIER = 334; static readonly BACKQUOTED_IDENTIFIER = 335; static readonly LINE_COMMENT = 336; static readonly BRACKETED_COMMENT = 337; static readonly WHITE_SPACE = 338; static readonly UNRECOGNIZED = 339; static readonly channelNames: string[]; static readonly literalNames: (string | null)[]; static readonly symbolicNames: (string | null)[]; static readonly modeNames: string[]; static readonly ruleNames: string[]; constructor(input: antlr.CharStream); get grammarFileName(): string; get literalNames(): (string | null)[]; get symbolicNames(): (string | null)[]; get ruleNames(): string[]; get serializedATN(): number[]; get channelNames(): string[]; get modeNames(): string[]; static readonly _serializedATN: number[]; private static __ATN; static get _ATN(): antlr.ATN; private static readonly vocabulary; get vocabulary(): antlr.Vocabulary; private static readonly decisionsToDFA; }