module /** */ import { ParserDefinitionError } from "../errors" ; /**
 * Some canned error throwers.
 */ export namespace Issues { param name export function guardAgainstInfiniteLoop ( name ) { throw new ParserDefinitionError ( name , `The combinator '${ name }' expected one of its arguments to change the parser state.` ) ; } export function delayedParserNotInit ( name ) { throw new ParserDefinitionError ( name , `Delayed parser not initalized.` ) ; } export function delayedParserAlreadyInit ( ) { throw new ParserDefinitionError ( "" , `Delayed parser has already been initialized` ) ; } }