org.eclipse.xtext.xbase.scoping.featurecalls
Class JvmFeatureScope
java.lang.Object
org.eclipse.xtext.scoping.impl.AbstractScope
org.eclipse.xtext.scoping.impl.SimpleScope
org.eclipse.xtext.xbase.scoping.featurecalls.JvmFeatureScope
- All Implemented Interfaces:
- IScope
- Direct Known Subclasses:
- DelegatingScope, LazyJvmFeatureScope
public class JvmFeatureScope
- extends SimpleScope
- Author:
- Sven Efftinge - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JvmFeatureScope
public JvmFeatureScope(IScope parent,
java.lang.String scopeDescription,
java.util.Collection<? extends IValidatedEObjectDescription> descriptions)
JvmFeatureScope
public JvmFeatureScope(IScope parent,
java.lang.String scopeDescription,
IValidatedEObjectDescription description)
getScopeDescription
public java.lang.String getScopeDescription()
getShadowingKey
protected java.lang.String getShadowingKey(IEObjectDescription description)
- Overrides:
getShadowingKey
in class SimpleScope
- Returns:
- the key of the given description, which makes it shadowing others
getJvmFeatureDescriptions
public java.lang.Iterable<IValidatedEObjectDescription> getJvmFeatureDescriptions()
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractScope
isShadowed
protected boolean isShadowed(IEObjectDescription fromParent)
- Description copied from class:
AbstractScope
- Returns
true
if the given description input
from the parent scope is
shadowed by local elements.
- Overrides:
isShadowed
in class SimpleScope
- Returns:
true
if the given description input
from the parent scope is
shadowed by local elements.
isShadowedBy
protected boolean isShadowedBy(IEObjectDescription fromParent,
java.lang.Iterable<IEObjectDescription> localElements)
- See Also:
isShadowed(IEObjectDescription)