ClassDefMethods

Extension methods of ClassDef

Extension methods of ClassDef

Extensions

Extensions

extension (self: ClassDef)

Statements within the class

Statements within the class

class C {
   ... // statements
}

The primary constructor of this class

The primary constructor of this class

List of extended parent classes or traits.

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

Self-type of the class

Self-type of the class

class C { self: T =>
   ...
}