org.eclipse.ocl.examples.xtext.base.scoping
Class BaseScopeProvider

java.lang.Object
  extended by org.eclipse.xtext.scoping.impl.AbstractScopeProvider
      extended by org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
          extended by 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


Field Summary
static TracingOption LOOKUP
           
 
Fields inherited from class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
logger, NAMED_DELEGATE, NAMED_ERROR_HANDLER
 
Constructor Summary
BaseScopeProvider()
           
 
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
 

Field Detail

LOOKUP

@NonNull
public static final TracingOption LOOKUP
Constructor Detail

BaseScopeProvider

public BaseScopeProvider()
Method Detail

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