use of org.drools.mvelcompiler.ast.WhileStmtT in project drools by kiegroup.
the class StatementVisitor method visit.
@Override
public TypedExpression visit(WhileStmt n, Void arg) {
TypedExpression typedCondition = new RHSPhase(mvelCompilerContext).invoke(n.getCondition());
TypedExpression typedThen = n.getBody().accept(this, arg);
return new WhileStmtT(typedCondition, typedThen);
}
Aggregations