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