line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package XML::GrammarBase; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
25933
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
40
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
127
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
27
|
use 5.008; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
86
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
XML::GrammarBase - Provide roles and base classes for processors of |
11
|
|
|
|
|
|
|
specialized XML grammars. |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 VERSION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Version 0.2.3 |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
our $VERSION = '0.2.3'; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 SYNOPSIS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
See the ones under the Role packages. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
XML::GrammarBase aims to be a convenient framework for easily providing |
29
|
|
|
|
|
|
|
processors for XML grammars (such as those under the XML::Grammar namespace |
30
|
|
|
|
|
|
|
- L ). |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
It provides roles and base classes for facilitating writing those. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 SEE ALSO |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
L , L . |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 FUNCTIONS |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHOR |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Shlomi Fish, C<< >> |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 BUGS |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, or through |
47
|
|
|
|
|
|
|
the web interface at L. I will be notified, and then you'll |
48
|
|
|
|
|
|
|
automatically be notified of progress on your bug as I make changes. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 SUPPORT |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
perldoc XML::GrammarBase |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
You can also look for information at: |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=over 4 |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
L |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
L |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item * CPAN Ratings |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
L |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * Search CPAN |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
L |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=back |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Copyright 2009 Shlomi Fish. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
This program is distributed under the MIT (X11) License: |
90
|
|
|
|
|
|
|
L |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person |
93
|
|
|
|
|
|
|
obtaining a copy of this software and associated documentation |
94
|
|
|
|
|
|
|
files (the "Software"), to deal in the Software without |
95
|
|
|
|
|
|
|
restriction, including without limitation the rights to use, |
96
|
|
|
|
|
|
|
copy, modify, merge, publish, distribute, sublicense, and/or sell |
97
|
|
|
|
|
|
|
copies of the Software, and to permit persons to whom the |
98
|
|
|
|
|
|
|
Software is furnished to do so, subject to the following |
99
|
|
|
|
|
|
|
conditions: |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be |
102
|
|
|
|
|
|
|
included in all copies or substantial portions of the Software. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
105
|
|
|
|
|
|
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
106
|
|
|
|
|
|
|
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
107
|
|
|
|
|
|
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
108
|
|
|
|
|
|
|
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
109
|
|
|
|
|
|
|
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
110
|
|
|
|
|
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
111
|
|
|
|
|
|
|
OTHER DEALINGS IN THE SOFTWARE. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=cut |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
1; # End of XML::GrammarBase |