public class Xtext2EcoreInterpretationContext
extends java.lang.Object
Constructor and Description |
---|
Xtext2EcoreInterpretationContext(EClassifierInfo newType,
EClassifierInfos classifierInfos,
boolean isRuleCallAllowed) |
Xtext2EcoreInterpretationContext(EClassifierInfos eClassifierInfos,
EClassifierInfo currentType) |
Modifier and Type | Method and Description |
---|---|
void |
addFeature(Assignment assignment) |
void |
addFeature(java.lang.String featureName,
EClassifierInfo featureTypeInfo,
boolean isMultivalue,
boolean isContainment,
AbstractElement parserElement) |
EClassifierInfo |
getCurrentCompatibleType() |
boolean |
isContainmentAssignment(Assignment assignment) |
Xtext2EcoreInterpretationContext |
mergeSpawnedContexts(java.util.List<Xtext2EcoreInterpretationContext> contexts) |
Xtext2EcoreInterpretationContext |
spawnContextForGroup() |
Xtext2EcoreInterpretationContext |
spawnContextWithCalledRule(EClassifierInfo newType,
org.eclipse.emf.ecore.EObject parserElement) |
Xtext2EcoreInterpretationContext |
spawnContextWithReferencedType(EClassifierInfo referencedType,
org.eclipse.emf.ecore.EObject parserElement) |
public Xtext2EcoreInterpretationContext(EClassifierInfos eClassifierInfos, EClassifierInfo currentType)
public Xtext2EcoreInterpretationContext(EClassifierInfo newType, EClassifierInfos classifierInfos, boolean isRuleCallAllowed)
public void addFeature(Assignment assignment) throws TransformationException
TransformationException
public boolean isContainmentAssignment(Assignment assignment)
public void addFeature(java.lang.String featureName, EClassifierInfo featureTypeInfo, boolean isMultivalue, boolean isContainment, AbstractElement parserElement) throws TransformationException
TransformationException
public Xtext2EcoreInterpretationContext spawnContextForGroup()
public Xtext2EcoreInterpretationContext spawnContextWithCalledRule(EClassifierInfo newType, org.eclipse.emf.ecore.EObject parserElement) throws TransformationException
TransformationException
public Xtext2EcoreInterpretationContext mergeSpawnedContexts(java.util.List<Xtext2EcoreInterpretationContext> contexts)
public EClassifierInfo getCurrentCompatibleType()
public Xtext2EcoreInterpretationContext spawnContextWithReferencedType(EClassifierInfo referencedType, org.eclipse.emf.ecore.EObject parserElement)