|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.pivot.context.AbstractParserContext
org.eclipse.ocl.examples.pivot.context.ClassContext
org.eclipse.ocl.examples.pivot.context.OperationContext
public class OperationContext
OperationContext supports parsing OCL expressions in the context of an Operation.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.ocl.examples.pivot.context.ClassContext |
|---|
classContext |
| Fields inherited from class org.eclipse.ocl.examples.pivot.context.AbstractParserContext |
|---|
metaModelManager, uri |
| Constructor Summary | |
|---|---|
OperationContext(MetaModelManager metaModelManager,
org.eclipse.emf.common.util.URI uri,
Operation operationContext,
java.lang.String resultVariableName)
|
|
| Method Summary | |
|---|---|
void |
initialize(Base2PivotConversion conversion,
ExpressionInOCL expression)
Callback to initialize the ExpressionInOCL with the derived context such as a contextvariable for the self type, parameter and result variables. |
| Methods inherited from class org.eclipse.ocl.examples.pivot.context.ClassContext |
|---|
getClassContext |
| Methods inherited from class org.eclipse.ocl.examples.pivot.context.AbstractParserContext |
|---|
createBaseResource, getExpression, getMetaModelManager, parse, parse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperationContext(@NonNull
MetaModelManager metaModelManager,
@Nullable
org.eclipse.emf.common.util.URI uri,
@NonNull
Operation operationContext,
@Nullable
java.lang.String resultVariableName)
| Method Detail |
|---|
public void initialize(@NonNull
Base2PivotConversion conversion,
@NonNull
ExpressionInOCL expression)
ParserContext
initialize in interface ParserContextinitialize in class ClassContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||