| Home | Trees | Indices | Help |
|---|
|
|
|
|||
|
BaseSearch Common base class (used by smart separators). |
|||
|
_BaseCombiner Support for And and Or. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
_BaseSearch = ABCMeta('_BaseSearch', (object,), {})ABC used to identify matchers. |
|||
|
|||
|
|
|
|
|
|
|
Match one of the given matchers (|). It can be used indirectly by placing | between matchers. Matchers are tried from left to right until one succeeds; backtracking will try more from the same matcher and, once that is exhausted, continue to the right. String arguments will be coerced to literal matches.
|
|
Match the first successful matcher only (%). It can be used indirectly by placing % between matchers. Note that backtracking for the first-selected matcher will still occur. Matchers are tried from left to right until one succeeds; backtracking will try more from the same matcher (only). String arguments will be coerced to literal matches.
|
exclude. This is implemented by comparing the remaining stream after
matching, so will not be affected by any transform associated with
exclude. The count parameter gives the number of different matches
from exclude. By default (-1) all matches are used. A positive
value restricts that to the number given.
|
count means no
limit.
|
|
|||
_BaseSearchABC used to identify matchers. Note that graph traversal assumes subclasses are hashable and iterable.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Jun 9 21:50:50 2012 | http://epydoc.sourceforge.net |