Metaobject representing a Perl 6 package.
does Metamodel::Namingdoes Metamodel::Documentingdoes Metamodel::Stashingdoes Metamodel::TypePretensedoes Metamodel::MethodDelegation
Metamodel::ClassHOW is the meta class 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 meta-type can implement.
Creates a new
method new_type(: = '<anon>', :, :, :)
Creates a new package, with optional representation, version and auth field.
method compose(, :)
Sets the meta-package as composed.
Returns the composed status of the meta-package.
Metamodel::PackageHOW does role Metamodel::Naming, which provides the following routines:
Returns the name of the meta object, if any.
say 42.^name; # OUTPUT: «Int␤»
method set_name(, )
Sets the new name of the meta object.