ClassDefModule
trait ClassDefModule
Methods of the module object val ClassDef
- Source:
- Quotes.scala
Value members
Abstract methods
Create a class definition tree
Create a class definition tree
- Value parameters:
- body
List of members of the class. The members must align with the members of
cls
.- cls
The class symbol. A new class symbol can be created using
Symbol.newClass
.- parents
The parents trees class. The trees must align with the parent types of
cls
. Parents can beTypeTree
s if they don't have term parameter, otherwise the can beTerm
containing theNew
applied to the parameters of the extended class.
- Source:
- Quotes.scala