trait Trait extends Defn with Member.Type with WithMods with WithTParamClause with WithCtor with WithTemplate with Product
- Annotations
- @astClass() @leafClass()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Trait
- WithTemplate
- WithCtor
- WithTParamClause
- WithMods
- Type
- Member
- Defn
- Stat
- Tree
- Serializable
- 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
- All
Abstract Value Members
-
abstract
def
children: List[Tree]
- Definition Classes
- Tree
- abstract def copy(mods: List[Mod], name: Type.Name, tparamClause: ParamClause, ctor: Primary, templ: Template): Trait
- abstract def copy(mods: List[Mod] = this.mods, name: Type.Name = this.name, tparams: List[Param] = this.tparams, ctor: Primary = this.ctor, templ: Template = this.templ): Trait
- abstract def ctor: Primary
- abstract def mods: List[Mod]
- abstract def name: Type.Name
-
abstract
def
origin: Origin
- Definition Classes
- Trait → InternalTree
- Annotations
- @privateField()
-
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
templ: Template
- Definition Classes
- Trait → WithTemplate
- Annotations
- @astField()
-
abstract
def
tparamClause: ParamClause
- Definition Classes
- Trait → WithTParamClause
- Annotations
- @astField()
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): (Trait, 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( ... ) @native()
- def ensuring(cond: (Trait) ⇒ Boolean, msg: ⇒ Any): Trait
- def ensuring(cond: (Trait) ⇒ Boolean): Trait
- def ensuring(cond: Boolean, msg: ⇒ Any): Trait
- def ensuring(cond: Boolean): Trait
-
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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def hashCode(): Int
-
def
isBlockStat: Boolean
- Implicit
- This member is added by an implicit conversion from Trait to XtensionTreesStat 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 Trait to XtensionTreesStat 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 Trait to XtensionTreesStat 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 Trait to XtensionTreesStat 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 Trait to XtensionTreesStat 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 Trait to XtensionTreesStat 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()
-
def
parent: Option[Tree]
- Definition Classes
- InternalTree
-
def
pos: Position
- Definition Classes
- InternalTree
-
def
printSyntaxFor(dialect: Dialect): String
- Definition Classes
- InternalTree
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def →[B](y: B): (Trait, B)
Shadowed Implicit Value Members
-
def
ancestor(level: Int): Option[Tree]
- Implicit
- This member is added by an implicit conversion from Trait to ImplicitTree[Trait] 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:(trait: ImplicitTree[Trait]).ancestor(level)
- Definition Classes
- ImplicitTree
-
def
ancestor(level: Int): Option[Tree]
- Implicit
- This member is added by an implicit conversion from Trait to ImplicitTree[Trait] 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:(trait: ImplicitTree[Trait]).ancestor(level)
- Definition Classes
- ImplicitTree
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Trait to StringFormat[Trait] 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,formatted
resolves to the new method in String which has reversed parameters.
-
final
def
tokens(dialect: Dialect): Tokens
- Definition Classes
- InternalTree
- Annotations
- @deprecated
- Deprecated
(Since version 4.9.0) dialect is ignored, use parameterless
tokens
method
-
final
def
tparams: List[Param]
- Annotations
- @deprecated @replacedField( "4.6.0" , ... )
- Deprecated
4.6.0