« blib/lib/Moose/Meta/Method/Accessor/Native/String/replace.pm
↑ Summary
blib/lib/Moose/Meta/Role/Method/Conflicting.pm »
| 1 | package Moose::Meta::Mixin::AttributeCore; | ||
| 2 | 398 | our $VERSION = '2.4001'; | |
| 3 | |||
| 4 | 398 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 398 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 398 | ▶ | use parent 'Class::MOP::Mixin::AttributeCore'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 398 | __PACKAGE__->meta->add_attribute( | |
| 10 | 'isa' => ( | ||
| 11 | reader => '_isa_metadata', | ||
| 12 | Class::MOP::_definition_context(), | ||
| 13 | ) | ||
| 14 | ); | ||
| 15 | |||
| 16 | 398 | __PACKAGE__->meta->add_attribute( | |
| 17 | 'does' => ( | ||
| 18 | reader => '_does_metadata', | ||
| 19 | Class::MOP::_definition_context(), | ||
| 20 | ) | ||
| 21 | ); | ||
| 22 | |||
| 23 | 398 | __PACKAGE__->meta->add_attribute( | |
| 24 | 'is' => ( | ||
| 25 | reader => '_is_metadata', | ||
| 26 | Class::MOP::_definition_context(), | ||
| 27 | ) | ||
| 28 | ); | ||
| 29 | |||
| 30 | 398 | __PACKAGE__->meta->add_attribute( | |
| 31 | 'required' => ( | ||
| 32 | reader => 'is_required', | ||
| 33 | Class::MOP::_definition_context(), | ||
| 34 | ) | ||
| 35 | ); | ||
| 36 | |||
| 37 | 398 | __PACKAGE__->meta->add_attribute( | |
| 38 | 'lazy' => ( | ||
| 39 | reader => 'is_lazy', | ||
| 40 | Class::MOP::_definition_context(), | ||
| 41 | ) | ||
| 42 | ); | ||
| 43 | |||
| 44 | 398 | __PACKAGE__->meta->add_attribute( | |
| 45 | 'lazy_build' => ( | ||
| 46 | reader => 'is_lazy_build', | ||
| 47 | Class::MOP::_definition_context(), | ||
| 48 | ) | ||
| 49 | ); | ||
| 50 | |||
| 51 | 398 | __PACKAGE__->meta->add_attribute( | |
| 52 | 'coerce' => ( | ||
| 53 | reader => 'should_coerce', | ||
| 54 | Class::MOP::_definition_context(), | ||
| 55 | ) | ||
| 56 | ); | ||
| 57 | |||
| 58 | 398 | __PACKAGE__->meta->add_attribute( | |
| 59 | 'weak_ref' => ( | ||
| 60 | reader => 'is_weak_ref', | ||
| 61 | Class::MOP::_definition_context(), | ||
| 62 | ) | ||
| 63 | ); | ||
| 64 | |||
| 65 | 398 | __PACKAGE__->meta->add_attribute( | |
| 66 | 'auto_deref' => ( | ||
| 67 | reader => 'should_auto_deref', | ||
| 68 | Class::MOP::_definition_context(), | ||
| 69 | ) | ||
| 70 | ); | ||
| 71 | |||
| 72 | 398 | __PACKAGE__->meta->add_attribute( | |
| 73 | 'type_constraint' => ( | ||
| 74 | reader => 'type_constraint', | ||
| 75 | predicate => 'has_type_constraint', | ||
| 76 | Class::MOP::_definition_context(), | ||
| 77 | ) | ||
| 78 | ); | ||
| 79 | |||
| 80 | 398 | __PACKAGE__->meta->add_attribute( | |
| 81 | 'trigger' => ( | ||
| 82 | reader => 'trigger', | ||
| 83 | predicate => 'has_trigger', | ||
| 84 | Class::MOP::_definition_context(), | ||
| 85 | ) | ||
| 86 | ); | ||
| 87 | |||
| 88 | 398 | __PACKAGE__->meta->add_attribute( | |
| 89 | 'handles' => ( | ||
| 90 | reader => 'handles', | ||
| 91 | writer => '_set_handles', | ||
| 92 | predicate => 'has_handles', | ||
| 93 | Class::MOP::_definition_context(), | ||
| 94 | ) | ||
| 95 | ); | ||
| 96 | |||
| 97 | 398 | __PACKAGE__->meta->add_attribute( | |
| 98 | 'documentation' => ( | ||
| 99 | reader => 'documentation', | ||
| 100 | predicate => 'has_documentation', | ||
| 101 | Class::MOP::_definition_context(), | ||
| 102 | ) | ||
| 103 | ); | ||
| 104 | |||
| 105 | 398 | 1; | |
| 106 | |||
| 107 | # ABSTRACT: Core attributes shared by attribute metaclasses | ||
| 108 | |||
| 109 | __END__ | ||