org.apache.struts.validator.validwhen
Class ValidWhenParser
java.lang.Object
|
+--antlr.Parser
|
+--antlr.LLkParser
|
+--org.apache.struts.validator.validwhen.ValidWhenParser
- All Implemented Interfaces:
- ValidWhenParserTokenTypes
- public class ValidWhenParser
- extends antlr.LLkParser
- implements ValidWhenParserTokenTypes
Fields inherited from class antlr.LLkParser |
k |
Fields inherited from class antlr.Parser |
astFactory, ignoreInvalidDebugCalls, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth |
Fields inherited from interface org.apache.struts.validator.validwhen.ValidWhenParserTokenTypes |
ANDSIGN, DECIMAL_LITERAL, EOF, EQUALSIGN, GREATEREQUALSIGN, GREATERTHANSIGN, HEX_LITERAL, IDENTIFIER, LBRACKET, LESSEQUALSIGN, LESSTHANSIGN, LITERAL_null, LPAREN, NOTEQUALSIGN, NULL_TREE_LOOKAHEAD, OCTAL_LITERAL, ORSIGN, RBRACKET, RPAREN, STRING_LITERAL, THIS, WS |
Methods inherited from class antlr.LLkParser |
consume, LA, LT, trace, traceIn, traceOut |
Methods inherited from class antlr.Parser |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
argStack
java.util.Stack argStack
form
java.lang.Object form
index
int index
value
java.lang.String value
LESS_EQUAL
private final int LESS_EQUAL
LESS_THAN
private final int LESS_THAN
EQUAL
private final int EQUAL
GREATER_THAN
private final int GREATER_THAN
GREATER_EQUAL
private final int GREATER_EQUAL
NOT_EQUAL
private final int NOT_EQUAL
AND
private final int AND
OR
private final int OR
_tokenNames
public static final java.lang.String[] _tokenNames
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
ValidWhenParser
protected ValidWhenParser(antlr.TokenBuffer tokenBuf,
int k)
ValidWhenParser
public ValidWhenParser(antlr.TokenBuffer tokenBuf)
ValidWhenParser
protected ValidWhenParser(antlr.TokenStream lexer,
int k)
ValidWhenParser
public ValidWhenParser(antlr.TokenStream lexer)
ValidWhenParser
public ValidWhenParser(antlr.ParserSharedInputState state)
setForm
public void setForm(java.lang.Object f)
setIndex
public void setIndex(int i)
setValue
public void setValue(java.lang.String v)
getResult
public boolean getResult()
evaluateComparison
private boolean evaluateComparison(java.lang.Object v1,
java.lang.Object compare,
java.lang.Object v2)
integer
public final void integer()
throws antlr.RecognitionException,
antlr.TokenStreamException
string
public final void string()
throws antlr.RecognitionException,
antlr.TokenStreamException
identifier
public final void identifier()
throws antlr.RecognitionException,
antlr.TokenStreamException
field
public final void field()
throws antlr.RecognitionException,
antlr.TokenStreamException
literal
public final void literal()
throws antlr.RecognitionException,
antlr.TokenStreamException
value
public final void value()
throws antlr.RecognitionException,
antlr.TokenStreamException
expression
public final void expression()
throws antlr.RecognitionException,
antlr.TokenStreamException
expr
public final void expr()
throws antlr.RecognitionException,
antlr.TokenStreamException
comparisonExpression
public final void comparisonExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
joinedExpression
public final void joinedExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
join
public final void join()
throws antlr.RecognitionException,
antlr.TokenStreamException
comparison
public final void comparison()
throws antlr.RecognitionException,
antlr.TokenStreamException
mk_tokenSet_0
private static final long[] mk_tokenSet_0()
mk_tokenSet_1
private static final long[] mk_tokenSet_1()
Copyright © 2000-2005 - The Apache Software Foundation