scala.tools.nsc.typechecker

Namers

trait Namers extends MethodSynthesis

This trait declares methods to create symbols and to enter them into scopes.

Self Type
Analyzer
Source
Namers.scala
Version

1.0

Linear Supertypes
MethodSynthesis, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Namers
  2. MethodSynthesis
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Type Members

  1. class ClassMethodSynthesis extends AnyRef

  2. trait LockingTypeCompleter extends TypeCompleter

  3. trait MethodSynth extends AnyRef

    There are two key methods in here.

  4. abstract class Namer extends MethodSynth with NamerContextErrors

  5. class PolyTypeCompleter extends TypeCompleter with LockingTypeCompleter

    A class representing a lazy type with known type parameters.

  6. abstract class TypeCompleter extends LazyType

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def companionSymbolOf(original: Symbol, ctx: Context): Symbol

    The companion class or companion module of original.

    The companion class or companion module of original. Calling .companionModule does not work for classes defined inside methods.

    !!! Then why don't we fix companionModule? Does the presence of these methods imply all the places in the compiler calling sym.companionModule are bugs waiting to be reported? If not, why not? When exactly do we need to call this method?

  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  15. def lockedCount: Int

  16. def mkTypeCompleter(t: Tree)(c: (Symbol) ⇒ Unit): TypeCompleter with LockingTypeCompleter

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def newNamer(context: Context): Namer

  19. def newNamerFor(context: Context, tree: Tree): Namer

  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. def resetNamer(): Unit

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

    Definition Classes
    AnyRef
  24. object synthesisUtil extends 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()

Deprecated Value Members

  1. def companionClassOf(module: Symbol, ctx: Context): Symbol

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use companionSymbolOf instead

  2. def companionModuleOf(clazz: Symbol, ctx: Context): Symbol

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use companionSymbolOf instead

  3. def underlying(member: Symbol): Symbol

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use underlyingSymbol instead

Inherited from MethodSynthesis

Inherited from AnyRef

Inherited from Any