UNPKG

pegisland

Version:

General PEG-based parser supporting island grammars with lake symbols

21 lines 842 B
import { IParseTree } from './ParseTree'; import { IParsingExpression } from './ParsingExpression'; import { BaseParsingEnv } from './IParsingEnv'; import { Position } from './Position'; import { Peg } from './Peg'; import { BottomUpParserBase } from './BottomUpParser'; export declare class PikaParsingEnv extends BaseParsingEnv<IParsingExpression> { private readonly peg; private readonly createHeap; private readonly parentsMap; constructor(s: string, peg: Peg); parseString(s: string, start: string): [IParseTree, Position] | Error; parse(pe: IParsingExpression, pos: Position): [IParseTree, Position] | null; private grow; private fillMemoTable; private fillMemoEntry; } export declare class PikaParser extends BottomUpParserBase { constructor(peg: Peg); } //# sourceMappingURL=PikaParser.d.ts.map