Class CachingTypeScope

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

    public class CachingTypeScope
    extends AbstractScope
    • Field Summary

      • Fields inherited from interface org.eclipse.xtext.scoping.IScope

        NULLSCOPE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doGetElements​(org.eclipse.xtext.common.types.JvmType type, java.util.List<org.eclipse.xtext.resource.IEObjectDescription> result)  
      java.lang.Iterable<org.eclipse.xtext.resource.IEObjectDescription> getElements​(org.eclipse.xtext.naming.QualifiedName name)  
      org.eclipse.xtext.resource.IEObjectDescription getSingleElement​(org.eclipse.xtext.naming.QualifiedName name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CachingTypeScope

        public CachingTypeScope​(AbstractScope parent)
    • 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
        Overrides:
        getSingleElement in class AbstractScope
      • getElements

        public java.lang.Iterable<org.eclipse.xtext.resource.IEObjectDescription> getElements​(org.eclipse.xtext.naming.QualifiedName name)
        Specified by:
        getElements in interface org.eclipse.xtext.scoping.IScope
        Overrides:
        getElements in class AbstractScope
      • doGetElements

        protected void doGetElements​(org.eclipse.xtext.common.types.JvmType type,
                                     java.util.List<org.eclipse.xtext.resource.IEObjectDescription> result)
        Specified by:
        doGetElements in class AbstractScope