public class OperationContext extends ClassContext
classContextmetaModelManager, uri| Constructor and Description |
|---|
OperationContext(MetaModelManager metaModelManager,
org.eclipse.emf.common.util.URI uri,
Operation operationContext,
java.lang.String resultVariableName) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getClassContextcreateBaseResource, getExpression, getMetaModelManager, parsepublic OperationContext(@NonNull
MetaModelManager metaModelManager,
@Nullable
org.eclipse.emf.common.util.URI uri,
@NonNull
Operation operationContext,
@Nullable
java.lang.String resultVariableName)
public void initialize(@NonNull
Base2PivotConversion conversion,
@NonNull
ExpressionInOCL expression)
ParserContextinitialize in interface ParserContextinitialize in class ClassContext