ClassDefMethods

Extension methods of ClassDef

Source
Quotes.scala

Extensions

Extensions

extension (self: ClassDef)

Statements within the class

Statements within the class

class C {
   ... // statements
}
Source
Quotes.scala

The primary constructor of this class

The primary constructor of this class

Source
Quotes.scala

List of extended parent classes or traits.

List of extended parent classes or traits. The first parent is always a class.

Source
Quotes.scala

Self-type of the class

Self-type of the class

class C { self: T =>
   ...
}
Source
Quotes.scala