/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/lib/Types/Standard/ |
H A D | Map.pm | 123 return unless $kparam->has_coercion || $vparam->has_coercion; 126 $kparam->has_coercion 130 $vparam->has_coercion 135 if ( ( !$kparam->has_coercion or $kparam->coercion->can_be_inlined ) 136 and ( !$vparam->has_coercion or $vparam->coercion->can_be_inlined ) 157 $kparam->has_coercion ? $kparam->coercion->inline_coercion( '$_' ) : '$_', 158 $vparam->has_coercion 178 $new{ $kparam->has_coercion ? $kparam->coerce( $k ) : $k } = 179 $vparam->has_coercion
|
H A D | Dict.pm | 248 $all_inlinable = 0 if $tc->has_coercion && !$tc->coercion->can_be_inlined; 249 $child_coercions_exist++ if $tc->has_coercion; 254 && $slurpy->has_coercion 257 $child_coercions_exist++ if $slurpy && $slurpy->has_coercion; 279 if ( $slurpy->has_coercion ) { 309 my $ct_coerce = $ct->has_coercion; 351 elsif ( $slurpy->has_coercion ) { 369 my $x = $ct->has_coercion ? $ct->coerce( $value->{$k} ) : $value->{$k};
|
H A D | Tuple.pm | 238 $all_inlinable = 0 if $tc->has_coercion && !$tc->coercion->can_be_inlined; 239 $child_coercions_exist++ if $tc->has_coercion; 262 my $ct_coerce = $ct->has_coercion; 288 $slurpy->has_coercion 325 my $x = $ct->has_coercion ? $ct->coerce( $value->[$i] ) : $value->[$i]; 338 $tmp = $slurpy->coerce( $tmp ) if $slurpy->has_coercion;
|
H A D | CycleTuple.pm | 147 $all_inlinable = 0 if $tc->has_coercion && !$tc->coercion->can_be_inlined; 148 $child_coercions_exist++ if $tc->has_coercion; 170 my $ct_coerce = $ct->has_coercion; 205 my $x = $ct->has_coercion ? $ct->coerce( $value->[$i] ) : $value->[$i];
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/20-unit/Types-Standard/ |
H A D | deep-coercions.t | 33 ! Dict->of(x => Int)->has_coercion, 38 Dict->of(x => Int->plus_coercions(Any, 1))->has_coercion, 43 ! Tuple->of(Int)->has_coercion, 48 Tuple->of(Int->plus_coercions(Any, 1))->has_coercion, 53 ! Map->of(Str, Int)->has_coercion, 58 Map->of(Str, Int->plus_coercions(Any, 1))->has_coercion, 68 ok($ArrayOfFoo->has_coercion, '$ArrayOfFoo has coercion'); 93 ok($HashOfFoo->has_coercion, '$HashOfFoo has coercion'); 117 ok($RefOfFoo->has_coercion, '$RefOfFoo has coercion'); 204 ok($HashOfBar->has_coercion, '$HashOfBar has coercion'); [all …]
|
H A D | optlist.t | 52 ok(!$O->has_coercion, "not $O has coercion"); 53 ok($OM->has_coercion, "$OM has coercion");
|
/dports/devel/p5-Moose/Moose-2.2201/lib/Moose/Meta/Method/Accessor/Native/ |
H A D | Collection.pm | 29 return $member_tc && $member_tc->has_coercion; 80 return 0 if $attr->should_coerce && $tc->has_coercion; 151 ) if $member_tc->has_coercion;
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/lib/Type/ |
H A D | Library.pm | 204 $type->has_coercion && $type->coercion->frozen 330 if $meta->has_coercion( $name ); 338 $type->has_coercion && $type->coercion->frozen 374 if $meta->has_coercion( $name ); 394 sub has_coercion { subroutine 415 $type->has_coercion && $type->coercion->frozen
|
H A D | Params.pm | 192 if ( $constraint->has_coercion and $constraint->coercion->can_be_inlined ) { 199 elsif ( $constraint->has_coercion ) { 277 if ( $param->has_coercion ) { 401 if ( $constraint->has_coercion and $constraint->coercion->can_be_inlined ) { 409 elsif ( $constraint->has_coercion ) { 634 if ( $constraint->has_coercion ) {
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/30-integration/Type-Tie/ |
H A D | type-nano.t | 74 sub has_coercion { exists shift->{coercion} } 88 ok $RoundedTT->has_coercion, 'Type::Nano::PlusCoerce->has_coercion';
|
/dports/devel/p5-List-Objects-Types/List-Objects-Types-2.001001/lib/List/Objects/ |
H A D | Types.pm | 46 if ($param->has_coercion) { 71 if ($param->has_coercion) { 132 if ($param->has_coercion) { 167 if ($param->has_coercion) {
|
/dports/devel/p5-Moose/Moose-2.2201/lib/Moose/Meta/TypeConstraint/ |
H A D | Union.pm | 47 if ( grep { $_->has_coercion } @{ $self->type_constraints } ) { 56 sub has_coercion { subroutine 184 && $self->has_coercion ) {
|
/dports/devel/p5-Geo-JSON/Geo-JSON-0.007/t/ |
H A D | types.t | 15 ok Geometry->has_coercion, "Geometry has coercion"; 35 ok Feature->has_coercion, "Feature has coercion"; 54 ok Features->has_coercion, "Features has coercion";
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/lib/Type/Coercion/ |
H A D | FromMoose.pm | 29 if $moose && $moose->has_coercion; 58 return $moose->coercion if $moose && $moose->has_coercion;
|
H A D | Union.pm | 46 next unless $tc->has_coercion; 77 next unless $tc->has_coercion;
|
/dports/devel/p5-MooseX-Types/MooseX-Types-0.50/t/ |
H A D | 21_coerce_parameterized_types.t | 42 ::ok( $parameterized->has_coercion, 'coercion applied to parameterized type' ); 46 ::ok( $subtype->has_coercion, 'coercion applied to subtype' );
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/lib/Types/ |
H A D | TypeTiny.pm | 105 sub has_coercion { subroutine 112 return unless $self->has_coercion( @_ ); 236 return unless $param->has_coercion; 317 return unless $param->has_coercion; 514 } if $t->has_coercion; 662 && $t->has_coercion 691 && $t->has_coercion
|
/dports/devel/p5-Mouse/Mouse-v2.5.10/lib/Mouse/Meta/ |
H A D | TypeConstraint.pm | 72 if($type->has_coercion){ 91 sub has_coercion; 161 if($type->has_coercion){
|
/dports/devel/p5-Moose/Moose-2.2201/lib/Moose/Meta/ |
H A D | TypeCoercion.pm | 82 my %has_coercion = @$coercion_map; 87 if ( exists $has_coercion{$constraint_name} ) {
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/20-unit/Type-Coercion/ |
H A D | typetiny-constructor.t | 41 ok $type->has_coercion; 54 ok $type->has_coercion;
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/20-unit/Types-TypeTiny/ |
H A D | meta.t | 67 !$meta->has_coercion('MonkeyNuts'), 68 'has_coercion(MonkeyNuts)',
|
/dports/devel/p5-Return-Type/Return-Type-0.007/lib/Return/ |
H A D | Type.pm | 33 if ($type->has_coercion and $type->coercion->can_be_inlined) 37 elsif ($type->has_coercion)
|
/dports/www/p5-Reaction/Reaction-0.002005/lib/Reaction/UI/ViewPort/Field/Role/ |
H A D | Mutable.pm | 70 $value = $tc->coercion->coerce($value) if ($tc->has_coercion); 104 $value = $tc->coercion->coerce($value) if ($tc->has_coercion);
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/ |
H A D | 02-api.t | 56 has_coercion 88 has_coercion
|
/dports/devel/p5-Moose/Moose-2.2201/lib/Moose/Meta/Method/Accessor/Native/Counter/ |
H A D | Writer.pm | 18 || ($attr->should_coerce && $attr->type_constraint->has_coercion)
|