Parse::Method::Signatures::TypeConstraint - turn parsed TC data into Moose TC object
Class used to turn PPI elements into Moose::Meta::TypeConstraint objects.
Callback used to turn type names into type objects. See "type_constraint_callback" in Parse::Method::Signatures for more details and an example.
then the default
tc_callback will search for MooseX::Types in this package.
If all else fails, it will simple return the type as a string, so that Moose's auto-vivification of classnames to type will work.
String representation of the type constraint, approximately as parsed.
Florian Ragwitz <firstname.lastname@example.org>.
Ash Berlin <email@example.com>.
Licensed under the same terms as Perl itself.