scala.tools.nsc.typechecker.Namers

Namer

abstract class Namer extends MethodSynth with NamerContextErrors

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

Instance Constructors

  1. new Namer(context: Context)

Type Members

  1. trait AnyBeanGetter extends BeanAccessor with DerivedGetter

  2. sealed abstract class BeanAccessor extends DerivedFromValDef

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

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

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

  6. trait Derived extends AnyRef

  7. trait DerivedFromValDef extends Derived

  8. trait DerivedGetter extends DerivedFromValDef

  9. trait DerivedSetter extends DerivedFromValDef

  10. case class Field(tree: ValDef) extends DerivedFromValDef with Product with Serializable

  11. case class Getter(tree: ValDef) extends DerivedGetter with Product with Serializable

  12. class LogTransitions[S] extends AnyRef

  13. trait NoSymbolBeanGetter extends BeanAccessor with AnyBeanGetter

  14. case class Param(tree: ValDef) extends DerivedFromValDef with Product with Serializable

  15. case class Setter(tree: ValDef) extends DerivedSetter with Product with Serializable

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. object NamerErrorGen extends AnyRef

  7. def accessorTypeCompleter(tree: ValDef, isSetter: Boolean = false): TypeCompleter with LockingTypeCompleter

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

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

  10. def allValDefDerived(vd: ValDef): List[DerivedFromValDef]

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

  12. final def asInstanceOf[T0]: T0

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

  14. def assignAndEnterSymbol(tree: MemberDef): Symbol

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

  16. def assignSymbol(tree: Tree): Symbol

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

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

    Definition Classes
    MethodSynth
  18. def clone(): AnyRef

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

  20. def completerOf(tree: Tree): TypeCompleter

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

    Attributes
    protected
  22. val context: Context

  23. def createInnerNamer(): Namer

  24. def createNamer(tree: Tree): Namer

  25. def createPrimaryConstructorParameterNamer: Namer

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

  27. def enterBeans(tree: ValDef): Unit

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

  29. def enterClassSymbol(tree: ClassDef): Symbol

  30. def enterCopyMethodOrGetter(tree: Tree, tparams: List[TypeDef]): Symbol

  31. def enterDefDef(tree: DefDef): Unit

  32. def enterExistingSym(sym: Symbol): Context

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

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

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

    Enter symbol into given scope and return symbol itself

  36. def enterInScope(sym: Symbol): Symbol

    Enter symbol into context's scope and return symbol itself

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

  38. def enterModuleDef(tree: ModuleDef): Symbol

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

  40. def enterPackage(tree: PackageDef): Unit

  41. def enterSelf(self: ValDef): Unit

  42. def enterStrictVal(tree: ValDef): TermSymbol

  43. def enterSym(tree: Tree): Context

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

  45. def enterSyntheticSym(tree: Tree): Symbol

  46. def enterTypeDef(tree: TypeDef): Symbol

  47. def enterValDef(tree: ValDef): Unit

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

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

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  53. def finishGetterSetter(typer: Typer, stat: Tree): List[Tree]

    Definition Classes
    MethodSynth
  54. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  56. def inConstructorFlag: Long

  57. def initializeLowerBounds(tp: Type): Type

  58. final def isInstanceOf[T0]: Boolean

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

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

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

  62. def namerOf(sym: Symbol): Namer

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

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

  65. def noFinishGetterSetter(vd: ValDef): Boolean

  66. final def notify(): Unit

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

    Definition Classes
    AnyRef
  68. def owner: Symbol

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

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

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

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

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

    Definition Classes
    AnyRef
  74. def toString(): String

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

  76. val typer: Typer

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

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from NamerContextErrors

Inherited from MethodSynth

Inherited from AnyRef

Inherited from Any