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(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
boolean appendFinalValue(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
Returns true if control flow continues into a break, false if terminated by a throw.
boolean appendUpdate(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
Returns true if control flow continues to loop again, false if terminated by a throw.
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.