Packages

c

scala.reflect.macros.compiler

DefaultMacroCompiler

abstract class DefaultMacroCompiler extends Resolvers with Validators with Errors

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultMacroCompiler
  2. Errors
  3. Traces
  4. Validators
  5. Resolvers
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultMacroCompiler()

Type Members

  1. case class MacroImplRefCompiler(untypedMacroImplRef: tools.nsc.Global.Tree, isImplBundle: Boolean) extends Resolver with Validator with Error with Product with Serializable
  2. trait Error extends AnyRef
    Definition Classes
    Errors
  3. trait Resolver extends AnyRef
    Definition Classes
    Resolvers
  4. trait Validator extends AnyRef
    Definition Classes
    Validators

Abstract Value Members

  1. abstract val global: Global
  2. abstract val macroDdef: tools.nsc.Global.DefDef
  3. abstract val typer: (analyzer)#Typer

Concrete Value Members

  1. def MacroBundleNonStaticError(): Nothing
    Definition Classes
    Errors
  2. def MacroBundleWrongShapeError(): Nothing
    Definition Classes
    Errors
  3. def MacroImplAmbiguousError(): Nothing
    Definition Classes
    Errors
  4. def abort(pos: tools.nsc.Global.Position, msg: String): Nothing
  5. val context: (analyzer)#Context
  6. def globalSettings: Settings
    Definition Classes
    ErrorsTraces
  7. val macroDebugLite: Boolean
    Definition Classes
    Traces
  8. val macroDebugVerbose: Boolean
    Definition Classes
    Traces
  9. lazy val macroDef: tools.nsc.Global.Symbol
  10. final def macroLogLite(msg: ⇒ Any): Unit
    Definition Classes
    Traces
    Annotations
    @inline()
  11. final def macroLogVerbose(msg: ⇒ Any): Unit
    Definition Classes
    Traces
    Annotations
    @inline()
  12. def resolveMacroImpl: tools.nsc.Global.Tree

    Resolves a macro impl reference provided in the right-hand side of the given macro definition.

    Resolves a macro impl reference provided in the right-hand side of the given macro definition.

    Acceptable shapes of the right-hand side: 1) [<static object>].<method name>args> // vanilla macro impl ref 2) [<macro bundle>].<method name>args> // shiny new macro bundle impl ref

    Produces a tree, which represents a reference to a macro implementation if everything goes well, otherwise reports found errors and returns EmptyTree. The resulting tree should have the following format:

    qualifier.method[targs]

    Qualifier here might be omitted (local macro defs), be a static object (vanilla macro defs) or be a dummy instance of a macro bundle (e.g. new MyMacro(???).expand).

  13. val runDefinitions: internal.Definitions.definitions.RunDefinitions