Kent Fredric │‫3﹪🔋

NAME

Search::GIN::Extract::ClassMap::Types - Types for Search::GIN::Extract::ClassMap, mostly for coercing.

VERSION

version 1.000002

TYPES

IsaClassMap

class_type : ::ClassMap::Isa
coerces_from: HashRef

DoesClassMap

class_type: ::ClassMap::Does
coerces from: HashRef

LikeClassMap

class_type: ::ClassMap::Like
coerces from: HashRef

Extractor

Mostly here to identify things that derive from Search::GIN::Extract

subtype: Object
coerces from: ArrayRef[ Str ]

Coerces into a ::Extract::Attributes instance.

coerces from: CodeRef

Coerces into a ::Extract::Callback instance.

CoercedClassMap

This is here to implement a ( somewhat hackish ) semi-deep recursive coercion.

Ensures all keys are of type "Extractor" in order to be a valid HashRef, and coerces to "Extractor"'s where possible.

subtype: HashRef[ Extractor ]
coerces from: HashRef[ coerce Extractor ]

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.