|
NAMEParse::Method::Signatures::TypeConstraint - turn parsed TC data into Moose TC objectDESCRIPTIONClass used to turn PPI elements into Moose::Meta::TypeConstraint objects.ATTRIBUTEStcLazy Build.
The Moose::Meta::TypeConstraint object for this type constraint, built when requested. "tc_callback" will be called for each individual component type in turn. tc_callbackType: CodeRef
Default: "find_registered_constraint" Callback used to turn type names into type objects. See "type_constraint_callback" in Parse::Method::Signatures for more details and an example. from_namespaceType: ClassName
If provided, then the default "tc_callback" will search for MooseX::Types in this package. METHODSfind_registered_constraintWill search for an imported MooseX::Types in "from_namespace" (if provided). Failing that it will ask the Moose::Meta::TypeConstraint::Registry for a type with the given name.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. to_stringString representation of the type constraint, approximately as parsed.SEE ALSOParse::Method::Signatures, MooseX::Types, MooseX::Types::Util.AUTHORSFlorian Ragwitz <rafl@debian.org>.Ash Berlin <ash@cpan.org>. LICENSELicensed under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |