scala.reflect.internal

Symbols

trait Symbols extends Symbols

Self Type
SymbolTable
Source
Symbols.scala
Linear Supertypes
Symbols, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Symbols
  2. Symbols
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbsSymbolImpl extends AbsSymbol

  2. trait AbstractTypeMixin extends TypeSymbol

    Might be mixed into TypeSymbol or TypeSkolem.

  3. class AbstractTypeSymbol extends TypeSymbol with AbstractTypeMixin

  4. class AliasTypeSymbol extends TypeSymbol

  5. class ClassSymbol extends TypeSymbol

    A class for class symbols

  6. case class CyclicReference(sym: Symbol, info: Type) extends TypeError with Product with Serializable

    An exception for cyclic references of symbol definitions

  7. class FreeVar extends TermSymbol

  8. case class InvalidCompanions(sym1: Symbol, sym2: Symbol) extends Throwable with Product with Serializable

  9. class MethodSymbol extends TermSymbol

    A class for method symbols

  10. class ModuleClassSymbol extends ClassSymbol

    A class for module class symbols Note: Not all module classes are of this type; when unpickled, we get plain class symbols!

  11. class ModuleSymbol extends TermSymbol

    A class for module symbols

  12. class NoSymbol extends Symbol

    An object representing a missing symbol

  13. abstract class Symbol extends AbsSymbolImpl with HasFlags with Annotatable[Symbol]

    The class for all symbols

  14. class TermSymbol extends Symbol

    A class for term symbols

  15. class TypeSkolem extends TypeSymbol

    A class for type parameters viewed from inside their scopes

  16. abstract class TypeSymbol extends Symbol

    A class of type symbols.

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. lazy val NoSymbol: NoSymbol

    Definition Classes
    Symbols → Symbols
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def cloneSymbols(syms: List[Symbol]): List[Symbol]

    Convenience functions which derive symbols by cloning.

  10. def cloneSymbolsAndModify(syms: List[Symbol], infoFn: (Type) ⇒ Type): List[Symbol]

    Clone symbols and apply the given function to each new symbol's info.

    Clone symbols and apply the given function to each new symbol's info.

    syms

    the prototypical symbols

    infoFn

    the function to apply to the infos

    returns

    the newly created, info-adjusted symbols

  11. def cloneSymbolsAtOwner(syms: List[Symbol], owner: Symbol): List[Symbol]

  12. def cloneSymbolsAtOwnerAndModify(syms: List[Symbol], owner: Symbol, infoFn: (Type) ⇒ Type): List[Symbol]

  13. def connectModuleToClass(m: ModuleSymbol, moduleClass: ClassSymbol): ModuleSymbol

  14. def createFromClonedSymbols[T](syms: List[Symbol], tpe: Type)(creator: (List[Symbol], Type) ⇒ T): T

    Functions which perform the standard clone/substituting on the given symbols and type, then call the creator function with the new symbols and type as arguments.

  15. def createFromClonedSymbolsAtOwner[T](syms: List[Symbol], owner: Symbol, tpe: Type)(creator: (List[Symbol], Type) ⇒ T): T

  16. def deriveSymbols(syms: List[Symbol], symFn: (Symbol) ⇒ Symbol): List[Symbol]

    Derives a new list of symbols from the given list by mapping the given list across the given function.

    Derives a new list of symbols from the given list by mapping the given list across the given function. Then fixes the info of all the new symbols by substituting the new symbols for the original symbols.

    syms

    the prototypical symbols

    symFn

    the function to create new symbols

    returns

    the new list of info-adjusted symbols

  17. def deriveType(syms: List[Symbol], symFn: (Symbol) ⇒ Symbol)(tpe: Type): Type

    Derives a new Type by first deriving new symbols as in deriveSymbols, then performing the same oldSyms => newSyms substitution on tpe as is performed on the symbol infos in deriveSymbols.

    Derives a new Type by first deriving new symbols as in deriveSymbols, then performing the same oldSyms => newSyms substitution on tpe as is performed on the symbol infos in deriveSymbols.

    syms

    the prototypical symbols

    symFn

    the function to create new symbols

    tpe

    the prototypical type

    returns

    the new symbol-subsituted type

  18. def deriveTypeWithWildcards(syms: List[Symbol])(tpe: Type): Type

    Derives a new Type by instantiating the given list of symbols as WildcardTypes.

    Derives a new Type by instantiating the given list of symbols as WildcardTypes.

    syms

    the symbols to replace

    returns

    the new type with WildcardType replacing those syms

  19. val emptySymbolArray: Array[Symbol]

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. def freshExistentialName(suffix: String): TypeName

    Attributes
    protected
  24. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  26. var ids: Int

    Attributes
    protected
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def makeNoSymbol: NoSymbol

    Attributes
    protected
  29. def mapParamss[T](sym: Symbol)(f: (Symbol) ⇒ T): List[List[T]]

    A deep map on a symbol's paramss.

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

    Definition Classes
    AnyRef
  31. def newFreeVar(name: TermName, tpe: Type, value: Any, newFlags: Long = 0L): FreeVar

    Create a new free variable.

    Create a new free variable. Its owner is NoSymbol.

  32. def nextId(): Int

    Attributes
    protected
  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. val originalOwner: HashMap[Symbol, Symbol]

    The original owner of a class.

    The original owner of a class. Used by the backend to generate EnclosingMethod attributes.

  36. def symbolCount: Int

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Symbols

Inherited from AnyRef

Inherited from Any