public class EObjectContext extends AbstractParserContext
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.ecore.EObject |
eObject |
metaModelManager, uri| Constructor and Description |
|---|
EObjectContext(MetaModelManager metaModelManager,
org.eclipse.emf.common.util.URI uri,
org.eclipse.emf.ecore.EObject eObject) |
| Modifier and Type | Method and Description |
|---|---|
Type |
getClassContext()
Return the type of the self variable.
|
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.
|
createBaseResource, getExpression, getMetaModelManager, parsepublic EObjectContext(@NonNull
MetaModelManager metaModelManager,
@Nullable
org.eclipse.emf.common.util.URI uri,
@Nullable
org.eclipse.emf.ecore.EObject eObject)
@NonNull public Type getClassContext()
ParserContextgetClassContext in interface ParserContextgetClassContext in class AbstractParserContextpublic void initialize(@NonNull
Base2PivotConversion conversion,
@NonNull
ExpressionInOCL expression)
ParserContextinitialize in interface ParserContextinitialize in class AbstractParserContext