Skip to content

Commit

Permalink
Merge commit 'gphat/master'
Browse files Browse the repository at this point in the history
* commit 'gphat/master':
  Remove author, since it doesn't matter.
  Document sig
  • Loading branch information
rafl committed May 24, 2009
2 parents 39bcd59 + e8bd48a commit 84e3355
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions lib/Parse/Method/Signatures/Sig.pm
Expand Up @@ -106,3 +106,47 @@ sub to_string {
__PACKAGE__->meta->make_immutable;

1;

__END__
=head1 NAME
Parse::Method::Signatures::Sig - Method Signature
=head1 DESCRIPTION
Represents the parsed method signature.
=head1 ATTRIBUTES
=head2 invocant
=head2 named_params
A ParamCollection representing the name parameters of this signature.
=head2 positional_params
A ParamCollection representing the positional parameters of this signature.
=head1 METHODS
=head2 has_named_params
Predicate returning true if this signature has named parameters.
=head2 has_positional_params
Predicate returning true if this signature has positional parameters.
=head2 named_param
Returns the Param with the specified name.
=head2 to_string
Returns a string representation of this signature.
=head1 LICENSE
Licensed under the same terms as Perl itself.

0 comments on commit 84e3355

Please sign in to comment.