Class Xtext2EcoreInterpretationContext
- java.lang.Object
-
- org.eclipse.xtext.xtext.ecoreInference.Xtext2EcoreInterpretationContext
-
public class Xtext2EcoreInterpretationContext extends java.lang.Object
Please refer to the documentation for details.
-
-
Constructor Summary
Constructors Constructor Description Xtext2EcoreInterpretationContext(EClassifierInfo newType, EClassifierInfos classifierInfos, boolean isRuleCallAllowed)
Xtext2EcoreInterpretationContext(EClassifierInfos eClassifierInfos, EClassifierInfo currentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFeature(java.lang.String featureName, org.eclipse.xtext.xtext.ecoreInference.EClassifierInfoAccess featureTypeInfo, boolean isMultivalue, boolean isContainment, AbstractElement parserElement)
void
addFeature(Assignment assignment)
EClassifierInfo
getCurrentCompatibleType()
java.util.Collection<EClassifierInfo>
getCurrentTypes()
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)
-
-
-
Constructor Detail
-
Xtext2EcoreInterpretationContext
public Xtext2EcoreInterpretationContext(EClassifierInfos eClassifierInfos, EClassifierInfo currentType)
-
Xtext2EcoreInterpretationContext
public Xtext2EcoreInterpretationContext(EClassifierInfo newType, EClassifierInfos classifierInfos, boolean isRuleCallAllowed)
-
-
Method Detail
-
addFeature
public void addFeature(Assignment assignment) throws TransformationException
- Throws:
TransformationException
-
isContainmentAssignment
public boolean isContainmentAssignment(Assignment assignment)
-
addFeature
public void addFeature(java.lang.String featureName, org.eclipse.xtext.xtext.ecoreInference.EClassifierInfoAccess featureTypeInfo, boolean isMultivalue, boolean isContainment, AbstractElement parserElement) throws TransformationException
- Throws:
TransformationException
-
spawnContextForGroup
public Xtext2EcoreInterpretationContext spawnContextForGroup()
-
spawnContextWithCalledRule
public Xtext2EcoreInterpretationContext spawnContextWithCalledRule(EClassifierInfo newType, org.eclipse.emf.ecore.EObject parserElement) throws TransformationException
- Throws:
TransformationException
-
mergeSpawnedContexts
public Xtext2EcoreInterpretationContext mergeSpawnedContexts(java.util.List<Xtext2EcoreInterpretationContext> contexts)
-
getCurrentTypes
public java.util.Collection<EClassifierInfo> getCurrentTypes()
-
getCurrentCompatibleType
public EClassifierInfo getCurrentCompatibleType()
-
spawnContextWithReferencedType
public Xtext2EcoreInterpretationContext spawnContextWithReferencedType(EClassifierInfo referencedType, org.eclipse.emf.ecore.EObject parserElement)
-
-