UNPKG

java-ast

Version:

Java Parser for JavaScript/TypeScript, based on antlr4ts

155 lines (154 loc) 5.34 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 JavaLexer extends Lexer { static readonly ABSTRACT = 1; static readonly ASSERT = 2; static readonly BOOLEAN = 3; static readonly BREAK = 4; static readonly BYTE = 5; static readonly CASE = 6; static readonly CATCH = 7; static readonly CHAR = 8; static readonly CLASS = 9; static readonly CONST = 10; static readonly CONTINUE = 11; static readonly DEFAULT = 12; static readonly DO = 13; static readonly DOUBLE = 14; static readonly ELSE = 15; static readonly ENUM = 16; static readonly EXTENDS = 17; static readonly FINAL = 18; static readonly FINALLY = 19; static readonly FLOAT = 20; static readonly FOR = 21; static readonly IF = 22; static readonly GOTO = 23; static readonly IMPLEMENTS = 24; static readonly IMPORT = 25; static readonly INSTANCEOF = 26; static readonly INT = 27; static readonly INTERFACE = 28; static readonly LONG = 29; static readonly NATIVE = 30; static readonly NEW = 31; static readonly PACKAGE = 32; static readonly PRIVATE = 33; static readonly PROTECTED = 34; static readonly PUBLIC = 35; static readonly RETURN = 36; static readonly SHORT = 37; static readonly STATIC = 38; static readonly STRICTFP = 39; static readonly SUPER = 40; static readonly SWITCH = 41; static readonly SYNCHRONIZED = 42; static readonly THIS = 43; static readonly THROW = 44; static readonly THROWS = 45; static readonly TRANSIENT = 46; static readonly TRY = 47; static readonly VOID = 48; static readonly VOLATILE = 49; static readonly WHILE = 50; static readonly MODULE = 51; static readonly OPEN = 52; static readonly REQUIRES = 53; static readonly EXPORTS = 54; static readonly OPENS = 55; static readonly TO = 56; static readonly USES = 57; static readonly PROVIDES = 58; static readonly WITH = 59; static readonly TRANSITIVE = 60; static readonly VAR = 61; static readonly YIELD = 62; static readonly RECORD = 63; static readonly SEALED = 64; static readonly PERMITS = 65; static readonly NON_SEALED = 66; static readonly DECIMAL_LITERAL = 67; static readonly HEX_LITERAL = 68; static readonly OCT_LITERAL = 69; static readonly BINARY_LITERAL = 70; static readonly FLOAT_LITERAL = 71; static readonly HEX_FLOAT_LITERAL = 72; static readonly BOOL_LITERAL = 73; static readonly CHAR_LITERAL = 74; static readonly STRING_LITERAL = 75; static readonly TEXT_BLOCK = 76; static readonly NULL_LITERAL = 77; static readonly LPAREN = 78; static readonly RPAREN = 79; static readonly LBRACE = 80; static readonly RBRACE = 81; static readonly LBRACK = 82; static readonly RBRACK = 83; static readonly SEMI = 84; static readonly COMMA = 85; static readonly DOT = 86; static readonly ASSIGN = 87; static readonly GT = 88; static readonly LT = 89; static readonly BANG = 90; static readonly TILDE = 91; static readonly QUESTION = 92; static readonly COLON = 93; static readonly EQUAL = 94; static readonly LE = 95; static readonly GE = 96; static readonly NOTEQUAL = 97; static readonly AND = 98; static readonly OR = 99; static readonly INC = 100; static readonly DEC = 101; static readonly ADD = 102; static readonly SUB = 103; static readonly MUL = 104; static readonly DIV = 105; static readonly BITAND = 106; static readonly BITOR = 107; static readonly CARET = 108; static readonly MOD = 109; static readonly ADD_ASSIGN = 110; static readonly SUB_ASSIGN = 111; static readonly MUL_ASSIGN = 112; static readonly DIV_ASSIGN = 113; static readonly AND_ASSIGN = 114; static readonly OR_ASSIGN = 115; static readonly XOR_ASSIGN = 116; static readonly MOD_ASSIGN = 117; static readonly LSHIFT_ASSIGN = 118; static readonly RSHIFT_ASSIGN = 119; static readonly URSHIFT_ASSIGN = 120; static readonly ARROW = 121; static readonly COLONCOLON = 122; static readonly AT = 123; static readonly ELLIPSIS = 124; static readonly WS = 125; static readonly COMMENT = 126; static readonly LINE_COMMENT = 127; static readonly IDENTIFIER = 128; 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; static readonly _serializedATN: string; static __ATN: ATN; static get _ATN(): ATN; }