net.sourceforge.templat.expr
Class ExprLexer.Token

java.lang.Object
  extended by 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

Constructor Summary
ExprLexer.Token(char c)
           
ExprLexer.Token(short tokenType, Object tokenValue)
           
 
Method Summary
 short getTokenType()
          Gets this token's type.
 Object getTokenValue()
          Gets this token's value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprLexer.Token

ExprLexer.Token(char c)

ExprLexer.Token

ExprLexer.Token(short tokenType,
                Object tokenValue)
Method Detail

getTokenType

public short getTokenType()
Gets this token's type.

Returns:
type

getTokenValue

public Object getTokenValue()
Gets this token's value.

Returns:
value