UNPKG

flink-sql-language-server

Version:

A LSP-based language server for Apache Flink SQL

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