@Override
    public Object visitEvery_sequence_source_chain(SiddhiQLParser.Every_sequence_source_chainContext ctx) {
//        every_sequence_source_chain
//        : EVERY? sequence_source ',' sequence_source_chain
//        ;

        StateElement stateElement1;
        if (ctx.EVERY() != null) {
            stateElement1 = new EveryStateElement((StateElement) visit(ctx.sequence_source()));
        } else {
            stateElement1 = (StateElement) visit(ctx.sequence_source());
        }
        populateQueryContext(stateElement1, ctx);
        NextStateElement nextStateElement = new NextStateElement(stateElement1,
                ((StateElement) visit(ctx.sequence_source_chain())));
        populateQueryContext(nextStateElement, ctx);
        return nextStateElement;
    }
{@inheritDoc}
<p>The default implementation returns the result of calling
{@link #visitChildren} on {@code ctx}.</p>

@param ctx
modules/siddhi-query-compiler/src/main/java/io/siddhi/query/compiler/internal/SiddhiQLBaseVisitorImpl.java