trait Typers extends Adaptations with Tags with TypersTracking with PatternTypers
This trait provides methods to assign types to trees.
- Self Type
- Analyzer
- Source
- Typers.scala
- Version
1.0
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Typers
- PatternTypers
- TypersTracking
- Tags
- Adaptations
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
trait
Adaptation extends AnyRef
- Definition Classes
- Adaptations
-
trait
PatternTyper extends AnyRef
- Definition Classes
- PatternTypers
-
trait
Tag extends AnyRef
- Definition Classes
- Tags
- sealed abstract class SilentResult[+T] extends AnyRef
- case class SilentResultValue[+T](value: T) extends Analyzer.SilentResult[T] with Product with Serializable
- class SilentTypeError extends Analyzer.SilentResult[Nothing]
- abstract class Typer extends Analyzer.TyperDiagnostics with Analyzer.Adaptation with Analyzer.Tag with Analyzer.PatternTyper with Analyzer.TyperContextErrors
Value Members
-
final
def
finishComputeParamAlias(): Unit
Finish computation of param aliases after typechecking is completed
- final def forArgMode(fun: Global.Tree, mode: Mode): reflect.internal.Mode
- def freshNameCreatorFor(context: Analyzer.Context): FreshNameCreator
-
def
fullSiteString(context: Analyzer.Context): String
- Definition Classes
- TypersTracking
-
val
lastTreeToTyper: Global.Tree
- Definition Classes
- TypersTracking
- def newTyper(context: Analyzer.Context): Analyzer.Typer
-
def
noPrintAdapt(tree1: Global.Tree, tree2: Global.Tree): Boolean
- Definition Classes
- TypersTracking
-
def
noPrintTyping(t: Global.Tree): Boolean
- Definition Classes
- TypersTracking
-
def
printingOk(t: Global.Tree): Boolean
- Definition Classes
- TypersTracking
- def resetDocComments(): Unit
- def resetTyper(): Unit
- final val shortenImports: Boolean(false)
-
def
tpe_s(tp: Global.Type, colorize: (String) ⇒ String): String
- Definition Classes
- TypersTracking
- object SilentTypeError
-
object
checkNoEscaping extends Global.TypeMap
Check that type of given tree does not contain local or private components.
-
object
typingStack
- Definition Classes
- TypersTracking
The Scala compiler and reflection APIs.