|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.scoping.impl.AbstractScopeProvider org.eclipse.xtext.xbase.scoping.XtypeScopeProvider org.eclipse.xtext.xbase.scoping.XbaseScopeProvider org.eclipse.xtext.xbase.annotations.scoping.XbaseWithAnnotationsScopeProvider
public class XbaseWithAnnotationsScopeProvider
This class contains custom scoping description. see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#scoping on how and when to use it
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.scoping.XbaseScopeProvider |
---|
XbaseScopeProvider.AbstractJvmFeatureScopeAcceptor, XbaseScopeProvider.GenericTypeArgumentContextFactory, XbaseScopeProvider.IJvmFeatureScopeAcceptor, XbaseScopeProvider.JvmFeatureScopeAcceptor, XbaseScopeProvider.SimpleAcceptor |
Field Summary |
---|
Fields inherited from class org.eclipse.xtext.xbase.scoping.XbaseScopeProvider |
---|
DEFAULT_IMPLICIT_STATIC_FEATURE_PRIORITY, DEFAULT_IT_PRIORITY, DEFAULT_MEMBER_CALL_PRIORITY, DEFAULT_STATIC_EXTENSION_PRIORITY_OFFSET, DEFAULT_SUGAR_PRIORITY_OFFSET, DEFAULT_THIS_PRIORITY, IT, jvmFeatureScopeProvider, SUPER, THIS |
Constructor Summary | |
---|---|
XbaseWithAnnotationsScopeProvider()
|
Method Summary | |
---|---|
IScope |
getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference)
Returns a scope for the given context. |
Methods inherited from class org.eclipse.xtext.xbase.scoping.XtypeScopeProvider |
---|
delegateGetScope, getDelegate, getJvmTypeScope, setDelegate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XbaseWithAnnotationsScopeProvider()
Method Detail |
---|
public IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
IScopeProvider
getScope
in interface IScopeProvider
getScope
in class XbaseScopeProvider
context
- the element from which an element shall be referenced. It doesn't need to be the element
containing the reference, it is just used to find the most inner scope for given EReference
.reference
- the reference for which to get the scope.
IScope
representing the inner most IScope
for the
passed context and reference. Note for implementors: The result may not be null
.
Return IScope.NULLSCOPE
instead.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |