Packages

c

scala.tools.nsc.typechecker.Macros

DefMacroExpander

class DefMacroExpander extends Analyzer.MacroExpander

Expands a term macro used in apply role as M(2)(3) in val x = M(2)(3).

Source
Macros.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefMacroExpander
  2. MacroExpander
  3. AnyRef
  4. 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 DefMacroExpander(typer: Analyzer.Typer, expandee: Global.Tree, mode: Mode, outerPt: Global.Type)

    outerPt

    Expected type that comes from enclosing context (something that's traditionally called pt).

Value Members

  1. def apply(desugared: Global.Tree): Global.Tree
    Definition Classes
    MacroExpander
  2. val expandee: Global.Tree
    Definition Classes
    MacroExpander
  3. lazy val innerPt: Global.Type
  4. def onDelayed(delayed: Global.Tree): Global.Tree
    Definition Classes
    DefMacroExpanderMacroExpander
  5. def onFailure(expanded: Global.Tree): Global.Tree
    Definition Classes
    MacroExpander
  6. def onFallback(fallback: Global.Tree): Global.Tree
    Definition Classes
    DefMacroExpanderMacroExpander
  7. def onSkipped(expanded: Global.Tree): Global.Tree
    Definition Classes
    MacroExpander
  8. def onSuccess(expanded0: Global.Tree): Global.Tree
    Definition Classes
    DefMacroExpanderMacroExpander
  9. def onSuppressed(expandee: Global.Tree): Global.Tree
    Definition Classes
    MacroExpander
  10. val typer: Analyzer.Typer
    Definition Classes
    MacroExpander