In X::Attribute::Package§
See primary documentation in context for method package-kind.
method package-kind(--> Str:D)
Returns the kind of package (package, module) that doesn't support attributes.
In X::Attribute::Undeclared§
See primary documentation in context for method package-kind.
Returns the kind of package the attribute was used in (for example class
, grammar
)
In X::Augment::NoSuchType§
See primary documentation in context for method package-kind.
method package-kind(--> Str:D)
Returns the kind of package (class, grammar) that is being tried to augment
In X::Anon::Augment§
See primary documentation in context for method package-kind.
method package-kind returns Str:D
Returns the kind of package (module, class, grammar, ...) that the code tried to augment.