Function limitSteps

  • Utility function to limit the number of steps a parser can take. This is useful for avoiding infinite loops in your parser.

    Parameters

    • limit: number

      number of steps to limit the parser to

    • callback: Function

      callback to run

    Returns void

Generated using TypeDoc