Packages

trait Template extends Tree with WithStats with Product

Annotations
@astClass() @leafClass()
Linear Supertypes
WithStats, WithExprs, Tree, java.io.Serializable, Ast, Adt, InternalTree, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Template
  2. WithStats
  3. WithExprs
  4. Tree
  5. Serializable
  6. Ast
  7. Adt
  8. InternalTree
  9. Product
  10. Equals
  11. AnyRef
  12. Any
Implicitly
  1. by ImplicitTree
  2. by ImplicitTree
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def body: Body
    Annotations
    @astField() @replacesFields("4.9.9", Template.BodyCtor)
  2. abstract def children: List[Tree]
    Definition Classes
    Tree
  3. abstract def copy(earlyClause: Option[Block], inits: List[Init], body: Body, derives: List[Type]): Template
  4. abstract def copy(early: List[Stat] = this.early, inits: List[Init] = this.inits, self: Self = this.self, stats: List[Stat] = this.stats, derives: List[Type] = this.derives): Template
  5. abstract def derives: List[Type]
    Annotations
    @astField() @newField("4.4.0")
  6. abstract def earlyClause: Option[Block]
    Annotations
    @astField()
  7. abstract def inits: List[Init]
    Annotations
    @astField()
  8. abstract def origin: Origin
    Definition Classes
    TemplateInternalTree
    Annotations
    @privateField()
  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(early: List[Stat], inits: List[Init], self: Self, stats: List[Stat]): Template
    Annotations
    @deprecated
    Deprecated

    4.4.0

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 Template toany2stringadd[Template] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Template, B)
    Implicit
    This member is added by an implicit conversion from Template toArrowAssoc[Template] 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
    TemplateTree → 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: (Template) => Boolean, msg: => Any): Template
    Implicit
    This member is added by an implicit conversion from Template toEnsuring[Template] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Template) => Boolean): Template
    Implicit
    This member is added by an implicit conversion from Template toEnsuring[Template] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): Template
    Implicit
    This member is added by an implicit conversion from Template toEnsuring[Template] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Template
    Implicit
    This member is added by an implicit conversion from Template toEnsuring[Template] 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
    TemplateTree → Equals → AnyRef → Any
  17. final def exprs: List[Tree]
    Definition Classes
    WithStatsWithExprs
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def hashCode(): Int
    Definition Classes
    TemplateTree → AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def parent: Option[Tree]
    Definition Classes
    InternalTree
  26. def pos: Position
    Definition Classes
    InternalTree
  27. def printSyntaxFor(dialect: Dialect): String
    Definition Classes
    InternalTree
  28. def productElementName(n: Int): String
    Definition Classes
    Product
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. def productIterator: Iterator[Any]
    Definition Classes
    Product
  31. def productPrefix: String
    Definition Classes
    Product
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def text: String
    Definition Classes
    InternalTree
  34. final def toString(): String
    Definition Classes
    TemplateTree → AnyRef → Any
  35. def tokenizeFor(dialect: Dialect): Tokens
    Definition Classes
    InternalTree
  36. def tokens: Tokens
    Definition Classes
    InternalTree
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Shadowed Implicit Value Members

  1. def ancestor(level: Int): Option[Tree]
    Implicit
    This member is added by an implicit conversion from Template toImplicitTree[Template] 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:
    (template: ImplicitTree[Template]).ancestor(level)
    Definition Classes
    ImplicitTree
  2. def ancestor(level: Int): Option[Tree]
    Implicit
    This member is added by an implicit conversion from Template toImplicitTree[Template] 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:
    (template: ImplicitTree[Template]).ancestor(level)
    Definition Classes
    ImplicitTree

Deprecated Value Members

  1. final def early: List[Stat]
    Annotations
    @deprecated @replacedField("4.9.9", scala.meta.internal.trees.Metadata.replacedField.<init>$default$2)
    Deprecated

    4.9.9

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Template toStringFormat[Template] 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.

  3. final def self: Self
    Annotations
    @deprecated @replacedField("4.9.9", 2)
    Deprecated

    4.9.9

  4. final def stats: List[Stat]
    Definition Classes
    TemplateWithStats
    Annotations
    @deprecated @replacedField("4.9.9", 3)
    Deprecated

    4.9.9

  5. final def tokens(dialect: Dialect): Tokens
    Definition Classes
    InternalTree
    Annotations
    @deprecated
    Deprecated

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

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

Inherited from WithExprs

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 ImplicitTree fromTemplate to ImplicitTree[Template]

Inherited by implicit conversion ImplicitTree fromTemplate to ImplicitTree[Template]

Inherited by implicit conversion any2stringadd fromTemplate to any2stringadd[Template]

Inherited by implicit conversion StringFormat fromTemplate to StringFormat[Template]

Inherited by implicit conversion Ensuring fromTemplate to Ensuring[Template]

Inherited by implicit conversion ArrowAssoc fromTemplate to ArrowAssoc[Template]

Ungrouped