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

package scala.quoted
trait Snippet0 { self: runtime.QuoteUnpickler & scala.quoted.runtime.QuoteMatching &    scala.quoted.Quotes =>
  val QuoteUnpickler = self
  val QuoteMatching = self
  val Quotes = self
  trait Snippet1 { self: Quotes.reflect.type /*Quotes.reflectModule*/ &    Quotes.reflectModule =>
    val reflect = self
    val reflectModule = self
    trait Snippet2 { self: reflectModule.ClassDefMethods =>
      val ClassDefMethods = self
      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

package scala.quoted
trait Snippet0 { self: runtime.QuoteUnpickler & scala.quoted.runtime.QuoteMatching &    scala.quoted.Quotes =>
  val QuoteUnpickler = self
  val QuoteMatching = self
  val Quotes = self
  trait Snippet1 { self: Quotes.reflect.type /*Quotes.reflectModule*/ &    Quotes.reflectModule =>
    val reflect = self
    val reflectModule = self
    trait Snippet2 { self: reflectModule.ClassDefMethods =>
      val ClassDefMethods = self
      type T
      class C { self: T =>
        ???
      }
    }
  }
}
Source:
Quotes.scala