abstract class DefaultMacroCompiler extends Resolvers with Validators with Errors
- Alphabetic
- By Inheritance
- DefaultMacroCompiler
- Errors
- Traces
- Validators
- Resolvers
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DefaultMacroCompiler()
Type Members
- case class MacroImplRefCompiler(untypedMacroImplRef: tools.nsc.Global.Tree, isImplBundle: Boolean) extends Resolver with Validator with Error with Product with Serializable
- trait Error extends AnyRef
- Definition Classes
- Errors
- trait Resolver extends AnyRef
- Definition Classes
- Resolvers
- trait Validator extends AnyRef
- Definition Classes
- Validators
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from DefaultMacroCompiler toany2stringadd[DefaultMacroCompiler] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (DefaultMacroCompiler, B)
- Implicit
- This member is added by an implicit conversion from DefaultMacroCompiler toArrowAssoc[DefaultMacroCompiler] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def MacroBundleNonStaticError(): Nothing
- Definition Classes
- Errors
- def MacroBundleWrongShapeError(): Nothing
- Definition Classes
- Errors
- def MacroImplAmbiguousError(): Nothing
- Definition Classes
- Errors
- def abort(pos: tools.nsc.Global.Position, msg: String): Nothing
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val context: (analyzer)#Context
- def ensuring(cond: (DefaultMacroCompiler) => Boolean, msg: => Any): DefaultMacroCompiler
- Implicit
- This member is added by an implicit conversion from DefaultMacroCompiler toEnsuring[DefaultMacroCompiler] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (DefaultMacroCompiler) => Boolean): DefaultMacroCompiler
- Implicit
- This member is added by an implicit conversion from DefaultMacroCompiler toEnsuring[DefaultMacroCompiler] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): DefaultMacroCompiler
- Implicit
- This member is added by an implicit conversion from DefaultMacroCompiler toEnsuring[DefaultMacroCompiler] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): DefaultMacroCompiler
- Implicit
- This member is added by an implicit conversion from DefaultMacroCompiler toEnsuring[DefaultMacroCompiler] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DefaultMacroCompiler toStringFormat[DefaultMacroCompiler] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def globalSettings: Settings
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val macroDebugLite: Boolean
- Definition Classes
- Traces
- val macroDebugVerbose: Boolean
- Definition Classes
- Traces
- lazy val macroDef: tools.nsc.Global.Symbol
- final def macroLogLite(msg: => Any): Unit
- Definition Classes
- Traces
- Annotations
- @inline()
- final def macroLogVerbose(msg: => Any): Unit
- Definition Classes
- Traces
- Annotations
- @inline()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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:
[<static object>].<method name>[ [<type args>] ] // vanilla macro impl ref
[<macro bundle>].<method name>[ [<type 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).
- val runDefinitions: internal.Definitions.definitions.RunDefinitions
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def →[B](y: B): (DefaultMacroCompiler, B)
- Implicit
- This member is added by an implicit conversion from DefaultMacroCompiler toArrowAssoc[DefaultMacroCompiler] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.