scala.reflect.macros.runtime

Context

abstract class Context extends macros.Context with Aliases with Enclosures with Names with Reifiers with FrontEnds with Infrastructure with Typers with Parsers with Evals with ExprUtils with Synthetics with Traces

Source
Context.scala
Linear Supertypes
Traces, util.Traces, Synthetics, ExprUtils, Evals, Parsers, Typers, Infrastructure, FrontEnds, Reifiers, Names, Enclosures, Aliases, macros.Context, macros.Synthetics, macros.ExprUtils, macros.Evals, macros.Parsers, macros.Typers, macros.Infrastructure, macros.FrontEnds, macros.Reifiers, macros.Names, macros.Enclosures, 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. Synthetics
  5. ExprUtils
  6. Evals
  7. Parsers
  8. Typers
  9. Infrastructure
  10. FrontEnds
  11. Reifiers
  12. Names
  13. Enclosures
  14. Aliases
  15. Context
  16. Synthetics
  17. ExprUtils
  18. Evals
  19. Parsers
  20. Typers
  21. Infrastructure
  22. FrontEnds
  23. Reifiers
  24. Names
  25. Enclosures
  26. Aliases
  27. AnyRef
  28. 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 CompilationUnit = tools.nsc.Global.CompilationUnit

    Definition Classes
    Aliases
  2. case class EnclosureException extends Exception with Product with Serializable

    Definition Classes
    Enclosures
  3. type Expr[+T] = tools.nsc.Global.Expr[T]

    Definition Classes
    Aliases
  4. type Modifiers = tools.nsc.Global.Modifiers

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

    Definition Classes
    Aliases
  6. trait PackageSpec[T] extends AnyRef

    Definition Classes
    Synthetics
  7. type Position = internal.util.Position

    Definition Classes
    Aliases
  8. abstract type PrefixType

    Definition Classes
    Context
  9. type Run = tools.nsc.Global.Run

    Definition Classes
    Aliases
  10. type Scope = tools.nsc.Global.Scope

    Definition Classes
    Aliases
  11. type Symbol = tools.nsc.Global.Symbol

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

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

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

    Definition Classes
    Aliases
  15. type TypeName = tools.nsc.Global.TypeName

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

    Definition Classes
    Aliases
  17. type WeakTypeTag[T] = tools.nsc.Global.WeakTypeTag[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 Expr[T](tree: Tree)(implicit arg0: WeakTypeTag[T]): Expr[T]

    Definition Classes
    Aliases
  9. val Expr: tools.nsc.Global.Expr.type

    Definition Classes
    Aliases
  10. def TypeTag[T](tpe: Type): TypeTag[T]

    Definition Classes
    Aliases
  11. val TypeTag: tools.nsc.Global.TypeTag.type

    Definition Classes
    Aliases
  12. def WeakTypeTag[T](tpe: Type): WeakTypeTag[T]

    Definition Classes
    Aliases
  13. val WeakTypeTag: tools.nsc.Global.WeakTypeTag.type

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

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

    Definition Classes
    Any
  16. def classPath: List[URL]

    Definition Classes
    Infrastructure
  17. def clone(): AnyRef

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

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

    Definition Classes
    FrontEnds
  20. val enclosingClass: Tree

    Definition Classes
    Enclosures
  21. def enclosingDef: tools.nsc.Global.DefDef

    Definition Classes
    Enclosures
  22. def enclosingImpl: tools.nsc.Global.ImplDef

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

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

    Definition Classes
    Enclosures
  25. val enclosingMethod: Tree

    Definition Classes
    Enclosures
  26. def enclosingPackage: tools.nsc.Global.PackageDef

    Definition Classes
    Enclosures
  27. val enclosingPosition: Position

    Definition Classes
    Enclosures
  28. val enclosingRun: Run

    Definition Classes
    Enclosures
  29. def enclosingTemplate: tools.nsc.Global.Template

    Definition Classes
    Enclosures
  30. val enclosingUnit: CompilationUnit

    Definition Classes
    Enclosures
  31. 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
  32. 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
  33. 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
  34. 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
  35. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    Evals
  39. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. 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()
  41. def fresh[NameType <: Name](name: NameType): NameType

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

    Definition Classes
    Names
  43. def fresh(): String

    Definition Classes
    Names
  44. def freshName[NameType <: Name](name: NameType): NameType

    Definition Classes
    Names
  45. def freshName(name: String): String

    Definition Classes
    Names
  46. def freshName(): String

    Definition Classes
    Names
  47. lazy val freshNameCreator: FreshNameCreator

    Definition Classes
    Names
  48. final def getClass(): Class[_]

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

    Definition Classes
    Reifiers
  50. def globalSettings: Settings

    Definition Classes
    TracesTraces
  51. def hasErrors: Boolean

    Definition Classes
    FrontEnds
  52. def hasWarnings: Boolean

    Definition Classes
    FrontEnds
  53. def hashCode(): Int

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

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

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

    Definition Classes
    FrontEnds
  57. def introduceTopLevel[T](packagePrototype: T, definitions: tools.nsc.Global.ImplDef*)(implicit arg0: PackageSpec[T]): List[tools.nsc.Global.RefTree]

    Definition Classes
    Synthetics
  58. def introduceTopLevel[T](packagePrototype: T, definition: tools.nsc.Global.ImplDef)(implicit arg0: PackageSpec[T]): tools.nsc.Global.RefTree

    Definition Classes
    Synthetics
  59. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  60. def literal(x: Char): Expr[Char]

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    ExprUtils
  73. val macroApplication: Tree

    Definition Classes
    Enclosures
  74. val macroDebugLite: Boolean

    Definition Classes
    Traces
  75. val macroDebugVerbose: Boolean

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

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

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

    Definition Classes
    Traces
  79. val macroTraceVerbose: SimpleTracer

    Definition Classes
    Traces
  80. val mirror: tools.nsc.Global.Mirror

    Definition Classes
    Context → Context
  81. def mkPackageDef(sym: Symbol, stats: List[Tree]): tools.nsc.Global.PackageDef

    Attributes
    protected
    Definition Classes
    Synthetics
  82. def mkPackageDef(tree: tools.nsc.Global.RefTree, stats: List[Tree]): tools.nsc.Global.PackageDef

    Attributes
    protected
    Definition Classes
    Synthetics
  83. def mkPackageDef(name: TermName, stats: List[Tree]): tools.nsc.Global.PackageDef

    Attributes
    protected
    Definition Classes
    Synthetics
  84. def mkPackageDef(name: String, stats: List[Tree]): tools.nsc.Global.PackageDef

    Attributes
    protected
    Definition Classes
    Synthetics
  85. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Parsers
  91. def reifyEnclosingRuntimeClass: Tree

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

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

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

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

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

    Definition Classes
    Typers
  97. def settings: List[String]

    Definition Classes
    Infrastructure
  98. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  99. def toString(): String

    Definition Classes
    AnyRef → Any
  100. def topLevelDef(name: Name): Tree

    Definition Classes
    Synthetics
  101. def topLevelRef(name: Name): Tree

    Definition Classes
    Synthetics
  102. def typeCheck(tree: Tree, pt: Type = universe.WildcardType, silent: Boolean = false, withImplicitViewsDisabled: Boolean = false, withMacrosDisabled: Boolean = false): Tree

    Definition Classes
    Typers
    See also

    scala.tools.reflect.Toolbox.typeCheck

  103. def typeOf[T](implicit ttag: TypeTag[T]): Type

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

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

    Definition Classes
    Reifiers
  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
    @throws()
  109. def warning(pos: Position, msg: String): Unit

    Definition Classes
    FrontEnds
  110. def weakTypeOf[T](implicit attag: WeakTypeTag[T]): Type

    Definition Classes
    Aliases
  111. def weakTypeTag[T](implicit attag: WeakTypeTag[T]): WeakTypeTag[T]

    Definition Classes
    Aliases
  112. 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 Synthetics

Inherited from ExprUtils

Inherited from Evals

Inherited from Parsers

Inherited from Typers

Inherited from Infrastructure

Inherited from FrontEnds

Inherited from Reifiers

Inherited from Names

Inherited from Enclosures

Inherited from Aliases

Inherited from macros.Context

Inherited from macros.Synthetics

Inherited from macros.ExprUtils

Inherited from macros.Evals

Inherited from macros.Parsers

Inherited from macros.Typers

Inherited from macros.Infrastructure

Inherited from macros.FrontEnds

Inherited from macros.Reifiers

Inherited from macros.Names

Inherited from macros.Enclosures

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]

Ungrouped