does Metamodel::Namingdoes Metamodel::Versioningdoes Metamodel::PrivateMethodContainerdoes Metamodel::MethodContainerdoes Metamodel::MultiMethodContainerdoes Metamodel::AttributeContainerdoes Metamodel::RoleContainerdoes Metamodel::MultipleInheritancedoes Metamodel::ArrayTypedoes Metamodel::Concretization
Warning: this class is part of the Rakudo implementation, and is not a part of the language specification.
You can use this to build roles, in the same way that ClassHOW
can be used to build classes:
my = Metamodel::ConcreteRoleHOW.new_type(name => "Bar");.^compose;say .^roles; # OUTPUT: «(Mu)»
The main difference with ClassHOW.new_type
is that you can mix-in roles in this newly created one.
This class is Rakudo specific, and provided only for completeness. Not really intended to be used by the final user.