ClassDefMethods
scala.quoted.Quotes.reflectModule.ClassDefMethods
trait ClassDefMethods
Extension methods of ClassDef.
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
Members list
Extensions
Extensions
extension (self: Quotes.this.reflectModule.this.ClassDef)
Statements within the class
Statements within the class
class C {
??? // statements
}
Attributes
- Returns
-
the list of statements within the class body
- Source
- Quotes.scala
The primary constructor of this class.
List of extended parent classes or traits. The first parent is always a class.
List of extended parent classes or traits. The first parent is always a class.
Attributes
- Source
- Quotes.scala
Self-type of the class
Self-type of the class
type T
class C { self: T =>
???
}
Attributes
- Returns
-
the self-type
ValDefif one is declared, orNone - Source
- Quotes.scala
In this article