Class LightSimpleLocalScopeProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.scoping.IScopeProvider

    public class LightSimpleLocalScopeProvider
    extends org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider
    The lightweight version of the SimpleLocalScopeProvider.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.xtext.scoping.IScope createScope​(org.eclipse.xtext.scoping.IScope parent, org.eclipse.xtext.resource.ISelectable resourceContent, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)
      Overriden in order to improve performance by reducing recursive calls.
      protected org.eclipse.xtext.resource.ISelectable getAllDescriptions​(org.eclipse.emf.ecore.resource.Resource resource)  
      org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)  
      void setCache​(org.eclipse.xtext.util.IResourceScopeCache cache)  
      • Methods inherited from class org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider

        getNameProvider, setNameProvider
      • Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractGlobalScopeDelegatingScopeProvider

        getGlobalScope, getGlobalScope, isIgnoreCase, setWrapper, wrap
    • Constructor Detail

      • LightSimpleLocalScopeProvider

        public LightSimpleLocalScopeProvider()
    • Method Detail

      • setCache

        public void setCache​(org.eclipse.xtext.util.IResourceScopeCache cache)
        Overrides:
        setCache in class org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider
      • createScope

        protected org.eclipse.xtext.scoping.IScope createScope​(org.eclipse.xtext.scoping.IScope parent,
                                                               org.eclipse.xtext.resource.ISelectable resourceContent,
                                                               org.eclipse.emf.ecore.EClass type,
                                                               boolean ignoreCase)
        Overriden in order to improve performance by reducing recursive calls.
        Overrides:
        createScope in class org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider
      • 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.SimpleLocalScopeProvider
      • getAllDescriptions

        protected org.eclipse.xtext.resource.ISelectable getAllDescriptions​(org.eclipse.emf.ecore.resource.Resource resource)
        Overrides:
        getAllDescriptions in class org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider