Documentation for method package-kind

Documentation for method package-kind, assembled from the following types:

class X::Anon::Augment

From X::Anon::Augment

(X::Anon::Augment) method package-kind

method package-kind returns Str:D

Returns the kind of package (module, class, grammar, ...) that the code tried to augment.

class X::Attribute::Package

From X::Attribute::Package

(X::Attribute::Package) method package-kind

method package-kind(--> Str:D)

Returns the kind of package (package, module) that doesn't support attributes.

class X::Attribute::Undeclared

From X::Attribute::Undeclared

(X::Attribute::Undeclared) method package-kind

Returns the kind of package the attribute was used in (for example class, grammar)

class X::Augment::NoSuchType

From X::Augment::NoSuchType

(X::Augment::NoSuchType) method package-kind

method package-kind(--> Str:D)

Returns the kind of package (class, grammar) that is being tried to augment