|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.codegen.java.iteration.AbstractIteration2Java
org.eclipse.ocl.examples.codegen.java.iteration.AbstractAccumulation2Java
org.eclipse.ocl.examples.codegen.java.iteration.OneIteration2Java
public class OneIteration2Java
| Field Summary | |
|---|---|
static OneIteration2Java |
INSTANCE
|
| Constructor Summary | |
|---|---|
OneIteration2Java()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.eclipse.ocl.examples.codegen.java.iteration.AbstractAccumulation2Java |
|---|
appendFinalValue, getAccumulator, getAccumulatorClass |
| Methods inherited from class org.eclipse.ocl.examples.codegen.java.iteration.AbstractIteration2Java |
|---|
getBody, getIterator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@NonNull public static final OneIteration2Java INSTANCE
| Constructor Detail |
|---|
public OneIteration2Java()
| Method Detail |
|---|
public void appendAccumulatorInit(@NonNull
JavaStream js,
@NonNull
CGBuiltInIterationCallExp cgIterationCallExp)
appendAccumulatorInit in interface Iteration2JavaappendAccumulatorInit in class AbstractAccumulation2Java
public boolean appendUpdate(@NonNull
JavaStream js,
@NonNull
CGBuiltInIterationCallExp cgIterationCallExp)
Iteration2JavaReturns true if control flow continues to loop again, false if terminated by a throw.
@Nullable
public CGTypeId getAccumulatorTypeId(@NonNull
CodeGenAnalyzer analyzer,
@NonNull
CGBuiltInIterationCallExp cgIterationCallExp)
getAccumulatorTypeId in interface IterationHelpergetAccumulatorTypeId in class AbstractAccumulation2Java
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||