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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Oct 17 09:47:36 2007 UTC (17 years ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
++ 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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>Whatpm::CSS::SelectorsParser - A Selectors Parser</title>
5 <link rel="stylesheet" href="http://suika.fam.cx/www/style/html/pod.css" type="text/css" />
6 <link rev="made" href="mailto:admin@suika.fam.cx" />
7 </head>
8
9 <body>
10
11 <p><a name="__index__"></a></p>
12 <!-- INDEX BEGIN -->
13
14 <ul>
15
16 <li><a href="#name">NAME</a></li>
17 <li><a href="#synopsis">SYNOPSIS</a></li>
18 <li><a href="#description">DESCRIPTION</a></li>
19 <li><a href="#constants">CONSTANTS</a></li>
20 <ul>
21
22 <li><a href="#simple_selector_types">Simple Selector Types</a></li>
23 <li><a href="#combinator_types">Combinator Types</a></li>
24 <li><a href="#match_types">Match Types</a></li>
25 </ul>
26
27 <li><a href="#methods">METHODS</a></li>
28 <li><a href="#see_also">SEE ALSO</a></li>
29 <li><a href="#author">AUTHOR</a></li>
30 <li><a href="#license">LICENSE</a></li>
31 </ul>
32 <!-- INDEX END -->
33
34 <hr />
35 <p>
36 </p>
37 <h1><a name="name">NAME</a></h1>
38 <p>Whatpm::CSS::SelectorsParser - A Selectors Parser</p>
39 <p>
40 </p>
41 <hr />
42 <h1><a name="synopsis">SYNOPSIS</a></h1>
43 <p>@@ TBD</p>
44 <p>
45 </p>
46 <hr />
47 <h1><a name="description">DESCRIPTION</a></h1>
48 <p>@@ TBD</p>
49 <p>
50 </p>
51 <hr />
52 <h1><a name="constants">CONSTANTS</a></h1>
53 <p>
54 </p>
55 <h2><a name="simple_selector_types">Simple Selector Types</a></h2>
56 <p>The constants below represent the types of simple selectors (or parts
57 of simple selectors).</p>
58 <dl>
59 <dt><strong><a name="item_namespace_selector">NAMESPACE_SELECTOR</a></strong><br />
60 </dt>
61 <dd>
62 Namespace specification. It represents the namespace part
63 of a universal or type selector.
64 </dd>
65 <p></p>
66 <dt><strong><a name="item_local_name_selector">LOCAL_NAME_SELECTOR</a></strong><br />
67 </dt>
68 <dd>
69 Local name specification. It represents the local name part
70 of a type selector.
71 </dd>
72 <p></p>
73 <dt><strong><a name="item_id_selector">ID_SELECTOR</a></strong><br />
74 </dt>
75 <dd>
76 An ID selector.
77 </dd>
78 <p></p>
79 <dt><strong><a name="item_class_selector">CLASS_SELECTOR</a></strong><br />
80 </dt>
81 <dd>
82 A class selector.
83 </dd>
84 <p></p>
85 <dt><strong><a name="item_pseudo_class_selector">PSEUDO_CLASS_SELECTOR</a></strong><br />
86 </dt>
87 <dd>
88 A pseudo-class selector.
89 </dd>
90 <p></p>
91 <dt><strong><a name="item_pseudo_element_selector">PSEUDO_ELEMENT_SELECTOR</a></strong><br />
92 </dt>
93 <dd>
94 A pseudo-element specification.
95 </dd>
96 <p></p>
97 <dt><strong><a name="item_attribute_selector">ATTRIBUTE_SELECTOR</a></strong><br />
98 </dt>
99 <dd>
100 An attribute selector.
101 </dd>
102 <p></p></dl>
103 <p>The tag <code>:selector</code> can be used to export all of these
104 constants as:</p>
105 <pre>
106 use Whatpm::CSS::SelectorsParser qw(:selector);</pre>
107 <p>
108 </p>
109 <h2><a name="combinator_types">Combinator Types</a></h2>
110 <p>The constants below represent the types of combinators.</p>
111 <dl>
112 <dt><strong><a name="item_descendant_combinator">DESCENDANT_COMBINATOR</a></strong><br />
113 </dt>
114 <dd>
115 A descendant combinator.
116 </dd>
117 <p></p>
118 <dt><strong><a name="item_child_combinator">CHILD_COMBINATOR</a></strong><br />
119 </dt>
120 <dd>
121 A child combinator.
122 </dd>
123 <p></p>
124 <dt><strong><a name="item_adjacent_sibling_combinator">ADJACENT_SIBLING_COMBINATOR</a></strong><br />
125 </dt>
126 <dd>
127 An adjacent sibling combinator.
128 </dd>
129 <p></p>
130 <dt><strong><a name="item_general_sibling_combinator">GENERAL_SIBLING_COMBINATOR</a></strong><br />
131 </dt>
132 <dd>
133 A general sibling combinator.
134 </dd>
135 <p></p></dl>
136 <p>The tag <code>:combinator</code> can be used to export all of these
137 constants as:</p>
138 <pre>
139 use Whatpm::CSS::SelectorsParser qw(:combinator);</pre>
140 <p>
141 </p>
142 <h2><a name="match_types">Match Types</a></h2>
143 <p>The constants below represent the types of matches used
144 in attribute selectors.</p>
145 <dl>
146 <dt><strong><a name="item_exists_match">EXISTS_MATCH</a></strong><br />
147 </dt>
148 <dd>
149 Match by the existence of an attribute.
150 </dd>
151 <p></p>
152 <dt><strong><a name="item_equals_match">EQUALS_MATCH</a></strong><br />
153 </dt>
154 <dd>
155 Exact match.
156 </dd>
157 <p></p>
158 <dt><strong><a name="item_includes_match">INCLUDES_MATCH</a></strong><br />
159 </dt>
160 <dd>
161 Includes match (typically used for class attributes).
162 </dd>
163 <p></p>
164 <dt><strong><a name="item_dash_match">DASH_MATCH</a></strong><br />
165 </dt>
166 <dd>
167 Dash match (typically used for language tag attributes).
168 </dd>
169 <p></p>
170 <dt><strong><a name="item_prefix_match">PREFIX_MATCH</a></strong><br />
171 </dt>
172 <dd>
173 Prefix match.
174 </dd>
175 <p></p>
176 <dt><strong><a name="item_suffix_match">SUFFIX_MATCH</a></strong><br />
177 </dt>
178 <dd>
179 Suffix match.
180 </dd>
181 <p></p>
182 <dt><strong><a name="item_substring_match">SUBSTRING_MATCH</a></strong><br />
183 </dt>
184 <dd>
185 Substring match.
186 </dd>
187 <p></p></dl>
188 <p>The tag <code>:match</code> can be used to export all of these
189 constants as:</p>
190 <pre>
191 use Whatpm::CSS::SelectorsParser qw(:match);</pre>
192 <p>
193 </p>
194 <hr />
195 <h1><a name="methods">METHODS</a></h1>
196 <p>@@ TBD</p>
197 <p>
198 </p>
199 <hr />
200 <h1><a name="see_also">SEE ALSO</a></h1>
201 <p>@@ TBD</p>
202 <p>
203 </p>
204 <hr />
205 <h1><a name="author">AUTHOR</a></h1>
206 <p>Wakaba &lt;<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>&gt;.</p>
207 <p>
208 </p>
209 <hr />
210 <h1><a name="license">LICENSE</a></h1>
211 <p>Copyright 2007 Wakaba &lt;<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>&gt;</p>
212 <p>This library is free software; you can redistribute it
213 and/or modify it under the same terms as Perl itself.</p>
214
215 </body>
216
217 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24