Interface TokenStream
-
- All Known Implementing Classes:
BasicTokenStream,RewindableTokenStream
public interface TokenStreamDescribe a sequence of tokens.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tokenpeek()Examine the current token.voidskip()Skip the current token.
-
-
-
Method Detail
-
peek
Token peek() throws ScriptException
Examine the current token.- Throws:
ScriptException
-
skip
void skip()
Skip the current token.
-
-