public class EClassContext extends AbstractParserContext
| Constructor and Description |
|---|
EClassContext(EnvironmentFactory environmentFactory,
URI uri,
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, getAttribution, getEnvironmentFactory, getExpression, getInstanceContext, getMetamodelManager, getRootElement, parse, setRootElementpublic EClassContext(EnvironmentFactory environmentFactory, URI uri, EClassifier eClassContext)
public Type getClassContext()
ParserContextgetClassContext in interface ParserContextgetClassContext in class AbstractParserContextpublic void initialize(Base2ASConversion conversion, ExpressionInOCL expression)
ParserContextinitialize in interface ParserContextinitialize in class AbstractParserContextCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.