t

scala.reflect.internal.Internals

SymbolTableInternal

trait SymbolTableInternal extends SymbolTable.MacroInternalApi

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SymbolTableInternal
  2. MacroInternalApi
  3. InternalApi
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait DecoratorApi extends AnyRef

    Definition Classes
    InternalApi
    See also

    Decorators

  2. type Decorators = MacroDecoratorApi

    Syntactic conveniences for additional internal APIs for trees, symbols and types

    Syntactic conveniences for additional internal APIs for trees, symbols and types

    Definition Classes
    SymbolTableInternalMacroInternalApiInternalApi
  3. trait MacroDecoratorApi extends DecoratorApi

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    MacroInternalApi

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def annotatedType(annotations: List[SymbolTable.Annotation], underlying: SymbolTable.Type): SymbolTable.AnnotatedType

    A creator for AnnotatedType types.

    A creator for AnnotatedType types.

    Definition Classes
    SymbolTableInternalInternalApi
  5. def asFreeTerm(symbol: SymbolTable.Symbol): SymbolTable.FreeTermSymbol

    This symbol cast to a free term symbol.

    This symbol cast to a free term symbol.

    Definition Classes
    SymbolTableInternalInternalApi
    Exceptions thrown

    ScalaReflectionException if isFreeTerm is false.

  6. def asFreeType(symbol: SymbolTable.Symbol): SymbolTable.FreeTypeSymbol

    This symbol cast to a free type symbol.

    This symbol cast to a free type symbol.

    Definition Classes
    SymbolTableInternalInternalApi
    Exceptions thrown

    ScalaReflectionException if isFreeType is false.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def attachments(symbol: SymbolTable.Symbol): Attachments { type Pos = Internals.this.Position }

    The attachment of the symbol.

    The attachment of the symbol.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  9. def attachments(tree: SymbolTable.Tree): Attachments { type Pos = Internals.this.Position }

    The attachment of the tree.

    The attachment of the tree.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  10. def boundedWildcardType(bounds: SymbolTable.TypeBounds): SymbolTable.BoundedWildcardType

    A creator for BoundedWildcardType types.

    A creator for BoundedWildcardType types.

    Definition Classes
    SymbolTableInternalInternalApi
  11. def captureVariable(vble: SymbolTable.Symbol): Unit

    Mark a variable as captured; i.e.

    Mark a variable as captured; i.e. force boxing in a *Ref type.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  12. def capturedVariableType(vble: SymbolTable.Symbol): SymbolTable.Type

    Convert type of a captured variable to *Ref type.

    Convert type of a captured variable to *Ref type.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  13. def changeOwner(tree: SymbolTable.Tree, prev: SymbolTable.Symbol, next: SymbolTable.Symbol): tree.type

    Collects all the symbols defined by subtrees of tree that are owned by prev, and then changes their owner to point to next.

    Collects all the symbols defined by subtrees of tree that are owned by prev, and then changes their owner to point to next.

    This is an essential tool to battle owner chain corruption when moving trees from one lexical context to another. Whenever you take an attributed tree that has been typechecked under the Context owned by some symbol (let's call it x) and splice it elsewhere, into the Context owned by another symbol (let's call it y), it is imperative that you either call untypecheck or do changeOwner(tree, x, y).

    Since at the moment untypecheck has fundamental problem that can sometimes lead to tree corruption, changeOwner becomes an indispensable tool in building 100% robust macros. Future versions of the reflection API might obviate the need in taking care of these low-level details, but at the moment this is what we've got.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  14. def classDef(sym: SymbolTable.Symbol, impl: SymbolTable.Template): SymbolTable.ClassDef

    A factory method for ClassDef nodes.

    A factory method for ClassDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  15. def classInfoType(parents: List[SymbolTable.Type], decls: SymbolTable.Scope, typeSymbol: SymbolTable.Symbol): SymbolTable.ClassInfoType

    A creator for ClassInfoType types.

    A creator for ClassInfoType types.

    Definition Classes
    SymbolTableInternalInternalApi
  16. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  17. def constantType(value: SymbolTable.Constant): SymbolTable.ConstantType

    A creator for ConstantType types.

    A creator for ConstantType types.

    Definition Classes
    SymbolTableInternalInternalApi
  18. def createImporter(from0: Universe): SymbolTable.Importer { val from: from0.type }

    Creates an importer that moves reflection artifacts between universes.

    Creates an importer that moves reflection artifacts between universes.

    Definition Classes
    SymbolTableInternalInternalApi
    See also

    Importer

  19. def deSkolemize(symbol: SymbolTable.Symbol): SymbolTable.Symbol

    If this symbol is a skolem, its corresponding type parameter, otherwise the symbol itself.

    If this symbol is a skolem, its corresponding type parameter, otherwise the symbol itself.

    To quote Martin Odersky, skolems are synthetic type "constants" that are copies of existentially bound or universally bound type variables. E.g. if one is inside the right-hand side of a method:

    def foo[T](x: T) = ... foo[List[T]]....

    the skolem named T refers to the unknown type instance of T when foo is called. It needs to be different from the type parameter because in a recursive call as in the foo[List[T]] above the type parameter gets substituted with List[T], but the type skolem stays what it is.

    The other form of skolem is an existential skolem. Say one has a function

    def bar(xs: List[T] forSome { type T }) = xs.head

    then each occurrence of xs on the right will have type List[T'] where T' is a fresh copy of T.

    Definition Classes
    SymbolTableInternalInternalApi
  20. lazy val decorators: Decorators

    Definition Classes
    SymbolTableInternalInternalApi
    See also

    Decorators

  21. def defDef(sym: SymbolTable.Symbol, rhs: (List[List[SymbolTable.Symbol]]) ⇒ SymbolTable.Tree): SymbolTable.DefDef

    A factory method for DefDef nodes.

    A factory method for DefDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  22. def defDef(sym: SymbolTable.Symbol, rhs: SymbolTable.Tree): SymbolTable.DefDef

    A factory method for DefDef nodes.

    A factory method for DefDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  23. def defDef(sym: SymbolTable.Symbol, mods: SymbolTable.Modifiers, rhs: SymbolTable.Tree): SymbolTable.DefDef

    A factory method for DefDef nodes.

    A factory method for DefDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  24. def defDef(sym: SymbolTable.Symbol, vparamss: List[List[SymbolTable.ValDef]], rhs: SymbolTable.Tree): SymbolTable.DefDef

    A factory method for DefDef nodes.

    A factory method for DefDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  25. def defDef(sym: SymbolTable.Symbol, mods: SymbolTable.Modifiers, vparamss: List[List[SymbolTable.ValDef]], rhs: SymbolTable.Tree): SymbolTable.DefDef

    A factory method for DefDef nodes.

    A factory method for DefDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  26. def defineType(tree: SymbolTable.Tree, tp: SymbolTable.Type): tree.type

    Like setType, but if this is a previously empty TypeTree that fact is remembered so that untypecheck will snap back.

    Like setType, but if this is a previously empty TypeTree that fact is remembered so that untypecheck will snap back.

    \@PP: Attempting to elaborate on the above, I find: If defineType is called on a TypeTree whose type field is null or NoType, this is recorded as "wasEmpty = true". That value is used in ResetAttrsTraverser, which nulls out the type field of TypeTrees for which wasEmpty is true, leaving the others alone.

    untypecheck (or resetAttrs in compiler parlance) is used in situations where some speculative typing of a tree takes place, fails, and the tree needs to be returned to its former state to try again. So according to me: using defineType instead of setType is how you communicate that the type being set does not depend on any previous state, and therefore should be abandoned if the current line of type inquiry doesn't work out.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  27. def enter(scope: SymbolTable.Scope, sym: SymbolTable.Symbol): scope.type

    Adds a given symbol to the given scope.

    Adds a given symbol to the given scope.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  30. def existentialAbstraction(tparams: List[SymbolTable.Symbol], tpe0: SymbolTable.Type): SymbolTable.Type

    A creator for existential types.

    A creator for existential types. This generates:

    tpe1 where { tparams }

    where tpe1 is the result of extrapolating tpe with regard to tparams. Extrapolating means that type variables in tparams occurring in covariant positions are replaced by upper bounds, (minus any SingletonClass markers), type variables in tparams occurring in contravariant positions are replaced by upper bounds, provided the resulting type is legal with regard to stability, and does not contain any type variable in tparams.

    The abstraction drops all type parameters that are not directly or indirectly referenced by type tpe1. If there are no remaining type parameters, simply returns result type tpe.

    Definition Classes
    SymbolTableInternalInternalApi
  31. def existentialType(quantified: List[SymbolTable.Symbol], underlying: SymbolTable.Type): SymbolTable.ExistentialType

    A creator for ExistentialType types.

    A creator for ExistentialType types.

    Definition Classes
    SymbolTableInternalInternalApi
  32. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. def flags(symbol: SymbolTable.Symbol): SymbolTable.FlagSet

    Returns internal flags associated with the symbol.

    Returns internal flags associated with the symbol.

    Definition Classes
    SymbolTableInternalInternalApi
  34. def freeTerms(tree: SymbolTable.Tree): List[SymbolTable.FreeTermSymbol]

    Extracts free term symbols from a tree that is reified or contains reified subtrees.

    Extracts free term symbols from a tree that is reified or contains reified subtrees.

    Definition Classes
    SymbolTableInternalInternalApi
  35. def freeTypes(tree: SymbolTable.Tree): List[SymbolTable.FreeTypeSymbol]

    Extracts free type symbols from a tree that is reified or contains reified subtrees.

    Extracts free type symbols from a tree that is reified or contains reified subtrees.

    Definition Classes
    SymbolTableInternalInternalApi
  36. def fullyInitialize(scope: SymbolTable.Scope): scope.type

    Calls initialize on all the symbols that the scope consists of.

    Calls initialize on all the symbols that the scope consists of.

    Definition Classes
    SymbolTableInternalInternalApi
  37. def fullyInitialize(tp: SymbolTable.Type): tp.type

    Calls initialize on all the value and type parameters of the type.

    Calls initialize on all the value and type parameters of the type.

    Definition Classes
    SymbolTableInternalInternalApi
  38. def fullyInitialize(symbol: SymbolTable.Symbol): symbol.type

    Calls initialize on the owner and all the value and type parameters of the symbol.

    Calls initialize on the owner and all the value and type parameters of the symbol.

    Definition Classes
    SymbolTableInternalInternalApi
  39. lazy val gen: SymbolTable.TreeGen

    Advanced tree factories

    Advanced tree factories

    Definition Classes
    SymbolTableInternalMacroInternalApi
  40. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def initialize(symbol: SymbolTable.Symbol): symbol.type

    Forces all outstanding completers associated with this symbol.

    Forces all outstanding completers associated with this symbol. After this call returns, the symbol becomes immutable and thread-safe.

    Definition Classes
    SymbolTableInternalInternalApi
  43. def intersectionType(tps: List[SymbolTable.Type], owner: SymbolTable.Symbol): SymbolTable.Type

    A creator for intersection type where intersections of a single type are replaced by the type itself, and repeated parent classes are merged.

    A creator for intersection type where intersections of a single type are replaced by the type itself, and repeated parent classes are merged.

    !!! Repeated parent classes are not merged - is this a bug in the comment or in the code?

    Definition Classes
    SymbolTableInternalInternalApi
  44. def intersectionType(tps: List[SymbolTable.Type]): SymbolTable.Type

    A creator for intersection type where intersections of a single type are replaced by the type itself.

    A creator for intersection type where intersections of a single type are replaced by the type itself.

    Definition Classes
    SymbolTableInternalInternalApi
  45. def isErroneous(symbol: SymbolTable.Symbol): Boolean

    Does this symbol or its underlying type represent a typechecking error?

    Does this symbol or its underlying type represent a typechecking error?

    Definition Classes
    SymbolTableInternalInternalApi
  46. def isFreeTerm(symbol: SymbolTable.Symbol): Boolean

    Does this symbol represent a free term captured by reification? If yes, isTerm is also guaranteed to be true.

    Does this symbol represent a free term captured by reification? If yes, isTerm is also guaranteed to be true.

    Definition Classes
    SymbolTableInternalInternalApi
  47. def isFreeType(symbol: SymbolTable.Symbol): Boolean

    Does this symbol represent a free type captured by reification? If yes, isType is also guaranteed to be true.

    Does this symbol represent a free type captured by reification? If yes, isType is also guaranteed to be true.

    Definition Classes
    SymbolTableInternalInternalApi
  48. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  49. def isSkolem(symbol: SymbolTable.Symbol): Boolean

    Does this symbol represent the definition of a skolem? Skolems are used during typechecking to represent type parameters viewed from inside their scopes.

    Does this symbol represent the definition of a skolem? Skolems are used during typechecking to represent type parameters viewed from inside their scopes.

    Definition Classes
    SymbolTableInternalInternalApi
  50. def labelDef(sym: SymbolTable.Symbol, params: List[SymbolTable.Symbol], rhs: SymbolTable.Tree): SymbolTable.LabelDef

    A factory method for LabelDef nodes.

    A factory method for LabelDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  51. def manifestToTypeTag[T](mirror: Any, manifest: Manifest[T]): api.Universe.TypeTag[T]

    Convert a scala.reflect.Manifest to a scala.reflect.api.TypeTags#TypeTag.

    Convert a scala.reflect.Manifest to a scala.reflect.api.TypeTags#TypeTag.

    Compiler usually generates these conversions automatically, when a manifest for a type T is in scope, and an implicit of type TypeTag[T] is requested, but this method can also be called manually. For example:

    manifestToTypeTag(scala.reflect.runtime.currentMirror, implicitly[Manifest[String]])
    Definition Classes
    InternalApi
  52. def methodType(params: List[SymbolTable.Symbol], resultType: SymbolTable.Type): SymbolTable.MethodType

    A creator for MethodType types.

    A creator for MethodType types.

    Definition Classes
    SymbolTableInternalInternalApi
  53. def moduleDef(sym: SymbolTable.Symbol, impl: SymbolTable.Template): SymbolTable.ModuleDef

    A factory method for ModuleDef nodes.

    A factory method for ModuleDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. def newClassSymbol(symbol: SymbolTable.Symbol, name: SymbolTable.TypeName, pos: SymbolTable.Position = NoPosition, flags: SymbolTable.FlagSet = NoFlags): SymbolTable.ClassSymbol
    Definition Classes
    SymbolTableInternalInternalApi
  56. def newFreeTerm(name: String, value: ⇒ Any, flags: SymbolTable.FlagSet = NoFlags, origin: String = null): SymbolTable.FreeTermSymbol
    Definition Classes
    SymbolTableInternalInternalApi
  57. def newFreeType(name: String, flags: SymbolTable.FlagSet = NoFlags, origin: String = null): SymbolTable.FreeTypeSymbol
    Definition Classes
    SymbolTableInternalInternalApi
  58. def newMethodSymbol(symbol: SymbolTable.Symbol, name: SymbolTable.TermName, pos: SymbolTable.Position = NoPosition, flags: SymbolTable.FlagSet = NoFlags): SymbolTable.MethodSymbol
    Definition Classes
    SymbolTableInternalInternalApi
  59. def newModuleAndClassSymbol(symbol: SymbolTable.Symbol, name: SymbolTable.Name, pos: SymbolTable.Position = NoPosition, flags: SymbolTable.FlagSet = NoFlags): (SymbolTable.ModuleSymbol, SymbolTable.ClassSymbol)
    Definition Classes
    SymbolTableInternalInternalApi
  60. def newScopeWith(elems: SymbolTable.Symbol*): SymbolTable.Scope

    Create a new scope with the given initial elements.

    Create a new scope with the given initial elements.

    Definition Classes
    SymbolTableInternalInternalApi
  61. def newTermSymbol(symbol: SymbolTable.Symbol, name: SymbolTable.TermName, pos: SymbolTable.Position = NoPosition, flags: SymbolTable.FlagSet = NoFlags): SymbolTable.TermSymbol
    Definition Classes
    SymbolTableInternalInternalApi
  62. def newTypeSymbol(symbol: SymbolTable.Symbol, name: SymbolTable.TypeName, pos: SymbolTable.Position = NoPosition, flags: SymbolTable.FlagSet = NoFlags): SymbolTable.TypeSymbol
    Definition Classes
    SymbolTableInternalInternalApi
  63. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  64. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  65. def nullaryMethodType(resultType: SymbolTable.Type): SymbolTable.NullaryMethodType

    A creator for NullaryMethodType types.

    A creator for NullaryMethodType types.

    Definition Classes
    SymbolTableInternalInternalApi
  66. def polyType(typeParams: List[SymbolTable.Symbol], resultType: SymbolTable.Type): SymbolTable.PolyType

    A creator for type parameterizations that strips empty type parameter lists.

    A creator for type parameterizations that strips empty type parameter lists. Use this factory method to indicate the type has kind * (it's a polymorphic value) until we start tracking explicit kinds equivalent to typeFun (except that the latter requires tparams nonEmpty).

    Definition Classes
    SymbolTableInternalInternalApi
  67. def referenceCapturedVariable(vble: SymbolTable.Symbol): SymbolTable.Tree

    Mark given identifier as a reference to a captured variable itself suppressing dereferencing with the elem field.

    Mark given identifier as a reference to a captured variable itself suppressing dereferencing with the elem field.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  68. def refinedType(parents: List[SymbolTable.Type], owner: SymbolTable.Symbol, decls: SymbolTable.Scope, pos: SymbolTable.Position): SymbolTable.Type

    A creator for RefinedType types.

    A creator for RefinedType types.

    Definition Classes
    SymbolTableInternalInternalApi
  69. def refinedType(parents: List[SymbolTable.Type], owner: SymbolTable.Symbol, decls: SymbolTable.Scope): SymbolTable.Type

    A creator for RefinedType types.

    A creator for RefinedType types.

    Definition Classes
    SymbolTableInternalInternalApi
  70. def refinedType(parents: List[SymbolTable.Type], owner: SymbolTable.Symbol): SymbolTable.Type

    A creator for RefinedType types.

    A creator for RefinedType types.

    Definition Classes
    SymbolTableInternalInternalApi
  71. def refinedType(parents: List[SymbolTable.Type], decls: SymbolTable.Scope, clazz: SymbolTable.Symbol): SymbolTable.RefinedType

    A creator for RefinedType types.

    A creator for RefinedType types.

    Definition Classes
    SymbolTableInternalInternalApi
  72. def refinedType(parents: List[SymbolTable.Type], decls: SymbolTable.Scope): SymbolTable.RefinedType

    A creator for RefinedType types.

    A creator for RefinedType types.

    Definition Classes
    SymbolTableInternalInternalApi
  73. lazy val reificationSupport: SymbolTable.ReificationSupportApi

    This is an internal implementation module.

    This is an internal implementation module.

    Definition Classes
    SymbolTableInternalInternalApi
  74. def removeAttachment[T](symbol: SymbolTable.Symbol)(implicit arg0: ClassTag[T]): symbol.type

    Update the attachment with the payload of the given class type T removed.

    Update the attachment with the payload of the given class type T removed. Returns the symbol itself.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  75. def removeAttachment[T](tree: SymbolTable.Tree)(implicit arg0: ClassTag[T]): tree.type

    Update the attachment with the payload of the given class type T removed.

    Update the attachment with the payload of the given class type T removed. Returns the tree itself.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  76. def resetFlag(symbol: SymbolTable.Symbol, flags: SymbolTable.FlagSet): symbol.type

    Disables flags on the symbol.

    Disables flags on the symbol.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  77. def setAnnotations(symbol: SymbolTable.Symbol, annots: SymbolTable.Annotation*): symbol.type

    Sets the annotations of the symbol.

    Sets the annotations of the symbol.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  78. def setFlag(symbol: SymbolTable.Symbol, flags: SymbolTable.FlagSet): symbol.type

    Enables flags on the symbol.

    Enables flags on the symbol.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  79. def setInfo(symbol: SymbolTable.Symbol, tpe: SymbolTable.Type): symbol.type

    Sets the info of the symbol.

    Sets the info of the symbol.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  80. def setName(symbol: SymbolTable.Symbol, name: SymbolTable.Name): symbol.type

    Sets the name of the symbol.

    Sets the name of the symbol.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  81. def setOriginal(tt: SymbolTable.TypeTree, tree: SymbolTable.Tree): SymbolTable.TypeTree

    Sets the original field of the type tree.

    Sets the original field of the type tree.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  82. def setOwner(symbol: SymbolTable.Symbol, newowner: SymbolTable.Symbol): symbol.type

    Sets the owner of the symbol.

    Sets the owner of the symbol.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  83. def setPos(tree: SymbolTable.Tree, newpos: SymbolTable.Position): tree.type

    Sets the pos of the tree.

    Sets the pos of the tree. Returns the tree itself.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  84. def setPrivateWithin(symbol: SymbolTable.Symbol, sym: SymbolTable.Symbol): symbol.type

    Sets the privateWithin of the symbol.

    Sets the privateWithin of the symbol.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  85. def setSymbol(tree: SymbolTable.Tree, sym: SymbolTable.Symbol): tree.type

    Sets the symbol of the tree.

    Sets the symbol of the tree. Returns the tree itself.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  86. def setType(tree: SymbolTable.Tree, tp: SymbolTable.Type): tree.type

    Sets the tpe of the tree.

    Sets the tpe of the tree. Returns the tree itself.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  87. def singleType(pre: SymbolTable.Type, sym: SymbolTable.Symbol): SymbolTable.Type

    A creator for SingleType types.

    A creator for SingleType types.

    Definition Classes
    SymbolTableInternalInternalApi
  88. def subpatterns(tree: SymbolTable.Tree): Option[List[SymbolTable.Tree]]

    Retrieves the untyped list of subpatterns attached to selector dummy of an UnApply node.

    Retrieves the untyped list of subpatterns attached to selector dummy of an UnApply node. Useful in writing quasiquoting macros that do pattern matching.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  89. def substituteSymbols(tree: SymbolTable.Tree, from: List[SymbolTable.Symbol], to: List[SymbolTable.Symbol]): SymbolTable.Tree

    Substitute symbols in to for corresponding occurrences of references to symbols from in this type.

    Substitute symbols in to for corresponding occurrences of references to symbols from in this type.

    Definition Classes
    SymbolTableInternalInternalApi
  90. def substituteThis(tree: SymbolTable.Tree, clazz: SymbolTable.Symbol, to: ⇒ SymbolTable.Tree): SymbolTable.Tree

    Substitute given tree to for occurrences of nodes that represent C.this, where C refers to the given class clazz.

    Substitute given tree to for occurrences of nodes that represent C.this, where C refers to the given class clazz.

    Definition Classes
    SymbolTableInternalInternalApi
  91. def substituteTypes(tree: SymbolTable.Tree, from: List[SymbolTable.Symbol], to: List[SymbolTable.Type]): SymbolTable.Tree

    Substitute types in to for corresponding occurrences of references to symbols from in this tree.

    Substitute types in to for corresponding occurrences of references to symbols from in this tree.

    Definition Classes
    SymbolTableInternalInternalApi
  92. def superType(thistpe: SymbolTable.Type, supertpe: SymbolTable.Type): SymbolTable.Type

    A creator for SuperType types.

    A creator for SuperType types.

    Definition Classes
    SymbolTableInternalInternalApi
  93. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  94. def thisType(sym: SymbolTable.Symbol): SymbolTable.Type

    A creator for ThisType types.

    A creator for ThisType types.

    Definition Classes
    SymbolTableInternalInternalApi
  95. def toString(): String
    Definition Classes
    AnyRef → Any
  96. def typeBounds(lo: SymbolTable.Type, hi: SymbolTable.Type): SymbolTable.TypeBounds

    A creator for TypeBounds types.

    A creator for TypeBounds types.

    Definition Classes
    SymbolTableInternalInternalApi
  97. def typeDef(sym: SymbolTable.Symbol): SymbolTable.TypeDef

    A factory method for TypeDef nodes.

    A factory method for TypeDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  98. def typeDef(sym: SymbolTable.Symbol, rhs: SymbolTable.Tree): SymbolTable.TypeDef

    A factory method for TypeDef nodes.

    A factory method for TypeDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  99. def typeRef(pre: SymbolTable.Type, sym: SymbolTable.Symbol, args: List[SymbolTable.Type]): SymbolTable.Type

    A creator for TypeRef types.

    A creator for TypeRef types.

    Definition Classes
    SymbolTableInternalInternalApi
  100. def typeTagToManifest[T](mirror: Any, tag: api.Universe.TypeTag[T])(implicit arg0: ClassTag[T]): Manifest[T]

    Convert a scala.reflect.api.TypeTags#TypeTag to a scala.reflect.Manifest.

    Convert a scala.reflect.api.TypeTags#TypeTag to a scala.reflect.Manifest.

    Compiler usually generates these conversions automatically, when a type tag for a type T is in scope, and an implicit of type Manifest[T] is requested, but this method can also be called manually. For example:

    typeTagToManifest(scala.reflect.runtime.currentMirror, implicitly[TypeTag[String]])
    Definition Classes
    InternalApi
  101. def unlink(scope: SymbolTable.Scope, sym: SymbolTable.Symbol): scope.type

    Removes a given symbol to the given scope.

    Removes a given symbol to the given scope.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  102. def updateAttachment[T](symbol: SymbolTable.Symbol, attachment: T)(implicit arg0: ClassTag[T]): symbol.type

    Updates the attachment with the payload slot of T added/updated with the provided value.

    Updates the attachment with the payload slot of T added/updated with the provided value. Replaces an existing payload of the same type, if exists. Returns the symbol itself.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  103. def updateAttachment[T](tree: SymbolTable.Tree, attachment: T)(implicit arg0: ClassTag[T]): tree.type

    Updates the attachment with the payload slot of T added/updated with the provided value.

    Updates the attachment with the payload slot of T added/updated with the provided value. Replaces an existing payload of the same type, if exists. Returns the tree itself.

    Definition Classes
    SymbolTableInternalMacroInternalApi
  104. def valDef(sym: SymbolTable.Symbol): SymbolTable.ValDef

    A factory method for ValDef nodes.

    A factory method for ValDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  105. def valDef(sym: SymbolTable.Symbol, rhs: SymbolTable.Tree): SymbolTable.ValDef

    A factory method for ValDef nodes.

    A factory method for ValDef nodes.

    Definition Classes
    SymbolTableInternalInternalApi
  106. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  107. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  108. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from SymbolTable.InternalApi

Inherited from AnyRef

Inherited from Any

Macros

TagInterop

TypeCreators

Ungrouped