1 package Moose::Meta::Mixin::AttributeCore;
6 use base 'Class::MOP::Mixin::AttributeCore';
8 __PACKAGE__->meta->add_attribute(
10 reader => '_isa_metadata',
11 Class::MOP::_definition_context(),
15 __PACKAGE__->meta->add_attribute(
17 reader => '_does_metadata',
18 Class::MOP::_definition_context(),
22 __PACKAGE__->meta->add_attribute(
24 reader => '_is_metadata',
25 Class::MOP::_definition_context(),
29 __PACKAGE__->meta->add_attribute(
31 reader => 'is_required',
32 Class::MOP::_definition_context(),
36 __PACKAGE__->meta->add_attribute(
38 reader => 'is_lazy', Class::MOP::_definition_context(),
42 __PACKAGE__->meta->add_attribute(
44 reader => 'is_lazy_build',
45 Class::MOP::_definition_context(),
49 __PACKAGE__->meta->add_attribute(
51 reader => 'should_coerce',
52 Class::MOP::_definition_context(),
56 __PACKAGE__->meta->add_attribute(
58 reader => 'is_weak_ref',
59 Class::MOP::_definition_context(),
63 __PACKAGE__->meta->add_attribute(
65 reader => 'should_auto_deref',
66 Class::MOP::_definition_context(),
70 __PACKAGE__->meta->add_attribute(
71 'type_constraint' => (
72 reader => 'type_constraint',
73 predicate => 'has_type_constraint',
74 Class::MOP::_definition_context(),
78 __PACKAGE__->meta->add_attribute(
81 predicate => 'has_trigger',
82 Class::MOP::_definition_context(),
86 __PACKAGE__->meta->add_attribute(
89 writer => '_set_handles',
90 predicate => 'has_handles',
91 Class::MOP::_definition_context(),
95 __PACKAGE__->meta->add_attribute(
97 reader => 'documentation',
98 predicate => 'has_documentation',
99 Class::MOP::_definition_context(),
105 # ABSTRACT: Core attributes shared by attribute metaclasses
113 This class implements the core attributes (aka properties) shared by all Moose
114 attributes. See the L<Moose::Meta::Attribute> documentation for API details.
118 See L<Moose/BUGS> for details on reporting bugs.