public class ForeachStatementEvaluator extends ForStatementEvaluatorBase
Constructor and Description |
---|
ForeachStatementEvaluator(Evaluator iterationParameterEvaluator,
Evaluator iterableEvaluator,
Evaluator bodyEvaluator,
java.lang.String labelName) |
Modifier and Type | Method and Description |
---|---|
protected void |
evaluateBody(EvaluationContextImpl context) |
protected java.lang.Object |
evaluateCondition(EvaluationContextImpl context) |
protected java.lang.Object |
evaluateInitialization(EvaluationContextImpl context,
java.lang.Object value) |
Modifier |
getModifier()
In order to obtain a modifier the expression must be evaluated first
|
evaluate, evaluateUpdate
body, getLabelName
public Modifier getModifier()
Evaluator
protected java.lang.Object evaluateInitialization(EvaluationContextImpl context, java.lang.Object value) throws EvaluateException
evaluateInitialization
in class ForStatementEvaluatorBase
EvaluateException
protected java.lang.Object evaluateCondition(EvaluationContextImpl context) throws EvaluateException
evaluateCondition
in class ForStatementEvaluatorBase
EvaluateException
protected void evaluateBody(EvaluationContextImpl context) throws EvaluateException
evaluateBody
in class LoopEvaluator
EvaluateException