UNPKG

@designliquido/delegua

Version:

Linguagem de programação simples e moderna usando português estruturado.

153 lines 5.35 kB
import { Token } from 'antlr4ts/Token'; import { ATN } from 'antlr4ts/atn/ATN'; import { CharStream } from 'antlr4ts/CharStream'; import { Lexer } from 'antlr4ts/Lexer'; import { RuleContext } from 'antlr4ts/RuleContext'; import { Vocabulary } from 'antlr4ts/Vocabulary'; export declare class Python3Lexer extends Lexer { static readonly STRING = 1; static readonly NUMBER = 2; static readonly INTEGER = 3; static readonly DEF = 4; static readonly RETURN = 5; static readonly RAISE = 6; static readonly FROM = 7; static readonly IMPORT = 8; static readonly AS = 9; static readonly GLOBAL = 10; static readonly NONLOCAL = 11; static readonly ASSERT = 12; static readonly IF = 13; static readonly ELIF = 14; static readonly ELSE = 15; static readonly WHILE = 16; static readonly FOR = 17; static readonly IN = 18; static readonly TRY = 19; static readonly FINALLY = 20; static readonly WITH = 21; static readonly EXCEPT = 22; static readonly LAMBDA = 23; static readonly OR = 24; static readonly AND = 25; static readonly NOT = 26; static readonly IS = 27; static readonly NONE = 28; static readonly TRUE = 29; static readonly FALSE = 30; static readonly CLASS = 31; static readonly YIELD = 32; static readonly DEL = 33; static readonly PASS = 34; static readonly CONTINUE = 35; static readonly BREAK = 36; static readonly ASYNC = 37; static readonly AWAIT = 38; static readonly NEWLINE = 39; static readonly NAME = 40; static readonly STRING_LITERAL = 41; static readonly BYTES_LITERAL = 42; static readonly DECIMAL_INTEGER = 43; static readonly OCT_INTEGER = 44; static readonly HEX_INTEGER = 45; static readonly BIN_INTEGER = 46; static readonly FLOAT_NUMBER = 47; static readonly IMAG_NUMBER = 48; static readonly DOT = 49; static readonly ELLIPSIS = 50; static readonly STAR = 51; static readonly OPEN_PAREN = 52; static readonly CLOSE_PAREN = 53; static readonly COMMA = 54; static readonly COLON = 55; static readonly SEMI_COLON = 56; static readonly POWER = 57; static readonly ASSIGN = 58; static readonly OPEN_BRACK = 59; static readonly CLOSE_BRACK = 60; static readonly OR_OP = 61; static readonly XOR = 62; static readonly AND_OP = 63; static readonly LEFT_SHIFT = 64; static readonly RIGHT_SHIFT = 65; static readonly ADD = 66; static readonly MINUS = 67; static readonly DIV = 68; static readonly MOD = 69; static readonly IDIV = 70; static readonly NOT_OP = 71; static readonly OPEN_BRACE = 72; static readonly CLOSE_BRACE = 73; static readonly LESS_THAN = 74; static readonly GREATER_THAN = 75; static readonly EQUALS = 76; static readonly GT_EQ = 77; static readonly LT_EQ = 78; static readonly NOT_EQ_1 = 79; static readonly NOT_EQ_2 = 80; static readonly AT = 81; static readonly ARROW = 82; static readonly ADD_ASSIGN = 83; static readonly SUB_ASSIGN = 84; static readonly MULT_ASSIGN = 85; static readonly AT_ASSIGN = 86; static readonly DIV_ASSIGN = 87; static readonly MOD_ASSIGN = 88; static readonly AND_ASSIGN = 89; static readonly OR_ASSIGN = 90; static readonly XOR_ASSIGN = 91; static readonly LEFT_SHIFT_ASSIGN = 92; static readonly RIGHT_SHIFT_ASSIGN = 93; static readonly POWER_ASSIGN = 94; static readonly IDIV_ASSIGN = 95; static readonly SKIP_ = 96; static readonly UNKNOWN_CHAR = 97; 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; private token_queue; private indents; private opened; private last_token; reset(): void; emit(token?: Token): Token; /** * Return the next token from the character stream and records this last * token in case it resides on the default channel. This recorded token * is used to determine when the lexer could possibly match a regex * literal. * */ nextToken(): Token; private createDedent; private commonToken; private getIndentationCount; private atStartOfInput; constructor(input: CharStream); get grammarFileName(): string; get ruleNames(): string[]; get serializedATN(): string; get channelNames(): string[]; get modeNames(): string[]; action(_localctx: RuleContext, ruleIndex: number, actionIndex: number): void; private NEWLINE_action; private OPEN_PAREN_action; private CLOSE_PAREN_action; private OPEN_BRACK_action; private CLOSE_BRACK_action; private OPEN_BRACE_action; private CLOSE_BRACE_action; sempred(_localctx: RuleContext, ruleIndex: number, predIndex: number): boolean; private NEWLINE_sempred; private static readonly _serializedATNSegments; private static readonly _serializedATNSegment0; private static readonly _serializedATNSegment1; static readonly _serializedATN: string; static __ATN: ATN; static get _ATN(): ATN; } //# sourceMappingURL=python3-lexer.d.ts.map