public interface Iteration2Java extends IterationHelper
Modifier and Type | Method and Description |
---|---|
void |
appendAccumulatorInit(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp) |
boolean |
appendFinalValue(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp)
Append the code to assign the final value to the result.
|
boolean |
appendUpdate(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp)
Append the code to update the accumulator
|
getAccumulatorTypeId
void appendAccumulatorInit(@NonNull JavaStream js, @NonNull CGBuiltInIterationCallExp cgIterationCallExp)
boolean appendFinalValue(@NonNull JavaStream js, @NonNull CGBuiltInIterationCallExp cgIterationCallExp)
Returns true if control flow continues into a break, false if terminated by a throw.
boolean appendUpdate(@NonNull JavaStream js, @NonNull CGBuiltInIterationCallExp cgIterationCallExp)
Returns true if control flow continues to loop again, false if terminated by a throw.