Packages

trait Def extends Defn with Member.Term with WithMods with WithParamClauseGroup with WithParamClauseGroups with WithDeclTpeOpt with WithBody with Product

Annotations
@astClass() @leafClass()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Def
  2. WithBody
  3. WithDeclTpeOpt
  4. WithParamClauseGroups
  5. WithParamClauseGroup
  6. WithParamClauses
  7. WithMods
  8. Term
  9. Member
  10. Defn
  11. Stat
  12. Tree
  13. Serializable
  14. Ast
  15. Adt
  16. InternalTree
  17. Product
  18. Equals
  19. AnyRef
  20. Any
Implicitly
  1. by XtensionTreesStat
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def body: Term
    Definition Classes
    DefWithBody
    Annotations
    @astField()
  2. abstract def children: List[Tree]
    Definition Classes
    Tree
  3. abstract def copy(mods: List[Mod], name: Term.Name, paramClauseGroups: List[ParamClauseGroup], decltpe: Option[meta.Type], body: Term): Def
  4. 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): Def
  5. abstract def decltpe: Option[meta.Type]
    Definition Classes
    DefWithDeclTpeOpt
    Annotations
    @astField()
  6. abstract def mods: List[Mod]
    Definition Classes
    DefWithMods
    Annotations
    @astField()
  7. abstract def name: Term.Name
    Definition Classes
    DefTermMember
    Annotations
    @astField()
  8. abstract def paramClauseGroups: List[ParamClauseGroup]
    Definition Classes
    DefWithParamClauseGroups
    Annotations
    @astField() @replacesFields("4.6.0", Member.ParamClauseGroupsCtor) @replacesFields("4.7.3", Member.ParamClauseGroupsCtor)
  9. abstract def productArity: Int
    Definition Classes
    Product
  10. abstract def productElement(n: Int): Any
    Definition Classes
    Product
  11. abstract def productFields: List[String]
    Definition Classes
    InternalTree
  12. abstract def copy(mods: List[Mod], name: Term.Name, paramClauseGroup: Option[ParamClauseGroup], decltpe: Option[meta.Type], body: Term): Def
    Annotations
    @deprecated
    Deprecated

    4.7.3

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Def toany2stringadd[Def] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Def, B)
    Implicit
    This member is added by an implicit conversion from Def toArrowAssoc[Def] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. final def canEqual(that: Any): Boolean
    Definition Classes
    DefTree → Equals
  8. def checkFields(x: Any): Unit
    Attributes
    protected
    Definition Classes
    InternalTree
  9. def checkParent(x: Any): Unit
    Attributes
    protected
    Definition Classes
    InternalTree
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def ensuring(cond: (Def) => Boolean, msg: => Any): Def
    Implicit
    This member is added by an implicit conversion from Def toEnsuring[Def] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Def) => Boolean): Def
    Implicit
    This member is added by an implicit conversion from Def toEnsuring[Def] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): Def
    Implicit
    This member is added by an implicit conversion from Def toEnsuring[Def] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Def
    Implicit
    This member is added by an implicit conversion from Def toEnsuring[Def] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def equals(that: Any): Boolean
    Definition Classes
    DefTree → Equals → AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): java.lang.Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def hashCode(): Int
    Definition Classes
    DefTree → AnyRef → Any
  20. def isBlockStat: Boolean
    Implicit
    This member is added by an implicit conversion from Def toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  21. def isEarlyStat: Boolean
    Implicit
    This member is added by an implicit conversion from Def toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  22. def isExistentialStat: Boolean
    Implicit
    This member is added by an implicit conversion from Def toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def isNameAnonymous: Boolean
    Definition Classes
    Member
  25. def isRefineStat: Boolean
    Implicit
    This member is added by an implicit conversion from Def toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  26. def isTemplateStat: Boolean
    Implicit
    This member is added by an implicit conversion from Def toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  27. def isTopLevelStat: Boolean
    Implicit
    This member is added by an implicit conversion from Def toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def paramClauses: Seq[ParamClause]
  32. def parent: Option[Tree]
    Definition Classes
    InternalTree
  33. def pos: Position
    Definition Classes
    InternalTree
  34. def productElementName(n: Int): String
    Definition Classes
    Product
  35. def productElementNames: Iterator[String]
    Definition Classes
    Product
  36. def productIterator: Iterator[Any]
    Definition Classes
    Product
  37. def productPrefix: String
    Definition Classes
    Product
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. final def toString(): String
    Definition Classes
    DefTree → AnyRef → Any
  40. def tokens(implicit dialect: Dialect): Tokens
    Definition Classes
    InternalTree
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Def toStringFormat[Def] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. final def paramClauseGroup: Option[ParamClauseGroup]
    Definition Classes
    DefWithParamClauseGroup
    Annotations
    @deprecated @replacedField("4.7.3", scala.meta.internal.trees.Metadata.replacedField.<init>$default$2)
    Deprecated

    4.7.3

  3. final def paramss: List[List[Param]]
    Annotations
    @deprecated @replacedField("4.6.0", 3)
    Deprecated

    4.6.0

  4. final def tparams: List[Param]
    Annotations
    @deprecated @replacedField("4.6.0", 2)
    Deprecated

    4.6.0

  5. def [B](y: B): (Def, B)
    Implicit
    This member is added by an implicit conversion from Def toArrowAssoc[Def] 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.

Inherited from WithBody

Inherited from WithDeclTpeOpt

Inherited from WithParamClauseGroups

Inherited from WithParamClauseGroup

Inherited from WithParamClauses

Inherited from WithMods

Inherited from Member.Term

Inherited from Member

Inherited from Defn

Inherited from Stat

Inherited from Tree

Inherited from java.io.Serializable

Inherited from Ast

Inherited from Adt

Inherited from InternalTree

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion XtensionTreesStat fromDef to XtensionTreesStat

Inherited by implicit conversion any2stringadd fromDef to any2stringadd[Def]

Inherited by implicit conversion StringFormat fromDef to StringFormat[Def]

Inherited by implicit conversion Ensuring fromDef to Ensuring[Def]

Inherited by implicit conversion ArrowAssoc fromDef to ArrowAssoc[Def]

Ungrouped