import ParserState from "./ParserState"; export default interface IParserDebug { /** * Method called upon debug * * @param state represents the current state of execution, including full call stack * @param done done = f(state), call when debug functionality is complete. May be called asynchronsly * (note that this is merely a pointer, not a closure as state is contained in state). * @breakpoint breakpoint type */ debug(state:ParserState):boolean; } // class