1 package Moose::Meta::Method::Accessor::Native::Array::accessor;
8 with 'Moose::Meta::Method::Accessor::Native::Array::set' => {
13 _inline_process_arguments
14 _inline_check_arguments
18 'Moose::Meta::Method::Accessor::Native::Array::get' => {
28 sub _generate_method {
32 my $slot_access = $self->_get_value($inv);
36 'my ' . $inv . ' = shift;',
37 $self->_inline_curried_arguments,
38 $self->_inline_check_lazy($inv, '$type_constraint', '$type_coercion', '$type_constraint_obj'),
41 $self->_inline_check_var_is_valid_index('$_[0]'),
42 $self->Moose::Meta::Method::Accessor::Native::Array::get::_inline_return_value($slot_access),
46 $self->_inline_writer_core($inv, $slot_access),
52 sub _minimum_arguments { 1 }
53 sub _maximum_arguments { 2 }