public class TokenScanner
extends java.lang.Object
Constructor and Description |
---|
TokenScanner(java.lang.String s)
Constructs a TokenScanner from a String
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNextToken()
Whether or not there is a Token available.
|
Token |
nextToken()
Provides the next Token from source.
|
boolean |
reachedEnd()
Returns whether or not entire source was tokenized.
|
public TokenScanner(java.lang.String s)
public boolean hasNextToken()
public Token nextToken()
public boolean reachedEnd()