1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <title>lxml.cssselect.TokenStream</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
33 <!-- Project homepage -->
34 <th class="navbar" align="right" width="100%">
35 <table border="0" cellpadding="0" cellspacing="0">
36 <tr><th class="navbar" align="center"
37 ><a class="navbar" target="_top" href="/">lxml API</a></th>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.cssselect-module.html">Module cssselect</a> ::
47 Class TokenStream
51 <table cellpadding="0" cellspacing="0">
52 <!-- hide/show private -->
53 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
54 onclick="toggle_private();">hide private</a>]</span></td></tr>
55 <tr><td align="right"><span class="options"
56 >[<a href="frames.html" target="_top">frames</a
57 >] | <a href="lxml.cssselect.TokenStream-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class TokenStream</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.cssselect-pysrc.html#TokenStream">source code</a></span></p>
65 <pre class="base-tree">
68 <strong class="uidshort">TokenStream</strong>
72 <!-- ==================== INSTANCE METHODS ==================== -->
73 <a name="section-InstanceMethods"></a>
74 <table class="summary" border="1" cellpadding="3"
75 cellspacing="0" width="100%" bgcolor="white">
76 <tr bgcolor="#70b0f0" class="table-header">
77 <td colspan="2" class="table-header">
78 <table border="0" cellpadding="0" cellspacing="0" width="100%">
80 <td align="left"><span class="table-header">Instance Methods</span></td>
81 <td align="right" valign="top"
82 ><span class="options">[<a href="#section-InstanceMethods"
83 class="privatelink" onclick="toggle_private();"
84 >hide private</a>]</span></td>
90 <td width="15%" align="right" valign="top" class="summary">
91 <span class="summary-type"> </span>
92 </td><td class="summary">
93 <table width="100%" cellpadding="0" cellspacing="0" border="0">
95 <td><span class="summary-sig"><a href="lxml.cssselect.TokenStream-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
96 <span class="summary-sig-arg">tokens</span>,
97 <span class="summary-sig-arg">source</span>=<span class="summary-sig-default">None</span>)</span><br />
98 x.__init__(...) initializes x; see help(type(x)) for signature</td>
99 <td align="right" valign="top">
100 <span class="codelink"><a href="lxml.cssselect-pysrc.html#TokenStream.__init__">source code</a></span>
109 <td width="15%" align="right" valign="top" class="summary">
110 <span class="summary-type"> </span>
111 </td><td class="summary">
112 <table width="100%" cellpadding="0" cellspacing="0" border="0">
114 <td><span class="summary-sig"><a name="next"></a><span class="summary-sig-name">next</span>(<span class="summary-sig-arg">self</span>)</span></td>
115 <td align="right" valign="top">
116 <span class="codelink"><a href="lxml.cssselect-pysrc.html#TokenStream.next">source code</a></span>
125 <td width="15%" align="right" valign="top" class="summary">
126 <span class="summary-type"> </span>
127 </td><td class="summary">
128 <table width="100%" cellpadding="0" cellspacing="0" border="0">
130 <td><span class="summary-sig"><a name="__iter__"></a><span class="summary-sig-name">__iter__</span>(<span class="summary-sig-arg">self</span>)</span></td>
131 <td align="right" valign="top">
132 <span class="codelink"><a href="lxml.cssselect-pysrc.html#TokenStream.__iter__">source code</a></span>
141 <td width="15%" align="right" valign="top" class="summary">
142 <span class="summary-type"> </span>
143 </td><td class="summary">
144 <table width="100%" cellpadding="0" cellspacing="0" border="0">
146 <td><span class="summary-sig"><a name="peek"></a><span class="summary-sig-name">peek</span>(<span class="summary-sig-arg">self</span>)</span></td>
147 <td align="right" valign="top">
148 <span class="codelink"><a href="lxml.cssselect-pysrc.html#TokenStream.peek">source code</a></span>
157 <td colspan="2" class="summary">
158 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
159 <code>__delattr__</code>,
160 <code>__format__</code>,
161 <code>__getattribute__</code>,
162 <code>__hash__</code>,
163 <code>__new__</code>,
164 <code>__reduce__</code>,
165 <code>__reduce_ex__</code>,
166 <code>__repr__</code>,
167 <code>__setattr__</code>,
168 <code>__sizeof__</code>,
169 <code>__str__</code>,
170 <code>__subclasshook__</code>
175 <!-- ==================== PROPERTIES ==================== -->
176 <a name="section-Properties"></a>
177 <table class="summary" border="1" cellpadding="3"
178 cellspacing="0" width="100%" bgcolor="white">
179 <tr bgcolor="#70b0f0" class="table-header">
180 <td colspan="2" class="table-header">
181 <table border="0" cellpadding="0" cellspacing="0" width="100%">
183 <td align="left"><span class="table-header">Properties</span></td>
184 <td align="right" valign="top"
185 ><span class="options">[<a href="#section-Properties"
186 class="privatelink" onclick="toggle_private();"
187 >hide private</a>]</span></td>
193 <td colspan="2" class="summary">
194 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
195 <code>__class__</code>
200 <!-- ==================== METHOD DETAILS ==================== -->
201 <a name="section-MethodDetails"></a>
202 <table class="details" border="1" cellpadding="3"
203 cellspacing="0" width="100%" bgcolor="white">
204 <tr bgcolor="#70b0f0" class="table-header">
205 <td colspan="2" class="table-header">
206 <table border="0" cellpadding="0" cellspacing="0" width="100%">
208 <td align="left"><span class="table-header">Method Details</span></td>
209 <td align="right" valign="top"
210 ><span class="options">[<a href="#section-MethodDetails"
211 class="privatelink" onclick="toggle_private();"
212 >hide private</a>]</span></td>
218 <a name="__init__"></a>
220 <table class="details" border="1" cellpadding="3"
221 cellspacing="0" width="100%" bgcolor="white">
223 <table width="100%" cellpadding="0" cellspacing="0" border="0">
224 <tr valign="top"><td>
225 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
226 <span class="sig-arg">tokens</span>,
227 <span class="sig-arg">source</span>=<span class="sig-default">None</span>)</span>
228 <br /><em class="fname">(Constructor)</em>
230 </td><td align="right" valign="top"
231 ><span class="codelink"><a href="lxml.cssselect-pysrc.html#TokenStream.__init__">source code</a></span>
235 x.__init__(...) initializes x; see help(type(x)) for signature
239 <dd><em class="note">(inherited documentation)</em></dd>
245 <!-- ==================== NAVIGATION BAR ==================== -->
246 <table class="navbar" border="0" width="100%" cellpadding="0"
247 bgcolor="#a0c0ff" cellspacing="0">
250 <th> <a
251 href="lxml-module.html">Home</a> </th>
254 <th> <a
255 href="module-tree.html">Trees</a> </th>
258 <th> <a
259 href="identifier-index.html">Indices</a> </th>
262 <th> <a
263 href="help.html">Help</a> </th>
265 <!-- Project homepage -->
266 <th class="navbar" align="right" width="100%">
267 <table border="0" cellpadding="0" cellspacing="0">
268 <tr><th class="navbar" align="center"
269 ><a class="navbar" target="_top" href="/">lxml API</a></th>
273 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
275 <td align="left" class="footer">
276 Generated by Epydoc 3.0.1 on Tue Jul 31 10:14:18 2012
278 <td align="right" class="footer">
279 <a target="mainFrame" href="http://epydoc.sourceforge.net"
280 >http://epydoc.sourceforge.net</a>
285 <script type="text/javascript">
287 // Private objects are initially displayed (because if
288 // javascript is turned off then we want them to be
289 // visible); but by default, we want to hide them. So hide
290 // them unless we have a cookie that says to show them.