scala.tools.nsc.typechecker.Namers

Namer

abstract class Namer extends AnyRef

Source
Namers.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Namer
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Namer(context: Context)

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. def addApplyUnapply(cdef: ClassDef, namer: Namer): Unit

    Given a case class case class C[Ts] (ps: Us) Add the following methods to toScope:

    Given a case class case class C[Ts] (ps: Us) Add the following methods to toScope:

    1. if case class is not abstract, add <synthetic> <case> def apply[Ts](ps: Us): C[Ts] = new C[Ts](ps) 2. add a method <synthetic> <case> def unapply[Ts](x: C[Ts]) = <ret-val> where <ret-val> is the caseClassUnapplyReturnValue of class C (see UnApplies.scala)
    cdef

    is the class definition of the case class

    namer

    is the namer of the module class (the comp. obj)

  7. def addCopyMethod(cdef: ClassDef, namer: Namer): Unit

  8. def applicableTypeParams(owner: Symbol): List[Symbol]

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def conflict(newS: Symbol, oldS: Symbol): Boolean

    Attributes
    protected
  12. val context: Context

  13. def ensureCompanionObject(tree: ClassDef, creator: ⇒ Tree): Symbol

    If no companion object for clazz exists yet, create one by applying creator to class definition tree.

    If no companion object for clazz exists yet, create one by applying creator to class definition tree.

    returns

    the companion object symbol.

  14. def enterAccessorMethod(tree: Tree, name: Name, flags: Long, mods: Modifiers): TermSymbol

  15. def enterClassSymbol(tree: ClassDef): Symbol

  16. def enterIfNotThere(sym: Symbol): Unit

  17. def enterInScope(sym: Symbol, scope: Scope): Symbol

    Enter symbol into given scope and return symbol itself

  18. def enterInScope(sym: Symbol): Symbol

    Enter symbol into context's scope and return symbol itself

  19. def enterModuleSymbol(tree: ModuleDef): Symbol

    Enter a module symbol.

    Enter a module symbol. The tree parameter can be either a module definition or a class definition

  20. def enterNewMethod(tree: Tree, name: Name, flags: Long, mods: Modifiers, pos: Position): TermSymbol

  21. def enterPackageSymbol(pos: Position, pid: RefTree, pkgOwner: Symbol): Symbol

  22. def enterSym(tree: Tree): Context

  23. def enterSyms(trees: List[Tree]): Namer

  24. def enterSyntheticSym(tree: Tree): Symbol

  25. def enterValueParams(owner: Symbol, vparamss: List[List[ValDef]]): List[List[Symbol]]

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

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

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

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

    Definition Classes
    AnyRef → Any
  30. def getterTypeCompleter(vd: ValDef): TypeCompleter

  31. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  32. def inConstructorFlag: Long

  33. def isAnn(ann: Tree, demand: String): Boolean

  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def makeConstructorScope(classContext: Context): Context

    Attributes
    protected
  36. def moduleClassFlags(moduleFlags: Long): Long

  37. def moduleClassTypeCompleter(tree: Tree): TypeCompleter

  38. def namerOf(sym: Symbol): Namer

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

    Definition Classes
    AnyRef
  40. def newTypeSkolems(tparams: List[Symbol]): List[Symbol]

  41. final def notify(): Unit

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

    Definition Classes
    AnyRef
  43. def selfTypeCompleter(tree: Tree): TypeCompleter

  44. def setPrivateWithin[Sym <: Symbol](tree: Tree, sym: Sym, mods: Modifiers): Sym

  45. def setterTypeCompleter(vd: ValDef): TypeCompleter

  46. def skolemize(tparams: List[TypeDef]): Unit

    Replace type parameters with their TypeSkolems, which can later be deskolemized to the original type param (a skolem is a representation of a bound variable when viewed inside its scope) !!!Adriaan: this does not work for hk types.

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

    Definition Classes
    AnyRef
  48. def toString(): String

    Definition Classes
    AnyRef → Any
  49. def typeCompleter(tree: Tree): TypeCompleter

  50. def typeSig(tree: Tree): Type

  51. val typer: Typer

  52. def updatePosFlags(sym: Symbol, pos: Position, flags: Long): Symbol

  53. def validate(sym: Symbol): Unit

    Check that symbol's definition is well-formed.

    Check that symbol's definition is well-formed. This means:

    • no conflicting modifiers
    • abstract' modifier only for classes
    • override' modifier never for classes
    • def' modifier never for parameters of case classes
    • declarations only in mixins or abstract classes (when not @native)
  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any