146
<tr bgcolor="#e8f0f8" >
147
<th colspan="2" class="group-header"
148
> Inherited from <a href="pyparsing.pyparsing.Token-class.html">Token</a></th></tr>
150
<td width="15%" align="right" valign="top" class="summary">
151
<span class="summary-type"> </span>
152
</td><td class="summary">
153
<table width="100%" cellpadding="0" cellspacing="0" border="0">
155
<td><span class="summary-sig"><a href="pyparsing.pyparsing.Token-class.html#setName" class="summary-sig-name">setName</a>(<span class="summary-sig-arg">self</span>,
156
<span class="summary-sig-arg">name</span>)</span><br />
157
Define name for this expression, for use in debugging.</td>
158
<td align="right" valign="top">
159
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#Token.setName">source code</a></span>
167
<tr bgcolor="#e8f0f8" >
168
<th colspan="2" class="group-header"
169
> Inherited from <a href="pyparsing.pyparsing.ParserElement-class.html">ParserElement</a></th></tr>
171
<td width="15%" align="right" valign="top" class="summary">
172
<span class="summary-type"> </span>
173
</td><td class="summary">
174
<table width="100%" cellpadding="0" cellspacing="0" border="0">
176
<td><span class="summary-sig"><a name="__add__"></a><span class="summary-sig-name">__add__</span>(<span class="summary-sig-arg">self</span>,
177
<span class="summary-sig-arg">other</span>)</span><br />
178
Implementation of + operator - returns And</td>
179
<td align="right" valign="top">
180
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__add__">source code</a></span>
189
<td width="15%" align="right" valign="top" class="summary">
190
<span class="summary-type"> </span>
191
</td><td class="summary">
192
<table width="100%" cellpadding="0" cellspacing="0" border="0">
194
<td><span class="summary-sig"><a name="__and__"></a><span class="summary-sig-name">__and__</span>(<span class="summary-sig-arg">self</span>,
195
<span class="summary-sig-arg">other</span>)</span><br />
196
Implementation of & operator - returns Each</td>
197
<td align="right" valign="top">
198
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__and__">source code</a></span>
207
<td width="15%" align="right" valign="top" class="summary">
208
<span class="summary-type"> </span>
209
</td><td class="summary">
210
<table width="100%" cellpadding="0" cellspacing="0" border="0">
212
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#__call__" class="summary-sig-name">__call__</a>(<span class="summary-sig-arg">self</span>,
213
<span class="summary-sig-arg">name</span>)</span><br />
214
Shortcut for setResultsName, with listAllMatches=default:</td>
215
<td align="right" valign="top">
216
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__call__">source code</a></span>
225
<td width="15%" align="right" valign="top" class="summary">
226
<span class="summary-type"> </span>
227
</td><td class="summary">
228
<table width="100%" cellpadding="0" cellspacing="0" border="0">
230
<td><span class="summary-sig"><a name="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">self</span>,
231
<span class="summary-sig-arg">other</span>)</span></td>
232
<td align="right" valign="top">
233
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__eq__">source code</a></span>
242
<td width="15%" align="right" valign="top" class="summary">
243
<span class="summary-type"> </span>
244
</td><td class="summary">
245
<table width="100%" cellpadding="0" cellspacing="0" border="0">
247
<td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>,
248
<span class="summary-sig-arg">aname</span>)</span></td>
249
<td align="right" valign="top">
250
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__getattr__">source code</a></span>
259
<td width="15%" align="right" valign="top" class="summary">
260
<span class="summary-type"> </span>
261
</td><td class="summary">
262
<table width="100%" cellpadding="0" cellspacing="0" border="0">
264
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#__hash__" class="summary-sig-name">__hash__</a>(<span class="summary-sig-arg">self</span>)</span><br />
266
<td align="right" valign="top">
267
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__hash__">source code</a></span>
276
<td width="15%" align="right" valign="top" class="summary">
277
<span class="summary-type"> </span>
278
</td><td class="summary">
279
<table width="100%" cellpadding="0" cellspacing="0" border="0">
281
<td><span class="summary-sig"><a name="__invert__"></a><span class="summary-sig-name">__invert__</span>(<span class="summary-sig-arg">self</span>)</span><br />
282
Implementation of ~ operator - returns NotAny</td>
283
<td align="right" valign="top">
284
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__invert__">source code</a></span>
293
<td width="15%" align="right" valign="top" class="summary">
294
<span class="summary-type"> </span>
295
</td><td class="summary">
296
<table width="100%" cellpadding="0" cellspacing="0" border="0">
298
<td><span class="summary-sig"><a name="__mul__"></a><span class="summary-sig-name">__mul__</span>(<span class="summary-sig-arg">self</span>,
299
<span class="summary-sig-arg">other</span>)</span></td>
300
<td align="right" valign="top">
301
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__mul__">source code</a></span>
310
<td width="15%" align="right" valign="top" class="summary">
311
<span class="summary-type"> </span>
312
</td><td class="summary">
313
<table width="100%" cellpadding="0" cellspacing="0" border="0">
315
<td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">self</span>,
316
<span class="summary-sig-arg">other</span>)</span></td>
317
<td align="right" valign="top">
318
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__ne__">source code</a></span>
327
<td width="15%" align="right" valign="top" class="summary">
328
<span class="summary-type"> </span>
329
</td><td class="summary">
330
<table width="100%" cellpadding="0" cellspacing="0" border="0">
332
<td><span class="summary-sig"><a name="__or__"></a><span class="summary-sig-name">__or__</span>(<span class="summary-sig-arg">self</span>,
333
<span class="summary-sig-arg">other</span>)</span><br />
334
Implementation of | operator - returns MatchFirst</td>
335
<td align="right" valign="top">
336
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__or__">source code</a></span>
345
<td width="15%" align="right" valign="top" class="summary">
346
<span class="summary-type"> </span>
347
</td><td class="summary">
348
<table width="100%" cellpadding="0" cellspacing="0" border="0">
350
<td><span class="summary-sig"><a name="__radd__"></a><span class="summary-sig-name">__radd__</span>(<span class="summary-sig-arg">self</span>,
351
<span class="summary-sig-arg">other</span>)</span><br />
352
Implementation of + operator when left operand is not a ParserElement</td>
353
<td align="right" valign="top">
354
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__radd__">source code</a></span>
363
<td width="15%" align="right" valign="top" class="summary">
364
<span class="summary-type"> </span>
365
</td><td class="summary">
366
<table width="100%" cellpadding="0" cellspacing="0" border="0">
368
<td><span class="summary-sig"><a name="__rand__"></a><span class="summary-sig-name">__rand__</span>(<span class="summary-sig-arg">self</span>,
369
<span class="summary-sig-arg">other</span>)</span><br />
370
Implementation of & operator when left operand is not a
372
<td align="right" valign="top">
373
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__rand__">source code</a></span>
382
<td width="15%" align="right" valign="top" class="summary">
383
<span class="summary-type"> </span>
384
</td><td class="summary">
385
<table width="100%" cellpadding="0" cellspacing="0" border="0">
387
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
389
<td align="right" valign="top">
390
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__repr__">source code</a></span>
399
<td width="15%" align="right" valign="top" class="summary">
400
<span class="summary-type"> </span>
401
</td><td class="summary">
402
<table width="100%" cellpadding="0" cellspacing="0" border="0">
404
<td><span class="summary-sig"><a name="__req__"></a><span class="summary-sig-name">__req__</span>(<span class="summary-sig-arg">self</span>,
405
<span class="summary-sig-arg">other</span>)</span></td>
406
<td align="right" valign="top">
407
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__req__">source code</a></span>
416
<td width="15%" align="right" valign="top" class="summary">
417
<span class="summary-type"> </span>
418
</td><td class="summary">
419
<table width="100%" cellpadding="0" cellspacing="0" border="0">
421
<td><span class="summary-sig"><a name="__rmul__"></a><span class="summary-sig-name">__rmul__</span>(<span class="summary-sig-arg">self</span>,
422
<span class="summary-sig-arg">other</span>)</span></td>
423
<td align="right" valign="top">
424
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__rmul__">source code</a></span>
433
<td width="15%" align="right" valign="top" class="summary">
434
<span class="summary-type"> </span>
435
</td><td class="summary">
436
<table width="100%" cellpadding="0" cellspacing="0" border="0">
438
<td><span class="summary-sig"><a name="__rne__"></a><span class="summary-sig-name">__rne__</span>(<span class="summary-sig-arg">self</span>,
439
<span class="summary-sig-arg">other</span>)</span></td>
440
<td align="right" valign="top">
441
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__rne__">source code</a></span>
450
<td width="15%" align="right" valign="top" class="summary">
451
<span class="summary-type"> </span>
452
</td><td class="summary">
453
<table width="100%" cellpadding="0" cellspacing="0" border="0">
455
<td><span class="summary-sig"><a name="__ror__"></a><span class="summary-sig-name">__ror__</span>(<span class="summary-sig-arg">self</span>,
456
<span class="summary-sig-arg">other</span>)</span><br />
457
Implementation of | operator when left operand is not a ParserElement</td>
458
<td align="right" valign="top">
459
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__ror__">source code</a></span>
468
<td width="15%" align="right" valign="top" class="summary">
469
<span class="summary-type"> </span>
470
</td><td class="summary">
471
<table width="100%" cellpadding="0" cellspacing="0" border="0">
473
<td><span class="summary-sig"><a name="__rsub__"></a><span class="summary-sig-name">__rsub__</span>(<span class="summary-sig-arg">self</span>,
474
<span class="summary-sig-arg">other</span>)</span><br />
475
Implementation of - operator when left operand is not a ParserElement</td>
476
<td align="right" valign="top">
477
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__rsub__">source code</a></span>
486
<td width="15%" align="right" valign="top" class="summary">
487
<span class="summary-type"> </span>
488
</td><td class="summary">
489
<table width="100%" cellpadding="0" cellspacing="0" border="0">
491
<td><span class="summary-sig"><a name="__rxor__"></a><span class="summary-sig-name">__rxor__</span>(<span class="summary-sig-arg">self</span>,
492
<span class="summary-sig-arg">other</span>)</span><br />
493
Implementation of ^ operator when left operand is not a ParserElement</td>
494
<td align="right" valign="top">
495
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__rxor__">source code</a></span>
504
<td width="15%" align="right" valign="top" class="summary">
505
<span class="summary-type"> </span>
506
</td><td class="summary">
507
<table width="100%" cellpadding="0" cellspacing="0" border="0">
509
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
511
<td align="right" valign="top">
512
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__str__">source code</a></span>
521
<td width="15%" align="right" valign="top" class="summary">
522
<span class="summary-type"> </span>
523
</td><td class="summary">
524
<table width="100%" cellpadding="0" cellspacing="0" border="0">
526
<td><span class="summary-sig"><a name="__sub__"></a><span class="summary-sig-name">__sub__</span>(<span class="summary-sig-arg">self</span>,
527
<span class="summary-sig-arg">other</span>)</span><br />
528
Implementation of - operator, returns And with error stop</td>
529
<td align="right" valign="top">
530
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__sub__">source code</a></span>
539
<td width="15%" align="right" valign="top" class="summary">
540
<span class="summary-type"> </span>
541
</td><td class="summary">
542
<table width="100%" cellpadding="0" cellspacing="0" border="0">
544
<td><span class="summary-sig"><a name="__xor__"></a><span class="summary-sig-name">__xor__</span>(<span class="summary-sig-arg">self</span>,
545
<span class="summary-sig-arg">other</span>)</span><br />
546
Implementation of ^ operator - returns Or</td>
547
<td align="right" valign="top">
548
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.__xor__">source code</a></span>
557
<td width="15%" align="right" valign="top" class="summary">
558
<span class="summary-type"> </span>
559
</td><td class="summary">
560
<table width="100%" cellpadding="0" cellspacing="0" border="0">
562
<td><span class="summary-sig"><a name="_parse"></a><span class="summary-sig-name">_parse</span>(<span class="summary-sig-arg">self</span>,
563
<span class="summary-sig-arg">instring</span>,
564
<span class="summary-sig-arg">loc</span>,
565
<span class="summary-sig-arg">doActions</span>=<span class="summary-sig-default">True</span>,
566
<span class="summary-sig-arg">callPreParse</span>=<span class="summary-sig-default">True</span>)</span></td>
567
<td align="right" valign="top">
568
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement._parseNoCache">source code</a></span>
577
<td width="15%" align="right" valign="top" class="summary">
578
<span class="summary-type"> </span>
579
</td><td class="summary">
580
<table width="100%" cellpadding="0" cellspacing="0" border="0">
582
<td><span class="summary-sig"><a name="_parseCache"></a><span class="summary-sig-name">_parseCache</span>(<span class="summary-sig-arg">self</span>,
583
<span class="summary-sig-arg">instring</span>,
584
<span class="summary-sig-arg">loc</span>,
585
<span class="summary-sig-arg">doActions</span>=<span class="summary-sig-default">True</span>,
586
<span class="summary-sig-arg">callPreParse</span>=<span class="summary-sig-default">True</span>)</span></td>
587
<td align="right" valign="top">
588
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement._parseCache">source code</a></span>
597
<td width="15%" align="right" valign="top" class="summary">
598
<span class="summary-type"> </span>
599
</td><td class="summary">
600
<table width="100%" cellpadding="0" cellspacing="0" border="0">
602
<td><span class="summary-sig"><a name="_parseNoCache"></a><span class="summary-sig-name">_parseNoCache</span>(<span class="summary-sig-arg">self</span>,
603
<span class="summary-sig-arg">instring</span>,
604
<span class="summary-sig-arg">loc</span>,
605
<span class="summary-sig-arg">doActions</span>=<span class="summary-sig-default">True</span>,
606
<span class="summary-sig-arg">callPreParse</span>=<span class="summary-sig-default">True</span>)</span></td>
607
<td align="right" valign="top">
608
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement._parseNoCache">source code</a></span>
617
<td width="15%" align="right" valign="top" class="summary">
618
<span class="summary-type"> </span>
619
</td><td class="summary">
620
<table width="100%" cellpadding="0" cellspacing="0" border="0">
622
<td><span class="summary-sig"><a name="_skipIgnorables"></a><span class="summary-sig-name">_skipIgnorables</span>(<span class="summary-sig-arg">self</span>,
623
<span class="summary-sig-arg">instring</span>,
624
<span class="summary-sig-arg">loc</span>)</span></td>
625
<td align="right" valign="top">
626
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement._skipIgnorables">source code</a></span>
635
<td width="15%" align="right" valign="top" class="summary">
636
<span class="summary-type"> </span>
637
</td><td class="summary">
638
<table width="100%" cellpadding="0" cellspacing="0" border="0">
640
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#addParseAction" class="summary-sig-name">addParseAction</a>(<span class="summary-sig-arg">self</span>,
641
<span class="summary-sig-arg">*fns</span>,
642
<span class="summary-sig-arg">**kwargs</span>)</span><br />
643
Add parse action to expression's list of parse actions.</td>
644
<td align="right" valign="top">
645
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.addParseAction">source code</a></span>
654
<td width="15%" align="right" valign="top" class="summary">
655
<span class="summary-type"> </span>
656
</td><td class="summary">
657
<table width="100%" cellpadding="0" cellspacing="0" border="0">
659
<td><span class="summary-sig"><a name="checkRecursion"></a><span class="summary-sig-name">checkRecursion</span>(<span class="summary-sig-arg">self</span>,
660
<span class="summary-sig-arg">parseElementList</span>)</span></td>
661
<td align="right" valign="top">
662
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.checkRecursion">source code</a></span>
671
<td width="15%" align="right" valign="top" class="summary">
672
<span class="summary-type"> </span>
673
</td><td class="summary">
674
<table width="100%" cellpadding="0" cellspacing="0" border="0">
676
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#copy" class="summary-sig-name">copy</a>(<span class="summary-sig-arg">self</span>)</span><br />
677
Make a copy of this ParserElement.</td>
678
<td align="right" valign="top">
679
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.copy">source code</a></span>
688
<td width="15%" align="right" valign="top" class="summary">
689
<span class="summary-type"> </span>
690
</td><td class="summary">
691
<table width="100%" cellpadding="0" cellspacing="0" border="0">
693
<td><span class="summary-sig"><a name="getException"></a><span class="summary-sig-name">getException</span>(<span class="summary-sig-arg">self</span>)</span></td>
694
<td align="right" valign="top">
695
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.getException">source code</a></span>
704
<td width="15%" align="right" valign="top" class="summary">
705
<span class="summary-type"> </span>
706
</td><td class="summary">
707
<table width="100%" cellpadding="0" cellspacing="0" border="0">
709
<td><span class="summary-sig"><a name="ignore"></a><span class="summary-sig-name">ignore</span>(<span class="summary-sig-arg">self</span>,
710
<span class="summary-sig-arg">other</span>)</span><br />
711
Define expression to be ignored (e.g., comments) while doing pattern
712
matching; may be called repeatedly, to define multiple comment or
713
other ignorable patterns.</td>
714
<td align="right" valign="top">
715
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.ignore">source code</a></span>
724
<td width="15%" align="right" valign="top" class="summary">
725
<span class="summary-type"> </span>
726
</td><td class="summary">
727
<table width="100%" cellpadding="0" cellspacing="0" border="0">
729
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#leaveWhitespace" class="summary-sig-name">leaveWhitespace</a>(<span class="summary-sig-arg">self</span>)</span><br />
730
Disables the skipping of whitespace before matching the characters in
731
the ParserElement's defined pattern.</td>
732
<td align="right" valign="top">
733
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.leaveWhitespace">source code</a></span>
742
<td width="15%" align="right" valign="top" class="summary">
743
<span class="summary-type"> </span>
744
</td><td class="summary">
745
<table width="100%" cellpadding="0" cellspacing="0" border="0">
747
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#parseFile" class="summary-sig-name">parseFile</a>(<span class="summary-sig-arg">self</span>,
748
<span class="summary-sig-arg">file_or_filename</span>,
749
<span class="summary-sig-arg">parseAll</span>=<span class="summary-sig-default">False</span>)</span><br />
750
Execute the parse expression on the given file or filename.</td>
751
<td align="right" valign="top">
752
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.parseFile">source code</a></span>
761
<td width="15%" align="right" valign="top" class="summary">
762
<span class="summary-type"> </span>
763
</td><td class="summary">
764
<table width="100%" cellpadding="0" cellspacing="0" border="0">
766
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#parseString" class="summary-sig-name">parseString</a>(<span class="summary-sig-arg">self</span>,
767
<span class="summary-sig-arg">instring</span>,
768
<span class="summary-sig-arg">parseAll</span>=<span class="summary-sig-default">False</span>)</span><br />
769
Execute the parse expression with the given string.</td>
770
<td align="right" valign="top">
771
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.parseString">source code</a></span>
780
<td width="15%" align="right" valign="top" class="summary">
781
<span class="summary-type"> </span>
782
</td><td class="summary">
783
<table width="100%" cellpadding="0" cellspacing="0" border="0">
785
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#parseWithTabs" class="summary-sig-name">parseWithTabs</a>(<span class="summary-sig-arg">self</span>)</span><br />
786
Overrides default behavior to expand <TAB>s to spaces before
787
parsing the input string.</td>
788
<td align="right" valign="top">
789
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.parseWithTabs">source code</a></span>
798
<td width="15%" align="right" valign="top" class="summary">
799
<span class="summary-type"> </span>
800
</td><td class="summary">
801
<table width="100%" cellpadding="0" cellspacing="0" border="0">
803
<td><span class="summary-sig"><a name="postParse"></a><span class="summary-sig-name">postParse</span>(<span class="summary-sig-arg">self</span>,
804
<span class="summary-sig-arg">instring</span>,
805
<span class="summary-sig-arg">loc</span>,
806
<span class="summary-sig-arg">tokenlist</span>)</span></td>
807
<td align="right" valign="top">
808
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.postParse">source code</a></span>
817
<td width="15%" align="right" valign="top" class="summary">
818
<span class="summary-type"> </span>
819
</td><td class="summary">
820
<table width="100%" cellpadding="0" cellspacing="0" border="0">
822
<td><span class="summary-sig"><a name="preParse"></a><span class="summary-sig-name">preParse</span>(<span class="summary-sig-arg">self</span>,
823
<span class="summary-sig-arg">instring</span>,
824
<span class="summary-sig-arg">loc</span>)</span></td>
825
<td align="right" valign="top">
826
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.preParse">source code</a></span>
835
<td width="15%" align="right" valign="top" class="summary">
836
<span class="summary-type"> </span>
837
</td><td class="summary">
838
<table width="100%" cellpadding="0" cellspacing="0" border="0">
840
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#scanString" class="summary-sig-name">scanString</a>(<span class="summary-sig-arg">self</span>,
841
<span class="summary-sig-arg">instring</span>,
842
<span class="summary-sig-arg">maxMatches</span>=<span class="summary-sig-default">2147483647</span>)</span><br />
843
Scan the input string for expression matches.</td>
844
<td align="right" valign="top">
845
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.scanString">source code</a></span>
854
<td width="15%" align="right" valign="top" class="summary">
855
<span class="summary-type"> </span>
856
</td><td class="summary">
857
<table width="100%" cellpadding="0" cellspacing="0" border="0">
859
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#searchString" class="summary-sig-name">searchString</a>(<span class="summary-sig-arg">self</span>,
860
<span class="summary-sig-arg">instring</span>,
861
<span class="summary-sig-arg">maxMatches</span>=<span class="summary-sig-default">2147483647</span>)</span><br />
862
Another extension to scanString, simplifying the access to the tokens
863
found to match the given parse expression.</td>
864
<td align="right" valign="top">
865
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.searchString">source code</a></span>
874
<td width="15%" align="right" valign="top" class="summary">
875
<span class="summary-type"> </span>
876
</td><td class="summary">
877
<table width="100%" cellpadding="0" cellspacing="0" border="0">
879
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#setBreak" class="summary-sig-name">setBreak</a>(<span class="summary-sig-arg">self</span>,
880
<span class="summary-sig-arg">breakFlag</span>=<span class="summary-sig-default">True</span>)</span><br />
881
Method to invoke the Python pdb debugger when this element is about
883
<td align="right" valign="top">
884
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.setBreak">source code</a></span>
893
<td width="15%" align="right" valign="top" class="summary">
894
<span class="summary-type"> </span>
895
</td><td class="summary">
896
<table width="100%" cellpadding="0" cellspacing="0" border="0">
898
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#setDebug" class="summary-sig-name">setDebug</a>(<span class="summary-sig-arg">self</span>,
899
<span class="summary-sig-arg">flag</span>=<span class="summary-sig-default">True</span>)</span><br />
900
Enable display of debugging messages while doing pattern matching.</td>
901
<td align="right" valign="top">
902
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.setDebug">source code</a></span>
911
<td width="15%" align="right" valign="top" class="summary">
912
<span class="summary-type"> </span>
913
</td><td class="summary">
914
<table width="100%" cellpadding="0" cellspacing="0" border="0">
916
<td><span class="summary-sig"><a name="setDebugActions"></a><span class="summary-sig-name">setDebugActions</span>(<span class="summary-sig-arg">self</span>,
917
<span class="summary-sig-arg">startAction</span>,
918
<span class="summary-sig-arg">successAction</span>,
919
<span class="summary-sig-arg">exceptionAction</span>)</span><br />
920
Enable display of debugging messages while doing pattern matching.</td>
921
<td align="right" valign="top">
922
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.setDebugActions">source code</a></span>
931
<td width="15%" align="right" valign="top" class="summary">
932
<span class="summary-type"> </span>
933
</td><td class="summary">
934
<table width="100%" cellpadding="0" cellspacing="0" border="0">
936
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#setFailAction" class="summary-sig-name">setFailAction</a>(<span class="summary-sig-arg">self</span>,
937
<span class="summary-sig-arg">fn</span>)</span><br />
938
Define action to perform if parsing fails at this expression.</td>
939
<td align="right" valign="top">
940
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.setFailAction">source code</a></span>
949
<td width="15%" align="right" valign="top" class="summary">
950
<span class="summary-type"> </span>
951
</td><td class="summary">
952
<table width="100%" cellpadding="0" cellspacing="0" border="0">
954
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#setParseAction" class="summary-sig-name">setParseAction</a>(<span class="summary-sig-arg">self</span>,
955
<span class="summary-sig-arg">*fns</span>,
956
<span class="summary-sig-arg">**kwargs</span>)</span><br />
957
Define action to perform when successfully matching parse element
959
<td align="right" valign="top">
960
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.setParseAction">source code</a></span>
969
<td width="15%" align="right" valign="top" class="summary">
970
<span class="summary-type"> </span>
971
</td><td class="summary">
972
<table width="100%" cellpadding="0" cellspacing="0" border="0">
974
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#setResultsName" class="summary-sig-name">setResultsName</a>(<span class="summary-sig-arg">self</span>,
975
<span class="summary-sig-arg">name</span>,
976
<span class="summary-sig-arg">listAllMatches</span>=<span class="summary-sig-default">False</span>)</span><br />
977
Define name for referencing matching tokens as a nested attribute of
978
the returned parse results.</td>
979
<td align="right" valign="top">
980
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.setResultsName">source code</a></span>
989
<td width="15%" align="right" valign="top" class="summary">
990
<span class="summary-type"> </span>
991
</td><td class="summary">
992
<table width="100%" cellpadding="0" cellspacing="0" border="0">
994
<td><span class="summary-sig"><a name="setWhitespaceChars"></a><span class="summary-sig-name">setWhitespaceChars</span>(<span class="summary-sig-arg">self</span>,
995
<span class="summary-sig-arg">chars</span>)</span><br />
996
Overrides the default whitespace chars</td>
997
<td align="right" valign="top">
998
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.setWhitespaceChars">source code</a></span>
1007
<td width="15%" align="right" valign="top" class="summary">
1008
<span class="summary-type"> </span>
1009
</td><td class="summary">
1010
<table width="100%" cellpadding="0" cellspacing="0" border="0">
1012
<td><span class="summary-sig"><a name="streamline"></a><span class="summary-sig-name">streamline</span>(<span class="summary-sig-arg">self</span>)</span></td>
1013
<td align="right" valign="top">
1014
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.streamline">source code</a></span>
1023
<td width="15%" align="right" valign="top" class="summary">
1024
<span class="summary-type"> </span>
1025
</td><td class="summary">
1026
<table width="100%" cellpadding="0" cellspacing="0" border="0">
1028
<td><span class="summary-sig"><a name="suppress"></a><span class="summary-sig-name">suppress</span>(<span class="summary-sig-arg">self</span>)</span><br />
1029
Suppresses the output of this ParserElement; useful to keep
1030
punctuation from cluttering up returned output.</td>
1031
<td align="right" valign="top">
1032
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.suppress">source code</a></span>
1041
<td width="15%" align="right" valign="top" class="summary">
1042
<span class="summary-type"> </span>
1043
</td><td class="summary">
1044
<table width="100%" cellpadding="0" cellspacing="0" border="0">
1046
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#transformString" class="summary-sig-name">transformString</a>(<span class="summary-sig-arg">self</span>,
1047
<span class="summary-sig-arg">instring</span>)</span><br />
1048
Extension to scanString, to modify matching text with modified tokens
1049
that may be returned from a parse action.</td>
1050
<td align="right" valign="top">
1051
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.transformString">source code</a></span>
1060
<td width="15%" align="right" valign="top" class="summary">
1061
<span class="summary-type"> </span>
1062
</td><td class="summary">
1063
<table width="100%" cellpadding="0" cellspacing="0" border="0">
1065
<td><span class="summary-sig"><a name="tryParse"></a><span class="summary-sig-name">tryParse</span>(<span class="summary-sig-arg">self</span>,
1066
<span class="summary-sig-arg">instring</span>,
1067
<span class="summary-sig-arg">loc</span>)</span></td>
1068
<td align="right" valign="top">
1069
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.tryParse">source code</a></span>
1078
<td width="15%" align="right" valign="top" class="summary">
1079
<span class="summary-type"> </span>
1080
</td><td class="summary">
1081
<table width="100%" cellpadding="0" cellspacing="0" border="0">
1083
<td><span class="summary-sig"><a name="validate"></a><span class="summary-sig-name">validate</span>(<span class="summary-sig-arg">self</span>,
1084
<span class="summary-sig-arg">validateTrace</span>=<span class="summary-sig-default"><code class="variable-group">[</code><code class="variable-group">]</code></span>)</span><br />
1085
Check defined expressions for valid structure, check for infinite
1086
recursive definitions.</td>
1087
<td align="right" valign="top">
1088
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.validate">source code</a></span>
1097
188
<!-- ==================== STATIC METHODS ==================== -->
1098
189
<a name="section-StaticMethods"></a>
1099
190
<table class="summary" border="1" cellpadding="3"
1100
191
cellspacing="0" width="100%" bgcolor="white">
1101
192
<tr bgcolor="#70b0f0" class="table-header">
1102
<td colspan="2" class="table-header">
1103
<table border="0" cellpadding="0" cellspacing="0" width="100%">
1105
<td align="left"><span class="table-header">Static Methods</span></td>
1106
<td align="right" valign="top"
1107
><span class="options">[<a href="#section-StaticMethods"
1108
class="privatelink" onclick="toggle_private();"
1109
>hide private</a>]</span></td>
193
<td align="left" colspan="2" class="table-header">
194
<span class="table-header">Static Methods</span></td>
1114
<tr bgcolor="#e8f0f8" >
1115
<th colspan="2" class="group-header"
1116
> Inherited from <a href="pyparsing.pyparsing.ParserElement-class.html">ParserElement</a></th></tr>
1117
<tr class="private">
1118
<td width="15%" align="right" valign="top" class="summary">
1119
<span class="summary-type"> </span>
1120
</td><td class="summary">
1121
<table width="100%" cellpadding="0" cellspacing="0" border="0">
1123
<td><span class="summary-sig"><a name="_normalizeParseActionArgs"></a><span class="summary-sig-name">_normalizeParseActionArgs</span>(<span class="summary-sig-arg">f</span>)</span><br />
1124
Internal method used to decorate parse actions that take fewer than 3
1125
arguments, so that all parse actions can be called as f(s,l,t).</td>
1126
<td align="right" valign="top">
1127
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement._normalizeParseActionArgs">source code</a></span>
1136
<td width="15%" align="right" valign="top" class="summary">
1137
<span class="summary-type"> </span>
1138
</td><td class="summary">
1139
<table width="100%" cellpadding="0" cellspacing="0" border="0">
1141
<td><span class="summary-sig"><a href="pyparsing.pyparsing.ParserElement-class.html#enablePackrat" class="summary-sig-name">enablePackrat</a>()</span><br />
1142
Enables "packrat" parsing, which adds memoizing to the
1144
<td align="right" valign="top">
1145
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.enablePackrat">source code</a></span>
1154
<td width="15%" align="right" valign="top" class="summary">
1155
<span class="summary-type"> </span>
1156
</td><td class="summary">
1157
<table width="100%" cellpadding="0" cellspacing="0" border="0">
1159
<td><span class="summary-sig"><a name="resetCache"></a><span class="summary-sig-name">resetCache</span>()</span></td>
1160
<td align="right" valign="top">
1161
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.resetCache">source code</a></span>
1170
<td width="15%" align="right" valign="top" class="summary">
1171
<span class="summary-type"> </span>
1172
</td><td class="summary">
1173
<table width="100%" cellpadding="0" cellspacing="0" border="0">
1175
<td><span class="summary-sig"><a name="setDefaultWhitespaceChars"></a><span class="summary-sig-name">setDefaultWhitespaceChars</span>(<span class="summary-sig-arg">chars</span>)</span><br />
1176
Overrides the default whitespace chars</td>
1177
<td align="right" valign="top">
1178
<span class="codelink"><a href="pyparsing.pyparsing-pysrc.html#ParserElement.setDefaultWhitespaceChars">source code</a></span>
197
<td colspan="2" class="summary">
198
<p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyparsing.pyparsing.ParserElement-class.html">ParserElement</a></code></b>:
199
<code><a href="pyparsing.pyparsing.ParserElement-class.html#enablePackrat">enablePackrat</a></code>,
200
<code><a href="pyparsing.pyparsing.ParserElement-class.html#resetCache">resetCache</a></code>,
201
<code><a href="pyparsing.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars">setDefaultWhitespaceChars</a></code>