public class EClassContext extends AbstractParserContext
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.ecore.EClassifier |
eClassContext |
environmentFactory, rootElement, uri
Constructor and Description |
---|
EClassContext(EnvironmentFactory environmentFactory,
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(Base2ASConversion 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, getDoSetupMessage, getEnvironmentFactory, getExpression, getInstanceContext, getMetamodelManager, getRootElement, parse, setRootElement
@Nullable protected final org.eclipse.emf.ecore.EClassifier eClassContext
public EClassContext(@NonNull EnvironmentFactory environmentFactory, @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 Base2ASConversion conversion, @NonNull ExpressionInOCL expression)
ParserContext
initialize
in interface ParserContext
initialize
in class AbstractParserContext