Class BasicTokenStream

  • All Implemented Interfaces:
    TokenStream

    public class BasicTokenStream
    extends java.lang.Object
    implements TokenStream
    Convert a sequence of characters into a stream of tokens.
    • Field Detail

      • currentToken

        protected Token currentToken
    • Constructor Detail

      • BasicTokenStream

        public BasicTokenStream​(java.io.Reader reader)
    • Method Detail

      • skip

        public void skip()
        Description copied from interface: TokenStream
        Skip the current token.
        Specified by:
        skip in interface TokenStream
      • isQuoteCharacter

        protected static boolean isQuoteCharacter​(char x)
      • isNumberCharacter

        protected static boolean isNumberCharacter​(char x)
      • isTokenCharacter

        protected static boolean isTokenCharacter​(char x)