~ubuntu-branches/ubuntu/precise/pyparsing/precise-updates

« back to all changes in this revision

Viewing changes to htmldoc/parserFwk.pyparsing.Combine-class.html

  • Committer: Bazaar Package Importer
  • Author(s): Kevin Coyner
  • Date: 2008-02-24 18:14:15 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080224181415-9x0hjya3ca3590z1
Tags: 1.4.11-2
Reinstate release 1.4.10-2 changes, which I inadvertently omitted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="iso-8859-1"?>
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">
5
 
<head>
6
 
  <title>parserFwk.pyparsing.Combine</title>
7
 
  <link rel="stylesheet" href="epydoc.css" type="text/css"></link>
8
 
</head>
9
 
<body bgcolor="white" text="black" link="blue" vlink="#204080"
10
 
      alink="#204080">
11
 
 
12
 
<!-- =========== START OF NAVBAR =========== -->
13
 
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
14
 
  <tr valign="center">
15
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="parserFwk.pyparsing-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
16
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
17
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
18
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
19
 
    <th class="navbar" align="right" width="100%">
20
 
      <table border="0" cellpadding="0" cellspacing="0">
21
 
      <tr><th class="navbar" align="center">
22
 
        <p class="nomargin">
23
 
          pyparsing
24
 
      </p></th></tr></table>
25
 
    </th>
26
 
  </tr>
27
 
</table>
28
 
<table width="100%" cellpadding="0" cellspacing="0">
29
 
  <tr valign="top">
30
 
    <td width="100%">
31
 
      <font size="-1"><b class="breadcrumbs">
32
 
        Package&nbsp;parserFwk ::
33
 
        <a href="parserFwk.pyparsing-module.html">Module&nbsp;pyparsing</a> ::
34
 
        Class&nbsp;Combine
35
 
      </b></font></br>
36
 
    </td>
37
 
    <td><table cellpadding="0" cellspacing="0">
38
 
      <tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a>&nbsp;|&nbsp;<a href="parserFwk.pyparsing.Combine-class.html" target="_top">no&nbsp;frames</a>]</font></td></tr>
39
 
    </table></td>
40
 
</tr></table>
41
 
 
42
 
<!-- =========== START OF CLASS DESCRIPTION =========== -->
43
 
<h2 class="class">Type Combine</h2>
44
 
 
45
 
<pre class="base-tree">
46
 
     <a href="__builtin__.object-class.html"><code>object</code></a> --+            
47
 
              |            
48
 
  <a href="parserFwk.pyparsing.ParserElement-class.html"><code>ParserElement</code></a> --+        
49
 
                  |        
50
 
<a href="parserFwk.pyparsing.ParseElementEnhance-class.html"><code>ParseElementEnhance</code></a> --+    
51
 
                      |    
52
 
         <a href="parserFwk.pyparsing.TokenConverter-class.html"><code>TokenConverter</code></a> --+
53
 
                          |
54
 
                         <b>Combine</b>
55
 
</pre><br />
56
 
 
57
 
<hr/>
58
 
 
59
 
Converter to concatenate all matching tokens to a single string. By 
60
 
default, the matching patterns must also be contiguous in the input 
61
 
string; this can be disabled by specifying 'adjacent=False' in the 
62
 
constructor.
63
 
<hr/>
64
 
 
65
 
 
66
 
<!-- =========== START OF METHOD SUMMARY =========== -->
67
 
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
68
 
<tr bgcolor="#70b0f0" class="summary">
69
 
  <th colspan="2">Method Summary</th></tr>
70
 
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
71
 
  <td><code><a name="__init__"></a><span class="summary-sig"><span class="summary-sig-name">__init__</span>(<span class=summary-sig-arg>self</span>,
72
 
          <span class=summary-sig-arg>expr</span>,
73
 
          <span class=summary-sig-arg>joinString</span>,
74
 
          <span class=summary-sig-arg>adjacent</span>)</span></code>
75
 
</td></tr>
76
 
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
77
 
  <td><code><span class="summary-sig"><a href="parserFwk.pyparsing.Combine-class.html#ignore" class="summary-sig-name"><code>ignore</code></a>(<span class=summary-sig-arg>self</span>,
78
 
          <span class=summary-sig-arg>other</span>)</span></code>
79
 
<br />
80
 
Define expression to be ignored (e.g., comments) while doing pattern 
81
 
matching; may be called repeatedly, to define multiple comment or other 
82
 
ignorable patterns.</td></tr>
83
 
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
84
 
  <td><code><a name="postParse"></a><span class="summary-sig"><span class="summary-sig-name">postParse</span>(<span class=summary-sig-arg>self</span>,
85
 
          <span class=summary-sig-arg>instring</span>,
86
 
          <span class=summary-sig-arg>loc</span>,
87
 
          <span class=summary-sig-arg>tokenlist</span>)</span></code>
88
 
</td></tr>
89
 
  <tr><td colspan="2">
90
 
    <b>Inherited from <a href="parserFwk.pyparsing.ParseElementEnhance-class.html"><code>ParseElementEnhance</code></a>:</b>
91
 
      <a href="parserFwk.pyparsing.ParseElementEnhance-class.html#__str__"><code>__str__</code></a>, 
92
 
      <a href="parserFwk.pyparsing.ParseElementEnhance-class.html#checkRecursion"><code>checkRecursion</code></a>, 
93
 
      <a href="parserFwk.pyparsing.ParseElementEnhance-class.html#leaveWhitespace"><code>leaveWhitespace</code></a>, 
94
 
      <a href="parserFwk.pyparsing.ParseElementEnhance-class.html#parseImpl"><code>parseImpl</code></a>, 
95
 
      <a href="parserFwk.pyparsing.ParseElementEnhance-class.html#streamline"><code>streamline</code></a>, 
96
 
      <a href="parserFwk.pyparsing.ParseElementEnhance-class.html#validate"><code>validate</code></a>
97
 
      <br />
98
 
    <b>Inherited from <a href="parserFwk.pyparsing.ParserElement-class.html"><code>ParserElement</code></a>:</b>
99
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__add__"><code>__add__</code></a>, 
100
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__and__"><code>__and__</code></a>, 
101
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__call__"><code>__call__</code></a>, 
102
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__getattr__"><code>__getattr__</code></a>, 
103
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__invert__"><code>__invert__</code></a>, 
104
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__or__"><code>__or__</code></a>, 
105
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__radd__"><code>__radd__</code></a>, 
106
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__rand__"><code>__rand__</code></a>, 
107
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__repr__"><code>__repr__</code></a>, 
108
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__ror__"><code>__ror__</code></a>, 
109
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__rxor__"><code>__rxor__</code></a>, 
110
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#__xor__"><code>__xor__</code></a>, 
111
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#addParseAction"><code>addParseAction</code></a>, 
112
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#copy"><code>copy</code></a>, 
113
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#enablePackrat"><code>enablePackrat</code></a>, 
114
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#getException"><code>getException</code></a>, 
115
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#normalizeParseActionArgs"><code>normalizeParseActionArgs</code></a>, 
116
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#parseFile"><code>parseFile</code></a>, 
117
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#parseString"><code>parseString</code></a>, 
118
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#parseWithTabs"><code>parseWithTabs</code></a>, 
119
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#preParse"><code>preParse</code></a>, 
120
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#resetCache"><code>resetCache</code></a>, 
121
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#scanString"><code>scanString</code></a>, 
122
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#searchString"><code>searchString</code></a>, 
123
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#setBreak"><code>setBreak</code></a>, 
124
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#setDebug"><code>setDebug</code></a>, 
125
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#setDebugActions"><code>setDebugActions</code></a>, 
126
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars"><code>setDefaultWhitespaceChars</code></a>, 
127
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#setFailAction"><code>setFailAction</code></a>, 
128
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#setName"><code>setName</code></a>, 
129
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#setParseAction"><code>setParseAction</code></a>, 
130
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#setResultsName"><code>setResultsName</code></a>, 
131
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#setWhitespaceChars"><code>setWhitespaceChars</code></a>, 
132
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#skipIgnorables"><code>skipIgnorables</code></a>, 
133
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#suppress"><code>suppress</code></a>, 
134
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#transformString"><code>transformString</code></a>, 
135
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#tryParse"><code>tryParse</code></a>
136
 
      <br />
137
 
    <b>Inherited from <a href="__builtin__.object-class.html"><code>object</code></a>:</b>
138
 
      <a href="__builtin__.object-class.html#__delattr__"><code>__delattr__</code></a>, 
139
 
      <a href="__builtin__.object-class.html#__getattribute__"><code>__getattribute__</code></a>, 
140
 
      <a href="__builtin__.object-class.html#__hash__"><code>__hash__</code></a>, 
141
 
      <a href="__builtin__.object-class.html#__new__"><code>__new__</code></a>, 
142
 
      <a href="__builtin__.object-class.html#__reduce__"><code>__reduce__</code></a>, 
143
 
      <a href="__builtin__.object-class.html#__reduce_ex__"><code>__reduce_ex__</code></a>, 
144
 
      <a href="__builtin__.object-class.html#__setattr__"><code>__setattr__</code></a>
145
 
    </td></tr>
146
 
</table><br />
147
 
 
148
 
 
149
 
<!-- =========== START OF CLASS VARIABLE SUMMARY =========== -->
150
 
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
151
 
<tr bgcolor="#70b0f0" class="summary">
152
 
  <th colspan="2">Class Variable Summary</th></tr>
153
 
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>list</code></font></td>
154
 
<td><b><a href="parserFwk.pyparsing.Combine-class.html#__slotnames__"><code>__slotnames__</code></a></b> = <span title="[]"><code>[]                                       </code>
155
 
</span></td></tr>
156
 
  <tr><td colspan="2">
157
 
    <b>Inherited from <a href="parserFwk.pyparsing.ParserElement-class.html"><code>ParserElement</code></a>:</b>
158
 
      <a href="parserFwk.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS"><code>DEFAULT_WHITE_CHARS</code></a>
159
 
    </td></tr>
160
 
</table><br />
161
 
 
162
 
 
163
 
<!-- =========== START OF INSTANCE METHOD DETAILS =========== -->
164
 
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
165
 
<tr bgcolor="#70b0f0" class="details">
166
 
  <th colspan="2">Instance Method Details</th></tr>
167
 
</table>
168
 
 
169
 
<a name="ignore"></a>
170
 
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
171
 
  <h3><span class="sig"><span class="sig-name">ignore</span>(<span class=sig-arg>self</span>,
172
 
          <span class=sig-arg>other</span>)</span>
173
 
  </h3>
174
 
  Define expression to be ignored (e.g., comments) while doing pattern 
175
 
  matching; may be called repeatedly, to define multiple comment or other 
176
 
  ignorable patterns.
177
 
  <dl><dt></dt><dd>
178
 
    <dl><dt><b>Overrides:</b></dt>
179
 
      <dd><a href="parserFwk.pyparsing.ParseElementEnhance-class.html#ignore"><code>parserFwk.pyparsing.ParseElementEnhance.ignore</code></a> <i>(inherited documentation)</i>
180
 
</dd>
181
 
    </dl>
182
 
  </dd></dl>
183
 
</td></tr></table>
184
 
<br />
185
 
 
186
 
 
187
 
<!-- =========== START OF CLASS VARIABLE DETAILS =========== -->
188
 
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
189
 
<tr bgcolor="#70b0f0" class="details">
190
 
  <th colspan="2">Class Variable Details</th></tr>
191
 
</table>
192
 
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
193
 
<a name="__slotnames__"></a>
194
 
<h3>__slotnames__</h3>
195
 
<dl>
196
 
  <dt></dt>
197
 
  <dd>
198
 
    <dl>
199
 
      <dt><b>Type:</b></dt>
200
 
      <dd>
201
 
          <code>list</code>
202
 
 
203
 
      </dd>
204
 
<span title="[]">      <dt><b>Value:</b></dt>
205
 
      <dd><table><tr><td>
206
 
<pre class="variable">
207
 
[]                                                                     </pre>
208
 
        </td></tr></table></dd>
209
 
</span>    </dl>
210
 
  </dd>
211
 
</dl></td></tr></table>
212
 
<br />
213
 
 
214
 
 
215
 
<!-- =========== START OF NAVBAR =========== -->
216
 
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
217
 
  <tr valign="center">
218
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="parserFwk.pyparsing-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
219
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
220
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
221
 
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
222
 
    <th class="navbar" align="right" width="100%">
223
 
      <table border="0" cellpadding="0" cellspacing="0">
224
 
      <tr><th class="navbar" align="center">
225
 
        <p class="nomargin">
226
 
          pyparsing
227
 
      </p></th></tr></table>
228
 
    </th>
229
 
  </tr>
230
 
</table>
231
 
 
232
 
<table border="0" cellpadding="0" cellspacing="0" width="100%">
233
 
  <tr>
234
 
    <td align="left"><font size="-2">Generated by Epydoc 2.1 on Sun Jul 22 09:32:59 2007</font></td>
235
 
    <td align="right"><a href="http://epydoc.sourceforge.net"
236
 
                      ><font size="-2">http://epydoc.sf.net</font></a></td>
237
 
  </tr>
238
 
</table>
239
 
</body>
240
 
</html>