Interface ParseRunner<V>

    • Method Detail

      • withParseErrors

        ParseRunner<V> withParseErrors​(List<ParseError> parseErrors)
        Initializes the parse runner with the given error list.
        Parameters:
        parseErrors - the error list to start off with
        Returns:
        this instance
      • withValueStack

        ParseRunner<V> withValueStack​(ValueStack<V> valueStack)
        Initializes the parse runner with the given ValueStack instance.
        Parameters:
        valueStack - the ValueStack to use
        Returns:
        this instance
      • run

        ParsingResult<V> run​(String input)
        Performs the actual parse and creates a corresponding ParsingResult instance.
        Parameters:
        input - the input text to parse
        Returns:
        the ParsingResult for the run
      • run

        ParsingResult<V> run​(char[] input)
        Performs the actual parse and creates a corresponding ParsingResult instance.
        Parameters:
        input - the input text to parse
        Returns:
        the ParsingResult for the run
      • run

        ParsingResult<V> run​(InputBuffer inputBuffer)
        Performs the actual parse and creates a corresponding ParsingResult instance.
        Parameters:
        inputBuffer - the inputBuffer to use
        Returns:
        the ParsingResult for the run