use of org.ballerinalang.siddhi.query.api.execution.query.input.stream.StateInputStream in project ballerina by ballerina-lang.
the class SiddhiQLBaseVisitorImpl method visitSequence_stream.
/**
* {@inheritDoc}
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*
* @param ctx
*/
@Override
public StateInputStream visitSequence_stream(@NotNull SiddhiQLParser.Sequence_streamContext ctx) {
// ;
if (ctx.every_sequence_source_chain() != null) {
StateInputStream stateInputStream = (StateInputStream) visitEvery_sequence_source_chain(ctx.every_sequence_source_chain());
populateQueryContext(stateInputStream, ctx);
return stateInputStream;
} else {
StateInputStream stateInputStream = (StateInputStream) visitEvery_absent_sequence_source_chain(ctx.every_absent_sequence_source_chain());
populateQueryContext(stateInputStream, ctx);
return stateInputStream;
}
}
Aggregations