org.eclipse.jnosql.query.grammar.method.MethodParser Maven / Gradle / Ivy
// Generated from org/eclipse/jnosql/query/grammar/method/Method.g4 by ANTLR 4.12.0
package org.eclipse.jnosql.query.grammar.method;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.misc.*;
import org.antlr.v4.runtime.tree.*;
import java.util.List;
import java.util.Iterator;
import java.util.ArrayList;
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue"})
public class MethodParser extends Parser {
static { RuntimeMetaData.checkVersion("4.12.0", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9,
T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17,
T__17=18, T__18=19, T__19=20, ANY_NAME=21, WS=22;
public static final int
RULE_select = 0, RULE_deleteBy = 1, RULE_selectStart = 2, RULE_where = 3,
RULE_condition = 4, RULE_order = 5, RULE_orderName = 6, RULE_and = 7,
RULE_or = 8, RULE_asc = 9, RULE_desc = 10, RULE_truth = 11, RULE_untruth = 12,
RULE_eq = 13, RULE_gt = 14, RULE_gte = 15, RULE_lt = 16, RULE_lte = 17,
RULE_between = 18, RULE_in = 19, RULE_like = 20, RULE_not = 21, RULE_variable = 22;
private static String[] makeRuleNames() {
return new String[] {
"select", "deleteBy", "selectStart", "where", "condition", "order", "orderName",
"and", "or", "asc", "desc", "truth", "untruth", "eq", "gt", "gte", "lt",
"lte", "between", "in", "like", "not", "variable"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, "'deleteBy'", "'findBy'", "'countBy'", "'existsBy'", "'OrderBy'",
"'And'", "'Or'", "'Asc'", "'Desc'", "'True'", "'False'", "'Equals'",
"'GreaterThan'", "'GreaterThanEqual'", "'LessThan'", "'LessThanEqual'",
"'Between'", "'In'", "'Like'", "'Not'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, "ANY_NAME", "WS"
};
}
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
/**
* @deprecated Use {@link #VOCABULARY} instead.
*/
@Deprecated
public static final String[] tokenNames;
static {
tokenNames = new String[_SYMBOLIC_NAMES.length];
for (int i = 0; i < tokenNames.length; i++) {
tokenNames[i] = VOCABULARY.getLiteralName(i);
if (tokenNames[i] == null) {
tokenNames[i] = VOCABULARY.getSymbolicName(i);
}
if (tokenNames[i] == null) {
tokenNames[i] = "";
}
}
}
@Override
@Deprecated
public String[] getTokenNames() {
return tokenNames;
}
@Override
public Vocabulary getVocabulary() {
return VOCABULARY;
}
@Override
public String getGrammarFileName() { return "Method.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
public MethodParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
@SuppressWarnings("CheckReturnValue")
public static class SelectContext extends ParserRuleContext {
public SelectStartContext selectStart() {
return getRuleContext(SelectStartContext.class,0);
}
public TerminalNode EOF() { return getToken(MethodParser.EOF, 0); }
public WhereContext where() {
return getRuleContext(WhereContext.class,0);
}
public OrderContext order() {
return getRuleContext(OrderContext.class,0);
}
public SelectContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_select; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterSelect(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitSelect(this);
}
}
public final SelectContext select() throws RecognitionException {
SelectContext _localctx = new SelectContext(_ctx, getState());
enterRule(_localctx, 0, RULE_select);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(46);
selectStart();
setState(48);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ANY_NAME) {
{
setState(47);
where();
}
}
setState(51);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__4) {
{
setState(50);
order();
}
}
setState(53);
match(EOF);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class DeleteByContext extends ParserRuleContext {
public TerminalNode EOF() { return getToken(MethodParser.EOF, 0); }
public WhereContext where() {
return getRuleContext(WhereContext.class,0);
}
public DeleteByContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_deleteBy; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterDeleteBy(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitDeleteBy(this);
}
}
public final DeleteByContext deleteBy() throws RecognitionException {
DeleteByContext _localctx = new DeleteByContext(_ctx, getState());
enterRule(_localctx, 2, RULE_deleteBy);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(55);
match(T__0);
setState(57);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ANY_NAME) {
{
setState(56);
where();
}
}
setState(59);
match(EOF);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class SelectStartContext extends ParserRuleContext {
public SelectStartContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_selectStart; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterSelectStart(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitSelectStart(this);
}
}
public final SelectStartContext selectStart() throws RecognitionException {
SelectStartContext _localctx = new SelectStartContext(_ctx, getState());
enterRule(_localctx, 4, RULE_selectStart);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(61);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 28L) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class WhereContext extends ParserRuleContext {
public List condition() {
return getRuleContexts(ConditionContext.class);
}
public ConditionContext condition(int i) {
return getRuleContext(ConditionContext.class,i);
}
public List and() {
return getRuleContexts(AndContext.class);
}
public AndContext and(int i) {
return getRuleContext(AndContext.class,i);
}
public List or() {
return getRuleContexts(OrContext.class);
}
public OrContext or(int i) {
return getRuleContext(OrContext.class,i);
}
public WhereContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_where; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterWhere(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitWhere(this);
}
}
public final WhereContext where() throws RecognitionException {
WhereContext _localctx = new WhereContext(_ctx, getState());
enterRule(_localctx, 6, RULE_where);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(63);
condition();
setState(72);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__5 || _la==T__6) {
{
setState(70);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__5:
{
setState(64);
and();
setState(65);
condition();
}
break;
case T__6:
{
setState(67);
or();
setState(68);
condition();
}
break;
default:
throw new NoViableAltException(this);
}
}
setState(74);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class ConditionContext extends ParserRuleContext {
public EqContext eq() {
return getRuleContext(EqContext.class,0);
}
public GtContext gt() {
return getRuleContext(GtContext.class,0);
}
public GteContext gte() {
return getRuleContext(GteContext.class,0);
}
public LtContext lt() {
return getRuleContext(LtContext.class,0);
}
public LteContext lte() {
return getRuleContext(LteContext.class,0);
}
public BetweenContext between() {
return getRuleContext(BetweenContext.class,0);
}
public InContext in() {
return getRuleContext(InContext.class,0);
}
public LikeContext like() {
return getRuleContext(LikeContext.class,0);
}
public TruthContext truth() {
return getRuleContext(TruthContext.class,0);
}
public UntruthContext untruth() {
return getRuleContext(UntruthContext.class,0);
}
public ConditionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_condition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterCondition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitCondition(this);
}
}
public final ConditionContext condition() throws RecognitionException {
ConditionContext _localctx = new ConditionContext(_ctx, getState());
enterRule(_localctx, 8, RULE_condition);
try {
setState(85);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,5,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(75);
eq();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(76);
gt();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(77);
gte();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(78);
lt();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(79);
lte();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(80);
between();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(81);
in();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(82);
like();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(83);
truth();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(84);
untruth();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class OrderContext extends ParserRuleContext {
public List orderName() {
return getRuleContexts(OrderNameContext.class);
}
public OrderNameContext orderName(int i) {
return getRuleContext(OrderNameContext.class,i);
}
public OrderContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_order; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterOrder(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitOrder(this);
}
}
public final OrderContext order() throws RecognitionException {
OrderContext _localctx = new OrderContext(_ctx, getState());
enterRule(_localctx, 10, RULE_order);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(87);
match(T__4);
setState(88);
orderName();
setState(92);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==ANY_NAME) {
{
{
setState(89);
orderName();
}
}
setState(94);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class OrderNameContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public AscContext asc() {
return getRuleContext(AscContext.class,0);
}
public DescContext desc() {
return getRuleContext(DescContext.class,0);
}
public OrderNameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_orderName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterOrderName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitOrderName(this);
}
}
public final OrderNameContext orderName() throws RecognitionException {
OrderNameContext _localctx = new OrderNameContext(_ctx, getState());
enterRule(_localctx, 12, RULE_orderName);
try {
setState(102);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,7,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(95);
variable();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(96);
variable();
setState(97);
asc();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(99);
variable();
setState(100);
desc();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class AndContext extends ParserRuleContext {
public AndContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_and; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterAnd(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitAnd(this);
}
}
public final AndContext and() throws RecognitionException {
AndContext _localctx = new AndContext(_ctx, getState());
enterRule(_localctx, 14, RULE_and);
try {
enterOuterAlt(_localctx, 1);
{
setState(104);
match(T__5);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class OrContext extends ParserRuleContext {
public OrContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_or; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterOr(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitOr(this);
}
}
public final OrContext or() throws RecognitionException {
OrContext _localctx = new OrContext(_ctx, getState());
enterRule(_localctx, 16, RULE_or);
try {
enterOuterAlt(_localctx, 1);
{
setState(106);
match(T__6);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class AscContext extends ParserRuleContext {
public AscContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_asc; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterAsc(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitAsc(this);
}
}
public final AscContext asc() throws RecognitionException {
AscContext _localctx = new AscContext(_ctx, getState());
enterRule(_localctx, 18, RULE_asc);
try {
enterOuterAlt(_localctx, 1);
{
setState(108);
match(T__7);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class DescContext extends ParserRuleContext {
public DescContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_desc; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterDesc(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitDesc(this);
}
}
public final DescContext desc() throws RecognitionException {
DescContext _localctx = new DescContext(_ctx, getState());
enterRule(_localctx, 20, RULE_desc);
try {
enterOuterAlt(_localctx, 1);
{
setState(110);
match(T__8);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class TruthContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public TruthContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_truth; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterTruth(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitTruth(this);
}
}
public final TruthContext truth() throws RecognitionException {
TruthContext _localctx = new TruthContext(_ctx, getState());
enterRule(_localctx, 22, RULE_truth);
try {
enterOuterAlt(_localctx, 1);
{
setState(112);
variable();
setState(113);
match(T__9);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class UntruthContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public UntruthContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_untruth; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterUntruth(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitUntruth(this);
}
}
public final UntruthContext untruth() throws RecognitionException {
UntruthContext _localctx = new UntruthContext(_ctx, getState());
enterRule(_localctx, 24, RULE_untruth);
try {
enterOuterAlt(_localctx, 1);
{
setState(115);
variable();
setState(116);
match(T__10);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class EqContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public NotContext not() {
return getRuleContext(NotContext.class,0);
}
public EqContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_eq; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterEq(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitEq(this);
}
}
public final EqContext eq() throws RecognitionException {
EqContext _localctx = new EqContext(_ctx, getState());
enterRule(_localctx, 26, RULE_eq);
int _la;
try {
setState(128);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,9,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(118);
variable();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(119);
variable();
setState(121);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__19) {
{
setState(120);
not();
}
}
setState(123);
match(T__11);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(125);
variable();
setState(126);
not();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class GtContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public NotContext not() {
return getRuleContext(NotContext.class,0);
}
public GtContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_gt; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterGt(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitGt(this);
}
}
public final GtContext gt() throws RecognitionException {
GtContext _localctx = new GtContext(_ctx, getState());
enterRule(_localctx, 28, RULE_gt);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(130);
variable();
setState(132);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__19) {
{
setState(131);
not();
}
}
setState(134);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class GteContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public NotContext not() {
return getRuleContext(NotContext.class,0);
}
public GteContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_gte; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterGte(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitGte(this);
}
}
public final GteContext gte() throws RecognitionException {
GteContext _localctx = new GteContext(_ctx, getState());
enterRule(_localctx, 30, RULE_gte);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(136);
variable();
setState(138);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__19) {
{
setState(137);
not();
}
}
setState(140);
match(T__13);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class LtContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public NotContext not() {
return getRuleContext(NotContext.class,0);
}
public LtContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lt; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterLt(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitLt(this);
}
}
public final LtContext lt() throws RecognitionException {
LtContext _localctx = new LtContext(_ctx, getState());
enterRule(_localctx, 32, RULE_lt);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(142);
variable();
setState(144);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__19) {
{
setState(143);
not();
}
}
setState(146);
match(T__14);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class LteContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public NotContext not() {
return getRuleContext(NotContext.class,0);
}
public LteContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lte; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterLte(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitLte(this);
}
}
public final LteContext lte() throws RecognitionException {
LteContext _localctx = new LteContext(_ctx, getState());
enterRule(_localctx, 34, RULE_lte);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(148);
variable();
setState(150);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__19) {
{
setState(149);
not();
}
}
setState(152);
match(T__15);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class BetweenContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public NotContext not() {
return getRuleContext(NotContext.class,0);
}
public BetweenContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_between; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterBetween(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitBetween(this);
}
}
public final BetweenContext between() throws RecognitionException {
BetweenContext _localctx = new BetweenContext(_ctx, getState());
enterRule(_localctx, 36, RULE_between);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(154);
variable();
setState(156);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__19) {
{
setState(155);
not();
}
}
setState(158);
match(T__16);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class InContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public NotContext not() {
return getRuleContext(NotContext.class,0);
}
public InContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_in; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterIn(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitIn(this);
}
}
public final InContext in() throws RecognitionException {
InContext _localctx = new InContext(_ctx, getState());
enterRule(_localctx, 38, RULE_in);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(160);
variable();
setState(162);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__19) {
{
setState(161);
not();
}
}
setState(164);
match(T__17);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class LikeContext extends ParserRuleContext {
public VariableContext variable() {
return getRuleContext(VariableContext.class,0);
}
public NotContext not() {
return getRuleContext(NotContext.class,0);
}
public LikeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_like; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterLike(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitLike(this);
}
}
public final LikeContext like() throws RecognitionException {
LikeContext _localctx = new LikeContext(_ctx, getState());
enterRule(_localctx, 40, RULE_like);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(166);
variable();
setState(168);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__19) {
{
setState(167);
not();
}
}
setState(170);
match(T__18);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class NotContext extends ParserRuleContext {
public NotContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_not; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterNot(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitNot(this);
}
}
public final NotContext not() throws RecognitionException {
NotContext _localctx = new NotContext(_ctx, getState());
enterRule(_localctx, 42, RULE_not);
try {
enterOuterAlt(_localctx, 1);
{
setState(172);
match(T__19);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class VariableContext extends ParserRuleContext {
public TerminalNode ANY_NAME() { return getToken(MethodParser.ANY_NAME, 0); }
public VariableContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variable; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).enterVariable(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof MethodListener ) ((MethodListener)listener).exitVariable(this);
}
}
public final VariableContext variable() throws RecognitionException {
VariableContext _localctx = new VariableContext(_ctx, getState());
enterRule(_localctx, 44, RULE_variable);
try {
enterOuterAlt(_localctx, 1);
{
setState(174);
match(ANY_NAME);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static final String _serializedATN =
"\u0004\u0001\u0016\u00b1\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+
"\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004"+
"\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007"+
"\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b\u0007\u000b"+
"\u0002\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e\u0002\u000f\u0007"+
"\u000f\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011\u0002\u0012\u0007"+
"\u0012\u0002\u0013\u0007\u0013\u0002\u0014\u0007\u0014\u0002\u0015\u0007"+
"\u0015\u0002\u0016\u0007\u0016\u0001\u0000\u0001\u0000\u0003\u00001\b"+
"\u0000\u0001\u0000\u0003\u00004\b\u0000\u0001\u0000\u0001\u0000\u0001"+
"\u0001\u0001\u0001\u0003\u0001:\b\u0001\u0001\u0001\u0001\u0001\u0001"+
"\u0002\u0001\u0002\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001"+
"\u0003\u0001\u0003\u0001\u0003\u0005\u0003G\b\u0003\n\u0003\f\u0003J\t"+
"\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001"+
"\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0003\u0004V\b"+
"\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0005\u0005[\b\u0005\n\u0005"+
"\f\u0005^\t\u0005\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001"+
"\u0006\u0001\u0006\u0001\u0006\u0003\u0006g\b\u0006\u0001\u0007\u0001"+
"\u0007\u0001\b\u0001\b\u0001\t\u0001\t\u0001\n\u0001\n\u0001\u000b\u0001"+
"\u000b\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r\u0003"+
"\rz\b\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0003\r\u0081\b\r\u0001"+
"\u000e\u0001\u000e\u0003\u000e\u0085\b\u000e\u0001\u000e\u0001\u000e\u0001"+
"\u000f\u0001\u000f\u0003\u000f\u008b\b\u000f\u0001\u000f\u0001\u000f\u0001"+
"\u0010\u0001\u0010\u0003\u0010\u0091\b\u0010\u0001\u0010\u0001\u0010\u0001"+
"\u0011\u0001\u0011\u0003\u0011\u0097\b\u0011\u0001\u0011\u0001\u0011\u0001"+
"\u0012\u0001\u0012\u0003\u0012\u009d\b\u0012\u0001\u0012\u0001\u0012\u0001"+
"\u0013\u0001\u0013\u0003\u0013\u00a3\b\u0013\u0001\u0013\u0001\u0013\u0001"+
"\u0014\u0001\u0014\u0003\u0014\u00a9\b\u0014\u0001\u0014\u0001\u0014\u0001"+
"\u0015\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0000\u0000\u0017"+
"\u0000\u0002\u0004\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018\u001a"+
"\u001c\u001e \"$&(*,\u0000\u0001\u0001\u0000\u0002\u0004\u00b4\u0000."+
"\u0001\u0000\u0000\u0000\u00027\u0001\u0000\u0000\u0000\u0004=\u0001\u0000"+
"\u0000\u0000\u0006?\u0001\u0000\u0000\u0000\bU\u0001\u0000\u0000\u0000"+
"\nW\u0001\u0000\u0000\u0000\ff\u0001\u0000\u0000\u0000\u000eh\u0001\u0000"+
"\u0000\u0000\u0010j\u0001\u0000\u0000\u0000\u0012l\u0001\u0000\u0000\u0000"+
"\u0014n\u0001\u0000\u0000\u0000\u0016p\u0001\u0000\u0000\u0000\u0018s"+
"\u0001\u0000\u0000\u0000\u001a\u0080\u0001\u0000\u0000\u0000\u001c\u0082"+
"\u0001\u0000\u0000\u0000\u001e\u0088\u0001\u0000\u0000\u0000 \u008e\u0001"+
"\u0000\u0000\u0000\"\u0094\u0001\u0000\u0000\u0000$\u009a\u0001\u0000"+
"\u0000\u0000&\u00a0\u0001\u0000\u0000\u0000(\u00a6\u0001\u0000\u0000\u0000"+
"*\u00ac\u0001\u0000\u0000\u0000,\u00ae\u0001\u0000\u0000\u0000.0\u0003"+
"\u0004\u0002\u0000/1\u0003\u0006\u0003\u00000/\u0001\u0000\u0000\u0000"+
"01\u0001\u0000\u0000\u000013\u0001\u0000\u0000\u000024\u0003\n\u0005\u0000"+
"32\u0001\u0000\u0000\u000034\u0001\u0000\u0000\u000045\u0001\u0000\u0000"+
"\u000056\u0005\u0000\u0000\u00016\u0001\u0001\u0000\u0000\u000079\u0005"+
"\u0001\u0000\u00008:\u0003\u0006\u0003\u000098\u0001\u0000\u0000\u0000"+
"9:\u0001\u0000\u0000\u0000:;\u0001\u0000\u0000\u0000;<\u0005\u0000\u0000"+
"\u0001<\u0003\u0001\u0000\u0000\u0000=>\u0007\u0000\u0000\u0000>\u0005"+
"\u0001\u0000\u0000\u0000?H\u0003\b\u0004\u0000@A\u0003\u000e\u0007\u0000"+
"AB\u0003\b\u0004\u0000BG\u0001\u0000\u0000\u0000CD\u0003\u0010\b\u0000"+
"DE\u0003\b\u0004\u0000EG\u0001\u0000\u0000\u0000F@\u0001\u0000\u0000\u0000"+
"FC\u0001\u0000\u0000\u0000GJ\u0001\u0000\u0000\u0000HF\u0001\u0000\u0000"+
"\u0000HI\u0001\u0000\u0000\u0000I\u0007\u0001\u0000\u0000\u0000JH\u0001"+
"\u0000\u0000\u0000KV\u0003\u001a\r\u0000LV\u0003\u001c\u000e\u0000MV\u0003"+
"\u001e\u000f\u0000NV\u0003 \u0010\u0000OV\u0003\"\u0011\u0000PV\u0003"+
"$\u0012\u0000QV\u0003&\u0013\u0000RV\u0003(\u0014\u0000SV\u0003\u0016"+
"\u000b\u0000TV\u0003\u0018\f\u0000UK\u0001\u0000\u0000\u0000UL\u0001\u0000"+
"\u0000\u0000UM\u0001\u0000\u0000\u0000UN\u0001\u0000\u0000\u0000UO\u0001"+
"\u0000\u0000\u0000UP\u0001\u0000\u0000\u0000UQ\u0001\u0000\u0000\u0000"+
"UR\u0001\u0000\u0000\u0000US\u0001\u0000\u0000\u0000UT\u0001\u0000\u0000"+
"\u0000V\t\u0001\u0000\u0000\u0000WX\u0005\u0005\u0000\u0000X\\\u0003\f"+
"\u0006\u0000Y[\u0003\f\u0006\u0000ZY\u0001\u0000\u0000\u0000[^\u0001\u0000"+
"\u0000\u0000\\Z\u0001\u0000\u0000\u0000\\]\u0001\u0000\u0000\u0000]\u000b"+
"\u0001\u0000\u0000\u0000^\\\u0001\u0000\u0000\u0000_g\u0003,\u0016\u0000"+
"`a\u0003,\u0016\u0000ab\u0003\u0012\t\u0000bg\u0001\u0000\u0000\u0000"+
"cd\u0003,\u0016\u0000de\u0003\u0014\n\u0000eg\u0001\u0000\u0000\u0000"+
"f_\u0001\u0000\u0000\u0000f`\u0001\u0000\u0000\u0000fc\u0001\u0000\u0000"+
"\u0000g\r\u0001\u0000\u0000\u0000hi\u0005\u0006\u0000\u0000i\u000f\u0001"+
"\u0000\u0000\u0000jk\u0005\u0007\u0000\u0000k\u0011\u0001\u0000\u0000"+
"\u0000lm\u0005\b\u0000\u0000m\u0013\u0001\u0000\u0000\u0000no\u0005\t"+
"\u0000\u0000o\u0015\u0001\u0000\u0000\u0000pq\u0003,\u0016\u0000qr\u0005"+
"\n\u0000\u0000r\u0017\u0001\u0000\u0000\u0000st\u0003,\u0016\u0000tu\u0005"+
"\u000b\u0000\u0000u\u0019\u0001\u0000\u0000\u0000v\u0081\u0003,\u0016"+
"\u0000wy\u0003,\u0016\u0000xz\u0003*\u0015\u0000yx\u0001\u0000\u0000\u0000"+
"yz\u0001\u0000\u0000\u0000z{\u0001\u0000\u0000\u0000{|\u0005\f\u0000\u0000"+
"|\u0081\u0001\u0000\u0000\u0000}~\u0003,\u0016\u0000~\u007f\u0003*\u0015"+
"\u0000\u007f\u0081\u0001\u0000\u0000\u0000\u0080v\u0001\u0000\u0000\u0000"+
"\u0080w\u0001\u0000\u0000\u0000\u0080}\u0001\u0000\u0000\u0000\u0081\u001b"+
"\u0001\u0000\u0000\u0000\u0082\u0084\u0003,\u0016\u0000\u0083\u0085\u0003"+
"*\u0015\u0000\u0084\u0083\u0001\u0000\u0000\u0000\u0084\u0085\u0001\u0000"+
"\u0000\u0000\u0085\u0086\u0001\u0000\u0000\u0000\u0086\u0087\u0005\r\u0000"+
"\u0000\u0087\u001d\u0001\u0000\u0000\u0000\u0088\u008a\u0003,\u0016\u0000"+
"\u0089\u008b\u0003*\u0015\u0000\u008a\u0089\u0001\u0000\u0000\u0000\u008a"+
"\u008b\u0001\u0000\u0000\u0000\u008b\u008c\u0001\u0000\u0000\u0000\u008c"+
"\u008d\u0005\u000e\u0000\u0000\u008d\u001f\u0001\u0000\u0000\u0000\u008e"+
"\u0090\u0003,\u0016\u0000\u008f\u0091\u0003*\u0015\u0000\u0090\u008f\u0001"+
"\u0000\u0000\u0000\u0090\u0091\u0001\u0000\u0000\u0000\u0091\u0092\u0001"+
"\u0000\u0000\u0000\u0092\u0093\u0005\u000f\u0000\u0000\u0093!\u0001\u0000"+
"\u0000\u0000\u0094\u0096\u0003,\u0016\u0000\u0095\u0097\u0003*\u0015\u0000"+
"\u0096\u0095\u0001\u0000\u0000\u0000\u0096\u0097\u0001\u0000\u0000\u0000"+
"\u0097\u0098\u0001\u0000\u0000\u0000\u0098\u0099\u0005\u0010\u0000\u0000"+
"\u0099#\u0001\u0000\u0000\u0000\u009a\u009c\u0003,\u0016\u0000\u009b\u009d"+
"\u0003*\u0015\u0000\u009c\u009b\u0001\u0000\u0000\u0000\u009c\u009d\u0001"+
"\u0000\u0000\u0000\u009d\u009e\u0001\u0000\u0000\u0000\u009e\u009f\u0005"+
"\u0011\u0000\u0000\u009f%\u0001\u0000\u0000\u0000\u00a0\u00a2\u0003,\u0016"+
"\u0000\u00a1\u00a3\u0003*\u0015\u0000\u00a2\u00a1\u0001\u0000\u0000\u0000"+
"\u00a2\u00a3\u0001\u0000\u0000\u0000\u00a3\u00a4\u0001\u0000\u0000\u0000"+
"\u00a4\u00a5\u0005\u0012\u0000\u0000\u00a5\'\u0001\u0000\u0000\u0000\u00a6"+
"\u00a8\u0003,\u0016\u0000\u00a7\u00a9\u0003*\u0015\u0000\u00a8\u00a7\u0001"+
"\u0000\u0000\u0000\u00a8\u00a9\u0001\u0000\u0000\u0000\u00a9\u00aa\u0001"+
"\u0000\u0000\u0000\u00aa\u00ab\u0005\u0013\u0000\u0000\u00ab)\u0001\u0000"+
"\u0000\u0000\u00ac\u00ad\u0005\u0014\u0000\u0000\u00ad+\u0001\u0000\u0000"+
"\u0000\u00ae\u00af\u0005\u0015\u0000\u0000\u00af-\u0001\u0000\u0000\u0000"+
"\u0011039FHU\\fy\u0080\u0084\u008a\u0090\u0096\u009c\u00a2\u00a8";
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