Function resultToString

  • This function is used internally by the trace function to create the string for each step.

    Type Parameters

    • T

    Parameters

    • name: string

      debug name for parser

    • result: ParserResult<T>

      parser result

    Returns string

    • A formatted string that describes the parser's result

Generated using TypeDoc