Class LazyDelegatingScope

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

    public abstract class LazyDelegatingScope
    extends Object
    implements org.eclipse.xtext.scoping.IScope
    Special scope for Bsl module
    • Constructor Detail

      • LazyDelegatingScope

        public LazyDelegatingScope​(org.eclipse.xtext.scoping.IScope parent)
        Initialize
        Parameters:
        parent - parent scope. Can't be null
      • LazyDelegatingScope

        public LazyDelegatingScope()
    • Method Detail

      • getSingleElement

        public org.eclipse.xtext.resource.IEObjectDescription getSingleElement​(org.eclipse.xtext.naming.QualifiedName name)
        Specified by:
        getSingleElement in interface org.eclipse.xtext.scoping.IScope
      • getElements

        public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getElements​(org.eclipse.xtext.naming.QualifiedName name)
        Specified by:
        getElements in interface org.eclipse.xtext.scoping.IScope
      • getSingleElement

        public org.eclipse.xtext.resource.IEObjectDescription getSingleElement​(org.eclipse.emf.ecore.EObject object)
        Specified by:
        getSingleElement in interface org.eclipse.xtext.scoping.IScope
      • getElements

        public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getElements​(org.eclipse.emf.ecore.EObject object)
        Specified by:
        getElements in interface org.eclipse.xtext.scoping.IScope
      • getAllElements

        public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getAllElements()
        Specified by:
        getAllElements in interface org.eclipse.xtext.scoping.IScope
      • createActualScope

        protected abstract org.eclipse.xtext.scoping.IScope createActualScope​(org.eclipse.xtext.scoping.IScope parent)
        Creates actual scope
        Parameters:
        parent - parent scope
        Returns:
        new IScope