You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
Like Class::MOP::Class, each Mite class needs a ->meta method to return a meta object. Unlike Class::MOP::Class, this meta class is immutable. It only supplies information.
The goal is to implement a subset of Class::MOP::Class. Just implement the things that return strings and booleans.
Implement...
is_immutable (always true)
is_mutable (always false)
is_anon_class (always false)
superclasses (die if used as a setter)
subclasses
direct_subclasses
has_method
get_method_list
has_attribute
get_attribute_list
Hard code as much information as possible at compile time.
The text was updated successfully, but these errors were encountered:
This is now kind of implemented. Mite can provide real Moose::Meta::Class objects. This obviously requires Moose, which is loaded on demand when you call $class->meta. This allows Moose to extend Mite classes, etc.
Like Class::MOP::Class, each Mite class needs a
->meta
method to return a meta object. Unlike Class::MOP::Class, this meta class is immutable. It only supplies information.The goal is to implement a subset of Class::MOP::Class. Just implement the things that return strings and booleans.
Implement...
Hard code as much information as possible at compile time.
The text was updated successfully, but these errors were encountered: