Interface ITokenizerState

    • Method Summary

      Modifier and Type Method Description
      Token nextToken​(IScanner scanner, ITokenizer tokenizer)
      Gets the next token from the stream started from the character linked to this state.
    • Method Detail

      • nextToken

        Token nextToken​(IScanner scanner,
                        ITokenizer tokenizer)
                 throws Exception
        Gets the next token from the stream started from the character linked to this state.
        Parameters:
        scanner - A textual string to be tokenized.
        tokenizer - A tokenizer class that controls the process.
        Returns:
        The next token from the top of the stream.
        Throws:
        Exception