public abstract class Token
extends Object
Modifier and Type | Field and Description |
---|---|
int |
position |
Constructor and Description |
---|
Token(int position) |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<CharToken> |
getSpellingTokens() |
java.text.ParseException |
otherSyntaxException(String sentence) |
java.text.ParseException |
syntaxException(Object expected) |
abstract String |
toString()
Returns the token in a readable format which can be used in error
messages.
|
public abstract java.util.List<CharToken> getSpellingTokens()
public java.text.ParseException syntaxException(Object expected)
public java.text.ParseException otherSyntaxException(String sentence)
public abstract String toString()
toString
in class Object