
com.jaeksoft.searchlib.query.parser.BooleanQueryLexer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opensearchserver Show documentation
Show all versions of opensearchserver Show documentation
OpenSearchServer is a powerful, enterprise-class, search engine program. Using the web user interface,
the crawlers (web, file, database, ...) and the REST/RESTFul API you will be able to integrate quickly and
easily advanced full-text search capabilities in your application. OpenSearchServer runs on Windows and
Linux/Unix/BSD.
// Generated from com/jaeksoft/searchlib/query/parser/BooleanQuery.g4 by ANTLR 4.3
package com.jaeksoft.searchlib.query.parser;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.TokenStream;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.misc.*;
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class BooleanQueryLexer extends Lexer {
static { RuntimeMetaData.checkVersion("4.3", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
AND=1, OR=2, NOT=3, STRING=4, QSTRING=5, WS=6;
public static String[] modeNames = {
"DEFAULT_MODE"
};
public static final String[] tokenNames = {
"'\\u0000'", "'\\u0001'", "'\\u0002'", "'\\u0003'", "'\\u0004'", "'\\u0005'",
"'\\u0006'"
};
public static final String[] ruleNames = {
"AND", "OR", "NOT", "STRING", "QSTRING", "WS", "StringElement", "WhiteSpaces",
"CharEscapeSeq"
};
public BooleanQueryLexer(CharStream input) {
super(input);
_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
@Override
public String getGrammarFileName() { return "BooleanQuery.g4"; }
@Override
public String[] getTokenNames() { return tokenNames; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public String[] getModeNames() { return modeNames; }
@Override
public ATN getAT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\2+\66\7V\2\2,-\7P\2\2-.\7Q\2\2.\66\7P\2\2/\60"+
"\7P\2\2\60\61\7K\2\2\61\62\7E\2\2\62\63\7J\2\2\63\64\7V\2\2\64\66\7U\2"+
"\2\65)\3\2\2\2\65,\3\2\2\2\65/\3\2\2\2\66\b\3\2\2\2\679\5\17\b\28\67\3"+
"\2\2\29:\3\2\2\2:8\3\2\2\2:;\3\2\2\2;=\3\2\2\2<>\7\2\2\3=<\3\2\2\2=>\3"+
"\2\2\2>\n\3\2\2\2?D\7$\2\2@C\5\17\b\2AC\5\21\t\2B@\3\2\2\2BA\3\2\2\2C"+
"F\3\2\2\2DB\3\2\2\2DE\3\2\2\2EH\3\2\2\2FD\3\2\2\2GI\t\2\2\2HG\3\2\2\2"+
"I\f\3\2\2\2JK\5\21\t\2KL\3\2\2\2LM\b\7\2\2M\16\3\2\2\2NQ\t\3\2\2OQ\5\23"+
"\n\2PN\3\2\2\2PO\3\2\2\2Q\20\3\2\2\2RS\t\4\2\2S\22\3\2\2\2TU\7^\2\2UV"+
"\t\5\2\2V\24\3\2\2\2\f\2\35\'\65:=BDHP\3\2\3\2";
public static final ATN _ATN =
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
static {
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy