_errHandler.sync(this); _alt = 1; do { _la = _input.LA(1); if ( !(_la==WS || _la==CHAR) ) { _errHandler.recoverInline(this); if ( _input.LA(1)==Token.EOF ) matchedEOF = true; _errHandler.reportMatch(this); consume(); _la = _input.LA(1); if ((_la != WS) && (_la != CHAR)) return _localctx; else if (_alt == 1) continue; throw new NoViableAltException(this); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,181,_ctx); } while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ); _errHandler.reportError(this, re); _errHandler.recover(this, re);
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 ExpressionContext expression() throws RecognitionException { ExpressionContext _localctx = new ExpressionContext(_ctx, getState()); enterRule(_localctx, 60, RULE_expression); try { enterOuterAlt(_localctx, 1); { setState(885); booleanExpression(0); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
public final ComparisonOperatorContext comparisonOperator() throws RecognitionException { ComparisonOperatorContext _localctx = new ComparisonOperatorContext(_ctx, getState()); enterRule(_localctx, 74, RULE_comparisonOperator); int _la; try { enterOuterAlt(_localctx, 1); { setState(1261); _la = _input.LA(1); if ( !(((((_la - 190)) & ~0x3f) == 0 && ((1L << (_la - 190)) & ((1L << (EQ - 190)) | (1L << (NEQ - 190)) | (1L << (LT - 190)) | (1L << (LTE - 190)) | (1L << (GT - 190)) | (1L << (GTE - 190)))) != 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; }
public final TimestampContext timestamp() throws RecognitionException { TimestampContext _localctx = new TimestampContext(_ctx, getState()); enterRule(_localctx, 4, RULE_timestamp); try { enterOuterAlt(_localctx, 1); { setState(44); match(NUMBER); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
_errHandler.sync(this); _alt = 1+1; do { throw new NoViableAltException(this); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,241,_ctx); } while ( _alt!=1 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ); _errHandler.reportError(this, re); _errHandler.recover(this, re);
public final ComparisonQuantifierContext comparisonQuantifier() throws RecognitionException { ComparisonQuantifierContext _localctx = new ComparisonQuantifierContext(_ctx, getState()); enterRule(_localctx, 76, RULE_comparisonQuantifier); int _la; try { enterOuterAlt(_localctx, 1); { setState(1263); _la = _input.LA(1); if ( !(_la==ALL || _la==ANY || _la==SOME) ) { _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 FrameEndContext frameEnd() throws RecognitionException { FrameEndContext _localctx = new FrameEndContext(_ctx, getState()); enterRule(_localctx, 112, RULE_frameEnd); try { enterOuterAlt(_localctx, 1); { setState(1034); frameStart(); } } 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; }
public final NormalFormContext normalForm() throws RecognitionException { NormalFormContext _localctx = new NormalFormContext(_ctx, getState()); enterRule(_localctx, 84, RULE_normalForm); int _la; try { enterOuterAlt(_localctx, 1); { setState(1279); _la = _input.LA(1); if ( !(((((_la - 105)) & ~0x3f) == 0 && ((1L << (_la - 105)) & ((1L << (NFC - 105)) | (1L << (NFD - 105)) | (1L << (NFKC - 105)) | (1L << (NFKD - 105)))) != 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; }
public final TablespaceNameContext tablespaceName() throws RecognitionException { TablespaceNameContext _localctx = new TablespaceNameContext(_ctx, getState()); enterRule(_localctx, 142, RULE_tablespaceName); try { enterOuterAlt(_localctx, 1); { setState(1099); match(ID); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
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 SetQuantifierContext setQuantifier() throws RecognitionException { SetQuantifierContext _localctx = new SetQuantifierContext(_ctx, getState()); enterRule(_localctx, 40, RULE_setQuantifier); int _la; try { enterOuterAlt(_localctx, 1); { setState(749); _la = _input.LA(1); if ( !(_la==ALL || _la==DISTINCT) ) { _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 CteNameContext cteName() throws RecognitionException { CteNameContext _localctx = new CteNameContext(_ctx, getState()); enterRule(_localctx, 148, RULE_cteName); try { enterOuterAlt(_localctx, 1); { setState(1105); match(ID); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
public final QueryContext query() throws RecognitionException { QueryContext _localctx = new QueryContext(_ctx, getState()); enterRule(_localctx, 8, RULE_query); int _la; try { enterOuterAlt(_localctx, 1); { setState(522); _errHandler.sync(this); _la = _input.LA(1); if (_la==WITH) { { setState(521); with(); } } setState(524); queryNoWith(); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
public final BooleanValueContext booleanValue() throws RecognitionException { BooleanValueContext _localctx = new BooleanValueContext(_ctx, getState()); enterRule(_localctx, 78, RULE_booleanValue); int _la; try { enterOuterAlt(_localctx, 1); { setState(1265); _la = _input.LA(1); if ( !(_la==FALSE || _la==TRUE) ) { _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 RowNameContext rowName() throws RecognitionException { RowNameContext _localctx = new RowNameContext(_ctx, getState()); enterRule(_localctx, 154, RULE_rowName); try { enterOuterAlt(_localctx, 1); { setState(1111); match(ID); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }
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);
public final SampleTypeContext sampleType() throws RecognitionException { SampleTypeContext _localctx = new SampleTypeContext(_ctx, getState()); enterRule(_localctx, 52, RULE_sampleType); int _la; try { enterOuterAlt(_localctx, 1); { setState(831); _la = _input.LA(1); if ( !(_la==BERNOULLI || _la==SYSTEM) ) { _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 XmlSchemaCollectionContext xmlSchemaCollection() throws RecognitionException { XmlSchemaCollectionContext _localctx = new XmlSchemaCollectionContext(_ctx, getState()); enterRule(_localctx, 168, RULE_xmlSchemaCollection); try { enterOuterAlt(_localctx, 1); { setState(1125); match(ID); } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }