@Override public void action(RuleContext _localctx, int ruleIndex, int actionIndex) { switch (ruleIndex) { case 105: ID_QUOTES_action((RuleContext)_localctx, actionIndex); break; case 107: STRING_LITERAL_action((RuleContext)_localctx, actionIndex); break; } } private void ID_QUOTES_action(RuleContext _localctx, int actionIndex) {
public final void synpred107_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:346:25: ( 'in' streamId ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:346:25: 'in' streamId { match(input,111,FOLLOW_111_in_synpred107_SiddhiQLGrammar2612); if (state.failed) return ; pushFollow(FOLLOW_streamId_in_synpred107_SiddhiQLGrammar2615); streamId(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred107_SiddhiQLGrammar
public final void synpred96_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:294:41: ( parameters ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:294:41: parameters { pushFollow(FOLLOW_parameters_in_synpred96_SiddhiQLGrammar2327); parameters(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred96_SiddhiQLGrammar
@Override public StringBuilder visitPlan_annotation(@NotNull SiddhiQLParser.Plan_annotationContext ctx) { StringBuilder annotation = new StringBuilder(" { "); for (SiddhiQLParser.Annotation_elementContext elementContext : ctx.annotation_element()) { annotation.append(" \"plan_annoElement\":\"").append(elementContext.property_value().string_value().getText()).append("\" ,"); } annotation = new StringBuilder(annotation.substring(0, annotation.length() - 1)); annotation.append("}"); return annotation; }
public final void synpred106_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:342:17: ( 'and' conditionExpression ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:342:17: 'and' conditionExpression { match(input,92,FOLLOW_92_in_synpred106_SiddhiQLGrammar2589); if (state.failed) return ; pushFollow(FOLLOW_conditionExpression_in_synpred106_SiddhiQLGrammar2592); conditionExpression(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred106_SiddhiQLGrammar
public final void synpred36_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:150:5: ( patternFullStream ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:150:5: patternFullStream { pushFollow(FOLLOW_patternFullStream_in_synpred36_SiddhiQLGrammar988); patternFullStream(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred36_SiddhiQLGrammar
public final void synpred37_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:151:5: ( joinStream ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:151:5: joinStream { pushFollow(FOLLOW_joinStream_in_synpred37_SiddhiQLGrammar1005); joinStream(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred37_SiddhiQLGrammar
public final void synpred135_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:414:3: ( doubleVal ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:414:3: doubleVal { pushFollow(FOLLOW_doubleVal_in_synpred135_SiddhiQLGrammar3126); doubleVal(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred135_SiddhiQLGrammar
public final void synpred158_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:464:60: ( hourValue ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:464:60: hourValue { pushFollow(FOLLOW_hourValue_in_synpred158_SiddhiQLGrammar3542); hourValue(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred158_SiddhiQLGrammar
public final void synpred38_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:152:5: ( windowStream ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:152:5: windowStream { pushFollow(FOLLOW_windowStream_in_synpred38_SiddhiQLGrammar1020); windowStream(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred38_SiddhiQLGrammar
public final void synpred119_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:380:7: ( attributeVariable ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:380:7: attributeVariable { pushFollow(FOLLOW_attributeVariable_in_synpred119_SiddhiQLGrammar2814); attributeVariable(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred119_SiddhiQLGrammar
public final void synpred132_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:411:3: ( intVal ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:411:3: intVal { pushFollow(FOLLOW_intVal_in_synpred132_SiddhiQLGrammar3086); intVal(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred132_SiddhiQLGrammar
public final void synpred166_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:485:23: ( hours ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:485:23: hours { pushFollow(FOLLOW_hours_in_synpred166_SiddhiQLGrammar3730); hours(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred166_SiddhiQLGrammar
public final void synpred155_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:464:21: ( monthValue ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:464:21: monthValue { pushFollow(FOLLOW_monthValue_in_synpred155_SiddhiQLGrammar3527); monthValue(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred155_SiddhiQLGrammar
private boolean right_absent_pattern_source_sempred(Right_absent_pattern_sourceContext _localctx, int predIndex) { switch (predIndex) { case 4: return precpred(_ctx, 3); case 5: return precpred(_ctx, 1); } return true; } private boolean left_absent_sequence_source_sempred(Left_absent_sequence_sourceContext _localctx, int predIndex) {
public final void synpred126_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:397:23: ( parameters ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:397:23: parameters { pushFollow(FOLLOW_parameters_in_synpred126_SiddhiQLGrammar2961); parameters(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred126_SiddhiQLGrammar
private boolean left_absent_sequence_source_sempred(Left_absent_sequence_sourceContext _localctx, int predIndex) { switch (predIndex) { case 6: return precpred(_ctx, 3); case 7: return precpred(_ctx, 2); } return true; } private boolean left_absent_pattern_source_sempred(Left_absent_pattern_sourceContext _localctx, int predIndex) {
public final void synpred94_SiddhiQLGrammar_fragment() throws RecognitionException { // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:278:11: ( parameters ) // org/wso2/siddhi/query/compiler/SiddhiQLGrammar.g:278:11: parameters { pushFollow(FOLLOW_parameters_in_synpred94_SiddhiQLGrammar2205); parameters(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred94_SiddhiQLGrammar
private boolean sequence_source_chain_sempred(Sequence_source_chainContext _localctx, int predIndex) { switch (predIndex) { case 10: return precpred(_ctx, 2); } return true; } private boolean pattern_source_chain_sempred(Pattern_source_chainContext _localctx, int predIndex) {