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