net.sourceforge.templat.expr
Class ExprLexer.Token
java.lang.Object
net.sourceforge.templat.expr.ExprLexer.Token
- Enclosing class:
- ExprLexer
static class ExprLexer.Token
- extends Object
Represents a token returned by the enclosing ExprLexer
.
- Author:
- Chris Mosher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprLexer.Token
ExprLexer.Token(char c)
ExprLexer.Token
ExprLexer.Token(short tokenType,
Object tokenValue)
getTokenType
public short getTokenType()
- Gets this token's type.
- Returns:
- type
getTokenValue
public Object getTokenValue()
- Gets this token's value.
- Returns:
- value