}
}
// visit expression associated with currOp. If it refers to any other operator
// that operator is also going to be enqueued.
currOp.accept( new AllExpressionVisitor( plan, new DependencyOrderWalker( plan ) ) {
@Override
protected LogicalExpressionVisitor getVisitor(LogicalExpressionPlan exprPlan)
throws FrontendException {
return new LogicalExpressionVisitor( exprPlan, new DependencyOrderWalker( exprPlan ) ) {
@Override
public void visit(ScalarExpression expr) throws FrontendException {
Operator refOp = expr.getImplicitReferencedOperator();
if( !queue.contains( refOp ) )
queue.add( refOp );