line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# This code can be redistributed and modified under the terms of the GNU Affero |
2
|
|
|
|
|
|
|
# General Public License as published by the Free Software Foundation, either |
3
|
|
|
|
|
|
|
# version 3 of the License, or (at your option) any later version. |
4
|
|
|
|
|
|
|
# See the "COPYING" file for details. |
5
|
|
|
|
|
|
|
package HTML::Blitz::SelectorType; |
6
|
11
|
|
|
11
|
|
76
|
use HTML::Blitz::pragma; |
|
11
|
|
|
|
|
22
|
|
|
11
|
|
|
|
|
73
|
|
7
|
11
|
|
|
11
|
|
4704
|
use Exporter qw(import); |
|
11
|
|
|
|
|
25
|
|
|
11
|
|
|
|
|
640
|
|
8
|
11
|
|
|
|
|
86
|
use HTML::Blitz::Atom our @EXPORT_OK = qw( |
9
|
|
|
|
|
|
|
ST_FALSE |
10
|
|
|
|
|
|
|
ST_TAG_NAME |
11
|
|
|
|
|
|
|
ST_ATTR_HAS |
12
|
|
|
|
|
|
|
ST_ATTR_EQ |
13
|
|
|
|
|
|
|
ST_ATTR_PREFIX |
14
|
|
|
|
|
|
|
ST_ATTR_SUFFIX |
15
|
|
|
|
|
|
|
ST_ATTR_INFIX |
16
|
|
|
|
|
|
|
ST_ATTR_LIST_HAS |
17
|
|
|
|
|
|
|
ST_ATTR_LANG_PREFIX |
18
|
|
|
|
|
|
|
ST_NTH_CHILD |
19
|
|
|
|
|
|
|
ST_NTH_CHILD_OF_TYPE |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
LT_DESCENDANT |
22
|
|
|
|
|
|
|
LT_CHILD |
23
|
|
|
|
|
|
|
LT_SIBLING |
24
|
|
|
|
|
|
|
LT_ADJACENT_SIBLING |
25
|
11
|
|
|
11
|
|
68
|
); |
|
11
|
|
|
|
|
31
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
our $VERSION = '0.07'; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1 |