Lines Matching refs:_opt

113     my $_opt = sub { $_has->(@_) ? $options->{$_[0]} : q{} };
114 my $_ref = sub { ref $_opt->(@_) || q{} };
117 $class->_mxas_is_rwp($name, $options, $_has, $_opt, $_ref);
118 $class->_mxas_is_lazy($name, $options, $_has, $_opt, $_ref);
121 $class->_mxas_init_arg($name, $options, $_has, $_opt, $_ref);
124 $class->_mxas_builder($name, $options, $_has, $_opt, $_ref);
127 $class->_mxas_isa_instance_of($name, $options, $_has, $_opt, $_ref);
129 $class->_mxas_isa_mooish($name, $options, $_has, $_opt, $_ref);
132 $class->_mxas_constraint($name, $options, $_has, $_opt, $_ref);
134 $class->_mxas_coerce($name, $options, $_has, $_opt, $_ref);
148 my $opt_val = $_opt->($opt);
191 my ($class, $name, $options, $_has, $_opt, $_ref) = @_;
193 return unless $_opt->('is') eq 'rwp';
203 my ($class, $name, $options, $_has, $_opt, $_ref) = @_;
222 my ($class, $name, $options, $_has, $_opt, $_ref) = @_;
224 return unless $_opt->('is') eq 'lazy';
236 my ($class, $name, $options, $_has, $_opt, $_ref) = @_;
238 return unless $_opt->('lazy_build') eq 'private';
249 my ($class, $name, $options, $_has, $_opt, $_ref) = @_;
266 my ($class, $name, $options, $_has, $_opt, $_ref) = @_;
279 my ($class, $name, $options, $_has, $_opt, $_ref) = @_;
287 . $_opt->('definition_context')->{package} . '::' . $name
298 my ($class, $name, $options, $_has, $_opt, $_ref) = @_;
303 my @coercions = @{ $_opt->('coerce') };
315 : $_acquire_isa_tc->($_opt->('isa'))->create_child_type
332 if ($_has->('original_isa') && $_opt->('coerce') eq '1') {
334 my $isa_type = $_acquire_isa_tc->($_opt->('original_isa'));
339 $_opt->('isa')->coercion(Moose::Meta::TypeCoercion->new(
340 type_constraint => $_opt->('isa'),
351 my ($class, $name, $options, $_has, $_opt, $_ref) = @_;
362 push my @opts, constraint => $_opt->('constraint')
366 my $isa = $options->{original_isa} = $_opt->('isa');