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 Traces

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

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

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

    Definition Classes
    Aliases
  5. type Position = internal.util.Position

    Definition Classes
    Aliases
  6. abstract type PrefixType

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

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

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

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

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

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

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

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

    Definition Classes
    Aliases
  15. 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. val enclosingImplicits: List[(Type, Tree)]

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

    Definition Classes
    Enclosures
  23. val enclosingMethod: Tree

    Definition Classes
    Enclosures
  24. val enclosingPosition: Position

    Definition Classes
    Enclosures
  25. val enclosingRun: Run

    Definition Classes
    Enclosures
  26. val enclosingUnit: CompilationUnit

    Definition Classes
    Enclosures
  27. 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
  28. 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
  29. 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
  30. 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
  31. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    Evals
  35. def finalize(): Unit

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

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

    Definition Classes
    Names
  39. def fresh(): String

    Definition Classes
    Names
  40. lazy val freshNameCreator: FreshNameCreator

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

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

    Definition Classes
    Reifiers
  43. def globalSettings: Settings

    Definition Classes
    TracesTraces
  44. def hasErrors: Boolean

    Definition Classes
    FrontEnds
  45. def hasWarnings: Boolean

    Definition Classes
    FrontEnds
  46. def hashCode(): Int

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    ExprUtils
  64. val macroApplication: Tree

    Definition Classes
    Enclosures
  65. val macroDebugLite: Boolean

    Definition Classes
    Traces
  66. val macroDebugVerbose: Boolean

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

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

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

    Definition Classes
    Traces
  70. val macroTraceVerbose: SimpleTracer

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

    Definition Classes
    Context → Context
  72. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Parsers
  78. def reifyEnclosingRuntimeClass: Tree

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  86. def toString(): String

    Definition Classes
    AnyRef → Any
  87. 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

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

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

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

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

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

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

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

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

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

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