class Metamodel::PackageHOW
  does Metamodel::Naming
  does Metamodel::Documenting
  does Metamodel::Stashing
  does Metamodel::TypePretense
  does Metamodel::MethodDelegation { }

Warning: this class is part of the Rakudo implementation, and is not a part of the language specification.

Metamodel::PackageHOW is the metaclass behind the package keyword.

package P {};
say P.HOW# OUTPUT: «Perl6::Metamodel::PackageHOW.new␤»

Methods§

method archetypes§

method archetypes()

Returns the archetypes for this model, that is, the properties a metatype can implement.

method new§

method new(*%named)

Creates a new PackageHOW.

method new_type§

method new_type(:$name = '<anon>':$repr:$ver:$auth)

Creates a new package, with optional representation, version and auth field.

compose§

method compose($obj:$compiler_services)

Sets the metapackage as composed.

is_composed§

method is_composed($obj)

Returns the composed status of the metapackage.

Typegraph§

Type relations for Metamodel::PackageHOW
raku-type-graph Metamodel::PackageHOW Metamodel::PackageHOW Any Any Metamodel::PackageHOW->Any Metamodel::Naming Metamodel::Naming Metamodel::PackageHOW->Metamodel::Naming Metamodel::Documenting Metamodel::Documenting Metamodel::PackageHOW->Metamodel::Documenting Metamodel::Stashing Metamodel::Stashing Metamodel::PackageHOW->Metamodel::Stashing Metamodel::TypePretense Metamodel::TypePretense Metamodel::PackageHOW->Metamodel::TypePretense Metamodel::MethodDelegation Metamodel::MethodDelegation Metamodel::PackageHOW->Metamodel::MethodDelegation Mu Mu Any->Mu

Expand chart above