1MooseX::Declare::ContexUts:e:rPaCroanmtertiebruitzeMedodo(Ps3ee)rXl::DDoecculmaernet:a:tCioonntext::Parameterized(3)
2
3
4

NAME

6       MooseX::Declare::Context::Parameterized - context for parsing
7       optionally parameterized statements
8

DESCRIPTION

10       This context trait will add optional parameterization functionality to
11       the context.
12

ATTRIBUTES

14   parameter_signature
15       This will be set when the "strip_parameter_signature" method is called
16       and it was able to extract a list of parameterisations.
17

METHODS

19   has_parameter_signature
20       Predicate method for the "parameter_signature" attribute.
21
22   strip_parameter_signature
23         Maybe[Str] Object->strip_parameter_signature()
24
25       This method is intended to parse the main namespace of a namespaced
26       keyword.  It will use Devel::Declare::Context::Simples "strip_word"
27       method and store the result in the "namespace" attribute if true.
28
29   add_parameter
30       Allows storing parameters extracted from "parameter_signature" to be
31       used later on.
32
33   get_parameters
34       Returns all previously added parameters.
35

SEE ALSO

37       ·   MooseX::Declare
38
39       ·   MooseX::Declare::Context
40
42       See MooseX::Declare
43
44
45
46perl v5.12.1                      200M9o-o1s2e-X1:9:Declare::Context::Parameterized(3)
Impressum