1MooseX::Declare::SyntaxU:s:eMretChoondtDrMeiocbolusatereXad:t:iPDoeenrc(ll3apDrmoe)c:u:mSeynnttaatxi:o:nMethodDeclaration(3pm)
2
3
4
6 MooseX::Declare::Syntax::MethodDeclaration - Handles method
7 declarations
8
10 version 0.43
11
13 A role for keyword handlers that gives a framework to add or modify
14 methods or things that look like methods.
15
17 prototype_injections
18 An optional structure describing additional things to be added to a
19 methods signature. A popular example is found in the "around" method
20 modifier handler:
21
23 parse
24 Object->parse (Object $ctx);
25
26 Reads a name and a prototype and builds the method meta object then
27 registers it into the current class using MooseX::Method::Signatures
28 and a "custom_method_application", that calls
29 "register_method_declaration".
30
32 • MooseX::Declare::Syntax::KeywordHandling
33
35 register_method_declaration
36 Object->register_method_declaration (Object $metaclass, Str $name, Object $method)
37
38 This method will be called with the target metaclass and the final
39 built method meta object and its name. The value it returns will be
40 the value returned where the method was declared.
41
43 • MooseX::Declare
44
45 • MooseX::Declare::Syntax::NamespaceHandling
46
47 • MooseX::Declare::Syntax::MooseSetup
48
49 • MooseX::Method::Signatures
50
52 Florian Ragwitz <rafl@debian.org>
53
55 This software is copyright (c) 2008 by Florian Ragwitz.
56
57 This is free software; you can redistribute it and/or modify it under
58 the same terms as the Perl 5 programming language system itself.
59
60
61
62perl v5.34.0 Moo2s0e2X1:-:0D7e-c2l2are::Syntax::MethodDeclaration(3pm)