scala.reflect.macros.runtime

Context

abstract class Context extends macros.Context with Aliases with CapturedVariables with Infrastructure with Enclosures with Names with Reifiers with FrontEnds with Settings with Typers with Parsers with Exprs with TypeTags with Evals with ExprUtils with Traces

Source
Context.scala
Linear Supertypes
Traces, util.Traces, ExprUtils, Evals, TypeTags, Exprs, Parsers, Typers, Settings, FrontEnds, tools.reflect.FrontEnds, Reifiers, Names, Enclosures, Infrastructure, CapturedVariables, Aliases, macros.Context, macros.ExprUtils, macros.Evals, macros.TypeTags, macros.Exprs, macros.Parsers, macros.Typers, macros.Settings, macros.FrontEnds, api.FrontEnds, macros.Reifiers, macros.Names, macros.Infrastructure, macros.Enclosures, macros.CapturedVariables, macros.Aliases, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Context
  2. Traces
  3. Traces
  4. ExprUtils
  5. Evals
  6. TypeTags
  7. Exprs
  8. Parsers
  9. Typers
  10. Settings
  11. FrontEnds
  12. FrontEnds
  13. Reifiers
  14. Names
  15. Enclosures
  16. Infrastructure
  17. CapturedVariables
  18. Aliases
  19. Context
  20. ExprUtils
  21. Evals
  22. TypeTags
  23. Exprs
  24. Parsers
  25. Typers
  26. Settings
  27. FrontEnds
  28. FrontEnds
  29. Reifiers
  30. Names
  31. Infrastructure
  32. Enclosures
  33. CapturedVariables
  34. Aliases
  35. AnyRef
  36. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Context()

Type Members

  1. type AbsTypeTag[T] = tools.nsc.Global.AbsTypeTag[T]

    Definition Classes
    Aliases
  2. type CompilationUnit = tools.nsc.Global.CompilationUnit

    Definition Classes
    Infrastructure
  3. abstract class CompilationUnitExtractor extends AnyRef

    Definition Classes
    Infrastructure
  4. type Expr[+T] = tools.nsc.Global.Expr[T]

    Definition Classes
    Aliases
  5. trait FrontEnd extends AnyRef

    Definition Classes
    FrontEnds
  6. abstract class FrontEndToReporterProxy extends AbstractReporter

    Definition Classes
    FrontEnds
  7. type Modifiers = tools.nsc.Global.Modifiers

    Definition Classes
    Aliases
  8. type Name = tools.nsc.Global.Name

    Definition Classes
    Aliases
  9. case class ParseError(pos: Context.Position, msg: String) extends java.lang.Throwable with Product with Serializable

    Definition Classes
    Parsers
  10. abstract class ParseErrorExtractor extends AnyRef

    Definition Classes
    Parsers
  11. type Position = internal.util.Position

    Definition Classes
    FrontEndsFrontEnds → FrontEnds
  12. abstract type PrefixType

    Definition Classes
    Context
  13. class ReporterToFrontEndProxy extends FrontEnd

    Definition Classes
    FrontEnds
  14. type Run = tools.nsc.Global.Run

    Definition Classes
    Infrastructure
  15. abstract class RunExtractor extends AnyRef

    Definition Classes
    Infrastructure
  16. type Scope = tools.nsc.Global.Scope

    Definition Classes
    Aliases
  17. class SilentFrontEnd extends FrontEnd

    Definition Classes
    FrontEnds
  18. type Symbol = tools.nsc.Global.Symbol

    Definition Classes
    Aliases
  19. type TermName = tools.nsc.Global.TermName

    Definition Classes
    Aliases
  20. type Tree = tools.nsc.Global.Tree

    Definition Classes
    Aliases
  21. type Type = tools.nsc.Global.Type

    Definition Classes
    Aliases
  22. type TypeError = tools.nsc.Global.TypeError

    Definition Classes
    Typers
  23. abstract class TypeErrorExtractor extends AnyRef

    Definition Classes
    Typers
  24. type TypeName = tools.nsc.Global.TypeName

    Definition Classes
    Aliases
  25. type TypeTag[T] = tools.nsc.Global.TypeTag[T]

    Definition Classes
    Aliases

Abstract Value Members

  1. abstract val callsiteTyper: (analyzer)#Typer

  2. abstract val expandee: Tree

  3. abstract val prefix: Expr[PrefixType]

    Definition Classes
    Context → Context
  4. abstract val universe: Global

    Definition Classes
    Context → Context

Concrete 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 Context to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Context, B)

    Implicit information
    This member is added by an implicit conversion from Context to ArrowAssoc[Context] 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. def AbsTypeTag[T](tpe: Type): AbsTypeTag[T]

    Definition Classes
    TypeTags
  9. val AbsTypeTag: tools.nsc.Global.AbsTypeTag.type

    Definition Classes
    Aliases
  10. object CompilationUnit extends Context.CompilationUnitExtractor

    Definition Classes
    Infrastructure
  11. def Expr[T](tree: Tree)(implicit arg0: AbsTypeTag[T]): Expr[T]

    Definition Classes
    Exprs
  12. val Expr: tools.nsc.Global.Expr.type

    Definition Classes
    Aliases
  13. object ParseError extends Context.ParseErrorExtractor with Serializable

    Definition Classes
    Parsers
  14. object Run extends Context.RunExtractor

    Definition Classes
    Infrastructure
  15. object TypeError extends Context.TypeErrorExtractor

    Definition Classes
    Typers
  16. def TypeTag[T](tpe: Type): TypeTag[T]

    Definition Classes
    TypeTags
  17. val TypeTag: tools.nsc.Global.TypeTag.type

    Definition Classes
    Aliases
  18. def abort(pos: Position, msg: String): Nothing

    Definition Classes
    FrontEnds
  19. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  20. lazy val basisUniverse: Tree

    Definition Classes
    Reifiers
  21. val cache: Map[Any, Any]

    Definition Classes
    Infrastructure
  22. def captureVariable(vble: Symbol): Unit

    Definition Classes
    CapturedVariables
  23. def capturedVariableType(vble: Symbol): Type

    Definition Classes
    CapturedVariables
  24. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. def compilerSettings: List[String]

    Definition Classes
    Settings
  26. val currentMacro: Symbol

    Definition Classes
    Infrastructure
  27. val currentRun: Run

    Definition Classes
    Infrastructure
  28. def echo(pos: Position, msg: String): Unit

    Definition Classes
    FrontEnds
  29. val enclosingClass: Tree

    Definition Classes
    Enclosures
  30. val enclosingImplicits: List[(Type, Tree)]

    Definition Classes
    Enclosures
  31. val enclosingMacros: List[Context]

    Definition Classes
    Enclosures
  32. val enclosingMethod: Tree

    Definition Classes
    Enclosures
  33. val enclosingPosition: Position

    Definition Classes
    Enclosures
  34. val enclosingUnit: CompilationUnit

    Definition Classes
    Enclosures
  35. def ensuring(cond: (Context) ⇒ Boolean, msg: ⇒ Any): Context

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

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

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

    Implicit information
    This member is added by an implicit conversion from Context to Ensuring[Context] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  39. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  40. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  41. def error(pos: Position, msg: String): Unit

    Definition Classes
    FrontEnds
  42. def eval[T](expr: Expr[T]): T

    Definition Classes
    Evals
  43. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  44. val forInteractive: Boolean

    Definition Classes
    Infrastructure
  45. val forJVM: Boolean

    Definition Classes
    Infrastructure
  46. val forMSIL: Boolean

    Definition Classes
    Infrastructure
  47. val forScaladoc: Boolean

    Definition Classes
    Infrastructure
  48. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Context to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  49. def fresh[NameType <: Name](name: NameType): NameType

    Definition Classes
    Names
  50. def fresh(name: String): String

    Definition Classes
    Names
  51. def fresh(): String

    Definition Classes
    Names
  52. lazy val freshNameCreator: FreshNameCreator

    Definition Classes
    Names
  53. def frontEnd: FrontEnd

    Definition Classes
    FrontEnds
  54. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  55. val global: universe.type

    Definition Classes
    Reifiers
  56. val globalCache: Map[Any, Any]

    Definition Classes
    Infrastructure
  57. def globalSettings: tools.nsc.Settings

    Definition Classes
    TracesTraces
  58. def hasErrors: Boolean

    Definition Classes
    FrontEnds
  59. def hasWarnings: Boolean

    Definition Classes
    FrontEnds
  60. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  61. def inferImplicitValue(pt: Type, silent: Boolean = true, withMacrosDisabled: Boolean = false, pos: Position = enclosingPosition): Tree

    Definition Classes
    Typers
  62. def inferImplicitView(tree: Tree, from: Type, to: Type, silent: Boolean = true, withMacrosDisabled: Boolean = false, pos: Position = enclosingPosition): Tree

    Definition Classes
    Typers
  63. def info(pos: Position, msg: String, force: Boolean): Unit

    Definition Classes
    FrontEnds
  64. def interactive(): Unit

    Definition Classes
    FrontEnds
  65. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  66. lazy val libraryClassLoader: ClassLoader

    Definition Classes
    Infrastructure
  67. val libraryClassPath: List[URL]

    Definition Classes
    Infrastructure
  68. def literal(x: Char): Expr[Char]

    Definition Classes
    ExprUtils
  69. def literal(x: String): Expr[String]

    Definition Classes
    ExprUtils
  70. def literal(x: Double): Expr[Double]

    Definition Classes
    ExprUtils
  71. def literal(x: Float): Expr[Float]

    Definition Classes
    ExprUtils
  72. def literal(x: Long): Expr[Long]

    Definition Classes
    ExprUtils
  73. def literal(x: Int): Expr[Int]

    Definition Classes
    ExprUtils
  74. def literal(x: Short): Expr[Short]

    Definition Classes
    ExprUtils
  75. def literal(x: Byte): Expr[Byte]

    Definition Classes
    ExprUtils
  76. def literal(x: Boolean): Expr[Boolean]

    Definition Classes
    ExprUtils
  77. def literalFalse: Expr[Boolean]

    Definition Classes
    ExprUtils
  78. def literalNull: Expr[Null]

    Definition Classes
    ExprUtils
  79. def literalTrue: Expr[Boolean]

    Definition Classes
    ExprUtils
  80. def literalUnit: Expr[Unit]

    Definition Classes
    ExprUtils
  81. val macroApplication: Tree

    Definition Classes
    Enclosures
  82. val macroDebugLite: Boolean

    Definition Classes
    Traces
  83. val macroDebugVerbose: Boolean

    Definition Classes
    Traces
  84. final def macroLogLite(msg: ⇒ Any): Unit

    Definition Classes
    Traces
    Annotations
    @inline()
  85. final def macroLogVerbose(msg: ⇒ Any): Unit

    Definition Classes
    Traces
    Annotations
    @inline()
  86. val macroTraceLite: SimpleTracer

    Definition Classes
    Traces
  87. val macroTraceVerbose: SimpleTracer

    Definition Classes
    Traces
  88. val mirror: MirrorOf[universe.type]

    Definition Classes
    Context → Context
  89. def mkConsoleFrontEnd(minSeverity: Int = 1): FrontEnd

    Definition Classes
    FrontEnds → FrontEnds
  90. def mkSilentFrontEnd(): FrontEnd

    Definition Classes
    FrontEnds
  91. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  92. final def notify(): Unit

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

    Definition Classes
    AnyRef
  94. def openImplicits: List[(Type, Tree)]

    Definition Classes
    Typers
  95. def openMacros: List[Context]

    Definition Classes
    Typers
  96. def parse(code: String): Tree

    Definition Classes
    Parsers
  97. def referenceCapturedVariable(vble: Symbol): Tree

    Definition Classes
    CapturedVariables
  98. def reifyEnclosingRuntimeClass: Tree

    Definition Classes
    Reifiers
  99. def reifyRuntimeClass(tpe: Type, concrete: Boolean = true): Tree

    Definition Classes
    Reifiers
  100. def reifyTree(universe: Tree, mirror: Tree, tree: Tree): Tree

    Definition Classes
    Reifiers
  101. def reifyType(universe: Tree, mirror: Tree, tpe: Type, concrete: Boolean = false): Tree

    Definition Classes
    Reifiers
  102. def resetAllAttrs(tree: Tree): Tree

    Definition Classes
    Typers
  103. def resetLocalAttrs(tree: Tree): Tree

    Definition Classes
    Typers
  104. lazy val runtimeUniverse: Tree

    Definition Classes
    Reifiers
  105. def setCompilerSettings(options: List[String]): Context.this.type

    Definition Classes
    Settings
  106. def setCompilerSettings(options: String): Context.this.type

    Definition Classes
    Settings
  107. def setFrontEnd(frontEnd: FrontEnd): Context.this.type

    Definition Classes
    FrontEnds
  108. def settings: List[String]

    Definition Classes
    Settings
  109. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  110. def toString(): String

    Definition Classes
    AnyRef → Any
  111. def typeCheck(tree: Tree, pt: Type = universe.WildcardType, silent: Boolean = false, withImplicitViewsDisabled: Boolean = false, withMacrosDisabled: Boolean = false): Tree

    Definition Classes
    Typers
  112. def typeOf[T](implicit ttag: TypeTag[T]): Type

    Definition Classes
    Aliases
  113. def typeTag[T](implicit ttag: TypeTag[T]): TypeTag[T]

    Definition Classes
    Aliases
  114. def unreifyTree(tree: Tree): Tree

    Definition Classes
    Reifiers
  115. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  118. def warning(pos: Position, msg: String): Unit

    Definition Classes
    FrontEnds
  119. def withCompilerSettings[T](options: List[String])(op: ⇒ T): T

    Definition Classes
    Settings
  120. def withCompilerSettings[T](options: String)(op: ⇒ T): T

    Definition Classes
    Settings
  121. def withFrontEnd[T](frontEnd: FrontEnd)(op: ⇒ T): T

    Definition Classes
    FrontEnds
  122. def wrapFrontEnd(frontEnd: FrontEnd): Reporter

    Definition Classes
    FrontEnds
  123. def wrapReporter(reporter: Reporter): FrontEnd

    Definition Classes
    FrontEnds
  124. def [B](y: B): (Context, B)

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

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Context to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (context: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Context to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (context: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Context

    Implicit information
    This member is added by an implicit conversion from Context to ArrowAssoc[Context] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (context: ArrowAssoc[Context]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Context

    Implicit information
    This member is added by an implicit conversion from Context to Ensuring[Context] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (context: Ensuring[Context]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Traces

Inherited from util.Traces

Inherited from ExprUtils

Inherited from Evals

Inherited from TypeTags

Inherited from Exprs

Inherited from Parsers

Inherited from Typers

Inherited from Settings

Inherited from FrontEnds

Inherited from tools.reflect.FrontEnds

Inherited from Reifiers

Inherited from Names

Inherited from Enclosures

Inherited from Infrastructure

Inherited from CapturedVariables

Inherited from Aliases

Inherited from macros.Context

Inherited from macros.ExprUtils

Inherited from macros.Evals

Inherited from macros.TypeTags

Inherited from macros.Exprs

Inherited from macros.Parsers

Inherited from macros.Typers

Inherited from macros.Settings

Inherited from macros.FrontEnds

Inherited from api.FrontEnds

Inherited from macros.Reifiers

Inherited from macros.Names

Inherited from macros.Infrastructure

Inherited from macros.Enclosures

Inherited from macros.CapturedVariables

Inherited from macros.Aliases

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Context to StringAdd

Inherited by implicit conversion any2stringfmt from Context to StringFormat

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

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

No Group