1MooseX::Declare::ContexUts:e:rPaCroanmtertiebruMitozeoedsde(PX3e:pr:mlD)eDcolcaurmee:n:tCaotnitoenxt::Parameterized(3pm)
2
3
4
6 MooseX::Declare::Context::Parameterized - context for parsing
7 optionally parameterized statements
8
10 version 0.43
11
13 This context trait will add optional parameterization functionality to
14 the context.
15
17 parameter_signature
18 This will be set when the "strip_parameter_signature" method is called
19 and it was able to extract a list of parameterisations.
20
22 has_parameter_signature
23 Predicate method for the "parameter_signature" attribute.
24
25 add_parameter
26 Allows storing parameters extracted from "parameter_signature" to be
27 used later on.
28
29 get_parameters
30 Returns all previously added parameters.
31
32 strip_parameter_signature
33 Maybe[Str] Object->strip_parameter_signature()
34
35 This method is intended to parse the main namespace of a namespaced
36 keyword. It will use Devel::Declare::Context::Simples "strip_word"
37 method and store the result in the "namespace" attribute if true.
38
40 · MooseX::Declare
41
42 · MooseX::Declare::Context
43
45 Florian Ragwitz <rafl@debian.org>
46
48 This software is copyright (c) 2008 by Florian Ragwitz.
49
50 This is free software; you can redistribute it and/or modify it under
51 the same terms as the Perl 5 programming language system itself.
52
53
54
55perl v5.30.1 2M0o2o0s-e0X1:-:3D0eclare::Context::Parameterized(3pm)