trait Macro extends Defn with Member.Term with WithMods with WithParamClauseGroup with WithParamClauseGroups with WithDeclTpeOpt with WithBody with Product
- Annotations
- @astClass() @leafClass()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Macro
- WithBody
- WithDeclTpeOpt
- WithParamClauseGroups
- WithParamClauseGroup
- WithParamClauses
- WithMods
- Term
- Member
- Defn
- Stat
- Tree
- Serializable
- Ast
- Adt
- InternalTree
- Product
- Equals
- AnyRef
- Any
Implicitly
- by ImplicitTree
- by XtensionTreesStat
- by ImplicitTree
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def body: Term
- abstract def children: List[Tree]
- Definition Classes
- Tree
- abstract def copy(mods: List[Mod], name: Term.Name, paramClauseGroups: List[ParamClauseGroup], decltpe: Option[meta.Type], body: Term): Macro
- abstract def copy(mods: List[Mod] = this.mods, name: Term.Name = this.name, tparams: List[Param] = this.tparams, paramss: List[List[Param]] = this.paramss, decltpe: Option[meta.Type] = this.decltpe, body: Term = this.body): Macro
- abstract def decltpe: Option[meta.Type]
- Definition Classes
- Macro → WithDeclTpeOpt
- Annotations
- @astField()
- abstract def mods: List[Mod]
- abstract def name: Term.Name
- abstract def origin: Origin
- Definition Classes
- Macro → InternalTree
- Annotations
- @privateField()
- abstract def paramClauseGroups: List[ParamClauseGroup]
- Definition Classes
- Macro → WithParamClauseGroups
- Annotations
- @astField() @replacesFields("4.6.0", Member.ParamClauseGroupsCtor) @replacesFields("4.7.3", Member.ParamClauseGroupsCtor)
- abstract def productArity: Int
- Definition Classes
- Product
- abstract def productElement(n: Int): Any
- Definition Classes
- Product
- abstract def productFields: List[String]
- Definition Classes
- InternalTree
- abstract def copy(mods: List[Mod], name: Term.Name, paramClauseGroup: Option[ParamClauseGroup], decltpe: Option[meta.Type], body: Term): Macro
- Annotations
- @deprecated
- Deprecated
4.7.3
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Macro, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def canEqual(that: Any): Boolean
- def checkFields(x: Any): Unit
- Attributes
- protected
- Definition Classes
- InternalTree
- def checkParent(x: Any): Unit
- Attributes
- protected
- Definition Classes
- InternalTree
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (Macro) => Boolean, msg: => Any): Macro
- def ensuring(cond: (Macro) => Boolean): Macro
- def ensuring(cond: Boolean, msg: => Any): Macro
- def ensuring(cond: Boolean): Macro
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(that: Any): Boolean
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): java.lang.Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def hashCode(): Int
- def isBlockStat: Boolean
- Implicit
- This member is added by an implicit conversion from Macro toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
- Definition Classes
- XtensionTreesStat
- def isEarlyStat: Boolean
- Implicit
- This member is added by an implicit conversion from Macro toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
- Definition Classes
- XtensionTreesStat
- def isExistentialStat: Boolean
- Implicit
- This member is added by an implicit conversion from Macro toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
- Definition Classes
- XtensionTreesStat
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isNameAnonymous: Boolean
- Definition Classes
- Member
- def isRefineStat: Boolean
- Implicit
- This member is added by an implicit conversion from Macro toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
- Definition Classes
- XtensionTreesStat
- def isTemplateStat: Boolean
- Implicit
- This member is added by an implicit conversion from Macro toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
- Definition Classes
- XtensionTreesStat
- def isTopLevelStat: Boolean
- Implicit
- This member is added by an implicit conversion from Macro toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
- Definition Classes
- XtensionTreesStat
- 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()
- final def paramClauses: Seq[ParamClause]
- Definition Classes
- WithParamClauseGroup → WithParamClauses
- def parent: Option[Tree]
- Definition Classes
- InternalTree
- def pos: Position
- Definition Classes
- InternalTree
- def printSyntaxFor(dialect: Dialect): String
- Definition Classes
- InternalTree
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text: String
- Definition Classes
- InternalTree
- final def toString(): String
- def tokenizeFor(dialect: Dialect): Tokens
- Definition Classes
- InternalTree
- def tokens: Tokens
- Definition Classes
- InternalTree
- 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()
Shadowed Implicit Value Members
- def ancestor(level: Int): Option[Tree]
- Implicit
- This member is added by an implicit conversion from Macro toImplicitTree[Macro] performed by method ImplicitTree in scala.meta.Tree.
- 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:(macro: ImplicitTree[Macro]).ancestor(level)
- Definition Classes
- ImplicitTree
- def ancestor(level: Int): Option[Tree]
- Implicit
- This member is added by an implicit conversion from Macro toImplicitTree[Macro] performed by method ImplicitTree in scala.meta.Tree.
- 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:(macro: ImplicitTree[Macro]).ancestor(level)
- Definition Classes
- ImplicitTree
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Macro toStringFormat[Macro] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
- final def paramClauseGroup: Option[ParamClauseGroup]
- Definition Classes
- Macro → WithParamClauseGroup
- Annotations
- @deprecated @replacedField("4.7.3", scala.meta.internal.trees.Metadata.replacedField.<init>$default$2)
- Deprecated
4.7.3
- final def paramss: List[List[Param]]
- Annotations
- @deprecated @replacedField("4.6.0", 3)
- Deprecated
4.6.0
- final def tokens(dialect: Dialect): Tokens
- Definition Classes
- InternalTree
- Annotations
- @deprecated
- Deprecated
(Since version 4.9.0) dialect is ignored, use parameterless
tokensmethod
- final def tparams: List[Param]
- Annotations
- @deprecated @replacedField("4.6.0", 2)
- Deprecated
4.6.0
- def →[B](y: B): (Macro, B)
- Implicit
- This member is added by an implicit conversion from Macro toArrowAssoc[Macro] 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.