Class DelegatingScope

  • All Implemented Interfaces:
    Scope
    Direct Known Subclasses:
    HidingScope

    public abstract class DelegatingScope
    extends java.lang.Object
    implements Scope
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Scope outer  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(Decl decl)  
      void report​(Marker marker)  
      Decl resolve​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • outer

        protected final Scope outer
    • Constructor Detail

      • DelegatingScope

        public DelegatingScope​(Scope outer)
    • Method Detail

      • resolve

        public Decl resolve​(java.lang.String name)
        Specified by:
        resolve in interface Scope
      • add

        public void add​(Decl decl)
        Specified by:
        add in interface Scope
      • report

        public void report​(Marker marker)
        Specified by:
        report in interface Scope