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, setRootElement
public EClassContext(EnvironmentFactory environmentFactory, URI uri, EClassifier eClassContext)
public Type getClassContext()
ParserContext
getClassContext
in interface ParserContext
getClassContext
in class AbstractParserContext
public void initialize(Base2ASConversion conversion, ExpressionInOCL expression)
ParserContext
initialize
in interface ParserContext
initialize
in class AbstractParserContext
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.