public class SearchExpressionParser extends antlr.LLkParser implements SearchExpressionParserTokenTypes
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
_tokenNames |
static antlr.collections.impl.BitSet |
_tokenSet_0 |
static antlr.collections.impl.BitSet |
_tokenSet_1 |
static antlr.collections.impl.BitSet |
_tokenSet_2 |
boolean |
caseSensitive |
boolean |
regex |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
And, EEQUAL, EOF, EQUAL, ExpressionSearch, FIELDTYPE, LETTER, LITERAL_and, LITERAL_contains, LITERAL_matches, LITERAL_not, LITERAL_or, LPAREN, NEQUAL, Not, NULL_TREE_LOOKAHEAD, Or, QUOTE, RegularExpression, RPAREN, STRING, WS
Modifier | Constructor and Description |
---|---|
|
SearchExpressionParser(antlr.ParserSharedInputState state) |
|
SearchExpressionParser(antlr.TokenBuffer tokenBuf) |
protected |
SearchExpressionParser(antlr.TokenBuffer tokenBuf,
int k) |
|
SearchExpressionParser(antlr.TokenStream lexer) |
protected |
SearchExpressionParser(antlr.TokenStream lexer,
int k) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildTokenTypeASTClassMap() |
static antlr.collections.AST |
checkSyntax(java.lang.String s,
boolean caseSensitive,
boolean regex)
Creates a parser and lexer instance and tests the specified String.
|
void |
compareType() |
void |
condition() |
void |
expression() |
void |
expressionSearch() |
void |
quotedRegularExpression(boolean caseSensitive,
boolean regex) |
void |
searchExpression() |
void |
simpleRegularExpression(boolean caseSensitive,
boolean regex) |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
public boolean caseSensitive
public boolean regex
public static final java.lang.String[] _tokenNames
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_2
protected SearchExpressionParser(antlr.TokenBuffer tokenBuf, int k)
public SearchExpressionParser(antlr.TokenBuffer tokenBuf)
protected SearchExpressionParser(antlr.TokenStream lexer, int k)
public SearchExpressionParser(antlr.TokenStream lexer)
public SearchExpressionParser(antlr.ParserSharedInputState state)
public static antlr.collections.AST checkSyntax(java.lang.String s, boolean caseSensitive, boolean regex)
public final void quotedRegularExpression(boolean caseSensitive, boolean regex) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void simpleRegularExpression(boolean caseSensitive, boolean regex) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void searchExpression() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void condition() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void expression() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void expressionSearch() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void compareType() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
protected void buildTokenTypeASTClassMap()