ClassDefMethods

Extension methods of ClassDef

Source:
Quotes.scala
class Object
trait Matchable
class Any

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. The first parent is always a class.

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

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