public interface ScopeView
Derived PivotScopeViews are created lazily to support lookups over the Pivot AST.
Derived BaseScopeView instances comply with the XText IScope protocol and support lookup over the CST. These must be created eagerly altthough some aspects can be made lazy.
The stateless algorithmic lookup functionality is provided by Attribution instances.
Modifier and Type | Method and Description |
---|---|
Attribution |
getAttribution()
Return Attribution instance that defines the lookup algorithm for the target node.
|
org.eclipse.emf.ecore.EObject |
getChild()
Return the immediate child node for which a lookup is requested.
|
org.eclipse.emf.ecore.EStructuralFeature |
getContainmentFeature()
Return the containment feature of the child within the target.
|
ScopeView |
getParent()
Return the ScopeView that characterizes a lookup in the parent of the target node.
|
ScopeView |
getRoot()
Return the ScopeView that characterizes a lookup at the top level.
|
org.eclipse.emf.ecore.EObject |
getTarget()
Return the target node at which this ScopeView characterizes a lookup.
|
boolean |
isQualified()
Return true if the lookup is within a qualified name.
|
@NonNull Attribution getAttribution()
@Nullable org.eclipse.emf.ecore.EObject getChild()
@Nullable org.eclipse.emf.ecore.EStructuralFeature getContainmentFeature()
@NonNull ScopeView getParent()
@NonNull ScopeView getRoot()
@Nullable org.eclipse.emf.ecore.EObject getTarget()
boolean isQualified()