Trait/Object

scala.meta.Defn

Def

Related Docs: object Def | package Defn

Permalink

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

Annotations
@astClass() @leafClass()
Linear Supertypes
WithBody, WithDeclTpeOpt, WithParamClauseGroups, WithParamClauseGroup, WithParamClauses, WithMods, Member.Term, Member, Defn, Stat, Tree, Serializable, java.io.Serializable, Ast, Adt, InternalTree, Product, Equals, AnyRef, Any
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. Serializable
  15. Ast
  16. Adt
  17. InternalTree
  18. Product
  19. Equals
  20. AnyRef
  21. 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. All

Abstract Value Members

  1. abstract def body: Term

    Permalink
    Definition Classes
    DefWithBody
    Annotations
    @astField()
  2. abstract def children: List[Tree]

    Permalink
    Definition Classes
    Tree
  3. abstract def copy(mods: List[Mod], name: Term.Name, paramClauseGroups: List[ParamClauseGroup], decltpe: Option[meta.Type], body: Term): Def

    Permalink
  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

    Permalink
  5. abstract def decltpe: Option[meta.Type]

    Permalink
    Definition Classes
    DefWithDeclTpeOpt
    Annotations
    @astField()
  6. abstract def mods: List[Mod]

    Permalink
    Definition Classes
    DefWithMods
    Annotations
    @astField()
  7. abstract def name: Term.Name

    Permalink
    Definition Classes
    DefTermMember
    Annotations
    @astField()
  8. abstract def origin: Origin

    Permalink
    Definition Classes
    DefInternalTree
    Annotations
    @privateField()
  9. abstract def paramClauseGroups: List[ParamClauseGroup]

    Permalink
    Definition Classes
    DefWithParamClauseGroups
    Annotations
    @astField() @replacesFields( "4.6.0" , Member.ParamClauseGroupsCtor ) @replacesFields( "4.7.3" , Member.ParamClauseGroupsCtor )
  10. abstract def productArity: Int

    Permalink
    Definition Classes
    Product
  11. abstract def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product
  12. abstract def productFields: List[String]

    Permalink
    Definition Classes
    InternalTree
  13. abstract def copy(mods: List[Mod], name: Term.Name, paramClauseGroup: Option[ParamClauseGroup], decltpe: Option[meta.Type], body: Term): Def

    Permalink
    Annotations
    @deprecated
    Deprecated

    4.7.3

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to any2stringadd[Def] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Def, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to ArrowAssoc[Def] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. final def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    DefTree → Equals
  8. def checkFields(x: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    InternalTree
  9. def checkParent(x: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    InternalTree
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def ensuring(cond: (Def) ⇒ Boolean, msg: ⇒ Any): Def

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to Ensuring[Def] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Def) ⇒ Boolean): Def

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to Ensuring[Def] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): Def

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to Ensuring[Def] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Def

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to Ensuring[Def] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def equals(that: Any): Boolean

    Permalink
    Definition Classes
    DefTree → Equals → AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to StringFormat[Def] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): java.lang.Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def hashCode(): Int

    Permalink
    Definition Classes
    DefTree → AnyRef → Any
  21. def isBlockStat: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to XtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  22. def isEarlyStat: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to XtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  23. def isExistentialStat: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to XtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. final def isNameAnonymous: Boolean

    Permalink
    Definition Classes
    Member
  26. def isRefineStat: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to XtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  27. def isTemplateStat: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to XtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  28. def isTopLevelStat: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to XtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def paramClauses: Seq[ParamClause]

    Permalink
    Definition Classes
    WithParamClauseGroupWithParamClauses
  33. def parent: Option[Tree]

    Permalink
    Definition Classes
    InternalTree
  34. def pos: Position

    Permalink
    Definition Classes
    InternalTree
  35. def printSyntaxFor(dialect: Dialect): String

    Permalink
    Definition Classes
    InternalTree
  36. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  37. def productPrefix: String

    Permalink
    Definition Classes
    Product
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def text: String

    Permalink
    Definition Classes
    InternalTree
  40. final def toString(): String

    Permalink
    Definition Classes
    DefTree → AnyRef → Any
  41. def tokenizeFor(dialect: Dialect): Tokens

    Permalink
    Definition Classes
    InternalTree
  42. def tokens: Tokens

    Permalink
    Definition Classes
    InternalTree
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def [B](y: B): (Def, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Def to ArrowAssoc[Def] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. final def paramClauseGroup: Option[ParamClauseGroup]

    Permalink
    Definition Classes
    DefWithParamClauseGroup
    Annotations
    @deprecated @replacedField( "4.7.3" , ... )
    Deprecated

    4.7.3

  2. final def paramss: List[List[Param]]

    Permalink
    Annotations
    @deprecated @replacedField( "4.6.0" , 3 )
    Deprecated

    4.6.0

  3. final def tokens(dialect: Dialect): Tokens

    Permalink
    Definition Classes
    InternalTree
    Annotations
    @deprecated
    Deprecated

    (Since version 4.9.0) dialect is ignored, use parameterless tokens method

  4. final def tparams: List[Param]

    Permalink
    Annotations
    @deprecated @replacedField( "4.6.0" , 2 )
    Deprecated

    4.6.0

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 Serializable

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 from Def to XtensionTreesStat

Inherited by implicit conversion any2stringadd from Def to any2stringadd[Def]

Inherited by implicit conversion StringFormat from Def to StringFormat[Def]

Inherited by implicit conversion Ensuring from Def to Ensuring[Def]

Inherited by implicit conversion ArrowAssoc from Def to ArrowAssoc[Def]

Ungrouped