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. Symbols
  2. Symbols
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbsSymbolImpl extends AbsSymbol

  2. class AbstractTypeSymbol extends TypeSymbol

  3. class AliasTypeSymbol extends TypeSymbol

  4. class ClassSymbol extends TypeSymbol with ClassSymbolApi

    A class for class symbols

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

    An exception for cyclic references of symbol definitions

  6. trait FreeSymbol extends Symbol

  7. class FreeTerm extends TermSymbol with FreeSymbol

  8. class FreeType extends TypeSkolem with FreeSymbol

  9. trait ImplClassSymbol extends ClassSymbol

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

  11. class MethodSymbol extends TermSymbol with DistinguishingFlag with MethodSymbolApi

    A class for method symbols

  12. class ModuleClassSymbol extends ClassSymbol with DistinguishingFlag

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

  13. class ModuleSymbol extends TermSymbol with DistinguishingFlag with ModuleSymbolApi

    A class for module symbols

  14. class NoSymbol extends Symbol

    An object representing a missing symbol

  15. class PackageClassSymbol extends ModuleClassSymbol with DistinguishingFlag

  16. class PackageObjectClassSymbol extends ModuleClassSymbol

  17. class PackageSymbol extends ModuleSymbol with DistinguishingFlag with PackageSymbolApi

    Definition Classes
    Symbols → Symbols
  18. class RefinementClassSymbol extends ClassSymbol

  19. abstract class Symbol extends AbsSymbolImpl with HasFlags with SymbolFlagLogic with SymbolCreator with Annotatable[Symbol]

    The class for all symbols

  20. class TermSymbol extends Symbol with TermSymbolApi

    A class for term symbols

  21. class TypeSkolem extends TypeSymbol

    A class for type parameters viewed from inside their scopes

  22. abstract class TypeSymbol extends Symbol with TypeSymbolApi

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

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

    Implicit information
    This member is added by an implicit conversion from Symbols to ArrowAssoc[Symbols] 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. lazy val NoSymbol: NoSymbol

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

    Definition Classes
    Any
  10. def clone(): AnyRef

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

    Convenience functions which derive symbols by cloning.

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

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

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

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

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

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

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

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

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

  21. val emptySymbolArray: Array[Symbol]

  22. def ensuring(cond: (Symbols) ⇒ Boolean, msg: ⇒ Any): Symbols

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

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

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

    Implicit information
    This member is added by an implicit conversion from Symbols to Ensuring[Symbols] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  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. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Symbols to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  30. def freshExistentialName(suffix: String): TypeName

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

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

    Definition Classes
    AnyRef → Any
  33. var ids: Int

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

    Definition Classes
    Any
  35. def makeNoSymbol: NoSymbol

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

    A deep map on a symbol's paramss.

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

    Definition Classes
    AnyRef
  38. def newFreeTermSymbol(name: TermName, info: Type, value: ⇒ Any, flags: Long = 0L, origin: String): FreeTerm

    Create a new free term.

    Create a new free term. Its owner is NoSymbol.

  39. def newFreeTypeSymbol(name: TypeName, info: Type, value: ⇒ Any, flags: Long = 0L, origin: String): FreeType

    Create a new free type.

    Create a new free type. Its owner is NoSymbol.

  40. def nextId(): Int

    Attributes
    protected
  41. final def notify(): Unit

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

    Definition Classes
    AnyRef
  43. 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.

  44. val self: Any

    Implicit information
    This member is added by an implicit conversion from Symbols to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  45. val self: Any

    Implicit information
    This member is added by an implicit conversion from Symbols to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  46. def symbolCount: Int

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

    Definition Classes
    AnyRef
  48. def toString(): String

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

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

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

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

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

Deprecated Value Members

  1. def x: Symbols

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

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Symbols

    Implicit information
    This member is added by an implicit conversion from Symbols to Ensuring[Symbols] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Symbols

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from Symbols to StringFormat

Inherited by implicit conversion any2stringadd from Symbols to StringAdd

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

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