flink-sql-language-server
Version:
A LSP-based language server for Apache Flink SQL
597 lines (596 loc) • 21.3 kB
TypeScript
import { ATN } from "antlr4ts/atn/ATN";
import { CharStream } from "antlr4ts/CharStream";
import { Lexer } from "antlr4ts/Lexer";
import { Vocabulary } from "antlr4ts/Vocabulary";
export declare class FlinkSQLLexer extends Lexer {
static readonly SPACE = 1;
static readonly BLOCK_COMMENT = 2;
static readonly LINE_COMMENT = 3;
static readonly L_HINT = 4;
static readonly R_HINT = 5;
static readonly L_BRACE_SLASH = 6;
static readonly R_BRACE_SLASH = 7;
static readonly STAR_QUESTION = 8;
static readonly PLUS_QUESTION = 9;
static readonly QUESTION_QUESTION = 10;
static readonly DOUBLE_VERTICAL_BAR = 11;
static readonly COMPOUND_ARROW = 12;
static readonly DOT = 13;
static readonly COLON = 14;
static readonly COMMA = 15;
static readonly SEMICOLON = 16;
static readonly VERTICAL_BAR = 17;
static readonly DOLLAR_SIGN = 18;
static readonly CARET = 19;
static readonly QUESTION = 20;
static readonly PLUS = 21;
static readonly SLASH = 22;
static readonly ASTERISK = 23;
static readonly DIVIDE = 24;
static readonly PERCENTAGE = 25;
static readonly SINGLE_QUOTE = 26;
static readonly DOUBLE_QUOTE = 27;
static readonly BACK_QUOTE = 28;
static readonly UNDERLINE = 29;
static readonly L_PARENTHESIS = 30;
static readonly R_PARENTHESIS = 31;
static readonly L_BRACKET = 32;
static readonly R_BRACKET = 33;
static readonly L_BRACE = 34;
static readonly R_BRACE = 35;
static readonly EQUAL = 36;
static readonly DOUBLE_EQUAL = 37;
static readonly NOT_EQUAL = 38;
static readonly IS_EQUAL_NULL = 39;
static readonly UNEQUAL = 40;
static readonly GREATER = 41;
static readonly GREATER_OR_EQUAL = 42;
static readonly LESS = 43;
static readonly LESS_OR_EQUAL = 44;
static readonly ABS = 45;
static readonly ALL = 46;
static readonly ALLOCATE = 47;
static readonly ALLOW = 48;
static readonly ALTER = 49;
static readonly AND = 50;
static readonly K_ANY = 51;
static readonly ARE = 52;
static readonly ARRAY = 53;
static readonly ARRAY_MAX_CARDINALITY = 54;
static readonly AS = 55;
static readonly ASENSITIVE = 56;
static readonly ASYMMETRIC = 57;
static readonly AT = 58;
static readonly ATOMIC = 59;
static readonly AUTHORIZATION = 60;
static readonly AUTO = 61;
static readonly AVG = 62;
static readonly BEGIN = 63;
static readonly BEGIN_FRAME = 64;
static readonly BEGIN_PARTITION = 65;
static readonly BETWEEN = 66;
static readonly BIGINT = 67;
static readonly BINARY = 68;
static readonly BIT = 69;
static readonly BLOB = 70;
static readonly BOOLEAN = 71;
static readonly BOTH = 72;
static readonly BUCKETS = 73;
static readonly BY = 74;
static readonly CALL = 75;
static readonly CALLED = 76;
static readonly CARDINALITY = 77;
static readonly CASCADED = 78;
static readonly CASE = 79;
static readonly CAST = 80;
static readonly CEIL = 81;
static readonly CEILING = 82;
static readonly CHANGELOG_MODE = 83;
static readonly CHAR = 84;
static readonly CHARACTER = 85;
static readonly CHARACTER_LENGTH = 86;
static readonly CHAR_LENGTH = 87;
static readonly CHECK = 88;
static readonly CLASSIFIER = 89;
static readonly CLOB = 90;
static readonly CLOSE = 91;
static readonly COALESCE = 92;
static readonly COLLATE = 93;
static readonly COLLECT = 94;
static readonly COLUMN = 95;
static readonly COMMIT = 96;
static readonly CONDITION = 97;
static readonly CONNECT = 98;
static readonly CONSTRAINT = 99;
static readonly CONTAINS = 100;
static readonly CONTINUOUS = 101;
static readonly CONVERT = 102;
static readonly CORR = 103;
static readonly CORRESPONDING = 104;
static readonly COUNT = 105;
static readonly COVAR_POP = 106;
static readonly COVAR_SAMP = 107;
static readonly CREATE = 108;
static readonly CROSS = 109;
static readonly CUBE = 110;
static readonly CUME_DIST = 111;
static readonly CURRENT = 112;
static readonly CURRENT_CATALOG = 113;
static readonly CURRENT_DATE = 114;
static readonly CURRENT_DEFAULT_TRANSFORM_GROUP = 115;
static readonly CURRENT_PATH = 116;
static readonly CURRENT_ROLE = 117;
static readonly CURRENT_ROW = 118;
static readonly CURRENT_SCHEMA = 119;
static readonly CURRENT_TIME = 120;
static readonly CURRENT_TIMESTAMP = 121;
static readonly CURRENT_TRANSFORM_GROUP_FOR_TYPE = 122;
static readonly CURRENT_USER = 123;
static readonly CURSOR = 124;
static readonly CYCLE = 125;
static readonly DATE = 126;
static readonly DAY = 127;
static readonly DEALLOCATE = 128;
static readonly DEC = 129;
static readonly DECIMAL = 130;
static readonly DECLARE = 131;
static readonly DEFAULT = 132;
static readonly DEFINE = 133;
static readonly DELETE = 134;
static readonly DENSE_RANK = 135;
static readonly DEREF = 136;
static readonly DESCRIBE = 137;
static readonly DETERMINISTIC = 138;
static readonly DISALLOW = 139;
static readonly DISCONNECT = 140;
static readonly DISTINCT = 141;
static readonly DISTRIBUTED = 142;
static readonly DISTRIBUTION = 143;
static readonly DOUBLE = 144;
static readonly DROP = 145;
static readonly DYNAMIC = 146;
static readonly EACH = 147;
static readonly ELEMENT = 148;
static readonly ELSE = 149;
static readonly EMPTY = 150;
static readonly END = 151;
static readonly END_EXEC = 152;
static readonly END_FRAME = 153;
static readonly END_PARTITION = 154;
static readonly EQUALS = 155;
static readonly ESCAPE = 156;
static readonly ESTIMATED_COST = 157;
static readonly EVERY = 158;
static readonly EXCEPT = 159;
static readonly EXEC = 160;
static readonly EXECUTE = 161;
static readonly EXISTS = 162;
static readonly EXP = 163;
static readonly EXPLAIN = 164;
static readonly EXTEND = 165;
static readonly EXTERNAL = 166;
static readonly EXTRACT = 167;
static readonly FALSE = 168;
static readonly FETCH = 169;
static readonly FILTER = 170;
static readonly FIRST_VALUE = 171;
static readonly FLOAT = 172;
static readonly FLOOR = 173;
static readonly FOR = 174;
static readonly FOREIGN = 175;
static readonly FRAME_ROW = 176;
static readonly FREE = 177;
static readonly FRESHNESS = 178;
static readonly FROM = 179;
static readonly FULL = 180;
static readonly FUNCTION = 181;
static readonly FUSION = 182;
static readonly GAP = 183;
static readonly GET = 184;
static readonly GLOB = 185;
static readonly GLOBAL = 186;
static readonly GRANT = 187;
static readonly GROUP = 188;
static readonly GROUPING = 189;
static readonly GROUPS = 190;
static readonly HAVING = 191;
static readonly HOLD = 192;
static readonly HOUR = 193;
static readonly IDENTITY = 194;
static readonly IMPORT = 195;
static readonly IN = 196;
static readonly INDICATOR = 197;
static readonly INITIAL = 198;
static readonly INNER = 199;
static readonly INOUT = 200;
static readonly INSENSITIVE = 201;
static readonly INSERT = 202;
static readonly INT = 203;
static readonly INTEGER = 204;
static readonly INTERSECT = 205;
static readonly INTERSECTION = 206;
static readonly INTERVAL = 207;
static readonly INTO = 208;
static readonly IS = 209;
static readonly JOIN = 210;
static readonly JSON_ARRAY = 211;
static readonly JSON_ARRAYAGG = 212;
static readonly JSON_EXECUTION_PLAN = 213;
static readonly JSON_EXISTS = 214;
static readonly JSON_OBJECT = 215;
static readonly JSON_OBJECTAGG = 216;
static readonly JSON_QUERY = 217;
static readonly JSON_VALUE = 218;
static readonly LAG = 219;
static readonly LANGUAGE = 220;
static readonly LARGE = 221;
static readonly LAST_VALUE = 222;
static readonly LATERAL = 223;
static readonly LEAD = 224;
static readonly LEADING = 225;
static readonly LEFT = 226;
static readonly LIKE = 227;
static readonly LIKE_REGEX = 228;
static readonly LIMIT = 229;
static readonly LN = 230;
static readonly LOCAL = 231;
static readonly LOCALTIME = 232;
static readonly LOCALTIMESTAMP = 233;
static readonly LOWER = 234;
static readonly MATCH = 235;
static readonly MATCHES = 236;
static readonly MATCH_NUMBER = 237;
static readonly MATCH_RECOGNIZE = 238;
static readonly MATERIALIZED = 239;
static readonly MAX = 240;
static readonly MEASURES = 241;
static readonly MEMBER = 242;
static readonly MERGE = 243;
static readonly METHOD = 244;
static readonly MIN = 245;
static readonly MINUS = 246;
static readonly MINUTE = 247;
static readonly MOD = 248;
static readonly MODIFIES = 249;
static readonly MODULE = 250;
static readonly MONTH = 251;
static readonly MULTISET = 252;
static readonly NATIONAL = 253;
static readonly NATURAL = 254;
static readonly NCHAR = 255;
static readonly NCLOB = 256;
static readonly NEW = 257;
static readonly NEXT = 258;
static readonly NO = 259;
static readonly NONE = 260;
static readonly NORMALIZE = 261;
static readonly NOT = 262;
static readonly NTH_VALUE = 263;
static readonly NTILE = 264;
static readonly NULL = 265;
static readonly NULLIF = 266;
static readonly NUMERIC = 267;
static readonly OCCURRENCES_REGEX = 268;
static readonly OCTET_LENGTH = 269;
static readonly OF = 270;
static readonly OFFSET = 271;
static readonly OLD = 272;
static readonly OMIT = 273;
static readonly ON = 274;
static readonly ONE = 275;
static readonly ONLY = 276;
static readonly OPEN = 277;
static readonly OPTIMIZE = 278;
static readonly OR = 279;
static readonly ORDER = 280;
static readonly OUT = 281;
static readonly OUTER = 282;
static readonly OVER = 283;
static readonly OVERLAPS = 284;
static readonly OVERLAY = 285;
static readonly PARAMETER = 286;
static readonly PARTITION = 287;
static readonly PATTERN = 288;
static readonly PER = 289;
static readonly PERCENT = 290;
static readonly PERCENTILE_CONT = 291;
static readonly PERCENTILE_DISC = 292;
static readonly PERCENT_RANK = 293;
static readonly PERIOD = 294;
static readonly PERMUTE = 295;
static readonly PORTION = 296;
static readonly POSITION = 297;
static readonly POSITION_REGEX = 298;
static readonly POWER = 299;
static readonly PRECEDES = 300;
static readonly PRECISION = 301;
static readonly PREPARE = 302;
static readonly PREV = 303;
static readonly PRIMARY = 304;
static readonly PROCEDURE = 305;
static readonly RANGE = 306;
static readonly RANK = 307;
static readonly READS = 308;
static readonly REAL = 309;
static readonly RECURSIVE = 310;
static readonly REF = 311;
static readonly REFERENCES = 312;
static readonly REFERENCING = 313;
static readonly REFRESH = 314;
static readonly REFRESH_MODE = 315;
static readonly REGR_AVGX = 316;
static readonly REGR_AVGY = 317;
static readonly REGR_COUNT = 318;
static readonly REGR_INTERCEPT = 319;
static readonly REGR_R2 = 320;
static readonly REGR_SLOPE = 321;
static readonly REGR_SXX = 322;
static readonly REGR_SXY = 323;
static readonly REGR_SYY = 324;
static readonly RESET = 325;
static readonly RESULT = 326;
static readonly RESUME = 327;
static readonly RETURN = 328;
static readonly RETURNS = 329;
static readonly REVOKE = 330;
static readonly RIGHT = 331;
static readonly ROLLBACK = 332;
static readonly ROLLUP = 333;
static readonly ROW = 334;
static readonly ROWS = 335;
static readonly ROW_NUMBER = 336;
static readonly RUNNING = 337;
static readonly SAVEPOINT = 338;
static readonly SCOPE = 339;
static readonly SCROLL = 340;
static readonly SEARCH = 341;
static readonly SECOND = 342;
static readonly SEEK = 343;
static readonly SELECT = 344;
static readonly SENSITIVE = 345;
static readonly SESSION_USER = 346;
static readonly SET = 347;
static readonly SHOW = 348;
static readonly SIMILAR = 349;
static readonly SKIP_W = 350;
static readonly SMALLINT = 351;
static readonly SOME = 352;
static readonly SPECIFIC = 353;
static readonly SPECIFICTYPE = 354;
static readonly SQL = 355;
static readonly SQLEXCEPTION = 356;
static readonly SQLSTATE = 357;
static readonly SQLWARNING = 358;
static readonly SQRT = 359;
static readonly START = 360;
static readonly STATIC = 361;
static readonly STDDEV_POP = 362;
static readonly STDDEV_SAMP = 363;
static readonly STREAM = 364;
static readonly SUBMULTISET = 365;
static readonly SUBSET = 366;
static readonly SUBSTRING = 367;
static readonly SUBSTRING_REGEX = 368;
static readonly SUCCEEDS = 369;
static readonly SUM = 370;
static readonly SUSPEND = 371;
static readonly SYMMETRIC = 372;
static readonly SYSTEM = 373;
static readonly SYSTEM_TIME = 374;
static readonly SYSTEM_USER = 375;
static readonly TABLE = 376;
static readonly TABLESAMPLE = 377;
static readonly THEN = 378;
static readonly TIME = 379;
static readonly TIMESTAMP = 380;
static readonly TIMEZONE_HOUR = 381;
static readonly TIMEZONE_MINUTE = 382;
static readonly TINYINT = 383;
static readonly TO = 384;
static readonly TRAILING = 385;
static readonly TRANSLATE = 386;
static readonly TRANSLATE_REGEX = 387;
static readonly TRANSLATION = 388;
static readonly TREAT = 389;
static readonly TRIGGER = 390;
static readonly TRIM = 391;
static readonly TRIM_ARRRAY = 392;
static readonly TRUE = 393;
static readonly TRUNCATE = 394;
static readonly UESCAPE = 395;
static readonly UNION = 396;
static readonly UNIQUE = 397;
static readonly UNKNOWN = 398;
static readonly UNNEST = 399;
static readonly UPDATE = 400;
static readonly UPPER = 401;
static readonly UPSERT = 402;
static readonly USER = 403;
static readonly USING = 404;
static readonly VALUE = 405;
static readonly VALUES = 406;
static readonly VALUE_OF = 407;
static readonly VARBINARY = 408;
static readonly VARCHAR = 409;
static readonly VARYING = 410;
static readonly VAR_POP = 411;
static readonly VAR_SAMP = 412;
static readonly VERSIONING = 413;
static readonly WHEN = 414;
static readonly WHENEVER = 415;
static readonly WHERE = 416;
static readonly WIDTH_BUCKET = 417;
static readonly WINDOW = 418;
static readonly WITH = 419;
static readonly WITHIN = 420;
static readonly WITHOUT = 421;
static readonly YEAR = 422;
static readonly ABSENT = 423;
static readonly ACTION = 424;
static readonly ADD = 425;
static readonly AFTER = 426;
static readonly APPLY = 427;
static readonly ASC = 428;
static readonly CASCADE = 429;
static readonly CATALOG = 430;
static readonly CENTURY = 431;
static readonly CONDITIONAL = 432;
static readonly CONSTRAINTS = 433;
static readonly DATA = 434;
static readonly DATABASE = 435;
static readonly DAYS = 436;
static readonly DECADE = 437;
static readonly DESC = 438;
static readonly DOW = 439;
static readonly DOY = 440;
static readonly EPOCH = 441;
static readonly ERROR = 442;
static readonly EXCLUDING = 443;
static readonly FIRST = 444;
static readonly FORMAT = 445;
static readonly FRAC_SECOND = 446;
static readonly GENERATED = 447;
static readonly GEOMETRY = 448;
static readonly GO = 449;
static readonly HASH = 450;
static readonly HOP = 451;
static readonly HOURS = 452;
static readonly IGNORE = 453;
static readonly INCLUDING = 454;
static readonly ISODOW = 455;
static readonly ISOYEAR = 456;
static readonly JAVA = 457;
static readonly JSON = 458;
static readonly KEY = 459;
static readonly LAST = 460;
static readonly MAP = 461;
static readonly MICROSECOND = 462;
static readonly MILLENNIUM = 463;
static readonly MILLISECOND = 464;
static readonly MINUTES = 465;
static readonly MONTHS = 466;
static readonly NANOSECOND = 467;
static readonly NULLS = 468;
static readonly OBJECT = 469;
static readonly OPTIONS = 470;
static readonly ORDINALITY = 471;
static readonly PARTIAL = 472;
static readonly PAST = 473;
static readonly PIVOT = 474;
static readonly PLACING = 475;
static readonly PLAN = 476;
static readonly PLI = 477;
static readonly PRECEDING = 478;
static readonly QUARTER = 479;
static readonly REPLACE = 480;
static readonly RESPECT = 481;
static readonly RESTRICT = 482;
static readonly RETURNING = 483;
static readonly SCALAR = 484;
static readonly SECONDS = 485;
static readonly SESSION = 486;
static readonly SETS = 487;
static readonly SIZE = 488;
static readonly SQL_TSI_DAY = 489;
static readonly SQL_TSI_FRAC_SECOND = 490;
static readonly SQL_TSI_HOUR = 491;
static readonly SQL_TSI_MICROSECOND = 492;
static readonly SQL_TSI_MINUTE = 493;
static readonly SQL_TSI_MONTH = 494;
static readonly SQL_TSI_QUARTER = 495;
static readonly SQL_TSI_SECOND = 496;
static readonly SQL_TSI_WEEK = 497;
static readonly SQL_TSI_YEAR = 498;
static readonly STATEMENT = 499;
static readonly TEMPORARY = 500;
static readonly TUMBLE = 501;
static readonly UNCONDITIONAL = 502;
static readonly UNPIVOT = 503;
static readonly VIEW = 504;
static readonly WEEK = 505;
static readonly WRAPPER = 506;
static readonly YEARS = 507;
static readonly ZONE = 508;
static readonly ANALYZE = 509;
static readonly BYTES = 510;
static readonly CATALOGS = 511;
static readonly COMMENT = 512;
static readonly COMPUTE = 513;
static readonly COLUMNS = 514;
static readonly CUMULATE = 515;
static readonly CURVE = 516;
static readonly DATABASES = 517;
static readonly ENFORCED = 518;
static readonly FUNCTIONS = 519;
static readonly GEOMETRYCOLLECTION = 520;
static readonly IF = 521;
static readonly JAR = 522;
static readonly LINESTRING = 523;
static readonly LOAD = 524;
static readonly METADATA = 525;
static readonly MODULES = 526;
static readonly MULTICURVE = 527;
static readonly MULTILINESTRING = 528;
static readonly MULTIPOINT = 529;
static readonly MULTIPOLYGON = 530;
static readonly MULTISURFACE = 531;
static readonly OVERWRITE = 532;
static readonly OVERWRITING = 533;
static readonly PARTITIONED = 534;
static readonly PARTITIONS = 535;
static readonly PLAN_ADVICE = 536;
static readonly POINT = 537;
static readonly POLYHEDRALSURFACE = 538;
static readonly POLYGON = 539;
static readonly PYTHON = 540;
static readonly RAW = 541;
static readonly RENAME = 542;
static readonly SCALA = 543;
static readonly SLIDE = 544;
static readonly STATISTICS = 545;
static readonly STEP = 546;
static readonly STRING = 547;
static readonly SUBSTR = 548;
static readonly SURFACE = 549;
static readonly TABLES = 550;
static readonly TIMECOL = 551;
static readonly TIMESTAMP_LTZ = 552;
static readonly TRY_CAST = 553;
static readonly UNLOAD = 554;
static readonly USE = 555;
static readonly VIEWS = 556;
static readonly VIRTUAL = 557;
static readonly WATERMARK = 558;
static readonly WATERMARKS = 559;
static readonly REAL_LITERAL = 560;
static readonly STRING_LITERAL = 561;
static readonly IDENTIFIER = 562;
static readonly BIND_PARAMETER = 563;
static readonly channelNames: string[];
static readonly modeNames: string[];
static readonly ruleNames: string[];
private static readonly _LITERAL_NAMES;
private static readonly _SYMBOLIC_NAMES;
static readonly VOCABULARY: Vocabulary;
get vocabulary(): Vocabulary;
constructor(input: CharStream);
get grammarFileName(): string;
get ruleNames(): string[];
get serializedATN(): string;
get channelNames(): string[];
get modeNames(): string[];
private static readonly _serializedATNSegments;
private static readonly _serializedATNSegment0;
private static readonly _serializedATNSegment1;
private static readonly _serializedATNSegment2;
private static readonly _serializedATNSegment3;
private static readonly _serializedATNSegment4;
private static readonly _serializedATNSegment5;
private static readonly _serializedATNSegment6;
private static readonly _serializedATNSegment7;
private static readonly _serializedATNSegment8;
private static readonly _serializedATNSegment9;
static readonly _serializedATN: string;
static __ATN: ATN;
static get _ATN(): ATN;
}