scala.tools.nsc.typechecker.Namers

Namer

abstract class Namer extends MethodSynth with NamerContextErrors

Self Type
Namer
Source
Namers.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Namer
  2. NamerContextErrors
  3. MethodSynth
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Namer(context: Context)

Type Members

  1. trait AnyBeanGetter extends BeanAccessor with DerivedGetter

    Definition Classes
    MethodSynth
  2. sealed abstract class BeanAccessor extends DerivedFromValDef

    Definition Classes
    MethodSynth
  3. case class BeanGetter(tree: ValDef) extends BeanAccessor with AnyBeanGetter with Product with Serializable

    Definition Classes
    MethodSynth
  4. case class BeanSetter(tree: ValDef) extends BeanAccessor with DerivedSetter with Product with Serializable

    Definition Classes
    MethodSynth
  5. case class BooleanBeanGetter(tree: ValDef) extends BeanAccessor with AnyBeanGetter with Product with Serializable

    Definition Classes
    MethodSynth
  6. trait Derived extends AnyRef

    This trait assembles what's needed for synthesizing derived methods.

  7. trait DerivedFromClassDef extends DerivedFromMemberDef

    Definition Classes
    MethodSynth
  8. trait DerivedFromMemberDef extends Derived

    Definition Classes
    MethodSynth
  9. trait DerivedFromValDef extends DerivedFromMemberDef

    Definition Classes
    MethodSynth
  10. trait DerivedGetter extends DerivedFromValDef

    Definition Classes
    MethodSynth
  11. trait DerivedSetter extends DerivedFromValDef

    Definition Classes
    MethodSynth
  12. case class Field(tree: ValDef) extends DerivedFromValDef with Product with Serializable

    Definition Classes
    MethodSynth
  13. case class Getter(tree: ValDef) extends DerivedGetter with Product with Serializable

    Definition Classes
    MethodSynth
  14. case class ImplicitClassWrapper(tree: ClassDef) extends DerivedFromClassDef with Product with Serializable

    A synthetic method which performs the implicit conversion implied by the declaration of an implicit class.

  15. class LogTransitions[S] extends AnyRef

  16. trait NoSymbolBeanGetter extends BeanAccessor with AnyBeanGetter

    Definition Classes
    MethodSynth
  17. case class Param(tree: ValDef) extends DerivedFromValDef with Product with Serializable

    Definition Classes
    MethodSynth
  18. case class Setter(tree: ValDef) extends DerivedSetter with Product with Serializable

    Definition Classes
    MethodSynth

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Namer to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Namer, B)

    Implicit information
    This member is added by an implicit conversion from Namer to ArrowAssoc[Namer] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. object NamerErrorGen

    Definition Classes
    NamerContextErrors
  9. def accessorTypeCompleter(tree: ValDef, isSetter: Boolean = false): TypeCompleter with LockingTypeCompleter

  10. 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)

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

  12. def addDerivedTrees(typer: Typer, stat: Tree): List[Tree]

    Definition Classes
    MethodSynth
  13. def allValDefDerived(vd: ValDef): List[DerivedFromValDef]

    Definition Classes
    MethodSynth
  14. def applicableTypeParams(owner: Symbol): List[Symbol]

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def assignAndEnterFinishedSymbol(tree: MemberDef): Symbol

  17. def assignAndEnterSymbol(tree: MemberDef): Symbol

  18. def assignSymbol(tree: MemberDef, name: Name, mask: Long): Symbol

  19. def assignSymbol(tree: Tree): Symbol

    Creates a new symbol and assigns it to the tree, returning the symbol

  20. def beanAccessors(vd: ValDef): List[DerivedFromValDef]

    Definition Classes
    MethodSynth
  21. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. def completerOf(tree: Tree, tparams: List[TypeDef]): TypeCompleter

  23. def completerOf(tree: Tree): TypeCompleter

  24. def conflict(newS: Symbol, oldS: Symbol): Boolean

    Attributes
    protected
  25. val context: Context

  26. def createInnerNamer(): Namer

  27. def createNamer(tree: Tree): Namer

  28. def createPrimaryConstructorParameterNamer: Namer

  29. def enclosingNamerWithScope(scope: Scope): Namer

  30. def ensureCompanionObject(cdef: ClassDef, creator: (ClassDef) ⇒ Tree = companionModuleDef(_)): 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.

  31. def ensureParent(clazz: Symbol, parent: Symbol): Any

  32. def ensuring(cond: (Namer) ⇒ Boolean, msg: ⇒ Any): Namer

    Implicit information
    This member is added by an implicit conversion from Namer to Ensuring[Namer] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  33. def ensuring(cond: (Namer) ⇒ Boolean): Namer

    Implicit information
    This member is added by an implicit conversion from Namer to Ensuring[Namer] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  34. def ensuring(cond: Boolean, msg: ⇒ Any): Namer

    Implicit information
    This member is added by an implicit conversion from Namer to Ensuring[Namer] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  35. def ensuring(cond: Boolean): Namer

    Implicit information
    This member is added by an implicit conversion from Namer to Ensuring[Namer] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  36. def enterBeans(tree: ValDef): Unit

    Attributes
    protected
    Definition Classes
    MethodSynth
  37. def enterClassDef(tree: ClassDef): Unit

  38. def enterClassSymbol(tree: ClassDef): Symbol

  39. def enterCopyMethod(copyDefDef: Tree, tparams: List[TypeDef]): Symbol

  40. def enterDefDef(tree: DefDef): Unit

  41. def enterExistingSym(sym: Symbol): Context

    Attributes
    protected
  42. def enterGetterSetter(tree: ValDef): Unit

    Definition Classes
    MethodSynth
  43. def enterIfNotThere(sym: Symbol): Unit

  44. def enterImplicitWrapper(tree: ClassDef): Unit

    Definition Classes
    MethodSynth
  45. def enterInScope(sym: Symbol, scope: Scope): Symbol

    Enter symbol into given scope and return symbol itself

  46. def enterInScope(sym: Symbol): Symbol

    Enter symbol into context's scope and return symbol itself

  47. def enterLazyVal(tree: ValDef, lazyAccessor: Symbol): TermSymbol

  48. def enterModuleDef(tree: ModuleDef): Symbol

  49. 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.

  50. def enterPackage(tree: PackageDef): Unit

  51. def enterSelf(self: ValDef): Unit

  52. def enterStrictVal(tree: ValDef): TermSymbol

  53. def enterSym(tree: Tree): Context

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

  55. def enterSyntheticSym(tree: Tree): Symbol

  56. def enterTypeDef(tree: TypeDef): Symbol

  57. def enterValDef(tree: ValDef): Unit

  58. def enterValSymbol(tree: ValDef, sym: TermSymbol): TermSymbol

  59. def enterValueParams(vparamss: List[List[ValDef]]): List[List[Symbol]]

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  63. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Namer to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  64. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  66. def inConstructorFlag: Long

  67. def includeParent(tpe: Type, parent: Symbol): Type

  68. def initializeLowerBounds(tp: Type): Type

  69. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  70. def moduleClassFlags(moduleFlags: Long): Long

  71. def moduleClassTypeCompleter(tree: Tree): TypeCompleter with LockingTypeCompleter

  72. def monoTypeCompleter(tree: Tree): TypeCompleter with LockingTypeCompleter

  73. def namerOf(sym: Symbol): Namer

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

    Definition Classes
    AnyRef
  75. def noEnterGetterSetter(vd: ValDef): Boolean

  76. def noFinishGetterSetter(vd: ValDef): Boolean

  77. final def notify(): Unit

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

    Definition Classes
    AnyRef
  79. def owner: Symbol

    Attributes
    protected
  80. def selfTypeCompleter(tree: Tree): TypeCompleter with LockingTypeCompleter

  81. def setPrivateWithin(tree: MemberDef, sym: Symbol): Symbol

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

  83. def standardAccessors(vd: ValDef): List[DerivedFromValDef]

    Definition Classes
    MethodSynth
  84. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  85. def toString(): String

    Definition Classes
    AnyRef → Any
  86. def typeSig(tree: Tree): Type

  87. val typer: Typer

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

  89. 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)
  90. def validateParam(tree: ValDef): Unit

    Definition Classes
    MethodSynth
  91. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  94. def [B](y: B): (Namer, B)

    Implicit information
    This member is added by an implicit conversion from Namer to ArrowAssoc[Namer] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Namer to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (namer: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Namer to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (namer: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Namer

    Implicit information
    This member is added by an implicit conversion from Namer to ArrowAssoc[Namer] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (namer: ArrowAssoc[Namer]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Namer

    Implicit information
    This member is added by an implicit conversion from Namer to Ensuring[Namer] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (namer: Ensuring[Namer]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from NamerContextErrors

Inherited from MethodSynth

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Namer to StringAdd

Inherited by implicit conversion any2stringfmt from Namer to StringFormat

Inherited by implicit conversion any2ArrowAssoc from Namer to ArrowAssoc[Namer]

Inherited by implicit conversion any2Ensuring from Namer to Ensuring[Namer]