com.sonyericsson.hudson.plugins.metadata.search.antlr
Class QueryWalker
java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.tree.TreeParser
com.sonyericsson.hudson.plugins.metadata.search.antlr.QueryWalker
public class QueryWalker
- extends org.antlr.runtime.tree.TreeParser
Fields inherited from class org.antlr.runtime.tree.TreeParser |
DOWN, input, UP |
Fields inherited from class org.antlr.runtime.BaseRecognizer |
DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, state |
Constructor Summary |
QueryWalker(org.antlr.runtime.tree.TreeNodeStream input)
|
QueryWalker(org.antlr.runtime.tree.TreeNodeStream input,
org.antlr.runtime.RecognizerSharedState state)
|
Methods inherited from class org.antlr.runtime.tree.TreeParser |
getCurrentInputSymbol, getErrorHeader, getErrorMessage, getMissingSymbol, getSourceName, getTreeNodeStream, matchAny, recoverFromMismatchedToken, reset, setTreeNodeStream, traceIn, traceOut |
Methods inherited from class org.antlr.runtime.BaseRecognizer |
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, emitErrorMessage, endResync, failed, getBacktrackingLevel, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, reportError, setBacktrackingLevel, toStrings, traceIn, traceOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tokenNames
public static final String[] tokenNames
EQLS
public static final int EQLS
- See Also:
- Constant Field Values
NAME
public static final int NAME
- See Also:
- Constant Field Values
WS
public static final int WS
- See Also:
- Constant Field Values
T__11
public static final int T__11
- See Also:
- Constant Field Values
OR
public static final int OR
- See Also:
- Constant Field Values
T__10
public static final int T__10
- See Also:
- Constant Field Values
AND
public static final int AND
- See Also:
- Constant Field Values
NONWORD
public static final int NONWORD
- See Also:
- Constant Field Values
EOF
public static final int EOF
- See Also:
- Constant Field Values
FOLLOW_set_in_evaluate64
public static final org.antlr.runtime.BitSet FOLLOW_set_in_evaluate64
FOLLOW_evaluate_in_evaluate72
public static final org.antlr.runtime.BitSet FOLLOW_evaluate_in_evaluate72
FOLLOW_evaluate_in_evaluate77
public static final org.antlr.runtime.BitSet FOLLOW_evaluate_in_evaluate77
FOLLOW_EQLS_in_evaluate101
public static final org.antlr.runtime.BitSet FOLLOW_EQLS_in_evaluate101
FOLLOW_NAME_in_evaluate106
public static final org.antlr.runtime.BitSet FOLLOW_NAME_in_evaluate106
FOLLOW_NAME_in_evaluate110
public static final org.antlr.runtime.BitSet FOLLOW_NAME_in_evaluate110
QueryWalker
public QueryWalker(org.antlr.runtime.tree.TreeNodeStream input)
QueryWalker
public QueryWalker(org.antlr.runtime.tree.TreeNodeStream input,
org.antlr.runtime.RecognizerSharedState state)
getTokenNames
public String[] getTokenNames()
- Overrides:
getTokenNames
in class org.antlr.runtime.BaseRecognizer
getGrammarFileName
public String getGrammarFileName()
- Overrides:
getGrammarFileName
in class org.antlr.runtime.BaseRecognizer
checkMatch
public boolean checkMatch(String sleftVal,
String srightVal,
MetadataContainer mDataProperty)
evaluate
public final boolean evaluate(MetadataContainer<MetadataValue> metaDataProperty)
throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
Copyright © 2004-2013. All Rights Reserved.