public final BinaryFunctionNameContext binaryFunctionName() throws RecognitionException { BinaryFunctionNameContext _localctx = new BinaryFunctionNameContext(_ctx, getState()); enterRule(_localctx, 4, RULE_binaryFunctionName); int _la; try { enterOuterAlt(_localctx, 1); { setState(39); ((BinaryFunctionNameContext)_localctx).name = _input.LT(1); _la = _input.LA(1); if ( !(_la==MIN || _la==MAX) ) { ((BinaryFunctionNameContext)_localctx).name = (Token)_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; }
public final Block_endContext block_end() throws RecognitionException { Block_endContext _localctx = new Block_endContext(_ctx, getState()); enterRule(_localctx, 8, RULE_block_end); try { enterOuterAlt(_localctx, 1); { setState(489); if (!(!_input.LT(2).getText().equalsIgnoreCase("TRANSACTION"))) throw new FailedPredicateException(this, "!_input.LT(2).getText().equalsIgnoreCase(\"TRANSACTION\")"); setState(490); match(T_END); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
if (!(!_input.LT(1).getText().equalsIgnoreCase("EXEC") && !_input.LT(1).getText().equalsIgnoreCase("EXECUTE") && !_input.LT(1).getText().equalsIgnoreCase("INNER") && !_input.LT(1).getText().equalsIgnoreCase("LEFT") && !_input.LT(1).getText().equalsIgnoreCase("GROUP") && !_input.LT(1).getText().equalsIgnoreCase("ORDER") && !_input.LT(1).getText().equalsIgnoreCase("LIMIT") && !_input.LT(1).getText().equalsIgnoreCase("WITH"))) throw new FailedPredicateException(this, "!_input.LT(1).getText().equalsIgnoreCase(\"EXEC\") &&\n !_input.LT(1).getText().equalsIgnoreCase(\"EXECUTE\") && \n !_input.LT(1).getText().equalsIgnoreCase(\"INNER\") &&\n !_input.LT(1).getText().equalsIgnoreCase(\"LEFT\") &&\n !_input.LT(1).getText().equalsIgnoreCase(\"GROUP\") &&\n !_input.LT(1).getText().equalsIgnoreCase(\"ORDER\") &&\n !_input.LT(1).getText().equalsIgnoreCase(\"LIMIT\") &&\n !_input.LT(1).getText().equalsIgnoreCase(\"WITH\")"); setState(2419); switch ( getInterpreter().adaptivePredict(_input,297,_ctx) ) { case 1: ident(); setState(2432); switch ( getInterpreter().adaptivePredict(_input,299,_ctx) ) { case 1: match(L_ID); setState(2428); _errHandler.sync(this); _la = _input.LA(1); while (_la==T_COMMA) { _errHandler.sync(this); _la = _input.LA(1); _errHandler.reportError(this, re); _errHandler.recover(this, re);
public final Expr_stmtContext expr_stmt() throws RecognitionException { Expr_stmtContext _localctx = new Expr_stmtContext(_ctx, getState()); enterRule(_localctx, 22, RULE_expr_stmt); try { enterOuterAlt(_localctx, 1); { setState(582); if (!(!_input.LT(1).getText().equalsIgnoreCase("GO"))) throw new FailedPredicateException(this, "!_input.LT(1).getText().equalsIgnoreCase(\"GO\")"); setState(583); expr(0); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
public final F0xContext f0x() throws RecognitionException { F0xContext _localctx = new F0xContext(_ctx, getState()); enterRule(_localctx, 60, RULE_f0x); int _la; try { enterOuterAlt(_localctx, 1); { setState(394); ((F0xContext)_localctx).op = _input.LT(1); _la = _input.LA(1); if ( !(_la==T__38 || _la==NOP) ) { ((F0xContext)_localctx).op = (Token)_errHandler.recoverInline(this); } else { consume(); } } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
expression(); setState(630); _errHandler.sync(this); _la = _input.LA(1); if (_la==ASC || _la==DESC) { ((SortItemContext)_localctx).ordering = _input.LT(1); _la = _input.LA(1); if ( !(_la==ASC || _la==DESC) ) { ((SortItemContext)_localctx).ordering = (Token)_errHandler.recoverInline(this); if ( _input.LA(1)==Token.EOF ) matchedEOF = true; _errHandler.reportMatch(this); consume(); _errHandler.sync(this); _la = _input.LA(1); if (_la==NULLS) { match(NULLS); setState(633); ((SortItemContext)_localctx).nullOrdering = _input.LT(1); _la = _input.LA(1); if ( !(_la==FIRST || _la==LAST) ) { _errHandler.reportError(this, re); _errHandler.recover(this, re);
try { setState(1422); _errHandler.sync(this); switch (_input.LA(1)) { case FORMAT: _localctx = new ExplainFormatContext(_localctx); match(FORMAT); setState(1419); ((ExplainFormatContext)_localctx).value = _input.LT(1); _la = _input.LA(1); if ( !(_la==GRAPHVIZ || _la==JSON || _la==TEXT) ) { ((ExplainFormatContext)_localctx).value = (Token)_errHandler.recoverInline(this); if ( _input.LA(1)==Token.EOF ) matchedEOF = true; _errHandler.reportMatch(this); consume(); match(TYPE); setState(1421); ((ExplainTypeContext)_localctx).value = _input.LT(1); _la = _input.LA(1); if ( !(((((_la - 51)) & ~0x3f) == 0 && ((1L << (_la - 51)) & ((1L << (DISTRIBUTED - 51)) | (1L << (IO - 51)) | (1L << (LOGICAL - 51)))) != 0) || _la==VALIDATE) ) { _errHandler.reportError(this, re); _errHandler.recover(this, re);
public final F0tContext f0t() throws RecognitionException { F0tContext _localctx = new F0tContext(_ctx, getState()); enterRule(_localctx, 62, RULE_f0t); int _la; try { enterOuterAlt(_localctx, 1); { setState(396); ((F0tContext)_localctx).op = _input.LT(1); _la = _input.LA(1); if ( !(_la==T__39 || _la==T__40 || _la==GOTO) ) { ((F0tContext)_localctx).op = (Token)_errHandler.recoverInline(this); } else { consume(); } setState(397); ((F0tContext)_localctx).target = match(LABEL); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
public final F1xContext f1x() throws RecognitionException { F1xContext _localctx = new F1xContext(_ctx, getState()); enterRule(_localctx, 64, RULE_f1x); int _la; try { enterOuterAlt(_localctx, 1); { setState(399); ((F1xContext)_localctx).op = _input.LT(1); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48))) != 0) || _la==RETURN || _la==THROW) ) { ((F1xContext)_localctx).op = (Token)_errHandler.recoverInline(this); } else { consume(); } setState(400); ((F1xContext)_localctx).r1 = match(REGISTER); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
qualifiedName(); setState(556); _errHandler.sync(this); _la = _input.LA(1); if (_la==EXCLUDING || _la==INCLUDING) { ((LikeClauseContext)_localctx).optionType = _input.LT(1); _la = _input.LA(1); if ( !(_la==EXCLUDING || _la==INCLUDING) ) { ((LikeClauseContext)_localctx).optionType = (Token)_errHandler.recoverInline(this); if ( _input.LA(1)==Token.EOF ) matchedEOF = true; _errHandler.reportMatch(this); consume(); _errHandler.reportError(this, re); _errHandler.recover(this, re);
exprs.add(((XorExprContext)_localctx).u1.e); p = pos((((XorExprContext)_localctx).u1!=null?(((XorExprContext)_localctx).u1.start):null)); setState(380); _errHandler.sync(this); _la = _input.LA(1); while (_la==Caret) { _errHandler.sync(this); _la = _input.LA(1); _ctx.stop = _input.LT(-1); _errHandler.reportError(this, re); _errHandler.recover(this, re);
match(INTERVAL); setState(1269); _errHandler.sync(this); _la = _input.LA(1); if (_la==PLUS || _la==MINUS) { ((IntervalContext)_localctx).sign = _input.LT(1); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { ((IntervalContext)_localctx).sign = (Token)_errHandler.recoverInline(this); if ( _input.LA(1)==Token.EOF ) matchedEOF = true; _errHandler.reportMatch(this); consume(); ((IntervalContext)_localctx).from = intervalField(); setState(1275); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,158,_ctx) ) { case 1: _errHandler.reportError(this, re); _errHandler.recover(this, re);
((Ft2cContext)_localctx).op = _input.LT(1); _la = _input.LA(1); if ( !(_la==T__73 || _la==T__74) ) { ((Ft2cContext)_localctx).op = (Token)_errHandler.recoverInline(this); match(T__15); setState(426); ((Ft2cContext)_localctx).type = _input.LT(1); _la = _input.LA(1); if ( !(_la==OBJECT_TYPE || _la==ARRAY_TYPE) ) { ((Ft2cContext)_localctx).type = (Token)_errHandler.recoverInline(this); _errHandler.reportError(this, re); _errHandler.recover(this, re);
queryTerm(); setState(347); _errHandler.sync(this); _la = _input.LA(1); if (_la==LIMIT) { match(LIMIT); setState(346); ((QueryNoWithContext)_localctx).limit = _input.LT(1); _la = _input.LA(1); if ( !(_la==ALL || _la==INTEGER_VALUE) ) { ((QueryNoWithContext)_localctx).limit = (Token)_errHandler.recoverInline(this); if ( _input.LA(1)==Token.EOF ) matchedEOF = true; _errHandler.reportMatch(this); consume(); _errHandler.reportError(this, re); _errHandler.recover(this, re);
match(Match); setState(58); ((StageDeclarationContext)_localctx).modifier = _input.LT(1); _la = _input.LA(1); if ( !(_la==All || _la==Either) ) { ((StageDeclarationContext)_localctx).modifier = (Token)_errHandler.recoverInline(this); if ( _input.LA(1)==Token.EOF ) matchedEOF = true; _errHandler.reportMatch(this); consume(); _errHandler.sync(this); _la = _input.LA(1); while (_la==Rule) { _errHandler.sync(this); _la = _input.LA(1); _errHandler.reportError(this, re); _errHandler.recover(this, re);
queryTerm(0); setState(584); _errHandler.sync(this); _la = _input.LA(1); if (_la==ORDER) { sortItem(); setState(581); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__3) { _errHandler.sync(this); _la = _input.LA(1); match(LIMIT); setState(587); ((QueryNoWithContext)_localctx).limit = _input.LT(1); _la = _input.LA(1); if ( !(_la==ALL || _la==INTEGER_VALUE) ) { _errHandler.reportError(this, re); _errHandler.recover(this, re);
try { setState(1429); _errHandler.sync(this); switch (_input.LA(1)) { case ISOLATION: _localctx = new IsolationLevelContext(_localctx); match(READ); setState(1428); ((TransactionAccessModeContext)_localctx).accessMode = _input.LT(1); _la = _input.LA(1); if ( !(_la==ONLY || _la==WRITE) ) { ((TransactionAccessModeContext)_localctx).accessMode = (Token)_errHandler.recoverInline(this); if ( _input.LA(1)==Token.EOF ) matchedEOF = true; _errHandler.reportMatch(this); consume(); _errHandler.reportError(this, re); _errHandler.recover(this, re);
int _alt; setState(1565); switch ( getInterpreter().adaptivePredict(_input,162,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); _errHandler.sync(this); _la = _input.LA(1); if (!(!_input.LT(1).getText().equalsIgnoreCase("IS") && !_input.LT(1).getText().equalsIgnoreCase("AS") && !(_input.LT(1).getText().equalsIgnoreCase("DYNAMIC") && _input.LT(2).getText().equalsIgnoreCase("RESULT")) )) throw new FailedPredicateException(this, "!_input.LT(1).getText().equalsIgnoreCase(\"IS\") &&\n !_input.LT(1).getText().equalsIgnoreCase(\"AS\") &&\n !(_input.LT(1).getText().equalsIgnoreCase(\"DYNAMIC\") && _input.LT(2).getText().equalsIgnoreCase(\"RESULT\"))\n "); setState(1557); create_routine_param_item(); setState(1562); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,161,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,161,_ctx); _errHandler.reportError(this, re); _errHandler.recover(this, re);
((F2xContext)_localctx).op = _input.LT(1); _la = _input.LA(1); if ( !(((((_la - 88)) & ~0x3f) == 0 && ((1L << (_la - 88)) & ((1L << (T__87 - 88)) | (1L << (T__88 - 88)) | (1L << (T__89 - 88)) | (1L << (T__90 - 88)) | (1L << (T__91 - 88)) | (1L << (T__92 - 88)) | (1L << (T__93 - 88)) | (1L << (T__94 - 88)) | (1L << (T__95 - 88)) | (1L << (T__96 - 88)) | (1L << (T__97 - 88)) | (1L << (T__98 - 88)) | (1L << (T__99 - 88)) | (1L << (T__100 - 88)) | (1L << (T__101 - 88)) | (1L << (T__102 - 88)) | (1L << (T__103 - 88)) | (1L << (T__104 - 88)) | (1L << (T__105 - 88)) | (1L << (T__106 - 88)) | (1L << (T__107 - 88)) | (1L << (T__108 - 88)) | (1L << (T__109 - 88)) | (1L << (T__110 - 88)) | (1L << (T__111 - 88)) | (1L << (T__112 - 88)) | (1L << (T__113 - 88)) | (1L << (T__114 - 88)) | (1L << (T__115 - 88)) | (1L << (T__116 - 88)) | (1L << (T__117 - 88)) | (1L << (T__118 - 88)) | (1L << (T__119 - 88)) | (1L << (T__120 - 88)) | (1L << (T__121 - 88)) | (1L << (T__122 - 88)) | (1L << (T__123 - 88)) | (1L << (T__124 - 88)) | (1L << (T__125 - 88)) | (1L << (T__126 - 88)) | (1L << (T__127 - 88)) | (1L << (T__128 - 88)) | (1L << (T__129 - 88)) | (1L << (T__130 - 88)) | (1L << (T__131 - 88)) | (1L << (T__132 - 88)) | (1L << (T__133 - 88)) | (1L << (T__134 - 88)) | (1L << (T__135 - 88)) | (1L << (T__136 - 88)) | (1L << (T__137 - 88)) | (1L << (T__138 - 88)) | (1L << (T__139 - 88)) | (1L << (T__140 - 88)) | (1L << (T__141 - 88)) | (1L << (T__142 - 88)) | (1L << (T__143 - 88)) | (1L << (T__144 - 88)) | (1L << (T__145 - 88)) | (1L << (T__146 - 88)) | (1L << (T__147 - 88)) | (1L << (T__148 - 88)))) != 0) || _la==MOVE) ) { ((F2xContext)_localctx).op = (Token)_errHandler.recoverInline(this); _errHandler.reportError(this, re); _errHandler.recover(this, re);
((F31tContext)_localctx).op = _input.LT(1); _la = _input.LA(1); if ( !(((((_la - 215)) & ~0x3f) == 0 && ((1L << (_la - 215)) & ((1L << (T__214 - 215)) | (1L << (T__215 - 215)) | (1L << (T__216 - 215)))) != 0)) ) { ((F31tContext)_localctx).op = (Token)_errHandler.recoverInline(this); _errHandler.reportError(this, re); _errHandler.recover(this, re);