Author: jnthn Date: 2009-10-08 23:04:06 +0200 (Thu, 08 Oct 2009) New Revision: 28665
Modified: docs/Perl6/Spec/S06-routines.pod Log: [spec] Add missing invocant and multi_invocant traits from signature introspection interface. Modified: docs/Perl6/Spec/S06-routines.pod =================================================================== --- docs/Perl6/Spec/S06-routines.pod 2009-10-08 20:49:07 UTC (rev 28664) +++ docs/Perl6/Spec/S06-routines.pod 2009-10-08 21:04:06 UTC (rev 28665) @@ -1931,19 +1931,21 @@ return a C<List> of C<Parameter> objects, which have the following readonly properties: - name The name of the lexical variable to bind to, if any - type The main type (the one multi-dispatch sorts by) - constraints Any further type constraints - readonly True if parameter has C<is readonly> trait - rw True if parameter has C<is rw> trait - copy True if parameter has C<is copy> trait - ref True if parameter has C<is ref> trait - named True if the parameter is to be passed named - named_names List of names a named parameter can be passed as - slurpy True if the parameter is slurpy - optional True if the parameter is optional - default A closure returning the default value - signature A nested signature to bind the argument against + name The name of the lexical variable to bind to, if any + type The main type (the one multi-dispatch sorts by) + constraints Any further type constraints + readonly True if the parameter has C<is readonly> trait + rw True if the parameter has C<is rw> trait + copy True if the parameter has C<is copy> trait + ref True if the parameter has C<is ref> trait + named True if the parameter is to be passed named + named_names List of names a named parameter can be passed as + slurpy True if the parameter is slurpy + optional True if the parameter is optional + default A closure returning the default value + invocant True if the parameter is a method invocant + multi_invocant True if the parameter is a multi invocant + signature A nested signature to bind the argument against Note that C<constraints> will be something that can be smart-matched against if it is defined; if there are many constraints it may be a