org.apache.catalina.ssi
public class ExpressionTokenizer extends Object
Version: $Revision: 531303 $
Field Summary | |
---|---|
static int | TOKEN_AND |
static int | TOKEN_END |
static int | TOKEN_EQ |
static int | TOKEN_GE |
static int | TOKEN_GT |
static int | TOKEN_LBRACE |
static int | TOKEN_LE |
static int | TOKEN_LT |
static int | TOKEN_NOT |
static int | TOKEN_NOT_EQ |
static int | TOKEN_OR |
static int | TOKEN_RBRACE |
static int | TOKEN_STRING |
Constructor Summary | |
---|---|
ExpressionTokenizer(String expr)
Creates a new parser for the specified expression. |
Method Summary | |
---|---|
int | getIndex()
Returns the current index for error reporting purposes. |
String | getTokenValue()
Returns the String value of the token if it was type TOKEN_STRING.
|
boolean | hasMoreTokens()
Returns true if there are more tokens. |
protected boolean | isMetaChar(char c) |
int | nextToken()
Returns the next token type and initializes any state variables
accordingly. |