abstract class Context extends blackbox.Context with whitebox.Context with Aliases with Enclosures with Names with Reifiers with FrontEnds with Infrastructure with Typers with Parsers with Evals with ExprUtils with Traces with Internals
- Source
- Context.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Context
- Internals
- TypingTransformers
- Traces
- Traces
- ExprUtils
- Evals
- Parsers
- Typers
- Infrastructure
- FrontEnds
- Reifiers
- Names
- Enclosures
- Aliases
- Context
- Context
- Internals
- ExprUtils
- Evals
- Parsers
- Typers
- Infrastructure
- FrontEnds
- Reifiers
- Names
- Enclosures
- Aliases
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Context()
Type Members
-
implicit
class
RichOpenImplicit extends AnyRef
- Definition Classes
- Aliases
-
trait
ContextInternalApi extends MacroInternalApi
- Definition Classes
- Internals
-
type
Expr[+T] = tools.nsc.Global.Expr[T]
- Definition Classes
- Aliases
-
case class
ImplicitCandidate extends Product with Serializable
- Definition Classes
- Context
-
type
Modifiers = tools.nsc.Global.Modifiers
- Definition Classes
- Aliases
-
type
Name = tools.nsc.Global.Name
- Definition Classes
- Aliases
-
type
Position = internal.util.Position
- Definition Classes
- Aliases
-
abstract
type
PrefixType
- Definition Classes
- Context
-
type
Scope = tools.nsc.Global.Scope
- Definition Classes
- Aliases
-
type
Symbol = tools.nsc.Global.Symbol
- Definition Classes
- Aliases
-
type
TermName = tools.nsc.Global.TermName
- Definition Classes
- Aliases
-
type
Tree = tools.nsc.Global.Tree
- Definition Classes
- Aliases
-
type
Type = tools.nsc.Global.Type
- Definition Classes
- Aliases
-
type
TypeName = tools.nsc.Global.TypeName
- Definition Classes
- Aliases
-
type
TypeTag[T] = tools.nsc.Global.TypeTag[T]
- Definition Classes
- Aliases
-
type
TypecheckException = macros.TypecheckException
- Definition Classes
- Typers
-
type
TypecheckMode = Mode
- Definition Classes
- Typers
-
type
WeakTypeTag[T] = tools.nsc.Global.WeakTypeTag[T]
- Definition Classes
- Aliases
-
abstract
class
ThicketTransformer extends TypingTransformer
A base class for typing transformers that need to perform "thicket expansion".
A base class for typing transformers that need to perform "thicket expansion". A thicket is the output of a transformation that is flattened into the enclosing block.
- Definition Classes
- TypingTransformers
-
abstract
class
TypingTransformer extends Global.Transformer
- Definition Classes
- TypingTransformers
-
type
CompilationUnit = tools.nsc.Global.CompilationUnit
- Definition Classes
- Aliases
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information
-
case class
EnclosureException extends Exception with Product with Serializable
- Definition Classes
- Enclosures
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information
-
type
Run = tools.nsc.Global.Run
- Definition Classes
- Aliases
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Context, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
Expr[T](tree: Tree)(implicit arg0: WeakTypeTag[T]): Expr[T]
- Definition Classes
- Aliases
-
val
Expr: tools.nsc.Global.Expr.type
- Definition Classes
- Aliases
-
val
PATTERNmode: Mode
- Definition Classes
- Typers
-
val
TERMmode: Mode
- Definition Classes
- Typers
-
val
TYPEmode: Mode
- Definition Classes
- Typers
-
def
TypeTag[T](tpe: Type): TypeTag[T]
- Definition Classes
- Aliases
-
val
TypeTag: tools.nsc.Global.TypeTag.type
- Definition Classes
- Aliases
-
val
TypecheckException: macros.TypecheckException.type
- Definition Classes
- Typers
-
val
TypecheckMode: Mode.type
- Definition Classes
- Typers
-
def
WeakTypeTag[T](tpe: Type): WeakTypeTag[T]
- Definition Classes
- Aliases
-
val
WeakTypeTag: tools.nsc.Global.WeakTypeTag.type
- Definition Classes
- Aliases
-
def
abort(pos: Position, msg: String): Nothing
- Definition Classes
- FrontEnds
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
classPath: List[URL]
- Definition Classes
- Infrastructure
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compilerSettings: List[String]
- Definition Classes
- Infrastructure
-
def
echo(pos: Position, msg: String): Unit
- Definition Classes
- FrontEnds
-
lazy val
enclosingClass: Tree
- Definition Classes
- Enclosures
-
def
enclosingDef: tools.nsc.Global.DefDef
- Definition Classes
- Enclosures
-
def
enclosingImpl: tools.nsc.Global.ImplDef
- Definition Classes
- Enclosures
-
lazy val
enclosingImplicits: List[ImplicitCandidate]
- Definition Classes
- Enclosures
-
val
enclosingMacros: List[Context]
- Definition Classes
- Enclosures
-
lazy val
enclosingMethod: Tree
- Definition Classes
- Enclosures
-
def
enclosingPackage: tools.nsc.Global.PackageDef
- Definition Classes
- Enclosures
-
lazy val
enclosingPosition: Position
- Definition Classes
- Enclosures
-
val
enclosingRun: Run
- Definition Classes
- Enclosures
-
def
enclosingTemplate: tools.nsc.Global.Template
- Definition Classes
- Enclosures
-
val
enclosingUnit: CompilationUnit
- Definition Classes
- Enclosures
- def ensuring(cond: (Context) ⇒ Boolean, msg: ⇒ Any): Context
- def ensuring(cond: (Context) ⇒ Boolean): Context
- def ensuring(cond: Boolean, msg: ⇒ Any): Context
- def ensuring(cond: Boolean): Context
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(pos: Position, msg: String): Unit
- Definition Classes
- FrontEnds
-
def
eval[T](expr: Expr[T]): T
- Definition Classes
- Evals
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
def
fresh[NameType <: Name](name: NameType): NameType
- Definition Classes
- Names
-
def
fresh(name: String): String
- Definition Classes
- Names
-
def
fresh(): String
- Definition Classes
- Names
-
def
freshName[NameType <: Name](name: NameType): NameType
- Definition Classes
- Names
-
def
freshName(name: String): String
- Definition Classes
- Names
-
def
freshName(): String
- Definition Classes
- Names
-
def
freshNameCreator: FreshNameCreator
- Definition Classes
- Names
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
global: universe.type
- Definition Classes
- Reifiers
- def globalSettings: Settings
-
def
hasErrors: Boolean
- Definition Classes
- FrontEnds
-
def
hasWarnings: Boolean
- Definition Classes
- FrontEnds
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
inferImplicitValue(pt: Type, silent: Boolean = true, withMacrosDisabled: Boolean = false, pos: Position = enclosingPosition): Tree
- Definition Classes
- Typers
-
def
inferImplicitView(tree: Tree, from: Type, to: Type, silent: Boolean = true, withMacrosDisabled: Boolean = false, pos: Position = enclosingPosition): Tree
- Definition Classes
- Typers
-
lazy val
internal: ContextInternalApi
- Definition Classes
- Internals
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
literal(x: Char): Expr[Char]
- Definition Classes
- ExprUtils
-
def
literal(x: String): Expr[String]
- Definition Classes
- ExprUtils
-
def
literal(x: Double): Expr[Double]
- Definition Classes
- ExprUtils
-
def
literal(x: Float): Expr[Float]
- Definition Classes
- ExprUtils
-
def
literal(x: Long): Expr[Long]
- Definition Classes
- ExprUtils
-
def
literal(x: Int): Expr[Int]
- Definition Classes
- ExprUtils
-
def
literal(x: Short): Expr[Short]
- Definition Classes
- ExprUtils
-
def
literal(x: Byte): Expr[Byte]
- Definition Classes
- ExprUtils
-
def
literal(x: Boolean): Expr[Boolean]
- Definition Classes
- ExprUtils
-
def
literalFalse: Expr[Boolean]
- Definition Classes
- ExprUtils
-
def
literalNull: Expr[Null]
- Definition Classes
- ExprUtils
-
def
literalTrue: Expr[Boolean]
- Definition Classes
- ExprUtils
-
def
literalUnit: Expr[Unit]
- Definition Classes
- ExprUtils
-
val
macroApplication: Tree
- Definition Classes
- Enclosures
-
val
macroDebugLite: Boolean
- Definition Classes
- Traces
-
val
macroDebugVerbose: Boolean
- Definition Classes
- Traces
-
final
def
macroLogLite(msg: ⇒ Any): Unit
- Definition Classes
- Traces
- Annotations
- @inline()
-
final
def
macroLogVerbose(msg: ⇒ Any): Unit
- Definition Classes
- Traces
- Annotations
- @inline()
-
val
mirror: tools.nsc.Global.Mirror
- Definition Classes
- Context → Context
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newRootLocalTyper(unit: tools.nsc.Global.CompilationUnit): (analyzer)#Typer
- Attributes
- protected
- Definition Classes
- TypingTransformers
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
openImplicits: List[ImplicitCandidate]
- Definition Classes
- Typers
-
def
openMacros: List[Context]
- Definition Classes
- Typers
-
def
parse(code: String): Tree
- Definition Classes
- Parsers
-
def
reifyEnclosingRuntimeClass: Tree
- Definition Classes
- Reifiers
-
def
reifyRuntimeClass(tpe: Type, concrete: Boolean = true): Tree
- Definition Classes
- Reifiers
-
def
reifyTree(universe: Tree, mirror: Tree, tree: Tree): Tree
- Definition Classes
- Reifiers
-
def
reifyType(universe: Tree, mirror: Tree, tpe: Type, concrete: Boolean = false): Tree
- Definition Classes
- Reifiers
-
def
resetLocalAttrs(tree: Tree): Tree
- Definition Classes
- Typers
-
def
settings: List[String]
- Definition Classes
- Infrastructure
-
def
symbolOf[T](implicit arg0: Context.WeakTypeTag[T]): tools.nsc.Global.TypeSymbol
- Definition Classes
- Aliases
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
typeOf[T](implicit ttag: TypeTag[T]): Type
- Definition Classes
- Aliases
-
def
typeTag[T](implicit ttag: TypeTag[T]): TypeTag[T]
- Definition Classes
- Aliases
-
def
typecheck(tree: Tree, mode: TypecheckMode = TERMmode, pt: Type = universe.WildcardType, silent: Boolean = false, withImplicitViewsDisabled: Boolean = false, withMacrosDisabled: Boolean = false): Tree
- Definition Classes
- Typers
- See also
-
def
unreifyTree(tree: Tree): Tree
- Definition Classes
- Reifiers
-
def
untypecheck(tree: Tree): Tree
- Definition Classes
- Typers
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
warning(pos: Position, msg: String): Unit
- Definition Classes
- FrontEnds
-
def
weakTypeOf[T](implicit attag: WeakTypeTag[T]): Type
- Definition Classes
- Aliases
-
def
weakTypeTag[T](implicit attag: WeakTypeTag[T]): WeakTypeTag[T]
- Definition Classes
- Aliases
- def →[B](y: B): (Context, B)
Deprecated Value Members
-
def
info(pos: Position, msg: String, force: Boolean): Unit
- Definition Classes
- FrontEnds
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.13) Use echo, info messages are always forced
-
def
typeCheck(tree: Context.Tree, pt: Context.Type, silent: Boolean, withImplicitViewsDisabled: Boolean, withMacrosDisabled: Boolean): Context.Tree
- Definition Classes
- Typers
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use
c.typecheck
instead
The Scala compiler and reflection APIs.