public abstract class AbstractKnownTypesScope extends AbstractXcoreScope
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractKnownTypesScope(AbstractXcoreScope parent) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doGetDescriptions(JvmType type,
JvmType knownType,
int index,
java.util.List<IEObjectDescription> result) |
protected void |
doGetElements(JvmType type,
java.util.List<IEObjectDescription> result) |
protected IEObjectDescription |
doGetSingleElement(QualifiedName name) |
protected abstract IEObjectDescription |
doGetSingleElement(QualifiedName name,
java.lang.String firstSegment,
int dollarIndex) |
protected JvmType |
findNestedType(JvmType result,
int index,
QualifiedName name) |
java.lang.Iterable<IEObjectDescription> |
getElements(QualifiedName name) |
IEObjectDescription |
getSingleElement(QualifiedName name) |
protected JvmType |
getUnambiguousResult(JvmType current,
int currentIndex,
JvmType next,
int nextIndex,
QualifiedName name) |
protected IEObjectDescription |
toDescription(QualifiedName name,
JvmType result,
int dollarIndex,
int index) |
getAllElementsprotected AbstractKnownTypesScope(AbstractXcoreScope parent)
public java.lang.Iterable<IEObjectDescription> getElements(QualifiedName name)
getElements in class AbstractXcoreScopepublic IEObjectDescription getSingleElement(QualifiedName name)
getSingleElement in class AbstractXcoreScopeprotected void doGetElements(JvmType type,
java.util.List<IEObjectDescription> result)
doGetElements in class AbstractXcoreScopeprotected abstract void doGetDescriptions(JvmType type,
JvmType knownType,
int index,
java.util.List<IEObjectDescription> result)
protected JvmType getUnambiguousResult(JvmType current,
int currentIndex,
JvmType next,
int nextIndex,
QualifiedName name)
protected IEObjectDescription doGetSingleElement(QualifiedName name)
protected abstract IEObjectDescription doGetSingleElement(QualifiedName name,
java.lang.String firstSegment,
int dollarIndex)
protected IEObjectDescription toDescription(QualifiedName name,
JvmType result,
int dollarIndex,
int index)
protected JvmType findNestedType(JvmType result,
int index,
QualifiedName name)