dotty.tools.dotc.core

Scopes

Related Doc: package core

object Scopes

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Scopes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class ErrorScope extends MutableScope

    A class for error scopes (mutable)

  2. class MutableScope extends Scope

    A subclass of Scope that defines methods for entering and unlinking entries.

    A subclass of Scope that defines methods for entering and unlinking entries. Note: constructor is protected to force everyone to use the factory methods newScope or newNestedScope instead. This is necessary because when run from reflection every scope needs to have a SynchronizedScope as mixin.

  3. abstract class Scope extends DotClass with Showable with Iterable[Symbol]

    A scope contains a set of symbols.

    A scope contains a set of symbols. It can be an extension of some outer scope, from which it inherits all symbols. This class does not have any methods to add symbols to a scope or to delete them. These methods are provided by subclass MutableScope.

  4. class ScopeEntry extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object EmptyScope extends Scope

    The empty scope (immutable).

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def newNestedScope(outer: Scope)(implicit ctx: Context): MutableScope

    Create a new scope nested in another one with which it shares its elements

  15. def newPackageScope(pkgClass: Symbol): MutableScope

    Create new scope for the members of package pkg

  16. def newScope: MutableScope

    Create a new scope

  17. def newScopeWith(elems: Symbol*)(implicit ctx: Context): MutableScope

    Create a new scope with given initial elements

  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def scopeTransform(owner: Symbol)(op: ⇒ MutableScope): MutableScope

    Transform scope of members of owner using operation op This is overridden by the reflective compiler to avoid creating new scopes for packages

  21. val selectAll: (SymDenotation) ⇒ Boolean

  22. val selectNonPrivate: (SymDenotation) ⇒ Boolean

  23. val selectPrivate: (SymDenotation) ⇒ Boolean

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped