ClassDefMethods

scala.quoted.Quotes.reflectModule.ClassDefMethods

Extension methods of ClassDef

Attributes

Source
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Extensions

Extensions

extension (self: ClassDef)

Statements within the class

Statements within the class

scala class C { ??? // statements }

Attributes

Source
Quotes.scala

The primary constructor of this class

The primary constructor of this class

Attributes

Source
Quotes.scala
def parents: List[Tree]

List of extended parent classes or traits.

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

scala //{ type T //} class C { self: T => ??? }

Attributes

Source
Quotes.scala