object instantiate extends Global.TypeMap
Map every TypeVar to its constraint.inst field. throw a NoInstance exception if a NoType or WildcardType is encountered.
- Source
- Infer.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- instantiate
- TypeMap
- Function1
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
class
TypeMapTransformer extends reflect.internal.SymbolTable.Transformer
- Definition Classes
- TypeMap
Value Members
-
def
andThen[A](g: (Global.Type) ⇒ A): (Global.Type) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(tp: Global.Type): Global.Type
- Definition Classes
- instantiate → TypeMap → Function1
-
def
compose[A](g: (A) ⇒ Global.Type): (A) ⇒ Global.Type
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
final
def
flipped[T](body: ⇒ T): T
- Definition Classes
- TypeMap
- Annotations
- @inline()
-
def
mapOver(tree: Global.Tree, giveup: () ⇒ Nothing): Global.Tree
- Definition Classes
- TypeMap
-
def
mapOver(tree: Global.Tree): Global.Tree
- Definition Classes
- TypeMap
-
def
mapOver(annot: Global.AnnotationInfo): Global.AnnotationInfo
- Definition Classes
- TypeMap
-
def
mapOver(origSyms: List[Global.Symbol]): List[Global.Symbol]
- Definition Classes
- TypeMap
-
def
mapOver(scope: Global.Scope): Global.Scope
- Definition Classes
- TypeMap
-
def
mapOver(tp: Global.Type): Global.Type
- Definition Classes
- TypeMap
-
def
mapOverAnnotArgs(args: List[Global.Tree]): List[Global.Tree]
- Definition Classes
- TypeMap
-
def
mapOverAnnotations(annots: List[Global.AnnotationInfo]): List[Global.AnnotationInfo]
- Definition Classes
- TypeMap
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
-
def
variance: reflect.internal.Variance
- Definition Classes
- TypeMap
-
def
variance_=(x: reflect.internal.Variance): Unit
- Definition Classes
- TypeMap
-
def
withVariance[T](v: reflect.internal.Variance)(body: ⇒ T): T
- Definition Classes
- TypeMap
The Scala compiler and reflection APIs.