public class LocalVariableScope extends AbstractSessionBasedScope
AbstractSessionBasedScope.NameAcceptorAbstractScope.ParentIterable| Constructor and Description |
|---|
LocalVariableScope(IScope parent,
IFeatureScopeSession session,
XAbstractFeatureCall featureCall) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeLocalVariable() |
protected List<IEObjectDescription> |
getAllLocalElements() |
Iterable<IEObjectDescription> |
getElements(QualifiedName name) |
protected List<IEObjectDescription> |
getLocalElementsByName(QualifiedName name) |
IEObjectDescription |
getSingleElement(QualifiedName name) |
protected boolean |
isShadowed(IEObjectDescription fromParent) |
protected boolean |
looksLikeLocalVariable(XAbstractFeatureCall featureCall) |
protected boolean |
looksLikeLocalVariable(XAbstractFeatureCall featureCall,
List<IEObjectDescription> localElements) |
addToList, addToList, findAllFeaturesByName, getFeatureCall, getLocalElementsByEObject, getSession, getShadowingKey, processAsPropertyNames, processFeatureNames, toProperty, toProperty, tryGetAsPropertyNamegetAllElements, getElements, getParent, getParentElements, getSingleElement, getSingleLocalElementByName, isIgnoreCase, toStringpublic LocalVariableScope(IScope parent, IFeatureScopeSession session, XAbstractFeatureCall featureCall)
protected List<IEObjectDescription> getAllLocalElements()
getAllLocalElements in class AbstractSessionBasedScopepublic IEObjectDescription getSingleElement(QualifiedName name)
getSingleElement in interface IScopegetSingleElement in class AbstractScopeprotected List<IEObjectDescription> getLocalElementsByName(QualifiedName name)
getLocalElementsByName in class AbstractSessionBasedScopeprotected boolean canBeLocalVariable()
protected boolean looksLikeLocalVariable(XAbstractFeatureCall featureCall)
protected boolean looksLikeLocalVariable(XAbstractFeatureCall featureCall, List<IEObjectDescription> localElements)
localElements - subclasses may use that.public Iterable<IEObjectDescription> getElements(QualifiedName name)
getElements in interface IScopegetElements in class AbstractSessionBasedScopeprotected boolean isShadowed(IEObjectDescription fromParent)
isShadowed in class AbstractSessionBasedScopeCopyright © 2015. All Rights Reserved.