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">
6
<title>parserFwk.pyparsing.Combine</title>
7
<link rel="stylesheet" href="epydoc.css" type="text/css"></link>
9
<body bgcolor="white" text="black" link="blue" vlink="#204080"
12
<!-- =========== START OF NAVBAR =========== -->
13
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
15
<th class="navbar"> <a class="navbar" href="parserFwk.pyparsing-module.html">Home</a> </th>
16
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
17
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
18
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
19
<th class="navbar" align="right" width="100%">
20
<table border="0" cellpadding="0" cellspacing="0">
21
<tr><th class="navbar" align="center">
24
</p></th></tr></table>
28
<table width="100%" cellpadding="0" cellspacing="0">
31
<font size="-1"><b class="breadcrumbs">
32
Package parserFwk ::
33
<a href="parserFwk.pyparsing-module.html">Module pyparsing</a> ::
37
<td><table cellpadding="0" cellspacing="0">
38
<tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a> | <a href="parserFwk.pyparsing.Combine-class.html" target="_top">no frames</a>]</font></td></tr>
42
<!-- =========== START OF CLASS DESCRIPTION =========== -->
43
<h2 class="class">Type Combine</h2>
45
<pre class="base-tree">
46
<a href="__builtin__.object-class.html"><code>object</code></a> --+
48
<a href="parserFwk.pyparsing.ParserElement-class.html"><code>ParserElement</code></a> --+
50
<a href="parserFwk.pyparsing.ParseElementEnhance-class.html"><code>ParseElementEnhance</code></a> --+
52
<a href="parserFwk.pyparsing.TokenConverter-class.html"><code>TokenConverter</code></a> --+
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
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"> </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>
76
<tr><td align="right" valign="top" width="15%"><font size="-1"> </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>
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"> </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>
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>
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>
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>
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>
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>
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>
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>
174
Define expression to be ignored (e.g., comments) while doing pattern
175
matching; may be called repeatedly, to define multiple comment or other
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>
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>
192
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
193
<a name="__slotnames__"></a>
194
<h3>__slotnames__</h3>
199
<dt><b>Type:</b></dt>
204
<span title="[]"> <dt><b>Value:</b></dt>
206
<pre class="variable">
208
</td></tr></table></dd>
211
</dl></td></tr></table>
215
<!-- =========== START OF NAVBAR =========== -->
216
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
218
<th class="navbar"> <a class="navbar" href="parserFwk.pyparsing-module.html">Home</a> </th>
219
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
220
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
221
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
222
<th class="navbar" align="right" width="100%">
223
<table border="0" cellpadding="0" cellspacing="0">
224
<tr><th class="navbar" align="center">
227
</p></th></tr></table>
232
<table border="0" cellpadding="0" cellspacing="0" width="100%">
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>