ralph-parser-ts
Version:
A Ralph language parser
120 lines (119 loc) • 4.11 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 RalphLexer extends Lexer {
static readonly FN = 1;
static readonly PUB = 2;
static readonly RETURN = 3;
static readonly INTERFACE = 4;
static readonly ENUM = 5;
static readonly TXSCRIPT = 6;
static readonly CONTRACT = 7;
static readonly ASSETSCRIPT = 8;
static readonly IF = 9;
static readonly ELSE = 10;
static readonly WHILE = 11;
static readonly FOR = 12;
static readonly LET = 13;
static readonly CONST = 14;
static readonly MUT = 15;
static readonly EXTENDS = 16;
static readonly ABSTRACT = 17;
static readonly IMPLEMENTS = 18;
static readonly EVENT = 19;
static readonly EMIT = 20;
static readonly ATUSING = 21;
static readonly USING = 22;
static readonly AT = 23;
static readonly BOOL = 24;
static readonly I256 = 25;
static readonly U256 = 26;
static readonly BYTE = 27;
static readonly BYTEVEC = 28;
static readonly ADDRESS = 29;
static readonly ATUNUSED = 30;
static readonly UNUSED = 31;
static readonly R_ARROW = 32;
static readonly IDENTIFIER = 33;
static readonly L_PAREN = 34;
static readonly R_PAREN = 35;
static readonly L_CURLY = 36;
static readonly R_CURLY = 37;
static readonly L_BRACKET = 38;
static readonly R_BRACKET = 39;
static readonly ASSIGN = 40;
static readonly COMMA = 41;
static readonly SEMI = 42;
static readonly COLON = 43;
static readonly DOT = 44;
static readonly POUND = 45;
static readonly DOUBT = 46;
static readonly CONCAT = 47;
static readonly ADD = 48;
static readonly SUB = 49;
static readonly MUL = 50;
static readonly DIV = 51;
static readonly MOD = 52;
static readonly MODADD = 53;
static readonly MODSUB = 54;
static readonly MODMUL = 55;
static readonly SHL = 56;
static readonly SHR = 57;
static readonly BITAND = 58;
static readonly XOR = 59;
static readonly BITOR = 60;
static readonly EQ = 61;
static readonly NQ = 62;
static readonly LT = 63;
static readonly LE = 64;
static readonly GT = 65;
static readonly GE = 66;
static readonly AND = 67;
static readonly OR = 68;
static readonly NOT = 69;
static readonly ALPH = 70;
static readonly ADDRESS_LIT = 71;
static readonly ALPH_LIT = 72;
static readonly BOOL_LIT = 73;
static readonly DECIMAL_LIT = 74;
static readonly BINARY_LIT = 75;
static readonly OCTAL_LIT = 76;
static readonly HEX_LIT = 77;
static readonly FLOAT_LIT = 78;
static readonly DECIMAL_FLOAT_LIT = 79;
static readonly HEX_FLOAT_LIT = 80;
static readonly IMAGINARY_LIT = 81;
static readonly RUNE_LIT = 82;
static readonly BYTE_VALUE = 83;
static readonly OCTAL_BYTE_VALUE = 84;
static readonly HEX_BYTE_VALUE = 85;
static readonly LITTLE_U_VALUE = 86;
static readonly BIG_U_VALUE = 87;
static readonly RAW_STRING_LIT = 88;
static readonly INTERPRETED_STRING_LIT = 89;
static readonly WS = 90;
static readonly COMMENT = 91;
static readonly LINE_COMMENT = 92;
static readonly TERMINATOR = 93;
static readonly EOS = 94;
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;
static readonly _serializedATN: string;
static __ATN: ATN;
static get _ATN(): ATN;
}