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