UNPKG

@bookbox/markup

Version:

Markup language for bookbox format

43 lines (42 loc) 1.5 kB
import { ATN, CharStream, DFA, Lexer } from 'antlr4'; export default class bookbox_lexer extends Lexer { static readonly ESC = 1; static readonly INCLUDE_OPEN = 2; static readonly OPEN = 3; static readonly CLOSE = 4; static readonly TEXT = 5; static readonly SYSTEM_FLAG = 6; static readonly NAME = 7; static readonly DOT = 8; static readonly COLON = 9; static readonly ATTR_OPEN = 10; static readonly SEPARATOR = 11; static readonly SELF_CLOSE = 12; static readonly UNKNOWN = 13; static readonly ATTR_ESC = 14; static readonly ATTR_CLOSE = 15; static readonly ATTR_TEXT = 16; static readonly INCLUDE_CLOSE = 17; static readonly INCLUDE_TEXT = 18; static readonly EOF: number; static readonly BLOCK = 1; static readonly ATTR = 2; static readonly INCLUDE = 3; static readonly channelNames: string[]; static readonly literalNames: (string | null)[]; static readonly symbolicNames: (string | null)[]; static readonly modeNames: string[]; static readonly ruleNames: string[]; constructor(input: CharStream); get grammarFileName(): string; get literalNames(): (string | null)[]; get symbolicNames(): (string | null)[]; get ruleNames(): string[]; get serializedATN(): number[]; get channelNames(): string[]; get modeNames(): string[]; static readonly _serializedATN: number[]; private static __ATN; static get _ATN(): ATN; static DecisionsToDFA: DFA[]; }