org.eclipse.ocl.examples.xtext.base.scoping
Class BaseScopeProvider
java.lang.Object
org.eclipse.xtext.scoping.impl.AbstractScopeProvider
org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
org.eclipse.ocl.examples.xtext.base.scoping.BaseScopeProvider
- All Implemented Interfaces:
- org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider, org.eclipse.xtext.scoping.IScopeProvider
- Direct Known Subclasses:
- EssentialOCLScopeProvider
public class BaseScopeProvider
- extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
This class contains custom scoping description.
see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#scoping on
how and when to use it
Fields inherited from class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider |
logger, NAMED_DELEGATE, NAMED_ERROR_HANDLER |
Method Summary |
org.eclipse.xtext.scoping.IScope |
getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference)
|
Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider |
delegateGetScope, getDelegate, getErrorHandler, getPredicate, getPredicate, polymorphicFindScopeForClassName, polymorphicFindScopeForReferenceName, setDelegate, setErrorHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOOKUP
@NonNull
public static final TracingOption LOOKUP
BaseScopeProvider
public BaseScopeProvider()
getScope
public org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference)
- Specified by:
getScope
in interface org.eclipse.xtext.scoping.IScopeProvider
- Overrides:
getScope
in class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider