public class OneIteration2Java extends AbstractAccumulation2Java
| Modifier and Type | Field and Description |
|---|---|
static OneIteration2Java |
INSTANCE |
| Constructor and Description |
|---|
OneIteration2Java() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendAccumulatorInit(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp) |
boolean |
appendUpdate(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp)
Append the code to update the accumulator
|
CGTypeId |
getAccumulatorTypeId(CodeGenAnalyzer analyzer,
CGBuiltInIterationCallExp cgIterationCallExp) |
appendFinalValuepublic static final OneIteration2Java INSTANCE
public void appendAccumulatorInit(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
appendAccumulatorInit in interface Iteration2JavaappendAccumulatorInit in class AbstractAccumulation2Javapublic boolean appendUpdate(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
Iteration2JavaReturns true if control flow continues to loop again, false if terminated by a throw.
public CGTypeId getAccumulatorTypeId(CodeGenAnalyzer analyzer, CGBuiltInIterationCallExp cgIterationCallExp)
getAccumulatorTypeId in interface IterationHelpergetAccumulatorTypeId in class AbstractAccumulation2JavaCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.