sphinx.addnodesdocument)}( rawsourcechildren]docutils.nodessection)}(hhh](h title)}(hpyparsing moduleh]h Textpyparsing module}(hhparenthhhsourceNlineNuba attributes}(ids]classes]names]dupnames]backrefs]utagnamehhh hhh8/builddir/build/BUILD/pyparsing-3.0.9/docs/pyparsing.rsthKubhindex)}(hhh]h}(h ]h"]h$]h&]h(]entries](pairmodule; pyparsingmodule-pyparsinghNtauh*h,hh hhhR/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsinghKubh )}(hhh](h)}(hMpyparsing module - Classes and methods to define and execute parsing grammarsh]hMpyparsing module - Classes and methods to define and execute parsing grammars}(hhChhAhhhNhNubah}(h ]h"]h$]h&]h(]uh*hhh>hhhR/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsinghKubh paragraph)}(hXuThe pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. With pyparsing, you don't need to learn a new syntax for defining grammars or matching expressions - the parsing module provides a library of classes that you use to construct the grammar directly in Python.h]hXwThe pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. With pyparsing, you don’t need to learn a new syntax for defining grammars or matching expressions - the parsing module provides a library of classes that you use to construct the grammar directly in Python.}(hhThhRhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhhOhKhh>hhubhQ)}(hXMHere is a program to parse "Hello, World!" (or any greeting of the form ``", !"``), built up using :class:`Word`, :class:`Literal`, and :class:`And` elements (the :meth:`'+'` operators create :class:`And` expressions, and the strings are auto-converted to :class:`Literal` expressions)::h](hLHere is a program to parse “Hello, World!” (or any greeting of the form }(hHHere is a program to parse "Hello, World!" (or any greeting of the form hh`hhhNhNubh literal)}(h ``", !"``h]h", !"}(hhhhkubah}(h ]h"]h$]h&]h(]uh*hihh`ubh), built up using }(h), built up using hh`hhhNhNubh pending_xref)}(h :class:`Word`h]hj)}(hhh]hWord}(hhhhubah}(h ]h"](xrefpypy-classeh$]h&]h(]uh*hihhubah}(h ]h"]h$]h&]h(]refdoc pyparsing refdomainhreftypeclass refexplicitrefwarn py:module pyparsingpy:classN reftargetWorduh*h~hhOhK hh`ubh, }(h, hh`hhhNhNubh)}(h:class:`Literal`h]hj)}(hhh]hLiteral}(hhhhubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihhubah}(h ]h"]h$]h&]h(]refdoch refdomainhreftypeclass refexplicitrefwarnhhhNhLiteraluh*h~hhOhK hh`ubh, and }(h, and hh`hhhNhNubh)}(h :class:`And`h]hj)}(hhh]hAnd}(hhhhubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihhubah}(h ]h"]h$]h&]h(]refdoch refdomainhތreftypeclass refexplicitrefwarnhhhNhAnduh*h~hhOhK hh`ubh elements (the }(h elements (the hh`hhhNhNubh)}(h":meth:`'+'`h]hj)}(hhh]h'+'}(hhhhubah}(h ]h"](hpypy-metheh$]h&]h(]uh*hihhubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypemeth refexplicitrefwarnhhhNhParserElement.__add__uh*h~hhOhK hh`ubh operators create }(h operators create hh`hhhNhNubh)}(h :class:`And`h]hj)}(hjh]hAnd}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj(reftypeclass refexplicitrefwarnhhhNhAnduh*h~hhOhK hh`ubh4 expressions, and the strings are auto-converted to }(h4 expressions, and the strings are auto-converted to hh`hhhNhNubh)}(h:class:`Literal`h]hj)}(hjAh]hLiteral}(hhhjCubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj?ubah}(h ]h"]h$]h&]h(]refdoch refdomainjMreftypeclass refexplicitrefwarnhhhNhLiteraluh*h~hhOhK hh`ubh expressions):}(h expressions):hh`hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhhOhK hh>hhubh literal_block)}(hfrom pyparsing import Word, alphas # define grammar of a greeting greet = Word(alphas) + "," + Word(alphas) + "!" hello = "Hello, World!" print(hello, "->", greet.parse_string(hello))h]hfrom pyparsing import Word, alphas # define grammar of a greeting greet = Word(alphas) + "," + Word(alphas) + "!" hello = "Hello, World!" print(hello, "->", greet.parse_string(hello))}(hhhjlubah}(h ]h"]h$]h&]h(] xml:spacepreserveuh*jjhhOhKhh>hhubhQ)}(h#The program outputs the following::h]h"The program outputs the following:}(h"The program outputs the following:hj|hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhhOhKhh>hhubjk)}(h-Hello, World! -> ['Hello', ',', 'World', '!']h]h-Hello, World! -> ['Hello', ',', 'World', '!']}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhhOhKhh>hhubhQ)}(hThe Python representation of the grammar is quite readable, owing to the self-explanatory class names, and the use of :class:`'+'`, :class:`'|'`, :class:`'^'` and :class:`'&'` operators.h](hvThe Python representation of the grammar is quite readable, owing to the self-explanatory class names, and the use of }(hvThe Python representation of the grammar is quite readable, owing to the self-explanatory class names, and the use of hjhhhNhNubh)}(h:class:`'+'`h]hj)}(hjh]h'+'}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhAnduh*h~hhOhKhjubh, }(h, hjhhhNhNubh)}(h:class:`'|'`h]hj)}(hjh]h'|'}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNh MatchFirstuh*h~hhOhKhjubh, }(h, hjhhhNhNubh)}(h:class:`'^'`h]hj)}(hjh]h'^'}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhOruh*h~hhOhKhjubh and }(h and hjhhhNhNubh)}(h:class:`'&'`h]hj)}(hjh]h'&'}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhEachuh*h~hhOhKhjubh operators.}(h operators.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhhOhKhh>hhubhQ)}(hThe :class:`ParseResults` object returned from :class:`ParserElement.parseString` can be accessed as a nested list, a dictionary, or an object with named attributes.h](hThe }(hThe hj<hhhNhNubh)}(h:class:`ParseResults`h]hj)}(hjGh]h ParseResults}(hhhjIubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjEubah}(h ]h"]h$]h&]h(]refdoch refdomainjSreftypeclass refexplicitrefwarnhhhNh ParseResultsuh*h~hhOhK!hj<ubh object returned from }(h object returned from hj<hhhNhNubh)}(h":class:`ParserElement.parseString`h]hj)}(hjlh]hParserElement.parseString}(hhhjnubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjjubah}(h ]h"]h$]h&]h(]refdoch refdomainjxreftypeclass refexplicitrefwarnhhhNhParserElement.parseStringuh*h~hhOhK!hj<ubhT can be accessed as a nested list, a dictionary, or an object with named attributes.}(hT can be accessed as a nested list, a dictionary, or an object with named attributes.hj<hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhhOhK!hh>hhubhQ)}(hfThe pyparsing module handles some of the problems that are typically vexing when writing text parsers:h]hfThe pyparsing module handles some of the problems that are typically vexing when writing text parsers:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhhOhK&hh>hhubh block_quote)}(hhh]h bullet_list)}(hhh](h list_item)}(hkextra or missing whitespace (the above program will also handle "Hello,World!", "Hello , World !", etc.)h]hQ)}(hkextra or missing whitespace (the above program will also handle "Hello,World!", "Hello , World !", etc.)h]hsextra or missing whitespace (the above program will also handle “Hello,World!”, “Hello , World !”, etc.)}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhhOhK)hjubah}(h ]h"]h$]h&]h(]uh*jhjubj)}(hquoted stringsh]hQ)}(hjh]hquoted strings}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhhOhK+hjubah}(h ]h"]h$]h&]h(]uh*jhjubj)}(hembedded comments h]hQ)}(hembedded commentsh]hembedded comments}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhhOhK,hjubah}(h ]h"]h$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]bullet-uh*jhhOhK)hjubah}(h ]h"]h$]h&]h(]uh*jhh>hhhNhNubh )}(hhh](h)}(hGetting Started -h]hGetting Started -}(hj hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hhjhhhhOhK0ubhQ)}(hVisit the classes :class:`ParserElement` and :class:`ParseResults` to see the base classes that most other pyparsing classes inherit from. Use the docstrings for examples of how to:h](hVisit the classes }(hVisit the classes hjhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hj h]h ParserElement}(hhhj"ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj,reftypeclass refexplicitrefwarnhhhNh ParserElementuh*h~hhOhK1hjubh and }(h and hjhhhNhNubh)}(h:class:`ParseResults`h]hj)}(hjEh]h ParseResults}(hhhjGubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjCubah}(h ]h"]h$]h&]h(]refdoch refdomainjQreftypeclass refexplicitrefwarnhhhNh ParseResultsuh*h~hhOhK1hjubhs to see the base classes that most other pyparsing classes inherit from. Use the docstrings for examples of how to:}(hs to see the base classes that most other pyparsing classes inherit from. Use the docstrings for examples of how to:hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhhOhK1hjhhubj)}(hhh]j)}(hhh](j)}(h^construct literal match expressions from :class:`Literal` and :class:`CaselessLiteral` classesh]hQ)}(h^construct literal match expressions from :class:`Literal` and :class:`CaselessLiteral` classesh](h)construct literal match expressions from }(h)construct literal match expressions from hjxubh)}(h:class:`Literal`h]hj)}(hjh]hLiteral}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhLiteraluh*h~hhOhK5hjxubh and }(h and hjxubh)}(h:class:`CaselessLiteral`h]hj)}(hjh]hCaselessLiteral}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhCaselessLiteraluh*h~hhOhK5hjxubh classes}(h classeshjxubeh}(h ]h"]h$]h&]h(]uh*hPhhOhK5hjtubah}(h ]h"]h$]h&]h(]uh*jhjqubj)}(hHconstruct character word-group expressions using the :class:`Word` classh]hQ)}(hHconstruct character word-group expressions using the :class:`Word` classh](h5construct character word-group expressions using the }(h5construct character word-group expressions using the hjubh)}(h :class:`Word`h]hj)}(hjh]hWord}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhWorduh*h~hhOhK7hjubh class}(h classhjubeh}(h ]h"]h$]h&]h(]uh*hPhhOhK7hjubah}(h ]h"]h$]h&]h(]uh*jhjqubj)}(hasee how to create repetitive expressions using :class:`ZeroOrMore` and :class:`OneOrMore` classesh]hQ)}(hasee how to create repetitive expressions using :class:`ZeroOrMore` and :class:`OneOrMore` classesh](h/see how to create repetitive expressions using }(h/see how to create repetitive expressions using hjubh)}(h:class:`ZeroOrMore`h]hj)}(hj$h]h ZeroOrMore}(hhhj&ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj"ubah}(h ]h"]h$]h&]h(]refdoch refdomainj0reftypeclass refexplicitrefwarnhhhNh ZeroOrMoreuh*h~hhOhK9hjubh and }(h and hjubh)}(h:class:`OneOrMore`h]hj)}(hjIh]h OneOrMore}(hhhjKubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjGubah}(h ]h"]h$]h&]h(]refdoch refdomainjUreftypeclass refexplicitrefwarnhhhNh OneOrMoreuh*h~hhOhK9hjubh classes}(h classeshjubeh}(h ]h"]h$]h&]h(]uh*hPhhOhK9hjubah}(h ]h"]h$]h&]h(]uh*jhjqubj)}(huse :class:`'+'`, :class:`'|'`, :class:`'^'`, and :class:`'&'` operators to combine simple expressions into more complex onesh]hQ)}(huse :class:`'+'`, :class:`'|'`, :class:`'^'`, and :class:`'&'` operators to combine simple expressions into more complex onesh](huse }(huse hj|ubh)}(h:class:`'+'`h]hj)}(hjh]h'+'}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhAnduh*h~hhOhK;hj|ubh, }(h, hj|ubh)}(h:class:`'|'`h]hj)}(hjh]h'|'}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNh MatchFirstuh*h~hhOhK;hj|ubh, }(hjhj|ubh)}(h:class:`'^'`h]hj)}(hjh]h'^'}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhOruh*h~hhOhK;hj|ubh, and }(h, and hj|ubh)}(h:class:`'&'`h]hj)}(hjh]h'&'}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhEachuh*h~hhOhK;hj|ubh? operators to combine simple expressions into more complex ones}(h? operators to combine simple expressions into more complex oneshj|ubeh}(h ]h"]h$]h&]h(]uh*hPhhOhK;hjxubah}(h ]h"]h$]h&]h(]uh*jhjqubj)}(hTassociate names with your parsed results using :class:`ParserElement.setResultsName`h]hQ)}(hTassociate names with your parsed results using :class:`ParserElement.setResultsName`h](h/associate names with your parsed results using }(h/associate names with your parsed results using hj(ubh)}(h%:class:`ParserElement.setResultsName`h]hj)}(hj3h]hParserElement.setResultsName}(hhhj5ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj1ubah}(h ]h"]h$]h&]h(]refdoch refdomainj?reftypeclass refexplicitrefwarnhhhNhParserElement.setResultsNameuh*h~hhOhK>hj(ubeh}(h ]h"]h$]h&]h(]uh*hPhhOhK>hj$ubah}(h ]h"]h$]h&]h(]uh*jhjqubj)}(hKaccess the parsed data, which is returned as a :class:`ParseResults` objecth]hQ)}(hKaccess the parsed data, which is returned as a :class:`ParseResults` objecth](h/access the parsed data, which is returned as a }(h/access the parsed data, which is returned as a hjaubh)}(h:class:`ParseResults`h]hj)}(hjlh]h ParseResults}(hhhjnubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjjubah}(h ]h"]h$]h&]h(]refdoch refdomainjxreftypeclass refexplicitrefwarnhhhNh ParseResultsuh*h~hhOhK@hjaubh object}(h objecthjaubeh}(h ]h"]h$]h&]h(]uh*hPhhOhK@hj]ubah}(h ]h"]h$]h&]h(]uh*jhjqubj)}(hVfind some helpful expression short-cuts like :class:`delimitedList` and :class:`oneOf`h]hQ)}(hVfind some helpful expression short-cuts like :class:`delimitedList` and :class:`oneOf`h](h-find some helpful expression short-cuts like }(h-find some helpful expression short-cuts like hjubh)}(h:class:`delimitedList`h]hj)}(hjh]h delimitedList}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNh delimitedListuh*h~hhOhKBhjubh and }(h and hjubh)}(h:class:`oneOf`h]hj)}(hjh]honeOf}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhoneOfuh*h~hhOhKBhjubeh}(h ]h"]h$]h&]h(]uh*hPhhOhKBhjubah}(h ]h"]h$]h&]h(]uh*jhjqubj)}(hVfind more useful common expressions in the :class:`pyparsing_common` namespace class h]hQ)}(hTfind more useful common expressions in the :class:`pyparsing_common` namespace classh](h+find more useful common expressions in the }(h+find more useful common expressions in the hjubh)}(h:class:`pyparsing_common`h]hj)}(hjh]hpyparsing_common}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhhhNhpyparsing_commonuh*h~hhOhKDhjubh namespace class}(h namespace classhjubeh}(h ]h"]h$]h&]h(]uh*hPhhOhKDhjubah}(h ]h"]h$]h&]h(]uh*jhjqubeh}(h ]h"]h$]h&]h(]jjuh*jhhOhK5hjnubah}(h ]h"]h$]h&]h(]uh*jhjhhhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](singleAnd (class in pyparsing) pyparsing.AndhNtauh*h,hjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hMAnd(exprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = True)h](hdesc_annotation)}(hclass h]hclass }(hhhj_hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjYhhhW/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AndhNubh desc_addname)}(h pyparsing.h]h pyparsing.}(hhhjphhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjYhhhjmhNubh desc_name)}(hAndh]hAnd}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjYhhhjmhNubhdesc_parameterlist)}(hHexprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = Trueh](hdesc_parameter)}(h1exprs_arg: Iterable[pyparsing.core.ParserElement]h](h desc_sig_name)}(h exprs_argh]h exprs_arg}(hhhjubah}(h ]h"]nah$]h&]h(]uh*jhjubhdesc_sig_punctuation)}(h:h]h:}(hhhjubah}(h ]h"]pah$]h&]h(]uh*jhjubh }(hhhjubj)}(h&Iterable[pyparsing.core.ParserElement]h](h)}(hhh]hIterable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainpyreftypeclass reftargetIterable py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hsavelist: bool = Trueh](j)}(hsavelisth]hsavelist}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj<ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj8ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubhdesc_sig_operator)}(h=h]h=}(hhhj[ubah}(h ]h"]oah$]h&]h(]uh*jYhjubh }(hhhjubh inline)}(hTrueh]hTrue}(hhhjpubah}(h ]h"] default_valueah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjYhhhjmhNubeh}(h ]jPah"]h$]h&]h(]module pyparsingjhfullnamejuh*jWhjmhKhjThhubh desc_content)}(hhh](hQ)}(h.Bases: :class:`pyparsing.core.ParseExpression`h](hBases: }(hBases: hjhhhNhNubh)}(h':class:`pyparsing.core.ParseExpression`h]hj)}(hjh]hpyparsing.core.ParseExpression}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjhpyparsing.core.ParseExpressionuh*h~hW/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AndhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hRequires all given :class:`ParseExpression` s to be found in the given order. Expressions may be separated by whitespace. May be constructed using the ``'+'`` operator. May also be constructed using the ``'-'`` operator, which will suppress backtracking.h](hRequires all given }(hRequires all given hjhhhNhNubh)}(h:class:`ParseExpression`h]hj)}(hjh]hParseExpression}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjhParseExpressionuh*h~hW/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AndhKhjubhl s to be found in the given order. Expressions may be separated by whitespace. May be constructed using the }(hl s to be found in the given order. Expressions may be separated by whitespace. May be constructed using the hjhhhNhNubhj)}(h``'+'``h]h'+'}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh- operator. May also be constructed using the }(h- operator. May also be constructed using the hjhhhNhNubhj)}(h``'-'``h]h'-'}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihjubh, operator, which will suppress backtracking.}(h, operator, which will suppress backtracking.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hj%hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hinteger = Word(nums) name_expr = Word(alphas)[1, ...] expr = And([integer("id"), name_expr("name"), integer("age")]) # more easily written as: expr = integer("id") + name_expr("name") + integer("age")h]hinteger = Word(nums) name_expr = Word(alphas)[1, ...] expr = And([integer("id"), name_expr("name"), integer("age")]) # more easily written as: expr = integer("id") + name_expr("name") + integer("age")}(hhhj4ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK hjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN!__init__() (pyparsing.And method)pyparsing.And.__init__hNtauh*h,hjhhh`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.And.__init__hNubjS)}(hhh](jX)}(hVAnd.__init__(exprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = True)h](j)}(h__init__h]h__init__}(hhhjXhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjThhh`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.And.__init__hNubj)}(hHexprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = Trueh](j)}(h1exprs_arg: Iterable[pyparsing.core.ParserElement]h](j)}(h exprs_argh]h exprs_arg}(hhhjoubah}(h ]h"]jah$]h&]h(]uh*jhjkubj)}(h:h]h:}(hhhj}ubah}(h ]h"]jah$]h&]h(]uh*jhjkubh }(hhhjkubj)}(h&Iterable[pyparsing.core.ParserElement]h](h)}(hhh]hIterable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetIterable py:modulejpy:classjuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classjuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjkubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjgubj)}(hsavelist: bool = Trueh](j)}(hsavelisth]hsavelist}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classjuh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj& ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhj8 ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjgubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjThhhjfhNubeh}(h ]jNah"]h$]h&]h(]j pyparsingjjj And.__init__uh*jWhjfhKhjQhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj` hj^ hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjPhKhj[ hhubah}(h ]h"]h$]h&]h(]uh*jhjQhhhjfhNubeh}(h ]h"]pyah$]h&]h(]domainju objtypemethoddesctypej{ noindexuh*jRhhhjhjPhNubeh}(h ]h"]h$]h&]h(]uh*jhjThhhjmhNubeh}(h ]h"]pyah$]h&]h(]jy j jz classj| j j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN AtLineStart (class in pyparsing)pyparsing.AtLineStarthNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h;AtLineStart(expr: Union[pyparsing.core.ParserElement, str])h](j^)}(hclass h]hclass }(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj hhh_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AtLineStarthNubjo)}(h pyparsing.h]h pyparsing.}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj hhhj hNubj)}(h AtLineStarth]h AtLineStart}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj hhhj hNubj)}(h.expr: Union[pyparsing.core.ParserElement, str]h]j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj ubj)}(h[h]h[}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj ubj)}(h, h]h, }(hhhj, ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh)}(hhh]hstr}(hhhj: ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj ubj)}(h]h]h]}(hhhjM ubah}(h ]h"]jah$]h&]h(]uh*jhj ubeh}(h ]h"]jah$]h&]h(]uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj hhhj hNubeh}(h ]j ah"]h$]h&]h(]j pyparsingjhjj uh*jWhj hKhj hhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hjw hhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hj h]h"pyparsing.core.ParseElementEnhance}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj ubah}(h ]h"]h$]h&]h(]refdoch refdomainj reftypeclass refexplicitrefwarnhjs hj h"pyparsing.core.ParseElementEnhanceuh*h~h_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AtLineStarthKhjw ubeh}(h ]h"]h$]h&]h(]uh*hPhj hKhjt hhubhQ)}(hSMatches if an expression matches at the beginning of a line within the parse stringh]hSMatches if an expression matches at the beginning of a line within the parse string}(hj hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AtLineStarthKhjt hhubhQ)}(h Example::h]hExample:}(hExample:hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhjt hhubjk)}(htest = '''\ AAA this line AAA and this line AAA but not this one B AAA and definitely not this one ''' for t in (AtLineStart('AAA') + restOfLine).search_string(test): print(t)h]htest = '''\ AAA this line AAA and this line AAA but not this one B AAA and definitely not this one ''' for t in (AtLineStart('AAA') + restOfLine).search_string(test): print(t)}(hhhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj hKhjt hhubhQ)}(hprints::h]hprints:}(hprints:hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhjt hhubjk)}(h/['AAA', ' this line'] ['AAA', ' and this line']h]h/['AAA', ' this line'] ['AAA', ' and this line']}(hhhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj hKhjt hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)__init__() (pyparsing.AtLineStart method)pyparsing.AtLineStart.__init__hNtauh*h,hjt hhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AtLineStart.__init__hNubjS)}(hhh](jX)}(hDAtLineStart.__init__(expr: Union[pyparsing.core.ParserElement, str])h](j)}(h__init__h]h__init__}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj hhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AtLineStart.__init__hNubj)}(h.expr: Union[pyparsing.core.ParserElement, str]h]j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhj+ ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhjA ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejs py:classj uh*h~hj= ubj)}(h[h]h[}(hhhjT ubah}(h ]h"]jah$]h&]h(]uh*jhj= ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjb ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejs py:classj uh*h~hj= ubj)}(h, h]h, }(hhhju ubah}(h ]h"]jah$]h&]h(]uh*jhj= ubh)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejs py:classj uh*h~hj= ubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj= ubeh}(h ]h"]jah$]h&]h(]uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj hhhj hNubeh}(h ]j ah"]h$]h&]h(]j pyparsingjj jAtLineStart.__init__uh*jWhj hKhj hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhj hhubah}(h ]h"]h$]h&]h(]uh*jhj hhhj hNubeh}(h ]h"]pyah$]h&]h(]jy j jz methodj| j j} uh*jRhhhjt hj hNubeh}(h ]h"]h$]h&]h(]uh*jhj hhhj hNubeh}(h ]h"]pyah$]h&]h(]jy j jz classj| j j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN"AtStringStart (class in pyparsing)pyparsing.AtStringStarthNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h=AtStringStart(expr: Union[pyparsing.core.ParserElement, str])h](j^)}(hclass h]hclass }(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj hhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AtStringStarthNubjo)}(h pyparsing.h]h pyparsing.}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj hhhj hNubj)}(h AtStringStarth]h AtStringStart}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj hhhj hNubj)}(h.expr: Union[pyparsing.core.ParserElement, str]h]j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhj3 ubah}(h ]h"]jah$]h&]h(]uh*jhj/ ubj)}(h:h]h:}(hhhjA ubah}(h ]h"]jah$]h&]h(]uh*jhj/ ubh }(hhhj/ ubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhjW ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjS ubj)}(h[h]h[}(hhhjj ubah}(h ]h"]jah$]h&]h(]uh*jhjS ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjx ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjS ubj)}(h, h]h, }(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjS ubh)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjS ubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjS ubeh}(h ]h"]jah$]h&]h(]uh*jhj/ ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj+ ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj hhhj hNubeh}(h ]j ah"]h$]h&]h(]j pyparsingjhjj uh*jWhj hKhj hhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hj hhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hj h]h"pyparsing.core.ParseElementEnhance}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj ubah}(h ]h"]h$]h&]h(]refdoch refdomainj reftypeclass refexplicitrefwarnhj hj h"pyparsing.core.ParseElementEnhanceuh*h~ha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AtStringStarthKhj ubeh}(h ]h"]h$]h&]h(]uh*hPhj hKhj hhubhQ)}(hDMatches if expression matches at the beginning of the parse string::h]hCMatches if expression matches at the beginning of the parse string:}(hCMatches if expression matches at the beginning of the parse string:hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AtStringStarthKhj hhubjk)}(hAtStringStart(Word(nums)).parse_string("123") # prints ["123"] AtStringStart(Word(nums)).parse_string(" 123") # raises ParseExceptionh]hAtStringStart(Word(nums)).parse_string("123") # prints ["123"] AtStringStart(Word(nums)).parse_string(" 123") # raises ParseException}(hhhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj hKhj hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__init__() (pyparsing.AtStringStart method) pyparsing.AtStringStart.__init__hNtauh*h,hj hhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AtStringStart.__init__hNubjS)}(hhh](jX)}(hFAtStringStart.__init__(expr: Union[pyparsing.core.ParserElement, str])h](j)}(h__init__h]h__init__}(hhhj: hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj6 hhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.AtStringStart.__init__hNubj)}(h.expr: Union[pyparsing.core.ParserElement, str]h]j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhjQ ubah}(h ]h"]jah$]h&]h(]uh*jhjM ubj)}(h:h]h:}(hhhj_ ubah}(h ]h"]jah$]h&]h(]uh*jhjM ubh }(hhhjM ubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhju ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulej py:classj uh*h~hjq ubj)}(h[h]h[}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjq ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej py:classj uh*h~hjq ubj)}(h, h]h, }(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjq ubh)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej py:classj uh*h~hjq ubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjq ubeh}(h ]h"]jah$]h&]h(]uh*jhjM ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjI ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj6 hhhjH hNubeh}(h ]j0 ah"]h$]h&]h(]j pyparsingjj jAtStringStart.__init__uh*jWhjH hKhj3 hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj2 hKhj hhubah}(h ]h"]h$]h&]h(]uh*jhj3 hhhjH hNubeh}(h ]h"]pyah$]h&]h(]jy j jz methodj| jj} uh*jRhhhj hj2 hNubeh}(h ]h"]h$]h&]h(]uh*jhj hhhj hNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN$CaselessKeyword (class in pyparsing)pyparsing.CaselessKeywordhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hCaselessKeyword(match_string: str = '', ident_chars: Optional[str] = None, *, matchString: str = '', identChars: Optional[str] = None)h](j^)}(hclass h]hclass }(hhhj4hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj0hhhc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CaselessKeywordhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjChhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj0hhhjBhNubj)}(hCaselessKeywordh]hCaselessKeyword}(hhhjQhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj0hhhjBhNubj)}(humatch_string: str = '', ident_chars: Optional[str] = None, *, matchString: str = '', identChars: Optional[str] = Noneh](j)}(hmatch_string: str = ''h](j)}(h match_stringh]h match_string}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjcubj)}(h:h]h:}(hhhjuubah}(h ]h"]jah$]h&]h(]uh*jhjcubh }(hhhjcubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjcubh }(hhhjcubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjcubh }(hhhjcubjo)}(h''h]h''}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjcubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubj)}(h!ident_chars: Optional[str] = Noneh](j)}(h ident_charsh]h ident_chars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhj+ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjCubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjUubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubj)}(h*h]jZ)}(h*h]h*}(hhhjnubah}(h ]h"]jfah$]h&]h(]uh*jYhjjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubj)}(hmatchString: str = ''h](j)}(h matchStringh]h matchString}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h''h]h''}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubj)}(h identChars: Optional[str] = Noneh](j)}(h identCharsh]h identChars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhj7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjJubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjbubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjtubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj0hhhjBhNubeh}(h ]j+ah"]h$]h&]h(]j pyparsingjhjjSuh*jWhjBhKhj-hhubj)}(hhh](hQ)}(h&Bases: :class:`pyparsing.core.Keyword`h](hBases: }(hBases: hjhhhNhNubh)}(h:class:`pyparsing.core.Keyword`h]hj)}(hjh]hpyparsing.core.Keyword}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjShpyparsing.core.Keyworduh*h~hc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CaselessKeywordhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h%Caseless version of :class:`Keyword`.h](hCaseless version of }(hCaseless version of hjhhhNhNubh)}(h:class:`Keyword`h]hj)}(hjh]hKeyword}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjShKeyworduh*h~hc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CaselessKeywordhKhjubh.}(h.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hPCaselessKeyword("CMD")[1, ...].parse_string("cmd CMD Cmd10") # -> ['CMD', 'CMD']h]hPCaselessKeyword("CMD")[1, ...].parse_string("cmd CMD Cmd10") # -> ['CMD', 'CMD']}(hhhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(h5(Contrast with example for :class:`CaselessLiteral`.)h](h(Contrast with example for }(h(Contrast with example for hjhhhNhNubh)}(h:class:`CaselessLiteral`h]hj)}(hj&h]hCaselessLiteral}(hhhj(ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj$ubah}(h ]h"]h$]h&]h(]refdoch refdomainj2reftypeclass refexplicitrefwarnhjhjShCaselessLiteraluh*h~hjhKhjubh.)}(h.)hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-__init__() (pyparsing.CaselessKeyword method)"pyparsing.CaselessKeyword.__init__hNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CaselessKeyword.__init__hNubjS)}(hhh](jX)}(hCaselessKeyword.__init__(match_string: str = '', ident_chars: Optional[str] = None, *, matchString: str = '', identChars: Optional[str] = None)h](j)}(h__init__h]h__init__}(hhhjehhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjahhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CaselessKeyword.__init__hNubj)}(humatch_string: str = '', ident_chars: Optional[str] = None, *, matchString: str = '', identChars: Optional[str] = Noneh](j)}(hmatch_string: str = ''h](j)}(h match_stringh]h match_string}(hhhj|ubah}(h ]h"]jah$]h&]h(]uh*jhjxubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjxubh }(hhhjxubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjSuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjxubh }(hhhjxubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjxubh }(hhhjxubjo)}(h''h]h''}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjxubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjtubj)}(h!ident_chars: Optional[str] = Noneh](j)}(h ident_charsh]h ident_chars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjSuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhj-ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjSuh*h~hjubj)}(h]h]h]}(hhhj@ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjXubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjtubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjtubj)}(hmatchString: str = ''h](j)}(h matchStringh]h matchString}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjSuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h''h]h''}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjtubj)}(h identChars: Optional[str] = Noneh](j)}(h identCharsh]h identChars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj+ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjSuh*h~hj'ubj)}(h[h]h[}(hhhj>ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubh)}(hhh]hstr}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjSuh*h~hj'ubj)}(h]h]h]}(hhhj_ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjwubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjtubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjahhhjshNubeh}(h ]j[ah"]h$]h&]h(]j pyparsingjjSjCaselessKeyword.__init__uh*jWhjshKhj^hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj]hKhjhhubah}(h ]h"]h$]h&]h(]uh*jhj^hhhjshNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhj]hNubeh}(h ]h"]h$]h&]h(]uh*jhj-hhhjBhNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN$CaselessLiteral (class in pyparsing)pyparsing.CaselessLiteralhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hACaselessLiteral(match_string: str = '', *, matchString: str = '')h](j^)}(hclass h]hclass }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CaselessLiteralhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhjhNubj)}(hCaselessLiteralh]hCaselessLiteral}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h0match_string: str = '', *, matchString: str = ''h](j)}(hmatch_string: str = ''h](j)}(h match_stringh]h match_string}(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj/ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjAubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjbubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h''h]h''}(hhhjtubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hmatchString: str = ''h](j)}(h matchStringh]h matchString}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h''h]h''}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjj uh*jWhjhKhjhhubj)}(hhh](hQ)}(h&Bases: :class:`pyparsing.core.Literal`h](hBases: }(hBases: hjhhhNhNubh)}(h:class:`pyparsing.core.Literal`h]hj)}(hj(h]hpyparsing.core.Literal}(hhhj*ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj&ubah}(h ]h"]h$]h&]h(]refdoch refdomainj4reftypeclass refexplicitrefwarnhjhj hpyparsing.core.Literaluh*h~hc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CaselessLiteralhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjFhKhjhhubhQ)}(hToken to match a specified string, ignoring case of letters. Note: the matched results will always be in the case of the given match string, NOT the case of the input text.h]hToken to match a specified string, ignoring case of letters. Note: the matched results will always be in the case of the given match string, NOT the case of the input text.}(hjOhjMhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CaselessLiteralhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hj\hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj[hKhjhhubjk)}(hWCaselessLiteral("CMD")[1, ...].parse_string("cmd CMD Cmd10") # -> ['CMD', 'CMD', 'CMD']h]hWCaselessLiteral("CMD")[1, ...].parse_string("cmd CMD Cmd10") # -> ['CMD', 'CMD', 'CMD']}(hhhjkubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj[hKhjhhubhQ)}(h5(Contrast with example for :class:`CaselessKeyword`.)h](h(Contrast with example for }(h(Contrast with example for hjyhhhNhNubh)}(h:class:`CaselessKeyword`h]hj)}(hjh]hCaselessKeyword}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj hCaselessKeyworduh*h~hj[hK hjyubh.)}(h.)hjyhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj[hK hjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-__init__() (pyparsing.CaselessLiteral method)"pyparsing.CaselessLiteral.__init__hNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CaselessLiteral.__init__hNubjS)}(hhh](jX)}(hJCaselessLiteral.__init__(match_string: str = '', *, matchString: str = '')h](j)}(h__init__h]h__init__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CaselessLiteral.__init__hNubj)}(h0match_string: str = '', *, matchString: str = ''h](j)}(hmatch_string: str = ''h](j)}(h match_stringh]h match_string}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h''h]h''}(hhhj-ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjFubah}(h ]h"]jfah$]h&]h(]uh*jYhjBubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hmatchString: str = ''h](j)}(h matchStringh]h matchString}(hhhj^ubah}(h ]h"]jah$]h&]h(]uh*jhjZubj)}(h:h]h:}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjZubh }(hhhjZubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj uh*h~hj~ubah}(h ]h"]jah$]h&]h(]uh*jhjZubh }(hhhjZubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjZubh }(hhhjZubjo)}(h''h]h''}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjZubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj jCaselessLiteral.__init__uh*jWhjhKhjhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNChar (class in pyparsing)pyparsing.CharhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hChar(charset: str, as_keyword: bool = False, exclude_chars: Optional[str] = None, *, asKeyword: bool = False, excludeChars: Optional[str] = None)h](j^)}(hclass h]hclass }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CharhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj%hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhj$hNubj)}(hCharh]hChar}(hhhj3hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj$hNubj)}(hcharset: str, as_keyword: bool = False, exclude_chars: Optional[str] = None, *, asKeyword: bool = False, excludeChars: Optional[str] = Noneh](j)}(h charset: strh](j)}(hcharseth]hcharset}(hhhjIubah}(h ]h"]jah$]h&]h(]uh*jhjEubj)}(h:h]h:}(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjEubh }(hhhjEubj)}(h\strh]h)}(hhh]hstr}(hhhjmubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjiubah}(h ]h"]jah$]h&]h(]uh*jhjEubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjAubj)}(has_keyword: bool = Falseh](j)}(h as_keywordh]h as_keyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjAubj)}(h#exclude_chars: Optional[str] = Noneh](j)}(h exclude_charsh]h exclude_chars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhj3ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjAubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjlubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhj~ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjAubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjAubj)}(hasKeyword: bool = Falseh](j)}(h asKeywordh]h asKeyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjAubj)}(h"excludeChars: Optional[str] = Noneh](j)}(h excludeCharsh]h excludeChars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj?ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj;ubj)}(h[h]h[}(hhhjRubah}(h ]h"]jah$]h&]h(]uh*jhj;ubh)}(hhh]hstr}(hhhj`ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj;ubj)}(h]h]h]}(hhhjsubah}(h ]h"]jah$]h&]h(]uh*jhj;ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjAubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj$hNubeh}(h ]j ah"]h$]h&]h(]j pyparsingjhjj5uh*jWhj$hKhjhhubj)}(hhh](hQ)}(h)Bases: :class:`pyparsing.core._WordRegex`h](hBases: }(hBases: hjhhhNhNubh)}(h":class:`pyparsing.core._WordRegex`h]hj)}(hjh]hpyparsing.core._WordRegex}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj5hpyparsing.core._WordRegexuh*h~hX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CharhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hA short-cut class for defining :class:`Word` ``(characters, exact=1)``, when defining a match of any single character in a string of characters.h](hA short-cut class for defining }(hA short-cut class for defining hjhhhNhNubh)}(h :class:`Word`h]hj)}(hjh]hWord}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj reftypeclass refexplicitrefwarnhjhj5hWorduh*h~hX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CharhKhjubh }(h hjhhhNhNubhj)}(h``(characters, exact=1)``h]h(characters, exact=1)}(hhhj!ubah}(h ]h"]h$]h&]h(]uh*hihjubhJ, when defining a match of any single character in a string of characters.}(hJ, when defining a match of any single character in a string of characters.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN"__init__() (pyparsing.Char method)pyparsing.Char.__init__hNtauh*h,hjhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Char.__init__hNubjS)}(hhh](jX)}(hChar.__init__(charset: str, as_keyword: bool = False, exclude_chars: Optional[str] = None, *, asKeyword: bool = False, excludeChars: Optional[str] = None)h](j)}(h__init__h]h__init__}(hhhjPhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjLhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Char.__init__hNubj)}(hcharset: str, as_keyword: bool = False, exclude_chars: Optional[str] = None, *, asKeyword: bool = False, excludeChars: Optional[str] = Noneh](j)}(h charset: strh](j)}(hcharseth]hcharset}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjcubj)}(h:h]h:}(hhhjuubah}(h ]h"]jah$]h&]h(]uh*jhjcubh }(hhhjcubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj5uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjcubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubj)}(has_keyword: bool = Falseh](j)}(h as_keywordh]h as_keyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj5uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubj)}(h#exclude_chars: Optional[str] = Noneh](j)}(h exclude_charsh]h exclude_chars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj(ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj>ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj5uh*h~hj:ubj)}(h[h]h[}(hhhjQubah}(h ]h"]jah$]h&]h(]uh*jhj:ubh)}(hhh]hstr}(hhhj_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj5uh*h~hj:ubj)}(h]h]h]}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhj:ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubj)}(hasKeyword: bool = Falseh](j)}(h asKeywordh]h asKeyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj5uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhj ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubj)}(h"excludeChars: Optional[str] = Noneh](j)}(h excludeCharsh]h excludeChars}(hhhj9ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h:h]h:}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh }(hhhj5ubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj5uh*h~hjYubj)}(h[h]h[}(hhhjpubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hstr}(hhhj~ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj5uh*h~hjYubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjYubeh}(h ]h"]jah$]h&]h(]uh*jhj5ubh }(hhhj5ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj5ubh }(hhhj5ubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj5ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj_ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjLhhhj^hNubeh}(h ]jFah"]h$]h&]h(]j pyparsingjj5j Char.__init__uh*jWhj^hKhjIhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjHhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjIhhhj^hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjHhNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhj$hNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| j j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNCharsNotIn (class in pyparsing)pyparsing.CharsNotInhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hbCharsNotIn(not_chars: str = '', min: int = 1, max: int = 0, exact: int = 0, *, notChars: str = '')h](j^)}(hclass h]hclass }(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CharsNotInhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj/hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhj.hNubj)}(h CharsNotInh]h CharsNotIn}(hhhj=hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj.hNubj)}(hVnot_chars: str = '', min: int = 1, max: int = 0, exact: int = 0, *, notChars: str = ''h](j)}(hnot_chars: str = ''h](j)}(h not_charsh]h not_chars}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h:h]h:}(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhjOubh }(hhhjOubj)}(hstrh]h)}(hhh]hstr}(hhhjwubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjsubah}(h ]h"]jah$]h&]h(]uh*jhjOubh }(hhhjOubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjOubh }(hhhjOubjo)}(h''h]h''}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjOubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubj)}(h min: int = 1h](j)}(hminh]hmin}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h1h]h1}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubj)}(h max: int = 0h](j)}(hmaxh]hmax}(hhhj+ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubj)}(h:h]h:}(hhhj9ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubh }(hhhj'ubj)}(hinth]h)}(hhh]hint}(hhhjOubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjKubah}(h ]h"]jah$]h&]h(]uh*jhj'ubh }(hhhj'ubjZ)}(h=h]h=}(hhhjlubah}(h ]h"]jfah$]h&]h(]uh*jYhj'ubh }(hhhj'ubjo)}(h0h]h0}(hhhj~ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj'ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubj)}(hexact: int = 0h](j)}(hexacth]hexact}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h0h]h0}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjKubj)}(hnotChars: str = ''h](j)}(hnotCharsh]hnotChars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhj?ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj;ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj\ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h''h]h''}(hhhjnubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj.hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjj?uh*jWhj.hKhjhhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hjhhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hjh]hpyparsing.core.Token}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj?hpyparsing.core.Tokenuh*h~h^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CharsNotInhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hXToken for matching words composed of characters *not* in a given set (will include whitespace in matched characters if not listed in the provided exclusion set - see example). Defined with string containing all disallowed characters, and an optional minimum, maximum, and/or exact length. The default value for ``min`` is 1 (a minimum value < 1 is not valid); the default values for ``max`` and ``exact`` are 0, meaning no maximum or exact length restriction.h](h0Token for matching words composed of characters }(h0Token for matching words composed of characters hjhhhNhNubh emphasis)}(h*not*h]hnot}(hhhjubah}(h ]h"]h$]h&]h(]uh*jhjubhX in a given set (will include whitespace in matched characters if not listed in the provided exclusion set - see example). Defined with string containing all disallowed characters, and an optional minimum, maximum, and/or exact length. The default value for }(hX in a given set (will include whitespace in matched characters if not listed in the provided exclusion set - see example). Defined with string containing all disallowed characters, and an optional minimum, maximum, and/or exact length. The default value for hjhhhNhNubhj)}(h``min``h]hmin}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhA is 1 (a minimum value < 1 is not valid); the default values for }(hA is 1 (a minimum value < 1 is not valid); the default values for hjhhhNhNubhj)}(h``max``h]hmax}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh and }(h and hjhhhNhNubhj)}(h ``exact``h]hexact}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihjubh7 are 0, meaning no maximum or exact length restriction.}(h7 are 0, meaning no maximum or exact length restriction.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CharsNotInhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hj! hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hK hjhhubjk)}(h# define a comma-separated-value as anything that is not a ',' csv_value = CharsNotIn(',') print(delimited_list(csv_value).parse_string("dkls,lsdkjf,s12 34,@!#,213"))h]h# define a comma-separated-value as anything that is not a ',' csv_value = CharsNotIn(',') print(delimited_list(csv_value).parse_string("dkls,lsdkjf,s12 34,@!#,213"))}(hhhj0 ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj hK hjhhubhQ)}(hprints::h]hprints:}(hprints:hj> hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhjhhubjk)}(h*['dkls', 'lsdkjf', 's12 34', '@!#', '213']h]h*['dkls', 'lsdkjf', 's12 34', '@!#', '213']}(hhhjM ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj hKhjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(__init__() (pyparsing.CharsNotIn method)pyparsing.CharsNotIn.__init__hNtauh*h,hjhhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CharsNotIn.__init__hNubjS)}(hhh](jX)}(hkCharsNotIn.__init__(not_chars: str = '', min: int = 1, max: int = 0, exact: int = 0, *, notChars: str = '')h](j)}(h__init__h]h__init__}(hhhjq hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjm hhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CharsNotIn.__init__hNubj)}(hVnot_chars: str = '', min: int = 1, max: int = 0, exact: int = 0, *, notChars: str = ''h](j)}(hnot_chars: str = ''h](j)}(h not_charsh]h not_chars}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hstrh]h)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj?uh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubjZ)}(h=h]h=}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubh }(hhhj ubjo)}(h''h]h''}(hhhj ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h min: int = 1h](j)}(hminh]hmin}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hinth]h)}(hhh]hint}(hhhj!ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj?uh*h~hj!ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubjZ)}(h=h]h=}(hhhj5!ubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubh }(hhhj ubjo)}(h1h]h1}(hhhjG!ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h max: int = 0h](j)}(hmaxh]hmax}(hhhj`!ubah}(h ]h"]jah$]h&]h(]uh*jhj\!ubj)}(h:h]h:}(hhhjn!ubah}(h ]h"]jah$]h&]h(]uh*jhj\!ubh }(hhhj\!ubj)}(hinth]h)}(hhh]hint}(hhhj!ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj?uh*h~hj!ubah}(h ]h"]jah$]h&]h(]uh*jhj\!ubh }(hhhj\!ubjZ)}(h=h]h=}(hhhj!ubah}(h ]h"]jfah$]h&]h(]uh*jYhj\!ubh }(hhhj\!ubjo)}(h0h]h0}(hhhj!ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj\!ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hexact: int = 0h](j)}(hexacth]hexact}(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhj!ubj)}(h:h]h:}(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhj!ubh }(hhhj!ubj)}(hinth]h)}(hhh]hint}(hhhj!ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj?uh*h~hj!ubah}(h ]h"]jah$]h&]h(]uh*jhj!ubh }(hhhj!ubjZ)}(h=h]h=}(hhhj "ubah}(h ]h"]jfah$]h&]h(]uh*jYhj!ubh }(hhhj!ubjo)}(h0h]h0}(hhhj"ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj!ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h*h]jZ)}(h*h]h*}(hhhj8"ubah}(h ]h"]jfah$]h&]h(]uh*jYhj4"ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hnotChars: str = ''h](j)}(hnotCharsh]hnotChars}(hhhjP"ubah}(h ]h"]jah$]h&]h(]uh*jhjL"ubj)}(h:h]h:}(hhhj^"ubah}(h ]h"]jah$]h&]h(]uh*jhjL"ubh }(hhhjL"ubj)}(hstrh]h)}(hhh]hstr}(hhhjt"ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj?uh*h~hjp"ubah}(h ]h"]jah$]h&]h(]uh*jhjL"ubh }(hhhjL"ubjZ)}(h=h]h=}(hhhj"ubah}(h ]h"]jfah$]h&]h(]uh*jYhjL"ubh }(hhhjL"ubjo)}(h''h]h''}(hhhj"ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjL"ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjm hhhj hNubeh}(h ]jg ah"]h$]h&]h(]j pyparsingjj?jCharsNotIn.__init__uh*jWhj hKhjj hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj"hj"hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhji hKhj"hhubah}(h ]h"]h$]h&]h(]uh*jhjj hhhj hNubeh}(h ]h"]pyah$]h&]h(]jy j"jz methodj| j"j} uh*jRhhhjhji hNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhj.hNubeh}(h ]h"]pyah$]h&]h(]jy j"jz classj| j"j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNCloseMatch (class in pyparsing)pyparsing.CloseMatchhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hnCloseMatch(match_string: str, max_mismatches: Optional[int] = None, *, maxMismatches: int = 1, caseless=False)h](j^)}(hclass h]hclass }(hhhj#hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj#hhh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CloseMatchhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj#hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj#hhhj#hNubj)}(h CloseMatchh]h CloseMatch}(hhhj%#hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj#hhhj#hNubj)}(hbmatch_string: str, max_mismatches: Optional[int] = None, *, maxMismatches: int = 1, caseless=Falseh](j)}(hmatch_string: strh](j)}(h match_stringh]h match_string}(hhhj;#ubah}(h ]h"]jah$]h&]h(]uh*jhj7#ubj)}(h:h]h:}(hhhjI#ubah}(h ]h"]jah$]h&]h(]uh*jhj7#ubh }(hhhj7#ubj)}(hstrh]h)}(hhh]hstr}(hhhj_#ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj[#ubah}(h ]h"]jah$]h&]h(]uh*jhj7#ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj3#ubj)}(h$max_mismatches: Optional[int] = Noneh](j)}(hmax_mismatchesh]hmax_mismatches}(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhj~#ubj)}(h:h]h:}(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhj~#ubh }(hhhj~#ubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhj#ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj#ubj)}(h[h]h[}(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhj#ubh)}(hhh]hint}(hhhj#ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj#ubj)}(h]h]h]}(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhj#ubeh}(h ]h"]jah$]h&]h(]uh*jhj~#ubh }(hhhj~#ubjZ)}(h=h]h=}(hhhj#ubah}(h ]h"]jfah$]h&]h(]uh*jYhj~#ubh }(hhhj~#ubjo)}(hNoneh]hNone}(hhhj$ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj~#ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj3#ubj)}(h*h]jZ)}(h*h]h*}(hhhj$ubah}(h ]h"]jfah$]h&]h(]uh*jYhj$ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj3#ubj)}(hmaxMismatches: int = 1h](j)}(h maxMismatchesh]h maxMismatches}(hhhj5$ubah}(h ]h"]jah$]h&]h(]uh*jhj1$ubj)}(h:h]h:}(hhhjC$ubah}(h ]h"]jah$]h&]h(]uh*jhj1$ubh }(hhhj1$ubj)}(hinth]h)}(hhh]hint}(hhhjY$ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjU$ubah}(h ]h"]jah$]h&]h(]uh*jhj1$ubh }(hhhj1$ubjZ)}(h=h]h=}(hhhjv$ubah}(h ]h"]jfah$]h&]h(]uh*jYhj1$ubh }(hhhj1$ubjo)}(h1h]h1}(hhhj$ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj1$ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj3#ubj)}(hcaseless=Falseh](j)}(hcaselessh]hcaseless}(hhhj$ubah}(h ]h"]jah$]h&]h(]uh*jhj$ubjZ)}(h=h]h=}(hhhj$ubah}(h ]h"]jfah$]h&]h(]uh*jYhj$ubjo)}(hFalseh]hFalse}(hhhj$ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj$ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj3#ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj#hhhj#hNubeh}(h ]j"ah"]h$]h&]h(]j pyparsingjhjj'#uh*jWhj#hKhj#hhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hj$hhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hj$h]hpyparsing.core.Token}(hhhj$ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj$ubah}(h ]h"]h$]h&]h(]refdoch refdomainj$reftypeclass refexplicitrefwarnhj$hj'#hpyparsing.core.Tokenuh*h~h^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CloseMatchhKhj$ubeh}(h ]h"]h$]h&]h(]uh*hPhj %hKhj$hhubhQ)}(hA variation on :class:`Literal` which matches "close" matches, that is, strings with at most 'n' mismatching characters. :class:`CloseMatch` takes parameters:h](hA variation on }(hA variation on hj%hhhNhNubh)}(h:class:`Literal`h]hj)}(hj%h]hLiteral}(hhhj%ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj%ubah}(h ]h"]h$]h&]h(]refdoch refdomainj)%reftypeclass refexplicitrefwarnhj$hj'#hLiteraluh*h~h^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CloseMatchhKhj%ubhb which matches “close” matches, that is, strings with at most ‘n’ mismatching characters. }(hZ which matches "close" matches, that is, strings with at most 'n' mismatching characters. hj%hhhNhNubh)}(h:class:`CloseMatch`h]hj)}(hjC%h]h CloseMatch}(hhhjE%ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjA%ubah}(h ]h"]h$]h&]h(]refdoch refdomainjO%reftypeclass refexplicitrefwarnhj$hj'#h CloseMatchuh*h~hj;%hKhj%ubh takes parameters:}(h takes parameters:hj%hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj;%hKhj$hhubj)}(hhh](j)}(h'``match_string`` - string to be matchedh]hQ)}(hjq%h](hj)}(h``match_string``h]h match_string}(hhhjv%ubah}(h ]h"]h$]h&]h(]uh*hihjs%ubh - string to be matched}(h - string to be matchedhjs%ubeh}(h ]h"]h$]h&]h(]uh*hPhj;%hKhjo%ubah}(h ]h"]h$]h&]h(]uh*jhjl%hhhj;%hNubj)}(hV``caseless`` - a boolean indicating whether to ignore casing when comparing charactersh]hQ)}(hj%h](hj)}(h ``caseless``h]hcaseless}(hhhj%ubah}(h ]h"]h$]h&]h(]uh*hihj%ubhJ - a boolean indicating whether to ignore casing when comparing characters}(hJ - a boolean indicating whether to ignore casing when comparing charactershj%ubeh}(h ]h"]h$]h&]h(]uh*hPhj;%hKhj%ubah}(h ]h"]h$]h&]h(]uh*jhjl%hhhj;%hNubj)}(h^``max_mismatches`` - (``default=1``) maximum number of mismatches allowed to count as a match h]hQ)}(h]``max_mismatches`` - (``default=1``) maximum number of mismatches allowed to count as a matchh](hj)}(h``max_mismatches``h]hmax_mismatches}(hhhj%ubah}(h ]h"]h$]h&]h(]uh*hihj%ubh - (}(h - (hj%ubhj)}(h ``default=1``h]h default=1}(hhhj%ubah}(h ]h"]h$]h&]h(]uh*hihj%ubh:) maximum number of mismatches allowed to count as a match}(h:) maximum number of mismatches allowed to count as a matchhj%ubeh}(h ]h"]h$]h&]h(]uh*hPhj;%hKhj%ubah}(h ]h"]h$]h&]h(]uh*jhjl%hhhj;%hNubeh}(h ]h"]h$]h&]h(]jjuh*jhj;%hKhj$hhubhQ)}(hxThe results from a successful parse will contain the matched text from the input string and the following named results:h]hxThe results from a successful parse will contain the matched text from the input string and the following named results:}(hj%hj%hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj;%hK hj$hhubj)}(hhh](j)}(h\``mismatches`` - a list of the positions within the match_string where mismatches were foundh]hQ)}(h\``mismatches`` - a list of the positions within the match_string where mismatches were foundh](hj)}(h``mismatches``h]h mismatches}(hhhj&ubah}(h ]h"]h$]h&]h(]uh*hihj&ubhN - a list of the positions within the match_string where mismatches were found}(hN - a list of the positions within the match_string where mismatches were foundhj&ubeh}(h ]h"]h$]h&]h(]uh*hPhj;%hK hj &ubah}(h ]h"]h$]h&]h(]uh*jhj &hhhj;%hNubj)}(hR``original`` - the original match_string used to compare against the input string h]hQ)}(hQ``original`` - the original match_string used to compare against the input stringh](hj)}(h ``original``h]horiginal}(hhhj;&ubah}(h ]h"]h$]h&]h(]uh*hihj7&ubhE - the original match_string used to compare against the input string}(hE - the original match_string used to compare against the input stringhj7&ubeh}(h ]h"]h$]h&]h(]uh*hPhj;%hKhj3&ubah}(h ]h"]h$]h&]h(]uh*jhj &hhhj;%hNubeh}(h ]h"]h$]h&]h(]jjuh*jhj;%hK hj$hhubhQ)}(hFIf ``mismatches`` is an empty list, then the match was an exact match.h](hIf }(hIf hj`&hhhNhNubhj)}(h``mismatches``h]h mismatches}(hhhji&ubah}(h ]h"]h$]h&]h(]uh*hihj`&ubh5 is an empty list, then the match was an exact match.}(h5 is an empty list, then the match was an exact match.hj`&hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj;%hKhj$hhubhQ)}(h Example::h]hExample:}(hExample:hj&hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj;%hKhj$hhubjk)}(hXlpatt = CloseMatch("ATCATCGAATGGA") patt.parse_string("ATCATCGAAXGGA") # -> (['ATCATCGAAXGGA'], {'mismatches': [[9]], 'original': ['ATCATCGAATGGA']}) patt.parse_string("ATCAXCGAAXGGA") # -> Exception: Expected 'ATCATCGAATGGA' (with up to 1 mismatches) (at char 0), (line:1, col:1) # exact match patt.parse_string("ATCATCGAATGGA") # -> (['ATCATCGAATGGA'], {'mismatches': [[]], 'original': ['ATCATCGAATGGA']}) # close match allowing up to 2 mismatches patt = CloseMatch("ATCATCGAATGGA", max_mismatches=2) patt.parse_string("ATCAXCGAAXGGA") # -> (['ATCAXCGAAXGGA'], {'mismatches': [[4, 9]], 'original': ['ATCATCGAATGGA']})h]hXlpatt = CloseMatch("ATCATCGAATGGA") patt.parse_string("ATCATCGAAXGGA") # -> (['ATCATCGAAXGGA'], {'mismatches': [[9]], 'original': ['ATCATCGAATGGA']}) patt.parse_string("ATCAXCGAAXGGA") # -> Exception: Expected 'ATCATCGAATGGA' (with up to 1 mismatches) (at char 0), (line:1, col:1) # exact match patt.parse_string("ATCATCGAATGGA") # -> (['ATCATCGAATGGA'], {'mismatches': [[]], 'original': ['ATCATCGAATGGA']}) # close match allowing up to 2 mismatches patt = CloseMatch("ATCATCGAATGGA", max_mismatches=2) patt.parse_string("ATCAXCGAAXGGA") # -> (['ATCAXCGAAXGGA'], {'mismatches': [[4, 9]], 'original': ['ATCATCGAATGGA']})}(hhhj&ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj;%hKhj$hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(__init__() (pyparsing.CloseMatch method)pyparsing.CloseMatch.__init__hNtauh*h,hj$hhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CloseMatch.__init__hNubjS)}(hhh](jX)}(hwCloseMatch.__init__(match_string: str, max_mismatches: Optional[int] = None, *, maxMismatches: int = 1, caseless=False)h](j)}(h__init__h]h__init__}(hhhj&hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj&hhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CloseMatch.__init__hNubj)}(hbmatch_string: str, max_mismatches: Optional[int] = None, *, maxMismatches: int = 1, caseless=Falseh](j)}(hmatch_string: strh](j)}(h match_stringh]h match_string}(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhj&ubj)}(h:h]h:}(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhj&ubh }(hhhj&ubj)}(hstrh]h)}(hhh]hstr}(hhhj&ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej$py:classj'#uh*h~hj&ubah}(h ]h"]jah$]h&]h(]uh*jhj&ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj&ubj)}(h$max_mismatches: Optional[int] = Noneh](j)}(hmax_mismatchesh]hmax_mismatches}(hhhj'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubj)}(h:h]h:}(hhhj!'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubh }(hhhj'ubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhj7'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulej$py:classj'#uh*h~hj3'ubj)}(h[h]h[}(hhhjJ'ubah}(h ]h"]jah$]h&]h(]uh*jhj3'ubh)}(hhh]hint}(hhhjX'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulej$py:classj'#uh*h~hj3'ubj)}(h]h]h]}(hhhjk'ubah}(h ]h"]jah$]h&]h(]uh*jhj3'ubeh}(h ]h"]jah$]h&]h(]uh*jhj'ubh }(hhhj'ubjZ)}(h=h]h=}(hhhj'ubah}(h ]h"]jfah$]h&]h(]uh*jYhj'ubh }(hhhj'ubjo)}(hNoneh]hNone}(hhhj'ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj'ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj&ubj)}(h*h]jZ)}(h*h]h*}(hhhj'ubah}(h ]h"]jfah$]h&]h(]uh*jYhj'ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj&ubj)}(hmaxMismatches: int = 1h](j)}(h maxMismatchesh]h maxMismatches}(hhhj'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubj)}(h:h]h:}(hhhj'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubh }(hhhj'ubj)}(hinth]h)}(hhh]hint}(hhhj'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulej$py:classj'#uh*h~hj'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubh }(hhhj'ubjZ)}(h=h]h=}(hhhj(ubah}(h ]h"]jfah$]h&]h(]uh*jYhj'ubh }(hhhj'ubjo)}(h1h]h1}(hhhj(ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj'ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj&ubj)}(hcaseless=Falseh](j)}(hcaselessh]hcaseless}(hhhj2(ubah}(h ]h"]jah$]h&]h(]uh*jhj.(ubjZ)}(h=h]h=}(hhhj@(ubah}(h ]h"]jfah$]h&]h(]uh*jYhj.(ubjo)}(hFalseh]hFalse}(hhhjN(ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj.(ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj&ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj&hhhj&hNubeh}(h ]j&ah"]h$]h&]h(]j pyparsingjj'#jCloseMatch.__init__uh*jWhj&hKhj&hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjv(hjt(hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj&hKhjq(hhubah}(h ]h"]h$]h&]h(]uh*jhj&hhhj&hNubeh}(h ]h"]pyah$]h&]h(]jy j(jz methodj| j(j} uh*jRhhhj$hj&hNubeh}(h ]h"]h$]h&]h(]uh*jhj#hhhj#hNubeh}(h ]h"]pyah$]h&]h(]jy j(jz classj| j(j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNCombine (class in pyparsing)pyparsing.CombinehNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h~Combine(expr: pyparsing.core.ParserElement, join_string: str = '', adjacent: bool = True, *, joinString: Optional[str] = None)h](j^)}(hclass h]hclass }(hhhj(hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj(hhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CombinehNubjo)}(h pyparsing.h]h pyparsing.}(hhhj(hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj(hhhj(hNubj)}(hCombineh]hCombine}(hhhj(hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj(hhhj(hNubj)}(huexpr: pyparsing.core.ParserElement, join_string: str = '', adjacent: bool = True, *, joinString: Optional[str] = Noneh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhj(ubah}(h ]h"]jah$]h&]h(]uh*jhj(ubj)}(h:h]h:}(hhhj(ubah}(h ]h"]jah$]h&]h(]uh*jhj(ubh }(hhhj(ubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj )ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj)ubah}(h ]h"]jah$]h&]h(]uh*jhj(ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj(ubj)}(hjoin_string: str = ''h](j)}(h join_stringh]h join_string}(hhhj-)ubah}(h ]h"]jah$]h&]h(]uh*jhj))ubj)}(h:h]h:}(hhhj;)ubah}(h ]h"]jah$]h&]h(]uh*jhj))ubh }(hhhj))ubj)}(hstrh]h)}(hhh]hstr}(hhhjQ)ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjM)ubah}(h ]h"]jah$]h&]h(]uh*jhj))ubh }(hhhj))ubjZ)}(h=h]h=}(hhhjn)ubah}(h ]h"]jfah$]h&]h(]uh*jYhj))ubh }(hhhj))ubjo)}(h''h]h''}(hhhj)ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj))ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj(ubj)}(hadjacent: bool = Trueh](j)}(hadjacenth]hadjacent}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h:h]h:}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh }(hhhj)ubj)}(hboolh]h)}(hhh]hbool}(hhhj)ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj)ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh }(hhhj)ubjZ)}(h=h]h=}(hhhj)ubah}(h ]h"]jfah$]h&]h(]uh*jYhj)ubh }(hhhj)ubjo)}(hTrueh]hTrue}(hhhj)ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj)ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj(ubj)}(h*h]jZ)}(h*h]h*}(hhhj*ubah}(h ]h"]jfah$]h&]h(]uh*jYhj*ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj(ubj)}(h joinString: Optional[str] = Noneh](j)}(h joinStringh]h joinString}(hhhj*ubah}(h ]h"]jah$]h&]h(]uh*jhj*ubj)}(h:h]h:}(hhhj+*ubah}(h ]h"]jah$]h&]h(]uh*jhj*ubh }(hhhj*ubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjA*ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj=*ubj)}(h[h]h[}(hhhjT*ubah}(h ]h"]jah$]h&]h(]uh*jhj=*ubh)}(hhh]hstr}(hhhjb*ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj=*ubj)}(h]h]h]}(hhhju*ubah}(h ]h"]jah$]h&]h(]uh*jhj=*ubeh}(h ]h"]jah$]h&]h(]uh*jhj*ubh }(hhhj*ubjZ)}(h=h]h=}(hhhj*ubah}(h ]h"]jfah$]h&]h(]uh*jYhj*ubh }(hhhj*ubjo)}(hNoneh]hNone}(hhhj*ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj*ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj(ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj(hhhj(hNubeh}(h ]j(ah"]h$]h&]h(]j pyparsingjhjj(uh*jWhj(hKhj(hhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.core.TokenConverter`h](hBases: }(hBases: hj*hhhNhNubh)}(h&:class:`pyparsing.core.TokenConverter`h]hj)}(hj*h]hpyparsing.core.TokenConverter}(hhhj*ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj*ubah}(h ]h"]h$]h&]h(]refdoch refdomainj*reftypeclass refexplicitrefwarnhj*hj(hpyparsing.core.TokenConverteruh*h~h[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CombinehKhj*ubeh}(h ]h"]h$]h&]h(]uh*hPhj*hKhj*hhubhQ)}(hConverter to concatenate all matching tokens to a single string. By default, the matching patterns must also be contiguous in the input string; this can be disabled by specifying ``'adjacent=False'`` in the constructor.h](hConverter to concatenate all matching tokens to a single string. By default, the matching patterns must also be contiguous in the input string; this can be disabled by specifying }(hConverter to concatenate all matching tokens to a single string. By default, the matching patterns must also be contiguous in the input string; this can be disabled by specifying hj*hhhNhNubhj)}(h``'adjacent=False'``h]h'adjacent=False'}(hhhj*ubah}(h ]h"]h$]h&]h(]uh*hihj*ubh in the constructor.}(h in the constructor.hj*hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.CombinehKhj*hhubhQ)}(h Example::h]hExample:}(hExample:hj+hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj+hKhj*hhubjk)}(hXreal = Word(nums) + '.' + Word(nums) print(real.parse_string('3.1416')) # -> ['3', '.', '1416'] # will also erroneously match the following print(real.parse_string('3. 1416')) # -> ['3', '.', '1416'] real = Combine(Word(nums) + '.' + Word(nums)) print(real.parse_string('3.1416')) # -> ['3.1416'] # no match when there are internal spaces print(real.parse_string('3. 1416')) # -> Exception: Expected W:(0123...)h]hXreal = Word(nums) + '.' + Word(nums) print(real.parse_string('3.1416')) # -> ['3', '.', '1416'] # will also erroneously match the following print(real.parse_string('3. 1416')) # -> ['3', '.', '1416'] real = Combine(Word(nums) + '.' + Word(nums)) print(real.parse_string('3.1416')) # -> ['3.1416'] # no match when there are internal spaces print(real.parse_string('3. 1416')) # -> Exception: Expected W:(0123...)}(hhhj&+ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj+hKhj*hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%__init__() (pyparsing.Combine method)pyparsing.Combine.__init__hNtauh*h,hj*hhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Combine.__init__hNubjS)}(hhh](jX)}(hCombine.__init__(expr: pyparsing.core.ParserElement, join_string: str = '', adjacent: bool = True, *, joinString: Optional[str] = None)h](j)}(h__init__h]h__init__}(hhhjJ+hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjF+hhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Combine.__init__hNubj)}(huexpr: pyparsing.core.ParserElement, join_string: str = '', adjacent: bool = True, *, joinString: Optional[str] = Noneh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhja+ubah}(h ]h"]jah$]h&]h(]uh*jhj]+ubj)}(h:h]h:}(hhhjo+ubah}(h ]h"]jah$]h&]h(]uh*jhj]+ubh }(hhhj]+ubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj+ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej*py:classj(uh*h~hj+ubah}(h ]h"]jah$]h&]h(]uh*jhj]+ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjY+ubj)}(hjoin_string: str = ''h](j)}(h join_stringh]h join_string}(hhhj+ubah}(h ]h"]jah$]h&]h(]uh*jhj+ubj)}(h:h]h:}(hhhj+ubah}(h ]h"]jah$]h&]h(]uh*jhj+ubh }(hhhj+ubj)}(hstrh]h)}(hhh]hstr}(hhhj+ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej*py:classj(uh*h~hj+ubah}(h ]h"]jah$]h&]h(]uh*jhj+ubh }(hhhj+ubjZ)}(h=h]h=}(hhhj+ubah}(h ]h"]jfah$]h&]h(]uh*jYhj+ubh }(hhhj+ubjo)}(h''h]h''}(hhhj+ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj+ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjY+ubj)}(hadjacent: bool = Trueh](j)}(hadjacenth]hadjacent}(hhhj,ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubj)}(h:h]h:}(hhhj",ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh }(hhhj,ubj)}(hboolh]h)}(hhh]hbool}(hhhj8,ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej*py:classj(uh*h~hj4,ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh }(hhhj,ubjZ)}(h=h]h=}(hhhjU,ubah}(h ]h"]jfah$]h&]h(]uh*jYhj,ubh }(hhhj,ubjo)}(hTrueh]hTrue}(hhhjg,ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj,ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjY+ubj)}(h*h]jZ)}(h*h]h*}(hhhj,ubah}(h ]h"]jfah$]h&]h(]uh*jYhj|,ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjY+ubj)}(h joinString: Optional[str] = Noneh](j)}(h joinStringh]h joinString}(hhhj,ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubj)}(h:h]h:}(hhhj,ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh }(hhhj,ubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj,ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulej*py:classj(uh*h~hj,ubj)}(h[h]h[}(hhhj,ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh)}(hhh]hstr}(hhhj,ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej*py:classj(uh*h~hj,ubj)}(h]h]h]}(hhhj,ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubeh}(h ]h"]jah$]h&]h(]uh*jhj,ubh }(hhhj,ubjZ)}(h=h]h=}(hhhj-ubah}(h ]h"]jfah$]h&]h(]uh*jYhj,ubh }(hhhj,ubjo)}(hNoneh]hNone}(hhhj-ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj,ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjY+ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjF+hhhjX+hNubeh}(h ]j@+ah"]h$]h&]h(]j pyparsingjj(jCombine.__init__uh*jWhjX+hKhjC+hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjB-hj@-hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjB+hKhj=-hhubah}(h ]h"]h$]h&]h(]uh*jhjC+hhhjX+hNubeh}(h ]h"]pyah$]h&]h(]jy jW-jz methodj| j[-j} uh*jRhhhj*hjB+hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#ignore() (pyparsing.Combine method)pyparsing.Combine.ignorehNtauh*h,hj*hhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Combine.ignorehNubjS)}(hhh](jX)}(h5Combine.ignore(other) -> pyparsing.core.ParserElementh](j)}(hignoreh]hignore}(hhhjr-hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjn-hhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Combine.ignorehNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhj-ubah}(h ]h"]jah$]h&]h(]uh*jhj-ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj-ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjn-hhhj-hNubh desc_returns)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj-ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej*py:classj(uh*h~hj-ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjn-hhhj-hNubeh}(h ]jh-ah"]h$]h&]h(]j pyparsingjj(jCombine.ignoreuh*jWhj-hKhjk-hhubj)}(hhh](hQ)}(hDefine expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.h]hDefine expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.}(hj-hj-hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjj-hKhj-hhubhQ)}(h Example::h]hExample:}(hExample:hj-hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjj-hKhj-hhubjk)}(hpatt = Word(alphas)[1, ...] patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj'] patt.ignore(c_style_comment) patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj', 'lskjd']h]hpatt = Word(alphas)[1, ...] patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj'] patt.ignore(c_style_comment) patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj', 'lskjd']}(hhhj-ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjj-hKhj-hhubeh}(h ]h"]h$]h&]h(]uh*jhjk-hhhj-hNubeh}(h ]h"]pyah$]h&]h(]jy j.jz methodj| j.j} uh*jRhhhj*hjj-hNubeh}(h ]h"]h$]h&]h(]uh*jhj(hhhj(hNubeh}(h ]h"]pyah$]h&]h(]jy j.jz classj| j.j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNDict (class in pyparsing)pyparsing.DicthNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h>Dict(expr: pyparsing.core.ParserElement, asdict: bool = False)h](j^)}(hclass h]hclass }(hhhj).hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj%.hhhX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.DicthNubjo)}(h pyparsing.h]h pyparsing.}(hhhj8.hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj%.hhhj7.hNubj)}(hDicth]hDict}(hhhjF.hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj%.hhhj7.hNubj)}(h8expr: pyparsing.core.ParserElement, asdict: bool = Falseh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhj\.ubah}(h ]h"]jah$]h&]h(]uh*jhjX.ubj)}(h:h]h:}(hhhjj.ubah}(h ]h"]jah$]h&]h(]uh*jhjX.ubh }(hhhjX.ubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj|.ubah}(h ]h"]jah$]h&]h(]uh*jhjX.ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjT.ubj)}(hasdict: bool = Falseh](j)}(hasdicth]hasdict}(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhj.ubj)}(h:h]h:}(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhj.ubh }(hhhj.ubj)}(hboolh]h)}(hhh]hbool}(hhhj.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj.ubah}(h ]h"]jah$]h&]h(]uh*jhj.ubh }(hhhj.ubjZ)}(h=h]h=}(hhhj.ubah}(h ]h"]jfah$]h&]h(]uh*jYhj.ubh }(hhhj.ubjo)}(hFalseh]hFalse}(hhhj.ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj.ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjT.ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj%.hhhj7.hNubeh}(h ]j .ah"]h$]h&]h(]j pyparsingjhjjH.uh*jWhj7.hKhj".hhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.core.TokenConverter`h](hBases: }(hBases: hj/hhhNhNubh)}(h&:class:`pyparsing.core.TokenConverter`h]hj)}(hj&/h]hpyparsing.core.TokenConverter}(hhhj(/ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj$/ubah}(h ]h"]h$]h&]h(]refdoch refdomainj2/reftypeclass refexplicitrefwarnhj/hjH.hpyparsing.core.TokenConverteruh*h~hX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.DicthKhj/ubeh}(h ]h"]h$]h&]h(]uh*hPhjD/hKhj/hhubhQ)}(hConverter to return a repetitive expression as a list, but also as a dictionary. Each element can also be referenced using the first token in the expression as its key. Useful for tabular report scraping when the first column can be used as a item key.h]hConverter to return a repetitive expression as a list, but also as a dictionary. Each element can also be referenced using the first token in the expression as its key. Useful for tabular report scraping when the first column can be used as a item key.}(hjM/hjK/hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.DicthKhj/hhubhQ)}(hThe optional ``asdict`` argument when set to True will return the parsed tokens as a Python dict instead of a pyparsing ParseResults.h](h The optional }(h The optional hjZ/hhhNhNubhj)}(h ``asdict``h]hasdict}(hhhjc/ubah}(h ]h"]h$]h&]h(]uh*hihjZ/ubhn argument when set to True will return the parsed tokens as a Python dict instead of a pyparsing ParseResults.}(hn argument when set to True will return the parsed tokens as a Python dict instead of a pyparsing ParseResults.hjZ/hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjY/hKhj/hhubhQ)}(h Example::h]hExample:}(hExample:hj|/hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjY/hK hj/hhubjk)}(hX_data_word = Word(alphas) label = data_word + FollowedBy(':') text = "shape: SQUARE posn: upper left color: light blue texture: burlap" attr_expr = (label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) # print attributes as plain groups print(attr_expr[1, ...].parse_string(text).dump()) # instead of OneOrMore(expr), parse using Dict(Group(expr)[1, ...]) - Dict will auto-assign names result = Dict(Group(attr_expr)[1, ...]).parse_string(text) print(result.dump()) # access named fields as dict entries, or output as dict print(result['shape']) print(result.as_dict())h]hX_data_word = Word(alphas) label = data_word + FollowedBy(':') text = "shape: SQUARE posn: upper left color: light blue texture: burlap" attr_expr = (label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) # print attributes as plain groups print(attr_expr[1, ...].parse_string(text).dump()) # instead of OneOrMore(expr), parse using Dict(Group(expr)[1, ...]) - Dict will auto-assign names result = Dict(Group(attr_expr)[1, ...]).parse_string(text) print(result.dump()) # access named fields as dict entries, or output as dict print(result['shape']) print(result.as_dict())}(hhhj/ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjY/hK hj/hhubhQ)}(hprints::h]hprints:}(hprints:hj/hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjY/hKhj/hhubjk)}(hXa['shape', 'SQUARE', 'posn', 'upper left', 'color', 'light blue', 'texture', 'burlap'] [['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'light blue'], ['texture', 'burlap']] - color: 'light blue' - posn: 'upper left' - shape: 'SQUARE' - texture: 'burlap' SQUARE {'color': 'light blue', 'posn': 'upper left', 'texture': 'burlap', 'shape': 'SQUARE'}h]hXa['shape', 'SQUARE', 'posn', 'upper left', 'color', 'light blue', 'texture', 'burlap'] [['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'light blue'], ['texture', 'burlap']] - color: 'light blue' - posn: 'upper left' - shape: 'SQUARE' - texture: 'burlap' SQUARE {'color': 'light blue', 'posn': 'upper left', 'texture': 'burlap', 'shape': 'SQUARE'}}(hhhj/ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjY/hKhj/hhubhQ)}(hOSee more examples at :class:`ParseResults` of accessing fields by results name.h](hSee more examples at }(hSee more examples at hj/hhhNhNubh)}(h:class:`ParseResults`h]hj)}(hj/h]h ParseResults}(hhhj/ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj/ubah}(h ]h"]h$]h&]h(]refdoch refdomainj/reftypeclass refexplicitrefwarnhj/hjH.h ParseResultsuh*h~hjY/hK'hj/ubh% of accessing fields by results name.}(h% of accessing fields by results name.hj/hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjY/hK'hj/hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN"__init__() (pyparsing.Dict method)pyparsing.Dict.__init__hNtauh*h,hj/hhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Dict.__init__hNubjS)}(hhh](jX)}(hGDict.__init__(expr: pyparsing.core.ParserElement, asdict: bool = False)h](j)}(h__init__h]h__init__}(hhhj0hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj/hhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Dict.__init__hNubj)}(h8expr: pyparsing.core.ParserElement, asdict: bool = Falseh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhj0ubah}(h ]h"]jah$]h&]h(]uh*jhj0ubj)}(h:h]h:}(hhhj%0ubah}(h ]h"]jah$]h&]h(]uh*jhj0ubh }(hhhj0ubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj;0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej/py:classjH.uh*h~hj70ubah}(h ]h"]jah$]h&]h(]uh*jhj0ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj0ubj)}(hasdict: bool = Falseh](j)}(hasdicth]hasdict}(hhhj^0ubah}(h ]h"]jah$]h&]h(]uh*jhjZ0ubj)}(h:h]h:}(hhhjl0ubah}(h ]h"]jah$]h&]h(]uh*jhjZ0ubh }(hhhjZ0ubj)}(hboolh]h)}(hhh]hbool}(hhhj0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej/py:classjH.uh*h~hj~0ubah}(h ]h"]jah$]h&]h(]uh*jhjZ0ubh }(hhhjZ0ubjZ)}(h=h]h=}(hhhj0ubah}(h ]h"]jfah$]h&]h(]uh*jYhjZ0ubh }(hhhjZ0ubjo)}(hFalseh]hFalse}(hhhj0ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjZ0ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj0ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/hhhj0hNubeh}(h ]j/ah"]h$]h&]h(]j pyparsingjjH.j Dict.__init__uh*jWhj0hKhj/hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj0hj0hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj/hKhj0hhubah}(h ]h"]h$]h&]h(]uh*jhj/hhhj0hNubeh}(h ]h"]pyah$]h&]h(]jy j0jz methodj| j0j} uh*jRhhhj/hj/hNubeh}(h ]h"]h$]h&]h(]uh*jhj".hhhj7.hNubeh}(h ]h"]pyah$]h&]h(]jy j0jz classj| j1j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNEach (class in pyparsing)pyparsing.EachhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hJEach(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = True)h](j^)}(hclass h]hclass }(hhhj1hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj1hhhX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.EachhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj%1hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj1hhhj$1hNubj)}(hEachh]hEach}(hhhj31hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj1hhhj$1hNubj)}(hDexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = Trueh](j)}(h-exprs: Iterable[pyparsing.core.ParserElement]h](j)}(hexprsh]hexprs}(hhhjI1ubah}(h ]h"]jah$]h&]h(]uh*jhjE1ubj)}(h:h]h:}(hhhjW1ubah}(h ]h"]jah$]h&]h(]uh*jhjE1ubh }(hhhjE1ubj)}(h&Iterable[pyparsing.core.ParserElement]h](h)}(hhh]hIterable}(hhhjm1ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetIterable py:modulehpy:classNuh*h~hji1ubj)}(h[h]h[}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhji1ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj1ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hji1ubj)}(h]h]h]}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhji1ubeh}(h ]h"]jah$]h&]h(]uh*jhjE1ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjA1ubj)}(hsavelist: bool = Trueh](j)}(hsavelisth]hsavelist}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubj)}(h:h]h:}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubh }(hhhj1ubj)}(hboolh]h)}(hhh]hbool}(hhhj1ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubh }(hhhj1ubjZ)}(h=h]h=}(hhhj2ubah}(h ]h"]jfah$]h&]h(]uh*jYhj1ubh }(hhhj1ubjo)}(hTrueh]hTrue}(hhhj2ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj1ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjA1ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj1hhhj$1hNubeh}(h ]j 1ah"]h$]h&]h(]j pyparsingjhjj51uh*jWhj$1hKhj1hhubj)}(hhh](hQ)}(h.Bases: :class:`pyparsing.core.ParseExpression`h](hBases: }(hBases: hj72hhhNhNubh)}(h':class:`pyparsing.core.ParseExpression`h]hj)}(hjB2h]hpyparsing.core.ParseExpression}(hhhjD2ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj@2ubah}(h ]h"]h$]h&]h(]refdoch refdomainjN2reftypeclass refexplicitrefwarnhj32hj51hpyparsing.core.ParseExpressionuh*h~hX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.EachhKhj72ubeh}(h ]h"]h$]h&]h(]uh*hPhj`2hKhj42hhubhQ)}(hxRequires all given :class:`ParseExpression` s to be found, but in any order. Expressions may be separated by whitespace.h](hRequires all given }(hRequires all given hjg2hhhNhNubh)}(h:class:`ParseExpression`h]hj)}(hjr2h]hParseExpression}(hhhjt2ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjp2ubah}(h ]h"]h$]h&]h(]refdoch refdomainj~2reftypeclass refexplicitrefwarnhj32hj51hParseExpressionuh*h~hX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.EachhKhjg2ubhM s to be found, but in any order. Expressions may be separated by whitespace.}(hM s to be found, but in any order. Expressions may be separated by whitespace.hjg2hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj2hKhj42hhubhQ)}(h.May be constructed using the ``'&'`` operator.h](hMay be constructed using the }(hMay be constructed using the hj2hhhNhNubhj)}(h``'&'``h]h'&'}(hhhj2ubah}(h ]h"]h$]h&]h(]uh*hihj2ubh operator.}(h operator.hj2hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj2hKhj42hhubhQ)}(h Example::h]hExample:}(hExample:hj2hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj2hKhj42hhubjk)}(hXcolor = one_of("RED ORANGE YELLOW GREEN BLUE PURPLE BLACK WHITE BROWN") shape_type = one_of("SQUARE CIRCLE TRIANGLE STAR HEXAGON OCTAGON") integer = Word(nums) shape_attr = "shape:" + shape_type("shape") posn_attr = "posn:" + Group(integer("x") + ',' + integer("y"))("posn") color_attr = "color:" + color("color") size_attr = "size:" + integer("size") # use Each (using operator '&') to accept attributes in any order # (shape and posn are required, color and size are optional) shape_spec = shape_attr & posn_attr & Opt(color_attr) & Opt(size_attr) shape_spec.run_tests(''' shape: SQUARE color: BLACK posn: 100, 120 shape: CIRCLE size: 50 color: BLUE posn: 50,80 color:GREEN size:20 shape:TRIANGLE posn:20,40 ''' )h]hXcolor = one_of("RED ORANGE YELLOW GREEN BLUE PURPLE BLACK WHITE BROWN") shape_type = one_of("SQUARE CIRCLE TRIANGLE STAR HEXAGON OCTAGON") integer = Word(nums) shape_attr = "shape:" + shape_type("shape") posn_attr = "posn:" + Group(integer("x") + ',' + integer("y"))("posn") color_attr = "color:" + color("color") size_attr = "size:" + integer("size") # use Each (using operator '&') to accept attributes in any order # (shape and posn are required, color and size are optional) shape_spec = shape_attr & posn_attr & Opt(color_attr) & Opt(size_attr) shape_spec.run_tests(''' shape: SQUARE color: BLACK posn: 100, 120 shape: CIRCLE size: 50 color: BLUE posn: 50,80 color:GREEN size:20 shape:TRIANGLE posn:20,40 ''' )}(hhhj2ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj2hKhj42hhubhQ)}(hprints::h]hprints:}(hprints:hj2hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj2hKhj42hhubjk)}(hX}shape: SQUARE color: BLACK posn: 100, 120 ['shape:', 'SQUARE', 'color:', 'BLACK', 'posn:', ['100', ',', '120']] - color: BLACK - posn: ['100', ',', '120'] - x: 100 - y: 120 - shape: SQUARE shape: CIRCLE size: 50 color: BLUE posn: 50,80 ['shape:', 'CIRCLE', 'size:', '50', 'color:', 'BLUE', 'posn:', ['50', ',', '80']] - color: BLUE - posn: ['50', ',', '80'] - x: 50 - y: 80 - shape: CIRCLE - size: 50 color: GREEN size: 20 shape: TRIANGLE posn: 20,40 ['color:', 'GREEN', 'size:', '20', 'shape:', 'TRIANGLE', 'posn:', ['20', ',', '40']] - color: GREEN - posn: ['20', ',', '40'] - x: 20 - y: 40 - shape: TRIANGLE - size: 20h]hX}shape: SQUARE color: BLACK posn: 100, 120 ['shape:', 'SQUARE', 'color:', 'BLACK', 'posn:', ['100', ',', '120']] - color: BLACK - posn: ['100', ',', '120'] - x: 100 - y: 120 - shape: SQUARE shape: CIRCLE size: 50 color: BLUE posn: 50,80 ['shape:', 'CIRCLE', 'size:', '50', 'color:', 'BLUE', 'posn:', ['50', ',', '80']] - color: BLUE - posn: ['50', ',', '80'] - x: 50 - y: 80 - shape: CIRCLE - size: 50 color: GREEN size: 20 shape: TRIANGLE posn: 20,40 ['color:', 'GREEN', 'size:', '20', 'shape:', 'TRIANGLE', 'posn:', ['20', ',', '40']] - color: GREEN - posn: ['20', ',', '40'] - x: 20 - y: 40 - shape: TRIANGLE - size: 20}(hhhj2ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj2hKhj42hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN"__init__() (pyparsing.Each method)pyparsing.Each.__init__hNtauh*h,hj42hhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Each.__init__hNubjS)}(hhh](jX)}(hSEach.__init__(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = True)h](j)}(h__init__h]h__init__}(hhhj3hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj 3hhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Each.__init__hNubj)}(hDexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = Trueh](j)}(h-exprs: Iterable[pyparsing.core.ParserElement]h](j)}(hexprsh]hexprs}(hhhj%3ubah}(h ]h"]jah$]h&]h(]uh*jhj!3ubj)}(h:h]h:}(hhhj33ubah}(h ]h"]jah$]h&]h(]uh*jhj!3ubh }(hhhj!3ubj)}(h&Iterable[pyparsing.core.ParserElement]h](h)}(hhh]hIterable}(hhhjI3ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetIterable py:modulej32py:classj51uh*h~hjE3ubj)}(h[h]h[}(hhhj\3ubah}(h ]h"]jah$]h&]h(]uh*jhjE3ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjj3ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej32py:classj51uh*h~hjE3ubj)}(h]h]h]}(hhhj}3ubah}(h ]h"]jah$]h&]h(]uh*jhjE3ubeh}(h ]h"]jah$]h&]h(]uh*jhj!3ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj3ubj)}(hsavelist: bool = Trueh](j)}(hsavelisth]hsavelist}(hhhj3ubah}(h ]h"]jah$]h&]h(]uh*jhj3ubj)}(h:h]h:}(hhhj3ubah}(h ]h"]jah$]h&]h(]uh*jhj3ubh }(hhhj3ubj)}(hboolh]h)}(hhh]hbool}(hhhj3ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej32py:classj51uh*h~hj3ubah}(h ]h"]jah$]h&]h(]uh*jhj3ubh }(hhhj3ubjZ)}(h=h]h=}(hhhj3ubah}(h ]h"]jfah$]h&]h(]uh*jYhj3ubh }(hhhj3ubjo)}(hTrueh]hTrue}(hhhj3ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj3ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj3ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj 3hhhj3hNubeh}(h ]j3ah"]h$]h&]h(]j pyparsingjj51j Each.__init__uh*jWhj3hKhj3hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj4hj4hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj3hKhj4hhubah}(h ]h"]h$]h&]h(]uh*jhj3hhhj3hNubeh}(h ]h"]pyah$]h&]h(]jy j+4jz methodj| j/4j} uh*jRhhhj42hj3hNubeh}(h ]h"]h$]h&]h(]uh*jhj1hhhj$1hNubeh}(h ]h"]pyah$]h&]h(]jy j94jz classj| j=4j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNEmpty (class in pyparsing)pyparsing.EmptyhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hEmpty()h](j^)}(hclass h]hclass }(hhhjS4hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjO4hhhY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.EmptyhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjb4hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjO4hhhja4hNubj)}(hEmptyh]hEmpty}(hhhjp4hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjO4hhhja4hNubeh}(h ]jJ4ah"]h$]h&]h(]j pyparsingjhjjr4uh*jWhja4hKhjL4hhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hj4hhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hj4h]hpyparsing.core.Token}(hhhj4ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj4ubah}(h ]h"]h$]h&]h(]refdoch refdomainj4reftypeclass refexplicitrefwarnhj4hjr4hpyparsing.core.Tokenuh*h~hY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.EmptyhKhj4ubeh}(h ]h"]h$]h&]h(]uh*hPhj4hKhj4hhubhQ)}(h"An empty token, will always match.h]h"An empty token, will always match.}(hj4hj4hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.EmptyhKhj4hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#__init__() (pyparsing.Empty method)pyparsing.Empty.__init__hNtauh*h,hj4hhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Empty.__init__hNubjS)}(hhh](jX)}(hEmpty.__init__()h](j)}(h__init__h]h__init__}(hhhj4hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj4hhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Empty.__init__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj4hhhj4hNubeh}(h ]j4ah"]h$]h&]h(]j pyparsingjjr4jEmpty.__init__uh*jWhj4hKhj4hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj5hj5hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj4hKhj4hhubah}(h ]h"]h$]h&]h(]uh*jhj4hhhj4hNubeh}(h ]h"]pyah$]h&]h(]jy j5jz methodj| j5j} uh*jRhhhj4hj4hNubeh}(h ]h"]h$]h&]h(]uh*jhjL4hhhja4hNubeh}(h ]h"]pyah$]h&]h(]jy j&5jz classj| j*5j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNFollowedBy (class in pyparsing)pyparsing.FollowedByhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h:FollowedBy(expr: Union[pyparsing.core.ParserElement, str])h](j^)}(hclass h]hclass }(hhhj@5hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj<5hhh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.FollowedByhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjO5hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj<5hhhjN5hNubj)}(h FollowedByh]h FollowedBy}(hhhj]5hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj<5hhhjN5hNubj)}(h.expr: Union[pyparsing.core.ParserElement, str]h]j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhjs5ubah}(h ]h"]jah$]h&]h(]uh*jhjo5ubj)}(h:h]h:}(hhhj5ubah}(h ]h"]jah$]h&]h(]uh*jhjo5ubh }(hhhjo5ubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj5ubj)}(h[h]h[}(hhhj5ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj5ubj)}(h, h]h, }(hhhj5ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hstr}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj5ubj)}(h]h]h]}(hhhj5ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubeh}(h ]h"]jah$]h&]h(]uh*jhjo5ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjk5ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj<5hhhjN5hNubeh}(h ]j75ah"]h$]h&]h(]j pyparsingjhjj_5uh*jWhjN5hKhj95hhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hj6hhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hj!6h]h"pyparsing.core.ParseElementEnhance}(hhhj#6ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj6ubah}(h ]h"]h$]h&]h(]refdoch refdomainj-6reftypeclass refexplicitrefwarnhj6hj_5h"pyparsing.core.ParseElementEnhanceuh*h~h^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.FollowedByhKhj6ubeh}(h ]h"]h$]h&]h(]uh*hPhj?6hKhj6hhubhQ)}(hXtLookahead matching of the given parse expression. ``FollowedBy`` does *not* advance the parsing position within the input string, it only verifies that the specified parse expression matches at the current position. ``FollowedBy`` always returns a null token list. If any results names are defined in the lookahead expression, those *will* be returned for access by name.h](h2Lookahead matching of the given parse expression. }(h2Lookahead matching of the given parse expression. hjF6hhhNhNubhj)}(h``FollowedBy``h]h FollowedBy}(hhhjO6ubah}(h ]h"]h$]h&]h(]uh*hihjF6ubh does }(h does hjF6hhhNhNubj)}(h*not*h]hnot}(hhhjb6ubah}(h ]h"]h$]h&]h(]uh*jhjF6ubh advance the parsing position within the input string, it only verifies that the specified parse expression matches at the current position. }(h advance the parsing position within the input string, it only verifies that the specified parse expression matches at the current position. hjF6hhhNhNubhj)}(h``FollowedBy``h]h FollowedBy}(hhhju6ubah}(h ]h"]h$]h&]h(]uh*hihjF6ubhg always returns a null token list. If any results names are defined in the lookahead expression, those }(hg always returns a null token list. If any results names are defined in the lookahead expression, those hjF6hhhNhNubj)}(h*will*h]hwill}(hhhj6ubah}(h ]h"]h$]h&]h(]uh*jhjF6ubh be returned for access by name.}(h be returned for access by name.hjF6hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.FollowedByhKhj6hhubhQ)}(h Example::h]hExample:}(hExample:hj6hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj6hK hj6hhubjk)}(hX@# use FollowedBy to match a label only if it is followed by a ':' data_word = Word(alphas) label = data_word + FollowedBy(':') attr_expr = Group(label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) attr_expr[1, ...].parse_string("shape: SQUARE color: BLACK posn: upper left").pprint()h]hX@# use FollowedBy to match a label only if it is followed by a ':' data_word = Word(alphas) label = data_word + FollowedBy(':') attr_expr = Group(label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) attr_expr[1, ...].parse_string("shape: SQUARE color: BLACK posn: upper left").pprint()}(hhhj6ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj6hK hj6hhubhQ)}(hprints::h]hprints:}(hprints:hj6hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj6hKhj6hhubjk)}(hA[['shape', 'SQUARE'], ['color', 'BLACK'], ['posn', 'upper left']]h]hA[['shape', 'SQUARE'], ['color', 'BLACK'], ['posn', 'upper left']]}(hhhj6ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj6hKhj6hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(__init__() (pyparsing.FollowedBy method)pyparsing.FollowedBy.__init__hNtauh*h,hj6hhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.FollowedBy.__init__hNubjS)}(hhh](jX)}(hCFollowedBy.__init__(expr: Union[pyparsing.core.ParserElement, str])h](j)}(h__init__h]h__init__}(hhhj6hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj6hhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.FollowedBy.__init__hNubj)}(h.expr: Union[pyparsing.core.ParserElement, str]h]j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhj 7ubah}(h ]h"]jah$]h&]h(]uh*jhj7ubj)}(h:h]h:}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj7ubh }(hhhj7ubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhj-7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulej6py:classj_5uh*h~hj)7ubj)}(h[h]h[}(hhhj@7ubah}(h ]h"]jah$]h&]h(]uh*jhj)7ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjN7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej6py:classj_5uh*h~hj)7ubj)}(h, h]h, }(hhhja7ubah}(h ]h"]jah$]h&]h(]uh*jhj)7ubh)}(hhh]hstr}(hhhjo7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej6py:classj_5uh*h~hj)7ubj)}(h]h]h]}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj)7ubeh}(h ]h"]jah$]h&]h(]uh*jhj7ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj7ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj6hhhj7hNubeh}(h ]j6ah"]h$]h&]h(]j pyparsingjj_5jFollowedBy.__init__uh*jWhj7hKhj6hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj7hj7hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj6hKhj7hhubah}(h ]h"]h$]h&]h(]uh*jhj6hhhj7hNubeh}(h ]h"]pyah$]h&]h(]jy j7jz methodj| j7j} uh*jRhhhj6hj6hNubeh}(h ]h"]h$]h&]h(]uh*jhj95hhhjN5hNubeh}(h ]h"]pyah$]h&]h(]jy j7jz classj| j7j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNForward (class in pyparsing)pyparsing.ForwardhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hIForward(other: Optional[Union[pyparsing.core.ParserElement, str]] = None)h](j^)}(hclass h]hclass }(hhhj7hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj7hhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ForwardhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj7hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj7hhhj7hNubj)}(hForwardh]hForward}(hhhj 8hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj7hhhj7hNubj)}(h@other: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh]j)}(h@other: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(hotherh]hother}(hhhj8ubah}(h ]h"]jah$]h&]h(]uh*jhj8ubj)}(h:h]h:}(hhhj-8ubah}(h ]h"]jah$]h&]h(]uh*jhj8ubh }(hhhj8ubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhjC8ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj?8ubj)}(h[h]h[}(hhhjV8ubah}(h ]h"]jah$]h&]h(]uh*jhj?8ubh)}(hhh]hUnion}(hhhjd8ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj?8ubj)}(h[h]h[}(hhhjw8ubah}(h ]h"]jah$]h&]h(]uh*jhj?8ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj8ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj?8ubj)}(h, h]h, }(hhhj8ubah}(h ]h"]jah$]h&]h(]uh*jhj?8ubh)}(hhh]hstr}(hhhj8ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj?8ubj)}(h]h]h]}(hhhj8ubah}(h ]h"]jah$]h&]h(]uh*jhj?8ubj)}(h]h]h]}(hhhj8ubah}(h ]h"]jah$]h&]h(]uh*jhj?8ubeh}(h ]h"]jah$]h&]h(]uh*jhj8ubh }(hhhj8ubjZ)}(h=h]h=}(hhhj8ubah}(h ]h"]jfah$]h&]h(]uh*jYhj8ubh }(hhhj8ubjo)}(hNoneh]hNone}(hhhj8ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj8ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj8ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj7hhhj7hNubeh}(h ]j7ah"]h$]h&]h(]j pyparsingjhjj 8uh*jWhj7hKhj7hhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hj9hhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hj!9h]h"pyparsing.core.ParseElementEnhance}(hhhj#9ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj9ubah}(h ]h"]h$]h&]h(]refdoch refdomainj-9reftypeclass refexplicitrefwarnhj9hj 8h"pyparsing.core.ParseElementEnhanceuh*h~h[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ForwardhKhj9ubeh}(h ]h"]h$]h&]h(]uh*hPhj?9hKhj9hhubhQ)}(hForward declaration of an expression to be defined later - used for recursive grammars, such as algebraic infix notation. When the expression is known, it is assigned to the ``Forward`` variable using the ``'<<'`` operator.h](hForward declaration of an expression to be defined later - used for recursive grammars, such as algebraic infix notation. When the expression is known, it is assigned to the }(hForward declaration of an expression to be defined later - used for recursive grammars, such as algebraic infix notation. When the expression is known, it is assigned to the hjF9hhhNhNubhj)}(h ``Forward``h]hForward}(hhhjO9ubah}(h ]h"]h$]h&]h(]uh*hihjF9ubh variable using the }(h variable using the hjF9hhhNhNubhj)}(h``'<<'``h]h'<<'}(hhhjb9ubah}(h ]h"]h$]h&]h(]uh*hihjF9ubh operator.}(h operator.hjF9hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ForwardhKhj9hhubhQ)}(hVNote: take care when assigning to ``Forward`` not to overlook precedence of operators.h](h"Note: take care when assigning to }(h"Note: take care when assigning to hj|9hhhNhNubhj)}(h ``Forward``h]hForward}(hhhj9ubah}(h ]h"]h$]h&]h(]uh*hihj|9ubh) not to overlook precedence of operators.}(h) not to overlook precedence of operators.hj|9hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj{9hKhj9hhubhQ)}(hESpecifically, ``'|'`` has a lower precedence than ``'<<'``, so that::h](hSpecifically, }(hSpecifically, hj9hhhNhNubhj)}(h``'|'``h]h'|'}(hhhj9ubah}(h ]h"]h$]h&]h(]uh*hihj9ubh has a lower precedence than }(h has a lower precedence than hj9hhhNhNubhj)}(h``'<<'``h]h'<<'}(hhhj9ubah}(h ]h"]h$]h&]h(]uh*hihj9ubh , so that:}(h , so that:hj9hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj{9hK hj9hhubjk)}(hfwd_expr << a | b | ch]hfwd_expr << a | b | c}(hhhj9ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj{9hK hj9hhubhQ)}(hwill actually be evaluated as::h]hwill actually be evaluated as:}(hwill actually be evaluated as:hj9hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj{9hK hj9hhubjk)}(h(fwd_expr << a) | b | ch]h(fwd_expr << a) | b | c}(hhhj9ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj{9hKhj9hhubhQ)}(hthereby leaving b and c out as parseable alternatives. It is recommended that you explicitly group the values inserted into the ``Forward``::h](hthereby leaving b and c out as parseable alternatives. It is recommended that you explicitly group the values inserted into the }(hthereby leaving b and c out as parseable alternatives. It is recommended that you explicitly group the values inserted into the hj9hhhNhNubhj)}(h ``Forward``h]hForward}(hhhj:ubah}(h ]h"]h$]h&]h(]uh*hihj9ubh:}(h:hj9hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj{9hKhj9hhubjk)}(hfwd_expr << (a | b | c)h]hfwd_expr << (a | b | c)}(hhhj :ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj{9hKhj9hhubhQ)}(hIConverting to use the ``'<<='`` operator instead will avoid this problem.h](hConverting to use the }(hConverting to use the hj.:hhhNhNubhj)}(h ``'<<='``h]h'<<='}(hhhj7:ubah}(h ]h"]h$]h&]h(]uh*hihj.:ubh* operator instead will avoid this problem.}(h* operator instead will avoid this problem.hj.:hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj{9hKhj9hhubhQ)}(h`See :class:`ParseResults.pprint` for an example of a recursive parser created using ``Forward``.h](hSee }(hSee hjP:hhhNhNubh)}(h:class:`ParseResults.pprint`h]hj)}(hj[:h]hParseResults.pprint}(hhhj]:ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjY:ubah}(h ]h"]h$]h&]h(]refdoch refdomainjg:reftypeclass refexplicitrefwarnhj9hj 8hParseResults.pprintuh*h~hj{9hKhjP:ubh4 for an example of a recursive parser created using }(h4 for an example of a recursive parser created using hjP:hhhNhNubhj)}(h ``Forward``h]hForward}(hhhj~:ubah}(h ]h"]h$]h&]h(]uh*hihjP:ubh.}(hjhjP:hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj{9hKhj9hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%__init__() (pyparsing.Forward method)pyparsing.Forward.__init__hNtauh*h,hj9hhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.__init__hNubjS)}(hhh](jX)}(hRForward.__init__(other: Optional[Union[pyparsing.core.ParserElement, str]] = None)h](j)}(h__init__h]h__init__}(hhhj:hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj:hhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.__init__hNubj)}(h@other: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh]j)}(h@other: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(hotherh]hother}(hhhj:ubah}(h ]h"]jah$]h&]h(]uh*jhj:ubj)}(h:h]h:}(hhhj:ubah}(h ]h"]jah$]h&]h(]uh*jhj:ubh }(hhhj:ubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhj:ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulej9py:classj 8uh*h~hj:ubj)}(h[h]h[}(hhhj:ubah}(h ]h"]jah$]h&]h(]uh*jhj:ubh)}(hhh]hUnion}(hhhj;ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulej9py:classj 8uh*h~hj:ubj)}(h[h]h[}(hhhj;ubah}(h ]h"]jah$]h&]h(]uh*jhj:ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj);ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej9py:classj 8uh*h~hj:ubj)}(h, h]h, }(hhhj<;ubah}(h ]h"]jah$]h&]h(]uh*jhj:ubh)}(hhh]hstr}(hhhjJ;ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej9py:classj 8uh*h~hj:ubj)}(h]h]h]}(hhhj];ubah}(h ]h"]jah$]h&]h(]uh*jhj:ubj)}(h]h]h]}(hhhjk;ubah}(h ]h"]jah$]h&]h(]uh*jhj:ubeh}(h ]h"]jah$]h&]h(]uh*jhj:ubh }(hhhj:ubjZ)}(h=h]h=}(hhhj;ubah}(h ]h"]jfah$]h&]h(]uh*jYhj:ubh }(hhhj:ubjo)}(hNoneh]hNone}(hhhj;ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj:ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj:ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj:hhhj:hNubeh}(h ]j:ah"]h$]h&]h(]j pyparsingjj 8jForward.__init__uh*jWhj:hKhj:hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj;hj;hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj:hKhj;hhubah}(h ]h"]h$]h&]h(]uh*jhj:hhhj:hNubeh}(h ]h"]pyah$]h&]h(]jy j;jz methodj| j;j} uh*jRhhhj9hj:hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#__or__() (pyparsing.Forward method)pyparsing.Forward.__or__hNtauh*h,hj9hhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.__or__hNubjS)}(hhh](jX)}(hForward.__or__(other)h](j)}(h__or__h]h__or__}(hhhj;hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj;hhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.__or__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhj<ubah}(h ]h"]jah$]h&]h(]uh*jhj<ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj;ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj;hhhj;hNubeh}(h ]j;ah"]h$]h&]h(]j pyparsingjj 8jForward.__or__uh*jWhj;hKhj;hhubj)}(hhh]hQ)}(h>Implementation of ``|`` operator - returns :class:`MatchFirst`h](hImplementation of }(hImplementation of hj)<hhhNhNubhj)}(h``|``h]h|}(hhhj2<ubah}(h ]h"]h$]h&]h(]uh*hihj)<ubh operator - returns }(h operator - returns hj)<hhhNhNubh)}(h:class:`MatchFirst`h]hj)}(hjG<h]h MatchFirst}(hhhjI<ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjE<ubah}(h ]h"]h$]h&]h(]refdoch refdomainjS<reftypeclass refexplicitrefwarnhj$<hj 8h MatchFirstuh*h~hj;hKhj)<ubeh}(h ]h"]h$]h&]h(]uh*hPhj;hKhj&<hhubah}(h ]h"]h$]h&]h(]uh*jhj;hhhj;hNubeh}(h ]h"]pyah$]h&]h(]jy jt<jz methodj| jx<j} uh*jRhhhj9hj;hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN!copy() (pyparsing.Forward method)pyparsing.Forward.copyhNtauh*h,hj9hhh`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.copyhNubjS)}(hhh](jX)}(h.Forward.copy() -> pyparsing.core.ParserElementh](j)}(hcopyh]hcopy}(hhhj<hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj<hhh`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.copyhNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj<hhhj<hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj<ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej9py:classj 8uh*h~hj<ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj<hhhj<hNubeh}(h ]j<ah"]h$]h&]h(]j pyparsingjj 8j Forward.copyuh*jWhj<hKhj<hhubj)}(hhh](hQ)}(hMake a copy of this :class:`ParserElement`. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.h](hMake a copy of this }(hMake a copy of this hj<hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hj<h]h ParserElement}(hhhj<ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj<ubah}(h ]h"]h$]h&]h(]refdoch refdomainj<reftypeclass refexplicitrefwarnhj<hj 8h ParserElementuh*h~hj<hKhj<ubhx. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.}(hx. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.hj<hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj<hKhj<hhubhQ)}(h Example::h]hExample:}(hExample:hj=hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj<hKhj<hhubjk)}(hXHinteger = Word(nums).set_parse_action(lambda toks: int(toks[0])) integerK = integer.copy().add_parse_action(lambda toks: toks[0] * 1024) + Suppress("K") integerM = integer.copy().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M") print((integerK | integerM | integer)[1, ...].parse_string("5K 100 640K 256M"))h]hXHinteger = Word(nums).set_parse_action(lambda toks: int(toks[0])) integerK = integer.copy().add_parse_action(lambda toks: toks[0] * 1024) + Suppress("K") integerM = integer.copy().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M") print((integerK | integerM | integer)[1, ...].parse_string("5K 100 640K 256M"))}(hhhj=ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj<hKhj<hhubhQ)}(hprints::h]hprints:}(hprints:hj!=hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj<hK hj<hhubjk)}(h[5120, 100, 655360, 268435456]h]h[5120, 100, 655360, 268435456]}(hhhj0=ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj<hKhj<hhubhQ)}(h7Equivalent form of ``expr.copy()`` is just ``expr()``::h](hEquivalent form of }(hEquivalent form of hj>=hhhNhNubhj)}(h``expr.copy()``h]h expr.copy()}(hhhjG=ubah}(h ]h"]h$]h&]h(]uh*hihj>=ubh is just }(h is just hj>=hhhNhNubhj)}(h ``expr()``h]hexpr()}(hhhjZ=ubah}(h ]h"]h$]h&]h(]uh*hihj>=ubh:}(hj:hj>=hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj<hKhj<hhubjk)}(hYintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")h]hYintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")}(hhhjr=ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj<hKhj<hhubeh}(h ]h"]h$]h&]h(]uh*jhj<hhhj<hNubeh}(h ]h"]pyah$]h&]h(]jy j=jz methodj| j=j} uh*jRhhhj9hj<hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-ignoreWhitespace() (pyparsing.Forward method)"pyparsing.Forward.ignoreWhitespacehNtauh*h,hj9hhhNhNubjS)}(hhh](jX)}(hPForward.ignoreWhitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hignoreWhitespaceh]hignoreWhitespace}(hhhj=hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj=hhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.ignore_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhj=ubah}(h ]h"]jah$]h&]h(]uh*jhj=ubj)}(h:h]h:}(hhhj=ubah}(h ]h"]jah$]h&]h(]uh*jhj=ubh }(hhhj=ubj)}(hboolh]h)}(hhh]hbool}(hhhj=ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej9py:classj 8uh*h~hj=ubah}(h ]h"]jah$]h&]h(]uh*jhj=ubh }(hhhj=ubjZ)}(h=h]h=}(hhhj=ubah}(h ]h"]jfah$]h&]h(]uh*jYhj=ubh }(hhhj=ubjo)}(hTrueh]hTrue}(hhhj >ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj=ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj=ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj=hhhj=hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj,>ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej9py:classj 8uh*h~hj(>ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj=hhhj=hNubeh}(h ]j=ah"]h$]h&]h(]j pyparsingjj 8jForward.ignoreWhitespaceuh*jWhj=hKhj=hhubj)}(hhh](hQ)}(hrEnables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern.h](hIEnables the skipping of whitespace before matching the characters in the }(hIEnables the skipping of whitespace before matching the characters in the hjP>hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hj[>h]h ParserElement}(hhhj]>ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjY>ubah}(h ]h"]h$]h&]h(]refdoch refdomainjg>reftypeclass refexplicitrefwarnhjK>hj 8h ParserElementuh*h~hm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.ignore_whitespacehKhjP>ubh’s defined pattern.}(h's defined pattern.hjP>hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjy>hKhjM>hhubh field_list)}(hhh]h field)}(hhh](h field_name)}(h Parametersh]h Parameters}(hhhj>ubah}(h ]h"]h$]h&]h(]uh*j>hj>hj=hKubh field_body)}(hhh]hQ)}(h^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)h](hliteral_strong)}(h recursiveh]h recursive}(hhhj>ubah}(h ]h"]h$]h&]h(] refspecifichjK>hj 8uh*j>hj>ubh – }(hhhj>ubhIf }(hIf hj>hhhNhNubhj)}(h``True``h]hTrue}(hhhj>hhhNhNubah}(h ]h"]h$]h&]h(]uh*hihj>hhhNhNubhJ (the default), also enable whitespace skipping in child elements (if any)}(hJ (the default), also enable whitespace skipping in child elements (if any)hj>hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj>ubah}(h ]h"]h$]h&]h(]uh*j>hj>ubeh}(h ]h"]h$]h&]h(]uh*j>hj>ubah}(h ]h"]h$]h&]h(]uh*j>hjM>hhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhj=hhhj=hNubeh}(h ]h"]pyah$]h&]h(]jy j>jz methodj| j>j} uh*jRhhhj9hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN.ignore_whitespace() (pyparsing.Forward method)#pyparsing.Forward.ignore_whitespacehNtauh*h,hj9hhhNhNubjS)}(hhh](jX)}(hQForward.ignore_whitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hignore_whitespaceh]hignore_whitespace}(hhhj?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj ?hhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.ignore_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhj'?ubah}(h ]h"]jah$]h&]h(]uh*jhj#?ubj)}(h:h]h:}(hhhj5?ubah}(h ]h"]jah$]h&]h(]uh*jhj#?ubh }(hhhj#?ubj)}(hboolh]h)}(hhh]hbool}(hhhjK?ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej9py:classj 8uh*h~hjG?ubah}(h ]h"]jah$]h&]h(]uh*jhj#?ubh }(hhhj#?ubjZ)}(h=h]h=}(hhhjh?ubah}(h ]h"]jfah$]h&]h(]uh*jYhj#?ubh }(hhhj#?ubjo)}(hTrueh]hTrue}(hhhjz?ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj#?ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj?ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ?hhhj?hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj?ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej9py:classj 8uh*h~hj?ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj ?hhhj?hNubeh}(h ]j?ah"]h$]h&]h(]j pyparsingjj 8jForward.ignore_whitespaceuh*jWhj?hKhj ?hhubj)}(hhh](hQ)}(hrEnables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern.h](hIEnables the skipping of whitespace before matching the characters in the }(hIEnables the skipping of whitespace before matching the characters in the hj?hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hj?h]h ParserElement}(hhhj?ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj?ubah}(h ]h"]h$]h&]h(]refdoch refdomainj?reftypeclass refexplicitrefwarnhj?hj 8h ParserElementuh*h~hm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.ignore_whitespacehKhj?ubh’s defined pattern.}(h's defined pattern.hj?hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj?hKhj?hhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhj?ubah}(h ]h"]h$]h&]h(]uh*j>hj?hj?hKubj>)}(hhh]hQ)}(h^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhj @ubah}(h ]h"]h$]h&]h(]j>hj?hj 8uh*j>hj @ubh – }(hhhj @ubhIf }(hIf hj @hhhNhNubhj)}(h``True``h]hTrue}(hhhj$@hhhNhNubah}(h ]h"]h$]h&]h(]uh*hihj @hhhNhNubhJ (the default), also enable whitespace skipping in child elements (if any)}(hJ (the default), also enable whitespace skipping in child elements (if any)hj @hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj@ubah}(h ]h"]h$]h&]h(]uh*j>hj?ubeh}(h ]h"]h$]h&]h(]uh*j>hj?ubah}(h ]h"]h$]h&]h(]uh*j>hj?hhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhj ?hhhj?hNubeh}(h ]h"]pyah$]h&]h(]jy jX@jz methodj| j\@j} uh*jRhhhj9hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN,leaveWhitespace() (pyparsing.Forward method)!pyparsing.Forward.leaveWhitespacehNtauh*h,hj9hhhNhNubjS)}(hhh](jX)}(hOForward.leaveWhitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hleaveWhitespaceh]hleaveWhitespace}(hhhjr@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjn@hhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.leave_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhj@ubah}(h ]h"]jah$]h&]h(]uh*jhj@ubj)}(h:h]h:}(hhhj@ubah}(h ]h"]jah$]h&]h(]uh*jhj@ubh }(hhhj@ubj)}(hboolh]h)}(hhh]hbool}(hhhj@ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej9py:classj 8uh*h~hj@ubah}(h ]h"]jah$]h&]h(]uh*jhj@ubh }(hhhj@ubjZ)}(h=h]h=}(hhhj@ubah}(h ]h"]jfah$]h&]h(]uh*jYhj@ubh }(hhhj@ubjo)}(hTrueh]hTrue}(hhhj@ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj@ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj@ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjn@hhhj@hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj@ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej9py:classj 8uh*h~hj@ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjn@hhhj@hNubeh}(h ]ji@ah"]h$]h&]h(]j pyparsingjj 8jForward.leaveWhitespaceuh*jWhj@hKhjk@hhubj)}(hhh](hQ)}(hDisables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.h](hJDisables the skipping of whitespace before matching the characters in the }(hJDisables the skipping of whitespace before matching the characters in the hjAhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hj*Ah]h ParserElement}(hhhj,Aubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj(Aubah}(h ]h"]h$]h&]h(]refdoch refdomainj6Areftypeclass refexplicitrefwarnhjAhj 8h ParserElementuh*h~hl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.leave_whitespacehKhjAubh’s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.}(h's defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.hjAhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjHAhKhjAhhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhjZAubah}(h ]h"]h$]h&]h(]uh*j>hjWAhj@hKubj>)}(hhh]hQ)}(h_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhjoAubah}(h ]h"]h$]h&]h(]j>hjAhj 8uh*j>hjkAubh – }(hhhjkAubhRIf true (the default), also disable whitespace skipping in child elements (if any)}(hRIf true (the default), also disable whitespace skipping in child elements (if any)hjkAhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhAubah}(h ]h"]h$]h&]h(]uh*j>hjWAubeh}(h ]h"]h$]h&]h(]uh*j>hjTAubah}(h ]h"]h$]h&]h(]uh*j>hjAhhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhjk@hhhj@hNubeh}(h ]h"]pyah$]h&]h(]jy jAjz methodj| jAj} uh*jRhhhj9hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-leave_whitespace() (pyparsing.Forward method)"pyparsing.Forward.leave_whitespacehNtauh*h,hj9hhhNhNubjS)}(hhh](jX)}(hPForward.leave_whitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hleave_whitespaceh]hleave_whitespace}(hhhjAhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjAhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.leave_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhjAubah}(h ]h"]jah$]h&]h(]uh*jhjAubj)}(h:h]h:}(hhhjAubah}(h ]h"]jah$]h&]h(]uh*jhjAubh }(hhhjAubj)}(hboolh]h)}(hhh]hbool}(hhhjAubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej9py:classj 8uh*h~hjAubah}(h ]h"]jah$]h&]h(]uh*jhjAubh }(hhhjAubjZ)}(h=h]h=}(hhhjBubah}(h ]h"]jfah$]h&]h(]uh*jYhjAubh }(hhhjAubjo)}(hTrueh]hTrue}(hhhj+Bubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjAubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjAubah}(h ]h"]h$]h&]h(]jzj{uh*jhjAhhhjAhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjJBubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej9py:classj 8uh*h~hjFBubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjAhhhjAhNubeh}(h ]jAah"]h$]h&]h(]j pyparsingjj 8jForward.leave_whitespaceuh*jWhjAhKhjAhhubj)}(hhh](hQ)}(hDisables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.h](hJDisables the skipping of whitespace before matching the characters in the }(hJDisables the skipping of whitespace before matching the characters in the hjnBhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjyBh]h ParserElement}(hhhj{Bubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjwBubah}(h ]h"]h$]h&]h(]refdoch refdomainjBreftypeclass refexplicitrefwarnhjiBhj 8h ParserElementuh*h~hl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.leave_whitespacehKhjnBubh’s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.}(h's defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.hjnBhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjBhKhjkBhhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhjBubah}(h ]h"]h$]h&]h(]uh*j>hjBhjAhKubj>)}(hhh]hQ)}(h_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhjBubah}(h ]h"]h$]h&]h(]j>hjiBhj 8uh*j>hjBubh – }(hhhjBubhRIf true (the default), also disable whitespace skipping in child elements (if any)}(hRIf true (the default), also disable whitespace skipping in child elements (if any)hjBhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjBubah}(h ]h"]h$]h&]h(]uh*j>hjBubeh}(h ]h"]h$]h&]h(]uh*j>hjBubah}(h ]h"]h$]h&]h(]uh*j>hjkBhhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhjAhhhjAhNubeh}(h ]h"]pyah$]h&]h(]jy jBjz methodj| jBj} uh*jRhhhj9hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%validate() (pyparsing.Forward method)pyparsing.Forward.validatehNtauh*h,hj9hhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.validatehNubjS)}(hhh](jX)}(h,Forward.validate(validateTrace=None) -> Noneh](j)}(hvalidateh]hvalidate}(hhhjChhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj Chhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Forward.validatehNubj)}(hvalidateTrace=Noneh]j)}(hvalidateTrace=Noneh](j)}(h validateTraceh]h validateTrace}(hhhj(Cubah}(h ]h"]jah$]h&]h(]uh*jhj$CubjZ)}(h=h]h=}(hhhj6Cubah}(h ]h"]jfah$]h&]h(]uh*jYhj$Cubjo)}(hNoneh]hNone}(hhhjDCubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj$Cubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj Cubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ChhhjChNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjcCubah}(h ]h"]h$]h&]h(] refdomainjreftypeobj reftargetNone py:modulej9py:classj 8uh*h~hj_Cubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj ChhhjChNubeh}(h ]jCah"]h$]h&]h(]j pyparsingjj 8jForward.validateuh*jWhjChKhj Chhubj)}(hhh]hQ)}(hXCheck defined expressions for valid structure, check for infinite recursive definitions.h]hXCheck defined expressions for valid structure, check for infinite recursive definitions.}(hjChjChhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj ChKhjChhubah}(h ]h"]h$]h&]h(]uh*jhj ChhhjChNubeh}(h ]h"]pyah$]h&]h(]jy jCjz methodj| jCj} uh*jRhhhj9hj ChNubeh}(h ]h"]h$]h&]h(]uh*jhj7hhhj7hNubeh}(h ]h"]pyah$]h&]h(]jy jCjz classj| jCj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNGoToColumn (class in pyparsing)pyparsing.GoToColumnhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hGoToColumn(colno: int)h](j^)}(hclass h]hclass }(hhhjChhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjChhh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.GoToColumnhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjChhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjChhhjChNubj)}(h GoToColumnh]h GoToColumn}(hhhjChhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjChhhjChNubj)}(h colno: inth]j)}(h colno: inth](j)}(hcolnoh]hcolno}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhjCubj)}(h:h]h:}(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhjCubh }(hhhjCubj)}(hinth]h)}(hhh]hint}(hhhjDubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjDubah}(h ]h"]jah$]h&]h(]uh*jhjCubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjCubah}(h ]h"]h$]h&]h(]jzj{uh*jhjChhhjChNubeh}(h ]jCah"]h$]h&]h(]j pyparsingjhjjCuh*jWhjChKhjChhubj)}(hhh](hQ)}(h,Bases: :class:`pyparsing.core.PositionToken`h](hBases: }(hBases: hjMDhhhNhNubh)}(h%:class:`pyparsing.core.PositionToken`h]hj)}(hjXDh]hpyparsing.core.PositionToken}(hhhjZDubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjVDubah}(h ]h"]h$]h&]h(]refdoch refdomainjdDreftypeclass refexplicitrefwarnhjIDhjChpyparsing.core.PositionTokenuh*h~h^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.GoToColumnhKhjMDubeh}(h ]h"]h$]h&]h(]uh*hPhjvDhKhjJDhhubhQ)}(hXToken to advance to a specific column of input text; useful for tabular report scraping.h]hXToken to advance to a specific column of input text; useful for tabular report scraping.}(hjDhj}DhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.GoToColumnhKhjJDhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(__init__() (pyparsing.GoToColumn method)pyparsing.GoToColumn.__init__hNtauh*h,hjJDhhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.GoToColumn.__init__hNubjS)}(hhh](jX)}(hGoToColumn.__init__(colno: int)h](j)}(h__init__h]h__init__}(hhhjDhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjDhhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.GoToColumn.__init__hNubj)}(h colno: inth]j)}(h colno: inth](j)}(hcolnoh]hcolno}(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhjDubj)}(h:h]h:}(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhjDubh }(hhhjDubj)}(hinth]h)}(hhh]hint}(hhhjDubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejIDpy:classjCuh*h~hjDubah}(h ]h"]jah$]h&]h(]uh*jhjDubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjDubah}(h ]h"]h$]h&]h(]jzj{uh*jhjDhhhjDhNubeh}(h ]jDah"]h$]h&]h(]j pyparsingjjCjGoToColumn.__init__uh*jWhjDhKhjDhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjEhj EhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjDhKhj Ehhubah}(h ]h"]h$]h&]h(]uh*jhjDhhhjDhNubeh}(h ]h"]pyah$]h&]h(]jy j$Ejz methodj| j(Ej} uh*jRhhhjJDhjDhNubeh}(h ]h"]h$]h&]h(]uh*jhjChhhjChNubeh}(h ]h"]pyah$]h&]h(]jy j2Ejz classj| j6Ej} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNGroup (class in pyparsing)pyparsing.GrouphNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h?Group(expr: pyparsing.core.ParserElement, aslist: bool = False)h](j^)}(hclass h]hclass }(hhhjLEhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjHEhhhY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.GrouphNubjo)}(h pyparsing.h]h pyparsing.}(hhhj[EhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjHEhhhjZEhNubj)}(hGrouph]hGroup}(hhhjiEhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjHEhhhjZEhNubj)}(h8expr: pyparsing.core.ParserElement, aslist: bool = Falseh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhj{Eubj)}(h:h]h:}(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhj{Eubh }(hhhj{Eubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjEubah}(h ]h"]jah$]h&]h(]uh*jhj{Eubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjwEubj)}(haslist: bool = Falseh](j)}(haslisth]haslist}(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhjEubj)}(h:h]h:}(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhjEubh }(hhhjEubj)}(hboolh]h)}(hhh]hbool}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjEubah}(h ]h"]jah$]h&]h(]uh*jhjEubh }(hhhjEubjZ)}(h=h]h=}(hhhjFubah}(h ]h"]jfah$]h&]h(]uh*jYhjEubh }(hhhjEubjo)}(hFalseh]hFalse}(hhhjFubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjEubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjwEubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjHEhhhjZEhNubeh}(h ]jCEah"]h$]h&]h(]j pyparsingjhjjkEuh*jWhjZEhKhjEEhhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.core.TokenConverter`h](hBases: }(hBases: hj>FhhhNhNubh)}(h&:class:`pyparsing.core.TokenConverter`h]hj)}(hjIFh]hpyparsing.core.TokenConverter}(hhhjKFubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjGFubah}(h ]h"]h$]h&]h(]refdoch refdomainjUFreftypeclass refexplicitrefwarnhj:FhjkEhpyparsing.core.TokenConverteruh*h~hY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.GrouphKhj>Fubeh}(h ]h"]h$]h&]h(]uh*hPhjgFhKhj;FhhubhQ)}(hConverter to return the matched tokens as a list - useful for returning tokens of :class:`ZeroOrMore` and :class:`OneOrMore` expressions.h](hRConverter to return the matched tokens as a list - useful for returning tokens of }(hRConverter to return the matched tokens as a list - useful for returning tokens of hjnFhhhNhNubh)}(h:class:`ZeroOrMore`h]hj)}(hjyFh]h ZeroOrMore}(hhhj{Fubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjwFubah}(h ]h"]h$]h&]h(]refdoch refdomainjFreftypeclass refexplicitrefwarnhj:FhjkEh ZeroOrMoreuh*h~hY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.GrouphKhjnFubh and }(h and hjnFhhhNhNubh)}(h:class:`OneOrMore`h]hj)}(hjFh]h OneOrMore}(hhhjFubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjFubah}(h ]h"]h$]h&]h(]refdoch refdomainjFreftypeclass refexplicitrefwarnhj:FhjkEh OneOrMoreuh*h~hjFhKhjnFubh expressions.}(h expressions.hjnFhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjFhKhj;FhhubhQ)}(hThe optional ``aslist`` argument when set to True will return the parsed tokens as a Python list instead of a pyparsing ParseResults.h](h The optional }(h The optional hjFhhhNhNubhj)}(h ``aslist``h]haslist}(hhhjFubah}(h ]h"]h$]h&]h(]uh*hihjFubhn argument when set to True will return the parsed tokens as a Python list instead of a pyparsing ParseResults.}(hn argument when set to True will return the parsed tokens as a Python list instead of a pyparsing ParseResults.hjFhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjFhKhj;FhhubhQ)}(h Example::h]hExample:}(hExample:hjFhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjFhKhj;Fhhubjk)}(hX ident = Word(alphas) num = Word(nums) term = ident | num func = ident + Opt(delimited_list(term)) print(func.parse_string("fn a, b, 100")) # -> ['fn', 'a', 'b', '100'] func = ident + Group(Opt(delimited_list(term))) print(func.parse_string("fn a, b, 100")) # -> ['fn', ['a', 'b', '100']]h]hX ident = Word(alphas) num = Word(nums) term = ident | num func = ident + Opt(delimited_list(term)) print(func.parse_string("fn a, b, 100")) # -> ['fn', 'a', 'b', '100'] func = ident + Group(Opt(delimited_list(term))) print(func.parse_string("fn a, b, 100")) # -> ['fn', ['a', 'b', '100']]}(hhhjFubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjFhK hj;Fhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#__init__() (pyparsing.Group method)pyparsing.Group.__init__hNtauh*h,hj;Fhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Group.__init__hNubjS)}(hhh](jX)}(hHGroup.__init__(expr: pyparsing.core.ParserElement, aslist: bool = False)h](j)}(h__init__h]h__init__}(hhhjGhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjGhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Group.__init__hNubj)}(h8expr: pyparsing.core.ParserElement, aslist: bool = Falseh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhj4Gubah}(h ]h"]jah$]h&]h(]uh*jhj0Gubj)}(h:h]h:}(hhhjBGubah}(h ]h"]jah$]h&]h(]uh*jhj0Gubh }(hhhj0Gubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjXGubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej:Fpy:classjkEuh*h~hjTGubah}(h ]h"]jah$]h&]h(]uh*jhj0Gubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,Gubj)}(haslist: bool = Falseh](j)}(haslisth]haslist}(hhhj{Gubah}(h ]h"]jah$]h&]h(]uh*jhjwGubj)}(h:h]h:}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhjwGubh }(hhhjwGubj)}(hboolh]h)}(hhh]hbool}(hhhjGubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej:Fpy:classjkEuh*h~hjGubah}(h ]h"]jah$]h&]h(]uh*jhjwGubh }(hhhjwGubjZ)}(h=h]h=}(hhhjGubah}(h ]h"]jfah$]h&]h(]uh*jYhjwGubh }(hhhjwGubjo)}(hFalseh]hFalse}(hhhjGubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjwGubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,Gubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjGhhhj+GhNubeh}(h ]jGah"]h$]h&]h(]j pyparsingjjkEjGroup.__init__uh*jWhj+GhKhjGhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjGhjGhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjGhKhjGhhubah}(h ]h"]h$]h&]h(]uh*jhjGhhhj+GhNubeh}(h ]h"]pyah$]h&]h(]jy j Hjz methodj| jHj} uh*jRhhhj;FhjGhNubeh}(h ]h"]h$]h&]h(]uh*jhjEEhhhjZEhNubeh}(h ]h"]pyah$]h&]h(]jy jHjz classj| jHj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN"IndentedBlock (class in pyparsing)pyparsing.IndentedBlockhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hcIndentedBlock(expr: pyparsing.core.ParserElement, *, recursive: bool = False, grouped: bool = True)h](j^)}(hclass h]hclass }(hhhj3HhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj/Hhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.IndentedBlockhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjBHhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj/HhhhjAHhNubj)}(h IndentedBlockh]h IndentedBlock}(hhhjPHhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj/HhhhjAHhNubj)}(hTexpr: pyparsing.core.ParserElement, *, recursive: bool = False, grouped: bool = Trueh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjfHubah}(h ]h"]jah$]h&]h(]uh*jhjbHubj)}(h:h]h:}(hhhjtHubah}(h ]h"]jah$]h&]h(]uh*jhjbHubh }(hhhjbHubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjHubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjHubah}(h ]h"]jah$]h&]h(]uh*jhjbHubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^Hubj)}(h*h]jZ)}(h*h]h*}(hhhjHubah}(h ]h"]jfah$]h&]h(]uh*jYhjHubah}(h ]h"]h$]h&]h(]jzj{uh*jhj^Hubj)}(hrecursive: bool = Falseh](j)}(h recursiveh]h recursive}(hhhjHubah}(h ]h"]jah$]h&]h(]uh*jhjHubj)}(h:h]h:}(hhhjHubah}(h ]h"]jah$]h&]h(]uh*jhjHubh }(hhhjHubj)}(hboolh]h)}(hhh]hbool}(hhhjHubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjHubah}(h ]h"]jah$]h&]h(]uh*jhjHubh }(hhhjHubjZ)}(h=h]h=}(hhhjIubah}(h ]h"]jfah$]h&]h(]uh*jYhjHubh }(hhhjHubjo)}(hFalseh]hFalse}(hhhjIubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjHubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^Hubj)}(hgrouped: bool = Trueh](j)}(hgroupedh]hgrouped}(hhhj1Iubah}(h ]h"]jah$]h&]h(]uh*jhj-Iubj)}(h:h]h:}(hhhj?Iubah}(h ]h"]jah$]h&]h(]uh*jhj-Iubh }(hhhj-Iubj)}(hboolh]h)}(hhh]hbool}(hhhjUIubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjQIubah}(h ]h"]jah$]h&]h(]uh*jhj-Iubh }(hhhj-IubjZ)}(h=h]h=}(hhhjrIubah}(h ]h"]jfah$]h&]h(]uh*jYhj-Iubh }(hhhj-Iubjo)}(hTrueh]hTrue}(hhhjIubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj-Iubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^Hubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/HhhhjAHhNubeh}(h ]j*Hah"]h$]h&]h(]j pyparsingjhjjRHuh*jWhjAHhKhj,Hhhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hjIhhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hjIh]h"pyparsing.core.ParseElementEnhance}(hhhjIubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjIubah}(h ]h"]h$]h&]h(]refdoch refdomainjIreftypeclass refexplicitrefwarnhjIhjRHh"pyparsing.core.ParseElementEnhanceuh*h~ha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.IndentedBlockhKhjIubeh}(h ]h"]h$]h&]h(]uh*hPhjIhKhjIhhubhQ)}(hExpression to match one or more expressions at a given indentation level. Useful for parsing text where structure is implied by indentation (like Python source code).h]hExpression to match one or more expressions at a given indentation level. Useful for parsing text where structure is implied by indentation (like Python source code).}(hjIhjIhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.IndentedBlockhKhjIhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__init__() (pyparsing.IndentedBlock method) pyparsing.IndentedBlock.__init__hNtauh*h,hjIhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.IndentedBlock.__init__hNubjS)}(hhh](jX)}(hlIndentedBlock.__init__(expr: pyparsing.core.ParserElement, *, recursive: bool = False, grouped: bool = True)h](j)}(h__init__h]h__init__}(hhhjIhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjIhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.IndentedBlock.__init__hNubj)}(hTexpr: pyparsing.core.ParserElement, *, recursive: bool = False, grouped: bool = Trueh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjJubah}(h ]h"]jah$]h&]h(]uh*jhjJubj)}(h:h]h:}(hhhj#Jubah}(h ]h"]jah$]h&]h(]uh*jhjJubh }(hhhjJubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj9Jubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejIpy:classjRHuh*h~hj5Jubah}(h ]h"]jah$]h&]h(]uh*jhjJubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj Jubj)}(h*h]jZ)}(h*h]h*}(hhhj\Jubah}(h ]h"]jfah$]h&]h(]uh*jYhjXJubah}(h ]h"]h$]h&]h(]jzj{uh*jhj Jubj)}(hrecursive: bool = Falseh](j)}(h recursiveh]h recursive}(hhhjtJubah}(h ]h"]jah$]h&]h(]uh*jhjpJubj)}(h:h]h:}(hhhjJubah}(h ]h"]jah$]h&]h(]uh*jhjpJubh }(hhhjpJubj)}(hboolh]h)}(hhh]hbool}(hhhjJubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejIpy:classjRHuh*h~hjJubah}(h ]h"]jah$]h&]h(]uh*jhjpJubh }(hhhjpJubjZ)}(h=h]h=}(hhhjJubah}(h ]h"]jfah$]h&]h(]uh*jYhjpJubh }(hhhjpJubjo)}(hFalseh]hFalse}(hhhjJubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjpJubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj Jubj)}(hgrouped: bool = Trueh](j)}(hgroupedh]hgrouped}(hhhjJubah}(h ]h"]jah$]h&]h(]uh*jhjJubj)}(h:h]h:}(hhhjJubah}(h ]h"]jah$]h&]h(]uh*jhjJubh }(hhhjJubj)}(hboolh]h)}(hhh]hbool}(hhhjKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejIpy:classjRHuh*h~hjKubah}(h ]h"]jah$]h&]h(]uh*jhjJubh }(hhhjJubjZ)}(h=h]h=}(hhhj!Kubah}(h ]h"]jfah$]h&]h(]uh*jYhjJubh }(hhhjJubjo)}(hTrueh]hTrue}(hhhj3Kubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjJubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj Jubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjIhhhj JhNubeh}(h ]jIah"]h$]h&]h(]j pyparsingjjRHjIndentedBlock.__init__uh*jWhj JhKhjIhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj[KhjYKhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjIhKhjVKhhubah}(h ]h"]h$]h&]h(]uh*jhjIhhhj JhNubeh}(h ]h"]pyah$]h&]h(]jy jpKjz methodj| jtKj} uh*jRhhhjIhjIhNubeh}(h ]h"]h$]h&]h(]uh*jhj,HhhhjAHhNubeh}(h ]h"]pyah$]h&]h(]jy j~Kjz classj| jKj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNKeyword (class in pyparsing)pyparsing.KeywordhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hKeyword(match_string: str = '', ident_chars: Optional[str] = None, caseless: bool = False, *, matchString: str = '', identChars: Optional[str] = None)h](j^)}(hclass h]hclass }(hhhjKhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjKhhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.KeywordhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjKhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjKhhhjKhNubj)}(hKeywordh]hKeyword}(hhhjKhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjKhhhjKhNubj)}(hmatch_string: str = '', ident_chars: Optional[str] = None, caseless: bool = False, *, matchString: str = '', identChars: Optional[str] = Noneh](j)}(hmatch_string: str = ''h](j)}(h match_stringh]h match_string}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjKubj)}(h:h]h:}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjKubh }(hhhjKubj)}(hstrh]h)}(hhh]hstr}(hhhjKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjKubah}(h ]h"]jah$]h&]h(]uh*jhjKubh }(hhhjKubjZ)}(h=h]h=}(hhhj Lubah}(h ]h"]jfah$]h&]h(]uh*jYhjKubh }(hhhjKubjo)}(h''h]h''}(hhhjLubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjKubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubj)}(h!ident_chars: Optional[str] = Noneh](j)}(h ident_charsh]h ident_chars}(hhhj7Lubah}(h ]h"]jah$]h&]h(]uh*jhj3Lubj)}(h:h]h:}(hhhjELubah}(h ]h"]jah$]h&]h(]uh*jhj3Lubh }(hhhj3Lubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj[Lubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjWLubj)}(h[h]h[}(hhhjnLubah}(h ]h"]jah$]h&]h(]uh*jhjWLubh)}(hhh]hstr}(hhhj|Lubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjWLubj)}(h]h]h]}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjWLubeh}(h ]h"]jah$]h&]h(]uh*jhj3Lubh }(hhhj3LubjZ)}(h=h]h=}(hhhjLubah}(h ]h"]jfah$]h&]h(]uh*jYhj3Lubh }(hhhj3Lubjo)}(hNoneh]hNone}(hhhjLubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj3Lubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubj)}(hcaseless: bool = Falseh](j)}(hcaselessh]hcaseless}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjLubj)}(h:h]h:}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjLubh }(hhhjLubj)}(hboolh]h)}(hhh]hbool}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjLubah}(h ]h"]jah$]h&]h(]uh*jhjLubh }(hhhjLubjZ)}(h=h]h=}(hhhjMubah}(h ]h"]jfah$]h&]h(]uh*jYhjLubh }(hhhjLubjo)}(hFalseh]hFalse}(hhhj%Mubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjLubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubj)}(h*h]jZ)}(h*h]h*}(hhhj>Mubah}(h ]h"]jfah$]h&]h(]uh*jYhj:Mubah}(h ]h"]h$]h&]h(]jzj{uh*jhjKubj)}(hmatchString: str = ''h](j)}(h matchStringh]h matchString}(hhhjVMubah}(h ]h"]jah$]h&]h(]uh*jhjRMubj)}(h:h]h:}(hhhjdMubah}(h ]h"]jah$]h&]h(]uh*jhjRMubh }(hhhjRMubj)}(hstrh]h)}(hhh]hstr}(hhhjzMubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjvMubah}(h ]h"]jah$]h&]h(]uh*jhjRMubh }(hhhjRMubjZ)}(h=h]h=}(hhhjMubah}(h ]h"]jfah$]h&]h(]uh*jYhjRMubh }(hhhjRMubjo)}(h''h]h''}(hhhjMubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjRMubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubj)}(h identChars: Optional[str] = Noneh](j)}(h identCharsh]h identChars}(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhjMubj)}(h:h]h:}(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhjMubh }(hhhjMubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjMubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjMubj)}(h[h]h[}(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhjMubh)}(hhh]hstr}(hhhjNubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjMubj)}(h]h]h]}(hhhjNubah}(h ]h"]jah$]h&]h(]uh*jhjMubeh}(h ]h"]jah$]h&]h(]uh*jhjMubh }(hhhjMubjZ)}(h=h]h=}(hhhj2Nubah}(h ]h"]jfah$]h&]h(]uh*jYhjMubh }(hhhjMubjo)}(hNoneh]hNone}(hhhjDNubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjMubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKhhhjKhNubeh}(h ]jKah"]h$]h&]h(]j pyparsingjhjjKuh*jWhjKhKhjKhhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hjiNhhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hjtNh]hpyparsing.core.Token}(hhhjvNubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjrNubah}(h ]h"]h$]h&]h(]refdoch refdomainjNreftypeclass refexplicitrefwarnhjeNhjKhpyparsing.core.Tokenuh*h~h[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.KeywordhKhjiNubeh}(h ]h"]h$]h&]h(]uh*hPhjNhKhjfNhhubhQ)}(hToken to exactly match a specified string as a keyword, that is, it must be immediately followed by a non-keyword character. Compare with :class:`Literal`:h](hToken to exactly match a specified string as a keyword, that is, it must be immediately followed by a non-keyword character. Compare with }(hToken to exactly match a specified string as a keyword, that is, it must be immediately followed by a non-keyword character. Compare with hjNhhhNhNubh)}(h:class:`Literal`h]hj)}(hjNh]hLiteral}(hhhjNubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjNubah}(h ]h"]h$]h&]h(]refdoch refdomainjNreftypeclass refexplicitrefwarnhjeNhjKhLiteraluh*h~h[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.KeywordhKhjNubh:}(hj:hjNhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjNhKhjfNhhubj)}(hhh](j)}(hG``Literal("if")`` will match the leading ``'if'`` in ``'ifAndOnlyIf'``.h]hQ)}(hG``Literal("if")`` will match the leading ``'if'`` in ``'ifAndOnlyIf'``.h](hj)}(h``Literal("if")``h]h Literal("if")}(hhhjNubah}(h ]h"]h$]h&]h(]uh*hihjNubh will match the leading }(h will match the leading hjNubhj)}(h``'if'``h]h'if'}(hhhjNubah}(h ]h"]h$]h&]h(]uh*hihjNubh in }(h in hjNubhj)}(h``'ifAndOnlyIf'``h]h 'ifAndOnlyIf'}(hhhjNubah}(h ]h"]h$]h&]h(]uh*hihjNubh.}(hjhjNubeh}(h ]h"]h$]h&]h(]uh*hPhjNhKhjNubah}(h ]h"]h$]h&]h(]uh*jhjNhhhjNhNubj)}(hg``Keyword("if")`` will not; it will only match the leading ``'if'`` in ``'if x=1'``, or ``'if(y==2)'`` h]hQ)}(hf``Keyword("if")`` will not; it will only match the leading ``'if'`` in ``'if x=1'``, or ``'if(y==2)'``h](hj)}(h``Keyword("if")``h]h Keyword("if")}(hhhj$Oubah}(h ]h"]h$]h&]h(]uh*hihj Oubh* will not; it will only match the leading }(h* will not; it will only match the leading hj Oubhj)}(h``'if'``h]h'if'}(hhhj7Oubah}(h ]h"]h$]h&]h(]uh*hihj Oubh in }(h in hj Oubhj)}(h ``'if x=1'``h]h'if x=1'}(hhhjJOubah}(h ]h"]h$]h&]h(]uh*hihj Oubh, or }(h, or hj Oubhj)}(h``'if(y==2)'``h]h 'if(y==2)'}(hhhj]Oubah}(h ]h"]h$]h&]h(]uh*hihj Oubeh}(h ]h"]h$]h&]h(]uh*hPhjNhKhjOubah}(h ]h"]h$]h&]h(]uh*jhjNhhhjNhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjNhKhjfNhhubhQ)}(hMAccepts two optional constructor arguments in addition to the keyword string:h]hMAccepts two optional constructor arguments in addition to the keyword string:}(hjOhj}OhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjNhK hjfNhhubj)}(hhh](j)}(h``identChars`` is a string of characters that would be valid identifier characters, defaulting to all alphanumerics + "_" and "$"h]hQ)}(h``identChars`` is a string of characters that would be valid identifier characters, defaulting to all alphanumerics + "_" and "$"h](hj)}(h``identChars``h]h identChars}(hhhjOubah}(h ]h"]h$]h&]h(]uh*hihjOubh{ is a string of characters that would be valid identifier characters, defaulting to all alphanumerics + “_” and “$”}(hs is a string of characters that would be valid identifier characters, defaulting to all alphanumerics + "_" and "$"hjOubeh}(h ]h"]h$]h&]h(]uh*hPhjNhK hjOubah}(h ]h"]h$]h&]h(]uh*jhjOhhhjNhNubj)}(hE``caseless`` allows case-insensitive matching, default is ``False``. h]hQ)}(hD``caseless`` allows case-insensitive matching, default is ``False``.h](hj)}(h ``caseless``h]hcaseless}(hhhjOubah}(h ]h"]h$]h&]h(]uh*hihjOubh. allows case-insensitive matching, default is }(h. allows case-insensitive matching, default is hjOubhj)}(h ``False``h]hFalse}(hhhjOubah}(h ]h"]h$]h&]h(]uh*hihjOubh.}(hjhjOubeh}(h ]h"]h$]h&]h(]uh*hPhjNhKhjOubah}(h ]h"]h$]h&]h(]uh*jhjOhhhjNhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjNhK hjfNhhubhQ)}(h Example::h]hExample:}(hExample:hjOhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjNhKhjfNhhubjk)}(hpKeyword("start").parse_string("start") # -> ['start'] Keyword("start").parse_string("starting") # -> Exceptionh]hpKeyword("start").parse_string("start") # -> ['start'] Keyword("start").parse_string("starting") # -> Exception}(hhhjPubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjNhKhjfNhhubhQ)}(hInitialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjShjShhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjRPhKhj Shhubah}(h ]h"]h$]h&]h(]uh*jhjSPhhhjhPhNubeh}(h ]h"]pyah$]h&]h(]jy j'Sjz methodj| j+Sj} uh*jRhhhjfNhjRPhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN:setDefaultKeywordChars() (pyparsing.Keyword static method)(pyparsing.Keyword.setDefaultKeywordCharshNtauh*h,hjfNhhhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Keyword.set_default_keyword_charshNubjS)}(hhh](jX)}(h-Keyword.setDefaultKeywordChars(chars) -> Noneh](j^)}(hstatic h]hstatic }(hhhjBShhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj>Shhhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Keyword.set_default_keyword_charshNubj)}(hsetDefaultKeywordCharsh]hsetDefaultKeywordChars}(hhhjQShhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj>ShhhjPShNubj)}(hcharsh]j)}(hcharsh]j)}(hcharsh]hchars}(hhhjgSubah}(h ]h"]jah$]h&]h(]uh*jhjcSubah}(h ]h"]h$]h&]h(]jzj{uh*jhj_Subah}(h ]h"]h$]h&]h(]jzj{uh*jhj>ShhhjPShNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjSubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejeNpy:classjKuh*h~hjSubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj>ShhhjPShNubeh}(h ]j8Sah"]h$]h&]h(]j pyparsingjjKjKeyword.setDefaultKeywordCharsuh*jWhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Keyword.set_default_keyword_charshKhj;Shhubj)}(hhh]hQ)}(hFOverrides the default characters used by :class:`Keyword` expressions.h](h)Overrides the default characters used by }(h)Overrides the default characters used by hjShhhNhNubh)}(h:class:`Keyword`h]hj)}(hjSh]hKeyword}(hhhjSubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjSubah}(h ]h"]h$]h&]h(]refdoch refdomainjSreftypeclass refexplicitrefwarnhjShjKhKeyworduh*h~hj:ShKhjSubh expressions.}(h expressions.hjShhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj:ShKhjShhubah}(h ]h"]h$]h&]h(]uh*jhj;ShhhjPShNubeh}(h ]h"]pyah$]h&]h(]jy jSjz methodj| jSj} uh*jRhhhjfNhj:ShNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN=set_default_keyword_chars() (pyparsing.Keyword static method)+pyparsing.Keyword.set_default_keyword_charshNtauh*h,hjfNhhhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Keyword.set_default_keyword_charshNubjS)}(hhh](jX)}(h0Keyword.set_default_keyword_chars(chars) -> Noneh](j^)}(hstatic h]hstatic }(hhhjThhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjShhhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Keyword.set_default_keyword_charshNubj)}(hset_default_keyword_charsh]hset_default_keyword_chars}(hhhjThhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjShhhjThNubj)}(hcharsh]j)}(hcharsh]j)}(hcharsh]hchars}(hhhj'Tubah}(h ]h"]jah$]h&]h(]uh*jhj#Tubah}(h ]h"]h$]h&]h(]jzj{uh*jhjTubah}(h ]h"]h$]h&]h(]jzj{uh*jhjShhhjThNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjETubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejeNpy:classjKuh*h~hjATubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjShhhjThNubeh}(h ]jSah"]h$]h&]h(]j pyparsingjjKj!Keyword.set_default_keyword_charsuh*jWhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Keyword.set_default_keyword_charshKhjShhubj)}(hhh]hQ)}(hFOverrides the default characters used by :class:`Keyword` expressions.h](h)Overrides the default characters used by }(h)Overrides the default characters used by hjjThhhNhNubh)}(h:class:`Keyword`h]hj)}(hjuTh]hKeyword}(hhhjwTubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjsTubah}(h ]h"]h$]h&]h(]refdoch refdomainjTreftypeclass refexplicitrefwarnhjdThjKhKeyworduh*h~hjShKhjjTubh expressions.}(h expressions.hjjThhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjShKhjgThhubah}(h ]h"]h$]h&]h(]uh*jhjShhhjThNubeh}(h ]h"]pyah$]h&]h(]jy jTjz methodj| jTj} uh*jRhhhjfNhjShNubeh}(h ]h"]h$]h&]h(]uh*jhjKhhhjKhNubeh}(h ]h"]pyah$]h&]h(]jy jTjz classj| jTj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNLineEnd (class in pyparsing)pyparsing.LineEndhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h LineEnd()h](j^)}(hclass h]hclass }(hhhjThhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjThhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LineEndhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjThhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjThhhjThNubj)}(hLineEndh]hLineEnd}(hhhjThhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjThhhjThNubeh}(h ]jTah"]h$]h&]h(]j pyparsingjhjjTuh*jWhjThKhjThhubj)}(hhh](hQ)}(h,Bases: :class:`pyparsing.core.PositionToken`h](hBases: }(hBases: hjUhhhNhNubh)}(h%:class:`pyparsing.core.PositionToken`h]hj)}(hjUh]hpyparsing.core.PositionToken}(hhhjUubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj Uubah}(h ]h"]h$]h&]h(]refdoch refdomainjUreftypeclass refexplicitrefwarnhjUhjThpyparsing.core.PositionTokenuh*h~h[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LineEndhKhjUubeh}(h ]h"]h$]h&]h(]uh*hPhj-UhKhjUhhubhQ)}(hKMatches if current position is at the end of a line within the parse stringh]hKMatches if current position is at the end of a line within the parse string}(hj6Uhj4UhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LineEndhKhjUhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%__init__() (pyparsing.LineEnd method)pyparsing.LineEnd.__init__hNtauh*h,hjUhhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LineEnd.__init__hNubjS)}(hhh](jX)}(hLineEnd.__init__()h](j)}(h__init__h]h__init__}(hhhjYUhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjUUhhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LineEnd.__init__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjUUhhhjgUhNubeh}(h ]jOUah"]h$]h&]h(]j pyparsingjjTjLineEnd.__init__uh*jWhjgUhKhjRUhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjUhj}UhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjQUhKhjzUhhubah}(h ]h"]h$]h&]h(]uh*jhjRUhhhjgUhNubeh}(h ]h"]pyah$]h&]h(]jy jUjz methodj| jUj} uh*jRhhhjUhjQUhNubeh}(h ]h"]h$]h&]h(]uh*jhjThhhjThNubeh}(h ]h"]pyah$]h&]h(]jy jUjz classj| jUj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNLineStart (class in pyparsing)pyparsing.LineStarthNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h LineStart()h](j^)}(hclass h]hclass }(hhhjUhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjUhhh]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LineStarthNubjo)}(h pyparsing.h]h pyparsing.}(hhhjUhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjUhhhjUhNubj)}(h LineStarth]h LineStart}(hhhjUhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjUhhhjUhNubeh}(h ]jUah"]h$]h&]h(]j pyparsingjhjjUuh*jWhjUhKhjUhhubj)}(hhh](hQ)}(h,Bases: :class:`pyparsing.core.PositionToken`h](hBases: }(hBases: hjUhhhNhNubh)}(h%:class:`pyparsing.core.PositionToken`h]hj)}(hjUh]hpyparsing.core.PositionToken}(hhhjUubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjUubah}(h ]h"]h$]h&]h(]refdoch refdomainjVreftypeclass refexplicitrefwarnhjUhjUhpyparsing.core.PositionTokenuh*h~h]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LineStarthKhjUubeh}(h ]h"]h$]h&]h(]uh*hPhjVhKhjUhhubhQ)}(hQMatches if current position is at the beginning of a line within the parse stringh]hQMatches if current position is at the beginning of a line within the parse string}(hj#Vhj!VhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LineStarthKhjUhhubhQ)}(h Example::h]hExample:}(hExample:hj0VhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj/VhKhjUhhubjk)}(htest = '''\ AAA this line AAA and this line AAA but not this one B AAA and definitely not this one ''' for t in (LineStart() + 'AAA' + restOfLine).search_string(test): print(t)h]htest = '''\ AAA this line AAA and this line AAA but not this one B AAA and definitely not this one ''' for t in (LineStart() + 'AAA' + restOfLine).search_string(test): print(t)}(hhhj?Vubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj/VhKhjUhhubhQ)}(hprints::h]hprints:}(hprints:hjMVhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj/VhKhjUhhubjk)}(h/['AAA', ' this line'] ['AAA', ' and this line']h]h/['AAA', ' this line'] ['AAA', ' and this line']}(hhhj\Vubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj/VhKhjUhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN'__init__() (pyparsing.LineStart method)pyparsing.LineStart.__init__hNtauh*h,hjUhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LineStart.__init__hNubjS)}(hhh](jX)}(hLineStart.__init__()h](j)}(h__init__h]h__init__}(hhhjVhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj|Vhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LineStart.__init__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj|VhhhjVhNubeh}(h ]jvVah"]h$]h&]h(]j pyparsingjjUjLineStart.__init__uh*jWhjVhKhjyVhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjVhjVhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjxVhKhjVhhubah}(h ]h"]h$]h&]h(]uh*jhjyVhhhjVhNubeh}(h ]h"]pyah$]h&]h(]jy jVjz methodj| jVj} uh*jRhhhjUhjxVhNubeh}(h ]h"]h$]h&]h(]uh*jhjUhhhjUhNubeh}(h ]h"]pyah$]h&]h(]jy jVjz classj| jVj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNLiteral (class in pyparsing)pyparsing.LiteralhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h9Literal(match_string: str = '', *, matchString: str = '')h](j^)}(hclass h]hclass }(hhhjVhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjVhhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LiteralhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjVhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjVhhhjVhNubj)}(hLiteralh]hLiteral}(hhhjWhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjVhhhjVhNubj)}(h0match_string: str = '', *, matchString: str = ''h](j)}(hmatch_string: str = ''h](j)}(h match_stringh]h match_string}(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjWubj)}(h:h]h:}(hhhj$Wubah}(h ]h"]jah$]h&]h(]uh*jhjWubh }(hhhjWubj)}(hstrh]h)}(hhh]hstr}(hhhj:Wubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj6Wubah}(h ]h"]jah$]h&]h(]uh*jhjWubh }(hhhjWubjZ)}(h=h]h=}(hhhjWWubah}(h ]h"]jfah$]h&]h(]uh*jYhjWubh }(hhhjWubjo)}(h''h]h''}(hhhjiWubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjWubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjWubj)}(h*h]jZ)}(h*h]h*}(hhhjWubah}(h ]h"]jfah$]h&]h(]uh*jYhj~Wubah}(h ]h"]h$]h&]h(]jzj{uh*jhjWubj)}(hmatchString: str = ''h](j)}(h matchStringh]h matchString}(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjWubj)}(h:h]h:}(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjWubh }(hhhjWubj)}(hstrh]h)}(hhh]hstr}(hhhjWubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjWubah}(h ]h"]jah$]h&]h(]uh*jhjWubh }(hhhjWubjZ)}(h=h]h=}(hhhjWubah}(h ]h"]jfah$]h&]h(]uh*jYhjWubh }(hhhjWubjo)}(h''h]h''}(hhhjWubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjWubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjWubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjVhhhjVhNubeh}(h ]jVah"]h$]h&]h(]j pyparsingjhjjWuh*jWhjVhKhjVhhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hjXhhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hjXh]hpyparsing.core.Token}(hhhjXubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjXubah}(h ]h"]h$]h&]h(]refdoch refdomainj)Xreftypeclass refexplicitrefwarnhjXhjWhpyparsing.core.Tokenuh*h~h[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LiteralhKhjXubeh}(h ]h"]h$]h&]h(]uh*hPhj;XhKhjXhhubhQ)}(h*Token to exactly match a specified string.h]h*Token to exactly match a specified string.}(hjDXhjBXhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LiteralhKhjXhhubhQ)}(h Example::h]hExample:}(hExample:hjQXhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjPXhKhjXhhubjk)}(hLiteral('blah').parse_string('blah') # -> ['blah'] Literal('blah').parse_string('blahfooblah') # -> ['blah'] Literal('blah').parse_string('bla') # -> Exception: Expected "blah"h]hLiteral('blah').parse_string('blah') # -> ['blah'] Literal('blah').parse_string('blahfooblah') # -> ['blah'] Literal('blah').parse_string('bla') # -> Exception: Expected "blah"}(hhhj`Xubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjPXhKhjXhhubhQ)}(hInitialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj%Zhj#ZhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjYhKhj Zhhubah}(h ]h"]h$]h&]h(]uh*jhjYhhhjYhNubeh}(h ]h"]pyah$]h&]h(]jy j:Zjz methodj| j>Zj} uh*jRhhhjXhjYhNubeh}(h ]h"]h$]h&]h(]uh*jhjVhhhjVhNubeh}(h ]h"]pyah$]h&]h(]jy jHZjz classj| jLZj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNLocated (class in pyparsing)pyparsing.LocatedhNtauh*h,hjhhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LocatedhNubjS)}(hhh](jX)}(hOLocated(expr: Union[pyparsing.core.ParserElement, str], savelist: bool = False)h](j^)}(hclass h]hclass }(hhhjcZhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj_Zhhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LocatedhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjrZhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj_ZhhhjqZhNubj)}(hLocatedh]hLocated}(hhhjZhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj_ZhhhjqZhNubj)}(hFexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = Falseh](j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjZubj)}(h:h]h:}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjZubh }(hhhjZubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhjZubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjZubj)}(h[h]h[}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjZubh)}(hhh]hpyparsing.core.ParserElement}(hhhjZubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjZubj)}(h, h]h, }(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjZubh)}(hhh]hstr}(hhhjZubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjZubj)}(h]h]h]}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhjZubeh}(h ]h"]jah$]h&]h(]uh*jhjZubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjZubj)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhj-[ubah}(h ]h"]jah$]h&]h(]uh*jhj)[ubj)}(h:h]h:}(hhhj;[ubah}(h ]h"]jah$]h&]h(]uh*jhj)[ubh }(hhhj)[ubj)}(hboolh]h)}(hhh]hbool}(hhhjQ[ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjM[ubah}(h ]h"]jah$]h&]h(]uh*jhj)[ubh }(hhhj)[ubjZ)}(h=h]h=}(hhhjn[ubah}(h ]h"]jfah$]h&]h(]uh*jYhj)[ubh }(hhhj)[ubjo)}(hFalseh]hFalse}(hhhj[ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj)[ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjZubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj_ZhhhjqZhNubeh}(h ]jYZah"]h$]h&]h(]j pyparsingjhjjZuh*jWhjqZhKhj\Zhhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hj[hhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hj[h]h"pyparsing.core.ParseElementEnhance}(hhhj[ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj[ubah}(h ]h"]h$]h&]h(]refdoch refdomainj[reftypeclass refexplicitrefwarnhj[hjZh"pyparsing.core.ParseElementEnhanceuh*h~h[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.LocatedhKhj[ubeh}(h ]h"]h$]h&]h(]uh*hPhj[hKhj[hhubhQ)}(hVDecorates a returned token with its starting and ending locations in the input string.h]hVDecorates a returned token with its starting and ending locations in the input string.}(hj[hj[hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj[ZhKhj[hhubhQ)}(h-This helper adds the following results names:h]h-This helper adds the following results names:}(hj[hj[hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj[ZhKhj[hhubj)}(hhh](j)}(h9``locn_start`` - location where matched expression beginsh]hQ)}(hj[h](hj)}(h``locn_start``h]h locn_start}(hhhj[ubah}(h ]h"]h$]h&]h(]uh*hihj[ubh+ - location where matched expression begins}(h+ - location where matched expression beginshj[ubeh}(h ]h"]h$]h&]h(]uh*hPhj[ZhKhj[ubah}(h ]h"]h$]h&]h(]uh*jhj[hhhj[ZhNubj)}(h5``locn_end`` - location where matched expression endsh]hQ)}(hj\h](hj)}(h ``locn_end``h]hlocn_end}(hhhj!\ubah}(h ]h"]h$]h&]h(]uh*hihj\ubh) - location where matched expression ends}(h) - location where matched expression endshj\ubeh}(h ]h"]h$]h&]h(]uh*hPhj[ZhKhj\ubah}(h ]h"]h$]h&]h(]uh*jhj[hhhj[ZhNubj)}(h&``value`` - the actual parsed results h]hQ)}(h%``value`` - the actual parsed resultsh](hj)}(h ``value``h]hvalue}(hhhjH\ubah}(h ]h"]h$]h&]h(]uh*hihjD\ubh - the actual parsed results}(h - the actual parsed resultshjD\ubeh}(h ]h"]h$]h&]h(]uh*hPhj[ZhKhj@\ubah}(h ]h"]h$]h&]h(]uh*jhj[hhhj[ZhNubeh}(h ]h"]h$]h&]h(]jjuh*jhj[ZhKhj[hhubhQ)}(hwBe careful if the input text contains ```` characters, you may want to call :class:`ParserElement.parse_with_tabs`h](h&Be careful if the input text contains }(h&Be careful if the input text contains hjm\hhhNhNubhj)}(h ````h]h}(hhhjv\ubah}(h ]h"]h$]h&]h(]uh*hihjm\ubh" characters, you may want to call }(h" characters, you may want to call hjm\hhhNhNubh)}(h&:class:`ParserElement.parse_with_tabs`h]hj)}(hj\h]hParserElement.parse_with_tabs}(hhhj\ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj\ubah}(h ]h"]h$]h&]h(]refdoch refdomainj\reftypeclass refexplicitrefwarnhj[hjZhParserElement.parse_with_tabsuh*h~hj[ZhK hjm\ubeh}(h ]h"]h$]h&]h(]uh*hPhj[ZhK hj[hhubhQ)}(h Example::h]hExample:}(hExample:hj\hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj[ZhK hj[hhubjk)}(hiwd = Word(alphas) for match in Located(wd).search_string("ljsdf123lksdjjf123lkkjj1222"): print(match)h]hiwd = Word(alphas) for match in Located(wd).search_string("ljsdf123lksdjjf123lkkjj1222"): print(match)}(hhhj\ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj[ZhKhj[hhubhQ)}(hprints::h]hprints:}(hprints:hj\hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj[ZhKhj[hhubjk)}(h:[0, ['ljsdf'], 5] [8, ['lksdjjf'], 15] [18, ['lkkjj'], 23]h]h:[0, ['ljsdf'], 5] [8, ['lksdjjf'], 15] [18, ['lkkjj'], 23]}(hhhj\ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj[ZhKhj[hhubeh}(h ]h"]h$]h&]h(]uh*jhj\ZhhhjqZhNubeh}(h ]h"]pyah$]h&]h(]jy j\jz classj| j\j} uh*jRhhhjhj[ZhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNMatchFirst (class in pyparsing)pyparsing.MatchFirsthNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hQMatchFirst(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)h](j^)}(hclass h]hclass }(hhhj ]hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj]hhh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.MatchFirsthNubjo)}(h pyparsing.h]h pyparsing.}(hhhj]hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj]hhhj]hNubj)}(h MatchFirsth]h MatchFirst}(hhhj)]hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj]hhhj]hNubj)}(hEexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = Falseh](j)}(h-exprs: Iterable[pyparsing.core.ParserElement]h](j)}(hexprsh]hexprs}(hhhj?]ubah}(h ]h"]jah$]h&]h(]uh*jhj;]ubj)}(h:h]h:}(hhhjM]ubah}(h ]h"]jah$]h&]h(]uh*jhj;]ubh }(hhhj;]ubj)}(h&Iterable[pyparsing.core.ParserElement]h](h)}(hhh]hIterable}(hhhjc]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetIterable py:modulehpy:classNuh*h~hj_]ubj)}(h[h]h[}(hhhjv]ubah}(h ]h"]jah$]h&]h(]uh*jhj_]ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj_]ubj)}(h]h]h]}(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhj_]ubeh}(h ]h"]jah$]h&]h(]uh*jhj;]ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj7]ubj)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhj]ubj)}(h:h]h:}(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhj]ubh }(hhhj]ubj)}(hboolh]h)}(hhh]hbool}(hhhj]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj]ubah}(h ]h"]jah$]h&]h(]uh*jhj]ubh }(hhhj]ubjZ)}(h=h]h=}(hhhj]ubah}(h ]h"]jfah$]h&]h(]uh*jYhj]ubh }(hhhj]ubjo)}(hFalseh]hFalse}(hhhj^ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj]ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj7]ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj]hhhj]hNubeh}(h ]j]ah"]h$]h&]h(]j pyparsingjhjj+]uh*jWhj]hKhj]hhubj)}(hhh](hQ)}(h.Bases: :class:`pyparsing.core.ParseExpression`h](hBases: }(hBases: hj-^hhhNhNubh)}(h':class:`pyparsing.core.ParseExpression`h]hj)}(hj8^h]hpyparsing.core.ParseExpression}(hhhj:^ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj6^ubah}(h ]h"]h$]h&]h(]refdoch refdomainjD^reftypeclass refexplicitrefwarnhj)^hj+]hpyparsing.core.ParseExpressionuh*h~h^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.MatchFirsthKhj-^ubeh}(h ]h"]h$]h&]h(]uh*hPhjV^hKhj*^hhubhQ)}(hRequires that at least one :class:`ParseExpression` is found. If more than one expression matches, the first one listed is the one that will match. May be constructed using the ``'|'`` operator.h](hRequires that at least one }(hRequires that at least one hj]^hhhNhNubh)}(h:class:`ParseExpression`h]hj)}(hjh^h]hParseExpression}(hhhjj^ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjf^ubah}(h ]h"]h$]h&]h(]refdoch refdomainjt^reftypeclass refexplicitrefwarnhj)^hj+]hParseExpressionuh*h~h^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.MatchFirsthKhj]^ubh~ is found. If more than one expression matches, the first one listed is the one that will match. May be constructed using the }(h~ is found. If more than one expression matches, the first one listed is the one that will match. May be constructed using the hj]^hhhNhNubhj)}(h``'|'``h]h'|'}(hhhj^ubah}(h ]h"]h$]h&]h(]uh*hihj]^ubh operator.}(h operator.hj]^hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj^hKhj*^hhubhQ)}(h Example::h]hExample:}(hExample:hj^hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj^hKhj*^hhubjk)}(hX# construct MatchFirst using '|' operator # watch the order of expressions to match number = Word(nums) | Combine(Word(nums) + '.' + Word(nums)) print(number.search_string("123 3.1416 789")) # Fail! -> [['123'], ['3'], ['1416'], ['789']] # put more selective expression first number = Combine(Word(nums) + '.' + Word(nums)) | Word(nums) print(number.search_string("123 3.1416 789")) # Better -> [['123'], ['3.1416'], ['789']]h]hX# construct MatchFirst using '|' operator # watch the order of expressions to match number = Word(nums) | Combine(Word(nums) + '.' + Word(nums)) print(number.search_string("123 3.1416 789")) # Fail! -> [['123'], ['3'], ['1416'], ['789']] # put more selective expression first number = Combine(Word(nums) + '.' + Word(nums)) | Word(nums) print(number.search_string("123 3.1416 789")) # Better -> [['123'], ['3.1416'], ['789']]}(hhhj^ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj^hKhj*^hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(__init__() (pyparsing.MatchFirst method)pyparsing.MatchFirst.__init__hNtauh*h,hj*^hhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.MatchFirst.__init__hNubjS)}(hhh](jX)}(hZMatchFirst.__init__(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)h](j)}(h__init__h]h__init__}(hhhj^hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj^hhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.MatchFirst.__init__hNubj)}(hEexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = Falseh](j)}(h-exprs: Iterable[pyparsing.core.ParserElement]h](j)}(hexprsh]hexprs}(hhhj^ubah}(h ]h"]jah$]h&]h(]uh*jhj^ubj)}(h:h]h:}(hhhj^ubah}(h ]h"]jah$]h&]h(]uh*jhj^ubh }(hhhj^ubj)}(h&Iterable[pyparsing.core.ParserElement]h](h)}(hhh]hIterable}(hhhj_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetIterable py:modulej)^py:classj+]uh*h~hj_ubj)}(h[h]h[}(hhhj&_ubah}(h ]h"]jah$]h&]h(]uh*jhj_ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj4_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej)^py:classj+]uh*h~hj_ubj)}(h]h]h]}(hhhjG_ubah}(h ]h"]jah$]h&]h(]uh*jhj_ubeh}(h ]h"]jah$]h&]h(]uh*jhj^ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^ubj)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhje_ubah}(h ]h"]jah$]h&]h(]uh*jhja_ubj)}(h:h]h:}(hhhjs_ubah}(h ]h"]jah$]h&]h(]uh*jhja_ubh }(hhhja_ubj)}(hboolh]h)}(hhh]hbool}(hhhj_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej)^py:classj+]uh*h~hj_ubah}(h ]h"]jah$]h&]h(]uh*jhja_ubh }(hhhja_ubjZ)}(h=h]h=}(hhhj_ubah}(h ]h"]jfah$]h&]h(]uh*jYhja_ubh }(hhhja_ubjo)}(hFalseh]hFalse}(hhhj_ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhja_ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^hhhj^hNubeh}(h ]j^ah"]h$]h&]h(]j pyparsingjj+]jMatchFirst.__init__uh*jWhj^hKhj^hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj_hj_hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj^hKhj_hhubah}(h ]h"]h$]h&]h(]uh*jhj^hhhj^hNubeh}(h ]h"]pyah$]h&]h(]jy j_jz methodj| j_j} uh*jRhhhj*^hj^hNubeh}(h ]h"]h$]h&]h(]uh*jhj]hhhj]hNubeh}(h ]h"]pyah$]h&]h(]jy j`jz classj| j`j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNNoMatch (class in pyparsing)pyparsing.NoMatchhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h NoMatch()h](j^)}(hclass h]hclass }(hhhj`hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj`hhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.NoMatchhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj,`hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj`hhhj+`hNubj)}(hNoMatchh]hNoMatch}(hhhj:`hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj`hhhj+`hNubeh}(h ]j`ah"]h$]h&]h(]j pyparsingjhjj<`uh*jWhj+`hKhj`hhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hjR`hhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hj]`h]hpyparsing.core.Token}(hhhj_`ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj[`ubah}(h ]h"]h$]h&]h(]refdoch refdomainji`reftypeclass refexplicitrefwarnhjN`hj<`hpyparsing.core.Tokenuh*h~h[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.NoMatchhKhjR`ubeh}(h ]h"]h$]h&]h(]uh*hPhj{`hKhjO`hhubhQ)}(hA token that will never match.h]hA token that will never match.}(hj`hj`hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.NoMatchhKhjO`hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%__init__() (pyparsing.NoMatch method)pyparsing.NoMatch.__init__hNtauh*h,hjO`hhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.NoMatch.__init__hNubjS)}(hhh](jX)}(hNoMatch.__init__()h](j)}(h__init__h]h__init__}(hhhj`hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj`hhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.NoMatch.__init__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj`hhhj`hNubeh}(h ]j`ah"]h$]h&]h(]j pyparsingjj<`jNoMatch.__init__uh*jWhj`hKhj`hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj`hj`hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj`hKhj`hhubah}(h ]h"]h$]h&]h(]uh*jhj`hhhj`hNubeh}(h ]h"]pyah$]h&]h(]jy j`jz methodj| j`j} uh*jRhhhjO`hj`hNubeh}(h ]h"]h$]h&]h(]uh*jhj`hhhj+`hNubeh}(h ]h"]pyah$]h&]h(]jy j`jz classj| j`j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNNotAny (class in pyparsing)pyparsing.NotAnyhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h6NotAny(expr: Union[pyparsing.core.ParserElement, str])h](j^)}(hclass h]hclass }(hhhj ahhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjahhhZ/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.NotAnyhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjahhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjahhhjahNubj)}(hNotAnyh]hNotAny}(hhhj'ahhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjahhhjahNubj)}(h.expr: Union[pyparsing.core.ParserElement, str]h]j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhj=aubah}(h ]h"]jah$]h&]h(]uh*jhj9aubj)}(h:h]h:}(hhhjKaubah}(h ]h"]jah$]h&]h(]uh*jhj9aubh }(hhhj9aubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhjaaubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj]aubj)}(h[h]h[}(hhhjtaubah}(h ]h"]jah$]h&]h(]uh*jhj]aubh)}(hhh]hpyparsing.core.ParserElement}(hhhjaubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj]aubj)}(h, h]h, }(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhj]aubh)}(hhh]hstr}(hhhjaubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj]aubj)}(h]h]h]}(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhj]aubeh}(h ]h"]jah$]h&]h(]uh*jhj9aubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj5aubah}(h ]h"]h$]h&]h(]jzj{uh*jhjahhhjahNubeh}(h ]jaah"]h$]h&]h(]j pyparsingjhjj)auh*jWhjahKhjahhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hjahhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hjah]h"pyparsing.core.ParseElementEnhance}(hhhjaubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjaubah}(h ]h"]h$]h&]h(]refdoch refdomainjareftypeclass refexplicitrefwarnhjahj)ah"pyparsing.core.ParseElementEnhanceuh*h~hZ/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.NotAnyhKhjaubeh}(h ]h"]h$]h&]h(]uh*hPhj bhKhjahhubhQ)}(hXLookahead to disallow matching with the given parse expression. ``NotAny`` does *not* advance the parsing position within the input string, it only verifies that the specified parse expression does *not* match at the current position. Also, ``NotAny`` does *not* skip over leading whitespace. ``NotAny`` always returns a null token list. May be constructed using the ``'~'`` operator.h](h@Lookahead to disallow matching with the given parse expression. }(h@Lookahead to disallow matching with the given parse expression. hjbhhhNhNubhj)}(h ``NotAny``h]hNotAny}(hhhjbubah}(h ]h"]h$]h&]h(]uh*hihjbubh does }(h does hjbhhhNhNubj)}(h*not*h]hnot}(hhhj,bubah}(h ]h"]h$]h&]h(]uh*jhjbubhq advance the parsing position within the input string, it only verifies that the specified parse expression does }(hq advance the parsing position within the input string, it only verifies that the specified parse expression does hjbhhhNhNubj)}(h*not*h]hnot}(hhhj?bubah}(h ]h"]h$]h&]h(]uh*jhjbubh' match at the current position. Also, }(h' match at the current position. Also, hjbhhhNhNubhj)}(h ``NotAny``h]hNotAny}(hhhjRbubah}(h ]h"]h$]h&]h(]uh*hihjbubh does }(h does hjbhhhNhNubj)}(h*not*h]hnot}(hhhjebubah}(h ]h"]h$]h&]h(]uh*jhjbubh skip over leading whitespace. }(h skip over leading whitespace. hjbhhhNhNubhj)}(h ``NotAny``h]hNotAny}(hhhjxbubah}(h ]h"]h$]h&]h(]uh*hihjbubhA always returns a null token list. May be constructed using the }(hA always returns a null token list. May be constructed using the hjbhhhNhNubhj)}(h``'~'``h]h'~'}(hhhjbubah}(h ]h"]h$]h&]h(]uh*hihjbubh operator.}(h operator.hjbhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhZ/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.NotAnyhKhjahhubhQ)}(h Example::h]hExample:}(hExample:hjbhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjahhubjk)}(hXAND, OR, NOT = map(CaselessKeyword, "AND OR NOT".split()) # take care not to mistake keywords for identifiers ident = ~(AND | OR | NOT) + Word(alphas) boolean_term = Opt(NOT) + ident # very crude boolean expression - to support parenthesis groups and # operation hierarchy, use infix_notation boolean_expr = boolean_term + ((AND | OR) + boolean_term)[...] # integers that are followed by "." are actually floats integer = Word(nums) + ~Char(".")h]hXAND, OR, NOT = map(CaselessKeyword, "AND OR NOT".split()) # take care not to mistake keywords for identifiers ident = ~(AND | OR | NOT) + Word(alphas) boolean_term = Opt(NOT) + ident # very crude boolean expression - to support parenthesis groups and # operation hierarchy, use infix_notation boolean_expr = boolean_term + ((AND | OR) + boolean_term)[...] # integers that are followed by "." are actually floats integer = Word(nums) + ~Char(".")}(hhhjbubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjbhK hjahhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN$__init__() (pyparsing.NotAny method)pyparsing.NotAny.__init__hNtauh*h,hjahhhc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.NotAny.__init__hNubjS)}(hhh](jX)}(h?NotAny.__init__(expr: Union[pyparsing.core.ParserElement, str])h](j)}(h__init__h]h__init__}(hhhjbhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjbhhhc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.NotAny.__init__hNubj)}(h.expr: Union[pyparsing.core.ParserElement, str]h]j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhjbubah}(h ]h"]jah$]h&]h(]uh*jhjbubj)}(h:h]h:}(hhhjbubah}(h ]h"]jah$]h&]h(]uh*jhjbubh }(hhhjbubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhjcubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejapy:classj)auh*h~hjcubj)}(h[h]h[}(hhhj&cubah}(h ]h"]jah$]h&]h(]uh*jhjcubh)}(hhh]hpyparsing.core.ParserElement}(hhhj4cubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejapy:classj)auh*h~hjcubj)}(h, h]h, }(hhhjGcubah}(h ]h"]jah$]h&]h(]uh*jhjcubh)}(hhh]hstr}(hhhjUcubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejapy:classj)auh*h~hjcubj)}(h]h]h]}(hhhjhcubah}(h ]h"]jah$]h&]h(]uh*jhjcubeh}(h ]h"]jah$]h&]h(]uh*jhjbubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjbubah}(h ]h"]h$]h&]h(]jzj{uh*jhjbhhhjbhNubeh}(h ]jbah"]h$]h&]h(]j pyparsingjj)ajNotAny.__init__uh*jWhjbhKhjbhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjchjchhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjchhubah}(h ]h"]h$]h&]h(]uh*jhjbhhhjbhNubeh}(h ]h"]pyah$]h&]h(]jy jcjz methodj| jcj} uh*jRhhhjahjbhNubeh}(h ]h"]h$]h&]h(]uh*jhjahhhjahNubeh}(h ]h"]pyah$]h&]h(]jy jcjz classj| jcj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNOneOrMore (class in pyparsing)pyparsing.OneOrMorehNtauh*h,hjhhh]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.OneOrMorehNubjS)}(hhh](jX)}(hOneOrMore(expr: pyparsing.core.ParserElement, stop_on: Optional[Union[pyparsing.core.ParserElement, str]] = None, *, stopOn: Optional[Union[pyparsing.core.ParserElement, str]] = None)h](j^)}(hclass h]hclass }(hhhjchhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjchhh]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.OneOrMorehNubjo)}(h pyparsing.h]h pyparsing.}(hhhjchhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjchhhjchNubj)}(h OneOrMoreh]h OneOrMore}(hhhjchhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjchhhjchNubj)}(hexpr: pyparsing.core.ParserElement, stop_on: Optional[Union[pyparsing.core.ParserElement, str]] = None, *, stopOn: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjdubj)}(h:h]h:}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjdubh }(hhhjdubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj*dubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj&dubah}(h ]h"]jah$]h&]h(]uh*jhjdubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(hBstop_on: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(hstop_onh]hstop_on}(hhhjMdubah}(h ]h"]jah$]h&]h(]uh*jhjIdubj)}(h:h]h:}(hhhj[dubah}(h ]h"]jah$]h&]h(]uh*jhjIdubh }(hhhjIdubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhjqdubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjmdubj)}(h[h]h[}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjmdubh)}(hhh]hUnion}(hhhjdubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjmdubj)}(h[h]h[}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjmdubh)}(hhh]hpyparsing.core.ParserElement}(hhhjdubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjmdubj)}(h, h]h, }(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjmdubh)}(hhh]hstr}(hhhjdubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjmdubj)}(h]h]h]}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjmdubj)}(h]h]h]}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjmdubeh}(h ]h"]jah$]h&]h(]uh*jhjIdubh }(hhhjIdubjZ)}(h=h]h=}(hhhj eubah}(h ]h"]jfah$]h&]h(]uh*jYhjIdubh }(hhhjIdubjo)}(hNoneh]hNone}(hhhjeubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjIdubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(h*h]jZ)}(h*h]h*}(hhhj8eubah}(h ]h"]jfah$]h&]h(]uh*jYhj4eubah}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(hAstopOn: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(hstopOnh]hstopOn}(hhhjPeubah}(h ]h"]jah$]h&]h(]uh*jhjLeubj)}(h:h]h:}(hhhj^eubah}(h ]h"]jah$]h&]h(]uh*jhjLeubh }(hhhjLeubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhjteubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjpeubj)}(h[h]h[}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjpeubh)}(hhh]hUnion}(hhhjeubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjpeubj)}(h[h]h[}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjpeubh)}(hhh]hpyparsing.core.ParserElement}(hhhjeubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjpeubj)}(h, h]h, }(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjpeubh)}(hhh]hstr}(hhhjeubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjpeubj)}(h]h]h]}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjpeubj)}(h]h]h]}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjpeubeh}(h ]h"]jah$]h&]h(]uh*jhjLeubh }(hhhjLeubjZ)}(h=h]h=}(hhhjfubah}(h ]h"]jfah$]h&]h(]uh*jYhjLeubh }(hhhjLeubjo)}(hNoneh]hNone}(hhhj"fubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjLeubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjchhhjchNubeh}(h ]jcah"]h$]h&]h(]j pyparsingjhjjcuh*jWhjchKhjchhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.core._MultipleMatch`h](hBases: }(hBases: hjGfhhhNhNubh)}(h&:class:`pyparsing.core._MultipleMatch`h]hj)}(hjRfh]hpyparsing.core._MultipleMatch}(hhhjTfubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjPfubah}(h ]h"]h$]h&]h(]refdoch refdomainj^freftypeclass refexplicitrefwarnhjCfhjchpyparsing.core._MultipleMatchuh*h~h]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.OneOrMorehKhjGfubeh}(h ]h"]h$]h&]h(]uh*hPhjpfhKhjDfhhubhQ)}(h2Repetition of one or more of the given expression.h]h2Repetition of one or more of the given expression.}(hjyfhjwfhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjchKhjDfhhubhQ)}(hParameters: - expr - expression that must match one or more times - stop_on - (default= ``None``) - expression for a terminating sentinelh](hXParameters: - expr - expression that must match one or more times - stop_on - (default= }(hXParameters: - expr - expression that must match one or more times - stop_on - (default= hjfhhhNhNubhj)}(h``None``h]hNone}(hhhjfubah}(h ]h"]h$]h&]h(]uh*hihjfubh)) - expression for a terminating sentinel}(h)) - expression for a terminating sentinelhjfhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjchKhjDfhhubj)}(hhh]hQ)}(hP(only required if the sentinel would ordinarily match the repetition expression)h]hP(only required if the sentinel would ordinarily match the repetition expression)}(hjfhjfubah}(h ]h"]h$]h&]h(]uh*hPhjchKhjfubah}(h ]h"]h$]h&]h(]uh*jhjDfhhhjchNubhQ)}(h Example::h]hExample:}(hExample:hjfhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjchK hjDfhhubjk)}(hXdata_word = Word(alphas) label = data_word + FollowedBy(':') attr_expr = Group(label + Suppress(':') + OneOrMore(data_word).set_parse_action(' '.join)) text = "shape: SQUARE posn: upper left color: BLACK" attr_expr[1, ...].parse_string(text).pprint() # Fail! read 'color' as data instead of next label -> [['shape', 'SQUARE color']] # use stop_on attribute for OneOrMore to avoid reading label string as part of the data attr_expr = Group(label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) OneOrMore(attr_expr).parse_string(text).pprint() # Better -> [['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'BLACK']] # could also be written as (attr_expr * (1,)).parse_string(text).pprint()h]hXdata_word = Word(alphas) label = data_word + FollowedBy(':') attr_expr = Group(label + Suppress(':') + OneOrMore(data_word).set_parse_action(' '.join)) text = "shape: SQUARE posn: upper left color: BLACK" attr_expr[1, ...].parse_string(text).pprint() # Fail! read 'color' as data instead of next label -> [['shape', 'SQUARE color']] # use stop_on attribute for OneOrMore to avoid reading label string as part of the data attr_expr = Group(label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) OneOrMore(attr_expr).parse_string(text).pprint() # Better -> [['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'BLACK']] # could also be written as (attr_expr * (1,)).parse_string(text).pprint()}(hhhjfubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjchK hjDfhhubeh}(h ]h"]h$]h&]h(]uh*jhjchhhjchNubeh}(h ]h"]pyah$]h&]h(]jy jfjz classj| jfj} uh*jRhhhjhjchNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNOnlyOnce (class in pyparsing)pyparsing.OnlyOncehNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hOnlyOnce(method_call)h](j^)}(hclass h]hclass }(hhhjfhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjfhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.actions.OnlyOncehNubjo)}(h pyparsing.h]h pyparsing.}(hhhj ghhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjfhhhj ghNubj)}(hOnlyOnceh]hOnlyOnce}(hhhjghhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjfhhhj ghNubj)}(h method_callh]j)}(h method_callh]j)}(h method_callh]h method_call}(hhhj1gubah}(h ]h"]jah$]h&]h(]uh*jhj-gubah}(h ]h"]h$]h&]h(]jzj{uh*jhj)gubah}(h ]h"]h$]h&]h(]jzj{uh*jhjfhhhj ghNubeh}(h ]jfah"]h$]h&]h(]j pyparsingjhjjguh*jWhj ghKhjfhhubj)}(hhh](hQ)}(hBases: :class:`object`h](hBases: }(hBases: hjUghhhNhNubh)}(h:class:`object`h]hj)}(hj`gh]hobject}(hhhjbgubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj^gubah}(h ]h"]h$]h&]h(]refdoch refdomainjlgreftypeclass refexplicitrefwarnhjQghjghobjectuh*h~hb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.actions.OnlyOncehKhjUgubeh}(h ]h"]h$]h&]h(]uh*hPhj~ghKhjRghhubhQ)}(h?Wrapper for parse actions, to ensure they are only called once.h]h?Wrapper for parse actions, to ensure they are only called once.}(hjghjghhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.actions.OnlyOncehKhjRghhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&__call__() (pyparsing.OnlyOnce method)pyparsing.OnlyOnce.__call__hNtauh*h,hjRghhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.actions.OnlyOnce.__call__hNubjS)}(hhh](jX)}(hOnlyOnce.__call__(s, l, t)h](j)}(h__call__h]h__call__}(hhhjghhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjghhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.actions.OnlyOnce.__call__hNubj)}(hs, l, th](j)}(hsh]j)}(hsh]hs}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjgubah}(h ]h"]h$]h&]h(]jzj{uh*jhjgubj)}(hlh]j)}(hlh]hl}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjgubah}(h ]h"]h$]h&]h(]jzj{uh*jhjgubj)}(hth]j)}(hth]ht}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjgubah}(h ]h"]h$]h&]h(]jzj{uh*jhjgubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjghhhjghNubeh}(h ]jgah"]h$]h&]h(]j pyparsingjjgjOnlyOnce.__call__uh*jWhjghKhjghhubj)}(hhh]hQ)}(hCall self as a function.h]hCall self as a function.}(hjhhjhhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjghKhjhhhubah}(h ]h"]h$]h&]h(]uh*jhjghhhjghNubeh}(h ]h"]pyah$]h&]h(]jy j-hjz methodj| j1hj} uh*jRhhhjRghjghNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&__init__() (pyparsing.OnlyOnce method)pyparsing.OnlyOnce.__init__hNtauh*h,hjRghhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.actions.OnlyOnce.__init__hNubjS)}(hhh](jX)}(hOnlyOnce.__init__(method_call)h](j)}(h__init__h]h__init__}(hhhjHhhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjDhhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.actions.OnlyOnce.__init__hNubj)}(h method_callh]j)}(h method_callh]j)}(h method_callh]h method_call}(hhhj_hubah}(h ]h"]jah$]h&]h(]uh*jhj[hubah}(h ]h"]h$]h&]h(]jzj{uh*jhjWhubah}(h ]h"]h$]h&]h(]jzj{uh*jhjDhhhhjVhhNubeh}(h ]j>hah"]h$]h&]h(]j pyparsingjjgjOnlyOnce.__init__uh*jWhjVhhKhjAhhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhhjhhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj@hhKhjhhhubah}(h ]h"]h$]h&]h(]uh*jhjAhhhhjVhhNubeh}(h ]h"]pyah$]h&]h(]jy jhjz methodj| jhj} uh*jRhhhjRghj@hhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*__weakref__ (pyparsing.OnlyOnce attribute)pyparsing.OnlyOnce.__weakref__hNtauh*h,hjRghhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce.__weakref__hNubjS)}(hhh](jX)}(hOnlyOnce.__weakref__h]j)}(h __weakref__h]h __weakref__}(hhhjhhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce.__weakref__hNubah}(h ]jhah"]h$]h&]h(]j pyparsingjjgjOnlyOnce.__weakref__uh*jWhjhhKhjhhhubj)}(hhh]hQ)}(h2list of weak references to the object (if defined)h]h2list of weak references to the object (if defined)}(hjhhjhhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhhKhjhhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhhjhhNubeh}(h ]h"]pyah$]h&]h(]jy jhjz attributej| jhj} uh*jRhhhjRghjhhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#reset() (pyparsing.OnlyOnce method)pyparsing.OnlyOnce.resethNtauh*h,hjRghhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.actions.OnlyOnce.resethNubjS)}(hhh](jX)}(hOnlyOnce.reset()h](j)}(hreseth]hreset}(hhhjihhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.actions.OnlyOnce.resethNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhhjihNubeh}(h ]jhah"]h$]h&]h(]j pyparsingjjgjOnlyOnce.resetuh*jWhjihKhjhhhubj)}(hhh]hQ)}(h9Allow the associated parse action to be called once more.h]h9Allow the associated parse action to be called once more.}(hj(ihj&ihhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhhKhj#ihhubah}(h ]h"]h$]h&]h(]uh*jhjhhhhjihNubeh}(h ]h"]pyah$]h&]h(]jy j=ijz methodj| jAij} uh*jRhhhjRghjhhNubeh}(h ]h"]h$]h&]h(]uh*jhjfhhhj ghNubeh}(h ]h"]pyah$]h&]h(]jy jKijz classj| jOij} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNOpAssoc (class in pyparsing)pyparsing.OpAssochNtauh*h,hjhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/helpers.py:docstring of pyparsing.helpers.OpAssochNubjS)}(hhh](jX)}(hOpAssoc(value)h](j^)}(hclass h]hclass }(hhhjfihhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjbihhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/helpers.py:docstring of pyparsing.helpers.OpAssochNubjo)}(h pyparsing.h]h pyparsing.}(hhhjuihhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjbihhhjtihNubj)}(hOpAssoch]hOpAssoc}(hhhjihhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjbihhhjtihNubj)}(hvalueh]j)}(hvalueh]j)}(hvalueh]hvalue}(hhhjiubah}(h ]h"]jah$]h&]h(]uh*jhjiubah}(h ]h"]h$]h&]h(]jzj{uh*jhjiubah}(h ]h"]h$]h&]h(]jzj{uh*jhjbihhhjtihNubeh}(h ]j\iah"]h$]h&]h(]j pyparsingjhjjiuh*jWhjtihKhj_ihhubj)}(hhh](hQ)}(hBases: :class:`enum.Enum`h](hBases: }(hBases: hjihhhNhNubh)}(h:class:`enum.Enum`h]hj)}(hjih]h enum.Enum}(hhhjiubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjiubah}(h ]h"]h$]h&]h(]refdoch refdomainjireftypeclass refexplicitrefwarnhjihjih enum.Enumuh*h~ha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/helpers.py:docstring of pyparsing.helpers.OpAssochKhjiubeh}(h ]h"]h$]h&]h(]uh*hPhjihKhjihhubhQ)}(hAn enumeration.h]hAn enumeration.}(hjihjihhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj^ihKhjihhubeh}(h ]h"]h$]h&]h(]uh*jhj_ihhhjtihNubeh}(h ]h"]pyah$]h&]h(]jy jjjz classj| jjj} uh*jRhhhjhj^ihNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNOpt (class in pyparsing) pyparsing.OpthNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hfOpt(expr: Union[pyparsing.core.ParserElement, str], default: Any = )h](j^)}(hclass h]hclass }(hhhjjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjjhhhW/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.OpthNubjo)}(h pyparsing.h]h pyparsing.}(hhhj-jhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjjhhhj,jhNubj)}(hOpth]hOpt}(hhhj;jhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjjhhhj,jhNubj)}(hc(expr: Union[pyparsing.core.ParserElement, str], default: Any = )h]j)}(haexpr: Union[pyparsing.core.ParserElement, str], default: Any = h]haexpr: Union[pyparsing.core.ParserElement, str], default: Any = }(hhhjMjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjIjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjjhhhj,jhNubeh}(h ]jjah"]h$]h&]h(]j pyparsingjhjj=juh*jWhj,jhKhjjhhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hjkjhhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hjvjh]h"pyparsing.core.ParseElementEnhance}(hhhjxjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjtjubah}(h ]h"]h$]h&]h(]refdoch refdomainjjreftypeclass refexplicitrefwarnhjgjhj=jh"pyparsing.core.ParseElementEnhanceuh*h~hW/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.OpthKhjkjubeh}(h ]h"]h$]h&]h(]uh*hPhjjhKhjhjhhubhQ)}(h*Optional matching of the given expression.h]h*Optional matching of the given expression.}(hjjhjjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhW/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.OpthKhjhjhhubhQ)}(hParameters: - ``expr`` - expression that must match zero or more times - ``default`` (optional) - value to be returned if the optional expression is not found.h](hParameters: - }(hParameters: - hjjhhhNhNubhj)}(h``expr``h]hexpr}(hhhjjubah}(h ]h"]h$]h&]h(]uh*hihjjubh3 - expression that must match zero or more times - }(h3 - expression that must match zero or more times - hjjhhhNhNubhj)}(h ``default``h]hdefault}(hhhjjubah}(h ]h"]h$]h&]h(]uh*hihjjubhK (optional) - value to be returned if the optional expression is not found.}(hK (optional) - value to be returned if the optional expression is not found.hjjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjjhKhjhjhhubhQ)}(h Example::h]hExample:}(hExample:hjjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjjhKhjhjhhubjk)}(hX # US postal code can be a 5-digit zip, plus optional 4-digit qualifier zip = Combine(Word(nums, exact=5) + Opt('-' + Word(nums, exact=4))) zip.run_tests(''' # traditional ZIP code 12345 # ZIP+4 form 12101-0001 # invalid ZIP 98765- ''')h]hX # US postal code can be a 5-digit zip, plus optional 4-digit qualifier zip = Combine(Word(nums, exact=5) + Opt('-' + Word(nums, exact=4))) zip.run_tests(''' # traditional ZIP code 12345 # ZIP+4 form 12101-0001 # invalid ZIP 98765- ''')}(hhhjjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjjhK hjhjhhubhQ)}(hprints::h]hprints:}(hprints:hjjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjjhKhjhjhhubjk)}(h# traditional ZIP code 12345 ['12345'] # ZIP+4 form 12101-0001 ['12101-0001'] # invalid ZIP 98765- ^ FAIL: Expected end of text (at char 5), (line:1, col:6)h]h# traditional ZIP code 12345 ['12345'] # ZIP+4 form 12101-0001 ['12101-0001'] # invalid ZIP 98765- ^ FAIL: Expected end of text (at char 5), (line:1, col:6)}(hhhj kubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjjhKhjhjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN!__init__() (pyparsing.Opt method)pyparsing.Opt.__init__hNtauh*h,hjhjhhh`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Opt.__init__hNubjS)}(hhh](jX)}(hoOpt.__init__(expr: Union[pyparsing.core.ParserElement, str], default: Any = )h](j)}(h__init__h]h__init__}(hhhj/khhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj+khhh`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Opt.__init__hNubj)}(hc(expr: Union[pyparsing.core.ParserElement, str], default: Any = )h]j)}(haexpr: Union[pyparsing.core.ParserElement, str], default: Any = h]haexpr: Union[pyparsing.core.ParserElement, str], default: Any = }(hhhjBkubah}(h ]h"]h$]h&]h(]jzj{uh*jhj>kubah}(h ]h"]h$]h&]h(]jzj{uh*jhj+khhhj=khNubeh}(h ]j%kah"]h$]h&]h(]j pyparsingjj=jj Opt.__init__uh*jWhj=khKhj(khhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjckhjakhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj'khKhj^khhubah}(h ]h"]h$]h&]h(]uh*jhj(khhhj=khNubeh}(h ]h"]pyah$]h&]h(]jy jxkjz methodj| j|kj} uh*jRhhhjhjhj'khNubeh}(h ]h"]h$]h&]h(]uh*jhjjhhhj,jhNubeh}(h ]h"]pyah$]h&]h(]jy jkjz classj| jkj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNOptional (in module pyparsing)pyparsing.OptionalhNtauh*h,hjhhhhhNubjS)}(hhh](jX)}(hOptionalh](jo)}(h pyparsing.h]h pyparsing.}(hhhjkhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjkhhhW/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.OpthNubj)}(hjkh]hOptional}(hhhjkhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjkhhhjkhNubeh}(h ]jkah"]h$]h&]h(]j pyparsingjhjjkuh*jWhjkhKhjkhhubj)}(hhh]hQ)}(h$alias of :class:`pyparsing.core.Opt`h](h alias of }(h alias of hjkhhhNhNubh)}(h:class:`pyparsing.core.Opt`h]hj)}(hjkh]hpyparsing.core.Opt}(hhhjkubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjkubah}(h ]h"]h$]h&]h(]refdoch refdomainjkreftypeclass refexplicitrefwarnhjkhNhpyparsing.core.Optuh*h~hhhKhjkubeh}(h ]h"]h$]h&]h(]uh*hPhhhKhjkhhubah}(h ]h"]h$]h&]h(]uh*jhjkhhhjkhNubeh}(h ]h"]pyah$]h&]h(]jy jkjz attributej| jlj} uh*jRhhhjhhhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNOr (class in pyparsing) pyparsing.OrhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hIOr(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)h](j^)}(hclass h]hclass }(hhhjlhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjlhhhV/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.OrhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj'lhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjlhhhj&lhNubj)}(hOrh]hOr}(hhhj5lhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjlhhhj&lhNubj)}(hEexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = Falseh](j)}(h-exprs: Iterable[pyparsing.core.ParserElement]h](j)}(hexprsh]hexprs}(hhhjKlubah}(h ]h"]jah$]h&]h(]uh*jhjGlubj)}(h:h]h:}(hhhjYlubah}(h ]h"]jah$]h&]h(]uh*jhjGlubh }(hhhjGlubj)}(h&Iterable[pyparsing.core.ParserElement]h](h)}(hhh]hIterable}(hhhjolubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetIterable py:modulehpy:classNuh*h~hjklubj)}(h[h]h[}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjklubh)}(hhh]hpyparsing.core.ParserElement}(hhhjlubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjklubj)}(h]h]h]}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjklubeh}(h ]h"]jah$]h&]h(]uh*jhjGlubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjClubj)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjlubj)}(h:h]h:}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjlubh }(hhhjlubj)}(hboolh]h)}(hhh]hbool}(hhhjlubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjlubah}(h ]h"]jah$]h&]h(]uh*jhjlubh }(hhhjlubjZ)}(h=h]h=}(hhhjmubah}(h ]h"]jfah$]h&]h(]uh*jYhjlubh }(hhhjlubjo)}(hFalseh]hFalse}(hhhjmubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjlubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjClubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlhhhj&lhNubeh}(h ]jlah"]h$]h&]h(]j pyparsingjhjj7luh*jWhj&lhKhjlhhubj)}(hhh](hQ)}(h.Bases: :class:`pyparsing.core.ParseExpression`h](hBases: }(hBases: hj9mhhhNhNubh)}(h':class:`pyparsing.core.ParseExpression`h]hj)}(hjDmh]hpyparsing.core.ParseExpression}(hhhjFmubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjBmubah}(h ]h"]h$]h&]h(]refdoch refdomainjPmreftypeclass refexplicitrefwarnhj5mhj7lhpyparsing.core.ParseExpressionuh*h~hV/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.OrhKhj9mubeh}(h ]h"]h$]h&]h(]uh*hPhjbmhKhj6mhhubhQ)}(hRequires that at least one :class:`ParseExpression` is found. If two expressions match, the expression that matches the longest string will be used. May be constructed using the ``'^'`` operator.h](hRequires that at least one }(hRequires that at least one hjimhhhNhNubh)}(h:class:`ParseExpression`h]hj)}(hjtmh]hParseExpression}(hhhjvmubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjrmubah}(h ]h"]h$]h&]h(]refdoch refdomainjmreftypeclass refexplicitrefwarnhj5mhj7lhParseExpressionuh*h~hV/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.OrhKhjimubh is found. If two expressions match, the expression that matches the longest string will be used. May be constructed using the }(h is found. If two expressions match, the expression that matches the longest string will be used. May be constructed using the hjimhhhNhNubhj)}(h``'^'``h]h'^'}(hhhjmubah}(h ]h"]h$]h&]h(]uh*hihjimubh operator.}(h operator.hjimhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjmhKhj6mhhubhQ)}(h Example::h]hExample:}(hExample:hjmhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjmhKhj6mhhubjk)}(h# construct Or using '^' operator number = Word(nums) ^ Combine(Word(nums) + '.' + Word(nums)) print(number.search_string("123 3.1416 789"))h]h# construct Or using '^' operator number = Word(nums) ^ Combine(Word(nums) + '.' + Word(nums)) print(number.search_string("123 3.1416 789"))}(hhhjmubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjmhKhj6mhhubhQ)}(hprints::h]hprints:}(hprints:hjmhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjmhK hj6mhhubjk)}(h[['123'], ['3.1416'], ['789']]h]h[['123'], ['3.1416'], ['789']]}(hhhjmubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjmhKhj6mhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN __init__() (pyparsing.Or method)pyparsing.Or.__init__hNtauh*h,hj6mhhh_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Or.__init__hNubjS)}(hhh](jX)}(hROr.__init__(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)h](j)}(h__init__h]h__init__}(hhhjnhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjmhhh_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Or.__init__hNubj)}(hEexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = Falseh](j)}(h-exprs: Iterable[pyparsing.core.ParserElement]h](j)}(hexprsh]hexprs}(hhhjnubah}(h ]h"]jah$]h&]h(]uh*jhjnubj)}(h:h]h:}(hhhj&nubah}(h ]h"]jah$]h&]h(]uh*jhjnubh }(hhhjnubj)}(h&Iterable[pyparsing.core.ParserElement]h](h)}(hhh]hIterable}(hhhjInitialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj ohjohhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjmhKhjohhubah}(h ]h"]h$]h&]h(]uh*jhjmhhhjnhNubeh}(h ]h"]pyah$]h&]h(]jy jojz methodj| j"oj} uh*jRhhhj6mhjmhNubeh}(h ]h"]h$]h&]h(]uh*jhjlhhhj&lhNubeh}(h ]h"]pyah$]h&]h(]jy j,ojz classj| j0oj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNParseBaseExceptionpyparsing.ParseBaseExceptionhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hQParseBaseException(pstr: str, loc: int = 0, msg: Optional[str] = None, elem=None)h](j^)}(h exception h]h exception }(hhhjFohhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjBohhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseBaseExceptionhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjUohhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjBohhhjTohNubj)}(hjInitialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjshjshhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjTqhKhjshhubah}(h ]h"]h$]h&]h(]uh*jhjUqhhhjjqhNubeh}(h ]h"]pyah$]h&]h(]jy jsjz methodj| jsj} uh*jRhhhjqhjTqhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN0__repr__() (pyparsing.ParseBaseException method)%pyparsing.ParseBaseException.__repr__hNtauh*h,hjqhhh{/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseBaseException.__repr__hNubjS)}(hhh](jX)}(hParseBaseException.__repr__()h](j)}(h__repr__h]h__repr__}(hhhj5shhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj1shhh{/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseBaseException.__repr__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj1shhhjCshNubeh}(h ]j+sah"]h$]h&]h(]j pyparsingjj strh](j)}(h__str__h]h__str__}(hhhjshhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjshhhz/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseBaseException.__str__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjshhhjshNubj-)}(hstrh]h)}(hhh]hstr}(hhhjsubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejqpy:classj strh](j)}(hexplainh]hexplain}(hhhjuhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjthhhz/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseBaseException.explainhNubj)}(hdepth=16h]j)}(hdepth=16h](j)}(hdepthh]hdepth}(hhhjuubah}(h ]h"]jah$]h&]h(]uh*jhjuubjZ)}(h=h]h=}(hhhj%uubah}(h ]h"]jfah$]h&]h(]uh*jYhjuubjo)}(h16h]h16}(hhhj3uubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjuubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjuubah}(h ]h"]h$]h&]h(]jzj{uh*jhjthhhjuhNubj-)}(hstrh]h)}(hhh]hstr}(hhhjRuubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejqpy:classj strh](j)}(h markInputlineh]h markInputline}(hhhj0xhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj,xhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseBaseException.mark_input_linehNubj)}(h:marker_string: Optional[str] = None, *, markerString='>!<'h](j)}(h#marker_string: Optional[str] = Noneh](j)}(h marker_stringh]h marker_string}(hhhjGxubah}(h ]h"]jah$]h&]h(]uh*jhjCxubj)}(h:h]h:}(hhhjUxubah}(h ]h"]jah$]h&]h(]uh*jhjCxubh }(hhhjCxubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjkxubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejqpy:classj!<'h]h'>!<'}(hhhjyubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjxubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj?xubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,xhhhj>xhNubj-)}(hstrh]h)}(hhh]hstr}(hhhj5yubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejqpy:classjxhNubeh}(h ]j&xah"]h$]h&]h(]j pyparsingjjxhKhj)xhhubj)}(hhh]hQ)}(hqExtracts the exception line from the input string, and marks the location of the exception with a special symbol.h]hqExtracts the exception line from the input string, and marks the location of the exception with a special symbol.}(hj[yhjYyhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj(xhKhjVyhhubah}(h ]h"]h$]h&]h(]uh*jhj)xhhhj>xhNubeh}(h ]h"]pyah$]h&]h(]jy jpyjz methodj| jtyj} uh*jRhhhjqhj(xhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN7mark_input_line() (pyparsing.ParseBaseException method),pyparsing.ParseBaseException.mark_input_linehNtauh*h,hjqhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseBaseException.mark_input_linehNubjS)}(hhh](jX)}(heParseBaseException.mark_input_line(marker_string: Optional[str] = None, *, markerString='>!<') -> strh](j)}(hmark_input_lineh]hmark_input_line}(hhhjyhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjyhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseBaseException.mark_input_linehNubj)}(h:marker_string: Optional[str] = None, *, markerString='>!<'h](j)}(h#marker_string: Optional[str] = Noneh](j)}(h marker_stringh]h marker_string}(hhhjyubah}(h ]h"]jah$]h&]h(]uh*jhjyubj)}(h:h]h:}(hhhjyubah}(h ]h"]jah$]h&]h(]uh*jhjyubh }(hhhjyubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjyubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejqpy:classj!<'h]h'>!<'}(hhhjqzubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjQzubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjyubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjyhhhjyhNubj-)}(hstrh]h)}(hhh]hstr}(hhhjzubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejqpy:classj|ubah}(h ]h"]h$]h&]h(]refdoch refdomainjL|reftypeclass refexplicitrefwarnhj1|hj{hpyparsing.core.ParserElementuh*h~hg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhancehKhj5|ubeh}(h ]h"]h$]h&]h(]uh*hPhj^|hKhj2|hhubhQ)}(h]Abstract subclass of :class:`ParserElement`, for combining and post-processing parsed tokens.h](hAbstract subclass of }(hAbstract subclass of hje|hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjp|h]h ParserElement}(hhhjr|ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjn|ubah}(h ]h"]h$]h&]h(]refdoch refdomainj||reftypeclass refexplicitrefwarnhj1|hj{h ParserElementuh*h~hg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhancehKhje|ubh2, for combining and post-processing parsed tokens.}(h2, for combining and post-processing parsed tokens.hje|hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj|hKhj2|hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN1__init__() (pyparsing.ParseElementEnhance method)&pyparsing.ParseElementEnhance.__init__hNtauh*h,hj2|hhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.__init__hNubjS)}(hhh](jX)}(hdParseElementEnhance.__init__(expr: Union[pyparsing.core.ParserElement, str], savelist: bool = False)h](j)}(h__init__h]h__init__}(hhhj|hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj|hhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.__init__hNubj)}(hFexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = Falseh](j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhj|ubah}(h ]h"]jah$]h&]h(]uh*jhj|ubj)}(h:h]h:}(hhhj|ubah}(h ]h"]jah$]h&]h(]uh*jhj|ubh }(hhhj|ubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhj|ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulej1|py:classj{uh*h~hj|ubj)}(h[h]h[}(hhhj|ubah}(h ]h"]jah$]h&]h(]uh*jhj|ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj }ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej1|py:classj{uh*h~hj|ubj)}(h, h]h, }(hhhj}ubah}(h ]h"]jah$]h&]h(]uh*jhj|ubh)}(hhh]hstr}(hhhj-}ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej1|py:classj{uh*h~hj|ubj)}(h]h]h]}(hhhj@}ubah}(h ]h"]jah$]h&]h(]uh*jhj|ubeh}(h ]h"]jah$]h&]h(]uh*jhj|ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj|ubj)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhj^}ubah}(h ]h"]jah$]h&]h(]uh*jhjZ}ubj)}(h:h]h:}(hhhjl}ubah}(h ]h"]jah$]h&]h(]uh*jhjZ}ubh }(hhhjZ}ubj)}(hboolh]h)}(hhh]hbool}(hhhj}ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej1|py:classj{uh*h~hj~}ubah}(h ]h"]jah$]h&]h(]uh*jhjZ}ubh }(hhhjZ}ubjZ)}(h=h]h=}(hhhj}ubah}(h ]h"]jfah$]h&]h(]uh*jYhjZ}ubh }(hhhjZ}ubjo)}(hFalseh]hFalse}(hhhj}ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjZ}ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj|ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj|hhhj|hNubeh}(h ]j|ah"]h$]h&]h(]j pyparsingjj{jParseElementEnhance.__init__uh*jWhj|hKhj|hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj}hj}hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj|hKhj}hhubah}(h ]h"]h$]h&]h(]uh*jhj|hhhj|hNubeh}(h ]h"]pyah$]h&]h(]jy j}jz methodj| j}j} uh*jRhhhj2|hj|hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN/ignore() (pyparsing.ParseElementEnhance method)$pyparsing.ParseElementEnhance.ignorehNtauh*h,hj2|hhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.ignorehNubjS)}(hhh](jX)}(hAParseElementEnhance.ignore(other) -> pyparsing.core.ParserElementh](j)}(hignoreh]hignore}(hhhj ~hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj~hhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.ignorehNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhj ~ubah}(h ]h"]jah$]h&]h(]uh*jhj~ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj~ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj~hhhj~hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj>~ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej1|py:classj{uh*h~hj:~ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj~hhhj~hNubeh}(h ]j}ah"]h$]h&]h(]j pyparsingjj{jParseElementEnhance.ignoreuh*jWhj~hKhj~hhubj)}(hhh](hQ)}(hDefine expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.h]hDefine expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.}(hjd~hjb~hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj~hKhj_~hhubhQ)}(h Example::h]hExample:}(hExample:hjp~hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj~hKhj_~hhubjk)}(hpatt = Word(alphas)[1, ...] patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj'] patt.ignore(c_style_comment) patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj', 'lskjd']h]hpatt = Word(alphas)[1, ...] patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj'] patt.ignore(c_style_comment) patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj', 'lskjd']}(hhhj~ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj~hKhj_~hhubeh}(h ]h"]h$]h&]h(]uh*jhj~hhhj~hNubeh}(h ]h"]pyah$]h&]h(]jy j~jz methodj| j~j} uh*jRhhhj2|hj~hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN9ignoreWhitespace() (pyparsing.ParseElementEnhance method).pyparsing.ParseElementEnhance.ignoreWhitespacehNtauh*h,hj2|hhhNhNubjS)}(hhh](jX)}(h\ParseElementEnhance.ignoreWhitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hignoreWhitespaceh]hignoreWhitespace}(hhhj~hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj~hhhy/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.ignore_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhj~ubah}(h ]h"]jah$]h&]h(]uh*jhj~ubj)}(h:h]h:}(hhhj~ubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh }(hhhj~ubj)}(hboolh]h)}(hhh]hbool}(hhhj~ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej1|py:classj{uh*h~hj~ubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh }(hhhj~ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj~ubh }(hhhj~ubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj~ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj~ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj~hhhj~hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj9ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej1|py:classj{uh*h~hj5ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj~hhhj~hNubeh}(h ]j~ah"]h$]h&]h(]j pyparsingjj{j$ParseElementEnhance.ignoreWhitespaceuh*jWhj~hKhj~hhubj)}(hhh](hQ)}(hrEnables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern.h](hIEnables the skipping of whitespace before matching the characters in the }(hIEnables the skipping of whitespace before matching the characters in the hj]hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjhh]h ParserElement}(hhhjjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjfubah}(h ]h"]h$]h&]h(]refdoch refdomainjtreftypeclass refexplicitrefwarnhjXhj{h ParserElementuh*h~hy/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.ignore_whitespacehKhj]ubh’s defined pattern.}(h's defined pattern.hj]hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjZhhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhjubah}(h ]h"]h$]h&]h(]uh*j>hjhj~hKubj>)}(hhh]hQ)}(h^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]h$]h&]h(]j>hjXhj{uh*j>hjubh – }(hhhjubhIf }(hIf hjhhhNhNubhj)}(h``True``h]hTrue}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hihjhhhNhNubhJ (the default), also enable whitespace skipping in child elements (if any)}(hJ (the default), also enable whitespace skipping in child elements (if any)hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjubah}(h ]h"]h$]h&]h(]uh*j>hjZhhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhj~hhhj~hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhj2|hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN:ignore_whitespace() (pyparsing.ParseElementEnhance method)/pyparsing.ParseElementEnhance.ignore_whitespacehNtauh*h,hj2|hhhNhNubjS)}(hhh](jX)}(h]ParseElementEnhance.ignore_whitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hignore_whitespaceh]hignore_whitespace}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhy/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.ignore_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhj%ubj)}(h:h]h:}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj%ubh }(hhhj%ubj)}(hboolh]h)}(hhh]hbool}(hhhjMubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej1|py:classj{uh*h~hjIubah}(h ]h"]jah$]h&]h(]uh*jhj%ubh }(hhhj%ubjZ)}(h=h]h=}(hhhjjubah}(h ]h"]jfah$]h&]h(]uh*jYhj%ubh }(hhhj%ubjo)}(hTrueh]hTrue}(hhhj|ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj%ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj!ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej1|py:classj{uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj hNubeh}(h ]j ah"]h$]h&]h(]j pyparsingjj{j%ParseElementEnhance.ignore_whitespaceuh*jWhj hKhj hhubj)}(hhh](hQ)}(hrEnables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern.h](hIEnables the skipping of whitespace before matching the characters in the }(hIEnables the skipping of whitespace before matching the characters in the hjhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjʀh]h ParserElement}(hhhj̀ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjȀubah}(h ]h"]h$]h&]h(]refdoch refdomainjրreftypeclass refexplicitrefwarnhjhj{h ParserElementuh*h~hy/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.ignore_whitespacehKhjubh’s defined pattern.}(h's defined pattern.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhjubah}(h ]h"]h$]h&]h(]uh*j>hjhj hKubj>)}(hhh]hQ)}(h^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]h$]h&]h(]j>hjhj{uh*j>hj ubh – }(hhhj ubhIf }(hIf hj hhhNhNubhj)}(h``True``h]hTrue}(hhhj&hhhNhNubah}(h ]h"]h$]h&]h(]uh*hihj hhhNhNubhJ (the default), also enable whitespace skipping in child elements (if any)}(hJ (the default), also enable whitespace skipping in child elements (if any)hj hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjubah}(h ]h"]h$]h&]h(]uh*j>hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhj hhhj hNubeh}(h ]h"]pyah$]h&]h(]jy jZjz methodj| j^j} uh*jRhhhj2|hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN8leaveWhitespace() (pyparsing.ParseElementEnhance method)-pyparsing.ParseElementEnhance.leaveWhitespacehNtauh*h,hj2|hhhNhNubjS)}(hhh](jX)}(h[ParseElementEnhance.leaveWhitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hleaveWhitespaceh]hleaveWhitespace}(hhhjthhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjphhhx/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.leave_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej1|py:classj{uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj́ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjށubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjphhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej1|py:classj{uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjphhhjhNubeh}(h ]jkah"]h$]h&]h(]j pyparsingjj{j#ParseElementEnhance.leaveWhitespaceuh*jWhjhKhjmhhubj)}(hhh](hQ)}(hDisables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.h](hJDisables the skipping of whitespace before matching the characters in the }(hJDisables the skipping of whitespace before matching the characters in the hj!hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hj,h]h ParserElement}(hhhj.ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj*ubah}(h ]h"]h$]h&]h(]refdoch refdomainj8reftypeclass refexplicitrefwarnhjhj{h ParserElementuh*h~hx/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.leave_whitespacehKhj!ubh’s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.}(h's defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.hj!hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjJhKhjhhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhj\ubah}(h ]h"]h$]h&]h(]uh*j>hjYhjhKubj>)}(hhh]hQ)}(h_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhjqubah}(h ]h"]h$]h&]h(]j>hjhj{uh*j>hjmubh – }(hhhjmubhRIf true (the default), also disable whitespace skipping in child elements (if any)}(hRIf true (the default), also disable whitespace skipping in child elements (if any)hjmhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjjubah}(h ]h"]h$]h&]h(]uh*j>hjYubeh}(h ]h"]h$]h&]h(]uh*j>hjVubah}(h ]h"]h$]h&]h(]uh*j>hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhjmhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhj2|hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN9leave_whitespace() (pyparsing.ParseElementEnhance method).pyparsing.ParseElementEnhance.leave_whitespacehNtauh*h,hj2|hhhNhNubjS)}(hhh](jX)}(h\ParseElementEnhance.leave_whitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hleave_whitespaceh]hleave_whitespace}(hhhjÂhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhx/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.leave_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhjڂubah}(h ]h"]jah$]h&]h(]uh*jhjւubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjւubh }(hhhjւubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulej1|py:classj{uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjւubh }(hhhjւubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjւubh }(hhhjւubjo)}(hTrueh]hTrue}(hhhj-ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjւubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj҂ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjтhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej1|py:classj{uh*h~hjHubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjтhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj{j$ParseElementEnhance.leave_whitespaceuh*jWhjтhKhjhhubj)}(hhh](hQ)}(hDisables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.h](hJDisables the skipping of whitespace before matching the characters in the }(hJDisables the skipping of whitespace before matching the characters in the hjphhhNhNubh)}(h:class:`ParserElement`h]hj)}(hj{h]h ParserElement}(hhhj}ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjyubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjkhj{h ParserElementuh*h~hx/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.leave_whitespacehKhjpubh’s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.}(h's defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.hjphhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjmhhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhjubah}(h ]h"]h$]h&]h(]uh*j>hjhjтhKubj>)}(hhh]hQ)}(h_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]h$]h&]h(]j>hjkhj{uh*j>hjubh – }(hhhjubhRIf true (the default), also disable whitespace skipping in child elements (if any)}(hRIf true (the default), also disable whitespace skipping in child elements (if any)hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjubah}(h ]h"]h$]h&]h(]uh*j>hjmhhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjтhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhj2|hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN1validate() (pyparsing.ParseElementEnhance method)&pyparsing.ParseElementEnhance.validatehNtauh*h,hj2|hhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.validatehNubjS)}(hhh](jX)}(h8ParseElementEnhance.validate(validateTrace=None) -> Noneh](j)}(hvalidateh]hvalidate}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseElementEnhance.validatehNubj)}(hvalidateTrace=Noneh]j)}(hvalidateTrace=Noneh](j)}(h validateTraceh]h validateTrace}(hhhj*ubah}(h ]h"]jah$]h&]h(]uh*jhj&ubjZ)}(h=h]h=}(hhhj8ubah}(h ]h"]jfah$]h&]h(]uh*jYhj&ubjo)}(hNoneh]hNone}(hhhjFubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj&ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj"ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj!hNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjeubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulej1|py:classj{uh*h~hjaubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj!hNubeh}(h ]j ah"]h$]h&]h(]j pyparsingjj{jParseElementEnhance.validateuh*jWhj!hKhj hhubj)}(hhh]hQ)}(hXCheck defined expressions for valid structure, check for infinite recursive definitions.h]hXCheck defined expressions for valid structure, check for infinite recursive definitions.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhjhhubah}(h ]h"]h$]h&]h(]uh*jhj hhhj!hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhj2|hj hNubeh}(h ]h"]h$]h&]h(]uh*jhjzhhhj{hNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNParseExceptionpyparsing.ParseExceptionhNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseExceptionhNubjS)}(hhh](jX)}(hMParseException(pstr: str, loc: int = 0, msg: Optional[str] = None, elem=None)h](j^)}(h exception h]h exception }(hhhjɄhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjńhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseExceptionhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj؄hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjńhhhjׄhNubj)}(hjh]hParseException}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjńhhhjׄhNubj)}(h=pstr: str, loc: int = 0, msg: Optional[str] = None, elem=Noneh](j)}(h pstr: strh](j)}(hpstrh]hpstr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h loc: int = 0h](j)}(hloch]hloc}(hhhjBubah}(h ]h"]jah$]h&]h(]uh*jhj>ubj)}(h:h]h:}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhj>ubh }(hhhj>ubj)}(hinth]h)}(hhh]hint}(hhhjfubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjbubah}(h ]h"]jah$]h&]h(]uh*jhj>ubh }(hhhj>ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj>ubh }(hhhj>ubjo)}(h0h]h0}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj>ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hmsg: Optional[str] = Noneh](j)}(hmsgh]hmsg}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj҅ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj΅ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj΅ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj΅ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj΅ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhj0ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h elem=Noneh](j)}(helemh]helem}(hhhjIubah}(h ]h"]jah$]h&]h(]uh*jhjEubjZ)}(h=h]h=}(hhhjWubah}(h ]h"]jfah$]h&]h(]uh*jYhjEubjo)}(hNoneh]hNone}(hhhjeubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjEubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjńhhhjׄhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjׄhKhj„hhubj)}(hhh](hQ)}(h7Bases: :class:`pyparsing.exceptions.ParseBaseException`h](hBases: }(hBases: hjhhhNhNubh)}(h0:class:`pyparsing.exceptions.ParseBaseException`h]hj)}(hjh]h'pyparsing.exceptions.ParseBaseException}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjh'pyparsing.exceptions.ParseBaseExceptionuh*h~hn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseExceptionhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hGException thrown when a parse expression doesn't match the input stringh]hIException thrown when a parse expression doesn’t match the input string}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjȆhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(htry: Word(nums).set_name("integer").parse_string("ABC") except ParseException as pe: print(pe) print("column: {}".format(pe.column))h]htry: Word(nums).set_name("integer").parse_string("ABC") except ParseException as pe: print(pe) print("column: {}".format(pe.column))}(hhhj׆ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubjk)}(h8Expected integer (at char 0), (line:1, col:1) column: 1h]h8Expected integer (at char 0), (line:1, col:1) column: 1}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK hjhhubeh}(h ]h"]h$]h&]h(]uh*jhj„hhhjׄhNubeh}(h ]h"]pyah$]h&]h(]jy j jz exceptionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN$ParseExpression (class in pyparsing)pyparsing.ParseExpressionhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hVParseExpression(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)h](j^)}(hclass h]hclass }(hhhj%hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj!hhhc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpressionhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj4hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj!hhhj3hNubj)}(hParseExpressionh]hParseExpression}(hhhjBhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj!hhhj3hNubj)}(hEexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = Falseh](j)}(h-exprs: Iterable[pyparsing.core.ParserElement]h](j)}(hexprsh]hexprs}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjTubj)}(h:h]h:}(hhhjfubah}(h ]h"]jah$]h&]h(]uh*jhjTubh }(hhhjTubj)}(h&Iterable[pyparsing.core.ParserElement]h](h)}(hhh]hIterable}(hhhj|ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetIterable py:modulehpy:classNuh*h~hjxubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjxubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjxubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjxubeh}(h ]h"]jah$]h&]h(]uh*jhjTubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjPubj)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhj·ubah}(h ]h"]jah$]h&]h(]uh*jhjʇubj)}(h:h]h:}(hhhj܇ubah}(h ]h"]jah$]h&]h(]uh*jhjʇubh }(hhhjʇubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjʇubh }(hhhjʇubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjʇubh }(hhhjʇubjo)}(hFalseh]hFalse}(hhhj!ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjʇubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjPubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj!hhhj3hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjDuh*jWhj3hKhjhhubj)}(hhh](hQ)}(h,Bases: :class:`pyparsing.core.ParserElement`h](hBases: }(hBases: hjFhhhNhNubh)}(h%:class:`pyparsing.core.ParserElement`h]hj)}(hjQh]hpyparsing.core.ParserElement}(hhhjSubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjOubah}(h ]h"]h$]h&]h(]refdoch refdomainj]reftypeclass refexplicitrefwarnhjBhjDhpyparsing.core.ParserElementuh*h~hc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpressionhKhjFubeh}(h ]h"]h$]h&]h(]uh*hPhjohKhjChhubhQ)}(hTAbstract subclass of ParserElement, for combining and post-processing parsed tokens.h]hTAbstract subclass of ParserElement, for combining and post-processing parsed tokens.}(hjxhjvhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpressionhKhjChhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-__init__() (pyparsing.ParseExpression method)"pyparsing.ParseExpression.__init__hNtauh*h,hjChhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.__init__hNubjS)}(hhh](jX)}(h_ParseExpression.__init__(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)h](j)}(h__init__h]h__init__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.__init__hNubj)}(hEexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = Falseh](j)}(h-exprs: Iterable[pyparsing.core.ParserElement]h](j)}(hexprsh]hexprs}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h&Iterable[pyparsing.core.ParserElement]h](h)}(hhh]hIterable}(hhhjֈubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetIterable py:modulejBpy:classjDuh*h~hj҈ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj҈ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejBpy:classjDuh*h~hj҈ubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj҈ubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhj(ubah}(h ]h"]jah$]h&]h(]uh*jhj$ubj)}(h:h]h:}(hhhj6ubah}(h ]h"]jah$]h&]h(]uh*jhj$ubh }(hhhj$ubj)}(hboolh]h)}(hhh]hbool}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejBpy:classjDuh*h~hjHubah}(h ]h"]jah$]h&]h(]uh*jhj$ubh }(hhhj$ubjZ)}(h=h]h=}(hhhjiubah}(h ]h"]jfah$]h&]h(]uh*jYhj$ubh }(hhhj$ubjo)}(hFalseh]hFalse}(hhhj{ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj$ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjDjParseExpression.__init__uh*jWhjhKhjhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjChjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)copy() (pyparsing.ParseExpression method)pyparsing.ParseExpression.copyhNtauh*h,hjChhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.copyhNubjS)}(hhh](jX)}(h6ParseExpression.copy() -> pyparsing.core.ParserElementh](j)}(hcopyh]hcopy}(hhhjӉhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjωhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.copyhNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjωhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejBpy:classjDuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjωhhhjhNubeh}(h ]jɉah"]h$]h&]h(]j pyparsingjjDjParseExpression.copyuh*jWhjhKhj̉hhubj)}(hhh](hQ)}(hMake a copy of this :class:`ParserElement`. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.h](hMake a copy of this }(hMake a copy of this hjhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjh]h ParserElement}(hhhj!ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj+reftypeclass refexplicitrefwarnhjhjDh ParserElementuh*h~hjˉhKhjubhx. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.}(hx. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjˉhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjHhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjˉhKhjhhubjk)}(hXHinteger = Word(nums).set_parse_action(lambda toks: int(toks[0])) integerK = integer.copy().add_parse_action(lambda toks: toks[0] * 1024) + Suppress("K") integerM = integer.copy().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M") print((integerK | integerM | integer)[1, ...].parse_string("5K 100 640K 256M"))h]hXHinteger = Word(nums).set_parse_action(lambda toks: int(toks[0])) integerK = integer.copy().add_parse_action(lambda toks: toks[0] * 1024) + Suppress("K") integerM = integer.copy().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M") print((integerK | integerM | integer)[1, ...].parse_string("5K 100 640K 256M"))}(hhhjWubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjˉhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjehhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjˉhK hjhhubjk)}(h[5120, 100, 655360, 268435456]h]h[5120, 100, 655360, 268435456]}(hhhjtubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjˉhKhjhhubhQ)}(h7Equivalent form of ``expr.copy()`` is just ``expr()``::h](hEquivalent form of }(hEquivalent form of hjhhhNhNubhj)}(h``expr.copy()``h]h expr.copy()}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh is just }(h is just hjhhhNhNubhj)}(h ``expr()``h]hexpr()}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh:}(hj:hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjˉhKhjhhubjk)}(hYintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")h]hYintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjˉhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhj̉hhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j͊jz methodj| jъj} uh*jRhhhjChjˉhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+ignore() (pyparsing.ParseExpression method) pyparsing.ParseExpression.ignorehNtauh*h,hjChhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.ignorehNubjS)}(hhh](jX)}(h=ParseExpression.ignore(other) -> pyparsing.core.ParserElementh](j)}(hignoreh]hignore}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.ignorehNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejBpy:classjDuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jފah"]h$]h&]h(]j pyparsingjjDjParseExpression.ignoreuh*jWhjhKhjhhubj)}(hhh](hQ)}(hDefine expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.h]hDefine expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.}(hjChjAhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj>hhubhQ)}(h Example::h]hExample:}(hExample:hjOhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj>hhubjk)}(hpatt = Word(alphas)[1, ...] patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj'] patt.ignore(c_style_comment) patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj', 'lskjd']h]hpatt = Word(alphas)[1, ...] patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj'] patt.ignore(c_style_comment) patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj', 'lskjd']}(hhhj^ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhj>hhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jujz methodj| jyj} uh*jRhhhjChjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN5ignoreWhitespace() (pyparsing.ParseExpression method)*pyparsing.ParseExpression.ignoreWhitespacehNtauh*h,hjChhhNhNubjS)}(hhh](jX)}(hXParseExpression.ignoreWhitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hignoreWhitespaceh]hignoreWhitespace}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.ignore_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjʋubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejBpy:classjDuh*h~hjƋubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejBpy:classjDuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjDj ParseExpression.ignoreWhitespaceuh*jWhjhKhjhhubj)}(hhh]h definition_list)}(hhh]h definition_list_item)}(hxExtends ``ignore_whitespace`` defined in base class, and also invokes ``leave_whitespace`` on all contained expressions.h](h term)}(h]Extends ``ignore_whitespace`` defined in base class, and also invokes ``leave_whitespace`` onh](hExtends }(hExtends hjIubhj)}(h``ignore_whitespace``h]hignore_whitespace}(hhhjRubah}(h ]h"]h$]h&]h(]uh*hihjIubh) defined in base class, and also invokes }(h) defined in base class, and also invokes hjIubhj)}(h``leave_whitespace``h]hleave_whitespace}(hhhjeubah}(h ]h"]h$]h&]h(]uh*hihjIubh on}(h onhjIubeh}(h ]h"]h$]h&]h(]uh*jGhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.ignore_whitespacehKhjCubh definition)}(hhh]hQ)}(hall contained expressions.h]hall contained expressions.}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhj~hKhjubah}(h ]h"]h$]h&]h(]uh*jhjCubeh}(h ]h"]h$]h&]h(]uh*jAhj~hKhj>ubah}(h ]h"]h$]h&]h(]uh*j<hj9hhhj~hNubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjChNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN6ignore_whitespace() (pyparsing.ParseExpression method)+pyparsing.ParseExpression.ignore_whitespacehNtauh*h,hjChhhNhNubjS)}(hhh](jX)}(hYParseExpression.ignore_whitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hignore_whitespaceh]hignore_whitespace}(hhhjnjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjÌhhhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.ignore_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhjތubah}(h ]h"]jah$]h&]h(]uh*jhjڌubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjڌubh }(hhhjڌubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejBpy:classjDuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjڌubh }(hhhjڌubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjڌubh }(hhhjڌubjo)}(hTrueh]hTrue}(hhhj1ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjڌubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj֌ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjÌhhhjՌhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjPubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejBpy:classjDuh*h~hjLubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjÌhhhjՌhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjDj!ParseExpression.ignore_whitespaceuh*jWhjՌhKhjhhubj)}(hhh]j=)}(hhh]jB)}(hxExtends ``ignore_whitespace`` defined in base class, and also invokes ``leave_whitespace`` on all contained expressions.h](jH)}(h]Extends ``ignore_whitespace`` defined in base class, and also invokes ``leave_whitespace`` onh](hExtends }(hExtends hj{ubhj)}(h``ignore_whitespace``h]hignore_whitespace}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj{ubh) defined in base class, and also invokes }(h) defined in base class, and also invokes hj{ubhj)}(h``leave_whitespace``h]hleave_whitespace}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj{ubh on}(h onhj{ubeh}(h ]h"]h$]h&]h(]uh*jGhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.ignore_whitespacehKhjwubj)}(hhh]hQ)}(hall contained expressions.h]hall contained expressions.}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjwubeh}(h ]h"]h$]h&]h(]uh*jAhjhKhjtubah}(h ]h"]h$]h&]h(]uh*j<hjqhhhjhNubah}(h ]h"]h$]h&]h(]uh*jhjhhhjՌhNubeh}(h ]h"]pyah$]h&]h(]jy jݍjz methodj| jj} uh*jRhhhjChNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN4leaveWhitespace() (pyparsing.ParseExpression method))pyparsing.ParseExpression.leaveWhitespacehNtauh*h,hjChhhNhNubjS)}(hhh](jX)}(hWParseExpression.leaveWhitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hleaveWhitespaceh]hleaveWhitespace}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.leave_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hboolh]h)}(hhh]hbool}(hhhj2ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejBpy:classjDuh*h~hj.ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubjZ)}(h=h]h=}(hhhjOubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubh }(hhhj ubjo)}(hTrueh]hTrue}(hhhjaubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejBpy:classjDuh*h~hj|ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjDjParseExpression.leaveWhitespaceuh*jWhjhKhjhhubj)}(hhh]j=)}(hhh]jB)}(hwExtends ``leave_whitespace`` defined in base class, and also invokes ``leave_whitespace`` on all contained expressions.h](jH)}(h\Extends ``leave_whitespace`` defined in base class, and also invokes ``leave_whitespace`` onh](hExtends }(hExtends hjubhj)}(h``leave_whitespace``h]hleave_whitespace}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh) defined in base class, and also invokes }(h) defined in base class, and also invokes hjubhj)}(h``leave_whitespace``h]hleave_whitespace}(hhhjǎubah}(h ]h"]h$]h&]h(]uh*hihjubh on}(h onhjubeh}(h ]h"]h$]h&]h(]uh*jGht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.leave_whitespacehKhjubj)}(hhh]hQ)}(hall contained expressions.h]hall contained expressions.}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]uh*jAhjhKhjubah}(h ]h"]h$]h&]h(]uh*j<hjhhhjhNubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j jz methodj| jj} uh*jRhhhjChNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN5leave_whitespace() (pyparsing.ParseExpression method)*pyparsing.ParseExpression.leave_whitespacehNtauh*h,hjChhhNhNubjS)}(hhh](jX)}(hXParseExpression.leave_whitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hleave_whitespaceh]hleave_whitespace}(hhhj'hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj#hhht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.leave_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhj>ubah}(h ]h"]jah$]h&]h(]uh*jhj:ubj)}(h:h]h:}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhj:ubh }(hhhj:ubj)}(hboolh]h)}(hhh]hbool}(hhhjbubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejBpy:classjDuh*h~hj^ubah}(h ]h"]jah$]h&]h(]uh*jhj:ubh }(hhhj:ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj:ubh }(hhhj:ubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj:ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj6ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj#hhhj5hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejBpy:classjDuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj#hhhj5hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjDj ParseExpression.leave_whitespaceuh*jWhj5hKhj hhubj)}(hhh]j=)}(hhh]jB)}(hwExtends ``leave_whitespace`` defined in base class, and also invokes ``leave_whitespace`` on all contained expressions.h](jH)}(h\Extends ``leave_whitespace`` defined in base class, and also invokes ``leave_whitespace`` onh](hExtends }(hExtends hjۏubhj)}(h``leave_whitespace``h]hleave_whitespace}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjۏubh) defined in base class, and also invokes }(h) defined in base class, and also invokes hjۏubhj)}(h``leave_whitespace``h]hleave_whitespace}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjۏubh on}(h onhjۏubeh}(h ]h"]h$]h&]h(]uh*jGht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.leave_whitespacehKhj׏ubj)}(hhh]hQ)}(hall contained expressions.h]hall contained expressions.}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhj׏ubeh}(h ]h"]h$]h&]h(]uh*jAhjhKhjԏubah}(h ]h"]h$]h&]h(]uh*j<hjяhhhjhNubah}(h ]h"]h$]h&]h(]uh*jhj hhhj5hNubeh}(h ]h"]pyah$]h&]h(]jy j=jz methodj| jAj} uh*jRhhhjChNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-validate() (pyparsing.ParseExpression method)"pyparsing.ParseExpression.validatehNtauh*h,hjChhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.validatehNubjS)}(hhh](jX)}(h4ParseExpression.validate(validateTrace=None) -> Noneh](j)}(hvalidateh]hvalidate}(hhhjXhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjThhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParseExpression.validatehNubj)}(hvalidateTrace=Noneh]j)}(hvalidateTrace=Noneh](j)}(h validateTraceh]h validateTrace}(hhhjoubah}(h ]h"]jah$]h&]h(]uh*jhjkubjZ)}(h=h]h=}(hhhj}ubah}(h ]h"]jfah$]h&]h(]uh*jYhjkubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjkubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjgubah}(h ]h"]h$]h&]h(]jzj{uh*jhjThhhjfhNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejBpy:classjDuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjThhhjfhNubeh}(h ]jNah"]h$]h&]h(]j pyparsingjjDjParseExpression.validateuh*jWhjfhKhjQhhubj)}(hhh]hQ)}(hXCheck defined expressions for valid structure, check for infinite recursive definitions.h]hXCheck defined expressions for valid structure, check for infinite recursive definitions.}(hjАhjΐhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjPhKhjːhhubah}(h ]h"]h$]h&]h(]uh*jhjQhhhjfhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjChjPhNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhj3hNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNParseFatalExceptionpyparsing.ParseFatalExceptionhNtauh*h,hjhhhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseFatalExceptionhNubjS)}(hhh](jX)}(hRParseFatalException(pstr: str, loc: int = 0, msg: Optional[str] = None, elem=None)h](j^)}(h exception h]h exception }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj hhhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseFatalExceptionhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj hhhjhNubj)}(hjh]hParseFatalException}(hhhj+hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj hhhjhNubj)}(h=pstr: str, loc: int = 0, msg: Optional[str] = None, elem=Noneh](j)}(h pstr: strh](j)}(hpstrh]hpstr}(hhhj@ubah}(h ]h"]jah$]h&]h(]uh*jhj<ubj)}(h:h]h:}(hhhjNubah}(h ]h"]jah$]h&]h(]uh*jhj<ubh }(hhhj<ubj)}(hstrh]h)}(hhh]hstr}(hhhjdubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj`ubah}(h ]h"]jah$]h&]h(]uh*jhj<ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj8ubj)}(h loc: int = 0h](j)}(hloch]hloc}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjȑubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h0h]h0}(hhhjڑubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj8ubj)}(hmsg: Optional[str] = Noneh](j)}(hmsgh]hmsg}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhj*ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhj8ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjcubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjuubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj8ubj)}(h elem=Noneh](j)}(helemh]helem}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj8ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj hhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(h7Bases: :class:`pyparsing.exceptions.ParseBaseException`h](hBases: }(hBases: hjϒhhhNhNubh)}(h0:class:`pyparsing.exceptions.ParseBaseException`h]hj)}(hjڒh]h'pyparsing.exceptions.ParseBaseException}(hhhjܒubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjؒubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj˒hjh'pyparsing.exceptions.ParseBaseExceptionuh*h~hs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseFatalExceptionhKhjϒubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj̒hhubhQ)}(hgUser-throwable exception thrown when inconsistent parse content is found; stops all parsing immediatelyh]hgUser-throwable exception thrown when inconsistent parse content is found; stops all parsing immediately}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj̒hhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz exceptionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN!ParseResults (class in pyparsing)pyparsing.ParseResultshNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h/ParseResults(toklist=None, name=None, **kwargs)h](j^)}(hclass h]hclass }(hhhj0hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj,hhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResultshNubjo)}(h pyparsing.h]h pyparsing.}(hhhj?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj,hhhj>hNubj)}(h ParseResultsh]h ParseResults}(hhhjMhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj,hhhj>hNubj)}(h!toklist=None, name=None, **kwargsh](j)}(h toklist=Noneh](j)}(htoklisth]htoklist}(hhhjcubah}(h ]h"]jah$]h&]h(]uh*jhj_ubjZ)}(h=h]h=}(hhhjqubah}(h ]h"]jfah$]h&]h(]uh*jYhj_ubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj_ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(h name=Noneh](j)}(hnameh]hname}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(h**kwargsh](jZ)}(h**h]h**}(hhhj͓ubah}(h ]h"]jfah$]h&]h(]uh*jYhjɓubj)}(hkwargsh]hkwargs}(hhhjۓubah}(h ]h"]jah$]h&]h(]uh*jhjɓubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,hhhj>hNubeh}(h ]j'ah"]h$]h&]h(]j pyparsingjhjjOuh*jWhj>hKhj)hhubj)}(hhh](hQ)}(hBases: :class:`object`h](hBases: }(hBases: hjhhhNhNubh)}(h:class:`object`h]hj)}(hj h]hobject}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhobjectuh*h~hf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResultshKhjubeh}(h ]h"]h$]h&]h(]uh*hPhj(hKhjhhubhQ)}(hQStructured parse results, to provide multiple means of access to the parsed data:h]hQStructured parse results, to provide multiple means of access to the parsed data:}(hj1hj/hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResultshKhjhhubj)}(hhh](j)}(has a list (``len(results)``)h]hQ)}(hjCh](h as a list (}(h as a list (hjEubhj)}(h``len(results)``h]h len(results)}(hhhjMubah}(h ]h"]h$]h&]h(]uh*hihjEubh)}(h)hjEubeh}(h ]h"]h$]h&]h(]uh*hPhj=hKhjAubah}(h ]h"]h$]h&]h(]uh*jhj>hhhj=hNubj)}(h0by list index (``results[0], results[1]``, etc.)h]hQ)}(hjnh](hby list index (}(hby list index (hjpubhj)}(h``results[0], results[1]``h]hresults[0], results[1]}(hhhjxubah}(h ]h"]h$]h&]h(]uh*hihjpubh, etc.)}(h, etc.)hjpubeh}(h ]h"]h$]h&]h(]uh*hPhj=hKhjlubah}(h ]h"]h$]h&]h(]uh*jhj>hhhj=hNubj)}(hXby attribute (``results.`` - see :class:`ParserElement.set_results_name`) h]hQ)}(hWby attribute (``results.`` - see :class:`ParserElement.set_results_name`)h](hby attribute (}(hby attribute (hjubhj)}(h``results.``h]hresults.}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - see }(h - see hjubh)}(h':class:`ParserElement.set_results_name`h]hj)}(hjh]hParserElement.set_results_name}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjŔreftypeclass refexplicitrefwarnhjhjOhParserElement.set_results_nameuh*h~hj=hKhjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhj=hKhjubah}(h ]h"]h$]h&]h(]uh*jhj>hhhj=hNubeh}(h ]h"]h$]h&]h(]jjuh*jhj=hKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj=hKhjhhubjk)}(hXlinteger = Word(nums) date_str = (integer.set_results_name("year") + '/' + integer.set_results_name("month") + '/' + integer.set_results_name("day")) # equivalent form: # date_str = (integer("year") + '/' # + integer("month") + '/' # + integer("day")) # parse_string returns a ParseResults object result = date_str.parse_string("1999/12/31") def test(s, fn=repr): print("{} -> {}".format(s, fn(eval(s)))) test("list(result)") test("result[0]") test("result['month']") test("result.day") test("'month' in result") test("'minutes' in result") test("result.dump()", str)h]hXlinteger = Word(nums) date_str = (integer.set_results_name("year") + '/' + integer.set_results_name("month") + '/' + integer.set_results_name("day")) # equivalent form: # date_str = (integer("year") + '/' # + integer("month") + '/' # + integer("day")) # parse_string returns a ParseResults object result = date_str.parse_string("1999/12/31") def test(s, fn=repr): print("{} -> {}".format(s, fn(eval(s)))) test("list(result)") test("result[0]") test("result['month']") test("result.day") test("'month' in result") test("'minutes' in result") test("result.dump()", str)}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj=hK hjhhubhQ)}(hprints::h]hprints:}(hprints:hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj=hK hjhhubjk)}(hlist(result) -> ['1999', '/', '12', '/', '31'] result[0] -> '1999' result['month'] -> '12' result.day -> '31' 'month' in result -> True 'minutes' in result -> False result.dump() -> ['1999', '/', '12', '/', '31'] - day: '31' - month: '12' - year: '1999'h]hlist(result) -> ['1999', '/', '12', '/', '31'] result[0] -> '1999' result['month'] -> '12' result.day -> '31' 'month' in result -> True 'minutes' in result -> False result.dump() -> ['1999', '/', '12', '/', '31'] - day: '31' - month: '12' - year: '1999'}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj=hK"hjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&ParseResults.List (class in pyparsing)pyparsing.ParseResults.ListhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h!ParseResults.List(contained=None)h](j^)}(hclass h]hclass }(hhhj<hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj8hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.ListhNubj)}(hListh]hList}(hhhjKhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj8hhhjJhNubj)}(hcontained=Noneh]j)}(hcontained=Noneh](j)}(h containedh]h contained}(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhj]ubjZ)}(h=h]h=}(hhhjoubah}(h ]h"]jfah$]h&]h(]uh*jYhj]ubjo)}(hNoneh]hNone}(hhhj}ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj]ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjYubah}(h ]h"]h$]h&]h(]jzj{uh*jhj8hhhjJhNubeh}(h ]j3ah"]h$]h&]h(]j pyparsingjjOjParseResults.Listuh*jWhjJhKhj5hhubj)}(hhh](hQ)}(hBases: :class:`list`h](hBases: }(hBases: hjhhhNhNubh)}(h :class:`list`h]hj)}(hjh]hlist}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjhlistuh*h~hk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.ListhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhj̕hKhjhhubhQ)}(hSimple wrapper class to distinguish parsed list results that should be preserved as actual Python lists, instead of being converted to :class:`ParseResults`:h](hSimple wrapper class to distinguish parsed list results that should be preserved as actual Python lists, instead of being converted to }(hSimple wrapper class to distinguish parsed list results that should be preserved as actual Python lists, instead of being converted to hjӕhhhNhNubh)}(h:class:`ParseResults`h]hj)}(hjޕh]h ParseResults}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjܕubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjh ParseResultsuh*h~hk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.ListhKhjӕubh:}(hj:hjӕhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj)}(hhh](hQ)}(hLBRACK, RBRACK = map(pp.Suppress, "[]") element = pp.Forward() item = ppc.integer element_list = LBRACK + pp.delimited_list(element) + RBRACKh]hLBRACK, RBRACK = map(pp.Suppress, “[]”) element = pp.Forward() item = ppc.integer element_list = LBRACK + pp.delimited_list(element) + RBRACK}(hj hj ubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjubhQ)}(hi# add parse actions to convert from ParseResults to actual Python collection types def as_python_list(t):h]hi# add parse actions to convert from ParseResults to actual Python collection types def as_python_list(t):}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjubj)}(hhh]hQ)}(h(return pp.ParseResults.List(t.as_list())h]h(return pp.ParseResults.List(t.as_list())}(hj+hj)ubah}(h ]h"]h$]h&]h(]uh*hPhjhK hj&ubah}(h ]h"]h$]h&]h(]uh*jhjubhQ)}(h-element_list.add_parse_action(as_python_list)h]h-element_list.add_parse_action(as_python_list)}(hj?hj=ubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjubhQ)}(helement <<= item | element_listh]helement <<= item | element_list}(hjMhjKubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjubj=)}(hhh]jB)}(huelement.run_tests(''' 100 [2,3,4] [[2, 1],3,4] [(2, 1),3,4] (2,3,4) ''', post_parse=lambda s, r: (r[0], type(r[0]))) h](jH)}(helement.run_tests('''h]helement.run_tests(‘’’}(hjbhj`ubah}(h ]h"]h$]h&]h(]uh*jGhjhKhj\ubj)}(hhh]hQ)}(h^100 [2,3,4] [[2, 1],3,4] [(2, 1),3,4] (2,3,4) ''', post_parse=lambda s, r: (r[0], type(r[0])))h]hd100 [2,3,4] [[2, 1],3,4] [(2, 1),3,4] (2,3,4) ‘’’, post_parse=lambda s, r: (r[0], type(r[0])))}(hjshjqubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjnubah}(h ]h"]h$]h&]h(]uh*jhj\ubeh}(h ]h"]h$]h&]h(]uh*jAhjhKhjYubah}(h ]h"]h$]h&]h(]uh*j<hjubeh}(h ]h"]h$]h&]h(]uh*jhjhhhNhNubhQ)}(hprints:h]hprints:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj)}(hhh](hQ)}(h100 (100, )h]h100 (100, )}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjubhQ)}(h#[2,3,4] ([2, 3, 4], )h]h'[2,3,4] ([2, 3, 4], )}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjubhQ)}(h-[[2, 1],3,4] ([[2, 1], 3, 4], )h]h1[[2, 1],3,4] ([[2, 1], 3, 4], )}(hjƖhjĖubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubhQ)}(h7(Used internally by :class:`Group` when `aslist=True`.)h](h(Used internally by }(h(Used internally by hjؖhhhNhNubh)}(h:class:`Group`h]hj)}(hjh]hGroup}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjhGroupuh*h~hjhK#hjؖubh when }(h when hjؖhhhNhNubjv)}(h `aslist=True`h]h aslist=True}(hhhjubah}(h ]h"]h$]h&]h(]uh*jvhjؖubh.)}(h.)hjؖhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK#hjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN0__dict__ (pyparsing.ParseResults.List attribute)$pyparsing.ParseResults.List.__dict__hNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hParseResults.List.__dict__h](j)}(h__dict__h]h__dict__}(hhhj4hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj0hhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List.__dict__hNubj^)}(hXmappingproxy({'__module__': 'pyparsing.results', '__doc__': '\n Simple wrapper class to distinguish parsed list results that should be preserved\n as actual Python lists, instead of being converted to :class:`ParseResults`:\n\n LBRACK, RBRACK = map(pp.Suppress, "[]")\n element = pp.Forward()\n item = ppc.integer\n element_list = LBRACK + pp.delimited_list(element) + RBRACK\n\n # add parse actions to convert from ParseResults to actual Python collection types\n def as_python_list(t):\n return pp.ParseResults.List(t.as_list())\n element_list.add_parse_action(as_python_list)\n\n element <<= item | element_list\n\n element.run_tests(\'\'\'\n 100\n [2,3,4]\n [[2, 1],3,4]\n [(2, 1),3,4]\n (2,3,4)\n \'\'\', post_parse=lambda s, r: (r[0], type(r[0])))\n\n prints:\n\n 100\n (100, )\n\n [2,3,4]\n ([2, 3, 4], )\n\n [[2, 1],3,4]\n ([[2, 1], 3, 4], )\n\n (Used internally by :class:`Group` when `aslist=True`.)\n ', '__new__': , '__dict__': , '__weakref__': , '__annotations__': {}})h]hX = mappingproxy({'__module__': 'pyparsing.results', '__doc__': '\n Simple wrapper class to distinguish parsed list results that should be preserved\n as actual Python lists, instead of being converted to :class:`ParseResults`:\n\n LBRACK, RBRACK = map(pp.Suppress, "[]")\n element = pp.Forward()\n item = ppc.integer\n element_list = LBRACK + pp.delimited_list(element) + RBRACK\n\n # add parse actions to convert from ParseResults to actual Python collection types\n def as_python_list(t):\n return pp.ParseResults.List(t.as_list())\n element_list.add_parse_action(as_python_list)\n\n element <<= item | element_list\n\n element.run_tests(\'\'\'\n 100\n [2,3,4]\n [[2, 1],3,4]\n [(2, 1),3,4]\n (2,3,4)\n \'\'\', post_parse=lambda s, r: (r[0], type(r[0])))\n\n prints:\n\n 100\n (100, )\n\n [2,3,4]\n ([2, 3, 4], )\n\n [[2, 1],3,4]\n ([[2, 1], 3, 4], )\n\n (Used internally by :class:`Group` when `aslist=True`.)\n ', '__new__': , '__dict__': , '__weakref__': , '__annotations__': {}})}(hhhjChhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj0hhhjBhNubeh}(h ]j+ah"]h$]h&]h(]j pyparsingjjjParseResults.List.__dict__uh*jWhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List.__dict__hKhj-hhubj)}(hhh]h}(h ]h"]h$]h&]h(]uh*jhj-hhhjBhNubeh}(h ]h"]pyah$]h&]h(]jy jfjz attributej| jjj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN5__new__() (pyparsing.ParseResults.List static method)#pyparsing.ParseResults.List.__new__hNtauh*h,hjhhhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.List.__new__hNubjS)}(hhh](jX)}(h.ParseResults.List.__new__(cls, contained=None)h](j^)}(hstatic h]hstatic }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj}hhhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.List.__new__hNubj)}(h__new__h]h__new__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj}hhhjhNubj)}(hcls, contained=Noneh](j)}(hclsh]j)}(hclsh]hcls}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hcontained=Noneh](j)}(h containedh]h contained}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubjZ)}(h=h]h=}(hhhj̗ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubjo)}(hNoneh]hNone}(hhhjڗubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj}hhhjhNubeh}(h ]jwah"]h$]h&]h(]j pyparsingjjjParseResults.List.__new__uh*jWhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.List.__new__hKhjzhhubj)}(hhh]hQ)}(hGCreate and return a new object. See help(type) for accurate signature.h]hGCreate and return a new object. See help(type) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjyhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjzhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjyhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN3__weakref__ (pyparsing.ParseResults.List attribute)'pyparsing.ParseResults.List.__weakref__hNtauh*h,hjhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List.__weakref__hNubjS)}(hhh](jX)}(hParseResults.List.__weakref__h]j)}(h __weakref__h]h __weakref__}(hhhj3hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj/hhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List.__weakref__hNubah}(h ]j)ah"]h$]h&]h(]j pyparsingjjjParseResults.List.__weakref__uh*jWhjAhKhj,hhubj)}(hhh]hQ)}(h2list of weak references to the object (if defined)h]h2list of weak references to the object (if defined)}(hjOhjMhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj+hKhjJhhubah}(h ]h"]h$]h&]h(]uh*jhj,hhhjAhNubeh}(h ]h"]pyah$]h&]h(]jy jdjz attributej| jhj} uh*jRhhhjhj+hNubeh}(h ]h"]h$]h&]h(]uh*jhj5hhhjJhNubeh}(h ]h"]pyah$]h&]h(]jy jrjz classj| jvj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)__dir__() (pyparsing.ParseResults method)pyparsing.ParseResults.__dir__hNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.__dir__hNubjS)}(hhh](jX)}(hParseResults.__dir__()h](j)}(h__dir__h]h__dir__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.__dir__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.__dir__uh*jWhjhKhjhhubj)}(hhh]hQ)}(hDefault dir() implementation.h]hDefault dir() implementation.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jȘjz methodj| j̘j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*__init__() (pyparsing.ParseResults method)pyparsing.ParseResults.__init__hNtauh*h,hjhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.__init__hNubjS)}(hhh](jX)}(hrParseResults.__init__(toklist=None, name=None, asList=True, modal=True, isinstance=)h](j)}(h__init__h]h__init__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjߘhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.__init__hNubj)}(h](toklist=None, name=None, asList=True, modal=True, isinstance=)h](j)}(h toklist=Noneh]h toklist=None}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h name=Noneh]h name=None}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h asList=Trueh]h asList=True}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h modal=Trueh]h modal=True}(hhhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h)isinstance=h]h)isinstance=}(hhhj.ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjߘhhhjhNubeh}(h ]j٘ah"]h$]h&]h(]j pyparsingjjOjParseResults.__init__uh*jWhjhKhjܘhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjOhjMhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjۘhKhjJhhubah}(h ]h"]h$]h&]h(]uh*jhjܘhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jdjz methodj| jhj} uh*jRhhhjhjۘhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN0__new__() (pyparsing.ParseResults static method)pyparsing.ParseResults.__new__hNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.__new__hNubjS)}(hhh](jX)}(h strh](j)}(h__repr__h]h__repr__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.__repr__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjOuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.__repr__uh*jWhjhKhjhhubj)}(hhh]hQ)}(hReturn repr(self).h]hReturn repr(self).}(hjϚhj͚hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjʚhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)__str__() (pyparsing.ParseResults method)pyparsing.ParseResults.__str__hNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.__str__hNubjS)}(hhh](jX)}(hParseResults.__str__() -> strh](j)}(h__str__h]h__str__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.__str__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj hNubj-)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjOuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.__str__uh*jWhj hKhjhhubj)}(hhh]hQ)}(hReturn str(self).h]hReturn str(self).}(hjBhj@hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj=hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhj hNubeh}(h ]h"]pyah$]h&]h(]jy jWjz methodj| j[j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(append() (pyparsing.ParseResults method)pyparsing.ParseResults.appendhNtauh*h,hjhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.appendhNubjS)}(hhh](jX)}(hParseResults.append(item)h](j)}(happendh]happend}(hhhjrhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjnhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.appendhNubj)}(hitemh]j)}(hitemh]j)}(hitemh]hitem}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjnhhhjhNubeh}(h ]jhah"]h$]h&]h(]j pyparsingjjOjParseResults.appenduh*jWhjhKhjkhhubj)}(hhh](hQ)}(h?Add single element to end of ``ParseResults`` list of elements.h](hAdd single element to end of }(hAdd single element to end of hjhhhNhNubhj)}(h``ParseResults``h]h ParseResults}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh list of elements.}(h list of elements.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjЛhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjjhKhjhhubjk)}(hX_numlist = Word(nums)[...] print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321'] # use a parse action to compute the sum of the parsed integers, and add it to the end def append_sum(tokens): tokens.append(sum(map(int, tokens))) numlist.add_parse_action(append_sum) print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321', 444]h]hX_numlist = Word(nums)[...] print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321'] # use a parse action to compute the sum of the parsed integers, and add it to the end def append_sum(tokens): tokens.append(sum(map(int, tokens))) numlist.add_parse_action(append_sum) print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321', 444]}(hhhjߛubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjkhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(asDict() (pyparsing.ParseResults method)pyparsing.ParseResults.asDicthNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.as_dicthNubjS)}(hhh](jX)}(hParseResults.asDict() -> dicth](j)}(hasDicth]hasDict}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj hhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.as_dicthNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj hhhjhNubj-)}(hdicth]h)}(hhh]hdict}(hhhj.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetdict py:modulejpy:classjOuh*h~hj*ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj hhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.asDictuh*jWhjhKhj hhubj)}(hhh](hQ)}(h7Returns the named parse results as a nested dictionary.h]h7Returns the named parse results as a nested dictionary.}(hjThjRhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhjOhhubhQ)}(h Example::h]hExample:}(hExample:hj`hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhjOhhubjk)}(hXinteger = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") result = date_str.parse_string('12/31/1999') print(type(result), repr(result)) # -> (['12', '/', '31', '/', '1999'], {'day': [('1999', 4)], 'year': [('12', 0)], 'month': [('31', 2)]}) result_dict = result.as_dict() print(type(result_dict), repr(result_dict)) # -> {'day': '1999', 'year': '12', 'month': '31'} # even though a ParseResults supports dict-like access, sometime you just need to have a dict import json print(json.dumps(result)) # -> Exception: TypeError: ... is not JSON serializable print(json.dumps(result.as_dict())) # -> {"month": "31", "day": "1999", "year": "12"}h]hXinteger = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") result = date_str.parse_string('12/31/1999') print(type(result), repr(result)) # -> (['12', '/', '31', '/', '1999'], {'day': [('1999', 4)], 'year': [('12', 0)], 'month': [('31', 2)]}) result_dict = result.as_dict() print(type(result_dict), repr(result_dict)) # -> {'day': '1999', 'year': '12', 'month': '31'} # even though a ParseResults supports dict-like access, sometime you just need to have a dict import json print(json.dumps(result)) # -> Exception: TypeError: ... is not JSON serializable print(json.dumps(result.as_dict())) # -> {"month": "31", "day": "1999", "year": "12"}}(hhhjoubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj hKhjOhhubeh}(h ]h"]h$]h&]h(]uh*jhj hhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhj hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(asList() (pyparsing.ParseResults method)pyparsing.ParseResults.asListhNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.as_listhNubjS)}(hhh](jX)}(hParseResults.asList() -> listh](j)}(hasListh]hasList}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.as_listhNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hlisth]h)}(hhh]hlist}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetlist py:modulejpy:classjOuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.asListuh*jWhjhKhjhhubj)}(hhh](hQ)}(hXReturns the parse results as a nested list of matching tokens, all converted to strings.h]hXReturns the parse results as a nested list of matching tokens, all converted to strings.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjߜhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjߜhhubjk)}(hXpatt = Word(alphas)[1, ...] result = patt.parse_string("sldkj lsdkj sldkj") # even though the result prints in string-like form, it is actually a pyparsing ParseResults print(type(result), result) # -> ['sldkj', 'lsdkj', 'sldkj'] # Use as_list() to create an actual list result_list = result.as_list() print(type(result_list), result_list) # -> ['sldkj', 'lsdkj', 'sldkj']h]hXpatt = Word(alphas)[1, ...] result = patt.parse_string("sldkj lsdkj sldkj") # even though the result prints in string-like form, it is actually a pyparsing ParseResults print(type(result), result) # -> ['sldkj', 'lsdkj', 'sldkj'] # Use as_list() to create an actual list result_list = result.as_list() print(type(result_list), result_list) # -> ['sldkj', 'lsdkj', 'sldkj']}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjߜhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)as_dict() (pyparsing.ParseResults method)pyparsing.ParseResults.as_dicthNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.as_dicthNubjS)}(hhh](jX)}(hParseResults.as_dict() -> dicth](j)}(has_dicth]has_dict}(hhhj1hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj-hhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.as_dicthNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj-hhhj?hNubj-)}(hdicth]h)}(hhh]hdict}(hhhjNubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetdict py:modulejpy:classjOuh*h~hjJubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj-hhhj?hNubeh}(h ]j'ah"]h$]h&]h(]j pyparsingjjOjParseResults.as_dictuh*jWhj?hKhj*hhubj)}(hhh](hQ)}(h7Returns the named parse results as a nested dictionary.h]h7Returns the named parse results as a nested dictionary.}(hjthjrhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj)hKhjohhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj)hKhjohhubjk)}(hXinteger = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") result = date_str.parse_string('12/31/1999') print(type(result), repr(result)) # -> (['12', '/', '31', '/', '1999'], {'day': [('1999', 4)], 'year': [('12', 0)], 'month': [('31', 2)]}) result_dict = result.as_dict() print(type(result_dict), repr(result_dict)) # -> {'day': '1999', 'year': '12', 'month': '31'} # even though a ParseResults supports dict-like access, sometime you just need to have a dict import json print(json.dumps(result)) # -> Exception: TypeError: ... is not JSON serializable print(json.dumps(result.as_dict())) # -> {"month": "31", "day": "1999", "year": "12"}h]hXinteger = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") result = date_str.parse_string('12/31/1999') print(type(result), repr(result)) # -> (['12', '/', '31', '/', '1999'], {'day': [('1999', 4)], 'year': [('12', 0)], 'month': [('31', 2)]}) result_dict = result.as_dict() print(type(result_dict), repr(result_dict)) # -> {'day': '1999', 'year': '12', 'month': '31'} # even though a ParseResults supports dict-like access, sometime you just need to have a dict import json print(json.dumps(result)) # -> Exception: TypeError: ... is not JSON serializable print(json.dumps(result.as_dict())) # -> {"month": "31", "day": "1999", "year": "12"}}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj)hKhjohhubeh}(h ]h"]h$]h&]h(]uh*jhj*hhhj?hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhj)hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)as_list() (pyparsing.ParseResults method)pyparsing.ParseResults.as_listhNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.as_listhNubjS)}(hhh](jX)}(hParseResults.as_list() -> listh](j)}(has_listh]has_list}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.as_listhNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjϝhNubj-)}(hlisth]h)}(hhh]hlist}(hhhjޝubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetlist py:modulejpy:classjOuh*h~hjڝubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjϝhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.as_listuh*jWhjϝhKhjhhubj)}(hhh](hQ)}(hXReturns the parse results as a nested list of matching tokens, all converted to strings.h]hXReturns the parse results as a nested list of matching tokens, all converted to strings.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hXpatt = Word(alphas)[1, ...] result = patt.parse_string("sldkj lsdkj sldkj") # even though the result prints in string-like form, it is actually a pyparsing ParseResults print(type(result), result) # -> ['sldkj', 'lsdkj', 'sldkj'] # Use as_list() to create an actual list result_list = result.as_list() print(type(result_list), result_list) # -> ['sldkj', 'lsdkj', 'sldkj']h]hXpatt = Word(alphas)[1, ...] result = patt.parse_string("sldkj lsdkj sldkj") # even though the result prints in string-like form, it is actually a pyparsing ParseResults print(type(result), result) # -> ['sldkj', 'lsdkj', 'sldkj'] # Use as_list() to create an actual list result_list = result.as_list() print(type(result_list), result_list) # -> ['sldkj', 'lsdkj', 'sldkj']}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjϝhNubeh}(h ]h"]pyah$]h&]h(]jy j6jz methodj| j:j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN'clear() (pyparsing.ParseResults method)pyparsing.ParseResults.clearhNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.clearhNubjS)}(hhh](jX)}(hParseResults.clear()h](j)}(hclearh]hclear}(hhhjQhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjMhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.clearhNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjMhhhj_hNubeh}(h ]jGah"]h$]h&]h(]j pyparsingjjOjParseResults.clearuh*jWhj_hKhjJhhubj)}(hhh]hQ)}(h%Clear all elements and results names.h]h%Clear all elements and results names.}(hjwhjuhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjIhKhjrhhubah}(h ]h"]h$]h&]h(]uh*jhjJhhhj_hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjIhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN©() (pyparsing.ParseResults method)pyparsing.ParseResults.copyhNtauh*h,hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.copyhNubjS)}(hhh](jX)}(h5ParseResults.copy() -> pyparsing.results.ParseResultsh](j)}(hcopyh]hcopy}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.copyhNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.results.ParseResultsh]h)}(hhh]hpyparsing.results.ParseResults}(hhhjĞubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classjOuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.copyuh*jWhjhKhjhhubj)}(hhh]hQ)}(h5Returns a new copy of a :class:`ParseResults` object.h](hReturns a new copy of a }(hReturns a new copy of a hjhhhNhNubh)}(h:class:`ParseResults`h]hj)}(hjh]h ParseResults}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOh ParseResultsuh*h~hjhKhjubh object.}(h object.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j%jz methodj| j)j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&dump() (pyparsing.ParseResults method)pyparsing.ParseResults.dumphNtauh*h,hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.dumphNubjS)}(hhh](jX)}(hKParseResults.dump(indent='', full=True, include_list=True, _depth=0) -> strh](j)}(hdumph]hdump}(hhhj@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj<hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.dumphNubj)}(h1indent='', full=True, include_list=True, _depth=0h](j)}(h indent=''h](j)}(hindenth]hindent}(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjSubjZ)}(h=h]h=}(hhhjeubah}(h ]h"]jfah$]h&]h(]uh*jYhjSubjo)}(h''h]h''}(hhhjsubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjSubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjOubj)}(h full=Trueh](j)}(hfullh]hfull}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjOubj)}(hinclude_list=Trueh](j)}(h include_listh]h include_list}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubjZ)}(h=h]h=}(hhhjϟubah}(h ]h"]jfah$]h&]h(]uh*jYhjubjo)}(hTrueh]hTrue}(hhhjݟubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjOubj)}(h_depth=0h](j)}(h_depthh]h_depth}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubjo)}(h0h]h0}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjOubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj<hhhjNhNubj-)}(hstrh]h)}(hhh]hstr}(hhhj1ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjOuh*h~hj-ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj<hhhjNhNubeh}(h ]j6ah"]h$]h&]h(]j pyparsingjjOjParseResults.dumpuh*jWhjNhKhj9hhubj)}(hhh](hQ)}(hDiagnostic method for listing out the contents of a :class:`ParseResults`. Accepts an optional ``indent`` argument so that this string can be embedded in a nested display of other data.h](h4Diagnostic method for listing out the contents of a }(h4Diagnostic method for listing out the contents of a hjUhhhNhNubh)}(h:class:`ParseResults`h]hj)}(hj`h]h ParseResults}(hhhjbubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj^ubah}(h ]h"]h$]h&]h(]refdoch refdomainjlreftypeclass refexplicitrefwarnhjPhjOh ParseResultsuh*h~hj8hKhjUubh. Accepts an optional }(h. Accepts an optional hjUhhhNhNubhj)}(h ``indent``h]hindent}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjUubhP argument so that this string can be embedded in a nested display of other data.}(hP argument so that this string can be embedded in a nested display of other data.hjUhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj8hKhjRhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj8hKhjRhhubjk)}(hinteger = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") result = date_str.parse_string('1999/12/31') print(result.dump())h]hinteger = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") result = date_str.parse_string('1999/12/31') print(result.dump())}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj8hKhjRhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj8hK hjRhhubjk)}(hG['1999', '/', '12', '/', '31'] - day: '31' - month: '12' - year: '1999'h]hG['1999', '/', '12', '/', '31'] - day: '31' - month: '12' - year: '1999'}(hhhjȠubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj8hKhjRhhubeh}(h ]h"]h$]h&]h(]uh*jhj9hhhjNhNubeh}(h ]h"]pyah$]h&]h(]jy jߠjz methodj| jj} uh*jRhhhjhj8hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(extend() (pyparsing.ParseResults method)pyparsing.ParseResults.extendhNtauh*h,hjhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.extendhNubjS)}(hhh](jX)}(hParseResults.extend(itemseq)h](j)}(hextendh]hextend}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.extendhNubj)}(hitemseqh]j)}(hitemseqh]j)}(hitemseqh]hitemseq}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.extenduh*jWhjhKhjhhubj)}(hhh](hQ)}(hEAdd sequence of elements to end of ``ParseResults`` list of elements.h](h#Add sequence of elements to end of }(h#Add sequence of elements to end of hj6hhhNhNubhj)}(h``ParseResults``h]h ParseResults}(hhhj?ubah}(h ]h"]h$]h&]h(]uh*hihj6ubh list of elements.}(h list of elements.hj6hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj3hhubhQ)}(h Example::h]hExample:}(hExample:hjXhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj3hhubjk)}(hX^patt = Word(alphas)[1, ...] # use a parse action to append the reverse of the matched strings, to make a palindrome def make_palindrome(tokens): tokens.extend(reversed([t[::-1] for t in tokens])) return ''.join(tokens) patt.add_parse_action(make_palindrome) print(patt.parse_string("lskdj sdlkjf lksd")) # -> 'lskdjsdlkjflksddsklfjkldsjdksl'h]hX^patt = Word(alphas)[1, ...] # use a parse action to append the reverse of the matched strings, to make a palindrome def make_palindrome(tokens): tokens.extend(reversed([t[::-1] for t in tokens])) return ''.join(tokens) patt.add_parse_action(make_palindrome) print(patt.parse_string("lskdj sdlkjf lksd")) # -> 'lskdjsdlkjflksddsklfjkldsjdksl'}(hhhjgubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhj3hhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j~jz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN1from_dict() (pyparsing.ParseResults class method) pyparsing.ParseResults.from_dicthNtauh*h,hjhhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.from_dicthNubjS)}(hhh](jX)}(hJParseResults.from_dict(other, name=None) -> pyparsing.results.ParseResultsh](j^)}(h classmethod h]h classmethod }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.from_dicthNubj)}(h from_dicth]h from_dict}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hother, name=Noneh](j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h name=Noneh](j)}(hnameh]hname}(hhhj֡ubah}(h ]h"]jah$]h&]h(]uh*jhjҡubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjҡubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjҡubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.results.ParseResultsh]h)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classjOuh*h~hj ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.from_dictuh*jWhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.from_dicthKhjhhubj)}(hhh]hQ)}(hHelper classmethod to construct a ``ParseResults`` from a ``dict``, preserving the name-value relations as results names. If an optional ``name`` argument is given, a nested ``ParseResults`` will be returned.h](h"Helper classmethod to construct a }(h"Helper classmethod to construct a hj6hhhNhNubhj)}(h``ParseResults``h]h ParseResults}(hhhj?ubah}(h ]h"]h$]h&]h(]uh*hihj6ubh from a }(h from a hj6hhhNhNubhj)}(h``dict``h]hdict}(hhhjRubah}(h ]h"]h$]h&]h(]uh*hihj6ubhG, preserving the name-value relations as results names. If an optional }(hG, preserving the name-value relations as results names. If an optional hj6hhhNhNubhj)}(h``name``h]hname}(hhhjeubah}(h ]h"]h$]h&]h(]uh*hihj6ubh argument is given, a nested }(h argument is given, a nested hj6hhhNhNubhj)}(h``ParseResults``h]h ParseResults}(hhhjxubah}(h ]h"]h$]h&]h(]uh*hihj6ubh will be returned.}(h will be returned.hj6hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj3hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%get() (pyparsing.ParseResults method)pyparsing.ParseResults.gethNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.gethNubjS)}(hhh](jX)}(h)ParseResults.get(key, default_value=None)h](j)}(hgeth]hget}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.gethNubj)}(hkey, default_value=Noneh](j)}(hkeyh]j)}(hkeyh]hkey}(hhhj̢ubah}(h ]h"]jah$]h&]h(]uh*jhjȢubah}(h ]h"]h$]h&]h(]jzj{uh*jhjĢubj)}(hdefault_value=Noneh](j)}(h default_valueh]h default_value}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjĢubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjâhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.getuh*jWhjâhKhjhhubj)}(hhh](hQ)}(hReturns named result matching the given key, or if there is no such name, then returns the given ``default_value`` or ``None`` if no ``default_value`` is specified.h](haReturns named result matching the given key, or if there is no such name, then returns the given }(haReturns named result matching the given key, or if there is no such name, then returns the given hj&hhhNhNubhj)}(h``default_value``h]h default_value}(hhhj/ubah}(h ]h"]h$]h&]h(]uh*hihj&ubh or }(h or hj&hhhNhNubhj)}(h``None``h]hNone}(hhhjBubah}(h ]h"]h$]h&]h(]uh*hihj&ubh if no }(h if no hj&hhhNhNubhj)}(h``default_value``h]h default_value}(hhhjUubah}(h ]h"]h$]h&]h(]uh*hihj&ubh is specified.}(h is specified.hj&hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj#hhubhQ)}(hSimilar to ``dict.get()``.h](h Similar to }(h Similar to hjnhhhNhNubhj)}(h``dict.get()``h]h dict.get()}(hhhjwubah}(h ]h"]h$]h&]h(]uh*hihjnubh.}(hjhjnhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj#hhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj#hhubjk)}(hXinteger = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") result = date_str.parse_string("1999/12/31") print(result.get("year")) # -> '1999' print(result.get("hour", "not specified")) # -> 'not specified' print(result.get("hour")) # -> Noneh]hXinteger = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") result = date_str.parse_string("1999/12/31") print(result.get("year")) # -> '1999' print(result.get("hour", "not specified")) # -> 'not specified' print(result.get("hour")) # -> None}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK hj#hhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjâhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)getName() (pyparsing.ParseResults method)pyparsing.ParseResults.getNamehNtauh*h,hjhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.get_namehNubjS)}(hhh](jX)}(hParseResults.getName()h](j)}(hgetNameh]hgetName}(hhhjУhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj̣hhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.get_namehNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj̣hhhjޣhNubeh}(h ]jƣah"]h$]h&]h(]j pyparsingjjOjParseResults.getNameuh*jWhjޣhKhjɣhhubj)}(hhh](hQ)}(hReturns the results name for this token expression. Useful when several different expressions might match at a particular location.h]hReturns the results name for this token expression. Useful when several different expressions might match at a particular location.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjȣhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjȣhKhjhhubjk)}(hXinteger = Word(nums) ssn_expr = Regex(r"\d\d\d-\d\d-\d\d\d\d") house_number_expr = Suppress('#') + Word(nums, alphanums) user_data = (Group(house_number_expr)("house_number") | Group(ssn_expr)("ssn") | Group(integer)("age")) user_info = user_data[1, ...] result = user_info.parse_string("22 111-22-3333 #221B") for item in result: print(item.get_name(), ':', item[0])h]hXinteger = Word(nums) ssn_expr = Regex(r"\d\d\d-\d\d-\d\d\d\d") house_number_expr = Suppress('#') + Word(nums, alphanums) user_data = (Group(house_number_expr)("house_number") | Group(ssn_expr)("ssn") | Group(integer)("age")) user_info = user_data[1, ...] result = user_info.parse_string("22 111-22-3333 #221B") for item in result: print(item.get_name(), ':', item[0])}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjȣhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjȣhKhjhhubjk)}(h.age : 22 ssn : 111-22-3333 house_number : 221Bh]h.age : 22 ssn : 111-22-3333 house_number : 221B}(hhhj.ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjȣhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjɣhhhjޣhNubeh}(h ]h"]pyah$]h&]h(]jy jEjz methodj| jIj} uh*jRhhhjhjȣhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*get_name() (pyparsing.ParseResults method)pyparsing.ParseResults.get_namehNtauh*h,hjhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.get_namehNubjS)}(hhh](jX)}(hParseResults.get_name()h](j)}(hget_nameh]hget_name}(hhhj`hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj\hhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.get_namehNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj\hhhjnhNubeh}(h ]jVah"]h$]h&]h(]j pyparsingjjOjParseResults.get_nameuh*jWhjnhKhjYhhubj)}(hhh](hQ)}(hReturns the results name for this token expression. Useful when several different expressions might match at a particular location.h]hReturns the results name for this token expression. Useful when several different expressions might match at a particular location.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjXhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjXhKhjhhubjk)}(hXinteger = Word(nums) ssn_expr = Regex(r"\d\d\d-\d\d-\d\d\d\d") house_number_expr = Suppress('#') + Word(nums, alphanums) user_data = (Group(house_number_expr)("house_number") | Group(ssn_expr)("ssn") | Group(integer)("age")) user_info = user_data[1, ...] result = user_info.parse_string("22 111-22-3333 #221B") for item in result: print(item.get_name(), ':', item[0])h]hXinteger = Word(nums) ssn_expr = Regex(r"\d\d\d-\d\d-\d\d\d\d") house_number_expr = Suppress('#') + Word(nums, alphanums) user_data = (Group(house_number_expr)("house_number") | Group(ssn_expr)("ssn") | Group(integer)("age")) user_info = user_data[1, ...] result = user_info.parse_string("22 111-22-3333 #221B") for item in result: print(item.get_name(), ':', item[0])}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjXhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjXhKhjhhubjk)}(h.age : 22 ssn : 111-22-3333 house_number : 221Bh]h.age : 22 ssn : 111-22-3333 house_number : 221B}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjXhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjYhhhjnhNubeh}(h ]h"]pyah$]h&]h(]jy jդjz methodj| j٤j} uh*jRhhhjhjXhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)haskeys() (pyparsing.ParseResults method)pyparsing.ParseResults.haskeyshNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.haskeyshNubjS)}(hhh](jX)}(hParseResults.haskeys() -> boolh](j)}(hhaskeysh]hhaskeys}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.haskeyshNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hboolh]h)}(hhh]hbool}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classjOuh*h~hj ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.haskeysuh*jWhjhKhjhhubj)}(hhh]hQ)}(hSince ``keys()`` returns an iterator, this method is helpful in bypassing code that looks for the existence of any defined results names.h](hSince }(hSince hj1hhhNhNubhj)}(h ``keys()``h]hkeys()}(hhhj:ubah}(h ]h"]h$]h&]h(]uh*hihj1ubhy returns an iterator, this method is helpful in bypassing code that looks for the existence of any defined results names.}(hy returns an iterator, this method is helpful in bypassing code that looks for the existence of any defined results names.hj1hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj.hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j\jz methodj| j`j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(insert() (pyparsing.ParseResults method)pyparsing.ParseResults.inserthNtauh*h,hjhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.inserthNubjS)}(hhh](jX)}(h&ParseResults.insert(index, ins_string)h](j)}(hinserth]hinsert}(hhhjwhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjshhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.inserthNubj)}(hindex, ins_stringh](j)}(hindexh]j)}(hindexh]hindex}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h ins_stringh]j)}(h ins_stringh]h ins_string}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjshhhjhNubeh}(h ]jmah"]h$]h&]h(]j pyparsingjjOjParseResults.insertuh*jWhjhKhjphhubj)}(hhh](hQ)}(hCInserts new element at location index in the list of parsed tokens.h]hCInserts new element at location index in the list of parsed tokens.}(hjͥhj˥hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjohKhjȥhhubhQ)}(hSimilar to ``list.insert()``.h](h Similar to }(h Similar to hj٥hhhNhNubhj)}(h``list.insert()``h]h list.insert()}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj٥ubh.}(hjhj٥hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjohKhjȥhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjohKhjȥhhubjk)}(hXVnumlist = Word(nums)[...] print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321'] # use a parse action to insert the parse location in the front of the parsed results def insert_locn(locn, tokens): tokens.insert(0, locn) numlist.add_parse_action(insert_locn) print(numlist.parse_string("0 123 321")) # -> [0, '0', '123', '321']h]hXVnumlist = Word(nums)[...] print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321'] # use a parse action to insert the parse location in the front of the parsed results def insert_locn(locn, tokens): tokens.insert(0, locn) numlist.add_parse_action(insert_locn) print(numlist.parse_string("0 123 321")) # -> [0, '0', '123', '321']}(hhhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjohKhjȥhhubeh}(h ]h"]h$]h&]h(]uh*jhjphhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j jz methodj| j$j} uh*jRhhhjhjohNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%pop() (pyparsing.ParseResults method)pyparsing.ParseResults.pophNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.pophNubjS)}(hhh](jX)}(h!ParseResults.pop(*args, **kwargs)h](j)}(hpoph]hpop}(hhhj;hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj7hhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.pophNubj)}(h*args, **kwargsh](j)}(h*argsh](jZ)}(h*h]h*}(hhhjRubah}(h ]h"]jfah$]h&]h(]uh*jYhjNubj)}(hargsh]hargs}(hhhj`ubah}(h ]h"]jah$]h&]h(]uh*jhjNubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJubj)}(h**kwargsh](jZ)}(h**h]h**}(hhhjxubah}(h ]h"]jfah$]h&]h(]uh*jYhjtubj)}(hkwargsh]hkwargs}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjtubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj7hhhjIhNubeh}(h ]j1ah"]h$]h&]h(]j pyparsingjjOjParseResults.popuh*jWhjIhKhj4hhubj)}(hhh](hQ)}(hXRemoves and returns item at specified index (default= ``last``). Supports both ``list`` and ``dict`` semantics for ``pop()``. If passed no argument or an integer argument, it will use ``list`` semantics and pop tokens from the list of parsed tokens. If passed a non-integer argument (most likely a string), it will use ``dict`` semantics and pop the corresponding value from any defined results names. A second default return value argument is supported, just as in ``dict.pop()``.h](h6Removes and returns item at specified index (default= }(h6Removes and returns item at specified index (default= hjhhhNhNubhj)}(h``last``h]hlast}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh). Supports both }(h). Supports both hjhhhNhNubhj)}(h``list``h]hlist}(hhhjǦubah}(h ]h"]h$]h&]h(]uh*hihjubh and }(h and hjhhhNhNubhj)}(h``dict``h]hdict}(hhhjڦubah}(h ]h"]h$]h&]h(]uh*hihjubh semantics for }(h semantics for hjhhhNhNubhj)}(h ``pop()``h]hpop()}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh<. If passed no argument or an integer argument, it will use }(h<. If passed no argument or an integer argument, it will use hjhhhNhNubhj)}(h``list``h]hlist}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh semantics and pop tokens from the list of parsed tokens. If passed a non-integer argument (most likely a string), it will use }(h semantics and pop tokens from the list of parsed tokens. If passed a non-integer argument (most likely a string), it will use hjhhhNhNubhj)}(h``dict``h]hdict}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh semantics and pop the corresponding value from any defined results names. A second default return value argument is supported, just as in }(h semantics and pop the corresponding value from any defined results names. A second default return value argument is supported, just as in hjhhhNhNubhj)}(h``dict.pop()``h]h dict.pop()}(hhhj&ubah}(h ]h"]h$]h&]h(]uh*hihjubh.}(hjhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj3hKhjhhubhQ)}(h Example::h]hExample:}(hExample:hj>hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj3hK hjhhubjk)}(hXtnumlist = Word(nums)[...] print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321'] def remove_first(tokens): tokens.pop(0) numlist.add_parse_action(remove_first) print(numlist.parse_string("0 123 321")) # -> ['123', '321'] label = Word(alphas) patt = label("LABEL") + Word(nums)[1, ...] print(patt.parse_string("AAB 123 321").dump()) # Use pop() in a parse action to remove named result (note that corresponding value is not # removed from list form of results) def remove_LABEL(tokens): tokens.pop("LABEL") return tokens patt.add_parse_action(remove_LABEL) print(patt.parse_string("AAB 123 321").dump())h]hXtnumlist = Word(nums)[...] print(numlist.parse_string("0 123 321")) # -> ['0', '123', '321'] def remove_first(tokens): tokens.pop(0) numlist.add_parse_action(remove_first) print(numlist.parse_string("0 123 321")) # -> ['123', '321'] label = Word(alphas) patt = label("LABEL") + Word(nums)[1, ...] print(patt.parse_string("AAB 123 321").dump()) # Use pop() in a parse action to remove named result (note that corresponding value is not # removed from list form of results) def remove_LABEL(tokens): tokens.pop("LABEL") return tokens patt.add_parse_action(remove_LABEL) print(patt.parse_string("AAB 123 321").dump())}(hhhjMubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj3hK hjhhubhQ)}(hprints::h]hprints:}(hprints:hj[hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj3hK hjhhubjk)}(h;['AAB', '123', '321'] - LABEL: 'AAB' ['AAB', '123', '321']h]h;['AAB', '123', '321'] - LABEL: 'AAB' ['AAB', '123', '321']}(hhhjjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj3hK"hjhhubeh}(h ]h"]h$]h&]h(]uh*jhj4hhhjIhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhj3hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(pprint() (pyparsing.ParseResults method)pyparsing.ParseResults.pprinthNtauh*h,hjhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.pprinthNubjS)}(hhh](jX)}(h$ParseResults.pprint(*args, **kwargs)h](j)}(hpprinth]hpprint}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.results.ParseResults.pprinthNubj)}(h*args, **kwargsh](j)}(h*argsh](jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubj)}(hargsh]hargs}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h**kwargsh](jZ)}(h**h]h**}(hhhj٧ubah}(h ]h"]jfah$]h&]h(]uh*jYhjէubj)}(hkwargsh]hkwargs}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjէubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjOjParseResults.pprintuh*jWhjhKhjhhubj)}(hhh](hQ)}(hXPretty-printer for parsed results as a list, using the `pprint `_ module. Accepts additional positional or keyword args as defined for `pprint.pprint `_ .h](h7Pretty-printer for parsed results as a list, using the }(h7Pretty-printer for parsed results as a list, using the hj hhhNhNubh reference)}(h9`pprint `_h]hpprint}(hpprinthjubah}(h ]h"]h$]h&]h(]namejrefuri-https://docs.python.org/3/library/pprint.htmluh*jhj ubh target)}(h0 h]h}(h ]pprintah"]h$]pprintah&]h(]refurij(uh*j) referencedKhj ubhF module. Accepts additional positional or keyword args as defined for }(hF module. Accepts additional positional or keyword args as defined for hj hhhNhNubj)}(hN`pprint.pprint `_h]h pprint.pprint}(h pprint.pprinthj>ubah}(h ]h"]h$]h&]h(]namejFj';https://docs.python.org/3/library/pprint.html#pprint.pprintuh*jhj ubj*)}(h> h]h}(h ] pprint-pprintah"]h$] pprint.pprintah&]h(]refurijNuh*j)j8Khj ubh .}(h .hj hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj hhubhQ)}(h Example::h]hExample:}(hExample:hjghhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj hhubjk)}(hident = Word(alphas, alphanums) num = Word(nums) func = Forward() term = ident | num | Group('(' + func + ')') func <<= ident + Group(Optional(delimited_list(term))) result = func.parse_string("fna a,b,(fnb c,d,200),100") result.pprint(width=40)h]hident = Word(alphas, alphanums) num = Word(nums) func = Forward() term = ident | num | Group('(' + func + ')') func <<= ident + Group(Optional(delimited_list(term))) result = func.parse_string("fna a,b,(fnb c,d,200),100") result.pprint(width=40)}(hhhjvubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhj hhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj hhubjk)}(hG['fna', ['a', 'b', ['(', 'fnb', ['c', 'd', '200'], ')'], '100']]h]hG['fna', ['a', 'b', ['(', 'fnb', ['c', 'd', '200'], ')'], '100']]}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhj hhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubeh}(h ]h"]h$]h&]h(]uh*jhj)hhhj>hNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNParseSyntaxExceptionpyparsing.ParseSyntaxExceptionhNtauh*h,hjhhht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseSyntaxExceptionhNubjS)}(hhh](jX)}(hSParseSyntaxException(pstr: str, loc: int = 0, msg: Optional[str] = None, elem=None)h](j^)}(h exception h]h exception }(hhhjӨhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjϨhhht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseSyntaxExceptionhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjϨhhhjhNubj)}(hjȨh]hParseSyntaxException}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjϨhhhjhNubj)}(h=pstr: str, loc: int = 0, msg: Optional[str] = None, elem=Noneh](j)}(h pstr: strh](j)}(hpstrh]hpstr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhj)ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj%ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h loc: int = 0h](j)}(hloch]hloc}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjHubj)}(h:h]h:}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjHubh }(hhhjHubj)}(hinth]h)}(hhh]hint}(hhhjpubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjlubah}(h ]h"]jah$]h&]h(]uh*jhjHubh }(hhhjHubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjHubh }(hhhjHubjo)}(h0h]h0}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjHubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hmsg: Optional[str] = Noneh](j)}(hmsgh]hmsg}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjƩubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjܩubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjةubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjةubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjةubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjةubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj(ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhj:ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h elem=Noneh](j)}(helemh]helem}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjOubjZ)}(h=h]h=}(hhhjaubah}(h ]h"]jfah$]h&]h(]uh*jYhjOubjo)}(hNoneh]hNone}(hhhjoubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjOubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjϨhhhjhNubeh}(h ]jɨah"]h$]h&]h(]j pyparsingjhjjȨuh*jWhjhKhj̨hhubj)}(hhh](hQ)}(h8Bases: :class:`pyparsing.exceptions.ParseFatalException`h](hBases: }(hBases: hjhhhNhNubh)}(h1:class:`pyparsing.exceptions.ParseFatalException`h]hj)}(hjh]h(pyparsing.exceptions.ParseFatalException}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjȨh(pyparsing.exceptions.ParseFatalExceptionuh*h~ht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.ParseSyntaxExceptionhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hJust like :class:`ParseFatalException`, but thrown internally when an :class:`ErrorStop` ('-' operator) indicates that parsing is to stop immediately because an unbacktrackable syntax error has been found.h](h Just like }(h Just like hjĪhhhNhNubh)}(h:class:`ParseFatalException`h]hj)}(hjϪh]hParseFatalException}(hhhjѪubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjͪubah}(h ]h"]h$]h&]h(]refdoch refdomainj۪reftypeclass refexplicitrefwarnhjhjȨhParseFatalExceptionuh*h~hj˨hKhjĪubh , but thrown internally when an }(h , but thrown internally when an hjĪhhhNhNubh)}(h":class:`ErrorStop`h]hj)}(hjh]h ErrorStop}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjȨhAnd._ErrorStopuh*h~hj˨hKhjĪubhy (‘-‘ operator) indicates that parsing is to stop immediately because an unbacktrackable syntax error has been found.}(hu ('-' operator) indicates that parsing is to stop immediately because an unbacktrackable syntax error has been found.hjĪhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj˨hKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhj̨hhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j&jz exceptionj| j*j} uh*jRhhhjhj˨hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN"ParserElement (class in pyparsing)pyparsing.ParserElementhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h%ParserElement(savelist: bool = False)h](j^)}(hclass h]hclass }(hhhj@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj<hhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElementhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjOhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj<hhhjNhNubj)}(h ParserElementh]h ParserElement}(hhhj]hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj<hhhjNhNubj)}(hsavelist: bool = Falseh]j)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhjsubah}(h ]h"]jah$]h&]h(]uh*jhjoubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjoubh }(hhhjoubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjoubh }(hhhjoubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjoubh }(hhhjoubjo)}(hFalseh]hFalse}(hhhjƫubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjoubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjkubah}(h ]h"]h$]h&]h(]jzj{uh*jhj<hhhjNhNubeh}(h ]j7ah"]h$]h&]h(]j pyparsingjhjj_uh*jWhjNhKhj9hhubj)}(hhh](hQ)}(hBases: :class:`abc.ABC`h](hBases: }(hBases: hjhhhNhNubh)}(h:class:`abc.ABC`h]hj)}(hjh]habc.ABC}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_habc.ABCuh*h~ha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElementhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h)Abstract base level parser element class.h]h)Abstract base level parser element class.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElementhKhjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN/ParserElement.DebugActions (class in pyparsing)$pyparsing.ParserElement.DebugActionshNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h>ParserElement.DebugActions(debug_try, debug_match, debug_fail)h](j^)}(hclass h]hclass }(hhhj?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj;hhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.DebugActionshNubj)}(h DebugActionsh]h DebugActions}(hhhjNhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj;hhhjMhNubj)}(h"debug_try, debug_match, debug_failh](j)}(h debug_tryh]j)}(h debug_tryh]h debug_try}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhj`ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj\ubj)}(h debug_matchh]j)}(h debug_matchh]h debug_match}(hhhj|ubah}(h ]h"]jah$]h&]h(]uh*jhjxubah}(h ]h"]h$]h&]h(]jzj{uh*jhj\ubj)}(h debug_failh]j)}(h debug_failh]h debug_fail}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj\ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj;hhhjMhNubeh}(h ]j6ah"]h$]h&]h(]j pyparsingjj_jParserElement.DebugActionsuh*jWhjMhKhj8hhubj)}(hhh](hQ)}(hBases: :class:`NamedTuple`h](hBases: }(hBases: hjhhhNhNubh)}(h:class:`NamedTuple`h]hj)}(hjĬh]h NamedTuple}(hhhjƬubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj¬ubah}(h ]h"]h$]h&]h(]refdoch refdomainjЬreftypeclass refexplicitrefwarnhjhjh NamedTupleuh*h~hn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.DebugActionshKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN>__getnewargs__() (pyparsing.ParserElement.DebugActions method)3pyparsing.ParserElement.DebugActions.__getnewargs__hNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of collections.DebugActions.__getnewargs__hNubjS)}(hhh](jX)}(h+ParserElement.DebugActions.__getnewargs__()h](j)}(h__getnewargs__h]h__getnewargs__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of collections.DebugActions.__getnewargs__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjj)ParserElement.DebugActions.__getnewargs__uh*jWhj hKhjhhubj)}(hhh]hQ)}(h7Return self as a plain tuple. Used by copy and pickle.h]h7Return self as a plain tuple. Used by copy and pickle.}(hj%hj#hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhj hNubeh}(h ]h"]pyah$]h&]h(]jy j:jz methodj| j>j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN>__new__() (pyparsing.ParserElement.DebugActions static method),pyparsing.ParserElement.DebugActions.__new__hNtauh*h,hjhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of namedtuple_DebugActions.DebugActions.__new__hNubjS)}(hhh](jX)}(hX-ParserElement.DebugActions.__new__(_cls, debug_try: Optional[Callable[[str, int, ParserElement, bool], None]], debug_match: Optional[Callable[[str, int, int, ParserElement, pyparsing.results.ParseResults, bool], None]], debug_fail: Optional[Callable[[str, int, ParserElement, Exception, bool], None]])h](j^)}(hstatic h]hstatic }(hhhjUhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjQhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of namedtuple_DebugActions.DebugActions.__new__hNubj)}(h__new__h]h__new__}(hhhjdhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjQhhhjchNubj)}(hX _cls, debug_try: Optional[Callable[[str, int, ParserElement, bool], None]], debug_match: Optional[Callable[[str, int, int, ParserElement, pyparsing.results.ParseResults, bool], None]], debug_fail: Optional[Callable[[str, int, ParserElement, Exception, bool], None]]h](j)}(h_clsh]j)}(h_clsh]h_cls}(hhhjzubah}(h ]h"]jah$]h&]h(]uh*jhjvubah}(h ]h"]h$]h&]h(]jzj{uh*jhjrubj)}(hDdebug_try: Optional[Callable[[str, int, ParserElement, bool], None]]h](j)}(h debug_tryh]h debug_try}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h9Optional[Callable[[str, int, ParserElement, bool], None]]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjuh*h~hjubj)}(h[h]h[}(hhhjɭubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhj׭ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classjuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhj'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classjuh*h~hjubj)}(h, h]h, }(hhhj:ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]h ParserElement}(hhhjHubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget ParserElement py:modulejpy:classjuh*h~hjubj)}(h, h]h, }(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjiubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classjuh*h~hjubj)}(h]h]h]}(hhhj|ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classjuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjrubj)}(hkdebug_match: Optional[Callable[[str, int, int, ParserElement, pyparsing.results.ParseResults, bool], None]]h](j)}(h debug_matchh]h debug_match}(hhhj׮ubah}(h ]h"]jah$]h&]h(]uh*jhjӮubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjӮubh }(hhhjӮubj)}(h^Optional[Callable[[str, int, int, ParserElement, pyparsing.results.ParseResults, bool], None]]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classjuh*h~hjubj)}(h[h]h[}(hhhj/ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhj=ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjuh*h~hjubj)}(h, h]h, }(hhhj^ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjlubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classjuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classjuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]h ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget ParserElement py:modulejpy:classjuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjϯubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classjuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classjuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classjuh*h~hjubj)}(h]h]h]}(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhj@ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjӮubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjrubj)}(hPdebug_fail: Optional[Callable[[str, int, ParserElement, Exception, bool], None]]h](j)}(h debug_failh]h debug_fail}(hhhj^ubah}(h ]h"]jah$]h&]h(]uh*jhjZubj)}(h:h]h:}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjZubh }(hhhjZubj)}(hDOptional[Callable[[str, int, ParserElement, Exception, bool], None]]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjuh*h~hj~ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classjuh*h~hj~ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubj)}(h[h]h[}(hhhjİubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh)}(hhh]hstr}(hhhjҰubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjuh*h~hj~ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classjuh*h~hj~ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh)}(hhh]h ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget ParserElement py:modulejpy:classjuh*h~hj~ubj)}(h, h]h, }(hhhj'ubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh)}(hhh]h Exception}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget Exception py:modulejpy:classjuh*h~hj~ubj)}(h, h]h, }(hhhjHubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh)}(hhh]hbool}(hhhjVubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classjuh*h~hj~ubj)}(h]h]h]}(hhhjiubah}(h ]h"]jah$]h&]h(]uh*jhj~ubj)}(h, h]h, }(hhhjwubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classjuh*h~hj~ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubeh}(h ]h"]jah$]h&]h(]uh*jhjZubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjrubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjQhhhjchNubeh}(h ]jKah"]h$]h&]h(]j pyparsingjjj"ParserElement.DebugActions.__new__uh*jWhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of namedtuple_DebugActions.DebugActions.__new__hKhjNhhubj)}(hhh]hQ)}(hGCreate new instance of DebugActions(debug_try, debug_match, debug_fail)h]hGCreate new instance of DebugActions(debug_try, debug_match, debug_fail)}(hjԱhjұhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjMhKhjϱhhubah}(h ]h"]h$]h&]h(]uh*jhjNhhhjchNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjMhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN8__repr__() (pyparsing.ParserElement.DebugActions method)-pyparsing.ParserElement.DebugActions.__repr__hNtauh*h,hjhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of collections.DebugActions.__repr__hNubjS)}(hhh](jX)}(h%ParserElement.DebugActions.__repr__()h](j)}(h__repr__h]h__repr__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of collections.DebugActions.__repr__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjj#ParserElement.DebugActions.__repr__uh*jWhjhKhjhhubj)}(hhh]hQ)}(h/Return a nicely formatted representation stringh]h/Return a nicely formatted representation string}(hj*hj(hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj%hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j?jz methodj| jCj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN;debug_fail (pyparsing.ParserElement.DebugActions attribute)/pyparsing.ParserElement.DebugActions.debug_failhNtauh*h,hjhhht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.debug_failhNubjS)}(hhh](jX)}(h%ParserElement.DebugActions.debug_failh](j)}(h debug_failh]h debug_fail}(hhhjZhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjVhhht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.debug_failhNubj^)}(hSOptional[Callable[[str, int, pyparsing.core.ParserElement, Exception, bool], None]]h](h: }(hhhjihhhNhNubh)}(hhh]hOptional}(hhhjqubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjuh*h~hjiubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjiubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classjuh*h~hjiubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjiubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjiubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjuh*h~hjiubj)}(h, h]h, }(hhhjԲubah}(h ]h"]jah$]h&]h(]uh*jhjiubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classjuh*h~hjiubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjiubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classjuh*h~hjiubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjiubh)}(hhh]h Exception}(hhhj$ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget Exception py:modulejpy:classjuh*h~hjiubj)}(h, h]h, }(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhjiubh)}(hhh]hbool}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classjuh*h~hjiubj)}(h]h]h]}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjiubj)}(h, h]h, }(hhhjfubah}(h ]h"]jah$]h&]h(]uh*jhjiubh)}(hhh]hNone}(hhhjtubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classjuh*h~hjiubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjiubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjiubeh}(h ]h"]h$]h&]h(]jzj{uh*j]hjVhhhjhhNubeh}(h ]jPah"]h$]h&]h(]j pyparsingjjj%ParserElement.DebugActions.debug_failuh*jWht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.debug_failhKhjShhubj)}(hhh]hQ)}(hAlias for field number 2h]hAlias for field number 2}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjRhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjShhhjhhNubeh}(h ]h"]pyah$]h&]h(]jy j̳jz attributej| jгj} uh*jRhhhjhjRhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classjuh*h~hjubj)}(h, h]h, }(hhhjQubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhj_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classjuh*h~hjubj)}(h]h]h]}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classjuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjj$ParserElement.DebugActions.debug_tryuh*jWhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.debug_tryhKhjhhubj)}(hhh]hQ)}(hAlias for field number 0h]hAlias for field number 0}(hjѶhj϶hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj̶hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz attributej| jj} uh*jRhhhjhjhNubeh}(h ]h"]h$]h&]h(]uh*jhj8hhhjMhNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*__add__() (pyparsing.ParserElement method)pyparsing.ParserElement.__add__hNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__add__hNubjS)}(hhh](jX)}(h pyparsing.core.ParserElementh](j)}(h__add__h]h__add__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj hhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__add__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj hhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjDubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj@ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj hhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__add__uh*jWhjhKhjhhubj)}(hhh](hQ)}(hImplementation of ``+`` operator - returns :class:`And`. Adding strings to a :class:`ParserElement` converts them to :class:`Literal`s by default.h](hImplementation of }(hImplementation of hjhhhhNhNubhj)}(h``+``h]h+}(hhhjqubah}(h ]h"]h$]h&]h(]uh*hihjhubh operator - returns }(h operator - returns hjhhhhNhNubh)}(h :class:`And`h]hj)}(hjh]hAnd}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjchj_hAnduh*h~hjhKhjhubh. Adding strings to a }(h. Adding strings to a hjhhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjh]h ParserElement}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjchj_h ParserElementuh*h~hjhKhjhubh converts them to :class:}(h converts them to :class:hjhhhhNhNubh problematic)}(h`h]h`}(hhhjзubah}(h ]id2ah"]h$]h&]h(]refidid1uh*jηhjhubhLiteral`s by default.}(hLiteral`s by default.hjhhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjehhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjehhubjk)}(hugreet = Word(alphas) + "," + Word(alphas) + "!" hello = "Hello, World!" print(hello, "->", greet.parse_string(hello))h]hugreet = Word(alphas) + "," + Word(alphas) + "!" hello = "Hello, World!" print(hello, "->", greet.parse_string(hello))}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjehhubhQ)}(hprints::h]hprints:}(hprints:hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjehhubjk)}(h-Hello, World! -> ['Hello', ',', 'World', '!']h]h-Hello, World! -> ['Hello', ',', 'World', '!']}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK hjehhubhQ)}(hM``...`` may be used as a parse expression as a short form of :class:`SkipTo`.h](hj)}(h``...``h]h...}(hhhj*ubah}(h ]h"]h$]h&]h(]uh*hihj&ubh6 may be used as a parse expression as a short form of }(h6 may be used as a parse expression as a short form of hj&hhhNhNubh)}(h:class:`SkipTo`h]hj)}(hj?h]hSkipTo}(hhhjAubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj=ubah}(h ]h"]h$]h&]h(]refdoch refdomainjKreftypeclass refexplicitrefwarnhjchj_hSkipTouh*h~hjhKhj&ubh.}(hjhj&hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjehhubj)}(hhh]hQ)}(h'Literal('start') + ... + Literal('end')h]h/Literal(‘start’) + … + Literal(‘end’)}(hjlhjjubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjgubah}(h ]h"]h$]h&]h(]uh*jhjehhhjhNubhQ)}(his equivalent to:h]his equivalent to:}(hjhj~hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjehhubj)}(hhh]hQ)}(h>Literal('start') + SkipTo('end')("_skipped*") + Literal('end')h]hNLiteral(‘start’) + SkipTo(‘end’)(“_skipped*”) + Literal(‘end’)}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjehhhjhNubhQ)}(hNote that the skipped text is returned with '_skipped' as a results name, and to support having multiple skips in the same parser, the value returned is a list of all skipped text.h]hNote that the skipped text is returned with ‘_skipped’ as a results name, and to support having multiple skips in the same parser, the value returned is a list of all skipped text.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjehhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*__and__() (pyparsing.ParserElement method)pyparsing.ParserElement.__and__hNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__and__hNubjS)}(hhh](jX)}(h pyparsing.core.ParserElementh](j)}(h__and__h]h__and__}(hhhjոhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjѸhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__and__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjѸhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjѸhhhjhNubeh}(h ]j˸ah"]h$]h&]h(]j pyparsingjj_jParserElement.__and__uh*jWhjhKhjθhhubj)}(hhh]hQ)}(h8Implementation of ``&`` operator - returns :class:`Each`h](hImplementation of }(hImplementation of hj.hhhNhNubhj)}(h``&``h]h&}(hhhj7ubah}(h ]h"]h$]h&]h(]uh*hihj.ubh operator - returns }(h operator - returns hj.hhhNhNubh)}(h :class:`Each`h]hj)}(hjLh]hEach}(hhhjNubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjJubah}(h ]h"]h$]h&]h(]refdoch refdomainjXreftypeclass refexplicitrefwarnhj)hj_hEachuh*h~hj͸hKhj.ubeh}(h ]h"]h$]h&]h(]uh*hPhj͸hKhj+hhubah}(h ]h"]h$]h&]h(]uh*jhjθhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jyjz methodj| j}j} uh*jRhhhjhj͸hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__call__() (pyparsing.ParserElement method) pyparsing.ParserElement.__call__hNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__call__hNubjS)}(hhh](jX)}(hRParserElement.__call__(name: Optional[str] = None) -> pyparsing.core.ParserElementh](j)}(h__call__h]h__call__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__call__hNubj)}(hname: Optional[str] = Noneh]j)}(hname: Optional[str] = Noneh](j)}(hnameh]hname}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjϹubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hj˹ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj˹ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj˹ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj˹ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhj-ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjHubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__call__uh*jWhjhKhjhhubj)}(hhh](hQ)}(hHShortcut for :class:`set_results_name`, with ``list_all_matches=False``.h](h Shortcut for }(h Shortcut for hjphhhNhNubh)}(h:class:`set_results_name`h]hj)}(hj{h]hset_results_name}(hhhj}ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjyubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjkhj_hset_results_nameuh*h~hjhKhjpubh, with }(h, with hjphhhNhNubhj)}(h``list_all_matches=False``h]hlist_all_matches=False}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjpubh.}(hjhjphhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjmhhubhQ)}(hmIf ``name`` is given with a trailing ``'*'`` character, then ``list_all_matches`` will be passed as ``True``.h](hIf }(hIf hjhhhNhNubhj)}(h``name``h]hname}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh is given with a trailing }(h is given with a trailing hjhhhNhNubhj)}(h``'*'``h]h'*'}(hhhjҺubah}(h ]h"]h$]h&]h(]uh*hihjubh character, then }(h character, then hjhhhNhNubhj)}(h``list_all_matches``h]hlist_all_matches}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh will be passed as }(h will be passed as hjhhhNhNubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh.}(hjhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjmhhubhQ)}(h5If ``name` is omitted, same as calling :class:`copy`.h](hIf }(hIf hjhhhNhNubjϷ)}(h``h]h``}(hhhjubah}(h ]id4ah"]h$]h&]h(]refidid3uh*jηhjubh"name` is omitted, same as calling }(h"name` is omitted, same as calling hjhhhNhNubh)}(h :class:`copy`h]hj)}(hj1h]hcopy}(hhhj3ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj/ubah}(h ]h"]h$]h&]h(]refdoch refdomainj=reftypeclass refexplicitrefwarnhjkhj_hcopyuh*h~hjhKhjubh.}(hjhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjmhhubhQ)}(h Example::h]hExample:}(hExample:hjYhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjmhhubjk)}(h# these are equivalent userdata = Word(alphas).set_results_name("name") + Word(nums + "-").set_results_name("socsecno") userdata = Word(alphas)("name") + Word(nums + "-")("socsecno")h]h# these are equivalent userdata = Word(alphas).set_results_name("name") + Word(nums + "-").set_results_name("socsecno") userdata = Word(alphas)("name") + Word(nums + "-")("socsecno")}(hhhjhubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK hjmhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)__eq__() (pyparsing.ParserElement method)pyparsing.ParserElement.__eq__hNtauh*h,hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__eq__hNubjS)}(hhh](jX)}(hParserElement.__eq__(other)h](j)}(h__eq__h]h__eq__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__eq__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__eq__uh*jWhjhKhjhhubj)}(hhh]hQ)}(hReturn self==value.h]hReturn self==value.}(hjػhjֻhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjӻhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN.__getitem__() (pyparsing.ParserElement method)#pyparsing.ParserElement.__getitem__hNtauh*h,hjhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__getitem__hNubjS)}(hhh](jX)}(hParserElement.__getitem__(key)h](j)}(h __getitem__h]h __getitem__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__getitem__hNubj)}(hkeyh]j)}(hkeyh]j)}(hkeyh]hkey}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__getitem__uh*jWhjhKhjhhubj)}(hhh](hQ)}(hGuse ``[]`` indexing notation as a short form for expression repetition:h](huse }(huse hjDhhhNhNubhj)}(h``[]``h]h[]}(hhhjMubah}(h ]h"]h$]h&]h(]uh*hihjDubh= indexing notation as a short form for expression repetition:}(h= indexing notation as a short form for expression repetition:hjDhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjAhhubj)}(hhh](j)}(h'``expr[n]`` is equivalent to ``expr*n``h]hQ)}(hjkh](hj)}(h ``expr[n]``h]hexpr[n]}(hhhjpubah}(h ]h"]h$]h&]h(]uh*hihjmubh is equivalent to }(h is equivalent to hjmubhj)}(h ``expr*n``h]hexpr*n}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjmubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjiubah}(h ]h"]h$]h&]h(]uh*jhjfhhhjhNubj)}(h/``expr[m, n]`` is equivalent to ``expr*(m, n)``h]hQ)}(hjh](hj)}(h``expr[m, n]``h]h expr[m, n]}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh is equivalent to }(h is equivalent to hjubhj)}(h``expr*(m, n)``h]h expr*(m, n)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjfhhhjhNubj)}(h``expr[n, ...]`` or ``expr[n,]`` is equivalent to ``expr*n + ZeroOrMore(expr)`` (read as "at least n instances of ``expr``")h]j=)}(hhh]jB)}(h|``expr[n, ...]`` or ``expr[n,]`` is equivalent to ``expr*n + ZeroOrMore(expr)`` (read as "at least n instances of ``expr``")h](jH)}(h.``expr[n, ...]`` or ``expr[n,]`` is equivalenth](hj)}(h``expr[n, ...]``h]h expr[n, ...]}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjܼubh or }(h or hjܼubhj)}(h ``expr[n,]``h]hexpr[n,]}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjܼubh is equivalent}(h is equivalenthjܼubeh}(h ]h"]h$]h&]h(]uh*jGhjhKhjؼubj)}(hhh]hQ)}(hMto ``expr*n + ZeroOrMore(expr)`` (read as "at least n instances of ``expr``")h](hto }(hto hjubhj)}(h``expr*n + ZeroOrMore(expr)``h]hexpr*n + ZeroOrMore(expr)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh% (read as “at least n instances of }(h# (read as "at least n instances of hjubhj)}(h``expr``h]hexpr}(hhhj+ubah}(h ]h"]h$]h&]h(]uh*hihjubh”)}(h")hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj ubah}(h ]h"]h$]h&]h(]uh*jhjؼubeh}(h ]h"]h$]h&]h(]uh*jAhjhKhjռubah}(h ]h"]h$]h&]h(]uh*j<hjѼubah}(h ]h"]h$]h&]h(]uh*jhjfhhhNhNubj)}(h]``expr[..., n]`` is equivalent to ``expr*(0, n)`` (read as "0 to n instances of ``expr``")h]j=)}(hhh]jB)}(hZ``expr[..., n]`` is equivalent to ``expr*(0, n)`` (read as "0 to n instances of ``expr``")h](jH)}(h1``expr[..., n]`` is equivalent to ``expr*(0, n)``h](hj)}(h``expr[..., n]``h]h expr[..., n]}(hhhjkubah}(h ]h"]h$]h&]h(]uh*hihjgubh is equivalent to }(h is equivalent to hjgubhj)}(h``expr*(0, n)``h]h expr*(0, n)}(hhhj~ubah}(h ]h"]h$]h&]h(]uh*hihjgubeh}(h ]h"]h$]h&]h(]uh*jGhjhKhjcubj)}(hhh]hQ)}(h((read as "0 to n instances of ``expr``")h](h (read as “0 to n instances of }(h(read as "0 to n instances of hjubhj)}(h``expr``h]hexpr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh”)}(h")hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhjcubeh}(h ]h"]h$]h&]h(]uh*jAhjhKhj`ubah}(h ]h"]h$]h&]h(]uh*j<hj\ubah}(h ]h"]h$]h&]h(]uh*jhjfhhhNhNubj)}(hI``expr[...]`` and ``expr[0, ...]`` are equivalent to ``ZeroOrMore(expr)``h]hQ)}(hjѽh](hj)}(h ``expr[...]``h]h expr[...]}(hhhjֽubah}(h ]h"]h$]h&]h(]uh*hihjӽubh and }(h and hjӽubhj)}(h``expr[0, ...]``h]h expr[0, ...]}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjӽubh are equivalent to }(h are equivalent to hjӽubhj)}(h``ZeroOrMore(expr)``h]hZeroOrMore(expr)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjӽubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjϽubah}(h ]h"]h$]h&]h(]uh*jhjfhhhjhNubj)}(h6``expr[1, ...]`` is equivalent to ``OneOrMore(expr)`` h]hQ)}(h5``expr[1, ...]`` is equivalent to ``OneOrMore(expr)``h](hj)}(h``expr[1, ...]``h]h expr[1, ...]}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh is equivalent to }(h is equivalent to hjubhj)}(h``OneOrMore(expr)``h]hOneOrMore(expr)}(hhhj1ubah}(h ]h"]h$]h&]h(]uh*hihjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhjfhhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhKhjAhhubhQ)}(h)``None`` may be used in place of ``...``.h](hj)}(h``None``h]hNone}(hhhjUubah}(h ]h"]h$]h&]h(]uh*hihjQubh may be used in place of }(h may be used in place of hjQhhhNhNubhj)}(h``...``h]h...}(hhhjhubah}(h ]h"]h$]h&]h(]uh*hihjQubh.}(hjhjQhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjAhhubhQ)}(hNote that ``expr[..., n]`` and ``expr[m, n]``do not raise an exception if more than ``n`` ``expr``s exist in the input stream. If this behavior is desired, then write ``expr[..., n] + ~expr``.h](h Note that }(h Note that hjhhhNhNubhj)}(h``expr[..., n]``h]h expr[..., n]}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh and }(h and hjhhhNhNubhj)}(h:``expr[m, n]``do not raise an exception if more than ``n``h]h6expr[m, n]``do not raise an exception if more than ``n}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh }(hj hjhhhNhNubhj)}(hf``expr``s exist in the input stream. If this behavior is desired, then write ``expr[..., n] + ~expr``h]hbexpr``s exist in the input stream. If this behavior is desired, then write ``expr[..., n] + ~expr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh.}(hjhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjAhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jϾjz methodj| jӾj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__hash__() (pyparsing.ParserElement method) pyparsing.ParserElement.__hash__hNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__hash__hNubjS)}(hhh](jX)}(hParserElement.__hash__()h](j)}(h__hash__h]h__hash__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__hash__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__hash__uh*jWhjhKhjhhubj)}(hhh]hQ)}(hReturn hash(self).h]hReturn hash(self).}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j%jz methodj| j)j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__init__() (pyparsing.ParserElement method) pyparsing.ParserElement.__init__hNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__init__hNubjS)}(hhh](jX)}(h.ParserElement.__init__(savelist: bool = False)h](j)}(h__init__h]h__init__}(hhhj@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj<hhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__init__hNubj)}(hsavelist: bool = Falseh]j)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjSubj)}(h:h]h:}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjSubh }(hhhjSubj)}(hboolh]h)}(hhh]hbool}(hhhj{ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjwubah}(h ]h"]jah$]h&]h(]uh*jhjSubh }(hhhjSubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjSubh }(hhhjSubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjSubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjOubah}(h ]h"]h$]h&]h(]jzj{uh*jhj<hhhjNhNubeh}(h ]j6ah"]h$]h&]h(]j pyparsingjj_jParserElement.__init__uh*jWhjNhKhj9hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjҿhjпhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj8hKhjͿhhubah}(h ]h"]h$]h&]h(]uh*jhj9hhhjNhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhj8hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-__invert__() (pyparsing.ParserElement method)"pyparsing.ParserElement.__invert__hNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__invert__hNubjS)}(hhh](jX)}(h:ParserElement.__invert__() -> pyparsing.core.ParserElementh](j)}(h __invert__h]h __invert__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__invert__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__invert__uh*jWhjhKhjhhubj)}(hhh]hQ)}(h:Implementation of ``~`` operator - returns :class:`NotAny`h](hImplementation of }(hImplementation of hjChhhNhNubhj)}(h``~``h]h~}(hhhjLubah}(h ]h"]h$]h&]h(]uh*hihjCubh operator - returns }(h operator - returns hjChhhNhNubh)}(h:class:`NotAny`h]hj)}(hjah]hNotAny}(hhhjcubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj_ubah}(h ]h"]h$]h&]h(]refdoch refdomainjmreftypeclass refexplicitrefwarnhj>hj_hNotAnyuh*h~hjhKhjCubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj@hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*__mul__() (pyparsing.ParserElement method)pyparsing.ParserElement.__mul__hNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__mul__hNubjS)}(hhh](jX)}(h pyparsing.core.ParserElementh](j)}(h__mul__h]h__mul__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__mul__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__mul__uh*jWhjhKhjhhubj)}(hhh](hQ)}(hX6Implementation of ``*`` operator, allows use of ``expr * 3`` in place of ``expr + expr + expr``. Expressions may also be multiplied by a 2-integer tuple, similar to ``{min, max}`` multipliers in regular expressions. Tuples may also include ``None`` as in: - ``expr*(n, None)`` or ``expr*(n, )`` is equivalenth](hImplementation of }(hImplementation of hjhhhNhNubhj)}(h``*``h]h*}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihjubh operator, allows use of }(h operator, allows use of hjhhhNhNubhj)}(h ``expr * 3``h]hexpr * 3}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh in place of }(h in place of hjhhhNhNubhj)}(h``expr + expr + expr``h]hexpr + expr + expr}(hhhj1ubah}(h ]h"]h$]h&]h(]uh*hihjubhG. Expressions may also be multiplied by a 2-integer tuple, similar to }(hG. Expressions may also be multiplied by a 2-integer tuple, similar to hjhhhNhNubhj)}(h``{min, max}``h]h {min, max}}(hhhjDubah}(h ]h"]h$]h&]h(]uh*hihjubh> multipliers in regular expressions. Tuples may also include }(h> multipliers in regular expressions. Tuples may also include hjhhhNhNubhj)}(h``None``h]hNone}(hhhjWubah}(h ]h"]h$]h&]h(]uh*hihjubh as in: - }(h as in: - hjhhhNhNubhj)}(h``expr*(n, None)``h]hexpr*(n, None)}(hhhjjubah}(h ]h"]h$]h&]h(]uh*hihjubh or }(h or hjhhhNhNubhj)}(h``expr*(n, )``h]h expr*(n, )}(hhhj}ubah}(h ]h"]h$]h&]h(]uh*hihjubh is equivalent}(h is equivalenthjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj)}(hhh]hQ)}(hMto ``expr*n + ZeroOrMore(expr)`` (read as "at least n instances of ``expr``")h](hto }(hto hjubhj)}(h``expr*n + ZeroOrMore(expr)``h]hexpr*n + ZeroOrMore(expr)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh% (read as “at least n instances of }(h# (read as "at least n instances of hjubhj)}(h``expr``h]hexpr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh”)}(h")hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hhh](j)}(h_``expr*(None, n)`` is equivalent to ``expr*(0, n)`` (read as "0 to n instances of ``expr``")h]j=)}(hhh]jB)}(h\``expr*(None, n)`` is equivalent to ``expr*(0, n)`` (read as "0 to n instances of ``expr``")h](jH)}(h3``expr*(None, n)`` is equivalent to ``expr*(0, n)``h](hj)}(h``expr*(None, n)``h]hexpr*(None, n)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh is equivalent to }(h is equivalent to hjubhj)}(h``expr*(0, n)``h]h expr*(0, n)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubeh}(h ]h"]h$]h&]h(]uh*jGhjhKhjubj)}(hhh]hQ)}(h((read as "0 to n instances of ``expr``")h](h (read as “0 to n instances of }(h(read as "0 to n instances of hjubhj)}(h``expr``h]hexpr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh”)}(h")hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hj ubah}(h ]h"]h$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]uh*jAhjhKhjubah}(h ]h"]h$]h&]h(]uh*j<hjubah}(h ]h"]h$]h&]h(]uh*jhjhhhNhNubj)}(h;``expr*(None, None)`` is equivalent to ``ZeroOrMore(expr)``h]hQ)}(hjLh](hj)}(h``expr*(None, None)``h]hexpr*(None, None)}(hhhjQubah}(h ]h"]h$]h&]h(]uh*hihjNubh is equivalent to }(h is equivalent to hjNubhj)}(h``ZeroOrMore(expr)``h]hZeroOrMore(expr)}(hhhjdubah}(h ]h"]h$]h&]h(]uh*hihjNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjJubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(h8``expr*(1, None)`` is equivalent to ``OneOrMore(expr)`` h]hQ)}(h7``expr*(1, None)`` is equivalent to ``OneOrMore(expr)``h](hj)}(h``expr*(1, None)``h]hexpr*(1, None)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh is equivalent to }(h is equivalent to hjubhj)}(h``OneOrMore(expr)``h]hOneOrMore(expr)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hj~ubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhKhjhhubhQ)}(hNote that ``expr*(None, n)`` does not raise an exception if more than n exprs exist in the input stream; that is, ``expr*(None, n)`` does not enforce a maximum number of expr occurrences. If this behavior is desired, then write ``expr*(None, n) + ~expr``h](h Note that }(h Note that hjhhhNhNubhj)}(h``expr*(None, n)``h]hexpr*(None, n)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhV does not raise an exception if more than n exprs exist in the input stream; that is, }(hV does not raise an exception if more than n exprs exist in the input stream; that is, hjhhhNhNubhj)}(h``expr*(None, n)``h]hexpr*(None, n)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubha does not enforce a maximum number of expr occurrences. If this behavior is desired, then write }(ha does not enforce a maximum number of expr occurrences. If this behavior is desired, then write hjhhhNhNubhj)}(h``expr*(None, n) + ~expr``h]hexpr*(None, n) + ~expr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| j j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)__or__() (pyparsing.ParserElement method)pyparsing.ParserElement.__or__hNtauh*h,hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__or__hNubjS)}(hhh](jX)}(h;ParserElement.__or__(other) -> pyparsing.core.ParserElementh](j)}(h__or__h]h__or__}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__or__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj3ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj.hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjUubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjQubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj.hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__or__uh*jWhj.hKhjhhubj)}(hhh]hQ)}(h>Implementation of ``|`` operator - returns :class:`MatchFirst`h](hImplementation of }(hImplementation of hjyhhhNhNubhj)}(h``|``h]h|}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjyubh operator - returns }(h operator - returns hjyhhhNhNubh)}(h:class:`MatchFirst`h]hj)}(hjh]h MatchFirst}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjthj_h MatchFirstuh*h~hjhKhjyubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjvhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhj.hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__radd__() (pyparsing.ParserElement method) pyparsing.ParserElement.__radd__hNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__radd__hNubjS)}(hhh](jX)}(h=ParserElement.__radd__(other) -> pyparsing.core.ParserElementh](j)}(h__radd__h]h__radd__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__radd__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__radd__uh*jWhjhKhjhhubj)}(hhh]hQ)}(hRImplementation of ``+`` operator when left operand is not a :class:`ParserElement`h](hImplementation of }(hImplementation of hj8hhhNhNubhj)}(h``+``h]h+}(hhhjAubah}(h ]h"]h$]h&]h(]uh*hihj8ubh% operator when left operand is not a }(h% operator when left operand is not a hj8hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjVh]h ParserElement}(hhhjXubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjTubah}(h ]h"]h$]h&]h(]refdoch refdomainjbreftypeclass refexplicitrefwarnhj3hj_h ParserElementuh*h~hjhKhj8ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj5hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__rand__() (pyparsing.ParserElement method) pyparsing.ParserElement.__rand__hNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__rand__hNubjS)}(hhh](jX)}(h=ParserElement.__rand__(other) -> pyparsing.core.ParserElementh](j)}(h__rand__h]h__rand__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__rand__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__rand__uh*jWhjhKhjhhubj)}(hhh]hQ)}(hRImplementation of ``&`` operator when left operand is not a :class:`ParserElement`h](hImplementation of }(hImplementation of hjhhhNhNubhj)}(h``&``h]h&}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh% operator when left operand is not a }(h% operator when left operand is not a hjhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjh]h ParserElement}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj!reftypeclass refexplicitrefwarnhjhj_h ParserElementuh*h~hjhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jBjz methodj| jFj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__repr__() (pyparsing.ParserElement method) pyparsing.ParserElement.__repr__hNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__repr__hNubjS)}(hhh](jX)}(hParserElement.__repr__() -> strh](j)}(h__repr__h]h__repr__}(hhhj]hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjYhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__repr__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjYhhhjkhNubj-)}(hstrh]h)}(hhh]hstr}(hhhjzubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjvubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjYhhhjkhNubeh}(h ]jSah"]h$]h&]h(]j pyparsingjj_jParserElement.__repr__uh*jWhjkhKhjVhhubj)}(hhh]hQ)}(hReturn repr(self).h]hReturn repr(self).}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjUhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjVhhhjkhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjUhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*__ror__() (pyparsing.ParserElement method)pyparsing.ParserElement.__ror__hNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__ror__hNubjS)}(hhh](jX)}(h pyparsing.core.ParserElementh](j)}(h__ror__h]h__ror__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__ror__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__ror__uh*jWhjhKhjhhubj)}(hhh]hQ)}(hRImplementation of ``|`` operator when left operand is not a :class:`ParserElement`h](hImplementation of }(hImplementation of hj)hhhNhNubhj)}(h``|``h]h|}(hhhj2ubah}(h ]h"]h$]h&]h(]uh*hihj)ubh% operator when left operand is not a }(h% operator when left operand is not a hj)hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjGh]h ParserElement}(hhhjIubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjEubah}(h ]h"]h$]h&]h(]refdoch refdomainjSreftypeclass refexplicitrefwarnhj$hj_h ParserElementuh*h~hjhKhj)ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj&hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jtjz methodj| jxj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__rsub__() (pyparsing.ParserElement method) pyparsing.ParserElement.__rsub__hNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__rsub__hNubjS)}(hhh](jX)}(h=ParserElement.__rsub__(other) -> pyparsing.core.ParserElementh](j)}(h__rsub__h]h__rsub__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__rsub__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__rsub__uh*jWhjhKhjhhubj)}(hhh]hQ)}(hRImplementation of ``-`` operator when left operand is not a :class:`ParserElement`h](hImplementation of }(hImplementation of hjhhhNhNubhj)}(h``-``h]h-}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh% operator when left operand is not a }(h% operator when left operand is not a hjhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjh]h ParserElement}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_h ParserElementuh*h~hjhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j3jz methodj| j7j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__rxor__() (pyparsing.ParserElement method) pyparsing.ParserElement.__rxor__hNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__rxor__hNubjS)}(hhh](jX)}(h=ParserElement.__rxor__(other) -> pyparsing.core.ParserElementh](j)}(h__rxor__h]h__rxor__}(hhhjNhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjJhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__rxor__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjaubah}(h ]h"]h$]h&]h(]jzj{uh*jhj]ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjJhhhj\hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjJhhhj\hNubeh}(h ]jDah"]h$]h&]h(]j pyparsingjj_jParserElement.__rxor__uh*jWhj\hKhjGhhubj)}(hhh]hQ)}(hRImplementation of ``^`` operator when left operand is not a :class:`ParserElement`h](hImplementation of }(hImplementation of hjhhhNhNubhj)}(h``^``h]h^}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh% operator when left operand is not a }(h% operator when left operand is not a hjhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjh]h ParserElement}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_h ParserElementuh*h~hjFhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjFhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjGhhhj\hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjFhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*__str__() (pyparsing.ParserElement method)pyparsing.ParserElement.__str__hNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__str__hNubjS)}(hhh](jX)}(hParserElement.__str__() -> strh](j)}(h__str__h]h__str__}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj hhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__str__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj hhhjhNubj-)}(hstrh]h)}(hhh]hstr}(hhhj*ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj&ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj hhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__str__uh*jWhjhKhjhhubj)}(hhh]hQ)}(hReturn str(self).h]hReturn str(self).}(hjPhjNhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjKhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jejz methodj| jij} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*__sub__() (pyparsing.ParserElement method)pyparsing.ParserElement.__sub__hNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__sub__hNubjS)}(hhh](jX)}(h pyparsing.core.ParserElementh](j)}(h__sub__h]h__sub__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj|hhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__sub__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj|hhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj|hhhjhNubeh}(h ]jvah"]h$]h&]h(]j pyparsingjj_jParserElement.__sub__uh*jWhjhKhjyhhubj)}(hhh]hQ)}(hFImplementation of ``-`` operator, returns :class:`And` with error stoph](hImplementation of }(hImplementation of hjhhhNhNubhj)}(h``-``h]h-}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh operator, returns }(h operator, returns hjhhhNhNubh)}(h :class:`And`h]hj)}(hjh]hAnd}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_hAnduh*h~hjxhKhjubh with error stop}(h with error stophjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjxhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjyhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j)jz methodj| j-j} uh*jRhhhjhjxhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN/__weakref__ (pyparsing.ParserElement attribute)#pyparsing.ParserElement.__weakref__hNtauh*h,hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__weakref__hNubjS)}(hhh](jX)}(hParserElement.__weakref__h]j)}(h __weakref__h]h __weakref__}(hhhjDhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj@hhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__weakref__hNubah}(h ]j:ah"]h$]h&]h(]j pyparsingjj_jParserElement.__weakref__uh*jWhjRhKhj=hhubj)}(hhh]hQ)}(h2list of weak references to the object (if defined)h]h2list of weak references to the object (if defined)}(hj`hj^hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj<hKhj[hhubah}(h ]h"]h$]h&]h(]uh*jhj=hhhjRhNubeh}(h ]h"]pyah$]h&]h(]jy jujz attributej| jyj} uh*jRhhhjhj<hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*__xor__() (pyparsing.ParserElement method)pyparsing.ParserElement.__xor__hNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__xor__hNubjS)}(hhh](jX)}(h pyparsing.core.ParserElementh](j)}(h__xor__h]h__xor__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.__xor__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.__xor__uh*jWhjhKhjhhubj)}(hhh]hQ)}(h6Implementation of ``^`` operator - returns :class:`Or`h](hImplementation of }(hImplementation of hjhhhNhNubhj)}(h``^``h]h^}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh operator - returns }(h operator - returns hjhhhNhNubh)}(h :class:`Or`h]hj)}(hjh]hOr}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_hOruh*h~hjhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j4jz methodj| j8j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN/addCondition() (pyparsing.ParserElement method)$pyparsing.ParserElement.addConditionhNtauh*h,hjhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.add_conditionhNubjS)}(hhh](jX)}(hX ParserElement.addCondition(*fns: Union[Callable[[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]], **kwargs) -> pyparsing.core.ParserElementh](j)}(h addConditionh]h addCondition}(hhhjOhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjKhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.add_conditionhNubj)}(h*fns: Union[Callable[[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]], **kwargsh](j)}(h*fns: Union[Callable[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]]h](jZ)}(h*h]h*}(hhhjfubah}(h ]h"]jfah$]h&]h(]uh*jYhjbubj)}(hfnsh]hfns}(hhhjtubah}(h ]h"]jah$]h&]h(]uh*jhjbubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjbubh }(hhhjbubj)}(hUnion[Callable[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhj%ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhj8ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjFubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjuubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhj1ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjRubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhj`ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjsubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjbubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^ubj)}(h**kwargsh](jZ)}(h**h]h**}(hhhj?ubah}(h ]h"]jfah$]h&]h(]uh*jYhj;ubj)}(hkwargsh]hkwargs}(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhj;ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKhhhj]hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjkubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjgubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjKhhhj]hNubeh}(h ]jEah"]h$]h&]h(]j pyparsingjj_jParserElement.addConditionuh*jWhj]hKhjHhhubj)}(hhh](hQ)}(hAdd a boolean predicate function to expression's list of parse actions. See :class:`set_parse_action` for function call signatures. Unlike ``set_parse_action``, functions passed to ``add_condition`` need to return boolean success/fail of the condition.h](hNAdd a boolean predicate function to expression’s list of parse actions. See }(hLAdd a boolean predicate function to expression's list of parse actions. See hjhhhNhNubh)}(h:class:`set_parse_action`h]hj)}(hjh]hset_parse_action}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_hset_parse_actionuh*h~hjGhKhjubh& for function call signatures. Unlike }(h& for function call signatures. Unlike hjhhhNhNubhj)}(h``set_parse_action``h]hset_parse_action}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh, functions passed to }(h, functions passed to hjhhhNhNubhj)}(h``add_condition``h]h add_condition}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh6 need to return boolean success/fail of the condition.}(h6 need to return boolean success/fail of the condition.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjGhKhjhhubhQ)}(hOptional keyword arguments:h]hOptional keyword arguments:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjGhKhjhhubj)}(hhh](j)}(hDmessage = define a custom message to be used in the raised exceptionh]hQ)}(hjh]hDmessage = define a custom message to be used in the raised exception}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjGhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjGhNubj)}(hpfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise ParseExceptionh]hQ)}(hpfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise ParseExceptionh]hpfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise ParseException}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjGhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjGhNubj)}(htcall_during_try = boolean to indicate if this method should be called during internal tryParse calls, default=False h]hQ)}(hscall_during_try = boolean to indicate if this method should be called during internal tryParse calls, default=Falseh]hscall_during_try = boolean to indicate if this method should be called during internal tryParse calls, default=False}(hj/hj-ubah}(h ]h"]h$]h&]h(]uh*hPhjGhK hj)ubah}(h ]h"]h$]h&]h(]uh*jhjhhhjGhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjGhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjGhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjGhK hjhhubjk)}(hXinteger = Word(nums).set_parse_action(lambda toks: int(toks[0])) year_int = integer.copy() year_int.add_condition(lambda toks: toks[0] >= 2000, message="Only support years 2000 and later") date_str = year_int + '/' + integer + '/' + integer result = date_str.parse_string("1999/12/31") # -> Exception: Only support years 2000 and later (at char 0), (line:1, col:1)h]hXinteger = Word(nums).set_parse_action(lambda toks: int(toks[0])) year_int = integer.copy() year_int.add_condition(lambda toks: toks[0] >= 2000, message="Only support years 2000 and later") date_str = year_int + '/' + integer + '/' + integer result = date_str.parse_string("1999/12/31") # -> Exception: Only support years 2000 and later (at char 0), (line:1, col:1)}(hhhjVubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjGhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjHhhhj]hNubeh}(h ]h"]pyah$]h&]h(]jy jmjz methodj| jqj} uh*jRhhhjhjGhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN1addParseAction() (pyparsing.ParserElement method)&pyparsing.ParserElement.addParseActionhNtauh*h,hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.add_parse_actionhNubjS)}(hhh](jX)}(hXParserElement.addParseAction(*fns: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]], **kwargs) -> pyparsing.core.ParserElementh](j)}(haddParseActionh]haddParseAction}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.add_parse_actionhNubj)}(h*fns: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]], **kwargsh](j)}(h*fns: Union[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubj)}(hfnsh]hfns}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hUnion[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hAny}(hhhj/ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjBubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhj^ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjqubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hAny}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhj-ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhj;ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjNubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hAny}(hhhjjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhj}ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhj+ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hAny}(hhhj9ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h**kwargsh](jZ)}(h**h]h**}(hhhjxubah}(h ]h"]jfah$]h&]h(]uh*jYhjtubj)}(hkwargsh]hkwargs}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjtubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]j~ah"]h$]h&]h(]j pyparsingjj_jParserElement.addParseActionuh*jWhjhKhjhhubj)}(hhh](hQ)}(hcAdd one or more parse actions to expression's list of parse actions. See :class:`set_parse_action`.h](hKAdd one or more parse actions to expression’s list of parse actions. See }(hIAdd one or more parse actions to expression's list of parse actions. See hjhhhNhNubh)}(h:class:`set_parse_action`h]hj)}(hjh]hset_parse_action}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_hset_parse_actionuh*h~hjhKhjubh.}(hjhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hSee examples in :class:`copy`.h](hSee examples in }(hSee examples in hjhhhNhNubh)}(h :class:`copy`h]hj)}(hjh]hcopy}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_hcopyuh*h~hjhKhjubh.}(hjhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j7jz methodj| j;j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN0add_condition() (pyparsing.ParserElement method)%pyparsing.ParserElement.add_conditionhNtauh*h,hjhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.add_conditionhNubjS)}(hhh](jX)}(hX ParserElement.add_condition(*fns: Union[Callable[[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]], **kwargs) -> pyparsing.core.ParserElementh](j)}(h add_conditionh]h add_condition}(hhhjRhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjNhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.add_conditionhNubj)}(h*fns: Union[Callable[[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]], **kwargsh](j)}(h*fns: Union[Callable[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]]h](jZ)}(h*h]h*}(hhhjiubah}(h ]h"]jfah$]h&]h(]uh*jYhjeubj)}(hfnsh]hfns}(hhhjwubah}(h ]h"]jah$]h&]h(]uh*jhjeubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjeubh }(hhhjeubj)}(hUnion[Callable[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhj(ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhj;ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjIubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjWubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjxubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhj4ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjcubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjvubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhj$ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjeubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjaubj)}(h**kwargsh](jZ)}(h**h]h**}(hhhjBubah}(h ]h"]jfah$]h&]h(]uh*jYhj>ubj)}(hkwargsh]hkwargs}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhj>ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjaubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjNhhhj`hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjnubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjNhhhj`hNubeh}(h ]jHah"]h$]h&]h(]j pyparsingjj_jParserElement.add_conditionuh*jWhj`hKhjKhhubj)}(hhh](hQ)}(hAdd a boolean predicate function to expression's list of parse actions. See :class:`set_parse_action` for function call signatures. Unlike ``set_parse_action``, functions passed to ``add_condition`` need to return boolean success/fail of the condition.h](hNAdd a boolean predicate function to expression’s list of parse actions. See }(hLAdd a boolean predicate function to expression's list of parse actions. See hjhhhNhNubh)}(h:class:`set_parse_action`h]hj)}(hjh]hset_parse_action}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_hset_parse_actionuh*h~hjJhKhjubh& for function call signatures. Unlike }(h& for function call signatures. Unlike hjhhhNhNubhj)}(h``set_parse_action``h]hset_parse_action}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh, functions passed to }(h, functions passed to hjhhhNhNubhj)}(h``add_condition``h]h add_condition}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh6 need to return boolean success/fail of the condition.}(h6 need to return boolean success/fail of the condition.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjJhKhjhhubhQ)}(hOptional keyword arguments:h]hOptional keyword arguments:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjJhKhjhhubj)}(hhh](j)}(hDmessage = define a custom message to be used in the raised exceptionh]hQ)}(hjh]hDmessage = define a custom message to be used in the raised exception}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjJhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjJhNubj)}(hpfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise ParseExceptionh]hQ)}(hpfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise ParseExceptionh]hpfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise ParseException}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjJhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjJhNubj)}(htcall_during_try = boolean to indicate if this method should be called during internal tryParse calls, default=False h]hQ)}(hscall_during_try = boolean to indicate if this method should be called during internal tryParse calls, default=Falseh]hscall_during_try = boolean to indicate if this method should be called during internal tryParse calls, default=False}(hj2hj0ubah}(h ]h"]h$]h&]h(]uh*hPhjJhK hj,ubah}(h ]h"]h$]h&]h(]uh*jhjhhhjJhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjJhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjJhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjJhK hjhhubjk)}(hXinteger = Word(nums).set_parse_action(lambda toks: int(toks[0])) year_int = integer.copy() year_int.add_condition(lambda toks: toks[0] >= 2000, message="Only support years 2000 and later") date_str = year_int + '/' + integer + '/' + integer result = date_str.parse_string("1999/12/31") # -> Exception: Only support years 2000 and later (at char 0), (line:1, col:1)h]hXinteger = Word(nums).set_parse_action(lambda toks: int(toks[0])) year_int = integer.copy() year_int.add_condition(lambda toks: toks[0] >= 2000, message="Only support years 2000 and later") date_str = year_int + '/' + integer + '/' + integer result = date_str.parse_string("1999/12/31") # -> Exception: Only support years 2000 and later (at char 0), (line:1, col:1)}(hhhjYubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjJhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjKhhhj`hNubeh}(h ]h"]pyah$]h&]h(]jy jpjz methodj| jtj} uh*jRhhhjhjJhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN3add_parse_action() (pyparsing.ParserElement method)(pyparsing.ParserElement.add_parse_actionhNtauh*h,hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.add_parse_actionhNubjS)}(hhh](jX)}(hX ParserElement.add_parse_action(*fns: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]], **kwargs) -> pyparsing.core.ParserElementh](j)}(hadd_parse_actionh]hadd_parse_action}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.add_parse_actionhNubj)}(h*fns: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]], **kwargsh](j)}(h*fns: Union[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubj)}(hfnsh]hfns}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hUnion[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhj$ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hAny}(hhhj2ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjaubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjtubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hAny}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhj0ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhj>ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjQubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhj_ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hAny}(hhhjmubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hAny}(hhhj<ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h**kwargsh](jZ)}(h**h]h**}(hhhj{ubah}(h ]h"]jfah$]h&]h(]uh*jYhjwubj)}(hkwargsh]hkwargs}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjwubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.add_parse_actionuh*jWhjhKhjhhubj)}(hhh](hQ)}(hcAdd one or more parse actions to expression's list of parse actions. See :class:`set_parse_action`.h](hKAdd one or more parse actions to expression’s list of parse actions. See }(hIAdd one or more parse actions to expression's list of parse actions. See hjhhhNhNubh)}(h:class:`set_parse_action`h]hj)}(hjh]hset_parse_action}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_hset_parse_actionuh*h~hjhKhjubh.}(hjhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hSee examples in :class:`copy`.h](hSee examples in }(hSee examples in hjhhhNhNubh)}(h :class:`copy`h]hj)}(hj h]hcopy}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_hcopyuh*h~hjhKhjubh.}(hjhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j:jz methodj| j>j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN'copy() (pyparsing.ParserElement method)pyparsing.ParserElement.copyhNtauh*h,hjhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.copyhNubjS)}(hhh](jX)}(h4ParserElement.copy() -> pyparsing.core.ParserElementh](j)}(hcopyh]hcopy}(hhhjUhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjQhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.copyhNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjQhhhjchNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjrubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjnubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjQhhhjchNubeh}(h ]jKah"]h$]h&]h(]j pyparsingjj_jParserElement.copyuh*jWhjchKhjNhhubj)}(hhh](hQ)}(hMake a copy of this :class:`ParserElement`. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.h](hMake a copy of this }(hMake a copy of this hjhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjh]h ParserElement}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_h ParserElementuh*h~hjMhKhjubhx. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.}(hx. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjMhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjMhKhjhhubjk)}(hXHinteger = Word(nums).set_parse_action(lambda toks: int(toks[0])) integerK = integer.copy().add_parse_action(lambda toks: toks[0] * 1024) + Suppress("K") integerM = integer.copy().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M") print((integerK | integerM | integer)[1, ...].parse_string("5K 100 640K 256M"))h]hXHinteger = Word(nums).set_parse_action(lambda toks: int(toks[0])) integerK = integer.copy().add_parse_action(lambda toks: toks[0] * 1024) + Suppress("K") integerM = integer.copy().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M") print((integerK | integerM | integer)[1, ...].parse_string("5K 100 640K 256M"))}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjMhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjMhK hjhhubjk)}(h[5120, 100, 655360, 268435456]h]h[5120, 100, 655360, 268435456]}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjMhKhjhhubhQ)}(h7Equivalent form of ``expr.copy()`` is just ``expr()``::h](hEquivalent form of }(hEquivalent form of hjhhhNhNubhj)}(h``expr.copy()``h]h expr.copy()}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihjubh is just }(h is just hjhhhNhNubhj)}(h ``expr()``h]hexpr()}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihjubh:}(hj:hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjMhKhjhhubjk)}(hYintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")h]hYintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")}(hhhj8ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjMhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjNhhhjchNubeh}(h ]h"]pyah$]h&]h(]jy jOjz methodj| jSj} uh*jRhhhjhjMhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN1create_diagram() (pyparsing.ParserElement method)&pyparsing.ParserElement.create_diagramhNtauh*h,hjhhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.create_diagramhNubjS)}(hhh](jX)}(hParserElement.create_diagram(output_html: Union[TextIO, pathlib.Path, str], vertical: int = 3, show_results_names: bool = False, show_groups: bool = False, **kwargs) -> Noneh](j)}(hcreate_diagramh]hcreate_diagram}(hhhjjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjfhhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.create_diagramhNubj)}(houtput_html: Union[TextIO, pathlib.Path, str], vertical: int = 3, show_results_names: bool = False, show_groups: bool = False, **kwargsh](j)}(h-output_html: Union[TextIO, pathlib.Path, str]h](j)}(h output_htmlh]h output_html}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj}ubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj}ubh }(hhhj}ubj)}(h Union[TextIO, pathlib.Path, str]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hTextIO}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTextIO py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]h pathlib.Path}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget pathlib.Path py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhj}ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjyubj)}(hvertical: int = 3h](j)}(hverticalh]hvertical}(hhhj9ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h:h]h:}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh }(hhhj5ubj)}(hinth]h)}(hhh]hint}(hhhj]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjYubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh }(hhhj5ubjZ)}(h=h]h=}(hhhjzubah}(h ]h"]jfah$]h&]h(]uh*jYhj5ubh }(hhhj5ubjo)}(h3h]h3}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj5ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjyubj)}(h show_results_names: bool = Falseh](j)}(hshow_results_namesh]hshow_results_names}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjyubj)}(hshow_groups: bool = False)h](j)}(h show_groupsh]h show_groups}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hboolh]h)}(hhh]hbool}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj1ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubjZ)}(h=h]h=}(hhhjRubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubh }(hhhj ubjo)}(hFalseh]hFalse}(hhhjdubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjyubj)}(h**kwargsh](jZ)}(h**h]h**}(hhhj}ubah}(h ]h"]jfah$]h&]h(]uh*jYhjyubj)}(hkwargsh]hkwargs}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjyubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjyubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjfhhhjxhNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjfhhhjxhNubeh}(h ]j`ah"]h$]h&]h(]j pyparsingjj_jParserElement.create_diagramuh*jWhjxhKhjchhubj)}(hhh](hQ)}(h)Create a railroad diagram for the parser.h]h)Create a railroad diagram for the parser.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjhhubhQ)}(hQParameters: - output_html (str or file-like object) - output target for generatedh]hQParameters: - output_html (str or file-like object) - output target for generated}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjhhubj)}(hhh]hQ)}(h diagram HTMLh]h diagram HTML}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubj)}(hhh](j)}(hnvertical (int) - threshold for formatting multiple alternatives vertically instead of horizontally (default=3)h]hQ)}(hnvertical (int) - threshold for formatting multiple alternatives vertically instead of horizontally (default=3)h]hnvertical (int) - threshold for formatting multiple alternatives vertically instead of horizontally (default=3)}(hj hjubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubj)}(h`show_results_names - bool flag whether diagram should show annotations for defined results namesh]hQ)}(h`show_results_names - bool flag whether diagram should show annotations for defined results namesh]h`show_results_names - bool flag whether diagram should show annotations for defined results names}(hj!hjubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubj)}(h^show_groups - bool flag whether groups should be highlighted with an unlabeled surrounding boxh]hQ)}(hj5h]h^show_groups - bool flag whether groups should be highlighted with an unlabeled surrounding box}(hj5hj7ubah}(h ]h"]h$]h&]h(]uh*hPhjbhK hj3ubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjbhKhjhhubhQ)}(haAdditional diagram-formatting keyword arguments can also be included; see railroad.Diagram class.h]haAdditional diagram-formatting keyword arguments can also be included; see railroad.Diagram class.}(hjRhjPhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjbhK hjhhubeh}(h ]h"]h$]h&]h(]uh*jhjchhhjxhNubeh}(h ]h"]pyah$]h&]h(]jy jgjz methodj| jkj} uh*jRhhhjhjbhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN=disable_memoization() (pyparsing.ParserElement static method)+pyparsing.ParserElement.disable_memoizationhNtauh*h,hjhhhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.disable_memoizationhNubjS)}(hhh](jX)}(h+ParserElement.disable_memoization() -> Noneh](j^)}(hstatic h]hstatic }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj~hhhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.disable_memoizationhNubj)}(hdisable_memoizationh]hdisable_memoization}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj~hhhjhNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj~hhhjhNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj~hhhjhNubeh}(h ]jxah"]h$]h&]h(]j pyparsingjj_j!ParserElement.disable_memoizationuh*jWhu/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.disable_memoizationhKhj{hhubj)}(hhh](hQ)}(hGDisables active Packrat or Left Recursion parsing and their memoizationh]hGDisables active Packrat or Left Recursion parsing and their memoization}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjzhKhjhhubhQ)}(hThis method also works if neither Packrat nor Left Recursion are enabled. This makes it safe to call before activating Packrat nor Left Recursion to clear any previous settings.h]hThis method also works if neither Packrat nor Left Recursion are enabled. This makes it safe to call before activating Packrat nor Left Recursion to clear any previous settings.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjzhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhj{hhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjzhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN=enableLeftRecursion() (pyparsing.ParserElement static method)+pyparsing.ParserElement.enableLeftRecursionhNtauh*h,hjhhhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_left_recursionhNubjS)}(hhh](jX)}(haParserElement.enableLeftRecursion(cache_size_limit: Optional[int] = None, *, force=False) -> Noneh](j^)}(hstatic h]hstatic }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_left_recursionhNubj)}(henableLeftRecursionh]henableLeftRecursion}(hhhj!hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj hNubj)}(h6cache_size_limit: Optional[int] = None, *, force=Falseh](j)}(h&cache_size_limit: Optional[int] = Noneh](j)}(hcache_size_limith]hcache_size_limit}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj3ubj)}(h:h]h:}(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhj3ubh }(hhhj3ubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhj[ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hjWubj)}(h[h]h[}(hhhjnubah}(h ]h"]jah$]h&]h(]uh*jhjWubh)}(hhh]hint}(hhhj|ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjWubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjWubeh}(h ]h"]jah$]h&]h(]uh*jhj3ubh }(hhhj3ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj3ubh }(hhhj3ubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj3ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubj)}(h force=Falseh](j)}(hforceh]hforce}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj hNubj-)}(hNoneh]h)}(hhh]hNone}(hhhj%ubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hj!ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_j!ParserElement.enableLeftRecursionuh*jWhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_left_recursionhKhj hhubj)}(hhh](hQ)}(hXEnables "bounded recursion" parsing, which allows for both direct and indirect left-recursion. During parsing, left-recursive :class:`Forward` elements are repeatedly matched with a fixed recursion depth that is gradually increased until finding the longest match.h](hEnables “bounded recursion” parsing, which allows for both direct and indirect left-recursion. During parsing, left-recursive }(h~Enables "bounded recursion" parsing, which allows for both direct and indirect left-recursion. During parsing, left-recursive hjJhhhNhNubh)}(h:class:`Forward`h]hj)}(hjUh]hForward}(hhhjWubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjSubah}(h ]h"]h$]h&]h(]refdoch refdomainjareftypeclass refexplicitrefwarnhjDhj_hForwarduh*h~hj hKhjJubhz elements are repeatedly matched with a fixed recursion depth that is gradually increased until finding the longest match.}(hz elements are repeatedly matched with a fixed recursion depth that is gradually increased until finding the longest match.hjJhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj hKhjGhhubhQ)}(h Example::h]hExample:}(hExample:hj~hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhjGhhubjk)}(himport pyparsing as pp pp.ParserElement.enable_left_recursion() E = pp.Forward("E") num = pp.Word(pp.nums) # match `num`, or `num '+' num`, or `num '+' num '+' num`, ... E <<= E + '+' - num | num print(E.parse_string("1+2+3"))h]himport pyparsing as pp pp.ParserElement.enable_left_recursion() E = pp.Forward("E") num = pp.Word(pp.nums) # match `num`, or `num '+' num`, or `num '+' num '+' num`, ... E <<= E + '+' - num | num print(E.parse_string("1+2+3"))}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj hKhjGhhubhQ)}(hRecursion search naturally memoizes matches of ``Forward`` elements and may thus skip reevaluation of parse actions during backtracking. This may break programs with parse actions which rely on strict ordering of side-effects.h](h/Recursion search naturally memoizes matches of }(h/Recursion search naturally memoizes matches of hjhhhNhNubhj)}(h ``Forward``h]hForward}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh elements and may thus skip reevaluation of parse actions during backtracking. This may break programs with parse actions which rely on strict ordering of side-effects.}(h elements and may thus skip reevaluation of parse actions during backtracking. This may break programs with parse actions which rely on strict ordering of side-effects.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj hKhjGhhubhQ)}(h Parameters:h]h Parameters:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhjGhhubj)}(hhh]j)}(hcache_size_limit - (default=``None``) - memoize at most this many ``Forward`` elements during matching; if ``None`` (the default), memoize all ``Forward`` elements. h]hQ)}(hcache_size_limit - (default=``None``) - memoize at most this many ``Forward`` elements during matching; if ``None`` (the default), memoize all ``Forward`` elements.h](hBcache_size_limit - (default=``None``) - memoize at most this many }(hBcache_size_limit - (default=``None``) - memoize at most this many hjubhj)}(h ``Forward``h]hForward}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh elements during matching; if }(h elements during matching; if hjubhj)}(h``None``h]hNone}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh (the default), memoize all }(h (the default), memoize all hjubhj)}(h ``Forward``h]hForward}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh elements.}(h elements.hjubeh}(h ]h"]h$]h&]h(]uh*hPhj hKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhj hNubah}(h ]h"]h$]h&]h(]jjuh*jhj hKhjGhhubhQ)}(hBounded Recursion parsing works similar but not identical to Packrat parsing, thus the two cannot be used together. Use ``force=True`` to disable any previous, conflicting settings.h](hxBounded Recursion parsing works similar but not identical to Packrat parsing, thus the two cannot be used together. Use }(hxBounded Recursion parsing works similar but not identical to Packrat parsing, thus the two cannot be used together. Use hj&hhhNhNubhj)}(h``force=True``h]h force=True}(hhhj/ubah}(h ]h"]h$]h&]h(]uh*hihj&ubh/ to disable any previous, conflicting settings.}(h/ to disable any previous, conflicting settings.hj&hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj hKhjGhhubeh}(h ]h"]h$]h&]h(]uh*jhj hhhj hNubeh}(h ]h"]pyah$]h&]h(]jy jQjz methodj| jUj} uh*jRhhhjhj hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN7enablePackrat() (pyparsing.ParserElement static method)%pyparsing.ParserElement.enablePackrathNtauh*h,hjhhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_packrathNubjS)}(hhh](jX)}(hXParserElement.enablePackrat(cache_size_limit: int = 128, *, force: bool = False) -> Noneh](j^)}(hstatic h]hstatic }(hhhjlhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_packrathNubj)}(h enablePackrath]h enablePackrat}(hhhj{hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhhjzhNubj)}(h3cache_size_limit: int = 128, *, force: bool = Falseh](j)}(hcache_size_limit: int = 128h](j)}(hcache_size_limith]hcache_size_limit}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h128h]h128}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hforce: bool = Falseh](j)}(hforceh]hforce}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj9ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj5ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjVubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjhubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhhjzhNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhhjzhNubeh}(h ]jbah"]h$]h&]h(]j pyparsingjj_jParserElement.enablePackratuh*jWhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_packrathKhjehhubj)}(hhh](hQ)}(hXAEnables "packrat" parsing, which adds memoizing to the parsing logic. Repeated parse attempts at the same string location (which happens often in many complex grammars) can immediately return a cached value, instead of re-executing parsing/validating code. Memoizing is done of both valid results and parsing exceptions.h]hXEEnables “packrat” parsing, which adds memoizing to the parsing logic. Repeated parse attempts at the same string location (which happens often in many complex grammars) can immediately return a cached value, instead of re-executing parsing/validating code. Memoizing is done of both valid results and parsing exceptions.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjdhKhjhhubhQ)}(h Parameters:h]h Parameters:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjdhKhjhhubj)}(hhh]j)}(hcache_size_limit - (default= ``128``) - if an integer value is provided will limit the size of the packrat cache; if None is passed, then the cache size will be unbounded; if 0 is passed, the cache will be effectively disabled. h]hQ)}(hcache_size_limit - (default= ``128``) - if an integer value is provided will limit the size of the packrat cache; if None is passed, then the cache size will be unbounded; if 0 is passed, the cache will be effectively disabled.h](hcache_size_limit - (default= }(hcache_size_limit - (default= hjubhj)}(h``128``h]h128}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh) - if an integer value is provided will limit the size of the packrat cache; if None is passed, then the cache size will be unbounded; if 0 is passed, the cache will be effectively disabled.}(h) - if an integer value is provided will limit the size of the packrat cache; if None is passed, then the cache size will be unbounded; if 0 is passed, the cache will be effectively disabled.hjubeh}(h ]h"]h$]h&]h(]uh*hPhjdhK hjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjdhNubah}(h ]h"]h$]h&]h(]jjuh*jhjdhK hjhhubhQ)}(hXjThis speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your program must call the class method :class:`ParserElement.enable_packrat`. For best results, call ``enable_packrat()`` immediately after importing pyparsing.h](hThis speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your program must call the class method }(hThis speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your program must call the class method hjhhhNhNubh)}(h%:class:`ParserElement.enable_packrat`h]hj)}(hjh]hParserElement.enable_packrat}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_hParserElement.enable_packratuh*h~hjdhKhjubh. For best results, call }(h. For best results, call hjhhhNhNubhj)}(h``enable_packrat()``h]henable_packrat()}(hhhj+ubah}(h ]h"]h$]h&]h(]uh*hihjubh' immediately after importing pyparsing.}(h' immediately after importing pyparsing.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjdhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjDhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjdhKhjhhubjk)}(h9import pyparsing pyparsing.ParserElement.enable_packrat()h]h9import pyparsing pyparsing.ParserElement.enable_packrat()}(hhhjSubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjdhKhjhhubhQ)}(hPackrat parsing works similar but not identical to Bounded Recursion parsing, thus the two cannot be used together. Use ``force=True`` to disable any previous, conflicting settings.h](hxPackrat parsing works similar but not identical to Bounded Recursion parsing, thus the two cannot be used together. Use }(hxPackrat parsing works similar but not identical to Bounded Recursion parsing, thus the two cannot be used together. Use hjahhhNhNubhj)}(h``force=True``h]h force=True}(hhhjjubah}(h ]h"]h$]h&]h(]uh*hihjaubh/ to disable any previous, conflicting settings.}(h/ to disable any previous, conflicting settings.hjahhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjdhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjehhhjzhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjdhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN?enable_left_recursion() (pyparsing.ParserElement static method)-pyparsing.ParserElement.enable_left_recursionhNtauh*h,hjhhhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_left_recursionhNubjS)}(hhh](jX)}(hcParserElement.enable_left_recursion(cache_size_limit: Optional[int] = None, *, force=False) -> Noneh](j^)}(hstatic h]hstatic }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_left_recursionhNubj)}(henable_left_recursionh]henable_left_recursion}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h6cache_size_limit: Optional[int] = None, *, force=Falseh](j)}(h&cache_size_limit: Optional[int] = Noneh](j)}(hcache_size_limith]hcache_size_limit}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhj$ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj<ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjNubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjgubah}(h ]h"]jfah$]h&]h(]uh*jYhjcubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h force=Falseh](j)}(hforceh]hforce}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj{ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj{ubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj{ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_j#ParserElement.enable_left_recursionuh*jWhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_left_recursionhKhjhhubj)}(hhh](hQ)}(hXEnables "bounded recursion" parsing, which allows for both direct and indirect left-recursion. During parsing, left-recursive :class:`Forward` elements are repeatedly matched with a fixed recursion depth that is gradually increased until finding the longest match.h](hEnables “bounded recursion” parsing, which allows for both direct and indirect left-recursion. During parsing, left-recursive }(h~Enables "bounded recursion" parsing, which allows for both direct and indirect left-recursion. During parsing, left-recursive hjhhhNhNubh)}(h:class:`Forward`h]hj)}(hjh]hForward}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_hForwarduh*h~hjhKhjubhz elements are repeatedly matched with a fixed recursion depth that is gradually increased until finding the longest match.}(hz elements are repeatedly matched with a fixed recursion depth that is gradually increased until finding the longest match.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(himport pyparsing as pp pp.ParserElement.enable_left_recursion() E = pp.Forward("E") num = pp.Word(pp.nums) # match `num`, or `num '+' num`, or `num '+' num '+' num`, ... E <<= E + '+' - num | num print(E.parse_string("1+2+3"))h]himport pyparsing as pp pp.ParserElement.enable_left_recursion() E = pp.Forward("E") num = pp.Word(pp.nums) # match `num`, or `num '+' num`, or `num '+' num '+' num`, ... E <<= E + '+' - num | num print(E.parse_string("1+2+3"))}(hhhj"ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hRecursion search naturally memoizes matches of ``Forward`` elements and may thus skip reevaluation of parse actions during backtracking. This may break programs with parse actions which rely on strict ordering of side-effects.h](h/Recursion search naturally memoizes matches of }(h/Recursion search naturally memoizes matches of hj0hhhNhNubhj)}(h ``Forward``h]hForward}(hhhj9ubah}(h ]h"]h$]h&]h(]uh*hihj0ubh elements and may thus skip reevaluation of parse actions during backtracking. This may break programs with parse actions which rely on strict ordering of side-effects.}(h elements and may thus skip reevaluation of parse actions during backtracking. This may break programs with parse actions which rely on strict ordering of side-effects.hj0hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Parameters:h]h Parameters:}(hjThjRhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj)}(hhh]j)}(hcache_size_limit - (default=``None``) - memoize at most this many ``Forward`` elements during matching; if ``None`` (the default), memoize all ``Forward`` elements. h]hQ)}(hcache_size_limit - (default=``None``) - memoize at most this many ``Forward`` elements during matching; if ``None`` (the default), memoize all ``Forward`` elements.h](hBcache_size_limit - (default=``None``) - memoize at most this many }(hBcache_size_limit - (default=``None``) - memoize at most this many hjgubhj)}(h ``Forward``h]hForward}(hhhjpubah}(h ]h"]h$]h&]h(]uh*hihjgubh elements during matching; if }(h elements during matching; if hjgubhj)}(h``None``h]hNone}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjgubh (the default), memoize all }(h (the default), memoize all hjgubhj)}(h ``Forward``h]hForward}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjgubh elements.}(h elements.hjgubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjcubah}(h ]h"]h$]h&]h(]uh*jhj`hhhjhNubah}(h ]h"]h$]h&]h(]jjuh*jhjhKhjhhubhQ)}(hBounded Recursion parsing works similar but not identical to Packrat parsing, thus the two cannot be used together. Use ``force=True`` to disable any previous, conflicting settings.h](hxBounded Recursion parsing works similar but not identical to Packrat parsing, thus the two cannot be used together. Use }(hxBounded Recursion parsing works similar but not identical to Packrat parsing, thus the two cannot be used together. Use hjhhhNhNubhj)}(h``force=True``h]h force=True}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh/ to disable any previous, conflicting settings.}(h/ to disable any previous, conflicting settings.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN8enable_packrat() (pyparsing.ParserElement static method)&pyparsing.ParserElement.enable_packrathNtauh*h,hjhhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_packrathNubjS)}(hhh](jX)}(hYParserElement.enable_packrat(cache_size_limit: int = 128, *, force: bool = False) -> Noneh](j^)}(hstatic h]hstatic }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_packrathNubj)}(henable_packrath]henable_packrat}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h3cache_size_limit: int = 128, *, force: bool = Falseh](j)}(hcache_size_limit: int = 128h](j)}(hcache_size_limith]hcache_size_limit}(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubj)}(h:h]h:}(hhhj4ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubh }(hhhj"ubj)}(hinth]h)}(hhh]hint}(hhhjJubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjFubah}(h ]h"]jah$]h&]h(]uh*jhj"ubh }(hhhj"ubjZ)}(h=h]h=}(hhhjgubah}(h ]h"]jfah$]h&]h(]uh*jYhj"ubh }(hhhj"ubjo)}(h128h]h128}(hhhjyubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj"ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hforce: bool = Falseh](j)}(hforceh]hforce}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.enable_packratuh*jWhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.enable_packrathKhjhhubj)}(hhh](hQ)}(hXAEnables "packrat" parsing, which adds memoizing to the parsing logic. Repeated parse attempts at the same string location (which happens often in many complex grammars) can immediately return a cached value, instead of re-executing parsing/validating code. Memoizing is done of both valid results and parsing exceptions.h]hXEEnables “packrat” parsing, which adds memoizing to the parsing logic. Repeated parse attempts at the same string location (which happens often in many complex grammars) can immediately return a cached value, instead of re-executing parsing/validating code. Memoizing is done of both valid results and parsing exceptions.}(hjChjAhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj>hhubhQ)}(h Parameters:h]h Parameters:}(hjQhjOhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj>hhubj)}(hhh]j)}(hcache_size_limit - (default= ``128``) - if an integer value is provided will limit the size of the packrat cache; if None is passed, then the cache size will be unbounded; if 0 is passed, the cache will be effectively disabled. h]hQ)}(hcache_size_limit - (default= ``128``) - if an integer value is provided will limit the size of the packrat cache; if None is passed, then the cache size will be unbounded; if 0 is passed, the cache will be effectively disabled.h](hcache_size_limit - (default= }(hcache_size_limit - (default= hjdubhj)}(h``128``h]h128}(hhhjmubah}(h ]h"]h$]h&]h(]uh*hihjdubh) - if an integer value is provided will limit the size of the packrat cache; if None is passed, then the cache size will be unbounded; if 0 is passed, the cache will be effectively disabled.}(h) - if an integer value is provided will limit the size of the packrat cache; if None is passed, then the cache size will be unbounded; if 0 is passed, the cache will be effectively disabled.hjdubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hj`ubah}(h ]h"]h$]h&]h(]uh*jhj]hhhjhNubah}(h ]h"]h$]h&]h(]jjuh*jhjhK hj>hhubhQ)}(hXjThis speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your program must call the class method :class:`ParserElement.enable_packrat`. For best results, call ``enable_packrat()`` immediately after importing pyparsing.h](hThis speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your program must call the class method }(hThis speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your program must call the class method hjhhhNhNubh)}(h%:class:`ParserElement.enable_packrat`h]hj)}(hjh]hParserElement.enable_packrat}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj;hj_hParserElement.enable_packratuh*h~hjhKhjubh. For best results, call }(h. For best results, call hjhhhNhNubhj)}(h``enable_packrat()``h]henable_packrat()}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh' immediately after importing pyparsing.}(h' immediately after importing pyparsing.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj>hhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj>hhubjk)}(h9import pyparsing pyparsing.ParserElement.enable_packrat()h]h9import pyparsing pyparsing.ParserElement.enable_packrat()}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhj>hhubhQ)}(hPackrat parsing works similar but not identical to Bounded Recursion parsing, thus the two cannot be used together. Use ``force=True`` to disable any previous, conflicting settings.h](hxPackrat parsing works similar but not identical to Bounded Recursion parsing, thus the two cannot be used together. Use }(hxPackrat parsing works similar but not identical to Bounded Recursion parsing, thus the two cannot be used together. Use hjhhhNhNubhj)}(h``force=True``h]h force=True}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh/ to disable any previous, conflicting settings.}(h/ to disable any previous, conflicting settings.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj>hhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j!jz methodj| j%j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)ignore() (pyparsing.ParserElement method)pyparsing.ParserElement.ignorehNtauh*h,hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.ignorehNubjS)}(hhh](jX)}(hYParserElement.ignore(other: pyparsing.core.ParserElement) -> pyparsing.core.ParserElementh](j)}(hignoreh]hignore}(hhhj<hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj8hhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.ignorehNubj)}(h#other: pyparsing.core.ParserElementh]j)}(h#other: pyparsing.core.ParserElementh](j)}(hotherh]hother}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h:h]h:}(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhjOubh }(hhhjOubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjwubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjsubah}(h ]h"]jah$]h&]h(]uh*jhjOubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKubah}(h ]h"]h$]h&]h(]jzj{uh*jhj8hhhjJhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj8hhhjJhNubeh}(h ]j2ah"]h$]h&]h(]j pyparsingjj_jParserElement.ignoreuh*jWhjJhKhj5hhubj)}(hhh](hQ)}(hDefine expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.h]hDefine expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj4hKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj4hKhjhhubjk)}(hpatt = Word(alphas)[1, ...] patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj'] patt.ignore(c_style_comment) patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj', 'lskjd']h]hpatt = Word(alphas)[1, ...] patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj'] patt.ignore(c_style_comment) patt.parse_string('ablaj /* comment */ lskjd') # -> ['ablaj', 'lskjd']}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj4hKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhj5hhhjJhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhj4hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN3ignoreWhitespace() (pyparsing.ParserElement method)(pyparsing.ParserElement.ignoreWhitespacehNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hVParserElement.ignoreWhitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hignoreWhitespaceh]hignoreWhitespace}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.ignore_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhj%ubj)}(h:h]h:}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj%ubh }(hhhj%ubj)}(hboolh]h)}(hhh]hbool}(hhhjMubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjIubah}(h ]h"]jah$]h&]h(]uh*jhj%ubh }(hhhj%ubjZ)}(h=h]h=}(hhhjjubah}(h ]h"]jfah$]h&]h(]uh*jYhj%ubh }(hhhj%ubjo)}(hTrueh]hTrue}(hhhj|ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj%ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj!ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj hNubeh}(h ]j ah"]h$]h&]h(]j pyparsingjj_jParserElement.ignoreWhitespaceuh*jWhj hKhj hhubj)}(hhh](hQ)}(hrEnables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern.h](hIEnables the skipping of whitespace before matching the characters in the }(hIEnables the skipping of whitespace before matching the characters in the hjhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjh]h ParserElement}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_h ParserElementuh*h~hs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.ignore_whitespacehKhjubh’s defined pattern.}(h's defined pattern.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhjubah}(h ]h"]h$]h&]h(]uh*j>hjhj hKubj>)}(hhh]hQ)}(h^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]h$]h&]h(]j>hjhj_uh*j>hj ubh – }(hhhj ubhIf }(hIf hj hhhNhNubhj)}(h``True``h]hTrue}(hhhj&hhhNhNubah}(h ]h"]h$]h&]h(]uh*hihj hhhNhNubhJ (the default), also enable whitespace skipping in child elements (if any)}(hJ (the default), also enable whitespace skipping in child elements (if any)hj hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjubah}(h ]h"]h$]h&]h(]uh*j>hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhj hhhj hNubeh}(h ]h"]pyah$]h&]h(]jy jZjz methodj| j^j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN4ignore_whitespace() (pyparsing.ParserElement method))pyparsing.ParserElement.ignore_whitespacehNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hWParserElement.ignore_whitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hignore_whitespaceh]hignore_whitespace}(hhhjthhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjphhhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.ignore_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjphhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjphhhjhNubeh}(h ]jkah"]h$]h&]h(]j pyparsingjj_jParserElement.ignore_whitespaceuh*jWhjhKhjmhhubj)}(hhh](hQ)}(hrEnables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern.h](hIEnables the skipping of whitespace before matching the characters in the }(hIEnables the skipping of whitespace before matching the characters in the hj!hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hj,h]h ParserElement}(hhhj.ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj*ubah}(h ]h"]h$]h&]h(]refdoch refdomainj8reftypeclass refexplicitrefwarnhjhj_h ParserElementuh*h~hs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.ignore_whitespacehKhj!ubh’s defined pattern.}(h's defined pattern.hj!hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjJhKhjhhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhj\ubah}(h ]h"]h$]h&]h(]uh*j>hjYhjhKubj>)}(hhh]hQ)}(h^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhjqubah}(h ]h"]h$]h&]h(]j>hjhj_uh*j>hjmubh – }(hhhjmubhIf }(hIf hjmhhhNhNubhj)}(h``True``h]hTrue}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hihjmhhhNhNubhJ (the default), also enable whitespace skipping in child elements (if any)}(hJ (the default), also enable whitespace skipping in child elements (if any)hjmhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjjubah}(h ]h"]h$]h&]h(]uh*j>hjYubeh}(h ]h"]h$]h&]h(]uh*j>hjVubah}(h ]h"]h$]h&]h(]uh*j>hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhjmhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN=inlineLiteralsUsing() (pyparsing.ParserElement static method)+pyparsing.ParserElement.inlineLiteralsUsinghNtauh*h,hjhhhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.inline_literals_usinghNubjS)}(hhh](jX)}(h4ParserElement.inlineLiteralsUsing(cls: type) -> Noneh](j^)}(hstatic h]hstatic }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.inline_literals_usinghNubj)}(hinlineLiteralsUsingh]hinlineLiteralsUsing}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h cls: typeh]j)}(h cls: typeh](j)}(hclsh]hcls}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(htypeh]h)}(hhh]htype}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargettype py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjIubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjEubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_j!ParserElement.inlineLiteralsUsinguh*jWhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.inline_literals_usinghKhjhhubj)}(hhh](hQ)}(hDSet class to be used for inclusion of string literals into a parser.h]hDSet class to be used for inclusion of string literals into a parser.}(hjphjnhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjkhhubhQ)}(h Example::h]hExample:}(hExample:hj|hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjkhhubjk)}(hX# default literal class used is Literal integer = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") date_str.parse_string("1999/12/31") # -> ['1999', '/', '12', '/', '31'] # change to Suppress ParserElement.inline_literals_using(Suppress) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") date_str.parse_string("1999/12/31") # -> ['1999', '12', '31']h]hX# default literal class used is Literal integer = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") date_str.parse_string("1999/12/31") # -> ['1999', '/', '12', '/', '31'] # change to Suppress ParserElement.inline_literals_using(Suppress) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") date_str.parse_string("1999/12/31") # -> ['1999', '12', '31']}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjkhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN?inline_literals_using() (pyparsing.ParserElement static method)-pyparsing.ParserElement.inline_literals_usinghNtauh*h,hjhhhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.inline_literals_usinghNubjS)}(hhh](jX)}(h6ParserElement.inline_literals_using(cls: type) -> Noneh](j^)}(hstatic h]hstatic }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.inline_literals_usinghNubj)}(hinline_literals_usingh]hinline_literals_using}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h cls: typeh]j)}(h cls: typeh](j)}(hclsh]hcls}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(htypeh]h)}(hhh]htype}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargettype py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hNoneh]h)}(hhh]hNone}(hhhj/ubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hj+ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_j#ParserElement.inline_literals_usinguh*jWhw/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.inline_literals_usinghKhjhhubj)}(hhh](hQ)}(hDSet class to be used for inclusion of string literals into a parser.h]hDSet class to be used for inclusion of string literals into a parser.}(hjVhjThhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjQhhubhQ)}(h Example::h]hExample:}(hExample:hjbhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjQhhubjk)}(hX# default literal class used is Literal integer = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") date_str.parse_string("1999/12/31") # -> ['1999', '/', '12', '/', '31'] # change to Suppress ParserElement.inline_literals_using(Suppress) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") date_str.parse_string("1999/12/31") # -> ['1999', '12', '31']h]hX# default literal class used is Literal integer = Word(nums) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") date_str.parse_string("1999/12/31") # -> ['1999', '/', '12', '/', '31'] # change to Suppress ParserElement.inline_literals_using(Suppress) date_str = integer("year") + '/' + integer("month") + '/' + integer("day") date_str.parse_string("1999/12/31") # -> ['1999', '12', '31']}(hhhjqubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjQhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN2leaveWhitespace() (pyparsing.ParserElement method)'pyparsing.ParserElement.leaveWhitespacehNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hUParserElement.leaveWhitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hleaveWhitespaceh]hleaveWhitespace}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.leave_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhj ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj+ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj'ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.leaveWhitespaceuh*jWhjhKhjhhubj)}(hhh](hQ)}(hDisables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.h](hJDisables the skipping of whitespace before matching the characters in the }(hJDisables the skipping of whitespace before matching the characters in the hjOhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjZh]h ParserElement}(hhhj\ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjXubah}(h ]h"]h$]h&]h(]refdoch refdomainjfreftypeclass refexplicitrefwarnhjJhj_h ParserElementuh*h~hr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.leave_whitespacehKhjOubh’s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.}(h's defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.hjOhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjxhKhjLhhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhjubah}(h ]h"]h$]h&]h(]uh*j>hjhjhKubj>)}(hhh]hQ)}(h_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]h$]h&]h(]j>hjJhj_uh*j>hjubh – }(hhhjubhRIf true (the default), also disable whitespace skipping in child elements (if any)}(hRIf true (the default), also disable whitespace skipping in child elements (if any)hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjubah}(h ]h"]h$]h&]h(]uh*j>hjLhhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN3leave_whitespace() (pyparsing.ParserElement method)(pyparsing.ParserElement.leave_whitespacehNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hVParserElement.leave_whitespace(recursive: bool = True) -> pyparsing.core.ParserElementh](j)}(hleave_whitespaceh]hleave_whitespace}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.leave_whitespacehNubj)}(hrecursive: bool = Trueh]j)}(hrecursive: bool = Trueh](j)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj,ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj(ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjIubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhj[ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjzubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjvubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.leave_whitespaceuh*jWhjhKhjhhubj)}(hhh](hQ)}(hDisables the skipping of whitespace before matching the characters in the :class:`ParserElement`'s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.h](hJDisables the skipping of whitespace before matching the characters in the }(hJDisables the skipping of whitespace before matching the characters in the hjhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjh]h ParserElement}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_h ParserElementuh*h~hr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.leave_whitespacehKhjubh’s defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.}(h's defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhjubah}(h ]h"]h$]h&]h(]uh*j>hjhjhKubj>)}(hhh]hQ)}(h_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)h](j>)}(h recursiveh]h recursive}(hhhjubah}(h ]h"]h$]h&]h(]j>hjhj_uh*j>hjubh – }(hhhjubhRIf true (the default), also disable whitespace skipping in child elements (if any)}(hRIf true (the default), also disable whitespace skipping in child elements (if any)hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjubah}(h ]h"]h$]h&]h(]uh*j>hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j&jz methodj| j*j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*matches() (pyparsing.ParserElement method)pyparsing.ParserElement.matcheshNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.matcheshNubjS)}(hhh](jX)}(haParserElement.matches(test_string: str, parse_all: bool = True, *, parseAll: bool = True) -> boolh](j)}(hmatchesh]hmatches}(hhhjAhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj=hhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.matcheshNubj)}(hBtest_string: str, parse_all: bool = True, *, parseAll: bool = Trueh](j)}(htest_string: strh](j)}(h test_stringh]h test_string}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjTubj)}(h:h]h:}(hhhjfubah}(h ]h"]jah$]h&]h(]uh*jhjTubh }(hhhjTubj)}(hstrh]h)}(hhh]hstr}(hhhj|ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjxubah}(h ]h"]jah$]h&]h(]uh*jhjTubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjPubj)}(hparse_all: bool = Trueh](j)}(h parse_allh]h parse_all}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjPubj)}(h*h]jZ)}(h*h]h*}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjPubj)}(hparseAll: bool = Trueh](j)}(hparseAllh]hparseAll}(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjGubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjCubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjdubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjvubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjPubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj=hhhjOhNubj-)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj=hhhjOhNubeh}(h ]j7ah"]h$]h&]h(]j pyparsingjj_jParserElement.matchesuh*jWhjOhKhj:hhubj)}(hhh](hQ)}(hMethod for quick testing of a parser against a test string. Good for simple inline microtests of sub expressions while building up larger parser.h]hMethod for quick testing of a parser against a test string. Good for simple inline microtests of sub expressions while building up larger parser.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj9hKhjhhubhQ)}(hParameters: - ``test_string`` - to test against this expression for a match - ``parse_all`` - (default= ``True``) - flag to pass to :class:`parse_string` when running testsh](hParameters: - }(hParameters: - hjhhhNhNubhj)}(h``test_string``h]h test_string}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh1 - to test against this expression for a match - }(h1 - to test against this expression for a match - hjhhhNhNubhj)}(h ``parse_all``h]h parse_all}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - (default= }(h - (default= hjhhhNhNubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh) - flag to pass to }(h) - flag to pass to hjhhhNhNubh)}(h:class:`parse_string`h]hj)}(hj h]h parse_string}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj ubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_h parse_stringuh*h~hj9hKhjubh when running tests}(h when running testshjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj9hKhjhhubhQ)}(h Example::h]hExample:}(hExample:hj4hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj9hKhjhhubjk)}(h,expr = Word(nums) assert expr.matches("100")h]h,expr = Word(nums) assert expr.matches("100")}(hhhjCubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj9hK hjhhubeh}(h ]h"]h$]h&]h(]uh*jhj:hhhjOhNubeh}(h ]h"]pyah$]h&]h(]jy jZjz methodj| j^j} uh*jRhhhjhj9hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN,parseFile() (pyparsing.ParserElement method)!pyparsing.ParserElement.parseFilehNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_filehNubjS)}(hhh](jX)}(hParserElement.parseFile(file_or_filename: Union[str, pathlib.Path, TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = False) -> pyparsing.results.ParseResultsh](j)}(h parseFileh]h parseFile}(hhhjuhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjqhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_filehNubj)}(hfile_or_filename: Union[str, pathlib.Path, TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = Falseh](j)}(h2file_or_filename: Union[str, pathlib.Path, TextIO]h](j)}(hfile_or_filenameh]hfile_or_filename}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Union[str, pathlib.Path, TextIO]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]h pathlib.Path}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget pathlib.Path py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hTextIO}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTextIO py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hencoding: str = 'utf-8'h](j)}(hencodingh]hencoding}(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhj@ubj)}(h:h]h:}(hhhjRubah}(h ]h"]jah$]h&]h(]uh*jhj@ubh }(hhhj@ubj)}(hstrh]h)}(hhh]hstr}(hhhjhubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjdubah}(h ]h"]jah$]h&]h(]uh*jhj@ubh }(hhhj@ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj@ubh }(hhhj@ubjo)}(h'utf-8'h]h'utf-8'}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj@ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hparse_all: bool = Falseh](j)}(h parse_allh]h parse_all}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hparseAll: bool = Falseh](j)}(hparseAllh]hparseAll}(hhhj4ubah}(h ]h"]jah$]h&]h(]uh*jhj0ubj)}(h:h]h:}(hhhjBubah}(h ]h"]jah$]h&]h(]uh*jhj0ubh }(hhhj0ubj)}(hboolh]h)}(hhh]hbool}(hhhjXubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjTubah}(h ]h"]jah$]h&]h(]uh*jhj0ubh }(hhhj0ubjZ)}(h=h]h=}(hhhjuubah}(h ]h"]jfah$]h&]h(]uh*jYhj0ubh }(hhhj0ubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj0ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjqhhhjhNubj-)}(hpyparsing.results.ParseResultsh]h)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjqhhhjhNubeh}(h ]jkah"]h$]h&]h(]j pyparsingjj_jParserElement.parseFileuh*jWhjhKhjnhhubj)}(hhh]hQ)}(hExecute the parse expression on the given file or filename. If a filename is specified (instead of a file object), the entire file is opened, read, and closed before parsing.h]hExecute the parse expression on the given file or filename. If a filename is specified (instead of a file object), the entire file is opened, read, and closed before parsing.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjmhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjnhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjmhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN.parseString() (pyparsing.ParserElement method)#pyparsing.ParserElement.parseStringhNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_stringhNubjS)}(hhh](jX)}(h~ParserElement.parseString(instring: str, parse_all: bool = False, *, parseAll: bool = False) -> pyparsing.results.ParseResultsh](j)}(h parseStringh]h parseString}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_stringhNubj)}(hAinstring: str, parse_all: bool = False, *, parseAll: bool = Falseh](j)}(h instring: strh](j)}(hinstringh]hinstring}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhj7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj3ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hparse_all: bool = Falseh](j)}(h parse_allh]h parse_all}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjVubj)}(h:h]h:}(hhhjhubah}(h ]h"]jah$]h&]h(]uh*jhjVubh }(hhhjVubj)}(hboolh]h)}(hhh]hbool}(hhhj~ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjzubah}(h ]h"]jah$]h&]h(]uh*jhjVubh }(hhhjVubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjVubh }(hhhjVubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjVubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hparseAll: bool = Falseh](j)}(hparseAllh]hparseAll}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhj1ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj hNubj-)}(hpyparsing.results.ParseResultsh]h)}(hhh]hpyparsing.results.ParseResults}(hhhjPubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjLubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.parseStringuh*jWhj hKhjhhubj)}(hhh](hQ)}(h|Parse a string with respect to the parser definition. This function is intended as the primary interface to the client code.h]h|Parse a string with respect to the parser definition. This function is intended as the primary interface to the client code.}(hjvhjthhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjqhhubj>)}(hhh](j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhjubah}(h ]h"]h$]h&]h(]uh*j>hjhjhKubj>)}(hhh]j)}(hhh](j)}(hhh]hQ)}(h*instring -- The input string to be parsed.h](j>)}(hinstringh]hinstring}(hhhjubah}(h ]h"]h$]h&]h(]j>hjohj_uh*j>hjubh – }(hhhjubhThe input string to be parsed.}(hThe input string to be parsed.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*jhjubj)}(hhh]hQ)}(hDparse_all -- If set, the entire input string must match the grammar.h](j>)}(h parse_allh]h parse_all}(hhhjubah}(h ]h"]h$]h&]h(]j>hjohj_uh*j>hjubh – }(hhhjubh7If set, the entire input string must match the grammar.}(h7If set, the entire input string must match the grammar.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*jhjubj)}(hhh]hQ)}(hUparseAll -- retained for pre-PEP8 compatibility, will be removed in a future release.h](j>)}(hparseAllh]hparseAll}(hhhjubah}(h ]h"]h$]h&]h(]j>hjohj_uh*j>hjubh – }(hhhjubhIretained for pre-PEP8 compatibility, will be removed in a future release.}(hIretained for pre-PEP8 compatibility, will be removed in a future release.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjubj>)}(hhh](j>)}(hRaisesh]hRaises}(hhhj/ubah}(h ]h"]h$]h&]h(]uh*j>hj,hjhKubj>)}(hhh]hQ)}(hcParseException -- Raised if parse_all is set and the input string does not match the whole grammar.h](h)}(hhh]j>)}(hParseExceptionh]hParseException}(hhhjGubah}(h ]h"]h$]h&]h(]uh*j>hjDubah}(h ]h"]h$]h&]h(] refdomainpy refexplicitreftypeexc reftargetjIj>hjohj_uh*h~hj@ubh – }(hhhj@ubh Raised if }(h Raised if hj@hhhNhNubhj)}(h ``parse_all``h]h parse_all}(hhhjjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hihj@hhhjhNubh> is set and the input string does not match the whole grammar.}(h> is set and the input string does not match the whole grammar.hj@hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj=ubah}(h ]h"]h$]h&]h(]uh*j>hj,ubeh}(h ]h"]h$]h&]h(]uh*j>hjubj>)}(hhh](j>)}(hReturnsh]hReturns}(hhhjubah}(h ]h"]h$]h&]h(]uh*j>hjhjhKubj>)}(hhh]hQ)}(hthe parsed data as a ParseResults object, which may be accessed as a list, a dict, or an object with attributes if the given parser includes results names.h](hthe parsed data as a }(hthe parsed data as a hjhhhNhNubh)}(h:class:`ParseResults`h]hj)}(hjh]h ParseResults}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjohj_h ParseResultsuh*h~hjhKhjhhubh$ object, which may be accessed as a }(h$ object, which may be accessed as a hjhhhNhNubjv)}(h`list`h]hlist}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*jvhjhhhjhNubh, a }(h, a hjhhhNhNubjv)}(h`dict`h]hdict}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*jvhjhhhjhNubhJ, or an object with attributes if the given parser includes results names.}(hJ, or an object with attributes if the given parser includes results names.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjqhhhjhNubhQ)}(hIf the input string is required to match the entire grammar, ``parse_all`` flag must be set to ``True``. This is also equivalent to ending the grammar with :class:`StringEnd`().h](h=If the input string is required to match the entire grammar, }(h=If the input string is required to match the entire grammar, hjhhhNhNubhj)}(h ``parse_all``h]h parse_all}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh flag must be set to }(h flag must be set to hjhhhNhNubhj)}(h``True``h]hTrue}(hhhj+ubah}(h ]h"]h$]h&]h(]uh*hihjubh<. This is also equivalent to ending the grammar with :class:}(h<. This is also equivalent to ending the grammar with :class:hjhhhNhNubjϷ)}(hjҷh]h`}(hhhj>ubah}(h ]id6ah"]h$]h&]h(]refidid5uh*jηhjubh StringEnd`().}(h StringEnd`().hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjqhhubhQ)}(hXTo report proper column numbers, ``parse_string`` operates on a copy of the input string where all tabs are converted to spaces (8 spaces per tab, as per the default in ``string.expandtabs``). If the input string contains tabs and the grammar uses parse actions that use the ``loc`` argument to index into the string being parsed, one can ensure a consistent view of the input string by doing one of the following:h](h!To report proper column numbers, }(h!To report proper column numbers, hjYhhhNhNubhj)}(h``parse_string``h]h parse_string}(hhhjbubah}(h ]h"]h$]h&]h(]uh*hihjYubhx operates on a copy of the input string where all tabs are converted to spaces (8 spaces per tab, as per the default in }(hx operates on a copy of the input string where all tabs are converted to spaces (8 spaces per tab, as per the default in hjYhhhNhNubhj)}(h``string.expandtabs``h]hstring.expandtabs}(hhhjuubah}(h ]h"]h$]h&]h(]uh*hihjYubhU). If the input string contains tabs and the grammar uses parse actions that use the }(hU). If the input string contains tabs and the grammar uses parse actions that use the hjYhhhNhNubhj)}(h``loc``h]hloc}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjYubh argument to index into the string being parsed, one can ensure a consistent view of the input string by doing one of the following:}(h argument to index into the string being parsed, one can ensure a consistent view of the input string by doing one of the following:hjYhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjqhhubj)}(hhh](j)}(hkcalling ``parse_with_tabs`` on your grammar before calling ``parse_string`` (see :class:`parse_with_tabs`),h]hQ)}(hjh](hcalling }(hcalling hjubhj)}(h``parse_with_tabs``h]hparse_with_tabs}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh on your grammar before calling }(h on your grammar before calling hjubhj)}(h``parse_string``h]h parse_string}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh (see }(h (see hjubh)}(h:class:`parse_with_tabs`h]hj)}(hjh]hparse_with_tabs}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjohj_hparse_with_tabsuh*h~hjhKhjubh),}(h),hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hdefine your parse action using the full ``(s,loc,toks)`` signature, and reference the input string using the parse action's ``s`` argument, orh]hQ)}(hdefine your parse action using the full ``(s,loc,toks)`` signature, and reference the input string using the parse action's ``s`` argument, orh](h(define your parse action using the full }(h(define your parse action using the full hj ubhj)}(h``(s,loc,toks)``h]h (s,loc,toks)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj ubhF signature, and reference the input string using the parse action’s }(hD signature, and reference the input string using the parse action's hj ubhj)}(h``s``h]hs}(hhhj'ubah}(h ]h"]h$]h&]h(]uh*hihj ubh argument, or}(h argument, orhj ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hQexplicitly expand the tabs in your input string before calling ``parse_string``. h]hQ)}(hPexplicitly expand the tabs in your input string before calling ``parse_string``.h](h?explicitly expand the tabs in your input string before calling }(h?explicitly expand the tabs in your input string before calling hjJubhj)}(h``parse_string``h]h parse_string}(hhhjSubah}(h ]h"]h$]h&]h(]uh*hihjJubh.}(hjhjJubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjFubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhKhjqhhubhQ)}(h Examples:h]h Examples:}(hjyhjwhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjqhhubhQ)}(h#By default, partial matches are OK.h]h#By default, partial matches are OK.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjqhhubh doctest_block)}(hF>>> res = Word('a').parse_string('aaaaabaaa') >>> print(res) ['aaaaa']h]hF>>> res = Word('a').parse_string('aaaaabaaa') >>> print(res) ['aaaaa']}(hhhjubah}(h ]h"]doctestah$]h&]h(]jzj{uh*jhjqhhhjhKubhQ)}(hThe parsing behavior varies by the inheriting class of this abstract class. Please refer to the children directly to see more examples.h]hThe parsing behavior varies by the inheriting class of this abstract class. Please refer to the children directly to see more examples.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjqhhubhQ)}(h^It raises an exception if parse_all flag is set and instring does not match the whole grammar.h]h^It raises an exception if parse_all flag is set and instring does not match the whole grammar.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK#hjqhhubj)}(h>>> res = Word('a').parse_string('aaaaabaaa', parse_all=True) Traceback (most recent call last): ... pyparsing.ParseException: Expected end of text, found 'b' (at char 5), (line:1, col:6)h]h>>> res = Word('a').parse_string('aaaaabaaa', parse_all=True) Traceback (most recent call last): ... pyparsing.ParseException: Expected end of text, found 'b' (at char 5), (line:1, col:6)}(hhhjubah}(h ]h"]jah$]h&]h(]jzj{uh*jhjqhhhjhK(ubeh}(h ]h"]h$]h&]h(]uh*jhjhhhj hNubeh}(h ]h"]j\ah$]h&]h(]jy j\jz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN0parseWithTabs() (pyparsing.ParserElement method)%pyparsing.ParserElement.parseWithTabshNtauh*h,hjhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_with_tabshNubjS)}(hhh](jX)}(h=ParserElement.parseWithTabs() -> pyparsing.core.ParserElementh](j)}(h parseWithTabsh]h parseWithTabs}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_with_tabshNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.parseWithTabsuh*jWhjhKhjhhubj)}(hhh]hQ)}(hOverrides default behavior to expand ```` s to spaces before parsing the input string. Must be called before ``parse_string`` when the input grammar contains elements that match ```` characters.h](h%Overrides default behavior to expand }(h%Overrides default behavior to expand hj2hhhNhNubhj)}(h ````h]h}(hhhj;ubah}(h ]h"]h$]h&]h(]uh*hihj2ubhD s to spaces before parsing the input string. Must be called before }(hD s to spaces before parsing the input string. Must be called before hj2hhhNhNubhj)}(h``parse_string``h]h parse_string}(hhhjNubah}(h ]h"]h$]h&]h(]uh*hihj2ubh5 when the input grammar contains elements that match }(h5 when the input grammar contains elements that match hj2hhhNhNubhj)}(h ````h]h}(hhhjaubah}(h ]h"]h$]h&]h(]uh*hihj2ubh characters.}(h characters.hj2hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj/hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-parse_file() (pyparsing.ParserElement method)"pyparsing.ParserElement.parse_filehNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_filehNubjS)}(hhh](jX)}(hParserElement.parse_file(file_or_filename: Union[str, pathlib.Path, TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = False) -> pyparsing.results.ParseResultsh](j)}(h parse_fileh]h parse_file}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_filehNubj)}(hfile_or_filename: Union[str, pathlib.Path, TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = Falseh](j)}(h2file_or_filename: Union[str, pathlib.Path, TextIO]h](j)}(hfile_or_filenameh]hfile_or_filename}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Union[str, pathlib.Path, TextIO]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]h pathlib.Path}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget pathlib.Path py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hTextIO}(hhhj<ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTextIO py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hencoding: str = 'utf-8'h](j)}(hencodingh]hencoding}(hhhjmubah}(h ]h"]jah$]h&]h(]uh*jhjiubj)}(h:h]h:}(hhhj{ubah}(h ]h"]jah$]h&]h(]uh*jhjiubh }(hhhjiubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjiubh }(hhhjiubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjiubh }(hhhjiubjo)}(h'utf-8'h]h'utf-8'}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjiubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hparse_all: bool = Falseh](j)}(h parse_allh]h parse_all}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhj,ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjEubah}(h ]h"]jfah$]h&]h(]uh*jYhjAubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hparseAll: bool = Falseh](j)}(hparseAllh]hparseAll}(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h:h]h:}(hhhjkubah}(h ]h"]jah$]h&]h(]uh*jhjYubh }(hhhjYubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj}ubah}(h ]h"]jah$]h&]h(]uh*jhjYubh }(hhhjYubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjYubh }(hhhjYubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjYubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.results.ParseResultsh]h)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.parse_fileuh*jWhjhKhjhhubj)}(hhh]hQ)}(hExecute the parse expression on the given file or filename. If a filename is specified (instead of a file object), the entire file is opened, read, and closed before parsing.h]hExecute the parse expression on the given file or filename. If a filename is specified (instead of a file object), the entire file is opened, read, and closed before parsing.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j jz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN/parse_string() (pyparsing.ParserElement method)$pyparsing.ParserElement.parse_stringhNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_stringhNubjS)}(hhh](jX)}(hParserElement.parse_string(instring: str, parse_all: bool = False, *, parseAll: bool = False) -> pyparsing.results.ParseResultsh](j)}(h parse_stringh]h parse_string}(hhhj%hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj!hhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_stringhNubj)}(hAinstring: str, parse_all: bool = False, *, parseAll: bool = Falseh](j)}(h instring: strh](j)}(hinstringh]hinstring}(hhhj<ubah}(h ]h"]jah$]h&]h(]uh*jhj8ubj)}(h:h]h:}(hhhjJubah}(h ]h"]jah$]h&]h(]uh*jhj8ubh }(hhhj8ubj)}(hstrh]h)}(hhh]hstr}(hhhj`ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj\ubah}(h ]h"]jah$]h&]h(]uh*jhj8ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj4ubj)}(hparse_all: bool = Falseh](j)}(h parse_allh]h parse_all}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj4ubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj4ubj)}(hparseAll: bool = Falseh](j)}(hparseAllh]hparseAll}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj+ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj'ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjHubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjZubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj4ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj!hhhj3hNubj-)}(hpyparsing.results.ParseResultsh]h)}(hhh]hpyparsing.results.ParseResults}(hhhjyubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjuubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj!hhhj3hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.parse_stringuh*jWhj3hKhjhhubj)}(hhh](hQ)}(h|Parse a string with respect to the parser definition. This function is intended as the primary interface to the client code.h]h|Parse a string with respect to the parser definition. This function is intended as the primary interface to the client code.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj>)}(hhh](j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhjubah}(h ]h"]h$]h&]h(]uh*j>hjhjhKubj>)}(hhh]j)}(hhh](j)}(hhh]hQ)}(h*instring -- The input string to be parsed.h](j>)}(hinstringh]hinstring}(hhhjubah}(h ]h"]h$]h&]h(]j>hjhj_uh*j>hjubh – }(hhhjubhThe input string to be parsed.}(hThe input string to be parsed.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*jhjubj)}(hhh]hQ)}(hDparse_all -- If set, the entire input string must match the grammar.h](j>)}(h parse_allh]h parse_all}(hhhjubah}(h ]h"]h$]h&]h(]j>hjhj_uh*j>hjubh – }(hhhjubh7If set, the entire input string must match the grammar.}(h7If set, the entire input string must match the grammar.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*jhjubj)}(hhh]hQ)}(hUparseAll -- retained for pre-PEP8 compatibility, will be removed in a future release.h](j>)}(hparseAllh]hparseAll}(hhhj ubah}(h ]h"]h$]h&]h(]j>hjhj_uh*j>hjubh – }(hhhjubhIretained for pre-PEP8 compatibility, will be removed in a future release.}(hIretained for pre-PEP8 compatibility, will be removed in a future release.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjubj>)}(hhh](j>)}(hRaisesh]hRaises}(hhhjXubah}(h ]h"]h$]h&]h(]uh*j>hjUhjhKubj>)}(hhh]hQ)}(hcParseException -- Raised if parse_all is set and the input string does not match the whole grammar.h](h)}(hhh]j>)}(hParseExceptionh]hParseException}(hhhjpubah}(h ]h"]h$]h&]h(]uh*j>hjmubah}(h ]h"]h$]h&]h(] refdomainpy refexplicitreftypej_ reftargetjrj>hjhj_uh*h~hjiubh – }(hhhjiubh Raised if }(h Raised if hjihhhNhNubhj)}(h ``parse_all``h]h parse_all}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hihjihhhjhNubh> is set and the input string does not match the whole grammar.}(h> is set and the input string does not match the whole grammar.hjihhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjfubah}(h ]h"]h$]h&]h(]uh*j>hjUubeh}(h ]h"]h$]h&]h(]uh*j>hjubj>)}(hhh](j>)}(hReturnsh]hReturns}(hhhjubah}(h ]h"]h$]h&]h(]uh*j>hjhjhKubj>)}(hhh]hQ)}(hthe parsed data as a ParseResults object, which may be accessed as a list, a dict, or an object with attributes if the given parser includes results names.h](hthe parsed data as a }(hthe parsed data as a hjhhhNhNubh)}(h:class:`ParseResults`h]hj)}(hjh]h ParseResults}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_h ParseResultsuh*h~hjhKhjhhubh$ object, which may be accessed as a }(h$ object, which may be accessed as a hjhhhNhNubjv)}(h`list`h]hlist}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*jvhjhhhjhNubh, a }(h, a hjhhhNhNubjv)}(h`dict`h]hdict}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]uh*jvhjhhhjhNubhJ, or an object with attributes if the given parser includes results names.}(hJ, or an object with attributes if the given parser includes results names.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjubah}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjubeh}(h ]h"]h$]h&]h(]uh*j>hjhhhjhNubhQ)}(hIf the input string is required to match the entire grammar, ``parse_all`` flag must be set to ``True``. This is also equivalent to ending the grammar with :class:`StringEnd`().h](h=If the input string is required to match the entire grammar, }(h=If the input string is required to match the entire grammar, hj7hhhNhNubhj)}(h ``parse_all``h]h parse_all}(hhhj@ubah}(h ]h"]h$]h&]h(]uh*hihj7ubh flag must be set to }(h flag must be set to hj7hhhNhNubhj)}(h``True``h]hTrue}(hhhjSubah}(h ]h"]h$]h&]h(]uh*hihj7ubh<. This is also equivalent to ending the grammar with :class:}(h<. This is also equivalent to ending the grammar with :class:hj7hhhNhNubjϷ)}(hjҷh]h`}(hhhjfubah}(h ]id8ah"]h$]h&]h(]refidid7uh*jηhj7ubh StringEnd`().}(h StringEnd`().hj7hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubhQ)}(hXTo report proper column numbers, ``parse_string`` operates on a copy of the input string where all tabs are converted to spaces (8 spaces per tab, as per the default in ``string.expandtabs``). If the input string contains tabs and the grammar uses parse actions that use the ``loc`` argument to index into the string being parsed, one can ensure a consistent view of the input string by doing one of the following:h](h!To report proper column numbers, }(h!To report proper column numbers, hjhhhNhNubhj)}(h``parse_string``h]h parse_string}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhx operates on a copy of the input string where all tabs are converted to spaces (8 spaces per tab, as per the default in }(hx operates on a copy of the input string where all tabs are converted to spaces (8 spaces per tab, as per the default in hjhhhNhNubhj)}(h``string.expandtabs``h]hstring.expandtabs}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhU). If the input string contains tabs and the grammar uses parse actions that use the }(hU). If the input string contains tabs and the grammar uses parse actions that use the hjhhhNhNubhj)}(h``loc``h]hloc}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh argument to index into the string being parsed, one can ensure a consistent view of the input string by doing one of the following:}(h argument to index into the string being parsed, one can ensure a consistent view of the input string by doing one of the following:hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj)}(hhh](j)}(hkcalling ``parse_with_tabs`` on your grammar before calling ``parse_string`` (see :class:`parse_with_tabs`),h]hQ)}(hjh](hcalling }(hcalling hjubhj)}(h``parse_with_tabs``h]hparse_with_tabs}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh on your grammar before calling }(h on your grammar before calling hjubhj)}(h``parse_string``h]h parse_string}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh (see }(h (see hjubh)}(h:class:`parse_with_tabs`h]hj)}(hjh]hparse_with_tabs}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj reftypeclass refexplicitrefwarnhjhj_hparse_with_tabsuh*h~hjhKhjubh),}(h),hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hdefine your parse action using the full ``(s,loc,toks)`` signature, and reference the input string using the parse action's ``s`` argument, orh]hQ)}(hdefine your parse action using the full ``(s,loc,toks)`` signature, and reference the input string using the parse action's ``s`` argument, orh](h(define your parse action using the full }(h(define your parse action using the full hj3ubhj)}(h``(s,loc,toks)``h]h (s,loc,toks)}(hhhj<ubah}(h ]h"]h$]h&]h(]uh*hihj3ubhF signature, and reference the input string using the parse action’s }(hD signature, and reference the input string using the parse action's hj3ubhj)}(h``s``h]hs}(hhhjOubah}(h ]h"]h$]h&]h(]uh*hihj3ubh argument, or}(h argument, orhj3ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj/ubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hQexplicitly expand the tabs in your input string before calling ``parse_string``. h]hQ)}(hPexplicitly expand the tabs in your input string before calling ``parse_string``.h](h?explicitly expand the tabs in your input string before calling }(h?explicitly expand the tabs in your input string before calling hjrubhj)}(h``parse_string``h]h parse_string}(hhhj{ubah}(h ]h"]h$]h&]h(]uh*hihjrubh.}(hjhjrubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjnubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhKhjhhubhQ)}(h Examples:h]h Examples:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h#By default, partial matches are OK.h]h#By default, partial matches are OK.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj)}(hF>>> res = Word('a').parse_string('aaaaabaaa') >>> print(res) ['aaaaa']h]hF>>> res = Word('a').parse_string('aaaaabaaa') >>> print(res) ['aaaaa']}(hhhjubah}(h ]h"]jah$]h&]h(]jzj{uh*jhjhhhjhKubhQ)}(hThe parsing behavior varies by the inheriting class of this abstract class. Please refer to the children directly to see more examples.h]hThe parsing behavior varies by the inheriting class of this abstract class. Please refer to the children directly to see more examples.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubhQ)}(h^It raises an exception if parse_all flag is set and instring does not match the whole grammar.h]h^It raises an exception if parse_all flag is set and instring does not match the whole grammar.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK#hjhhubj)}(h>>> res = Word('a').parse_string('aaaaabaaa', parse_all=True) Traceback (most recent call last): ... pyparsing.ParseException: Expected end of text, found 'b' (at char 5), (line:1, col:6)h]h>>> res = Word('a').parse_string('aaaaabaaa', parse_all=True) Traceback (most recent call last): ... pyparsing.ParseException: Expected end of text, found 'b' (at char 5), (line:1, col:6)}(hhhjubah}(h ]h"]jah$]h&]h(]jzj{uh*jhjhhhjhK(ubeh}(h ]h"]h$]h&]h(]uh*jhjhhhj3hNubeh}(h ]h"]jah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN2parse_with_tabs() (pyparsing.ParserElement method)'pyparsing.ParserElement.parse_with_tabshNtauh*h,hjhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_with_tabshNubjS)}(hhh](jX)}(h?ParserElement.parse_with_tabs() -> pyparsing.core.ParserElementh](j)}(hparse_with_tabsh]hparse_with_tabs}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.parse_with_tabshNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj$hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj3ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj/ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj$hNubeh}(h ]j ah"]h$]h&]h(]j pyparsingjj_jParserElement.parse_with_tabsuh*jWhj$hKhjhhubj)}(hhh]hQ)}(hOverrides default behavior to expand ```` s to spaces before parsing the input string. Must be called before ``parse_string`` when the input grammar contains elements that match ```` characters.h](h%Overrides default behavior to expand }(h%Overrides default behavior to expand hjWhhhNhNubhj)}(h ````h]h}(hhhj`ubah}(h ]h"]h$]h&]h(]uh*hihjWubhD s to spaces before parsing the input string. Must be called before }(hD s to spaces before parsing the input string. Must be called before hjWhhhNhNubhj)}(h``parse_string``h]h parse_string}(hhhjsubah}(h ]h"]h$]h&]h(]uh*hihjWubh5 when the input grammar contains elements that match }(h5 when the input grammar contains elements that match hjWhhhNhNubhj)}(h ````h]h}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjWubh characters.}(h characters.hjWhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjThhubah}(h ]h"]h$]h&]h(]uh*jhjhhhj$hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+runTests() (pyparsing.ParserElement method) pyparsing.ParserElement.runTestshNtauh*h,hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.run_testshNubjS)}(hhh](jX)}(hXParserElement.runTests(tests: Union[str, List[str]], parse_all: bool = True, comment: Optional[Union[pyparsing.core.ParserElement, str]] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = None, file: Optional[TextIO] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = None) -> Tuple[bool, List[Tuple[str, Union[pyparsing.results.ParseResults, Exception]]]]h](j)}(hrunTestsh]hrunTests}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.run_testshNubj)}(hXtests: Union[str, List[str]], parse_all: bool = True, comment: Optional[Union[pyparsing.core.ParserElement, str]] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = None, file: Optional[TextIO] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = Noneh](j)}(htests: Union[str, List[str]]h](j)}(htestsh]htests}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hUnion[str, List[str]]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hList}(hhhj@ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetList py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjaubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjtubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hparse_all: bool = Trueh](j)}(h parse_allh]h parse_all}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hAcomment: Optional[Union[pyparsing.core.ParserElement, str]] = '#'h](j)}(hcommenth]hcomment}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhj0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hj,ubj)}(h[h]h[}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh)}(hhh]hUnion}(hhhjQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hj,ubj)}(h[h]h[}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjrubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj,ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj,ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj,ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj,ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h'#'h]h'#'}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hfull_dump: bool = Trueh](j)}(h full_dumph]h full_dump}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj8ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjJubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hprint_results: bool = Trueh](j)}(h print_resultsh]h print_results}(hhhjcubah}(h ]h"]jah$]h&]h(]uh*jhj_ubj)}(h:h]h:}(hhhjqubah}(h ]h"]jah$]h&]h(]uh*jhj_ubh }(hhhj_ubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhj_ubh }(hhhj_ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj_ubh }(hhhj_ubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj_ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hfailure_tests: bool = Falseh](j)}(h failure_testsh]h failure_tests}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhj"ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hQpost_parse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = Noneh](j)}(h post_parseh]h post_parse}(hhhj;ubah}(h ]h"]jah$]h&]h(]uh*jhj7ubj)}(h:h]h:}(hhhjIubah}(h ]h"]jah$]h&]h(]uh*jhj7ubh }(hhhj7ubj)}(h>Optional[Callable[[str, pyparsing.results.ParseResults], str]]h](h)}(hhh]hOptional}(hhhj_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hj[ubj)}(h[h]h[}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hj[ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj[ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj[ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj[ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubeh}(h ]h"]jah$]h&]h(]uh*jhj7ubh }(hhhj7ubjZ)}(h=h]h=}(hhhj8ubah}(h ]h"]jfah$]h&]h(]uh*jYhj7ubh }(hhhj7ubjo)}(hNoneh]hNone}(hhhjJubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj7ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hfile: Optional[TextIO] = Noneh](j)}(hfileh]hfile}(hhhjcubah}(h ]h"]jah$]h&]h(]uh*jhj_ubj)}(h:h]h:}(hhhjqubah}(h ]h"]jah$]h&]h(]uh*jhj_ubh }(hhhj_ubj)}(hOptional[TextIO]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hTextIO}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTextIO py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhj_ubh }(hhhj_ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj_ubh }(hhhj_ubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj_ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hwith_line_numbers: bool = Falseh](j)}(hwith_line_numbersh]hwith_line_numbers}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj"ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj?ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjQubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjjubah}(h ]h"]jfah$]h&]h(]uh*jYhjfubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hparseAll: bool = Trueh](j)}(hparseAllh]hparseAll}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh }(hhhj~ubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh }(hhhj~ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj~ubh }(hhhj~ubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj~ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hfullDump: bool = Trueh](j)}(hfullDumph]hfullDump}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj/ ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjA ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hprintResults: bool = Trueh](j)}(h printResultsh]h printResults}(hhhjZ ubah}(h ]h"]jah$]h&]h(]uh*jhjV ubj)}(h:h]h:}(hhhjh ubah}(h ]h"]jah$]h&]h(]uh*jhjV ubh }(hhhjV ubj)}(hboolh]h)}(hhh]hbool}(hhhj~ ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjz ubah}(h ]h"]jah$]h&]h(]uh*jhjV ubh }(hhhjV ubjZ)}(h=h]h=}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhjV ubh }(hhhjV ubjo)}(hTrueh]hTrue}(hhhj ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjV ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hfailureTests: bool = Falseh](j)}(h failureTestsh]h failureTests}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hboolh]h)}(hhh]hbool}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubjZ)}(h=h]h=}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubh }(hhhj ubjo)}(hFalseh]hFalse}(hhhj ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hPpostParse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = Noneh](j)}(h postParseh]h postParse}(hhhj2 ubah}(h ]h"]jah$]h&]h(]uh*jhj. ubj)}(h:h]h:}(hhhj@ ubah}(h ]h"]jah$]h&]h(]uh*jhj. ubh }(hhhj. ubj)}(h>Optional[Callable[[str, pyparsing.results.ParseResults], str]]h](h)}(hhh]hOptional}(hhhjV ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hjR ubj)}(h[h]h[}(hhhji ubah}(h ]h"]jah$]h&]h(]uh*jhjR ubh)}(hhh]hCallable}(hhhjw ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjR ubj)}(h[h]h[}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjR ubj)}(h[h]h[}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjR ubh)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjR ubj)}(h, h]h, }(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjR ubh)}(hhh]hpyparsing.results.ParseResults}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjR ubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjR ubj)}(h, h]h, }(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjR ubh)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjR ubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjR ubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjR ubeh}(h ]h"]jah$]h&]h(]uh*jhj. ubh }(hhhj. ubjZ)}(h=h]h=}(hhhj/ ubah}(h ]h"]jfah$]h&]h(]uh*jYhj. ubh }(hhhj. ubjo)}(hNoneh]hNone}(hhhjA ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj. ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hOTuple[bool, List[Tuple[str, Union[pyparsing.results.ParseResults, Exception]]]]h](h)}(hhh]hTuple}(hhhj` ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTuple py:modulejpy:classj_uh*h~hj\ ubj)}(h[h]h[}(hhhjs ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubh)}(hhh]hbool}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj\ ubj)}(h, h]h, }(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubh)}(hhh]hList}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetList py:modulejpy:classj_uh*h~hj\ ubj)}(h[h]h[}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubh)}(hhh]hTuple}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTuple py:modulejpy:classj_uh*h~hj\ ubj)}(h[h]h[}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubh)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj\ ubj)}(h, h]h, }(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubh)}(hhh]hUnion}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hj\ ubj)}(h[h]h[}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubh)}(hhh]hpyparsing.results.ParseResults}(hhhj& ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj\ ubj)}(h, h]h, }(hhhj9 ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubh)}(hhh]h Exception}(hhhjG ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget Exception py:modulejpy:classj_uh*h~hj\ ubj)}(h]h]h]}(hhhjZ ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubj)}(h]h]h]}(hhhjh ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubj)}(h]h]h]}(hhhjv ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj\ ubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.runTestsuh*jWhjhKhjhhubj)}(hhh](hQ)}(hExecute the parse expression on a series of test strings, showing each test, the parsed results or where the parse failed. Quick and easy way to run a parse expression against a list of sample strings.h]hExecute the parse expression on a series of test strings, showing each test, the parsed results or where the parse failed. Quick and easy way to run a parse expression against a list of sample strings.}(hj hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj hhubhQ)}(hXParameters: - ``tests`` - a list of separate test strings, or a multiline string of test strings - ``parse_all`` - (default= ``True``) - flag to pass to :class:`parse_string` when running tests - ``comment`` - (default= ``'#'``) - expression for indicating embedded comments in the testh](hParameters: - }(hParameters: - hj hhhNhNubhj)}(h ``tests``h]htests}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubhL - a list of separate test strings, or a multiline string of test strings - }(hL - a list of separate test strings, or a multiline string of test strings - hj hhhNhNubhj)}(h ``parse_all``h]h parse_all}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh - (default= }(h - (default= hj hhhNhNubhj)}(h``True``h]hTrue}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh) - flag to pass to }(h) - flag to pass to hj hhhNhNubh)}(h:class:`parse_string`h]hj)}(hj h]h parse_string}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj ubah}(h ]h"]h$]h&]h(]refdoch refdomainj reftypeclass refexplicitrefwarnhj hj_h parse_stringuh*h~hjhKhj ubh when running tests - }(h when running tests - hj hhhNhNubhj)}(h ``comment``h]hcomment}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh - (default= }(hj hj ubhj)}(h``'#'``h]h'#'}(hhhj* ubah}(h ]h"]h$]h&]h(]uh*hihj ubh;) - expression for indicating embedded comments in the test}(h;) - expression for indicating embedded comments in the testhj hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj hhubj)}(hhh]hQ)}(h.string; pass None to disable comment filteringh]h.string; pass None to disable comment filtering}(hjH hjF ubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjC ubah}(h ]h"]h$]h&]h(]uh*jhj hhhjhNubj)}(hhh](j)}(h``full_dump`` - (default= ``True``) - dump results as list followed by results names in nested outline; if False, only dump nested listh]hQ)}(h``full_dump`` - (default= ``True``) - dump results as list followed by results names in nested outline; if False, only dump nested listh](hj)}(h ``full_dump``h]h full_dump}(hhhje ubah}(h ]h"]h$]h&]h(]uh*hihja ubh - (default= }(h - (default= hja ubhj)}(h``True``h]hTrue}(hhhjx ubah}(h ]h"]h$]h&]h(]uh*hihja ubhe) - dump results as list followed by results names in nested outline; if False, only dump nested list}(he) - dump results as list followed by results names in nested outline; if False, only dump nested listhja ubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hj] ubah}(h ]h"]h$]h&]h(]uh*jhjZ hhhjhNubj)}(hD``print_results`` - (default= ``True``) prints test output to stdouth]hQ)}(hj h](hj)}(h``print_results``h]h print_results}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh - (default= }(h - (default= hj ubhj)}(h``True``h]hTrue}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh) prints test output to stdout}(h) prints test output to stdouthj ubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hj ubah}(h ]h"]h$]h&]h(]uh*jhjZ hhhjhNubj)}(h^``failure_tests`` - (default= ``False``) indicates if these tests are expected to fail parsingh]hQ)}(hj h](hj)}(h``failure_tests``h]h failure_tests}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh - (default= }(h - (default= hj ubhj)}(h ``False``h]hFalse}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh7) indicates if these tests are expected to fail parsing}(h7) indicates if these tests are expected to fail parsinghj ubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hj ubah}(h ]h"]h$]h&]h(]uh*jhjZ hhhjhNubj)}(h``post_parse`` - (default= ``None``) optional callback for successful parse results; called as `fn(test_string, parse_results)` and returns a string to be added to the test outputh]hQ)}(h``post_parse`` - (default= ``None``) optional callback for successful parse results; called as `fn(test_string, parse_results)` and returns a string to be added to the test outputh](hj)}(h``post_parse``h]h post_parse}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj ubh - (default= }(h - (default= hj ubhj)}(h``None``h]hNone}(hhhj$ubah}(h ]h"]h$]h&]h(]uh*hihj ubh<) optional callback for successful parse results; called as }(h<) optional callback for successful parse results; called as hj ubjv)}(h `fn(test_string, parse_results)`h]hfn(test_string, parse_results)}(hhhj7ubah}(h ]h"]h$]h&]h(]uh*jvhj ubh4 and returns a string to be added to the test output}(h4 and returns a string to be added to the test outputhj ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj ubah}(h ]h"]h$]h&]h(]uh*jhjZ hhhjhNubj)}(h``file`` - (default= ``None``) optional file-like object to which test output will be written; if None, will default to ``sys.stdout``h]hQ)}(h``file`` - (default= ``None``) optional file-like object to which test output will be written; if None, will default to ``sys.stdout``h](hj)}(h``file``h]hfile}(hhhj^ubah}(h ]h"]h$]h&]h(]uh*hihjZubh - (default= }(h - (default= hjZubhj)}(h``None``h]hNone}(hhhjqubah}(h ]h"]h$]h&]h(]uh*hihjZubh[) optional file-like object to which test output will be written; if None, will default to }(h[) optional file-like object to which test output will be written; if None, will default to hjZubhj)}(h``sys.stdout``h]h sys.stdout}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjZubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjVubah}(h ]h"]h$]h&]h(]uh*jhjZ hhhjhNubj)}(h[``with_line_numbers`` - default= ``False``) show test strings with line and column numbers h]hQ)}(hZ``with_line_numbers`` - default= ``False``) show test strings with line and column numbersh](hj)}(h``with_line_numbers``h]hwith_line_numbers}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - default= }(h - default= hjubhj)}(h ``False``h]hFalse}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh0) show test strings with line and column numbers}(h0) show test strings with line and column numbershjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjZ hhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhK hj hhubhQ)}(hReturns: a (success, results) tuple, where success indicates that all tests succeeded (or failed if ``failure_tests`` is True), and the results contain a list of lines of each test's outputh](hdReturns: a (success, results) tuple, where success indicates that all tests succeeded (or failed if }(hdReturns: a (success, results) tuple, where success indicates that all tests succeeded (or failed if hjhhhNhNubhj)}(h``failure_tests``h]h failure_tests}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhJ is True), and the results contain a list of lines of each test’s output}(hH is True), and the results contain a list of lines of each test's outputhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj hhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj hhubjk)}(hXnumber_expr = pyparsing_common.number.copy() result = number_expr.run_tests(''' # unsigned integer 100 # negative integer -100 # float with scientific notation 6.02e23 # integer with scientific notation 1e-12 ''') print("Success" if result[0] else "Failed!") result = number_expr.run_tests(''' # stray character 100Z # missing leading digit before '.' -.100 # too many '.' 3.14.159 ''', failure_tests=True) print("Success" if result[0] else "Failed!")h]hXnumber_expr = pyparsing_common.number.copy() result = number_expr.run_tests(''' # unsigned integer 100 # negative integer -100 # float with scientific notation 6.02e23 # integer with scientific notation 1e-12 ''') print("Success" if result[0] else "Failed!") result = number_expr.run_tests(''' # stray character 100Z # missing leading digit before '.' -.100 # too many '.' 3.14.159 ''', failure_tests=True) print("Success" if result[0] else "Failed!")}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhj hhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK2hj hhubjk)}(hX# unsigned integer 100 [100] # negative integer -100 [-100] # float with scientific notation 6.02e23 [6.02e+23] # integer with scientific notation 1e-12 [1e-12] Success # stray character 100Z ^ FAIL: Expected end of text (at char 3), (line:1, col:4) # missing leading digit before '.' -.100 ^ FAIL: Expected {real number with scientific notation | real number | signed integer} (at char 0), (line:1, col:1) # too many '.' 3.14.159 ^ FAIL: Expected end of text (at char 4), (line:1, col:5) Successh]hX# unsigned integer 100 [100] # negative integer -100 [-100] # float with scientific notation 6.02e23 [6.02e+23] # integer with scientific notation 1e-12 [1e-12] Success # stray character 100Z ^ FAIL: Expected end of text (at char 3), (line:1, col:4) # missing leading digit before '.' -.100 ^ FAIL: Expected {real number with scientific notation | real number | signed integer} (at char 0), (line:1, col:1) # too many '.' 3.14.159 ^ FAIL: Expected end of text (at char 4), (line:1, col:5) Success}(hhhj,ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK4hj hhubhQ)}(h|Each test string must be on a single line. If you want to test a string that spans multiple lines, create a test like this::h]h{Each test string must be on a single line. If you want to test a string that spans multiple lines, create a test like this:}(h{Each test string must be on a single line. If you want to test a string that spans multiple lines, create a test like this:hj:hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKWhj hhubjk)}(hDexpr.run_tests(r"this is a test\n of strings that spans \n 3 lines")h]hDexpr.run_tests(r"this is a test\n of strings that spans \n 3 lines")}(hhhjIubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKZhj hhubhQ)}(hO(Note that this is a raw string literal, you must include the leading ``'r'``.)h](hF(Note that this is a raw string literal, you must include the leading }(hF(Note that this is a raw string literal, you must include the leading hjWhhhNhNubhj)}(h``'r'``h]h'r'}(hhhj`ubah}(h ]h"]h$]h&]h(]uh*hihjWubh.)}(h.)hjWhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK\hj hhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN,run_tests() (pyparsing.ParserElement method)!pyparsing.ParserElement.run_testshNtauh*h,hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.run_testshNubjS)}(hhh](jX)}(hXParserElement.run_tests(tests: Union[str, List[str]], parse_all: bool = True, comment: Optional[Union[pyparsing.core.ParserElement, str]] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = None, file: Optional[TextIO] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = None) -> Tuple[bool, List[Tuple[str, Union[pyparsing.results.ParseResults, Exception]]]]h](j)}(h run_testsh]h run_tests}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.run_testshNubj)}(hXtests: Union[str, List[str]], parse_all: bool = True, comment: Optional[Union[pyparsing.core.ParserElement, str]] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = None, file: Optional[TextIO] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = Noneh](j)}(htests: Union[str, List[str]]h](j)}(htestsh]htests}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hUnion[str, List[str]]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hList}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetList py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhj-ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhj;ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjNubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hparse_all: bool = Trueh](j)}(h parse_allh]h parse_all}(hhhjzubah}(h ]h"]jah$]h&]h(]uh*jhjvubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjvubh }(hhhjvubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjvubh }(hhhjvubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjvubh }(hhhjvubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjvubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hAcomment: Optional[Union[pyparsing.core.ParserElement, str]] = '#'h](j)}(hcommenth]hcomment}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hUnion}(hhhj+ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhj>ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhj_ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjmubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h'#'h]h'#'}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hfull_dump: bool = Trueh](j)}(h full_dumph]h full_dump}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhj$ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hprint_results: bool = Trueh](j)}(h print_resultsh]h print_results}(hhhj=ubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h:h]h:}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh }(hhhj9ubj)}(hboolh]h)}(hhh]hbool}(hhhjaubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj]ubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh }(hhhj9ubjZ)}(h=h]h=}(hhhj~ubah}(h ]h"]jfah$]h&]h(]uh*jYhj9ubh }(hhhj9ubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj9ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hfailure_tests: bool = Falseh](j)}(h failure_testsh]h failure_tests}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hQpost_parse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = Noneh](j)}(h post_parseh]h post_parse}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h>Optional[Callable[[str, pyparsing.results.ParseResults], str]]h](h)}(hhh]hOptional}(hhhj9ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hj5ubj)}(h[h]h[}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hCallable}(hhhjZubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hj5ubj)}(h[h]h[}(hhhjmubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h[h]h[}(hhhj{ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj5ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj5ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj5ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj5ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhj$ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hfile: Optional[TextIO] = Noneh](j)}(hfileh]hfile}(hhhj=ubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h:h]h:}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh }(hhhj9ubj)}(hOptional[TextIO]h](h)}(hhh]hOptional}(hhhjaubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hj]ubj)}(h[h]h[}(hhhjtubah}(h ]h"]jah$]h&]h(]uh*jhj]ubh)}(hhh]hTextIO}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTextIO py:modulejpy:classj_uh*h~hj]ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj]ubeh}(h ]h"]jah$]h&]h(]uh*jhj9ubh }(hhhj9ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj9ubh }(hhhj9ubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj9ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hwith_line_numbers: bool = Falseh](j)}(hwith_line_numbersh]hwith_line_numbers}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhj+ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjDubah}(h ]h"]jfah$]h&]h(]uh*jYhj@ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hparseAll: bool = Trueh](j)}(hparseAllh]hparseAll}(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhjXubj)}(h:h]h:}(hhhjjubah}(h ]h"]jah$]h&]h(]uh*jhjXubh }(hhhjXubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj|ubah}(h ]h"]jah$]h&]h(]uh*jhjXubh }(hhhjXubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjXubh }(hhhjXubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjXubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hfullDump: bool = Trueh](j)}(hfullDumph]hfullDump}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hprintResults: bool = Trueh](j)}(h printResultsh]h printResults}(hhhj4ubah}(h ]h"]jah$]h&]h(]uh*jhj0ubj)}(h:h]h:}(hhhjBubah}(h ]h"]jah$]h&]h(]uh*jhj0ubh }(hhhj0ubj)}(hboolh]h)}(hhh]hbool}(hhhjXubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjTubah}(h ]h"]jah$]h&]h(]uh*jhj0ubh }(hhhj0ubjZ)}(h=h]h=}(hhhjuubah}(h ]h"]jfah$]h&]h(]uh*jYhj0ubh }(hhhj0ubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj0ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hfailureTests: bool = Falseh](j)}(h failureTestsh]h failureTests}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hPpostParse: Optional[Callable[[str, pyparsing.results.ParseResults], str]] = Noneh](j)}(h postParseh]h postParse}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h>Optional[Callable[[str, pyparsing.results.ParseResults], str]]h](h)}(hhh]hOptional}(hhhj0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj_uh*h~hj,ubj)}(h[h]h[}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh)}(hhh]hCallable}(hhhjQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hj,ubj)}(h[h]h[}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhj,ubj)}(h[h]h[}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj,ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj,ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj,ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj,ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj,ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj,ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hOTuple[bool, List[Tuple[str, Union[pyparsing.results.ParseResults, Exception]]]]h](h)}(hhh]hTuple}(hhhj:ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTuple py:modulejpy:classj_uh*h~hj6ubj)}(h[h]h[}(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhj6ubh)}(hhh]hbool}(hhhj[ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj6ubj)}(h, h]h, }(hhhjnubah}(h ]h"]jah$]h&]h(]uh*jhj6ubh)}(hhh]hList}(hhhj|ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetList py:modulejpy:classj_uh*h~hj6ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj6ubh)}(hhh]hTuple}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTuple py:modulejpy:classj_uh*h~hj6ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj6ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj6ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj6ubh)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hj6ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj6ubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj6ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj6ubh)}(hhh]h Exception}(hhhj!ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget Exception py:modulejpy:classj_uh*h~hj6ubj)}(h]h]h]}(hhhj4ubah}(h ]h"]jah$]h&]h(]uh*jhj6ubj)}(h]h]h]}(hhhjBubah}(h ]h"]jah$]h&]h(]uh*jhj6ubj)}(h]h]h]}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhj6ubj)}(h]h]h]}(hhhj^ubah}(h ]h"]jah$]h&]h(]uh*jhj6ubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj_jParserElement.run_testsuh*jWhjhKhjhhubj)}(hhh](hQ)}(hExecute the parse expression on a series of test strings, showing each test, the parsed results or where the parse failed. Quick and easy way to run a parse expression against a list of sample strings.h]hExecute the parse expression on a series of test strings, showing each test, the parsed results or where the parse failed. Quick and easy way to run a parse expression against a list of sample strings.}(hjhj}hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjzhhubhQ)}(hXParameters: - ``tests`` - a list of separate test strings, or a multiline string of test strings - ``parse_all`` - (default= ``True``) - flag to pass to :class:`parse_string` when running tests - ``comment`` - (default= ``'#'``) - expression for indicating embedded comments in the testh](hParameters: - }(hParameters: - hjhhhNhNubhj)}(h ``tests``h]htests}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhL - a list of separate test strings, or a multiline string of test strings - }(hL - a list of separate test strings, or a multiline string of test strings - hjhhhNhNubhj)}(h ``parse_all``h]h parse_all}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - (default= }(h - (default= hjhhhNhNubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh) - flag to pass to }(h) - flag to pass to hjhhhNhNubh)}(h:class:`parse_string`h]hj)}(hjh]h parse_string}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjxhj_h parse_stringuh*h~hjhKhjubh when running tests - }(h when running tests - hjhhhNhNubhj)}(h ``comment``h]hcomment}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - (default= }(hjhjubhj)}(h``'#'``h]h'#'}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh;) - expression for indicating embedded comments in the test}(h;) - expression for indicating embedded comments in the testhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjzhhubj)}(hhh]hQ)}(h.string; pass None to disable comment filteringh]h.string; pass None to disable comment filtering}(hj"hj ubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhjzhhhjhNubj)}(hhh](j)}(h``full_dump`` - (default= ``True``) - dump results as list followed by results names in nested outline; if False, only dump nested listh]hQ)}(h``full_dump`` - (default= ``True``) - dump results as list followed by results names in nested outline; if False, only dump nested listh](hj)}(h ``full_dump``h]h full_dump}(hhhj?ubah}(h ]h"]h$]h&]h(]uh*hihj;ubh - (default= }(h - (default= hj;ubhj)}(h``True``h]hTrue}(hhhjRubah}(h ]h"]h$]h&]h(]uh*hihj;ubhe) - dump results as list followed by results names in nested outline; if False, only dump nested list}(he) - dump results as list followed by results names in nested outline; if False, only dump nested listhj;ubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hj7ubah}(h ]h"]h$]h&]h(]uh*jhj4hhhjhNubj)}(hD``print_results`` - (default= ``True``) prints test output to stdouth]hQ)}(hjsh](hj)}(h``print_results``h]h print_results}(hhhjxubah}(h ]h"]h$]h&]h(]uh*hihjuubh - (default= }(h - (default= hjuubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjuubh) prints test output to stdout}(h) prints test output to stdouthjuubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjqubah}(h ]h"]h$]h&]h(]uh*jhj4hhhjhNubj)}(h^``failure_tests`` - (default= ``False``) indicates if these tests are expected to fail parsingh]hQ)}(hjh](hj)}(h``failure_tests``h]h failure_tests}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - (default= }(h - (default= hjubhj)}(h ``False``h]hFalse}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh7) indicates if these tests are expected to fail parsing}(h7) indicates if these tests are expected to fail parsinghjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhj4hhhjhNubj)}(h``post_parse`` - (default= ``None``) optional callback for successful parse results; called as `fn(test_string, parse_results)` and returns a string to be added to the test outputh]hQ)}(h``post_parse`` - (default= ``None``) optional callback for successful parse results; called as `fn(test_string, parse_results)` and returns a string to be added to the test outputh](hj)}(h``post_parse``h]h post_parse}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - (default= }(h - (default= hjubhj)}(h``None``h]hNone}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh<) optional callback for successful parse results; called as }(h<) optional callback for successful parse results; called as hjubjv)}(h `fn(test_string, parse_results)`h]hfn(test_string, parse_results)}(hhhjubah}(h ]h"]h$]h&]h(]uh*jvhjubh4 and returns a string to be added to the test output}(h4 and returns a string to be added to the test outputhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhj4hhhjhNubj)}(h``file`` - (default= ``None``) optional file-like object to which test output will be written; if None, will default to ``sys.stdout``h]hQ)}(h``file`` - (default= ``None``) optional file-like object to which test output will be written; if None, will default to ``sys.stdout``h](hj)}(h``file``h]hfile}(hhhj8ubah}(h ]h"]h$]h&]h(]uh*hihj4ubh - (default= }(h - (default= hj4ubhj)}(h``None``h]hNone}(hhhjKubah}(h ]h"]h$]h&]h(]uh*hihj4ubh[) optional file-like object to which test output will be written; if None, will default to }(h[) optional file-like object to which test output will be written; if None, will default to hj4ubhj)}(h``sys.stdout``h]h sys.stdout}(hhhj^ubah}(h ]h"]h$]h&]h(]uh*hihj4ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj0ubah}(h ]h"]h$]h&]h(]uh*jhj4hhhjhNubj)}(h[``with_line_numbers`` - default= ``False``) show test strings with line and column numbers h]hQ)}(hZ``with_line_numbers`` - default= ``False``) show test strings with line and column numbersh](hj)}(h``with_line_numbers``h]hwith_line_numbers}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj|ubh - default= }(h - default= hj|ubhj)}(h ``False``h]hFalse}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj|ubh0) show test strings with line and column numbers}(h0) show test strings with line and column numbershj|ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjxubah}(h ]h"]h$]h&]h(]uh*jhj4hhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhK hjzhhubhQ)}(hReturns: a (success, results) tuple, where success indicates that all tests succeeded (or failed if ``failure_tests`` is True), and the results contain a list of lines of each test's outputh](hdReturns: a (success, results) tuple, where success indicates that all tests succeeded (or failed if }(hdReturns: a (success, results) tuple, where success indicates that all tests succeeded (or failed if hjhhhNhNubhj)}(h``failure_tests``h]h failure_tests}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhJ is True), and the results contain a list of lines of each test’s output}(hH is True), and the results contain a list of lines of each test's outputhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjzhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjzhhubjk)}(hXnumber_expr = pyparsing_common.number.copy() result = number_expr.run_tests(''' # unsigned integer 100 # negative integer -100 # float with scientific notation 6.02e23 # integer with scientific notation 1e-12 ''') print("Success" if result[0] else "Failed!") result = number_expr.run_tests(''' # stray character 100Z # missing leading digit before '.' -.100 # too many '.' 3.14.159 ''', failure_tests=True) print("Success" if result[0] else "Failed!")h]hXnumber_expr = pyparsing_common.number.copy() result = number_expr.run_tests(''' # unsigned integer 100 # negative integer -100 # float with scientific notation 6.02e23 # integer with scientific notation 1e-12 ''') print("Success" if result[0] else "Failed!") result = number_expr.run_tests(''' # stray character 100Z # missing leading digit before '.' -.100 # too many '.' 3.14.159 ''', failure_tests=True) print("Success" if result[0] else "Failed!")}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjzhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK2hjzhhubjk)}(hX# unsigned integer 100 [100] # negative integer -100 [-100] # float with scientific notation 6.02e23 [6.02e+23] # integer with scientific notation 1e-12 [1e-12] Success # stray character 100Z ^ FAIL: Expected end of text (at char 3), (line:1, col:4) # missing leading digit before '.' -.100 ^ FAIL: Expected {real number with scientific notation | real number | signed integer} (at char 0), (line:1, col:1) # too many '.' 3.14.159 ^ FAIL: Expected end of text (at char 4), (line:1, col:5) Successh]hX# unsigned integer 100 [100] # negative integer -100 [-100] # float with scientific notation 6.02e23 [6.02e+23] # integer with scientific notation 1e-12 [1e-12] Success # stray character 100Z ^ FAIL: Expected end of text (at char 3), (line:1, col:4) # missing leading digit before '.' -.100 ^ FAIL: Expected {real number with scientific notation | real number | signed integer} (at char 0), (line:1, col:1) # too many '.' 3.14.159 ^ FAIL: Expected end of text (at char 4), (line:1, col:5) Success}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK4hjzhhubhQ)}(h|Each test string must be on a single line. If you want to test a string that spans multiple lines, create a test like this::h]h{Each test string must be on a single line. If you want to test a string that spans multiple lines, create a test like this:}(h{Each test string must be on a single line. If you want to test a string that spans multiple lines, create a test like this:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKWhjzhhubjk)}(hDexpr.run_tests(r"this is a test\n of strings that spans \n 3 lines")h]hDexpr.run_tests(r"this is a test\n of strings that spans \n 3 lines")}(hhhj#ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKZhjzhhubhQ)}(hO(Note that this is a raw string literal, you must include the leading ``'r'``.)h](hF(Note that this is a raw string literal, you must include the leading }(hF(Note that this is a raw string literal, you must include the leading hj1hhhNhNubhj)}(h``'r'``h]h'r'}(hhhj:ubah}(h ]h"]h$]h&]h(]uh*hihj1ubh.)}(h.)hj1hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK\hjzhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j\jz methodj| j`j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-scanString() (pyparsing.ParserElement method)"pyparsing.ParserElement.scanStringhNtauh*h,hjhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.scan_stringhNubjS)}(hhh](jX)}(hParserElement.scanString(instring: str, max_matches: int = 9223372036854775807, overlap: bool = False, *, debug: bool = False, maxMatches: int = 9223372036854775807) -> Generator[Tuple[pyparsing.results.ParseResults, int, int], None, None]h](j)}(h scanStringh]h scanString}(hhhjwhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjshhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.scan_stringhNubj)}(hinstring: str, max_matches: int = 9223372036854775807, overlap: bool = False, *, debug: bool = False, maxMatches: int = 9223372036854775807h](j)}(h instring: strh](j)}(hinstringh]hinstring}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h&max_matches: int = 9223372036854775807h](j)}(h max_matchesh]h max_matches}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h9223372036854775807h]h9223372036854775807}(hhhj(ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hoverlap: bool = Falseh](j)}(hoverlaph]hoverlap}(hhhjAubah}(h ]h"]jah$]h&]h(]uh*jhj=ubj)}(h:h]h:}(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhj=ubh }(hhhj=ubj)}(hboolh]h)}(hhh]hbool}(hhhjeubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjaubah}(h ]h"]jah$]h&]h(]uh*jhj=ubh }(hhhj=ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj=ubh }(hhhj=ubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj=ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hdebug: bool = Falseh](j)}(hdebugh]hdebug}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h%maxMatches: int = 9223372036854775807h](j)}(h maxMatchesh]h maxMatches}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhj-ubj)}(h:h]h:}(hhhj?ubah}(h ]h"]jah$]h&]h(]uh*jhj-ubh }(hhhj-ubj)}(hinth]h)}(hhh]hint}(hhhjUubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjQubah}(h ]h"]jah$]h&]h(]uh*jhj-ubh }(hhhj-ubjZ)}(h=h]h=}(hhhjrubah}(h ]h"]jfah$]h&]h(]uh*jYhj-ubh }(hhhj-ubjo)}(h9223372036854775807h]h9223372036854775807}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj-ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjshhhjhNubj-)}(hFGenerator[Tuple[pyparsing.results.ParseResults, int, int], None, None]h](h)}(hhh]h Generator}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget Generator py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hTuple}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTuple py:modulejpy:classj_uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhj'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhj:ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjHubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hNone}(hhhjVubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjubj)}(h, h]h, }(hhhjiubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hNone}(hhhjwubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjshhhjhNubeh}(h ]jmah"]h$]h&]h(]j pyparsingjj_jParserElement.scanStringuh*jWhjhKhjphhubj)}(hhh](hQ)}(hX*Scan the input string for expression matches. Each match will return the matching tokens, start location, and end location. May be called with optional ``max_matches`` argument, to clip scanning after 'n' matches are found. If ``overlap`` is specified, then overlapping matches will be reported.h](hScan the input string for expression matches. Each match will return the matching tokens, start location, and end location. May be called with optional }(hScan the input string for expression matches. Each match will return the matching tokens, start location, and end location. May be called with optional hjhhhNhNubhj)}(h``max_matches``h]h max_matches}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhA argument, to clip scanning after ‘n’ matches are found. If }(h= argument, to clip scanning after 'n' matches are found. If hjhhhNhNubhj)}(h ``overlap``h]hoverlap}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh9 is specified, then overlapping matches will be reported.}(h9 is specified, then overlapping matches will be reported.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjohKhjhhubhQ)}(hNote that the start and end locations are reported relative to the string being parsed. See :class:`parse_string` for more information on parsing strings with embedded tabs.h](h]Note that the start and end locations are reported relative to the string being parsed. See }(h]Note that the start and end locations are reported relative to the string being parsed. See hjhhhNhNubh)}(h:class:`parse_string`h]hj)}(hjh]h parse_string}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj_h parse_stringuh*h~hjohKhjubh< for more information on parsing strings with embedded tabs.}(h< for more information on parsing strings with embedded tabs.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjohKhjhhubhQ)}(h Example::h]hExample:}(hExample:hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjohK hjhhubjk)}(hsource = "sldjf123lsdjjkf345sldkjf879lkjsfd987" print(source) for tokens, start, end in Word(alphas).scan_string(source): print(' '*start + '^'*(end-start)) print(' '*start + tokens[0])h]hsource = "sldjf123lsdjjkf345sldkjf879lkjsfd987" print(source) for tokens, start, end in Word(alphas).scan_string(source): print(' '*start + '^'*(end-start)) print(' '*start + tokens[0])}(hhhj! ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjohK hjhhubhQ)}(hprints::h]hprints:}(hprints:hj/ hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjohKhjhhubjk)}(hsldjf123lsdjjkf345sldkjf879lkjsfd987 ^^^^^ sldjf ^^^^^^^ lsdjjkf ^^^^^^ sldkjf ^^^^^^ lkjsfdh]hsldjf123lsdjjkf345sldkjf879lkjsfd987 ^^^^^ sldjf ^^^^^^^ lsdjjkf ^^^^^^ sldkjf ^^^^^^ lkjsfd}(hhhj> ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjohKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjphhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jU jz methodj| jY j} uh*jRhhhjhjohNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN.scan_string() (pyparsing.ParserElement method)#pyparsing.ParserElement.scan_stringhNtauh*h,hjhhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.scan_stringhNubjS)}(hhh](jX)}(hParserElement.scan_string(instring: str, max_matches: int = 9223372036854775807, overlap: bool = False, *, debug: bool = False, maxMatches: int = 9223372036854775807) -> Generator[Tuple[pyparsing.results.ParseResults, int, int], None, None]h](j)}(h scan_stringh]h scan_string}(hhhjp hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjl hhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.scan_stringhNubj)}(hinstring: str, max_matches: int = 9223372036854775807, overlap: bool = False, *, debug: bool = False, maxMatches: int = 9223372036854775807h](j)}(h instring: strh](j)}(hinstringh]hinstring}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hstrh]h)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h&max_matches: int = 9223372036854775807h](j)}(h max_matchesh]h max_matches}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hinth]h)}(hhh]hint}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubjZ)}(h=h]h=}(hhhj!ubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubh }(hhhj ubjo)}(h9223372036854775807h]h9223372036854775807}(hhhj!!ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hoverlap: bool = Falseh](j)}(hoverlaph]hoverlap}(hhhj:!ubah}(h ]h"]jah$]h&]h(]uh*jhj6!ubj)}(h:h]h:}(hhhjH!ubah}(h ]h"]jah$]h&]h(]uh*jhj6!ubh }(hhhj6!ubj)}(hboolh]h)}(hhh]hbool}(hhhj^!ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjZ!ubah}(h ]h"]jah$]h&]h(]uh*jhj6!ubh }(hhhj6!ubjZ)}(h=h]h=}(hhhj{!ubah}(h ]h"]jfah$]h&]h(]uh*jYhj6!ubh }(hhhj6!ubjo)}(hFalseh]hFalse}(hhhj!ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj6!ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h*h]jZ)}(h*h]h*}(hhhj!ubah}(h ]h"]jfah$]h&]h(]uh*jYhj!ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hdebug: bool = Falseh](j)}(hdebugh]hdebug}(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhj!ubj)}(h:h]h:}(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhj!ubh }(hhhj!ubj)}(hboolh]h)}(hhh]hbool}(hhhj!ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj!ubah}(h ]h"]jah$]h&]h(]uh*jhj!ubh }(hhhj!ubjZ)}(h=h]h=}(hhhj!ubah}(h ]h"]jfah$]h&]h(]uh*jYhj!ubh }(hhhj!ubjo)}(hFalseh]hFalse}(hhhj"ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj!ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h%maxMatches: int = 9223372036854775807h](j)}(h maxMatchesh]h maxMatches}(hhhj*"ubah}(h ]h"]jah$]h&]h(]uh*jhj&"ubj)}(h:h]h:}(hhhj8"ubah}(h ]h"]jah$]h&]h(]uh*jhj&"ubh }(hhhj&"ubj)}(hinth]h)}(hhh]hint}(hhhjN"ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjJ"ubah}(h ]h"]jah$]h&]h(]uh*jhj&"ubh }(hhhj&"ubjZ)}(h=h]h=}(hhhjk"ubah}(h ]h"]jfah$]h&]h(]uh*jYhj&"ubh }(hhhj&"ubjo)}(h9223372036854775807h]h9223372036854775807}(hhhj}"ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj&"ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjl hhhj~ hNubj-)}(hFGenerator[Tuple[pyparsing.results.ParseResults, int, int], None, None]h](h)}(hhh]h Generator}(hhhj"ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget Generator py:modulejpy:classj_uh*h~hj"ubj)}(h[h]h[}(hhhj"ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubh)}(hhh]hTuple}(hhhj"ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTuple py:modulejpy:classj_uh*h~hj"ubj)}(h[h]h[}(hhhj"ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubh)}(hhh]hpyparsing.results.ParseResults}(hhhj"ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj"ubj)}(h, h]h, }(hhhj"ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubh)}(hhh]hint}(hhhj"ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj"ubj)}(h, h]h, }(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubh)}(hhh]hint}(hhhj #ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj"ubj)}(h]h]h]}(hhhj3#ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubj)}(h, h]h, }(hhhjA#ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubh)}(hhh]hNone}(hhhjO#ubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hj"ubj)}(h, h]h, }(hhhjb#ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubh)}(hhh]hNone}(hhhjp#ubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hj"ubj)}(h]h]h]}(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjl hhhj~ hNubeh}(h ]jf ah"]h$]h&]h(]j pyparsingjj_jParserElement.scan_stringuh*jWhj~ hKhji hhubj)}(hhh](hQ)}(hX*Scan the input string for expression matches. Each match will return the matching tokens, start location, and end location. May be called with optional ``max_matches`` argument, to clip scanning after 'n' matches are found. If ``overlap`` is specified, then overlapping matches will be reported.h](hScan the input string for expression matches. Each match will return the matching tokens, start location, and end location. May be called with optional }(hScan the input string for expression matches. Each match will return the matching tokens, start location, and end location. May be called with optional hj#hhhNhNubhj)}(h``max_matches``h]h max_matches}(hhhj#ubah}(h ]h"]h$]h&]h(]uh*hihj#ubhA argument, to clip scanning after ‘n’ matches are found. If }(h= argument, to clip scanning after 'n' matches are found. If hj#hhhNhNubhj)}(h ``overlap``h]hoverlap}(hhhj#ubah}(h ]h"]h$]h&]h(]uh*hihj#ubh9 is specified, then overlapping matches will be reported.}(h9 is specified, then overlapping matches will be reported.hj#hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjh hKhj#hhubhQ)}(hNote that the start and end locations are reported relative to the string being parsed. See :class:`parse_string` for more information on parsing strings with embedded tabs.h](h]Note that the start and end locations are reported relative to the string being parsed. See }(h]Note that the start and end locations are reported relative to the string being parsed. See hj#hhhNhNubh)}(h:class:`parse_string`h]hj)}(hj#h]h parse_string}(hhhj#ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj#ubah}(h ]h"]h$]h&]h(]refdoch refdomainj#reftypeclass refexplicitrefwarnhj#hj_h parse_stringuh*h~hjh hKhj#ubh< for more information on parsing strings with embedded tabs.}(h< for more information on parsing strings with embedded tabs.hj#hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjh hKhj#hhubhQ)}(h Example::h]hExample:}(hExample:hj $hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjh hK hj#hhubjk)}(hsource = "sldjf123lsdjjkf345sldkjf879lkjsfd987" print(source) for tokens, start, end in Word(alphas).scan_string(source): print(' '*start + '^'*(end-start)) print(' '*start + tokens[0])h]hsource = "sldjf123lsdjjkf345sldkjf879lkjsfd987" print(source) for tokens, start, end in Word(alphas).scan_string(source): print(' '*start + '^'*(end-start)) print(' '*start + tokens[0])}(hhhj$ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjh hK hj#hhubhQ)}(hprints::h]hprints:}(hprints:hj($hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjh hKhj#hhubjk)}(hsldjf123lsdjjkf345sldkjf879lkjsfd987 ^^^^^ sldjf ^^^^^^^ lsdjjkf ^^^^^^ sldkjf ^^^^^^ lkjsfdh]hsldjf123lsdjjkf345sldkjf879lkjsfd987 ^^^^^ sldjf ^^^^^^^ lsdjjkf ^^^^^^ sldkjf ^^^^^^ lkjsfd}(hhhj7$ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjh hKhj#hhubeh}(h ]h"]h$]h&]h(]uh*jhji hhhj~ hNubeh}(h ]h"]pyah$]h&]h(]jy jN$jz methodj| jR$j} uh*jRhhhjhjh hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN/searchString() (pyparsing.ParserElement method)$pyparsing.ParserElement.searchStringhNtauh*h,hjhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.search_stringhNubjS)}(hhh](jX)}(hParserElement.searchString(instring: str, max_matches: int = 9223372036854775807, *, debug: bool = False, maxMatches: int = 9223372036854775807) -> pyparsing.results.ParseResultsh](j)}(h searchStringh]h searchString}(hhhji$hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hje$hhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.search_stringhNubj)}(htinstring: str, max_matches: int = 9223372036854775807, *, debug: bool = False, maxMatches: int = 9223372036854775807h](j)}(h instring: strh](j)}(hinstringh]hinstring}(hhhj$ubah}(h ]h"]jah$]h&]h(]uh*jhj|$ubj)}(h:h]h:}(hhhj$ubah}(h ]h"]jah$]h&]h(]uh*jhj|$ubh }(hhhj|$ubj)}(hstrh]h)}(hhh]hstr}(hhhj$ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj$ubah}(h ]h"]jah$]h&]h(]uh*jhj|$ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjx$ubj)}(h&max_matches: int = 9223372036854775807h](j)}(h max_matchesh]h max_matches}(hhhj$ubah}(h ]h"]jah$]h&]h(]uh*jhj$ubj)}(h:h]h:}(hhhj$ubah}(h ]h"]jah$]h&]h(]uh*jhj$ubh }(hhhj$ubj)}(hinth]h)}(hhh]hint}(hhhj$ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj$ubah}(h ]h"]jah$]h&]h(]uh*jhj$ubh }(hhhj$ubjZ)}(h=h]h=}(hhhj%ubah}(h ]h"]jfah$]h&]h(]uh*jYhj$ubh }(hhhj$ubjo)}(h9223372036854775807h]h9223372036854775807}(hhhj%ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj$ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjx$ubj)}(h*h]jZ)}(h*h]h*}(hhhj3%ubah}(h ]h"]jfah$]h&]h(]uh*jYhj/%ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjx$ubj)}(hdebug: bool = Falseh](j)}(hdebugh]hdebug}(hhhjK%ubah}(h ]h"]jah$]h&]h(]uh*jhjG%ubj)}(h:h]h:}(hhhjY%ubah}(h ]h"]jah$]h&]h(]uh*jhjG%ubh }(hhhjG%ubj)}(hboolh]h)}(hhh]hbool}(hhhjo%ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjk%ubah}(h ]h"]jah$]h&]h(]uh*jhjG%ubh }(hhhjG%ubjZ)}(h=h]h=}(hhhj%ubah}(h ]h"]jfah$]h&]h(]uh*jYhjG%ubh }(hhhjG%ubjo)}(hFalseh]hFalse}(hhhj%ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjG%ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjx$ubj)}(h%maxMatches: int = 9223372036854775807h](j)}(h maxMatchesh]h maxMatches}(hhhj%ubah}(h ]h"]jah$]h&]h(]uh*jhj%ubj)}(h:h]h:}(hhhj%ubah}(h ]h"]jah$]h&]h(]uh*jhj%ubh }(hhhj%ubj)}(hinth]h)}(hhh]hint}(hhhj%ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj%ubah}(h ]h"]jah$]h&]h(]uh*jhj%ubh }(hhhj%ubjZ)}(h=h]h=}(hhhj%ubah}(h ]h"]jfah$]h&]h(]uh*jYhj%ubh }(hhhj%ubjo)}(h9223372036854775807h]h9223372036854775807}(hhhj &ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj%ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjx$ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhje$hhhjw$hNubj-)}(hpyparsing.results.ParseResultsh]h)}(hhh]hpyparsing.results.ParseResults}(hhhj)&ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj%&ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hje$hhhjw$hNubeh}(h ]j_$ah"]h$]h&]h(]j pyparsingjj_jParserElement.searchStringuh*jWhjw$hKhjb$hhubj)}(hhh](hQ)}(hAnother extension to :class:`scan_string`, simplifying the access to the tokens found to match the given parse expression. May be called with optional ``max_matches`` argument, to clip searching after 'n' matches are found.h](hAnother extension to }(hAnother extension to hjM&hhhNhNubh)}(h:class:`scan_string`h]hj)}(hjX&h]h scan_string}(hhhjZ&ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjV&ubah}(h ]h"]h$]h&]h(]refdoch refdomainjd&reftypeclass refexplicitrefwarnhjH&hj_h scan_stringuh*h~hja$hKhjM&ubho, simplifying the access to the tokens found to match the given parse expression. May be called with optional }(ho, simplifying the access to the tokens found to match the given parse expression. May be called with optional hjM&hhhNhNubhj)}(h``max_matches``h]h max_matches}(hhhj{&ubah}(h ]h"]h$]h&]h(]uh*hihjM&ubh= argument, to clip searching after ‘n’ matches are found.}(h9 argument, to clip searching after 'n' matches are found.hjM&hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhja$hKhjJ&hhubhQ)}(h Example::h]hExample:}(hExample:hj&hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhja$hKhjJ&hhubjk)}(hX# a capitalized word starts with an uppercase letter, followed by zero or more lowercase letters cap_word = Word(alphas.upper(), alphas.lower()) print(cap_word.search_string("More than Iron, more than Lead, more than Gold I need Electricity")) # the sum() builtin can be used to merge results into a single ParseResults object print(sum(cap_word.search_string("More than Iron, more than Lead, more than Gold I need Electricity")))h]hX# a capitalized word starts with an uppercase letter, followed by zero or more lowercase letters cap_word = Word(alphas.upper(), alphas.lower()) print(cap_word.search_string("More than Iron, more than Lead, more than Gold I need Electricity")) # the sum() builtin can be used to merge results into a single ParseResults object print(sum(cap_word.search_string("More than Iron, more than Lead, more than Gold I need Electricity")))}(hhhj&ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhja$hKhjJ&hhubhQ)}(hprints::h]hprints:}(hprints:hj&hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhja$hKhjJ&hhubjk)}(hu[['More'], ['Iron'], ['Lead'], ['Gold'], ['I'], ['Electricity']] ['More', 'Iron', 'Lead', 'Gold', 'I', 'Electricity']h]hu[['More'], ['Iron'], ['Lead'], ['Gold'], ['I'], ['Electricity']] ['More', 'Iron', 'Lead', 'Gold', 'I', 'Electricity']}(hhhj&ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhja$hKhjJ&hhubeh}(h ]h"]h$]h&]h(]uh*jhjb$hhhjw$hNubeh}(h ]h"]pyah$]h&]h(]jy j&jz methodj| j&j} uh*jRhhhjhja$hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN0search_string() (pyparsing.ParserElement method)%pyparsing.ParserElement.search_stringhNtauh*h,hjhhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.search_stringhNubjS)}(hhh](jX)}(hParserElement.search_string(instring: str, max_matches: int = 9223372036854775807, *, debug: bool = False, maxMatches: int = 9223372036854775807) -> pyparsing.results.ParseResultsh](j)}(h search_stringh]h search_string}(hhhj&hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj&hhho/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.search_stringhNubj)}(htinstring: str, max_matches: int = 9223372036854775807, *, debug: bool = False, maxMatches: int = 9223372036854775807h](j)}(h instring: strh](j)}(hinstringh]hinstring}(hhhj 'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubj)}(h:h]h:}(hhhj'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubh }(hhhj'ubj)}(hstrh]h)}(hhh]hstr}(hhhj-'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj)'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj'ubj)}(h&max_matches: int = 9223372036854775807h](j)}(h max_matchesh]h max_matches}(hhhjP'ubah}(h ]h"]jah$]h&]h(]uh*jhjL'ubj)}(h:h]h:}(hhhj^'ubah}(h ]h"]jah$]h&]h(]uh*jhjL'ubh }(hhhjL'ubj)}(hinth]h)}(hhh]hint}(hhhjt'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjp'ubah}(h ]h"]jah$]h&]h(]uh*jhjL'ubh }(hhhjL'ubjZ)}(h=h]h=}(hhhj'ubah}(h ]h"]jfah$]h&]h(]uh*jYhjL'ubh }(hhhjL'ubjo)}(h9223372036854775807h]h9223372036854775807}(hhhj'ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjL'ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj'ubj)}(h*h]jZ)}(h*h]h*}(hhhj'ubah}(h ]h"]jfah$]h&]h(]uh*jYhj'ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj'ubj)}(hdebug: bool = Falseh](j)}(hdebugh]hdebug}(hhhj'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubj)}(h:h]h:}(hhhj'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubh }(hhhj'ubj)}(hboolh]h)}(hhh]hbool}(hhhj'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubh }(hhhj'ubjZ)}(h=h]h=}(hhhj(ubah}(h ]h"]jfah$]h&]h(]uh*jYhj'ubh }(hhhj'ubjo)}(hFalseh]hFalse}(hhhj'(ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj'ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj'ubj)}(h%maxMatches: int = 9223372036854775807h](j)}(h maxMatchesh]h maxMatches}(hhhj@(ubah}(h ]h"]jah$]h&]h(]uh*jhj<(ubj)}(h:h]h:}(hhhjN(ubah}(h ]h"]jah$]h&]h(]uh*jhj<(ubh }(hhhj<(ubj)}(hinth]h)}(hhh]hint}(hhhjd(ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj`(ubah}(h ]h"]jah$]h&]h(]uh*jhj<(ubh }(hhhj<(ubjZ)}(h=h]h=}(hhhj(ubah}(h ]h"]jfah$]h&]h(]uh*jYhj<(ubh }(hhhj<(ubjo)}(h9223372036854775807h]h9223372036854775807}(hhhj(ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj<(ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj'ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj&hhhj'hNubj-)}(hpyparsing.results.ParseResultsh]h)}(hhh]hpyparsing.results.ParseResults}(hhhj(ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj(ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj&hhhj'hNubeh}(h ]j&ah"]h$]h&]h(]j pyparsingjj_jParserElement.search_stringuh*jWhj'hKhj&hhubj)}(hhh](hQ)}(hAnother extension to :class:`scan_string`, simplifying the access to the tokens found to match the given parse expression. May be called with optional ``max_matches`` argument, to clip searching after 'n' matches are found.h](hAnother extension to }(hAnother extension to hj(hhhNhNubh)}(h:class:`scan_string`h]hj)}(hj(h]h scan_string}(hhhj(ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj(ubah}(h ]h"]h$]h&]h(]refdoch refdomainj(reftypeclass refexplicitrefwarnhj(hj_h scan_stringuh*h~hj&hKhj(ubho, simplifying the access to the tokens found to match the given parse expression. May be called with optional }(ho, simplifying the access to the tokens found to match the given parse expression. May be called with optional hj(hhhNhNubhj)}(h``max_matches``h]h max_matches}(hhhj)ubah}(h ]h"]h$]h&]h(]uh*hihj(ubh= argument, to clip searching after ‘n’ matches are found.}(h9 argument, to clip searching after 'n' matches are found.hj(hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj&hKhj(hhubhQ)}(h Example::h]hExample:}(hExample:hj)hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj&hKhj(hhubjk)}(hX# a capitalized word starts with an uppercase letter, followed by zero or more lowercase letters cap_word = Word(alphas.upper(), alphas.lower()) print(cap_word.search_string("More than Iron, more than Lead, more than Gold I need Electricity")) # the sum() builtin can be used to merge results into a single ParseResults object print(sum(cap_word.search_string("More than Iron, more than Lead, more than Gold I need Electricity")))h]hX# a capitalized word starts with an uppercase letter, followed by zero or more lowercase letters cap_word = Word(alphas.upper(), alphas.lower()) print(cap_word.search_string("More than Iron, more than Lead, more than Gold I need Electricity")) # the sum() builtin can be used to merge results into a single ParseResults object print(sum(cap_word.search_string("More than Iron, more than Lead, more than Gold I need Electricity")))}(hhhj,)ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj&hKhj(hhubhQ)}(hprints::h]hprints:}(hprints:hj:)hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj&hKhj(hhubjk)}(hu[['More'], ['Iron'], ['Lead'], ['Gold'], ['I'], ['Electricity']] ['More', 'Iron', 'Lead', 'Gold', 'I', 'Electricity']h]hu[['More'], ['Iron'], ['Lead'], ['Gold'], ['I'], ['Electricity']] ['More', 'Iron', 'Lead', 'Gold', 'I', 'Electricity']}(hhhjI)ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj&hKhj(hhubeh}(h ]h"]h$]h&]h(]uh*jhj&hhhj'hNubeh}(h ]h"]pyah$]h&]h(]jy j`)jz methodj| jd)j} uh*jRhhhjhj&hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+setBreak() (pyparsing.ParserElement method) pyparsing.ParserElement.setBreakhNtauh*h,hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_breakhNubjS)}(hhh](jX)}(hOParserElement.setBreak(break_flag: bool = True) -> pyparsing.core.ParserElementh](j)}(hsetBreakh]hsetBreak}(hhhj{)hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjw)hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_breakhNubj)}(hbreak_flag: bool = Trueh]j)}(hbreak_flag: bool = Trueh](j)}(h break_flagh]h break_flag}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h:h]h:}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh }(hhhj)ubj)}(hboolh]h)}(hhh]hbool}(hhhj)ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj)ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh }(hhhj)ubjZ)}(h=h]h=}(hhhj)ubah}(h ]h"]jfah$]h&]h(]uh*jYhj)ubh }(hhhj)ubjo)}(hTrueh]hTrue}(hhhj)ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj)ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj)ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjw)hhhj)hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj*ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj*ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjw)hhhj)hNubeh}(h ]jq)ah"]h$]h&]h(]j pyparsingjj_jParserElement.setBreakuh*jWhj)hKhjt)hhubj)}(hhh]hQ)}(hMethod to invoke the Python pdb debugger when this element is about to be parsed. Set ``break_flag`` to ``True`` to enable, ``False`` to disable.h](hVMethod to invoke the Python pdb debugger when this element is about to be parsed. Set }(hVMethod to invoke the Python pdb debugger when this element is about to be parsed. Set hj(*hhhNhNubhj)}(h``break_flag``h]h break_flag}(hhhj1*ubah}(h ]h"]h$]h&]h(]uh*hihj(*ubh to }(h to hj(*hhhNhNubhj)}(h``True``h]hTrue}(hhhjD*ubah}(h ]h"]h$]h&]h(]uh*hihj(*ubh to enable, }(h to enable, hj(*hhhNhNubhj)}(h ``False``h]hFalse}(hhhjW*ubah}(h ]h"]h$]h&]h(]uh*hihj(*ubh to disable.}(h to disable.hj(*hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjs)hKhj%*hhubah}(h ]h"]h$]h&]h(]uh*jhjt)hhhj)hNubeh}(h ]h"]pyah$]h&]h(]jy jy*jz methodj| j}*j} uh*jRhhhjhjs)hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+setDebug() (pyparsing.ParserElement method) pyparsing.ParserElement.setDebughNtauh*h,hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_debughNubjS)}(hhh](jX)}(hIParserElement.setDebug(flag: bool = True) -> pyparsing.core.ParserElementh](j)}(hsetDebugh]hsetDebug}(hhhj*hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj*hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_debughNubj)}(hflag: bool = Trueh]j)}(hflag: bool = Trueh](j)}(hflagh]hflag}(hhhj*ubah}(h ]h"]jah$]h&]h(]uh*jhj*ubj)}(h:h]h:}(hhhj*ubah}(h ]h"]jah$]h&]h(]uh*jhj*ubh }(hhhj*ubj)}(hboolh]h)}(hhh]hbool}(hhhj*ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj*ubah}(h ]h"]jah$]h&]h(]uh*jhj*ubh }(hhhj*ubjZ)}(h=h]h=}(hhhj*ubah}(h ]h"]jfah$]h&]h(]uh*jYhj*ubh }(hhhj*ubjo)}(hTrueh]hTrue}(hhhj*ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj*ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj*ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj*hhhj*hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj+ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj+ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj*hhhj*hNubeh}(h ]j*ah"]h$]h&]h(]j pyparsingjj_jParserElement.setDebuguh*jWhj*hKhj*hhubj)}(hhh](hQ)}(h|Enable display of debugging messages while doing pattern matching. Set ``flag`` to ``True`` to enable, ``False`` to disable.h](hGEnable display of debugging messages while doing pattern matching. Set }(hGEnable display of debugging messages while doing pattern matching. Set hjA+hhhNhNubhj)}(h``flag``h]hflag}(hhhjJ+ubah}(h ]h"]h$]h&]h(]uh*hihjA+ubh to }(h to hjA+hhhNhNubhj)}(h``True``h]hTrue}(hhhj]+ubah}(h ]h"]h$]h&]h(]uh*hihjA+ubh to enable, }(h to enable, hjA+hhhNhNubhj)}(h ``False``h]hFalse}(hhhjp+ubah}(h ]h"]h$]h&]h(]uh*hihjA+ubh to disable.}(h to disable.hjA+hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj*hKhj>+hhubhQ)}(h Example::h]hExample:}(hExample:hj+hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj*hKhj>+hhubjk)}(hwd = Word(alphas).set_name("alphaword") integer = Word(nums).set_name("numword") term = wd | integer # turn on debugging for wd wd.set_debug() term[1, ...].parse_string("abc 123 xyz 890")h]hwd = Word(alphas).set_name("alphaword") integer = Word(nums).set_name("numword") term = wd | integer # turn on debugging for wd wd.set_debug() term[1, ...].parse_string("abc 123 xyz 890")}(hhhj+ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj*hKhj>+hhubhQ)}(hprints::h]hprints:}(hprints:hj+hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj*hKhj>+hhubjk)}(hXMatch alphaword at loc 0(1,1) Matched alphaword -> ['abc'] Match alphaword at loc 3(1,4) Exception raised:Expected alphaword (at char 4), (line:1, col:5) Match alphaword at loc 7(1,8) Matched alphaword -> ['xyz'] Match alphaword at loc 11(1,12) Exception raised:Expected alphaword (at char 12), (line:1, col:13) Match alphaword at loc 15(1,16) Exception raised:Expected alphaword (at char 15), (line:1, col:16)h]hXMatch alphaword at loc 0(1,1) Matched alphaword -> ['abc'] Match alphaword at loc 3(1,4) Exception raised:Expected alphaword (at char 4), (line:1, col:5) Match alphaword at loc 7(1,8) Matched alphaword -> ['xyz'] Match alphaword at loc 11(1,12) Exception raised:Expected alphaword (at char 12), (line:1, col:13) Match alphaword at loc 15(1,16) Exception raised:Expected alphaword (at char 15), (line:1, col:16)}(hhhj+ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj*hKhj>+hhubhQ)}(hXThe output shown is that produced by the default debug actions - custom debug actions can be specified using :class:`set_debug_actions`. Prior to attempting to match the ``wd`` expression, the debugging message ``"Match at loc (,)"`` is shown. Then if the parse succeeds, a ``"Matched"`` message is shown, or an ``"Exception raised"`` message is shown. Also note the use of :class:`set_name` to assign a human-readable name to the expression, which makes debugging and exception messages easier to understand - for instance, the default name created for the :class:`Word` expression without calling ``set_name`` is ``"W:(A-Za-z)"``.h](hmThe output shown is that produced by the default debug actions - custom debug actions can be specified using }(hmThe output shown is that produced by the default debug actions - custom debug actions can be specified using hj+hhhNhNubh)}(h:class:`set_debug_actions`h]hj)}(hj+h]hset_debug_actions}(hhhj+ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj+ubah}(h ]h"]h$]h&]h(]refdoch refdomainj+reftypeclass refexplicitrefwarnhj<+hj_hset_debug_actionsuh*h~hj*hKhj+ubh#. Prior to attempting to match the }(h#. Prior to attempting to match the hj+hhhNhNubhj)}(h``wd``h]hwd}(hhhj+ubah}(h ]h"]h$]h&]h(]uh*hihj+ubh# expression, the debugging message }(h# expression, the debugging message hj+hhhNhNubhj)}(h/``"Match at loc (,)"``h]h+"Match at loc (,)"}(hhhj,ubah}(h ]h"]h$]h&]h(]uh*hihj+ubh) is shown. Then if the parse succeeds, a }(h) is shown. Then if the parse succeeds, a hj+hhhNhNubhj)}(h ``"Matched"``h]h "Matched"}(hhhj,ubah}(h ]h"]h$]h&]h(]uh*hihj+ubh message is shown, or an }(h message is shown, or an hj+hhhNhNubhj)}(h``"Exception raised"``h]h"Exception raised"}(hhhj*,ubah}(h ]h"]h$]h&]h(]uh*hihj+ubh( message is shown. Also note the use of }(h( message is shown. Also note the use of hj+hhhNhNubh)}(h:class:`set_name`h]hj)}(hj?,h]hset_name}(hhhjA,ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj=,ubah}(h ]h"]h$]h&]h(]refdoch refdomainjK,reftypeclass refexplicitrefwarnhj<+hj_hset_nameuh*h~hj*hKhj+ubh to assign a human-readable name to the expression, which makes debugging and exception messages easier to understand - for instance, the default name created for the }(h to assign a human-readable name to the expression, which makes debugging and exception messages easier to understand - for instance, the default name created for the hj+hhhNhNubh)}(h :class:`Word`h]hj)}(hjd,h]hWord}(hhhjf,ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjb,ubah}(h ]h"]h$]h&]h(]refdoch refdomainjp,reftypeclass refexplicitrefwarnhj<+hj_hWorduh*h~hj*hKhj+ubh expression without calling }(h expression without calling hj+hhhNhNubhj)}(h ``set_name``h]hset_name}(hhhj,ubah}(h ]h"]h$]h&]h(]uh*hihj+ubh is }(h is hj+hhhNhNubhj)}(h``"W:(A-Za-z)"``h]h "W:(A-Za-z)"}(hhhj,ubah}(h ]h"]h$]h&]h(]uh*hihj+ubh.}(hjhj+hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj*hKhj>+hhubeh}(h ]h"]h$]h&]h(]uh*jhj*hhhj*hNubeh}(h ]h"]pyah$]h&]h(]jy j,jz methodj| j,j} uh*jRhhhjhj*hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN2setDebugActions() (pyparsing.ParserElement method)'pyparsing.ParserElement.setDebugActionshNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hX]ParserElement.setDebugActions(start_action: Callable[[str, int, pyparsing.core.ParserElement, bool], None], success_action: Callable[[str, int, int, pyparsing.core.ParserElement, pyparsing.results.ParseResults, bool], None], exception_action: Callable[[str, int, pyparsing.core.ParserElement, Exception, bool], None]) -> pyparsing.core.ParserElementh](j)}(hsetDebugActionsh]hsetDebugActions}(hhhj,hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj,hhhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_debug_actionshNubj)}(hXstart_action: Callable[[str, int, pyparsing.core.ParserElement, bool], None], success_action: Callable[[str, int, int, pyparsing.core.ParserElement, pyparsing.results.ParseResults, bool], None], exception_action: Callable[[str, int, pyparsing.core.ParserElement, Exception, bool], None]h](j)}(hLstart_action: Callable[[str, int, pyparsing.core.ParserElement, bool], None]h](j)}(h start_actionh]h start_action}(hhhj,ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubj)}(h:h]h:}(hhhj,ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh }(hhhj,ubj)}(h>Callable[[str, int, pyparsing.core.ParserElement, bool], None]h](h)}(hhh]hCallable}(hhhj-ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hj -ubj)}(h[h]h[}(hhhj#-ubah}(h ]h"]jah$]h&]h(]uh*jhj -ubj)}(h[h]h[}(hhhj1-ubah}(h ]h"]jah$]h&]h(]uh*jhj -ubh)}(hhh]hstr}(hhhj?-ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj -ubj)}(h, h]h, }(hhhjR-ubah}(h ]h"]jah$]h&]h(]uh*jhj -ubh)}(hhh]hint}(hhhj`-ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj -ubj)}(h, h]h, }(hhhjs-ubah}(h ]h"]jah$]h&]h(]uh*jhj -ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj-ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj -ubj)}(h, h]h, }(hhhj-ubah}(h ]h"]jah$]h&]h(]uh*jhj -ubh)}(hhh]hbool}(hhhj-ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj -ubj)}(h]h]h]}(hhhj-ubah}(h ]h"]jah$]h&]h(]uh*jhj -ubj)}(h, h]h, }(hhhj-ubah}(h ]h"]jah$]h&]h(]uh*jhj -ubh)}(hhh]hNone}(hhhj-ubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hj -ubj)}(h]h]h]}(hhhj-ubah}(h ]h"]jah$]h&]h(]uh*jhj -ubeh}(h ]h"]jah$]h&]h(]uh*jhj,ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,ubj)}(hssuccess_action: Callable[[str, int, int, pyparsing.core.ParserElement, pyparsing.results.ParseResults, bool], None]h](j)}(hsuccess_actionh]hsuccess_action}(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhj-ubj)}(h:h]h:}(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhj-ubh }(hhhj-ubj)}(hcCallable[[str, int, int, pyparsing.core.ParserElement, pyparsing.results.ParseResults, bool], None]h](h)}(hhh]hCallable}(hhhj&.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hj".ubj)}(h[h]h[}(hhhj9.ubah}(h ]h"]jah$]h&]h(]uh*jhj".ubj)}(h[h]h[}(hhhjG.ubah}(h ]h"]jah$]h&]h(]uh*jhj".ubh)}(hhh]hstr}(hhhjU.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj".ubj)}(h, h]h, }(hhhjh.ubah}(h ]h"]jah$]h&]h(]uh*jhj".ubh)}(hhh]hint}(hhhjv.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj".ubj)}(h, h]h, }(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhj".ubh)}(hhh]hint}(hhhj.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj".ubj)}(h, h]h, }(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhj".ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj".ubj)}(h, h]h, }(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhj".ubh)}(hhh]hpyparsing.results.ParseResults}(hhhj.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj".ubj)}(h, h]h, }(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhj".ubh)}(hhh]hbool}(hhhj.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj".ubj)}(h]h]h]}(hhhj /ubah}(h ]h"]jah$]h&]h(]uh*jhj".ubj)}(h, h]h, }(hhhj/ubah}(h ]h"]jah$]h&]h(]uh*jhj".ubh)}(hhh]hNone}(hhhj)/ubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hj".ubj)}(h]h]h]}(hhhj Noneh](j^)}(hstatic h]hstatic }(hhhj1hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj1hhh~/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_default_whitespace_charshNubj)}(hsetDefaultWhitespaceCharsh]hsetDefaultWhitespaceChars}(hhhj1hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj1hhhj1hNubj)}(h chars: strh]j)}(h chars: strh](j)}(hcharsh]hchars}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubj)}(h:h]h:}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubh }(hhhj1ubj)}(hstrh]h)}(hhh]hstr}(hhhj1ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj1ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj1hhhj1hNubj-)}(hNoneh]h)}(hhh]hNone}(hhhj2ubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hj2ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj1hhhj1hNubeh}(h ]j1ah"]h$]h&]h(]j pyparsingjj_j'ParserElement.setDefaultWhitespaceCharsuh*jWh~/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_default_whitespace_charshKhj1hhubj)}(hhh](hQ)}(h&Overrides the default whitespace charsh]h&Overrides the default whitespace chars}(hj/2hj-2hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj1hKhj*2hhubhQ)}(h Example::h]hExample:}(hExample:hj;2hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj1hKhj*2hhubjk)}(hX<# default whitespace chars are space, and newline Word(alphas)[1, ...].parse_string("abc def\nghi jkl") # -> ['abc', 'def', 'ghi', 'jkl'] # change to just treat newline as significant ParserElement.set_default_whitespace_chars(" \t") Word(alphas)[1, ...].parse_string("abc def\nghi jkl") # -> ['abc', 'def']h]hX<# default whitespace chars are space, and newline Word(alphas)[1, ...].parse_string("abc def\nghi jkl") # -> ['abc', 'def', 'ghi', 'jkl'] # change to just treat newline as significant ParserElement.set_default_whitespace_chars(" \t") Word(alphas)[1, ...].parse_string("abc def\nghi jkl") # -> ['abc', 'def']}(hhhjJ2ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj1hKhj*2hhubeh}(h ]h"]h$]h&]h(]uh*jhj1hhhj1hNubeh}(h ]h"]pyah$]h&]h(]jy ja2jz methodj| je2j} uh*jRhhhjhj1hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN0setFailAction() (pyparsing.ParserElement method)%pyparsing.ParserElement.setFailActionhNtauh*h,hjhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_fail_actionhNubjS)}(hhh](jX)}(hParserElement.setFailAction(fn: Callable[[str, int, pyparsing.core.ParserElement, Exception], None]) -> pyparsing.core.ParserElementh](j)}(h setFailActionh]h setFailAction}(hhhj|2hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjx2hhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_fail_actionhNubj)}(hGfn: Callable[[str, int, pyparsing.core.ParserElement, Exception], None]h]j)}(hGfn: Callable[[str, int, pyparsing.core.ParserElement, Exception], None]h](j)}(hfnh]hfn}(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubj)}(h:h]h:}(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubh }(hhhj2ubj)}(hCCallable[[str, int, pyparsing.core.ParserElement, Exception], None]h](h)}(hhh]hCallable}(hhhj2ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hj2ubj)}(h[h]h[}(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubj)}(h[h]h[}(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubh)}(hhh]hstr}(hhhj2ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj2ubj)}(h, h]h, }(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubh)}(hhh]hint}(hhhj3ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj2ubj)}(h, h]h, }(hhhj3ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj(3ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj2ubj)}(h, h]h, }(hhhj;3ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubh)}(hhh]h Exception}(hhhjI3ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget Exception py:modulejpy:classj_uh*h~hj2ubj)}(h]h]h]}(hhhj\3ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubj)}(h, h]h, }(hhhjj3ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubh)}(hhh]hNone}(hhhjx3ubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hj2ubj)}(h]h]h]}(hhhj3ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubeh}(h ]h"]jah$]h&]h(]uh*jhj2ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj2ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjx2hhhj2hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj3ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj3ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjx2hhhj2hNubeh}(h ]jr2ah"]h$]h&]h(]j pyparsingjj_jParserElement.setFailActionuh*jWhj2hKhju2hhubj)}(hhh](hQ)}(hDefine action to perform if parsing fails at this expression. Fail acton fn is a callable function that takes the arguments ``fn(s, loc, expr, err)`` where:h](h|Define action to perform if parsing fails at this expression. Fail acton fn is a callable function that takes the arguments }(h|Define action to perform if parsing fails at this expression. Fail acton fn is a callable function that takes the arguments hj3hhhNhNubhj)}(h``fn(s, loc, expr, err)``h]hfn(s, loc, expr, err)}(hhhj3ubah}(h ]h"]h$]h&]h(]uh*hihj3ubh where:}(h where:hj3hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjt2hKhj3hhubj)}(hhh](j)}(hs = string being parsedh]hQ)}(hj3h]hs = string being parsed}(hj3hj3ubah}(h ]h"]h$]h&]h(]uh*hPhjt2hKhj3ubah}(h ]h"]h$]h&]h(]uh*jhj3hhhjt2hNubj)}(h>loc = location where expression match was attempted and failedh]hQ)}(hj4h]h>loc = location where expression match was attempted and failed}(hj4hj4ubah}(h ]h"]h$]h&]h(]uh*hPhjt2hKhj4ubah}(h ]h"]h$]h&]h(]uh*jhj3hhhjt2hNubj)}(h'expr = the parse expression that failedh]hQ)}(hj(4h]h'expr = the parse expression that failed}(hj(4hj*4ubah}(h ]h"]h$]h&]h(]uh*hPhjt2hKhj&4ubah}(h ]h"]h$]h&]h(]uh*jhj3hhhjt2hNubj)}(herr = the exception thrown h]hQ)}(herr = the exception thrownh]herr = the exception thrown}(hjC4hjA4ubah}(h ]h"]h$]h&]h(]uh*hPhjt2hKhj=4ubah}(h ]h"]h$]h&]h(]uh*jhj3hhhjt2hNubeh}(h ]h"]h$]h&]h(]jjuh*jhjt2hKhj3hhubhQ)}(hwThe function returns no value. It may throw :class:`ParseFatalException` if it is desired to stop parsing immediately.h](h-The function returns no value. It may throw }(h-The function returns no value. It may throw hj[4hhhNhNubh)}(h:class:`ParseFatalException`h]hj)}(hjf4h]hParseFatalException}(hhhjh4ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjd4ubah}(h ]h"]h$]h&]h(]refdoch refdomainjr4reftypeclass refexplicitrefwarnhj3hj_hParseFatalExceptionuh*h~hjt2hK hj[4ubh. if it is desired to stop parsing immediately.}(h. if it is desired to stop parsing immediately.hj[4hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjt2hK hj3hhubeh}(h ]h"]h$]h&]h(]uh*jhju2hhhj2hNubeh}(h ]h"]pyah$]h&]h(]jy j4jz methodj| j4j} uh*jRhhhjhjt2hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*setName() (pyparsing.ParserElement method)pyparsing.ParserElement.setNamehNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_namehNubjS)}(hhh](jX)}(h@ParserElement.setName(name: str) -> pyparsing.core.ParserElementh](j)}(hsetNameh]hsetName}(hhhj4hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj4hhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_namehNubj)}(h name: strh]j)}(h name: strh](j)}(hnameh]hname}(hhhj4ubah}(h ]h"]jah$]h&]h(]uh*jhj4ubj)}(h:h]h:}(hhhj4ubah}(h ]h"]jah$]h&]h(]uh*jhj4ubh }(hhhj4ubj)}(hstrh]h)}(hhh]hstr}(hhhj4ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj4ubah}(h ]h"]jah$]h&]h(]uh*jhj4ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj4ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj4hhhj4hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj5ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj4hhhj4hNubeh}(h ]j4ah"]h$]h&]h(]j pyparsingjj_jParserElement.setNameuh*jWhj4hKhj4hhubj)}(hhh](hQ)}(hZDefine name for this expression, makes debugging and exception messages clearer. Example::h]hYDefine name for this expression, makes debugging and exception messages clearer. Example:}(hYDefine name for this expression, makes debugging and exception messages clearer. Example:hj;5hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj4hKhj85hhubjk)}(hWord(nums).parse_string("ABC") # -> Exception: Expected W:(0-9) (at char 0), (line:1, col:1) Word(nums).set_name("integer").parse_string("ABC") # -> Exception: Expected integer (at char 0), (line:1, col:1)h]hWord(nums).parse_string("ABC") # -> Exception: Expected W:(0-9) (at char 0), (line:1, col:1) Word(nums).set_name("integer").parse_string("ABC") # -> Exception: Expected integer (at char 0), (line:1, col:1)}(hhhjJ5ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj4hKhj85hhubeh}(h ]h"]h$]h&]h(]uh*jhj4hhhj4hNubeh}(h ]h"]pyah$]h&]h(]jy ja5jz methodj| je5j} uh*jRhhhjhj4hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN1setParseAction() (pyparsing.ParserElement method)&pyparsing.ParserElement.setParseActionhNtauh*h,hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_parse_actionhNubjS)}(hhh](jX)}(hXParserElement.setParseAction(*fns: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]], **kwargs) -> pyparsing.core.ParserElementh](j)}(hsetParseActionh]hsetParseAction}(hhhj|5hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjx5hhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_parse_actionhNubj)}(h*fns: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]], **kwargsh](j)}(h*fns: Union[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](jZ)}(h*h]h*}(hhhj5ubah}(h ]h"]jfah$]h&]h(]uh*jYhj5ubj)}(hfnsh]hfns}(hhhj5ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h:h]h:}(hhhj5ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh }(hhhj5ubj)}(hUnion[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hj5ubj)}(h[h]h[}(hhhj5ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hCallable}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hj5ubj)}(h[h]h[}(hhhj5ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h]h]h]}(hhhj6ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h, h]h, }(hhhj6ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hAny}(hhhj#6ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hj5ubj)}(h]h]h]}(hhhj66ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h, h]h, }(hhhjD6ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hCallable}(hhhjR6ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hj5ubj)}(h[h]h[}(hhhje6ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h[h]h[}(hhhjs6ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hpyparsing.results.ParseResults}(hhhj6ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj5ubj)}(h]h]h]}(hhhj6ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h, h]h, }(hhhj6ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hAny}(hhhj6ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hj5ubj)}(h]h]h]}(hhhj6ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h, h]h, }(hhhj6ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hCallable}(hhhj6ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hj5ubj)}(h[h]h[}(hhhj6ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h[h]h[}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hint}(hhhj7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj5ubj)}(h, h]h, }(hhhj!7ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hpyparsing.results.ParseResults}(hhhj/7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj5ubj)}(h]h]h]}(hhhjB7ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h, h]h, }(hhhjP7ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hAny}(hhhj^7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hj5ubj)}(h]h]h]}(hhhjq7ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h, h]h, }(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hCallable}(hhhj7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hj5ubj)}(h[h]h[}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h[h]h[}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hstr}(hhhj7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj5ubj)}(h, h]h, }(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hint}(hhhj7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hj5ubj)}(h, h]h, }(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hpyparsing.results.ParseResults}(hhhj7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hj5ubj)}(h]h]h]}(hhhj8ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h, h]h, }(hhhj8ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh)}(hhh]hAny}(hhhj-8ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hj5ubj)}(h]h]h]}(hhhj@8ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h]h]h]}(hhhjN8ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubeh}(h ]h"]jah$]h&]h(]uh*jhj5ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj5ubj)}(h**kwargsh](jZ)}(h**h]h**}(hhhjl8ubah}(h ]h"]jfah$]h&]h(]uh*jYhjh8ubj)}(hkwargsh]hkwargs}(hhhjz8ubah}(h ]h"]jah$]h&]h(]uh*jhjh8ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj5ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjx5hhhj5hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj8ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj8ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjx5hhhj5hNubeh}(h ]jr5ah"]h$]h&]h(]j pyparsingjj_jParserElement.setParseActionuh*jWhj5hKhju5hhubj)}(hhh](hQ)}(hZDefine one or more actions to perform when successfully matching parse element definition.h]hZDefine one or more actions to perform when successfully matching parse element definition.}(hj8hj8hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjt5hKhj8hhubhQ)}(hX7Parse actions can be called to perform data conversions, do extra validation, update external data structures, or enhance or replace the parsed tokens. Each parse action ``fn`` is a callable method with 0-3 arguments, called as ``fn(s, loc, toks)`` , ``fn(loc, toks)`` , ``fn(toks)`` , or just ``fn()`` , where:h](hParse actions can be called to perform data conversions, do extra validation, update external data structures, or enhance or replace the parsed tokens. Each parse action }(hParse actions can be called to perform data conversions, do extra validation, update external data structures, or enhance or replace the parsed tokens. Each parse action hj8hhhNhNubhj)}(h``fn``h]hfn}(hhhj8ubah}(h ]h"]h$]h&]h(]uh*hihj8ubh4 is a callable method with 0-3 arguments, called as }(h4 is a callable method with 0-3 arguments, called as hj8hhhNhNubhj)}(h``fn(s, loc, toks)``h]hfn(s, loc, toks)}(hhhj8ubah}(h ]h"]h$]h&]h(]uh*hihj8ubh , }(h , hj8hhhNhNubhj)}(h``fn(loc, toks)``h]h fn(loc, toks)}(hhhj8ubah}(h ]h"]h$]h&]h(]uh*hihj8ubh , }(hj8hj8ubhj)}(h ``fn(toks)``h]hfn(toks)}(hhhj 9ubah}(h ]h"]h$]h&]h(]uh*hihj8ubh , or just }(h , or just hj8hhhNhNubhj)}(h``fn()``h]hfn()}(hhhj9ubah}(h ]h"]h$]h&]h(]uh*hihj8ubh , where:}(h , where:hj8hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjt5hKhj8hhubj)}(hhh](j)}(h7s = the original string being parsed (see note below)h]hQ)}(hj<9h]h7s = the original string being parsed (see note below)}(hj<9hj>9ubah}(h ]h"]h$]h&]h(]uh*hPhjt5hKhj:9ubah}(h ]h"]h$]h&]h(]uh*jhj79hhhjt5hNubj)}(h,loc = the location of the matching substringh]hQ)}(hjS9h]h,loc = the location of the matching substring}(hjS9hjU9ubah}(h ]h"]h$]h&]h(]uh*hPhjt5hK hjQ9ubah}(h ]h"]h$]h&]h(]uh*jhj79hhhjt5hNubj)}(hPtoks = a list of the matched tokens, packaged as a :class:`ParseResults` object h]hQ)}(hOtoks = a list of the matched tokens, packaged as a :class:`ParseResults` objecth](h3toks = a list of the matched tokens, packaged as a }(h3toks = a list of the matched tokens, packaged as a hjl9ubh)}(h:class:`ParseResults`h]hj)}(hjw9h]h ParseResults}(hhhjy9ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihju9ubah}(h ]h"]h$]h&]h(]refdoch refdomainj9reftypeclass refexplicitrefwarnhj8hj_h ParseResultsuh*h~hjt5hK hjl9ubh object}(h objecthjl9ubeh}(h ]h"]h$]h&]h(]uh*hPhjt5hK hjh9ubah}(h ]h"]h$]h&]h(]uh*jhj79hhhjt5hNubeh}(h ]h"]h$]h&]h(]jjuh*jhjt5hKhj8hhubhQ)}(hX{The parsed tokens are passed to the parse action as ParseResults. They can be modified in place using list-style append, extend, and pop operations to update the parsed list elements; and with dictionary-style item set and del operations to add, update, or remove any named results. If the tokens are modified in place, it is not necessary to return them with a return statement.h]hX{The parsed tokens are passed to the parse action as ParseResults. They can be modified in place using list-style append, extend, and pop operations to update the parsed list elements; and with dictionary-style item set and del operations to add, update, or remove any named results. If the tokens are modified in place, it is not necessary to return them with a return statement.}(hj9hj9hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjt5hK hj8hhubhQ)}(hX]Parse actions can also completely replace the given tokens, with another ``ParseResults`` object, or with some entirely different object (common for parse actions that perform data conversions). A convenient way to build a new parse result is to define the values using a dict, and then create the return value using :class:`ParseResults.from_dict`.h](hIParse actions can also completely replace the given tokens, with another }(hIParse actions can also completely replace the given tokens, with another hj9hhhNhNubhj)}(h``ParseResults``h]h ParseResults}(hhhj9ubah}(h ]h"]h$]h&]h(]uh*hihj9ubh object, or with some entirely different object (common for parse actions that perform data conversions). A convenient way to build a new parse result is to define the values using a dict, and then create the return value using }(h object, or with some entirely different object (common for parse actions that perform data conversions). A convenient way to build a new parse result is to define the values using a dict, and then create the return value using hj9hhhNhNubh)}(h:class:`ParseResults.from_dict`h]hj)}(hj9h]hParseResults.from_dict}(hhhj9ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj9ubah}(h ]h"]h$]h&]h(]refdoch refdomainj9reftypeclass refexplicitrefwarnhj8hj_hParseResults.from_dictuh*h~hjt5hKhj9ubh.}(hjhj9hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjt5hKhj8hhubhQ)}(hqIf None is passed as the ``fn`` parse action, all previously added parse actions for this expression are cleared.h](hIf None is passed as the }(hIf None is passed as the hj:hhhNhNubhj)}(h``fn``h]hfn}(hhhj :ubah}(h ]h"]h$]h&]h(]uh*hihj:ubhR parse action, all previously added parse actions for this expression are cleared.}(hR parse action, all previously added parse actions for this expression are cleared.hj:hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjt5hKhj8hhubhQ)}(hOptional keyword arguments:h]hOptional keyword arguments:}(hj$:hj":hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjt5hKhj8hhubj)}(hhh]j)}(hXcall_during_try = (default= ``False``) indicate if parse action should be run during lookaheads and alternate testing. For parse actions that have side effects, it is important to only call the parse action once it is determined that it is being called as part of a successful parse. For parse actions that perform additional validation, then call_during_try should be passed as True, so that the validation code is included in the preliminary "try" parses. h]hQ)}(hXcall_during_try = (default= ``False``) indicate if parse action should be run during lookaheads and alternate testing. For parse actions that have side effects, it is important to only call the parse action once it is determined that it is being called as part of a successful parse. For parse actions that perform additional validation, then call_during_try should be passed as True, so that the validation code is included in the preliminary "try" parses.h](hcall_during_try = (default= }(hcall_during_try = (default= hj7:ubhj)}(h ``False``h]hFalse}(hhhj@:ubah}(h ]h"]h$]h&]h(]uh*hihj7:ubhX) indicate if parse action should be run during lookaheads and alternate testing. For parse actions that have side effects, it is important to only call the parse action once it is determined that it is being called as part of a successful parse. For parse actions that perform additional validation, then call_during_try should be passed as True, so that the validation code is included in the preliminary “try” parses.}(hX) indicate if parse action should be run during lookaheads and alternate testing. For parse actions that have side effects, it is important to only call the parse action once it is determined that it is being called as part of a successful parse. For parse actions that perform additional validation, then call_during_try should be passed as True, so that the validation code is included in the preliminary "try" parses.hj7:ubeh}(h ]h"]h$]h&]h(]uh*hPhjt5hKhj3:ubah}(h ]h"]h$]h&]h(]uh*jhj0:hhhjt5hNubah}(h ]h"]h$]h&]h(]jjuh*jhjt5hKhj8hhubhQ)}(hX^Note: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See :class:`parse_string` for more information on parsing strings containing ```` s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.h](hsNote: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See }(hsNote: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See hje:hhhNhNubh)}(h:class:`parse_string`h]hj)}(hjp:h]h parse_string}(hhhjr:ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjn:ubah}(h ]h"]h$]h&]h(]refdoch refdomainj|:reftypeclass refexplicitrefwarnhj8hj_h parse_stringuh*h~hjt5hK#hje:ubh4 for more information on parsing strings containing }(h4 for more information on parsing strings containing hje:hhhNhNubhj)}(h ````h]h}(hhhj:ubah}(h ]h"]h$]h&]h(]uh*hihje:ubh s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.}(h s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.hje:hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjt5hK#hj8hhubhQ)}(h Example::h]hExample:}(hExample:hj:hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjt5hK)hj8hhubjk)}(hXF# parse dates in the form YYYY/MM/DD # use parse action to convert toks from str to int at parse time def convert_to_int(toks): return int(toks[0]) # use a parse action to verify that the date is a valid date def is_valid_date(instring, loc, toks): from datetime import date year, month, day = toks[::2] try: date(year, month, day) except ValueError: raise ParseException(instring, loc, "invalid date given") integer = Word(nums) date_str = integer + '/' + integer + '/' + integer # add parse actions integer.set_parse_action(convert_to_int) date_str.set_parse_action(is_valid_date) # note that integer fields are now ints, not strings date_str.run_tests(''' # successful parse - note that integer fields were converted to ints 1999/12/31 # fail - invalid date 1999/13/31 ''')h]hXF# parse dates in the form YYYY/MM/DD # use parse action to convert toks from str to int at parse time def convert_to_int(toks): return int(toks[0]) # use a parse action to verify that the date is a valid date def is_valid_date(instring, loc, toks): from datetime import date year, month, day = toks[::2] try: date(year, month, day) except ValueError: raise ParseException(instring, loc, "invalid date given") integer = Word(nums) date_str = integer + '/' + integer + '/' + integer # add parse actions integer.set_parse_action(convert_to_int) date_str.set_parse_action(is_valid_date) # note that integer fields are now ints, not strings date_str.run_tests(''' # successful parse - note that integer fields were converted to ints 1999/12/31 # fail - invalid date 1999/13/31 ''')}(hhhj:ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjt5hK+hj8hhubeh}(h ]h"]h$]h&]h(]uh*jhju5hhhj5hNubeh}(h ]h"]pyah$]h&]h(]jy j:jz methodj| j:j} uh*jRhhhjhjt5hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN1setResultsName() (pyparsing.ParserElement method)&pyparsing.ParserElement.setResultsNamehNtauh*h,hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_results_namehNubjS)}(hhh](jX)}(hParserElement.setResultsName(name: str, list_all_matches: bool = False, *, listAllMatches: bool = False) -> pyparsing.core.ParserElementh](j)}(hsetResultsNameh]hsetResultsName}(hhhj:hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj:hhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_results_namehNubj)}(hJname: str, list_all_matches: bool = False, *, listAllMatches: bool = Falseh](j)}(h name: strh](j)}(hnameh]hname}(hhhj;ubah}(h ]h"]jah$]h&]h(]uh*jhj;ubj)}(h:h]h:}(hhhj;ubah}(h ]h"]jah$]h&]h(]uh*jhj;ubh }(hhhj;ubj)}(hstrh]h)}(hhh]hstr}(hhhj(;ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj$;ubah}(h ]h"]jah$]h&]h(]uh*jhj;ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj:ubj)}(hlist_all_matches: bool = Falseh](j)}(hlist_all_matchesh]hlist_all_matches}(hhhjK;ubah}(h ]h"]jah$]h&]h(]uh*jhjG;ubj)}(h:h]h:}(hhhjY;ubah}(h ]h"]jah$]h&]h(]uh*jhjG;ubh }(hhhjG;ubj)}(hboolh]h)}(hhh]hbool}(hhhjo;ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjk;ubah}(h ]h"]jah$]h&]h(]uh*jhjG;ubh }(hhhjG;ubjZ)}(h=h]h=}(hhhj;ubah}(h ]h"]jfah$]h&]h(]uh*jYhjG;ubh }(hhhjG;ubjo)}(hFalseh]hFalse}(hhhj;ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjG;ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj:ubj)}(h*h]jZ)}(h*h]h*}(hhhj;ubah}(h ]h"]jfah$]h&]h(]uh*jYhj;ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj:ubj)}(hlistAllMatches: bool = Falseh](j)}(hlistAllMatchesh]hlistAllMatches}(hhhj;ubah}(h ]h"]jah$]h&]h(]uh*jhj;ubj)}(h:h]h:}(hhhj;ubah}(h ]h"]jah$]h&]h(]uh*jhj;ubh }(hhhj;ubj)}(hboolh]h)}(hhh]hbool}(hhhj;ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj;ubah}(h ]h"]jah$]h&]h(]uh*jhj;ubh }(hhhj;ubjZ)}(h=h]h=}(hhhj<ubah}(h ]h"]jfah$]h&]h(]uh*jYhj;ubh }(hhhj;ubjo)}(hFalseh]hFalse}(hhhj"<ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj;ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj:ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj:hhhj:hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjA<ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj=<ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj:hhhj:hNubeh}(h ]j:ah"]h$]h&]h(]j pyparsingjj_jParserElement.setResultsNameuh*jWhj:hKhj:hhubj)}(hhh](hQ)}(h`Define name for referencing matching tokens as a nested attribute of the returned parse results.h]h`Define name for referencing matching tokens as a nested attribute of the returned parse results.}(hjg<hje<hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj:hKhjb<hhubhQ)}(hXNormally, results names are assigned as you would assign keys in a dict: any existing value is overwritten by later values. If it is necessary to keep all values captured for a particular results name, call ``set_results_name`` with ``list_all_matches`` = True.h](hNormally, results names are assigned as you would assign keys in a dict: any existing value is overwritten by later values. If it is necessary to keep all values captured for a particular results name, call }(hNormally, results names are assigned as you would assign keys in a dict: any existing value is overwritten by later values. If it is necessary to keep all values captured for a particular results name, call hjs<hhhNhNubhj)}(h``set_results_name``h]hset_results_name}(hhhj|<ubah}(h ]h"]h$]h&]h(]uh*hihjs<ubh with }(h with hjs<hhhNhNubhj)}(h``list_all_matches``h]hlist_all_matches}(hhhj<ubah}(h ]h"]h$]h&]h(]uh*hihjs<ubh = True.}(h = True.hjs<hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj:hKhjb<hhubhQ)}(hNOTE: ``set_results_name`` returns a *copy* of the original :class:`ParserElement` object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names.h](hNOTE: }(hNOTE: hj<hhhNhNubhj)}(h``set_results_name``h]hset_results_name}(hhhj<ubah}(h ]h"]h$]h&]h(]uh*hihj<ubh returns a }(h returns a hj<hhhNhNubj)}(h*copy*h]hcopy}(hhhj<ubah}(h ]h"]h$]h&]h(]uh*jhj<ubh of the original }(h of the original hj<hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hj<h]h ParserElement}(hhhj<ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj<ubah}(h ]h"]h$]h&]h(]refdoch refdomainj<reftypeclass refexplicitrefwarnhj`<hj_h ParserElementuh*h~hj:hK hj<ubh object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names.}(h object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names.hj<hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj:hK hjb<hhubhQ)}(hYou can also set results names using the abbreviated syntax, ``expr("name")`` in place of ``expr.set_results_name("name")`` - see :class:`__call__`. If ``list_all_matches`` is required, use ``expr("name*")``.h](h=You can also set results names using the abbreviated syntax, }(h=You can also set results names using the abbreviated syntax, hj=hhhNhNubhj)}(h``expr("name")``h]h expr("name")}(hhhj =ubah}(h ]h"]h$]h&]h(]uh*hihj=ubh in place of }(h in place of hj=hhhNhNubhj)}(h!``expr.set_results_name("name")``h]hexpr.set_results_name("name")}(hhhj=ubah}(h ]h"]h$]h&]h(]uh*hihj=ubh - see }(h - see hj=hhhNhNubh)}(h:class:`__call__`h]hj)}(hj3=h]h__call__}(hhhj5=ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj1=ubah}(h ]h"]h$]h&]h(]refdoch refdomainj?=reftypeclass refexplicitrefwarnhj`<hj_h__call__uh*h~hj:hK hj=ubh. If }(h. If hj=hhhNhNubhj)}(h``list_all_matches``h]hlist_all_matches}(hhhjV=ubah}(h ]h"]h$]h&]h(]uh*hihj=ubh is required, use }(h is required, use hj=hhhNhNubhj)}(h``expr("name*")``h]h expr("name*")}(hhhji=ubah}(h ]h"]h$]h&]h(]uh*hihj=ubh.}(hjhj=hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj:hK hjb<hhubhQ)}(h Example::h]hExample:}(hExample:hj=hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj:hKhjb<hhubjk)}(hdate_str = (integer.set_results_name("year") + '/' + integer.set_results_name("month") + '/' + integer.set_results_name("day")) # equivalent form: date_str = integer("year") + '/' + integer("month") + '/' + integer("day")h]hdate_str = (integer.set_results_name("year") + '/' + integer.set_results_name("month") + '/' + integer.set_results_name("day")) # equivalent form: date_str = integer("year") + '/' + integer("month") + '/' + integer("day")}(hhhj=ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj:hKhjb<hhubeh}(h ]h"]h$]h&]h(]uh*jhj:hhhj:hNubeh}(h ]h"]pyah$]h&]h(]jy j=jz methodj| j=j} uh*jRhhhjhj:hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN5setWhitespaceChars() (pyparsing.ParserElement method)*pyparsing.ParserElement.setWhitespaceCharshNtauh*h,hjhhhv/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_whitespace_charshNubjS)}(hhh](jX)}(hzParserElement.setWhitespaceChars(chars: Union[Set[str], str], copy_defaults: bool = False) -> pyparsing.core.ParserElementh](j)}(hsetWhitespaceCharsh]hsetWhitespaceChars}(hhhj=hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj=hhhv/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_whitespace_charshNubj)}(h8chars: Union[Set[str], str], copy_defaults: bool = Falseh](j)}(hchars: Union[Set[str], str]h](j)}(hcharsh]hchars}(hhhj=ubah}(h ]h"]jah$]h&]h(]uh*jhj=ubj)}(h:h]h:}(hhhj=ubah}(h ]h"]jah$]h&]h(]uh*jhj=ubh }(hhhj=ubj)}(hUnion[Set[str], str]h](h)}(hhh]hUnion}(hhhj=ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hj=ubj)}(h[h]h[}(hhhj>ubah}(h ]h"]jah$]h&]h(]uh*jhj=ubh)}(hhh]hSet}(hhhj>ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetSet py:modulejpy:classj_uh*h~hj=ubj)}(h[h]h[}(hhhj1>ubah}(h ]h"]jah$]h&]h(]uh*jhj=ubh)}(hhh]hstr}(hhhj?>ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj=ubj)}(h]h]h]}(hhhjR>ubah}(h ]h"]jah$]h&]h(]uh*jhj=ubj)}(h, h]h, }(hhhj`>ubah}(h ]h"]jah$]h&]h(]uh*jhj=ubh)}(hhh]hstr}(hhhjn>ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj=ubj)}(h]h]h]}(hhhj>ubah}(h ]h"]jah$]h&]h(]uh*jhj=ubeh}(h ]h"]jah$]h&]h(]uh*jhj=ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj=ubj)}(hcopy_defaults: bool = Falseh](j)}(h copy_defaultsh]h copy_defaults}(hhhj>ubah}(h ]h"]jah$]h&]h(]uh*jhj>ubj)}(h:h]h:}(hhhj>ubah}(h ]h"]jah$]h&]h(]uh*jhj>ubh }(hhhj>ubj)}(hboolh]h)}(hhh]hbool}(hhhj>ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj>ubah}(h ]h"]jah$]h&]h(]uh*jhj>ubh }(hhhj>ubjZ)}(h=h]h=}(hhhj>ubah}(h ]h"]jfah$]h&]h(]uh*jYhj>ubh }(hhhj>ubjo)}(hFalseh]hFalse}(hhhj>ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj>ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj=ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj=hhhj=hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj?ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj ?ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj=hhhj=hNubeh}(h ]j=ah"]h$]h&]h(]j pyparsingjj_j ParserElement.setWhitespaceCharsuh*jWhj=hKhj=hhubj)}(hhh]hQ)}(h&Overrides the default whitespace charsh]h&Overrides the default whitespace chars}(hj7?hj5?hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj=hKhj2?hhubah}(h ]h"]h$]h&]h(]uh*jhj=hhhj=hNubeh}(h ]h"]pyah$]h&]h(]jy jL?jz methodj| jP?j} uh*jRhhhjhj=hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN,set_break() (pyparsing.ParserElement method)!pyparsing.ParserElement.set_breakhNtauh*h,hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_breakhNubjS)}(hhh](jX)}(hPParserElement.set_break(break_flag: bool = True) -> pyparsing.core.ParserElementh](j)}(h set_breakh]h set_break}(hhhjg?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjc?hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_breakhNubj)}(hbreak_flag: bool = Trueh]j)}(hbreak_flag: bool = Trueh](j)}(h break_flagh]h break_flag}(hhhj~?ubah}(h ]h"]jah$]h&]h(]uh*jhjz?ubj)}(h:h]h:}(hhhj?ubah}(h ]h"]jah$]h&]h(]uh*jhjz?ubh }(hhhjz?ubj)}(hboolh]h)}(hhh]hbool}(hhhj?ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj?ubah}(h ]h"]jah$]h&]h(]uh*jhjz?ubh }(hhhjz?ubjZ)}(h=h]h=}(hhhj?ubah}(h ]h"]jfah$]h&]h(]uh*jYhjz?ubh }(hhhjz?ubjo)}(hTrueh]hTrue}(hhhj?ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjz?ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjv?ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjc?hhhju?hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj?ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj?ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjc?hhhju?hNubeh}(h ]j]?ah"]h$]h&]h(]j pyparsingjj_jParserElement.set_breakuh*jWhju?hKhj`?hhubj)}(hhh]hQ)}(hMethod to invoke the Python pdb debugger when this element is about to be parsed. Set ``break_flag`` to ``True`` to enable, ``False`` to disable.h](hVMethod to invoke the Python pdb debugger when this element is about to be parsed. Set }(hVMethod to invoke the Python pdb debugger when this element is about to be parsed. Set hj@hhhNhNubhj)}(h``break_flag``h]h break_flag}(hhhj@ubah}(h ]h"]h$]h&]h(]uh*hihj@ubh to }(h to hj@hhhNhNubhj)}(h``True``h]hTrue}(hhhj0@ubah}(h ]h"]h$]h&]h(]uh*hihj@ubh to enable, }(h to enable, hj@hhhNhNubhj)}(h ``False``h]hFalse}(hhhjC@ubah}(h ]h"]h$]h&]h(]uh*hihj@ubh to disable.}(h to disable.hj@hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj_?hKhj@hhubah}(h ]h"]h$]h&]h(]uh*jhj`?hhhju?hNubeh}(h ]h"]pyah$]h&]h(]jy je@jz methodj| ji@j} uh*jRhhhjhj_?hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN,set_debug() (pyparsing.ParserElement method)!pyparsing.ParserElement.set_debughNtauh*h,hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_debughNubjS)}(hhh](jX)}(hJParserElement.set_debug(flag: bool = True) -> pyparsing.core.ParserElementh](j)}(h set_debugh]h set_debug}(hhhj@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj|@hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_debughNubj)}(hflag: bool = Trueh]j)}(hflag: bool = Trueh](j)}(hflagh]hflag}(hhhj@ubah}(h ]h"]jah$]h&]h(]uh*jhj@ubj)}(h:h]h:}(hhhj@ubah}(h ]h"]jah$]h&]h(]uh*jhj@ubh }(hhhj@ubj)}(hboolh]h)}(hhh]hbool}(hhhj@ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj@ubah}(h ]h"]jah$]h&]h(]uh*jhj@ubh }(hhhj@ubjZ)}(h=h]h=}(hhhj@ubah}(h ]h"]jfah$]h&]h(]uh*jYhj@ubh }(hhhj@ubjo)}(hTrueh]hTrue}(hhhj@ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj@ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj@ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj|@hhhj@hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj Aubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjAubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj|@hhhj@hNubeh}(h ]jv@ah"]h$]h&]h(]j pyparsingjj_jParserElement.set_debuguh*jWhj@hKhjy@hhubj)}(hhh](hQ)}(h|Enable display of debugging messages while doing pattern matching. Set ``flag`` to ``True`` to enable, ``False`` to disable.h](hGEnable display of debugging messages while doing pattern matching. Set }(hGEnable display of debugging messages while doing pattern matching. Set hj-AhhhNhNubhj)}(h``flag``h]hflag}(hhhj6Aubah}(h ]h"]h$]h&]h(]uh*hihj-Aubh to }(h to hj-AhhhNhNubhj)}(h``True``h]hTrue}(hhhjIAubah}(h ]h"]h$]h&]h(]uh*hihj-Aubh to enable, }(h to enable, hj-AhhhNhNubhj)}(h ``False``h]hFalse}(hhhj\Aubah}(h ]h"]h$]h&]h(]uh*hihj-Aubh to disable.}(h to disable.hj-AhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjx@hKhj*AhhubhQ)}(h Example::h]hExample:}(hExample:hjuAhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjx@hKhj*Ahhubjk)}(hwd = Word(alphas).set_name("alphaword") integer = Word(nums).set_name("numword") term = wd | integer # turn on debugging for wd wd.set_debug() term[1, ...].parse_string("abc 123 xyz 890")h]hwd = Word(alphas).set_name("alphaword") integer = Word(nums).set_name("numword") term = wd | integer # turn on debugging for wd wd.set_debug() term[1, ...].parse_string("abc 123 xyz 890")}(hhhjAubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjx@hKhj*AhhubhQ)}(hprints::h]hprints:}(hprints:hjAhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjx@hKhj*Ahhubjk)}(hXMatch alphaword at loc 0(1,1) Matched alphaword -> ['abc'] Match alphaword at loc 3(1,4) Exception raised:Expected alphaword (at char 4), (line:1, col:5) Match alphaword at loc 7(1,8) Matched alphaword -> ['xyz'] Match alphaword at loc 11(1,12) Exception raised:Expected alphaword (at char 12), (line:1, col:13) Match alphaword at loc 15(1,16) Exception raised:Expected alphaword (at char 15), (line:1, col:16)h]hXMatch alphaword at loc 0(1,1) Matched alphaword -> ['abc'] Match alphaword at loc 3(1,4) Exception raised:Expected alphaword (at char 4), (line:1, col:5) Match alphaword at loc 7(1,8) Matched alphaword -> ['xyz'] Match alphaword at loc 11(1,12) Exception raised:Expected alphaword (at char 12), (line:1, col:13) Match alphaword at loc 15(1,16) Exception raised:Expected alphaword (at char 15), (line:1, col:16)}(hhhjAubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjx@hKhj*AhhubhQ)}(hXThe output shown is that produced by the default debug actions - custom debug actions can be specified using :class:`set_debug_actions`. Prior to attempting to match the ``wd`` expression, the debugging message ``"Match at loc (,)"`` is shown. Then if the parse succeeds, a ``"Matched"`` message is shown, or an ``"Exception raised"`` message is shown. Also note the use of :class:`set_name` to assign a human-readable name to the expression, which makes debugging and exception messages easier to understand - for instance, the default name created for the :class:`Word` expression without calling ``set_name`` is ``"W:(A-Za-z)"``.h](hmThe output shown is that produced by the default debug actions - custom debug actions can be specified using }(hmThe output shown is that produced by the default debug actions - custom debug actions can be specified using hjAhhhNhNubh)}(h:class:`set_debug_actions`h]hj)}(hjAh]hset_debug_actions}(hhhjAubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjAubah}(h ]h"]h$]h&]h(]refdoch refdomainjAreftypeclass refexplicitrefwarnhj(Ahj_hset_debug_actionsuh*h~hjx@hKhjAubh#. Prior to attempting to match the }(h#. Prior to attempting to match the hjAhhhNhNubhj)}(h``wd``h]hwd}(hhhjAubah}(h ]h"]h$]h&]h(]uh*hihjAubh# expression, the debugging message }(h# expression, the debugging message hjAhhhNhNubhj)}(h/``"Match at loc (,)"``h]h+"Match at loc (,)"}(hhhjAubah}(h ]h"]h$]h&]h(]uh*hihjAubh) is shown. Then if the parse succeeds, a }(h) is shown. Then if the parse succeeds, a hjAhhhNhNubhj)}(h ``"Matched"``h]h "Matched"}(hhhjBubah}(h ]h"]h$]h&]h(]uh*hihjAubh message is shown, or an }(h message is shown, or an hjAhhhNhNubhj)}(h``"Exception raised"``h]h"Exception raised"}(hhhjBubah}(h ]h"]h$]h&]h(]uh*hihjAubh( message is shown. Also note the use of }(h( message is shown. Also note the use of hjAhhhNhNubh)}(h:class:`set_name`h]hj)}(hj+Bh]hset_name}(hhhj-Bubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj)Bubah}(h ]h"]h$]h&]h(]refdoch refdomainj7Breftypeclass refexplicitrefwarnhj(Ahj_hset_nameuh*h~hjx@hKhjAubh to assign a human-readable name to the expression, which makes debugging and exception messages easier to understand - for instance, the default name created for the }(h to assign a human-readable name to the expression, which makes debugging and exception messages easier to understand - for instance, the default name created for the hjAhhhNhNubh)}(h :class:`Word`h]hj)}(hjPBh]hWord}(hhhjRBubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjNBubah}(h ]h"]h$]h&]h(]refdoch refdomainj\Breftypeclass refexplicitrefwarnhj(Ahj_hWorduh*h~hjx@hKhjAubh expression without calling }(h expression without calling hjAhhhNhNubhj)}(h ``set_name``h]hset_name}(hhhjsBubah}(h ]h"]h$]h&]h(]uh*hihjAubh is }(h is hjAhhhNhNubhj)}(h``"W:(A-Za-z)"``h]h "W:(A-Za-z)"}(hhhjBubah}(h ]h"]h$]h&]h(]uh*hihjAubh.}(hjhjAhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjx@hKhj*Ahhubeh}(h ]h"]h$]h&]h(]uh*jhjy@hhhj@hNubeh}(h ]h"]pyah$]h&]h(]jy jBjz methodj| jBj} uh*jRhhhjhjx@hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN4set_debug_actions() (pyparsing.ParserElement method))pyparsing.ParserElement.set_debug_actionshNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hX_ParserElement.set_debug_actions(start_action: Callable[[str, int, pyparsing.core.ParserElement, bool], None], success_action: Callable[[str, int, int, pyparsing.core.ParserElement, pyparsing.results.ParseResults, bool], None], exception_action: Callable[[str, int, pyparsing.core.ParserElement, Exception, bool], None]) -> pyparsing.core.ParserElementh](j)}(hset_debug_actionsh]hset_debug_actions}(hhhjBhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjBhhhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_debug_actionshNubj)}(hXstart_action: Callable[[str, int, pyparsing.core.ParserElement, bool], None], success_action: Callable[[str, int, int, pyparsing.core.ParserElement, pyparsing.results.ParseResults, bool], None], exception_action: Callable[[str, int, pyparsing.core.ParserElement, Exception, bool], None]h](j)}(hLstart_action: Callable[[str, int, pyparsing.core.ParserElement, bool], None]h](j)}(h start_actionh]h start_action}(hhhjBubah}(h ]h"]jah$]h&]h(]uh*jhjBubj)}(h:h]h:}(hhhjBubah}(h ]h"]jah$]h&]h(]uh*jhjBubh }(hhhjBubj)}(h>Callable[[str, int, pyparsing.core.ParserElement, bool], None]h](h)}(hhh]hCallable}(hhhjBubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjBubj)}(h[h]h[}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhjBubj)}(h[h]h[}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhjBubh)}(hhh]hstr}(hhhj+Cubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjBubj)}(h, h]h, }(hhhj>Cubah}(h ]h"]jah$]h&]h(]uh*jhjBubh)}(hhh]hint}(hhhjLCubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjBubj)}(h, h]h, }(hhhj_Cubah}(h ]h"]jah$]h&]h(]uh*jhjBubh)}(hhh]hpyparsing.core.ParserElement}(hhhjmCubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjBubj)}(h, h]h, }(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhjBubh)}(hhh]hbool}(hhhjCubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjBubj)}(h]h]h]}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhjBubj)}(h, h]h, }(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhjBubh)}(hhh]hNone}(hhhjCubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjBubj)}(h]h]h]}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhjBubeh}(h ]h"]jah$]h&]h(]uh*jhjBubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjBubj)}(hssuccess_action: Callable[[str, int, int, pyparsing.core.ParserElement, pyparsing.results.ParseResults, bool], None]h](j)}(hsuccess_actionh]hsuccess_action}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhjCubj)}(h:h]h:}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhjCubh }(hhhjCubj)}(hcCallable[[str, int, int, pyparsing.core.ParserElement, pyparsing.results.ParseResults, bool], None]h](h)}(hhh]hCallable}(hhhjDubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjDubj)}(h[h]h[}(hhhj%Dubah}(h ]h"]jah$]h&]h(]uh*jhjDubj)}(h[h]h[}(hhhj3Dubah}(h ]h"]jah$]h&]h(]uh*jhjDubh)}(hhh]hstr}(hhhjADubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjDubj)}(h, h]h, }(hhhjTDubah}(h ]h"]jah$]h&]h(]uh*jhjDubh)}(hhh]hint}(hhhjbDubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjDubj)}(h, h]h, }(hhhjuDubah}(h ]h"]jah$]h&]h(]uh*jhjDubh)}(hhh]hint}(hhhjDubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjDubj)}(h, h]h, }(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhjDubh)}(hhh]hpyparsing.core.ParserElement}(hhhjDubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjDubj)}(h, h]h, }(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhjDubh)}(hhh]hpyparsing.results.ParseResults}(hhhjDubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjDubj)}(h, h]h, }(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhjDubh)}(hhh]hbool}(hhhjDubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjDubj)}(h]h]h]}(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhjDubj)}(h, h]h, }(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhjDubh)}(hhh]hNone}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjDubj)}(h]h]h]}(hhhj(Eubah}(h ]h"]jah$]h&]h(]uh*jhjDubeh}(h ]h"]jah$]h&]h(]uh*jhjCubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjBubj)}(h[exception_action: Callable[[str, int, pyparsing.core.ParserElement, Exception, bool], None]h](j)}(hexception_actionh]hexception_action}(hhhjFEubah}(h ]h"]jah$]h&]h(]uh*jhjBEubj)}(h:h]h:}(hhhjTEubah}(h ]h"]jah$]h&]h(]uh*jhjBEubh }(hhhjBEubj)}(hICallable[[str, int, pyparsing.core.ParserElement, Exception, bool], None]h](h)}(hhh]hCallable}(hhhjjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjfEubj)}(h[h]h[}(hhhj}Eubah}(h ]h"]jah$]h&]h(]uh*jhjfEubj)}(h[h]h[}(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhjfEubh)}(hhh]hstr}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjfEubj)}(h, h]h, }(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhjfEubh)}(hhh]hint}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjfEubj)}(h, h]h, }(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhjfEubh)}(hhh]hpyparsing.core.ParserElement}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjfEubj)}(h, h]h, }(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhjfEubh)}(hhh]h Exception}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget Exception py:modulejpy:classj_uh*h~hjfEubj)}(h, h]h, }(hhhjFubah}(h ]h"]jah$]h&]h(]uh*jhjfEubh)}(hhh]hbool}(hhhjFubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjfEubj)}(h]h]h]}(hhhj0Fubah}(h ]h"]jah$]h&]h(]uh*jhjfEubj)}(h, h]h, }(hhhj>Fubah}(h ]h"]jah$]h&]h(]uh*jhjfEubh)}(hhh]hNone}(hhhjLFubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjfEubj)}(h]h]h]}(hhhj_Fubah}(h ]h"]jah$]h&]h(]uh*jhjfEubeh}(h ]h"]jah$]h&]h(]uh*jhjBEubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjBubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjBhhhjBhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjFubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjFubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjBhhhjBhNubeh}(h ]jBah"]h$]h&]h(]j pyparsingjj_jParserElement.set_debug_actionsuh*jWhjBhKhjBhhubj)}(hhh](hQ)}(hECustomize display of debugging messages while doing pattern matching:h]hECustomize display of debugging messages while doing pattern matching:}(hjFhjFhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhs/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_debug_actionshKhjFhhubj)}(hhh](j)}(h``start_action`` - method to be called when an expression is about to be parsed; should have the signature ``fn(input_string: str, location: int, expression: ParserElement, cache_hit: bool)`` h]hQ)}(h``start_action`` - method to be called when an expression is about to be parsed; should have the signature ``fn(input_string: str, location: int, expression: ParserElement, cache_hit: bool)``h](hj)}(h``start_action``h]h start_action}(hhhjFubah}(h ]h"]h$]h&]h(]uh*hihjFubh[ - method to be called when an expression is about to be parsed; should have the signature }(h[ - method to be called when an expression is about to be parsed; should have the signature hjFubhj)}(hT``fn(input_string: str, location: int, expression: ParserElement, cache_hit: bool)``h]hPfn(input_string: str, location: int, expression: ParserElement, cache_hit: bool)}(hhhjFubah}(h ]h"]h$]h&]h(]uh*hihjFubeh}(h ]h"]h$]h&]h(]uh*hPhjFhKhjFubah}(h ]h"]h$]h&]h(]uh*jhjFhhhjFhNubj)}(h``success_action`` - method to be called when an expression has successfully parsed; should have the signature ``fn(input_string: str, start_location: int, end_location: int, expression: ParserELement, parsed_tokens: ParseResults, cache_hit: bool)`` h]hQ)}(h``success_action`` - method to be called when an expression has successfully parsed; should have the signature ``fn(input_string: str, start_location: int, end_location: int, expression: ParserELement, parsed_tokens: ParseResults, cache_hit: bool)``h](hj)}(h``success_action``h]hsuccess_action}(hhhjFubah}(h ]h"]h$]h&]h(]uh*hihjFubh] - method to be called when an expression has successfully parsed; should have the signature }(h] - method to be called when an expression has successfully parsed; should have the signature hjFubhj)}(h``fn(input_string: str, start_location: int, end_location: int, expression: ParserELement, parsed_tokens: ParseResults, cache_hit: bool)``h]hfn(input_string: str, start_location: int, end_location: int, expression: ParserELement, parsed_tokens: ParseResults, cache_hit: bool)}(hhhj Gubah}(h ]h"]h$]h&]h(]uh*hihjFubeh}(h ]h"]h$]h&]h(]uh*hPhjFhKhjFubah}(h ]h"]h$]h&]h(]uh*jhjFhhhjFhNubj)}(h``exception_action`` - method to be called when expression fails to parse; should have the signature ``fn(input_string: str, location: int, expression: ParserElement, exception: Exception, cache_hit: bool)``h]hQ)}(h``exception_action`` - method to be called when expression fails to parse; should have the signature ``fn(input_string: str, location: int, expression: ParserElement, exception: Exception, cache_hit: bool)``h](hj)}(h``exception_action``h]hexception_action}(hhhj+Gubah}(h ]h"]h$]h&]h(]uh*hihj'GubhQ - method to be called when expression fails to parse; should have the signature }(hQ - method to be called when expression fails to parse; should have the signature hj'Gubhj)}(hj``fn(input_string: str, location: int, expression: ParserElement, exception: Exception, cache_hit: bool)``h]hffn(input_string: str, location: int, expression: ParserElement, exception: Exception, cache_hit: bool)}(hhhj>Gubah}(h ]h"]h$]h&]h(]uh*hihj'Gubeh}(h ]h"]h$]h&]h(]uh*hPhjFhK hj#Gubah}(h ]h"]h$]h&]h(]uh*jhjFhhhjFhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjFhKhjFhhubeh}(h ]h"]h$]h&]h(]uh*jhjBhhhjBhNubeh}(h ]h"]pyah$]h&]h(]jy jgGjz methodj| jkGj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNFset_default_whitespace_chars() (pyparsing.ParserElement static method)4pyparsing.ParserElement.set_default_whitespace_charshNtauh*h,hjhhh~/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_default_whitespace_charshNubjS)}(hhh](jX)}(h>ParserElement.set_default_whitespace_chars(chars: str) -> Noneh](j^)}(hstatic h]hstatic }(hhhjGhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj~Ghhh~/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_default_whitespace_charshNubj)}(hset_default_whitespace_charsh]hset_default_whitespace_chars}(hhhjGhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj~GhhhjGhNubj)}(h chars: strh]j)}(h chars: strh](j)}(hcharsh]hchars}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhjGubj)}(h:h]h:}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhjGubh }(hhhjGubj)}(hstrh]h)}(hhh]hstr}(hhhjGubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjGubah}(h ]h"]jah$]h&]h(]uh*jhjGubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjGubah}(h ]h"]h$]h&]h(]jzj{uh*jhj~GhhhjGhNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjGubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjGubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj~GhhhjGhNubeh}(h ]jxGah"]h$]h&]h(]j pyparsingjj_j*ParserElement.set_default_whitespace_charsuh*jWh~/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_default_whitespace_charshKhj{Ghhubj)}(hhh](hQ)}(h&Overrides the default whitespace charsh]h&Overrides the default whitespace chars}(hjHhjHhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjzGhKhjHhhubhQ)}(h Example::h]hExample:}(hExample:hj'HhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjzGhKhjHhhubjk)}(hX<# default whitespace chars are space, and newline Word(alphas)[1, ...].parse_string("abc def\nghi jkl") # -> ['abc', 'def', 'ghi', 'jkl'] # change to just treat newline as significant ParserElement.set_default_whitespace_chars(" \t") Word(alphas)[1, ...].parse_string("abc def\nghi jkl") # -> ['abc', 'def']h]hX<# default whitespace chars are space, and newline Word(alphas)[1, ...].parse_string("abc def\nghi jkl") # -> ['abc', 'def', 'ghi', 'jkl'] # change to just treat newline as significant ParserElement.set_default_whitespace_chars(" \t") Word(alphas)[1, ...].parse_string("abc def\nghi jkl") # -> ['abc', 'def']}(hhhj6Hubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjzGhKhjHhhubeh}(h ]h"]h$]h&]h(]uh*jhj{GhhhjGhNubeh}(h ]h"]pyah$]h&]h(]jy jMHjz methodj| jQHj} uh*jRhhhjhjzGhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN2set_fail_action() (pyparsing.ParserElement method)'pyparsing.ParserElement.set_fail_actionhNtauh*h,hjhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_fail_actionhNubjS)}(hhh](jX)}(hParserElement.set_fail_action(fn: Callable[[str, int, pyparsing.core.ParserElement, Exception], None]) -> pyparsing.core.ParserElementh](j)}(hset_fail_actionh]hset_fail_action}(hhhjhHhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjdHhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_fail_actionhNubj)}(hGfn: Callable[[str, int, pyparsing.core.ParserElement, Exception], None]h]j)}(hGfn: Callable[[str, int, pyparsing.core.ParserElement, Exception], None]h](j)}(hfnh]hfn}(hhhjHubah}(h ]h"]jah$]h&]h(]uh*jhj{Hubj)}(h:h]h:}(hhhjHubah}(h ]h"]jah$]h&]h(]uh*jhj{Hubh }(hhhj{Hubj)}(hCCallable[[str, int, pyparsing.core.ParserElement, Exception], None]h](h)}(hhh]hCallable}(hhhjHubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjHubj)}(h[h]h[}(hhhjHubah}(h ]h"]jah$]h&]h(]uh*jhjHubj)}(h[h]h[}(hhhjHubah}(h ]h"]jah$]h&]h(]uh*jhjHubh)}(hhh]hstr}(hhhjHubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjHubj)}(h, h]h, }(hhhjHubah}(h ]h"]jah$]h&]h(]uh*jhjHubh)}(hhh]hint}(hhhjHubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjHubj)}(h, h]h, }(hhhjIubah}(h ]h"]jah$]h&]h(]uh*jhjHubh)}(hhh]hpyparsing.core.ParserElement}(hhhjIubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjHubj)}(h, h]h, }(hhhj'Iubah}(h ]h"]jah$]h&]h(]uh*jhjHubh)}(hhh]h Exception}(hhhj5Iubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget Exception py:modulejpy:classj_uh*h~hjHubj)}(h]h]h]}(hhhjHIubah}(h ]h"]jah$]h&]h(]uh*jhjHubj)}(h, h]h, }(hhhjVIubah}(h ]h"]jah$]h&]h(]uh*jhjHubh)}(hhh]hNone}(hhhjdIubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjHubj)}(h]h]h]}(hhhjwIubah}(h ]h"]jah$]h&]h(]uh*jhjHubeh}(h ]h"]jah$]h&]h(]uh*jhj{Hubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjwHubah}(h ]h"]h$]h&]h(]jzj{uh*jhjdHhhhjvHhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjIubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjIubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjdHhhhjvHhNubeh}(h ]j^Hah"]h$]h&]h(]j pyparsingjj_jParserElement.set_fail_actionuh*jWhjvHhKhjaHhhubj)}(hhh](hQ)}(hDefine action to perform if parsing fails at this expression. Fail acton fn is a callable function that takes the arguments ``fn(s, loc, expr, err)`` where:h](h|Define action to perform if parsing fails at this expression. Fail acton fn is a callable function that takes the arguments }(h|Define action to perform if parsing fails at this expression. Fail acton fn is a callable function that takes the arguments hjIhhhNhNubhj)}(h``fn(s, loc, expr, err)``h]hfn(s, loc, expr, err)}(hhhjIubah}(h ]h"]h$]h&]h(]uh*hihjIubh where:}(h where:hjIhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj`HhKhjIhhubj)}(hhh](j)}(hs = string being parsedh]hQ)}(hjIh]hs = string being parsed}(hjIhjIubah}(h ]h"]h$]h&]h(]uh*hPhj`HhKhjIubah}(h ]h"]h$]h&]h(]uh*jhjIhhhj`HhNubj)}(h>loc = location where expression match was attempted and failedh]hQ)}(hjIh]h>loc = location where expression match was attempted and failed}(hjIhjIubah}(h ]h"]h$]h&]h(]uh*hPhj`HhKhjIubah}(h ]h"]h$]h&]h(]uh*jhjIhhhj`HhNubj)}(h'expr = the parse expression that failedh]hQ)}(hjJh]h'expr = the parse expression that failed}(hjJhjJubah}(h ]h"]h$]h&]h(]uh*hPhj`HhKhjJubah}(h ]h"]h$]h&]h(]uh*jhjIhhhj`HhNubj)}(herr = the exception thrown h]hQ)}(herr = the exception thrownh]herr = the exception thrown}(hj/Jhj-Jubah}(h ]h"]h$]h&]h(]uh*hPhj`HhKhj)Jubah}(h ]h"]h$]h&]h(]uh*jhjIhhhj`HhNubeh}(h ]h"]h$]h&]h(]jjuh*jhj`HhKhjIhhubhQ)}(hwThe function returns no value. It may throw :class:`ParseFatalException` if it is desired to stop parsing immediately.h](h-The function returns no value. It may throw }(h-The function returns no value. It may throw hjGJhhhNhNubh)}(h:class:`ParseFatalException`h]hj)}(hjRJh]hParseFatalException}(hhhjTJubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjPJubah}(h ]h"]h$]h&]h(]refdoch refdomainj^Jreftypeclass refexplicitrefwarnhjIhj_hParseFatalExceptionuh*h~hj`HhK hjGJubh. if it is desired to stop parsing immediately.}(h. if it is desired to stop parsing immediately.hjGJhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj`HhK hjIhhubeh}(h ]h"]h$]h&]h(]uh*jhjaHhhhjvHhNubeh}(h ]h"]pyah$]h&]h(]jy jJjz methodj| jJj} uh*jRhhhjhj`HhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+set_name() (pyparsing.ParserElement method) pyparsing.ParserElement.set_namehNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_namehNubjS)}(hhh](jX)}(hAParserElement.set_name(name: str) -> pyparsing.core.ParserElementh](j)}(hset_nameh]hset_name}(hhhjJhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjJhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_namehNubj)}(h name: strh]j)}(h name: strh](j)}(hnameh]hname}(hhhjJubah}(h ]h"]jah$]h&]h(]uh*jhjJubj)}(h:h]h:}(hhhjJubah}(h ]h"]jah$]h&]h(]uh*jhjJubh }(hhhjJubj)}(hstrh]h)}(hhh]hstr}(hhhjJubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjJubah}(h ]h"]jah$]h&]h(]uh*jhjJubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJubah}(h ]h"]h$]h&]h(]jzj{uh*jhjJhhhjJhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjJubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjJhhhjJhNubeh}(h ]jJah"]h$]h&]h(]j pyparsingjj_jParserElement.set_nameuh*jWhjJhKhjJhhubj)}(hhh](hQ)}(hZDefine name for this expression, makes debugging and exception messages clearer. Example::h]hYDefine name for this expression, makes debugging and exception messages clearer. Example:}(hYDefine name for this expression, makes debugging and exception messages clearer. Example:hj'KhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjJhKhj$Khhubjk)}(hWord(nums).parse_string("ABC") # -> Exception: Expected W:(0-9) (at char 0), (line:1, col:1) Word(nums).set_name("integer").parse_string("ABC") # -> Exception: Expected integer (at char 0), (line:1, col:1)h]hWord(nums).parse_string("ABC") # -> Exception: Expected W:(0-9) (at char 0), (line:1, col:1) Word(nums).set_name("integer").parse_string("ABC") # -> Exception: Expected integer (at char 0), (line:1, col:1)}(hhhj6Kubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjJhKhj$Khhubeh}(h ]h"]h$]h&]h(]uh*jhjJhhhjJhNubeh}(h ]h"]pyah$]h&]h(]jy jMKjz methodj| jQKj} uh*jRhhhjhjJhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN3set_parse_action() (pyparsing.ParserElement method)(pyparsing.ParserElement.set_parse_actionhNtauh*h,hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_parse_actionhNubjS)}(hhh](jX)}(hX ParserElement.set_parse_action(*fns: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]], **kwargs) -> pyparsing.core.ParserElementh](j)}(hset_parse_actionh]hset_parse_action}(hhhjhKhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjdKhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_parse_actionhNubj)}(h*fns: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]], **kwargsh](j)}(h*fns: Union[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](jZ)}(h*h]h*}(hhhjKubah}(h ]h"]jfah$]h&]h(]uh*jYhj{Kubj)}(hfnsh]hfns}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhj{Kubj)}(h:h]h:}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhj{Kubh }(hhhj{Kubj)}(hUnion[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhjKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjKubj)}(h[h]h[}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjKubh)}(hhh]hCallable}(hhhjKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjKubj)}(h[h]h[}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjKubj)}(h]h]h]}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjKubj)}(h, h]h, }(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjKubh)}(hhh]hAny}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hjKubj)}(h]h]h]}(hhhj"Lubah}(h ]h"]jah$]h&]h(]uh*jhjKubj)}(h, h]h, }(hhhj0Lubah}(h ]h"]jah$]h&]h(]uh*jhjKubh)}(hhh]hCallable}(hhhj>Lubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjKubj)}(h[h]h[}(hhhjQLubah}(h ]h"]jah$]h&]h(]uh*jhjKubj)}(h[h]h[}(hhhj_Lubah}(h ]h"]jah$]h&]h(]uh*jhjKubh)}(hhh]hpyparsing.results.ParseResults}(hhhjmLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjKubj)}(h]h]h]}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjKubj)}(h, h]h, }(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjKubh)}(hhh]hAny}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejpy:classj_uh*h~hjKubj)}(h]h]h]}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjKubj)}(h, h]h, }(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjKubh)}(hhh]hCallable}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulejpy:classj_uh*h~hjKubj)}(h[h]h[}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjKubj)}(h[h]h[}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjKubh)}(hhh]hint}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjKubj)}(h, h]h, }(hhhj Mubah}(h ]h"]jah$]h&]h(]uh*jhjKubh)}(hhh]hpyparsing.results.ParseResults}(hhhjMubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulejpy:classj_uh*h~hjKubj)}(h]h]h]}(hhhj.Mubah}(h ]h"]jah$]h&]h(]uh*jhjKubj)}(h, h]h, }(hhhj`` s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.h](hsNote: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See }(hsNote: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See hjQPhhhNhNubh)}(h:class:`parse_string`h]hj)}(hj\Ph]h parse_string}(hhhj^Pubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjZPubah}(h ]h"]h$]h&]h(]refdoch refdomainjhPreftypeclass refexplicitrefwarnhjNhj_h parse_stringuh*h~hj`KhK#hjQPubh4 for more information on parsing strings containing }(h4 for more information on parsing strings containing hjQPhhhNhNubhj)}(h ````h]h}(hhhjPubah}(h ]h"]h$]h&]h(]uh*hihjQPubh s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.}(h s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.hjQPhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj`KhK#hjNhhubhQ)}(h Example::h]hExample:}(hExample:hjPhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj`KhK)hjNhhubjk)}(hXF# parse dates in the form YYYY/MM/DD # use parse action to convert toks from str to int at parse time def convert_to_int(toks): return int(toks[0]) # use a parse action to verify that the date is a valid date def is_valid_date(instring, loc, toks): from datetime import date year, month, day = toks[::2] try: date(year, month, day) except ValueError: raise ParseException(instring, loc, "invalid date given") integer = Word(nums) date_str = integer + '/' + integer + '/' + integer # add parse actions integer.set_parse_action(convert_to_int) date_str.set_parse_action(is_valid_date) # note that integer fields are now ints, not strings date_str.run_tests(''' # successful parse - note that integer fields were converted to ints 1999/12/31 # fail - invalid date 1999/13/31 ''')h]hXF# parse dates in the form YYYY/MM/DD # use parse action to convert toks from str to int at parse time def convert_to_int(toks): return int(toks[0]) # use a parse action to verify that the date is a valid date def is_valid_date(instring, loc, toks): from datetime import date year, month, day = toks[::2] try: date(year, month, day) except ValueError: raise ParseException(instring, loc, "invalid date given") integer = Word(nums) date_str = integer + '/' + integer + '/' + integer # add parse actions integer.set_parse_action(convert_to_int) date_str.set_parse_action(is_valid_date) # note that integer fields are now ints, not strings date_str.run_tests(''' # successful parse - note that integer fields were converted to ints 1999/12/31 # fail - invalid date 1999/13/31 ''')}(hhhjPubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj`KhK+hjNhhubeh}(h ]h"]h$]h&]h(]uh*jhjaKhhhjvKhNubeh}(h ]h"]pyah$]h&]h(]jy jPjz methodj| jPj} uh*jRhhhjhj`KhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN3set_results_name() (pyparsing.ParserElement method)(pyparsing.ParserElement.set_results_namehNtauh*h,hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_results_namehNubjS)}(hhh](jX)}(hParserElement.set_results_name(name: str, list_all_matches: bool = False, *, listAllMatches: bool = False) -> pyparsing.core.ParserElementh](j)}(hset_results_nameh]hset_results_name}(hhhjPhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjPhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_results_namehNubj)}(hJname: str, list_all_matches: bool = False, *, listAllMatches: bool = Falseh](j)}(h name: strh](j)}(hnameh]hname}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhjPubj)}(h:h]h:}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhjPubh }(hhhjPubj)}(hstrh]h)}(hhh]hstr}(hhhjQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjQubah}(h ]h"]jah$]h&]h(]uh*jhjPubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjPubj)}(hlist_all_matches: bool = Falseh](j)}(hlist_all_matchesh]hlist_all_matches}(hhhj7Qubah}(h ]h"]jah$]h&]h(]uh*jhj3Qubj)}(h:h]h:}(hhhjEQubah}(h ]h"]jah$]h&]h(]uh*jhj3Qubh }(hhhj3Qubj)}(hboolh]h)}(hhh]hbool}(hhhj[Qubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjWQubah}(h ]h"]jah$]h&]h(]uh*jhj3Qubh }(hhhj3QubjZ)}(h=h]h=}(hhhjxQubah}(h ]h"]jfah$]h&]h(]uh*jYhj3Qubh }(hhhj3Qubjo)}(hFalseh]hFalse}(hhhjQubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj3Qubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjPubj)}(h*h]jZ)}(h*h]h*}(hhhjQubah}(h ]h"]jfah$]h&]h(]uh*jYhjQubah}(h ]h"]h$]h&]h(]jzj{uh*jhjPubj)}(hlistAllMatches: bool = Falseh](j)}(hlistAllMatchesh]hlistAllMatches}(hhhjQubah}(h ]h"]jah$]h&]h(]uh*jhjQubj)}(h:h]h:}(hhhjQubah}(h ]h"]jah$]h&]h(]uh*jhjQubh }(hhhjQubj)}(hboolh]h)}(hhh]hbool}(hhhjQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjQubah}(h ]h"]jah$]h&]h(]uh*jhjQubh }(hhhjQubjZ)}(h=h]h=}(hhhjQubah}(h ]h"]jfah$]h&]h(]uh*jYhjQubh }(hhhjQubjo)}(hFalseh]hFalse}(hhhjRubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjQubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjPubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjPhhhjPhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj-Rubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj)Rubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjPhhhjPhNubeh}(h ]jPah"]h$]h&]h(]j pyparsingjj_jParserElement.set_results_nameuh*jWhjPhKhjPhhubj)}(hhh](hQ)}(h`Define name for referencing matching tokens as a nested attribute of the returned parse results.h]h`Define name for referencing matching tokens as a nested attribute of the returned parse results.}(hjSRhjQRhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjPhKhjNRhhubhQ)}(hXNormally, results names are assigned as you would assign keys in a dict: any existing value is overwritten by later values. If it is necessary to keep all values captured for a particular results name, call ``set_results_name`` with ``list_all_matches`` = True.h](hNormally, results names are assigned as you would assign keys in a dict: any existing value is overwritten by later values. If it is necessary to keep all values captured for a particular results name, call }(hNormally, results names are assigned as you would assign keys in a dict: any existing value is overwritten by later values. If it is necessary to keep all values captured for a particular results name, call hj_RhhhNhNubhj)}(h``set_results_name``h]hset_results_name}(hhhjhRubah}(h ]h"]h$]h&]h(]uh*hihj_Rubh with }(h with hj_RhhhNhNubhj)}(h``list_all_matches``h]hlist_all_matches}(hhhj{Rubah}(h ]h"]h$]h&]h(]uh*hihj_Rubh = True.}(h = True.hj_RhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjPhKhjNRhhubhQ)}(hNOTE: ``set_results_name`` returns a *copy* of the original :class:`ParserElement` object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names.h](hNOTE: }(hNOTE: hjRhhhNhNubhj)}(h``set_results_name``h]hset_results_name}(hhhjRubah}(h ]h"]h$]h&]h(]uh*hihjRubh returns a }(h returns a hjRhhhNhNubj)}(h*copy*h]hcopy}(hhhjRubah}(h ]h"]h$]h&]h(]uh*jhjRubh of the original }(h of the original hjRhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjRh]h ParserElement}(hhhjRubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjRubah}(h ]h"]h$]h&]h(]refdoch refdomainjRreftypeclass refexplicitrefwarnhjLRhj_h ParserElementuh*h~hjPhK hjRubh object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names.}(h object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names.hjRhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjPhK hjNRhhubhQ)}(hYou can also set results names using the abbreviated syntax, ``expr("name")`` in place of ``expr.set_results_name("name")`` - see :class:`__call__`. If ``list_all_matches`` is required, use ``expr("name*")``.h](h=You can also set results names using the abbreviated syntax, }(h=You can also set results names using the abbreviated syntax, hjRhhhNhNubhj)}(h``expr("name")``h]h expr("name")}(hhhjRubah}(h ]h"]h$]h&]h(]uh*hihjRubh in place of }(h in place of hjRhhhNhNubhj)}(h!``expr.set_results_name("name")``h]hexpr.set_results_name("name")}(hhhj Subah}(h ]h"]h$]h&]h(]uh*hihjRubh - see }(h - see hjRhhhNhNubh)}(h:class:`__call__`h]hj)}(hjSh]h__call__}(hhhj!Subah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjSubah}(h ]h"]h$]h&]h(]refdoch refdomainj+Sreftypeclass refexplicitrefwarnhjLRhj_h__call__uh*h~hjPhK hjRubh. If }(h. If hjRhhhNhNubhj)}(h``list_all_matches``h]hlist_all_matches}(hhhjBSubah}(h ]h"]h$]h&]h(]uh*hihjRubh is required, use }(h is required, use hjRhhhNhNubhj)}(h``expr("name*")``h]h expr("name*")}(hhhjUSubah}(h ]h"]h$]h&]h(]uh*hihjRubh.}(hjhjRhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjPhK hjNRhhubhQ)}(h Example::h]hExample:}(hExample:hjmShhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjPhKhjNRhhubjk)}(hdate_str = (integer.set_results_name("year") + '/' + integer.set_results_name("month") + '/' + integer.set_results_name("day")) # equivalent form: date_str = integer("year") + '/' + integer("month") + '/' + integer("day")h]hdate_str = (integer.set_results_name("year") + '/' + integer.set_results_name("month") + '/' + integer.set_results_name("day")) # equivalent form: date_str = integer("year") + '/' + integer("month") + '/' + integer("day")}(hhhj|Subah}(h ]h"]h$]h&]h(]jzj{uh*jjhjPhKhjNRhhubeh}(h ]h"]h$]h&]h(]uh*jhjPhhhjPhNubeh}(h ]h"]pyah$]h&]h(]jy jSjz methodj| jSj} uh*jRhhhjhjPhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN7set_whitespace_chars() (pyparsing.ParserElement method),pyparsing.ParserElement.set_whitespace_charshNtauh*h,hjhhhv/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_whitespace_charshNubjS)}(hhh](jX)}(h|ParserElement.set_whitespace_chars(chars: Union[Set[str], str], copy_defaults: bool = False) -> pyparsing.core.ParserElementh](j)}(hset_whitespace_charsh]hset_whitespace_chars}(hhhjShhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjShhhv/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.set_whitespace_charshNubj)}(h8chars: Union[Set[str], str], copy_defaults: bool = Falseh](j)}(hchars: Union[Set[str], str]h](j)}(hcharsh]hchars}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjSubj)}(h:h]h:}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjSubh }(hhhjSubj)}(hUnion[Set[str], str]h](h)}(hhh]hUnion}(hhhjSubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj_uh*h~hjSubj)}(h[h]h[}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjSubh)}(hhh]hSet}(hhhj Tubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetSet py:modulejpy:classj_uh*h~hjSubj)}(h[h]h[}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjSubh)}(hhh]hstr}(hhhj+Tubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjSubj)}(h]h]h]}(hhhj>Tubah}(h ]h"]jah$]h&]h(]uh*jhjSubj)}(h, h]h, }(hhhjLTubah}(h ]h"]jah$]h&]h(]uh*jhjSubh)}(hhh]hstr}(hhhjZTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjSubj)}(h]h]h]}(hhhjmTubah}(h ]h"]jah$]h&]h(]uh*jhjSubeh}(h ]h"]jah$]h&]h(]uh*jhjSubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjSubj)}(hcopy_defaults: bool = Falseh](j)}(h copy_defaultsh]h copy_defaults}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjTubj)}(h:h]h:}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjTubh }(hhhjTubj)}(hboolh]h)}(hhh]hbool}(hhhjTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjTubah}(h ]h"]jah$]h&]h(]uh*jhjTubh }(hhhjTubjZ)}(h=h]h=}(hhhjTubah}(h ]h"]jfah$]h&]h(]uh*jYhjTubh }(hhhjTubjo)}(hFalseh]hFalse}(hhhjTubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjTubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjSubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjShhhjShNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjTubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjShhhjShNubeh}(h ]jSah"]h$]h&]h(]j pyparsingjj_j"ParserElement.set_whitespace_charsuh*jWhjShKhjShhubj)}(hhh]hQ)}(h&Overrides the default whitespace charsh]h&Overrides the default whitespace chars}(hj#Uhj!UhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjShKhjUhhubah}(h ]h"]h$]h&]h(]uh*jhjShhhjShNubeh}(h ]h"]pyah$]h&]h(]jy j8Ujz methodj| j Generator[str, None, None]h](j)}(hsplith]hsplit}(hhhjSUhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjOUhhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.splithNubj)}(hpinstring: str, maxsplit: int = 9223372036854775807, include_separators: bool = False, *, includeSeparators=Falseh](j)}(h instring: strh](j)}(hinstringh]hinstring}(hhhjjUubah}(h ]h"]jah$]h&]h(]uh*jhjfUubj)}(h:h]h:}(hhhjxUubah}(h ]h"]jah$]h&]h(]uh*jhjfUubh }(hhhjfUubj)}(hstrh]h)}(hhh]hstr}(hhhjUubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjUubah}(h ]h"]jah$]h&]h(]uh*jhjfUubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjbUubj)}(h#maxsplit: int = 9223372036854775807h](j)}(hmaxsplith]hmaxsplit}(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h:h]h:}(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjUubh }(hhhjUubj)}(hinth]h)}(hhh]hint}(hhhjUubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classj_uh*h~hjUubah}(h ]h"]jah$]h&]h(]uh*jhjUubh }(hhhjUubjZ)}(h=h]h=}(hhhjUubah}(h ]h"]jfah$]h&]h(]uh*jYhjUubh }(hhhjUubjo)}(h9223372036854775807h]h9223372036854775807}(hhhjVubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjUubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjbUubj)}(h include_separators: bool = Falseh](j)}(hinclude_separatorsh]hinclude_separators}(hhhjVubah}(h ]h"]jah$]h&]h(]uh*jhjVubj)}(h:h]h:}(hhhj+Vubah}(h ]h"]jah$]h&]h(]uh*jhjVubh }(hhhjVubj)}(hboolh]h)}(hhh]hbool}(hhhjAVubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj=Vubah}(h ]h"]jah$]h&]h(]uh*jhjVubh }(hhhjVubjZ)}(h=h]h=}(hhhj^Vubah}(h ]h"]jfah$]h&]h(]uh*jYhjVubh }(hhhjVubjo)}(hFalseh]hFalse}(hhhjpVubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjVubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjbUubj)}(h*h]jZ)}(h*h]h*}(hhhjVubah}(h ]h"]jfah$]h&]h(]uh*jYhjVubah}(h ]h"]h$]h&]h(]jzj{uh*jhjbUubj)}(hincludeSeparators=Falseh](j)}(hincludeSeparatorsh]hincludeSeparators}(hhhjVubah}(h ]h"]jah$]h&]h(]uh*jhjVubjZ)}(h=h]h=}(hhhjVubah}(h ]h"]jfah$]h&]h(]uh*jYhjVubjo)}(hFalseh]hFalse}(hhhjVubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjVubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjbUubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjOUhhhjaUhNubj-)}(hGenerator[str, None, None]h](h)}(hhh]h Generator}(hhhjVubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget Generator py:modulejpy:classj_uh*h~hjVubj)}(h[h]h[}(hhhjVubah}(h ]h"]jah$]h&]h(]uh*jhjVubh)}(hhh]hstr}(hhhjVubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjVubj)}(h, h]h, }(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjVubh)}(hhh]hNone}(hhhjWubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjVubj)}(h, h]h, }(hhhj1Wubah}(h ]h"]jah$]h&]h(]uh*jhjVubh)}(hhh]hNone}(hhhj?Wubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hjVubj)}(h]h]h]}(hhhjRWubah}(h ]h"]jah$]h&]h(]uh*jhjVubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjOUhhhjaUhNubeh}(h ]jIUah"]h$]h&]h(]j pyparsingjj_jParserElement.splituh*jWhjaUhKhjLUhhubj)}(hhh](hQ)}(hX/Generator method to split a string using the given expression as a separator. May be called with optional ``maxsplit`` argument, to limit the number of splits; and the optional ``include_separators`` argument (default= ``False``), if the separating matching text should be included in the split results.h](hjGenerator method to split a string using the given expression as a separator. May be called with optional }(hjGenerator method to split a string using the given expression as a separator. May be called with optional hjqWhhhNhNubhj)}(h ``maxsplit``h]hmaxsplit}(hhhjzWubah}(h ]h"]h$]h&]h(]uh*hihjqWubh; argument, to limit the number of splits; and the optional }(h; argument, to limit the number of splits; and the optional hjqWhhhNhNubhj)}(h``include_separators``h]hinclude_separators}(hhhjWubah}(h ]h"]h$]h&]h(]uh*hihjqWubh argument (default= }(h argument (default= hjqWhhhNhNubhj)}(h ``False``h]hFalse}(hhhjWubah}(h ]h"]h$]h&]h(]uh*hihjqWubhK), if the separating matching text should be included in the split results.}(hK), if the separating matching text should be included in the split results.hjqWhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjKUhKhjnWhhubhQ)}(h Example::h]hExample:}(hExample:hjWhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjKUhKhjnWhhubjk)}(hkpunc = one_of(list(".,;:/-!?")) print(list(punc.split("This, this?, this sentence, is badly punctuated!")))h]hkpunc = one_of(list(".,;:/-!?")) print(list(punc.split("This, this?, this sentence, is badly punctuated!")))}(hhhjWubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjKUhKhjnWhhubhQ)}(hprints::h]hprints:}(hprints:hjWhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjKUhK hjnWhhubjk)}(hC['This', ' this', '', ' this sentence', ' is badly punctuated', '']h]hC['This', ' this', '', ' this sentence', ' is badly punctuated', '']}(hhhjWubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjKUhK hjnWhhubeh}(h ]h"]h$]h&]h(]uh*jhjLUhhhjaUhNubeh}(h ]h"]pyah$]h&]h(]jy jWjz methodj| jXj} uh*jRhhhjhjKUhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+suppress() (pyparsing.ParserElement method) pyparsing.ParserElement.suppresshNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.suppresshNubjS)}(hhh](jX)}(h8ParserElement.suppress() -> pyparsing.core.ParserElementh](j)}(hsuppressh]hsuppress}(hhhjXhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjXhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.suppresshNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjXhhhj%XhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj4Xubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hj0Xubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjXhhhj%XhNubeh}(h ]j Xah"]h$]h&]h(]j pyparsingjj_jParserElement.suppressuh*jWhj%XhKhjXhhubj)}(hhh]hQ)}(htSuppresses the output of this :class:`ParserElement`; useful to keep punctuation from cluttering up returned output.h](hSuppresses the output of this }(hSuppresses the output of this hjXXhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjcXh]h ParserElement}(hhhjeXubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjaXubah}(h ]h"]h$]h&]h(]refdoch refdomainjoXreftypeclass refexplicitrefwarnhjSXhj_h ParserElementuh*h~hjXhKhjXXubh@; useful to keep punctuation from cluttering up returned output.}(h@; useful to keep punctuation from cluttering up returned output.hjXXhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjXhKhjUXhhubah}(h ]h"]h$]h&]h(]uh*jhjXhhhj%XhNubeh}(h ]h"]pyah$]h&]h(]jy jXjz methodj| jXj} uh*jRhhhjhjXhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN3suppress_warning() (pyparsing.ParserElement method)(pyparsing.ParserElement.suppress_warninghNtauh*h,hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.suppress_warninghNubjS)}(hhh](jX)}(hhParserElement.suppress_warning(warning_type: pyparsing.core.Diagnostics) -> pyparsing.core.ParserElementh](j)}(hsuppress_warningh]hsuppress_warning}(hhhjXhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjXhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.suppress_warninghNubj)}(h(warning_type: pyparsing.core.Diagnosticsh]j)}(h(warning_type: pyparsing.core.Diagnosticsh](j)}(h warning_typeh]h warning_type}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjXubj)}(h:h]h:}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjXubh }(hhhjXubj)}(hpyparsing.core.Diagnosticsh]h)}(hhh]hpyparsing.core.Diagnostics}(hhhjXubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.Diagnostics py:modulejpy:classj_uh*h~hjXubah}(h ]h"]jah$]h&]h(]uh*jhjXubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjXubah}(h ]h"]h$]h&]h(]jzj{uh*jhjXhhhjXhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjYubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj_uh*h~hjYubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjXhhhjXhNubeh}(h ]jXah"]h$]h&]h(]j pyparsingjj_jParserElement.suppress_warninguh*jWhjXhKhjXhhubj)}(hhh](hQ)}(hISuppress warnings emitted for a particular diagnostic on this expression.h]hISuppress warnings emitted for a particular diagnostic on this expression.}(hj:Yhj8YhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjXhKhj5YhhubhQ)}(h Example::h]hExample:}(hExample:hjFYhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjXhKhj5Yhhubjk)}(hbase = pp.Forward() base.suppress_warning(Diagnostics.warn_on_parse_using_empty_Forward) # statement would normally raise a warning, but is now suppressed print(base.parseString("x"))h]hbase = pp.Forward() base.suppress_warning(Diagnostics.warn_on_parse_using_empty_Forward) # statement would normally raise a warning, but is now suppressed print(base.parseString("x"))}(hhhjUYubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjXhKhj5Yhhubeh}(h ]h"]h$]h&]h(]uh*jhjXhhhjXhNubeh}(h ]h"]pyah$]h&]h(]jy jlYjz methodj| jpYj} uh*jRhhhjhjXhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN2transformString() (pyparsing.ParserElement method)'pyparsing.ParserElement.transformStringhNtauh*h,hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.transform_stringhNubjS)}(hhh](jX)}(hKParserElement.transformString(instring: str, *, debug: bool = False) -> strh](j)}(htransformStringh]htransformString}(hhhjYhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjYhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.transform_stringhNubj)}(h%instring: str, *, debug: bool = Falseh](j)}(h instring: strh](j)}(hinstringh]hinstring}(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h:h]h:}(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjYubh }(hhhjYubj)}(hstrh]h)}(hhh]hstr}(hhhjYubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjYubah}(h ]h"]jah$]h&]h(]uh*jhjYubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjYubj)}(h*h]jZ)}(h*h]h*}(hhhjYubah}(h ]h"]jfah$]h&]h(]uh*jYhjYubah}(h ]h"]h$]h&]h(]jzj{uh*jhjYubj)}(hdebug: bool = Falseh](j)}(hdebugh]hdebug}(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h:h]h:}(hhhj Zubah}(h ]h"]jah$]h&]h(]uh*jhjYubh }(hhhjYubj)}(hboolh]h)}(hhh]hbool}(hhhj!Zubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hjZubah}(h ]h"]jah$]h&]h(]uh*jhjYubh }(hhhjYubjZ)}(h=h]h=}(hhhj>Zubah}(h ]h"]jfah$]h&]h(]uh*jYhjYubh }(hhhjYubjo)}(hFalseh]hFalse}(hhhjPZubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjYubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjYubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjYhhhjYhNubj-)}(hstrh]h)}(hhh]hstr}(hhhjoZubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjkZubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjYhhhjYhNubeh}(h ]j}Yah"]h$]h&]h(]j pyparsingjj_jParserElement.transformStringuh*jWhjYhKhjYhhubj)}(hhh](hQ)}(hXExtension to :class:`scan_string`, to modify matching text with modified tokens that may be returned from a parse action. To use ``transform_string``, define a grammar and attach a parse action to it that modifies the returned token list. Invoking ``transform_string()`` on a target string will then scan for matches, and replace the matched text patterns according to the logic in the parse action. ``transform_string()`` returns the resulting transformed string.h](h Extension to }(h Extension to hjZhhhNhNubh)}(h:class:`scan_string`h]hj)}(hjZh]h scan_string}(hhhjZubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjZubah}(h ]h"]h$]h&]h(]refdoch refdomainjZreftypeclass refexplicitrefwarnhjZhj_h scan_stringuh*h~hjYhKhjZubha, to modify matching text with modified tokens that may be returned from a parse action. To use }(ha, to modify matching text with modified tokens that may be returned from a parse action. To use hjZhhhNhNubhj)}(h``transform_string``h]htransform_string}(hhhjZubah}(h ]h"]h$]h&]h(]uh*hihjZubhc, define a grammar and attach a parse action to it that modifies the returned token list. Invoking }(hc, define a grammar and attach a parse action to it that modifies the returned token list. Invoking hjZhhhNhNubhj)}(h``transform_string()``h]htransform_string()}(hhhjZubah}(h ]h"]h$]h&]h(]uh*hihjZubh on a target string will then scan for matches, and replace the matched text patterns according to the logic in the parse action. }(h on a target string will then scan for matches, and replace the matched text patterns according to the logic in the parse action. hjZhhhNhNubhj)}(h``transform_string()``h]htransform_string()}(hhhjZubah}(h ]h"]h$]h&]h(]uh*hihjZubh* returns the resulting transformed string.}(h* returns the resulting transformed string.hjZhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjYhKhjZhhubhQ)}(h Example::h]hExample:}(hExample:hj[hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjYhKhjZhhubjk)}(hwd = Word(alphas) wd.set_parse_action(lambda toks: toks[0].title()) print(wd.transform_string("now is the winter of our discontent made glorious summer by this sun of york."))h]hwd = Word(alphas) wd.set_parse_action(lambda toks: toks[0].title()) print(wd.transform_string("now is the winter of our discontent made glorious summer by this sun of york."))}(hhhj[ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjYhK hjZhhubhQ)}(hprints::h]hprints:}(hprints:hj[hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjYhKhjZhhubjk)}(hMNow Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York.h]hMNow Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York.}(hhhj,[ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjYhKhjZhhubeh}(h ]h"]h$]h&]h(]uh*jhjYhhhjYhNubeh}(h ]h"]pyah$]h&]h(]jy jC[jz methodj| jG[j} uh*jRhhhjhjYhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN3transform_string() (pyparsing.ParserElement method)(pyparsing.ParserElement.transform_stringhNtauh*h,hjhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.transform_stringhNubjS)}(hhh](jX)}(hLParserElement.transform_string(instring: str, *, debug: bool = False) -> strh](j)}(htransform_stringh]htransform_string}(hhhj^[hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjZ[hhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.transform_stringhNubj)}(h%instring: str, *, debug: bool = Falseh](j)}(h instring: strh](j)}(hinstringh]hinstring}(hhhju[ubah}(h ]h"]jah$]h&]h(]uh*jhjq[ubj)}(h:h]h:}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhjq[ubh }(hhhjq[ubj)}(hstrh]h)}(hhh]hstr}(hhhj[ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hj[ubah}(h ]h"]jah$]h&]h(]uh*jhjq[ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjm[ubj)}(h*h]jZ)}(h*h]h*}(hhhj[ubah}(h ]h"]jfah$]h&]h(]uh*jYhj[ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjm[ubj)}(hdebug: bool = Falseh](j)}(hdebugh]hdebug}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h:h]h:}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh }(hhhj[ubj)}(hboolh]h)}(hhh]hbool}(hhhj[ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj_uh*h~hj[ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh }(hhhj[ubjZ)}(h=h]h=}(hhhj\ubah}(h ]h"]jfah$]h&]h(]uh*jYhj[ubh }(hhhj[ubjo)}(hFalseh]hFalse}(hhhj'\ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj[ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjm[ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjZ[hhhjl[hNubj-)}(hstrh]h)}(hhh]hstr}(hhhjF\ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj_uh*h~hjB\ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjZ[hhhjl[hNubeh}(h ]jT[ah"]h$]h&]h(]j pyparsingjj_jParserElement.transform_stringuh*jWhjl[hKhjW[hhubj)}(hhh](hQ)}(hXExtension to :class:`scan_string`, to modify matching text with modified tokens that may be returned from a parse action. To use ``transform_string``, define a grammar and attach a parse action to it that modifies the returned token list. Invoking ``transform_string()`` on a target string will then scan for matches, and replace the matched text patterns according to the logic in the parse action. ``transform_string()`` returns the resulting transformed string.h](h Extension to }(h Extension to hjj\hhhNhNubh)}(h:class:`scan_string`h]hj)}(hju\h]h scan_string}(hhhjw\ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjs\ubah}(h ]h"]h$]h&]h(]refdoch refdomainj\reftypeclass refexplicitrefwarnhje\hj_h scan_stringuh*h~hjV[hKhjj\ubha, to modify matching text with modified tokens that may be returned from a parse action. To use }(ha, to modify matching text with modified tokens that may be returned from a parse action. To use hjj\hhhNhNubhj)}(h``transform_string``h]htransform_string}(hhhj\ubah}(h ]h"]h$]h&]h(]uh*hihjj\ubhc, define a grammar and attach a parse action to it that modifies the returned token list. Invoking }(hc, define a grammar and attach a parse action to it that modifies the returned token list. Invoking hjj\hhhNhNubhj)}(h``transform_string()``h]htransform_string()}(hhhj\ubah}(h ]h"]h$]h&]h(]uh*hihjj\ubh on a target string will then scan for matches, and replace the matched text patterns according to the logic in the parse action. }(h on a target string will then scan for matches, and replace the matched text patterns according to the logic in the parse action. hjj\hhhNhNubhj)}(h``transform_string()``h]htransform_string()}(hhhj\ubah}(h ]h"]h$]h&]h(]uh*hihjj\ubh* returns the resulting transformed string.}(h* returns the resulting transformed string.hjj\hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjV[hKhjg\hhubhQ)}(h Example::h]hExample:}(hExample:hj\hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjV[hKhjg\hhubjk)}(hwd = Word(alphas) wd.set_parse_action(lambda toks: toks[0].title()) print(wd.transform_string("now is the winter of our discontent made glorious summer by this sun of york."))h]hwd = Word(alphas) wd.set_parse_action(lambda toks: toks[0].title()) print(wd.transform_string("now is the winter of our discontent made glorious summer by this sun of york."))}(hhhj\ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjV[hK hjg\hhubhQ)}(hprints::h]hprints:}(hprints:hj\hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjV[hKhjg\hhubjk)}(hMNow Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York.h]hMNow Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York.}(hhhj]ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjV[hKhjg\hhubeh}(h ]h"]h$]h&]h(]uh*jhjW[hhhjl[hNubeh}(h ]h"]pyah$]h&]h(]jy j]jz methodj| j]j} uh*jRhhhjhjV[hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+validate() (pyparsing.ParserElement method) pyparsing.ParserElement.validatehNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.validatehNubjS)}(hhh](jX)}(h2ParserElement.validate(validateTrace=None) -> Noneh](j)}(hvalidateh]hvalidate}(hhhj5]hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj1]hhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ParserElement.validatehNubj)}(hvalidateTrace=Noneh]j)}(hvalidateTrace=Noneh](j)}(h validateTraceh]h validateTrace}(hhhjL]ubah}(h ]h"]jah$]h&]h(]uh*jhjH]ubjZ)}(h=h]h=}(hhhjZ]ubah}(h ]h"]jfah$]h&]h(]uh*jYhjH]ubjo)}(hNoneh]hNone}(hhhjh]ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjH]ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjD]ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj1]hhhjC]hNubj-)}(hNoneh]h)}(hhh]hNone}(hhhj]ubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulejpy:classj_uh*h~hj]ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj1]hhhjC]hNubeh}(h ]j+]ah"]h$]h&]h(]j pyparsingjj_jParserElement.validateuh*jWhjC]hKhj.]hhubj)}(hhh]hQ)}(hXCheck defined expressions for valid structure, check for infinite recursive definitions.h]hXCheck defined expressions for valid structure, check for infinite recursive definitions.}(hj]hj]hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj-]hKhj]hhubah}(h ]h"]h$]h&]h(]uh*jhj.]hhhjC]hNubeh}(h ]h"]pyah$]h&]h(]jy j]jz methodj| j]j} uh*jRhhhjhj-]hNubeh}(h ]h"]h$]h&]h(]uh*jhj9hhhjNhNubeh}(h ]h"]pyah$]h&]h(]jy j]jz classj| j]j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN"PositionToken (class in pyparsing)pyparsing.PositionTokenhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hPositionToken()h](j^)}(hclass h]hclass }(hhhj]hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj]hhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.PositionTokenhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj]hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj]hhhj]hNubj)}(h PositionTokenh]h PositionToken}(hhhj^hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj]hhhj]hNubeh}(h ]j]ah"]h$]h&]h(]j pyparsingjhjj ^uh*jWhj]hKhj]hhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hj^hhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hj*^h]hpyparsing.core.Token}(hhhj,^ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj(^ubah}(h ]h"]h$]h&]h(]refdoch refdomainj6^reftypeclass refexplicitrefwarnhj^hj ^hpyparsing.core.Tokenuh*h~ha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.PositionTokenhKhj^ubeh}(h ]h"]h$]h&]h(]uh*hPhjH^hKhj^hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+__init__() (pyparsing.PositionToken method) pyparsing.PositionToken.__init__hNtauh*h,hj^hhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.PositionToken.__init__hNubjS)}(hhh](jX)}(hPositionToken.__init__()h](j)}(h__init__h]h__init__}(hhhje^hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hja^hhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.PositionToken.__init__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhja^hhhjs^hNubeh}(h ]j[^ah"]h$]h&]h(]j pyparsingjj ^jPositionToken.__init__uh*jWhjs^hKhj^^hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj^hj^hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj]^hKhj^hhubah}(h ]h"]h$]h&]h(]uh*jhj^^hhhjs^hNubeh}(h ]h"]pyah$]h&]h(]jy j^jz methodj| j^j} uh*jRhhhj^hj]^hNubeh}(h ]h"]h$]h&]h(]uh*jhj]hhhj]hNubeh}(h ]h"]pyah$]h&]h(]jy j^jz classj| j^j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNPrecededBy (class in pyparsing)pyparsing.PrecededByhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hYPrecededBy(expr: Union[pyparsing.core.ParserElement, str], retreat: Optional[int] = None)h](j^)}(hclass h]hclass }(hhhj^hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj^hhh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.PrecededByhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj^hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj^hhhj^hNubj)}(h PrecededByh]h PrecededBy}(hhhj^hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj^hhhj^hNubj)}(hMexpr: Union[pyparsing.core.ParserElement, str], retreat: Optional[int] = Noneh](j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhj^ubah}(h ]h"]jah$]h&]h(]uh*jhj^ubj)}(h:h]h:}(hhhj _ubah}(h ]h"]jah$]h&]h(]uh*jhj^ubh }(hhhj^ubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhj_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj_ubj)}(h[h]h[}(hhhj2_ubah}(h ]h"]jah$]h&]h(]uh*jhj_ubh)}(hhh]hpyparsing.core.ParserElement}(hhhj@_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj_ubj)}(h, h]h, }(hhhjS_ubah}(h ]h"]jah$]h&]h(]uh*jhj_ubh)}(hhh]hstr}(hhhja_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj_ubj)}(h]h]h]}(hhhjt_ubah}(h ]h"]jah$]h&]h(]uh*jhj_ubeh}(h ]h"]jah$]h&]h(]uh*jhj^ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^ubj)}(hretreat: Optional[int] = Noneh](j)}(hretreath]hretreat}(hhhj_ubah}(h ]h"]jah$]h&]h(]uh*jhj_ubj)}(h:h]h:}(hhhj_ubah}(h ]h"]jah$]h&]h(]uh*jhj_ubh }(hhhj_ubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhj_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj_ubj)}(h[h]h[}(hhhj_ubah}(h ]h"]jah$]h&]h(]uh*jhj_ubh)}(hhh]hint}(hhhj_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj_ubj)}(h]h]h]}(hhhj_ubah}(h ]h"]jah$]h&]h(]uh*jhj_ubeh}(h ]h"]jah$]h&]h(]uh*jhj_ubh }(hhhj_ubjZ)}(h=h]h=}(hhhj`ubah}(h ]h"]jfah$]h&]h(]uh*jYhj_ubh }(hhhj_ubjo)}(hNoneh]hNone}(hhhj`ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj_ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj^hhhj^hNubeh}(h ]j^ah"]h$]h&]h(]j pyparsingjhjj^uh*jWhj^hKhj^hhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hj9`hhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hjD`h]h"pyparsing.core.ParseElementEnhance}(hhhjF`ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjB`ubah}(h ]h"]h$]h&]h(]refdoch refdomainjP`reftypeclass refexplicitrefwarnhj5`hj^h"pyparsing.core.ParseElementEnhanceuh*h~h^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.PrecededByhKhj9`ubeh}(h ]h"]h$]h&]h(]uh*hPhjb`hKhj6`hhubhQ)}(hXXLookbehind matching of the given parse expression. ``PrecededBy`` does not advance the parsing position within the input string, it only verifies that the specified parse expression matches prior to the current position. ``PrecededBy`` always returns a null token list, but if a results name is defined on the given expression, it is returned.h](h3Lookbehind matching of the given parse expression. }(h3Lookbehind matching of the given parse expression. hji`hhhNhNubhj)}(h``PrecededBy``h]h PrecededBy}(hhhjr`ubah}(h ]h"]h$]h&]h(]uh*hihji`ubh does not advance the parsing position within the input string, it only verifies that the specified parse expression matches prior to the current position. }(h does not advance the parsing position within the input string, it only verifies that the specified parse expression matches prior to the current position. hji`hhhNhNubhj)}(h``PrecededBy``h]h PrecededBy}(hhhj`ubah}(h ]h"]h$]h&]h(]uh*hihji`ubhl always returns a null token list, but if a results name is defined on the given expression, it is returned.}(hl always returns a null token list, but if a results name is defined on the given expression, it is returned.hji`hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.PrecededByhKhj6`hhubhQ)}(h Parameters:h]h Parameters:}(hj`hj`hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj`hKhj6`hhubj)}(hhh](j)}(hEexpr - expression that must match prior to the current parse locationh]hQ)}(hEexpr - expression that must match prior to the current parse locationh]hEexpr - expression that must match prior to the current parse location}(hj`hj`ubah}(h ]h"]h$]h&]h(]uh*hPhj`hK hj`ubah}(h ]h"]h$]h&]h(]uh*jhj`hhhj`hNubj)}(huretreat - (default= ``None``) - (int) maximum number of characters to lookbehind prior to the current parse location h]hQ)}(htretreat - (default= ``None``) - (int) maximum number of characters to lookbehind prior to the current parse locationh](hretreat - (default= }(hretreat - (default= hj`ubhj)}(h``None``h]hNone}(hhhj`ubah}(h ]h"]h$]h&]h(]uh*hihj`ubhX) - (int) maximum number of characters to lookbehind prior to the current parse location}(hX) - (int) maximum number of characters to lookbehind prior to the current parse locationhj`ubeh}(h ]h"]h$]h&]h(]uh*hPhj`hK hj`ubah}(h ]h"]h$]h&]h(]uh*jhj`hhhj`hNubeh}(h ]h"]h$]h&]h(]jjuh*jhj`hK hj6`hhubhQ)}(hX^If the lookbehind expression is a string, :class:`Literal`, :class:`Keyword`, or a :class:`Word` or :class:`CharsNotIn` with a specified exact or maximum length, then the retreat parameter is not required. Otherwise, retreat must be specified to give a maximum number of characters to look back from the current parse position for a lookbehind match.h](h*If the lookbehind expression is a string, }(h*If the lookbehind expression is a string, hj`hhhNhNubh)}(h:class:`Literal`h]hj)}(hjah]hLiteral}(hhhjaubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjaubah}(h ]h"]h$]h&]h(]refdoch refdomainjareftypeclass refexplicitrefwarnhj5`hj^hLiteraluh*h~hj`hKhj`ubh, }(h, hj`hhhNhNubh)}(h:class:`Keyword`h]hj)}(hj*ah]hKeyword}(hhhj,aubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj(aubah}(h ]h"]h$]h&]h(]refdoch refdomainj6areftypeclass refexplicitrefwarnhj5`hj^hKeyworduh*h~hj`hKhj`ubh, or a }(h, or a hj`hhhNhNubh)}(h :class:`Word`h]hj)}(hjOah]hWord}(hhhjQaubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjMaubah}(h ]h"]h$]h&]h(]refdoch refdomainj[areftypeclass refexplicitrefwarnhj5`hj^hWorduh*h~hj`hKhj`ubh or }(h or hj`hhhNhNubh)}(h:class:`CharsNotIn`h]hj)}(hjtah]h CharsNotIn}(hhhjvaubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjraubah}(h ]h"]h$]h&]h(]refdoch refdomainjareftypeclass refexplicitrefwarnhj5`hj^h CharsNotInuh*h~hj`hKhj`ubh with a specified exact or maximum length, then the retreat parameter is not required. Otherwise, retreat must be specified to give a maximum number of characters to look back from the current parse position for a lookbehind match.}(h with a specified exact or maximum length, then the retreat parameter is not required. Otherwise, retreat must be specified to give a maximum number of characters to look back from the current parse position for a lookbehind match.hj`hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj`hKhj6`hhubhQ)}(h Example::h]hExample:}(hExample:hjahhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj`hKhj6`hhubjk)}(h# VB-style variable names with type prefixes int_var = PrecededBy("#") + pyparsing_common.identifier str_var = PrecededBy("$") + pyparsing_common.identifierh]h# VB-style variable names with type prefixes int_var = PrecededBy("#") + pyparsing_common.identifier str_var = PrecededBy("$") + pyparsing_common.identifier}(hhhjaubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj`hKhj6`hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(__init__() (pyparsing.PrecededBy method)pyparsing.PrecededBy.__init__hNtauh*h,hj6`hhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.PrecededBy.__init__hNubjS)}(hhh](jX)}(hbPrecededBy.__init__(expr: Union[pyparsing.core.ParserElement, str], retreat: Optional[int] = None)h](j)}(h__init__h]h__init__}(hhhjahhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjahhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.PrecededBy.__init__hNubj)}(hMexpr: Union[pyparsing.core.ParserElement, str], retreat: Optional[int] = Noneh](j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhjaubj)}(h:h]h:}(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhjaubh }(hhhjaubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhj bubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulej5`py:classj^uh*h~hjbubj)}(h[h]h[}(hhhjbubah}(h ]h"]jah$]h&]h(]uh*jhjbubh)}(hhh]hpyparsing.core.ParserElement}(hhhj,bubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulej5`py:classj^uh*h~hjbubj)}(h, h]h, }(hhhj?bubah}(h ]h"]jah$]h&]h(]uh*jhjbubh)}(hhh]hstr}(hhhjMbubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej5`py:classj^uh*h~hjbubj)}(h]h]h]}(hhhj`bubah}(h ]h"]jah$]h&]h(]uh*jhjbubeh}(h ]h"]jah$]h&]h(]uh*jhjaubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjaubj)}(hretreat: Optional[int] = Noneh](j)}(hretreath]hretreat}(hhhj~bubah}(h ]h"]jah$]h&]h(]uh*jhjzbubj)}(h:h]h:}(hhhjbubah}(h ]h"]jah$]h&]h(]uh*jhjzbubh }(hhhjzbubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhjbubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulej5`py:classj^uh*h~hjbubj)}(h[h]h[}(hhhjbubah}(h ]h"]jah$]h&]h(]uh*jhjbubh)}(hhh]hint}(hhhjbubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulej5`py:classj^uh*h~hjbubj)}(h]h]h]}(hhhjbubah}(h ]h"]jah$]h&]h(]uh*jhjbubeh}(h ]h"]jah$]h&]h(]uh*jhjzbubh }(hhhjzbubjZ)}(h=h]h=}(hhhjbubah}(h ]h"]jfah$]h&]h(]uh*jYhjzbubh }(hhhjzbubjo)}(hNoneh]hNone}(hhhjcubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjzbubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjaubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjahhhjahNubeh}(h ]jaah"]h$]h&]h(]j pyparsingjj^jPrecededBy.__init__uh*jWhjahKhjahhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj(chj&chhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjahKhj#chhubah}(h ]h"]h$]h&]h(]uh*jhjahhhjahNubeh}(h ]h"]pyah$]h&]h(]jy j=cjz methodj| jAcj} uh*jRhhhj6`hjahNubeh}(h ]h"]h$]h&]h(]uh*jhj^hhhj^hNubeh}(h ]h"]pyah$]h&]h(]jy jKcjz classj| jOcj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN!QuotedString (class in pyparsing)pyparsing.QuotedStringhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hXQuotedString(quote_char: str = '', esc_char: Optional[str] = None, esc_quote: Optional[str] = None, multiline: bool = False, unquote_results: bool = True, end_quote_char: Optional[str] = None, convert_whitespace_escapes: bool = True, *, quoteChar: str = '', escChar: Optional[str] = None, escQuote: Optional[str] = None, unquoteResults: bool = True, endQuoteChar: Optional[str] = None, convertWhitespaceEscapes: bool = True)h](j^)}(hclass h]hclass }(hhhjechhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjachhh`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.QuotedStringhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjtchhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjachhhjschNubj)}(h QuotedStringh]h QuotedString}(hhhjchhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjachhhjschNubj)}(hXquote_char: str = '', esc_char: Optional[str] = None, esc_quote: Optional[str] = None, multiline: bool = False, unquote_results: bool = True, end_quote_char: Optional[str] = None, convert_whitespace_escapes: bool = True, *, quoteChar: str = '', escChar: Optional[str] = None, escQuote: Optional[str] = None, unquoteResults: bool = True, endQuoteChar: Optional[str] = None, convertWhitespaceEscapes: bool = Trueh](j)}(hquote_char: str = ''h](j)}(h quote_charh]h quote_char}(hhhjcubah}(h ]h"]jah$]h&]h(]uh*jhjcubj)}(h:h]h:}(hhhjcubah}(h ]h"]jah$]h&]h(]uh*jhjcubh }(hhhjcubj)}(hstrh]h)}(hhh]hstr}(hhhjcubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjcubah}(h ]h"]jah$]h&]h(]uh*jhjcubh }(hhhjcubjZ)}(h=h]h=}(hhhjcubah}(h ]h"]jfah$]h&]h(]uh*jYhjcubh }(hhhjcubjo)}(h''h]h''}(hhhjcubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjcubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(hesc_char: Optional[str] = Noneh](j)}(hesc_charh]hesc_char}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjdubj)}(h:h]h:}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjdubh }(hhhjdubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj(dubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj$dubj)}(h[h]h[}(hhhj;dubah}(h ]h"]jah$]h&]h(]uh*jhj$dubh)}(hhh]hstr}(hhhjIdubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj$dubj)}(h]h]h]}(hhhj\dubah}(h ]h"]jah$]h&]h(]uh*jhj$dubeh}(h ]h"]jah$]h&]h(]uh*jhjdubh }(hhhjdubjZ)}(h=h]h=}(hhhjtdubah}(h ]h"]jfah$]h&]h(]uh*jYhjdubh }(hhhjdubjo)}(hNoneh]hNone}(hhhjdubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjdubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(hesc_quote: Optional[str] = Noneh](j)}(h esc_quoteh]h esc_quote}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjdubj)}(h:h]h:}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjdubh }(hhhjdubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjdubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjdubj)}(h[h]h[}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjdubh)}(hhh]hstr}(hhhjdubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjdubj)}(h]h]h]}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjdubeh}(h ]h"]jah$]h&]h(]uh*jhjdubh }(hhhjdubjZ)}(h=h]h=}(hhhjeubah}(h ]h"]jfah$]h&]h(]uh*jYhjdubh }(hhhjdubjo)}(hNoneh]hNone}(hhhj!eubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjdubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(hmultiline: bool = Falseh](j)}(h multilineh]h multiline}(hhhj:eubah}(h ]h"]jah$]h&]h(]uh*jhj6eubj)}(h:h]h:}(hhhjHeubah}(h ]h"]jah$]h&]h(]uh*jhj6eubh }(hhhj6eubj)}(hboolh]h)}(hhh]hbool}(hhhj^eubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjZeubah}(h ]h"]jah$]h&]h(]uh*jhj6eubh }(hhhj6eubjZ)}(h=h]h=}(hhhj{eubah}(h ]h"]jfah$]h&]h(]uh*jYhj6eubh }(hhhj6eubjo)}(hFalseh]hFalse}(hhhjeubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj6eubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(hunquote_results: bool = Trueh](j)}(hunquote_resultsh]hunquote_results}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjeubj)}(h:h]h:}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjeubh }(hhhjeubj)}(hboolh]h)}(hhh]hbool}(hhhjeubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjeubah}(h ]h"]jah$]h&]h(]uh*jhjeubh }(hhhjeubjZ)}(h=h]h=}(hhhjeubah}(h ]h"]jfah$]h&]h(]uh*jYhjeubh }(hhhjeubjo)}(hTrueh]hTrue}(hhhjeubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjeubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(h$end_quote_char: Optional[str] = Noneh](j)}(hend_quote_charh]hend_quote_char}(hhhjfubah}(h ]h"]jah$]h&]h(]uh*jhjfubj)}(h:h]h:}(hhhj fubah}(h ]h"]jah$]h&]h(]uh*jhjfubh }(hhhjfubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj6fubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj2fubj)}(h[h]h[}(hhhjIfubah}(h ]h"]jah$]h&]h(]uh*jhj2fubh)}(hhh]hstr}(hhhjWfubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj2fubj)}(h]h]h]}(hhhjjfubah}(h ]h"]jah$]h&]h(]uh*jhj2fubeh}(h ]h"]jah$]h&]h(]uh*jhjfubh }(hhhjfubjZ)}(h=h]h=}(hhhjfubah}(h ]h"]jfah$]h&]h(]uh*jYhjfubh }(hhhjfubjo)}(hNoneh]hNone}(hhhjfubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjfubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(h'convert_whitespace_escapes: bool = Trueh](j)}(hconvert_whitespace_escapesh]hconvert_whitespace_escapes}(hhhjfubah}(h ]h"]jah$]h&]h(]uh*jhjfubj)}(h:h]h:}(hhhjfubah}(h ]h"]jah$]h&]h(]uh*jhjfubh }(hhhjfubj)}(hboolh]h)}(hhh]hbool}(hhhjfubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjfubah}(h ]h"]jah$]h&]h(]uh*jhjfubh }(hhhjfubjZ)}(h=h]h=}(hhhjfubah}(h ]h"]jfah$]h&]h(]uh*jYhjfubh }(hhhjfubjo)}(hTrueh]hTrue}(hhhjgubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjfubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(h*h]jZ)}(h*h]h*}(hhhjgubah}(h ]h"]jfah$]h&]h(]uh*jYhjgubah}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(hquoteChar: str = ''h](j)}(h quoteCharh]h quoteChar}(hhhj1gubah}(h ]h"]jah$]h&]h(]uh*jhj-gubj)}(h:h]h:}(hhhj?gubah}(h ]h"]jah$]h&]h(]uh*jhj-gubh }(hhhj-gubj)}(hstrh]h)}(hhh]hstr}(hhhjUgubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjQgubah}(h ]h"]jah$]h&]h(]uh*jhj-gubh }(hhhj-gubjZ)}(h=h]h=}(hhhjrgubah}(h ]h"]jfah$]h&]h(]uh*jYhj-gubh }(hhhj-gubjo)}(h''h]h''}(hhhjgubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj-gubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(hescChar: Optional[str] = Noneh](j)}(hescCharh]hescChar}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjgubj)}(h:h]h:}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjgubh }(hhhjgubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjgubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjgubj)}(h[h]h[}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjgubh)}(hhh]hstr}(hhhjgubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjgubj)}(h]h]h]}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjgubeh}(h ]h"]jah$]h&]h(]uh*jhjgubh }(hhhjgubjZ)}(h=h]h=}(hhhj hubah}(h ]h"]jfah$]h&]h(]uh*jYhjgubh }(hhhjgubjo)}(hNoneh]hNone}(hhhjhubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjgubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(hescQuote: Optional[str] = Noneh](j)}(hescQuoteh]hescQuote}(hhhj8hubah}(h ]h"]jah$]h&]h(]uh*jhj4hubj)}(h:h]h:}(hhhjFhubah}(h ]h"]jah$]h&]h(]uh*jhj4hubh }(hhhj4hubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj\hubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjXhubj)}(h[h]h[}(hhhjohubah}(h ]h"]jah$]h&]h(]uh*jhjXhubh)}(hhh]hstr}(hhhj}hubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjXhubj)}(h]h]h]}(hhhjhubah}(h ]h"]jah$]h&]h(]uh*jhjXhubeh}(h ]h"]jah$]h&]h(]uh*jhj4hubh }(hhhj4hubjZ)}(h=h]h=}(hhhjhubah}(h ]h"]jfah$]h&]h(]uh*jYhj4hubh }(hhhj4hubjo)}(hNoneh]hNone}(hhhjhubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj4hubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(hunquoteResults: bool = Trueh](j)}(hunquoteResultsh]hunquoteResults}(hhhjhubah}(h ]h"]jah$]h&]h(]uh*jhjhubj)}(h:h]h:}(hhhjhubah}(h ]h"]jah$]h&]h(]uh*jhjhubh }(hhhjhubj)}(hboolh]h)}(hhh]hbool}(hhhjhubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjhubah}(h ]h"]jah$]h&]h(]uh*jhjhubh }(hhhjhubjZ)}(h=h]h=}(hhhjiubah}(h ]h"]jfah$]h&]h(]uh*jYhjhubh }(hhhjhubjo)}(hTrueh]hTrue}(hhhj&iubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjhubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(h"endQuoteChar: Optional[str] = Noneh](j)}(h endQuoteCharh]h endQuoteChar}(hhhj?iubah}(h ]h"]jah$]h&]h(]uh*jhj;iubj)}(h:h]h:}(hhhjMiubah}(h ]h"]jah$]h&]h(]uh*jhj;iubh }(hhhj;iubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjciubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj_iubj)}(h[h]h[}(hhhjviubah}(h ]h"]jah$]h&]h(]uh*jhj_iubh)}(hhh]hstr}(hhhjiubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj_iubj)}(h]h]h]}(hhhjiubah}(h ]h"]jah$]h&]h(]uh*jhj_iubeh}(h ]h"]jah$]h&]h(]uh*jhj;iubh }(hhhj;iubjZ)}(h=h]h=}(hhhjiubah}(h ]h"]jfah$]h&]h(]uh*jYhj;iubh }(hhhj;iubjo)}(hNoneh]hNone}(hhhjiubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj;iubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubj)}(h%convertWhitespaceEscapes: bool = Trueh](j)}(hconvertWhitespaceEscapesh]hconvertWhitespaceEscapes}(hhhjiubah}(h ]h"]jah$]h&]h(]uh*jhjiubj)}(h:h]h:}(hhhjiubah}(h ]h"]jah$]h&]h(]uh*jhjiubh }(hhhjiubj)}(hboolh]h)}(hhh]hbool}(hhhjiubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjiubah}(h ]h"]jah$]h&]h(]uh*jhjiubh }(hhhjiubjZ)}(h=h]h=}(hhhjjubah}(h ]h"]jfah$]h&]h(]uh*jYhjiubh }(hhhjiubjo)}(hTrueh]hTrue}(hhhj-jubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjiubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjcubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjachhhjschNubeh}(h ]j\cah"]h$]h&]h(]j pyparsingjhjjcuh*jWhjschKhj^chhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hjRjhhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hj]jh]hpyparsing.core.Token}(hhhj_jubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj[jubah}(h ]h"]h$]h&]h(]refdoch refdomainjijreftypeclass refexplicitrefwarnhjNjhjchpyparsing.core.Tokenuh*h~h`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.QuotedStringhKhjRjubeh}(h ]h"]h$]h&]h(]uh*hPhj{jhKhjOjhhubhQ)}(hDToken for matching strings that are delimited by quoting characters.h]hDToken for matching strings that are delimited by quoting characters.}(hjjhjjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.QuotedStringhKhjOjhhubhQ)}(h&Defined with the following parameters:h]h&Defined with the following parameters:}(hjjhjjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjjhKhjOjhhubj)}(hhh](j)}(hV``quote_char`` - string of one or more characters defining the quote delimiting stringh]hQ)}(hV``quote_char`` - string of one or more characters defining the quote delimiting stringh](hj)}(h``quote_char``h]h quote_char}(hhhjjubah}(h ]h"]h$]h&]h(]uh*hihjjubhH - string of one or more characters defining the quote delimiting string}(hH - string of one or more characters defining the quote delimiting stringhjjubeh}(h ]h"]h$]h&]h(]uh*hPhjjhKhjjubah}(h ]h"]h$]h&]h(]uh*jhjjhhhjjhNubj)}(hU``esc_char`` - character to re_escape quotes, typically backslash (default= ``None``)h]hQ)}(hU``esc_char`` - character to re_escape quotes, typically backslash (default= ``None``)h](hj)}(h ``esc_char``h]hesc_char}(hhhjjubah}(h ]h"]h$]h&]h(]uh*hihjjubh@ - character to re_escape quotes, typically backslash (default= }(h@ - character to re_escape quotes, typically backslash (default= hjjubhj)}(h``None``h]hNone}(hhhjjubah}(h ]h"]h$]h&]h(]uh*hihjjubh)}(hj_hjjubeh}(h ]h"]h$]h&]h(]uh*hPhjjhKhjjubah}(h ]h"]h$]h&]h(]uh*jhjjhhhjjhNubj)}(h``esc_quote`` - special quote sequence to re_escape an embedded quote string (such as SQL's ``""`` to re_escape an embedded ``"``) (default= ``None``)h]hQ)}(h``esc_quote`` - special quote sequence to re_escape an embedded quote string (such as SQL's ``""`` to re_escape an embedded ``"``) (default= ``None``)h](hj)}(h ``esc_quote``h]h esc_quote}(hhhj kubah}(h ]h"]h$]h&]h(]uh*hihjkubhQ - special quote sequence to re_escape an embedded quote string (such as SQL’s }(hO - special quote sequence to re_escape an embedded quote string (such as SQL's hjkubhj)}(h``""``h]h""}(hhhjkubah}(h ]h"]h$]h&]h(]uh*hihjkubh to re_escape an embedded }(h to re_escape an embedded hjkubhj)}(h``"``h]h"}(hhhj0kubah}(h ]h"]h$]h&]h(]uh*hihjkubh ) (default= }(h ) (default= hjkubhj)}(h``None``h]hNone}(hhhjCkubah}(h ]h"]h$]h&]h(]uh*hihjkubh)}(hj_hjkubeh}(h ]h"]h$]h&]h(]uh*hPhjjhK hjkubah}(h ]h"]h$]h&]h(]uh*jhjjhhhjjhNubj)}(h^``multiline`` - boolean indicating whether quotes can span multiple lines (default= ``False``)h]hQ)}(h^``multiline`` - boolean indicating whether quotes can span multiple lines (default= ``False``)h](hj)}(h ``multiline``h]h multiline}(hhhjikubah}(h ]h"]h$]h&]h(]uh*hihjekubhG - boolean indicating whether quotes can span multiple lines (default= }(hG - boolean indicating whether quotes can span multiple lines (default= hjekubhj)}(h ``False``h]hFalse}(hhhj|kubah}(h ]h"]h$]h&]h(]uh*hihjekubh)}(hj_hjekubeh}(h ]h"]h$]h&]h(]uh*hPhjjhK hjakubah}(h ]h"]h$]h&]h(]uh*jhjjhhhjjhNubj)}(hh``unquote_results`` - boolean indicating whether the matched text should be unquoted (default= ``True``)h]hQ)}(hh``unquote_results`` - boolean indicating whether the matched text should be unquoted (default= ``True``)h](hj)}(h``unquote_results``h]hunquote_results}(hhhjkubah}(h ]h"]h$]h&]h(]uh*hihjkubhL - boolean indicating whether the matched text should be unquoted (default= }(hL - boolean indicating whether the matched text should be unquoted (default= hjkubhj)}(h``True``h]hTrue}(hhhjkubah}(h ]h"]h$]h&]h(]uh*hihjkubh)}(hj_hjkubeh}(h ]h"]h$]h&]h(]uh*hPhjjhKhjkubah}(h ]h"]h$]h&]h(]uh*jhjjhhhjjhNubj)}(h``end_quote_char`` - string of one or more characters defining the end of the quote delimited string (default= ``None`` => same as quote_char)h]hQ)}(h``end_quote_char`` - string of one or more characters defining the end of the quote delimited string (default= ``None`` => same as quote_char)h](hj)}(h``end_quote_char``h]hend_quote_char}(hhhjkubah}(h ]h"]h$]h&]h(]uh*hihjkubh] - string of one or more characters defining the end of the quote delimited string (default= }(h] - string of one or more characters defining the end of the quote delimited string (default= hjkubhj)}(h``None``h]hNone}(hhhjkubah}(h ]h"]h$]h&]h(]uh*hihjkubh => same as quote_char)}(h => same as quote_char)hjkubeh}(h ]h"]h$]h&]h(]uh*hPhjjhKhjkubah}(h ]h"]h$]h&]h(]uh*jhjjhhhjjhNubj)}(h``convert_whitespace_escapes`` - convert escaped whitespace (``'\t'``, ``'\n'``, etc.) to actual whitespace (default= ``True``) h]hQ)}(h``convert_whitespace_escapes`` - convert escaped whitespace (``'\t'``, ``'\n'``, etc.) to actual whitespace (default= ``True``)h](hj)}(h``convert_whitespace_escapes``h]hconvert_whitespace_escapes}(hhhjlubah}(h ]h"]h$]h&]h(]uh*hihjlubh - convert escaped whitespace (}(h - convert escaped whitespace (hjlubhj)}(h``'\t'``h]h'\t'}(hhhj(lubah}(h ]h"]h$]h&]h(]uh*hihjlubh, }(h, hjlubhj)}(h``'\n'``h]h'\n'}(hhhj;lubah}(h ]h"]h$]h&]h(]uh*hihjlubh', etc.) to actual whitespace (default= }(h', etc.) to actual whitespace (default= hjlubhj)}(h``True``h]hTrue}(hhhjNlubah}(h ]h"]h$]h&]h(]uh*hihjlubh)}(hj_hjlubeh}(h ]h"]h$]h&]h(]uh*hPhjjhKhj lubah}(h ]h"]h$]h&]h(]uh*jhjjhhhjjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjjhKhjOjhhubhQ)}(h Example::h]hExample:}(hExample:hjrlhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjjhKhjOjhhubjk)}(hXPqs = QuotedString('"') print(qs.search_string('lsjdf "This is the quote" sldjf')) complex_qs = QuotedString('{{', end_quote_char='}}') print(complex_qs.search_string('lsjdf {{This is the "quote"}} sldjf')) sql_qs = QuotedString('"', esc_quote='""') print(sql_qs.search_string('lsjdf "This is the quote with ""embedded"" quotes" sldjf'))h]hXPqs = QuotedString('"') print(qs.search_string('lsjdf "This is the quote" sldjf')) complex_qs = QuotedString('{{', end_quote_char='}}') print(complex_qs.search_string('lsjdf {{This is the "quote"}} sldjf')) sql_qs = QuotedString('"', esc_quote='""') print(sql_qs.search_string('lsjdf "This is the quote with ""embedded"" quotes" sldjf'))}(hhhjlubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjjhKhjOjhhubhQ)}(hprints::h]hprints:}(hprints:hjlhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjjhK hjOjhhubjk)}(h`[['This is the quote']] [['This is the "quote"']] [['This is the quote with "embedded" quotes']]h]h`[['This is the quote']] [['This is the "quote"']] [['This is the quote with "embedded" quotes']]}(hhhjlubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjjhK"hjOjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN*__init__() (pyparsing.QuotedString method)pyparsing.QuotedString.__init__hNtauh*h,hjOjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.QuotedString.__init__hNubjS)}(hhh](jX)}(hXQuotedString.__init__(quote_char: str = '', esc_char: Optional[str] = None, esc_quote: Optional[str] = None, multiline: bool = False, unquote_results: bool = True, end_quote_char: Optional[str] = None, convert_whitespace_escapes: bool = True, *, quoteChar: str = '', escChar: Optional[str] = None, escQuote: Optional[str] = None, unquoteResults: bool = True, endQuoteChar: Optional[str] = None, convertWhitespaceEscapes: bool = True)h](j)}(h__init__h]h__init__}(hhhjlhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjlhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.QuotedString.__init__hNubj)}(hXquote_char: str = '', esc_char: Optional[str] = None, esc_quote: Optional[str] = None, multiline: bool = False, unquote_results: bool = True, end_quote_char: Optional[str] = None, convert_whitespace_escapes: bool = True, *, quoteChar: str = '', escChar: Optional[str] = None, escQuote: Optional[str] = None, unquoteResults: bool = True, endQuoteChar: Optional[str] = None, convertWhitespaceEscapes: bool = Trueh](j)}(hquote_char: str = ''h](j)}(h quote_charh]h quote_char}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjlubj)}(h:h]h:}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjlubh }(hhhjlubj)}(hstrh]h)}(hhh]hstr}(hhhjlubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejNjpy:classjcuh*h~hjlubah}(h ]h"]jah$]h&]h(]uh*jhjlubh }(hhhjlubjZ)}(h=h]h=}(hhhjmubah}(h ]h"]jfah$]h&]h(]uh*jYhjlubh }(hhhjlubjo)}(h''h]h''}(hhhj,mubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjlubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(hesc_char: Optional[str] = Noneh](j)}(hesc_charh]hesc_char}(hhhjEmubah}(h ]h"]jah$]h&]h(]uh*jhjAmubj)}(h:h]h:}(hhhjSmubah}(h ]h"]jah$]h&]h(]uh*jhjAmubh }(hhhjAmubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjimubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejNjpy:classjcuh*h~hjemubj)}(h[h]h[}(hhhj|mubah}(h ]h"]jah$]h&]h(]uh*jhjemubh)}(hhh]hstr}(hhhjmubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejNjpy:classjcuh*h~hjemubj)}(h]h]h]}(hhhjmubah}(h ]h"]jah$]h&]h(]uh*jhjemubeh}(h ]h"]jah$]h&]h(]uh*jhjAmubh }(hhhjAmubjZ)}(h=h]h=}(hhhjmubah}(h ]h"]jfah$]h&]h(]uh*jYhjAmubh }(hhhjAmubjo)}(hNoneh]hNone}(hhhjmubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjAmubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(hesc_quote: Optional[str] = Noneh](j)}(h esc_quoteh]h esc_quote}(hhhjmubah}(h ]h"]jah$]h&]h(]uh*jhjmubj)}(h:h]h:}(hhhjmubah}(h ]h"]jah$]h&]h(]uh*jhjmubh }(hhhjmubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjnubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejNjpy:classjcuh*h~hjnubj)}(h[h]h[}(hhhjnubah}(h ]h"]jah$]h&]h(]uh*jhjnubh)}(hhh]hstr}(hhhj%nubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejNjpy:classjcuh*h~hjnubj)}(h]h]h]}(hhhj8nubah}(h ]h"]jah$]h&]h(]uh*jhjnubeh}(h ]h"]jah$]h&]h(]uh*jhjmubh }(hhhjmubjZ)}(h=h]h=}(hhhjPnubah}(h ]h"]jfah$]h&]h(]uh*jYhjmubh }(hhhjmubjo)}(hNoneh]hNone}(hhhjbnubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjmubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(hmultiline: bool = Falseh](j)}(h multilineh]h multiline}(hhhj{nubah}(h ]h"]jah$]h&]h(]uh*jhjwnubj)}(h:h]h:}(hhhjnubah}(h ]h"]jah$]h&]h(]uh*jhjwnubh }(hhhjwnubj)}(hboolh]h)}(hhh]hbool}(hhhjnubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejNjpy:classjcuh*h~hjnubah}(h ]h"]jah$]h&]h(]uh*jhjwnubh }(hhhjwnubjZ)}(h=h]h=}(hhhjnubah}(h ]h"]jfah$]h&]h(]uh*jYhjwnubh }(hhhjwnubjo)}(hFalseh]hFalse}(hhhjnubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjwnubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(hunquote_results: bool = Trueh](j)}(hunquote_resultsh]hunquote_results}(hhhjnubah}(h ]h"]jah$]h&]h(]uh*jhjnubj)}(h:h]h:}(hhhjnubah}(h ]h"]jah$]h&]h(]uh*jhjnubh }(hhhjnubj)}(hboolh]h)}(hhh]hbool}(hhhj oubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejNjpy:classjcuh*h~hjoubah}(h ]h"]jah$]h&]h(]uh*jhjnubh }(hhhjnubjZ)}(h=h]h=}(hhhj(oubah}(h ]h"]jfah$]h&]h(]uh*jYhjnubh }(hhhjnubjo)}(hTrueh]hTrue}(hhhj:oubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjnubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(h$end_quote_char: Optional[str] = Noneh](j)}(hend_quote_charh]hend_quote_char}(hhhjSoubah}(h ]h"]jah$]h&]h(]uh*jhjOoubj)}(h:h]h:}(hhhjaoubah}(h ]h"]jah$]h&]h(]uh*jhjOoubh }(hhhjOoubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjwoubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejNjpy:classjcuh*h~hjsoubj)}(h[h]h[}(hhhjoubah}(h ]h"]jah$]h&]h(]uh*jhjsoubh)}(hhh]hstr}(hhhjoubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejNjpy:classjcuh*h~hjsoubj)}(h]h]h]}(hhhjoubah}(h ]h"]jah$]h&]h(]uh*jhjsoubeh}(h ]h"]jah$]h&]h(]uh*jhjOoubh }(hhhjOoubjZ)}(h=h]h=}(hhhjoubah}(h ]h"]jfah$]h&]h(]uh*jYhjOoubh }(hhhjOoubjo)}(hNoneh]hNone}(hhhjoubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjOoubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(h'convert_whitespace_escapes: bool = Trueh](j)}(hconvert_whitespace_escapesh]hconvert_whitespace_escapes}(hhhjoubah}(h ]h"]jah$]h&]h(]uh*jhjoubj)}(h:h]h:}(hhhjoubah}(h ]h"]jah$]h&]h(]uh*jhjoubh }(hhhjoubj)}(hboolh]h)}(hhh]hbool}(hhhjpubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejNjpy:classjcuh*h~hjpubah}(h ]h"]jah$]h&]h(]uh*jhjoubh }(hhhjoubjZ)}(h=h]h=}(hhhj/pubah}(h ]h"]jfah$]h&]h(]uh*jYhjoubh }(hhhjoubjo)}(hTrueh]hTrue}(hhhjApubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjoubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(h*h]jZ)}(h*h]h*}(hhhjZpubah}(h ]h"]jfah$]h&]h(]uh*jYhjVpubah}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(hquoteChar: str = ''h](j)}(h quoteCharh]h quoteChar}(hhhjrpubah}(h ]h"]jah$]h&]h(]uh*jhjnpubj)}(h:h]h:}(hhhjpubah}(h ]h"]jah$]h&]h(]uh*jhjnpubh }(hhhjnpubj)}(hstrh]h)}(hhh]hstr}(hhhjpubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejNjpy:classjcuh*h~hjpubah}(h ]h"]jah$]h&]h(]uh*jhjnpubh }(hhhjnpubjZ)}(h=h]h=}(hhhjpubah}(h ]h"]jfah$]h&]h(]uh*jYhjnpubh }(hhhjnpubjo)}(h''h]h''}(hhhjpubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjnpubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(hescChar: Optional[str] = Noneh](j)}(hescCharh]hescChar}(hhhjpubah}(h ]h"]jah$]h&]h(]uh*jhjpubj)}(h:h]h:}(hhhjpubah}(h ]h"]jah$]h&]h(]uh*jhjpubh }(hhhjpubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjqubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejNjpy:classjcuh*h~hjpubj)}(h[h]h[}(hhhjqubah}(h ]h"]jah$]h&]h(]uh*jhjpubh)}(hhh]hstr}(hhhj#qubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejNjpy:classjcuh*h~hjpubj)}(h]h]h]}(hhhj6qubah}(h ]h"]jah$]h&]h(]uh*jhjpubeh}(h ]h"]jah$]h&]h(]uh*jhjpubh }(hhhjpubjZ)}(h=h]h=}(hhhjNqubah}(h ]h"]jfah$]h&]h(]uh*jYhjpubh }(hhhjpubjo)}(hNoneh]hNone}(hhhj`qubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjpubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(hescQuote: Optional[str] = Noneh](j)}(hescQuoteh]hescQuote}(hhhjyqubah}(h ]h"]jah$]h&]h(]uh*jhjuqubj)}(h:h]h:}(hhhjqubah}(h ]h"]jah$]h&]h(]uh*jhjuqubh }(hhhjuqubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjqubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejNjpy:classjcuh*h~hjqubj)}(h[h]h[}(hhhjqubah}(h ]h"]jah$]h&]h(]uh*jhjqubh)}(hhh]hstr}(hhhjqubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejNjpy:classjcuh*h~hjqubj)}(h]h]h]}(hhhjqubah}(h ]h"]jah$]h&]h(]uh*jhjqubeh}(h ]h"]jah$]h&]h(]uh*jhjuqubh }(hhhjuqubjZ)}(h=h]h=}(hhhjqubah}(h ]h"]jfah$]h&]h(]uh*jYhjuqubh }(hhhjuqubjo)}(hNoneh]hNone}(hhhjqubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjuqubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(hunquoteResults: bool = Trueh](j)}(hunquoteResultsh]hunquoteResults}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhjrubj)}(h:h]h:}(hhhj"rubah}(h ]h"]jah$]h&]h(]uh*jhjrubh }(hhhjrubj)}(hboolh]h)}(hhh]hbool}(hhhj8rubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejNjpy:classjcuh*h~hj4rubah}(h ]h"]jah$]h&]h(]uh*jhjrubh }(hhhjrubjZ)}(h=h]h=}(hhhjUrubah}(h ]h"]jfah$]h&]h(]uh*jYhjrubh }(hhhjrubjo)}(hTrueh]hTrue}(hhhjgrubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjrubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(h"endQuoteChar: Optional[str] = Noneh](j)}(h endQuoteCharh]h endQuoteChar}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhj|rubj)}(h:h]h:}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhj|rubh }(hhhj|rubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjrubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejNjpy:classjcuh*h~hjrubj)}(h[h]h[}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhjrubh)}(hhh]hstr}(hhhjrubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejNjpy:classjcuh*h~hjrubj)}(h]h]h]}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhjrubeh}(h ]h"]jah$]h&]h(]uh*jhj|rubh }(hhhj|rubjZ)}(h=h]h=}(hhhjrubah}(h ]h"]jfah$]h&]h(]uh*jYhj|rubh }(hhhj|rubjo)}(hNoneh]hNone}(hhhjsubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj|rubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubj)}(h%convertWhitespaceEscapes: bool = Trueh](j)}(hconvertWhitespaceEscapesh]hconvertWhitespaceEscapes}(hhhjsubah}(h ]h"]jah$]h&]h(]uh*jhjsubj)}(h:h]h:}(hhhj)subah}(h ]h"]jah$]h&]h(]uh*jhjsubh }(hhhjsubj)}(hboolh]h)}(hhh]hbool}(hhhj?subah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejNjpy:classjcuh*h~hj;subah}(h ]h"]jah$]h&]h(]uh*jhjsubh }(hhhjsubjZ)}(h=h]h=}(hhhj\subah}(h ]h"]jfah$]h&]h(]uh*jYhjsubh }(hhhjsubjo)}(hTrueh]hTrue}(hhhjnsubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjsubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjlhhhjlhNubeh}(h ]jlah"]h$]h&]h(]j pyparsingjjcjQuotedString.__init__uh*jWhjlhKhjlhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjshjshhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjlhKhjshhubah}(h ]h"]h$]h&]h(]uh*jhjlhhhjlhNubeh}(h ]h"]pyah$]h&]h(]jy jsjz methodj| jsj} uh*jRhhhjOjhjlhNubeh}(h ]h"]h$]h&]h(]uh*jhj^chhhjschNubeh}(h ]h"]pyah$]h&]h(]jy jsjz classj| jsj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNRecursiveGrammarException#pyparsing.RecursiveGrammarExceptionhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h+RecursiveGrammarException(parseElementList)h](j^)}(h exception h]h exception }(hhhjshhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjshhhy/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.RecursiveGrammarExceptionhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjshhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjshhhjshNubj)}(hjsh]hRecursiveGrammarException}(hhhjshhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjshhhjshNubj)}(hparseElementListh]j)}(hparseElementListh]j)}(hparseElementListh]hparseElementList}(hhhjtubah}(h ]h"]jah$]h&]h(]uh*jhjtubah}(h ]h"]h$]h&]h(]jzj{uh*jhjsubah}(h ]h"]h$]h&]h(]jzj{uh*jhjshhhjshNubeh}(h ]jsah"]h$]h&]h(]j pyparsingjhjjsuh*jWhjshKhjshhubj)}(hhh](hQ)}(hBases: :class:`Exception`h](hBases: }(hBases: hj)thhhNhNubh)}(h:class:`Exception`h]hj)}(hj4th]h Exception}(hhhj6tubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj2tubah}(h ]h"]h$]h&]h(]refdoch refdomainj@treftypeclass refexplicitrefwarnhj%thjsh Exceptionuh*h~hy/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.RecursiveGrammarExceptionhKhj)tubeh}(h ]h"]h$]h&]h(]uh*hPhjRthKhj&thhubhQ)}(hException thrown by :class:`ParserElement.validate` if the grammar could be left-recursive; parser may need to enable left recursion using :class:`ParserElement.enable_left_recursion`h](hException thrown by }(hException thrown by hjYthhhNhNubh)}(h:class:`ParserElement.validate`h]hj)}(hjdth]hParserElement.validate}(hhhjftubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjbtubah}(h ]h"]h$]h&]h(]refdoch refdomainjptreftypeclass refexplicitrefwarnhj%thjshParserElement.validateuh*h~hy/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.RecursiveGrammarExceptionhKhjYtubhX if the grammar could be left-recursive; parser may need to enable left recursion using }(hX if the grammar could be left-recursive; parser may need to enable left recursion using hjYthhhNhNubh)}(hQ:class:`ParserElement.enable_left_recursion`h]hj)}(hjth]h#ParserElement.enable_left_recursion}(hhhjtubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjtubah}(h ]h"]h$]h&]h(]refdoch refdomainjtreftypeclass refexplicitrefwarnhj%thjsh#ParserElement.enable_left_recursionuh*h~hjthKhjYtubeh}(h ]h"]h$]h&]h(]uh*hPhjthKhj&thhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN7__init__() (pyparsing.RecursiveGrammarException method),pyparsing.RecursiveGrammarException.__init__hNtauh*h,hj&thhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.RecursiveGrammarException.__init__hNubjS)}(hhh](jX)}(h4RecursiveGrammarException.__init__(parseElementList)h](j)}(h__init__h]h__init__}(hhhjthhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjthhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.RecursiveGrammarException.__init__hNubj)}(hparseElementListh]j)}(hparseElementListh]j)}(hparseElementListh]hparseElementList}(hhhjtubah}(h ]h"]jah$]h&]h(]uh*jhjtubah}(h ]h"]h$]h&]h(]jzj{uh*jhjtubah}(h ]h"]h$]h&]h(]jzj{uh*jhjthhhjthNubeh}(h ]jtah"]h$]h&]h(]j pyparsingjjsj"RecursiveGrammarException.__init__uh*jWhjthKhjthhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjuhjuhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjthKhjthhubah}(h ]h"]h$]h&]h(]uh*jhjthhhjthNubeh}(h ]h"]pyah$]h&]h(]jy jujz methodj| juj} uh*jRhhhj&thjthNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN6__str__() (pyparsing.RecursiveGrammarException method)+pyparsing.RecursiveGrammarException.__str__hNtauh*h,hj&thhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.RecursiveGrammarException.__str__hNubjS)}(hhh](jX)}(h*RecursiveGrammarException.__str__() -> strh](j)}(h__str__h]h__str__}(hhhj2uhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj.uhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.exceptions.RecursiveGrammarException.__str__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj.uhhhj@uhNubj-)}(hstrh]h)}(hhh]hstr}(hhhjOuubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej%tpy:classjsuh*h~hjKuubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj.uhhhj@uhNubeh}(h ]j(uah"]h$]h&]h(]j pyparsingjjsj!RecursiveGrammarException.__str__uh*jWhj@uhKhj+uhhubj)}(hhh]hQ)}(hReturn str(self).h]hReturn str(self).}(hjuuhjsuhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj*uhKhjpuhhubah}(h ]h"]h$]h&]h(]uh*jhj+uhhhj@uhNubeh}(h ]h"]pyah$]h&]h(]jy jujz methodj| juj} uh*jRhhhj&thj*uhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN;__weakref__ (pyparsing.RecursiveGrammarException attribute)/pyparsing.RecursiveGrammarException.__weakref__hNtauh*h,hj&thhhz/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException.__weakref__hNubjS)}(hhh](jX)}(h%RecursiveGrammarException.__weakref__h]j)}(h __weakref__h]h __weakref__}(hhhjuhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjuhhhz/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException.__weakref__hNubah}(h ]juah"]h$]h&]h(]j pyparsingjjsj%RecursiveGrammarException.__weakref__uh*jWhjuhKhjuhhubj)}(hhh]hQ)}(h2list of weak references to the object (if defined)h]h2list of weak references to the object (if defined)}(hjuhjuhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjuhKhjuhhubah}(h ]h"]h$]h&]h(]uh*jhjuhhhjuhNubeh}(h ]h"]pyah$]h&]h(]jy jujz attributej| juj} uh*jRhhhj&thjuhNubeh}(h ]h"]h$]h&]h(]uh*jhjshhhjshNubeh}(h ]h"]pyah$]h&]h(]jy jujz exceptionj| juj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNRegex (class in pyparsing)pyparsing.RegexhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hRegex(pattern: Any, flags: Union[re.RegexFlag, int] = 0, as_group_list: bool = False, as_match: bool = False, *, asGroupList: bool = False, asMatch: bool = False)h](j^)}(hclass h]hclass }(hhhjuhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjuhhhY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.RegexhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj vhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjuhhhj vhNubj)}(hRegexh]hRegex}(hhhjvhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjuhhhj vhNubj)}(hpattern: Any, flags: Union[re.RegexFlag, int] = 0, as_group_list: bool = False, as_match: bool = False, *, asGroupList: bool = False, asMatch: bool = Falseh](j)}(h pattern: Anyh](j)}(hpatternh]hpattern}(hhhj1vubah}(h ]h"]jah$]h&]h(]uh*jhj-vubj)}(h:h]h:}(hhhj?vubah}(h ]h"]jah$]h&]h(]uh*jhj-vubh }(hhhj-vubj)}(hAnyh]h)}(hhh]hAny}(hhhjUvubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjQvubah}(h ]h"]jah$]h&]h(]uh*jhj-vubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj)vubj)}(h#flags: Union[re.RegexFlag, int] = 0h](j)}(hflagsh]hflags}(hhhjxvubah}(h ]h"]jah$]h&]h(]uh*jhjtvubj)}(h:h]h:}(hhhjvubah}(h ]h"]jah$]h&]h(]uh*jhjtvubh }(hhhjtvubj)}(hUnion[re.RegexFlag, int]h](h)}(hhh]hUnion}(hhhjvubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjvubj)}(h[h]h[}(hhhjvubah}(h ]h"]jah$]h&]h(]uh*jhjvubh)}(hhh]h re.RegexFlag}(hhhjvubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget re.RegexFlag py:modulehpy:classNuh*h~hjvubj)}(h, h]h, }(hhhjvubah}(h ]h"]jah$]h&]h(]uh*jhjvubh)}(hhh]hint}(hhhjvubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjvubj)}(h]h]h]}(hhhjvubah}(h ]h"]jah$]h&]h(]uh*jhjvubeh}(h ]h"]jah$]h&]h(]uh*jhjtvubh }(hhhjtvubjZ)}(h=h]h=}(hhhj wubah}(h ]h"]jfah$]h&]h(]uh*jYhjtvubh }(hhhjtvubjo)}(h0h]h0}(hhhjwubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjtvubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj)vubj)}(has_group_list: bool = Falseh](j)}(h as_group_listh]h as_group_list}(hhhj4wubah}(h ]h"]jah$]h&]h(]uh*jhj0wubj)}(h:h]h:}(hhhjBwubah}(h ]h"]jah$]h&]h(]uh*jhj0wubh }(hhhj0wubj)}(hboolh]h)}(hhh]hbool}(hhhjXwubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjTwubah}(h ]h"]jah$]h&]h(]uh*jhj0wubh }(hhhj0wubjZ)}(h=h]h=}(hhhjuwubah}(h ]h"]jfah$]h&]h(]uh*jYhj0wubh }(hhhj0wubjo)}(hFalseh]hFalse}(hhhjwubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj0wubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj)vubj)}(has_match: bool = Falseh](j)}(has_matchh]has_match}(hhhjwubah}(h ]h"]jah$]h&]h(]uh*jhjwubj)}(h:h]h:}(hhhjwubah}(h ]h"]jah$]h&]h(]uh*jhjwubh }(hhhjwubj)}(hboolh]h)}(hhh]hbool}(hhhjwubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjwubah}(h ]h"]jah$]h&]h(]uh*jhjwubh }(hhhjwubjZ)}(h=h]h=}(hhhjwubah}(h ]h"]jfah$]h&]h(]uh*jYhjwubh }(hhhjwubjo)}(hFalseh]hFalse}(hhhjwubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjwubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj)vubj)}(h*h]jZ)}(h*h]h*}(hhhj xubah}(h ]h"]jfah$]h&]h(]uh*jYhjxubah}(h ]h"]h$]h&]h(]jzj{uh*jhj)vubj)}(hasGroupList: bool = Falseh](j)}(h asGroupListh]h asGroupList}(hhhj$xubah}(h ]h"]jah$]h&]h(]uh*jhj xubj)}(h:h]h:}(hhhj2xubah}(h ]h"]jah$]h&]h(]uh*jhj xubh }(hhhj xubj)}(hboolh]h)}(hhh]hbool}(hhhjHxubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjDxubah}(h ]h"]jah$]h&]h(]uh*jhj xubh }(hhhj xubjZ)}(h=h]h=}(hhhjexubah}(h ]h"]jfah$]h&]h(]uh*jYhj xubh }(hhhj xubjo)}(hFalseh]hFalse}(hhhjwxubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj xubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj)vubj)}(hasMatch: bool = Falseh](j)}(hasMatchh]hasMatch}(hhhjxubah}(h ]h"]jah$]h&]h(]uh*jhjxubj)}(h:h]h:}(hhhjxubah}(h ]h"]jah$]h&]h(]uh*jhjxubh }(hhhjxubj)}(hboolh]h)}(hhh]hbool}(hhhjxubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjxubah}(h ]h"]jah$]h&]h(]uh*jhjxubh }(hhhjxubjZ)}(h=h]h=}(hhhjxubah}(h ]h"]jfah$]h&]h(]uh*jYhjxubh }(hhhjxubjo)}(hFalseh]hFalse}(hhhjxubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjxubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj)vubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjuhhhj vhNubeh}(h ]juah"]h$]h&]h(]j pyparsingjhjjvuh*jWhj vhKhjuhhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hjyhhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hjyh]hpyparsing.core.Token}(hhhjyubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjyubah}(h ]h"]h$]h&]h(]refdoch refdomainjyreftypeclass refexplicitrefwarnhjyhjvhpyparsing.core.Tokenuh*h~hY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.RegexhKhjyubeh}(h ]h"]h$]h&]h(]uh*hPhj1yhKhjyhhubhQ)}(hX`Token for matching strings that match a given regular expression. Defined with string specifying the regular expression in a form recognized by the stdlib Python `re module `_. If the given regex contains named groups (defined using ``(?P...)``), these will be preserved as named :class:`ParseResults`.h](hToken for matching strings that match a given regular expression. Defined with string specifying the regular expression in a form recognized by the stdlib Python }(hToken for matching strings that match a given regular expression. Defined with string specifying the regular expression in a form recognized by the stdlib Python hj8yhhhNhNubj)}(h8`re module `_h]h re module}(h re modulehjAyubah}(h ]h"]h$]h&]h(]name re modulej')https://docs.python.org/3/library/re.htmluh*jhj8yubj*)}(h, h]h}(h ] re-moduleah"]h$] re moduleah&]h(]refurijRyuh*j)j8Khj8yubh:. If the given regex contains named groups (defined using }(h:. If the given regex contains named groups (defined using hj8yhhhNhNubhj)}(h``(?P...)``h]h (?P...)}(hhhjeyubah}(h ]h"]h$]h&]h(]uh*hihj8yubh$), these will be preserved as named }(h$), these will be preserved as named hj8yhhhNhNubh)}(h:class:`ParseResults`h]hj)}(hjzyh]h ParseResults}(hhhj|yubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjxyubah}(h ]h"]h$]h&]h(]refdoch refdomainjyreftypeclass refexplicitrefwarnhjyhjvh ParseResultsuh*h~hY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.RegexhKhj8yubh.}(hjhj8yhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjyhKhjyhhubhQ)}(hIf instead of the Python stdlib ``re`` module you wish to use a different RE module (such as the ``regex`` module), you can do so by building your ``Regex`` object with a compiled RE that was compiled using ``regex``.h](h If instead of the Python stdlib }(h If instead of the Python stdlib hjyhhhNhNubhj)}(h``re``h]hre}(hhhjyubah}(h ]h"]h$]h&]h(]uh*hihjyubh; module you wish to use a different RE module (such as the }(h; module you wish to use a different RE module (such as the hjyhhhNhNubhj)}(h ``regex``h]hregex}(hhhjyubah}(h ]h"]h$]h&]h(]uh*hihjyubh) module), you can do so by building your }(h) module), you can do so by building your hjyhhhNhNubhj)}(h ``Regex``h]hRegex}(hhhjyubah}(h ]h"]h$]h&]h(]uh*hihjyubh3 object with a compiled RE that was compiled using }(h3 object with a compiled RE that was compiled using hjyhhhNhNubhj)}(h ``regex``h]hregex}(hhhjyubah}(h ]h"]h$]h&]h(]uh*hihjyubh.}(hjhjyhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjyhKhjyhhubhQ)}(h Example::h]hExample:}(hExample:hjyhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjyhK hjyhhubjk)}(hXrealnum = Regex(r"[+-]?\d+\.\d*") # ref: https://stackoverflow.com/questions/267399/how-do-you-match-only-valid-roman-numerals-with-a-regular-expression roman = Regex(r"M{0,4}(CM|CD|D?{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})") # named fields in a regex will be returned as named results date = Regex(r'(?P\d{4})-(?P\d\d?)-(?P\d\d?)') # the Regex class will accept re's compiled using the regex module import regex parser = pp.Regex(regex.compile(r'[0-9]'))h]hXrealnum = Regex(r"[+-]?\d+\.\d*") # ref: https://stackoverflow.com/questions/267399/how-do-you-match-only-valid-roman-numerals-with-a-regular-expression roman = Regex(r"M{0,4}(CM|CD|D?{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})") # named fields in a regex will be returned as named results date = Regex(r'(?P\d{4})-(?P\d\d?)-(?P\d\d?)') # the Regex class will accept re's compiled using the regex module import regex parser = pp.Regex(regex.compile(r'[0-9]'))}(hhhj zubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjyhK hjyhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#__init__() (pyparsing.Regex method)pyparsing.Regex.__init__hNtauh*h,hjyhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Regex.__init__hNubjS)}(hhh](jX)}(hRegex.__init__(pattern: Any, flags: Union[re.RegexFlag, int] = 0, as_group_list: bool = False, as_match: bool = False, *, asGroupList: bool = False, asMatch: bool = False)h](j)}(h__init__h]h__init__}(hhhj0zhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj,zhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Regex.__init__hNubj)}(hpattern: Any, flags: Union[re.RegexFlag, int] = 0, as_group_list: bool = False, as_match: bool = False, *, asGroupList: bool = False, asMatch: bool = Falseh](j)}(h pattern: Anyh](j)}(hpatternh]hpattern}(hhhjGzubah}(h ]h"]jah$]h&]h(]uh*jhjCzubj)}(h:h]h:}(hhhjUzubah}(h ]h"]jah$]h&]h(]uh*jhjCzubh }(hhhjCzubj)}(hAnyh]h)}(hhh]hAny}(hhhjkzubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulejypy:classjvuh*h~hjgzubah}(h ]h"]jah$]h&]h(]uh*jhjCzubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj?zubj)}(h#flags: Union[re.RegexFlag, int] = 0h](j)}(hflagsh]hflags}(hhhjzubah}(h ]h"]jah$]h&]h(]uh*jhjzubj)}(h:h]h:}(hhhjzubah}(h ]h"]jah$]h&]h(]uh*jhjzubh }(hhhjzubj)}(hUnion[re.RegexFlag, int]h](h)}(hhh]hUnion}(hhhjzubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejypy:classjvuh*h~hjzubj)}(h[h]h[}(hhhjzubah}(h ]h"]jah$]h&]h(]uh*jhjzubh)}(hhh]h re.RegexFlag}(hhhjzubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftarget re.RegexFlag py:modulejypy:classjvuh*h~hjzubj)}(h, h]h, }(hhhjzubah}(h ]h"]jah$]h&]h(]uh*jhjzubh)}(hhh]hint}(hhhjzubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejypy:classjvuh*h~hjzubj)}(h]h]h]}(hhhj{ubah}(h ]h"]jah$]h&]h(]uh*jhjzubeh}(h ]h"]jah$]h&]h(]uh*jhjzubh }(hhhjzubjZ)}(h=h]h=}(hhhj{ubah}(h ]h"]jfah$]h&]h(]uh*jYhjzubh }(hhhjzubjo)}(h0h]h0}(hhhj1{ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjzubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj?zubj)}(has_group_list: bool = Falseh](j)}(h as_group_listh]h as_group_list}(hhhjJ{ubah}(h ]h"]jah$]h&]h(]uh*jhjF{ubj)}(h:h]h:}(hhhjX{ubah}(h ]h"]jah$]h&]h(]uh*jhjF{ubh }(hhhjF{ubj)}(hboolh]h)}(hhh]hbool}(hhhjn{ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejypy:classjvuh*h~hjj{ubah}(h ]h"]jah$]h&]h(]uh*jhjF{ubh }(hhhjF{ubjZ)}(h=h]h=}(hhhj{ubah}(h ]h"]jfah$]h&]h(]uh*jYhjF{ubh }(hhhjF{ubjo)}(hFalseh]hFalse}(hhhj{ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjF{ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj?zubj)}(has_match: bool = Falseh](j)}(has_matchh]has_match}(hhhj{ubah}(h ]h"]jah$]h&]h(]uh*jhj{ubj)}(h:h]h:}(hhhj{ubah}(h ]h"]jah$]h&]h(]uh*jhj{ubh }(hhhj{ubj)}(hboolh]h)}(hhh]hbool}(hhhj{ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejypy:classjvuh*h~hj{ubah}(h ]h"]jah$]h&]h(]uh*jhj{ubh }(hhhj{ubjZ)}(h=h]h=}(hhhj{ubah}(h ]h"]jfah$]h&]h(]uh*jYhj{ubh }(hhhj{ubjo)}(hFalseh]hFalse}(hhhj |ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj{ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj?zubj)}(h*h]jZ)}(h*h]h*}(hhhj"|ubah}(h ]h"]jfah$]h&]h(]uh*jYhj|ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj?zubj)}(hasGroupList: bool = Falseh](j)}(h asGroupListh]h asGroupList}(hhhj:|ubah}(h ]h"]jah$]h&]h(]uh*jhj6|ubj)}(h:h]h:}(hhhjH|ubah}(h ]h"]jah$]h&]h(]uh*jhj6|ubh }(hhhj6|ubj)}(hboolh]h)}(hhh]hbool}(hhhj^|ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejypy:classjvuh*h~hjZ|ubah}(h ]h"]jah$]h&]h(]uh*jhj6|ubh }(hhhj6|ubjZ)}(h=h]h=}(hhhj{|ubah}(h ]h"]jfah$]h&]h(]uh*jYhj6|ubh }(hhhj6|ubjo)}(hFalseh]hFalse}(hhhj|ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj6|ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj?zubj)}(hasMatch: bool = Falseh](j)}(hasMatchh]hasMatch}(hhhj|ubah}(h ]h"]jah$]h&]h(]uh*jhj|ubj)}(h:h]h:}(hhhj|ubah}(h ]h"]jah$]h&]h(]uh*jhj|ubh }(hhhj|ubj)}(hboolh]h)}(hhh]hbool}(hhhj|ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejypy:classjvuh*h~hj|ubah}(h ]h"]jah$]h&]h(]uh*jhj|ubh }(hhhj|ubjZ)}(h=h]h=}(hhhj|ubah}(h ]h"]jfah$]h&]h(]uh*jYhj|ubh }(hhhj|ubjo)}(hFalseh]hFalse}(hhhj|ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj|ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj?zubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,zhhhj>zhNubeh}(h ]j&zah"]h$]h&]h(]j pyparsingjjvjRegex.__init__uh*jWhj>zhKhj)zhhubj)}(hhh]hQ)}(hThe parameters ``pattern`` and ``flags`` are passed to the ``re.compile()`` function as-is. See the Python `re module `_ module for an explanation of the acceptable patterns and flags.h](hThe parameters }(hThe parameters hj}hhhNhNubhj)}(h ``pattern``h]hpattern}(hhhj(}ubah}(h ]h"]h$]h&]h(]uh*hihj}ubh and }(h and hj}hhhNhNubhj)}(h ``flags``h]hflags}(hhhj;}ubah}(h ]h"]h$]h&]h(]uh*hihj}ubh are passed to the }(h are passed to the hj}hhhNhNubhj)}(h``re.compile()``h]h re.compile()}(hhhjN}ubah}(h ]h"]h$]h&]h(]uh*hihj}ubh function as-is. See the Python }(h function as-is. See the Python hj}hhhNhNubj)}(h8`re module `_h]h re module}(h re modulehja}ubah}(h ]h"]h$]h&]h(]name re modulej')https://docs.python.org/3/library/re.htmluh*jhj}ubj*)}(h, h]h}(h ]id9ah"]h$]h&] re moduleah(]refurijr}uh*j)j8Khj}ubh@ module for an explanation of the acceptable patterns and flags.}(h@ module for an explanation of the acceptable patterns and flags.hj}hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj(zhKhj}hhubah}(h ]h"]h$]h&]h(]uh*jhj)zhhhj>zhNubeh}(h ]h"]pyah$]h&]h(]jy j}jz methodj| j}j} uh*jRhhhjyhj(zhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNsub() (pyparsing.Regex method)pyparsing.Regex.subhNtauh*h,hjyhhh]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Regex.subhNubjS)}(hhh](jX)}(h4Regex.sub(repl: str) -> pyparsing.core.ParserElementh](j)}(hsubh]hsub}(hhhj}hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj}hhh]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Regex.subhNubj)}(h repl: strh]j)}(h repl: strh](j)}(hreplh]hrepl}(hhhj}ubah}(h ]h"]jah$]h&]h(]uh*jhj}ubj)}(h:h]h:}(hhhj}ubah}(h ]h"]jah$]h&]h(]uh*jhj}ubh }(hhhj}ubj)}(hstrh]h)}(hhh]hstr}(hhhj}ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejypy:classjvuh*h~hj}ubah}(h ]h"]jah$]h&]h(]uh*jhj}ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj}ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj}hhhj}hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj~ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejypy:classjvuh*h~hj~ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj}hhhj}hNubeh}(h ]j}ah"]h$]h&]h(]j pyparsingjjvj Regex.subuh*jWhj}hKhj}hhubj)}(hhh](hQ)}(hReturn :class:`Regex` with an attached parse action to transform the parsed result as if called using `re.sub(expr, repl, string) `_.h](hReturn }(hReturn hj7~hhhNhNubh)}(h:class:`Regex`h]hj)}(hjB~h]hRegex}(hhhjD~ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj@~ubah}(h ]h"]h$]h&]h(]refdoch refdomainjN~reftypeclass refexplicitrefwarnhj2~hjvhRegexuh*h~hj}hKhj7~ubhQ with an attached parse action to transform the parsed result as if called using }(hQ with an attached parse action to transform the parsed result as if called using hj7~hhhNhNubj)}(hP`re.sub(expr, repl, string) `_h]hre.sub(expr, repl, string)}(hre.sub(expr, repl, string)hje~ubah}(h ]h"]h$]h&]h(]namere.sub(expr, repl, string)j'0https://docs.python.org/3/library/re.html#re.subuh*jhj7~ubj*)}(h3 h]h}(h ]re-sub-expr-repl-stringah"]h$]re.sub(expr, repl, string)ah&]h(]refurijv~uh*j)j8Khj7~ubh.}(hjhj7~hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj}hKhj4~hhubhQ)}(h Example::h]hExample:}(hExample:hj~hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj}hKhj4~hhubjk)}(hmake_html = Regex(r"(\w+):(.*?):").sub(r"<\1>\2") print(make_html.transform_string("h1:main title:")) # prints "

main title

"h]hmake_html = Regex(r"(\w+):(.*?):").sub(r"<\1>\2") print(make_html.transform_string("h1:main title:")) # prints "

main title

"}(hhhj~ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj}hKhj4~hhubeh}(h ]h"]h$]h&]h(]uh*jhj}hhhj}hNubeh}(h ]h"]pyah$]h&]h(]jy j~jz methodj| j~j} uh*jRhhhjyhj}hNubeh}(h ]h"]h$]h&]h(]uh*jhjuhhhj vhNubeh}(h ]h"]pyah$]h&]h(]jy j~jz classj| j~j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNSkipTo (class in pyparsing)pyparsing.SkipTohNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hSkipTo(other: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: Optional[bool] = None, fail_on: Optional[Union[pyparsing.core.ParserElement, str]] = None, *, failOn: Optional[Union[pyparsing.core.ParserElement, str]] = None)h](j^)}(hclass h]hclass }(hhhj~hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj~hhhZ/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.SkipTohNubjo)}(h pyparsing.h]h pyparsing.}(hhhj~hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj~hhhj~hNubj)}(hSkipToh]hSkipTo}(hhhj~hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj~hhhj~hNubj)}(hother: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: Optional[bool] = None, fail_on: Optional[Union[pyparsing.core.ParserElement, str]] = None, *, failOn: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(h/other: Union[pyparsing.core.ParserElement, str]h](j)}(hotherh]hother}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhj3ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj/ubj)}(h[h]h[}(hhhjFubah}(h ]h"]jah$]h&]h(]uh*jhj/ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj/ubj)}(h, h]h, }(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhj/ubh)}(hhh]hstr}(hhhjuubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj/ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj/ubeh}(h ]h"]jah$]h&]h(]uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hinclude: bool = Falseh](j)}(hincludeh]hinclude}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hignore: Optional[bool] = Noneh](j)}(hignoreh]hignore}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hOptional[bool]h](h)}(hhh]hOptional}(hhhj6ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj2ubj)}(h[h]h[}(hhhjIubah}(h ]h"]jah$]h&]h(]uh*jhj2ubh)}(hhh]hbool}(hhhjWubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj2ubj)}(h]h]h]}(hhhjjubah}(h ]h"]jah$]h&]h(]uh*jhj2ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hBfail_on: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(hfail_onh]hfail_on}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhjрubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj̀ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj̀ubh)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj̀ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj̀ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj̀ubj)}(h, h]h, }(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhj̀ubh)}(hhh]hstr}(hhhj4ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj̀ubj)}(h]h]h]}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhj̀ubj)}(h]h]h]}(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhj̀ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjmubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hAfailOn: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(hfailOnh]hfailOn}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhjԁubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjЁubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjЁubh)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjЁubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjЁubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjЁubj)}(h, h]h, }(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhjЁubh)}(hhh]hstr}(hhhj7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjЁubj)}(h]h]h]}(hhhjJubah}(h ]h"]jah$]h&]h(]uh*jhjЁubj)}(h]h]h]}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjЁubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjpubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj~hhhj~hNubeh}(h ]j~ah"]h$]h&]h(]j pyparsingjhjj~uh*jWhj~hKhj~hhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hjhhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hjh]h"pyparsing.core.ParseElementEnhance}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj~h"pyparsing.core.ParseElementEnhanceuh*h~hZ/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.SkipTohKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjЂhKhjhhubhQ)}(hQToken for skipping over all undefined text until the matched expression is found.h]hQToken for skipping over all undefined text until the matched expression is found.}(hjقhjׂhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhZ/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.SkipTohKhjhhubhQ)}(hParameters: - ``expr`` - target expression marking the end of the data to be skipped - ``include`` - if ``True``, the target expression is also parsedh](hParameters: - }(hParameters: - hjhhhNhNubhj)}(h``expr``h]hexpr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhA - target expression marking the end of the data to be skipped - }(hA - target expression marking the end of the data to be skipped - hjhhhNhNubhj)}(h ``include``h]hinclude}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - if }(h - if hjhhhNhNubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh&, the target expression is also parsed}(h&, the target expression is also parsedhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj)}(hhh]hQ)}(h_(the skipped text and target expression are returned as a 2-element list) (default= ``False``).h](hT(the skipped text and target expression are returned as a 2-element list) (default= }(hT(the skipped text and target expression are returned as a 2-element list) (default= hj1ubhj)}(h ``False``h]hFalse}(hhhj:ubah}(h ]h"]h$]h&]h(]uh*hihj1ubh).}(h).hj1ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj.ubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hhh](j)}(h``ignore`` - (default= ``None``) used to define grammars (typically quoted strings and comments) that might contain false matches to the target expressionh]hQ)}(h``ignore`` - (default= ``None``) used to define grammars (typically quoted strings and comments) that might contain false matches to the target expressionh](hj)}(h ``ignore``h]hignore}(hhhjdubah}(h ]h"]h$]h&]h(]uh*hihj`ubh - (default= }(h - (default= hj`ubhj)}(h``None``h]hNone}(hhhjwubah}(h ]h"]h$]h&]h(]uh*hihj`ubh{) used to define grammars (typically quoted strings and comments) that might contain false matches to the target expression}(h{) used to define grammars (typically quoted strings and comments) that might contain false matches to the target expressionhj`ubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hj\ubah}(h ]h"]h$]h&]h(]uh*jhjYhhhjhNubj)}(h``fail_on`` - (default= ``None``) define expressions that are not allowed to be included in the skipped test; if found before the target expression is found, the :class:`SkipTo` is not a match h]hQ)}(h``fail_on`` - (default= ``None``) define expressions that are not allowed to be included in the skipped test; if found before the target expression is found, the :class:`SkipTo` is not a matchh](hj)}(h ``fail_on``h]hfail_on}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - (default= }(h - (default= hjubhj)}(h``None``h]hNone}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh) define expressions that are not allowed to be included in the skipped test; if found before the target expression is found, the }(h) define expressions that are not allowed to be included in the skipped test; if found before the target expression is found, the hjubh)}(h:class:`SkipTo`h]hj)}(hjƃh]hSkipTo}(hhhjȃubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjăubah}(h ]h"]h$]h&]h(]refdoch refdomainj҃reftypeclass refexplicitrefwarnhjhj~hSkipTouh*h~hjhK hjubh is not a match}(h is not a matchhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhjYhhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhK hjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hX'report = ''' Outstanding Issues Report - 1 Jan 2000 # | Severity | Description | Days Open -----+----------+-------------------------------------------+----------- 101 | Critical | Intermittent system crash | 6 94 | Cosmetic | Spelling error on Login ('log|n') | 14 79 | Minor | System slow when running too many reports | 47 ''' integer = Word(nums) SEP = Suppress('|') # use SkipTo to simply match everything up until the next SEP # - ignore quoted strings, so that a '|' character inside a quoted string does not match # - parse action will call token.strip() for each matched token, i.e., the description body string_data = SkipTo(SEP, ignore=quoted_string) string_data.set_parse_action(token_map(str.strip)) ticket_expr = (integer("issue_num") + SEP + string_data("sev") + SEP + string_data("desc") + SEP + integer("days_open")) for tkt in ticket_expr.search_string(report): print tkt.dump()h]hX'report = ''' Outstanding Issues Report - 1 Jan 2000 # | Severity | Description | Days Open -----+----------+-------------------------------------------+----------- 101 | Critical | Intermittent system crash | 6 94 | Cosmetic | Spelling error on Login ('log|n') | 14 79 | Minor | System slow when running too many reports | 47 ''' integer = Word(nums) SEP = Suppress('|') # use SkipTo to simply match everything up until the next SEP # - ignore quoted strings, so that a '|' character inside a quoted string does not match # - parse action will call token.strip() for each matched token, i.e., the description body string_data = SkipTo(SEP, ignore=quoted_string) string_data.set_parse_action(token_map(str.strip)) ticket_expr = (integer("issue_num") + SEP + string_data("sev") + SEP + string_data("desc") + SEP + integer("days_open")) for tkt in ticket_expr.search_string(report): print tkt.dump()}(hhhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK)hjhhubjk)}(hX['101', 'Critical', 'Intermittent system crash', '6'] - days_open: '6' - desc: 'Intermittent system crash' - issue_num: '101' - sev: 'Critical' ['94', 'Cosmetic', "Spelling error on Login ('log|n')", '14'] - days_open: '14' - desc: "Spelling error on Login ('log|n')" - issue_num: '94' - sev: 'Cosmetic' ['79', 'Minor', 'System slow when running too many reports', '47'] - days_open: '47' - desc: 'System slow when running too many reports' - issue_num: '79' - sev: 'Minor'h]hX['101', 'Critical', 'Intermittent system crash', '6'] - days_open: '6' - desc: 'Intermittent system crash' - issue_num: '101' - sev: 'Critical' ['94', 'Cosmetic', "Spelling error on Login ('log|n')", '14'] - days_open: '14' - desc: "Spelling error on Login ('log|n')" - issue_num: '94' - sev: 'Cosmetic' ['79', 'Minor', 'System slow when running too many reports', '47'] - days_open: '47' - desc: 'System slow when running too many reports' - issue_num: '79' - sev: 'Minor'}(hhhj'ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK+hjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN$__init__() (pyparsing.SkipTo method)pyparsing.SkipTo.__init__hNtauh*h,hjhhhc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.SkipTo.__init__hNubjS)}(hhh](jX)}(hXSkipTo.__init__(other: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: Optional[bool] = None, fail_on: Optional[Union[pyparsing.core.ParserElement, str]] = None, *, failOn: Optional[Union[pyparsing.core.ParserElement, str]] = None)h](j)}(h__init__h]h__init__}(hhhjKhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjGhhhc/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.SkipTo.__init__hNubj)}(hother: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: Optional[bool] = None, fail_on: Optional[Union[pyparsing.core.ParserElement, str]] = None, *, failOn: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(h/other: Union[pyparsing.core.ParserElement, str]h](j)}(hotherh]hother}(hhhjbubah}(h ]h"]jah$]h&]h(]uh*jhj^ubj)}(h:h]h:}(hhhjpubah}(h ]h"]jah$]h&]h(]uh*jhj^ubh }(hhhj^ubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj~uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj~uh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjȄubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj~uh*h~hjubj)}(h]h]h]}(hhhjۄubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhj^ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjZubj)}(hinclude: bool = Falseh](j)}(hincludeh]hinclude}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj~uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj:ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjLubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjZubj)}(hignore: Optional[bool] = Noneh](j)}(hignoreh]hignore}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjaubj)}(h:h]h:}(hhhjsubah}(h ]h"]jah$]h&]h(]uh*jhjaubh }(hhhjaubj)}(hOptional[bool]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj~uh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classj~uh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjaubh }(hhhjaubjZ)}(h=h]h=}(hhhjՅubah}(h ]h"]jfah$]h&]h(]uh*jYhjaubh }(hhhjaubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjaubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjZubj)}(hBfail_on: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(hfail_onh]hfail_on}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhj$ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj~uh*h~hj ubj)}(h[h]h[}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh)}(hhh]hUnion}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj~uh*h~hj ubj)}(h[h]h[}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhj ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjfubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj~uh*h~hj ubj)}(h, h]h, }(hhhjyubah}(h ]h"]jah$]h&]h(]uh*jhj ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj~uh*h~hj ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhj҆ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjZubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjZubj)}(hAfailOn: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(hfailOnh]hfailOn}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhj'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classj~uh*h~hj#ubj)}(h[h]h[}(hhhj:ubah}(h ]h"]jah$]h&]h(]uh*jhj#ubh)}(hhh]hUnion}(hhhjHubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classj~uh*h~hj#ubj)}(h[h]h[}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhj#ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjiubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classj~uh*h~hj#ubj)}(h, h]h, }(hhhj|ubah}(h ]h"]jah$]h&]h(]uh*jhj#ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classj~uh*h~hj#ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj#ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj#ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjÇubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjՇubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjZubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjGhhhjYhNubeh}(h ]jAah"]h$]h&]h(]j pyparsingjj~jSkipTo.__init__uh*jWhjYhKhjDhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjChKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjDhhhjYhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjhjChNubeh}(h ]h"]h$]h&]h(]uh*jhj~hhhj~hNubeh}(h ]h"]pyah$]h&]h(]jy j jz classj| j$j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNStringEnd (class in pyparsing)pyparsing.StringEndhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h StringEnd()h](j^)}(hclass h]hclass }(hhhj:hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj6hhh]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.StringEndhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjIhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj6hhhjHhNubj)}(h StringEndh]h StringEnd}(hhhjWhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj6hhhjHhNubeh}(h ]j1ah"]h$]h&]h(]j pyparsingjhjjYuh*jWhjHhKhj3hhubj)}(hhh](hQ)}(h,Bases: :class:`pyparsing.core.PositionToken`h](hBases: }(hBases: hjohhhNhNubh)}(h%:class:`pyparsing.core.PositionToken`h]hj)}(hjzh]hpyparsing.core.PositionToken}(hhhj|ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjxubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjkhjYhpyparsing.core.PositionTokenuh*h~h]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.StringEndhKhjoubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjlhhubhQ)}(h=Matches if current position is at the end of the parse stringh]h=Matches if current position is at the end of the parse string}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.StringEndhKhjlhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN'__init__() (pyparsing.StringEnd method)pyparsing.StringEnd.__init__hNtauh*h,hjlhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.StringEnd.__init__hNubjS)}(hhh](jX)}(hStringEnd.__init__()h](j)}(h__init__h]h__init__}(hhhjĈhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.StringEnd.__init__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj҈hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjYjStringEnd.__init__uh*jWhj҈hKhjhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhj҈hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjlhjhNubeh}(h ]h"]h$]h&]h(]uh*jhj3hhhjHhNubeh}(h ]h"]pyah$]h&]h(]jy j jz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN StringStart (class in pyparsing)pyparsing.StringStarthNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h StringStart()h](j^)}(hclass h]hclass }(hhhj'hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj#hhh_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.StringStarthNubjo)}(h pyparsing.h]h pyparsing.}(hhhj6hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj#hhhj5hNubj)}(h StringStarth]h StringStart}(hhhjDhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj#hhhj5hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjFuh*jWhj5hKhj hhubj)}(hhh](hQ)}(h,Bases: :class:`pyparsing.core.PositionToken`h](hBases: }(hBases: hj\hhhNhNubh)}(h%:class:`pyparsing.core.PositionToken`h]hj)}(hjgh]hpyparsing.core.PositionToken}(hhhjiubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjeubah}(h ]h"]h$]h&]h(]refdoch refdomainjsreftypeclass refexplicitrefwarnhjXhjFhpyparsing.core.PositionTokenuh*h~h_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.StringStarthKhj\ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjYhhubhQ)}(hCMatches if current position is at the beginning of the parse stringh]hCMatches if current position is at the beginning of the parse string}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.StringStarthKhjYhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)__init__() (pyparsing.StringStart method)pyparsing.StringStart.__init__hNtauh*h,hjYhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.StringStart.__init__hNubjS)}(hhh](jX)}(hStringStart.__init__()h](j)}(h__init__h]h__init__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.StringStart.__init__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjFjStringStart.__init__uh*jWhjhKhjhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj׉hjՉhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj҉hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjYhjhNubeh}(h ]h"]h$]h&]h(]uh*jhj hhhj5hNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNSuppress (class in pyparsing)pyparsing.SuppresshNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hPSuppress(expr: Union[pyparsing.core.ParserElement, str], savelist: bool = False)h](j^)}(hclass h]hclass }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhh\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.SuppresshNubjo)}(h pyparsing.h]h pyparsing.}(hhhj#hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhj"hNubj)}(hSuppressh]hSuppress}(hhhj1hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj"hNubj)}(hFexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = Falseh](j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhjCubj)}(h:h]h:}(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjCubh }(hhhjCubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhjkubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjgubj)}(h[h]h[}(hhhj~ubah}(h ]h"]jah$]h&]h(]uh*jhjgubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjgubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjgubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjgubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjgubeh}(h ]h"]jah$]h&]h(]uh*jhjCubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj?ubj)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhjފubah}(h ]h"]jah$]h&]h(]uh*jhjڊubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjڊubh }(hhhjڊubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjڊubh }(hhhjڊubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjڊubh }(hhhjڊubjo)}(hFalseh]hFalse}(hhhj1ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjڊubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj?ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj"hNubeh}(h ]j ah"]h$]h&]h(]j pyparsingjhjj3uh*jWhj"hKhj hhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.core.TokenConverter`h](hBases: }(hBases: hjVhhhNhNubh)}(h&:class:`pyparsing.core.TokenConverter`h]hj)}(hjah]hpyparsing.core.TokenConverter}(hhhjcubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj_ubah}(h ]h"]h$]h&]h(]refdoch refdomainjmreftypeclass refexplicitrefwarnhjRhj3hpyparsing.core.TokenConverteruh*h~h\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.SuppresshKhjVubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjShhubhQ)}(h:Converter for ignoring the results of a parsed expression.h]h:Converter for ignoring the results of a parsed expression.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.SuppresshKhjShhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjShhubjk)}(hXQsource = "a, b, c,d" wd = Word(alphas) wd_list1 = wd + (',' + wd)[...] print(wd_list1.parse_string(source)) # often, delimiters that are useful during parsing are just in the # way afterward - use Suppress to keep them out of the parsed output wd_list2 = wd + (Suppress(',') + wd)[...] print(wd_list2.parse_string(source)) # Skipped text (using '...') can be suppressed as well source = "lead in START relevant text END trailing text" start_marker = Keyword("START") end_marker = Keyword("END") find_body = Suppress(...) + start_marker + ... + end_marker print(find_body.parse_string(source)h]hXQsource = "a, b, c,d" wd = Word(alphas) wd_list1 = wd + (',' + wd)[...] print(wd_list1.parse_string(source)) # often, delimiters that are useful during parsing are just in the # way afterward - use Suppress to keep them out of the parsed output wd_list2 = wd + (Suppress(',') + wd)[...] print(wd_list2.parse_string(source)) # Skipped text (using '...') can be suppressed as well source = "lead in START relevant text END trailing text" start_marker = Keyword("START") end_marker = Keyword("END") find_body = Suppress(...) + start_marker + ... + end_marker print(find_body.parse_string(source)}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjShhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjShhubjk)}(h[['a', ',', 'b', ',', 'c', ',', 'd'] ['a', 'b', 'c', 'd'] ['START', 'relevant text ', 'END']h]h[['a', ',', 'b', ',', 'c', ',', 'd'] ['a', 'b', 'c', 'd'] ['START', 'relevant text ', 'END']}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjShhubhQ)}(h#(See also :class:`delimited_list`.)h](h (See also }(h (See also hjϋhhhNhNubh)}(h:class:`delimited_list`h]hj)}(hjڋh]hdelimited_list}(hhhj܋ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj؋ubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjRhj3hdelimited_listuh*h~hjhKhjϋubh.)}(h.)hjϋhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjShhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%__add__() (pyparsing.Suppress method)pyparsing.Suppress.__add__hNtauh*h,hjShhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Suppress.__add__hNubjS)}(hhh](jX)}(h7Suppress.__add__(other) -> pyparsing.core.ParserElementh](j)}(h__add__h]h__add__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Suppress.__add__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhj0ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj(ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj'hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjNubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejRpy:classj3uh*h~hjJubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj'hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj3jSuppress.__add__uh*jWhj'hKhjhhubj)}(hhh](hQ)}(hImplementation of ``+`` operator - returns :class:`And`. Adding strings to a :class:`ParserElement` converts them to :class:`Literal`s by default.h](hImplementation of }(hImplementation of hjrhhhNhNubhj)}(h``+``h]h+}(hhhj{ubah}(h ]h"]h$]h&]h(]uh*hihjrubh operator - returns }(h operator - returns hjrhhhNhNubh)}(h :class:`And`h]hj)}(hjh]hAnd}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjmhj3hAnduh*h~hjhKhjrubh. Adding strings to a }(h. Adding strings to a hjrhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjh]h ParserElement}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjmhj3h ParserElementuh*h~hjhKhjrubh converts them to :class:}(h converts them to :class:hjrhhhNhNubjϷ)}(hjҷh]h`}(hhhj،ubah}(h ]id11ah"]h$]h&]h(]refidid10uh*jηhjrubhLiteral`s by default.}(hLiteral`s by default.hjrhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjohhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjohhubjk)}(hugreet = Word(alphas) + "," + Word(alphas) + "!" hello = "Hello, World!" print(hello, "->", greet.parse_string(hello))h]hugreet = Word(alphas) + "," + Word(alphas) + "!" hello = "Hello, World!" print(hello, "->", greet.parse_string(hello))}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjohhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjohhubjk)}(h-Hello, World! -> ['Hello', ',', 'World', '!']h]h-Hello, World! -> ['Hello', ',', 'World', '!']}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK hjohhubhQ)}(hM``...`` may be used as a parse expression as a short form of :class:`SkipTo`.h](hj)}(h``...``h]h...}(hhhj1ubah}(h ]h"]h$]h&]h(]uh*hihj-ubh6 may be used as a parse expression as a short form of }(h6 may be used as a parse expression as a short form of hj-hhhNhNubh)}(h:class:`SkipTo`h]hj)}(hjFh]hSkipTo}(hhhjHubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjDubah}(h ]h"]h$]h&]h(]refdoch refdomainjRreftypeclass refexplicitrefwarnhjmhj3hSkipTouh*h~hjhKhj-ubh.}(hjhj-hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjohhubj)}(hhh]hQ)}(h'Literal('start') + ... + Literal('end')h]h/Literal(‘start’) + … + Literal(‘end’)}(hjshjqubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjnubah}(h ]h"]h$]h&]h(]uh*jhjohhhjhNubhQ)}(his equivalent to:h]his equivalent to:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjohhubj)}(hhh]hQ)}(h>Literal('start') + SkipTo('end')("_skipped*") + Literal('end')h]hNLiteral(‘start’) + SkipTo(‘end’)(“_skipped*”) + Literal(‘end’)}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjohhhjhNubhQ)}(hNote that the skipped text is returned with '_skipped' as a results name, and to support having multiple skips in the same parser, the value returned is a list of all skipped text.h]hNote that the skipped text is returned with ‘_skipped’ as a results name, and to support having multiple skips in the same parser, the value returned is a list of all skipped text.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjohhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhj'hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jōj} uh*jRhhhjShjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&__init__() (pyparsing.Suppress method)pyparsing.Suppress.__init__hNtauh*h,hjShhhe/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Suppress.__init__hNubjS)}(hhh](jX)}(hYSuppress.__init__(expr: Union[pyparsing.core.ParserElement, str], savelist: bool = False)h](j)}(h__init__h]h__init__}(hhhj܍hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj؍hhhe/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Suppress.__init__hNubj)}(hFexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = Falseh](j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejRpy:classj3uh*h~hjubj)}(h[h]h[}(hhhj*ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhj8ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejRpy:classj3uh*h~hjubj)}(h, h]h, }(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjYubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejRpy:classj3uh*h~hjubj)}(h]h]h]}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hsavelist: bool = Falseh](j)}(hsavelisth]hsavelist}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejRpy:classj3uh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjˎubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjݎubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj؍hhhjhNubeh}(h ]jҍah"]h$]h&]h(]j pyparsingjj3jSuppress.__init__uh*jWhjhKhjՍhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjԍhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjՍhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjShjԍhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%__sub__() (pyparsing.Suppress method)pyparsing.Suppress.__sub__hNtauh*h,hjShhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Suppress.__sub__hNubjS)}(hhh](jX)}(h7Suppress.__sub__(other) -> pyparsing.core.ParserElementh](j)}(h__sub__h]h__sub__}(hhhj5hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj1hhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Suppress.__sub__hNubj)}(hotherh]j)}(hotherh]j)}(hotherh]hother}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjHubah}(h ]h"]h$]h&]h(]jzj{uh*jhjDubah}(h ]h"]h$]h&]h(]jzj{uh*jhj1hhhjChNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejRpy:classj3uh*h~hjfubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj1hhhjChNubeh}(h ]j+ah"]h$]h&]h(]j pyparsingjj3jSuppress.__sub__uh*jWhjChKhj.hhubj)}(hhh]hQ)}(hFImplementation of ``-`` operator, returns :class:`And` with error stoph](hImplementation of }(hImplementation of hjhhhNhNubhj)}(h``-``h]h-}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh operator, returns }(h operator, returns hjhhhNhNubh)}(h :class:`And`h]hj)}(hjh]hAnd}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhj3hAnduh*h~hj-hKhjubh with error stop}(h with error stophjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj-hKhjhhubah}(h ]h"]h$]h&]h(]uh*jhj.hhhjChNubeh}(h ]h"]pyah$]h&]h(]jy jޏjz methodj| jj} uh*jRhhhjShj-hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&suppress() (pyparsing.Suppress method)pyparsing.Suppress.suppresshNtauh*h,hjShhhe/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Suppress.suppresshNubjS)}(hhh](jX)}(h3Suppress.suppress() -> pyparsing.core.ParserElementh](j)}(hsuppressh]hsuppress}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhe/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Suppress.suppresshNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejRpy:classj3uh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjj3jSuppress.suppressuh*jWhjhKhjhhubj)}(hhh]hQ)}(htSuppresses the output of this :class:`ParserElement`; useful to keep punctuation from cluttering up returned output.h](hSuppresses the output of this }(hSuppresses the output of this hj:hhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjEh]h ParserElement}(hhhjGubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjCubah}(h ]h"]h$]h&]h(]refdoch refdomainjQreftypeclass refexplicitrefwarnhj5hj3h ParserElementuh*h~hjhKhj:ubh@; useful to keep punctuation from cluttering up returned output.}(h@; useful to keep punctuation from cluttering up returned output.hj:hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj7hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jwjz methodj| j{j} uh*jRhhhjShjhNubeh}(h ]h"]h$]h&]h(]uh*jhj hhhj"hNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNToken (class in pyparsing)pyparsing.TokenhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hToken()h](j^)}(hclass h]hclass }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.TokenhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhjhNubj)}(hTokenh]hToken}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(h,Bases: :class:`pyparsing.core.ParserElement`h](hBases: }(hBases: hjԐhhhNhNubh)}(h%:class:`pyparsing.core.ParserElement`h]hj)}(hjߐh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjݐubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjАhjhpyparsing.core.ParserElementuh*h~hY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.TokenhKhjԐubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjѐhhubhQ)}(hPAbstract :class:`ParserElement` subclass, for defining atomic matching patterns.h](h Abstract }(h Abstract hjhhhNhNubh)}(h:class:`ParserElement`h]hj)}(hjh]h ParserElement}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj ubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjАhjh ParserElementuh*h~hY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.TokenhKhjubh1 subclass, for defining atomic matching patterns.}(h1 subclass, for defining atomic matching patterns.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj-hKhjѐhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#__init__() (pyparsing.Token method)pyparsing.Token.__init__hNtauh*h,hjѐhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Token.__init__hNubjS)}(hhh](jX)}(hToken.__init__()h](j)}(h__init__h]h__init__}(hhhjOhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjKhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Token.__init__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjKhhhj]hNubeh}(h ]jEah"]h$]h&]h(]j pyparsingjjjToken.__init__uh*jWhj]hKhjHhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjuhjshhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjGhKhjphhubah}(h ]h"]h$]h&]h(]uh*jhjHhhhj]hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhjѐhjGhNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#TokenConverter (class in pyparsing)pyparsing.TokenConverterhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hNTokenConverter(expr: Union[pyparsing.core.ParserElement, str], savelist=False)h](j^)}(hclass h]hclass }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.TokenConverterhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhjhNubj)}(hTokenConverterh]hTokenConverter}(hhhjϑhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h>expr: Union[pyparsing.core.ParserElement, str], savelist=Falseh](j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhj*ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhj=ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhj^ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjݑubj)}(hsavelist=Falseh](j)}(hsavelisth]hsavelist}(hhhj|ubah}(h ]h"]jah$]h&]h(]uh*jhjxubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjxubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjxubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjݑubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjёuh*jWhjhKhjhhubj)}(hhh](hQ)}(h2Bases: :class:`pyparsing.core.ParseElementEnhance`h](hBases: }(hBases: hjhhhNhNubh)}(h+:class:`pyparsing.core.ParseElementEnhance`h]hj)}(hjȒh]h"pyparsing.core.ParseElementEnhance}(hhhjʒubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjƒubah}(h ]h"]h$]h&]h(]refdoch refdomainjԒreftypeclass refexplicitrefwarnhjhjёh"pyparsing.core.ParseElementEnhanceuh*h~hb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.TokenConverterhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hMAbstract subclass of :class:`ParseExpression`, for converting parsed results.h](hAbstract subclass of }(hAbstract subclass of hjhhhNhNubh)}(h:class:`ParseExpression`h]hj)}(hjh]hParseExpression}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjёhParseExpressionuh*h~hb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.TokenConverterhKhjubh , for converting parsed results.}(h , for converting parsed results.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN,__init__() (pyparsing.TokenConverter method)!pyparsing.TokenConverter.__init__hNtauh*h,hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.TokenConverter.__init__hNubjS)}(hhh](jX)}(hWTokenConverter.__init__(expr: Union[pyparsing.core.ParserElement, str], savelist=False)h](j)}(h__init__h]h__init__}(hhhj8hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj4hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.TokenConverter.__init__hNubj)}(h>expr: Union[pyparsing.core.ParserElement, str], savelist=Falseh](j)}(h.expr: Union[pyparsing.core.ParserElement, str]h](j)}(hexprh]hexpr}(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjKubj)}(h:h]h:}(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhjKubh }(hhhjKubj)}(h(Union[pyparsing.core.ParserElement, str]h](h)}(hhh]hUnion}(hhhjsubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulejpy:classjёuh*h~hjoubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjoubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulejpy:classjёuh*h~hjoubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjoubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjёuh*h~hjoubj)}(h]h]h]}(hhhjȓubah}(h ]h"]jah$]h&]h(]uh*jhjoubeh}(h ]h"]jah$]h&]h(]uh*jhjKubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjGubj)}(hsavelist=Falseh](j)}(hsavelisth]hsavelist}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjGubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj4hhhjFhNubeh}(h ]j.ah"]h$]h&]h(]j pyparsingjjёjTokenConverter.__init__uh*jWhjFhKhj1hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj*hj(hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj0hKhj%hhubah}(h ]h"]h$]h&]h(]uh*jhj1hhhjFhNubeh}(h ]h"]pyah$]h&]h(]jy j?jz methodj| jCj} uh*jRhhhjhj0hNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jMjz classj| jQj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNWhite (class in pyparsing)pyparsing.WhitehNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hFWhite(ws: str = ' \t\r\n', min: int = 1, max: int = 0, exact: int = 0)h](j^)}(hclass h]hclass }(hhhjghhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjchhhY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WhitehNubjo)}(h pyparsing.h]h pyparsing.}(hhhjvhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjchhhjuhNubj)}(hWhiteh]hWhite}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjchhhjuhNubj)}(h?ws: str = ' \t\r\n', min: int = 1, max: int = 0, exact: int = 0h](j)}(hws: str = ' \t\r\n'h](j)}(hwsh]hws}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj۔ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h ' \t\r\n'h]h ' \t\r\n'}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h min: int = 1h](j)}(hminh]hmin}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhj*ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj&ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjGubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h1h]h1}(hhhjYubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h max: int = 0h](j)}(hmaxh]hmax}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhjnubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjnubh }(hhhjnubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjnubh }(hhhjnubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjnubh }(hhhjnubjo)}(h0h]h0}(hhhjŕubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjnubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hexact: int = 0h](j)}(hexacth]hexact}(hhhjޕubah}(h ]h"]jah$]h&]h(]uh*jhjڕubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjڕubh }(hhhjڕubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjڕubh }(hhhjڕubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjڕubh }(hhhjڕubjo)}(h0h]h0}(hhhj1ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjڕubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjchhhjuhNubeh}(h ]j^ah"]h$]h&]h(]j pyparsingjhjjuh*jWhjuhKhj`hhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hjVhhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hjah]hpyparsing.core.Token}(hhhjcubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj_ubah}(h ]h"]h$]h&]h(]refdoch refdomainjmreftypeclass refexplicitrefwarnhjRhjhpyparsing.core.Tokenuh*h~hY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WhitehKhjVubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjShhubhQ)}(hX|Special matching class for matching whitespace. Normally, whitespace is ignored by pyparsing grammars. This class is included when some whitespace structures are significant. Define with a string containing the whitespace characters to be matched; default is ``" \t\r\n"``. Also takes optional ``min``, ``max``, and ``exact`` arguments, as defined for the :class:`Word` class.h](hXSpecial matching class for matching whitespace. Normally, whitespace is ignored by pyparsing grammars. This class is included when some whitespace structures are significant. Define with a string containing the whitespace characters to be matched; default is }(hXSpecial matching class for matching whitespace. Normally, whitespace is ignored by pyparsing grammars. This class is included when some whitespace structures are significant. Define with a string containing the whitespace characters to be matched; default is hjhhhNhNubhj)}(h ``" \t\r\n"``h]h " \t\r\n"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh. Also takes optional }(h. Also takes optional hjhhhNhNubhj)}(h``min``h]hmin}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh, }(h, hjhhhNhNubhj)}(h``max``h]hmax}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh, and }(h, and hjhhhNhNubhj)}(h ``exact``h]hexact}(hhhjȖubah}(h ]h"]h$]h&]h(]uh*hihjubh arguments, as defined for the }(h arguments, as defined for the hjhhhNhNubh)}(h :class:`Word`h]hj)}(hjݖh]hWord}(hhhjߖubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjۖubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjRhjhWorduh*h~hY/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WhitehKhjubh class.}(h class.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjShhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#__init__() (pyparsing.White method)pyparsing.White.__init__hNtauh*h,hjShhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.White.__init__hNubjS)}(hhh](jX)}(hOWhite.__init__(ws: str = ' \t\r\n', min: int = 1, max: int = 0, exact: int = 0)h](j)}(h__init__h]h__init__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.White.__init__hNubj)}(h?ws: str = ' \t\r\n', min: int = 1, max: int = 0, exact: int = 0h](j)}(hws: str = ' \t\r\n'h](j)}(hwsh]hws}(hhhj4ubah}(h ]h"]jah$]h&]h(]uh*jhj0ubj)}(h:h]h:}(hhhjBubah}(h ]h"]jah$]h&]h(]uh*jhj0ubh }(hhhj0ubj)}(hstrh]h)}(hhh]hstr}(hhhjXubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejRpy:classjuh*h~hjTubah}(h ]h"]jah$]h&]h(]uh*jhj0ubh }(hhhj0ubjZ)}(h=h]h=}(hhhjuubah}(h ]h"]jfah$]h&]h(]uh*jYhj0ubh }(hhhj0ubjo)}(h ' \t\r\n'h]h ' \t\r\n'}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj0ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,ubj)}(h min: int = 1h](j)}(hminh]hmin}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhjėubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejRpy:classjuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h1h]h1}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,ubj)}(h max: int = 0h](j)}(hmaxh]hmax}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhj0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejRpy:classjuh*h~hj,ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjMubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h0h]h0}(hhhj_ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,ubj)}(hexact: int = 0h](j)}(hexacth]hexact}(hhhjxubah}(h ]h"]jah$]h&]h(]uh*jhjtubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjtubh }(hhhjtubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejRpy:classjuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjtubh }(hhhjtubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjtubh }(hhhjtubjo)}(h0h]h0}(hhhj˘ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjtubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj+hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjjWhite.__init__uh*jWhj+hKhjhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhj+hNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| j j} uh*jRhhhjShjhNubeh}(h ]h"]h$]h&]h(]uh*jhj`hhhjuhNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNWord (class in pyparsing)pyparsing.WordhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hX)Word(init_chars: str = '', body_chars: Optional[str] = None, min: int = 1, max: int = 0, exact: int = 0, as_keyword: bool = False, exclude_chars: Optional[str] = None, *, initChars: Optional[str] = None, bodyChars: Optional[str] = None, asKeyword: bool = False, excludeChars: Optional[str] = None)h](j^)}(hclass h]hclass }(hhhj0hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj,hhhX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordhNubjo)}(h pyparsing.h]h pyparsing.}(hhhj?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj,hhhj>hNubj)}(hWordh]hWord}(hhhjMhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj,hhhj>hNubj)}(hX#init_chars: str = '', body_chars: Optional[str] = None, min: int = 1, max: int = 0, exact: int = 0, as_keyword: bool = False, exclude_chars: Optional[str] = None, *, initChars: Optional[str] = None, bodyChars: Optional[str] = None, asKeyword: bool = False, excludeChars: Optional[str] = Noneh](j)}(hinit_chars: str = ''h](j)}(h init_charsh]h init_chars}(hhhjcubah}(h ]h"]jah$]h&]h(]uh*jhj_ubj)}(h:h]h:}(hhhjqubah}(h ]h"]jah$]h&]h(]uh*jhj_ubh }(hhhj_ubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhj_ubh }(hhhj_ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj_ubh }(hhhj_ubjo)}(h''h]h''}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj_ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(h body_chars: Optional[str] = Noneh](j)}(h body_charsh]h body_chars}(hhhjϙubah}(h ]h"]jah$]h&]h(]uh*jhj˙ubj)}(h:h]h:}(hhhjݙubah}(h ]h"]jah$]h&]h(]uh*jhj˙ubh }(hhhj˙ubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhj'ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhj˙ubh }(hhhj˙ubjZ)}(h=h]h=}(hhhj?ubah}(h ]h"]jfah$]h&]h(]uh*jYhj˙ubh }(hhhj˙ubjo)}(hNoneh]hNone}(hhhjQubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj˙ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(h min: int = 1h](j)}(hminh]hmin}(hhhjjubah}(h ]h"]jah$]h&]h(]uh*jhjfubj)}(h:h]h:}(hhhjxubah}(h ]h"]jah$]h&]h(]uh*jhjfubh }(hhhjfubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjfubh }(hhhjfubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjfubh }(hhhjfubjo)}(h1h]h1}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjfubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(h max: int = 0h](j)}(hmaxh]hmax}(hhhj֚ubah}(h ]h"]jah$]h&]h(]uh*jhjҚubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjҚubh }(hhhjҚubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjҚubh }(hhhjҚubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjҚubh }(hhhjҚubjo)}(h0h]h0}(hhhj)ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjҚubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(hexact: int = 0h](j)}(hexacth]hexact}(hhhjBubah}(h ]h"]jah$]h&]h(]uh*jhj>ubj)}(h:h]h:}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhj>ubh }(hhhj>ubj)}(hinth]h)}(hhh]hint}(hhhjfubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjbubah}(h ]h"]jah$]h&]h(]uh*jhj>ubh }(hhhj>ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj>ubh }(hhhj>ubjo)}(h0h]h0}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj>ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(has_keyword: bool = Falseh](j)}(h as_keywordh]h as_keyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjқubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjΛubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(h#exclude_chars: Optional[str] = Noneh](j)}(h exclude_charsh]h exclude_chars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj(ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj>ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj:ubj)}(h[h]h[}(hhhjQubah}(h ]h"]jah$]h&]h(]uh*jhj:ubh)}(hhh]hstr}(hhhj_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj:ubj)}(h]h]h]}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhj:ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(hinitChars: Optional[str] = Noneh](j)}(h initCharsh]h initChars}(hhhj͜ubah}(h ]h"]jah$]h&]h(]uh*jhjɜubj)}(h:h]h:}(hhhjۜubah}(h ]h"]jah$]h&]h(]uh*jhjɜubh }(hhhjɜubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhj%ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjɜubh }(hhhjɜubjZ)}(h=h]h=}(hhhj=ubah}(h ]h"]jfah$]h&]h(]uh*jYhjɜubh }(hhhjɜubjo)}(hNoneh]hNone}(hhhjOubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjɜubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(hbodyChars: Optional[str] = Noneh](j)}(h bodyCharsh]h bodyChars}(hhhjhubah}(h ]h"]jah$]h&]h(]uh*jhjdubj)}(h:h]h:}(hhhjvubah}(h ]h"]jah$]h&]h(]uh*jhjdubh }(hhhjdubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjdubh }(hhhjdubjZ)}(h=h]h=}(hhhj؝ubah}(h ]h"]jfah$]h&]h(]uh*jYhjdubh }(hhhjdubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjdubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(hasKeyword: bool = Falseh](j)}(h asKeywordh]h asKeyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj#ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjDubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjVubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubj)}(h"excludeChars: Optional[str] = Noneh](j)}(h excludeCharsh]h excludeChars}(hhhjoubah}(h ]h"]jah$]h&]h(]uh*jhjkubj)}(h:h]h:}(hhhj}ubah}(h ]h"]jah$]h&]h(]uh*jhjkubh }(hhhjkubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjǞubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjkubh }(hhhjkubjZ)}(h=h]h=}(hhhjߞubah}(h ]h"]jfah$]h&]h(]uh*jYhjkubh }(hhhjkubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjkubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj[ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,hhhj>hNubeh}(h ]j'ah"]h$]h&]h(]j pyparsingjhjjOuh*jWhj>hKhj)hhubj)}(hhh](hQ)}(h$Bases: :class:`pyparsing.core.Token`h](hBases: }(hBases: hjhhhNhNubh)}(h:class:`pyparsing.core.Token`h]hj)}(hj!h]hpyparsing.core.Token}(hhhj#ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj-reftypeclass refexplicitrefwarnhjhjOhpyparsing.core.Tokenuh*h~hX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhj?hKhjhhubhQ)}(hToken for matching words composed of allowed character sets. Parameters: - ``init_chars`` - string of all characters that should be used toh](hKToken for matching words composed of allowed character sets. Parameters: - }(hKToken for matching words composed of allowed character sets. Parameters: - hjFhhhNhNubhj)}(h``init_chars``h]h init_chars}(hhhjOubah}(h ]h"]h$]h&]h(]uh*hihjFubh2 - string of all characters that should be used to}(h2 - string of all characters that should be used tohjFhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhX/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordhKhjhhubj)}(hhh]hQ)}(hmatch as a word; "ABC" will match "AAA", "ABAB", "CBAC", etc.; if ``body_chars`` is also specified, then this is the string of initial charactersh](hRmatch as a word; “ABC” will match “AAA”, “ABAB”, “CBAC”, etc.; if }(hBmatch as a word; "ABC" will match "AAA", "ABAB", "CBAC", etc.; if hjlubhj)}(h``body_chars``h]h body_chars}(hhhjuubah}(h ]h"]h$]h&]h(]uh*hihjlubhA is also specified, then this is the string of initial characters}(hA is also specified, then this is the string of initial charactershjlubeh}(h ]h"]h$]h&]h(]uh*hPhjhhKhjiubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhhNubj)}(hhh](j)}(h``body_chars`` - string of characters that can be used for matching after a matched initial character as given in ``init_chars``; if omitted, same as the initial characters (default=``None``)h]hQ)}(h``body_chars`` - string of characters that can be used for matching after a matched initial character as given in ``init_chars``; if omitted, same as the initial characters (default=``None``)h](hj)}(h``body_chars``h]h body_chars}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhd - string of characters that can be used for matching after a matched initial character as given in }(hd - string of characters that can be used for matching after a matched initial character as given in hjubhj)}(h``init_chars``h]h init_chars}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh?; if omitted, same as the initial characters (default=``None``)}(h?; if omitted, same as the initial characters (default=``None``)hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhhNubj)}(h;``min`` - minimum number of characters to match (default=1)h]hQ)}(hjӟh](hj)}(h``min``h]hmin}(hhhj؟ubah}(h ]h"]h$]h&]h(]uh*hihj՟ubh4 - minimum number of characters to match (default=1)}(h4 - minimum number of characters to match (default=1)hj՟ubeh}(h ]h"]h$]h&]h(]uh*hPhjhhK hjџubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhhNubj)}(h;``max`` - maximum number of characters to match (default=0)h]hQ)}(hjh](hj)}(h``max``h]hmax}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh4 - maximum number of characters to match (default=0)}(h4 - maximum number of characters to match (default=0)hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhhK hjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhhNubj)}(h;``exact`` - exact number of characters to match (default=0)h]hQ)}(hjh](hj)}(h ``exact``h]hexact}(hhhj$ubah}(h ]h"]h$]h&]h(]uh*hihj!ubh2 - exact number of characters to match (default=0)}(h2 - exact number of characters to match (default=0)hj!ubeh}(h ]h"]h$]h&]h(]uh*hPhjhhK hjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhhNubj)}(h7``as_keyword`` - match as a keyword (default=``False``)h]hQ)}(hjEh](hj)}(h``as_keyword``h]h as_keyword}(hhhjJubah}(h ]h"]h$]h&]h(]uh*hihjGubh) - match as a keyword (default=``False``)}(h) - match as a keyword (default=``False``)hjGubeh}(h ]h"]h$]h&]h(]uh*hPhjhhKhjCubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhhNubj)}(h``exclude_chars`` - characters that might be found in the input ``body_chars`` string but which should not be accepted for matching ;useful to define a word of all printables except for one or two characters, for instance (default=``None``) h]hQ)}(h``exclude_chars`` - characters that might be found in the input ``body_chars`` string but which should not be accepted for matching ;useful to define a word of all printables except for one or two characters, for instance (default=``None``)h](hj)}(h``exclude_chars``h]h exclude_chars}(hhhjqubah}(h ]h"]h$]h&]h(]uh*hihjmubh/ - characters that might be found in the input }(h/ - characters that might be found in the input hjmubhj)}(h``body_chars``h]h body_chars}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjmubh string but which should not be accepted for matching ;useful to define a word of all printables except for one or two characters, for instance (default=``None``)}(h string but which should not be accepted for matching ;useful to define a word of all printables except for one or two characters, for instance (default=``None``)hjmubeh}(h ]h"]h$]h&]h(]uh*hPhjhhKhjiubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhhKhjhhubhQ)}(h:class:`srange` is useful for defining custom character set strings for defining :class:`Word` expressions, using range notation from regular expression character sets.h](h)}(h:class:`srange`h]hj)}(hjh]hsrange}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhsrangeuh*h~hjhhKhjubhB is useful for defining custom character set strings for defining }(hB is useful for defining custom character set strings for defining hjhhhNhNubh)}(h :class:`Word`h]hj)}(hjԠh]hWord}(hhhj֠ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjҠubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhWorduh*h~hjhhKhjubhJ expressions, using range notation from regular expression character sets.}(hJ expressions, using range notation from regular expression character sets.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhhKhjhhubhQ)}(hXA common mistake is to use :class:`Word` to match a specific literal string, as in ``Word("Address")``. Remember that :class:`Word` uses the string argument to define *sets* of matchable characters. This expression would match "Add", "AAA", "dAred", or any other word made up of the characters 'A', 'd', 'r', 'e', and 's'. To match an exact literal string, use :class:`Literal` or :class:`Keyword`.h](hA common mistake is to use }(hA common mistake is to use hjhhhNhNubh)}(h :class:`Word`h]hj)}(hjh]hWord}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhWorduh*h~hjhhKhjubh+ to match a specific literal string, as in }(h+ to match a specific literal string, as in hjhhhNhNubhj)}(h``Word("Address")``h]hWord("Address")}(hhhj+ubah}(h ]h"]h$]h&]h(]uh*hihjubh. Remember that }(h. Remember that hjhhhNhNubh)}(h :class:`Word`h]hj)}(hj@h]hWord}(hhhjBubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj>ubah}(h ]h"]h$]h&]h(]refdoch refdomainjLreftypeclass refexplicitrefwarnhjhjOhWorduh*h~hjhhKhjubh$ uses the string argument to define }(h$ uses the string argument to define hjhhhNhNubj)}(h*sets*h]hsets}(hhhjcubah}(h ]h"]h$]h&]h(]uh*jhjubh of matchable characters. This expression would match “Add”, “AAA”, “dAred”, or any other word made up of the characters ‘A’, ‘d’, ‘r’, ‘e’, and ‘s’. To match an exact literal string, use }(h of matchable characters. This expression would match "Add", "AAA", "dAred", or any other word made up of the characters 'A', 'd', 'r', 'e', and 's'. To match an exact literal string, use hjhhhNhNubh)}(h:class:`Literal`h]hj)}(hjxh]hLiteral}(hhhjzubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjvubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhLiteraluh*h~hjhhKhjubh or }(h or hjhhhNhNubh)}(h:class:`Keyword`h]hj)}(hjh]hKeyword}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhKeyworduh*h~hjhhKhjubh.}(hjhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhhKhjhhubhQ)}(h5pyparsing includes helper strings for building Words:h]h5pyparsing includes helper strings for building Words:}(hjǡhjšhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhhK hjhhubj)}(hhh](j)}(h:class:`alphas`h]hQ)}(hjءh]h)}(hjءh]hj)}(hjءh]halphas}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjݡubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhalphasuh*h~hjhhK"hjڡubah}(h ]h"]h$]h&]h(]uh*hPhjhhK"hj֡ubah}(h ]h"]h$]h&]h(]uh*jhjӡhhhjhhNubj)}(h :class:`nums`h]hQ)}(hj h]h)}(hj h]hj)}(hj h]hnums}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhnumsuh*h~hjhhK#hj ubah}(h ]h"]h$]h&]h(]uh*hPhjhhK#hjubah}(h ]h"]h$]h&]h(]uh*jhjӡhhhjhhNubj)}(h:class:`alphanums`h]hQ)}(hj<h]h)}(hj<h]hj)}(hj<h]h alphanums}(hhhjDubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjAubah}(h ]h"]h$]h&]h(]refdoch refdomainjNreftypeclass refexplicitrefwarnhjhjOh alphanumsuh*h~hjhhK$hj>ubah}(h ]h"]h$]h&]h(]uh*hPhjhhK$hj:ubah}(h ]h"]h$]h&]h(]uh*jhjӡhhhjhhNubj)}(h:class:`hexnums`h]hQ)}(hjnh]h)}(hjnh]hj)}(hjnh]hhexnums}(hhhjvubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjsubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhhexnumsuh*h~hjhhK%hjpubah}(h ]h"]h$]h&]h(]uh*hPhjhhK%hjlubah}(h ]h"]h$]h&]h(]uh*jhjӡhhhjhhNubj)}(he:class:`alphas8bit` (alphabetic characters in ASCII range 128-255 - accented, tilded, umlauted, etc.)h]hQ)}(he:class:`alphas8bit` (alphabetic characters in ASCII range 128-255 - accented, tilded, umlauted, etc.)h](h)}(h:class:`alphas8bit`h]hj)}(hjh]h alphas8bit}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOh alphas8bituh*h~hjhhK&hjubhR (alphabetic characters in ASCII range 128-255 - accented, tilded, umlauted, etc.)}(hR (alphabetic characters in ASCII range 128-255 - accented, tilded, umlauted, etc.)hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhhK&hjubah}(h ]h"]h$]h&]h(]uh*jhjӡhhhjhhNubj)}(hz:class:`punc8bit` (non-alphabetic characters in ASCII range 128-255 - currency, symbols, superscripts, diacriticals, etc.)h]hQ)}(hz:class:`punc8bit` (non-alphabetic characters in ASCII range 128-255 - currency, symbols, superscripts, diacriticals, etc.)h](h)}(h:class:`punc8bit`h]hj)}(hjh]hpunc8bit}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjߢubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhpunc8bituh*h~hjhhK(hjۢubhi (non-alphabetic characters in ASCII range 128-255 - currency, symbols, superscripts, diacriticals, etc.)}(hi (non-alphabetic characters in ASCII range 128-255 - currency, symbols, superscripts, diacriticals, etc.)hjۢubeh}(h ]h"]h$]h&]h(]uh*hPhjhhK(hjעubah}(h ]h"]h$]h&]h(]uh*jhjӡhhhjhhNubj)}(h3:class:`printables` (any non-whitespace character) h]hQ)}(h2:class:`printables` (any non-whitespace character)h](h)}(h:class:`printables`h]hj)}(hjh]h printables}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj&reftypeclass refexplicitrefwarnhjhjOh printablesuh*h~hjhhK*hjubh (any non-whitespace character)}(h (any non-whitespace character)hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhhK*hjubah}(h ]h"]h$]h&]h(]uh*jhjӡhhhjhhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhhK"hjhhubhQ)}(ht``alphas``, ``nums``, and ``printables`` are also defined in several Unicode sets - see :class:`pyparsing_unicode``.h](hj)}(h ``alphas``h]halphas}(hhhjSubah}(h ]h"]h$]h&]h(]uh*hihjOubh, }(h, hjOhhhNhNubhj)}(h``nums``h]hnums}(hhhjfubah}(h ]h"]h$]h&]h(]uh*hihjOubh, and }(h, and hjOhhhNhNubhj)}(h``printables``h]h printables}(hhhjyubah}(h ]h"]h$]h&]h(]uh*hihjOubh0 are also defined in several Unicode sets - see }(h0 are also defined in several Unicode sets - see hjOhhhNhNubh)}(h:class:`pyparsing_unicode``h]hj)}(hjh]hpyparsing_unicode`}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhjOhpyparsing_unicode`uh*h~hjhhK,hjOubh.}(hjhjOhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhhK,hjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhhK/hjhhubjk)}(hX # a word composed of digits integer = Word(nums) # equivalent to Word("0123456789") or Word(srange("0-9")) # a word with a leading capital, and zero or more lowercase capital_word = Word(alphas.upper(), alphas.lower()) # hostnames are alphanumeric, with leading alpha, and '-' hostname = Word(alphas, alphanums + '-') # roman numeral (not a strict parser, accepts invalid mix of characters) roman = Word("IVXLCDM") # any string of non-whitespace characters, except for ',' csv_value = Word(printables, exclude_chars=",")h]hX # a word composed of digits integer = Word(nums) # equivalent to Word("0123456789") or Word(srange("0-9")) # a word with a leading capital, and zero or more lowercase capital_word = Word(alphas.upper(), alphas.lower()) # hostnames are alphanumeric, with leading alpha, and '-' hostname = Word(alphas, alphanums + '-') # roman numeral (not a strict parser, accepts invalid mix of characters) roman = Word("IVXLCDM") # any string of non-whitespace characters, except for ',' csv_value = Word(printables, exclude_chars=",")}(hhhjţubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhhK1hjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN"__init__() (pyparsing.Word method)pyparsing.Word.__init__hNtauh*h,hjhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Word.__init__hNubjS)}(hhh](jX)}(hX2Word.__init__(init_chars: str = '', body_chars: Optional[str] = None, min: int = 1, max: int = 0, exact: int = 0, as_keyword: bool = False, exclude_chars: Optional[str] = None, *, initChars: Optional[str] = None, bodyChars: Optional[str] = None, asKeyword: bool = False, excludeChars: Optional[str] = None)h](j)}(h__init__h]h__init__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.Word.__init__hNubj)}(hX#init_chars: str = '', body_chars: Optional[str] = None, min: int = 1, max: int = 0, exact: int = 0, as_keyword: bool = False, exclude_chars: Optional[str] = None, *, initChars: Optional[str] = None, bodyChars: Optional[str] = None, asKeyword: bool = False, excludeChars: Optional[str] = Noneh](j)}(hinit_chars: str = ''h](j)}(h init_charsh]h init_chars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhj$ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjOuh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjAubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h''h]h''}(hhhjSubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h body_chars: Optional[str] = Noneh](j)}(h body_charsh]h body_chars}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjhubj)}(h:h]h:}(hhhjzubah}(h ]h"]jah$]h&]h(]uh*jhjhubh }(hhhjhubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjOuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjOuh*h~hjubj)}(h]h]h]}(hhhjĤubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjhubh }(hhhjhubjZ)}(h=h]h=}(hhhjܤubah}(h ]h"]jfah$]h&]h(]uh*jYhjhubh }(hhhjhubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjhubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h min: int = 1h](j)}(hminh]hmin}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhj+ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classjOuh*h~hj'ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjHubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h1h]h1}(hhhjZubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h max: int = 0h](j)}(hmaxh]hmax}(hhhjsubah}(h ]h"]jah$]h&]h(]uh*jhjoubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjoubh }(hhhjoubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classjOuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjoubh }(hhhjoubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjoubh }(hhhjoubjo)}(h0h]h0}(hhhjƥubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjoubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hexact: int = 0h](j)}(hexacth]hexact}(hhhjߥubah}(h ]h"]jah$]h&]h(]uh*jhjۥubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjۥubh }(hhhjۥubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejpy:classjOuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjۥubh }(hhhjۥubjZ)}(h=h]h=}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhjۥubh }(hhhjۥubjo)}(h0h]h0}(hhhj2ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjۥubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(has_keyword: bool = Falseh](j)}(h as_keywordh]h as_keyword}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjGubj)}(h:h]h:}(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjGubh }(hhhjGubj)}(hboolh]h)}(hhh]hbool}(hhhjoubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classjOuh*h~hjkubah}(h ]h"]jah$]h&]h(]uh*jhjGubh }(hhhjGubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjGubh }(hhhjGubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjGubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h#exclude_chars: Optional[str] = Noneh](j)}(h exclude_charsh]h exclude_chars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjŦubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjۦubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjOuh*h~hjצubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjצubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjOuh*h~hjצubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjצubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj'ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhj9ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjRubah}(h ]h"]jfah$]h&]h(]uh*jYhjNubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hinitChars: Optional[str] = Noneh](j)}(h initCharsh]h initChars}(hhhjjubah}(h ]h"]jah$]h&]h(]uh*jhjfubj)}(h:h]h:}(hhhjxubah}(h ]h"]jah$]h&]h(]uh*jhjfubh }(hhhjfubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjOuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjOuh*h~hjubj)}(h]h]h]}(hhhj§ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjfubh }(hhhjfubjZ)}(h=h]h=}(hhhjڧubah}(h ]h"]jfah$]h&]h(]uh*jYhjfubh }(hhhjfubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjfubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hbodyChars: Optional[str] = Noneh](j)}(h bodyCharsh]h bodyChars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj)ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjOuh*h~hj%ubj)}(h[h]h[}(hhhj<ubah}(h ]h"]jah$]h&]h(]uh*jhj%ubh)}(hhh]hstr}(hhhjJubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjOuh*h~hj%ubj)}(h]h]h]}(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhj%ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjuubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hasKeyword: bool = Falseh](j)}(h asKeywordh]h asKeyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjĨubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejpy:classjOuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h"excludeChars: Optional[str] = Noneh](j)}(h excludeCharsh]h excludeChars}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejpy:classjOuh*h~hj,ubj)}(h[h]h[}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh)}(hhh]hstr}(hhhjQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjOuh*h~hj,ubj)}(h]h]h]}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhj,ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj|ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jߣah"]h$]h&]h(]j pyparsingjjOj Word.__init__uh*jWhjhKhjhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j˩jz methodj| jϩj} uh*jRhhhjhjhNubeh}(h ]h"]h$]h&]h(]uh*jhj)hhhj>hNubeh}(h ]h"]pyah$]h&]h(]jy j٩jz classj| jݩj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNWordEnd (class in pyparsing)pyparsing.WordEndhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hWordEnd(word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~')h](j^)}(hclass h]hclass }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordEndhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhjhNubj)}(hWordEndh]hWordEnd}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hword_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(htword_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(h word_charsh]h word_chars}(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubj)}(h:h]h:}(hhhj4ubah}(h ]h"]jah$]h&]h(]uh*jhj"ubh }(hhhj"ubj)}(hstrh]h)}(hhh]hstr}(hhhjJubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjFubah}(h ]h"]jah$]h&]h(]uh*jhj"ubh }(hhhj"ubjZ)}(h=h]h=}(hhhjgubah}(h ]h"]jfah$]h&]h(]uh*jYhj"ubh }(hhhj"ubjo)}(hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h]hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'}(hhhjyubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj"ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hswordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(h wordCharsh]h wordChars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjΪubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjʪubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h]hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(h,Bases: :class:`pyparsing.core.PositionToken`h](hBases: }(hBases: hj"hhhNhNubh)}(h%:class:`pyparsing.core.PositionToken`h]hj)}(hj-h]hpyparsing.core.PositionToken}(hhhj/ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj+ubah}(h ]h"]h$]h&]h(]refdoch refdomainj9reftypeclass refexplicitrefwarnhjhjhpyparsing.core.PositionTokenuh*h~h[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordEndhKhj"ubeh}(h ]h"]h$]h&]h(]uh*hPhjKhKhjhhubhQ)}(hXPMatches if the current position is at the end of a :class:`Word`, and is not followed by any character in a given set of ``word_chars`` (default= ``printables``). To emulate the ```` behavior of regular expressions, use ``WordEnd(alphanums)``. ``WordEnd`` will also match at the end of the string being parsed, or at the end of a line.h](h3Matches if the current position is at the end of a }(h3Matches if the current position is at the end of a hjRhhhNhNubh)}(h :class:`Word`h]hj)}(hj]h]hWord}(hhhj_ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj[ubah}(h ]h"]h$]h&]h(]refdoch refdomainjireftypeclass refexplicitrefwarnhjhjhWorduh*h~h[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordEndhKhjRubh9, and is not followed by any character in a given set of }(h9, and is not followed by any character in a given set of hjRhhhNhNubhj)}(h``word_chars``h]h word_chars}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjRubh (default= }(h (default= hjRhhhNhNubhj)}(h``printables``h]h printables}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjRubh). To emulate the }(h). To emulate the hjRhhhNhNubhj)}(h````h]h}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjRubh& behavior of regular expressions, use }(h& behavior of regular expressions, use hjRhhhNhNubhj)}(h``WordEnd(alphanums)``h]hWordEnd(alphanums)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjRubh. }(h. hjRhhhNhNubhj)}(h ``WordEnd``h]hWordEnd}(hhhjͫubah}(h ]h"]h$]h&]h(]uh*hihjRubhP will also match at the end of the string being parsed, or at the end of a line.}(hP will also match at the end of the string being parsed, or at the end of a line.hjRhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj{hKhjhhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%__init__() (pyparsing.WordEnd method)pyparsing.WordEnd.__init__hNtauh*h,hjhhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordEnd.__init__hNubjS)}(hhh](jX)}(hWordEnd.__init__(word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~')h](j)}(h__init__h]h__init__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhd/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordEnd.__init__hNubj)}(hword_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(htword_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(h word_charsh]h word_chars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhj7ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjuh*h~hj3ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjTubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h]hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'}(hhhjfubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj{ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hswordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(h wordCharsh]h wordChars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejpy:classjuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjجubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h]hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjjWordEnd.__init__uh*jWhj hKhjhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj hhubah}(h ]h"]h$]h&]h(]uh*jhjhhhj hNubeh}(h ]h"]pyah$]h&]h(]jy j'jz methodj| j+j} uh*jRhhhjhjhNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j5jz classj| j9j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNWordStart (class in pyparsing)pyparsing.WordStarthNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hWordStart(word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~')h](j^)}(hclass h]hclass }(hhhjOhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjKhhh]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordStarthNubjo)}(h pyparsing.h]h pyparsing.}(hhhj^hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjKhhhj]hNubj)}(h WordStarth]h WordStart}(hhhjlhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjKhhhj]hNubj)}(hword_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(htword_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(h word_charsh]h word_chars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh }(hhhj~ubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhj~ubh }(hhhj~ubjZ)}(h=h]h=}(hhhjíubah}(h ]h"]jfah$]h&]h(]uh*jYhj~ubh }(hhhj~ubjo)}(hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h]hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'}(hhhjխubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj~ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjzubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjzubj)}(hswordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(h wordCharsh]h wordChars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhj*ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj&ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjGubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h]hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'}(hhhjYubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjzubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjKhhhj]hNubeh}(h ]jFah"]h$]h&]h(]j pyparsingjhjjnuh*jWhj]hKhjHhhubj)}(hhh](hQ)}(h,Bases: :class:`pyparsing.core.PositionToken`h](hBases: }(hBases: hj~hhhNhNubh)}(h%:class:`pyparsing.core.PositionToken`h]hj)}(hjh]hpyparsing.core.PositionToken}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjzhjnhpyparsing.core.PositionTokenuh*h~h]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordStarthKhj~ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj{hhubhQ)}(hXfMatches if the current position is at the beginning of a :class:`Word`, and is not preceded by any character in a given set of ``word_chars`` (default= ``printables``). To emulate the ```` behavior of regular expressions, use ``WordStart(alphanums)``. ``WordStart`` will also match at the beginning of the string being parsed, or at the beginning of a line.h](h9Matches if the current position is at the beginning of a }(h9Matches if the current position is at the beginning of a hjhhhNhNubh)}(h :class:`Word`h]hj)}(hjh]hWord}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjŮreftypeclass refexplicitrefwarnhjzhjnhWorduh*h~h]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordStarthKhjubh9, and is not preceded by any character in a given set of }(h9, and is not preceded by any character in a given set of hjhhhNhNubhj)}(h``word_chars``h]h word_chars}(hhhjݮubah}(h ]h"]h$]h&]h(]uh*hihjubh (default= }(h (default= hjhhhNhNubhj)}(h``printables``h]h printables}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh). To emulate the }(h). To emulate the hjhhhNhNubhj)}(h````h]h}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh& behavior of regular expressions, use }(h& behavior of regular expressions, use hjhhhNhNubhj)}(h``WordStart(alphanums)``h]hWordStart(alphanums)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh. }(h. hjhhhNhNubhj)}(h ``WordStart``h]h WordStart}(hhhj)ubah}(h ]h"]h$]h&]h(]uh*hihjubh\ will also match at the beginning of the string being parsed, or at the beginning of a line.}(h\ will also match at the beginning of the string being parsed, or at the beginning of a line.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj׮hKhj{hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN'__init__() (pyparsing.WordStart method)pyparsing.WordStart.__init__hNtauh*h,hj{hhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordStart.__init__hNubjS)}(hhh](jX)}(hXWordStart.__init__(word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~')h](j)}(h__init__h]h__init__}(hhhjXhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjThhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.WordStart.__init__hNubj)}(hword_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(htword_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(h word_charsh]h word_chars}(hhhjoubah}(h ]h"]jah$]h&]h(]uh*jhjkubj)}(h:h]h:}(hhhj}ubah}(h ]h"]jah$]h&]h(]uh*jhjkubh }(hhhjkubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejzpy:classjnuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjkubh }(hhhjkubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjkubh }(hhhjkubjo)}(hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h]hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'}(hhhj¯ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjkubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjgubj)}(h*h]jZ)}(h*h]h*}(hhhjۯubah}(h ]h"]jfah$]h&]h(]uh*jYhjׯubah}(h ]h"]h$]h&]h(]jzj{uh*jhjgubj)}(hswordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h](j)}(h wordCharsh]h wordChars}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejzpy:classjnuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj4ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'h]hb'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'}(hhhjFubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjgubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjThhhjfhNubeh}(h ]jNah"]h$]h&]h(]j pyparsingjjnjWordStart.__init__uh*jWhjfhKhjQhhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hjnhjlhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjPhKhjihhubah}(h ]h"]h$]h&]h(]uh*jhjQhhhjfhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhj{hjPhNubeh}(h ]h"]h$]h&]h(]uh*jhjHhhhj]hNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNZeroOrMore (class in pyparsing)pyparsing.ZeroOrMorehNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hZeroOrMore(expr: pyparsing.core.ParserElement, stop_on: Optional[Union[pyparsing.core.ParserElement, str]] = None, *, stopOn: Optional[Union[pyparsing.core.ParserElement, str]] = None)h](j^)}(hclass h]hclass }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ZeroOrMorehNubjo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhjhNubj)}(h ZeroOrMoreh]h ZeroOrMore}(hhhjȰhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hexpr: pyparsing.core.ParserElement, stop_on: Optional[Union[pyparsing.core.ParserElement, str]] = None, *, stopOn: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjްubah}(h ]h"]jah$]h&]h(]uh*jhjڰubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjڰubh }(hhhjڰubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjڰubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjְubj)}(hBstop_on: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(hstop_onh]hstop_on}(hhhj%ubah}(h ]h"]jah$]h&]h(]uh*jhj!ubj)}(h:h]h:}(hhhj3ubah}(h ]h"]jah$]h&]h(]uh*jhj!ubh }(hhhj!ubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhjIubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjEubj)}(h[h]h[}(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhjEubh)}(hhh]hUnion}(hhhjjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjEubj)}(h[h]h[}(hhhj}ubah}(h ]h"]jah$]h&]h(]uh*jhjEubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjEubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjEubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjEubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjEubj)}(h]h]h]}(hhhjͱubah}(h ]h"]jah$]h&]h(]uh*jhjEubeh}(h ]h"]jah$]h&]h(]uh*jhj!ubh }(hhhj!ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj!ubh }(hhhj!ubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj!ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjְubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjְubj)}(hAstopOn: Optional[Union[pyparsing.core.ParserElement, str]] = Noneh](j)}(hstopOnh]hstopOn}(hhhj(ubah}(h ]h"]jah$]h&]h(]uh*jhj$ubj)}(h:h]h:}(hhhj6ubah}(h ]h"]jah$]h&]h(]uh*jhj$ubh }(hhhj$ubj)}(h2Optional[Union[pyparsing.core.ParserElement, str]]h](h)}(hhh]hOptional}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjHubj)}(h[h]h[}(hhhj_ubah}(h ]h"]jah$]h&]h(]uh*jhjHubh)}(hhh]hUnion}(hhhjmubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjHubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjHubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjHubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjHubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjHubj)}(h]h]h]}(hhhj²ubah}(h ]h"]jah$]h&]h(]uh*jhjHubj)}(h]h]h]}(hhhjвubah}(h ]h"]jah$]h&]h(]uh*jhjHubeh}(h ]h"]jah$]h&]h(]uh*jhj$ubh }(hhhj$ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj$ubh }(hhhj$ubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj$ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjְubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjʰuh*jWhjhKhjhhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.core._MultipleMatch`h](hBases: }(hBases: hjhhhNhNubh)}(h&:class:`pyparsing.core._MultipleMatch`h]hj)}(hj*h]hpyparsing.core._MultipleMatch}(hhhj,ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj(ubah}(h ]h"]h$]h&]h(]refdoch refdomainj6reftypeclass refexplicitrefwarnhjhjʰhpyparsing.core._MultipleMatchuh*h~h^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.ZeroOrMorehKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjHhKhjhhubhQ)}(hInitialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj]hj[hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjXhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jrjz methodj| jvj} uh*jRhhhjhjhNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz classj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN__compat__ (class in pyparsing)pyparsing.__compat__hNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h __compat__()h](j^)}(hclass h]hclass }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.__compat__hNubjo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhjhNubj)}(h __compat__h]h __compat__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.util.__config_flags`h](hBases: }(hBases: hj϶hhhNhNubh)}(h&:class:`pyparsing.util.__config_flags`h]hj)}(hjڶh]hpyparsing.util.__config_flags}(hhhjܶubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjضubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj˶hjhpyparsing.util.__config_flagsuh*h~h^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.__compat__hKhj϶ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj̶hhubhQ)}(hA cross-version compatibility configuration for pyparsing features that will be released in a future version. By setting values in this configuration to True, those features can be enabled in prior versions for compatibility development and testing.h]hA cross-version compatibility configuration for pyparsing features that will be released in a future version. By setting values in this configuration to True, those features can be enabled in prior versions for compatibility development and testing.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.__compat__hKhj̶hhubj)}(hhh]j)}(hX!``collect_all_And_tokens`` - flag to enable fix for Issue #63 that fixes erroneous grouping of results names when an :class:`And` expression is nested within an :class:`Or` or :class:`MatchFirst`; maintained for compatibility, but setting to ``False`` no longer restores pre-2.3.1 behaviorh]hQ)}(hX!``collect_all_And_tokens`` - flag to enable fix for Issue #63 that fixes erroneous grouping of results names when an :class:`And` expression is nested within an :class:`Or` or :class:`MatchFirst`; maintained for compatibility, but setting to ``False`` no longer restores pre-2.3.1 behaviorh](hj)}(h``collect_all_And_tokens``h]hcollect_all_And_tokens}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh[ - flag to enable fix for Issue #63 that fixes erroneous grouping of results names when an }(h[ - flag to enable fix for Issue #63 that fixes erroneous grouping of results names when an hjubh)}(h :class:`And`h]hj)}(hj.h]hAnd}(hhhj0ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj,ubah}(h ]h"]h$]h&]h(]refdoch refdomainj:reftypeclass refexplicitrefwarnhj˶hjhAnduh*h~hj hKhjubh expression is nested within an }(h expression is nested within an hjubh)}(h :class:`Or`h]hj)}(hjSh]hOr}(hhhjUubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjQubah}(h ]h"]h$]h&]h(]refdoch refdomainj_reftypeclass refexplicitrefwarnhj˶hjhOruh*h~hj hKhjubh or }(h or hjubh)}(h:class:`MatchFirst`h]hj)}(hjxh]h MatchFirst}(hhhjzubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjvubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj˶hjh MatchFirstuh*h~hj hKhjubh/; maintained for compatibility, but setting to }(h/; maintained for compatibility, but setting to hjubhj)}(h ``False``h]hFalse}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh& no longer restores pre-2.3.1 behavior}(h& no longer restores pre-2.3.1 behaviorhjubeh}(h ]h"]h$]h&]h(]uh*hPhj hKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhj hNubah}(h ]h"]h$]h&]h(]jjuh*jhj hKhj̶hhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jɷjz classj| jͷj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN__diag__ (class in pyparsing)pyparsing.__diag__hNtauh*h,hjhhh\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.__diag__hNubjS)}(hhh](jX)}(h __diag__()h](j^)}(hclass h]hclass }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhh\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.core.__diag__hNubjo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhjhNubj)}(h__diag__h]h__diag__}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubeh}(h ]jڷah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjݷhhubj)}(hhh]hQ)}(h-Bases: :class:`pyparsing.util.__config_flags`h](hBases: }(hBases: hjhhhNhNubh)}(h&:class:`pyparsing.util.__config_flags`h]hj)}(hj$h]hpyparsing.util.__config_flags}(hhhj&ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj"ubah}(h ]h"]h$]h&]h(]refdoch refdomainj0reftypeclass refexplicitrefwarnhjhjhpyparsing.util.__config_flagsuh*h~hjܷhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjܷhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjݷhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jQjz classj| jUj} uh*jRhhhjhjܷhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)autoname_elements() (in module pyparsing)pyparsing.autoname_elementshNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.autoname_elementshNubjS)}(hhh](jX)}(hautoname_elements() -> Noneh](jo)}(h pyparsing.h]h pyparsing.}(hhhjlhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.autoname_elementshNubj)}(hautoname_elementsh]hautoname_elements}(hhhj{hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhhjzhNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhhjzhNubj-)}(hNoneh]h)}(hhh]hNone}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypejrC reftargetNone py:modulehpy:classNuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhhjzhNubeh}(h ]jbah"]h$]h&]h(]j pyparsingjhjj}uh*jWhjzhKhjehhubj)}(hhh]hQ)}(hkUtility to simplify mass-naming of parser elements, for generating railroad diagram with named subdiagrams.h]hkUtility to simplify mass-naming of parser elements, for generating railroad diagram with named subdiagrams.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjdhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjehhhjzhNubeh}(h ]h"]pyah$]h&]h(]jy jѸjz functionj| jոj} uh*jRhhhjhjdhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNcol() (in module pyparsing) pyparsing.colhNtauh*h,hjhhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.util.colhNubjS)}(hhh](jX)}(hcol(loc: int, strg: str) -> inth](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhh[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.util.colhNubj)}(hcolh]hcol}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hloc: int, strg: strh](j)}(hloc: inth](j)}(hloch]hloc}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hinth]h)}(hhh]hint}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj1ubah}(h ]h"]jah$]h&]h(]uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h strg: strh](j)}(hstrgh]hstrg}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjTubj)}(h:h]h:}(hhhjfubah}(h ]h"]jah$]h&]h(]uh*jhjTubh }(hhhjTubj)}(hstrh]h)}(hhh]hstr}(hhhj|ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjxubah}(h ]h"]jah$]h&]h(]uh*jhjTubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(hkReturns current column within a string, counting newlines as line separators. The first column is number 1.h]hkReturns current column within a string, counting newlines as line separators. The first column is number 1.}(hjʹhjȹhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjŹhhubhQ)}(hXkNote: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See :class:`ParserElement.parseString` for more information on parsing strings containing ```` s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.h](hsNote: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See }(hsNote: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See hjֹhhhNhNubh)}(h":class:`ParserElement.parseString`h]hj)}(hjh]hParserElement.parseString}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj߹ubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjĹhNhParserElement.parseStringuh*h~hjhKhjֹubh4 for more information on parsing strings containing }(h4 for more information on parsing strings containing hjֹhhhNhNubhj)}(h ````h]h}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjֹubh s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.}(h s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.hjֹhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjŹhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j&jz functionj| j*j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN.conditionAsParseAction() (in module pyparsing) pyparsing.conditionAsParseActionhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hXconditionAsParseAction(fn: Union[Callable[[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]], message: Optional[str] = None, fatal: bool = False) -> Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](jo)}(h pyparsing.h]h pyparsing.}(hhhj@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj<hhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.condition_as_parse_actionhNubj)}(hconditionAsParseActionh]hconditionAsParseAction}(hhhjOhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj<hhhjNhNubj)}(hfn: Union[Callable[[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]], message: Optional[str] = None, fatal: bool = Falseh](j)}(hfn: Union[Callable[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]]h](j)}(hfnh]hfn}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjaubj)}(h:h]h:}(hhhjsubah}(h ]h"]jah$]h&]h(]uh*jhjaubh }(hhhjaubj)}(hUnion[Callable[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhj˺ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjٺubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjfubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjtubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjĻubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjһubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhj"ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhj5ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hCallable}(hhhjQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h[h]h[}(hhhjrubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.results.ParseResults}(hhhj¼ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjռubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjaubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj]ubj)}(hmessage: Optional[str] = Noneh](j)}(hmessageh]hmessage}(hhhj0ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubj)}(h:h]h:}(hhhj>ubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh }(hhhj,ubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjPubj)}(h[h]h[}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjPubh)}(hhh]hstr}(hhhjuubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjPubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjPubeh}(h ]h"]jah$]h&]h(]uh*jhj,ubh }(hhhj,ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj,ubh }(hhhj,ubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj,ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj]ubj)}(hfatal: bool = Falseh](j)}(hfatalh]hfatal}(hhhj˽ubah}(h ]h"]jah$]h&]h(]uh*jhjǽubj)}(h:h]h:}(hhhjٽubah}(h ]h"]jah$]h&]h(]uh*jhjǽubh }(hhhjǽubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjǽubh }(hhhjǽubjZ)}(h=h]h=}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhjǽubh }(hhhjǽubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjǽubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj]ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj<hhhjNhNubj-)}(hUnion[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhj=ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj9ubj)}(h[h]h[}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hCallable}(hhhj^ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj9ubj)}(h[h]h[}(hhhjqubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hAny}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj9ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hCallable}(hhhjʾubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj9ubj)}(h[h]h[}(hhhjݾubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hj9ubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hAny}(hhhj(ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj9ubj)}(h]h]h]}(hhhj;ubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h, h]h, }(hhhjIubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hCallable}(hhhjWubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj9ubj)}(h[h]h[}(hhhjjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h[h]h[}(hhhjxubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj9ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hj9ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h, h]h, }(hhhjȿubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hAny}(hhhjֿubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj9ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj9ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h[h]h[}(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hstr}(hhhj4ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj9ubj)}(h, h]h, }(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hint}(hhhjUubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj9ubj)}(h, h]h, }(hhhjhubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hpyparsing.results.ParseResults}(hhhjvubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hj9ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh)}(hhh]hAny}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj9ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj9ubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hj<hhhjNhNubeh}(h ]j7ah"]h$]h&]h(]j pyparsingjhjjQuh*jWhjNhKhj9hhubj)}(hhh](hQ)}(hX(Function to convert a simple predicate function that returns ``True`` or ``False`` into a parse action. Can be used in places when a parse action is required and :class:`ParserElement.add_condition` cannot be used (such as when adding a condition to an operator level in :class:`infix_notation`).h](h=Function to convert a simple predicate function that returns }(h=Function to convert a simple predicate function that returns hjhhhNhNubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh or }(h or hjhhhNhNubhj)}(h ``False``h]hFalse}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhP into a parse action. Can be used in places when a parse action is required and }(hP into a parse action. Can be used in places when a parse action is required and hjhhhNhNubh)}(h$:class:`ParserElement.add_condition`h]hj)}(hjh]hParserElement.add_condition}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj!reftypeclass refexplicitrefwarnhjhNhParserElement.add_conditionuh*h~hq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.condition_as_parse_actionhKhjubhI cannot be used (such as when adding a condition to an operator level in }(hI cannot be used (such as when adding a condition to an operator level in hjhhhNhNubh)}(h:class:`infix_notation`h]hj)}(hj;h]hinfix_notation}(hhhj=ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj9ubah}(h ]h"]h$]h&]h(]refdoch refdomainjGreftypeclass refexplicitrefwarnhjhNhinfix_notationuh*h~hj3hKhjubh).}(h).hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj3hKhjhhubhQ)}(hOptional keyword arguments:h]hOptional keyword arguments:}(hjfhjdhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj3hKhjhhubj)}(hhh](j)}(hH``message`` - define a custom message to be used in the raised exceptionh]hQ)}(hjwh](hj)}(h ``message``h]hmessage}(hhhj|ubah}(h ]h"]h$]h&]h(]uh*hihjyubh= - define a custom message to be used in the raised exception}(h= - define a custom message to be used in the raised exceptionhjyubeh}(h ]h"]h$]h&]h(]uh*hPhj3hKhjuubah}(h ]h"]h$]h&]h(]uh*jhjrhhhj3hNubj)}(h``fatal`` - if True, will raise :class:`ParseFatalException` to stop parsing immediately; otherwise will raise :class:`ParseException`h]hQ)}(h``fatal`` - if True, will raise :class:`ParseFatalException` to stop parsing immediately; otherwise will raise :class:`ParseException`h](hj)}(h ``fatal``h]hfatal}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - if True, will raise }(h - if True, will raise hjubh)}(h:class:`ParseFatalException`h]hj)}(hjh]hParseFatalException}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhParseFatalExceptionuh*h~hj3hK hjubh3 to stop parsing immediately; otherwise will raise }(h3 to stop parsing immediately; otherwise will raise hjubh)}(h:class:`ParseException`h]hj)}(hjh]hParseException}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhParseExceptionuh*h~hj3hK hjubeh}(h ]h"]h$]h&]h(]uh*hPhj3hK hjubah}(h ]h"]h$]h&]h(]uh*jhjrhhhj3hNubeh}(h ]h"]h$]h&]h(]jjuh*jhj3hKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhj9hhhjNhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN1condition_as_parse_action() (in module pyparsing)#pyparsing.condition_as_parse_actionhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hXcondition_as_parse_action(fn: Union[Callable[[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]], message: Optional[str] = None, fatal: bool = False) -> Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](jo)}(h pyparsing.h]h pyparsing.}(hhhj0hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj,hhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.condition_as_parse_actionhNubj)}(hcondition_as_parse_actionh]hcondition_as_parse_action}(hhhj?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj,hhhj>hNubj)}(hfn: Union[Callable[[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]], message: Optional[str] = None, fatal: bool = Falseh](j)}(hfn: Union[Callable[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]]h](j)}(hfnh]hfn}(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjQubj)}(h:h]h:}(hhhjcubah}(h ]h"]jah$]h&]h(]uh*jhjQubh }(hhhjQubj)}(hUnion[Callable[], bool], Callable[[pyparsing.results.ParseResults], bool], Callable[[int, pyparsing.results.ParseResults], bool], Callable[[str, int, pyparsing.results.ParseResults], bool]]h](h)}(hhh]hUnion}(hhhjyubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjuubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjuubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjuubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjuubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h[h]h[}(hhhj'ubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hpyparsing.results.ParseResults}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjuubj)}(h]h]h]}(hhhjHubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h, h]h, }(hhhjVubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hbool}(hhhjdubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjuubj)}(h]h]h]}(hhhjwubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjuubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjuubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjuubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjuubj)}(h]h]h]}(hhhj%ubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h, h]h, }(hhhj3ubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hCallable}(hhhjAubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjuubj)}(h[h]h[}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h[h]h[}(hhhjbubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hstr}(hhhjpubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjuubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjuubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjuubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubh)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjuubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjuubeh}(h ]h"]jah$]h&]h(]uh*jhjQubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjMubj)}(hmessage: Optional[str] = Noneh](j)}(hmessageh]hmessage}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhjDubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj@ubj)}(h[h]h[}(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhj@ubh)}(hhh]hstr}(hhhjeubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj@ubj)}(h]h]h]}(hhhjxubah}(h ]h"]jah$]h&]h(]uh*jhj@ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjMubj)}(hfatal: bool = Falseh](j)}(hfatalh]hfatal}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjMubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj,hhhj>hNubj-)}(hUnion[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhj-ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj)ubj)}(h[h]h[}(hhhj@ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hCallable}(hhhjNubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj)ubj)}(h[h]h[}(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h]h]h]}(hhhjoubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h, h]h, }(hhhj}ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hAny}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj)ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj)ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hj)ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h, h]h, }(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hAny}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj)ubj)}(h]h]h]}(hhhj+ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h, h]h, }(hhhj9ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hCallable}(hhhjGubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj)ubj)}(h[h]h[}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h[h]h[}(hhhjhubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hint}(hhhjvubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj)ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hpyparsing.results.ParseResults}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hj)ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hAny}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj)ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hCallable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj)ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hstr}(hhhj$ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj)ubj)}(h, h]h, }(hhhj7ubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hint}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj)ubj)}(h, h]h, }(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hpyparsing.results.ParseResults}(hhhjfubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hj)ubj)}(h]h]h]}(hhhjyubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubh)}(hhh]hAny}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj)ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj)ubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hj,hhhj>hNubeh}(h ]j'ah"]h$]h&]h(]j pyparsingjhjjAuh*jWhj>hKhj)hhubj)}(hhh](hQ)}(hX(Function to convert a simple predicate function that returns ``True`` or ``False`` into a parse action. Can be used in places when a parse action is required and :class:`ParserElement.add_condition` cannot be used (such as when adding a condition to an operator level in :class:`infix_notation`).h](h=Function to convert a simple predicate function that returns }(h=Function to convert a simple predicate function that returns hjhhhNhNubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh or }(h or hjhhhNhNubhj)}(h ``False``h]hFalse}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhP into a parse action. Can be used in places when a parse action is required and }(hP into a parse action. Can be used in places when a parse action is required and hjhhhNhNubh)}(h$:class:`ParserElement.add_condition`h]hj)}(hjh]hParserElement.add_condition}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhParserElement.add_conditionuh*h~hq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.condition_as_parse_actionhKhjubhI cannot be used (such as when adding a condition to an operator level in }(hI cannot be used (such as when adding a condition to an operator level in hjhhhNhNubh)}(h:class:`infix_notation`h]hj)}(hj+h]hinfix_notation}(hhhj-ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj)ubah}(h ]h"]h$]h&]h(]refdoch refdomainj7reftypeclass refexplicitrefwarnhjhNhinfix_notationuh*h~hj#hKhjubh).}(h).hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj#hKhjhhubhQ)}(hOptional keyword arguments:h]hOptional keyword arguments:}(hjVhjThhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj#hKhjhhubj)}(hhh](j)}(hH``message`` - define a custom message to be used in the raised exceptionh]hQ)}(hjgh](hj)}(h ``message``h]hmessage}(hhhjlubah}(h ]h"]h$]h&]h(]uh*hihjiubh= - define a custom message to be used in the raised exception}(h= - define a custom message to be used in the raised exceptionhjiubeh}(h ]h"]h$]h&]h(]uh*hPhj#hKhjeubah}(h ]h"]h$]h&]h(]uh*jhjbhhhj#hNubj)}(h``fatal`` - if True, will raise :class:`ParseFatalException` to stop parsing immediately; otherwise will raise :class:`ParseException`h]hQ)}(h``fatal`` - if True, will raise :class:`ParseFatalException` to stop parsing immediately; otherwise will raise :class:`ParseException`h](hj)}(h ``fatal``h]hfatal}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - if True, will raise }(h - if True, will raise hjubh)}(h:class:`ParseFatalException`h]hj)}(hjh]hParseFatalException}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhParseFatalExceptionuh*h~hj#hK hjubh3 to stop parsing immediately; otherwise will raise }(h3 to stop parsing immediately; otherwise will raise hjubh)}(h:class:`ParseException`h]hj)}(hjh]hParseException}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhParseExceptionuh*h~hj#hK hjubeh}(h ]h"]h$]h&]h(]uh*hPhj#hK hjubah}(h ]h"]h$]h&]h(]uh*jhjbhhhj#hNubeh}(h ]h"]h$]h&]h(]jjuh*jhj#hKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhj)hhhj>hNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| j j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN$countedArray() (in module pyparsing)pyparsing.countedArrayhNtauh*h,hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.counted_arrayhNubjS)}(hhh](jX)}(hcountedArray(expr: pyparsing.core.ParserElement, int_expr: Optional[pyparsing.core.ParserElement] = None, *, intExpr: Optional[pyparsing.core.ParserElement] = None) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhj!hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.counted_arrayhNubj)}(h countedArrayh]h countedArray}(hhhj0hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj/hNubj)}(hexpr: pyparsing.core.ParserElement, int_expr: Optional[pyparsing.core.ParserElement] = None, *, intExpr: Optional[pyparsing.core.ParserElement] = Noneh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjFubah}(h ]h"]jah$]h&]h(]uh*jhjBubj)}(h:h]h:}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjBubh }(hhhjBubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjfubah}(h ]h"]jah$]h&]h(]uh*jhjBubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj>ubj)}(h7int_expr: Optional[pyparsing.core.ParserElement] = Noneh](j)}(hint_exprh]hint_expr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h&Optional[pyparsing.core.ParserElement]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj>ubj)}(h*h]jZ)}(h*h]h*}(hhhj(ubah}(h ]h"]jfah$]h&]h(]uh*jYhj$ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj>ubj)}(h6intExpr: Optional[pyparsing.core.ParserElement] = Noneh](j)}(hintExprh]hintExpr}(hhhj@ubah}(h ]h"]jah$]h&]h(]uh*jhj<ubj)}(h:h]h:}(hhhjNubah}(h ]h"]jah$]h&]h(]uh*jhj<ubh }(hhhj<ubj)}(h&Optional[pyparsing.core.ParserElement]h](h)}(hhh]hOptional}(hhhjdubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj`ubj)}(h[h]h[}(hhhjwubah}(h ]h"]jah$]h&]h(]uh*jhj`ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj`ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj`ubeh}(h ]h"]jah$]h&]h(]uh*jhj<ubh }(hhhj<ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj<ubh }(hhhj<ubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj<ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj>ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj/hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj/hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjj2uh*jWhj/hKhjhhubj)}(hhh](hQ)}(h/Helper to define a counted list of expressions.h]h/Helper to define a counted list of expressions.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h+This helper defines a pattern of the form::h]h*This helper defines a pattern of the form:}(h*This helper defines a pattern of the form:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hinteger expr expr expr...h]hinteger expr expr expr...}(hhhj!ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hwhere the leading integer tells how many expr expressions follow. The matched tokens returns the array of expr tokens as a list - the leading count token is suppressed.h]hwhere the leading integer tells how many expr expressions follow. The matched tokens returns the array of expr tokens as a list - the leading count token is suppressed.}(hj1hj/hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(haIf ``int_expr`` is specified, it should be a pyparsing expression that produces an integer value.h](hIf }(hIf hj=hhhNhNubhj)}(h ``int_expr``h]hint_expr}(hhhjFubah}(h ]h"]h$]h&]h(]uh*hihj=ubhR is specified, it should be a pyparsing expression that produces an integer value.}(hR is specified, it should be a pyparsing expression that produces an integer value.hj=hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubhQ)}(h Example::h]hExample:}(hExample:hj_hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hXDcounted_array(Word(alphas)).parse_string('2 ab cd ef') # -> ['ab', 'cd'] # in this parser, the leading integer value is given in binary, # '10' indicating that 2 values are in the array binary_constant = Word('01').set_parse_action(lambda t: int(t[0], 2)) counted_array(Word(alphas), int_expr=binary_constant).parse_string('10 ab cd ef') # -> ['ab', 'cd'] # if other fields must be parsed after the count but before the # list items, give the fields results names and they will # be preserved in the returned ParseResults: count_with_metadata = integer + Word(alphas)("type") typed_array = counted_array(Word(alphanums), int_expr=count_with_metadata)("items") result = typed_array.parse_string("3 bool True True False") print(result.dump()) # prints # ['True', 'True', 'False'] # - items: ['True', 'True', 'False'] # - type: 'bool'h]hXDcounted_array(Word(alphas)).parse_string('2 ab cd ef') # -> ['ab', 'cd'] # in this parser, the leading integer value is given in binary, # '10' indicating that 2 values are in the array binary_constant = Word('01').set_parse_action(lambda t: int(t[0], 2)) counted_array(Word(alphas), int_expr=binary_constant).parse_string('10 ab cd ef') # -> ['ab', 'cd'] # if other fields must be parsed after the count but before the # list items, give the fields results names and they will # be preserved in the returned ParseResults: count_with_metadata = integer + Word(alphas)("type") typed_array = counted_array(Word(alphanums), int_expr=count_with_metadata)("items") result = typed_array.parse_string("3 bool True True False") print(result.dump()) # prints # ['True', 'True', 'False'] # - items: ['True', 'True', 'False'] # - type: 'bool'}(hhhjnubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhj/hNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%counted_array() (in module pyparsing)pyparsing.counted_arrayhNtauh*h,hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.counted_arrayhNubjS)}(hhh](jX)}(hcounted_array(expr: pyparsing.core.ParserElement, int_expr: Optional[pyparsing.core.ParserElement] = None, *, intExpr: Optional[pyparsing.core.ParserElement] = None) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.counted_arrayhNubj)}(h counted_arrayh]h counted_array}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hexpr: pyparsing.core.ParserElement, int_expr: Optional[pyparsing.core.ParserElement] = None, *, intExpr: Optional[pyparsing.core.ParserElement] = Noneh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h7int_expr: Optional[pyparsing.core.ParserElement] = Noneh](j)}(hint_exprh]hint_expr}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h&Optional[pyparsing.core.ParserElement]h](h)}(hhh]hOptional}(hhhj0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj,ubj)}(h[h]h[}(hhhjCubah}(h ]h"]jah$]h&]h(]uh*jhj,ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj,ubj)}(h]h]h]}(hhhjdubah}(h ]h"]jah$]h&]h(]uh*jhj,ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj|ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h6intExpr: Optional[pyparsing.core.ParserElement] = Noneh](j)}(hintExprh]hintExpr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h&Optional[pyparsing.core.ParserElement]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj/ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjAubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj`ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj\ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(h/Helper to define a counted list of expressions.h]h/Helper to define a counted list of expressions.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h+This helper defines a pattern of the form::h]h*This helper defines a pattern of the form:}(h*This helper defines a pattern of the form:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hinteger expr expr expr...h]hinteger expr expr expr...}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hwhere the leading integer tells how many expr expressions follow. The matched tokens returns the array of expr tokens as a list - the leading count token is suppressed.h]hwhere the leading integer tells how many expr expressions follow. The matched tokens returns the array of expr tokens as a list - the leading count token is suppressed.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(haIf ``int_expr`` is specified, it should be a pyparsing expression that produces an integer value.h](hIf }(hIf hjhhhNhNubhj)}(h ``int_expr``h]hint_expr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhR is specified, it should be a pyparsing expression that produces an integer value.}(hR is specified, it should be a pyparsing expression that produces an integer value.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hXDcounted_array(Word(alphas)).parse_string('2 ab cd ef') # -> ['ab', 'cd'] # in this parser, the leading integer value is given in binary, # '10' indicating that 2 values are in the array binary_constant = Word('01').set_parse_action(lambda t: int(t[0], 2)) counted_array(Word(alphas), int_expr=binary_constant).parse_string('10 ab cd ef') # -> ['ab', 'cd'] # if other fields must be parsed after the count but before the # list items, give the fields results names and they will # be preserved in the returned ParseResults: count_with_metadata = integer + Word(alphas)("type") typed_array = counted_array(Word(alphanums), int_expr=count_with_metadata)("items") result = typed_array.parse_string("3 bool True True False") print(result.dump()) # prints # ['True', 'True', 'False'] # - items: ['True', 'True', 'False'] # - type: 'bool'h]hXDcounted_array(Word(alphas)).parse_string('2 ab cd ef') # -> ['ab', 'cd'] # in this parser, the leading integer value is given in binary, # '10' indicating that 2 values are in the array binary_constant = Word('01').set_parse_action(lambda t: int(t[0], 2)) counted_array(Word(alphas), int_expr=binary_constant).parse_string('10 ab cd ef') # -> ['ab', 'cd'] # if other fields must be parsed after the count but before the # list items, give the fields results names and they will # be preserved in the returned ParseResults: count_with_metadata = integer + Word(alphas)("type") typed_array = counted_array(Word(alphanums), int_expr=count_with_metadata)("items") result = typed_array.parse_string("3 bool True True False") print(result.dump()) # prints # ['True', 'True', 'False'] # - items: ['True', 'True', 'False'] # - type: 'bool'}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%delimitedList() (in module pyparsing)pyparsing.delimitedListhNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.delimited_listhNubjS)}(hhh](jX)}(hXdelimitedList(expr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Optional[int] = None, max: Optional[int] = None, *, allow_trailing_delim: bool = False) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.delimited_listhNubj)}(h delimitedListh]h delimitedList}(hhhj.hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj-hNubj)}(hexpr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Optional[int] = None, max: Optional[int] = None, *, allow_trailing_delim: bool = Falseh](j)}(h.expr: Union[str, pyparsing.core.ParserElement]h](j)}(hexprh]hexpr}(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhj@ubj)}(h:h]h:}(hhhjRubah}(h ]h"]jah$]h&]h(]uh*jhj@ubh }(hhhj@ubj)}(h(Union[str, pyparsing.core.ParserElement]h](h)}(hhh]hUnion}(hhhjhubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjdubj)}(h[h]h[}(hhhj{ubah}(h ]h"]jah$]h&]h(]uh*jhjdubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjdubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjdubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjdubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjdubeh}(h ]h"]jah$]h&]h(]uh*jhj@ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj<ubj)}(h5delim: Union[str, pyparsing.core.ParserElement] = ','h](j)}(hdelimh]hdelim}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h(Union[str, pyparsing.core.ParserElement]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhj3ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjAubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjlubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(h','h]h','}(hhhj~ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj<ubj)}(hcombine: bool = Falseh](j)}(hcombineh]hcombine}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj<ubj)}(hmin: Optional[int] = Noneh](j)}(hminh]hmin}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhj'ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj#ubj)}(h[h]h[}(hhhj:ubah}(h ]h"]jah$]h&]h(]uh*jhj#ubh)}(hhh]hint}(hhhjHubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj#ubj)}(h]h]h]}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhj#ubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjsubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj<ubj)}(hmax: Optional[int] = Noneh](j)}(hmaxh]hmax}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hNoneh]hNone}(hhhj ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj<ubj)}(h*h]jZ)}(h*h]h*}(hhhj9ubah}(h ]h"]jfah$]h&]h(]uh*jYhj5ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj<ubj)}(h"allow_trailing_delim: bool = Falseh](j)}(hallow_trailing_delimh]hallow_trailing_delim}(hhhjQubah}(h ]h"]jah$]h&]h(]uh*jhjMubj)}(h:h]h:}(hhhj_ubah}(h ]h"]jah$]h&]h(]uh*jhjMubh }(hhhjMubj)}(hboolh]h)}(hhh]hbool}(hhhjuubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjqubah}(h ]h"]jah$]h&]h(]uh*jhjMubh }(hhhjMubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjMubh }(hhhjMubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjMubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj<ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj-hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj-hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjj0uh*jWhj-hKhjhhubj)}(hhh](hQ)}(hXHelper to define a delimited list of expressions - the delimiter defaults to ','. By default, the list elements and delimiters can have intervening whitespace, and comments, but this can be overridden by passing ``combine=True`` in the constructor. If ``combine`` is set to ``True``, the matching tokens are returned as a single token string, with the delimiters included; otherwise, the matching tokens are returned as a list of tokens, with the delimiters suppressed.h](hHelper to define a delimited list of expressions - the delimiter defaults to ‘,’. By default, the list elements and delimiters can have intervening whitespace, and comments, but this can be overridden by passing }(hHelper to define a delimited list of expressions - the delimiter defaults to ','. By default, the list elements and delimiters can have intervening whitespace, and comments, but this can be overridden by passing hjhhhNhNubhj)}(h``combine=True``h]h combine=True}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh in the constructor. If }(h in the constructor. If hjhhhNhNubhj)}(h ``combine``h]hcombine}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh is set to }(h is set to hjhhhNhNubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh, the matching tokens are returned as a single token string, with the delimiters included; otherwise, the matching tokens are returned as a list of tokens, with the delimiters suppressed.}(h, the matching tokens are returned as a single token string, with the delimiters included; otherwise, the matching tokens are returned as a list of tokens, with the delimiters suppressed.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hSIf ``allow_trailing_delim`` is set to True, then the list may end with a delimiter.h](hIf }(hIf hj.hhhNhNubhj)}(h``allow_trailing_delim``h]hallow_trailing_delim}(hhhj7ubah}(h ]h"]h$]h&]h(]uh*hihj.ubh8 is set to True, then the list may end with a delimiter.}(h8 is set to True, then the list may end with a delimiter.hj.hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubhQ)}(h Example::h]hExample:}(hExample:hjPhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubjk)}(hdelimited_list(Word(alphas)).parse_string("aa,bb,cc") # -> ['aa', 'bb', 'cc'] delimited_list(Word(hexnums), delim=':', combine=True).parse_string("AA:BB:CC:DD:EE") # -> ['AA:BB:CC:DD:EE']h]hdelimited_list(Word(alphas)).parse_string("aa,bb,cc") # -> ['aa', 'bb', 'cc'] delimited_list(Word(hexnums), delim=':', combine=True).parse_string("AA:BB:CC:DD:EE") # -> ['AA:BB:CC:DD:EE']}(hhhj_ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhj-hNubeh}(h ]h"]pyah$]h&]h(]jy jvjz functionj| jzj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&delimited_list() (in module pyparsing)pyparsing.delimited_listhNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.delimited_listhNubjS)}(hhh](jX)}(hX delimited_list(expr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Optional[int] = None, max: Optional[int] = None, *, allow_trailing_delim: bool = False) -> pyparsing.core.ParserElement:h](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.delimited_listhNubj)}(hdelimited_listh]hdelimited_list}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hexpr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Optional[int] = None, max: Optional[int] = None, *, allow_trailing_delim: bool = Falseh](j)}(h.expr: Union[str, pyparsing.core.ParserElement]h](j)}(hexprh]hexpr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h(Union[str, pyparsing.core.ParserElement]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhj/ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h5delim: Union[str, pyparsing.core.ParserElement] = ','h](j)}(hdelimh]hdelim}(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhjIubj)}(h:h]h:}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhjIubh }(hhhjIubj)}(h(Union[str, pyparsing.core.ParserElement]h](h)}(hhh]hUnion}(hhhjqubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjmubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjmubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjmubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjmubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjmubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjmubeh}(h ]h"]jah$]h&]h(]uh*jhjIubh }(hhhjIubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjIubh }(hhhjIubjo)}(h','h]h','}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjIubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hcombine: bool = Falseh](j)}(hcombineh]hcombine}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj-ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj)ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjJubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhj\ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hmin: Optional[int] = Noneh](j)}(hminh]hmin}(hhhjuubah}(h ]h"]jah$]h&]h(]uh*jhjqubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjqubh }(hhhjqubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjqubh }(hhhjqubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjqubh }(hhhjqubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjqubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hmax: Optional[int] = Noneh](j)}(hmaxh]hmax}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhj4ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulehpy:classNuh*h~hj0ubj)}(h[h]h[}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhj0ubh)}(hhh]hint}(hhhjUubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj0ubj)}(h]h]h]}(hhhjhubah}(h ]h"]jah$]h&]h(]uh*jhj0ubeh}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubh }(hhhj ubjo)}(hNoneh]hNone}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h"allow_trailing_delim: bool = Falseh](j)}(hallow_trailing_delimh]hallow_trailing_delim}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj5ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj1ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(hXHelper to define a delimited list of expressions - the delimiter defaults to ','. By default, the list elements and delimiters can have intervening whitespace, and comments, but this can be overridden by passing ``combine=True`` in the constructor. If ``combine`` is set to ``True``, the matching tokens are returned as a single token string, with the delimiters included; otherwise, the matching tokens are returned as a list of tokens, with the delimiters suppressed.h](hHelper to define a delimited list of expressions - the delimiter defaults to ‘,’. By default, the list elements and delimiters can have intervening whitespace, and comments, but this can be overridden by passing }(hHelper to define a delimited list of expressions - the delimiter defaults to ','. By default, the list elements and delimiters can have intervening whitespace, and comments, but this can be overridden by passing hjXhhhNhNubhj)}(h``combine=True``h]h combine=True}(hhhjaubah}(h ]h"]h$]h&]h(]uh*hihjXubh in the constructor. If }(h in the constructor. If hjXhhhNhNubhj)}(h ``combine``h]hcombine}(hhhjtubah}(h ]h"]h$]h&]h(]uh*hihjXubh is set to }(h is set to hjXhhhNhNubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjXubh, the matching tokens are returned as a single token string, with the delimiters included; otherwise, the matching tokens are returned as a list of tokens, with the delimiters suppressed.}(h, the matching tokens are returned as a single token string, with the delimiters included; otherwise, the matching tokens are returned as a list of tokens, with the delimiters suppressed.hjXhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjUhhubhQ)}(hSIf ``allow_trailing_delim`` is set to True, then the list may end with a delimiter.h](hIf }(hIf hjhhhNhNubhj)}(h``allow_trailing_delim``h]hallow_trailing_delim}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh8 is set to True, then the list may end with a delimiter.}(h8 is set to True, then the list may end with a delimiter.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjUhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjUhhubjk)}(hdelimited_list(Word(alphas)).parse_string("aa,bb,cc") # -> ['aa', 'bb', 'cc'] delimited_list(Word(hexnums), delim=':', combine=True).parse_string("AA:BB:CC:DD:EE") # -> ['AA:BB:CC:DD:EE']h]hdelimited_list(Word(alphas)).parse_string("aa,bb,cc") # -> ['aa', 'bb', 'cc'] delimited_list(Word(hexnums), delim=':', combine=True).parse_string("AA:BB:CC:DD:EE") # -> ['AA:BB:CC:DD:EE']}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjUhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNdictOf() (in module pyparsing)pyparsing.dictOfhNtauh*h,hjhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.dict_ofhNubjS)}(hhh](jX)}(hndictOf(key: pyparsing.core.ParserElement, value: pyparsing.core.ParserElement) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.dict_ofhNubj)}(hdictOfh]hdictOf}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hFkey: pyparsing.core.ParserElement, value: pyparsing.core.ParserElementh](j)}(h!key: pyparsing.core.ParserElementh](j)}(hkeyh]hkey}(hhhj(ubah}(h ]h"]jah$]h&]h(]uh*jhj$ubj)}(h:h]h:}(hhhj6ubah}(h ]h"]jah$]h&]h(]uh*jhj$ubh }(hhhj$ubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjHubah}(h ]h"]jah$]h&]h(]uh*jhj$ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h#value: pyparsing.core.ParserElementh](j)}(hvalueh]hvalue}(hhhjoubah}(h ]h"]jah$]h&]h(]uh*jhjkubj)}(h:h]h:}(hhhj}ubah}(h ]h"]jah$]h&]h(]uh*jhjkubh }(hhhjkubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjkubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(hXHelper to easily and clearly define a dictionary by specifying the respective patterns for the key and value. Takes care of defining the :class:`Dict`, :class:`ZeroOrMore`, and :class:`Group` tokens in the proper order. The key pattern can include delimiting markers or punctuation, as long as they are suppressed, thereby leaving the significant key text. The value pattern can include named results, so that the :class:`Dict` results can include named token fields.h](hHelper to easily and clearly define a dictionary by specifying the respective patterns for the key and value. Takes care of defining the }(hHelper to easily and clearly define a dictionary by specifying the respective patterns for the key and value. Takes care of defining the hjhhhNhNubh)}(h :class:`Dict`h]hj)}(hjh]hDict}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhDictuh*h~hjhKhjubh, }(h, hjhhhNhNubh)}(h:class:`ZeroOrMore`h]hj)}(hjh]h ZeroOrMore}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj ubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNh ZeroOrMoreuh*h~hjhKhjubh, and }(h, and hjhhhNhNubh)}(h:class:`Group`h]hj)}(hj4h]hGroup}(hhhj6ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj2ubah}(h ]h"]h$]h&]h(]refdoch refdomainj@reftypeclass refexplicitrefwarnhjhNhGroupuh*h~hjhKhjubh tokens in the proper order. The key pattern can include delimiting markers or punctuation, as long as they are suppressed, thereby leaving the significant key text. The value pattern can include named results, so that the }(h tokens in the proper order. The key pattern can include delimiting markers or punctuation, as long as they are suppressed, thereby leaving the significant key text. The value pattern can include named results, so that the hjhhhNhNubh)}(h :class:`Dict`h]hj)}(hjYh]hDict}(hhhj[ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjWubah}(h ]h"]h$]h&]h(]refdoch refdomainjereftypeclass refexplicitrefwarnhjhNhDictuh*h~hjhKhjubh( results can include named token fields.}(h( results can include named token fields.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubjk)}(hX6text = "shape: SQUARE posn: upper left color: light blue texture: burlap" attr_expr = (label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) print(attr_expr[1, ...].parse_string(text).dump()) attr_label = label attr_value = Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join) # similar to Dict, but simpler call format result = dict_of(attr_label, attr_value).parse_string(text) print(result.dump()) print(result['shape']) print(result.shape) # object attribute access works too print(result.as_dict())h]hX6text = "shape: SQUARE posn: upper left color: light blue texture: burlap" attr_expr = (label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) print(attr_expr[1, ...].parse_string(text).dump()) attr_label = label attr_value = Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join) # similar to Dict, but simpler call format result = dict_of(attr_label, attr_value).parse_string(text) print(result.dump()) print(result['shape']) print(result.shape) # object attribute access works too print(result.as_dict())}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK hjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hX[['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'light blue'], ['texture', 'burlap']] - color: 'light blue' - posn: 'upper left' - shape: 'SQUARE' - texture: 'burlap' SQUARE SQUARE {'color': 'light blue', 'shape': 'SQUARE', 'posn': 'upper left', 'texture': 'burlap'}h]hX[['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'light blue'], ['texture', 'burlap']] - color: 'light blue' - posn: 'upper left' - shape: 'SQUARE' - texture: 'burlap' SQUARE SQUARE {'color': 'light blue', 'shape': 'SQUARE', 'posn': 'upper left', 'texture': 'burlap'}}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNdict_of() (in module pyparsing)pyparsing.dict_ofhNtauh*h,hjhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.dict_ofhNubjS)}(hhh](jX)}(hodict_of(key: pyparsing.core.ParserElement, value: pyparsing.core.ParserElement) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.dict_ofhNubj)}(hdict_ofh]hdict_of}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hFkey: pyparsing.core.ParserElement, value: pyparsing.core.ParserElementh](j)}(h!key: pyparsing.core.ParserElementh](j)}(hkeyh]hkey}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj)ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj%ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h#value: pyparsing.core.ParserElementh](j)}(hvalueh]hvalue}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjHubj)}(h:h]h:}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjHubh }(hhhjHubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjpubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjlubah}(h ]h"]jah$]h&]h(]uh*jhjHubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(hXHelper to easily and clearly define a dictionary by specifying the respective patterns for the key and value. Takes care of defining the :class:`Dict`, :class:`ZeroOrMore`, and :class:`Group` tokens in the proper order. The key pattern can include delimiting markers or punctuation, as long as they are suppressed, thereby leaving the significant key text. The value pattern can include named results, so that the :class:`Dict` results can include named token fields.h](hHelper to easily and clearly define a dictionary by specifying the respective patterns for the key and value. Takes care of defining the }(hHelper to easily and clearly define a dictionary by specifying the respective patterns for the key and value. Takes care of defining the hjhhhNhNubh)}(h :class:`Dict`h]hj)}(hjh]hDict}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhDictuh*h~hjhKhjubh, }(h, hjhhhNhNubh)}(h:class:`ZeroOrMore`h]hj)}(hjh]h ZeroOrMore}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNh ZeroOrMoreuh*h~hjhKhjubh, and }(h, and hjhhhNhNubh)}(h:class:`Group`h]hj)}(hjh]hGroup}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhGroupuh*h~hjhKhjubh tokens in the proper order. The key pattern can include delimiting markers or punctuation, as long as they are suppressed, thereby leaving the significant key text. The value pattern can include named results, so that the }(h tokens in the proper order. The key pattern can include delimiting markers or punctuation, as long as they are suppressed, thereby leaving the significant key text. The value pattern can include named results, so that the hjhhhNhNubh)}(h :class:`Dict`h]hj)}(hj6h]hDict}(hhhj8ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj4ubah}(h ]h"]h$]h&]h(]refdoch refdomainjBreftypeclass refexplicitrefwarnhjhNhDictuh*h~hjhKhjubh( results can include named token fields.}(h( results can include named token fields.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hj_hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubjk)}(hX6text = "shape: SQUARE posn: upper left color: light blue texture: burlap" attr_expr = (label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) print(attr_expr[1, ...].parse_string(text).dump()) attr_label = label attr_value = Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join) # similar to Dict, but simpler call format result = dict_of(attr_label, attr_value).parse_string(text) print(result.dump()) print(result['shape']) print(result.shape) # object attribute access works too print(result.as_dict())h]hX6text = "shape: SQUARE posn: upper left color: light blue texture: burlap" attr_expr = (label + Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join)) print(attr_expr[1, ...].parse_string(text).dump()) attr_label = label attr_value = Suppress(':') + OneOrMore(data_word, stop_on=label).set_parse_action(' '.join) # similar to Dict, but simpler call format result = dict_of(attr_label, attr_value).parse_string(text) print(result.dump()) print(result['shape']) print(result.shape) # object attribute access works too print(result.as_dict())}(hhhjnubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK hjhhubhQ)}(hprints::h]hprints:}(hprints:hj|hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hX[['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'light blue'], ['texture', 'burlap']] - color: 'light blue' - posn: 'upper left' - shape: 'SQUARE' - texture: 'burlap' SQUARE SQUARE {'color': 'light blue', 'shape': 'SQUARE', 'posn': 'upper left', 'texture': 'burlap'}h]hX[['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'light blue'], ['texture', 'burlap']] - color: 'light blue' - posn: 'upper left' - shape: 'SQUARE' - texture: 'burlap' SQUARE SQUARE {'color': 'light blue', 'shape': 'SQUARE', 'posn': 'upper left', 'texture': 'burlap'}}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%indentedBlock() (in module pyparsing)pyparsing.indentedBlockhNtauh*h,hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.indentedBlockhNubjS)}(hhh](jX)}(hMindentedBlock(blockStatementExpr, indentStack, indent=True, backup_stacks=[])h](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.indentedBlockhNubj)}(h indentedBlockh]h indentedBlock}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h>blockStatementExpr, indentStack, indent=True, backup_stacks=[]h](j)}(hblockStatementExprh]j)}(hblockStatementExprh]hblockStatementExpr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h indentStackh]j)}(h indentStackh]h indentStack}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h indent=Trueh](j)}(hindenth]hindent}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubjZ)}(h=h]h=}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubjo)}(hTrueh]hTrue}(hhhj.ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hbackup_stacks=[]h](j)}(h backup_stacksh]h backup_stacks}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhjCubjZ)}(h=h]h=}(hhhjUubah}(h ]h"]jfah$]h&]h(]uh*jYhjCubjo)}(h[]h]h[]}(hhhjcubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjCubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(h(DEPRECATED - use IndentedBlock class instead) Helper method for defining space-delimited indentation blocks, such as those used to define block statements in Python source code.h]h(DEPRECATED - use IndentedBlock class instead) Helper method for defining space-delimited indentation blocks, such as those used to define block statements in Python source code.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Parameters:h]h Parameters:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj)}(hhh](j)}(hk``blockStatementExpr`` - expression defining syntax of statement that is repeated within the indented blockh]hQ)}(hk``blockStatementExpr`` - expression defining syntax of statement that is repeated within the indented blockh](hj)}(h``blockStatementExpr``h]hblockStatementExpr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhU - expression defining syntax of statement that is repeated within the indented block}(hU - expression defining syntax of statement that is repeated within the indented blockhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(h``indentStack`` - list created by caller to manage indentation stack (multiple ``statementWithIndentedBlock`` expressions within a single grammar should share a common ``indentStack``)h]hQ)}(h``indentStack`` - list created by caller to manage indentation stack (multiple ``statementWithIndentedBlock`` expressions within a single grammar should share a common ``indentStack``)h](hj)}(h``indentStack``h]h indentStack}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh@ - list created by caller to manage indentation stack (multiple }(h@ - list created by caller to manage indentation stack (multiple hjubhj)}(h``statementWithIndentedBlock``h]hstatementWithIndentedBlock}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh; expressions within a single grammar should share a common }(h; expressions within a single grammar should share a common hjubhj)}(h``indentStack``h]h indentStack}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(h``indent`` - boolean indicating whether block must be indented beyond the current level; set to ``False`` for block of left-most statements (default= ``True``) h]hQ)}(h``indent`` - boolean indicating whether block must be indented beyond the current level; set to ``False`` for block of left-most statements (default= ``True``)h](hj)}(h ``indent``h]hindent}(hhhj"ubah}(h ]h"]h$]h&]h(]uh*hihjubhV - boolean indicating whether block must be indented beyond the current level; set to }(hV - boolean indicating whether block must be indented beyond the current level; set to hjubhj)}(h ``False``h]hFalse}(hhhj5ubah}(h ]h"]h$]h&]h(]uh*hihjubh- for block of left-most statements (default= }(h- for block of left-most statements (default= hjubhj)}(h``True``h]hTrue}(hhhjHubah}(h ]h"]h$]h&]h(]uh*hihjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhKhjhhubhQ)}(h;A valid block must contain at least one ``blockStatement``.h](h(A valid block must contain at least one }(h(A valid block must contain at least one hjlhhhNhNubhj)}(h``blockStatement``h]hblockStatement}(hhhjuubah}(h ]h"]h$]h&]h(]uh*hihjlubh.}(hjhjlhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hf(Note that indentedBlock uses internal parse actions which make it incompatible with packrat parsing.)h]hf(Note that indentedBlock uses internal parse actions which make it incompatible with packrat parsing.)}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hXdata = ''' def A(z): A1 B = 100 G = A2 A2 A3 B def BB(a,b,c): BB1 def BBA(): bba1 bba2 bba3 C D def spam(x,y): def eggs(z): pass ''' indentStack = [1] stmt = Forward() identifier = Word(alphas, alphanums) funcDecl = ("def" + identifier + Group("(" + Opt(delimitedList(identifier)) + ")") + ":") func_body = indentedBlock(stmt, indentStack) funcDef = Group(funcDecl + func_body) rvalue = Forward() funcCall = Group(identifier + "(" + Opt(delimitedList(rvalue)) + ")") rvalue << (funcCall | identifier | Word(nums)) assignment = Group(identifier + "=" + rvalue) stmt << (funcDef | assignment | identifier) module_body = stmt[1, ...] parseTree = module_body.parseString(data) parseTree.pprint()h]hXdata = ''' def A(z): A1 B = 100 G = A2 A2 A3 B def BB(a,b,c): BB1 def BBA(): bba1 bba2 bba3 C D def spam(x,y): def eggs(z): pass ''' indentStack = [1] stmt = Forward() identifier = Word(alphas, alphanums) funcDecl = ("def" + identifier + Group("(" + Opt(delimitedList(identifier)) + ")") + ":") func_body = indentedBlock(stmt, indentStack) funcDef = Group(funcDecl + func_body) rvalue = Forward() funcCall = Group(identifier + "(" + Opt(delimitedList(rvalue)) + ")") rvalue << (funcCall | identifier | Word(nums)) assignment = Group(identifier + "=" + rvalue) stmt << (funcDef | assignment | identifier) module_body = stmt[1, ...] parseTree = module_body.parseString(data) parseTree.pprint()}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK@hjhhubjk)}(hXs[['def', 'A', ['(', 'z', ')'], ':', [['A1'], [['B', '=', '100']], [['G', '=', 'A2']], ['A2'], ['A3']]], 'B', ['def', 'BB', ['(', 'a', 'b', 'c', ')'], ':', [['BB1'], [['def', 'BBA', ['(', ')'], ':', [['bba1'], ['bba2'], ['bba3']]]]]], 'C', 'D', ['def', 'spam', ['(', 'x', 'y', ')'], ':', [[['def', 'eggs', ['(', 'z', ')'], ':', [['pass']]]]]]]h]hXs[['def', 'A', ['(', 'z', ')'], ':', [['A1'], [['B', '=', '100']], [['G', '=', 'A2']], ['A2'], ['A3']]], 'B', ['def', 'BB', ['(', 'a', 'b', 'c', ')'], ':', [['BB1'], [['def', 'BBA', ['(', ')'], ':', [['bba1'], ['bba2'], ['bba3']]]]]], 'C', 'D', ['def', 'spam', ['(', 'x', 'y', ')'], ':', [[['def', 'eggs', ['(', 'z', ')'], ':', [['pass']]]]]]]}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKBhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%infixNotation() (in module pyparsing)pyparsing.infixNotationhNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.infix_notationhNubjS)}(hhh](jX)}(hX infixNotation(base_expr: pyparsing.core.ParserElement, op_list: List[Union[Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, Optional[Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]]], Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')')) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.infix_notationhNubj)}(h infixNotationh]h infixNotation}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hX(base_expr: pyparsing.core.ParserElement, op_list: List[Union[Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, Optional[Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]]], Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')'))h]j)}(hXbase_expr: pyparsing.core.ParserElement, op_list: List[Union[Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, Optional[Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]]], Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')')h]hXbase_expr: pyparsing.core.ParserElement, op_list: List[Union[Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, Optional[Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]]], Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')')}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj2ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj.ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjj uh*jWhjhKhjhhubj)}(hhh](hQ)}(hX`Helper method for constructing grammars of expressions made up of operators working in a precedence hierarchy. Operators may be unary or binary, left- or right-associative. Parse actions can also be attached to operator expressions. The generated parser will also recognize the use of parentheses to override operator precedences (see example below).h]hX`Helper method for constructing grammars of expressions made up of operators working in a precedence hierarchy. Operators may be unary or binary, left- or right-associative. Parse actions can also be attached to operator expressions. The generated parser will also recognize the use of parentheses to override operator precedences (see example below).}(hjWhjUhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjRhhubhQ)}(hNote: if you define a deep operator list, you may see performance issues when using infix_notation. See :class:`ParserElement.enable_packrat` for a mechanism to potentially improve your parser performance.h](hhNote: if you define a deep operator list, you may see performance issues when using infix_notation. See }(hhNote: if you define a deep operator list, you may see performance issues when using infix_notation. See hjchhhNhNubh)}(h%:class:`ParserElement.enable_packrat`h]hj)}(hjnh]hParserElement.enable_packrat}(hhhjpubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjlubah}(h ]h"]h$]h&]h(]refdoch refdomainjzreftypeclass refexplicitrefwarnhjQhNhParserElement.enable_packratuh*h~hjhKhjcubh@ for a mechanism to potentially improve your parser performance.}(h@ for a mechanism to potentially improve your parser performance.hjchhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjRhhubhQ)}(hOParameters: - ``base_expr`` - expression representing the most basic operand toh](hParameters: - }(hParameters: - hjhhhNhNubhj)}(h ``base_expr``h]h base_expr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh4 - expression representing the most basic operand to}(h4 - expression representing the most basic operand tohjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjRhhubj)}(hhh]hQ)}(hbe used in the expressionh]hbe used in the expression}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjRhhhjhNubj)}(hhh](j)}(hX``op_list`` - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form ``(op_expr, num_operands, right_left_assoc, (optional)parse_action)``, where: - ``op_expr`` is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if ``num_operands`` is 3, ``op_expr`` is a tuple of two expressions, for the two operators separating the 3 terms - ``num_operands`` is the number of terms for this operator (must be 1, 2, or 3) - ``right_left_assoc`` is the indicator whether the operator is right or left associative, using the pyparsing-defined constants ``OpAssoc.RIGHT`` and ``OpAssoc.LEFT``. - ``parse_action`` is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted); if the parse action is passed a tuple or list of functions, this is equivalent to calling ``set_parse_action(*fn)`` (:class:`ParserElement.set_parse_action`)h](hQ)}(h``op_list`` - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form ``(op_expr, num_operands, right_left_assoc, (optional)parse_action)``, where:h](hj)}(h ``op_list``h]hop_list}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubho - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form }(ho - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form hjubhj)}(hE``(op_expr, num_operands, right_left_assoc, (optional)parse_action)``h]hA(op_expr, num_operands, right_left_assoc, (optional)parse_action)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh, where:}(h, where:hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubj)}(hhh](j)}(h``op_expr`` is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if ``num_operands`` is 3, ``op_expr`` is a tuple of two expressions, for the two operators separating the 3 termsh]hQ)}(h``op_expr`` is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if ``num_operands`` is 3, ``op_expr`` is a tuple of two expressions, for the two operators separating the 3 termsh](hj)}(h ``op_expr``h]hop_expr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhn is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if }(hn is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if hjubhj)}(h``num_operands``h]h num_operands}(hhhj%ubah}(h ]h"]h$]h&]h(]uh*hihjubh is 3, }(h is 3, hjubhj)}(h ``op_expr``h]hop_expr}(hhhj8ubah}(h ]h"]h$]h&]h(]uh*hihjubhL is a tuple of two expressions, for the two operators separating the 3 terms}(hL is a tuple of two expressions, for the two operators separating the 3 termshjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj ubah}(h ]h"]h$]h&]h(]uh*jhjubj)}(hN``num_operands`` is the number of terms for this operator (must be 1, 2, or 3)h]hQ)}(hN``num_operands`` is the number of terms for this operator (must be 1, 2, or 3)h](hj)}(h``num_operands``h]h num_operands}(hhhj_ubah}(h ]h"]h$]h&]h(]uh*hihj[ubh> is the number of terms for this operator (must be 1, 2, or 3)}(h> is the number of terms for this operator (must be 1, 2, or 3)hj[ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjWubah}(h ]h"]h$]h&]h(]uh*jhjubj)}(h``right_left_assoc`` is the indicator whether the operator is right or left associative, using the pyparsing-defined constants ``OpAssoc.RIGHT`` and ``OpAssoc.LEFT``.h]hQ)}(h``right_left_assoc`` is the indicator whether the operator is right or left associative, using the pyparsing-defined constants ``OpAssoc.RIGHT`` and ``OpAssoc.LEFT``.h](hj)}(h``right_left_assoc``h]hright_left_assoc}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhk is the indicator whether the operator is right or left associative, using the pyparsing-defined constants }(hk is the indicator whether the operator is right or left associative, using the pyparsing-defined constants hjubhj)}(h``OpAssoc.RIGHT``h]h OpAssoc.RIGHT}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh and }(h and hjubhj)}(h``OpAssoc.LEFT``h]h OpAssoc.LEFT}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh.}(hjhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj~ubah}(h ]h"]h$]h&]h(]uh*jhjubj)}(hX6``parse_action`` is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted); if the parse action is passed a tuple or list of functions, this is equivalent to calling ``set_parse_action(*fn)`` (:class:`ParserElement.set_parse_action`)h]hQ)}(hX6``parse_action`` is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted); if the parse action is passed a tuple or list of functions, this is equivalent to calling ``set_parse_action(*fn)`` (:class:`ParserElement.set_parse_action`)h](hj)}(h``parse_action``h]h parse_action}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted); if the parse action is passed a tuple or list of functions, this is equivalent to calling }(h is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted); if the parse action is passed a tuple or list of functions, this is equivalent to calling hjubhj)}(h``set_parse_action(*fn)``h]hset_parse_action(*fn)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh (}(h (hjubh)}(h':class:`ParserElement.set_parse_action`h]hj)}(hjh]hParserElement.set_parse_action}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjQhNhParserElement.set_parse_actionuh*h~hjhKhjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jjuh*jhjhKhjubeh}(h ]h"]h$]h&]h(]uh*jhjhhhNhNubj)}(hX``lpar`` - expression for matching left-parentheses; if passed as a str, then will be parsed as Suppress(lpar). If lpar is passed as an expression (such as ``Literal('(')``), then it will be kept in the parsed results, and grouped with them. (default= ``Suppress('(')``)h]hQ)}(hX``lpar`` - expression for matching left-parentheses; if passed as a str, then will be parsed as Suppress(lpar). If lpar is passed as an expression (such as ``Literal('(')``), then it will be kept in the parsed results, and grouped with them. (default= ``Suppress('(')``)h](hj)}(h``lpar``h]hlpar}(hhhj<ubah}(h ]h"]h$]h&]h(]uh*hihj8ubh - expression for matching left-parentheses; if passed as a str, then will be parsed as Suppress(lpar). If lpar is passed as an expression (such as }(h - expression for matching left-parentheses; if passed as a str, then will be parsed as Suppress(lpar). If lpar is passed as an expression (such as hj8ubhj)}(h``Literal('(')``h]h Literal('(')}(hhhjOubah}(h ]h"]h$]h&]h(]uh*hihj8ubhP), then it will be kept in the parsed results, and grouped with them. (default= }(hP), then it will be kept in the parsed results, and grouped with them. (default= hj8ubhj)}(h``Suppress('(')``h]h Suppress('(')}(hhhjbubah}(h ]h"]h$]h&]h(]uh*hihj8ubh)}(hj_hj8ubeh}(h ]h"]h$]h&]h(]uh*hPhjhK#hj4ubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hX``rpar`` - expression for matching right-parentheses; if passed as a str, then will be parsed as Suppress(rpar). If rpar is passed as an expression (such as ``Literal(')')``), then it will be kept in the parsed results, and grouped with them. (default= ``Suppress(')')``) h]hQ)}(hX``rpar`` - expression for matching right-parentheses; if passed as a str, then will be parsed as Suppress(rpar). If rpar is passed as an expression (such as ``Literal(')')``), then it will be kept in the parsed results, and grouped with them. (default= ``Suppress(')')``)h](hj)}(h``rpar``h]hrpar}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - expression for matching right-parentheses; if passed as a str, then will be parsed as Suppress(rpar). If rpar is passed as an expression (such as }(h - expression for matching right-parentheses; if passed as a str, then will be parsed as Suppress(rpar). If rpar is passed as an expression (such as hjubhj)}(h``Literal(')')``h]h Literal(')')}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhP), then it will be kept in the parsed results, and grouped with them. (default= }(hP), then it will be kept in the parsed results, and grouped with them. (default= hjubhj)}(h``Suppress(')')``h]h Suppress(')')}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK'hjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhKhjRhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK,hjRhhubjk)}(hX# simple example of four-function arithmetic with ints and # variable names integer = pyparsing_common.signed_integer varname = pyparsing_common.identifier arith_expr = infix_notation(integer | varname, [ ('-', 1, OpAssoc.RIGHT), (one_of('* /'), 2, OpAssoc.LEFT), (one_of('+ -'), 2, OpAssoc.LEFT), ]) arith_expr.run_tests(''' 5+3*6 (5+3)*6 -2--11 ''', full_dump=False)h]hX# simple example of four-function arithmetic with ints and # variable names integer = pyparsing_common.signed_integer varname = pyparsing_common.identifier arith_expr = infix_notation(integer | varname, [ ('-', 1, OpAssoc.RIGHT), (one_of('* /'), 2, OpAssoc.LEFT), (one_of('+ -'), 2, OpAssoc.LEFT), ]) arith_expr.run_tests(''' 5+3*6 (5+3)*6 -2--11 ''', full_dump=False)}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK.hjRhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK@hjRhhubjk)}(hc5+3*6 [[5, '+', [3, '*', 6]]] (5+3)*6 [[[5, '+', 3], '*', 6]] -2--11 [[['-', 2], '-', ['-', 11]]]h]hc5+3*6 [[5, '+', [3, '*', 6]]] (5+3)*6 [[[5, '+', 3], '*', 6]] -2--11 [[['-', 2], '-', ['-', 11]]]}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKBhjRhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&infix_notation() (in module pyparsing)pyparsing.infix_notationhNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.infix_notationhNubjS)}(hhh](jX)}(hX infix_notation(base_expr: pyparsing.core.ParserElement, op_list: List[Union[Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, Optional[Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]]], Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')')) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhj0hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj,hhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.infix_notationhNubj)}(hinfix_notationh]hinfix_notation}(hhhj?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj,hhhj>hNubj)}(hX(base_expr: pyparsing.core.ParserElement, op_list: List[Union[Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, Optional[Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]]], Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')'))h]j)}(hXbase_expr: pyparsing.core.ParserElement, op_list: List[Union[Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, Optional[Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]]], Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')')h]hXbase_expr: pyparsing.core.ParserElement, op_list: List[Union[Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, Optional[Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]]], Tuple[Union[pyparsing.core.ParserElement, str, Tuple[Union[pyparsing.core.ParserElement, str], Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')')}(hhhjQubah}(h ]h"]h$]h&]h(]jzj{uh*jhjMubah}(h ]h"]h$]h&]h(]jzj{uh*jhj,hhhj>hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjiubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjeubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj,hhhj>hNubeh}(h ]j&ah"]h$]h&]h(]j pyparsingjhjjAuh*jWhj>hKhj)hhubj)}(hhh](hQ)}(hX`Helper method for constructing grammars of expressions made up of operators working in a precedence hierarchy. Operators may be unary or binary, left- or right-associative. Parse actions can also be attached to operator expressions. The generated parser will also recognize the use of parentheses to override operator precedences (see example below).h]hX`Helper method for constructing grammars of expressions made up of operators working in a precedence hierarchy. Operators may be unary or binary, left- or right-associative. Parse actions can also be attached to operator expressions. The generated parser will also recognize the use of parentheses to override operator precedences (see example below).}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj(hKhjhhubhQ)}(hNote: if you define a deep operator list, you may see performance issues when using infix_notation. See :class:`ParserElement.enable_packrat` for a mechanism to potentially improve your parser performance.h](hhNote: if you define a deep operator list, you may see performance issues when using infix_notation. See }(hhNote: if you define a deep operator list, you may see performance issues when using infix_notation. See hjhhhNhNubh)}(h%:class:`ParserElement.enable_packrat`h]hj)}(hjh]hParserElement.enable_packrat}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhParserElement.enable_packratuh*h~hj(hKhjubh@ for a mechanism to potentially improve your parser performance.}(h@ for a mechanism to potentially improve your parser performance.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj(hKhjhhubhQ)}(hOParameters: - ``base_expr`` - expression representing the most basic operand toh](hParameters: - }(hParameters: - hjhhhNhNubhj)}(h ``base_expr``h]h base_expr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh4 - expression representing the most basic operand to}(h4 - expression representing the most basic operand tohjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj(hK hjhhubj)}(hhh]hQ)}(hbe used in the expressionh]hbe used in the expression}(hjhjubah}(h ]h"]h$]h&]h(]uh*hPhj(hKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhj(hNubj)}(hhh](j)}(hX``op_list`` - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form ``(op_expr, num_operands, right_left_assoc, (optional)parse_action)``, where: - ``op_expr`` is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if ``num_operands`` is 3, ``op_expr`` is a tuple of two expressions, for the two operators separating the 3 terms - ``num_operands`` is the number of terms for this operator (must be 1, 2, or 3) - ``right_left_assoc`` is the indicator whether the operator is right or left associative, using the pyparsing-defined constants ``OpAssoc.RIGHT`` and ``OpAssoc.LEFT``. - ``parse_action`` is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted); if the parse action is passed a tuple or list of functions, this is equivalent to calling ``set_parse_action(*fn)`` (:class:`ParserElement.set_parse_action`)h](hQ)}(h``op_list`` - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form ``(op_expr, num_operands, right_left_assoc, (optional)parse_action)``, where:h](hj)}(h ``op_list``h]hop_list}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubho - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form }(ho - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form hjubhj)}(hE``(op_expr, num_operands, right_left_assoc, (optional)parse_action)``h]hA(op_expr, num_operands, right_left_assoc, (optional)parse_action)}(hhhj%ubah}(h ]h"]h$]h&]h(]uh*hihjubh, where:}(h, where:hjubeh}(h ]h"]h$]h&]h(]uh*hPhj(hKhj ubj)}(hhh](j)}(h``op_expr`` is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if ``num_operands`` is 3, ``op_expr`` is a tuple of two expressions, for the two operators separating the 3 termsh]hQ)}(h``op_expr`` is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if ``num_operands`` is 3, ``op_expr`` is a tuple of two expressions, for the two operators separating the 3 termsh](hj)}(h ``op_expr``h]hop_expr}(hhhjIubah}(h ]h"]h$]h&]h(]uh*hihjEubhn is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if }(hn is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if hjEubhj)}(h``num_operands``h]h num_operands}(hhhj\ubah}(h ]h"]h$]h&]h(]uh*hihjEubh is 3, }(h is 3, hjEubhj)}(h ``op_expr``h]hop_expr}(hhhjoubah}(h ]h"]h$]h&]h(]uh*hihjEubhL is a tuple of two expressions, for the two operators separating the 3 terms}(hL is a tuple of two expressions, for the two operators separating the 3 termshjEubeh}(h ]h"]h$]h&]h(]uh*hPhj(hKhjAubah}(h ]h"]h$]h&]h(]uh*jhj>ubj)}(hN``num_operands`` is the number of terms for this operator (must be 1, 2, or 3)h]hQ)}(hN``num_operands`` is the number of terms for this operator (must be 1, 2, or 3)h](hj)}(h``num_operands``h]h num_operands}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh> is the number of terms for this operator (must be 1, 2, or 3)}(h> is the number of terms for this operator (must be 1, 2, or 3)hjubeh}(h ]h"]h$]h&]h(]uh*hPhj(hKhjubah}(h ]h"]h$]h&]h(]uh*jhj>ubj)}(h``right_left_assoc`` is the indicator whether the operator is right or left associative, using the pyparsing-defined constants ``OpAssoc.RIGHT`` and ``OpAssoc.LEFT``.h]hQ)}(h``right_left_assoc`` is the indicator whether the operator is right or left associative, using the pyparsing-defined constants ``OpAssoc.RIGHT`` and ``OpAssoc.LEFT``.h](hj)}(h``right_left_assoc``h]hright_left_assoc}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhk is the indicator whether the operator is right or left associative, using the pyparsing-defined constants }(hk is the indicator whether the operator is right or left associative, using the pyparsing-defined constants hjubhj)}(h``OpAssoc.RIGHT``h]h OpAssoc.RIGHT}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh and }(h and hjubhj)}(h``OpAssoc.LEFT``h]h OpAssoc.LEFT}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh.}(hjhjubeh}(h ]h"]h$]h&]h(]uh*hPhj(hKhjubah}(h ]h"]h$]h&]h(]uh*jhj>ubj)}(hX6``parse_action`` is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted); if the parse action is passed a tuple or list of functions, this is equivalent to calling ``set_parse_action(*fn)`` (:class:`ParserElement.set_parse_action`)h]hQ)}(hX6``parse_action`` is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted); if the parse action is passed a tuple or list of functions, this is equivalent to calling ``set_parse_action(*fn)`` (:class:`ParserElement.set_parse_action`)h](hj)}(h``parse_action``h]h parse_action}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihjubh is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted); if the parse action is passed a tuple or list of functions, this is equivalent to calling }(h is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted); if the parse action is passed a tuple or list of functions, this is equivalent to calling hjubhj)}(h``set_parse_action(*fn)``h]hset_parse_action(*fn)}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh (}(h (hjubh)}(h':class:`ParserElement.set_parse_action`h]hj)}(hj1h]hParserElement.set_parse_action}(hhhj3ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj/ubah}(h ]h"]h$]h&]h(]refdoch refdomainj=reftypeclass refexplicitrefwarnhjhNhParserElement.set_parse_actionuh*h~hj(hKhjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhj(hKhjubah}(h ]h"]h$]h&]h(]uh*jhj>ubeh}(h ]h"]h$]h&]h(]jjuh*jhj(hKhj ubeh}(h ]h"]h$]h&]h(]uh*jhjhhhNhNubj)}(hX``lpar`` - expression for matching left-parentheses; if passed as a str, then will be parsed as Suppress(lpar). If lpar is passed as an expression (such as ``Literal('(')``), then it will be kept in the parsed results, and grouped with them. (default= ``Suppress('(')``)h]hQ)}(hX``lpar`` - expression for matching left-parentheses; if passed as a str, then will be parsed as Suppress(lpar). If lpar is passed as an expression (such as ``Literal('(')``), then it will be kept in the parsed results, and grouped with them. (default= ``Suppress('(')``)h](hj)}(h``lpar``h]hlpar}(hhhjsubah}(h ]h"]h$]h&]h(]uh*hihjoubh - expression for matching left-parentheses; if passed as a str, then will be parsed as Suppress(lpar). If lpar is passed as an expression (such as }(h - expression for matching left-parentheses; if passed as a str, then will be parsed as Suppress(lpar). If lpar is passed as an expression (such as hjoubhj)}(h``Literal('(')``h]h Literal('(')}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjoubhP), then it will be kept in the parsed results, and grouped with them. (default= }(hP), then it will be kept in the parsed results, and grouped with them. (default= hjoubhj)}(h``Suppress('(')``h]h Suppress('(')}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjoubh)}(hj_hjoubeh}(h ]h"]h$]h&]h(]uh*hPhj(hK#hjkubah}(h ]h"]h$]h&]h(]uh*jhjhhhj(hNubj)}(hX``rpar`` - expression for matching right-parentheses; if passed as a str, then will be parsed as Suppress(rpar). If rpar is passed as an expression (such as ``Literal(')')``), then it will be kept in the parsed results, and grouped with them. (default= ``Suppress(')')``) h]hQ)}(hX``rpar`` - expression for matching right-parentheses; if passed as a str, then will be parsed as Suppress(rpar). If rpar is passed as an expression (such as ``Literal(')')``), then it will be kept in the parsed results, and grouped with them. (default= ``Suppress(')')``)h](hj)}(h``rpar``h]hrpar}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - expression for matching right-parentheses; if passed as a str, then will be parsed as Suppress(rpar). If rpar is passed as an expression (such as }(h - expression for matching right-parentheses; if passed as a str, then will be parsed as Suppress(rpar). If rpar is passed as an expression (such as hjubhj)}(h``Literal(')')``h]h Literal(')')}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhP), then it will be kept in the parsed results, and grouped with them. (default= }(hP), then it will be kept in the parsed results, and grouped with them. (default= hjubhj)}(h``Suppress(')')``h]h Suppress(')')}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhj(hK'hjubah}(h ]h"]h$]h&]h(]uh*jhjhhhj(hNubeh}(h ]h"]h$]h&]h(]jjuh*jhj(hKhjhhubhQ)}(h Example::h]hExample:}(hExample:hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj(hK,hjhhubjk)}(hX# simple example of four-function arithmetic with ints and # variable names integer = pyparsing_common.signed_integer varname = pyparsing_common.identifier arith_expr = infix_notation(integer | varname, [ ('-', 1, OpAssoc.RIGHT), (one_of('* /'), 2, OpAssoc.LEFT), (one_of('+ -'), 2, OpAssoc.LEFT), ]) arith_expr.run_tests(''' 5+3*6 (5+3)*6 -2--11 ''', full_dump=False)h]hX# simple example of four-function arithmetic with ints and # variable names integer = pyparsing_common.signed_integer varname = pyparsing_common.identifier arith_expr = infix_notation(integer | varname, [ ('-', 1, OpAssoc.RIGHT), (one_of('* /'), 2, OpAssoc.LEFT), (one_of('+ -'), 2, OpAssoc.LEFT), ]) arith_expr.run_tests(''' 5+3*6 (5+3)*6 -2--11 ''', full_dump=False)}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj(hK.hjhhubhQ)}(hprints::h]hprints:}(hprints:hj&hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj(hK@hjhhubjk)}(hc5+3*6 [[5, '+', [3, '*', 6]]] (5+3)*6 [[[5, '+', 3], '*', 6]] -2--11 [[['-', 2], '-', ['-', 11]]]h]hc5+3*6 [[5, '+', [3, '*', 6]]] (5+3)*6 [[[5, '+', 3], '*', 6]] -2--11 [[['-', 2], '-', ['-', 11]]]}(hhhj5ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj(hKBhjhhubeh}(h ]h"]h$]h&]h(]uh*jhj)hhhj>hNubeh}(h ]h"]pyah$]h&]h(]jy jLjz functionj| jPj} uh*jRhhhjhj(hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNline() (in module pyparsing)pyparsing.linehNtauh*h,hjhhh\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.util.linehNubjS)}(hhh](jX)}(h line(loc: int, strg: str) -> strh](jo)}(h pyparsing.h]h pyparsing.}(hhhjghhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjchhh\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.util.linehNubj)}(hlineh]hline}(hhhjvhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjchhhjuhNubj)}(hloc: int, strg: strh](j)}(hloc: inth](j)}(hloch]hloc}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h strg: strh](j)}(hstrgh]hstrg}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjchhhjuhNubj-)}(hstrh]h)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjchhhjuhNubeh}(h ]j]ah"]h$]h&]h(]j pyparsingjhjjxuh*jWhjuhKhj`hhubj)}(hhh]hQ)}(h^Returns the line of text containing loc within a string, counting newlines as line separators.h]h^Returns the line of text containing loc within a string, counting newlines as line separators.}(hjEhjChhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj_hKhj@hhubah}(h ]h"]h$]h&]h(]uh*jhj`hhhjuhNubeh}(h ]h"]pyah$]h&]h(]jy jZjz functionj| j^j} uh*jRhhhjhj_hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNlineno() (in module pyparsing)pyparsing.linenohNtauh*h,hjhhh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.util.linenohNubjS)}(hhh](jX)}(h"lineno(loc: int, strg: str) -> inth](jo)}(h pyparsing.h]h pyparsing.}(hhhjuhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjqhhh^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.util.linenohNubj)}(hlinenoh]hlineno}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjqhhhjhNubj)}(hloc: int, strg: strh](j)}(hloc: inth](j)}(hloch]hloc}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hinth]h)}(hhh]hint}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h strg: strh](j)}(hstrgh]hstrg}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjqhhhjhNubj-)}(hinth]h)}(hhh]hint}(hhhj.ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj*ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjqhhhjhNubeh}(h ]jkah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjnhhubj)}(hhh](hQ)}(hnReturns current line number within a string, counting newlines as line separators. The first line is number 1.h]hnReturns current line number within a string, counting newlines as line separators. The first line is number 1.}(hjShjQhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjmhKhjNhhubhQ)}(hXlNote - the default parsing behavior is to expand tabs in the input string before starting the parsing process. See :class:`ParserElement.parseString` for more information on parsing strings containing ```` s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.h](htNote - the default parsing behavior is to expand tabs in the input string before starting the parsing process. See }(htNote - the default parsing behavior is to expand tabs in the input string before starting the parsing process. See hj_hhhNhNubh)}(h":class:`ParserElement.parseString`h]hj)}(hjjh]hParserElement.parseString}(hhhjlubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjhubah}(h ]h"]h$]h&]h(]refdoch refdomainjvreftypeclass refexplicitrefwarnhjMhNhParserElement.parseStringuh*h~hjmhKhj_ubh4 for more information on parsing strings containing }(h4 for more information on parsing strings containing hj_hhhNhNubhj)}(h ````h]h}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj_ubh s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.}(h s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string.hj_hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjmhKhjNhhubeh}(h ]h"]h$]h&]h(]uh*jhjnhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjmhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#locatedExpr() (in module pyparsing)pyparsing.locatedExprhNtauh*h,hjhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.locatedExprhNubjS)}(hhh](jX)}(hOlocatedExpr(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.locatedExprhNubj)}(h locatedExprh]h locatedExpr}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h"expr: pyparsing.core.ParserElementh]j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj<ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj8ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(h(DEPRECATED - future code should use the Located class) Helper to decorate a returned token with its starting and ending locations in the input string.h]h(DEPRECATED - future code should use the Located class) Helper to decorate a returned token with its starting and ending locations in the input string.}(hjahj_hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj\hhubhQ)}(h-This helper adds the following results names:h]h-This helper adds the following results names:}(hjohjmhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj\hhubj)}(hhh](j)}(h9``locn_start`` - location where matched expression beginsh]hQ)}(hjh](hj)}(h``locn_start``h]h locn_start}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh+ - location where matched expression begins}(h+ - location where matched expression beginshjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhj~ubah}(h ]h"]h$]h&]h(]uh*jhj{hhhjhNubj)}(h5``locn_end`` - location where matched expression endsh]hQ)}(hjh](hj)}(h ``locn_end``h]hlocn_end}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh) - location where matched expression ends}(h) - location where matched expression endshjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhj{hhhjhNubj)}(h&``value`` - the actual parsed results h]hQ)}(h%``value`` - the actual parsed resultsh](hj)}(h ``value``h]hvalue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - the actual parsed results}(h - the actual parsed resultshjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhj{hhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhKhj\hhubhQ)}(huBe careful if the input text contains ```` characters, you may want to call :class:`ParserElement.parseWithTabs`h](h&Be careful if the input text contains }(h&Be careful if the input text contains hjhhhNhNubhj)}(h ````h]h}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh" characters, you may want to call }(h" characters, you may want to call hjhhhNhNubh)}(h$:class:`ParserElement.parseWithTabs`h]hj)}(hjh]hParserElement.parseWithTabs}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj!reftypeclass refexplicitrefwarnhj[hNhParserElement.parseWithTabsuh*h~hjhK hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hj\hhubhQ)}(h Example::h]hExample:}(hExample:hj9hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj\hhubjk)}(hlwd = Word(alphas) for match in locatedExpr(wd).searchString("ljsdf123lksdjjf123lkkjj1222"): print(match)h]hlwd = Word(alphas) for match in locatedExpr(wd).searchString("ljsdf123lksdjjf123lkkjj1222"): print(match)}(hhhjHubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhj\hhubhQ)}(hprints::h]hprints:}(hprints:hjVhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhj\hhubjk)}(h:[[0, 'ljsdf', 5]] [[8, 'lksdjjf', 15]] [[18, 'lkkjj', 23]]h]h:[[0, 'ljsdf', 5]] [[8, 'lksdjjf', 15]] [[18, 'lkkjj', 23]]}(hhhjeubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhj\hhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j|jz functionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN$makeHTMLTags() (in module pyparsing)pyparsing.makeHTMLTagshNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.make_html_tagshNubjS)}(hhh](jX)}(hmakeHTMLTags(tag_str: Union[str, pyparsing.core.ParserElement]) -> Tuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]h](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.make_html_tagshNubj)}(h makeHTMLTagsh]h makeHTMLTags}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h1tag_str: Union[str, pyparsing.core.ParserElement]h]j)}(h1tag_str: Union[str, pyparsing.core.ParserElement]h](j)}(htag_strh]htag_str}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h(Union[str, pyparsing.core.ParserElement]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhj"ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhj5ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]h](h)}(hhh]hTuple}(hhhjYubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTuple py:modulehpy:classNuh*h~hjUubj)}(h[h]h[}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hpyparsing.core.ParserElement}(hhhjzubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjUubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjUubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjUubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(hHelper to construct opening and closing tag expressions for HTML, given a tag name. Matches tags in either upper or lower case, attributes with namespaces and with quoted or unquoted values.h]hHelper to construct opening and closing tag expressions for HTML, given a tag name. Matches tags in either upper or lower case, attributes with namespaces and with quoted or unquoted values.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hXtext = 'More info at the pyparsing wiki page' # make_html_tags returns pyparsing expressions for the opening and # closing tags as a 2-tuple a, a_end = make_html_tags("A") link_expr = a + SkipTo(a_end)("link_text") + a_end for link in link_expr.search_string(text): # attributes in the tag (like "href" shown here) are # also accessible as named results print(link.link_text, '->', link.href)h]hXtext = 'More info at the pyparsing wiki page' # make_html_tags returns pyparsing expressions for the opening and # closing tags as a 2-tuple a, a_end = make_html_tags("A") link_expr = a + SkipTo(a_end)("link_text") + a_end for link in link_expr.search_string(text): # attributes in the tag (like "href" shown here) are # also accessible as named results print(link.link_text, '->', link.href)}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(h8pyparsing -> https://github.com/pyparsing/pyparsing/wikih]h8pyparsing -> https://github.com/pyparsing/pyparsing/wiki}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| j!j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#makeXMLTags() (in module pyparsing)pyparsing.makeXMLTagshNtauh*h,hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.make_xml_tagshNubjS)}(hhh](jX)}(hmakeXMLTags(tag_str: Union[str, pyparsing.core.ParserElement]) -> Tuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]h](jo)}(h pyparsing.h]h pyparsing.}(hhhj8hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj4hhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.make_xml_tagshNubj)}(h makeXMLTagsh]h makeXMLTags}(hhhjGhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj4hhhjFhNubj)}(h1tag_str: Union[str, pyparsing.core.ParserElement]h]j)}(h1tag_str: Union[str, pyparsing.core.ParserElement]h](j)}(htag_strh]htag_str}(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h:h]h:}(hhhjkubah}(h ]h"]jah$]h&]h(]uh*jhjYubh }(hhhjYubj)}(h(Union[str, pyparsing.core.ParserElement]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj}ubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj}ubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj}ubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj}ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj}ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj}ubeh}(h ]h"]jah$]h&]h(]uh*jhjYubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjUubah}(h ]h"]h$]h&]h(]jzj{uh*jhj4hhhjFhNubj-)}(hATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]h](h)}(hhh]hTuple}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTuple py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhj.ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhj<ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hj4hhhjFhNubeh}(h ]j.ah"]h$]h&]h(]j pyparsingjhjjIuh*jWhjFhKhj1hhubj)}(hhh](hQ)}(hHelper to construct opening and closing tag expressions for XML, given a tag name. Matches tags only in the given upper/lower case.h]hHelper to construct opening and closing tag expressions for XML, given a tag name. Matches tags only in the given upper/lower case.}(hjohjmhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj0hKhjjhhubhQ)}(h+Example: similar to :class:`make_html_tags`h](hExample: similar to }(hExample: similar to hj{hhhNhNubh)}(h:class:`make_html_tags`h]hj)}(hjh]hmake_html_tags}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjihNhmake_html_tagsuh*h~hj0hKhj{ubeh}(h ]h"]h$]h&]h(]uh*hPhj0hKhjjhhubeh}(h ]h"]h$]h&]h(]uh*jhj1hhhjFhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhj0hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&make_html_tags() (in module pyparsing)pyparsing.make_html_tagshNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.make_html_tagshNubjS)}(hhh](jX)}(hmake_html_tags(tag_str: Union[str, pyparsing.core.ParserElement]) -> Tuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]h](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.make_html_tagshNubj)}(hmake_html_tagsh]hmake_html_tags}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h1tag_str: Union[str, pyparsing.core.ParserElement]h]j)}(h1tag_str: Union[str, pyparsing.core.ParserElement]h](j)}(htag_strh]htag_str}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h(Union[str, pyparsing.core.ParserElement]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhj*ubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhj8ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjYubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjlubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]h](h)}(hhh]hTuple}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTuple py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(hHelper to construct opening and closing tag expressions for HTML, given a tag name. Matches tags in either upper or lower case, attributes with namespaces and with quoted or unquoted values.h]hHelper to construct opening and closing tag expressions for HTML, given a tag name. Matches tags in either upper or lower case, attributes with namespaces and with quoted or unquoted values.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hXtext = 'More info at the pyparsing wiki page' # make_html_tags returns pyparsing expressions for the opening and # closing tags as a 2-tuple a, a_end = make_html_tags("A") link_expr = a + SkipTo(a_end)("link_text") + a_end for link in link_expr.search_string(text): # attributes in the tag (like "href" shown here) are # also accessible as named results print(link.link_text, '->', link.href)h]hXtext = 'More info at the pyparsing wiki page' # make_html_tags returns pyparsing expressions for the opening and # closing tags as a 2-tuple a, a_end = make_html_tags("A") link_expr = a + SkipTo(a_end)("link_text") + a_end for link in link_expr.search_string(text): # attributes in the tag (like "href" shown here) are # also accessible as named results print(link.link_text, '->', link.href)}(hhhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hj.hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(h8pyparsing -> https://github.com/pyparsing/pyparsing/wikih]h8pyparsing -> https://github.com/pyparsing/pyparsing/wiki}(hhhj=ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jTjz functionj| jXj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%make_xml_tags() (in module pyparsing)pyparsing.make_xml_tagshNtauh*h,hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.make_xml_tagshNubjS)}(hhh](jX)}(hmake_xml_tags(tag_str: Union[str, pyparsing.core.ParserElement]) -> Tuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]h](jo)}(h pyparsing.h]h pyparsing.}(hhhjohhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjkhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.make_xml_tagshNubj)}(h make_xml_tagsh]h make_xml_tags}(hhhj~hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjkhhhj}hNubj)}(h1tag_str: Union[str, pyparsing.core.ParserElement]h]j)}(h1tag_str: Union[str, pyparsing.core.ParserElement]h](j)}(htag_strh]htag_str}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(h(Union[str, pyparsing.core.ParserElement]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjkhhhj}hNubj-)}(hATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]h](h)}(hhh]hTuple}(hhhj1ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetTuple py:modulehpy:classNuh*h~hj-ubj)}(h[h]h[}(hhhjDubah}(h ]h"]jah$]h&]h(]uh*jhj-ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjRubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj-ubj)}(h, h]h, }(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhj-ubh)}(hhh]hpyparsing.core.ParserElement}(hhhjsubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj-ubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj-ubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjkhhhj}hNubeh}(h ]jeah"]h$]h&]h(]j pyparsingjhjjuh*jWhj}hKhjhhhubj)}(hhh](hQ)}(hHelper to construct opening and closing tag expressions for XML, given a tag name. Matches tags only in the given upper/lower case.h]hHelper to construct opening and closing tag expressions for XML, given a tag name. Matches tags only in the given upper/lower case.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjghKhjhhubhQ)}(h+Example: similar to :class:`make_html_tags`h](hExample: similar to }(hExample: similar to hjhhhNhNubh)}(h:class:`make_html_tags`h]hj)}(hjh]hmake_html_tags}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhmake_html_tagsuh*h~hjghKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjghKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhhj}hNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjghNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&matchOnlyAtCol() (in module pyparsing)pyparsing.matchOnlyAtColhNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.match_only_at_colhNubjS)}(hhh](jX)}(hmatchOnlyAtCol(n)h](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.match_only_at_colhNubj)}(hmatchOnlyAtColh]hmatchOnlyAtCol}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hjh]j)}(hnh]j)}(hnh]hn}(hhhj)ubah}(h ]h"]jah$]h&]h(]uh*jhj%ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj"ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh]hQ)}(hfHelper method for defining parse actions that require matching at a specific column in the input text.h]hfHelper method for defining parse actions that require matching at a specific column in the input text.}(hjOhjMhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjJhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jdjz functionj| jhj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)matchPreviousExpr() (in module pyparsing)pyparsing.matchPreviousExprhNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.match_previous_exprhNubjS)}(hhh](jX)}(hUmatchPreviousExpr(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj{hhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.match_previous_exprhNubj)}(hmatchPreviousExprh]hmatchPreviousExpr}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj{hhhjhNubj)}(h"expr: pyparsing.core.ParserElementh]j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj{hhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj{hhhjhNubeh}(h ]juah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjxhhubj)}(hhh](hQ)}(hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example::h]hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a ‘repeat’ of a previous expression. For example:}(hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjwhKhjhhubjk)}(hXfirst = Word(nums) second = match_previous_expr(first) match_expr = first + ":" + secondh]hXfirst = Word(nums) second = match_previous_expr(first) match_expr = first + ":" + second}(hhhj#ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjwhKhjhhubhQ)}(hX will match ``"1:1"``, but not ``"1:2"``. Because this matches by expressions, will *not* match the leading ``"1:1"`` in ``"1:10"``; the expressions are evaluated first, and then compared, so ``"1"`` is compared with ``"10"``. Do *not* use with packrat parsing enabled.h](h will match }(h will match hj1hhhNhNubhj)}(h ``"1:1"``h]h"1:1"}(hhhj:ubah}(h ]h"]h$]h&]h(]uh*hihj1ubh , but not }(h , but not hj1hhhNhNubhj)}(h ``"1:2"``h]h"1:2"}(hhhjMubah}(h ]h"]h$]h&]h(]uh*hihj1ubh-. Because this matches by expressions, will }(h-. Because this matches by expressions, will hj1hhhNhNubj)}(h*not*h]hnot}(hhhj`ubah}(h ]h"]h$]h&]h(]uh*jhj1ubh match the leading }(h match the leading hj1hhhNhNubhj)}(h ``"1:1"``h]h"1:1"}(hhhjsubah}(h ]h"]h$]h&]h(]uh*hihj1ubh in }(h in hj1hhhNhNubhj)}(h ``"1:10"``h]h"1:10"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj1ubh=; the expressions are evaluated first, and then compared, so }(h=; the expressions are evaluated first, and then compared, so hj1hhhNhNubhj)}(h``"1"``h]h"1"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj1ubh is compared with }(h is compared with hj1hhhNhNubhj)}(h``"10"``h]h"10"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj1ubh. Do }(h. Do hj1hhhNhNubj)}(h*not*h]hnot}(hhhjubah}(h ]h"]h$]h&]h(]uh*jhj1ubh" use with packrat parsing enabled.}(h" use with packrat parsing enabled.hj1hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjwhK hjhhubeh}(h ]h"]h$]h&]h(]uh*jhjxhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjwhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN,matchPreviousLiteral() (in module pyparsing)pyparsing.matchPreviousLiteralhNtauh*h,hjhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.match_previous_literalhNubjS)}(hhh](jX)}(hXmatchPreviousLiteral(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.match_previous_literalhNubj)}(hmatchPreviousLiteralh]hmatchPreviousLiteral}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj hNubj)}(h"expr: pyparsing.core.ParserElementh]j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhj!ubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj/ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjEubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjAubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjnubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhj hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjj uh*jWhj hKhjhhubj)}(hhh](hQ)}(hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example::h]hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a ‘repeat’ of a previous expression. For example:}(hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(h[first = Word(nums) second = match_previous_literal(first) match_expr = first + ":" + secondh]h[first = Word(nums) second = match_previous_literal(first) match_expr = first + ":" + second}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hwill match ``"1:1"``, but not ``"1:2"``. Because this matches a previous literal, will also match the leading ``"1:1"`` in ``"1:10"``. If this is not desired, use :class:`match_previous_expr`. Do *not* use with packrat parsing enabled.h](h will match }(h will match hjhhhNhNubhj)}(h ``"1:1"``h]h"1:1"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh , but not }(h , but not hjhhhNhNubhj)}(h ``"1:2"``h]h"1:2"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhH. Because this matches a previous literal, will also match the leading }(hH. Because this matches a previous literal, will also match the leading hjhhhNhNubhj)}(h ``"1:1"``h]h"1:1"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh in }(h in hjhhhNhNubhj)}(h ``"1:10"``h]h"1:10"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh. If this is not desired, use }(h. If this is not desired, use hjhhhNhNubh)}(h:class:`match_previous_expr`h]hj)}(hjh]hmatch_previous_expr}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhmatch_previous_expruh*h~hjhK hjubh. Do }(h. Do hjhhhNhNubj)}(h*not*h]hnot}(hhhj(ubah}(h ]h"]h$]h&]h(]uh*jhjubh" use with packrat parsing enabled.}(h" use with packrat parsing enabled.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhj hNubeh}(h ]h"]pyah$]h&]h(]jy jJjz functionj| jNj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)match_only_at_col() (in module pyparsing)pyparsing.match_only_at_colhNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.match_only_at_colhNubjS)}(hhh](jX)}(hmatch_only_at_col(n)h](jo)}(h pyparsing.h]h pyparsing.}(hhhjehhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjahhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.match_only_at_colhNubj)}(hmatch_only_at_colh]hmatch_only_at_col}(hhhjthhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjahhhjshNubj)}(hjh]j)}(hnh]j)}(hnh]hn}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjahhhjshNubeh}(h ]j[ah"]h$]h&]h(]j pyparsingjhjjvuh*jWhjshKhj^hhubj)}(hhh]hQ)}(hfHelper method for defining parse actions that require matching at a specific column in the input text.h]hfHelper method for defining parse actions that require matching at a specific column in the input text.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj]hKhjhhubah}(h ]h"]h$]h&]h(]uh*jhj^hhhjshNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhj]hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+match_previous_expr() (in module pyparsing)pyparsing.match_previous_exprhNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.match_previous_exprhNubjS)}(hhh](jX)}(hWmatch_previous_expr(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.match_previous_exprhNubj)}(hmatch_previous_exprh]hmatch_previous_expr}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h"expr: pyparsing.core.ParserElementh]j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj(ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj$ubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjMubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example::h]hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a ‘repeat’ of a previous expression. For example:}(hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example:hjthhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjqhhubjk)}(hXfirst = Word(nums) second = match_previous_expr(first) match_expr = first + ":" + secondh]hXfirst = Word(nums) second = match_previous_expr(first) match_expr = first + ":" + second}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjqhhubhQ)}(hX will match ``"1:1"``, but not ``"1:2"``. Because this matches by expressions, will *not* match the leading ``"1:1"`` in ``"1:10"``; the expressions are evaluated first, and then compared, so ``"1"`` is compared with ``"10"``. Do *not* use with packrat parsing enabled.h](h will match }(h will match hjhhhNhNubhj)}(h ``"1:1"``h]h"1:1"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh , but not }(h , but not hjhhhNhNubhj)}(h ``"1:2"``h]h"1:2"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh-. Because this matches by expressions, will }(h-. Because this matches by expressions, will hjhhhNhNubj)}(h*not*h]hnot}(hhhjubah}(h ]h"]h$]h&]h(]uh*jhjubh match the leading }(h match the leading hjhhhNhNubhj)}(h ``"1:1"``h]h"1:1"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh in }(h in hjhhhNhNubhj)}(h ``"1:10"``h]h"1:10"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh=; the expressions are evaluated first, and then compared, so }(h=; the expressions are evaluated first, and then compared, so hjhhhNhNubhj)}(h``"1"``h]h"1"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh is compared with }(h is compared with hjhhhNhNubhj)}(h``"10"``h]h"10"}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihjubh. Do }(h. Do hjhhhNhNubj)}(h*not*h]hnot}(hhhjubah}(h ]h"]h$]h&]h(]uh*jhjubh" use with packrat parsing enabled.}(h" use with packrat parsing enabled.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjqhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jAjz functionj| jEj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN.match_previous_literal() (in module pyparsing) pyparsing.match_previous_literalhNtauh*h,hjhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.match_previous_literalhNubjS)}(hhh](jX)}(hZmatch_previous_literal(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhj\hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjXhhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.match_previous_literalhNubj)}(hmatch_previous_literalh]hmatch_previous_literal}(hhhjkhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjXhhhjjhNubj)}(h"expr: pyparsing.core.ParserElementh]j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj}ubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhj}ubh }(hhhj}ubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhj}ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjyubah}(h ]h"]h$]h&]h(]jzj{uh*jhjXhhhjjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjXhhhjjhNubeh}(h ]jRah"]h$]h&]h(]j pyparsingjhjjmuh*jWhjjhKhjUhhubj)}(hhh](hQ)}(hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example::h]hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a ‘repeat’ of a previous expression. For example:}(hHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjThKhjhhubjk)}(h[first = Word(nums) second = match_previous_literal(first) match_expr = first + ":" + secondh]h[first = Word(nums) second = match_previous_literal(first) match_expr = first + ":" + second}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjThKhjhhubhQ)}(hwill match ``"1:1"``, but not ``"1:2"``. Because this matches a previous literal, will also match the leading ``"1:1"`` in ``"1:10"``. If this is not desired, use :class:`match_previous_expr`. Do *not* use with packrat parsing enabled.h](h will match }(h will match hjhhhNhNubhj)}(h ``"1:1"``h]h"1:1"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh , but not }(h , but not hjhhhNhNubhj)}(h ``"1:2"``h]h"1:2"}(hhhj*ubah}(h ]h"]h$]h&]h(]uh*hihjubhH. Because this matches a previous literal, will also match the leading }(hH. Because this matches a previous literal, will also match the leading hjhhhNhNubhj)}(h ``"1:1"``h]h"1:1"}(hhhj=ubah}(h ]h"]h$]h&]h(]uh*hihjubh in }(h in hjhhhNhNubhj)}(h ``"1:10"``h]h"1:10"}(hhhjPubah}(h ]h"]h$]h&]h(]uh*hihjubh. If this is not desired, use }(h. If this is not desired, use hjhhhNhNubh)}(h:class:`match_previous_expr`h]hj)}(hjeh]hmatch_previous_expr}(hhhjgubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjcubah}(h ]h"]h$]h&]h(]refdoch refdomainjqreftypeclass refexplicitrefwarnhjhNhmatch_previous_expruh*h~hjThK hjubh. Do }(h. Do hjhhhNhNubj)}(h*not*h]hnot}(hhhjubah}(h ]h"]h$]h&]h(]uh*jhjubh" use with packrat parsing enabled.}(h" use with packrat parsing enabled.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjThK hjhhubeh}(h ]h"]h$]h&]h(]uh*jhjUhhhjjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjThNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN"nestedExpr() (in module pyparsing)pyparsing.nestedExprhNtauh*h,hjhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.nested_exprhNubjS)}(hhh](jX)}(hXnestedExpr(opener: Union[str, pyparsing.core.ParserElement] = '(', closer: Union[str, pyparsing.core.ParserElement] = ')', content: Optional[pyparsing.core.ParserElement] = None, ignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes, *, ignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.nested_exprhNubj)}(h nestedExprh]h nestedExpr}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hXZ(opener: Union[str, pyparsing.core.ParserElement] = '(', closer: Union[str, pyparsing.core.ParserElement] = ')', content: Optional[pyparsing.core.ParserElement] = None, ignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes, *, ignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes)h](j)}(hopener: Union[strh]hopener: Union[str}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h#pyparsing.core.ParserElement] = '('h]h#pyparsing.core.ParserElement] = '('}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hcloser: Union[strh]hcloser: Union[str}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h#pyparsing.core.ParserElement] = ')'h]h#pyparsing.core.ParserElement] = ')'}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h6content: Optional[pyparsing.core.ParserElement] = Noneh]h6content: Optional[pyparsing.core.ParserElement] = None}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hVignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotesh]hVignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes}(hhhj,ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(h*h]h*}(hhhj:ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hUignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotesh]hUignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes}(hhhjHubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj`ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj\ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(hyHelper method for defining nested lists enclosed in opening and closing delimiters (``"("`` and ``")"`` are the default).h](hTHelper method for defining nested lists enclosed in opening and closing delimiters (}(hTHelper method for defining nested lists enclosed in opening and closing delimiters (hjhhhNhNubhj)}(h``"("``h]h"("}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh and }(h and hjhhhNhNubhj)}(h``")"``h]h")"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh are the default).}(h are the default).hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h>Parameters: - ``opener`` - opening character for a nested listh](hParameters: - }(hParameters: - hjhhhNhNubhj)}(h ``opener``h]hopener}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh& - opening character for a nested list}(h& - opening character for a nested listhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj)}(hhh]hQ)}(h6(default= ``"("``); can also be a pyparsing expressionh](h (default= }(h (default= hjubhj)}(h``"("``h]h"("}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh%); can also be a pyparsing expression}(h%); can also be a pyparsing expressionhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hhh](j)}(hg``closer`` - closing character for a nested list (default= ``")"``); can also be a pyparsing expressionh]hQ)}(hg``closer`` - closing character for a nested list (default= ``")"``); can also be a pyparsing expressionh](hj)}(h ``closer``h]hcloser}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj ubh1 - closing character for a nested list (default= }(h1 - closing character for a nested list (default= hj ubhj)}(h``")"``h]h")"}(hhhj#ubah}(h ]h"]h$]h&]h(]uh*hihj ubh%); can also be a pyparsing expression}(h%); can also be a pyparsing expressionhj ubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hN``content`` - expression for items within the nested lists (default= ``None``)h]hQ)}(hN``content`` - expression for items within the nested lists (default= ``None``)h](hj)}(h ``content``h]hcontent}(hhhjJubah}(h ]h"]h$]h&]h(]uh*hihjFubh: - expression for items within the nested lists (default= }(h: - expression for items within the nested lists (default= hjFubhj)}(h``None``h]hNone}(hhhj]ubah}(h ]h"]h$]h&]h(]uh*hihjFubh)}(hj_hjFubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjBubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hj``ignore_expr`` - expression for ignoring opening and closing delimiters (default= :class:`quoted_string`)h]hQ)}(hj``ignore_expr`` - expression for ignoring opening and closing delimiters (default= :class:`quoted_string`)h](hj)}(h``ignore_expr``h]h ignore_expr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhD - expression for ignoring opening and closing delimiters (default= }(hD - expression for ignoring opening and closing delimiters (default= hjubh)}(h:class:`quoted_string`h]hj)}(hjh]h quoted_string}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNh quoted_stringuh*h~hjhK hjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hj{ubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hn``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility but will be removed in a future release h]hQ)}(hm``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility but will be removed in a future releaseh](hj)}(h``ignoreExpr``h]h ignoreExpr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh_ - this pre-PEP8 argument is retained for compatibility but will be removed in a future release}(h_ - this pre-PEP8 argument is retained for compatibility but will be removed in a future releasehjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhKhjhhubhQ)}(hIf an expression is not provided for the content argument, the nested expression will capture all whitespace-delimited content between delimiters as a list of separate values.h]hIf an expression is not provided for the content argument, the nested expression will capture all whitespace-delimited content between delimiters as a list of separate values.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hXUse the ``ignore_expr`` argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quoted_string or a comment expression. Specify multiple expressions using an :class:`Or` or :class:`MatchFirst`. The default is :class:`quoted_string`, but if no expressions are to be ignored, then pass ``None`` for this argument.h](hUse the }(hUse the hjhhhNhNubhj)}(h``ignore_expr``h]h ignore_expr}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihjubh argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quoted_string or a comment expression. Specify multiple expressions using an }(h argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quoted_string or a comment expression. Specify multiple expressions using an hjhhhNhNubh)}(h :class:`Or`h]hj)}(hjh]hOr}(hhhj!ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj+reftypeclass refexplicitrefwarnhjhNhOruh*h~hjhKhjubh or }(h or hjhhhNhNubh)}(h:class:`MatchFirst`h]hj)}(hjDh]h MatchFirst}(hhhjFubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjBubah}(h ]h"]h$]h&]h(]refdoch refdomainjPreftypeclass refexplicitrefwarnhjhNh MatchFirstuh*h~hjhKhjubh. The default is }(h. The default is hjhhhNhNubh)}(h:class:`quoted_string`h]hj)}(hjih]h quoted_string}(hhhjkubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjgubah}(h ]h"]h$]h&]h(]refdoch refdomainjureftypeclass refexplicitrefwarnhjhNh quoted_stringuh*h~hjhKhjubh5, but if no expressions are to be ignored, then pass }(h5, but if no expressions are to be ignored, then pass hjhhhNhNubhj)}(h``None``h]hNone}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh for this argument.}(h for this argument.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hXdata_type = one_of("void int short long char float double") decl_data_type = Combine(data_type + Opt(Word('*'))) ident = Word(alphas+'_', alphanums+'_') number = pyparsing_common.number arg = Group(decl_data_type + ident) LPAR, RPAR = map(Suppress, "()") code_body = nested_expr('{', '}', ignore_expr=(quoted_string | c_style_comment)) c_function = (decl_data_type("type") + ident("name") + LPAR + Opt(delimited_list(arg), [])("args") + RPAR + code_body("body")) c_function.ignore(c_style_comment) source_code = ''' int is_odd(int x) { return (x%2); } int dec_to_hex(char hchar) { if (hchar >= '0' && hchar <= '9') { return (ord(hchar)-ord('0')); } else { return (10+ord(hchar)-ord('A')); } } ''' for func in c_function.search_string(source_code): print("%(name)s (%(type)s) args: %(args)s" % func)h]hXdata_type = one_of("void int short long char float double") decl_data_type = Combine(data_type + Opt(Word('*'))) ident = Word(alphas+'_', alphanums+'_') number = pyparsing_common.number arg = Group(decl_data_type + ident) LPAR, RPAR = map(Suppress, "()") code_body = nested_expr('{', '}', ignore_expr=(quoted_string | c_style_comment)) c_function = (decl_data_type("type") + ident("name") + LPAR + Opt(delimited_list(arg), [])("args") + RPAR + code_body("body")) c_function.ignore(c_style_comment) source_code = ''' int is_odd(int x) { return (x%2); } int dec_to_hex(char hchar) { if (hchar >= '0' && hchar <= '9') { return (ord(hchar)-ord('0')); } else { return (10+ord(hchar)-ord('A')); } } ''' for func in c_function.search_string(source_code): print("%(name)s (%(type)s) args: %(args)s" % func)}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK>hjhhubjk)}(hLis_odd (int) args: [['int', 'x']] dec_to_hex (int) args: [['char', 'hchar']]h]hLis_odd (int) args: [['int', 'x']] dec_to_hex (int) args: [['char', 'hchar']]}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK@hjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#nested_expr() (in module pyparsing)pyparsing.nested_exprhNtauh*h,hjhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.nested_exprhNubjS)}(hhh](jX)}(hXnested_expr(opener: Union[str, pyparsing.core.ParserElement] = '(', closer: Union[str, pyparsing.core.ParserElement] = ')', content: Optional[pyparsing.core.ParserElement] = None, ignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes, *, ignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.nested_exprhNubj)}(h nested_exprh]h nested_expr}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hXZ(opener: Union[str, pyparsing.core.ParserElement] = '(', closer: Union[str, pyparsing.core.ParserElement] = ')', content: Optional[pyparsing.core.ParserElement] = None, ignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes, *, ignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes)h](j)}(hopener: Union[strh]hopener: Union[str}(hhhj$ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h#pyparsing.core.ParserElement] = '('h]h#pyparsing.core.ParserElement] = '('}(hhhj2ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hcloser: Union[strh]hcloser: Union[str}(hhhj@ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h#pyparsing.core.ParserElement] = ')'h]h#pyparsing.core.ParserElement] = ')'}(hhhjNubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h6content: Optional[pyparsing.core.ParserElement] = Noneh]h6content: Optional[pyparsing.core.ParserElement] = None}(hhhj\ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hVignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotesh]hVignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes}(hhhjjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hj<h]h*}(hhhjxubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hUignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotesh]hUignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(hyHelper method for defining nested lists enclosed in opening and closing delimiters (``"("`` and ``")"`` are the default).h](hTHelper method for defining nested lists enclosed in opening and closing delimiters (}(hTHelper method for defining nested lists enclosed in opening and closing delimiters (hjhhhNhNubhj)}(h``"("``h]h"("}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh and }(h and hjhhhNhNubhj)}(h``")"``h]h")"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh are the default).}(h are the default).hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h>Parameters: - ``opener`` - opening character for a nested listh](hParameters: - }(hParameters: - hjhhhNhNubhj)}(h ``opener``h]hopener}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh& - opening character for a nested list}(h& - opening character for a nested listhjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubj)}(hhh]hQ)}(h6(default= ``"("``); can also be a pyparsing expressionh](h (default= }(h (default= hjubhj)}(h``"("``h]h"("}(hhhj#ubah}(h ]h"]h$]h&]h(]uh*hihjubh%); can also be a pyparsing expression}(h%); can also be a pyparsing expressionhjubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubj)}(hhh](j)}(hg``closer`` - closing character for a nested list (default= ``")"``); can also be a pyparsing expressionh]hQ)}(hg``closer`` - closing character for a nested list (default= ``")"``); can also be a pyparsing expressionh](hj)}(h ``closer``h]hcloser}(hhhjMubah}(h ]h"]h$]h&]h(]uh*hihjIubh1 - closing character for a nested list (default= }(h1 - closing character for a nested list (default= hjIubhj)}(h``")"``h]h")"}(hhhj`ubah}(h ]h"]h$]h&]h(]uh*hihjIubh%); can also be a pyparsing expression}(h%); can also be a pyparsing expressionhjIubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjEubah}(h ]h"]h$]h&]h(]uh*jhjBhhhjhNubj)}(hN``content`` - expression for items within the nested lists (default= ``None``)h]hQ)}(hN``content`` - expression for items within the nested lists (default= ``None``)h](hj)}(h ``content``h]hcontent}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh: - expression for items within the nested lists (default= }(h: - expression for items within the nested lists (default= hjubhj)}(h``None``h]hNone}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhjBhhhjhNubj)}(hj``ignore_expr`` - expression for ignoring opening and closing delimiters (default= :class:`quoted_string`)h]hQ)}(hj``ignore_expr`` - expression for ignoring opening and closing delimiters (default= :class:`quoted_string`)h](hj)}(h``ignore_expr``h]h ignore_expr}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhD - expression for ignoring opening and closing delimiters (default= }(hD - expression for ignoring opening and closing delimiters (default= hjubh)}(h:class:`quoted_string`h]hj)}(hjh]h quoted_string}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNh quoted_stringuh*h~hjhK hjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhjBhhhjhNubj)}(hn``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility but will be removed in a future release h]hQ)}(hm``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility but will be removed in a future releaseh](hj)}(h``ignoreExpr``h]h ignoreExpr}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihjubh_ - this pre-PEP8 argument is retained for compatibility but will be removed in a future release}(h_ - this pre-PEP8 argument is retained for compatibility but will be removed in a future releasehjubeh}(h ]h"]h$]h&]h(]uh*hPhjhK hjubah}(h ]h"]h$]h&]h(]uh*jhjBhhhjhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjhKhjhhubhQ)}(hIf an expression is not provided for the content argument, the nested expression will capture all whitespace-delimited content between delimiters as a list of separate values.h]hIf an expression is not provided for the content argument, the nested expression will capture all whitespace-delimited content between delimiters as a list of separate values.}(hj2hj0hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(hXUse the ``ignore_expr`` argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quoted_string or a comment expression. Specify multiple expressions using an :class:`Or` or :class:`MatchFirst`. The default is :class:`quoted_string`, but if no expressions are to be ignored, then pass ``None`` for this argument.h](hUse the }(hUse the hj>hhhNhNubhj)}(h``ignore_expr``h]h ignore_expr}(hhhjGubah}(h ]h"]h$]h&]h(]uh*hihj>ubh argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quoted_string or a comment expression. Specify multiple expressions using an }(h argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quoted_string or a comment expression. Specify multiple expressions using an hj>hhhNhNubh)}(h :class:`Or`h]hj)}(hj\h]hOr}(hhhj^ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjZubah}(h ]h"]h$]h&]h(]refdoch refdomainjhreftypeclass refexplicitrefwarnhjhNhOruh*h~hjhKhj>ubh or }(h or hj>hhhNhNubh)}(h:class:`MatchFirst`h]hj)}(hjh]h MatchFirst}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNh MatchFirstuh*h~hjhKhj>ubh. The default is }(h. The default is hj>hhhNhNubh)}(h:class:`quoted_string`h]hj)}(hjh]h quoted_string}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNh quoted_stringuh*h~hjhKhj>ubh5, but if no expressions are to be ignored, then pass }(h5, but if no expressions are to be ignored, then pass hj>hhhNhNubhj)}(h``None``h]hNone}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihj>ubh for this argument.}(h for this argument.hj>hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubjk)}(hXdata_type = one_of("void int short long char float double") decl_data_type = Combine(data_type + Opt(Word('*'))) ident = Word(alphas+'_', alphanums+'_') number = pyparsing_common.number arg = Group(decl_data_type + ident) LPAR, RPAR = map(Suppress, "()") code_body = nested_expr('{', '}', ignore_expr=(quoted_string | c_style_comment)) c_function = (decl_data_type("type") + ident("name") + LPAR + Opt(delimited_list(arg), [])("args") + RPAR + code_body("body")) c_function.ignore(c_style_comment) source_code = ''' int is_odd(int x) { return (x%2); } int dec_to_hex(char hchar) { if (hchar >= '0' && hchar <= '9') { return (ord(hchar)-ord('0')); } else { return (10+ord(hchar)-ord('A')); } } ''' for func in c_function.search_string(source_code): print("%(name)s (%(type)s) args: %(args)s" % func)h]hXdata_type = one_of("void int short long char float double") decl_data_type = Combine(data_type + Opt(Word('*'))) ident = Word(alphas+'_', alphanums+'_') number = pyparsing_common.number arg = Group(decl_data_type + ident) LPAR, RPAR = map(Suppress, "()") code_body = nested_expr('{', '}', ignore_expr=(quoted_string | c_style_comment)) c_function = (decl_data_type("type") + ident("name") + LPAR + Opt(delimited_list(arg), [])("args") + RPAR + code_body("body")) c_function.ignore(c_style_comment) source_code = ''' int is_odd(int x) { return (x%2); } int dec_to_hex(char hchar) { if (hchar >= '0' && hchar <= '9') { return (ord(hchar)-ord('0')); } else { return (10+ord(hchar)-ord('A')); } } ''' for func in c_function.search_string(source_code): print("%(name)s (%(type)s) args: %(args)s" % func)}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhK>hjhhubjk)}(hLis_odd (int) args: [['int', 'x']] dec_to_hex (int) args: [['char', 'hchar']]h]hLis_odd (int) args: [['int', 'x']] dec_to_hex (int) args: [['char', 'hchar']]}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjhK@hjhhubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j%jz functionj| j)j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN'nullDebugAction() (in module pyparsing)pyparsing.nullDebugActionhNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.null_debug_actionhNubjS)}(hhh](jX)}(hnullDebugAction(*args)h](jo)}(h pyparsing.h]h pyparsing.}(hhhj@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj<hhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.null_debug_actionhNubj)}(hnullDebugActionh]hnullDebugAction}(hhhjOhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj<hhhjNhNubj)}(h*argsh]j)}(h*argsh](jZ)}(h*h]h*}(hhhjeubah}(h ]h"]jfah$]h&]h(]uh*jYhjaubj)}(hargsh]hargs}(hhhjsubah}(h ]h"]jah$]h&]h(]uh*jhjaubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj]ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj<hhhjNhNubeh}(h ]j6ah"]h$]h&]h(]j pyparsingjhjjQuh*jWhjNhKhj9hhubj)}(hhh]hQ)}(hG'Do-nothing' debug action, to suppress debugging output during parsing.h]hK‘Do-nothing’ debug action, to suppress debugging output during parsing.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj8hKhjhhubah}(h ]h"]h$]h&]h(]uh*jhj9hhhjNhNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhj8hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)null_debug_action() (in module pyparsing)pyparsing.null_debug_actionhNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.null_debug_actionhNubjS)}(hhh](jX)}(hnull_debug_action(*args)h](jo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.null_debug_actionhNubj)}(hnull_debug_actionh]hnull_debug_action}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(h*argsh]j)}(h*argsh](jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubj)}(hargsh]hargs}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh]hQ)}(hG'Do-nothing' debug action, to suppress debugging output during parsing.h]hK‘Do-nothing’ debug action, to suppress debugging output during parsing.}(hj"hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j7jz functionj| j;j} uh*jRhhhjhjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNoneOf() (in module pyparsing)pyparsing.oneOfhNtauh*h,hjhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.one_ofhNubjS)}(hhh](jX)}(honeOf(strs: Union[Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = False) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhjRhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjNhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.one_ofhNubj)}(honeOfh]honeOf}(hhhjahhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjNhhhj`hNubj)}(hstrs: Union[Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = Falseh](j)}(hstrs: Union[Iterable[str], str]h](j)}(hstrsh]hstrs}(hhhjwubah}(h ]h"]jah$]h&]h(]uh*jhjsubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjsubh }(hhhjsubj)}(hUnion[Iterable[str], str]h](h)}(hhh]hUnion}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hIterable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetIterable py:modulehpy:classNuh*h~hjubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh)}(hhh]hstr}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubeh}(h ]h"]jah$]h&]h(]uh*jhjsubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjoubj)}(hcaseless: bool = Falseh](j)}(hcaselessh]hcaseless}(hhhj=ubah}(h ]h"]jah$]h&]h(]uh*jhj9ubj)}(h:h]h:}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh }(hhhj9ubj)}(hboolh]h)}(hhh]hbool}(hhhjaubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj]ubah}(h ]h"]jah$]h&]h(]uh*jhj9ubh }(hhhj9ubjZ)}(h=h]h=}(hhhj~ubah}(h ]h"]jfah$]h&]h(]uh*jYhj9ubh }(hhhj9ubjo)}(hFalseh]hFalse}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj9ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjoubj)}(huse_regex: bool = Trueh](j)}(h use_regexh]h use_regex}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjoubj)}(has_keyword: bool = Falseh](j)}(h as_keywordh]h as_keyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj#ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj9ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj5ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjVubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjhubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjoubj)}(h*h]jZ)}(h*h]h*}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhj}ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjoubj)}(huseRegex: bool = Trueh](j)}(huseRegexh]huseRegex}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjoubj)}(hasKeyword: bool = Falseh](j)}(h asKeywordh]h asKeyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj)ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj%ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjFubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjXubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjoubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjNhhhj`hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjwubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjsubah}(h ]h"]h$]h&]h(]jzj{uh*j-hjNhhhj`hNubeh}(h ]jHah"]h$]h&]h(]j pyparsingjhjjcuh*jWhj`hKhjKhhubj)}(hhh](hQ)}(hHelper to quickly define a set of alternative :class:`Literal` s, and makes sure to do longest-first testing when there is a conflict, regardless of the input order, but returns a :class:`MatchFirst` for best performance.h](h.Helper to quickly define a set of alternative }(h.Helper to quickly define a set of alternative hjhhhNhNubh)}(h:class:`Literal`h]hj)}(hjh]hLiteral}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhLiteraluh*h~hjJhKhjubhv s, and makes sure to do longest-first testing when there is a conflict, regardless of the input order, but returns a }(hv s, and makes sure to do longest-first testing when there is a conflict, regardless of the input order, but returns a hjhhhNhNubh)}(h:class:`MatchFirst`h]hj)}(hjh]h MatchFirst}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNh MatchFirstuh*h~hjJhKhjubh for best performance.}(h for best performance.hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjJhKhjhhubhQ)}(h Parameters:h]h Parameters:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjJhKhjhhubj)}(hhh](j)}(hS``strs`` - a string of space-delimited literals, or a collection of string literalsh]hQ)}(hS``strs`` - a string of space-delimited literals, or a collection of string literalsh](hj)}(h``strs``h]hstrs}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihjubhK - a string of space-delimited literals, or a collection of string literals}(hK - a string of space-delimited literals, or a collection of string literalshjubeh}(h ]h"]h$]h&]h(]uh*hPhjJhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjJhNubj)}(hD``caseless`` - treat all literals as caseless - (default= ``False``)h]hQ)}(hj-h](hj)}(h ``caseless``h]hcaseless}(hhhj2ubah}(h ]h"]h$]h&]h(]uh*hihj/ubh. - treat all literals as caseless - (default= }(h. - treat all literals as caseless - (default= hj/ubhj)}(h ``False``h]hFalse}(hhhjEubah}(h ]h"]h$]h&]h(]uh*hihj/ubh)}(hj_hj/ubeh}(h ]h"]h$]h&]h(]uh*hPhjJhK hj+ubah}(h ]h"]h$]h&]h(]uh*jhjhhhjJhNubj)}(h``use_regex`` - as an optimization, will generate a :class:`Regex` object; otherwise, will generate a :class:`MatchFirst` object (if ``caseless=True`` or ``asKeyword=True``, or if creating a :class:`Regex` raises an exception) - (default= ``True``)h]hQ)}(h``use_regex`` - as an optimization, will generate a :class:`Regex` object; otherwise, will generate a :class:`MatchFirst` object (if ``caseless=True`` or ``asKeyword=True``, or if creating a :class:`Regex` raises an exception) - (default= ``True``)h](hj)}(h ``use_regex``h]h use_regex}(hhhjkubah}(h ]h"]h$]h&]h(]uh*hihjgubh' - as an optimization, will generate a }(h' - as an optimization, will generate a hjgubh)}(h:class:`Regex`h]hj)}(hjh]hRegex}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj~ubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhRegexuh*h~hjJhK hjgubh$ object; otherwise, will generate a }(h$ object; otherwise, will generate a hjgubh)}(h:class:`MatchFirst`h]hj)}(hjh]h MatchFirst}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNh MatchFirstuh*h~hjJhK hjgubh object (if }(h object (if hjgubhj)}(h``caseless=True``h]h caseless=True}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjgubh or }(h or hjgubhj)}(h``asKeyword=True``h]hasKeyword=True}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjgubh, or if creating a }(h, or if creating a hjgubh)}(h:class:`Regex`h]hj)}(hjh]hRegex}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjhNhRegexuh*h~hjJhK hjgubh" raises an exception) - (default= }(h" raises an exception) - (default= hjgubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjgubh)}(hj_hjgubeh}(h ]h"]h$]h&]h(]uh*hPhjJhK hjcubah}(h ]h"]h$]h&]h(]uh*jhjhhhjJhNubj)}(hl``as_keyword`` - enforce :class:`Keyword`-style matching on the generated expressions - (default= ``False``)h]hQ)}(hl``as_keyword`` - enforce :class:`Keyword`-style matching on the generated expressions - (default= ``False``)h](hj)}(h``as_keyword``h]h as_keyword}(hhhj9ubah}(h ]h"]h$]h&]h(]uh*hihj5ubh - enforce }(h - enforce hj5ubh)}(h:class:`Keyword`h]hj)}(hjNh]hKeyword}(hhhjPubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjLubah}(h ]h"]h$]h&]h(]refdoch refdomainjZreftypeclass refexplicitrefwarnhjhNhKeyworduh*h~hjJhKhj5ubh9-style matching on the generated expressions - (default= }(h9-style matching on the generated expressions - (default= hj5ubhj)}(h ``False``h]hFalse}(hhhjqubah}(h ]h"]h$]h&]h(]uh*hihj5ubh)}(hj_hj5ubeh}(h ]h"]h$]h&]h(]uh*hPhjJhKhj1ubah}(h ]h"]h$]h&]h(]uh*jhjhhhjJhNubj)}(hp``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility, but will be removed in a future release h]hQ)}(ho``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility, but will be removed in a future releaseh](hj)}(h ``asKeyword``h]h asKeyword}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh and }(h and hjubhj)}(h ``useRegex``h]huseRegex}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhQ are retained for pre-PEP8 compatibility, but will be removed in a future release}(hQ are retained for pre-PEP8 compatibility, but will be removed in a future releasehjubeh}(h ]h"]h$]h&]h(]uh*hPhjJhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjJhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjJhKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjJhKhjhhubjk)}(hcomp_oper = one_of("< = > <= >= !=") var = Word(alphas) number = Word(nums) term = var | number comparison_expr = term + comp_oper + term print(comparison_expr.search_string("B = 12 AA=23 B<=AA AA>12"))h]hcomp_oper = one_of("< = > <= >= !=") var = Word(alphas) number = Word(nums) term = var | number comparison_expr = term + comp_oper + term print(comparison_expr.search_string("B = 12 AA=23 B<=AA AA>12"))}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjJhKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjJhKhjhhubjk)}(hK[['B', '=', '12'], ['AA', '=', '23'], ['B', '<=', 'AA'], ['AA', '>', '12']]h]hK[['B', '=', '12'], ['AA', '=', '23'], ['B', '<=', 'AA'], ['AA', '>', '12']]}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjJhKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhjKhhhj`hNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhjJhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNone_of() (in module pyparsing)pyparsing.one_ofhNtauh*h,hjhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.one_ofhNubjS)}(hhh](jX)}(hone_of(strs: Union[Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = False) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhj-hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj)hhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.one_ofhNubj)}(hone_ofh]hone_of}(hhhj<hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj)hhhj;hNubj)}(hstrs: Union[Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = Falseh](j)}(hstrs: Union[Iterable[str], str]h](j)}(hstrsh]hstrs}(hhhjRubah}(h ]h"]jah$]h&]h(]uh*jhjNubj)}(h:h]h:}(hhhj`ubah}(h ]h"]jah$]h&]h(]uh*jhjNubh }(hhhjNubj)}(hUnion[Iterable[str], str]h](h)}(hhh]hUnion}(hhhjvubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjrubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjrubh)}(hhh]hIterable}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetIterable py:modulehpy:classNuh*h~hjrubj)}(h[h]h[}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjrubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjrubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjrubj)}(h, h]h, }(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjrubh)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjrubj)}(h]h]h]}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjrubeh}(h ]h"]jah$]h&]h(]uh*jhjNubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJubj)}(hcaseless: bool = Falseh](j)}(hcaselessh]hcaseless}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhj&ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhj<ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj8ubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjYubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjkubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJubj)}(huse_regex: bool = Trueh](j)}(h use_regexh]h use_regex}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJubj)}(has_keyword: bool = Falseh](j)}(h as_keywordh]h as_keyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj1ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhjCubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJubj)}(h*h]jZ)}(h*h]h*}(hhhj\ubah}(h ]h"]jfah$]h&]h(]uh*jYhjXubah}(h ]h"]h$]h&]h(]jzj{uh*jhjJubj)}(huseRegex: bool = Trueh](j)}(huseRegexh]huseRegex}(hhhjtubah}(h ]h"]jah$]h&]h(]uh*jhjpubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjpubh }(hhhjpubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjpubh }(hhhjpubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjpubh }(hhhjpubjo)}(hTrueh]hTrue}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjpubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJubj)}(hasKeyword: bool = Falseh](j)}(h asKeywordh]h asKeyword}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubj)}(h:h]h:}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubj)}(hboolh]h)}(hhh]hbool}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjubh }(hhhjubjZ)}(h=h]h=}(hhhj!ubah}(h ]h"]jfah$]h&]h(]uh*jYhjubh }(hhhjubjo)}(hFalseh]hFalse}(hhhj3ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj)hhhj;hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjRubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjNubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj)hhhj;hNubeh}(h ]j#ah"]h$]h&]h(]j pyparsingjhjj>uh*jWhj;hKhj&hhubj)}(hhh](hQ)}(hHelper to quickly define a set of alternative :class:`Literal` s, and makes sure to do longest-first testing when there is a conflict, regardless of the input order, but returns a :class:`MatchFirst` for best performance.h](h.Helper to quickly define a set of alternative }(h.Helper to quickly define a set of alternative hjuhhhNhNubh)}(h:class:`Literal`h]hj)}(hjh]hLiteral}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj~ubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjqhNhLiteraluh*h~hj%hKhjuubhv s, and makes sure to do longest-first testing when there is a conflict, regardless of the input order, but returns a }(hv s, and makes sure to do longest-first testing when there is a conflict, regardless of the input order, but returns a hjuhhhNhNubh)}(h:class:`MatchFirst`h]hj)}(hjh]h MatchFirst}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjqhNh MatchFirstuh*h~hj%hKhjuubh for best performance.}(h for best performance.hjuhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj%hKhjrhhubhQ)}(h Parameters:h]h Parameters:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj%hKhjrhhubj)}(hhh](j)}(hS``strs`` - a string of space-delimited literals, or a collection of string literalsh]hQ)}(hS``strs`` - a string of space-delimited literals, or a collection of string literalsh](hj)}(h``strs``h]hstrs}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubhK - a string of space-delimited literals, or a collection of string literals}(hK - a string of space-delimited literals, or a collection of string literalshjubeh}(h ]h"]h$]h&]h(]uh*hPhj%hKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhj%hNubj)}(hD``caseless`` - treat all literals as caseless - (default= ``False``)h]hQ)}(hjh](hj)}(h ``caseless``h]hcaseless}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh. - treat all literals as caseless - (default= }(h. - treat all literals as caseless - (default= hj ubhj)}(h ``False``h]hFalse}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh)}(hj_hj ubeh}(h ]h"]h$]h&]h(]uh*hPhj%hK hjubah}(h ]h"]h$]h&]h(]uh*jhjhhhj%hNubj)}(h``use_regex`` - as an optimization, will generate a :class:`Regex` object; otherwise, will generate a :class:`MatchFirst` object (if ``caseless=True`` or ``asKeyword=True``, or if creating a :class:`Regex` raises an exception) - (default= ``True``)h]hQ)}(h``use_regex`` - as an optimization, will generate a :class:`Regex` object; otherwise, will generate a :class:`MatchFirst` object (if ``caseless=True`` or ``asKeyword=True``, or if creating a :class:`Regex` raises an exception) - (default= ``True``)h](hj)}(h ``use_regex``h]h use_regex}(hhhjFubah}(h ]h"]h$]h&]h(]uh*hihjBubh' - as an optimization, will generate a }(h' - as an optimization, will generate a hjBubh)}(h:class:`Regex`h]hj)}(hj[h]hRegex}(hhhj]ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjYubah}(h ]h"]h$]h&]h(]refdoch refdomainjgreftypeclass refexplicitrefwarnhjqhNhRegexuh*h~hj%hK hjBubh$ object; otherwise, will generate a }(h$ object; otherwise, will generate a hjBubh)}(h:class:`MatchFirst`h]hj)}(hjh]h MatchFirst}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj~ubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjqhNh MatchFirstuh*h~hj%hK hjBubh object (if }(h object (if hjBubhj)}(h``caseless=True``h]h caseless=True}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjBubh or }(h or hjBubhj)}(h``asKeyword=True``h]hasKeyword=True}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjBubh, or if creating a }(h, or if creating a hjBubh)}(h:class:`Regex`h]hj)}(hjh]hRegex}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhjqhNhRegexuh*h~hj%hK hjBubh" raises an exception) - (default= }(h" raises an exception) - (default= hjBubhj)}(h``True``h]hTrue}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjBubh)}(hj_hjBubeh}(h ]h"]h$]h&]h(]uh*hPhj%hK hj>ubah}(h ]h"]h$]h&]h(]uh*jhjhhhj%hNubj)}(hl``as_keyword`` - enforce :class:`Keyword`-style matching on the generated expressions - (default= ``False``)h]hQ)}(hl``as_keyword`` - enforce :class:`Keyword`-style matching on the generated expressions - (default= ``False``)h](hj)}(h``as_keyword``h]h as_keyword}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh - enforce }(h - enforce hjubh)}(h:class:`Keyword`h]hj)}(hj)h]hKeyword}(hhhj+ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj'ubah}(h ]h"]h$]h&]h(]refdoch refdomainj5reftypeclass refexplicitrefwarnhjqhNhKeyworduh*h~hj%hKhjubh9-style matching on the generated expressions - (default= }(h9-style matching on the generated expressions - (default= hjubhj)}(h ``False``h]hFalse}(hhhjLubah}(h ]h"]h$]h&]h(]uh*hihjubh)}(hj_hjubeh}(h ]h"]h$]h&]h(]uh*hPhj%hKhj ubah}(h ]h"]h$]h&]h(]uh*jhjhhhj%hNubj)}(hp``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility, but will be removed in a future release h]hQ)}(ho``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility, but will be removed in a future releaseh](hj)}(h ``asKeyword``h]h asKeyword}(hhhjrubah}(h ]h"]h$]h&]h(]uh*hihjnubh and }(h and hjnubhj)}(h ``useRegex``h]huseRegex}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjnubhQ are retained for pre-PEP8 compatibility, but will be removed in a future release}(hQ are retained for pre-PEP8 compatibility, but will be removed in a future releasehjnubeh}(h ]h"]h$]h&]h(]uh*hPhj%hKhjjubah}(h ]h"]h$]h&]h(]uh*jhjhhhj%hNubeh}(h ]h"]h$]h&]h(]jjuh*jhj%hKhjrhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj%hKhjrhhubjk)}(hcomp_oper = one_of("< = > <= >= !=") var = Word(alphas) number = Word(nums) term = var | number comparison_expr = term + comp_oper + term print(comparison_expr.search_string("B = 12 AA=23 B<=AA AA>12"))h]hcomp_oper = one_of("< = > <= >= !=") var = Word(alphas) number = Word(nums) term = var | number comparison_expr = term + comp_oper + term print(comparison_expr.search_string("B = 12 AA=23 B<=AA AA>12"))}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj%hKhjrhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj%hKhjrhhubjk)}(hK[['B', '=', '12'], ['AA', '=', '23'], ['B', '<=', 'AA'], ['AA', '>', '12']]h]hK[['B', '=', '12'], ['AA', '=', '23'], ['B', '<=', 'AA'], ['AA', '>', '12']]}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj%hKhjrhhubeh}(h ]h"]h$]h&]h(]uh*jhj&hhhj;hNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhj%hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNopAssoc (in module pyparsing)pyparsing.opAssochNtauh*h,hjhhhhhNubjS)}(hhh](jX)}(hopAssoch](jo)}(h pyparsing.h]h pyparsing.}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj hhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/helpers.py:docstring of pyparsing.helpers.OpAssochNubj)}(hj h]hopAssoc}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj hhhj hNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjj uh*jWhj hKhj hhubj)}(hhh]hQ)}(h+alias of :class:`pyparsing.helpers.OpAssoc`h](h alias of }(h alias of hj- hhhNhNubh)}(h":class:`pyparsing.helpers.OpAssoc`h]hj)}(hj8 h]hpyparsing.helpers.OpAssoc}(hhhj: ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj6 ubah}(h ]h"]h$]h&]h(]refdoch refdomainjD reftypeclass refexplicitrefwarnhj) hNhpyparsing.helpers.OpAssocuh*h~hhhKhj- ubeh}(h ]h"]h$]h&]h(]uh*hPhhhKhj* hhubah}(h ]h"]h$]h&]h(]uh*jhj hhhj hNubeh}(h ]h"]pyah$]h&]h(]jy je jz attributej| ji j} uh*jRhhhjhhhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN'originalTextFor() (in module pyparsing)pyparsing.originalTextForhNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.original_text_forhNubjS)}(hhh](jX)}(horiginalTextFor(expr: pyparsing.core.ParserElement, as_string: bool = True, *, asString: bool = True) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj| hhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.original_text_forhNubj)}(horiginalTextForh]horiginalTextFor}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj| hhhj hNubj)}(hTexpr: pyparsing.core.ParserElement, as_string: bool = True, *, asString: bool = Trueh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(has_string: bool = Trueh](j)}(h as_stringh]h as_string}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hboolh]h)}(hhh]hbool}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubjZ)}(h=h]h=}(hhhj- ubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubh }(hhhj ubjo)}(hTrueh]hTrue}(hhhj? ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(h*h]jZ)}(h*h]h*}(hhhjX ubah}(h ]h"]jfah$]h&]h(]uh*jYhjT ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj ubj)}(hasString: bool = Trueh](j)}(hasStringh]hasString}(hhhjp ubah}(h ]h"]jah$]h&]h(]uh*jhjl ubj)}(h:h]h:}(hhhj~ ubah}(h ]h"]jah$]h&]h(]uh*jhjl ubh }(hhhjl ubj)}(hboolh]h)}(hhh]hbool}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhjl ubh }(hhhjl ubjZ)}(h=h]h=}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhjl ubh }(hhhjl ubjo)}(hTrueh]hTrue}(hhhj ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjl ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj| hhhj hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj| hhhj hNubeh}(h ]jv ah"]h$]h&]h(]j pyparsingjhjj uh*jWhj hKhjy hhubj)}(hhh](hQ)}(hXCHelper to return the original, untokenized text for a given expression. Useful to restore the parsed fields of an HTML start tag into the raw tag text itself, or to revert separate tokens with intervening whitespace back to the original matching input text. By default, returns astring containing the original parsed text.h]hXCHelper to return the original, untokenized text for a given expression. Useful to restore the parsed fields of an HTML start tag into the raw tag text itself, or to revert separate tokens with intervening whitespace back to the original matching input text. By default, returns astring containing the original parsed text.}(hj hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjx hKhj hhubhQ)}(hXIf the optional ``as_string`` argument is passed as ``False``, then the return value is a :class:`ParseResults` containing any results names that were originally matched, and a single token containing the original matched text from the input string. So if the expression passed to :class:`original_text_for` contains expressions with defined results names, you must set ``as_string`` to ``False`` if you want to preserve those results name values.h](hIf the optional }(hIf the optional hj hhhNhNubhj)}(h ``as_string``h]h as_string}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh argument is passed as }(h argument is passed as hj hhhNhNubhj)}(h ``False``h]hFalse}(hhhj/ ubah}(h ]h"]h$]h&]h(]uh*hihj ubh, then the return value is a }(h, then the return value is a hj hhhNhNubh)}(h:class:`ParseResults`h]hj)}(hjD h]h ParseResults}(hhhjF ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjB ubah}(h ]h"]h$]h&]h(]refdoch refdomainjP reftypeclass refexplicitrefwarnhj hNh ParseResultsuh*h~hjx hKhj ubh containing any results names that were originally matched, and a single token containing the original matched text from the input string. So if the expression passed to }(h containing any results names that were originally matched, and a single token containing the original matched text from the input string. So if the expression passed to hj hhhNhNubh)}(h:class:`original_text_for`h]hj)}(hji h]horiginal_text_for}(hhhjk ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjg ubah}(h ]h"]h$]h&]h(]refdoch refdomainju reftypeclass refexplicitrefwarnhj hNhoriginal_text_foruh*h~hjx hKhj ubh? contains expressions with defined results names, you must set }(h? contains expressions with defined results names, you must set hj hhhNhNubhj)}(h ``as_string``h]h as_string}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh to }(h to hj hhhNhNubhj)}(h ``False``h]hFalse}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh3 if you want to preserve those results name values.}(h3 if you want to preserve those results name values.hj hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjx hKhj hhubhQ)}(hjThe ``asString`` pre-PEP8 argument is retained for compatibility, but will be removed in a future release.h](hThe }(hThe hj hhhNhNubhj)}(h ``asString``h]hasString}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubhZ pre-PEP8 argument is retained for compatibility, but will be removed in a future release.}(hZ pre-PEP8 argument is retained for compatibility, but will be removed in a future release.hj hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjx hKhj hhubhQ)}(h Example::h]hExample:}(hExample:hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjx hKhj hhubjk)}(hsrc = "this is test bold text normal text " for tag in ("b", "i"): opener, closer = make_html_tags(tag) patt = original_text_for(opener + SkipTo(closer) + closer) print(patt.search_string(src)[0])h]hsrc = "this is test bold text normal text " for tag in ("b", "i"): opener, closer = make_html_tags(tag) patt = original_text_for(opener + SkipTo(closer) + closer) print(patt.search_string(src)[0])}(hhhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjx hKhj hhubhQ)}(hprints::h]hprints:}(hprints:hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjx hKhj hhubjk)}(h-[' bold text '] ['text']h]h-[' bold text '] ['text']}(hhhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjx hKhj hhubeh}(h ]h"]h$]h&]h(]uh*jhjy hhhj hNubeh}(h ]h"]pyah$]h&]h(]jy j jz functionj| j! j} uh*jRhhhjhjx hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)original_text_for() (in module pyparsing)pyparsing.original_text_forhNtauh*h,hjhhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.original_text_forhNubjS)}(hhh](jX)}(horiginal_text_for(expr: pyparsing.core.ParserElement, as_string: bool = True, *, asString: bool = True) -> pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhj8 hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj4 hhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.original_text_forhNubj)}(horiginal_text_forh]horiginal_text_for}(hhhjG hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj4 hhhjF hNubj)}(hTexpr: pyparsing.core.ParserElement, as_string: bool = True, *, asString: bool = Trueh](j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhj] ubah}(h ]h"]jah$]h&]h(]uh*jhjY ubj)}(h:h]h:}(hhhjk ubah}(h ]h"]jah$]h&]h(]uh*jhjY ubh }(hhhjY ubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj} ubah}(h ]h"]jah$]h&]h(]uh*jhjY ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjU ubj)}(has_string: bool = Trueh](j)}(h as_stringh]h as_string}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubj)}(h:h]h:}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubj)}(hboolh]h)}(hhh]hbool}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubh }(hhhj ubjZ)}(h=h]h=}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubh }(hhhj ubjo)}(hTrueh]hTrue}(hhhj ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjU ubj)}(h*h]jZ)}(h*h]h*}(hhhj ubah}(h ]h"]jfah$]h&]h(]uh*jYhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjU ubj)}(hasString: bool = Trueh](j)}(hasStringh]hasString}(hhhj( ubah}(h ]h"]jah$]h&]h(]uh*jhj$ ubj)}(h:h]h:}(hhhj6 ubah}(h ]h"]jah$]h&]h(]uh*jhj$ ubh }(hhhj$ ubj)}(hboolh]h)}(hhh]hbool}(hhhjL ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulehpy:classNuh*h~hjH ubah}(h ]h"]jah$]h&]h(]uh*jhj$ ubh }(hhhj$ ubjZ)}(h=h]h=}(hhhji ubah}(h ]h"]jfah$]h&]h(]uh*jYhj$ ubh }(hhhj$ ubjo)}(hTrueh]hTrue}(hhhj{ ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj$ ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjU ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj4 hhhjF hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hj ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj4 hhhjF hNubeh}(h ]j. ah"]h$]h&]h(]j pyparsingjhjjI uh*jWhjF hKhj1 hhubj)}(hhh](hQ)}(hXCHelper to return the original, untokenized text for a given expression. Useful to restore the parsed fields of an HTML start tag into the raw tag text itself, or to revert separate tokens with intervening whitespace back to the original matching input text. By default, returns astring containing the original parsed text.h]hXCHelper to return the original, untokenized text for a given expression. Useful to restore the parsed fields of an HTML start tag into the raw tag text itself, or to revert separate tokens with intervening whitespace back to the original matching input text. By default, returns astring containing the original parsed text.}(hj hj hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj0 hKhj hhubhQ)}(hXIf the optional ``as_string`` argument is passed as ``False``, then the return value is a :class:`ParseResults` containing any results names that were originally matched, and a single token containing the original matched text from the input string. So if the expression passed to :class:`original_text_for` contains expressions with defined results names, you must set ``as_string`` to ``False`` if you want to preserve those results name values.h](hIf the optional }(hIf the optional hj hhhNhNubhj)}(h ``as_string``h]h as_string}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh argument is passed as }(h argument is passed as hj hhhNhNubhj)}(h ``False``h]hFalse}(hhhj ubah}(h ]h"]h$]h&]h(]uh*hihj ubh, then the return value is a }(h, then the return value is a hj hhhNhNubh)}(h:class:`ParseResults`h]hj)}(hj h]h ParseResults}(hhhj ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj ubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hNh ParseResultsuh*h~hj0 hKhj ubh containing any results names that were originally matched, and a single token containing the original matched text from the input string. So if the expression passed to }(h containing any results names that were originally matched, and a single token containing the original matched text from the input string. So if the expression passed to hj hhhNhNubh)}(h:class:`original_text_for`h]hj)}(hj!h]horiginal_text_for}(hhhj#ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainj-reftypeclass refexplicitrefwarnhj hNhoriginal_text_foruh*h~hj0 hKhj ubh? contains expressions with defined results names, you must set }(h? contains expressions with defined results names, you must set hj hhhNhNubhj)}(h ``as_string``h]h as_string}(hhhjDubah}(h ]h"]h$]h&]h(]uh*hihj ubh to }(h to hj hhhNhNubhj)}(h ``False``h]hFalse}(hhhjWubah}(h ]h"]h$]h&]h(]uh*hihj ubh3 if you want to preserve those results name values.}(h3 if you want to preserve those results name values.hj hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj0 hKhj hhubhQ)}(hjThe ``asString`` pre-PEP8 argument is retained for compatibility, but will be removed in a future release.h](hThe }(hThe hjphhhNhNubhj)}(h ``asString``h]hasString}(hhhjyubah}(h ]h"]h$]h&]h(]uh*hihjpubhZ pre-PEP8 argument is retained for compatibility, but will be removed in a future release.}(hZ pre-PEP8 argument is retained for compatibility, but will be removed in a future release.hjphhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj0 hKhj hhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj0 hKhj hhubjk)}(hsrc = "this is test bold text normal text " for tag in ("b", "i"): opener, closer = make_html_tags(tag) patt = original_text_for(opener + SkipTo(closer) + closer) print(patt.search_string(src)[0])h]hsrc = "this is test bold text normal text " for tag in ("b", "i"): opener, closer = make_html_tags(tag) patt = original_text_for(opener + SkipTo(closer) + closer) print(patt.search_string(src)[0])}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj0 hKhj hhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj0 hKhj hhubjk)}(h-[' bold text '] ['text']h]h-[' bold text '] ['text']}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj0 hKhj hhubeh}(h ]h"]h$]h&]h(]uh*jhj1 hhhjF hNubeh}(h ]h"]pyah$]h&]h(]jy jjz functionj| jj} uh*jRhhhjhj0 hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%pyparsing_common (class in pyparsing)pyparsing.pyparsing_commonhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hpyparsing_common()h](j^)}(hclass h]hclass }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.common.pyparsing_commonhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjhhhjhNubj)}(hpyparsing_commonh]hpyparsing_common}(hhhj hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjhjjuh*jWhjhKhjhhubj)}(hhh](hQ)}(hBases: :class:`object`h](hBases: }(hBases: hj$hhhNhNubh)}(h:class:`object`h]hj)}(hj/h]hobject}(hhhj1ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj-ubah}(h ]h"]h$]h&]h(]refdoch refdomainj;reftypeclass refexplicitrefwarnhj hjhobjectuh*h~hh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.common.pyparsing_commonhKhj$ubeh}(h ]h"]h$]h&]h(]uh*hPhjMhKhj!hhubhQ)}(hbHere are some common low-level expressions that may be useful in jump-starting parser development:h]hbHere are some common low-level expressions that may be useful in jump-starting parser development:}(hjVhjThhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.common.pyparsing_commonhKhj!hhubj)}(hhh](j)}(hhnumeric forms (:class:`integers`, :class:`reals`, :class:`scientific notation`)h]hQ)}(hhnumeric forms (:class:`integers`, :class:`reals`, :class:`scientific notation`)h](hnumeric forms (}(hnumeric forms (hjjubh)}(h:class:`integers`h]hj)}(hjuh]hintegers}(hhhjwubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjsubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjhintegeruh*h~hjbhKhjjubh, }(h, hjjubh)}(h:class:`reals`h]hj)}(hjh]hreals}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjhrealuh*h~hjbhKhjjubh, }(h, hjjubh)}(h&:class:`scientific notation`h]hj)}(hjh]hscientific notation}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjhsci_realuh*h~hjbhKhjjubh)}(hj_hjjubeh}(h ]h"]h$]h&]h(]uh*hPhjbhKhjfubah}(h ]h"]h$]h&]h(]uh*jhjchhhjbhNubj)}(h3common :class:`programming identifiers`h]hQ)}(hjh](hcommon }(hcommon hjubh)}(h,:class:`programming identifiers`h]hj)}(hjh]hprogramming identifiers}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjh identifieruh*h~hjbhKhjubeh}(h ]h"]h$]h&]h(]uh*hPhjbhKhjubah}(h ]h"]h$]h&]h(]uh*jhjchhhjbhNubj)}(hgnetwork addresses (:class:`MAC`, :class:`IPv4`, :class:`IPv6`)h]hQ)}(hgnetwork addresses (:class:`MAC`, :class:`IPv4`, :class:`IPv6`)h](hnetwork addresses (}(hnetwork addresses (hj)ubh)}(h:class:`MAC`h]hj)}(hj4h]hMAC}(hhhj6ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj2ubah}(h ]h"]h$]h&]h(]refdoch refdomainj@reftypeclass refexplicitrefwarnhj hjh mac_addressuh*h~hjbhKhj)ubh, }(h, hj)ubh)}(h:class:`IPv4`h]hj)}(hjYh]hIPv4}(hhhj[ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjWubah}(h ]h"]h$]h&]h(]refdoch refdomainjereftypeclass refexplicitrefwarnhj hjh ipv4_addressuh*h~hjbhKhj)ubh, }(h, hj)ubh)}(h:class:`IPv6`h]hj)}(hj~h]hIPv6}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj|ubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjh ipv6_addressuh*h~hjbhKhj)ubh)}(hj_hj)ubeh}(h ]h"]h$]h&]h(]uh*hPhjbhKhj%ubah}(h ]h"]h$]h&]h(]uh*jhjchhhjbhNubj)}(hLISO8601 :class:`dates` and :class:`datetime`h]hQ)}(hLISO8601 :class:`dates` and :class:`datetime`h](hISO8601 }(hISO8601 hjubh)}(h:class:`dates`h]hj)}(hjh]hdates}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjh iso8601_dateuh*h~hjbhK hjubh and }(h and hjubh)}(h#:class:`datetime`h]hj)}(hjh]hdatetime}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjhiso8601_datetimeuh*h~hjbhK hjubeh}(h ]h"]h$]h&]h(]uh*hPhjbhK hjubah}(h ]h"]h$]h&]h(]uh*jhjchhhjbhNubj)}(h:class:`UUID`h]hQ)}(hj h]h)}(hj h]hj)}(hj h]hUUID}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjhuuiduh*h~hjbhK hjubah}(h ]h"]h$]h&]h(]uh*hPhjbhK hj ubah}(h ]h"]h$]h&]h(]uh*jhjchhhjbhNubj)}(h3:class:`comma-separated list`h]hQ)}(hj>h]h)}(hj>h]hj)}(hj>h]hcomma-separated list}(hhhjFubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjCubah}(h ]h"]h$]h&]h(]refdoch refdomainjPreftypeclass refexplicitrefwarnhj hjhcomma_separated_listuh*h~hjbhK hj@ubah}(h ]h"]h$]h&]h(]uh*hPhjbhK hj<ubah}(h ]h"]h$]h&]h(]uh*jhjchhhjbhNubj)}(h :class:`url` h]hQ)}(h :class:`url`h]h)}(hjth]hj)}(hjth]hurl}(hhhjyubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjvubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjhurluh*h~hjbhK hjrubah}(h ]h"]h$]h&]h(]uh*hPhjbhK hjnubah}(h ]h"]h$]h&]h(]uh*jhjchhhjbhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjbhKhj!hhubhQ)}(hParse actions:h]hParse actions:}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhj!hhubj)}(hhh](j)}(h:class:`convertToInteger`h]hQ)}(hjh]h)}(hjh]hj)}(hjh]hconvertToInteger}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjhconvertToIntegeruh*h~hjbhKhjubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubj)}(h:class:`convertToFloat`h]hQ)}(hjh]h)}(hjh]hj)}(hjh]hconvertToFloat}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjhconvertToFloatuh*h~hjbhKhjubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubj)}(h:class:`convertToDate`h]hQ)}(hjh]h)}(hjh]hj)}(hjh]h convertToDate}(hhhj&ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj#ubah}(h ]h"]h$]h&]h(]refdoch refdomainj0reftypeclass refexplicitrefwarnhj hjh convertToDateuh*h~hjbhKhj ubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubj)}(h:class:`convertToDatetime`h]hQ)}(hjPh]h)}(hjPh]hj)}(hjPh]hconvertToDatetime}(hhhjXubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjUubah}(h ]h"]h$]h&]h(]refdoch refdomainjbreftypeclass refexplicitrefwarnhj hjhconvertToDatetimeuh*h~hjbhKhjRubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjNubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubj)}(h:class:`stripHTMLTags`h]hQ)}(hjh]h)}(hjh]hj)}(hjh]h stripHTMLTags}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjh stripHTMLTagsuh*h~hjbhKhjubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubj)}(h:class:`upcaseTokens`h]hQ)}(hjh]h)}(hjh]hj)}(hjh]h upcaseTokens}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjh upcaseTokensuh*h~hjbhKhjubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubj)}(h:class:`downcaseTokens` h]hQ)}(h:class:`downcaseTokens`h]h)}(hjh]hj)}(hjh]hdowncaseTokens}(hhhjubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjubah}(h ]h"]h$]h&]h(]refdoch refdomainjreftypeclass refexplicitrefwarnhj hjhdowncaseTokensuh*h~hjbhKhjubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhjubah}(h ]h"]h$]h&]h(]uh*jhjhhhjbhNubeh}(h ]h"]h$]h&]h(]jjuh*jhjbhKhj!hhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjbhKhj!hhubjk)}(hXpyparsing_common.number.runTests(''' # any int or real number, returned as the appropriate type 100 -100 +100 3.14159 6.02e23 1e-12 ''') pyparsing_common.fnumber.runTests(''' # any int or real number, returned as float 100 -100 +100 3.14159 6.02e23 1e-12 ''') pyparsing_common.hex_integer.runTests(''' # hex numbers 100 FF ''') pyparsing_common.fraction.runTests(''' # fractions 1/2 -3/4 ''') pyparsing_common.mixed_integer.runTests(''' # mixed fractions 1 1/2 -3/4 1-3/4 ''') import uuid pyparsing_common.uuid.setParseAction(tokenMap(uuid.UUID)) pyparsing_common.uuid.runTests(''' # uuid 12345678-1234-5678-1234-567812345678 ''')h]hXpyparsing_common.number.runTests(''' # any int or real number, returned as the appropriate type 100 -100 +100 3.14159 6.02e23 1e-12 ''') pyparsing_common.fnumber.runTests(''' # any int or real number, returned as float 100 -100 +100 3.14159 6.02e23 1e-12 ''') pyparsing_common.hex_integer.runTests(''' # hex numbers 100 FF ''') pyparsing_common.fraction.runTests(''' # fractions 1/2 -3/4 ''') pyparsing_common.mixed_integer.runTests(''' # mixed fractions 1 1/2 -3/4 1-3/4 ''') import uuid pyparsing_common.uuid.setParseAction(tokenMap(uuid.UUID)) pyparsing_common.uuid.runTests(''' # uuid 12345678-1234-5678-1234-567812345678 ''')}(hhhj,ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjbhKhj!hhubhQ)}(hprints::h]hprints:}(hprints:hj:hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjbhKJhj!hhubjk)}(hX# any int or real number, returned as the appropriate type 100 [100] -100 [-100] +100 [100] 3.14159 [3.14159] 6.02e23 [6.02e+23] 1e-12 [1e-12] # any int or real number, returned as float 100 [100.0] -100 [-100.0] +100 [100.0] 3.14159 [3.14159] 6.02e23 [6.02e+23] 1e-12 [1e-12] # hex numbers 100 [256] FF [255] # fractions 1/2 [0.5] -3/4 [-0.75] # mixed fractions 1 [1] 1/2 [0.5] -3/4 [-0.75] 1-3/4 [1.75] # uuid 12345678-1234-5678-1234-567812345678 [UUID('12345678-1234-5678-1234-567812345678')]h]hX# any int or real number, returned as the appropriate type 100 [100] -100 [-100] +100 [100] 3.14159 [3.14159] 6.02e23 [6.02e+23] 1e-12 [1e-12] # any int or real number, returned as float 100 [100.0] -100 [-100.0] +100 [100.0] 3.14159 [3.14159] 6.02e23 [6.02e+23] 1e-12 [1e-12] # hex numbers 100 [256] FF [255] # fractions 1/2 [0.5] -3/4 [-0.75] # mixed fractions 1 [1] 1/2 [0.5] -3/4 [-0.75] 1-3/4 [1.75] # uuid 12345678-1234-5678-1234-567812345678 [UUID('12345678-1234-5678-1234-567812345678')]}(hhhjIubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjbhKLhj!hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN2__weakref__ (pyparsing.pyparsing_common attribute)&pyparsing.pyparsing_common.__weakref__hNtauh*h,hj!hhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.__weakref__hNubjS)}(hhh](jX)}(hpyparsing_common.__weakref__h]j)}(h __weakref__h]h __weakref__}(hhhjmhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjihhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.__weakref__hNubah}(h ]jcah"]h$]h&]h(]j pyparsingjjjpyparsing_common.__weakref__uh*jWhj{hKhjfhhubj)}(hhh]hQ)}(h2list of weak references to the object (if defined)h]h2list of weak references to the object (if defined)}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjehKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjfhhhj{hNubeh}(h ]h"]pyah$]h&]h(]jy jjz attributej| jj} uh*jRhhhj!hjehNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN;comma_separated_list (pyparsing.pyparsing_common attribute)/pyparsing.pyparsing_common.comma_separated_listhNtauh*h,hj!hhhv/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.comma_separated_listhNubjS)}(hhh](jX)}(h%pyparsing_common.comma_separated_listh](j)}(hcomma_separated_listh]hcomma_separated_list}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhv/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.comma_separated_listhNubj^)}(hcomma separated listh]h = comma separated list}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjj%pyparsing_common.comma_separated_listuh*jWhv/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.comma_separated_listhKhjhhubj)}(hhh]hQ)}(hZPredefined expression of 1 or more printable words or quoted strings, separated by commas.h]hZPredefined expression of 1 or more printable words or quoted strings, separated by commas.}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz attributej| jj} uh*jRhhhj!hjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN:convertToDate() (pyparsing.pyparsing_common static method)(pyparsing.pyparsing_common.convertToDatehNtauh*h,hj!hhhx/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.common.pyparsing_common.convert_to_datehNubjS)}(hhh](jX)}(h5pyparsing_common.convertToDate(fmt: str = '%Y-%m-%d')h](j^)}(hstatic h]hstatic }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhx/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.common.pyparsing_common.convert_to_datehNubj)}(h convertToDateh]h convertToDate}(hhhj#hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj"hNubj)}(hfmt: str = '%Y-%m-%d'h]j)}(hfmt: str = '%Y-%m-%d'h](j)}(hfmth]hfmt}(hhhj9ubah}(h ]h"]jah$]h&]h(]uh*jhj5ubj)}(h:h]h:}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh }(hhhj5ubj)}(hstrh]h)}(hhh]hstr}(hhhj]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej py:classjuh*h~hjYubah}(h ]h"]jah$]h&]h(]uh*jhj5ubh }(hhhj5ubjZ)}(h=h]h=}(hhhjzubah}(h ]h"]jfah$]h&]h(]uh*jYhj5ubh }(hhhj5ubjo)}(h '%Y-%m-%d'h]h '%Y-%m-%d'}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj5ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj1ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhj"hNubeh}(h ]j ah"]h$]h&]h(]j pyparsingjjjpyparsing_common.convertToDateuh*jWhx/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.common.pyparsing_common.convert_to_datehKhj hhubj)}(hhh](hQ)}(hYHelper to create a parse action for converting parsed date string to Python datetime.dateh]hYHelper to create a parse action for converting parsed date string to Python datetime.date}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhjhhubhQ)}(hSParams - - fmt - format to be passed to datetime.strptime (default= ``"%Y-%m-%d"``)h](hDParams - - fmt - format to be passed to datetime.strptime (default= }(hDParams - - fmt - format to be passed to datetime.strptime (default= hjhhhNhNubhj)}(h``"%Y-%m-%d"``h]h "%Y-%m-%d"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh)}(hj_hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj hKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hKhjhhubjk)}(hdate_expr = pyparsing_common.iso8601_date.copy() date_expr.setParseAction(pyparsing_common.convertToDate()) print(date_expr.parseString("1999-12-31"))h]hdate_expr = pyparsing_common.iso8601_date.copy() date_expr.setParseAction(pyparsing_common.convertToDate()) print(date_expr.parseString("1999-12-31"))}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj hKhjhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj hK hjhhubjk)}(h[datetime.date(1999, 12, 31)]h]h[datetime.date(1999, 12, 31)]}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj hKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhj hhhj"hNubeh}(h ]h"]pyah$]h&]h(]jy j%jz methodj| j)j} uh*jRhhhj!hj hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN>convertToDatetime() (pyparsing.pyparsing_common static method),pyparsing.pyparsing_common.convertToDatetimehNtauh*h,hj!hhh|/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.common.pyparsing_common.convert_to_datetimehNubjS)}(hhh](jX)}(hEpyparsing_common.convertToDatetime(fmt: str = '%Y-%m-%dT%H:%M:%S.%f')h](j^)}(hstatic h]hstatic }(hhhj@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj<hhh|/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.common.pyparsing_common.convert_to_datetimehNubj)}(hconvertToDatetimeh]hconvertToDatetime}(hhhjOhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj<hhhjNhNubj)}(h!fmt: str = '%Y-%m-%dT%H:%M:%S.%f'h]j)}(h!fmt: str = '%Y-%m-%dT%H:%M:%S.%f'h](j)}(hfmth]hfmt}(hhhjeubah}(h ]h"]jah$]h&]h(]uh*jhjaubj)}(h:h]h:}(hhhjsubah}(h ]h"]jah$]h&]h(]uh*jhjaubh }(hhhjaubj)}(hstrh]h)}(hhh]hstr}(hhhjubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulej py:classjuh*h~hjubah}(h ]h"]jah$]h&]h(]uh*jhjaubh }(hhhjaubjZ)}(h=h]h=}(hhhjubah}(h ]h"]jfah$]h&]h(]uh*jYhjaubh }(hhhjaubjo)}(h'%Y-%m-%dT%H:%M:%S.%f'h]h'%Y-%m-%dT%H:%M:%S.%f'}(hhhjubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjaubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj]ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj<hhhjNhNubeh}(h ]j6ah"]h$]h&]h(]j pyparsingjjj"pyparsing_common.convertToDatetimeuh*jWh|/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.common.pyparsing_common.convert_to_datetimehKhj9hhubj)}(hhh](hQ)}(haHelper to create a parse action for converting parsed datetime string to Python datetime.datetimeh]haHelper to create a parse action for converting parsed datetime string to Python datetime.datetime}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj8hKhjhhubhQ)}(h_Params - - fmt - format to be passed to datetime.strptime (default= ``"%Y-%m-%dT%H:%M:%S.%f"``)h](hDParams - - fmt - format to be passed to datetime.strptime (default= }(hDParams - - fmt - format to be passed to datetime.strptime (default= hjhhhNhNubhj)}(h``"%Y-%m-%dT%H:%M:%S.%f"``h]h"%Y-%m-%dT%H:%M:%S.%f"}(hhhjubah}(h ]h"]h$]h&]h(]uh*hihjubh)}(hj_hjhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj8hKhjhhubhQ)}(h Example::h]hExample:}(hExample:hjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj8hKhjhhubjk)}(hdt_expr = pyparsing_common.iso8601_datetime.copy() dt_expr.setParseAction(pyparsing_common.convertToDatetime()) print(dt_expr.parseString("1999-12-31T23:59:59.999"))h]hdt_expr = pyparsing_common.iso8601_datetime.copy() dt_expr.setParseAction(pyparsing_common.convertToDatetime()) print(dt_expr.parseString("1999-12-31T23:59:59.999"))}(hhhjubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj8hK hjhhubhQ)}(hprints::h]hprints:}(hprints:hj+hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj8hK hjhhubjk)}(h5[datetime.datetime(1999, 12, 31, 23, 59, 59, 999000)]h]h5[datetime.datetime(1999, 12, 31, 23, 59, 59, 999000)]}(hhhj:ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj8hKhjhhubeh}(h ]h"]h$]h&]h(]uh*jhj9hhhjNhNubeh}(h ]h"]pyah$]h&]h(]jy jQjz methodj| jUj} uh*jRhhhj!hj8hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN.pahNubjS)}(hhh](jX)}(h'pyparsing_common.convert_to_float(l, t)h](j)}(hconvert_to_floath]hconvert_to_float}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.core.token_map..pahNubj)}(hl, th](j)}(hlh]j)}(hlh]hl}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hth]j)}(hth]ht}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjj!pyparsing_common.convert_to_floatuh*jWhjhKhjhhubj)}(hhh]hQ)}(h:Parse action for converting parsed numbers to Python floath]h:Parse action for converting parsed numbers to Python float}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j/jz methodj| j3j} uh*jRhhhj!hjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN8convert_to_integer() (pyparsing.pyparsing_common method)-pyparsing.pyparsing_common.convert_to_integerhNtauh*h,hj!hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.core.token_map..pahNubjS)}(hhh](jX)}(h)pyparsing_common.convert_to_integer(l, t)h](j)}(hconvert_to_integerh]hconvert_to_integer}(hhhjJhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjFhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.core.token_map..pahNubj)}(hl, th](j)}(hlh]j)}(hlh]hl}(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhj]ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjYubj)}(hth]j)}(hth]ht}(hhhjyubah}(h ]h"]jah$]h&]h(]uh*jhjuubah}(h ]h"]h$]h&]h(]jzj{uh*jhjYubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjFhhhjXhNubeh}(h ]j@ah"]h$]h&]h(]j pyparsingjjj#pyparsing_common.convert_to_integeruh*jWhjXhKhjChhubj)}(hhh]hQ)}(h9Parse action for converting parsed integers to Python inth]h9Parse action for converting parsed integers to Python int}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjBhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjChhhjXhNubeh}(h ]h"]pyah$]h&]h(]jy jjz methodj| jj} uh*jRhhhj!hjBhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN.pahNubjS)}(hhh](jX)}(h)pyparsing_common.downcase_tokens(s, l, t)h](j^)}(hstatic h]hstatic }(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.core.token_map..pahNubj)}(hdowncase_tokensh]hdowncase_tokens}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhjhNubj)}(hs, l, th](j)}(hsh]j)}(hsh]hs}(hhhjubah}(h ]h"]jah$]h&]h(]uh*jhjubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hlh]j)}(hlh]hl}(hhhj ubah}(h ]h"]jah$]h&]h(]uh*jhj ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubj)}(hth]j)}(hth]ht}(hhhj%ubah}(h ]h"]jah$]h&]h(]uh*jhj!ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjj pyparsing_common.downcase_tokensuh*jWhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.core.token_map..pahKhjhhubj)}(hhh]hQ)}(h-Parse action to convert tokens to lower case.h]h-Parse action to convert tokens to lower case.}(hjMhjKhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjHhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jbjz methodj| jfj} uh*jRhhhj!hjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN.fnumber (pyparsing.pyparsing_common attribute)"pyparsing.pyparsing_common.fnumberhNtauh*h,hj!hhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.fnumberhNubjS)}(hhh](jX)}(hpyparsing_common.fnumberh](j)}(hfnumberh]hfnumber}(hhhj}hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjyhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.fnumberhNubj^)}(hfnumberh]h = fnumber}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjyhhhjhNubeh}(h ]jsah"]h$]h&]h(]j pyparsingjjjpyparsing_common.fnumberuh*jWhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.fnumberhKhjvhhubj)}(hhh]hQ)}(h)any int or real number, returned as floath]h)any int or real number, returned as float}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjuhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjvhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz attributej| jj} uh*jRhhhj!hjuhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN/fraction (pyparsing.pyparsing_common attribute)#pyparsing.pyparsing_common.fractionhNtauh*h,hj!hhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.fractionhNubjS)}(hhh](jX)}(hpyparsing_common.fractionh](j)}(hfractionh]hfraction}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.fractionhNubj^)}(hfractionh]h = fraction}(hhhjhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjhhhjhNubeh}(h ]jah"]h$]h&]h(]j pyparsingjjjpyparsing_common.fractionuh*jWhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.fractionhKhjhhubj)}(hhh]hQ)}(hJfractional expression of an integer divided by an integer, returns a floath]hJfractional expression of an integer divided by an integer, returns a float}(hjhjhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjhKhjhhubah}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy jjz attributej| jj} uh*jRhhhj!hjhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN2hex_integer (pyparsing.pyparsing_common attribute)&pyparsing.pyparsing_common.hex_integerhNtauh*h,hj!hhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.hex_integerhNubjS)}(hhh](jX)}(hpyparsing_common.hex_integerh](j)}(h hex_integerh]h hex_integer}(hhhj3hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj/hhhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.hex_integerhNubj^)}(h hex integerh]h = hex integer}(hhhjBhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj/hhhjAhNubeh}(h ]j)ah"]h$]h&]h(]j pyparsingjjjpyparsing_common.hex_integeruh*jWhm/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.hex_integerhKhj,hhubj)}(hhh]hQ)}(h# strip HTML links from normal text text = 'More info at the pyparsing wiki page' td, td_end = makeHTMLTags("TD") table_text = td + SkipTo(td_end).setParseAction(pyparsing_common.stripHTMLTags)("body") + td_end print(table_text.parseString(text).body)h]hX># strip HTML links from normal text text = 'More info at the pyparsing wiki page' td, td_end = makeHTMLTags("TD") table_text = td + SkipTo(td_end).setParseAction(pyparsing_common.stripHTMLTags)("body") + td_end print(table_text.parseString(text).body)}(hhhjR!ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj% hKhj2!hhubhQ)}(hPrints::h]hPrints:}(hPrints:hj`!hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj% hK hj2!hhubjk)}(h$More info at the pyparsing wiki pageh]h$More info at the pyparsing wiki page}(hhhjo!ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj% hK hj2!hhubeh}(h ]h"]h$]h&]h(]uh*jhj& hhhj; hNubeh}(h ]h"]pyah$]h&]h(]jy j!jz methodj| j!j} uh*jRhhhj!hj% hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN# strip HTML links from normal text text = 'More info at the pyparsing wiki page' td, td_end = makeHTMLTags("TD") table_text = td + SkipTo(td_end).setParseAction(pyparsing_common.stripHTMLTags)("body") + td_end print(table_text.parseString(text).body)h]hX># strip HTML links from normal text text = 'More info at the pyparsing wiki page' td, td_end = makeHTMLTags("TD") table_text = td + SkipTo(td_end).setParseAction(pyparsing_common.stripHTMLTags)("body") + td_end print(table_text.parseString(text).body)}(hhhj"ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj!hKhj"hhubhQ)}(hPrints::h]hPrints:}(hPrints:hj"hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj!hK hj"hhubjk)}(h$More info at the pyparsing wiki pageh]h$More info at the pyparsing wiki page}(hhhj"ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj!hK hj"hhubeh}(h ]h"]h$]h&]h(]uh*jhj!hhhj!hNubeh}(h ]h"]pyah$]h&]h(]jy j"jz methodj| j"j} uh*jRhhhj!hj!hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN:upcase_tokens() (pyparsing.pyparsing_common static method)(pyparsing.pyparsing_common.upcase_tokenshNtauh*h,hj!hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.core.token_map..pahNubjS)}(hhh](jX)}(h'pyparsing_common.upcase_tokens(s, l, t)h](j^)}(hstatic h]hstatic }(hhhj#hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj#hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.core.token_map..pahNubj)}(h upcase_tokensh]h upcase_tokens}(hhhj$#hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj#hhhj##hNubj)}(hs, l, th](j)}(hsh]j)}(hsh]hs}(hhhj:#ubah}(h ]h"]jah$]h&]h(]uh*jhj6#ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj2#ubj)}(hlh]j)}(hlh]hl}(hhhjR#ubah}(h ]h"]jah$]h&]h(]uh*jhjN#ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj2#ubj)}(hth]j)}(hth]ht}(hhhjj#ubah}(h ]h"]jah$]h&]h(]uh*jhjf#ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj2#ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj#hhhj##hNubeh}(h ]j #ah"]h$]h&]h(]j pyparsingjjjpyparsing_common.upcase_tokensuh*jWhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.core.token_map..pahKhj#hhubj)}(hhh]hQ)}(h-Parse action to convert tokens to upper case.h]h-Parse action to convert tokens to upper case.}(hj#hj#hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj #hKhj#hhubah}(h ]h"]h$]h&]h(]uh*jhj#hhhj##hNubeh}(h ]h"]pyah$]h&]h(]jy j#jz methodj| j#j} uh*jRhhhj!hj #hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+uuid (pyparsing.pyparsing_common attribute)pyparsing.pyparsing_common.uuidhNtauh*h,hj!hhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.uuidhNubjS)}(hhh](jX)}(hpyparsing_common.uuidh](j)}(huuidh]huuid}(hhhj#hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj#hhhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.uuidhNubj^)}(hUUIDh]h = UUID}(hhhj#hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj#hhhj#hNubeh}(h ]j#ah"]h$]h&]h(]j pyparsingjjjpyparsing_common.uuiduh*jWhf/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.uuidhKhj#hhubj)}(hhh]hQ)}(h/UUID (``xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx``)h](hUUID (}(hUUID (hj#hhhNhNubhj)}(h(``xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx``h]h$xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}(hhhj#ubah}(h ]h"]h$]h&]h(]uh*hihj#ubh)}(hj_hj#hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj#hKhj#hhubah}(h ]h"]h$]h&]h(]uh*jhj#hhhj#hNubeh}(h ]h"]pyah$]h&]h(]jy j$jz attributej| j$j} uh*jRhhhj!hj#hNubeh}(h ]h"]h$]h&]h(]uh*jhjhhhjhNubeh}(h ]h"]pyah$]h&]h(]jy j#$jz classj| j'$j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#pyparsing_test (class in pyparsing)pyparsing.pyparsing_testhNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hpyparsing_test()h](j^)}(hclass h]hclass }(hhhj=$hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj9$hhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_testhNubjo)}(h pyparsing.h]h pyparsing.}(hhhjL$hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj9$hhhjK$hNubj)}(hpyparsing_testh]hpyparsing_test}(hhhjZ$hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj9$hhhjK$hNubeh}(h ]j4$ah"]h$]h&]h(]j pyparsingjhjj\$uh*jWhjK$hKhj6$hhubj)}(hhh](hQ)}(hBases: :class:`object`h](hBases: }(hBases: hjr$hhhNhNubh)}(h:class:`object`h]hj)}(hj}$h]hobject}(hhhj$ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj{$ubah}(h ]h"]h$]h&]h(]refdoch refdomainj$reftypeclass refexplicitrefwarnhjn$hj\$hobjectuh*h~hh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_testhKhjr$ubeh}(h ]h"]h$]h&]h(]uh*hPhj$hKhjo$hhubhQ)}(h8namespace class for classes useful in writing unit testsh]h8namespace class for classes useful in writing unit tests}(hj$hj$hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_testhKhjo$hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN;pyparsing_test.TestParseResultsAsserts (class in pyparsing)0pyparsing.pyparsing_test.TestParseResultsAssertshNtauh*h,hjo$hhhNhNubjS)}(hhh](jX)}(h(pyparsing_test.TestParseResultsAsserts()h](j^)}(hclass h]hclass }(hhhj$hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj$hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.TestParseResultsAssertshNubj)}(hTestParseResultsAssertsh]hTestParseResultsAsserts}(hhhj$hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj$hhhj$hNubeh}(h ]j$ah"]h$]h&]h(]j pyparsingjj\$j&pyparsing_test.TestParseResultsAssertsuh*jWhj$hKhj$hhubj)}(hhh](hQ)}(hBases: :class:`object`h](hBases: }(hBases: hj$hhhNhNubh)}(h:class:`object`h]hj)}(hj$h]hobject}(hhhj$ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj$ubah}(h ]h"]h$]h&]h(]refdoch refdomainj%reftypeclass refexplicitrefwarnhj$hj$hobjectuh*h~h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.TestParseResultsAssertshKhj$ubeh}(h ]h"]h$]h&]h(]uh*hPhj%hKhj$hhubhQ)}(hYA mixin class to add parse results assertion methods to normal unittest.TestCase classes.h]hYA mixin class to add parse results assertion methods to normal unittest.TestCase classes.}(hj %hj%hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.TestParseResultsAssertshKhj$hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNE__dict__ (pyparsing.pyparsing_test.TestParseResultsAsserts attribute)9pyparsing.pyparsing_test.TestParseResultsAsserts.__dict__hNtauh*h,hj$hhhNhNubjS)}(hhh](jX)}(h/pyparsing_test.TestParseResultsAsserts.__dict__h](j)}(h__dict__h]h__dict__}(hhhjB%hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj>%hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.__dict__hNubj^)}(hX\mappingproxy({'__module__': 'pyparsing.testing', '__doc__': '\n A mixin class to add parse results assertion methods to normal unittest.TestCase classes.\n ', 'assertParseResultsEquals': , 'assertParseAndCheckList': , 'assertParseAndCheckDict': , 'assertRunTestResults': , 'assertRaisesParseException': , '__dict__': , '__weakref__': , '__annotations__': {}})h]hX_ = mappingproxy({'__module__': 'pyparsing.testing', '__doc__': '\n A mixin class to add parse results assertion methods to normal unittest.TestCase classes.\n ', 'assertParseResultsEquals': , 'assertParseAndCheckList': , 'assertParseAndCheckDict': , 'assertRunTestResults': , 'assertRaisesParseException': , '__dict__': , '__weakref__': , '__annotations__': {}})}(hhhjQ%hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj>%hhhjP%hNubeh}(h ]j9%ah"]h$]h&]h(]j pyparsingjj$j/pyparsing_test.TestParseResultsAsserts.__dict__uh*jWh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.__dict__hKhj;%hhubj)}(hhh]h}(h ]h"]h$]h&]h(]uh*jhj;%hhhjP%hNubeh}(h ]h"]pyah$]h&]h(]jy jt%jz attributej| jx%j} uh*jRhhhj$hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNH__weakref__ (pyparsing.pyparsing_test.TestParseResultsAsserts attribute)pyparsing_test.TestParseResultsAsserts.assertParseAndCheckDictuh*jWhj%hKhj%hhubj)}(hhh]hQ)}(hConvenience wrapper assert to test a parser element and input string, and assert that the resulting ``ParseResults.asDict()`` is equal to the ``expected_dict``.h](hdConvenience wrapper assert to test a parser element and input string, and assert that the resulting }(hdConvenience wrapper assert to test a parser element and input string, and assert that the resulting hj&hhhNhNubhj)}(h``ParseResults.asDict()``h]hParseResults.asDict()}(hhhj&ubah}(h ]h"]h$]h&]h(]uh*hihj&ubh is equal to the }(h is equal to the hj&hhhNhNubhj)}(h``expected_dict``h]h expected_dict}(hhhj&ubah}(h ]h"]h$]h&]h(]uh*hihj&ubh.}(hjhj&hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj%hKhj&hhubah}(h ]h"]h$]h&]h(]uh*jhj%hhhj%hNubeh}(h ]h"]pyah$]h&]h(]jy j&jz methodj| j&j} uh*jRhhhj$hj%hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNSassertParseAndCheckList() (pyparsing.pyparsing_test.TestParseResultsAsserts method)Hpyparsing.pyparsing_test.TestParseResultsAsserts.assertParseAndCheckListhNtauh*h,hj$hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.TestParseResultsAsserts.assertParseAndCheckListhNubjS)}(hhh](jX)}(hxpyparsing_test.TestParseResultsAsserts.assertParseAndCheckList(expr, test_string, expected_list, msg=None, verbose=True)h](j)}(hassertParseAndCheckListh]hassertParseAndCheckList}(hhhj 'hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj'hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.TestParseResultsAsserts.assertParseAndCheckListhNubj)}(h8expr, test_string, expected_list, msg=None, verbose=Trueh](j)}(hexprh]j)}(hexprh]hexpr}(hhhj 'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj'ubj)}(h test_stringh]j)}(h test_stringh]h test_string}(hhhj8'ubah}(h ]h"]jah$]h&]h(]uh*jhj4'ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj'ubj)}(h expected_listh]j)}(h expected_listh]h expected_list}(hhhjP'ubah}(h ]h"]jah$]h&]h(]uh*jhjL'ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj'ubj)}(hmsg=Noneh](j)}(hmsgh]hmsg}(hhhjh'ubah}(h ]h"]jah$]h&]h(]uh*jhjd'ubjZ)}(h=h]h=}(hhhjv'ubah}(h ]h"]jfah$]h&]h(]uh*jYhjd'ubjo)}(hNoneh]hNone}(hhhj'ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjd'ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj'ubj)}(h verbose=Trueh](j)}(hverboseh]hverbose}(hhhj'ubah}(h ]h"]jah$]h&]h(]uh*jhj'ubjZ)}(h=h]h=}(hhhj'ubah}(h ]h"]jfah$]h&]h(]uh*jYhj'ubjo)}(hTrueh]hTrue}(hhhj'ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj'ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj'ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj'hhhj'hNubeh}(h ]j&ah"]h$]h&]h(]j pyparsingjj$j>pyparsing_test.TestParseResultsAsserts.assertParseAndCheckListuh*jWhj'hKhj'hhubj)}(hhh]hQ)}(hConvenience wrapper assert to test a parser element and input string, and assert that the resulting ``ParseResults.asList()`` is equal to the ``expected_list``.h](hdConvenience wrapper assert to test a parser element and input string, and assert that the resulting }(hdConvenience wrapper assert to test a parser element and input string, and assert that the resulting hj'hhhNhNubhj)}(h``ParseResults.asList()``h]hParseResults.asList()}(hhhj'ubah}(h ]h"]h$]h&]h(]uh*hihj'ubh is equal to the }(h is equal to the hj'hhhNhNubhj)}(h``expected_list``h]h expected_list}(hhhj'ubah}(h ]h"]h$]h&]h(]uh*hihj'ubh.}(hjhj'hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj'hKhj'hhubah}(h ]h"]h$]h&]h(]uh*jhj'hhhj'hNubeh}(h ]h"]pyah$]h&]h(]jy j(jz methodj| j (j} uh*jRhhhj$hj'hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNTassertParseResultsEquals() (pyparsing.pyparsing_test.TestParseResultsAsserts method)Ipyparsing.pyparsing_test.TestParseResultsAsserts.assertParseResultsEqualshNtauh*h,hj$hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.TestParseResultsAsserts.assertParseResultsEqualshNubjS)}(hhh](jX)}(hypyparsing_test.TestParseResultsAsserts.assertParseResultsEquals(result, expected_list=None, expected_dict=None, msg=None)h](j)}(hassertParseResultsEqualsh]hassertParseResultsEquals}(hhhj7(hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj3(hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.TestParseResultsAsserts.assertParseResultsEqualshNubj)}(h8result, expected_list=None, expected_dict=None, msg=Noneh](j)}(hresulth]j)}(hresulth]hresult}(hhhjN(ubah}(h ]h"]jah$]h&]h(]uh*jhjJ(ubah}(h ]h"]h$]h&]h(]jzj{uh*jhjF(ubj)}(hexpected_list=Noneh](j)}(h expected_listh]h expected_list}(hhhjf(ubah}(h ]h"]jah$]h&]h(]uh*jhjb(ubjZ)}(h=h]h=}(hhhjt(ubah}(h ]h"]jfah$]h&]h(]uh*jYhjb(ubjo)}(hNoneh]hNone}(hhhj(ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjb(ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjF(ubj)}(hexpected_dict=Noneh](j)}(h expected_dicth]h expected_dict}(hhhj(ubah}(h ]h"]jah$]h&]h(]uh*jhj(ubjZ)}(h=h]h=}(hhhj(ubah}(h ]h"]jfah$]h&]h(]uh*jYhj(ubjo)}(hNoneh]hNone}(hhhj(ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj(ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjF(ubj)}(hmsg=Noneh](j)}(hmsgh]hmsg}(hhhj(ubah}(h ]h"]jah$]h&]h(]uh*jhj(ubjZ)}(h=h]h=}(hhhj(ubah}(h ]h"]jfah$]h&]h(]uh*jYhj(ubjo)}(hNoneh]hNone}(hhhj(ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj(ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjF(ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj3(hhhjE(hNubeh}(h ]j-(ah"]h$]h&]h(]j pyparsingjj$j?pyparsing_test.TestParseResultsAsserts.assertParseResultsEqualsuh*jWhjE(hKhj0(hhubj)}(hhh]hQ)}(hUnit test assertion to compare a :class:`ParseResults` object with an optional ``expected_list``, and compare any defined results names with an optional ``expected_dict``.h](h!Unit test assertion to compare a }(h!Unit test assertion to compare a hj)hhhNhNubh)}(h:class:`ParseResults`h]hj)}(hj)h]h ParseResults}(hhhj)ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj)ubah}(h ]h"]h$]h&]h(]refdoch refdomainj))reftypeclass refexplicitrefwarnhj )hj$h ParseResultsuh*h~hj/(hKhj)ubh object with an optional }(h object with an optional hj)hhhNhNubhj)}(h``expected_list``h]h expected_list}(hhhj@)ubah}(h ]h"]h$]h&]h(]uh*hihj)ubh9, and compare any defined results names with an optional }(h9, and compare any defined results names with an optional hj)hhhNhNubhj)}(h``expected_dict``h]h expected_dict}(hhhjS)ubah}(h ]h"]h$]h&]h(]uh*hihj)ubh.}(hjhj)hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj/(hKhj)hhubah}(h ]h"]h$]h&]h(]uh*jhj0(hhhjE(hNubeh}(h ]h"]pyah$]h&]h(]jy jt)jz methodj| jx)j} uh*jRhhhj$hj/(hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNVassertRaisesParseException() (pyparsing.pyparsing_test.TestParseResultsAsserts method)Kpyparsing.pyparsing_test.TestParseResultsAsserts.assertRaisesParseExceptionhNtauh*h,hj$hhhNhNubjS)}(hhh](jX)}(hpyparsing_test.TestParseResultsAsserts.assertRaisesParseException(exc_type=, msg=None)h](j)}(hassertRaisesParseExceptionh]hassertRaisesParseException}(hhhj)hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj)hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.TestParseResultsAsserts.assertRaisesParseExceptionhNubj)}(hB(exc_type=, msg=None)h](j)}(h6exc_type=h]h6exc_type=}(hhhj)ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj)ubj)}(hmsg=Noneh]hmsg=None}(hhhj)ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj)ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj)hhhj)hNubeh}(h ]j)ah"]h$]h&]h(]j pyparsingjj$jApyparsing_test.TestParseResultsAsserts.assertRaisesParseExceptionuh*jWhj)hKhj)hhubj)}(hhh]h}(h ]h"]h$]h&]h(]uh*jhj)hhhj)hNubeh}(h ]h"]pyah$]h&]h(]jy j)jz methodj| j)j} uh*jRhhhj$hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNPassertRunTestResults() (pyparsing.pyparsing_test.TestParseResultsAsserts method)Epyparsing.pyparsing_test.TestParseResultsAsserts.assertRunTestResultshNtauh*h,hj$hhhNhNubjS)}(hhh](jX)}(htpyparsing_test.TestParseResultsAsserts.assertRunTestResults(run_tests_report, expected_parse_results=None, msg=None)h](j)}(hassertRunTestResultsh]hassertRunTestResults}(hhhj)hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj)hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.TestParseResultsAsserts.assertRunTestResultshNubj)}(h7run_tests_report, expected_parse_results=None, msg=Noneh](j)}(hrun_tests_reporth]j)}(hrun_tests_reporth]hrun_tests_report}(hhhj*ubah}(h ]h"]jah$]h&]h(]uh*jhj*ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj*ubj)}(hexpected_parse_results=Noneh](j)}(hexpected_parse_resultsh]hexpected_parse_results}(hhhj *ubah}(h ]h"]jah$]h&]h(]uh*jhj*ubjZ)}(h=h]h=}(hhhj.*ubah}(h ]h"]jfah$]h&]h(]uh*jYhj*ubjo)}(hNoneh]hNone}(hhhj<*ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj*ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj*ubj)}(hmsg=Noneh](j)}(hmsgh]hmsg}(hhhjU*ubah}(h ]h"]jah$]h&]h(]uh*jhjQ*ubjZ)}(h=h]h=}(hhhjc*ubah}(h ]h"]jfah$]h&]h(]uh*jYhjQ*ubjo)}(hNoneh]hNone}(hhhjq*ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjQ*ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj*ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj)hhhj)hNubeh}(h ]j)ah"]h$]h&]h(]j pyparsingjj$j;pyparsing_test.TestParseResultsAsserts.assertRunTestResultsuh*jWhj)hKhj)hhubj)}(hhh](hQ)}(hX^Unit test assertion to evaluate output of ``ParserElement.runTests()``. If a list of list-dict tuples is given as the ``expected_parse_results`` argument, then these are zipped with the report tuples returned by ``runTests`` and evaluated using ``assertParseResultsEquals``. Finally, asserts that the overall ``runTests()`` success value is ``True``.h](h*Unit test assertion to evaluate output of }(h*Unit test assertion to evaluate output of hj*hhhNhNubhj)}(h``ParserElement.runTests()``h]hParserElement.runTests()}(hhhj*ubah}(h ]h"]h$]h&]h(]uh*hihj*ubh0. If a list of list-dict tuples is given as the }(h0. If a list of list-dict tuples is given as the hj*hhhNhNubhj)}(h``expected_parse_results``h]hexpected_parse_results}(hhhj*ubah}(h ]h"]h$]h&]h(]uh*hihj*ubhD argument, then these are zipped with the report tuples returned by }(hD argument, then these are zipped with the report tuples returned by hj*hhhNhNubhj)}(h ``runTests``h]hrunTests}(hhhj*ubah}(h ]h"]h$]h&]h(]uh*hihj*ubh and evaluated using }(h and evaluated using hj*hhhNhNubhj)}(h``assertParseResultsEquals``h]hassertParseResultsEquals}(hhhj*ubah}(h ]h"]h$]h&]h(]uh*hihj*ubh$. Finally, asserts that the overall }(h$. Finally, asserts that the overall hj*hhhNhNubhj)}(h``runTests()``h]h runTests()}(hhhj*ubah}(h ]h"]h$]h&]h(]uh*hihj*ubh success value is }(h success value is hj*hhhNhNubhj)}(h``True``h]hTrue}(hhhj*ubah}(h ]h"]h$]h&]h(]uh*hihj*ubh.}(hjhj*hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.TestParseResultsAsserts.assertRunTestResultshKhj*hhubj>)}(hhh]j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhj+ubah}(h ]h"]h$]h&]h(]uh*j>hj+hj)hKubj>)}(hhh]j)}(hhh](j)}(hhh]hQ)}(h_run_tests_report -- tuple(bool, [tuple(str, ParseResults or Exception)]) returned from runTestsh](j>)}(hrun_tests_reporth]hrun_tests_report}(hhhj9+ubah}(h ]h"]h$]h&]h(]j>hj*hj$uh*j>hj5+ubh – }(hhhj5+ubhKtuple(bool, [tuple(str, ParseResults or Exception)]) returned from runTests}(hKtuple(bool, [tuple(str, ParseResults or Exception)]) returned from runTestshj5+hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj2+ubah}(h ]h"]h$]h&]h(]uh*jhj/+ubj)}(hhh]hQ)}(hJ(optional) (expected_parse_results) -- [tuple(str, list, dict, Exception)]h](j>)}(h(h]h(}(hhhjc+ubah}(h ]h"]h$]h&]h(]uh*j>hj_+ubj>)}(hoptionalh]hoptional}(hhhjq+ubah}(h ]h"]h$]h&]h(]j>hj*hj$uh*j>hj_+ubj>)}(hj_h]h)}(hhhj+ubah}(h ]h"]h$]h&]h(]uh*j>hj_+ubh (}(hhhj_+ubh)}(hhh]hliteral_emphasis)}(hexpected_parse_resultsh]hexpected_parse_results}(hhhj+ubah}(h ]h"]h$]h&]h(]uh*j+hj+ubah}(h ]h"]h$]h&]h(] refdomainpy refexplicitreftypej reftargetj+j>hj*hj$uh*h~hj_+ubh)}(hhhj_+ubh – }(hhhj_+ubh#[tuple(str, list, dict, Exception)]}(h#[tuple(str, list, dict, Exception)]hj_+hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj\+ubah}(h ]h"]h$]h&]h(]uh*jhj/+ubeh}(h ]h"]h$]h&]h(]uh*jhj,+ubah}(h ]h"]h$]h&]h(]uh*j>hj+ubeh}(h ]h"]h$]h&]h(]uh*j>hj+ubah}(h ]h"]h$]h&]h(]uh*j>hj*hhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhj)hhhj)hNubeh}(h ]h"]j+ah$]h&]h(]jy j+jz methodj| j+j} uh*jRhhhj$hNhNubeh}(h ]h"]h$]h&]h(]uh*jhj$hhhj$hNubeh}(h ]h"]pyah$]h&]h(]jy j+jz classj| j+j} uh*jRhhhjo$hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN0__weakref__ (pyparsing.pyparsing_test attribute)$pyparsing.pyparsing_test.__weakref__hNtauh*h,hjo$hhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.__weakref__hNubjS)}(hhh](jX)}(hpyparsing_test.__weakref__h]j)}(h __weakref__h]h __weakref__}(hhhj,hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj ,hhhl/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.__weakref__hNubah}(h ]j,ah"]h$]h&]h(]j pyparsingjj\$jpyparsing_test.__weakref__uh*jWhj,hKhj ,hhubj)}(hhh]hQ)}(h2list of weak references to the object (if defined)h]h2list of weak references to the object (if defined)}(hj,,hj*,hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj,hKhj',hhubah}(h ]h"]h$]h&]h(]uh*jhj ,hhhj,hNubeh}(h ]h"]pyah$]h&]h(]jy jA,jz attributej| jE,j} uh*jRhhhjo$hj,hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN;pyparsing_test.reset_pyparsing_context (class in pyparsing)0pyparsing.pyparsing_test.reset_pyparsing_contexthNtauh*h,hjo$hhhNhNubjS)}(hhh](jX)}(h(pyparsing_test.reset_pyparsing_context()h](j^)}(hclass h]hclass }(hhhj[,hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hjW,hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.reset_pyparsing_contexthNubj)}(hreset_pyparsing_contexth]hreset_pyparsing_context}(hhhjj,hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjW,hhhji,hNubeh}(h ]jR,ah"]h$]h&]h(]j pyparsingjj\$j&pyparsing_test.reset_pyparsing_contextuh*jWhji,hKhjT,hhubj)}(hhh](hQ)}(hBases: :class:`object`h](hBases: }(hBases: hj,hhhNhNubh)}(h:class:`object`h]hj)}(hj,h]hobject}(hhhj,ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj,ubah}(h ]h"]h$]h&]h(]refdoch refdomainj,reftypeclass refexplicitrefwarnhj~,hj,hobjectuh*h~h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.reset_pyparsing_contexthKhj,ubeh}(h ]h"]h$]h&]h(]uh*hPhj,hKhj,hhubhQ)}(hContext manager to be used when writing unit tests that modify pyparsing config values: - packrat parsing - bounded recursion parsing - default whitespace characters. - default keyword characters - literal string auto-conversion class - __diag__ settingsh]hContext manager to be used when writing unit tests that modify pyparsing config values: - packrat parsing - bounded recursion parsing - default whitespace characters. - default keyword characters - literal string auto-conversion class - __diag__ settings}(hj,hj,hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.reset_pyparsing_contexthKhj,hhubhQ)}(h Example::h]hExample:}(hExample:hj,hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj,hK hj,hhubjk)}(hXwith reset_pyparsing_context(): # test that literals used to construct a grammar are automatically suppressed ParserElement.inlineLiteralsUsing(Suppress) term = Word(alphas) | Word(nums) group = Group('(' + term[...] + ')') # assert that the '()' characters are not included in the parsed tokens self.assertParseAndCheckList(group, "(abc 123 def)", ['abc', '123', 'def']) # after exiting context manager, literals are converted to Literal expressions againh]hXwith reset_pyparsing_context(): # test that literals used to construct a grammar are automatically suppressed ParserElement.inlineLiteralsUsing(Suppress) term = Word(alphas) | Word(nums) group = Group('(' + term[...] + ')') # assert that the '()' characters are not included in the parsed tokens self.assertParseAndCheckList(group, "(abc 123 def)", ['abc', '123', 'def']) # after exiting context manager, literals are converted to Literal expressions again}(hhhj,ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj,hK hj,hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNE__dict__ (pyparsing.pyparsing_test.reset_pyparsing_context attribute)9pyparsing.pyparsing_test.reset_pyparsing_context.__dict__hNtauh*h,hj,hhhNhNubjS)}(hhh](jX)}(h/pyparsing_test.reset_pyparsing_context.__dict__h](j)}(h__dict__h]h__dict__}(hhhj,hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj,hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.reset_pyparsing_context.__dict__hNubj^)}(hXImappingproxy({'__module__': 'pyparsing.testing', '__doc__': '\n Context manager to be used when writing unit tests that modify pyparsing config values:\n - packrat parsing\n - bounded recursion parsing\n - default whitespace characters.\n - default keyword characters\n - literal string auto-conversion class\n - __diag__ settings\n\n Example::\n\n with reset_pyparsing_context():\n # test that literals used to construct a grammar are automatically suppressed\n ParserElement.inlineLiteralsUsing(Suppress)\n\n term = Word(alphas) | Word(nums)\n group = Group(\'(\' + term[...] + \')\')\n\n # assert that the \'()\' characters are not included in the parsed tokens\n self.assertParseAndCheckList(group, "(abc 123 def)", [\'abc\', \'123\', \'def\'])\n\n # after exiting context manager, literals are converted to Literal expressions again\n ', '__init__': , 'save': , 'restore': , 'copy': , '__enter__': , '__exit__': , '__dict__': , '__weakref__': , '__annotations__': {}})h]hXL = mappingproxy({'__module__': 'pyparsing.testing', '__doc__': '\n Context manager to be used when writing unit tests that modify pyparsing config values:\n - packrat parsing\n - bounded recursion parsing\n - default whitespace characters.\n - default keyword characters\n - literal string auto-conversion class\n - __diag__ settings\n\n Example::\n\n with reset_pyparsing_context():\n # test that literals used to construct a grammar are automatically suppressed\n ParserElement.inlineLiteralsUsing(Suppress)\n\n term = Word(alphas) | Word(nums)\n group = Group(\'(\' + term[...] + \')\')\n\n # assert that the \'()\' characters are not included in the parsed tokens\n self.assertParseAndCheckList(group, "(abc 123 def)", [\'abc\', \'123\', \'def\'])\n\n # after exiting context manager, literals are converted to Literal expressions again\n ', '__init__': , 'save': , 'restore': , 'copy': , '__enter__': , '__exit__': , '__dict__': , '__weakref__': , '__annotations__': {}})}(hhhj-hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj,hhhj-hNubeh}(h ]j,ah"]h$]h&]h(]j pyparsingjj,j/pyparsing_test.reset_pyparsing_context.__dict__uh*jWh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.reset_pyparsing_context.__dict__hKhj,hhubj)}(hhh]h}(h ]h"]h$]h&]h(]uh*jhj,hhhj-hNubeh}(h ]h"]pyah$]h&]h(]jy j&-jz attributej| j*-j} uh*jRhhhj,hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNE__enter__() (pyparsing.pyparsing_test.reset_pyparsing_context method):pyparsing.pyparsing_test.reset_pyparsing_context.__enter__hNtauh*h,hj,hhhNhNubjS)}(hhh](jX)}(h2pyparsing_test.reset_pyparsing_context.__enter__()h](j)}(h __enter__h]h __enter__}(hhhj@-hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj<-hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.reset_pyparsing_context.__enter__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj<-hhhjN-hNubeh}(h ]j7-ah"]h$]h&]h(]j pyparsingjj,j0pyparsing_test.reset_pyparsing_context.__enter__uh*jWhjN-hKhj9-hhubj)}(hhh]h}(h ]h"]h$]h&]h(]uh*jhj9-hhhjN-hNubeh}(h ]h"]pyah$]h&]h(]jy jm-jz methodj| jq-j} uh*jRhhhj,hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jND__exit__() (pyparsing.pyparsing_test.reset_pyparsing_context method)9pyparsing.pyparsing_test.reset_pyparsing_context.__exit__hNtauh*h,hj,hhhNhNubjS)}(hhh](jX)}(h6pyparsing_test.reset_pyparsing_context.__exit__(*args)h](j)}(h__exit__h]h__exit__}(hhhj-hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj-hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.reset_pyparsing_context.__exit__hNubj)}(h*argsh]j)}(h*argsh](jZ)}(h*h]h*}(hhhj-ubah}(h ]h"]jfah$]h&]h(]uh*jYhj-ubj)}(hargsh]hargs}(hhhj-ubah}(h ]h"]jah$]h&]h(]uh*jhj-ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj-ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj-hhhj-hNubeh}(h ]j~-ah"]h$]h&]h(]j pyparsingjj,j/pyparsing_test.reset_pyparsing_context.__exit__uh*jWhj-hKhj-hhubj)}(hhh]h}(h ]h"]h$]h&]h(]uh*jhj-hhhj-hNubeh}(h ]h"]pyah$]h&]h(]jy j-jz methodj| j-j} uh*jRhhhj,hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jND__init__() (pyparsing.pyparsing_test.reset_pyparsing_context method)9pyparsing.pyparsing_test.reset_pyparsing_context.__init__hNtauh*h,hj,hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.reset_pyparsing_context.__init__hNubjS)}(hhh](jX)}(h1pyparsing_test.reset_pyparsing_context.__init__()h](j)}(h__init__h]h__init__}(hhhj-hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj-hhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.reset_pyparsing_context.__init__hNubj)}(h()h]h}(h ]h"]h$]h&]h(]jzj{uh*jhj-hhhj.hNubeh}(h ]j-ah"]h$]h&]h(]j pyparsingjj,j/pyparsing_test.reset_pyparsing_context.__init__uh*jWhj.hKhj-hhubj)}(hhh]hQ)}(h>Initialize self. See help(type(self)) for accurate signature.h]h>Initialize self. See help(type(self)) for accurate signature.}(hj.hj.hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj-hKhj.hhubah}(h ]h"]h$]h&]h(]uh*jhj-hhhj.hNubeh}(h ]h"]pyah$]h&]h(]jy j0.jz methodj| j4.j} uh*jRhhhj,hj-hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNH__weakref__ (pyparsing.pyparsing_test.reset_pyparsing_context attribute) strh](j^)}(hstatic h]hstatic }(hhhjy/hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hju/hhhz/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.with_line_numbershNubj)}(hwith_line_numbersh]hwith_line_numbers}(hhhj/hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hju/hhhj/hNubj)}(hs: str, start_line: Optional[int] = None, end_line: Optional[int] = None, expand_tabs: bool = True, eol_mark: str = '|', mark_spaces: Optional[str] = None, mark_control: Optional[str] = Noneh_](j)}(hs: strh](j)}(hsh]hs}(hhhj/ubah}(h ]h"]jah$]h&]h(]uh*jhj/ubj)}(h:h]h:}(hhhj/ubah}(h ]h"]jah$]h&]h(]uh*jhj/ubh }(hhhj/ubj)}(hstrh]h)}(hhh]hstr}(hhhj/ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejn$py:classj\$uh*h~hj/ubah}(h ]h"]jah$]h&]h(]uh*jhj/ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubj)}(h start_line: Optional[int] = Noneh](j)}(h start_lineh]h start_line}(hhhj/ubah}(h ]h"]jah$]h&]h(]uh*jhj/ubj)}(h:h]h:}(hhhj/ubah}(h ]h"]jah$]h&]h(]uh*jhj/ubh }(hhhj/ubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhj 0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejn$py:classj\$uh*h~hj0ubj)}(h[h]h[}(hhhj0ubah}(h ]h"]jah$]h&]h(]uh*jhj0ubh)}(hhh]hint}(hhhj*0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejn$py:classj\$uh*h~hj0ubj)}(h]h]h]}(hhhj=0ubah}(h ]h"]jah$]h&]h(]uh*jhj0ubeh}(h ]h"]jah$]h&]h(]uh*jhj/ubh }(hhhj/ubjZ)}(h=h]h=}(hhhjU0ubah}(h ]h"]jfah$]h&]h(]uh*jYhj/ubh }(hhhj/ubjo)}(hNoneh]hNone}(hhhjg0ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj/ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubj)}(hend_line: Optional[int] = Noneh](j)}(hend_lineh]hend_line}(hhhj0ubah}(h ]h"]jah$]h&]h(]uh*jhj|0ubj)}(h:h]h:}(hhhj0ubah}(h ]h"]jah$]h&]h(]uh*jhj|0ubh }(hhhj|0ubj)}(h Optional[int]h](h)}(hhh]hOptional}(hhhj0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejn$py:classj\$uh*h~hj0ubj)}(h[h]h[}(hhhj0ubah}(h ]h"]jah$]h&]h(]uh*jhj0ubh)}(hhh]hint}(hhhj0ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulejn$py:classj\$uh*h~hj0ubj)}(h]h]h]}(hhhj0ubah}(h ]h"]jah$]h&]h(]uh*jhj0ubeh}(h ]h"]jah$]h&]h(]uh*jhj|0ubh }(hhhj|0ubjZ)}(h=h]h=}(hhhj0ubah}(h ]h"]jfah$]h&]h(]uh*jYhj|0ubh }(hhhj|0ubjo)}(hNoneh]hNone}(hhhj1ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj|0ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubj)}(hexpand_tabs: bool = Trueh](j)}(h expand_tabsh]h expand_tabs}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubj)}(h:h]h:}(hhhj)1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubh }(hhhj1ubj)}(hboolh]h)}(hhh]hbool}(hhhj?1ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetbool py:modulejn$py:classj\$uh*h~hj;1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubh }(hhhj1ubjZ)}(h=h]h=}(hhhj\1ubah}(h ]h"]jfah$]h&]h(]uh*jYhj1ubh }(hhhj1ubjo)}(hTrueh]hTrue}(hhhjn1ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj1ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubj)}(heol_mark: str = '|'h](j)}(heol_markh]heol_mark}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubj)}(h:h]h:}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubh }(hhhj1ubj)}(hstrh]h)}(hhh]hstr}(hhhj1ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejn$py:classj\$uh*h~hj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubh }(hhhj1ubjZ)}(h=h]h=}(hhhj1ubah}(h ]h"]jfah$]h&]h(]uh*jYhj1ubh }(hhhj1ubjo)}(h'|'h]h'|'}(hhhj1ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj1ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubj)}(h!mark_spaces: Optional[str] = Noneh](j)}(h mark_spacesh]h mark_spaces}(hhhj1ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubj)}(h:h]h:}(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhj1ubh }(hhhj1ubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj2ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejn$py:classj\$uh*h~hj2ubj)}(h[h]h[}(hhhj*2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubh)}(hhh]hstr}(hhhj82ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejn$py:classj\$uh*h~hj2ubj)}(h]h]h]}(hhhjK2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubeh}(h ]h"]jah$]h&]h(]uh*jhj1ubh }(hhhj1ubjZ)}(h=h]h=}(hhhjc2ubah}(h ]h"]jfah$]h&]h(]uh*jYhj1ubh }(hhhj1ubjo)}(hNoneh]hNone}(hhhju2ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj1ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubj)}(h"mark_control: Optional[str] = Noneh](j)}(h mark_controlh]h mark_control}(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubj)}(h:h]h:}(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubh }(hhhj2ubj)}(h Optional[str]h](h)}(hhh]hOptional}(hhhj2ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetOptional py:modulejn$py:classj\$uh*h~hj2ubj)}(h[h]h[}(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubh)}(hhh]hstr}(hhhj2ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejn$py:classj\$uh*h~hj2ubj)}(h]h]h]}(hhhj2ubah}(h ]h"]jah$]h&]h(]uh*jhj2ubeh}(h ]h"]jah$]h&]h(]uh*jhj2ubh }(hhhj2ubjZ)}(h=h]h=}(hhhj2ubah}(h ]h"]jfah$]h&]h(]uh*jYhj2ubh }(hhhj2ubjo)}(hNoneh]hNone}(hhhj3ubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhj2ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj/ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhju/hhhj/hNubj-)}(hstrh]h)}(hhh]hstr}(hhhj/3ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulejn$py:classj\$uh*h~hj+3ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hju/hhhj/hNubeh}(h ]jp/ah"]h$]h&]h(]j pyparsingjj\$j pyparsing_test.with_line_numbersuh*jWhz/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.with_line_numbershKhjr/hhubj)}(hhh](hQ)}(h|Helpful method for debugging a parser - prints a string with line and column numbers. (Line and column numbers are 1-based.)h]h|Helpful method for debugging a parser - prints a string with line and column numbers. (Line and column numbers are 1-based.)}(hjV3hjT3hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhz/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.testing.pyparsing_test.with_line_numbershKhjQ3hhubj>)}(hhh](j>)}(hhh](j>)}(h Parametersh]h Parameters}(hhhji3ubah}(h ]h"]h$]h&]h(]uh*j>hjf3hj/hKubj>)}(hhh]j)}(hhh](j)}(hhh]hQ)}(hHs -- tuple(bool, str - string to be printed with line and column numbersh](j>)}(hsh]hs}(hhhj3ubah}(h ]h"]h$]h&]h(]j>hjN3hj\$uh*j>hj3ubh – }(hhhj3ubhCtuple(bool, str - string to be printed with line and column numbers}(hCtuple(bool, str - string to be printed with line and column numbershj3hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj}3ubah}(h ]h"]h$]h&]h(]uh*jhjz3ubj)}(hhh]hQ)}(hMstart_line -- int - (optional) starting line number in s to print (default=1)h](j>)}(h start_lineh]h start_line}(hhhj3ubah}(h ]h"]h$]h&]h(]j>hjN3hj\$uh*j>hj3ubh – }(hhhj3ubh?int - (optional) starting line number in s to print (default=1)}(h?int - (optional) starting line number in s to print (default=1)hj3hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj3ubah}(h ]h"]h$]h&]h(]uh*jhjz3ubj)}(hhh]hQ)}(hNend_line -- int - (optional) ending line number in s to print (default=len(s))h](j>)}(hend_lineh]hend_line}(hhhj3ubah}(h ]h"]h$]h&]h(]j>hjN3hj\$uh*j>hj3ubh – }(hhhj3ubhBint - (optional) ending line number in s to print (default=len(s))}(hBint - (optional) ending line number in s to print (default=len(s))hj3hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj3ubah}(h ]h"]h$]h&]h(]uh*jhjz3ubj)}(hhh]hQ)}(hVexpand_tabs -- bool - (optional) expand tabs to spaces, to match the pyparsing defaulth](j>)}(h expand_tabsh]h expand_tabs}(hhhj4ubah}(h ]h"]h$]h&]h(]j>hjN3hj\$uh*j>hj3ubh – }(hhhj3ubhGbool - (optional) expand tabs to spaces, to match the pyparsing default}(hGbool - (optional) expand tabs to spaces, to match the pyparsing defaulthj3hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj3ubah}(h ]h"]h$]h&]h(]uh*jhjz3ubj)}(hhh]hQ)}(hkeol_mark -- str - (optional) string to mark the end of lines, helps visualize trailing spaces (default="|")h](j>)}(heol_markh]heol_mark}(hhhj,4ubah}(h ]h"]h$]h&]h(]j>hjN3hj\$uh*j>hj(4ubh – }(hhhj(4ubhcstr - (optional) string to mark the end of lines, helps visualize trailing spaces (default=”|”)}(h_str - (optional) string to mark the end of lines, helps visualize trailing spaces (default="|")hj(4hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj%4ubah}(h ]h"]h$]h&]h(]uh*jhjz3ubj)}(hhh]hQ)}(hOmark_spaces -- str - (optional) special character to display in place of spacesh](j>)}(h mark_spacesh]h mark_spaces}(hhhjV4ubah}(h ]h"]h$]h&]h(]j>hjN3hj\$uh*j>hjR4ubh – }(hhhjR4ubh@str - (optional) special character to display in place of spaces}(h@str - (optional) special character to display in place of spaceshjR4hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjO4ubah}(h ]h"]h$]h&]h(]uh*jhjz3ubj)}(hhh]hQ)}(hX@mark_control -- str - (optional) convert non-printing control characters to a placeholding character; valid values: - "unicode" - replaces control chars with Unicode symbols, such as "␍" and "␊" - any single character string - replace control characters with given string - None (default) - string is displayed as-ish](j>)}(h mark_controlh]h mark_control}(hhhj4ubah}(h ]h"]h$]h&]h(]j>hjN3hj\$uh*j>hj|4ubh – }(hhhj|4ubhX<str - (optional) convert non-printing control characters to a placeholding character; valid values: - “unicode” - replaces control chars with Unicode symbols, such as “␍” and “␊” - any single character string - replace control characters with given string - None (default) - string is displayed as-is}(hX0str - (optional) convert non-printing control characters to a placeholding character; valid values: - "unicode" - replaces control chars with Unicode symbols, such as "␍" and "␊" - any single character string - replace control characters with given string - None (default) - string is displayed as-ishj|4hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjy4ubah}(h ]h"]h$]h&]h(]uh*jhjz3ubeh}(h ]h"]h$]h&]h(]uh*jhjw3ubah}(h ]h"]h$]h&]h(]uh*j>hjf3ubeh}(h ]h"]h$]h&]h(]uh*j>hjc3ubj>)}(hhh](j>)}(hReturnsh]hReturns}(hhhj4ubah}(h ]h"]h$]h&]h(]uh*j>hj4hj/hKubj>)}(hhh]hQ)}(hFstr - input string with leading line numbers and column number headersh]hFstr - input string with leading line numbers and column number headers}(hFstr - input string with leading line numbers and column number headershj4hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj4ubah}(h ]h"]h$]h&]h(]uh*j>hj4ubeh}(h ]h"]h$]h&]h(]uh*j>hjc3ubeh}(h ]h"]h$]h&]h(]uh*j>hjQ3hhhNhNubeh}(h ]h"]h$]h&]h(]uh*jhjr/hhhj/hNubeh}(h ]h"]pyah$]h&]h(]jy j4jz methodj| j4j} uh*jRhhhjo$hNhNubeh}(h ]h"]h$]h&]h(]uh*jhj6$hhhjK$hNubeh}(h ]h"]pyah$]h&]h(]jy j5jz classj| j5j} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&pyparsing_unicode (class in pyparsing)pyparsing.pyparsing_unicodehNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hpyparsing_unicode()h](j^)}(hclass h]hclass }(hhhj5hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj5hhhk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicodehNubjo)}(h pyparsing.h]h pyparsing.}(hhhj*5hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj5hhhj)5hNubj)}(hpyparsing_unicodeh]hpyparsing_unicode}(hhhj85hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj5hhhj)5hNubeh}(h ]j5ah"]h$]h&]h(]j pyparsingjhjj:5uh*jWhj)5hKhj5hhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.unicode.unicode_set`h](hBases: }(hBases: hjP5hhhNhNubh)}(h&:class:`pyparsing.unicode.unicode_set`h]hj)}(hj[5h]hpyparsing.unicode.unicode_set}(hhhj]5ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjY5ubah}(h ]h"]h$]h&]h(]refdoch refdomainjg5reftypeclass refexplicitrefwarnhjL5hj:5hpyparsing.unicode.unicode_setuh*h~hk/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicodehKhjP5ubeh}(h ]h"]h$]h&]h(]uh*hPhjy5hKhjM5hhubhQ)}(h:class:`pyparsing.unicode.pyparsing_unicode.Japanese.Hiragana`h]hj)}(hjs=h]h5pyparsing.unicode.pyparsing_unicode.Japanese.Hiragana}(hhhju=ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjq=ubah}(h ]h"]h$]h&]h(]refdoch refdomainj=reftypeclass refexplicitrefwarnhjc=hjW;h5pyparsing.unicode.pyparsing_unicode.Japanese.Hiraganauh*h~hhhKhjh=ubeh}(h ]h"]h$]h&]h(]uh*hPhhhKhje=hhubah}(h ]h"]h$]h&]h(]uh*jhjF=hhhj[=hNubeh}(h ]h"]pyah$]h&]h(]jy j=jz attributej| j=j} uh*jRhhhjX;hhhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN=カタカナ (pyparsing.pyparsing_unicode.Japanese attribute)id0hNtauh*h,hjX;hhhhhNubjS)}(hhh](jX)}(h'pyparsing_unicode.Japanese.カタカナh]j)}(h カタカナh]h カタカナ}(hhhj=hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj=hhh}/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.Japanese.KatakanahNubah}(h ](j=1pyparsing.pyparsing_unicode.Japanese.カタカナeh"]h$]h&]h(]j pyparsingjjW;j'pyparsing_unicode.Japanese.カタカナuh*jWhj=hKhj=hhubj)}(hhh]hQ)}(hGalias of :class:`pyparsing.unicode.pyparsing_unicode.Japanese.Katakana`h](h alias of }(h alias of hj=hhhNhNubh)}(h>:class:`pyparsing.unicode.pyparsing_unicode.Japanese.Katakana`h]hj)}(hj=h]h5pyparsing.unicode.pyparsing_unicode.Japanese.Katakana}(hhhj=ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj=ubah}(h ]h"]h$]h&]h(]refdoch refdomainj=reftypeclass refexplicitrefwarnhj=hjW;h5pyparsing.unicode.pyparsing_unicode.Japanese.Katakanauh*h~hhhKhj=ubeh}(h ]h"]h$]h&]h(]uh*hPhhhKhj=hhubah}(h ]h"]h$]h&]h(]uh*jhj=hhhj=hNubeh}(h ]h"]pyah$]h&]h(]jy j >jz attributej| j>j} uh*jRhhhjX;hhhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN7漢字 (pyparsing.pyparsing_unicode.Japanese attribute)id12hNtauh*h,hjX;hhhhhNubjS)}(hhh](jX)}(h!pyparsing_unicode.Japanese.漢字h]j)}(h漢字h]h漢字}(hhhj'>hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj#>hhhz/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.Japanese.KanjihNubah}(h ](j>+pyparsing.pyparsing_unicode.Japanese.漢字eh"]h$]h&]h(]j pyparsingjjW;j!pyparsing_unicode.Japanese.漢字uh*jWhj5>hKhj >hhubj)}(hhh]hQ)}(hDalias of :class:`pyparsing.unicode.pyparsing_unicode.Japanese.Kanji`h](h alias of }(h alias of hjB>hhhNhNubh)}(h;:class:`pyparsing.unicode.pyparsing_unicode.Japanese.Kanji`h]hj)}(hjM>h]h2pyparsing.unicode.pyparsing_unicode.Japanese.Kanji}(hhhjO>ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjK>ubah}(h ]h"]h$]h&]h(]refdoch refdomainjY>reftypeclass refexplicitrefwarnhj=>hjW;h2pyparsing.unicode.pyparsing_unicode.Japanese.Kanjiuh*h~hhhKhjB>ubeh}(h ]h"]h$]h&]h(]uh*hPhhhKhj?>hhubah}(h ]h"]h$]h&]h(]uh*jhj >hhhj5>hNubeh}(h ]h"]pyah$]h&]h(]jy jz>jz attributej| j~>j} uh*jRhhhjX;hhhNubeh}(h ]h"]h$]h&]h(]uh*jhj,;hhhjA;hNubeh}(h ]h"]pyah$]h&]h(]jy j>jz classj| j>j} uh*jRhhhjM5hNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN.Korean (pyparsing.pyparsing_unicode attribute)"pyparsing.pyparsing_unicode.KoreanhNtauh*h,hjM5hhhhhNubjS)}(hhh](jX)}(hpyparsing_unicode.Koreanh]j)}(hKoreanh]hKorean}(hhhj>hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj>hhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.HangulhNubah}(h ]j>ah"]h$]h&]h(]j pyparsingjj:5jpyparsing_unicode.Koreanuh*jWhj>hKhj>hhubj)}(hhh]hQ)}(hhhhNhNubh)}(h3:class:`pyparsing.unicode.pyparsing_unicode.Hangul`h]hj)}(hj>h]h*pyparsing.unicode.pyparsing_unicode.Hangul}(hhhj>ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj>ubah}(h ]h"]h$]h&]h(]refdoch refdomainj>reftypeclass refexplicitrefwarnhj>hj:5h*pyparsing.unicode.pyparsing_unicode.Hanguluh*h~hhhKhj>ubeh}(h ]h"]h$]h&]h(]uh*hPhhhKhj>hhubah}(h ]h"]h$]h&]h(]uh*jhj>hhhj>hNubeh}(h ]h"]pyah$]h&]h(]jy j>jz attributej| j>j} uh*jRhhhjM5hhhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-pyparsing_unicode.Latin1 (class in pyparsing)"pyparsing.pyparsing_unicode.Latin1hNtauh*h,hjM5hhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.Latin1hNubjS)}(hhh](jX)}(hpyparsing_unicode.Latin1()h](j^)}(hclass h]hclass }(hhhj?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj ?hhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.Latin1hNubj)}(hLatin1h]hLatin1}(hhhj?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj ?hhhj?hNubeh}(h ]j?ah"]h$]h&]h(]j pyparsingjj:5jpyparsing_unicode.Latin1uh*jWhj?hKhj?hhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.unicode.unicode_set`h](hBases: }(hBases: hj7?hhhNhNubh)}(h&:class:`pyparsing.unicode.unicode_set`h]hj)}(hjB?h]hpyparsing.unicode.unicode_set}(hhhjD?ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj@?ubah}(h ]h"]h$]h&]h(]refdoch refdomainjN?reftypeclass refexplicitrefwarnhj2?hj3?hpyparsing.unicode.unicode_setuh*h~hr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.Latin1hKhj7?ubeh}(h ]h"]h$]h&]h(]uh*hPhj`?hKhj4?hhubhQ)}(h/Unicode set for Latin-1 Unicode Character Rangeh]h/Unicode set for Latin-1 Unicode Character Range}(hji?hjg?hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj?hKhj4?hhubeh}(h ]h"]h$]h&]h(]uh*jhj?hhhj?hNubeh}(h ]h"]pyah$]h&]h(]jy j~?jz classj| j?j} uh*jRhhhjM5hj?hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-pyparsing_unicode.LatinA (class in pyparsing)"pyparsing.pyparsing_unicode.LatinAhNtauh*h,hjM5hhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.LatinAhNubjS)}(hhh](jX)}(hpyparsing_unicode.LatinA()h](j^)}(hclass h]hclass }(hhhj?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj?hhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.LatinAhNubj)}(hLatinAh]hLatinA}(hhhj?hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj?hhhj?hNubeh}(h ]j?ah"]h$]h&]h(]j pyparsingjj:5jpyparsing_unicode.LatinAuh*jWhj?hKhj?hhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.unicode.unicode_set`h](hBases: }(hBases: hj?hhhNhNubh)}(h&:class:`pyparsing.unicode.unicode_set`h]hj)}(hj?h]hpyparsing.unicode.unicode_set}(hhhj?ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj?ubah}(h ]h"]h$]h&]h(]refdoch refdomainj?reftypeclass refexplicitrefwarnhj?hj?hpyparsing.unicode.unicode_setuh*h~hr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.LatinAhKhj?ubeh}(h ]h"]h$]h&]h(]uh*hPhj?hKhj?hhubhQ)}(h/Unicode set for Latin-A Unicode Character Rangeh]h/Unicode set for Latin-A Unicode Character Range}(hj?hj?hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj?hKhj?hhubeh}(h ]h"]h$]h&]h(]uh*jhj?hhhj?hNubeh}(h ]h"]pyah$]h&]h(]jy j@jz classj| j @j} uh*jRhhhjM5hj?hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-pyparsing_unicode.LatinB (class in pyparsing)"pyparsing.pyparsing_unicode.LatinBhNtauh*h,hjM5hhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.LatinBhNubjS)}(hhh](jX)}(hpyparsing_unicode.LatinB()h](j^)}(hclass h]hclass }(hhhj#@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj@hhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.LatinBhNubj)}(hLatinBh]hLatinB}(hhhj2@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj@hhhj1@hNubeh}(h ]j@ah"]h$]h&]h(]j pyparsingjj:5jpyparsing_unicode.LatinBuh*jWhj1@hKhj@hhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.unicode.unicode_set`h](hBases: }(hBases: hjK@hhhNhNubh)}(h&:class:`pyparsing.unicode.unicode_set`h]hj)}(hjV@h]hpyparsing.unicode.unicode_set}(hhhjX@ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjT@ubah}(h ]h"]h$]h&]h(]refdoch refdomainjb@reftypeclass refexplicitrefwarnhjF@hjG@hpyparsing.unicode.unicode_setuh*h~hr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.LatinBhKhjK@ubeh}(h ]h"]h$]h&]h(]uh*hPhjt@hKhjH@hhubhQ)}(h/Unicode set for Latin-B Unicode Character Rangeh]h/Unicode set for Latin-B Unicode Character Range}(hj}@hj{@hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj@hKhjH@hhubeh}(h ]h"]h$]h&]h(]uh*jhj@hhhj1@hNubeh}(h ]h"]pyah$]h&]h(]jy j@jz classj| j@j} uh*jRhhhjM5hj@hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+pyparsing_unicode.Thai (class in pyparsing) pyparsing.pyparsing_unicode.ThaihNtauh*h,hjM5hhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.ThaihNubjS)}(hhh](jX)}(hpyparsing_unicode.Thai()h](j^)}(hclass h]hclass }(hhhj@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj@hhhp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.ThaihNubj)}(hThaih]hThai}(hhhj@hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj@hhhj@hNubeh}(h ]j@ah"]h$]h&]h(]j pyparsingjj:5jpyparsing_unicode.Thaiuh*jWhj@hKhj@hhubj)}(hhh](hQ)}(h-Bases: :class:`pyparsing.unicode.unicode_set`h](hBases: }(hBases: hj@hhhNhNubh)}(h&:class:`pyparsing.unicode.unicode_set`h]hj)}(hj@h]hpyparsing.unicode.unicode_set}(hhhj@ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj@ubah}(h ]h"]h$]h&]h(]refdoch refdomainj@reftypeclass refexplicitrefwarnhj@hj@hpyparsing.unicode.unicode_setuh*h~hp/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.ThaihKhj@ubeh}(h ]h"]h$]h&]h(]uh*hPhj@hKhj@hhubhQ)}(h,Unicode set for Thai Unicode Character Rangeh]h,Unicode set for Thai Unicode Character Range}(hjAhjAhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj@hKhj@hhubeh}(h ]h"]h$]h&]h(]uh*jhj@hhhj@hNubeh}(h ]h"]pyah$]h&]h(]jy jAjz classj| j Aj} uh*jRhhhjM5hj@hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN8Ελληνικά (pyparsing.pyparsing_unicode attribute)pyparsing.pyparsing_unicode.hNtauh*h,hjM5hhhhhNubjS)}(hhh](jX)}(h"pyparsing_unicode.Ελληνικάh]j)}(hΕλληνικάh]hΕλληνικά}(hhhj6AhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj2Ahhhq/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.GreekhNubah}(h ](j-A,pyparsing.pyparsing_unicode.Ελληνικάeh"]h$]h&]h(]j pyparsingjj:5j"pyparsing_unicode.Ελληνικάuh*jWhjDAhKhj/Ahhubj)}(hhh]hQ)}(h;alias of :class:`pyparsing.unicode.pyparsing_unicode.Greek`h](h alias of }(h alias of hjQAhhhNhNubh)}(h2:class:`pyparsing.unicode.pyparsing_unicode.Greek`h]hj)}(hj\Ah]h)pyparsing.unicode.pyparsing_unicode.Greek}(hhhj^Aubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjZAubah}(h ]h"]h$]h&]h(]refdoch refdomainjhAreftypeclass refexplicitrefwarnhjLAhj:5h)pyparsing.unicode.pyparsing_unicode.Greekuh*h~hhhKhjQAubeh}(h ]h"]h$]h&]h(]uh*hPhhhKhjNAhhubah}(h ]h"]h$]h&]h(]uh*jhj/AhhhjDAhNubeh}(h ]h"]pyah$]h&]h(]jy jAjz attributej| jAj} uh*jRhhhjM5hhhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN:кириллица (pyparsing.pyparsing_unicode attribute)id13hNtauh*h,hjM5hhhhhNubjS)}(hhh](jX)}(h$pyparsing_unicode.кириллицаh]j)}(hкириллицаh]hкириллица}(hhhjAhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjAhhht/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.CyrillichNubah}(h ](jA.pyparsing.pyparsing_unicode.кириллицаeh"]h$]h&]h(]j pyparsingjj:5j$pyparsing_unicode.кириллицаuh*jWhjAhKhjAhhubj)}(hhh]hQ)}(h>alias of :class:`pyparsing.unicode.pyparsing_unicode.Cyrillic`h](h alias of }(h alias of hjAhhhNhNubh)}(h5:class:`pyparsing.unicode.pyparsing_unicode.Cyrillic`h]hj)}(hjAh]h,pyparsing.unicode.pyparsing_unicode.Cyrillic}(hhhjAubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjAubah}(h ]h"]h$]h&]h(]refdoch refdomainjAreftypeclass refexplicitrefwarnhjAhj:5h,pyparsing.unicode.pyparsing_unicode.Cyrillicuh*h~hhhKhjAubeh}(h ]h"]h$]h&]h(]uh*hPhhhKhjAhhubah}(h ]h"]h$]h&]h(]uh*jhjAhhhjAhNubeh}(h ]h"]pyah$]h&]h(]jy jAjz attributej| jAj} uh*jRhhhjM5hhhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN6العربية (pyparsing.pyparsing_unicode attribute)id14hNtauh*h,hjM5hhhhhNubjS)}(hhh](jX)}(h pyparsing_unicode.العربيةh]j)}(hالعربيةh]hالعربية}(hhhjBhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj Bhhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.ArabichNubah}(h ](jB*pyparsing.pyparsing_unicode.العربيةeh"]h$]h&]h(]j pyparsingjj:5j pyparsing_unicode.العربيةuh*jWhjBhKhj Bhhubj)}(hhh]hQ)}(halias of :class:`pyparsing.unicode.pyparsing_unicode.Japanese`h](h alias of }(h alias of hjrChhhNhNubh)}(h5:class:`pyparsing.unicode.pyparsing_unicode.Japanese`h]hj)}(hj}Ch]h,pyparsing.unicode.pyparsing_unicode.Japanese}(hhhjCubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj{Cubah}(h ]h"]h$]h&]h(]refdoch refdomainjCreftypeclass refexplicitrefwarnhjmChj:5h,pyparsing.unicode.pyparsing_unicode.Japaneseuh*h~hhhKhjrCubeh}(h ]h"]h$]h&]h(]uh*hPhhhKhjoChhubah}(h ]h"]h$]h&]h(]uh*jhjPChhhjeChNubeh}(h ]h"]pyah$]h&]h(]jy jCjz attributej| jCj} uh*jRhhhjM5hhhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN1한국어 (pyparsing.pyparsing_unicode attribute)id18hNtauh*h,hjM5hhhhhNubjS)}(hhh](jX)}(hpyparsing_unicode.한국어h]j)}(h 한국어h]h 한국어}(hhhjChhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjChhhr/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.pyparsing_unicode.Hangul hNubah}(h ](jC%pyparsing.pyparsing_unicode.한국어eh"]h$]h&]h(]j pyparsingjj:5jpyparsing_unicode.한국어uh*jWhjChKhjChhubj)}(hhh]hQ)}(h ["'Now is the Winter of our Discontent'"] # use remove_quotes to strip quotation marks from parsed results quoted_string.set_parse_action(remove_quotes) quoted_string.parse_string("'Now is the Winter of our Discontent'") # -> ["Now is the Winter of our Discontent"]h]hX# by default, quotation marks are included in parsed results quoted_string.parse_string("'Now is the Winter of our Discontent'") # -> ["'Now is the Winter of our Discontent'"] # use remove_quotes to strip quotation marks from parsed results quoted_string.set_parse_action(remove_quotes) quoted_string.parse_string("'Now is the Winter of our Discontent'") # -> ["Now is the Winter of our Discontent"]}(hhhjDubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj8DhKhjDhhubeh}(h ]h"]h$]h&]h(]uh*jhj9DhhhjNDhNubeh}(h ]h"]pyah$]h&]h(]jy jDjz functionj| jDj} uh*jRhhhjhj8DhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%remove_quotes() (in module pyparsing)pyparsing.remove_quoteshNtauh*h,hjhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.remove_quoteshNubjS)}(hhh](jX)}(hremove_quotes(s, l, t)h](jo)}(h pyparsing.h]h pyparsing.}(hhhjEhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjEhhhh/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.remove_quoteshNubj)}(h remove_quotesh]h remove_quotes}(hhhjEhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjEhhhjEhNubj)}(hs, l, th](j)}(hsh]j)}(hsh]hs}(hhhj-Eubah}(h ]h"]jah$]h&]h(]uh*jhj)Eubah}(h ]h"]h$]h&]h(]jzj{uh*jhj%Eubj)}(hlh]j)}(hlh]hl}(hhhjEEubah}(h ]h"]jah$]h&]h(]uh*jhjAEubah}(h ]h"]h$]h&]h(]jzj{uh*jhj%Eubj)}(hth]j)}(hth]ht}(hhhj]Eubah}(h ]h"]jah$]h&]h(]uh*jhjYEubah}(h ]h"]h$]h&]h(]jzj{uh*jhj%Eubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjEhhhjEhNubeh}(h ]jDah"]h$]h&]h(]j pyparsingjhjjEuh*jWhjEhKhjEhhubj)}(hhh](hQ)}(hLHelper parse action for removing quotation marks from parsed quoted strings.h]hLHelper parse action for removing quotation marks from parsed quoted strings.}(hjEhjEhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjEhKhj~EhhubhQ)}(h Example::h]hExample:}(hExample:hjEhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjEhKhj~Ehhubjk)}(hX# by default, quotation marks are included in parsed results quoted_string.parse_string("'Now is the Winter of our Discontent'") # -> ["'Now is the Winter of our Discontent'"] # use remove_quotes to strip quotation marks from parsed results quoted_string.set_parse_action(remove_quotes) quoted_string.parse_string("'Now is the Winter of our Discontent'") # -> ["Now is the Winter of our Discontent"]h]hX# by default, quotation marks are included in parsed results quoted_string.parse_string("'Now is the Winter of our Discontent'") # -> ["'Now is the Winter of our Discontent'"] # use remove_quotes to strip quotation marks from parsed results quoted_string.set_parse_action(remove_quotes) quoted_string.parse_string("'Now is the Winter of our Discontent'") # -> ["Now is the Winter of our Discontent"]}(hhhjEubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjEhKhj~Ehhubeh}(h ]h"]h$]h&]h(]uh*jhjEhhhjEhNubeh}(h ]h"]pyah$]h&]h(]jy jEjz functionj| jEj} uh*jRhhhjhjEhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN)replaceHTMLEntity() (in module pyparsing)pyparsing.replaceHTMLEntityhNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.replace_html_entityhNubjS)}(hhh](jX)}(hreplaceHTMLEntity(t)h](jo)}(h pyparsing.h]h pyparsing.}(hhhjEhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjEhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.replace_html_entityhNubj)}(hreplaceHTMLEntityh]hreplaceHTMLEntity}(hhhjEhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjEhhhjEhNubj)}(hth]j)}(hth]j)}(hth]ht}(hhhjEubah}(h ]h"]jah$]h&]h(]uh*jhjEubah}(h ]h"]h$]h&]h(]jzj{uh*jhjEubah}(h ]h"]h$]h&]h(]jzj{uh*jhjEhhhjEhNubeh}(h ]jEah"]h$]h&]h(]j pyparsingjhjjEuh*jWhjEhKhjEhhubj)}(hhh]hQ)}(hRHelper parser action to replace common HTML entities with their special charactersh]hRHelper parser action to replace common HTML entities with their special characters}(hjFhjFhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjEhKhjFhhubah}(h ]h"]h$]h&]h(]uh*jhjEhhhjEhNubeh}(h ]h"]pyah$]h&]h(]jy j0Fjz functionj| j4Fj} uh*jRhhhjhjEhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN#replaceWith() (in module pyparsing)pyparsing.replaceWithhNtauh*h,hjhhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.replace_withhNubjS)}(hhh](jX)}(hreplaceWith(repl_str)h](jo)}(h pyparsing.h]h pyparsing.}(hhhjKFhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjGFhhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.replace_withhNubj)}(h replaceWithh]h replaceWith}(hhhjZFhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjGFhhhjYFhNubj)}(hrepl_strh]j)}(hrepl_strh]j)}(hrepl_strh]hrepl_str}(hhhjpFubah}(h ]h"]jah$]h&]h(]uh*jhjlFubah}(h ]h"]h$]h&]h(]jzj{uh*jhjhFubah}(h ]h"]h$]h&]h(]jzj{uh*jhjGFhhhjYFhNubeh}(h ]jAFah"]h$]h&]h(]j pyparsingjhjj\Fuh*jWhjYFhKhjDFhhubj)}(hhh](hQ)}(hHelper method for common parse actions that simply return a literal value. Especially useful when used with :class:`transform_string` ().h](hmHelper method for common parse actions that simply return a literal value. Especially useful when used with }(hmHelper method for common parse actions that simply return a literal value. Especially useful when used with hjFhhhNhNubh)}(h9:class:`transform_string`h]hj)}(hjFh]htransform_string}(hhhjFubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjFubah}(h ]h"]h$]h&]h(]refdoch refdomainjFreftypeclass refexplicitrefwarnhjFhNhParserElement.transform_stringuh*h~hjCFhKhjFubh ().}(h ().hjFhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjCFhKhjFhhubhQ)}(h Example::h]hExample:}(hExample:hjFhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjCFhKhjFhhubjk)}(hnum = Word(nums).set_parse_action(lambda toks: int(toks[0])) na = one_of("N/A NA").set_parse_action(replace_with(math.nan)) term = na | num term[1, ...].parse_string("324 234 N/A 234") # -> [324, 234, nan, 234]h]hnum = Word(nums).set_parse_action(lambda toks: int(toks[0])) na = one_of("N/A NA").set_parse_action(replace_with(math.nan)) term = na | num term[1, ...].parse_string("324 234 N/A 234") # -> [324, 234, nan, 234]}(hhhjFubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjCFhKhjFhhubeh}(h ]h"]h$]h&]h(]uh*jhjDFhhhjYFhNubeh}(h ]h"]pyah$]h&]h(]jy jFjz functionj| jFj} uh*jRhhhjhjCFhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN+replace_html_entity() (in module pyparsing)pyparsing.replace_html_entityhNtauh*h,hjhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.replace_html_entityhNubjS)}(hhh](jX)}(hreplace_html_entity(t)h](jo)}(h pyparsing.h]h pyparsing.}(hhhj GhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjGhhhn/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.replace_html_entityhNubj)}(hreplace_html_entityh]hreplace_html_entity}(hhhjGhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjGhhhjGhNubj)}(hjEh]j)}(hth]j)}(hth]ht}(hhhj-Gubah}(h ]h"]jah$]h&]h(]uh*jhj)Gubah}(h ]h"]h$]h&]h(]jzj{uh*jhj&Gubah}(h ]h"]h$]h&]h(]jzj{uh*jhjGhhhjGhNubeh}(h ]jFah"]h$]h&]h(]j pyparsingjhjjGuh*jWhjGhKhjGhhubj)}(hhh]hQ)}(hRHelper parser action to replace common HTML entities with their special charactersh]hRHelper parser action to replace common HTML entities with their special characters}(hjSGhjQGhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjGhKhjNGhhubah}(h ]h"]h$]h&]h(]uh*jhjGhhhjGhNubeh}(h ]h"]pyah$]h&]h(]jy jhGjz functionj| jlGj} uh*jRhhhjhjGhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN$replace_with() (in module pyparsing)pyparsing.replace_withhNtauh*h,hjhhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.replace_withhNubjS)}(hhh](jX)}(hreplace_with(repl_str)h](jo)}(h pyparsing.h]h pyparsing.}(hhhjGhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjGhhhg/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.replace_withhNubj)}(h replace_withh]h replace_with}(hhhjGhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjGhhhjGhNubj)}(hrepl_strh]j)}(hrepl_strh]j)}(hrepl_strh]hrepl_str}(hhhjGubah}(h ]h"]jah$]h&]h(]uh*jhjGubah}(h ]h"]h$]h&]h(]jzj{uh*jhjGubah}(h ]h"]h$]h&]h(]jzj{uh*jhjGhhhjGhNubeh}(h ]jyGah"]h$]h&]h(]j pyparsingjhjjGuh*jWhjGhKhj|Ghhubj)}(hhh](hQ)}(hHelper method for common parse actions that simply return a literal value. Especially useful when used with :class:`transform_string` ().h](hmHelper method for common parse actions that simply return a literal value. Especially useful when used with }(hmHelper method for common parse actions that simply return a literal value. Especially useful when used with hjGhhhNhNubh)}(h9:class:`transform_string`h]hj)}(hjGh]htransform_string}(hhhjGubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjGubah}(h ]h"]h$]h&]h(]refdoch refdomainjGreftypeclass refexplicitrefwarnhjGhNhParserElement.transform_stringuh*h~hj{GhKhjGubh ().}(h ().hjGhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhj{GhKhjGhhubhQ)}(h Example::h]hExample:}(hExample:hjHhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj{GhKhjGhhubjk)}(hnum = Word(nums).set_parse_action(lambda toks: int(toks[0])) na = one_of("N/A NA").set_parse_action(replace_with(math.nan)) term = na | num term[1, ...].parse_string("324 234 N/A 234") # -> [324, 234, nan, 234]h]hnum = Word(nums).set_parse_action(lambda toks: int(toks[0])) na = one_of("N/A NA").set_parse_action(replace_with(math.nan)) term = na | num term[1, ...].parse_string("324 234 N/A 234") # -> [324, 234, nan, 234]}(hhhjHubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj{GhKhjGhhubeh}(h ]h"]h$]h&]h(]uh*jhj|GhhhjGhNubeh}(h ]h"]pyah$]h&]h(]jy j&Hjz functionj| j*Hj} uh*jRhhhjhj{GhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jNsrange() (in module pyparsing)pyparsing.srangehNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(hsrange(s: str) -> strh](jo)}(h pyparsing.h]h pyparsing.}(hhhj@HhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj "0123456789" srange("[a-z]") -> "abcdefghijklmnopqrstuvwxyz" srange("[a-z$_]") -> "abcdefghijklmnopqrstuvwxyz$_"h]hsrange("[0-9]") -> "0123456789" srange("[a-z]") -> "abcdefghijklmnopqrstuvwxyz" srange("[a-z$_]") -> "abcdefghijklmnopqrstuvwxyz$_"}(hhhjIubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjHhKhjHhhubhQ)}(hThe input string must be enclosed in []'s, and the returned string is the expanded character set joined into a single string. The values enclosed in the []'s may be:h]hThe input string must be enclosed in []’s, and the returned string is the expanded character set joined into a single string. The values enclosed in the []’s may be:}(hj-Ihj+IhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjHhK hjHhhubj)}(hhh](j)}(ha single characterh]hQ)}(hj>Ih]ha single character}(hj>Ihj@Iubah}(h ]h"]h$]h&]h(]uh*hPhjHhK hj Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](jo)}(h pyparsing.h]h pyparsing.}(hhhjJhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjJhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.token_maphNubj)}(htokenMaph]htokenMap}(hhhjJhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjJhhhjJhNubj)}(h func, *argsh](j)}(hfunch]j)}(hfunch]hfunc}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjJubah}(h ]h"]h$]h&]h(]jzj{uh*jhjJubj)}(h*argsh](jZ)}(h*h]h*}(hhhjKubah}(h ]h"]jfah$]h&]h(]uh*jYhjKubj)}(hargsh]hargs}(hhhj(Kubah}(h ]h"]jah$]h&]h(]uh*jhjKubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjJhhhjJhNubj-)}(hUnion[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhjFKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjBKubj)}(h[h]h[}(hhhjYKubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hCallable}(hhhjgKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjBKubj)}(h[h]h[}(hhhjzKubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h]h]h]}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h, h]h, }(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hAny}(hhhjKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjBKubj)}(h]h]h]}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h, h]h, }(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hCallable}(hhhjKubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjBKubj)}(h[h]h[}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h[h]h[}(hhhjKubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hpyparsing.results.ParseResults}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjBKubj)}(h]h]h]}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h, h]h, }(hhhj#Lubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hAny}(hhhj1Lubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjBKubj)}(h]h]h]}(hhhjDLubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h, h]h, }(hhhjRLubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hCallable}(hhhj`Lubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjBKubj)}(h[h]h[}(hhhjsLubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h[h]h[}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hint}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjBKubj)}(h, h]h, }(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hpyparsing.results.ParseResults}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjBKubj)}(h]h]h]}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h, h]h, }(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hAny}(hhhjLubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjBKubj)}(h]h]h]}(hhhjLubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h, h]h, }(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hCallable}(hhhjMubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjBKubj)}(h[h]h[}(hhhj!Mubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h[h]h[}(hhhj/Mubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hstr}(hhhj=Mubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjBKubj)}(h, h]h, }(hhhjPMubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hint}(hhhj^Mubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjBKubj)}(h, h]h, }(hhhjqMubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hpyparsing.results.ParseResults}(hhhjMubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjBKubj)}(h]h]h]}(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h, h]h, }(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhjBKubh)}(hhh]hAny}(hhhjMubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjBKubj)}(h]h]h]}(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhjBKubj)}(h]h]h]}(hhhjMubah}(h ]h"]jah$]h&]h(]uh*jhjBKubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjJhhhjJhNubeh}(h ]jJah"]h$]h&]h(]j pyparsingjhjjJuh*jWhjJhKhjJhhubj)}(hhh](hQ)}(hXgHelper to define a parse action by mapping a function to all elements of a :class:`ParseResults` list. If any additional args are passed, they are forwarded to the given function as additional arguments after the token, as in ``hex_integer = Word(hexnums).set_parse_action(token_map(int, 16))``, which will convert the parsed data to an integer using base 16.h](hKHelper to define a parse action by mapping a function to all elements of a }(hKHelper to define a parse action by mapping a function to all elements of a hjMhhhNhNubh)}(h:class:`ParseResults`h]hj)}(hjMh]h ParseResults}(hhhjMubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjMubah}(h ]h"]h$]h&]h(]refdoch refdomainjNreftypeclass refexplicitrefwarnhjMhNh ParseResultsuh*h~hjJhKhjMubh list. If any additional args are passed, they are forwarded to the given function as additional arguments after the token, as in }(h list. If any additional args are passed, they are forwarded to the given function as additional arguments after the token, as in hjMhhhNhNubhj)}(hD``hex_integer = Word(hexnums).set_parse_action(token_map(int, 16))``h]h@hex_integer = Word(hexnums).set_parse_action(token_map(int, 16))}(hhhjNubah}(h ]h"]h$]h&]h(]uh*hihjMubhA, which will convert the parsed data to an integer using base 16.}(hA, which will convert the parsed data to an integer using base 16.hjMhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjJhKhjMhhubhQ)}(hQExample (compare the last to example in :class:`ParserElement.transform_string`::h](h(Example (compare the last to example in }(h(Example (compare the last to example in hj4NhhhNhNubh)}(h':class:`ParserElement.transform_string`h]hj)}(hj?Nh]hParserElement.transform_string}(hhhjANubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj=Nubah}(h ]h"]h$]h&]h(]refdoch refdomainjKNreftypeclass refexplicitrefwarnhjMhNhParserElement.transform_stringuh*h~hjJhKhj4Nubh:}(hj:hj4NhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjJhKhjMhhubjk)}(hXhex_ints = Word(hexnums)[1, ...].set_parse_action(token_map(int, 16)) hex_ints.run_tests(''' 00 11 22 aa FF 0a 0d 1a ''') upperword = Word(alphas).set_parse_action(token_map(str.upper)) upperword[1, ...].run_tests(''' my kingdom for a horse ''') wd = Word(alphas).set_parse_action(token_map(str.title)) wd[1, ...].set_parse_action(' '.join).run_tests(''' now is the winter of our discontent made glorious summer by this sun of york ''')h]hXhex_ints = Word(hexnums)[1, ...].set_parse_action(token_map(int, 16)) hex_ints.run_tests(''' 00 11 22 aa FF 0a 0d 1a ''') upperword = Word(alphas).set_parse_action(token_map(str.upper)) upperword[1, ...].run_tests(''' my kingdom for a horse ''') wd = Word(alphas).set_parse_action(token_map(str.title)) wd[1, ...].set_parse_action(' '.join).run_tests(''' now is the winter of our discontent made glorious summer by this sun of york ''')}(hhhjgNubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjJhK hjMhhubhQ)}(hprints::h]hprints:}(hprints:hjuNhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjJhKhjMhhubjk)}(hX00 11 22 aa FF 0a 0d 1a [0, 17, 34, 170, 255, 10, 13, 26] my kingdom for a horse ['MY', 'KINGDOM', 'FOR', 'A', 'HORSE'] now is the winter of our discontent made glorious summer by this sun of york ['Now Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York']h]hX00 11 22 aa FF 0a 0d 1a [0, 17, 34, 170, 255, 10, 13, 26] my kingdom for a horse ['MY', 'KINGDOM', 'FOR', 'A', 'HORSE'] now is the winter of our discontent made glorious summer by this sun of york ['Now Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York']}(hhhjNubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjJhKhjMhhubeh}(h ]h"]h$]h&]h(]uh*jhjJhhhjJhNubeh}(h ]h"]pyah$]h&]h(]jy jNjz functionj| jNj} uh*jRhhhjhjJhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN!token_map() (in module pyparsing)pyparsing.token_maphNtauh*h,hjhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.token_maphNubjS)}(hhh](jX)}(htoken_map(func, *args) -> Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](jo)}(h pyparsing.h]h pyparsing.}(hhhjNhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjNhhha/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.token_maphNubj)}(h token_maph]h token_map}(hhhjNhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjNhhhjNhNubj)}(h func, *argsh](j)}(hfunch]j)}(hfunch]hfunc}(hhhjNubah}(h ]h"]jah$]h&]h(]uh*jhjNubah}(h ]h"]h$]h&]h(]jzj{uh*jhjNubj)}(h*argsh](jZ)}(h*h]h*}(hhhjNubah}(h ]h"]jfah$]h&]h(]uh*jYhjNubj)}(hargsh]hargs}(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjNubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjNubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjNhhhjNhNubj-)}(hUnion[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhjOubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjOubj)}(h[h]h[}(hhhj2Oubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hCallable}(hhhj@Oubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjOubj)}(h[h]h[}(hhhjSOubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h]h]h]}(hhhjaOubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h, h]h, }(hhhjoOubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hAny}(hhhj}Oubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjOubj)}(h]h]h]}(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h, h]h, }(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hCallable}(hhhjOubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjOubj)}(h[h]h[}(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h[h]h[}(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hpyparsing.results.ParseResults}(hhhjOubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjOubj)}(h]h]h]}(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h, h]h, }(hhhjOubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hAny}(hhhj Pubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjOubj)}(h]h]h]}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h, h]h, }(hhhj+Pubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hCallable}(hhhj9Pubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjOubj)}(h[h]h[}(hhhjLPubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h[h]h[}(hhhjZPubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hint}(hhhjhPubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjOubj)}(h, h]h, }(hhhj{Pubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hpyparsing.results.ParseResults}(hhhjPubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjOubj)}(h]h]h]}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h, h]h, }(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hAny}(hhhjPubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjOubj)}(h]h]h]}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h, h]h, }(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hCallable}(hhhjPubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjOubj)}(h[h]h[}(hhhjPubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h[h]h[}(hhhjQubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hstr}(hhhjQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjOubj)}(h, h]h, }(hhhj)Qubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hint}(hhhj7Qubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjOubj)}(h, h]h, }(hhhjJQubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hpyparsing.results.ParseResults}(hhhjXQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjOubj)}(h]h]h]}(hhhjkQubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h, h]h, }(hhhjyQubah}(h ]h"]jah$]h&]h(]uh*jhjOubh)}(hhh]hAny}(hhhjQubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjOubj)}(h]h]h]}(hhhjQubah}(h ]h"]jah$]h&]h(]uh*jhjOubj)}(h]h]h]}(hhhjQubah}(h ]h"]jah$]h&]h(]uh*jhjOubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjNhhhjNhNubeh}(h ]jNah"]h$]h&]h(]j pyparsingjhjjNuh*jWhjNhKhjNhhubj)}(hhh](hQ)}(hXgHelper to define a parse action by mapping a function to all elements of a :class:`ParseResults` list. If any additional args are passed, they are forwarded to the given function as additional arguments after the token, as in ``hex_integer = Word(hexnums).set_parse_action(token_map(int, 16))``, which will convert the parsed data to an integer using base 16.h](hKHelper to define a parse action by mapping a function to all elements of a }(hKHelper to define a parse action by mapping a function to all elements of a hjQhhhNhNubh)}(h:class:`ParseResults`h]hj)}(hjQh]h ParseResults}(hhhjQubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjQubah}(h ]h"]h$]h&]h(]refdoch refdomainjQreftypeclass refexplicitrefwarnhjQhNh ParseResultsuh*h~hjNhKhjQubh list. If any additional args are passed, they are forwarded to the given function as additional arguments after the token, as in }(h list. If any additional args are passed, they are forwarded to the given function as additional arguments after the token, as in hjQhhhNhNubhj)}(hD``hex_integer = Word(hexnums).set_parse_action(token_map(int, 16))``h]h@hex_integer = Word(hexnums).set_parse_action(token_map(int, 16))}(hhhjQubah}(h ]h"]h$]h&]h(]uh*hihjQubhA, which will convert the parsed data to an integer using base 16.}(hA, which will convert the parsed data to an integer using base 16.hjQhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjNhKhjQhhubhQ)}(hQExample (compare the last to example in :class:`ParserElement.transform_string`::h](h(Example (compare the last to example in }(h(Example (compare the last to example in hj RhhhNhNubh)}(h':class:`ParserElement.transform_string`h]hj)}(hjRh]hParserElement.transform_string}(hhhjRubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjRubah}(h ]h"]h$]h&]h(]refdoch refdomainj$Rreftypeclass refexplicitrefwarnhjQhNhParserElement.transform_stringuh*h~hjNhKhj Rubh:}(hj:hj RhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjNhKhjQhhubjk)}(hXhex_ints = Word(hexnums)[1, ...].set_parse_action(token_map(int, 16)) hex_ints.run_tests(''' 00 11 22 aa FF 0a 0d 1a ''') upperword = Word(alphas).set_parse_action(token_map(str.upper)) upperword[1, ...].run_tests(''' my kingdom for a horse ''') wd = Word(alphas).set_parse_action(token_map(str.title)) wd[1, ...].set_parse_action(' '.join).run_tests(''' now is the winter of our discontent made glorious summer by this sun of york ''')h]hXhex_ints = Word(hexnums)[1, ...].set_parse_action(token_map(int, 16)) hex_ints.run_tests(''' 00 11 22 aa FF 0a 0d 1a ''') upperword = Word(alphas).set_parse_action(token_map(str.upper)) upperword[1, ...].run_tests(''' my kingdom for a horse ''') wd = Word(alphas).set_parse_action(token_map(str.title)) wd[1, ...].set_parse_action(' '.join).run_tests(''' now is the winter of our discontent made glorious summer by this sun of york ''')}(hhhj@Rubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjNhK hjQhhubhQ)}(hprints::h]hprints:}(hprints:hjNRhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjNhKhjQhhubjk)}(hX00 11 22 aa FF 0a 0d 1a [0, 17, 34, 170, 255, 10, 13, 26] my kingdom for a horse ['MY', 'KINGDOM', 'FOR', 'A', 'HORSE'] now is the winter of our discontent made glorious summer by this sun of york ['Now Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York']h]hX00 11 22 aa FF 0a 0d 1a [0, 17, 34, 170, 255, 10, 13, 26] my kingdom for a horse ['MY', 'KINGDOM', 'FOR', 'A', 'HORSE'] now is the winter of our discontent made glorious summer by this sun of york ['Now Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York']}(hhhj]Rubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjNhKhjQhhubeh}(h ]h"]h$]h&]h(]uh*jhjNhhhjNhNubeh}(h ]h"]pyah$]h&]h(]jy jtRjz functionj| jxRj} uh*jRhhhjhjNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN(traceParseAction() (in module pyparsing)pyparsing.traceParseActionhNtauh*h,hjhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.trace_parse_actionhNubjS)}(hhh](jX)}(hXtraceParseAction(f: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]) -> Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](jo)}(h pyparsing.h]h pyparsing.}(hhhjRhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjRhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.trace_parse_actionhNubj)}(htraceParseActionh]htraceParseAction}(hhhjRhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjRhhhjRhNubj)}(hf: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h]j)}(hf: Union[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](j)}(hfh]hf}(hhhjRubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h:h]h:}(hhhjRubah}(h ]h"]jah$]h&]h(]uh*jhjRubh }(hhhjRubj)}(hUnion[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhjRubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjRubj)}(h[h]h[}(hhhjRubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hCallable}(hhhjRubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjRubj)}(h[h]h[}(hhhj Subah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h]h]h]}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h, h]h, }(hhhj(Subah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hAny}(hhhj6Subah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjRubj)}(h]h]h]}(hhhjISubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h, h]h, }(hhhjWSubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hCallable}(hhhjeSubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjRubj)}(h[h]h[}(hhhjxSubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h[h]h[}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hpyparsing.results.ParseResults}(hhhjSubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjRubj)}(h]h]h]}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h, h]h, }(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hAny}(hhhjSubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjRubj)}(h]h]h]}(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h, h]h, }(hhhjSubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hCallable}(hhhjSubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjRubj)}(h[h]h[}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h[h]h[}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hint}(hhhj!Tubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjRubj)}(h, h]h, }(hhhj4Tubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hpyparsing.results.ParseResults}(hhhjBTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjRubj)}(h]h]h]}(hhhjUTubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h, h]h, }(hhhjcTubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hAny}(hhhjqTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjRubj)}(h]h]h]}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h, h]h, }(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hCallable}(hhhjTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjRubj)}(h[h]h[}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h[h]h[}(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hstr}(hhhjTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjRubj)}(h, h]h, }(hhhjTubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hint}(hhhjTubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjRubj)}(h, h]h, }(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hpyparsing.results.ParseResults}(hhhjUubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjRubj)}(h]h]h]}(hhhj$Uubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h, h]h, }(hhhj2Uubah}(h ]h"]jah$]h&]h(]uh*jhjRubh)}(hhh]hAny}(hhhj@Uubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjRubj)}(h]h]h]}(hhhjSUubah}(h ]h"]jah$]h&]h(]uh*jhjRubj)}(h]h]h]}(hhhjaUubah}(h ]h"]jah$]h&]h(]uh*jhjRubeh}(h ]h"]jah$]h&]h(]uh*jhjRubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjRubah}(h ]h"]h$]h&]h(]jzj{uh*jhjRhhhjRhNubj-)}(hUnion[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhjUubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjUubj)}(h[h]h[}(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hCallable}(hhhjUubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjUubj)}(h[h]h[}(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h]h]h]}(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h, h]h, }(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hAny}(hhhjUubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjUubj)}(h]h]h]}(hhhjUubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h, h]h, }(hhhjVubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hCallable}(hhhjVubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjUubj)}(h[h]h[}(hhhj%Vubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h[h]h[}(hhhj3Vubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hpyparsing.results.ParseResults}(hhhjAVubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjUubj)}(h]h]h]}(hhhjTVubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h, h]h, }(hhhjbVubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hAny}(hhhjpVubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjUubj)}(h]h]h]}(hhhjVubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h, h]h, }(hhhjVubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hCallable}(hhhjVubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjUubj)}(h[h]h[}(hhhjVubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h[h]h[}(hhhjVubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hint}(hhhjVubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjUubj)}(h, h]h, }(hhhjVubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hpyparsing.results.ParseResults}(hhhjVubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjUubj)}(h]h]h]}(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h, h]h, }(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hAny}(hhhjWubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjUubj)}(h]h]h]}(hhhj1Wubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h, h]h, }(hhhj?Wubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hCallable}(hhhjMWubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjUubj)}(h[h]h[}(hhhj`Wubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h[h]h[}(hhhjnWubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hstr}(hhhj|Wubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjUubj)}(h, h]h, }(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hint}(hhhjWubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjUubj)}(h, h]h, }(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hpyparsing.results.ParseResults}(hhhjWubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjUubj)}(h]h]h]}(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h, h]h, }(hhhjWubah}(h ]h"]jah$]h&]h(]uh*jhjUubh)}(hhh]hAny}(hhhjWubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjUubj)}(h]h]h]}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjUubj)}(h]h]h]}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjUubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjRhhhjRhNubeh}(h ]jRah"]h$]h&]h(]j pyparsingjhjjRuh*jWhjRhKhjRhhubj)}(hhh](hQ)}(h&Decorator for debugging parse actions.h]h&Decorator for debugging parse actions.}(hj.Xhj,XhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjRhKhj)XhhubhQ)}(hX+When the parse action is called, this decorator will print ``">> entering method-name(line:, , )"``. When the parse action completes, the decorator will print ``"<<"`` followed by the returned value, or any exception that the parse action raised.h](h;When the parse action is called, this decorator will print }(h;When the parse action is called, this decorator will print hj:XhhhNhNubhj)}(h]``">> entering method-name(line:, , )"``h]hY">> entering method-name(line:, , )"}(hhhjCXubah}(h ]h"]h$]h&]h(]uh*hihj:Xubh<. When the parse action completes, the decorator will print }(h<. When the parse action completes, the decorator will print hj:XhhhNhNubhj)}(h``"<<"``h]h"<<"}(hhhjVXubah}(h ]h"]h$]h&]h(]uh*hihj:XubhO followed by the returned value, or any exception that the parse action raised.}(hO followed by the returned value, or any exception that the parse action raised.hj:XhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjRhKhj)XhhubhQ)}(h Example::h]hExample:}(hExample:hjoXhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjRhKhj)Xhhubjk)}(hwd = Word(alphas) @trace_parse_action def remove_duplicate_chars(tokens): return ''.join(sorted(set(''.join(tokens)))) wds = wd[1, ...].set_parse_action(remove_duplicate_chars) print(wds.parse_string("slkdjs sld sldd sdlf sdljf"))h]hwd = Word(alphas) @trace_parse_action def remove_duplicate_chars(tokens): return ''.join(sorted(set(''.join(tokens)))) wds = wd[1, ...].set_parse_action(remove_duplicate_chars) print(wds.parse_string("slkdjs sld sldd sdlf sdljf"))}(hhhj~Xubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjRhK hj)XhhubhQ)}(hprints::h]hprints:}(hprints:hjXhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjRhKhj)Xhhubjk)}(h>>entering remove_duplicate_chars(line: 'slkdjs sld sldd sdlf sdljf', 0, (['slkdjs', 'sld', 'sldd', 'sdlf', 'sdljf'], {})) <>entering remove_duplicate_chars(line: 'slkdjs sld sldd sdlf sdljf', 0, (['slkdjs', 'sld', 'sldd', 'sdlf', 'sdljf'], {})) < Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](jo)}(h pyparsing.h]h pyparsing.}(hhhjXhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjXhhhj/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.core.trace_parse_actionhNubj)}(htrace_parse_actionh]htrace_parse_action}(hhhjXhhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjXhhhjXhNubj)}(hf: Union[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h]j)}(hf: Union[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](j)}(hfh]hf}(hhhjXubah}(h ]h"]jah$]h&]h(]uh*jhjXubj)}(h:h]h:}(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjXubh }(hhhjXubj)}(hUnion[Callable[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhjYubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hjYubj)}(h[h]h[}(hhhj)Yubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hCallable}(hhhj7Yubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjYubj)}(h[h]h[}(hhhjJYubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h]h]h]}(hhhjXYubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h, h]h, }(hhhjfYubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hAny}(hhhjtYubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjYubj)}(h]h]h]}(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h, h]h, }(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hCallable}(hhhjYubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjYubj)}(h[h]h[}(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h[h]h[}(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hpyparsing.results.ParseResults}(hhhjYubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjYubj)}(h]h]h]}(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h, h]h, }(hhhjYubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hAny}(hhhjZubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjYubj)}(h]h]h]}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h, h]h, }(hhhj"Zubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hCallable}(hhhj0Zubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjYubj)}(h[h]h[}(hhhjCZubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h[h]h[}(hhhjQZubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hint}(hhhj_Zubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjYubj)}(h, h]h, }(hhhjrZubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hpyparsing.results.ParseResults}(hhhjZubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjYubj)}(h]h]h]}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h, h]h, }(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hAny}(hhhjZubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjYubj)}(h]h]h]}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h, h]h, }(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hCallable}(hhhjZubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hjYubj)}(h[h]h[}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h[h]h[}(hhhjZubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hstr}(hhhj [ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hjYubj)}(h, h]h, }(hhhj [ubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hint}(hhhj.[ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hjYubj)}(h, h]h, }(hhhjA[ubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hpyparsing.results.ParseResults}(hhhjO[ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hjYubj)}(h]h]h]}(hhhjb[ubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h, h]h, }(hhhjp[ubah}(h ]h"]jah$]h&]h(]uh*jhjYubh)}(hhh]hAny}(hhhj~[ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hjYubj)}(h]h]h]}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhjYubj)}(h]h]h]}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhjYubeh}(h ]h"]jah$]h&]h(]uh*jhjXubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjXubah}(h ]h"]h$]h&]h(]jzj{uh*jhjXhhhjXhNubj-)}(hUnion[Callable[[], Any], Callable[[pyparsing.results.ParseResults], Any], Callable[[int, pyparsing.results.ParseResults], Any], Callable[[str, int, pyparsing.results.ParseResults], Any]]h](h)}(hhh]hUnion}(hhhj[ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetUnion py:modulehpy:classNuh*h~hj[ubj)}(h[h]h[}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hCallable}(hhhj[ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj[ubj)}(h[h]h[}(hhhj[ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h]h]h]}(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h, h]h, }(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hAny}(hhhj!\ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj[ubj)}(h]h]h]}(hhhj4\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h, h]h, }(hhhjB\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hCallable}(hhhjP\ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj[ubj)}(h[h]h[}(hhhjc\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h[h]h[}(hhhjq\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hpyparsing.results.ParseResults}(hhhj\ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hj[ubj)}(h]h]h]}(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h, h]h, }(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hAny}(hhhj\ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj[ubj)}(h]h]h]}(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h, h]h, }(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hCallable}(hhhj\ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj[ubj)}(h[h]h[}(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h[h]h[}(hhhj\ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hint}(hhhj ]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj[ubj)}(h, h]h, }(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hpyparsing.results.ParseResults}(hhhj-]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hj[ubj)}(h]h]h]}(hhhj@]ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h, h]h, }(hhhjN]ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hAny}(hhhj\]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj[ubj)}(h]h]h]}(hhhjo]ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h, h]h, }(hhhj}]ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hCallable}(hhhj]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetCallable py:modulehpy:classNuh*h~hj[ubj)}(h[h]h[}(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h[h]h[}(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hstr}(hhhj]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetstr py:modulehpy:classNuh*h~hj[ubj)}(h, h]h, }(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hint}(hhhj]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetint py:modulehpy:classNuh*h~hj[ubj)}(h, h]h, }(hhhj]ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hpyparsing.results.ParseResults}(hhhj]ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.results.ParseResults py:modulehpy:classNuh*h~hj[ubj)}(h]h]h]}(hhhj^ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h, h]h, }(hhhj^ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubh)}(hhh]hAny}(hhhj+^ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetAny py:modulehpy:classNuh*h~hj[ubj)}(h]h]h]}(hhhj>^ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubj)}(h]h]h]}(hhhjL^ubah}(h ]h"]jah$]h&]h(]uh*jhj[ubeh}(h ]h"]h$]h&]h(]jzj{uh*j-hjXhhhjXhNubeh}(h ]jXah"]h$]h&]h(]j pyparsingjhjjXuh*jWhjXhKhjXhhubj)}(hhh](hQ)}(h&Decorator for debugging parse actions.h]h&Decorator for debugging parse actions.}(hjl^hjj^hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjXhKhjg^hhubhQ)}(hX+When the parse action is called, this decorator will print ``">> entering method-name(line:, , )"``. When the parse action completes, the decorator will print ``"<<"`` followed by the returned value, or any exception that the parse action raised.h](h;When the parse action is called, this decorator will print }(h;When the parse action is called, this decorator will print hjx^hhhNhNubhj)}(h]``">> entering method-name(line:, , )"``h]hY">> entering method-name(line:, , )"}(hhhj^ubah}(h ]h"]h$]h&]h(]uh*hihjx^ubh<. When the parse action completes, the decorator will print }(h<. When the parse action completes, the decorator will print hjx^hhhNhNubhj)}(h``"<<"``h]h"<<"}(hhhj^ubah}(h ]h"]h$]h&]h(]uh*hihjx^ubhO followed by the returned value, or any exception that the parse action raised.}(hO followed by the returned value, or any exception that the parse action raised.hjx^hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjXhKhjg^hhubhQ)}(h Example::h]hExample:}(hExample:hj^hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjXhKhjg^hhubjk)}(hwd = Word(alphas) @trace_parse_action def remove_duplicate_chars(tokens): return ''.join(sorted(set(''.join(tokens)))) wds = wd[1, ...].set_parse_action(remove_duplicate_chars) print(wds.parse_string("slkdjs sld sldd sdlf sdljf"))h]hwd = Word(alphas) @trace_parse_action def remove_duplicate_chars(tokens): return ''.join(sorted(set(''.join(tokens)))) wds = wd[1, ...].set_parse_action(remove_duplicate_chars) print(wds.parse_string("slkdjs sld sldd sdlf sdljf"))}(hhhj^ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjXhK hjg^hhubhQ)}(hprints::h]hprints:}(hprints:hj^hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjXhKhjg^hhubjk)}(h>>entering remove_duplicate_chars(line: 'slkdjs sld sldd sdlf sdljf', 0, (['slkdjs', 'sld', 'sldd', 'sdlf', 'sdljf'], {})) <>entering remove_duplicate_chars(line: 'slkdjs sld sldd sdlf sdljf', 0, (['slkdjs', 'sld', 'sldd', 'sdlf', 'sdljf'], {})) < pyparsing.core.ParserElementh](jo)}(h pyparsing.h]h pyparsing.}(hhhj _hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj_hhhb/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.helpers.ungrouphNubj)}(hungrouph]hungroup}(hhhj_hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj_hhhj_hNubj)}(h"expr: pyparsing.core.ParserElementh]j)}(h"expr: pyparsing.core.ParserElementh](j)}(hexprh]hexpr}(hhhj0_ubah}(h ]h"]jah$]h&]h(]uh*jhj,_ubj)}(h:h]h:}(hhhj>_ubah}(h ]h"]jah$]h&]h(]uh*jhj,_ubh }(hhhj,_ubj)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhjT_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjP_ubah}(h ]h"]jah$]h&]h(]uh*jhj,_ubeh}(h ]h"]h$]h&]h(]jzj{uh*jhj(_ubah}(h ]h"]h$]h&]h(]jzj{uh*jhj_hhhj_hNubj-)}(hpyparsing.core.ParserElementh]h)}(hhh]hpyparsing.core.ParserElement}(hhhj}_ubah}(h ]h"]h$]h&]h(] refdomainjreftypej reftargetpyparsing.core.ParserElement py:modulehpy:classNuh*h~hjy_ubah}(h ]h"]h$]h&]h(]jzj{uh*j-hj_hhhj_hNubeh}(h ]j_ah"]h$]h&]h(]j pyparsingjhjj_uh*jWhj_hKhj_hhubj)}(hhh]hQ)}(hbHelper to undo pyparsing's default grouping of And expressions, even if all but one are non-empty.h]hdHelper to undo pyparsing’s default grouping of And expressions, even if all but one are non-empty.}(hj_hj_hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj_hKhj_hhubah}(h ]h"]h$]h&]h(]uh*jhj_hhhj_hNubeh}(h ]h"]pyah$]h&]h(]jy j_jz functionj| j_j} uh*jRhhhjhj_hNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN unicode_set (class in pyparsing)pyparsing.unicode_sethNtauh*h,hjhhhNhNubjS)}(hhh](jX)}(h unicode_set()h](j^)}(hclass h]hclass }(hhhj_hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j]hj_hhhe/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.unicode_sethNubjo)}(h pyparsing.h]h pyparsing.}(hhhj_hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhj_hhhj_hNubj)}(h unicode_seth]h unicode_set}(hhhj_hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj_hhhj_hNubeh}(h ]j_ah"]h$]h&]h(]j pyparsingjhjj_uh*jWhj_hKhj_hhubj)}(hhh](hQ)}(hBases: :class:`object`h](hBases: }(hBases: hj`hhhNhNubh)}(h:class:`object`h]hj)}(hj`h]hobject}(hhhj`ubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj`ubah}(h ]h"]h$]h&]h(]refdoch refdomainj`reftypeclass refexplicitrefwarnhj`hj_hobjectuh*h~he/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.unicode_sethKhj`ubeh}(h ]h"]h$]h&]h(]uh*hPhj/`hKhj`hhubhQ)}(hX#A set of Unicode characters, for language-specific strings for ``alphas``, ``nums``, ``alphanums``, and ``printables``. A unicode_set is defined by a list of ranges in the Unicode character set, in a class attribute ``_ranges``. Ranges can be specified using 2-tuples or a 1-tuple, such as::h](h?A set of Unicode characters, for language-specific strings for }(h?A set of Unicode characters, for language-specific strings for hj6`hhhNhNubhj)}(h ``alphas``h]halphas}(hhhj?`ubah}(h ]h"]h$]h&]h(]uh*hihj6`ubh, }(h, hj6`hhhNhNubhj)}(h``nums``h]hnums}(hhhjR`ubah}(h ]h"]h$]h&]h(]uh*hihj6`ubh, }(hjQ`hj6`ubhj)}(h ``alphanums``h]h alphanums}(hhhjd`ubah}(h ]h"]h$]h&]h(]uh*hihj6`ubh, and }(h, and hj6`hhhNhNubhj)}(h``printables``h]h printables}(hhhjw`ubah}(h ]h"]h$]h&]h(]uh*hihj6`ubhb. A unicode_set is defined by a list of ranges in the Unicode character set, in a class attribute }(hb. A unicode_set is defined by a list of ranges in the Unicode character set, in a class attribute hj6`hhhNhNubhj)}(h ``_ranges``h]h_ranges}(hhhj`ubah}(h ]h"]h$]h&]h(]uh*hihj6`ubh?. Ranges can be specified using 2-tuples or a 1-tuple, such as:}(h?. Ranges can be specified using 2-tuples or a 1-tuple, such as:hj6`hhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhe/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode.unicode_sethKhj`hhubjk)}(hL_ranges = [ (0x0020, 0x007e), (0x00a0, 0x00ff), (0x0100,), ]h]hL_ranges = [ (0x0020, 0x007e), (0x00a0, 0x00ff), (0x0100,), ]}(hhhj`ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj`hKhj`hhubhQ)}(hMRanges are left- and right-inclusive. A 1-tuple of (x,) is treated as (x, x).h]hMRanges are left- and right-inclusive. A 1-tuple of (x,) is treated as (x, x).}(hj`hj`hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj`hK hj`hhubhQ)}(hTA unicode set can also be defined using multiple inheritance of other unicode sets::h]hSA unicode set can also be defined using multiple inheritance of other unicode sets:}(hSA unicode set can also be defined using multiple inheritance of other unicode sets:hj`hhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj`hKhj`hhubjk)}(h.class CJK(Chinese, Japanese, Korean): passh]h.class CJK(Chinese, Japanese, Korean): pass}(hhhj`ubah}(h ]h"]h$]h&]h(]jzj{uh*jjhj`hKhj`hhubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN-__weakref__ (pyparsing.unicode_set attribute)!pyparsing.unicode_set.__weakref__hNtauh*h,hj`hhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode_set.__weakref__hNubjS)}(hhh](jX)}(hunicode_set.__weakref__h]j)}(h __weakref__h]h __weakref__}(hhhj`hhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hj`hhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode_set.__weakref__hNubah}(h ]j`ah"]h$]h&]h(]j pyparsingjj_junicode_set.__weakref__uh*jWhjahKhj`hhubj)}(hhh]hQ)}(h2list of weak references to the object (if defined)h]h2list of weak references to the object (if defined)}(hjahj ahhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhj`hKhj ahhubah}(h ]h"]h$]h&]h(]uh*jhj`hhhjahNubeh}(h ]h"]pyah$]h&]h(]jy j$ajz attributej| j(aj} uh*jRhhhj`hj`hNubeh}(h ]h"]h$]h&]h(]uh*jhj_hhhj_hNubeh}(h ]h"]pyah$]h&]h(]jy j2ajz classj| j6aj} uh*jRhhhjhNhNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN%withAttribute() (in module pyparsing)pyparsing.withAttributehNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.with_attributehNubjS)}(hhh](jX)}(h!withAttribute(*args, **attr_dict)h](jo)}(h pyparsing.h]h pyparsing.}(hhhjMahhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjIahhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.with_attributehNubj)}(h withAttributeh]h withAttribute}(hhhj\ahhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjIahhhj[ahNubj)}(h*args, **attr_dicth](j)}(h*argsh](jZ)}(h*h]h*}(hhhjraubah}(h ]h"]jfah$]h&]h(]uh*jYhjnaubj)}(hargsh]hargs}(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhjnaubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjjaubj)}(h **attr_dicth](jZ)}(h**h]h**}(hhhjaubah}(h ]h"]jfah$]h&]h(]uh*jYhjaubj)}(h attr_dicth]h attr_dict}(hhhjaubah}(h ]h"]jah$]h&]h(]uh*jhjaubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjjaubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjIahhhj[ahNubeh}(h ]jCaah"]h$]h&]h(]j pyparsingjhjj^auh*jWhj[ahKhjFahhubj)}(hhh](hQ)}(hXHelper to create a validating parse action to be used with start tags created with :class:`make_xml_tags` or :class:`make_html_tags`. Use ``with_attribute`` to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as ```` or ``
``.h](hSHelper to create a validating parse action to be used with start tags created with }(hSHelper to create a validating parse action to be used with start tags created with hjahhhNhNubh)}(h:class:`make_xml_tags`h]hj)}(hjah]h make_xml_tags}(hhhjaubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjaubah}(h ]h"]h$]h&]h(]refdoch refdomainjareftypeclass refexplicitrefwarnhjahNh make_xml_tagsuh*h~hjEahKhjaubh or }(h or hjahhhNhNubh)}(h:class:`make_html_tags`h]hj)}(hjah]hmake_html_tags}(hhhjaubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjaubah}(h ]h"]h$]h&]h(]refdoch refdomainjbreftypeclass refexplicitrefwarnhjahNhmake_html_tagsuh*h~hjEahKhjaubh. Use }(h. Use hjahhhNhNubhj)}(h``with_attribute``h]hwith_attribute}(hhhjbubah}(h ]h"]h$]h&]h(]uh*hihjaubhj to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as }(hj to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as hjahhhNhNubhj)}(h````h]h}(hhhj0bubah}(h ]h"]h$]h&]h(]uh*hihjaubh or }(h or hjahhhNhNubhj)}(h ``
``h]h
}(hhhjCbubah}(h ]h"]h$]h&]h(]uh*hihjaubh.}(hjhjahhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjEahKhjahhubhQ)}(hCall ``with_attribute`` with a series of attribute names and values. Specify the list of filter attributes names and values as:h](hCall }(hCall hj[bhhhNhNubhj)}(h``with_attribute``h]hwith_attribute}(hhhjdbubah}(h ]h"]h$]h&]h(]uh*hihj[bubhh with a series of attribute names and values. Specify the list of filter attributes names and values as:}(hh with a series of attribute names and values. Specify the list of filter attributes names and values as:hj[bhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjEahKhjahhubj)}(hhh](j)}(h0keyword arguments, as in ``(align="right")``, orh]hQ)}(hjbh](hkeyword arguments, as in }(hkeyword arguments, as in hjbubhj)}(h``(align="right")``h]h(align="right")}(hhhjbubah}(h ]h"]h$]h&]h(]uh*hihjbubh, or}(h, orhjbubeh}(h ]h"]h$]h&]h(]uh*hPhjEahK hjbubah}(h ]h"]h$]h&]h(]uh*jhj}bhhhjEahNubj)}(has an explicit dict with ``**`` operator, when an attribute name is also a Python reserved word, as in ``**{"class":"Customer", "align":"right"}``h]hQ)}(has an explicit dict with ``**`` operator, when an attribute name is also a Python reserved word, as in ``**{"class":"Customer", "align":"right"}``h](has an explicit dict with }(has an explicit dict with hjbubhj)}(h``**``h]h**}(hhhjbubah}(h ]h"]h$]h&]h(]uh*hihjbubhH operator, when an attribute name is also a Python reserved word, as in }(hH operator, when an attribute name is also a Python reserved word, as in hjbubhj)}(h+``**{"class":"Customer", "align":"right"}``h]h'**{"class":"Customer", "align":"right"}}(hhhjbubah}(h ]h"]h$]h&]h(]uh*hihjbubeh}(h ]h"]h$]h&]h(]uh*hPhjEahK hjbubah}(h ]h"]h$]h&]h(]uh*jhj}bhhhjEahNubj)}(h[a list of name-value tuples, as in ``(("ns1:class", "Customer"), ("ns2:align", "right"))`` h]hQ)}(hZa list of name-value tuples, as in ``(("ns1:class", "Customer"), ("ns2:align", "right"))``h](h#a list of name-value tuples, as in }(h#a list of name-value tuples, as in hjbubhj)}(h7``(("ns1:class", "Customer"), ("ns2:align", "right"))``h]h3(("ns1:class", "Customer"), ("ns2:align", "right"))}(hhhjbubah}(h ]h"]h$]h&]h(]uh*hihjbubeh}(h ]h"]h$]h&]h(]uh*hPhjEahK hjbubah}(h ]h"]h$]h&]h(]uh*jhj}bhhhjEahNubeh}(h ]h"]h$]h&]h(]jjuh*jhjEahK hjahhubhQ)}(hFor attribute names with a namespace prefix, you must use the second form. Attribute names are matched insensitive to upper/lower case.h]hFor attribute names with a namespace prefix, you must use the second form. Attribute names are matched insensitive to upper/lower case.}(hjchjchhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjEahKhjahhubhQ)}(hUIf just testing for ``class`` (with or without a namespace), use :class:`with_class`.h](hIf just testing for }(hIf just testing for hj chhhNhNubhj)}(h ``class``h]hclass}(hhhj)cubah}(h ]h"]h$]h&]h(]uh*hihj cubh$ (with or without a namespace), use }(h$ (with or without a namespace), use hj chhhNhNubh)}(h:class:`with_class`h]hj)}(hj>ch]h with_class}(hhhj@cubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj Some text
1 4 0 1 0
1,3 2,3 1,1
this has no type
''' div,div_end = make_html_tags("div") # only match div tag having a type attribute with value "grid" div_grid = div().set_parse_action(with_attribute(type="grid")) grid_expr = div_grid + SkipTo(div | div_end)("body") for grid_header in grid_expr.search_string(html): print(grid_header.body) # construct a match with any div tag having a type attribute, regardless of the value div_any_type = div().set_parse_action(with_attribute(type=with_attribute.ANY_VALUE)) div_expr = div_any_type + SkipTo(div | div_end)("body") for div_header in div_expr.search_string(html): print(div_header.body)h]hXhtml = '''
Some text
1 4 0 1 0
1,3 2,3 1,1
this has no type
''' div,div_end = make_html_tags("div") # only match div tag having a type attribute with value "grid" div_grid = div().set_parse_action(with_attribute(type="grid")) grid_expr = div_grid + SkipTo(div | div_end)("body") for grid_header in grid_expr.search_string(html): print(grid_header.body) # construct a match with any div tag having a type attribute, regardless of the value div_any_type = div().set_parse_action(with_attribute(type=with_attribute.ANY_VALUE)) div_expr = div_any_type + SkipTo(div | div_end)("body") for div_header in div_expr.search_string(html): print(div_header.body)}(hhhjcubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjEahKhjahhubhQ)}(hprints::h]hprints:}(hprints:hjchhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjEahK1hjahhubjk)}(h 1 4 0 1 0 1 4 0 1 0 1,3 2,3 1,1h]h 1 4 0 1 0 1 4 0 1 0 1,3 2,3 1,1}(hhhjcubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjEahK3hjahhubeh}(h ]h"]h$]h&]h(]uh*jhjFahhhj[ahNubeh}(h ]h"]pyah$]h&]h(]jy jcjz functionj| jcj} uh*jRhhhjhjEahNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN!withClass() (in module pyparsing)pyparsing.withClasshNtauh*h,hjhhhe/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.with_classhNubjS)}(hhh](jX)}(h"withClass(classname, namespace='')h](jo)}(h pyparsing.h]h pyparsing.}(hhhjchhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjchhhe/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.with_classhNubj)}(h withClassh]h withClass}(hhhjchhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjchhhjchNubj)}(hclassname, namespace=''h](j)}(h classnameh]j)}(h classnameh]h classname}(hhhj dubah}(h ]h"]jah$]h&]h(]uh*jhjdubah}(h ]h"]h$]h&]h(]jzj{uh*jhjdubj)}(h namespace=''h](j)}(h namespaceh]h namespace}(hhhj#dubah}(h ]h"]jah$]h&]h(]uh*jhjdubjZ)}(h=h]h=}(hhhj1dubah}(h ]h"]jfah$]h&]h(]uh*jYhjdubjo)}(h''h]h''}(hhhj?dubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjdubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjdubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjchhhjchNubeh}(h ]jcah"]h$]h&]h(]j pyparsingjhjjcuh*jWhjchKhjchhubj)}(hhh](hQ)}(hSimplified version of :class:`with_attribute` when matching on a div class - made difficult because ``class`` is a reserved word in Python.h](hSimplified version of }(hSimplified version of hjddhhhNhNubh)}(h:class:`with_attribute`h]hj)}(hjodh]hwith_attribute}(hhhjqdubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjmdubah}(h ]h"]h$]h&]h(]refdoch refdomainj{dreftypeclass refexplicitrefwarnhj`dhNhwith_attributeuh*h~hjchKhjddubh7 when matching on a div class - made difficult because }(h7 when matching on a div class - made difficult because hjddhhhNhNubhj)}(h ``class``h]hclass}(hhhjdubah}(h ]h"]h$]h&]h(]uh*hihjddubh is a reserved word in Python.}(h is a reserved word in Python.hjddhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjchKhjadhhubhQ)}(h Example::h]hExample:}(hExample:hjdhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjchKhjadhhubjk)}(hX[html = '''
Some text
1 4 0 1 0
1,3 2,3 1,1
this <div> has no class
''' div,div_end = make_html_tags("div") div_grid = div().set_parse_action(with_class("grid")) grid_expr = div_grid + SkipTo(div | div_end)("body") for grid_header in grid_expr.search_string(html): print(grid_header.body) div_any_type = div().set_parse_action(with_class(withAttribute.ANY_VALUE)) div_expr = div_any_type + SkipTo(div | div_end)("body") for div_header in div_expr.search_string(html): print(div_header.body)h]hX[html = '''
Some text
1 4 0 1 0
1,3 2,3 1,1
this <div> has no class
''' div,div_end = make_html_tags("div") div_grid = div().set_parse_action(with_class("grid")) grid_expr = div_grid + SkipTo(div | div_end)("body") for grid_header in grid_expr.search_string(html): print(grid_header.body) div_any_type = div().set_parse_action(with_class(withAttribute.ANY_VALUE)) div_expr = div_any_type + SkipTo(div | div_end)("body") for div_header in div_expr.search_string(html): print(div_header.body)}(hhhjdubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjchKhjadhhubhQ)}(hprints::h]hprints:}(hprints:hjdhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjchKhjadhhubjk)}(h 1 4 0 1 0 1 4 0 1 0 1,3 2,3 1,1h]h 1 4 0 1 0 1 4 0 1 0 1,3 2,3 1,1}(hhhjdubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjchKhjadhhubeh}(h ]h"]h$]h&]h(]uh*jhjchhhjchNubeh}(h ]h"]pyah$]h&]h(]jy jdjz functionj| jdj} uh*jRhhhjhjchNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN&with_attribute() (in module pyparsing)pyparsing.with_attributehNtauh*h,hjhhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.with_attributehNubjS)}(hhh](jX)}(h"with_attribute(*args, **attr_dict)h](jo)}(h pyparsing.h]h pyparsing.}(hhhj ehhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjehhhi/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.with_attributehNubj)}(hwith_attributeh]hwith_attribute}(hhhjehhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjehhhjehNubj)}(h*args, **attr_dicth](j)}(h*argsh](jZ)}(h*h]h*}(hhhj.eubah}(h ]h"]jfah$]h&]h(]uh*jYhj*eubj)}(hargsh]hargs}(hhhj`` or ``
``.h](hSHelper to create a validating parse action to be used with start tags created with }(hSHelper to create a validating parse action to be used with start tags created with hjehhhNhNubh)}(h:class:`make_xml_tags`h]hj)}(hjeh]h make_xml_tags}(hhhjeubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjeubah}(h ]h"]h$]h&]h(]refdoch refdomainjereftypeclass refexplicitrefwarnhjehNh make_xml_tagsuh*h~hjehKhjeubh or }(h or hjehhhNhNubh)}(h:class:`make_html_tags`h]hj)}(hjeh]hmake_html_tags}(hhhjeubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihjeubah}(h ]h"]h$]h&]h(]refdoch refdomainjereftypeclass refexplicitrefwarnhjehNhmake_html_tagsuh*h~hjehKhjeubh. Use }(h. Use hjehhhNhNubhj)}(h``with_attribute``h]hwith_attribute}(hhhjeubah}(h ]h"]h$]h&]h(]uh*hihjeubhj to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as }(hj to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as hjehhhNhNubhj)}(h````h]h}(hhhjeubah}(h ]h"]h$]h&]h(]uh*hihjeubh or }(h or hjehhhNhNubhj)}(h ``
``h]h
}(hhhjeubah}(h ]h"]h$]h&]h(]uh*hihjeubh.}(hjhjehhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjehKhjehhubhQ)}(hCall ``with_attribute`` with a series of attribute names and values. Specify the list of filter attributes names and values as:h](hCall }(hCall hjfhhhNhNubhj)}(h``with_attribute``h]hwith_attribute}(hhhj fubah}(h ]h"]h$]h&]h(]uh*hihjfubhh with a series of attribute names and values. Specify the list of filter attributes names and values as:}(hh with a series of attribute names and values. Specify the list of filter attributes names and values as:hjfhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjehKhjehhubj)}(hhh](j)}(h0keyword arguments, as in ``(align="right")``, orh]hQ)}(hj>fh](hkeyword arguments, as in }(hkeyword arguments, as in hj@fubhj)}(h``(align="right")``h]h(align="right")}(hhhjHfubah}(h ]h"]h$]h&]h(]uh*hihj@fubh, or}(h, orhj@fubeh}(h ]h"]h$]h&]h(]uh*hPhjehK hj Some text
1 4 0 1 0
1,3 2,3 1,1
this has no type
''' div,div_end = make_html_tags("div") # only match div tag having a type attribute with value "grid" div_grid = div().set_parse_action(with_attribute(type="grid")) grid_expr = div_grid + SkipTo(div | div_end)("body") for grid_header in grid_expr.search_string(html): print(grid_header.body) # construct a match with any div tag having a type attribute, regardless of the value div_any_type = div().set_parse_action(with_attribute(type=with_attribute.ANY_VALUE)) div_expr = div_any_type + SkipTo(div | div_end)("body") for div_header in div_expr.search_string(html): print(div_header.body)h]hXhtml = '''
Some text
1 4 0 1 0
1,3 2,3 1,1
this has no type
''' div,div_end = make_html_tags("div") # only match div tag having a type attribute with value "grid" div_grid = div().set_parse_action(with_attribute(type="grid")) grid_expr = div_grid + SkipTo(div | div_end)("body") for grid_header in grid_expr.search_string(html): print(grid_header.body) # construct a match with any div tag having a type attribute, regardless of the value div_any_type = div().set_parse_action(with_attribute(type=with_attribute.ANY_VALUE)) div_expr = div_any_type + SkipTo(div | div_end)("body") for div_header in div_expr.search_string(html): print(div_header.body)}(hhhjSgubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjehKhjehhubhQ)}(hprints::h]hprints:}(hprints:hjaghhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjehK1hjehhubjk)}(h 1 4 0 1 0 1 4 0 1 0 1,3 2,3 1,1h]h 1 4 0 1 0 1 4 0 1 0 1,3 2,3 1,1}(hhhjpgubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjehK3hjehhubeh}(h ]h"]h$]h&]h(]uh*jhjehhhjehNubeh}(h ]h"]pyah$]h&]h(]jy jgjz functionj| jgj} uh*jRhhhjhjehNubh-)}(hhh]h}(h ]h"]h$]h&]h(]entries](jN"with_class() (in module pyparsing)pyparsing.with_classhNtauh*h,hjhhhe/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.with_classhNubjS)}(hhh](jX)}(h#with_class(classname, namespace='')h](jo)}(h pyparsing.h]h pyparsing.}(hhhjghhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*jnhjghhhe/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.actions.with_classhNubj)}(h with_classh]h with_class}(hhhjghhhNhNubah}(h ]h"]h$]h&]h(]jzj{uh*j~hjghhhjghNubj)}(hclassname, namespace=''h](j)}(h classnameh]j)}(h classnameh]h classname}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjgubah}(h ]h"]h$]h&]h(]jzj{uh*jhjgubj)}(h namespace=''h](j)}(h namespaceh]h namespace}(hhhjgubah}(h ]h"]jah$]h&]h(]uh*jhjgubjZ)}(h=h]h=}(hhhjgubah}(h ]h"]jfah$]h&]h(]uh*jYhjgubjo)}(h''h]h''}(hhhjgubah}(h ]h"]j{ah$]h&]h(]support_smartquotesuh*jnhjgubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjgubeh}(h ]h"]h$]h&]h(]jzj{uh*jhjghhhjghNubeh}(h ]jgah"]h$]h&]h(]j pyparsingjhjjguh*jWhjghKhjghhubj)}(hhh](hQ)}(hSimplified version of :class:`with_attribute` when matching on a div class - made difficult because ``class`` is a reserved word in Python.h](hSimplified version of }(hSimplified version of hj hhhhNhNubh)}(h:class:`with_attribute`h]hj)}(hj+hh]hwith_attribute}(hhhj-hubah}(h ]h"](hpypy-classeh$]h&]h(]uh*hihj)hubah}(h ]h"]h$]h&]h(]refdoch refdomainj7hreftypeclass refexplicitrefwarnhjhhNhwith_attributeuh*h~hjghKhj hubh7 when matching on a div class - made difficult because }(h7 when matching on a div class - made difficult because hj hhhhNhNubhj)}(h ``class``h]hclass}(hhhjNhubah}(h ]h"]h$]h&]h(]uh*hihj hubh is a reserved word in Python.}(h is a reserved word in Python.hj hhhhNhNubeh}(h ]h"]h$]h&]h(]uh*hPhjghKhjhhhubhQ)}(h Example::h]hExample:}(hExample:hjghhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjghKhjhhhubjk)}(hX[html = '''
Some text
1 4 0 1 0
1,3 2,3 1,1
this <div> has no class
''' div,div_end = make_html_tags("div") div_grid = div().set_parse_action(with_class("grid")) grid_expr = div_grid + SkipTo(div | div_end)("body") for grid_header in grid_expr.search_string(html): print(grid_header.body) div_any_type = div().set_parse_action(with_class(withAttribute.ANY_VALUE)) div_expr = div_any_type + SkipTo(div | div_end)("body") for div_header in div_expr.search_string(html): print(div_header.body)h]hX[html = '''
Some text
1 4 0 1 0
1,3 2,3 1,1
this <div> has no class
''' div,div_end = make_html_tags("div") div_grid = div().set_parse_action(with_class("grid")) grid_expr = div_grid + SkipTo(div | div_end)("body") for grid_header in grid_expr.search_string(html): print(grid_header.body) div_any_type = div().set_parse_action(with_class(withAttribute.ANY_VALUE)) div_expr = div_any_type + SkipTo(div | div_end)("body") for div_header in div_expr.search_string(html): print(div_header.body)}(hhhjvhubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjghKhjhhhubhQ)}(hprints::h]hprints:}(hprints:hjhhhhNhNubah}(h ]h"]h$]h&]h(]uh*hPhjghKhjhhhubjk)}(h 1 4 0 1 0 1 4 0 1 0 1,3 2,3 1,1h]h 1 4 0 1 0 1 4 0 1 0 1,3 2,3 1,1}(hhhjhubah}(h ]h"]h$]h&]h(]jzj{uh*jjhjghKhjhhhubeh}(h ]h"]h$]h&]h(]uh*jhjghhhjghNubeh}(h ]h"]pyah$]h&]h(]jy jhjz functionj| jhj} uh*jRhhhjhjghNubeh}(h ]getting-startedah"]h$]getting started -ah&]h(]uh*h hh>hhhhOhK0ubeh}(h ]Kpyparsing-module-classes-and-methods-to-define-and-execute-parsing-grammarsah"]h$]Mpyparsing module - classes and methods to define and execute parsing grammarsah&]h(]uh*h hh hhhhOhKubeh}(h ](h;pyparsing-moduleeh"]h$]pyparsing moduleah&]h(]uh*h hhhhhh+hKubah}(h ]h"]h$]h&]h(]sourceh+uh*hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjherror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh+ _destinationN _config_files]pep_referencesN pep_base_url https://www.python.org/dev/peps/pep_file_url_templatepep-%04drfc_referencesN rfc_base_urlhttps://tools.ietf.org/html/ tab_widthKtrim_footnote_reference_spacefile_insertion_enabled raw_enabledKsyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xformembed_stylesheetcloak_email_addressesenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jhjhjhjhjhjhj4j1jXjUj\yjYyj~j}~u nametypes}(jhNjhNjhNj4jXj\yj~uh }(jhh h;j*)}(hhh]h}(h ]h;ah"]h$]h&]h(]ismoduh*j)hR/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsinghKhh hhubjhh>jhjjPjYjNjTj j j j j j j0 j6 j+j0j[jajjjjj jjFjLjjjg jm j"j#j&j&j(j(j@+jF+jh-jn-j .j%.j/j/j 1j1j3j 3jJ4jO4j4j4j75j<5j6j6j7j7j:j:j;j;j<j<j=j=j?j ?ji@jn@jAjAjCj CjCjCjDjDjCEjHEjGjGj*Hj/HjIjIjKjKjPPjVPj8Sj>SjSjSjTjTjOUjUUjUjUjvVj|VjVjVjYj YjYZj_Zj]j]j^j^j`j`j`j`jajajbjbjcjcjfjfjgjgj>hjDhjhjhjhjhj\ijbijjjjj%kj+kjkjkjljljmjmj=ojBojRqjXqj+sj1sjsjsjsjsj@tjFtjtjtjtjtjivjovjpwjvwjwjwj&xj,xjyjyjzjzj|j|j}j~j~j~j jjkjpjjj jjjńjj!jjjɉjωjފjjjjjÌjjjj#jNjTjj j'j,j3j8j+j0jwj}j)j/jjj٘jߘjuj{jjjjjhjnjj jjj'j-jjjGjMjjj6j<jjjjjjjƣj̣jVj\jjjmjsj1j7jjj1j+jUjOjɨjϨj7j<j6j;jjjKjQjjjPjVjݳjjjjj jh system_message)}(hhh]hQ)}(hLInline interpreted text or phrase reference start-string without end-string.h]hLInline interpreted text or phrase reference start-string without end-string.}(hhhjjjjjjj!juj8i)}(hhh]hQ)}(hLInline interpreted text or phrase reference start-string without end-string.h]hLInline interpreted text or phrase reference start-string without end-string.}(hhhjiubah}(h ]h"]h$]h&]h(]uh*hPhjiubah}(h ]juah"]h$]h&]h(]joalevelKtypejRilineK sourcejuh*j7ihjhhhjhK ubjojfj jjjjjjmjsjf jl j_$je$j&j&jq)jw)j*j*j,j,j1j1jr2jx2j4j4jr5jx5j:j:j=j=j]?jc?jv@j|@jBjBjxGj~Gj^HjdHjJjJj^KjdKjPjPjSjSjIUjOUj XjXjXjXj}YjYjT[jZ[j+]j1]j]j]j[^ja^j^j^jajaj\cjacjljljsjsjtjtj(uj.ujujujujujYyjSyj&zj,zjy}js}j}j}j}~jw~j~j~jAjGj1j6jjjj#jjj jjjjj8i)}(hhh]hQ)}(hLInline interpreted text or phrase reference start-string without end-string.h]hLInline interpreted text or phrase reference start-string without end-string.}(hhhjiubah}(h ]h"]h$]h&]h(]uh*hPhjiubah}(h ]jah"]h$]h&]h(]jalevelKtypejRilineKsourcejuh*j7ihjohhhjhKubjj،jҍj؍j+j1jjjjjEjKjjj.j4j^jcjjj'j,jߣjjjjjjFjKjNjTjjjjjjjڷjjbjhjjj7j<j'j,jjjjjjjjjjjjjjjjj&j,j]jcjkjqjjjjj.j4jjjejkjjjuj{jjj[jajjjRjXjjjjj6j<jjjHjNj#j)jj jv j| j. j4 jjjcjijjj jj6j<jbjhjjjjj@jFjjjsjyjjj)j/jjjjj:j@jjjj jqjwjjj\jbjjjjjmjsjjj# j) j!j!j #j#j#j#j4$j9$j$j$j9%j>%j%j%j%j%j&j'j-(j3(j)j)j)j)j,j ,jR,jW,j,j,j7-j<-j~-j-j-j-jA.jG.j.j.j.j.j/j /jp/ju/j5j5j5j5j%6j*6j6j6j7j!7j7j7jx8j~8j9j9j9j9j:j:j:j:j*;j/;j;j;j0<j6<j<j<j^=jI=jD=jI=j=j=j=j=j8>j#>j>j#>j>j>j?j ?j?j?j@j@j@j@jGAj2Aj-Aj2AjAjAjAjAj!Bj BjBj BjBjyBjtBjyBjBjBjBjBjhCjSCjNCjSCjCjCjCjCj6Dj