public abstract class AbstractAccumulation2Java extends AbstractIteration2Java
Constructor and Description |
---|
AbstractAccumulation2Java() |
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.
|
CGTypeId |
getAccumulatorTypeId(CodeGenAnalyzer analyzer,
CGBuiltInIterationCallExp cgIterationCallExp) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendUpdate
public void appendAccumulatorInit(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
appendAccumulatorInit
in interface Iteration2Java
appendAccumulatorInit
in class AbstractIteration2Java
public boolean appendFinalValue(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
Iteration2Java
Returns true if control flow continues into a break, false if terminated by a throw.
public CGTypeId getAccumulatorTypeId(CodeGenAnalyzer analyzer, CGBuiltInIterationCallExp cgIterationCallExp)
getAccumulatorTypeId
in interface IterationHelper
getAccumulatorTypeId
in class AbstractIteration2Java
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.