/[suikacvs]/markup/html/whatpm/Whatpm/CSS/SelectorsParser.pod
Suika

Contents of /markup/html/whatpm/Whatpm/CSS/SelectorsParser.pod

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Oct 17 09:47:36 2007 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
++ whatpm/Whatpm/ChangeLog	17 Oct 2007 09:47:28 -0000
2007-10-17  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (CSS-all, CSS-clean, clean): New rules.

++ whatpm/Whatpm/CSS/ChangeLog	17 Oct 2007 09:47:00 -0000
2007-10-17  Wakaba  <wakaba@suika.fam.cx>

	* SelectorsParser.pod, Makefile: New files.

1 wakaba 1.1 =head1 NAME
2    
3     Whatpm::CSS::SelectorsParser - A Selectors Parser
4    
5     =head1 SYNOPSIS
6    
7     @@ TBD
8    
9     =head1 DESCRIPTION
10    
11     @@ TBD
12    
13     =head1 CONSTANTS
14    
15     =head2 Simple Selector Types
16    
17     The constants below represent the types of simple selectors (or parts
18     of simple selectors).
19    
20     =over 4
21    
22     =item NAMESPACE_SELECTOR
23    
24     Namespace specification. It represents the namespace part
25     of a universal or type selector.
26    
27     =item LOCAL_NAME_SELECTOR
28    
29     Local name specification. It represents the local name part
30     of a type selector.
31    
32     =item ID_SELECTOR
33    
34     An ID selector.
35    
36     =item CLASS_SELECTOR
37    
38     A class selector.
39    
40     =item PSEUDO_CLASS_SELECTOR
41    
42     A pseudo-class selector.
43    
44     =item PSEUDO_ELEMENT_SELECTOR
45    
46     A pseudo-element specification.
47    
48     =item ATTRIBUTE_SELECTOR
49    
50     An attribute selector.
51    
52     =back
53    
54     The tag C<:selector> can be used to export all of these
55     constants as:
56    
57     use Whatpm::CSS::SelectorsParser qw(:selector);
58    
59     =head2 Combinator Types
60    
61     The constants below represent the types of combinators.
62    
63     =over 4
64    
65     =item DESCENDANT_COMBINATOR
66    
67     A descendant combinator.
68    
69     =item CHILD_COMBINATOR
70    
71     A child combinator.
72    
73     =item ADJACENT_SIBLING_COMBINATOR
74    
75     An adjacent sibling combinator.
76    
77     =item GENERAL_SIBLING_COMBINATOR
78    
79     A general sibling combinator.
80    
81     =back
82    
83     The tag C<:combinator> can be used to export all of these
84     constants as:
85    
86     use Whatpm::CSS::SelectorsParser qw(:combinator);
87    
88     =head2 Match Types
89    
90     The constants below represent the types of matches used
91     in attribute selectors.
92    
93     =over 4
94    
95     =item EXISTS_MATCH
96    
97     Match by the existence of an attribute.
98    
99     =item EQUALS_MATCH
100    
101     Exact match.
102    
103     =item INCLUDES_MATCH
104    
105     Includes match (typically used for class attributes).
106    
107     =item DASH_MATCH
108    
109     Dash match (typically used for language tag attributes).
110    
111     =item PREFIX_MATCH
112    
113     Prefix match.
114    
115     =item SUFFIX_MATCH
116    
117     Suffix match.
118    
119     =item SUBSTRING_MATCH
120    
121     Substring match.
122    
123     =back
124    
125     The tag C<:match> can be used to export all of these
126     constants as:
127    
128     use Whatpm::CSS::SelectorsParser qw(:match);
129    
130     =head1 METHODS
131    
132     @@ TBD
133    
134     =head1 SEE ALSO
135    
136     @@ TBD
137    
138     =head1 AUTHOR
139    
140     Wakaba <w@suika.fam.cx>.
141    
142     =head1 LICENSE
143    
144     Copyright 2007 Wakaba <w@suika.fam.cx>
145    
146     This library is free software; you can redistribute it
147     and/or modify it under the same terms as Perl itself.
148    
149     =cut
150    
151     ## $Date:$

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24