public class EClassContext extends AbstractParserContext
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.ecore.EClassifier |
eClassContext |
metaModelManager, uri
Constructor and Description |
---|
EClassContext(MetaModelManager metaModelManager,
org.eclipse.emf.common.util.URI uri,
org.eclipse.emf.ecore.EClassifier eClassContext) |
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, parse
@Nullable protected final org.eclipse.emf.ecore.EClassifier eClassContext
public EClassContext(@NonNull MetaModelManager metaModelManager, @Nullable org.eclipse.emf.common.util.URI uri, @Nullable org.eclipse.emf.ecore.EClassifier eClassContext)
@Nullable public Type getClassContext()
ParserContext
getClassContext
in interface ParserContext
getClassContext
in class AbstractParserContext
public void initialize(@NonNull Base2PivotConversion conversion, @NonNull ExpressionInOCL expression)
ParserContext
initialize
in interface ParserContext
initialize
in class AbstractParserContext