Metaobject representing a Perl 6 package.
does Metamodel::Namingdoes Metamodel::Documentingdoes Metamodel::Stashingdoes Metamodel::TypePretensedoes Metamodel::MethodDelegation
Metamodel::ClassHOW is the metaclass behind the
;say P.HOW; # OUTPUT: «Perl6::Metamodel::PackageHOW.new␤»
Warning: This class is part of the Rakudo implementation, not a part of the language itself.
Returns the archetypes for this model, that is, the properties a metatype can implement.
Creates a new
method new_type(: = '<anon>', :, :, :)
Creates a new package, with optional representation, version and auth field.
method compose(, :)
Sets the metapackage as composed.
Returns the composed status of the metapackage.
Metamodel::PackageHOW does role Metamodel::Naming, which provides the following routines:
Returns the name of the metaobject, if any.
say 42.^name; # OUTPUT: «Int␤»
method set_name(, )
Sets the new name of the metaobject.