Your IP : 216.73.216.85


Current Path : /opt/alt/python311/share/doc/alt-python311-pyparsing-doc/html/.doctrees/
Upload File :
Current File : //opt/alt/python311/share/doc/alt-python311-pyparsing-doc/html/.doctrees/pyparsing.doctree

���docutils.nodes��document���)��}�(�	rawsource����children�]�h�section���)��}�(hhh]�(h�title���)��}�(h�pyparsing module�h]�h�Text����pyparsing module�����}�(hh�parent�hhh�source�N�line�Nuba�
attributes�}�(�ids�]��classes�]��names�]��dupnames�]��backrefs�]�u�tagname�hhhhhh�8/builddir/build/BUILD/pyparsing-3.0.9/docs/pyparsing.rst�hKub�sphinx.addnodes��index���)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(�single��pyparsing (module)��module-pyparsing�hNt�auh)h,hhhhh�R/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing�hKubh
)��}�(hhh]�(h)��}�(h�Mpyparsing module - Classes and methods to define and execute parsing grammars�h]�h�Mpyparsing module - Classes and methods to define and execute parsing grammars�����}�(hhChhAhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hhh>hhh�R/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing�hKubh�	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
``"<salutation>, <addressee>!"``), built up using :class:`Word`,
:class:`Literal`, and :class:`And` elements
(the :meth:`'+'<ParserElement.__add__>` operators create :class:`And` expressions,
and the strings are auto-converted to :class:`Literal` expressions)::�h]�(h�LHere is a program to parse “Hello, World!” (or any greeting of the form
�����}�(h�HHere is a program to parse "Hello, World!" (or any greeting of the form
�hh`hhhNhNubh�literal���)��}�(h� ``"<salutation>, <addressee>!"``�h]�h�"<salutation>, <addressee>!"�����}�(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)��}�(hh�h]�h�Word�����}�(hhhh�ubah}�(h]�h!]�(�xref��py��py-class�eh#]�h%]�h']�uh)hihh�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�h��refexplicit���	py:module��	pyparsing��py:class�N�	reftarget��Word��refdoc��	pyparsing��refwarn��uh)h~hhOhKhh`ubh�,
�����}�(h�,
�hh`hhhNhNubh)��}�(h�:class:`Literal`�h]�hj)��}�(hh�h]�h�Literal�����}�(hhhh�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihh�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�h��refexplicit��h�h�h�Nh��Literal�h�h�h��uh)h~hhOhKhh`ubh�, and �����}�(h�, and �hh`hhhNhNubh)��}�(h�:class:`And`�h]�hj)��}�(hh�h]�h�And�����}�(hhhh�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihh�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�h܌refexplicit��h�h�h�Nh��And�h�h�h��uh)h~hhOhKhh`ubh� elements
(the �����}�(h� elements
(the �hh`hhhNhNubh)��}�(h�":meth:`'+'<ParserElement.__add__>`�h]�hj)��}�(hh�h]�h�'+'�����}�(hhhh�ubah}�(h]�h!]�(h��py��py-meth�eh#]�h%]�h']�uh)hihh�ubah}�(h]�h!]�h#]�h%]�h']��reftype��meth��	refdomain�h��refexplicit��h�h�h�Nh��ParserElement.__add__�h�h�h��uh)h~hhOhKhh`ubh� operators create �����}�(h� operators create �hh`hhhNhNubh)��}�(h�:class:`And`�h]�hj)��}�(hjh]�h�And�����}�(hhhjubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j"�refexplicit��h�h�h�Nh��And�h�h�h��uh)h~hhOhKhh`ubh�4 expressions,
and the strings are auto-converted to �����}�(h�4 expressions,
and the strings are auto-converted to �hh`hhhNhNubh)��}�(h�:class:`Literal`�h]�hj)��}�(hj9h]�h�Literal�����}�(hhhj;ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj7ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jE�refexplicit��h�h�h�Nh��Literal�h�h�h��uh)h~hhOhKhh`ubh� expressions):�����}�(h� expressions):�hh`hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhKhh>hhubh�
literal_block���)��}�(h��from pyparsing import Word, alphas

# define grammar of a greeting
greet = Word(alphas) + "," + Word(alphas) + "!"

hello = "Hello, World!"
print(hello, "->", greet.parse_string(hello))�h]�h��from pyparsing import Word, alphas

# define grammar of a greeting
greet = Word(alphas) + "," + Word(alphas) + "!"

hello = "Hello, World!"
print(hello, "->", greet.parse_string(hello))�����}�(hhhjbubah}�(h]�h!]�h#]�h%]�h']��	xml:space��preserve�uh)j`hKhh>hhhhOubhQ)��}�(h�#The program outputs the following::�h]�h�"The program outputs the following:�����}�(h�"The program outputs the following:�hjrhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhKhh>hhubja)��}�(h�-Hello, World! -> ['Hello', ',', 'World', '!']�h]�h�-Hello, World! -> ['Hello', ',', 'World', '!']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hKhh>hhhhOubhQ)��}�(h��The Python representation of the grammar is quite readable, owing to the
self-explanatory class names, and the use of :class:`'+'<And>`,
:class:`'|'<MatchFirst>`, :class:`'^'<Or>` and :class:`'&'<Each>` operators.�h]�(h�vThe Python representation of the grammar is quite readable, owing to the
self-explanatory class names, and the use of �����}�(h�vThe Python representation of the grammar is quite readable, owing to the
self-explanatory class names, and the use of �hj�hhhNhNubh)��}�(h�:class:`'+'<And>`�h]�hj)��}�(hj�h]�h�'+'�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��And�h�h�h��uh)h~hhOhKhj�ubh�,
�����}�(h�,
�hj�hhhNhNubh)��}�(h�:class:`'|'<MatchFirst>`�h]�hj)��}�(hj�h]�h�'|'�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��
MatchFirst�h�h�h��uh)h~hhOhKhj�ubh�, �����}�(h�, �hj�hhhNhNubh)��}�(h�:class:`'^'<Or>`�h]�hj)��}�(hj�h]�h�'^'�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��Or�h�h�h��uh)h~hhOhKhj�ubh� and �����}�(h� and �hj�hhhNhNubh)��}�(h�:class:`'&'<Each>`�h]�hj)��}�(hjh]�h�'&'�����}�(hhhjubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�refexplicit��h�h�h�Nh��Each�h�h�h��uh)h~hhOhKhj�ubh� operators.�����}�(h� operators.�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhKhh>hhubhQ)��}�(h��The :class:`ParseResults` object returned from
:class:`ParserElement.parseString` can be
accessed as a nested list, a dictionary, or an object with named
attributes.�h]�(h�The �����}�(h�The �hj*hhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj5h]�h�ParseResults�����}�(hhhj7ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj3ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jA�refexplicit��h�h�h�Nh��ParseResults�h�h�h��uh)h~hhOhK!hj*ubh� object returned from
�����}�(h� object returned from
�hj*hhhNhNubh)��}�(h�":class:`ParserElement.parseString`�h]�hj)��}�(hjXh]�h�ParserElement.parseString�����}�(hhhjZubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjVubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jd�refexplicit��h�h�h�Nh��ParserElement.parseString�h�h�h��uh)h~hhOhK!hj*ubh�T can be
accessed as a nested list, a dictionary, or an object with named
attributes.�����}�(h�T 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)��}�(h�fThe pyparsing module handles some of the problems that are typically
vexing when writing text parsers:�h]�h�fThe pyparsing module handles some of the problems that are typically
vexing when writing text parsers:�����}�(hj�hjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK&hh>hhubh�block_quote���)��}�(hhh]�h�bullet_list���)��}�(hhh]�(h�	list_item���)��}�(h�kextra or missing whitespace (the above program will also handle
"Hello,World!", "Hello  ,  World  !", etc.)�h]�hQ)��}�(h�kextra or missing whitespace (the above program will also handle
"Hello,World!", "Hello  ,  World  !", etc.)�h]�h�sextra or missing whitespace (the above program will also handle
“Hello,World!”, “Hello  ,  World  !”, etc.)�����}�(hj�hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK)hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�ubj�)��}�(h�quoted strings�h]�hQ)��}�(hj�h]�h�quoted strings�����}�(hj�hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK+hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�ubj�)��}�(h�embedded comments

�h]�hQ)��}�(h�embedded comments�h]�h�embedded comments�����}�(hj�hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK,hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�ubeh}�(h]�h!]�h#]�h%]�h']��bullet��-�uh)j�hhOhK)hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hh>hhhNhNubh
)��}�(hhh]�(h)��}�(h�Getting Started -�h]�h�Getting Started -�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hhj�hhhhOhK0ubhQ)��}�(h��Visit 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]�(h�Visit the classes �����}�(h�Visit the classes �hj�hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj
h]�h�
ParserElement�����}�(hhhjubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�refexplicit��h�h�h�Nh��
ParserElement�h�h�h��uh)h~hhOhK1hj�ubh� and �����}�(h� and �hj�hhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj-h]�h�ParseResults�����}�(hhhj/ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj+ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j9�refexplicit��h�h�h�Nh��ParseResults�h�h�h��uh)h~hhOhK1hj�ubh�s to
see the base classes that most other pyparsing
classes inherit from. Use the docstrings for examples of how to:�����}�(h�s to
see the base classes that most other pyparsing
classes inherit from. Use the docstrings for examples of how to:�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK1hj�hhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�^construct literal match expressions from :class:`Literal` and
:class:`CaselessLiteral` classes�h]�hQ)��}�(h�^construct literal match expressions from :class:`Literal` and
:class:`CaselessLiteral` classes�h]�(h�)construct literal match expressions from �����}�(h�)construct literal match expressions from �hj^ubh)��}�(h�:class:`Literal`�h]�hj)��}�(hjih]�h�Literal�����}�(hhhjkubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjgubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�ju�refexplicit��h�h�h�Nh��Literal�h�h�h��uh)h~hhOhK5hj^ubh� and
�����}�(h� and
�hj^ubh)��}�(h�:class:`CaselessLiteral`�h]�hj)��}�(hj�h]�h�CaselessLiteral�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��CaselessLiteral�h�h�h��uh)h~hhOhK5hj^ubh� classes�����}�(h� classes�hj^ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK5hjZubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjWubj�)��}�(h�Hconstruct character word-group expressions using the :class:`Word`
class�h]�hQ)��}�(h�Hconstruct character word-group expressions using the :class:`Word`
class�h]�(h�5construct character word-group expressions using the �����}�(h�5construct character word-group expressions using the �hj�ubh)��}�(h�
:class:`Word`�h]�hj)��}�(hj�h]�h�Word�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��Word�h�h�h��uh)h~hhOhK7hj�ubh�
class�����}�(h�
class�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK7hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjWubj�)��}�(h�asee how to create repetitive expressions using :class:`ZeroOrMore`
and :class:`OneOrMore` classes�h]�hQ)��}�(h�asee how to create repetitive expressions using :class:`ZeroOrMore`
and :class:`OneOrMore` classes�h]�(h�/see how to create repetitive expressions using �����}�(h�/see how to create repetitive expressions using �hj�ubh)��}�(h�:class:`ZeroOrMore`�h]�hj)��}�(hjh]�h�
ZeroOrMore�����}�(hhhjubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�refexplicit��h�h�h�Nh��
ZeroOrMore�h�h�h��uh)h~hhOhK9hj�ubh�
and �����}�(h�
and �hj�ubh)��}�(h�:class:`OneOrMore`�h]�hj)��}�(hj'h]�h�	OneOrMore�����}�(hhhj)ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj%ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j3�refexplicit��h�h�h�Nh��	OneOrMore�h�h�h��uh)h~hhOhK9hj�ubh� classes�����}�(h� classes�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK9hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjWubj�)��}�(h��use :class:`'+'<And>`, :class:`'|'<MatchFirst>`, :class:`'^'<Or>`,
and :class:`'&'<Each>` operators to combine simple expressions into
more complex ones�h]�hQ)��}�(h��use :class:`'+'<And>`, :class:`'|'<MatchFirst>`, :class:`'^'<Or>`,
and :class:`'&'<Each>` operators to combine simple expressions into
more complex ones�h]�(h�use �����}�(h�use �hjXubh)��}�(h�:class:`'+'<And>`�h]�hj)��}�(hjch]�h�'+'�����}�(hhhjeubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjaubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jo�refexplicit��h�h�h�Nh��And�h�h�h��uh)h~hhOhK;hjXubh�, �����}�(h�, �hjXubh)��}�(h�:class:`'|'<MatchFirst>`�h]�hj)��}�(hj�h]�h�'|'�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��
MatchFirst�h�h�h��uh)h~hhOhK;hjXubh�, �����}�(hj�hjXubh)��}�(h�:class:`'^'<Or>`�h]�hj)��}�(hj�h]�h�'^'�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��Or�h�h�h��uh)h~hhOhK;hjXubh�,
and �����}�(h�,
and �hjXubh)��}�(h�:class:`'&'<Each>`�h]�hj)��}�(hj�h]�h�'&'�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��Each�h�h�h��uh)h~hhOhK;hjXubh�? operators to combine simple expressions into
more complex ones�����}�(h�? operators to combine simple expressions into
more complex ones�hjXubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK;hjTubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjWubj�)��}�(h�Tassociate names with your parsed results using
:class:`ParserElement.setResultsName`�h]�hQ)��}�(h�Tassociate 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)��}�(hjh]�h�ParserElement.setResultsName�����}�(hhhj	ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�refexplicit��h�h�h�Nh��ParserElement.setResultsName�h�h�h��uh)h~hhOhK>hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK>hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjWubj�)��}�(h�Kaccess the parsed data, which is returned as a :class:`ParseResults`
object�h]�hQ)��}�(h�Kaccess the parsed data, which is returned as a :class:`ParseResults`
object�h]�(h�/access the parsed data, which is returned as a �����}�(h�/access the parsed data, which is returned as a �hj3ubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj>h]�h�ParseResults�����}�(hhhj@ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj<ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jJ�refexplicit��h�h�h�Nh��ParseResults�h�h�h��uh)h~hhOhK@hj3ubh�
object�����}�(h�
object�hj3ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhK@hj/ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjWubj�)��}�(h�Vfind some helpful expression short-cuts like :class:`delimitedList`
and :class:`oneOf`�h]�hQ)��}�(h�Vfind 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 �hjoubh)��}�(h�:class:`delimitedList`�h]�hj)��}�(hjzh]�h�
delimitedList�����}�(hhhj|ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjxubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��
delimitedList�h�h�h��uh)h~hhOhKBhjoubh�
and �����}�(h�
and �hjoubh)��}�(h�:class:`oneOf`�h]�hj)��}�(hj�h]�h�oneOf�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��oneOf�h�h�h��uh)h~hhOhKBhjoubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhKBhjkubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjWubj�)��}�(h�Vfind more useful common expressions in the :class:`pyparsing_common`
namespace class

�h]�hQ)��}�(h�Tfind more useful common expressions in the :class:`pyparsing_common`
namespace class�h]�(h�+find more useful common expressions in the �����}�(h�+find more useful common expressions in the �hj�ubh)��}�(h�:class:`pyparsing_common`�h]�hj)��}�(hj�h]�h�pyparsing_common�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�h�h�Nh��pyparsing_common�h�h�h��uh)h~hhOhKDhj�ubh�
namespace class�����}�(h�
namespace class�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhOhKDhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjWubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hhOhK5hjTubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�__compat__ (class in pyparsing)��pyparsing.__compat__�hNt�auh)h,hj�hhhNhNubh+�desc���)��}�(hhh]�(h+�desc_signature���)��}�(h�
__compat__�h]�(h+�desc_annotation���)��}�(h�class �h]�h�class �����}�(hhhj(hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj"hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.__compat__�hNubh+�desc_addname���)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj9hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj"hhhj6hNubh+�	desc_name���)��}�(hj$h]�h�
__compat__�����}�(hhhjIhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj"hhhj6hNubeh}�(h]�jah!]�h#]�jah%]�h']��first���module��	pyparsing��class�h�fullname�j$uh)j hjhhhj6hNubh+�desc_content���)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.util.__config_flags`�h]�(h�Bases: �����}�(h�Bases: �hjfhhhNhNubh)��}�(h�&:class:`pyparsing.util.__config_flags`�h]�hj)��}�(hjqh]�h�pyparsing.util.__config_flags�����}�(hhhjsubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjoubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j}�refexplicit��h�j^h�j$h��pyparsing.util.__config_flags�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.__compat__�hKhjfubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjchhubhQ)��}�(h��A 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]�h��A 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.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.__compat__�hKhjchhubj�)��}�(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
behavior�h]�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
behavior�h]�(hj)��}�(h�``collect_all_And_tokens``�h]�h�collect_all_And_tokens�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�[ - 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 �hj�ubh)��}�(h�:class:`And`�h]�hj)��}�(hj�h]�h�And�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j^h�j$h��And�h�h�h��uh)h~hj�hKhj�ubh�  expression is nested within an �����}�(h�  expression is nested within an �hj�ubh)��}�(h�:class:`Or`�h]�hj)��}�(hj�h]�h�Or�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j^h�j$h��Or�h�h�h��uh)h~hj�hKhj�ubh� or �����}�(h� or �hj�ubh)��}�(h�:class:`MatchFirst`�h]�hj)��}�(hj	h]�h�
MatchFirst�����}�(hhhjubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�refexplicit��h�j^h�j$h��
MatchFirst�h�h�h��uh)h~hj�hKhj�ubh�/;
maintained for compatibility, but setting to �����}�(h�/;
maintained for compatibility, but setting to �hj�ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj*ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�& no longer restores pre-2.3.1
behavior�����}�(h�& no longer restores pre-2.3.1
behavior�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubah}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hKhjchhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjhhhj6hNubeh}�(h]�h!]�h#]�h%]�h']��domain��py��objtype��class��desctype�j^�noindex��uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�__diag__ (class in pyparsing)��pyparsing.__diag__�hNt�auh)h,hj�hhh�W/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.__diag__�hNubj)��}�(hhh]�(j!)��}�(h�__diag__�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjwhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjshhh�W/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.__diag__�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjshhhj�hNubjH)��}�(hjuh]�h�__diag__�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjshhhj�hNubeh}�(h]�jmah!]�h#]�jmah%]�h']�j\�j]�	pyparsing�j_hj`juuh)j hjphhhj�hNubjb)��}�(hhh]�hQ)��}�(h�-Bases: :class:`pyparsing.util.__config_flags`�h]�(h�Bases: �����}�(h�Bases: �hj�hhhNhNubh)��}�(h�&:class:`pyparsing.util.__config_flags`�h]�hj)��}�(hj�h]�h�pyparsing.util.__config_flags�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�juh��pyparsing.util.__config_flags�h�h�h��uh)h~hjohKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjohKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjphhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hjohNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�And (class in pyparsing)��
pyparsing.And�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�MAnd(exprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = True)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�R/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.And�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj	hNubjH)��}�(h�And�h]�h�And�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj	hNubh+�desc_parameterlist���)��}�(h�Hexprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = True�h]�h+�desc_parameter���)��}�(h�Hexprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = True�h]�h�Hexprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = True�����}�(hhhj.hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj(hhhj	hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj	hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`juh)j hj�hhhj	hNubjb)��}�(hhh]�(hQ)��}�(h�.Bases: :class:`pyparsing.core.ParseExpression`�h]�(h�Bases: �����}�(h�Bases: �hjLhhhNhNubh)��}�(h�':class:`pyparsing.core.ParseExpression`�h]�hj)��}�(hjWh]�h�pyparsing.core.ParseExpression�����}�(hhhjYubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjUubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jc�refexplicit��h�jHh�jh��pyparsing.core.ParseExpression�h�h�h��uh)h~h�R/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.And�hKhjLubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjshKhjIhhubhQ)��}�(h��Requires 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]�(h�Requires all given �����}�(h�Requires all given �hjzhhhNhNubh)��}�(h�:class:`ParseExpression`�h]�hj)��}�(hj�h]�h�ParseExpression�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�jHh�jh��ParseExpression�h�h�h��uh)h~h�R/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.And�hKhjzubh�l s to be found in the given order.
Expressions may be separated by whitespace.
May be constructed using the �����}�(h�l s to be found in the given order.
Expressions may be separated by whitespace.
May be constructed using the �hjzhhhNhNubhj)��}�(h�``'+'``�h]�h�'+'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjzubh�- operator.
May also be constructed using the �����}�(h�- operator.
May also be constructed using the �hjzhhhNhNubhj)��}�(h�``'-'``�h]�h�'-'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjzubh�, operator, which will
suppress backtracking.�����}�(h�, operator, which will
suppress backtracking.�hjzhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjIhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjIhhubja)��}�(h��integer = 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]�h��integer = 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")�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hKnhjIhhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.And.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�!__init__() (pyparsing.And method)��pyparsing.And.__init__�hNt�auh)h,hjIhhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.And.__init__�hNubj)��}�(hhh]�(j!)��}�(h�VAnd.__init__(exprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = True)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj	hhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.And.__init__�hNubj')��}�(h�Hexprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = True�h]�j-)��}�(h�Hexprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = True�h]�h�Hexprs_arg: Iterable[pyparsing.core.ParserElement], savelist: bool = True�����}�(hhhj	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj	hhhj	hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj	hhhj	hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_jj`�And.__init__�uh)j hj	hhhj	hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj;	hj9	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj6	hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj	hhhj	hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jT	j`�uh)jhhhjIhj�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj	hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jb	j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9� AtLineStart (class in pyparsing)��pyparsing.AtLineStart�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�;AtLineStart(expr: Union[pyparsing.core.ParserElement, str])�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjx	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjt	hhh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtLineStart�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjt	hhhj�	hNubjH)��}�(h�AtLineStart�h]�h�AtLineStart�����}�(hhhj�	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjt	hhhj�	hNubj')��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�j-)��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�h�.expr: Union[pyparsing.core.ParserElement, str]�����}�(hhhj�	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�	hhhj�	hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjt	hhhj�	hNubeh}�(h]�jo	ah!]�h#]�jo	ah%]�h']�j\�j]�	pyparsing�j_hj`j�	uh)j hjq	hhhj�	hNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hj�	hhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hj�	h]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhj�	ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�	ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�	�refexplicit��h�j�	h�j�	h��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtLineStart�hKhj�	ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�	hKhj�	hhubhQ)��}�(h�SMatches if an expression matches at the beginning of a line within
the parse string�h]�h�SMatches if an expression matches at the beginning of a line within
the parse string�����}�(hj�	hj�	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtLineStart�hKhj�	hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
hKhj�	hhubja)��}�(h��test = '''\
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]�h��test = '''\
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']�jpjquh)j`hK�hj�	hhhj
ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
hKhj�	hhubja)��}�(h�/['AAA', ' this line']
['AAA', ' and this line']�h]�h�/['AAA', ' this line']
['AAA', ' and this line']�����}�(hhhj.
ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hK�hj�	hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtLineStart.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)__init__() (pyparsing.AtLineStart method)��pyparsing.AtLineStart.__init__�hNt�auh)h,hj�	hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtLineStart.__init__�hNubj)��}�(hhh]�(j!)��}�(h�DAtLineStart.__init__(expr: Union[pyparsing.core.ParserElement, str])�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjS
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjO
hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtLineStart.__init__�hNubj')��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�j-)��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�h�.expr: Union[pyparsing.core.ParserElement, str]�����}�(hhhjf
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjb
hhhja
hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjO
hhhja
hNubeh}�(h]�jI
ah!]�h#]�jI
ah%]�h']�j\�j]�	pyparsing�j_j�	j`�AtLineStart.__init__�uh)j hjL
hhhja
hNubjb)��}�(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)hPhjK
hKhj�
hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjL
hhhja
hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�
j`�uh)jhhhj�	hjK
hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjq	hhhj�	hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�
j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�"AtStringStart (class in pyparsing)��pyparsing.AtStringStart�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�=AtStringStart(expr: Union[pyparsing.core.ParserElement, str])�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�
hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtStringStart�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�
hhhj�
hNubjH)��}�(h�
AtStringStart�h]�h�
AtStringStart�����}�(hhhj�
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�
hhhj�
hNubj')��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�j-)��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�h�.expr: Union[pyparsing.core.ParserElement, str]�����}�(hhhj�
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�
hhhj�
hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�
hhhj�
hNubeh}�(h]�j�
ah!]�h#]�j�
ah%]�h']�j\�j]�	pyparsing�j_hj`j�
uh)j hj�
hhhj�
hNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hjhhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hjh]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhjubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j(�refexplicit��h�j
h�j�
h��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtStringStart�hKhjubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj8hKhjhhubhQ)��}�(h�DMatches if expression matches at the beginning of the parse
string::�h]�h�CMatches if expression matches at the beginning of the parse
string:�����}�(h�CMatches if expression matches at the beginning of the parse
string:�hj?hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtStringStart�hKhjhhubja)��}�(h��AtStringStart(Word(nums)).parse_string("123")
# prints ["123"]

AtStringStart(Word(nums)).parse_string("    123")
# raises ParseException�h]�h��AtStringStart(Word(nums)).parse_string("123")
# prints ["123"]

AtStringStart(Word(nums)).parse_string("    123")
# raises ParseException�����}�(hhhjOubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hK�hjhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtStringStart.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__init__() (pyparsing.AtStringStart method)�� pyparsing.AtStringStart.__init__�hNt�auh)h,hjhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtStringStart.__init__�hNubj)��}�(hhh]�(j!)��}�(h�FAtStringStart.__init__(expr: Union[pyparsing.core.ParserElement, str])�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjthhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjphhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.AtStringStart.__init__�hNubj')��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�j-)��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�h�.expr: Union[pyparsing.core.ParserElement, str]�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�hhhj�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjphhhj�hNubeh}�(h]�jjah!]�h#]�jjah%]�h']�j\�j]�	pyparsing�j_j�
j`�AtStringStart.__init__�uh)j hjmhhhj�hNubjb)��}�(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)hPhjlhKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjmhhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhjhjlhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�
hhhj�
hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�$CaselessKeyword (class in pyparsing)��pyparsing.CaselessKeyword�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h��CaselessKeyword(match_string: str = '', ident_chars: Union[str, NoneType] = None, *, matchString: str = '', identChars: Union[str, NoneType] = None)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CaselessKeyword�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj�hNubjH)��}�(h�CaselessKeyword�h]�h�CaselessKeyword�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h��match_string: str = '', ident_chars: Union[str, NoneType] = None, *, matchString: str = '', identChars: Union[str, NoneType] = None�h]�(j-)��}�(h�match_string: str = ''�h]�h�match_string: str = ''�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(h�ident_chars: Union[str�h]�h�ident_chars: Union[str�����}�(hhhj"ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj0ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(h�*�h]�h�*�����}�(hhhj>ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(h�matchString: str = ''�h]�h�matchString: str = ''�����}�(hhhjLubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(h�identChars: Union[str�h]�h�identChars: Union[str�����}�(hhhjZubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjhubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`juh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�&Bases: :class:`pyparsing.core.Keyword`�h]�(h�Bases: �����}�(h�Bases: �hj�hhhNhNubh)��}�(h�:class:`pyparsing.core.Keyword`�h]�hj)��}�(hj�h]�h�pyparsing.core.Keyword�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�jh��pyparsing.core.Keyword�h�h�h��uh)h~h�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CaselessKeyword�hKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubhQ)��}�(h�%Caseless version of :class:`Keyword`.�h]�(h�Caseless version of �����}�(h�Caseless version of �hj�hhhNhNubh)��}�(h�:class:`Keyword`�h]�hj)��}�(hj�h]�h�Keyword�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�jh��Keyword�h�h�h��uh)h~h�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CaselessKeyword�hKhj�ubh�.�����}�(h�.�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubja)��}�(h�PCaselessKeyword("CMD")[1, ...].parse_string("cmd CMD Cmd10")
# -> ['CMD', 'CMD']�h]�h�PCaselessKeyword("CMD")[1, ...].parse_string("cmd CMD Cmd10")
# -> ['CMD', 'CMD']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hK�hj�hhhj�ubhQ)��}�(h�5(Contrast with example for :class:`CaselessLiteral`.)�h]�(h�(Contrast with example for �����}�(h�(Contrast with example for �hj
hhhNhNubh)��}�(h�:class:`CaselessLiteral`�h]�hj)��}�(hj
h]�h�CaselessLiteral�����}�(hhhj
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj

ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j
�refexplicit��h�j�h�jh��CaselessLiteral�h�h�h��uh)h~hj�hKhj
ubh�.)�����}�(h�.)�hj
hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-__init__() (pyparsing.CaselessKeyword method)��"pyparsing.CaselessKeyword.__init__�hNt�auh)h,hj�hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CaselessKeyword.__init__�hNubj)��}�(hhh]�(j!)��}�(h��CaselessKeyword.__init__(match_string: str = '', ident_chars: Union[str, NoneType] = None, *, matchString: str = '', identChars: Union[str, NoneType] = None)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjL
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjH
hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CaselessKeyword.__init__�hNubj')��}�(h��match_string: str = '', ident_chars: Union[str, NoneType] = None, *, matchString: str = '', identChars: Union[str, NoneType] = None�h]�(j-)��}�(h�match_string: str = ''�h]�h�match_string: str = ''�����}�(hhhj_
ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj[
ubj-)��}�(h�ident_chars: Union[str�h]�h�ident_chars: Union[str�����}�(hhhjm
ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj[
ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj{
ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj[
ubj-)��}�(hj@h]�h�*�����}�(hhhj�
ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj[
ubj-)��}�(h�matchString: str = ''�h]�h�matchString: str = ''�����}�(hhhj�
ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj[
ubj-)��}�(h�identChars: Union[str�h]�h�identChars: Union[str�����}�(hhhj�
ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj[
ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�
ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj[
ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjH
hhhjZ
hNubeh}�(h]�jB
ah!]�h#]�jB
ah%]�h']�j\�j]�	pyparsing�j_jj`�CaselessKeyword.__init__�uh)j hjE
hhhjZ
hNubjb)��}�(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)hPhjD
hKhj�
hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjE
hhhjZ
hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�
j`�uh)jhhhj�hjD
hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�
j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�$CaselessLiteral (class in pyparsing)��pyparsing.CaselessLiteral�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�ACaselessLiteral(match_string: str = '', *, matchString: str = '')�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CaselessLiteral�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjhhhjhNubjH)��}�(h�CaselessLiteral�h]�h�CaselessLiteral�����}�(hhhj-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhhjhNubj')��}�(h�0match_string: str = '', *, matchString: str = ''�h]�(j-)��}�(h�match_string: str = ''�h]�h�match_string: str = ''�����}�(hhhj?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj;ubj-)��}�(hj@h]�h�*�����}�(hhhjMubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj;ubj-)��}�(h�matchString: str = ''�h]�h�matchString: str = ''�����}�(hhhjZubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj;ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhjhNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_hj`j/uh)j hj	hhhjhNubjb)��}�(hhh]�(hQ)��}�(h�&Bases: :class:`pyparsing.core.Literal`�h]�(h�Bases: �����}�(h�Bases: �hjxhhhNhNubh)��}�(h�:class:`pyparsing.core.Literal`�h]�hj)��}�(hj�h]�h�pyparsing.core.Literal�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�jth�j/h��pyparsing.core.Literal�h�h�h��uh)h~h�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CaselessLiteral�hKhjxubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjuhhubhQ)��}�(h��Token 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]�h��Token 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.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CaselessLiteral�hKhjuhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjuhhubja)��}�(h�WCaselessLiteral("CMD")[1, ...].parse_string("cmd CMD Cmd10")
# -> ['CMD', 'CMD', 'CMD']�h]�h�WCaselessLiteral("CMD")[1, ...].parse_string("cmd CMD Cmd10")
# -> ['CMD', 'CMD', 'CMD']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hK�hjuhhhj�ubhQ)��}�(h�5(Contrast with example for :class:`CaselessKeyword`.)�h]�(h�(Contrast with example for �����}�(h�(Contrast with example for �hj�hhhNhNubh)��}�(h�:class:`CaselessKeyword`�h]�hj)��}�(hj�h]�h�CaselessKeyword�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�jth�j/h��CaselessKeyword�h�h�h��uh)h~hj�hK
hj�ubh�.)�����}�(h�.)�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hjuhhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-__init__() (pyparsing.CaselessLiteral method)��"pyparsing.CaselessLiteral.__init__�hNt�auh)h,hjuhhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CaselessLiteral.__init__�hNubj)��}�(hhh]�(j!)��}�(h�JCaselessLiteral.__init__(match_string: str = '', *, matchString: str = '')�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CaselessLiteral.__init__�hNubj')��}�(h�0match_string: str = '', *, matchString: str = ''�h]�(j-)��}�(h�match_string: str = ''�h]�h�match_string: str = ''�����}�(hhhj-ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj)ubj-)��}�(hj@h]�h�*�����}�(hhhj;ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj)ubj-)��}�(h�matchString: str = ''�h]�h�matchString: str = ''�����}�(hhhjHubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj)ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhj(hNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_j/j`�CaselessLiteral.__init__�uh)j hjhhhj(hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hjihjghhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhjdhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjhhhj(hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhjuhjhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj	hhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�CharsNotIn (class in pyparsing)��pyparsing.CharsNotIn�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�bCharsNotIn(not_chars: str = '', min: int = 1, max: int = 0, exact: int = 0, *, notChars: str = '')�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CharsNotIn�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj�hNubjH)��}�(h�
CharsNotIn�h]�h�
CharsNotIn�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�Vnot_chars: str = '', min: int = 1, max: int = 0, exact: int = 0, *, notChars: str = ''�h]�(j-)��}�(h�not_chars: str = ''�h]�h�not_chars: str = ''�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�min: int = 1�h]�h�min: int = 1�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�max: int = 0�h]�h�max: int = 0�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�exact: int = 0�h]�h�exact: int = 0�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hj@h]�h�*�����}�(hhhj
ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�notChars: str = ''�h]�h�notChars: str = ''�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hj8hhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hjCh]�h�pyparsing.core.Token�����}�(hhhjEubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjAubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jO�refexplicit��h�j4h�j�h��pyparsing.core.Token�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CharsNotIn�hKhj8ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj_hKhj5hhubhQ)��}�(hX�Token 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]�(h�0Token for matching words composed of characters �����}�(h�0Token for matching words composed of characters �hjfhhhNhNubh�emphasis���)��}�(h�*not*�h]�h�not�����}�(hhhjqubah}�(h]�h!]�h#]�h%]�h']�uh)johjfubhX 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 �hjfhhhNhNubhj)��}�(h�``min``�h]�h�min�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjfubh�A is
1 (a minimum value < 1 is not valid); the default values for
�����}�(h�A is
1 (a minimum value < 1 is not valid); the default values for
�hjfhhhNhNubhj)��}�(h�``max``�h]�h�max�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjfubh� and �����}�(h� and �hjfhhhNhNubhj)��}�(h�	``exact``�h]�h�exact�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjfubh�7 are 0, meaning no maximum or exact
length restriction.�����}�(h�7 are 0, meaning no maximum or exact
length restriction.�hjfhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CharsNotIn�hKhj5hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hj5hhubja)��}�(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"))�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hK�hj5hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj5hhubja)��}�(h�*['dkls', 'lsdkjf', 's12 34', '@!#', '213']�h]�h�*['dkls', 'lsdkjf', 's12 34', '@!#', '213']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hK�hj5hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CharsNotIn.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(__init__() (pyparsing.CharsNotIn method)��pyparsing.CharsNotIn.__init__�hNt�auh)h,hj5hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CharsNotIn.__init__�hNubj)��}�(hhh]�(j!)��}�(h�kCharsNotIn.__init__(not_chars: str = '', min: int = 1, max: int = 0, exact: int = 0, *, notChars: str = '')�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CharsNotIn.__init__�hNubj')��}�(h�Vnot_chars: str = '', min: int = 1, max: int = 0, exact: int = 0, *, notChars: str = ''�h]�(j-)��}�(h�not_chars: str = ''�h]�h�not_chars: str = ''�����}�(hhhj(ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$ubj-)��}�(h�min: int = 1�h]�h�min: int = 1�����}�(hhhj6ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$ubj-)��}�(h�max: int = 0�h]�h�max: int = 0�����}�(hhhjDubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$ubj-)��}�(h�exact: int = 0�h]�h�exact: int = 0�����}�(hhhjRubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$ubj-)��}�(hj@h]�h�*�����}�(hhhj`ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$ubj-)��}�(h�notChars: str = ''�h]�h�notChars: str = ''�����}�(hhhjmubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhj#hNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_j�j`�CharsNotIn.__init__�uh)j hjhhhj#hNubjb)��}�(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)jahjhhhj#hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj5hj
hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Combine (class in pyparsing)��pyparsing.Combine�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h��Combine(expr: pyparsing.core.ParserElement, join_string: str = '', adjacent: bool = True, *, joinString: Union[str, NoneType] = None)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Combine�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj�hNubjH)��}�(h�Combine�h]�h�Combine�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�|expr: pyparsing.core.ParserElement, join_string: str = '', adjacent: bool = True, *, joinString: Union[str, NoneType] = None�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�join_string: str = ''�h]�h�join_string: str = ''�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�adjacent: bool = True�h]�h�adjacent: bool = True�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hj@h]�h�*�����}�(hhhj$ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�joinString: Union[str�h]�h�joinString: Union[str�����}�(hhhj1ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.core.TokenConverter`�h]�(h�Bases: �����}�(h�Bases: �hj]hhhNhNubh)��}�(h�&:class:`pyparsing.core.TokenConverter`�h]�hj)��}�(hjhh]�h�pyparsing.core.TokenConverter�����}�(hhhjjubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjfubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jt�refexplicit��h�jYh�j�h��pyparsing.core.TokenConverter�h�h�h��uh)h~h�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Combine�hKhj]ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjZhhubhQ)��}�(h��Converter 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]�(h��Converter 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
�����}�(h��Converter 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�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Combine�hKhjZhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjZhhubja)��}�(hX�real = 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]�hX�real = 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']�jpjquh)j`hM	hjZhhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Combine.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%__init__() (pyparsing.Combine method)��pyparsing.Combine.__init__�hNt�auh)h,hjZhhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Combine.__init__��hNubj)��}�(hhh]�(j!)��}�(h��Combine.__init__(expr: pyparsing.core.ParserElement, join_string: str = '', adjacent: bool = True, *, joinString: Union[str, NoneType] = None)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Combine.__init__�hNubj')��}�(h�|expr: pyparsing.core.ParserElement, join_string: str = '', adjacent: bool = True, *, joinString: Union[str, NoneType] = None�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�join_string: str = ''�h]�h�join_string: str = ''�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�adjacent: bool = True�h]�h�adjacent: bool = True�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hj@h]�h�*�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�joinString: Union[str�h]�h�joinString: Union[str�����}�(hhhj,ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj:ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�j`�Combine.__init__�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj[hjYhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjVhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jtj`�uh)jhhhjZhj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#ignore() (pyparsing.Combine method)��pyparsing.Combine.ignore�hNt�auh)h,hjZhhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Combine.ignore�hNubj)��}�(hhh]�(j!)��}�(h�5Combine.ignore(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignore�h]�h�ignore�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Combine.ignore�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubh+�desc_returns���)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�j`�Combine.ignore�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h��Define expression to be ignored (e.g., comments) while doing pattern
matching; may be called repeatedly, to define multiple comment or other
ignorable patterns.�h]�h��Define 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)hPhj�hKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubja)��}�(h��patt = Word(alphas)[1, ...]
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj']

patt.ignore(c_style_comment)
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj', 'lskjd']�h]�h��patt = 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']�jpjquh)j`hM#hj�hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jj`�uh)jhhhjZhj�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jj`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Dict (class in pyparsing)��pyparsing.Dict�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�>Dict(expr: pyparsing.core.ParserElement, asdict: bool = False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj)hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj%hhh�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Dict�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj8hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj%hhhj7hNubjH)��}�(h�Dict�h]�h�Dict�����}�(hhhjFhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj%hhhj7hNubj')��}�(h�8expr: pyparsing.core.ParserElement, asdict: bool = False�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhjXubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjTubj-)��}�(h�asdict: bool = False�h]�h�asdict: bool = False�����}�(hhhjfubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjTubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj%hhhj7hNubeh}�(h]�j ah!]�h#]�j ah%]�h']�j\�j]�	pyparsing�j_hj`jHuh)j hj"hhhj7hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.core.TokenConverter`�h]�(h�Bases: �����}�(h�Bases: �hj�hhhNhNubh)��}�(h�&:class:`pyparsing.core.TokenConverter`�h]�hj)��}�(hj�h]�h�pyparsing.core.TokenConverter�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�jHh��pyparsing.core.TokenConverter�h�h�h��uh)h~h�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Dict�hKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubhQ)��}�(h��Converter 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]�h��Converter 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.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Dict�hKhj�hhubhQ)��}�(h��The 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 �hj�hhhNhNubhj)��}�(h�
``asdict``�h]�h�asdict�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�n argument when set to True will return the
parsed tokens as a Python dict instead of a pyparsing ParseResults.�����}�(h�n argument when set to True will return the
parsed tokens as a Python dict instead of a pyparsing ParseResults.�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK	hj�hhubja)��}�(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']�jpjquh)j`hM;hj�hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubja)��}�(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'}�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMNhj�hhhj�ubhQ)��}�(h�OSee more examples at :class:`ParseResults` of accessing fields by results name.�h]�(h�See more examples at �����}�(h�See more examples at �hjhhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj(h]�h�ParseResults�����}�(hhhj*ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj&ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j4�refexplicit��h�j�h�jHh��ParseResults�h�h�h��uh)h~hj�hK'hjubh�% of accessing fields by results name.�����}�(h�% of accessing fields by results name.�hjhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK'hj�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�"__init__() (pyparsing.Dict method)��pyparsing.Dict.__init__�hNt�auh)h,hj�hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Dict.__init__�hNubj)��}�(hhh]�(j!)��}�(h�GDict.__init__(expr: pyparsing.core.ParserElement, asdict: bool = False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjehhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjahhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Dict.__init__�hNubj')��}�(h�8expr: pyparsing.core.ParserElement, asdict: bool = False�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhjxubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjtubj-)��}�(h�asdict: bool = False�h]�h�asdict: bool = False�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjtubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjahhhjshNubeh}�(h]�j[ah!]�h#]�j[ah%]�h']�j\�j]�	pyparsing�j_jHj`�
Dict.__init__�uh)j hj^hhhjshNubjb)��}�(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)jahj^hhhjshNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj�hj]hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj"hhhj7hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Each (class in pyparsing)��pyparsing.Each�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�JEach(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = True)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Each�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj�hNubjH)��}�(h�Each�h]�h�Each�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�Dexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = True�h]�j-)��}�(h�Dexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = True�h]�h�Dexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = True�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjhhhj�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`juh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�.Bases: :class:`pyparsing.core.ParseExpression`�h]�(h�Bases: �����}�(h�Bases: �hj1hhhNhNubh)��}�(h�':class:`pyparsing.core.ParseExpression`�h]�hj)��}�(hj<h]�h�pyparsing.core.ParseExpression�����}�(hhhj>ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj:ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jH�refexplicit��h�j-h�jh��pyparsing.core.ParseExpression�h�h�h��uh)h~h�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Each�hKhj1ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjXhKhj.hhubhQ)��}�(h�xRequires all given :class:`ParseExpression` s to be found, but in
any order. Expressions may be separated by whitespace.�h]�(h�Requires all given �����}�(h�Requires all given �hj_hhhNhNubh)��}�(h�:class:`ParseExpression`�h]�hj)��}�(hjjh]�h�ParseExpression�����}�(hhhjlubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjhubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jv�refexplicit��h�j-h�jh��ParseExpression�h�h�h��uh)h~h�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Each�hKhj_ubh�M s to be found, but in
any order. Expressions may be separated by whitespace.�����}�(h�M s to be found, but in
any order. Expressions may be separated by whitespace.�hj_hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj.hhubhQ)��}�(h�.May be constructed using the ``'&'`` operator.�h]�(h�May be constructed using the �����}�(h�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]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj.hhubja)��}�(hX�color = 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]�hX�color = 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
    '''
    )�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMlhj.hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj.hhubja)��}�(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�h]�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�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj.hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Each.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�"__init__() (pyparsing.Each method)��pyparsing.Each.__init__�hNt�auh)h,hj.hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Each.__init__�hNubj)��}�(hhh]�(j!)��}�(h�SEach.__init__(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = True)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Each.__init__�hNubj')��}�(h�Dexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = True�h]�j-)��}�(h�Dexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = True�h]�h�Dexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = True�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjhhhjhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhjhNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_jj`�
Each.__init__�uh)j hj�hhhjhNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj9hj7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj4hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jRj`�uh)jhhhj.hj�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j`j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Empty (class in pyparsing)��pyparsing.Empty�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�Empty()�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjvhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjrhhh�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Empty�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjrhhhj�hNubjH)��}�(h�Empty�h]�h�Empty�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjrhhhj�hNubeh}�(h]�jmah!]�h#]�jmah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hjohhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hj�hhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hj�h]�h�pyparsing.core.Token�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�j�h��pyparsing.core.Token�h�h�h��uh)h~h�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Empty�hKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubhQ)��}�(h�"An empty token, will always match.�h]�h�"An empty token, will always match.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Empty�hKhj�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#__init__() (pyparsing.Empty method)��pyparsing.Empty.__init__�hNt�auh)h,hj�hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Empty.__init__�hNubj)��}�(hhh]�(j!)��}�(h�Empty.__init__()�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Empty.__init__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhjhNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�j`�Empty.__init__�uh)j hj�hhhjhNubjb)��}�(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�hKhjhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j<j`�uh)jhhhj�hj�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjohhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jJj`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�FollowedBy (class in pyparsing)��pyparsing.FollowedBy�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�:FollowedBy(expr: Union[pyparsing.core.ParserElement, str])�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj`hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj\hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.FollowedBy�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjohhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj\hhhjnhNubjH)��}�(h�
FollowedBy�h]�h�
FollowedBy�����}�(hhhj}hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj\hhhjnhNubj')��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�j-)��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�h�.expr: Union[pyparsing.core.ParserElement, str]�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�hhhjnhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj\hhhjnhNubeh}�(h]�jWah!]�h#]�jWah%]�h']�j\�j]�	pyparsing�j_hj`juh)j hjYhhhjnhNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hj�hhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hj�h]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�jh��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.FollowedBy�hKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubhQ)��}�(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]�(h�2Lookahead matching of the given parse expression.
�����}�(h�2Lookahead matching of the given parse expression.
�hj�hhhNhNubhj)��}�(h�``FollowedBy``�h]�h�
FollowedBy�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� does �����}�(h� does �hj�hhhNhNubjp)��}�(h�*not*�h]�h�not�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)johj�ubh�� 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.  �hj�hhhNhNubhj)��}�(h�``FollowedBy``�h]�h�
FollowedBy�����}�(hhhj
ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�g
always returns a null token list. If any results names are defined
in the lookahead expression, those �����}�(h�g
always returns a null token list. If any results names are defined
in the lookahead expression, those �hj�hhhNhNubjp)��}�(h�*will*�h]�h�will�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�uh)johj�ubh�  be returned for access by
name.�����}�(h�  be returned for access by
name.�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.FollowedBy�hKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj6hK	hj�hhubja)��}�(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()�����}�(hhhjFubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�hhhj6ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjThhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj6hKhj�hhubja)��}�(h�A[['shape', 'SQUARE'], ['color', 'BLACK'], ['posn', 'upper left']]�h]�h�A[['shape', 'SQUARE'], ['color', 'BLACK'], ['posn', 'upper left']]�����}�(hhhjcubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.FollowedBy.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(__init__() (pyparsing.FollowedBy method)��pyparsing.FollowedBy.__init__�hNt�auh)h,hj�hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.FollowedBy.__init__�hNubj)��}�(hhh]�(j!)��}�(h�CFollowedBy.__init__(expr: Union[pyparsing.core.ParserElement, str])�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.FollowedBy.__init__�hNubj')��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�j-)��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�h�.expr: Union[pyparsing.core.ParserElement, str]�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�hhhj�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j~ah!]�h#]�j~ah%]�h']�j\�j]�	pyparsing�j_jj`�FollowedBy.__init__�uh)j hj�hhhj�hNubjb)��}�(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)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj�hj�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjYhhhjnhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Forward (class in pyparsing)��pyparsing.Forward�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�IForward(other: Union[pyparsing.core.ParserElement, str, NoneType] = None)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhjhNubjH)��}�(h�Forward�h]�h�Forward�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhjhNubj')��}�(h�@other: Union[pyparsing.core.ParserElement, str, NoneType] = None�h]�(j-)��}�(h�)other: Union[pyparsing.core.ParserElement�h]�h�)other: Union[pyparsing.core.ParserElement�����}�(hhhj(ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$ubj-)��}�(h�str�h]�h�str�����}�(hhhj6ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjDubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhjhNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`juh)j hj�hhhjhNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hjbhhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hjmh]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhjoubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjkubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jy�refexplicit��h�j^h�jh��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward�hKhjbubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj_hhubhQ)��}�(h��Forward 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]�(h��Forward 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 �����}�(h��Forward 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 �hj�hhhNhNubhj)��}�(h�``Forward``�h]�h�Forward�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�
variable using the �����}�(h�
variable 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)hPh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward�hKhj_hhubhQ)��}�(h�VNote: 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�hhhNhNubhj)��}�(h�``Forward``�h]�h�Forward�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�) not to overlook
precedence of operators.�����}�(h�) not to overlook
precedence of operators.�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj_hhubhQ)��}�(h�ESpecifically, ``'|'`` has a lower precedence than ``'<<'``, so that::�h]�(h�Specifically, �����}�(h�Specifically, �hj�hhhNhNubhj)��}�(h�``'|'``�h]�h�'|'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� has a lower precedence than �����}�(h� has a lower precedence than �hj�hhhNhNubhj)��}�(h�``'<<'``�h]�h�'<<'�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�
, so that:�����}�(h�
, so that:�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK	hj_hhubja)��}�(h�fwd_expr << a | b | c�h]�h�fwd_expr << a | b | c�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj_hhhj�ubhQ)��}�(h�will actually be evaluated as::�h]�h�will actually be evaluated as:�����}�(h�will actually be evaluated as:�hj+hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hj_hhubja)��}�(h�(fwd_expr << a) | b | c�h]�h�(fwd_expr << a) | b | c�����}�(hhhj:ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj_hhhj�ubhQ)��}�(h��thereby leaving b and c out as parseable alternatives.  It is recommended that you
explicitly group the values inserted into the ``Forward``::�h]�(h��thereby leaving b and c out as parseable alternatives.  It is recommended that you
explicitly group the values inserted into the �����}�(h��thereby leaving b and c out as parseable alternatives.  It is recommended that you
explicitly group the values inserted into the �hjHhhhNhNubhj)��}�(h�``Forward``�h]�h�Forward�����}�(hhhjQubah}�(h]�h!]�h#]�h%]�h']�uh)hihjHubh�:�����}�(h�:�hjHhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj_hhubja)��}�(h�fwd_expr << (a | b | c)�h]�h�fwd_expr << (a | b | c)�����}�(hhhjjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj_hhhj�ubhQ)��}�(h�IConverting to use the ``'<<='`` operator instead will avoid this problem.�h]�(h�Converting to use the �����}�(h�Converting to use the �hjxhhhNhNubhj)��}�(h�	``'<<='``�h]�h�'<<='�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjxubh�* operator instead will avoid this problem.�����}�(h�* operator instead will avoid this problem.�hjxhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj_hhubhQ)��}�(h�`See :class:`ParseResults.pprint` for an example of a recursive
parser created using ``Forward``.�h]�(h�See �����}�(h�See �hj�hhhNhNubh)��}�(h�:class:`ParseResults.pprint`�h]�hj)��}�(hj�h]�h�ParseResults.pprint�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j^h�jh��ParseResults.pprint�h�h�h��uh)h~hj�hKhj�ubh�4 for an example of a recursive
parser created using �����}�(h�4 for an example of a recursive
parser created using �hj�hhhNhNubhj)��}�(h�``Forward``�h]�h�Forward�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�.�����}�(hj�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj_hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%__init__() (pyparsing.Forward method)��pyparsing.Forward.__init__�hNt�auh)h,hj_hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.__init__�hNubj)��}�(hhh]�(j!)��}�(h�RForward.__init__(other: Union[pyparsing.core.ParserElement, str, NoneType] = None)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.__init__�hNubj')��}�(h�@other: Union[pyparsing.core.ParserElement, str, NoneType] = None�h]�(j-)��}�(h�)other: Union[pyparsing.core.ParserElement�h]�h�)other: Union[pyparsing.core.ParserElement�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(h�str�h]�h�str�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj#ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhjhNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_jj`�Forward.__init__�uh)j hj�hhhjhNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hjDhjBhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj?hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j]j`�uh)jhhhj_hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#__or__() (pyparsing.Forward method)��pyparsing.Forward.__or__�hNt�auh)h,hj_hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.__or__�hNubj)��}�(hhh]�(j!)��}�(h�Forward.__or__(other)�h]�(jH)��}�(h�__or__�h]�h�__or__�����}�(hhhjthhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjphhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.__or__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjphhhj�hNubeh}�(h]�jjah!]�h#]�jjah%]�h']�j\�j]�	pyparsing�j_jj`�Forward.__or__�uh)j hjmhhhj�hNubjb)��}�(hhh]�hQ)��}�(h�>Implementation of ``|`` operator - returns :class:`MatchFirst`�h]�(h�Implementation of �����}�(h�Implementation of �hj�hhhNhNubhj)��}�(h�``|``�h]�h�|�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� operator - returns �����}�(h� operator - returns �hj�hhhNhNubh)��}�(h�:class:`MatchFirst`�h]�hj)��}�(hj�h]�h�
MatchFirst�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�jh��
MatchFirst�h�h�h��uh)h~hjlhKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjlhKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjmhhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj_hjlhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�!copy() (pyparsing.Forward method)��pyparsing.Forward.copy�hNt�auh)h,hj_hhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.copy�hNubj)��}�(hhh]�(j!)��}�(h�.Forward.copy() -> pyparsing.core.ParserElement�h]�(jH)��}�(h�copy�h]�h�copy�����}�(hhhj
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.copy�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhjhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjhhhjhNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_jj`�Forward.copy�uh)j hjhhhjhNubjb)��}�(hhh]�(hQ)��}�(h��Make 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]�(h�Make a copy of this �����}�(h�Make a copy of this �hj;hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjFh]�h�
ParserElement�����}�(hhhjHubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjDubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jR�refexplicit��h�j6h�jh��
ParserElement�h�h�h��uh)h~hjhKhj;ubh�x.  Useful for defining
different parse actions for the same parsing pattern, using copies of
the original parse element.�����}�(h�x.  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)hPhjhKhj8hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjmhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhj8hhubja)��}�(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']�jpjquh)j`hMhj8hhhjubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhK
hj8hhubja)��}�(h�[5120, 100, 655360, 268435456]�h]�h�[5120, 100, 655360, 268435456]�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj8hhhjubhQ)��}�(h�7Equivalent form of ``expr.copy()`` is just ``expr()``::�h]�(h�Equivalent form of �����}�(h�Equivalent form of �hj�hhhNhNubhj)��}�(h�``expr.copy()``�h]�h�expr.copy()�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�	 is just �����}�(h�	 is just �hj�hhhNhNubhj)��}�(h�
``expr()``�h]�h�expr()�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�:�����}�(hjchj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhj8hhubja)��}�(h�YintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")�h]�h�YintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj8hhhjubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjhhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj_hjhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-ignoreWhitespace() (pyparsing.Forward method)��"pyparsing.Forward.ignoreWhitespace�hNt�auh)h,hj_hhhNhNubj)��}�(hhh]�(j!)��}�(h�PForward.ignoreWhitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignoreWhitespace�h]�h�ignoreWhitespace�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.ignoreWhitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhjhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjhhhjhNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_jj`�Forward.ignoreWhitespace�uh)j hjhhhjhNubjb)��}�(hhh]�(hQ)��}�(h�rEnables the skipping of whitespace before matching the characters in the
:class:`ParserElement`'s defined pattern.�h]�(h�IEnables the skipping of whitespace before matching the characters in the
�����}�(h�IEnables the skipping of whitespace before matching the characters in the
�hjLhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjWh]�h�
ParserElement�����}�(hhhjYubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjUubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jc�refexplicit��h�jGh�jh��
ParserElement�h�h�h��uh)h~h�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.ignoreWhitespace�hKhjLubh�’s defined pattern.�����}�(h�'s defined pattern.�hjLhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjshKhjIhhubh�
field_list���)��}�(hhh]�h�field���)��}�(hhh]�(h�
field_name���)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hjhKubh�
field_body���)��}�(hhh]�hQ)��}�(h�^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)�h]�(h+�literal_strong���)��}�(h�	recursive�h]�h�	recursive�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']��refspecific��uh)j�hj�ubh� – �����}�(hhhj�ubh�If �����}�(h�If �hj�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�hhhNhNubh�J (the default), also enable whitespace skipping in child elements (if any)�����}�(h�J (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)jhjIhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjhhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj_hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.ignore_whitespace() (pyparsing.Forward method)��#pyparsing.Forward.ignore_whitespace�hNt�auh)h,hj_hhhNhNubj)��}�(hhh]�(j!)��}�(h�QForward.ignore_whitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignore_whitespace�h]�h�ignore_whitespace�����}�(hhhj
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.ignore_whitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhjhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj1hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjhhhjhNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_jj`�Forward.ignore_whitespace�uh)j hjhhhjhNubjb)��}�(hhh]�(hQ)��}�(h�rEnables the skipping of whitespace before matching the characters in the
:class:`ParserElement`'s defined pattern.�h]�(h�IEnables the skipping of whitespace before matching the characters in the
�����}�(h�IEnables the skipping of whitespace before matching the characters in the
�hjJhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjUh]�h�
ParserElement�����}�(hhhjWubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjSubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�ja�refexplicit��h�jEh�jh��
ParserElement�h�h�h��uh)h~h�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.ignore_whitespace�hKhjJubh�’s defined pattern.�����}�(h�'s defined pattern.�hjJhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjqhKhjGhhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hjhKubj�)��}�(hhh]�hQ)��}�(h�^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)�h]�(j�)��}�(h�	recursive�h]�h�	recursive�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj�ubh� – �����}�(hhhj�ubh�If �����}�(h�If �hj�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�hhhNhNubh�J (the default), also enable whitespace skipping in child elements (if any)�����}�(h�J (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)jhjGhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjhhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj_hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�,leaveWhitespace() (pyparsing.Forward method)��!pyparsing.Forward.leaveWhitespace�hNt�auh)h,hj_hhhNhNubj)��}�(hhh]�(j!)��}�(h�OForward.leaveWhitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�leaveWhitespace�h]�h�leaveWhitespace�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.leaveWhitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj$ hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_jj`�Forward.leaveWhitespace�uh)j hj�hhhj hNubjb)��}�(hhh]�(hQ)��}�(h��Disables 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]�(h�JDisables the skipping of whitespace before matching the characters in the
�����}�(h�JDisables the skipping of whitespace before matching the characters in the
�hj= hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjH h]�h�
ParserElement�����}�(hhhjJ ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjF ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jT �refexplicit��h�j8 h�jh��
ParserElement�h�h�h��uh)h~h�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.leaveWhitespace�hKhj= 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)hPhjd hKhj: hhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhjv ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjs hj hKubj�)��}�(hhh]�hQ)��}�(h�_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)�h]�(j�)��}�(h�	recursive�h]�h�	recursive�����}�(hhhj� ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj� ubh� – �����}�(hhhj� ubh�RIf true (the default), also disable whitespace skipping in child elements (if any)�����}�(h�RIf true (the default), also disable whitespace skipping in child elements (if any)�hj� hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj� ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjs ubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hjp ubah}�(h]�h!]�h#]�h%]�h']�uh)jhj: hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j� j`�uh)jhhhj_hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-leave_whitespace() (pyparsing.Forward method)��"pyparsing.Forward.leave_whitespace�hNt�auh)h,hj_hhhNhNubj)��}�(hhh]�(j!)��}�(h�PForward.leave_whitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�leave_whitespace�h]�h�leave_whitespace�����}�(hhhj� hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj� hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.leave_whitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj� ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj� ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj� hhhj� hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj!hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj� hhhj� hNubeh}�(h]�j� ah!]�h#]�j� ah%]�h']�j\�j]�	pyparsing�j_jj`�Forward.leave_whitespace�uh)j hj� hhhj� hNubjb)��}�(hhh]�(hQ)��}�(h��Disables 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]�(h�JDisables the skipping of whitespace before matching the characters in the
�����}�(h�JDisables 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!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj&!ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j4!�refexplicit��h�j!h�jh��
ParserElement�h�h�h��uh)h~h�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.leave_whitespace�hKhj!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)hPhjD!hKhj!hhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhjV!ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjS!hj� hKubj�)��}�(hhh]�hQ)��}�(h�_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)�h]�(j�)��}�(h�	recursive�h]�h�	recursive�����}�(hhhjk!ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hjg!ubh� – �����}�(hhhjg!ubh�RIf true (the default), also disable whitespace skipping in child elements (if any)�����}�(h�RIf true (the default), also disable whitespace skipping in child elements (if any)�hjg!hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjd!ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjS!ubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hjP!ubah}�(h]�h!]�h#]�h%]�h']�uh)jhj!hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj� hhhj� hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�!j`�uh)jhhhj_hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%validate() (pyparsing.Forward method)��pyparsing.Forward.validate�hNt�auh)h,hj_hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.validate�hNubj)��}�(hhh]�(j!)��}�(h�,Forward.validate(validateTrace=None) -> None�h]�(jH)��}�(h�validate�h]�h�validate�����}�(hhhj�!hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�!hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Forward.validate�hNubj')��}�(h�validateTrace=None�h]�j-)��}�(h�validateTrace=None�h]�h�validateTrace=None�����}�(hhhj�!ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�!ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�!hhhj�!hNubj�)��}�(h�None�h]�h�None�����}�(hhhj�!hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�!hhhj�!hNubeh}�(h]�j�!ah!]�h#]�j�!ah%]�h']�j\�j]�	pyparsing�j_jj`�Forward.validate�uh)j hj�!hhhj�!hNubjb)��}�(hhh]�hQ)��}�(h�XCheck defined expressions for valid structure, check for infinite recursive definitions.�h]�h�XCheck 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)jahj�!hhhj�!hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j"j`�uh)jhhhj_hj�!hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j'"j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�GoToColumn (class in pyparsing)��pyparsing.GoToColumn�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�GoToColumn(colno: int)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj="hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj9"hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.GoToColumn�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjL"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj9"hhhjK"hNubjH)��}�(h�
GoToColumn�h]�h�
GoToColumn�����}�(hhhjZ"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj9"hhhjK"hNubj')��}�(h�
colno: int�h]�j-)��}�(h�
colno: int�h]�h�
colno: int�����}�(hhhjl"ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjh"ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj9"hhhjK"hNubeh}�(h]�j4"ah!]�h#]�j4"ah%]�h']�j\�j]�	pyparsing�j_hj`j\"uh)j hj6"hhhjK"hNubjb)��}�(hhh]�(hQ)��}�(h�,Bases: :class:`pyparsing.core.PositionToken`�h]�(h�Bases: �����}�(h�Bases: �hj�"hhhNhNubh)��}�(h�%:class:`pyparsing.core.PositionToken`�h]�hj)��}�(hj�"h]�h�pyparsing.core.PositionToken�����}�(hhhj�"ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�"ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�"�refexplicit��h�j�"h�j\"h��pyparsing.core.PositionToken�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.GoToColumn�hKhj�"ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�"hKhj�"hhubhQ)��}�(h�XToken to advance to a specific column of input text; useful for
tabular report scraping.�h]�h�XToken to advance to a specific column of input text; useful for
tabular report scraping.�����}�(hj�"hj�"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.GoToColumn�hKhj�"hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(__init__() (pyparsing.GoToColumn method)��pyparsing.GoToColumn.__init__�hNt�auh)h,hj�"hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.GoToColumn.__init__�hNubj)��}�(hhh]�(j!)��}�(h�GoToColumn.__init__(colno: int)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�"hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.GoToColumn.__init__�hNubj')��}�(h�
colno: int�h]�j-)��}�(h�
colno: int�h]�h�
colno: int�����}�(hhhj�"ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�"ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�"hhhj�"hNubeh}�(h]�j�"ah!]�h#]�j�"ah%]�h']�j\�j]�	pyparsing�j_j\"j`�GoToColumn.__init__�uh)j hj�"hhhj�"hNubjb)��}�(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)jahj�"hhhj�"hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j*#j`�uh)jhhhj�"hj�"hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj6"hhhjK"hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j8#j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Group (class in pyparsing)��pyparsing.Group�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�?Group(expr: pyparsing.core.ParserElement, aslist: bool = False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjN#hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjJ#hhh�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Group�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj]#hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjJ#hhhj\#hNubjH)��}�(h�Group�h]�h�Group�����}�(hhhjk#hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjJ#hhhj\#hNubj')��}�(h�8expr: pyparsing.core.ParserElement, aslist: bool = False�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj}#ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjy#ubj-)��}�(h�aslist: bool = False�h]�h�aslist: bool = False�����}�(hhhj�#ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjy#ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjJ#hhhj\#hNubeh}�(h]�jE#ah!]�h#]�jE#ah%]�h']�j\�j]�	pyparsing�j_hj`jm#uh)j hjG#hhhj\#hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.core.TokenConverter`�h]�(h�Bases: �����}�(h�Bases: �hj�#hhhNhNubh)��}�(h�&:class:`pyparsing.core.TokenConverter`�h]�hj)��}�(hj�#h]�h�pyparsing.core.TokenConverter�����}�(hhhj�#ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�#ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�#�refexplicit��h�j�#h�jm#h��pyparsing.core.TokenConverter�h�h�h��uh)h~h�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Group�hKhj�#ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�#hKhj�#hhubhQ)��}�(h��Converter to return the matched tokens as a list - useful for
returning tokens of :class:`ZeroOrMore` and :class:`OneOrMore` expressions.�h]�(h�RConverter to return the matched tokens as a list - useful for
returning tokens of �����}�(h�RConverter to return the matched tokens as a list - useful for
returning tokens of �hj�#hhhNhNubh)��}�(h�:class:`ZeroOrMore`�h]�hj)��}�(hj�#h]�h�
ZeroOrMore�����}�(hhhj�#ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�#ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�#�refexplicit��h�j�#h�jm#h��
ZeroOrMore�h�h�h��uh)h~h�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Group�hKhj�#ubh� and �����}�(h� and �hj�#hhhNhNubh)��}�(h�:class:`OneOrMore`�h]�hj)��}�(hj$h]�h�	OneOrMore�����}�(hhhj$ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj$ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j$�refexplicit��h�j�#h�jm#h��	OneOrMore�h�h�h��uh)h~hj�#hKhj�#ubh�
 expressions.�����}�(h�
 expressions.�hj�#hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�#hKhj�#hhubhQ)��}�(h��The 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 �hj-$hhhNhNubhj)��}�(h�
``aslist``�h]�h�aslist�����}�(hhhj6$ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj-$ub�Hh�n argument when set to True will return the
parsed tokens as a Python list instead of a pyparsing ParseResults.�����}�(h�n argument when set to True will return the
parsed tokens as a Python list instead of a pyparsing ParseResults.�hj-$hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�#hKhj�#hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjO$hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�#hKhj�#hhubja)��}�(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']]�����}�(hhhj^$ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM_hj�#hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Group.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#__init__() (pyparsing.Group method)��pyparsing.Group.__init__�hNt�auh)h,hj�#hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Group.__init__�hNubj)��}�(hhh]�(j!)��}�(h�HGroup.__init__(expr: pyparsing.core.ParserElement, aslist: bool = False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�$hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj$hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Group.__init__�hNubj')��}�(h�8expr: pyparsing.core.ParserElement, aslist: bool = False�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj�$ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�$ubj-)��}�(h�aslist: bool = False�h]�h�aslist: bool = False�����}�(hhhj�$ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�$ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj$hhhj�$hNubeh}�(h]�jy$ah!]�h#]�jy$ah%]�h']�j\�j]�	pyparsing�j_jm#j`�Group.__init__�uh)j hj|$hhhj�$hNubjb)��}�(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)jahj|$hhhj�$hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�$j`�uh)jhhhj�#hj{$hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjG#hhhj\#hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�$j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�"IndentedBlock (class in pyparsing)��pyparsing.IndentedBlock�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�cIndentedBlock(expr: pyparsing.core.ParserElement, *, recursive: bool = False, grouped: bool = True)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj%hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�$hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.IndentedBlock�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj%hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�$hhhj%hNubjH)��}�(h�
IndentedBlock�h]�h�
IndentedBlock�����}�(hhhj%hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�$hhhj%hNubj')��}�(h�Texpr: pyparsing.core.ParserElement, *, recursive: bool = False, grouped: bool = True�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj1%ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj-%ubj-)��}�(hj@h]�h�*�����}�(hhhj?%ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj-%ubj-)��}�(h�recursive: bool = False�h]�h�recursive: bool = False�����}�(hhhjL%ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj-%ubj-)��}�(h�grouped: bool = True�h]�h�grouped: bool = True�����}�(hhhjZ%ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj-%ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�$hhhj%hNubeh}�(h]�j�$ah!]�h#]�j�$ah%]�h']�j\�j]�	pyparsing�j_hj`j!%uh)j hj�$hhhj%hNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hjx%hhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hj�%h]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhj�%ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�%ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�%�refexplicit��h�jt%h�j!%h��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.IndentedBlock�hKhjx%ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�%hKhju%hhubhQ)��}�(h��Expression 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]�h��Expression 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).�����}�(hj�%hj�%hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.IndentedBlock�hKhju%hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__init__() (pyparsing.IndentedBlock method)�� pyparsing.IndentedBlock.__init__�hNt�auh)h,hju%hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.IndentedBlock.__init__�hNubj)��}�(hhh]�(j!)��}�(h�lIndentedBlock.__init__(expr: pyparsing.core.ParserElement, *, recursive: bool = False, grouped: bool = True)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�%hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�%hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.IndentedBlock.__init__�hNubj')��}�(h�Texpr: pyparsing.core.ParserElement, *, recursive: bool = False, grouped: bool = True�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj�%ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�%ubj-)��}�(hj@h]�h�*�����}�(hhhj�%ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�%ubj-)��}�(h�recursive: bool = False�h]�h�recursive: bool = False�����}�(hhhj�%ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�%ubj-)��}�(h�grouped: bool = True�h]�h�grouped: bool = True�����}�(hhhj&ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�%ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�%hhhj�%hNubeh}�(h]�j�%ah!]�h#]�j�%ah%]�h']�j\�j]�	pyparsing�j_j!%j`�IndentedBlock.__init__�uh)j hj�%hhhj�%hNubjb)��}�(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)jahj�%hhhj�%hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jA&j`�uh)jhhhju%hj�%hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�$hhhj%hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jO&j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Keyword (class in pyparsing)��pyparsing.Keyword�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h��Keyword(match_string: str = '', ident_chars: Union[str, NoneType] = None, caseless: bool = False, *, matchString: str = '', identChars: Union[str, NoneType] = None)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhje&hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hja&hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Keyword�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjt&hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hja&hhhjs&hNubjH)��}�(h�Keyword�h]�h�Keyword�����}�(hhhj�&hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhja&hhhjs&hNubj')��}�(h��match_string: str = '', ident_chars: Union[str, NoneType] = None, caseless: bool = False, *, matchString: str = '', identChars: Union[str, NoneType] = None�h]�(j-)��}�(h�match_string: str = ''�h]�h�match_string: str = ''�����}�(hhhj�&ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�&ubj-)��}�(h�ident_chars: Union[str�h]�h�ident_chars: Union[str�����}�(hhhj�&ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�&ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�&ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�&ubj-)��}�(h�caseless: bool = False�h]�h�caseless: bool = False�����}�(hhhj�&ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�&ubj-)��}�(hj@h]�h�*�����}�(hhhj�&ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�&ubj-)��}�(h�matchString: str = ''�h]�h�matchString: str = ''�����}�(hhhj�&ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�&ubj-)��}�(h�identChars: Union[str�h]�h�identChars: Union[str�����}�(hhhj�&ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�&ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�&ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�&ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hja&hhhjs&hNubeh}�(h]�j\&ah!]�h#]�j\&ah%]�h']�j\�j]�	pyparsing�j_hj`j�&uh)j hj^&hhhjs&hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hj'hhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hj'h]�h�pyparsing.core.Token�����}�(hhhj 'ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj'ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j*'�refexplicit��h�j'h�j�&h��pyparsing.core.Token�h�h�h��uh)h~h�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Keyword�hKhj'ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj:'hKhj'hhubhQ)��}�(h��Token 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]�(h��Token to exactly match a specified string as a keyword, that is,
it must be immediately followed by a non-keyword character.  Compare
with �����}�(h��Token to exactly match a specified string as a keyword, that is,
it must be immediately followed by a non-keyword character.  Compare
with �hjA'hhhNhNubh)��}�(h�:class:`Literal`�h]�hj)��}�(hjL'h]�h�Literal�����}�(hhhjN'ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjJ'ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jX'�refexplicit��h�j'h�j�&h��Literal�h�h�h��uh)h~h�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Keyword�hKhjA'ubh�:�����}�(hjchjA'hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjh'hKhj'hhubj�)��}�(hhh]�(j�)��}�(h�G``Literal("if")`` will match the leading ``'if'`` in
``'ifAndOnlyIf'``.�h]�hQ)��}�(h�G``Literal("if")`` will match the leading ``'if'`` in
``'ifAndOnlyIf'``.�h]�(hj)��}�(h�``Literal("if")``�h]�h�
Literal("if")�����}�(hhhj~'ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjz'ubh� will match the leading �����}�(h� will match the leading �hjz'ubhj)��}�(h�``'if'``�h]�h�'if'�����}�(hhhj�'ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjz'ubh� in
�����}�(h� in
�hjz'ubhj)��}�(h�``'ifAndOnlyIf'``�h]�h�
'ifAndOnlyIf'�����}�(hhhj�'ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjz'ubh�.�����}�(hj�hjz'ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjh'hKhjv'ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjs'hhhjh'hNubj�)��}�(h�g``Keyword("if")`` will not; it will only match the leading
``'if'`` in ``'if x=1'``, or ``'if(y==2)'``
�h]�hQ)��}�(h�f``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�'ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�'ubh�* will not; it will only match the leading
�����}�(h�* will not; it will only match the leading
�hj�'ubhj)��}�(h�``'if'``�h]�h�'if'�����}�(hhhj�'ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�'ubh� in �����}�(h� in �hj�'ubhj)��}�(h�``'if x=1'``�h]�h�'if x=1'�����}�(hhhj�'ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�'ubh�, or �����}�(h�, or �hj�'ubhj)��}�(h�``'if(y==2)'``�h]�h�
'if(y==2)'�����}�(hhhj(ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�'ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjh'hKhj�'ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjs'hhhjh'hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjh'hKhj'hhubhQ)��}�(h�MAccepts two optional constructor arguments in addition to the
keyword string:�h]�h�MAccepts two optional constructor arguments in addition to the
keyword string:�����}�(hj%(hj#(hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjh'hK
hj'hhubj�)��}�(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�����}�(hhhj<(ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj8(ubh�{ is a string of characters that would be valid
identifier characters, defaulting to all alphanumerics + “_” and
“$”�����}�(h�s is a string of characters that would be valid
identifier characters, defaulting to all alphanumerics + "_" and
"$"�hj8(ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjh'hK
hj4(ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj1(hhhjh'hNubj�)��}�(h�E``caseless`` allows case-insensitive matching, default is ``False``.
�h]�hQ)��}�(h�D``caseless`` allows case-insensitive matching, default is ``False``.�h]�(hj)��}�(h�``caseless``�h]�h�caseless�����}�(hhhjc(ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj_(ubh�. allows case-insensitive matching, default is �����}�(h�. allows case-insensitive matching, default is �hj_(ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhjv(ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj_(ubh�.�����}�(hj�hj_(ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjh'hKhj[(ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj1(hhhjh'hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjh'hK
hj'hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�(hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjh'hKhj'hhubja)��}�(h�pKeyword("start").parse_string("start")  # -> ['start']
Keyword("start").parse_string("starting")  # -> Exception�h]�h�pKeyword("start").parse_string("start")  # -> ['start']
Keyword("start").parse_string("starting")  # -> Exception�����}�(hhhj�(ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj'hhhjh'ubhQ)��}�(h�<For case-insensitive matching, use :class:`CaselessKeyword`.�h]�(h�#For case-insensitive matching, use �����}�(h�#For case-insensitive matching, use �hj�(hhhNhNubh)��}�(h�:class:`CaselessKeyword`�h]�hj)��}�(hj�(h]�h�CaselessKeyword�����}�(hhhj�(ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�(ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�(�refexplicit��h�j'h�j�&h��CaselessKeyword�h�h�h��uh)h~hjh'hKhj�(ubh�.�����}�(hj�hj�(hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjh'hKhj'hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%__init__() (pyparsing.Keyword method)��pyparsing.Keyword.__init__�hNt�auh)h,hj'hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Keyword.__init__�hNubj)��}�(hhh]�(j!)��}�(h��Keyword.__init__(match_string: str = '', ident_chars: Union[str, NoneType] = None, caseless: bool = False, *, matchString: str = '', identChars: Union[str, NoneType] = None)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�(hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�(hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Keyword.__init__�hNubj')��}�(h��match_string: str = '', ident_chars: Union[str, NoneType] = None, caseless: bool = False, *, matchString: str = '', identChars: Union[str, NoneType] = None�h]�(j-)��}�(h�match_string: str = ''�h]�h�match_string: str = ''�����}�(hhhj)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj
)ubj-)��}�(h�ident_chars: Union[str�h]�h�ident_chars: Union[str�����}�(hhhj)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj
)ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj-)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj
)ubj-)��}�(h�caseless: bool = False�h]�h�caseless: bool = False�����}�(hhhj;)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj
)ubj-)��}�(hj@h]�h�*�����}�(hhhjI)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj
)ubj-)��}�(h�matchString: str = ''�h]�h�matchString: str = ''�����}�(hhhjV)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj
)ubj-)��}�(h�identChars: Union[str�h]�h�identChars: Union[str�����}�(hhhjd)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj
)ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjr)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj
)ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�(hhhj)hNubeh}�(h]�j�(ah!]�h#]�j�(ah%]�h']�j\�j]�	pyparsing�j_j�&j`�Keyword.__init__�uh)j hj�(hhhj)hNubjb)��}�(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)jahj�(hhhj)hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�)j`�uh)jhhhj'hj�(hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�:setDefaultKeywordChars() (pyparsing.Keyword static method)��(pyparsing.Keyword.setDefaultKeywordChars�hNt�auh)h,hj'hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Keyword.setDefaultKeywordChars�hNubj)��}�(hhh]�(j!)��}�(h�-Keyword.setDefaultKeywordChars(chars) -> None�h]�(j')��}�(h�static �h]�h�static �����}�(hhhj�)hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�)hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Keyword.setDefaultKeywordChars�hNubjH)��}�(h�setDefaultKeywordChars�h]�h�setDefaultKeywordChars�����}�(hhhj�)hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�)hhhj�)hNubj')��}�(h�chars�h]�j-)��}�(h�chars�h]�h�chars�����}�(hhhj�)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�)hhhj�)hNubj�)��}�(h�None�h]�h�None�����}�(hhhj�)hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�)hhhj�)hNubeh}�(h]�j�)ah!]�h#]�j�)ah%]�h']�j\�j]�	pyparsing�j_j�&j`�Keyword.setDefaultKeywordChars�uh)j hj�)hhhj�)hNubjb)��}�(hhh]�hQ)��}�(h�FOverrides the default characters used by :class:`Keyword` expressions.�h]�(h�)Overrides the default characters used by �����}�(h�)Overrides the default characters used by �hj*hhhNhNubh)��}�(h�:class:`Keyword`�h]�hj)��}�(hj*h]�h�Keyword�����}�(hhhj*ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj*ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j(*�refexplicit��h�j*h�j�&h��Keyword�h�h�h��uh)h~hj�)hKhj*ubh�
 expressions.�����}�(h�
 expressions.�hj*hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�)hKhj*hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�)hhhj�)hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_jP*j`�uh)jhhhj'hj�)hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�=set_default_keyword_chars() (pyparsing.Keyword static method)��+pyparsing.Keyword.set_default_keyword_chars�hNt�auh)h,hj'hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Keyword.set_default_keyword_chars�hNubj)��}�(hhh]�(j!)��}�(h�0Keyword.set_default_keyword_chars(chars) -> None�h]�(j')��}�(hj�)h]�h�static �����}�(hhhjg*hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjc*hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Keyword.set_default_keyword_chars�hNubjH)��}�(h�set_default_keyword_chars�h]�h�set_default_keyword_chars�����}�(hhhju*hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjc*hhhjt*hNubj')��}�(h�chars�h]�j-)��}�(h�chars�h]�h�chars�����}�(hhhj�*ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�*ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjc*hhhjt*hNubj�)��}�(h�None�h]�h�None�����}�(hhhj�*hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjc*hhhjt*hNubeh}�(h]�j]*ah!]�h#]�j]*ah%]�h']�j\�j]�	pyparsing�j_j�&j`�!Keyword.set_default_keyword_chars�uh)j hj`*hhhjt*hNubjb)��}�(hhh]�hQ)��}�(h�FOverrides the default characters used by :class:`Keyword` expressions.�h]�(h�)Overrides the default characters used by �����}�(h�)Overrides the default characters used by �hj�*hhhNhNubh)��}�(h�:class:`Keyword`�h]�hj)��}�(hj�*h]�h�Keyword�����}�(hhhj�*ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�*ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�*�refexplicit��h�j�*h�j�&h��Keyword�h�h�h��uh)h~hj_*hKhj�*ubh�
 expressions.�����}�(h�
 expressions.�hj�*hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj_*hKhj�*hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj`*hhhjt*hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j�*j`�uh)jhhhj'hj_*hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj^&hhhjs&hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j+j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�LineEnd (class in pyparsing)��pyparsing.LineEnd�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�	LineEnd()�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj+hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj+hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineEnd�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj&+hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj+hhhj%+hNubjH)��}�(h�LineEnd�h]�h�LineEnd�����}�(hhhj4+hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj+hhhj%+hNubeh}�(h]�j+ah!]�h#]�j+ah%]�h']�j\�j]�	pyparsing�j_hj`j6+uh)j hj+hhhj%+hNubjb)��}�(hhh]�(hQ)��}�(h�,Bases: :class:`pyparsing.core.PositionToken`�h]�(h�Bases: �����}�(h�Bases: �hjL+hhhNhNubh)��}�(h�%:class:`pyparsing.core.PositionToken`�h]�hj)��}�(hjW+h]�h�pyparsing.core.PositionToken�����}�(hhhjY+ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjU+ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jc+�refexplicit��h�jH+h�j6+h��pyparsing.core.PositionToken�h�h�h��uh)h~h�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineEnd�hKhjL+ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjs+hKhjI+hhubhQ)��}�(h�KMatches if current position is at the end of a line within the
parse string�h]�h�KMatches if current position is at the end of a line within the
parse string�����}�(hj|+hjz+hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineEnd�hKhjI+hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%__init__() (pyparsing.LineEnd method)��pyparsing.LineEnd.__init__�hNt�auh)h,hjI+hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineEnd.__init__�hNubj)��}�(hhh]�(j!)��}�(h�LineEnd.__init__()�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�+hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�+hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineEnd.__init__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�+hhhj�+hNubeh}�(h]�j�+ah!]�h#]�j�+ah%]�h']�j\�j]�	pyparsing�j_j6+j`�LineEnd.__init__�uh)j hj�+hhhj�+hNubjb)��}�(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)jahj�+hhhj�+hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�+j`�uh)jhhhjI+hj�+hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj+hhhj%+hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�+j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�LineStart (class in pyparsing)��pyparsing.LineStart�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�LineStart()�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�+hhh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineStart�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�+hhhj,hNubjH)��}�(h�	LineStart�h]�h�	LineStart�����}�(hhhj,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�+hhhj,hNubeh}�(h]�j�+ah!]�h#]�j�+ah%]�h']�j\�j]�	pyparsing�j_hj`j ,uh)j hj�+hhhj,hNubjb)��}�(hhh]�(hQ)��}�(h�,Bases: :class:`pyparsing.core.PositionToken`�h]�(h�Bases: �����}�(h�Bases: �hj6,hhhNhNubh)��}�(h�%:class:`pyparsing.core.PositionToken`�h]�hj)��}�(hjA,h]�h�pyparsing.core.PositionToken�����}�(hhhjC,ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj?,ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jM,�refexplicit��h�j2,h�j ,h��pyparsing.core.PositionToken�h�h�h��uh)h~h�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineStart�hKhj6,ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj],hKhj3,hhubhQ)��}�(h�QMatches if current position is at the beginning of a line within
the parse string�h]�h�QMatches if current position is at the beginning of a line within
the parse string�����}�(hjf,hjd,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineStart�hKhj3,hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjs,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjr,hKhj3,hhubja)��}�(h��test = '''\
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]�h��test = '''\
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�,ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj3,hhhjr,ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjr,hKhj3,hhubja)��}�(h�/['AAA', ' this line']
['AAA', ' and this line']�h]�h�/['AAA', ' this line']
['AAA', ' and this line']�����}�(hhhj�,ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj3,hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineStart.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�'__init__() (pyparsing.LineStart method)��pyparsing.LineStart.__init__�hNt�auh)h,hj3,hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineStart.__init__�hNubj)��}�(hhh]�(j!)��}�(h�LineStart.__init__()�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�,hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.LineStart.__init__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�,hhhj�,hNubeh}�(h]�j�,ah!]�h#]�j�,ah%]�h']�j\�j]�	pyparsing�j_j ,j`�LineStart.__init__�uh)j hj�,hhhj�,hNubjb)��}�(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)jahj�,hhhj�,hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j-j`�uh)jhhhj3,hj�,hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�+hhhj,hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j-j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Literal (class in pyparsing)��pyparsing.Literal�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�9Literal(match_string: str = '', *, matchString: str = '')�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj&-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj"-hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Literal�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj5-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj"-hhhj4-hNubjH)��}�(h�Literal�h]�h�Literal�����}�(hhhjC-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj"-hhhj4-hNubj')��}�(h�0match_string: str = '', *, matchString: str = ''�h]�(j-)��}�(h�match_string: str = ''�h]�h�match_string: str = ''�����}�(hhhjU-ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjQ-ubj-)��}�(hj@h]�h�*�����}�(hhhjc-ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjQ-ubj-)��}�(h�matchString: str = ''�h]�h�matchString: str = ''�����}�(hhhjp-ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjQ-ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj"-hhhj4-hNubeh}�(h]�j-ah!]�h#]�j-ah%]�h']�j\�j]�	pyparsing�j_hj`jE-uh)j hj-hhhj4-hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hj�-hhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hj�-h]�h�pyparsing.core.Token�����}�(hhhj�-ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�-ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�-�refexplicit��h�j�-h�jE-h��pyparsing.core.Token�h�h�h��uh)h~h�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Literal�hKhj�-ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�-hKhj�-hhubhQ)��}�(h�*Token to exactly match a specified string.�h]�h�*Token to exactly match a specified string.�����}�(hj�-hj�-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Literal�hKhj�-hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�-hKhj�-hhubja)��}�(h��Literal('blah').parse_string('blah')  # -> ['blah']
Literal('blah').parse_string('blahfooblah')  # -> ['blah']
Literal('blah').parse_string('bla')  # -> Exception: Expected "blah"�h]�h��Literal('blah').parse_string('blah')  # -> ['blah']
Literal('blah').parse_string('blahfooblah')  # -> ['blah']
Literal('blah').parse_string('bla')  # -> Exception: Expected "blah"�����}�(hhhj�-ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�-hhhj�-ubhQ)��}�(h�<For case-insensitive matching, use :class:`CaselessLiteral`.�h]�(h�#For case-insensitive matching, use �����}�(h�#For case-insensitive matching, use �hj�-hhhNhNubh)��}�(h�:class:`CaselessLiteral`�h]�hj)��}�(hj�-h]�h�CaselessLiteral�����}�(hhhj�-ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�-ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�-�refexplicit��h�j�-h�jE-h��CaselessLiteral�h�h�h��uh)h~hj�-hK	hj�-ubh�.�����}�(hj�hj�-hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�-hK	hj�-hhubhQ)��}�(h�~For keyword matching (force word break before and after the matched string),
use :class:`Keyword` or :class:`CaselessKeyword`.�h]�(h�QFor keyword matching (force word break before and after the matched string),
use �����}�(h�QFor keyword matching (force word break before and after the matched string),
use �hj.hhhNhNubh)��}�(h�:class:`Keyword`�h]�hj)��}�(hj$.h]�h�Keyword�����}�(hhhj&.ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj".ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j0.�refexplicit��h�j�-h�jE-h��Keyword�h�h�h��uh)h~hj�-hKhj.ubh� or �����}�(h� or �hj.hhhNhNubh)��}�(h�:class:`CaselessKeyword`�h]�hj)��}�(hjG.h]�h�CaselessKeyword�����}�(hhhjI.ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjE.ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jS.�refexplicit��h�j�-h�jE-h��CaselessKeyword�h�h�h��uh)h~hj�-hKhj.ubh�.�����}�(hj�hj.hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�-hKhj�-hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%__init__() (pyparsing.Literal method)��pyparsing.Literal.__init__�hNt�auh)h,hj�-hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Literal.__init__�hNubj)��}�(hhh]�(j!)��}�(h�BLiteral.__init__(match_string: str = '', *, matchString: str = '')�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�.hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj.hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Literal.__init__�hNubj')��}�(h�0match_string: str = '', *, matchString: str = ''�h]�(j-)��}�(h�match_string: str = ''�h]�h�match_string: str = ''�����}�(hhhj�.ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�.ubj-)��}�(hj@h]�h�*�����}�(hhhj�.ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�.ubj-)��}�(h�matchString: str = ''�h]�h�matchString: str = ''�����}�(hhhj�.ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�.ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj.hhhj�.hNubeh}�(h]�jy.ah!]�h#]�jy.ah%]�h']�j\�j]�	pyparsing�j_jE-j`�Literal.__init__�uh)j hj|.hhhj�.hNubjb)��}�(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)jahj|.hhhj�.hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�.j`�uh)jhhhj�-hj{.hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj-hhhj4-hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�.j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Located (class in pyparsing)��pyparsing.Located�hNt�auh)h,hj�hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Located�hNubj)��}�(hhh]�(j!)��}�(h�OLocated(expr: Union[pyparsing.core.ParserElement, str], savelist: bool = False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj/hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj/hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Located�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj/hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj/hhhj/hNubjH)��}�(h�Located�h]�h�Located�����}�(hhhj-/hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj/hhhj/hNubj')��}�(h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�h]�j-)��}�(h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�h]�h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�����}�(hhhj?/hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj;/hhhj/hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj/hhhj/hNubeh}�(h]�j/ah!]�h#]�j/ah%]�h']�j\�j]�	pyparsing�j_hj`j//uh)j hj	/hhhj/hNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hj]/hhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hjh/h]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhjj/ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjf/ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jt/�refexplicit��h�jY/h�j//h��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Located�hKhj]/ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�/hKhjZ/hhubhQ)��}�(h�VDecorates a returned token with its starting and ending
locations in the input string.�h]�h�VDecorates a returned token with its starting and ending
locations in the input string.�����}�(hj�/hj�/hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj/hKhjZ/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/hKhjZ/hhubj�)��}�(hhh]�(j�)��}�(h�9``locn_start`` - location where matched expression begins�h]�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 begins�hj�/ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj/hKhj�/ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�/hhhj/hNubj�)��}�(h�5``locn_end`` - location where matched expression ends�h]�hQ)��}�(hj�/h]�(hj)��}�(h�``locn_end``�h]�h�locn_end�����}�(hhhj�/ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�/ubh�) - location where matched expression ends�����}�(h�) - location where matched expression ends�hj�/ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj/hKhj�/ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�/hhhj/hNubj�)��}�(h�&``value`` - the actual parsed results
�h]�hQ)��}�(h�%``value`` - the actual parsed results�h]�(hj)��}�(h�	``value``�h]�h�value�����}�(hhhj�/ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�/ubh� - the actual parsed results�����}�(h� - the actual parsed results�hj�/ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj/hKhj�/ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�/hhhj/hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj/hKhjZ/hhubhQ)��}�(h�wBe careful if the input text contains ``<TAB>`` 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 �hj#0hhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhj,0ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj#0ubh�" characters, you
may want to call �����}�(h�" characters, you
may want to call �hj#0hhhNhNubh)��}�(h�&:class:`ParserElement.parse_with_tabs`�h]�hj)��}�(hjA0h]�h�ParserElement.parse_with_tabs�����}�(hhhjC0ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj?0ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jM0�refexplicit��h�jY/h�j//h��ParserElement.parse_with_tabs�h�h�h��uh)h~hj/hK
hj#0ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj/hK
hjZ/hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjc0hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj/hK
hjZ/hhubja)��}�(h�iwd = Word(alphas)
for match in Located(wd).search_string("ljsdf123lksdjjf123lkkjj1222"):
    print(match)�h]�h�iwd = Word(alphas)
for match in Located(wd).search_string("ljsdf123lksdjjf123lkkjj1222"):
    print(match)�����}�(hhhjr0ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhjZ/hhhj/ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�0hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj/hKhjZ/hhubja)��}�(h�:[0, ['ljsdf'], 5]
[8, ['lksdjjf'], 15]
[18, ['lkkjj'], 23]�h]�h�:[0, ['ljsdf'], 5]
[8, ['lksdjjf'], 15]
[18, ['lkkjj'], 23]�����}�(hhhj�0ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhjZ/hhhj/ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj	/hhhj/hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�0j`�uh)jhhhj�hj/hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�PrecededBy (class in pyparsing)��pyparsing.PrecededBy�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�`PrecededBy(expr: Union[pyparsing.core.ParserElement, str], retreat: Union[int, NoneType] = None)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�0hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�0hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.PrecededBy�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�0hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�0hhhj�0hNubjH)��}�(h�
PrecededBy�h]�h�
PrecededBy�����}�(hhhj�0hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�0hhhj�0hNubj')��}�(h�Texpr: Union[pyparsing.core.ParserElement, str], retreat: Union[int, NoneType] = None�h]�j-)��}�(h�Texpr: Union[pyparsing.core.ParserElement, str], retreat: Union[int, NoneType] = None�h]�h�Texpr: Union[pyparsing.core.ParserElement, str], retreat: Union[int, NoneType] = None�����}�(hhhj�0hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�0hhhj�0hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�0hhhj�0hNubeh}�(h]�j�0ah!]�h#]�j�0ah%]�h']�j\�j]�	pyparsing�j_hj`j�0uh)j hj�0hhhj�0hNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hj
1hhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hj1h]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhj1ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj1ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j$1�refexplicit��h�j	1h�j�0h��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.PrecededBy�hKhj
1ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj41hKhj
1hhubhQ)��}�(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]�(h�3Lookbehind matching of the given parse expression.
�����}�(h�3Lookbehind matching of the given parse expression.
�hj;1hhhNhNubhj)��}�(h�``PrecededBy``�h]�h�
PrecededBy�����}�(hhhjD1ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj;1ubh�� 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.  �hj;1hhhNhNubhj)��}�(h�``PrecededBy``�h]�h�
PrecededBy�����}�(hhhjW1ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj;1ubh�l always
returns a null token list, but if a results name is defined on the
given expression, it is returned.�����}�(h�l always
returns a null token list, but if a results name is defined on the
given expression, it is returned.�hj;1hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.PrecededBy�hKhj
1hhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hjs1hjq1hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjp1hKhj
1hhubj�)��}�(hhh]�(j�)��}�(h�Eexpr - expression that must match prior to the current parse
location�h]�hQ)��}�(h�Eexpr - expression that must match prior to the current parse
location�h]�h�Eexpr - expression that must match prior to the current parse
location�����}�(hj�1hj�1ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjp1hK
hj�1ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj1hhhjp1hNubj�)��}�(h�uretreat - (default= ``None``) - (int) maximum number of characters
to lookbehind prior to the current parse location
�h]�hQ)��}�(h�tretreat - (default= ``None``) - (int) maximum number of characters
to lookbehind prior to the current parse location�h]�(h�retreat - (default= �����}�(h�retreat - (default= �hj�1ubhj)��}�(h�``None``�h]�h�None�����}�(hhhj�1ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�1ubh�X) - (int) maximum number of characters
to lookbehind prior to the current parse location�����}�(h�X) - (int) maximum number of characters
to lookbehind prior to the current parse location�hj�1ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjp1hKhj�1ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj1hhhjp1hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjp1hK
hj
1hhubhQ)��}�(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�1hhhNhNubh)��}�(h�:class:`Literal`�h]�hj)��}�(hj�1h]�h�Literal�����}�(hhhj�1ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�1ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�1�refexplicit��h�j	1h�j�0h��Literal�h�h�h��uh)h~hjp1hKhj�1ubh�,
�����}�(h�,
�hj�1hhhNhNubh)��}�(h�:class:`Keyword`�h]�hj)��}�(hj�1h]�h�Keyword�����}�(hhhj�1ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�1ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j2�refexplicit��h�j	1h�j�0h��Keyword�h�h�h��uh)h~hjp1hKhj�1ubh�, or a �����}�(h�, or a �hj�1hhhNhNubh)��}�(h�
:class:`Word`�h]�hj)��}�(hj2h]�h�Word�����}�(hhhj2ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj2ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j)2�refexplicit��h�j	1h�j�0h��Word�h�h�h��uh)h~hjp1hKhj�1ubh� or �����}�(h� or �hj�1hhhNhNubh)��}�(h�:class:`CharsNotIn`�h]�hj)��}�(hj@2h]�h�
CharsNotIn�����}�(hhhjB2ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj>2ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jL2�refexplicit��h�j	1h�j�0h��
CharsNotIn�h�h�h��uh)h~hjp1hKhj�1ubh��
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�1hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjp1hKhj
1hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjg2hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjp1hKhj
1hhubja)��}�(h��# VB-style variable names with type prefixes
int_var = PrecededBy("#") + pyparsing_common.identifier
str_var = PrecededBy("$") + pyparsing_common.identifier�h]�h��# VB-style variable names with type prefixes
int_var = PrecededBy("#") + pyparsing_common.identifier
str_var = PrecededBy("$") + pyparsing_common.identifier�����}�(hhhjv2ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM4hj
1hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.PrecededBy.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(__init__() (pyparsing.PrecededBy method)��pyparsing.PrecededBy.__init__�hNt�auh)h,hj
1hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.PrecededBy.__init__�hNubj)��}�(hhh]�(j!)��}�(h�iPrecededBy.__init__(expr: Union[pyparsing.core.ParserElement, str], retreat: Union[int, NoneType] = None)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�2hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�2hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.PrecededBy.__init__�hNubj')��}�(h�Texpr: Union[pyparsing.core.ParserElement, str], retreat: Union[int, NoneType] = None�h]�j-)��}�(h�Texpr: Union[pyparsing.core.ParserElement, str], retreat: Union[int, NoneType] = None�h]�h�Texpr: Union[pyparsing.core.ParserElement, str], retreat: Union[int, NoneType] = None�����}�(hhhj�2hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�2hhhj�2hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�2hhhj�2hNubeh}�(h]�j�2ah!]�h#]�j�2ah%]�h']�j\�j]�	pyparsing�j_j�0j`�PrecededBy.__init__�uh)j hj�2hhhj�2hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj�2hj�2hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�2hKhj�2hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�2hhhj�2hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�2j`�uh)jhhhj
1hj�2hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�0hhhj�0hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�2j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�MatchFirst (class in pyparsing)��pyparsing.MatchFirst�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�QMatchFirst(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj3hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.MatchFirst�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj3hhhj3hNubjH)��}�(h�
MatchFirst�h]�h�
MatchFirst�����}�(hhhj)3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj3hhhj3hNubj')��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�j-)��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�����}�(hhhj;3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj73hhhj3hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj3hhhj3hNubeh}�(h]�j3ah!]�h#]�j3ah%]�h']�j\�j]�	pyparsing�j_hj`j+3uh)j hj3hhhj3hNubjb)��}�(hhh]�(hQ)��}�(h�.Bases: :class:`pyparsing.core.ParseExpression`�h]�(h�Bases: �����}�(h�Bases: �hjY3hhhNhNubh)��}�(h�':class:`pyparsing.core.ParseExpression`�h]�hj)��}�(hjd3h]�h�pyparsing.core.ParseExpression�����}�(hhhjf3ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjb3ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jp3�refexplicit��h�jU3h�j+3h��pyparsing.core.ParseExpression�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.MatchFirst�hKhjY3ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�3hKhjV3hhubhQ)��}�(h��Requires 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]�(h�Requires that at least one �����}�(h�Requires that at least one �hj�3hhhNhNubh)��}�(h�:class:`ParseExpression`�h]�hj)��}�(hj�3h]�h�ParseExpression�����}�(hhhj�3ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�3ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�3�refexplicit��h�jU3h�j+3h��ParseExpression�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.MatchFirst�hKhj�3ubh�~ 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�3hhhNhNubhj)��}�(h�``'|'``�h]�h�'|'�����}�(hhhj�3ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�3ubh�
 operator.�����}�(h�
 operator.�hj�3hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�3hKhjV3hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�3hKhjV3hhubja)��}�(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�3ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMKhjV3hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.MatchFirst.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(__init__() (pyparsing.MatchFirst method)��pyparsing.MatchFirst.__init__�hNt�auh)h,hjV3hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.MatchFirst.__init__�hNubj)��}�(hhh]�(j!)��}�(h�ZMatchFirst.__init__(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�3hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.MatchFirst.__init__�hNubj')��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�j-)��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�����}�(hhhj4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj4hhhj4hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�3hhhj4hNubeh}�(h]�j�3ah!]�h#]�j�3ah%]�h']�j\�j]�	pyparsing�j_j+3j`�MatchFirst.__init__�uh)j hj�3hhhj4hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj54hj34hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�3hKhj04hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�3hhhj4hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jN4j`�uh)jhhhjV3hj�3hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj3hhhj3hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j\4j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�NoMatch (class in pyparsing)��pyparsing.NoMatch�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�	NoMatch()�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjr4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjn4hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NoMatch�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjn4hhhj�4hNubjH)��}�(h�NoMatch�h]�h�NoMatch�����}�(hhhj�4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjn4hhhj�4hNubeh}�(h]�ji4ah!]�h#]�ji4ah%]�h']�j\�j]�	pyparsing�j_hj`j�4uh)j hjk4hhhj�4hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hj�4hhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hj�4h]�h�pyparsing.core.Token�����}�(hhhj�4ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�4ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�4�refexplicit��h�j�4h�j�4h��pyparsing.core.Token�h�h�h��uh)h~h�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NoMatch�hKhj�4ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�4hKhj�4hhubhQ)��}�(h�A token that will never match.�h]�h�A token that will never match.�����}�(hj�4hj�4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NoMatch�hKhj�4hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%__init__() (pyparsing.NoMatch method)��pyparsing.NoMatch.__init__�hNt�auh)h,hj�4hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NoMatch.__init__�hNubj)��}�(hhh]�(j!)��}�(h�NoMatch.__init__()�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�4hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NoMatch.__init__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�4hhhj5hNubeh}�(h]�j�4ah!]�h#]�j�4ah%]�h']�j\�j]�	pyparsing�j_j�4j`�NoMatch.__init__�uh)j hj�4hhhj5hNubjb)��}�(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)hPhj�4hKhj5hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�4hhhj5hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j85j`�uh)jhhhj�4hj�4hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjk4hhhj�4hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jF5j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�NotAny (class in pyparsing)��pyparsing.NotAny�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�6NotAny(expr: Union[pyparsing.core.ParserElement, str])�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj\5hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjX5hhh�U/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NotAny�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjk5hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjX5hhhjj5hNubjH)��}�(h�NotAny�h]�h�NotAny�����}�(hhhjy5hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjX5hhhjj5hNubj')��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�j-)��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�h�.expr: Union[pyparsing.core.ParserElement, str]�����}�(hhhj�5hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�5hhhjj5hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjX5hhhjj5hNubeh}�(h]�jS5ah!]�h#]�jS5ah%]�h']�j\�j]�	pyparsing�j_hj`j{5uh)j hjU5hhhjj5hNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hj�5hhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hj�5h]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhj�5ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�5ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�5�refexplicit��h�j�5h�j{5h��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�U/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NotAny�hKhj�5ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�5hKhj�5hhubhQ)��}�(hX�Lookahead 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.
�hj�5hhhNhNubhj)��}�(h�
``NotAny``�h]�h�NotAny�����}�(hhhj�5ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�5ubh� does �����}�(h� does �hj�5hhhNhNubjp)��}�(h�*not*�h]�h�not�����}�(hhhj�5ubah}�(h]�h!]�h#]�h%]�h']�uh)johj�5ubh�q advance the parsing position within the
input string, it only verifies that the specified parse expression
does �����}�(h�q advance the parsing position within the
input string, it only verifies that the specified parse expression
does �hj�5hhhNhNubjp)��}�(h�*not*�h]�h�not�����}�(hhhj6ubah}�(h]�h!]�h#]�h%]�h']�uh)johj�5ubh�' match at the current position.  Also, �����}�(h�' match at the current position.  Also, �hj�5hhhNhNubhj)��}�(h�
``NotAny``�h]�h�NotAny�����}�(hhhj6ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�5ubh� does
�����}�(h� does
�hj�5hhhNhNubjp)��}�(h�*not*�h]�h�not�����}�(hhhj,6ubah}�(h]�h!]�h#]�h%]�h']�uh)johj�5ubh� skip over leading whitespace. �����}�(h� skip over leading whitespace. �hj�5hhhNhNubhj)��}�(h�
``NotAny``�h]�h�NotAny�����}�(hhhj?6ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�5ubh�A always returns
a null token list.  May be constructed using the �����}�(h�A always returns
a null token list.  May be constructed using the �hj�5hhhNhNubhj)��}�(h�``'~'``�h]�h�'~'�����}�(hhhjR6ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�5ubh�
 operator.�����}�(h�
 operator.�hj�5hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPh�U/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NotAny�hKhj�5hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjl6hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjk6hKhj�5hhubja)��}�(hX�AND, 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]�hX�AND, 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(".")������}�(hhhj{6ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMxhj�5hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NotAny.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�$__init__() (pyparsing.NotAny method)��pyparsing.NotAny.__init__�hNt�auh)h,hj�5hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NotAny.__init__�hNubj)��}�(hhh]�(j!)��}�(h�?NotAny.__init__(expr: Union[pyparsing.core.ParserElement, str])�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�6hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�6hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.NotAny.__init__�hNubj')��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�j-)��}�(h�.expr: Union[pyparsing.core.ParserElement, str]�h]�h�.expr: Union[pyparsing.core.ParserElement, str]�����}�(hhhj�6hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�6hhhj�6hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�6hhhj�6hNubeh}�(h]�j�6ah!]�h#]�j�6ah%]�h']�j\�j]�	pyparsing�j_j{5j`�NotAny.__init__�uh)j hj�6hhhj�6hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj�6hj�6hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�6hKhj�6hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�6hhhj�6hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�6j`�uh)jhhhj�5hj�6hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjU5hhhjj5hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�6j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�OneOrMore (class in pyparsing)��pyparsing.OneOrMore�hNt�auh)h,hj�hhh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.OneOrMore�hNubj)��}�(hhh]�(j!)��}�(h��OneOrMore(expr: pyparsing.core.ParserElement, stop_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, stopOn: Union[pyparsing.core.ParserElement, str, NoneType] = None)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj7hhh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.OneOrMore�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj!7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj7hhhj 7hNubjH)��}�(h�	OneOrMore�h]�h�	OneOrMore�����}�(hhhj/7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj7hhhj 7hNubj')��}�(h��expr: pyparsing.core.ParserElement, stop_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, stopOn: Union[pyparsing.core.ParserElement, str, NoneType] = None�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhjA7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=7ubj-)��}�(h�+stop_on: Union[pyparsing.core.ParserElement�h]�h�+stop_on: Union[pyparsing.core.ParserElement�����}�(hhhjO7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=7ubj-)��}�(h�str�h]�h�str�����}�(hhhj]7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=7ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjk7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=7ubj-)��}�(hj@h]�h�*�����}�(hhhjy7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=7ubj-)��}�(h�*stopOn: Union[pyparsing.core.ParserElement�h]�h�*stopOn: Union[pyparsing.core.ParserElement�����}�(hhhj�7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=7ubj-)��}�(h�str�h]�h�str�����}�(hhhj�7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=7ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=7ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj7hhhj 7hNubeh}�(h]�j7ah!]�h#]�j7ah%]�h']�j\�j]�	pyparsing�j_hj`j17uh)j hj7hhhj 7hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.core._MultipleMatch`�h]�(h�Bases: �����}�(h�Bases: �hj�7hhhNhNubh)��}�(h�&:class:`pyparsing.core._MultipleMatch`�h]�hj)��}�(hj�7h]�h�pyparsing.core._MultipleMatch�����}�(hhhj�7ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�7ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�7�refexplicit��h�j�7h�j17h��pyparsing.core._MultipleMatch�h�h�h��uh)h~h�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.OneOrMore�hKhj�7ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�7hKhj�7hhubhQ)��}�(h�2Repetition of one or more of the given expression.�h]�h�2Repetition of one or more of the given expression.�����}�(hj�7hj�7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
7hKhj�7hhubhQ)��}�(h��Parameters:
- expr - expression that must match one or more times
- stop_on - (default= ``None``) - expression for a terminating sentinel�h]�(h�XParameters:
- expr - expression that must match one or more times
- stop_on - (default= �����}�(h�XParameters:
- expr - expression that must match one or more times
- stop_on - (default= �hj�7hhhNhNubhj)��}�(h�``None``�h]�h�None�����}�(hhhj8ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�7ubh�)) - expression for a terminating sentinel�����}�(h�)) - expression for a terminating sentinel�hj�7hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj
7hKhj�7hhubj�)��}�(hhh]�hQ)��}�(h�P(only required if the sentinel would ordinarily match the repetition
expression)�h]�h�P(only required if the sentinel would ordinarily match the repetition
expression)�����}�(hj#8hj!8ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
7hKhj8ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�7hhhj
7hNubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj58hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
7hK	hj�7hhubja)��}�(hX�data_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]�hX�data_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()�����}�(hhhjD8ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�7hhhj
7ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj7hhhj 7hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j_8j`�uh)jhhhj�hj
7hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�OnlyOnce (class in pyparsing)��pyparsing.OnlyOnce�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�OnlyOnce(method_call)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhju8hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjq8hhh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�8hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjq8hhhj�8hNubjH)��}�(h�OnlyOnce�h]�h�OnlyOnce�����}�(hhhj�8hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjq8hhhj�8hNubj')��}�(h�method_call�h]�j-)��}�(h�method_call�h]�h�method_call�����}�(hhhj�8ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�8ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjq8hhhj�8hNubeh}�(h]�jl8ah!]�h#]�jl8ah%]�h']�j\�j]�	pyparsing�j_hj`j�8uh)j hjn8hhhj�8hNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`object`�h]�(h�Bases: �����}�(h�Bases: �hj�8hhhNhNubh)��}�(h�:class:`object`�h]�hj)��}�(hj�8h]�h�object�����}�(hhhj�8ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�8ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�8�refexplicit��h�j�8h�j�8h��object�h�h�h��uh)h~h�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce�hKhj�8ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�8hKhj�8hhubhQ)��}�(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.�����}�(hj�8hj�8hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce�hKhj�8hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&__call__() (pyparsing.OnlyOnce method)��pyparsing.OnlyOnce.__call__�hNt�auh)h,hj�8hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce.__call__�hNubj)��}�(hhh]�(j!)��}�(h�OnlyOnce.__call__(s, l, t)�h]�(jH)��}�(h�__call__�h]�h�__call__�����}�(hhhj9hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj9hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce.__call__�hNubj')��}�(h�s, l, t�h]�(j-)��}�(h�s�h]�h�s�����}�(hhhj(9ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$9ubj-)��}�(h�l�h]�h�l�����}�(hhhj69ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$9ubj-)��}�(h�t�h]�h�t�����}�(hhhjD9ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$9ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj9hhhj#9hNubeh}�(h]�j9ah!]�h#]�j9ah%]�h']�j\�j]�	pyparsing�j_j�8j`�OnlyOnce.__call__�uh)j hj9hhhj#9hNubjb)��}�(hhh]�hQ)��}�(h�Call self as a function.�h]�h�Call self as a function.�����}�(hje9hjc9hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
9hKhj`9hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj9hhhj#9hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j~9j`�uh)jhhhj�8hj
9hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&__init__() (pyparsing.OnlyOnce method)��pyparsing.OnlyOnce.__init__�hNt�auh)h,hj�8hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce.__init__�hNubj)��}�(hhh]�(j!)��}�(h�OnlyOnce.__init__(method_call)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�9hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�9hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce.__init__�hNubj')��}�(h�method_call�h]�j-)��}�(h�method_call�h]�h�method_call�����}�(hhhj�9ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�9ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�9hhhj�9hNubeh}�(h]�j�9ah!]�h#]�j�9ah%]�h']�j\�j]�	pyparsing�j_j�8j`�OnlyOnce.__init__�uh)j hj�9hhhj�9hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj�9hj�9hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�9hKhj�9hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�9hhhj�9hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�9j`�uh)jhhhj�8hj�9hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__weakref__ (pyparsing.OnlyOnce attribute)��pyparsing.OnlyOnce.__weakref__�hNt�auh)h,hj�8hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce.__weakref__�hNubj)��}�(hhh]�(j!)��}�(h�OnlyOnce.__weakref__�h]�jH)��}�(h�__weakref__�h]�h�__weakref__�����}�(hhhj�9hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�9hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce.__weakref__�hNubah}�(h]�j�9ah!]�h#]�j�9ah%]�h']�j\�j]�	pyparsing�j_j�8j`�OnlyOnce.__weakref__�uh)j hj�9hhhj:hNubjb)��}�(hhh]�hQ)��}�(h�2list of weak references to the object (if defined)�h]�h�2list of weak references to the object (if defined)�����}�(hj:hj:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�9hKhj:hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�9hhhj:hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j.:j`�uh)jhhhj�8hj�9hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#reset() (pyparsing.OnlyOnce method)��pyparsing.OnlyOnce.reset�hNt�auh)h,hj�8hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce.reset�hNubj)��}�(hhh]�(j!)��}�(h�OnlyOnce.reset()�h]�(jH)��}�(h�reset�h]�h�reset�����}�(hhhjE:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjA:hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/actions.py:docstring of pyparsing.OnlyOnce.reset�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjA:hhhjS:hNubeh}�(h]�j;:ah!]�h#]�j;:ah%]�h']�j\�j]�	pyparsing�j_j�8j`�OnlyOnce.reset�uh)j hj>:hhhjS:hNubjb)��}�(hhh]�hQ)��}�(h�9Allow the associated parse action to be called once more.�h]�h�9Allow the associated parse action to be called once more.�����}�(hjj:hjh:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj=:hKhje:hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj>:hhhjS:hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�:j`�uh)jhhhj�8hj=:hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjn8hhhj�8hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�:j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�OpAssoc (class in pyparsing)��pyparsing.OpAssoc�hNt�auh)h,hj�hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/helpers.py:docstring of pyparsing.OpAssoc�hNubj)��}�(hhh]�(j!)��}�(h�OpAssoc�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�:hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/helpers.py:docstring of pyparsing.OpAssoc�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�:hhhj�:hNubjH)��}�(hj�:h]�h�OpAssoc�����}�(hhhj�:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�:hhhj�:hNubeh}�(h]�j�:ah!]�h#]�j�:ah%]�h']�j\�j]�	pyparsing�j_hj`j�:uh)j hj�:hhhj�:hNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`enum.Enum`�h]�(h�Bases: �����}�(h�Bases: �hj�:hhhNhNubh)��}�(h�:class:`enum.Enum`�h]�hj)��}�(hj�:h]�h�	enum.Enum�����}�(hhhj�:ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�:ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�:�refexplicit��h�j�:h�j�:h��	enum.Enum�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/helpers.py:docstring of pyparsing.OpAssoc�hKhj�:ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj;hKhj�:hhubhQ)��}�(h�An enumeration.�h]�h�An enumeration.�����}�(hj;hj
;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�:hKhj�:hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�:hhhj�:hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j%;j`�uh)jhhhj�hj�:hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Opt (class in pyparsing)��
pyparsing.Opt�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�fOpt(expr: Union[pyparsing.core.ParserElement, str], default: Any = <pyparsing.core._NullToken object>)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj;;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj7;hhh�R/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Opt�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjJ;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj7;hhhjI;hNubjH)��}�(h�Opt�h]�h�Opt�����}�(hhhjX;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj7;hhhjI;hNubj')��}�(h�aexpr: Union[pyparsing.core.ParserElement, str], default: Any = <pyparsing.core._NullToken object>�h]�j-)��}�(h�aexpr: Union[pyparsing.core.ParserElement, str], default: Any = <pyparsing.core._NullToken object>�h]�h�aexpr: Union[pyparsing.core.ParserElement, str], default: Any = <pyparsing.core._NullToken object>�����}�(hhhjj;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjf;hhhjI;hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj7;hhhjI;hNubeh}�(h]�j2;ah!]�h#]�j2;ah%]�h']�j\�j]�	pyparsing�j_hj`jZ;uh)j hj4;hhhjI;hNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hj�;hhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hj�;h]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhj�;ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�;ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�;�refexplicit��h�j�;h�jZ;h��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�R/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Opt�hKhj�;ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�;hKhj�;hhubhQ)��}�(h�*Optional matching of the given expression.�h]�h�*Optional matching of the given expression.�����}�(hj�;hj�;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�R/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Opt�hKhj�;hhubhQ)��}�(h��Parameters:
- ``expr`` - expression that must match zero or more times
- ``default`` (optional) - value to be returned if the optional expression is not found.�h]�(h�Parameters:
- �����}�(h�Parameters:
- �hj�;hhhNhNubhj)��}�(h�``expr``�h]�h�expr�����}�(hhhj�;ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�;ubh�3 - expression that must match zero or more times
- �����}�(h�3 - expression that must match zero or more times
- �hj�;hhhNhNubhj)��}�(h�``default``�h]�h�default�����}�(hhhj�;ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�;ubh�K (optional) - value to be returned if the optional expression is not found.�����}�(h�K (optional) - value to be returned if the optional expression is not found.�hj�;hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�;hKhj�;hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�;hKhj�;hhubja)��}�(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-
    ''')�����}�(hhhj	<ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�;hhhj�;ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�;hKhj�;hhubja)��}�(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&<ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�;hhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Opt.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�!__init__() (pyparsing.Opt method)��pyparsing.Opt.__init__�hNt�auh)h,hj�;hhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Opt.__init__�hNubj)��}�(hhh]�(j!)��}�(h�oOpt.__init__(expr: Union[pyparsing.core.ParserElement, str], default: Any = <pyparsing.core._NullToken object>)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjK<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjG<hhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Opt.__init__�hNubj')��}�(h�aexpr: Union[pyparsing.core.ParserElement, str], default: Any = <pyparsing.core._NullToken object>�h]�j-)��}�(h�aexpr: Union[pyparsing.core.ParserElement, str], default: Any = <pyparsing.core._NullToken object>�h]�h�aexpr: Union[pyparsing.core.ParserElement, str], default: Any = <pyparsing.core._NullToken object>�����}�(hhhj^<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjZ<hhhjY<hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjG<hhhjY<hNubeh}�(h]�jA<ah!]�h#]�jA<ah%]�h']�j\�j]�	pyparsing�j_jZ;j`�Opt.__init__�uh)j hjD<hhhjY<hNubjb)��}�(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)hPhjC<hKhjz<hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjD<hhhjY<hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�<j`�uh)jhhhj�;hjC<hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj4;hhhjI;hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�<j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Optional (in module pyparsing)��pyparsing.Optional�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h�Optional�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�<hhh�W/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Optional�hNubjH)��}�(hj�<h]�h�Optional�����}�(hhhj�<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�<hhhj�<hNubeh}�(h]�j�<ah!]�h#]�j�<ah%]�h']�j\�j]�	pyparsing�j_hj`j�<uh)j hj�<hhhj�<hNubjb)��}�(hhh]�hQ)��}�(h�$alias of :class:`pyparsing.core.Opt`�h]�(h�	alias of �����}�(h�	alias of �hj�<hhhNhNubh)��}�(h�:class:`pyparsing.core.Opt`�h]�hj)��}�(hj�<h]�h�pyparsing.core.Opt�����}�(hhhj�<ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�<ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�<�refexplicit��h�j�<h�Nh��pyparsing.core.Opt�h�h�h��uh)h~hhhKhj�<ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj�<hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�<hhhj�<hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j=j`�uh)jhhhj�hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Or (class in pyparsing)��pyparsing.Or�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�IOr(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj2=hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj.=hhh�Q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Or�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjA=hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj.=hhhj@=hNubjH)��}�(h�Or�h]�h�Or�����}�(hhhjO=hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj.=hhhj@=hNubj')��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�j-)��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�����}�(hhhja=hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj]=hhhj@=hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj.=hhhj@=hNubeh}�(h]�j)=ah!]�h#]�j)=ah%]�h']�j\�j]�	pyparsing�j_hj`jQ=uh)j hj+=hhhj@=hNubjb)��}�(hhh]�(hQ)��}�(h�.Bases: :class:`pyparsing.core.ParseExpression`�h]�(h�Bases: �����}�(h�Bases: �hj=hhhNhNubh)��}�(h�':class:`pyparsing.core.ParseExpression`�h]�hj)��}�(hj�=h]�h�pyparsing.core.ParseExpression�����}�(hhhj�=ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�=ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�=�refexplicit��h�j{=h�jQ=h��pyparsing.core.ParseExpression�h�h�h��uh)h~h�Q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Or�hKhj=ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�=hKhj|=hhubhQ)��}�(h��Requires 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]�(h�Requires that at least one �����}�(h�Requires that at least one �hj�=hhhNhNubh)��}�(h�:class:`ParseExpression`�h]�hj)��}�(hj�=h]�h�ParseExpression�����}�(hhhj�=ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�=ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�=�refexplicit��h�j{=h�jQ=h��ParseExpression�h�h�h��uh)h~h�Q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Or�hKhj�=ubh� 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 �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]�h�Example:�����}�(h�Example:�hj�=hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�=hKhj|=hhubja)��}�(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"))�����}�(hhhj>ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj|=hhhj�=ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�=hK
hj|=hhubja)��}�(h�[['123'], ['3.1416'], ['789']]�h]�h�[['123'], ['3.1416'], ['789']]�����}�(hhhj>ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj|=hhh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Or.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9� __init__() (pyparsing.Or method)��pyparsing.Or.__init__�hNt�auh)h,hj|=hhh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Or.__init__�hNubj)��}�(hhh]�(j!)��}�(h�ROr.__init__(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjD>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj@>hhh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Or.__init__�hNubj')��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�j-)��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�����}�(hhhjW>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjS>hhhjR>hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj@>hhhjR>hNubeh}�(h]�j:>ah!]�h#]�j:>ah%]�h']�j\�j]�	pyparsing�j_jQ=j`�Or.__init__�uh)j hj=>hhhjR>hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hjx>hjv>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj<>hKhjs>hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj=>hhhjR>hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�>j`�uh)jhhhj|=hj<>hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj+=hhhj@=hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�>j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�ParseBaseException��pyparsing.ParseBaseException�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�XParseBaseException(pstr: str, loc: int = 0, msg: Union[str, NoneType] = None, elem=None)�h]�(j')��}�(h�
exception �h]�h�
exception �����}�(hhhj�>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�>hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�>hhhj�>hNubjH)��}�(hj�>h]�h�ParseBaseException�����}�(hhhj�>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�>hhhj�>hNubj')��}�(h�Dpstr: str, loc: int = 0, msg: Union[str, NoneType] = None, elem=None�h]�(j-)��}�(h�	pstr: str�h]�h�	pstr: str�����}�(hhhj�>ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�loc: int = 0�h]�h�loc: int = 0�����}�(hhhj�>ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�msg: Union[str�h]�h�msg: Union[str�����}�(hhhj�>ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj
?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�	elem=None�h]�h�	elem=None�����}�(hhhj?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�>hhhj�>hNubeh}�(h]�j�>ah!]�h#]�j�>ah%]�h']�j\�j]�	pyparsing�j_hj`j�>uh)j hj�>hhhj�>hNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`Exception`�h]�(h�Bases: �����}�(h�Bases: �hj9?hhhNhNubh)��}�(h�:class:`Exception`�h]�hj)��}�(hjD?h]�h�	Exception�����}�(hhhjF?ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjB?ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jP?�refexplicit��h�j5?h�j�>h��	Exception�h�h�h��uh)h~h�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException�hKhj9?ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj`?hKhj6?hhubhQ)��}�(h�7base exception class for all parsing runtime exceptions�h]�h�7base exception class for all parsing runtime exceptions�����}�(hji?hjg?hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException�hKhj6?hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�0__init__() (pyparsing.ParseBaseException method)��%pyparsing.ParseBaseException.__init__�hNt�auh)h,hj6?hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.__init__�hNubj)��}�(hhh]�(j!)��}�(h�aParseBaseException.__init__(pstr: str, loc: int = 0, msg: Union[str, NoneType] = None, elem=None)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�?hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�?hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.__init__�hNubj')��}�(h�Dpstr: str, loc: int = 0, msg: Union[str, NoneType] = None, elem=None�h]�(j-)��}�(h�	pstr: str�h]�h�	pstr: str�����}�(hhhj�?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�?ubj-)��}�(h�loc: int = 0�h]�h�loc: int = 0�����}�(hhhj�?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�?ubj-)��}�(h�msg: Union[str�h]�h�msg: Union[str�����}�(hhhj�?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�?ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�?ubj-)��}�(h�	elem=None�h]�h�	elem=None�����}�(hhhj�?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�?ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�?hhhj�?hNubeh}�(h]�j�?ah!]�h#]�j�?ah%]�h']�j\�j]�	pyparsing�j_j�>j`�ParseBaseException.__init__�uh)j hj�?hhhj�?hNubjb)��}�(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)jahj�?hhhj�?hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j@j`�uh)jhhhj6?hj�?hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�0__repr__() (pyparsing.ParseBaseException method)��%pyparsing.ParseBaseException.__repr__�hNt�auh)h,hj6?hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.__repr__�hNubj)��}�(hhh]�(j!)��}�(h�ParseBaseException.__repr__()�h]�(jH)��}�(h�__repr__�h]�h�__repr__�����}�(hhhj(@hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj$@hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.__repr__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj$@hhhj6@hNubeh}�(h]�j@ah!]�h#]�j@ah%]�h']�j\�j]�	pyparsing�j_j�>j`�ParseBaseException.__repr__�uh)j hj!@hhhj6@hNubjb)��}�(hhh]�hQ)��}�(h�Return repr(self).�h]�h�Return repr(self).�����}�(hjM@hjK@hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj @hKhjH@hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj!@hhhj6@hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jf@j`�uh)jhhhj6?hj @hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/__str__() (pyparsing.ParseBaseException method)��$pyparsing.ParseBaseException.__str__�hNt�auh)h,hj6?hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.__str__�hNubj)��}�(hhh]�(j!)��}�(h�#ParseBaseException.__str__() -> str�h]�(jH)��}�(h�__str__�h]�h�__str__�����}�(hhhj}@hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjy@hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.__str__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjy@hhhj�@hNubj�)��}�(h�str�h]�h�str�����}�(hhhj�@hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjy@hhhj�@hNubeh}�(h]�js@ah!]�h#]�js@ah%]�h']�j\�j]�	pyparsing�j_j�>j`�ParseBaseException.__str__�uh)j hjv@hhhj�@hNubjb)��}�(hhh]�hQ)��}�(h�Return str(self).�h]�h�Return str(self).�����}�(hj�@hj�@hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhju@hKhj�@hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjv@hhhj�@hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�@j`�uh)jhhhj6?hju@hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�4__weakref__ (pyparsing.ParseBaseException attribute)��(pyparsing.ParseBaseException.__weakref__�hNt�auh)h,hj6?hhh�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.__weakref__�hNubj)��}�(hhh]�(j!)��}�(h�ParseBaseException.__weakref__�h]�jH)��}�(h�__weakref__�h]�h�__weakref__�����}�(hhhj�@hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�@hhh�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.__weakref__�hNubah}�(h]�j�@ah!]�h#]�j�@ah%]�h']�j\�j]�	pyparsing�j_j�>j`�ParseBaseException.__weakref__�uh)j hj�@hhhj�@hNubjb)��}�(hhh]�hQ)��}�(h�2list of weak references to the object (if defined)�h]�h�2list 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)jahj�@hhhj�@hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jAj`�uh)jhhhj6?hj�@hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�,col (pyparsing.ParseBaseException attribute)�� pyparsing.ParseBaseException.col�hNt�auh)h,hj6?hhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.col�hNubj)��}�(hhh]�(j!)��}�(h�ParseBaseException.col�h]�jH)��}�(h�col�h]�h�col�����}�(hhhj,AhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj(Ahhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.col�hNubah}�(h]�j"Aah!]�h#]�j"Aah%]�h']�j\�j]�	pyparsing�j_j�>j`�ParseBaseException.col�uh)j hj%Ahhhj:AhNubjb)��}�(hhh]�hQ)��}�(h�KReturn the 1-based column on the line of text where the exception occurred.�h]�h�KReturn the 1-based column on the line of text where the exception occurred.�����}�(hjHAhjFAhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj$AhKhjCAhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj%Ahhhj:AhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jaAj`�uh)jhhhj6?hj$AhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/column (pyparsing.ParseBaseException attribute)��#pyparsing.ParseBaseException.column�hNt�auh)h,hj6?hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.column�hNubj)��}�(hhh]�(j!)��}�(h�ParseBaseException.column�h]�jH)��}�(h�column�h]�h�column�����}�(hhhjxAhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjtAhhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.column�hNubah}�(h]�jnAah!]�h#]�jnAah%]�h']�j\�j]�	pyparsing�j_j�>j`�ParseBaseException.column�uh)j hjqAhhhj�AhNubjb)��}�(hhh]�hQ)��}�(h�KReturn the 1-based column on the line of text where the exception occurred.�h]�h�KReturn the 1-based column on the line of text where the exception occurred.�����}�(hj�Ahj�AhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjpAhKhj�Ahhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjqAhhhj�AhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�Aj`�uh)jhhhj6?hjpAhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/explain() (pyparsing.ParseBaseException method)��$pyparsing.ParseBaseException.explain�hNt�auh)h,hj6?hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.explain�hNubj)��}�(hhh]�(j!)��}�(h�+ParseBaseException.explain(depth=16) -> str�h]�(jH)��}�(h�explain�h]�h�explain�����}�(hhhj�AhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Ahhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.explain�hNubj')��}�(h�depth=16�h]�j-)��}�(h�depth=16�h]�h�depth=16�����}�(hhhj�Aubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Aubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Ahhhj�AhNubj�)��}�(h�str�h]�h�str�����}�(hhhj�AhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Ahhhj�AhNubeh}�(h]�j�Aah!]�h#]�j�Aah%]�h']�j\�j]�	pyparsing�j_j�>j`�ParseBaseException.explain�uh)j hj�Ahhhj�AhNubjb)��}�(hhh]�(hQ)��}�(h��Method to translate the Python internal traceback into a list
of the pyparsing expressions that caused the exception to be raised.�h]�h��Method to translate the Python internal traceback into a list
of the pyparsing expressions that caused the exception to be raised.�����}�(hjBhjBhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�AhKhjBhhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hjBhjBhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�AhKhjBhhubj�)��}�(hhh]�j�)��}�(h��depth (default=16) - number of levels back in the stack trace to list expression
and function names; if None, the full stack trace names will be listed; if 0, only
the failing input line, marker, and exception string will be shown
�h]�hQ)��}�(h��depth (default=16) - number of levels back in the stack trace to list expression
and function names; if None, the full stack trace names will be listed; if 0, only
the failing input line, marker, and exception string will be shown�h]�h��depth (default=16) - number of levels back in the stack trace to list expression
and function names; if None, the full stack trace names will be listed; if 0, only
the failing input line, marker, and exception string will be shown�����}�(hj)Bhj'Bubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�AhKhj#Bubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj Bhhhj�AhNubah}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�AhKhjBhhubhQ)��}�(h�lReturns a multi-line string listing the ParserElements and/or function names in the
exception's stack trace.�h]�h�nReturns a multi-line string listing the ParserElements and/or function names in the
exception’s stack trace.�����}�(hjCBhjABhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�AhK
hjBhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjOBhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�AhK
hjBhhubja)��}�(h��expr = pp.Word(pp.nums) * 3
try:
    expr.parse_string("123 456 A789")
except pp.ParseException as pe:
    print(pe.explain(depth=0))�h]�h��expr = pp.Word(pp.nums) * 3
try:
    expr.parse_string("123 456 A789")
except pp.ParseException as pe:
    print(pe.explain(depth=0))�����}�(hhhj^Bubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM`hjBhhhj�AubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjlBhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�AhKhjBhhubja)��}�(h�`123 456 A789
        ^
ParseException: Expected W:(0-9), found 'A'  (at char 8), (line:1, col:9)�h]�h�`123 456 A789
        ^
ParseException: Expected W:(0-9), found 'A'  (at char 8), (line:1, col:9)�����}�(hhhj{Bubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhhjBhhhj�AubhQ)��}�(hX)Note: the diagnostic output will include string representations of the expressions
that failed to parse. These representations will be more helpful if you use `set_name` to
give identifiable names to your expressions. Otherwise they will use the default string
forms, which may be cryptic to read.�h]�(h��Note: the diagnostic output will include string representations of the expressions
that failed to parse. These representations will be more helpful if you use �����}�(h��Note: the diagnostic output will include string representations of the expressions
that failed to parse. These representations will be more helpful if you use �hj�BhhhNhNubh�title_reference���)��}�(h�
`set_name`�h]�h�set_name�����}�(hhhj�Bubah}�(h]�h!]�h#]�h%]�h']�uh)j�Bhj�Bubh�� to
give identifiable names to your expressions. Otherwise they will use the default string
forms, which may be cryptic to read.�����}�(h�� to
give identifiable names to your expressions. Otherwise they will use the default string
forms, which may be cryptic to read.�hj�BhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�AhKhjBhhubhQ)��}�(hXNote: pyparsing's default truncation of exception tracebacks may also truncate the
stack of expressions that are displayed in the ``explain`` output. To get the full listing
of parser expressions, you may have to set ``ParserElement.verbose_stacktrace = True``�h]�(h��Note: pyparsing’s default truncation of exception tracebacks may also truncate the
stack of expressions that are displayed in the �����}�(h��Note: pyparsing's default truncation of exception tracebacks may also truncate the
stack of expressions that are displayed in the �hj�BhhhNhNubhj)��}�(h�``explain``�h]�h�explain�����}�(hhhj�Bubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Bubh�L output. To get the full listing
of parser expressions, you may have to set �����}�(h�L output. To get the full listing
of parser expressions, you may have to set �hj�BhhhNhNubhj)��}�(h�+``ParserElement.verbose_stacktrace = True``�h]�h�'ParserElement.verbose_stacktrace = True�����}�(hhhj�Bubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Bubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�AhK hjBhhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Ahhhj�AhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�Bj`�uh)jhhhj6?hj�AhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�@explain_exception() (pyparsing.ParseBaseException static method)��.pyparsing.ParseBaseException.explain_exception�hNt�auh)h,hj6?hhh�y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.explain_exception�hNubj)��}�(hhh]�(j!)��}�(h�3ParseBaseException.explain_exception(exc, depth=16)�h]�(j')��}�(hj�)h]�h�static �����}�(hhhjChhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Bhhh�y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.explain_exception�hNubjH)��}�(h�explain_exception�h]�h�explain_exception�����}�(hhhjChhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�BhhhjChNubj')��}�(h�
exc, depth=16�h]�(j-)��}�(h�exc�h]�h�exc�����}�(hhhj!Cubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjCubj-)��}�(h�depth=16�h]�h�depth=16�����}�(hhhj/Cubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjCubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�BhhhjChNubeh}�(h]�j�Bah!]�h#]�j�Bah%]�h']�j\�j]�	pyparsing�j_j�>j`�$ParseBaseException.explain_exception�uh)j hj�BhhhjChNubjb)��}�(hhh]�(hQ)��}�(h��Method to take an exception and translate the Python internal traceback into a list
of the pyparsing expressions that caused the exception to be raised.�h]�h��Method to take an exception and translate the Python internal traceback into a list
of the pyparsing expressions that caused the exception to be raised.�����}�(hjPChjNChhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�BhKhjKChhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hj^Chj\ChhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�BhKhjKChhubj�)��}�(hhh]�(j�)��}�(h��exc - exception raised during parsing (need not be a ParseException, in support
of Python exceptions that might be raised in a parse action)�h]�hQ)��}�(h��exc - exception raised during parsing (need not be a ParseException, in support
of Python exceptions that might be raised in a parse action)�h]�h��exc - exception raised during parsing (need not be a ParseException, in support
of Python exceptions that might be raised in a parse action)�����}�(hjsChjqCubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�BhKhjmCubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjjChhhj�BhNubj�)��}�(h��depth (default=16) - number of levels back in the stack trace to list expression
and function names; if None, the full stack trace names will be listed; if 0, only
the failing input line, marker, and exception string will be shown
�h]�hQ)��}�(h��depth (default=16) - number of levels back in the stack trace to list expression
and function names; if None, the full stack trace names will be listed; if 0, only
the failing input line, marker, and exception string will be shown�h]�h��depth (default=16) - number of levels back in the stack trace to list expression
and function names; if None, the full stack trace names will be listed; if 0, only
the failing input line, marker, and exception string will be shown�����}�(hj�Chj�Cubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�BhKhj�Cubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjjChhhj�BhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�BhKhjKChhubhQ)��}�(h�lReturns a multi-line string listing the ParserElements and/or function names in the
exception's stack trace.�h]�h�nReturns a multi-line string listing the ParserElements and/or function names in the
exception’s stack trace.�����}�(hj�Chj�ChhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�BhKhjKChhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�BhhhjChNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j�Cj`�uh)jhhhj6?hj�BhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-line (pyparsing.ParseBaseException attribute)��!pyparsing.ParseBaseException.line�hNt�auh)h,hj6?hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.line�hNubj)��}�(hhh]�(j!)��}�(h�ParseBaseException.line�h]�jH)��}�(h�line�h]�h�line�����}�(hhhj�ChhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Chhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.line�hNubah}�(h]�j�Cah!]�h#]�j�Cah%]�h']�j\�j]�	pyparsing�j_j�>j`�ParseBaseException.line�uh)j hj�Chhhj�ChNubjb)��}�(hhh]�hQ)��}�(h�5Return the line of text where the exception occurred.�h]�h�5Return the line of text where the exception occurred.�����}�(hj�Chj�ChhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ChKhj�Chhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�Chhhj�ChNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j
Dj`�uh)jhhhj6?hj�ChNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/lineno (pyparsing.ParseBaseException attribute)��#pyparsing.ParseBaseException.lineno�hNt�auh)h,hj6?hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.lineno�hNubj)��}�(hhh]�(j!)��}�(h�ParseBaseException.lineno�h]�jH)��}�(h�lineno�h]�h�lineno�����}�(hhhj!DhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjDhhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.lineno�hNubah}�(h]�jDah!]�h#]�jDah%]�h']�j\�j]�	pyparsing�j_j�>j`�ParseBaseException.lineno�uh)j hjDhhhj/DhNubjb)��}�(hhh]�hQ)��}�(h�DReturn the 1-based line number of text where the exception occurred.�h]�h�DReturn the 1-based line number of text where the exception occurred.�����}�(hj=Dhj;DhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjDhKhj8Dhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjDhhhj/DhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jVDj`�uh)jhhhj6?hjDhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�5markInputline() (pyparsing.ParseBaseException method)��*pyparsing.ParseBaseException.markInputline�hNt�auh)h,hj6?hhh�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.markInputline�hNubj)��}�(hhh]�(j!)��}�(h�YParseBaseException.markInputline(marker_string: str = None, *, markerString='>!<') -> str�h]�(jH)��}�(h�
markInputline�h]�h�
markInputline�����}�(hhhjmDhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjiDhhh�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.markInputline�hNubj')��}�(h�0marker_string: str = None, *, markerString='>!<'�h]�(j-)��}�(h�marker_string: str = None�h]�h�marker_string: str = None�����}�(hhhj�Dubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj|Dubj-)��}�(hj@h]�h�*�����}�(hhhj�Dubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj|Dubj-)��}�(h�markerString='>!<'�h]�h�markerString='>!<'�����}�(hhhj�Dubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj|Dubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjiDhhhj{DhNubj�)��}�(h�str�h]�h�str�����}�(hhhj�DhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjiDhhhj{DhNubeh}�(h]�jcDah!]�h#]�jcDah%]�h']�j\�j]�	pyparsing�j_j�>j`� ParseBaseException.markInputline�uh)j hjfDhhhj{DhNubjb)��}�(hhh]�hQ)��}�(h�qExtracts the exception line from the input string, and marks
the location of the exception with a special symbol.�h]�h�qExtracts the exception line from the input string, and marks
the location of the exception with a special symbol.�����}�(hj�Dhj�DhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjeDhKhj�Dhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjfDhhhj{DhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�Dj`�uh)jhhhj6?hjeDhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�7mark_input_line() (pyparsing.ParseBaseException method)��,pyparsing.ParseBaseException.mark_input_line�hNt�auh)h,hj6?hhh�w/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.mark_input_line�hNubj)��}�(hhh]�(j!)��}�(h�[ParseBaseException.mark_input_line(marker_string: str = None, *, markerString='>!<') -> str�h]�(jH)��}�(h�mark_input_line�h]�h�mark_input_line�����}�(hhhj�DhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Dhhh�w/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseBaseException.mark_input_line�hNubj')��}�(h�0marker_string: str = None, *, markerString='>!<'�h]�(j-)��}�(h�marker_string: str = None�h]�h�marker_string: str = None�����}�(hhhj
Eubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj	Eubj-)��}�(hj@h]�h�*�����}�(hhhjEubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj	Eubj-)��}�(h�markerString='>!<'�h]�h�markerString='>!<'�����}�(hhhj(Eubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj	Eubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�DhhhjEhNubj�)��}�(h�str�h]�h�str�����}�(hhhj<EhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�DhhhjEhNubeh}�(h]�j�Dah!]�h#]�j�Dah%]�h']�j\�j]�	pyparsing�j_j�>j`�"ParseBaseException.mark_input_line�uh)j hj�DhhhjEhNubjb)��}�(hhh]�hQ)��}�(h�qExtracts the exception line from the input string, and marks
the location of the exception with a special symbol.�h]�h�qExtracts the exception line from the input string, and marks
the location of the exception with a special symbol.�����}�(hjWEhjUEhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�DhKhjREhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�DhhhjEhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jpEj`�uh)jhhhj6?hj�DhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�>hhhj�>hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	exception�j_j~Ej`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(ParseElementEnhance (class in pyparsing)��pyparsing.ParseElementEnhance�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�[ParseElementEnhance(expr: Union[pyparsing.core.ParserElement, str], savelist: bool = False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�EhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Ehhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�EhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Ehhhj�EhNubjH)��}�(h�ParseElementEnhance�h]�h�ParseElementEnhance�����}�(hhhj�EhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Ehhhj�EhNubj')��}�(h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�h]�j-)��}�(h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�h]�h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�����}�(hhhj�EhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Ehhhj�EhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Ehhhj�EhNubeh}�(h]�j�Eah!]�h#]�j�Eah%]�h']�j\�j]�	pyparsing�j_hj`j�Euh)j hj�Ehhhj�EhNubjb)��}�(hhh]�(hQ)��}�(h�,Bases: :class:`pyparsing.core.ParserElement`�h]�(h�Bases: �����}�(h�Bases: �hj�EhhhNhNubh)��}�(h�%:class:`pyparsing.core.ParserElement`�h]�hj)��}�(hj�Eh]�h�pyparsing.core.ParserElement�����}�(hhhj�Eubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Eubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�E�refexplicit��h�j�Eh�j�Eh��pyparsing.core.ParserElement�h�h�h��uh)h~h�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance�hKhj�Eubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjFhKhj�EhhubhQ)��}�(h�]Abstract subclass of :class:`ParserElement`, for combining and
post-processing parsed tokens.�h]�(h�Abstract subclass of �����}�(h�Abstract subclass of �hjFhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjFh]�h�
ParserElement�����}�(hhhjFubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjFubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j&F�refexplicit��h�j�Eh�j�Eh��
ParserElement�h�h�h��uh)h~h�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance�hKhjFubh�2, for combining and
post-processing parsed tokens.�����}�(h�2, for combining and
post-processing parsed tokens.�hjFhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj6FhKhj�Ehhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1__init__() (pyparsing.ParseElementEnhance method)��&pyparsing.ParseElementEnhance.__init__�hNt�auh)h,hj�Ehhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.__init__�hNubj)��}�(hhh]�(j!)��}�(h�dParseElementEnhance.__init__(expr: Union[pyparsing.core.ParserElement, str], savelist: bool = False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjXFhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjTFhhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.__init__�hNubj')��}�(h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�h]�j-)��}�(h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�h]�h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�����}�(hhhjkFhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjgFhhhjfFhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjTFhhhjfFhNubeh}�(h]�jNFah!]�h#]�jNFah%]�h']�j\�j]�	pyparsing�j_j�Ej`�ParseElementEnhance.__init__�uh)j hjQFhhhjfFhNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj�Fhj�FhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjPFhKhj�Fhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjQFhhhjfFhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�Fj`�uh)jhhhj�EhjPFhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/ignore() (pyparsing.ParseElementEnhance method)��$pyparsing.ParseElementEnhance.ignore�hNt�auh)h,hj�Ehhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.ignore�hNubj)��}�(hhh]�(j!)��}�(h�AParseElementEnhance.ignore(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignore�h]�h�ignore�����}�(hhhj�FhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Fhhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.ignore�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj�Fubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Fubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Fhhhj�FhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�FhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Fhhhj�FhNubeh}�(h]�j�Fah!]�h#]�j�Fah%]�h']�j\�j]�	pyparsing�j_j�Ej`�ParseElementEnhance.ignore�uh)j hj�Fhhhj�FhNubjb)��}�(hhh]�(hQ)��}�(h��Define expression to be ignored (e.g., comments) while doing pattern
matching; may be called repeatedly, to define multiple comment or other
ignorable patterns.�h]�h��Define expression to be ignored (e.g., comments) while doing pattern
matching; may be called repeatedly, to define multiple comment or other
ignorable patterns.�����}�(hj�Fhj�FhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�FhKhj�FhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj
GhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�FhKhj�Fhhubja)��}�(h��patt = Word(alphas)[1, ...]
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj']

patt.ignore(c_style_comment)
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj', 'lskjd']�h]�h��patt = Word(alphas)[1, ...]
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj']

patt.ignore(c_style_comment)
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj', 'lskjd']�����}�(hhhjGubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�Fhhhj�Fubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Fhhhj�FhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j4Gj`�uh)jhhhj�Ehj�FhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�9ignoreWhitespace() (pyparsing.ParseElementEnhance method)��.pyparsing.ParseElementEnhance.ignoreWhitespace�hNt�auh)h,hj�EhhhNhNubj)��}�(hhh]�(j!)��}�(h�\ParseElementEnhance.ignoreWhitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignoreWhitespace�h]�h�ignoreWhitespace�����}�(hhhjJGhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjFGhhh�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.ignoreWhitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj]Gubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjYGubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjFGhhhjXGhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjqGhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjFGhhhjXGhNubeh}�(h]�jAGah!]�h#]�jAGah%]�h']�j\�j]�	pyparsing�j_j�Ej`�$ParseElementEnhance.ignoreWhitespace�uh)j hjCGhhhjXGhNubjb)��}�(hhh]�(hQ)��}�(h�rEnables the skipping of whitespace before matching the characters in the
:class:`ParserElement`'s defined pattern.�h]�(h�IEnables the skipping of whitespace before matching the characters in the
�����}�(h�IEnables the skipping of whitespace before matching the characters in the
�hj�GhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj�Gh]�h�
ParserElement�����}�(hhhj�Gubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Gubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�G�refexplicit��h�j�Gh�j�Eh��
ParserElement�h�h�h��uh)h~h�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.ignoreWhitespace�hKhj�Gubh�’s defined pattern.�����}�(h�'s defined pattern.�hj�GhhhNhNubeh}�(h]�h!]�h#]�h%]��h']�uh)hPhj�GhKhj�Ghhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj�Gubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�GhjXGhKubj�)��}�(hhh]�hQ)��}�(h�^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)�h]�(j�)��}�(h�	recursive�h]�h�	recursive�����}�(hhhj�Gubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj�Gubh� – �����}�(hhhj�Gubh�If �����}�(h�If �hj�GhhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj�GhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�GhhhNhNubh�J (the default), also enable whitespace skipping in child elements (if any)�����}�(h�J (the default), also enable whitespace skipping in child elements (if any)�hj�GhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Gubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Gubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Gubah}�(h]�h!]�h#]�h%]�h']�uh)jhj�GhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjCGhhhjXGhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j'Hj`�uh)jhhhj�EhNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�:ignore_whitespace() (pyparsing.ParseElementEnhance method)��/pyparsing.ParseElementEnhance.ignore_whitespace�hNt�auh)h,hj�EhhhNhNubj)��}�(hhh]�(j!)��}�(h�]ParseElementEnhance.ignore_whitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignore_whitespace�h]�h�ignore_whitespace�����}�(hhhj=HhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj9Hhhh�t/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.ignore_whitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhjPHubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjLHubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj9HhhhjKHhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjdHhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj9HhhhjKHhNubeh}�(h]�j4Hah!]�h#]�j4Hah%]�h']�j\�j]�	pyparsing�j_j�Ej`�%ParseElementEnhance.ignore_whitespace�uh)j hj6HhhhjKHhNubjb)��}�(hhh]�(hQ)��}�(h�rEnables the skipping of whitespace before matching the characters in the
:class:`ParserElement`'s defined pattern.�h]�(h�IEnables the skipping of whitespace before matching the characters in the
�����}�(h�IEnables the skipping of whitespace before matching the characters in the
�hj}HhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj�Hh]�h�
ParserElement�����}�(hhhj�Hubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Hubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�H�refexplicit��h�jxHh�j�Eh��
ParserElement�h�h�h��uh)h~h�t/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.ignore_whitespace�hKhj}Hubh�’s defined pattern.�����}�(h�'s defined pattern.�hj}HhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�HhKhjzHhhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj�Hubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�HhjKHhKubj�)��}�(hhh]�hQ)��}�(h�^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)�h]�(j�)��}�(h�	recursive�h]�h�	recursive�����}�(hhhj�Hubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj�Hubh� – �����}�(hhhj�Hubh�If �����}�(h�If �hj�HhhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj�HhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�HhhhNhNubh�J (the default), also enable whitespace skipping in child elements (if any)�����}�(h�J (the default), also enable whitespace skipping in child elements (if any)�hj�HhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Hubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Hubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Hubah}�(h]�h!]�h#]�h%]�h']�uh)jhjzHhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj6HhhhjKHhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jIj`�uh)jhhhj�EhNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�8leaveWhitespace() (pyparsing.ParseElementEnhance method)��-pyparsing.ParseElementEnhance.leaveWhitespace�hNt�auh)h,hj�EhhhNhNubj)��}�(hhh]�(j!)��}�(h�[ParseElementEnhance.leaveWhitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�leaveWhitespace�h]�h�leaveWhitespace�����}�(hhhj0IhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj,Ihhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.leaveWhitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhjCIubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj?Iubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj,Ihhhj>IhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjWIhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj,Ihhhj>IhNubeh}�(h]�j'Iah!]�h#]�j'Iah%]�h']�j\�j]�	pyparsing�j_j�Ej`�#ParseElementEnhance.leaveWhitespace�uh)j hj)Ihhhj>IhNubjb)��}�(hhh]�(hQ)��}�(h��Disables 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]�(h�JDisables the skipping of whitespace before matching the characters in the
�����}�(h�JDisables the skipping of whitespace before matching the characters in the
�hjpIhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj{Ih]�h�
ParserElement�����}�(hhhj}Iubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjyIubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�I�refexplicit��h�jkIh�j�Eh��
ParserElement�h�h�h��uh)h~h�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.leaveWhitespace�hKhjpIubh��’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.�hjpIhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�IhKhjmIhhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj�Iubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Ihj>IhKubj�)��}�(hhh]�hQ)��}�(h�_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)�h]�(j�)��}�(h�	recursive�h]�h�	recursive�����}�(hhhj�Iubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj�Iubh� – �����}�(hhhj�Iubh�RIf true (the default), also disable whitespace skipping in child elements (if any)�����}�(h�RIf true (the default), also disable whitespace skipping in child elements (if any)�hj�IhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Iubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Iubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Iubah}�(h]�h!]�h#]�h%]�h']�uh)jhjmIhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj)Ihhhj>IhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�Ij`�uh)jhhhj�EhNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�9leave_whitespace() (pyparsing.ParseElementEnhance method)��.pyparsing.ParseElementEnhance.leave_whitespace�hNt�auh)h,hj�EhhhNhNubj)��}�(hhh]�(j!)��}�(h�\ParseElementEnhance.leave_whitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�leave_whitespace�h]�h�leave_whitespace�����}�(hhhjJhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjJhhh�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.leave_whitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj#Jubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjJubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjJhhhjJhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj7JhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjJhhhjJhNubeh}�(h]�jJah!]�h#]�jJah%]�h']�j\�j]�	pyparsing�j_j�Ej`�$ParseElementEnhance.leave_whitespace�uh)j hj	JhhhjJhNubjb)��}�(hhh]�(hQ)��}�(h��Disables 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]�(h�JDisables the skipping of whitespace before matching the characters in the
�����}�(h�JDisables the skipping of whitespace before matching the characters in the
�hjPJhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj[Jh]�h�
ParserElement�����}�(hhhj]Jubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjYJubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jgJ�refexplicit��h�jKJh�j�Eh��
ParserElement�h�h�h��uh)h~h�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.leave_whitespace�hKhjPJubh��’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.�hjPJhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjwJhKhjMJhhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj�Jubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�JhjJhKubj�)��}�(hhh]�hQ)��}�(h�_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)�h]�(j�)��}�(h�	recursive�h]�h�	recursive�����}�(hhhj�Jubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj�Jubh� – �����}�(hhhj�Jubh�RIf true (the default), also disable whitespace skipping in child elements (if any)�����}�(h�RIf true (the default), also disable whitespace skipping in child elements (if any)�hj�JhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Jubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Jubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Jubah}�(h]�h!]�h#]�h%]�h']�uh)jhjMJhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj	JhhhjJhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�Jj`�uh)jhhhj�EhNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1validate() (pyparsing.ParseElementEnhance method)��&pyparsing.ParseElementEnhance.validate�hNt�auh)h,hj�Ehhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.validate�hNubj)��}�(hhh]�(j!)��}�(h�8ParseElementEnhance.validate(validateTrace=None) -> None�h]�(jH)��}�(h�validate�h]�h�validate�����}�(hhhj�JhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Jhhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseElementEnhance.validate�hNubj')��}�(h�validateTrace=None�h]�j-)��}�(h�validateTrace=None�h]�h�validateTrace=None�����}�(hhhjKubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjKubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Jhhhj�JhNubj�)��}�(h�None�h]�h�None�����}�(hhhjKhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Jhhhj�JhNubeh}�(h]�j�Jah!]�h#]�j�Jah%]�h']�j\�j]�	pyparsing�j_j�Ej`�ParseElementEnhance.validate�uh)j hj�Jhhhj�JhNubjb)��}�(hhh]�hQ)��}�(h�XCheck defined expressions for valid structure, check for infinite recursive definitions.�h]�h�XCheck defined expressions for valid structure, check for infinite recursive definitions.�����}�(hj3Khj1KhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�JhKhj.Khhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�Jhhhj�JhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jLKj`�uh)jhhhj�Ehj�JhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Ehhhj�EhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jZKj`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�ParseException��pyparsing.ParseException�hNt�auh)h,hj�hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseException�hNubj)��}�(hhh]�(j!)��}�(h�TParseException(pstr: str, loc: int = 0, msg: Union[str, NoneType] = None, elem=None)�h]�(j')��}�(h�
exception �h]�h�
exception �����}�(hhhjqKhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjmKhhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseException�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�KhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjmKhhhjKhNubjH)��}�(hjfKh]�h�ParseException�����}�(hhhj�KhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjmKhhhjKhNubj')��}�(h�Dpstr: str, loc: int = 0, msg: Union[str, NoneType] = None, elem=None�h]�(j-)��}�(h�	pstr: str�h]�h�	pstr: str�����}�(hhhj�Kubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Kubj-)��}�(h�loc: int = 0�h]�h�loc: int = 0�����}�(hhhj�Kubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Kubj-)��}�(h�msg: Union[str�h]�h�msg: Union[str�����}�(hhhj�Kubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Kubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�Kubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Kubj-)��}�(h�	elem=None�h]�h�	elem=None�����}�(hhhj�Kubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Kubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjmKhhhjKhNubeh}�(h]�jgKah!]�h#]�jgKah%]�h']�j\�j]�	pyparsing�j_hj`jfKuh)j hjjKhhhjKhNubjb)��}�(hhh]�(hQ)��}�(h�7Bases: :class:`pyparsing.exceptions.ParseBaseException`�h]�(h�Bases: �����}�(h�Bases: �hj�KhhhNhNubh)��}�(h�0:class:`pyparsing.exceptions.ParseBaseException`�h]�hj)��}�(hjLh]�h�'pyparsing.exceptions.ParseBaseException�����}�(hhhjLubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Kubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jL�refexplicit��h�j�Kh�jfKh��'pyparsing.exceptions.ParseBaseException�h�h�h��uh)h~h�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseException�hKhj�Kubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjLhKhj�KhhubhQ)��}�(h�GException thrown when a parse expression doesn't match the input string�h]�h�IException thrown when a parse expression doesn’t match the input string�����}�(hj%Lhj#LhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjiKhKhj�KhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj1LhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjiKhKhj�Khhubja)��}�(h��try:
    Word(nums).set_name("integer").parse_string("ABC")
except ParseException as pe:
    print(pe)
    print("column: {}".format(pe.column))�h]�h��try:
    Word(nums).set_name("integer").parse_string("ABC")
except ParseException as pe:
    print(pe)
    print("column: {}".format(pe.column))�����}�(hhhj@Lubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�KhhhjiKubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjNLhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjiKhKhj�Khhubja)��}�(h�8Expected integer (at char 0), (line:1, col:1)
 column: 1�h]�h�8Expected integer (at char 0), (line:1, col:1)
 column: 1�����}�(hhhj]Lubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�KhhhjiKubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjjKhhhjKhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	exception�j_jxLj`�uh)jhhhj�hjiKhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�$ParseExpression (class in pyparsing)��pyparsing.ParseExpression�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�VParseExpression(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�LhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Lhhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�LhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Lhhhj�LhNubjH)��}�(h�ParseExpression�h]�h�ParseExpression�����}�(hhhj�LhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Lhhhj�LhNubj')��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�j-)��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�����}�(hhhj�LhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Lhhhj�LhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Lhhhj�LhNubeh}�(h]�j�Lah!]�h#]�j�Lah%]�h']�j\�j]�	pyparsing�j_hj`j�Luh)j hj�Lhhhj�LhNubjb)��}�(hhh]�(hQ)��}�(h�,Bases: :class:`pyparsing.core.ParserElement`�h]�(h�Bases: �����}�(h�Bases: �hj�LhhhNhNubh)��}�(h�%:class:`pyparsing.core.ParserElement`�h]�hj)��}�(hj�Lh]�h�pyparsing.core.ParserElement�����}�(hhhj�Lubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Lubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�L�refexplicit��h�j�Lh�j�Lh��pyparsing.core.ParserElement�h�h�h��uh)h~h�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression�hKhj�Lubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjMhKhj�LhhubhQ)��}�(h�TAbstract subclass of ParserElement, for combining and
post-processing parsed tokens.�h]�h�TAbstract subclass of ParserElement, for combining and
post-processing parsed tokens.�����}�(hjMhj	MhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression�hKhj�Lhhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-__init__() (pyparsing.ParseExpression method)��"pyparsing.ParseExpression.__init__�hNt�auh)h,hj�Lhhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.__init__�hNubj)��}�(hhh]�(j!)��}�(h�_ParseExpression.__init__(exprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj.MhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj*Mhhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.__init__�hNubj')��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�j-)��}�(h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�h]�h�Eexprs: Iterable[pyparsing.core.ParserElement], savelist: bool = False�����}�(hhhjAMhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=Mhhhj<MhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj*Mhhhj<MhNubeh}�(h]�j$Mah!]�h#]�j$Mah%]�h']�j\�j]�	pyparsing�j_j�Lj`�ParseExpression.__init__�uh)j hj'Mhhhj<MhNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hjbMhj`MhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj&MhKhj]Mhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj'Mhhhj<MhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j{Mj`�uh)jhhhj�Lhj&MhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)copy() (pyparsing.ParseExpression method)��pyparsing.ParseExpression.copy�hNt�auh)h,hj�Lhhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.copy�hNubj)��}�(hhh]�(j!)��}�(h�6ParseExpression.copy() -> pyparsing.core.ParserElement�h]�(jH)��}�(h�copy�h]�h�copy�����}�(hhhj�MhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Mhhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.copy�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Mhhhj�MhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�MhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Mhhhj�MhNubeh}�(h]�j�Mah!]�h#]�j�Mah%]�h']�j\�j]�	pyparsing�j_j�Lj`�ParseExpression.copy�uh)j hj�Mhhhj�MhNubjb)��}�(hhh]�(hQ)��}�(h��Make 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]�(h�Make a copy of this �����}�(h�Make a copy of this �hj�MhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj�Mh]�h�
ParserElement�����}�(hhhj�Mubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Mubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�M�refexplicit��h�j�Mh�j�Lh��
ParserElement�h�h�h��uh)h~hj�MhKhj�Mubh�x.  Useful for defining
different parse actions for the same parsing pattern, using copies of
the original parse element.�����}�(h�x.  Useful for defining
different parse actions for the same parsing pattern, using copies of
the original parse element.�hj�MhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�MhKhj�MhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�MhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�MhKhj�Mhhubja)��}�(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"))�����}�(hhhjNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�Mhhhj�MubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjNhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�MhK
hj�Mhhubja)��}�(h�[5120, 100, 655360, 268435456]�h]�h�[5120, 100, 655360, 268435456]�����}�(hhhj!Nubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM%hj�Mhhhj�MubhQ)��}�(h�7Equivalent form of ``expr.copy()`` is just ``expr()``::�h]�(h�Equivalent form of �����}�(h�Equivalent form of �hj/NhhhNhNubhj)��}�(h�``expr.copy()``�h]�h�expr.copy()�����}�(hhhj8Nubah}�(h]�h!]�h#]�h%]�h']�uh)hihj/Nubh�	 is just �����}�(h�	 is just �hj/NhhhNhNubhj)��}�(h�
``expr()``�h]�h�expr()�����}�(hhhjKNubah}�(h]�h!]�h#]�h%]�h']�uh)hihj/Nubh�:�����}�(hjchj/NhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�MhKhj�Mhhubja)��}�(h�YintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")�h]�h�YintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")�����}�(hhhjcNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM)hj�Mhhhj�Mubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Mhhhj�MhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j~Nj`�uh)jhhhj�Lhj�MhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+ignore() (pyparsing.ParseExpression method)�� pyparsing.ParseExpression.ignore�hNt�auh)h,hj�Lhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.ignore�hNubj)��}�(hhh]�(j!)��}�(h�=ParseExpression.ignore(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignore�h]�h�ignore�����}�(hhhj�NhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Nhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.ignore�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj�Nubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Nubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Nhhhj�NhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�NhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Nhhhj�NhNubeh}�(h]�j�Nah!]�h#]�j�Nah%]�h']�j\�j]�	pyparsing�j_j�Lj`�ParseExpression.ignore�uh)j hj�Nhhhj�NhNubjb)��}�(hhh]�(hQ)��}�(h��Define expression to be ignored (e.g., comments) while doing pattern
matching; may be called repeatedly, to define multiple comment or other
ignorable patterns.�h]�h��Define expression to be ignored (e.g., comments) while doing pattern
matching; may be called repeatedly, to define multiple comment or other
ignorable patterns.�����}�(hj�Nhj�NhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�NhKhj�NhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�NhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�NhKhj�Nhhubja)��}�(h��patt = Word(alphas)[1, ...]
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj']

patt.ignore(c_style_comment)
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj', 'lskjd']�h]�h��patt = Word(alphas)[1, ...]
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj']

patt.ignore(c_style_comment)
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj', 'lskjd']�����}�(hhhj�Nubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM5hj�Nhhhj�Nubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Nhhhj�NhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j
Oj`�uh)jhhhj�Lhj�NhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�5ignoreWhitespace() (pyparsing.ParseExpression method)��*pyparsing.ParseExpression.ignoreWhitespace�hNt�auh)h,hj�LhhhNhNubj)��}�(hhh]�(j!)��}�(h�XParseExpression.ignoreWhitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignoreWhitespace�h]�h�ignoreWhitespace�����}�(hhhj#OhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjOhhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.ignoreWhitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj6Oubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj2Oubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjOhhhj1OhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjJOhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjOhhhj1OhNubeh}�(h]�jOah!]�h#]�jOah%]�h']�j\�j]�	pyparsing�j_j�Lj`� ParseExpression.ignoreWhitespace�uh)j hjOhhhj1OhNubjb)��}�(hhh]�h�definition_list���)��}�(hhh]�h�definition_list_item���)��}�(h�xExtends ``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`` on�h]�(h�Extends �����}�(h�Extends �hjpOubhj)��}�(h�``ignore_whitespace``�h]�h�ignore_whitespace�����}�(hhhjyOubah}�(h]�h!]�h#]�h%]�h']�uh)hihjpOubh�) defined in base class, and also invokes �����}�(h�) defined in base class, and also invokes �hjpOubhj)��}�(h�``leave_whitespace``�h]�h�leave_whitespace�����}�(hhhj�Oubah}�(h]�h!]�h#]�h%]�h']�uh)hihjpOubh� on�����}�(h� on�hjpOubeh}�(h]�h!]�h#]�h%]�h']�uh)jnOh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.ignoreWhitespace�hKhjjOubh�
definition���)��}�(hhh]�hQ)��}�(h�all contained expressions.�h]�h�all contained expressions.�����}�(hj�Ohj�Oubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�OhKhj�Oubah}�(h]�h!]�h#]�h%]�h']�uh)j�OhjjOubeh}�(h]�h!]�h#]�h%]�h']�uh)jhOhj�OhKhjeOubah}�(h]�h!]�h#]�h%]�h']�uh)jcOhj`Ohhhj�OhNubah}�(h]�h!]�h#]�h%]�h']�uh)jahjOhhhj1OhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�Oj`�uh)jhhhj�LhNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�6ignore_whitespace() (pyparsing.ParseExpression method)��+pyparsing.ParseExpression.ignore_whitespace�hNt�auh)h,hj�LhhhNhNubj)��}�(hhh]�(j!)��}�(h�YParseExpression.ignore_whitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignore_whitespace�h]�h�ignore_whitespace�����}�(hhhj�OhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Ohhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.ignore_whitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhjPubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Oubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Ohhhj�OhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjPhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Ohhhj�OhNubeh}�(h]�j�Oah!]�h#]�j�Oah%]�h']�j\�j]�	pyparsing�j_j�Lj`�!ParseExpression.ignore_whitespace�uh)j hj�Ohhhj�OhNubjb)��}�(hhh]�jdO)��}�(hhh]�jiO)��}�(h�xExtends ``ignore_whitespace`` defined in base class, and also invokes ``leave_whitespace`` on
all contained expressions.�h]�(joO)��}�(h�]Extends ``ignore_whitespace`` defined in base class, and also invokes ``leave_whitespace`` on�h]�(h�Extends �����}�(h�Extends �hj5Pubhj)��}�(h�``ignore_whitespace``�h]�h�ignore_whitespace�����}�(hhhj>Pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj5Pubh�) defined in base class, and also invokes �����}�(h�) defined in base class, and also invokes �hj5Pubhj)��}�(h�``leave_whitespace``�h]�h�leave_whitespace�����}�(hhhjQPubah}�(h]�h!]�h#]�h%]�h']�uh)hihj5Pubh� on�����}�(h� on�hj5Pubeh}�(h]�h!]�h#]�h%]�h']�uh)jnOh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.ignore_whitespace�hKhj1Pubj�O)��}�(hhh]�hQ)��}�(h�all contained expressions.�h]�h�all contained expressions.�����}�(hjpPhjnPubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjjPhKhjkPubah}�(h]�h!]�h#]�h%]�h']�uh)j�Ohj1Pubeh}�(h]�h!]�h#]�h%]�h']�uh)jhOhjjPhKhj.Pubah}�(h]�h!]�h#]�h%]�h']�uh)jcOhj+PhhhjjPhNubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�Ohhhj�OhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�Pj`�uh)jhhhj�LhNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�4leaveWhitespace() (pyparsing.ParseExpression method)��)pyparsing.ParseExpression.leaveWhitespace�hNt�auh)h,hj�LhhhNhNubj)��}�(hhh]�(j!)��}�(h�WParseExpression.leaveWhitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�leaveWhitespace�h]�h�leaveWhitespace�����}�(hhhj�PhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Phhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.leaveWhitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj�Pubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Pubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Phhhj�PhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�PhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Phhhj�PhNubeh}�(h]�j�Pah!]�h#]�j�Pah%]�h']�j\�j]�	pyparsing�j_j�Lj`�ParseExpression.leaveWhitespace�uh)j hj�Phhhj�PhNubjb)��}�(hhh]�jdO)��}�(hhh]�jiO)��}�(h�wExtends ``leave_whitespace`` defined in base class, and also invokes ``leave_whitespace`` on
all contained expressions.�h]�(joO)��}�(h�\Extends ``leave_whitespace`` defined in base class, and also invokes ``leave_whitespace`` on�h]�(h�Extends �����}�(h�Extends �hj�Pubhj)��}�(h�``leave_whitespace``�h]�h�leave_whitespace�����}�(hhhjQubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Pubh�) defined in base class, and also invokes �����}�(h�) defined in base class, and also invokes �hj�Pubhj)��}�(h�``leave_whitespace``�h]�h�leave_whitespace�����}�(hhhjQubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Pubh� on�����}�(h� on�hj�Pubeh}�(h]�h!]�h#]�h%]�h']�uh)jnOh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.leaveWhitespace�hKhj�Pubj�O)��}�(hhh]�hQ)��}�(h�all contained expressions.�h]�h�all contained expressions.�����}�(hj3Qhj1Qubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj-QhKhj.Qubah}�(h]�h!]�h#]�h%]�h']�uh)j�Ohj�Pubeh}�(h]�h!]�h#]�h%]�h']�uh)jhOhj-QhKhj�Pubah}�(h]�h!]�h#]�h%]�h']�uh)jcOhj�Phhhj-QhNubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�Phhhj�PhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j^Qj`�uh)jhhhj�LhNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�5leave_whitespace() (pyparsing.ParseExpression method)��*pyparsing.ParseExpression.leave_whitespace�hNt�auh)h,hj�LhhhNhNubj)��}�(hhh]�(j!)��}�(h�XParseExpression.leave_whitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�leave_whitespace�h]�h�leave_whitespace�����}�(hhhjtQhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjpQhhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.leave_whitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj�Qubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Qubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjpQhhhj�QhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�QhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjpQhhhj�QhNubeh}�(h]�jkQah!]�h#]�jkQah%]�h']�j\�j]�	pyparsing�j_j�Lj`� ParseExpression.leave_whitespace�uh)j hjmQhhhj�QhNubjb)��}�(hhh]�jdO)��}�(hhh]�jiO)��}�(h�wExtends ``leave_whitespace`` defined in base class, and also invokes ``leave_whitespace`` on
all contained expressions.�h]�(joO)��}�(h�\Extends ``leave_whitespace`` defined in base class, and also invokes ``leave_whitespace`` on�h]�(h�Extends �����}�(h�Extends �hj�Qubhj)��}�(h�``leave_whitespace``�h]�h�leave_whitespace�����}�(hhhj�Qubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Qubh�) defined in base class, and also invokes �����}�(h�) defined in base class, and also invokes �hj�Qubhj)��}�(h�``leave_whitespace``�h]�h�leave_whitespace�����}�(hhhj�Qubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Qubh� on�����}�(h� on�hj�Qubeh}�(h]�h!]�h#]�h%]�h']�uh)jnOh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.leave_whitespace�hKhj�Qubj�O)��}�(hhh]�hQ)��}�(h�all contained expressions.�h]�h�all contained expressions.�����}�(hj�Qhj�Qubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�QhKhj�Qubah}�(h]�h!]�h#]�h%]�h']�uh)j�Ohj�Qubeh}�(h]�h!]�h#]�h%]�h']�uh)jhOhj�QhKhj�Qubah}�(h]�h!]�h#]�h%]�h']�uh)jcOhj�Qhhhj�QhNubah}�(h]�h!]�h#]�h%]�h']�uh)jahjmQhhhj�QhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j!Rj`�uh)jhhhj�LhNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-validate() (pyparsing.ParseExpression method)��"pyparsing.ParseExpression.validate�hNt�auh)h,hj�Lhhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.validate�hNubj)��}�(hhh]�(j!)��}�(h�4ParseExpression.validate(validateTrace=None) -> None�h]�(jH)��}�(h�validate�h]�h�validate�����}�(hhhj8RhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj4Rhhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParseExpression.validate�hNubj')��}�(h�validateTrace=None�h]�j-)��}�(h�validateTrace=None�h]�h�validateTrace=None�����}�(hhhjKRubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjGRubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj4RhhhjFRhNubj�)��}�(h�None�h]�h�None�����}�(hhhj_RhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj4RhhhjFRhNubeh}�(h]�j.Rah!]�h#]�j.Rah%]�h']�j\�j]�	pyparsing�j_j�Lj`�ParseExpression.validate�uh)j hj1RhhhjFRhNubjb)��}�(hhh]�hQ)��}�(h�XCheck defined expressions for valid structure, check for infinite recursive definitions.�h]�h�XCheck defined expressions for valid structure, check for infinite recursive definitions.�����}�(hjzRhjxRhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj0RhKhjuRhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj1RhhhjFRhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�Rj`�uh)jhhhj�Lhj0RhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Lhhhj�LhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�Rj`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�ParseFatalException��pyparsing.ParseFatalException�hNt�auh)h,hj�hhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseFatalException�hNubj)��}�(hhh]�(j!)��}�(h�YParseFatalException(pstr: str, loc: int = 0, msg: Union[str, NoneType] = None, elem=None)�h]�(j')��}�(h�
exception �h]�h�
exception �����}�(hhhj�RhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Rhhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseFatalException�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�RhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Rhhhj�RhNubjH)��}�(hj�Rh]�h�ParseFatalException�����}�(hhhj�RhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Rhhhj�RhNubj')��}�(h�Dpstr: str, loc: int = 0, msg: Union[str, NoneType] = None, elem=None�h]�(j-)��}�(h�	pstr: str�h]�h�	pstr: str�����}�(hhhj�Rubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Rubj-)��}�(h�loc: int = 0�h]�h�loc: int = 0�����}�(hhhj�Rubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Rubj-)��}�(h�msg: Union[str�h]�h�msg: Union[str�����}�(hhhjSubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Rubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjSubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Rubj-)��}�(h�	elem=None�h]�h�	elem=None�����}�(hhhjSubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Rubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Rhhhj�RhNubeh}�(h]�j�Rah!]�h#]�j�Rah%]�h']�j\�j]�	pyparsing�j_hj`j�Ruh)j hj�Rhhhj�RhNubjb)��}�(hhh]�(hQ)��}�(h�7Bases: :class:`pyparsing.exceptions.ParseBaseException`�h]�(h�Bases: �����}�(h�Bases: �hj<ShhhNhNubh)��}�(h�0:class:`pyparsing.exceptions.ParseBaseException`�h]�hj)��}�(hjGSh]�h�'pyparsing.exceptions.ParseBaseException�����}�(hhhjISubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjESubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jSS�refexplicit��h�j8Sh�j�Rh��'pyparsing.exceptions.ParseBaseException�h�h�h��uh)h~h�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseFatalException�hKhj<Subeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjcShKhj9ShhubhQ)��}�(h�gUser-throwable exception thrown when inconsistent parse content
is found; stops all parsing immediately�h]�h�gUser-throwable exception thrown when inconsistent parse content
is found; stops all parsing immediately�����}�(hjlShjjShhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�RhKhj9Shhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Rhhhj�RhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	exception�j_j�Sj`�uh)jhhhj�hj�RhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�!ParseResults (class in pyparsing)��pyparsing.ParseResults�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�iParseResults(toklist=None, name=None, asList=True, modal=True, isinstance=<built-in function isinstance>)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�ShhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Shhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�ShhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Shhhj�ShNubjH)��}�(h�ParseResults�h]�h�ParseResults�����}�(hhhj�ShhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Shhhj�ShNubj')��}�(h�[toklist=None, name=None, asList=True, modal=True, isinstance=<built-in function isinstance>�h]�(j-)��}�(h�toklist=None�h]�h�toklist=None�����}�(hhhj�Subah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Subj-)��}�(h�	name=None�h]�h�	name=None�����}�(hhhj�Subah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Subj-)��}�(h�asList=True�h]�h�asList=True�����}�(hhhj�Subah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Subj-)��}�(h�
modal=True�h]�h�
modal=True�����}�(hhhj�Subah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Subj-)��}�(h�)isinstance=<built-in function isinstance>�h]�h�)isinstance=<built-in function isinstance>�����}�(hhhjTubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Subeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Shhhj�ShNubeh}�(h]�j�Sah!]�h#]�j�Sah%]�h']�j\�j]�	pyparsing�j_hj`j�Suh)j hj�Shhhj�ShNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`object`�h]�(h�Bases: �����}�(h�Bases: �hj ThhhNhNubh)��}�(h�:class:`object`�h]�hj)��}�(hj+Th]�h�object�����}�(hhhj-Tubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj)Tubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j7T�refexplicit��h�jTh�j�Sh��object�h�h�h��uh)h~h�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults�hKhj Tubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjGThKhjThhubhQ)��}�(h�QStructured parse results, to provide multiple means of access to
the parsed data:�h]�h�QStructured parse results, to provide multiple means of access to
the parsed data:�����}�(hjPThjNThhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults�hKhjThhubj�)��}�(hhh]�(j�)��}�(h�as a list (``len(results)``)�h]�hQ)��}�(hjbTh]�(h�as a list (�����}�(h�as a list (�hjdTubhj)��}�(h�``len(results)``�h]�h�len(results)�����}�(hhhjlTubah}�(h]�h!]�h#]�h%]�h']�uh)hihjdTubh�)�����}�(h�)�hjdTubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj\ThKhj`Tubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj]Thhhj\ThNubj�)��}�(h�0by list index (``results[0], results[1]``, etc.)�h]�hQ)��}�(hj�Th]�(h�by list index (�����}�(h�by list index (�hj�Tubhj)��}�(h�``results[0], results[1]``�h]�h�results[0], results[1]�����}�(hhhj�Tubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Tubh�, etc.)�����}�(h�, etc.)�hj�Tubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj\ThKhj�Tubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj]Thhhj\ThNubj�)��}�(h�Xby attribute (``results.<results_name>`` - see :class:`ParserElement.set_results_name`)
�h]�hQ)��}�(h�Wby attribute (``results.<results_name>`` - see :class:`ParserElement.set_results_name`)�h]�(h�by attribute (�����}�(h�by attribute (�hj�Tubhj)��}�(h�``results.<results_name>``�h]�h�results.<results_name>�����}�(hhhj�Tubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Tubh� - see �����}�(h� - see �hj�Tubh)��}�(h�':class:`ParserElement.set_results_name`�h]�hj)��}�(hj�Th]�h�ParserElement.set_results_name�����}�(hhhj�Tubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Tubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�T�refexplicit��h�jTh�j�Sh��ParserElement.set_results_name�h�h�h��uh)h~hj\ThKhj�Tubh�)�����}�(hj~Thj�Tubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj\ThKhj�Tubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj]Thhhj\ThNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj\ThKhjThhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj
UhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj\ThKhjThhubja)��}�(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)�����}�(hhhjUubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMwhjThhhj\TubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj'UhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj\ThK hjThhubja)��}�(h��list(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]�h��list(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'�����}�(hhhj6Uubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjThhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&ParseResults.List (class in pyparsing)��pyparsing.ParseResults.List�hNt�auh)h,hjThhhNhNubj)��}�(hhh]�(j!)��}�(h�ParseResults.List�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjZUhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjVUhhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List�hNubjH)��}�(h�List�h]�h�List�����}�(hhhjiUhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjVUhhhjhUhNubeh}�(h]�jQUah!]�h#]�jQUah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.List�uh)j hjSUhhhjhUhNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`list`�h]�(h�Bases: �����}�(h�Bases: �hj�UhhhNhNubh)��}�(h�
:class:`list`�h]�hj)��}�(hj�Uh]�h�list�����}�(hhhj�Uubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Uubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�U�refexplicit��h�j}Uh�j~Uh��list�h�h�h��uh)h~h�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List�hKhj�Uubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhjUhhubhQ)��}�(h��Simple wrapper class to distinguish parsed list results that should be preserved
as actual Python lists, instead of being converted to :class:`ParseResults`:�h]�(h��Simple wrapper class to distinguish parsed list results that should be preserved
as actual Python lists, instead of being converted to �����}�(h��Simple wrapper class to distinguish parsed list results that should be preserved
as actual Python lists, instead of being converted to �hj�UhhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj�Uh]�h�ParseResults�����}�(hhhj�Uubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Uubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�U�refexplicit��h�j}Uh�j~Uh��ParseResults�h�h�h��uh)h~h�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List�hKhj�Uubh�:�����}�(hjchj�UhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhjUhhubj�)��}�(hhh]�(hQ)��}�(h��LBRACK, RBRACK = map(pp.Suppress, "[]")
element = pp.Forward()
item = ppc.integer
element_list = LBRACK + pp.delimited_list(element) + RBRACK�h]�h��LBRACK, RBRACK = map(pp.Suppress, “[]”)
element = pp.Forward()
item = ppc.integer
element_list = LBRACK + pp.delimited_list(element) + RBRACK�����}�(hj�Uhj�Uubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhj�UubhQ)��}�(h�i# add parse actions to convert from ParseResults to actual Python collection types
def as_python_list(t):�h]�h�i# add parse actions to convert from ParseResults to actual Python collection types
def as_python_list(t):�����}�(hj�Uhj�Uubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhK	hj�Uubj�)��}�(hhh]�hQ)��}�(h�(return pp.ParseResults.List(t.as_list())�h]�h�(return pp.ParseResults.List(t.as_list())�����}�(hjVhjVubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhjVubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�UubhQ)��}�(h�-element_list.add_parse_action(as_python_list)�h]�h�-element_list.add_parse_action(as_python_list)�����}�(hjVhjVubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhj�UubhQ)��}�(h�element <<= item | element_list�h]�h�element <<= item | element_list�����}�(hj(Vhj&Vubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhj�UubjdO)��}�(hhh]�jiO)��}�(h�uelement.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]�(joO)��}�(h�element.run_tests('''�h]�h�element.run_tests(‘’‘�����}�(hj=Vhj;Vubah}�(h]�h!]�h#]�h%]�h']�uh)jnOhj�UhKhj7Vubj�O)��}�(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]�h�d100
[2,3,4]
[[2, 1],3,4]
[(2, 1),3,4]
(2,3,4)
‘’‘, post_parse=lambda s, r: (r[0], type(r[0])))�����}�(hjNVhjLVubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhjIVubah}�(h]�h!]�h#]�h%]�h']�uh)j�Ohj7Vubeh}�(h]�h!]�h#]�h%]�h']�uh)jhOhj�UhKhj4Vubah}�(h]�h!]�h#]�h%]�h']�uh)jcOhj�Uubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hjUhhhNhNubhQ)��}�(h�prints:�h]�h�prints:�����}�(hjtVhjrVhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhjUhhubj�)��}�(hhh]�(hQ)��}�(h�100
(100, <class 'int'>)�h]�h�100
(100, <class ‘int’>)�����}�(hj�Vhj�Vubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhj�VubhQ)��}�(h�#[2,3,4]
([2, 3, 4], <class 'list'>)�h]�h�'[2,3,4]
([2, 3, 4], <class ‘list’>)�����}�(hj�Vhj�Vubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhj�VubhQ)��}�(h�-[[2, 1],3,4]
([[2, 1], 3, 4], <class 'list'>)�h]�h�1[[2, 1],3,4]
([[2, 1], 3, 4], <class ‘list’>)�����}�(hj�Vhj�Vubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhK hj�Vubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hjUhhhj�UhNubhQ)��}�(h�7(Used internally by :class:`Group` when `aslist=True`.)�h]�(h�(Used internally by �����}�(h�(Used internally by �hj�VhhhNhNubh)��}�(h�:class:`Group`�h]�hj)��}�(hj�Vh]�h�Group�����}�(hhhj�Vubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Vubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�V�refexplicit��h�j}Uh�j~Uh��Group�h�h�h��uh)h~hj�UhK#hj�Vubh� when �����}�(h� when �hj�VhhhNhNubj�B)��}�(h�
`aslist=True`�h]�h�aslist=True�����}�(hhhj�Vubah}�(h]�h!]�h#]�h%]�h']�uh)j�Bhj�Vubh�.)�����}�(h�.)�hj�VhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhK#hjUhhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�5__new__() (pyparsing.ParseResults.List static method)��#pyparsing.ParseResults.List.__new__�hNt�auh)h,hjUhhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List.__new__�hNubj)��}�(hhh]�(j!)��}�(h�.ParseResults.List.__new__(cls, contained=None)�h]�(j')��}�(hj�)h]�h�static �����}�(hhhjWhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj
Whhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List.__new__�hNubjH)��}�(h�__new__�h]�h�__new__�����}�(hhhjWhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj
WhhhjWhNubj')��}�(h�cls, contained=None�h]�(j-)��}�(h�cls�h]�h�cls�����}�(hhhj.Wubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj*Wubj-)��}�(h�contained=None�h]�h�contained=None�����}�(hhhj<Wubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj*Wubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj
WhhhjWhNubeh}�(h]�jWah!]�h#]�jWah%]�h']�j\�j]�	pyparsing�j_j~Uj`�ParseResults.List.__new__�uh)j hjWhhhjWhNubjb)��}�(hhh]�hQ)��}�(h�GCreate and return a new object.  See help(type) for accurate signature.�h]�h�GCreate and return a new object.  See help(type) for accurate signature.�����}�(hj]Whj[WhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjWhKhjXWhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjWhhhjWhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_jvWj`�uh)jhhhjUhjWhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3__weakref__ (pyparsing.ParseResults.List attribute)��'pyparsing.ParseResults.List.__weakref__�hNt�auh)h,hjUhhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List.__weakref__�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.List.__weakref__�h]�jH)��}�(h�__weakref__�h]�h�__weakref__�����}�(hhhj�WhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Whhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.List.__weakref__�hNubah}�(h]�j�Wah!]�h#]�j�Wah%]�h']�j\�j]�	pyparsing�j_j~Uj`�ParseResults.List.__weakref__�uh)j hj�Whhhj�WhNubjb)��}�(hhh]�hQ)��}�(h�2list of weak references to the object (if defined)�h]�h�2list of weak references to the object (if defined)�����}�(hj�Whj�WhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�WhKhj�Whhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�Whhhj�WhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�Wj`�uh)jhhhjUhj�WhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjSUhhhjhUhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�Wj`�uh)jhhhjThNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)__dir__() (pyparsing.ParseResults method)��pyparsing.ParseResults.__dir__�hNt�auh)h,hjThhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__dir__�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.__dir__() -> list�h]�(jH)��}�(h�__dir__�h]�h�__dir__�����}�(hhhj�WhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Whhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__dir__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Whhhj�WhNubj�)��}�(h�list�h]�h�list�����}�(hhhj�WhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Whhhj�WhNubeh}�(h]�j�Wah!]�h#]�j�Wah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.__dir__�uh)j hj�Whhhj�WhNubjb)��}�(hhh]�hQ)��}�(h�default dir() implementation�h]�h�default dir() implementation�����}�(hjXhjXhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�WhKhjXhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�Whhhj�WhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j3Xj`�uh)jhhhjThj�WhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__init__() (pyparsing.ParseResults method)��pyparsing.ParseResults.__init__�hNt�auh)h,hjThhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__init__�hNubj)��}�(hhh]�(j!)��}�(h�rParseResults.__init__(toklist=None, name=None, asList=True, modal=True, isinstance=<built-in function isinstance>)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjJXhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjFXhhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__init__�hNubj')��}�(h�[toklist=None, name=None, asList=True, modal=True, isinstance=<built-in function isinstance>�h]�(j-)��}�(h�toklist=None�h]�h�toklist=None�����}�(hhhj]Xubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjYXubj-)��}�(h�	name=None�h]�h�	name=None�����}�(hhhjkXubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjYXubj-)��}�(h�asList=True�h]�h�asList=True�����}�(hhhjyXubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjYXubj-)��}�(h�
modal=True�h]�h�
modal=True�����}�(hhhj�Xubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjYXubj-)��}�(h�)isinstance=<built-in function isinstance>�h]�h�)isinstance=<built-in function isinstance>�����}�(hhhj�Xubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjYXubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjFXhhhjXXhNubeh}�(h]�j@Xah!]�h#]�j@Xah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.__init__�uh)j hjCXhhhjXXhNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj�Xhj�XhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjBXhKhj�Xhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjCXhhhjXXhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�Xj`�uh)jhhhjThjBXhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�0__new__() (pyparsing.ParseResults static method)��pyparsing.ParseResults.__new__�hNt�auh)h,hjThhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__new__�hNubj)��}�(hhh]�(j!)��}�(h�<ParseResults.__new__(cls, toklist=None, name=None, **kwargs)�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj�XhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Xhhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__new__�hNubjH)��}�(h�__new__�h]�h�__new__�����}�(hhhj�XhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Xhhhj�XhNubj')��}�(h�&cls, toklist=None, name=None, **kwargs�h]�(j-)��}�(h�cls�h]�h�cls�����}�(hhhjYubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjYubj-)��}�(h�toklist=None�h]�h�toklist=None�����}�(hhhjYubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjYubj-)��}�(h�	name=None�h]�h�	name=None�����}�(hhhj"Yubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjYubj-)��}�(h�**kwargs�h]�h�**kwargs�����}�(hhhj0Yubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjYubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Xhhhj�XhNubeh}�(h]�j�Xah!]�h#]�j�Xah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.__new__�uh)j hj�Xhhhj�XhNubjb)��}�(hhh]�hQ)��}�(h�GCreate and return a new object.  See help(type) for accurate signature.�h]�h�GCreate and return a new object.  See help(type) for accurate signature.�����}�(hjQYhjOYhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�XhKhjLYhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�Xhhhj�XhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_jjYj`�uh)jhhhjThj�XhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__repr__() (pyparsing.ParseResults method)��pyparsing.ParseResults.__repr__�hNt�auh)h,hjThhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__repr__�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.__repr__() -> str�h]�(jH)��}�(h�__repr__�h]�h�__repr__�����}�(hhhj�YhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj}Yhhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__repr__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj}Yhhhj�YhNubj�)��}�(h�str�h]�h�str�����}�(hhhj�YhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj}Yhhhj�YhNubeh}�(h]�jwYah!]�h#]�jwYah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.__repr__�uh)j hjzYhhhj�YhNubjb)��}�(hhh]�hQ)��}�(h�Return repr(self).�h]�h�Return repr(self).�����}�(hj�Yhj�YhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjyYhKhj�Yhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjzYhhhj�YhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�Yj`�uh)jhhhjThjyYhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)__str__() (pyparsing.ParseResults method)��pyparsing.ParseResults.__str__�hNt�auh)h,hjThhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__str__�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.__str__() -> str�h]�(jH)��}�(h�__str__�h]�h�__str__�����}�(hhhj�YhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Yhhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__str__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Yhhhj�YhNubj�)��}�(h�str�h]�h�str�����}�(hhhj�YhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Yhhhj�YhNubeh}�(h]�j�Yah!]�h#]�j�Yah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.__str__�uh)j hj�Yhhhj�YhNubjb)��}�(hhh]�hQ)��}�(h�Return str(self).�h]�h�Return str(self).�����}�(hjZhjZhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�YhKhjZhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�Yhhhj�YhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j0Zj`�uh)jhhhjThj�YhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.__weakref__ (pyparsing.ParseResults attribute)��"pyparsing.ParseResults.__weakref__�hNt�auh)h,hjThhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__weakref__�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.__weakref__�h]�jH)��}�(h�__weakref__�h]�h�__weakref__�����}�(hhhjGZhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjCZhhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.__weakref__�hNubah}�(h]�j=Zah!]�h#]�j=Zah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.__weakref__�uh)j hj@ZhhhjUZhNubjb)��}�(hhh]�hQ)��}�(h�2list of weak references to the object (if defined)�h]�h�2list of weak references to the object (if defined)�����}�(hjcZhjaZhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj?ZhKhj^Zhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj@Zhh�hjUZhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j|Zj`�uh)jhhhjThj?ZhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(append() (pyparsing.ParseResults method)��pyparsing.ParseResults.append�hNt�auh)h,hjThhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.append�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.append(item)�h]�(jH)��}�(h�append�h]�h�append�����}�(hhhj�ZhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Zhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.append�hNubj')��}�(h�item�h]�j-)��}�(h�item�h]�h�item�����}�(hhhj�Zubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Zubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Zhhhj�ZhNubeh}�(h]�j�Zah!]�h#]�j�Zah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.append�uh)j hj�Zhhhj�ZhNubjb)��}�(hhh]�(hQ)��}�(h�?Add single element to end of ``ParseResults`` list of elements.�h]�(h�Add single element to end of �����}�(h�Add single element to end of �hj�ZhhhNhNubhj)��}�(h�``ParseResults``�h]�h�ParseResults�����}�(hhhj�Zubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Zubh� list of elements.�����}�(h� list of elements.�hj�ZhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ZhKhj�ZhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�ZhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ZhKhj�Zhhubja)��}�(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�Zubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�Zhhhj�Zubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Zhhhj�ZhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j[j`�uh)jhhhjThj�ZhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(asDict() (pyparsing.ParseResults method)��pyparsing.ParseResults.asDict�hNt�auh)h,hjThhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.asDict�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.asDict() -> dict�h]�(jH)��}�(h�asDict�h]�h�asDict�����}�(hhhj([hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj$[hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.asDict�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj$[hhhj6[hNubj�)��}�(h�dict�h]�h�dict�����}�(hhhj@[hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj$[hhhj6[hNubeh}�(h]�j[ah!]�h#]�j[ah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.asDict�uh)j hj![hhhj6[hNubjb)��}�(hhh]�(hQ)��}�(h�7Returns the named parse results as a nested dictionary.�h]�h�7Returns the named parse results as a nested dictionary.�����}�(hj[[hjY[hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj [hKhjV[hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjg[hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj [hKhjV[hhubja)��}�(hX�integer = Word(nums)
date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

result = date_str.parse_string('12/31/1999')
print(type(result), repr(result)) # -> <class 'pyparsing.ParseResults'> (['12', '/', '31', '/', '1999'], {'day': [('1999', 4)], 'year': [('12', 0)], 'month': [('31', 2)]})

result_dict = result.as_dict()
print(type(result_dict), repr(result_dict)) # -> <class '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]�hX�integer = Word(nums)
date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

result = date_str.parse_string('12/31/1999')
print(type(result), repr(result)) # -> <class 'pyparsing.ParseResults'> (['12', '/', '31', '/', '1999'], {'day': [('1999', 4)], 'year': [('12', 0)], 'month': [('31', 2)]})

result_dict = result.as_dict()
print(type(result_dict), repr(result_dict)) # -> <class '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"}�����}�(hhhjv[ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM
hjV[hhhj [ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj![hhhj6[hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�[j`�uh)jhhhjThj [hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(asList() (pyparsing.ParseResults method)��pyparsing.ParseResults.asList�hNt�auh)h,hjThhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.asList�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.asList() -> list�h]�(jH)��}�(h�asList�h]�h�asList�����}�(hhhj�[hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�[hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.asList�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�[hhhj�[hNubj�)��}�(h�list�h]�h�list�����}�(hhhj�[hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�[hhhj�[hNubeh}�(h]�j�[ah!]�h#]�j�[ah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.asList�uh)j hj�[hhhj�[hNubjb)��}�(hhh]�(hQ)��}�(h�XReturns the parse results as a nested list of matching tokens, all converted to strings.�h]�h�XReturns the parse results as a nested list of matching tokens, all converted to strings.�����}�(hj�[hj�[hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�[hKhj�[hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�[hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�[hKhj�[hhubja)��}�(hX�patt = 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) # -> <class 'pyparsing.ParseResults'> ['sldkj', 'lsdkj', 'sldkj']

# Use as_list() to create an actual list
result_list = result.as_list()
print(type(result_list), result_list) # -> <class 'list'> ['sldkj', 'lsdkj', 'sldkj']�h]�hX�patt = 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) # -> <class 'pyparsing.ParseResults'> ['sldkj', 'lsdkj', 'sldkj']

# Use as_list() to create an actual list
result_list = result.as_list()
print(type(result_list), result_list) # -> <class 'list'> ['sldkj', 'lsdkj', 'sldkj']�����}�(hhhj�[ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM#hj�[hhhj�[ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�[hhhj�[hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j\j`�uh)jhhhjThj�[hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)as_dict() (pyparsing.ParseResults method)��pyparsing.ParseResults.as_dict�hNt�auh)h,hjThhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.as_dict�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.as_dict() -> dict�h]�(jH)��}�(h�as_dict�h]�h�as_dict�����}�(hhhj(\hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj$\hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.as_dict�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj$\hhhj6\hNubj�)��}�(h�dict�h]�h�dict�����}�(hhhj@\hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj$\hhhj6\hNubeh}�(h]�j\ah!]�h#]�j\ah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.as_dict�uh)j hj!\hhhj6\hNubjb)��}�(hhh]�(hQ)��}�(h�7Returns the named parse results as a nested dictionary.�h]�h�7Returns the named parse results as a nested dictionary.�����}�(hj[\hjY\hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj \hKhjV\hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjg\hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj \hKhjV\hhubja)��}�(hX�integer = Word(nums)
date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

result = date_str.parse_string('12/31/1999')
print(type(result), repr(result)) # -> <class 'pyparsing.ParseResults'> (['12', '/', '31', '/', '1999'], {'day': [('1999', 4)], 'year': [('12', 0)], 'month': [('31', 2)]})

result_dict = result.as_dict()
print(type(result_dict), repr(result_dict)) # -> <class '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]�hX�integer = Word(nums)
date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

result = date_str.parse_string('12/31/1999')
print(type(result), repr(result)) # -> <class 'pyparsing.ParseResults'> (['12', '/', '31', '/', '1999'], {'day': [('1999', 4)], 'year': [('12', 0)], 'month': [('31', 2)]})

result_dict = result.as_dict()
print(type(result_dict), repr(result_dict)) # -> <class '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"}�����}�(hhhjv\ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM4hjV\hhhj \ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj!\hhhj6\hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�\j`�uh)jhhhjThj \hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)as_list() (pyparsing.ParseResults method)��pyparsing.ParseResults.as_list�hNt�auh)h,hjThhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.as_list�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.as_list() -> list�h]�(jH)��}�(h�as_list�h]�h�as_list�����}�(hhhj�\hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�\hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.as_list�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�\hhhj�\hNubj�)��}�(h�list�h]�h�list�����}�(hhhj�\hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�\hhhj�\hNubeh}�(h]�j�\ah!]�h#]�j�\ah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.as_list�uh)j hj�\hhhj�\hNubjb)��}�(hhh]�(hQ)��}�(h�XReturns the parse results as a nested list of matching tokens, all converted to strings.�h]�h�XReturns the parse results as a nested list of matching tokens, all converted to strings.�����}�(hj�\hj�\hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�\hKhj�\hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�\hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�\hKhj�\hhubja)��}�(hX�patt = 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) # -> <class 'pyparsing.ParseResults'> ['sldkj', 'lsdkj', 'sldkj']

# Use as_list() to create an actual list
result_list = result.as_list()
print(type(result_list), result_list) # -> <class 'list'> ['sldkj', 'lsdkj', 'sldkj']�h]�hX�patt = 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) # -> <class 'pyparsing.ParseResults'> ['sldkj', 'lsdkj', 'sldkj']

# Use as_list() to create an actual list
result_list = result.as_list()
print(type(result_list), result_list) # -> <class 'list'> ['sldkj', 'lsdkj', 'sldkj']�����}�(hhhj�\ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMJhj�\hhhj�\ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�\hhhj�\hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j]j`�uh)jhhhjThj�\hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�'clear() (pyparsing.ParseResults method)��pyparsing.ParseResults.clear�hNt�auh)h,hjThhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.clear�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.clear()�h]�(jH)��}�(h�clear�h]�h�clear�����}�(hhhj(]hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj$]hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.clear�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj$]hhhj6]hNubeh}�(h]�j]ah!]�h#]�j]ah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.clear�uh)j hj!]hhhj6]hNubjb)��}�(hhh]�hQ)��}�(h�%Clear all elements and results names.�h]�h�%Clear all elements and results names.�����}�(hjM]hjK]hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj ]hKhjH]hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj!]hhhj6]hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jf]j`�uh)jhhhjThj ]hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&copy() (pyparsing.ParseResults method)��pyparsing.ParseResults.copy�hNt�auh)h,hjThhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.copy�hNubj)��}�(hhh]�(j!)��}�(h�5ParseResults.copy() -> pyparsing.results.ParseResults�h]�(jH)��}�(h�copy�h]�h�copy�����}�(hhhj}]hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjy]hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.copy�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjy]hhhj�]hNubj�)��}�(h�pyparsing.results.ParseResults�h]�h�pyparsing.results.ParseResults�����}�(hhhj�]hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjy]hhhj�]hNubeh}�(h]�js]ah!]�h#]�js]ah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.copy�uh)j hjv]hhhj�]hNubjb)��}�(hhh]�hQ)��}�(h�5Returns a new copy of a :class:`ParseResults` object.�h]�(h�Returns a new copy of a �����}�(h�Returns a new copy of a �hj�]hhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj�]h]�h�ParseResults�����}�(hhhj�]ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�]ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�]�refexplicit��h�j�]h�j�Sh��ParseResults�h�h�h��uh)h~hju]hKhj�]ubh� object.�����}�(h� object.�hj�]hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhju]hKhj�]hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjv]hhhj�]hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�]j`�uh)jhhhjThju]hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&dump() (pyparsing.ParseResults method)��pyparsing.ParseResults.dump�hNt�auh)h,hjThhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.dump�hNubj)��}�(hhh]�(j!)��}�(h�KParseResults.dump(indent='', full=True, include_list=True, _depth=0) -> str�h]�(jH)��}�(h�dump�h]�h�dump�����}�(hhhj^hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj^hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.dump�hNubj')��}�(h�1indent='', full=True, include_list=True, _depth=0�h]�(j-)��}�(h�	indent=''�h]�h�	indent=''�����}�(hhhj^ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^ubj-)��}�(h�	full=True�h]�h�	full=True�����}�(hhhj%^ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^ubj-)��}�(h�include_list=True�h]�h�include_list=True�����}�(hhhj3^ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^ubj-)��}�(h�_depth=0�h]�h�_depth=0�����}�(hhhjA^ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj^hhhj^hNubj�)��}�(h�str�h]�h�str�����}�(hhhjU^hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj^hhhj^hNubeh}�(h]�j�]ah!]�h#]�j�]ah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.dump�uh)j hj�]hhhj^hNubjb)��}�(hhh]�(hQ)��}�(h��Diagnostic 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]�(h�4Diagnostic method for listing out the contents of
a �����}�(h�4Diagnostic method for listing out the contents of
a �hjn^hhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hjy^h]�h�ParseResults�����}�(hhhj{^ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjw^ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�^�refexplicit��h�ji^h�j�Sh��ParseResults�h�h�h��uh)h~hj�]hKhjn^ubh�. Accepts an optional �����}�(h�. Accepts an optional �hjn^hhhNhNubhj)��}�(h�
``indent``�h]�h�indent�����}�(hhhj�^ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjn^ubh�P argument so
that this string can be embedded in a nested display of other data.�����}�(h�P argument so
that this string can be embedded in a nested display of other data.�hjn^hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�]hKhjk^hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�^hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�]hKhjk^hhubja)��}�(h��integer = Word(nums)
date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

result = date_str.parse_string('1999/12/31')
print(result.dump())�h]�h��integer = Word(nums)
date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

result = date_str.parse_string('1999/12/31')
print(result.dump())�����}�(hhhj�^ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMihjk^hhhj�]ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�^hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�]hK
hjk^hhubja)��}�(h�G['1999', '/', '12', '/', '31']
- day: '31'
- month: '12'
- year: '1999'�h]�h�G['1999', '/', '12', '/', '31']
- day: '31'
- month: '12'
- year: '1999'�����}�(hhhj�^ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMqhjk^hhhj�]ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�]hhhj^hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�^j`�uh)jhhhjThj�]hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(extend() (pyparsing.ParseResults method)��pyparsing.ParseResults.extend�hNt�auh)h,hjThhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.extend�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.extend(itemseq)�h]�(jH)��}�(h�extend�h]�h�extend�����}�(hhhj_hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj
_hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.extend�hNubj')��}�(h�itemseq�h]�j-)��}�(h�itemseq�h]�h�itemseq�����}�(hhhj$_ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj _ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj
_hhhj_hNubeh}�(h]�j_ah!]�h#]�j_ah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.extend�uh)j hj
_hhhj_hNubjb)��}�(hhh]�(hQ)��}�(h�EAdd 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 �hjC_hhhNhNubhj)��}�(h�``ParseResults``�h]�h�ParseResults�����}�(hhhjL_ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjC_ubh� list of elements.�����}�(h� list of elements.�hjC_hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj	_hKhj@_hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hje_hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj	_hKhj@_hhubja)��}�(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'�����}�(hhhjt_ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM~hj@_hhhj	_ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj
_hhhj_hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�_j`�uh)jhhhjThj	_hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1from_dict() (pyparsing.ParseResults class method)�� pyparsing.ParseResults.from_dict�hNt�auh)h,hjThhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.from_dict�hNubj)��}�(hhh]�(j!)��}�(h�JParseResults.from_dict(other, name=None) -> pyparsing.results.ParseResults�h]�(j')��}�(h�classmethod �h]�h�classmethod �����}�(hhhj�_hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�_hhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.from_dict�hNubjH)��}�(h�	from_dict�h]�h�	from_dict�����}�(hhhj�_hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�_hhhj�_hNubj')��}�(h�other, name=None�h]�(j-)��}�(h�other�h]�h�other�����}�(hhhj�_ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�_ubj-)��}�(h�	name=None�h]�h�	name=None�����}�(hhhj�_ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�_ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�_hhhj�_hNubj�)��}�(h�pyparsing.results.ParseResults�h]�h�pyparsing.results.ParseResults�����}�(hhhj�_hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�_hhhj�_hNubeh}�(h]�j�_ah!]�h#]�j�_ah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.from_dict�uh)j hj�_hhhj�_hNubjb)��}�(hhh]�hQ)��}�(h��Helper 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 �hj`hhhNhNubhj)��}�(h�``ParseResults``�h]�h�ParseResults�����}�(hhhj`ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj`ubh� from a �����}�(h� from a �hj`hhhNhNubhj)��}�(h�``dict``�h]�h�dict�����}�(hhhj`ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj`ubh�G, preserving the
name-value relations as results names. If an optional �����}�(h�G, preserving the
name-value relations as results names. If an optional �hj`hhhNhNubhj)��}�(h�``name``�h]�h�name�����}�(hhhj1`ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj`ubh� argument is
given, a nested �����}�(h� argument is
given, a nested �hj`hhhNhNubhj)��}�(h�``ParseResults``�h]�h�ParseResults�����}�(hhhjD`ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj`ubh� will be returned.�����}�(h� will be returned.�hj`hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�_hKhj�_hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�_hhhj�_hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�classmethod�j_jj`j`�uh)jhhhjThj�_hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%get() (pyparsing.ParseResults method)��pyparsing.ParseResults.get�hNt�auh)h,hjThhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.get�hNubj)��}�(hhh]�(j!)��}�(h�)ParseResults.get(key, default_value=None)�h]�(jH)��}�(h�get�h]�h�get�����}�(hhhj�`hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj}`hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.get�hNubj')��}�(h�key, default_value=None�h]�(j-)��}�(h�key�h]�h�key�����}�(hhhj�`ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�`ubj-)��}�(h�default_value=None�h]�h�default_value=None�����}�(hhhj�`ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�`ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj}`hhhj�`hNubeh}�(h]�jw`ah!]�h#]�jw`ah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.get�uh)j hjz`hhhj�`hNubjb)��}�(hhh]�(hQ)��}�(h��Returns 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]�(h�aReturns named result matching the given key, or if there is no
such name, then returns the given �����}�(h�aReturns 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]�h�None�����}�(hhhj�`ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�`ubh� if no
�����}�(h� if no
�hj�`hhhNhNubhj)��}�(h�``default_value``�h]�h�
default_value�����}�(hhhj�`ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�`ubh� is specified.�����}�(h� is specified.�hj�`hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjy`hKhj�`hhubhQ)��}�(h�Similar to ``dict.get()``.�h]�(h�Similar to �����}�(h�Similar to �hj	ahhhNhNubhj)��}�(h�``dict.get()``�h]�h�
dict.get()�����}�(hhhjaubah}�(h]�h!]�h#]�h%]�h']�uh)hihj	aubh�.�����}�(hj�hj	ahhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjy`hKhj�`hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj*ahhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjy`hKhj�`hhubja)��}�(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�h]�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�����}�(hhhj9aubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�`hhhjy`ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjz`hhhj�`hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jTaj`�uh)jhhhjThjy`hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)getName() (pyparsing.ParseResults method)��pyparsing.ParseResults.getName�hNt�auh)h,hjThhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.getName�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.getName()�h]�(jH)��}�(h�getName�h]�h�getName�����}�(hhhjkahhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjgahhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.getName�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjgahhhjyahNubeh}�(h]�jaaah!]�h#]�jaaah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.getName�uh)j hjdahhhjyahNubjb)��}�(hhh]�(hQ)��}�(h��Returns the results name for this token expression. Useful when several
different expressions might match at a particular location.�h]�h��Returns the results name for this token expression. Useful when several
different expressions might match at a particular location.�����}�(hj�ahj�ahhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjcahKhj�ahhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�ahhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjcahKhj�ahhubja)��}�(hX�integer = 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]�hX�integer = 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])�����}�(hhhj�aubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�ahhhjcaubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�ahhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjcahKhj�ahhubja)��}�(h�.age : 22
ssn : 111-22-3333
house_number : 221B�h]�h�.age : 22
ssn : 111-22-3333
house_number : 221B�����}�(hhhj�aubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�ahhhjcaubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjdahhhjyahNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�aj`�uh)jhhhjThjcahNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*get_name() (pyparsing.ParseResults method)��pyparsing.ParseResults.get_name�hNt�auh)h,hjThhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.get_name�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.get_name()�h]�(jH)��}�(h�get_name�h]�h�get_name�����}�(hhhj�ahhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�ahhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.get_name�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�ahhhjbhNubeh}�(h]�j�aah!]�h#]�j�aah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.get_name�uh)j hj�ahhhjbhNubjb)��}�(hhh]�(hQ)��}�(h��Returns the results name for this token expression. Useful when several
different expressions might match at a particular location.�h]�h��Returns the results name for this token expression. Useful when several
different expressions might match at a particular location.�����}�(hjbhjbhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ahKhjbhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj+bhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ahKhjbhhubja)��}�(hX�integer = 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]�hX�integer = 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])�����}�(hhhj:bubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjbhhhj�aubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjHbhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ahKhjbhhubja)��}�(h�.age : 22
ssn : 111-22-3333
house_number : 221B�h]�h�.age : 22
ssn : 111-22-3333
house_number : 221B�����}�(hhhjWbubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjbhhhj�aubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�ahhhjbhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jrbj`�uh)jhhhjThj�ahNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)haskeys() (pyparsing.ParseResults method)��pyparsing.ParseResults.haskeys�hNt�auh)h,hjThhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.haskeys�hNubj)��}�(hhh]�(j!)��}�(h�ParseResults.haskeys() -> bool�h]�(jH)��}�(h�haskeys�h]�h�haskeys�����}�(hhhj�bhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�bhhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.haskeys�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�bhhhj�bhNubj�)��}�(h�bool�h]�h�bool�����}�(hhhj�bhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�bhhhj�bhNubeh}�(h]�jbah!]�h#]�jbah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.haskeys�uh)j hj�bhhhj�bhNubjb)��}�(hhh]�hQ)��}�(h��Since ``keys()`` returns an iterator, this method is helpful in bypassing
code that looks for the existence of any defined results names.�h]�(h�Since �����}�(h�Since �hj�bhhhNhNubhj)��}�(h�
``keys()``�h]�h�keys()�����}�(hhhj�bubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�bubh�y returns an iterator, this method is helpful in bypassing
code that looks for the existence of any defined results names.�����}�(h�y returns an iterator, this method is helpful in bypassing
code that looks for the existence of any defined results names.�hj�bhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�bhKhj�bhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�bhhhj�bhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�bj`�uh)jhhhjThj�bhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(insert() (pyparsing.ParseResults method)��pyparsing.ParseResults.insert�hNt�auh)h,hjThhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.insert�hNubj)��}�(hhh]�(j!)��}�(h�&ParseResults.insert(index, ins_string)�h]�(jH)��}�(h�insert�h]�h�insert�����}�(hhhjchhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�bhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.insert�hNubj')��}�(h�index, ins_string�h]�(j-)��}�(h�index�h]�h�index�����}�(hhhjcubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjcubj-)��}�(h�
ins_string�h]�h�
ins_string�����}�(hhhj!cubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjcubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�bhhhjchNubeh}�(h]�j�bah!]�h#]�j�bah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.insert�uh)j hj�bhhhjchNubjb)��}�(hhh]�(hQ)��}�(h�CInserts new element at location index in the list of parsed tokens.�h]�h�CInserts new element at location index in the list of parsed tokens.�����}�(hjBchj@chhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�bhKhj=chhubhQ)��}�(h�Similar to ``list.insert()``.�h]�(h�Similar to �����}�(h�Similar to �hjNchhhNhNubhj)��}�(h�``list.insert()``�h]�h�
list.insert()�����}�(hhhjWcubah}�(h]�h!]�h#]�h%]�h']�uh)hihjNcubh�.�����}�(hj�hjNchhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�bhKhj=chhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjochhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�bhKhj=chhubja)��}�(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~cubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj=chhhj�bubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�bhhhjchNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�cj`�uh)jhhhjThj�bhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%pop() (pyparsing.ParseResults method)��pyparsing.ParseResults.pop�hNt�auh)h,hjThhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.pop�hNubj)��}�(hhh]�(j!)��}�(h�!ParseResults.pop(*args, **kwargs)�h]�(jH)��}�(h�pop�h]�h�pop�����}�(hhhj�chhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�chhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.pop�hNubj')��}�(h�*args, **kwargs�h]�(j-)��}�(h�*args�h]�h�*args�����}�(hhhj�cubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�cubj-)��}�(h�**kwargs�h]�h�**kwargs�����}�(hhhj�cubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�cubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�chhhj�chNubeh}�(h]�j�cah!]�h#]�j�cah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.pop�uh)j hj�chhhj�chNubjb)��}�(hhh]�(hQ)��}�(hX�Removes 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]�(h�6Removes and returns item at specified index (default= �����}�(h�6Removes and returns item at specified index (default= �hj�chhhNhNubhj)��}�(h�``last``�h]�h�last�����}�(hhhj�cubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�cubh�).
Supports both �����}�(h�).
Supports both �hj�chhhNhNubhj)��}�(h�``list``�h]�h�list�����}�(hhhjdubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�cubh� and �����}�(h� and �hj�chhhNhNubhj)��}�(h�``dict``�h]�h�dict�����}�(hhhjdubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�cubh� semantics for �����}�(h� semantics for �hj�chhhNhNubhj)��}�(h�	``pop()``�h]�h�pop()�����}�(hhhj2dubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�cubh�<. If
passed no argument or an integer argument, it will use �����}�(h�<. If
passed no argument or an integer argument, it will use �hj�chhhNhNubhj)��}�(h�``list``�h]�h�list�����}�(hhhjEdubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�cubh�
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 �hj�chhhNhNubhj)��}�(h�``dict``�h]�h�dict�����}�(hhhjXdubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�cubh��
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
�hj�chhhNhNubhj)��}�(h�``dict.pop()``�h]�h�
dict.pop()�����}�(hhhjkdubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�cubh�.�����}�(hj�hj�chhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�chKhj�chhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�dhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�chK
hj�chhubja)��}�(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())�����}�(hhhj�dubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�chhhj�cubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�dhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�chK hj�chhubja)��}�(h�;['AAB', '123', '321']
- LABEL: 'AAB'

['AAB', '123', '321']�h]�h�;['AAB', '123', '321']
- LABEL: 'AAB'

['AAB', '123', '321']�����}�(hhhj�dubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�chhhj�cubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�chhhj�chNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�dj`�uh)jhhhjThj�chNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(pprint() (pyparsing.ParseResults method)��pyparsing.ParseResults.pprint�hNt�auh)h,hjThhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.pprint�hNubj)��}�(hhh]�(j!)��}�(h�$ParseResults.pprint(*args, **kwargs)�h]�(jH)��}�(h�pprint�h]�h�pprint�����}�(hhhj�dhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�dhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/results.py:docstring of pyparsing.ParseResults.pprint�hNubj')��}�(h�*args, **kwargs�h]�(j-)��}�(h�*args�h]�h�*args�����}�(hhhj�dubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�dubj-)��}�(h�**kwargs�h]�h�**kwargs�����}�(hhhjeubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�dubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�dhhhj�dhNubeh}�(h]�j�dah!]�h#]�j�dah%]�h']�j\�j]�	pyparsing�j_j�Sj`�ParseResults.pprint�uh)j hj�dhhhj�dhNubjb)��}�(hhh]�(hQ)��}�(hXPretty-printer for parsed results as a list, using the
`pprint <https://docs.python.org/3/library/pprint.html>`_ module.
Accepts additional positional or keyword args as defined for
`pprint.pprint <https://docs.python.org/3/library/pprint.html#pprint.pprint>`_ .�h]�(h�7Pretty-printer for parsed results as a list, using the
�����}�(h�7Pretty-printer for parsed results as a list, using the
�hj!ehhhNhNubh�	reference���)��}�(h�9`pprint <https://docs.python.org/3/library/pprint.html>`_�h]�h�pprint�����}�(hhhj,eubah}�(h]�h!]�h#]�h%]�h']��name��pprint��refuri��-https://docs.python.org/3/library/pprint.html�uh)j*ehj!eubh�target���)��}�(h�0 <https://docs.python.org/3/library/pprint.html>�h]�h}�(h]��pprint�ah!]�h#]��pprint�ah%]�h']��refuri�j=euh)j>e�
referenced�Khj!eubh�F module.
Accepts additional positional or keyword args as defined for
�����}�(h�F module.
Accepts additional positional or keyword args as defined for
�hj!ehhhNhNubj+e)��}�(h�N`pprint.pprint <https://docs.python.org/3/library/pprint.html#pprint.pprint>`_�h]�h�
pprint.pprint�����}�(hhhjSeubah}�(h]�h!]�h#]�h%]�h']��name��
pprint.pprint�j<e�;https://docs.python.org/3/library/pprint.html#pprint.pprint�uh)j*ehj!eubj?e)��}�(h�> <https://docs.python.org/3/library/pprint.html#pprint.pprint>�h]�h}�(h]��
pprint-pprint�ah!]�h#]��
pprint.pprint�ah%]�h']��refuri�jceuh)j>ejMeKhj!eubh� .�����}�(h� .�hj!ehhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�dhKhjehhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj|ehhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�dhKhjehhubja)��}�(h��ident = 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]�h��ident = 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)�����}�(hhhj�eubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM(hjehhhj�dubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�ehhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�dhKhjehhubja)��}�(h�G['fna',
 ['a',
  'b',
  ['(', 'fnb', ['c', 'd', '200'], ')'],
  '100']]�h]�h�G['fna',
 ['a',
  'b',
  ['(', 'fnb', ['c', 'd', '200'], ')'],
  '100']]�����}�(hhhj�eubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM2hjehhhj�dubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�dhhhj�dhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�ej`�uh)jhhhjThj�dhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Shhhj�ShNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�ej`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�ParseSyntaxException��pyparsing.ParseSyntaxException�hNt�auh)h,hj�hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseSyntaxException�hNubj)��}�(hhh]�(j!)��}�(h�ZParseSyntaxException(pstr: str, loc: int = 0, msg: Union[str, NoneType] = None, elem=None)�h]�(j')��}�(h�
exception �h]�h�
exception �����}�(hhhj�ehhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�ehhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseSyntaxException�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�ehhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�ehhhj�ehNubjH)��}�(hj�eh]�h�ParseSyntaxException�����}�(hhhjfhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�ehhhj�ehNubj')��}�(h�Dpstr: str, loc: int = 0, msg: Union[str, NoneType] = None, elem=None�h]�(j-)��}�(h�	pstr: str�h]�h�	pstr: str�����}�(hhhjfubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjfubj-)��}�(h�loc: int = 0�h]�h�loc: int = 0�����}�(hhhj$fubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjfubj-)��}�(h�msg: Union[str�h]�h�msg: Union[str�����}�(hhhj2fubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjfubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj@fubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjfubj-)��}�(h�	elem=None�h]�h�	elem=None�����}�(hhhjNfubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjfubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�ehhhj�ehNubeh}�(h]�j�eah!]�h#]�j�eah%]�h']�j\�j]�	pyparsing�j_hj`j�euh)j hj�ehhhj�ehNubjb)��}�(hhh]�(hQ)��}�(h�8Bases: :class:`pyparsing.exceptions.ParseFatalException`�h]�(h�Bases: �����}�(h�Bases: �hjlfhhhNhNubh)��}�(h�1:class:`pyparsing.exceptions.ParseFatalException`�h]�hj)��}�(hjwfh]�h�(pyparsing.exceptions.ParseFatalException�����}�(hhhjyfubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjufubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�f�refexplicit��h�jhfh�j�eh��(pyparsing.exceptions.ParseFatalException�h�h�h��uh)h~h�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.ParseSyntaxException�hKhjlfubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�fhKhjifhhubhQ)��}�(h��Just like :class:`ParseFatalException`, but thrown internally
when an :class:`ErrorStop<And._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�fhhhNhNubh)��}�(h�:class:`ParseFatalException`�h]�hj)��}�(hj�fh]�h�ParseFatalException�����}�(hhhj�fubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�fubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�f�refexplicit��h�jhfh�j�eh��ParseFatalException�h�h�h��uh)h~hj�ehKhj�fubh� , but thrown internally
when an �����}�(h� , but thrown internally
when an �hj�fhhhNhNubh)��}�(h�":class:`ErrorStop<And._ErrorStop>`�h]�hj)��}�(hj�fh]�h�	ErrorStop�����}�(hhhj�fubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�fubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�f�refexplicit��h�jhfh�j�eh��And._ErrorStop�h�h�h��uh)h~hj�ehKhj�fubh�y (‘-‘ operator) indicates
that parsing is to stop immediately because an unbacktrackable
syntax error has been found.�����}�(h�u ('-' operator) indicates
that parsing is to stop immediately because an unbacktrackable
syntax error has been found.�hj�fhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ehKhjifhhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�ehhhj�ehNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	exception�j_j�fj`�uh)jhhhj�hj�ehNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�"ParserElement (class in pyparsing)��pyparsing.ParserElement�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�%ParserElement(savelist: bool = False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjghhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjghhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj!ghhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjghhhj ghNubjH)��}�(h�
ParserElement�h]�h�
ParserElement�����}�(hhhj/ghhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjghhhj ghNubj')��}�(h�savelist: bool = False�h]�j-)��}�(h�savelist: bool = False�h]�h�savelist: bool = False�����}�(hhhjAgubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=gubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjghhhj ghNubeh}�(h]�j	gah!]�h#]�j	gah%]�h']�j\�j]�	pyparsing�j_hj`j1guh)j hjghhhj ghNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`abc.ABC`�h]�(h�Bases: �����}�(h�Bases: �hj_ghhhNhNubh)��}�(h�:class:`abc.ABC`�h]�hj)��}�(hjjgh]�h�abc.ABC�����}�(hhhjlgubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjhgubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jvg�refexplicit��h�j[gh�j1gh��abc.ABC�h�h�h��uh)h~h�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement�hKhj_gubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ghKhj\ghhubhQ)��}�(h�)Abstract base level parser element class.�h]�h�)Abstract base level parser element class.�����}�(hj�ghj�ghhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement�hKhj\ghhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/ParserElement.DebugActions (class in pyparsing)��$pyparsing.ParserElement.DebugActions�hNt�auh)h,hj\ghhhNhNubj)��}�(hhh]�(j!)��}�(h�>ParserElement.DebugActions(debug_try, debug_match, debug_fail)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�ghhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�ghhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions�hNubjH)��}�(h�DebugActions�h]�h�DebugActions�����}�(hhhj�ghhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�ghhhj�ghNubj')��}�(h�"debug_try, debug_match, debug_fail�h]�(j-)��}�(h�	debug_try�h]�h�	debug_try�����}�(hhhj�gubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�gubj-)��}�(h�debug_match�h]�h�debug_match�����}�(hhhj�gubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�gubj-)��}�(h�
debug_fail�h]�h�
debug_fail�����}�(hhhj�gubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�gubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�ghhhj�ghNubeh}�(h]�j�gah!]�h#]�j�gah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.DebugActions�uh)j hj�ghhhj�ghNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`tuple`�h]�(h�Bases: �����}�(h�Bases: �hj
hhhhNhNubh)��}�(h�:class:`tuple`�h]�hj)��}�(hjhh]�h�tuple�����}�(hhhjhubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjhubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j$h�refexplicit��h�jhh�j	hh��tuple�h�h�h��uh)h~h�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions�hKhj
hubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj4hhKhj
hhhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�>__getnewargs__() (pyparsing.ParserElement.DebugActions method)��3pyparsing.ParserElement.DebugActions.__getnewargs__�hNt�auh)h,hj
hhhh�x/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.__getnewargs__�hNubj)��}�(hhh]�(j!)��}�(h�+ParserElement.DebugActions.__getnewargs__()�h]�(jH)��}�(h�__getnewargs__�h]�h�__getnewargs__�����}�(hhhjQhhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjMhhhh�x/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.__getnewargs__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjMhhhhj_hhNubeh}�(h]�jGhah!]�h#]�jGhah%]�h']�j\�j]�	pyparsing�j_j	hj`�)ParserElement.DebugActions.__getnewargs__�uh)j hjJhhhhj_hhNubjb)��}�(hhh]�hQ)��}�(h�7Return self as a plain tuple.  Used by copy and pickle.�h]�h�7Return self as a plain tuple.  Used by copy and pickle.�����}�(hjvhhjthhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjIhhKhjqhhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjJhhhhj_hhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�hj`�uh)jhhhj
hhjIhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�>__new__() (pyparsing.ParserElement.DebugActions static method)��,pyparsing.ParserElement.DebugActions.__new__�hNt�auh)h,hj
hhhh�q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.__new__�hNubj)��}�(hhh]�(j!)��}�(hX�ParserElement.DebugActions.__new__(_cls, debug_try: Union[typing.Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], NoneType], debug_match: Union[typing.Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], NoneType], debug_fail: Union[typing.Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType], NoneType])�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj�hhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhh�q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.__new__�hNubjH)��}�(h�__new__�h]�h�__new__�����}�(hhhj�hhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhhj�hhNubj')��}�(hXl_cls, debug_try: Union[typing.Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], NoneType], debug_match: Union[typing.Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], NoneType], debug_fail: Union[typing.Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType], NoneType]�h]�j-)��}�(hXl_cls, debug_try: Union[typing.Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], NoneType], debug_match: Union[typing.Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], NoneType], debug_fail: Union[typing.Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType], NoneType]�h]�hXl_cls, debug_try: Union[typing.Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], NoneType], debug_match: Union[typing.Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], NoneType], debug_fail: Union[typing.Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType], NoneType]�����}�(hhhj�hhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�hhhhj�hhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhhj�hhNubeh}�(h]�j�hah!]�h#]�j�hah%]�h']�j\�j]�	pyparsing�j_j	hj`�"ParserElement.DebugActions.__new__�uh)j hj�hhhhj�hhNubjb)��}�(hhh]�hQ)��}�(h�GCreate new instance of DebugActions(debug_try, debug_match, debug_fail)�h]�h�GCreate new instance of DebugActions(debug_try, debug_match, debug_fail)�����}�(hj�hhj�hhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hhKhj�hhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhhj�hhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_jij`�uh)jhhhj
hhj�hhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�8__repr__() (pyparsing.ParserElement.DebugActions method)��-pyparsing.ParserElement.DebugActions.__repr__�hNt�auh)h,hj
hhhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.__repr__�hNubj)��}�(hhh]�(j!)��}�(h�%ParserElement.DebugActions.__repr__()�h]�(jH)��}�(h�__repr__�h]�h�__repr__�����}�(hhhjihhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjihhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.__repr__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjihhhj%ihNubeh}�(h]�j
iah!]�h#]�j
iah%]�h']�j\�j]�	pyparsing�j_j	hj`�#ParserElement.DebugActions.__repr__�uh)j hjihhhj%ihNubjb)��}�(hhh]�hQ)��}�(h�/Return a nicely formatted representation string�h]�h�/Return a nicely formatted representation string�����}�(hj<ihj:ihhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjihKhj7ihhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjihhhj%ihNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jUij`�uh)jhhhj
hhjihNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�;debug_fail (pyparsing.ParserElement.DebugActions attribute)��/pyparsing.ParserElement.DebugActions.debug_fail�hNt�auh)h,hj
hhhh�t/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.debug_fail�hNubj)��}�(hhh]�(j!)��}�(h�%ParserElement.DebugActions.debug_fail�h]�jH)��}�(h�
debug_fail�h]�h�
debug_fail�����}�(hhhjlihhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhihhh�t/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.debug_fail�hNubah}�(h]�jbiah!]�h#]�jbiah%]�h']�j\�j]�	pyparsing�j_j	hj`�%ParserElement.DebugActions.debug_fail�uh)j hjeihhhjzihNubjb)��}�(hhh]�hQ)��}�(h�Alias for field number 2�h]�h�Alias for field number 2�����}�(hj�ihj�ihhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjdihKhj�ihhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjeihhhjzihNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�ij`�uh)jhhhj
hhjdihNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�<debug_match (pyparsing.ParserElement.DebugActions attribute)��0pyparsing.ParserElement.DebugActions.debug_match�hNt�auh)h,hj
hhhh�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.debug_match�hNubj)��}�(hhh]�(j!)��}�(h�&ParserElement.DebugActions.debug_match�h]�jH)��}�(h�debug_match�h]�h�debug_match�����}�(hhhj�ihhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�ihhh�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.debug_match�hNubah}�(h]�j�iah!]�h#]�j�iah%]�h']�j\�j]�	pyparsing�j_j	hj`�&ParserElement.DebugActions.debug_match�uh)j hj�ihhhj�ihNubjb)��}�(hhh]�hQ)��}�(h�Alias for field number 1�h]�h�Alias for field number 1�����}�(hj�ihj�ihhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ihKhj�ihhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�ihhhj�ihNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�ij`�uh)jhhhj
hhj�ihNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�:debug_try (pyparsing.ParserElement.DebugActions attribute)��.pyparsing.ParserElement.DebugActions.debug_try�hNt�auh)h,hj
hhhh�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.debug_try�hNubj)��}�(hhh]�(j!)��}�(h�$ParserElement.DebugActions.debug_try�h]�jH)��}�(h�	debug_try�h]�h�	debug_try�����}�(hhhjjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjjhhh�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.DebugActions.debug_try�hNubah}�(h]�j�iah!]�h#]�j�iah%]�h']�j\�j]�	pyparsing�j_j	hj`�$ParserElement.DebugActions.debug_try�uh)j hj�ihhhjjhNubjb)��}�(hhh]�hQ)��}�(h�Alias for field number 0�h]�h�Alias for field number 0�����}�(hj jhjjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ihKhjjhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�ihhhjjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j9jj`�uh)jhhhj
hhj�ihNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�ghhhj�ghNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jGjj`�uh)jhhhj\ghNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__add__() (pyparsing.ParserElement method)��pyparsing.ParserElement.__add__�hNt�auh)h,hj\ghhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__add__�hNubj)��}�(hhh]�(j!)��}�(h�<ParserElement.__add__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__add__�h]�h�__add__�����}�(hhhj^jhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjZjhhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__add__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhjqjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjmjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjZjhhhjljhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�jhhhNhNubah}�(h]�h!�]�h#]�h%]�h']�jpjquh)j�hjZjhhhjljhNubeh}�(h]�jTjah!]�h#]�jTjah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__add__�uh)j hjWjhhhjljhNubjb)��}�(hhh]�(hQ)��}�(h��Implementation of ``+`` operator - returns :class:`And`. Adding strings to a :class:`ParserElement`
converts them to :class:`Literal`s by default.�h]�(h�Implementation of �����}�(h�Implementation of �hj�jhhhNhNubhj)��}�(h�``+``�h]�h�+�����}�(hhhj�jubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�jubh� operator - returns �����}�(h� operator - returns �hj�jhhhNhNubh)��}�(h�:class:`And`�h]�hj)��}�(hj�jh]�h�And�����}�(hhhj�jubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�jubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�j�refexplicit��h�j�jh�j1gh��And�h�h�h��uh)h~hjVjhKhj�jubh�. Adding strings to a �����}�(h�. Adding strings to a �hj�jhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj�jh]�h�
ParserElement�����}�(hhhj�jubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�jubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�j�refexplicit��h�j�jh�j1gh��
ParserElement�h�h�h��uh)h~hjVjhKhj�jubh�
converts them to :class:�����}�(h�
converts them to :class:�hj�jhhhNhNubh�problematic���)��}�(h�`�h]�h�`�����}�(hhhjkubah}�(h]��id2�ah!]�h#]�h%]�h']��refid��id1�uh)jkhj�jubh�Literal`s by default.�����}�(h�Literal`s by default.�hj�jhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjVjhKhj�jhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjkhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjVjhKhj�jhhubja)��}�(h�ugreet = Word(alphas) + "," + Word(alphas) + "!"
hello = "Hello, World!"
print(hello, "->", greet.parse_string(hello))�h]�h�ugreet = Word(alphas) + "," + Word(alphas) + "!"
hello = "Hello, World!"
print(hello, "->", greet.parse_string(hello))�����}�(hhhj-kubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM~hj�jhhhjVjubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj;khhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjVjhK
hj�jhhubja)��}�(h�-Hello, World! -> ['Hello', ',', 'World', '!']�h]�h�-Hello, World! -> ['Hello', ',', 'World', '!']�����}�(hhhjJkubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�jhhhjVjubhQ)��}�(h�M``...`` may be used as a parse expression as a short form of :class:`SkipTo`.�h]�(hj)��}�(h�``...``�h]�h�...�����}�(hhhj\kubah}�(h]�h!]�h#]�h%]�h']�uh)hihjXkubh�6 may be used as a parse expression as a short form of �����}�(h�6 may be used as a parse expression as a short form of �hjXkhhhNhNubh)��}�(h�:class:`SkipTo`�h]�hj)��}�(hjqkh]�h�SkipTo�����}�(hhhjskubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjokubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j}k�refexplicit��h�j�jh�j1gh��SkipTo�h�h�h��uh)h~hjVjhKhjXkubh�.�����}�(hj�hjXkhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjVjhKhj�jhhubj�)��}�(hhh]�hQ)��}�(h�'Literal('start') + ... + Literal('end')�h]�h�/Literal(‘start’) + … + Literal(‘end’)�����}�(hj�khj�kubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjVjhKhj�kubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�jhhhjVjhNubhQ)��}�(h�is equivalent to:�h]�h�is equivalent to:�����}�(hj�khj�khhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjVjhKhj�jhhubj�)��}�(hhh]�hQ)��}�(h�>Literal('start') + SkipTo('end')("_skipped*") + Literal('end')�h]�h�NLiteral(‘start’) + SkipTo(‘end’)(“_skipped*”) + Literal(‘end’)�����}�(hj�khj�kubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjVjhKhj�kubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�jhhhjVjhNubhQ)��}�(h��Note 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]�h��Note 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.�����}�(hj�khj�khhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjVjhKhj�jhhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjWjhhhjljhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�kj`�uh)jhhhj\ghjVjhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__and__() (pyparsing.ParserElement method)��pyparsing.ParserElement.__and__�hNt�auh)h,hj\ghhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__and__�hNubj)��}�(hhh]�(j!)��}�(h�<ParserElement.__and__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__and__�h]�h�__and__�����}�(hhhjlhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjlhhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__and__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhjlubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjlubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjlhhhjlhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj,lhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjlhhhjlhNubeh}�(h]�j�kah!]�h#]�j�kah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__and__�uh)j hj�khhhjlhNubjb)��}�(hhh]�hQ)��}�(h�8Implementation of ``&`` operator - returns :class:`Each`�h]�(h�Implementation of �����}�(h�Implementation of �hjElhhhNhNubhj)��}�(h�``&``�h]�h�&�����}�(hhhjNlubah}�(h]�h!]�h#]�h%]�h']�uh)hihjElubh� operator - returns �����}�(h� operator - returns �hjElhhhNhNubh)��}�(h�
:class:`Each`�h]�hj)��}�(hjclh]�h�Each�����}�(hhhjelubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjalubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jol�refexplicit��h�j@lh�j1gh��Each�h�h�h��uh)h~hj�khKhjElubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�khKhjBlhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�khhhjlhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�lj`�uh)jhhhj\ghj�khNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__call__() (pyparsing.ParserElement method)�� pyparsing.ParserElement.__call__�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__call__�hNubj)��}�(hhh]�(j!)��}�(h�HParserElement.__call__(name: str = None) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__call__�h]�h�__call__�����}�(hhhj�lhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�lhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__call__�hNubj')��}�(h�name: str = None�h]�j-)��}�(h�name: str = None�h]�h�name: str = None�����}�(hhhj�lubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�lubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�lhhhj�lhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�lhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�lhhhj�lhNubeh}�(h]�j�lah!]�h#]�j�lah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__call__�uh)j hj�lhhhj�lhNubjb)��}�(hhh]�(hQ)��}�(h�HShortcut for :class:`set_results_name`, with ``list_all_matches=False``.�h]�(h�
Shortcut for �����}�(h�
Shortcut for �hj�lhhhNhNubh)��}�(h�:class:`set_results_name`�h]�hj)��}�(hj�lh]�h�set_results_name�����}�(hhhj�lubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�lubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jm�refexplicit��h�j�lh�j1gh��set_results_name�h�h�h��uh)h~hj�lhKhj�lubh�, with �����}�(h�, with �hj�lhhhNhNubhj)��}�(h�``list_all_matches=False``�h]�h�list_all_matches=False�����}�(hhhjmubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�lubh�.�����}�(hj�hj�lhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�lhKhj�lhhubhQ)��}�(h�mIf ``name`` is given with a trailing ``'*'`` character, then ``list_all_matches`` will be
passed as ``True``.�h]�(h�If �����}�(h�If �hj-mhhhNhNubhj)��}�(h�``name``�h]�h�name�����}�(hhhj6mubah}�(h]�h!]�h#]�h%]�h']�uh)hihj-mubh� is given with a trailing �����}�(h� is given with a trailing �hj-mhhhNhNubhj)��}�(h�``'*'``�h]�h�'*'�����}�(hhhjImubah}�(h]�h!]�h#]�h%]�h']�uh)hihj-mubh� character, then �����}�(h� character, then �hj-mhhhNhNubhj)��}�(h�``list_all_matches``�h]�h�list_all_matches�����}�(hhhj\mubah}�(h]�h!]�h#]�h%]�h']�uh)hihj-mubh� will be
passed as �����}�(h� will be
passed as �hj-mhhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhjomubah}�(h]�h!]�h#]�h%]�h']�uh)hihj-mubh�.�����}�(hj�hj-mhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�lhKhj�lhhubhQ)��}�(h�5If ``name` is omitted, same as calling :class:`copy`.�h]�(h�If �����}�(h�If �hj�mhhhNhNubjk)��}�(h�``�h]�h�``�����}�(hhhj�mubah}�(h]��id4�ah!]�h#]�h%]�h']��refid��id3�uh)jkhj�mubh�"name` is omitted, same as calling �����}�(h�"name` is omitted, same as calling �hj�mhhhNhNubh)��}�(h�
:class:`copy`�h]�hj)��}�(hj�mh]�h�copy�����}�(hhhj�mubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�mubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�m�refexplicit��h�j�lh�j1gh��copy�h�h�h��uh)h~hj�lhKhj�mubh�.�����}�(hj�hj�mhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�lhKhj�lhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�mhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�lhKhj�lhhubja)��}�(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")�����}�(hhhj�mubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�lhhhj�lubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�lhhhj�lhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�mj`�uh)jhhhj\ghj�lhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)__eq__() (pyparsing.ParserElement method)��pyparsing.ParserElement.__eq__�hNt�auh)h,hj\ghhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__eq__�hNubj)��}�(hhh]�(j!)��}�(h�ParserElement.__eq__(other)�h]�(jH)��}�(h�__eq__�h]�h�__eq__�����}�(hhhjnhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjnhhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__eq__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj"nubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjnubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjnhhhjnhNubeh}�(h]�jnah!]�h#]�jnah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__eq__�uh)j hjnhhhjnhNubjb)��}�(hhh]�hQ)��}�(h�Return self==value.�h]�h�Return self==value.�����}�(hjCnhjAnhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjnhKhj>nhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjnhhhjnhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j\nj`�uh)jhhhj\ghjnhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.__getitem__() (pyparsing.ParserElement method)��#pyparsing.ParserElement.__getitem__�hNt�auh)h,hj\ghhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__getitem__�hNubj)��}�(hhh]�(j!)��}�(h�ParserElement.__getitem__(key)�h]�(jH)��}�(h�__getitem__�h]�h�__getitem__�����}�(hhhjsnhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjonhhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__getitem__�hNubj')��}�(h�key�h]�j-)��}�(h�key�h]�h�key�����}�(hhhj�nubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�nubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjonhhhj�nhNubeh}�(h]�jinah!]�h#]�jinah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__getitem__�uh)j hjlnhhhj�nhNubjb)��}�(hhh]�(hQ)��}�(h�Guse ``[]`` indexing notation as a short form for expression repetition:�h]�(h�use �����}�(h�use �hj�nhhhNhNubhj)��}�(h�``[]``�h]�h�[]�����}�(hhhj�nubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�nubh�= indexing notation as a short form for expression repetition:�����}�(h�= indexing notation as a short form for expression repetition:�hj�nhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjknhKhj�nhhubj�)��}�(hhh]�(j�)��}�(h�'``expr[n]`` is equivalent to ``expr*n``�h]�hQ)��}�(hj�nh]�(hj)��}�(h�``expr[n]``�h]�h�expr[n]�����}�(hhhj�nubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�nubh� is equivalent to �����}�(h� is equivalent to �hj�nubhj)��}�(h�
``expr*n``�h]�h�expr*n�����}�(hhhj�nubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�nubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjknhKhj�nubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�nhhhjknhNubj�)��}�(h�/``expr[m, n]`` is equivalent to ``expr*(m, n)``�h]�hQ)��}�(hjoh]�(hj)��}�(h�``expr[m, n]``�h]�h�
expr[m, n]�����}�(hhhjoubah}�(h]�h!]�h#]�h%]�h']�uh)hihjoubh� is equivalent to �����}�(h� is equivalent to �hjoubhj)��}�(h�``expr*(m, n)``�h]�h�expr*(m, n)�����}�(hhhjoubah}�(h]�h!]�h#]�h%]�h']�uh)hihjoubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjknhKhj�nubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�nhhhjknhNubj�)��}�(h��``expr[n, ...]`` or ``expr[n,]`` is equivalent
   to ``expr*n + ZeroOrMore(expr)``
   (read as "at least n instances of ``expr``")�h]�jdO)��}�(hhh]�jiO)��}�(h�|``expr[n, ...]`` or ``expr[n,]`` is equivalent
to ``expr*n + ZeroOrMore(expr)``
(read as "at least n instances of ``expr``")�h]�(joO)��}�(h�.``expr[n, ...]`` or ``expr[n,]`` is equivalent�h]�(hj)��}�(h�``expr[n, ...]``�h]�h�expr[n, ...]�����}�(hhhjAoubah}�(h]�h!]�h#]�h%]�h']�uh)hihj=oubh� or �����}�(h� or �hj=oubhj)��}�(h�``expr[n,]``�h]�h�expr[n,]�����}�(hhhjToubah}�(h]�h!]�h#]�h%]�h']�uh)hihj=oubh� is equivalent�����}�(h� is equivalent�hj=oubeh}�(h]�h!]�h#]�h%]�h']�uh)jnOhjknhKhj9oubj�O)��}�(hhh]�hQ)��}�(h�Mto ``expr*n + ZeroOrMore(expr)``
(read as "at least n instances of ``expr``")�h]�(h�to �����}�(h�to �hjpoubhj)��}�(h�``expr*n + ZeroOrMore(expr)``�h]�h�expr*n + ZeroOrMore(expr)�����}�(hhhjyoubah}�(h]�h!]�h#]�h%]�h']�uh)hihjpoubh�%
(read as “at least n instances of �����}�(h�#
(read as "at least n instances of �hjpoubhj)��}�(h�``expr``�h]�h�expr�����}�(hhhj�oubah}�(h]�h!]�h#]�h%]�h']�uh)hihjpoubh�”)�����}�(h�")�hjpoubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjknhKhjmoubah}�(h]�h!]�h#]�h%]�h']�uh)j�Ohj9oubeh}�(h]�h!]�h#]�h%]�h']�uh)jhOhjknhKhj6oubah}�(h]�h!]�h#]�h%]�h']�uh)jcOhj2oubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�nhhhNhNubj�)��}�(h�]``expr[..., n]`` is equivalent to ``expr*(0, n)``
   (read as "0 to n instances of ``expr``")�h]�jdO)��}�(hhh]�jiO)��}�(h�Z``expr[..., n]`` is equivalent to ``expr*(0, n)``
(read as "0 to n instances of ``expr``")�h]�(joO)��}�(h�1``expr[..., n]`` is equivalent to ``expr*(0, n)``�h]�(hj)��}�(h�``expr[..., n]``�h]�h�expr[..., n]�����}�(hhhj�oubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�oubh� is equivalent to �����}�(h� is equivalent to �hj�oubhj)��}�(h�``expr*(0, n)``�h]�h�expr*(0, n)�����}�(hhhj�oubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�oubeh}�(h]�h!]�h#]�h%]�h']�uh)jnOhjknhKhj�oubj�O)��}�(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 �hj�oubhj)��}�(h�``expr``�h]�h�expr�����}�(hhhj�oubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�oubh�”)�����}�(h�")�hj�oubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjknhK	hj�oubah}�(h]�h!]�h#]�h%]�h']�uh)j�Ohj�oubeh}�(h]�h!]�h#]�h%]�h']�uh)jhOhjknhKhj�oubah}�(h]�h!]�h#]�h%]�h']�uh)jcOhj�oubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�nhhhNhNubj�)��}�(h�I``expr[...]`` and ``expr[0, ...]`` are equivalent to ``ZeroOrMore(expr)``�h]�hQ)��}�(hj2ph]�(hj)��}�(h�
``expr[...]``�h]�h�	expr[...]�����}�(hhhj7pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj4pubh� and �����}�(h� and �hj4pubhj)��}�(h�``expr[0, ...]``�h]�h�expr[0, ...]�����}�(hhhjJpubah}�(h]�h!]�h#]�h%]�h']�uh)hihj4pubh� are equivalent to �����}�(h� are equivalent to �hj4pubhj)��}�(h�``ZeroOrMore(expr)``�h]�h�ZeroOrMore(expr)�����}�(hhhj]pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj4pubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjknhK
hj0pubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�nhhhjknhNubj�)��}�(h�6``expr[1, ...]`` is equivalent to ``OneOrMore(expr)``
�h]�hQ)��}�(h�5``expr[1, ...]`` is equivalent to ``OneOrMore(expr)``�h]�(hj)��}�(h�``expr[1, ...]``�h]�h�expr[1, ...]�����}�(hhhjpubah}�(h]�h!]�h#]�h%]�h']�uh)hihj{pubh� is equivalent to �����}�(h� is equivalent to �hj{pubhj)��}�(h�``OneOrMore(expr)``�h]�h�OneOrMore(expr)�����}�(hhhj�pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj{pubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjknhKhjwpubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�nhhhjknhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjknhKhj�nhhubhQ)��}�(h�)``None`` may be used in place of ``...``.�h]�(hj)��}�(h�``None``�h]�h�None�����}�(hhhj�pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�pubh� may be used in place of �����}�(h� may be used in place of �hj�phhhNhNubhj)��}�(h�``...``�h]�h�...�����}�(hhhj�pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�pubh�.�����}�(hj�hj�phhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjknhK
hj�nhhubhQ)��}�(h��Note 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 �hj�phhhNhNubhj)��}�(h�``expr[..., n]``�h]�h�expr[..., n]�����}�(hhhj�pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�pubh� and �����}�(h� and �hj�phhhNhNubhj)��}�(h�:``expr[m, n]``do not raise an exception
if more than ``n``�h]�h�6expr[m, n]``do not raise an exception
if more than ``n�����}�(hhhj�pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�pubh� �����}�(h� �hj�phhhNhNubhj)��}�(h�f``expr``s exist in the input stream.  If this behavior is
desired, then write ``expr[..., n] + ~expr``�h]�h�bexpr``s exist in the input stream.  If this behavior is
desired, then write ``expr[..., n] + ~expr�����}�(hhhjqubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�pubh�.�����}�(hj�hj�phhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjknhKhj�nhhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjlnhhhj�nhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j5qj`�uh)jhhhj\ghjknhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__hash__() (pyparsing.ParserElement method)�� pyparsing.ParserElement.__hash__�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__hash__�hNubj)��}�(hhh]�(j!)��}�(h�ParserElement.__hash__()�h]�(jH)��}�(h�__hash__�h]�h�__hash__�����}�(hhhjLqhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjHqhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__hash__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjHqhhhjZqhNubeh}�(h]�jBqah!]�h#]�jBqah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__hash__�uh)j hjEqhhhjZqhNubjb)��}�(hhh]�hQ)��}�(h�Return hash(self).�h]�h�Return hash(self).�����}�(hjqqhjoqhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjDqhKhjlqhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjEqhhhjZqhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�qj`�uh)jhhhj\ghjDqhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__init__() (pyparsing.ParserElement method)�� pyparsing.ParserElement.__init__�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__init__�hNubj)��}�(hhh]�(j!)��}�(h�.ParserElement.__init__(savelist: bool = False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�qhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�qhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__init__�hNubj')��}�(h�savelist: bool = False�h]�j-)��}�(h�savelist: bool = False�h]�h�savelist: bool = False�����}�(hhhj�qubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�qubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�qhhhj�qhNubeh}�(h]�j�qah!]�h#]�j�qah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__init__�uh)j hj�qhhhj�qhNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj�qhj�qhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�qhKhj�qhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�qhhhj�qhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�qj`�uh)jhhhj\ghj�qhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-__invert__() (pyparsing.ParserElement method)��"pyparsing.ParserElement.__invert__�hNt�auh)h,hj\ghhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__invert__�hNubj)��}�(hhh]�(j!)��}�(h�:ParserElement.__invert__() -> pyparsing.core.ParserElement�h]�(jH)��}�(h�
__invert__�h]�h�
__invert__�����}�(hhhjrhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjrhhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__invert__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjrhhhjrhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjrhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjrhhhjrhNubeh}�(h]�j�qah!]�h#]�j�qah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__invert__�uh)j hj�qhhhjrhNubjb)��}�(hhh]�hQ)��}�(h�:Implementation of ``~`` operator - returns :class:`NotAny`�h]�(h�Implementation of �����}�(h�Implementation of �hj6rhhhNhNubhj)��}�(h�``~``�h]�h�~�����}�(hhhj?rubah}�(h]�h!]�h#]�h%]�h']�uh)hihj6rubh� operator - returns �����}�(h� operator - returns �hj6rhhhNhNubh)��}�(h�:class:`NotAny`�h]�hj)��}�(hjTrh]�h�NotAny�����}�(hhhjVrubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjRrubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j`r�refexplicit��h�j1rh�j1gh��NotAny�h�h�h��uh)h~hj�qhKhj6rubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�qhKhj3rhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�qhhhjrhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�rj`�uh)jhhhj\ghj�qhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__mul__() (pyparsing.ParserElement method)��pyparsing.ParserElement.__mul__�hNt�auh)h,hj\ghhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__mul__�hNubj)��}�(hhh]�(j!)��}�(h�<ParserElement.__mul__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__mul__�h]�h�__mul__�����}�(hhhj�rhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�rhhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__mul__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj�rubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�rubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�rhhhj�rhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�rhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�rhhhj�rhNubeh}�(h]�j�rah!]�h#]�j�rah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__mul__�uh)j hj�rhhhj�rhNubjb)��}�(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 equivalent�h]�(h�Implementation of �����}�(h�Implementation of �hj�rhhhNhNubhj)��}�(h�``*``�h]�h�*�����}�(hhhj�rubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�rubh� operator, allows use of �����}�(h� operator, allows use of �hj�rhhhNhNubhj)��}�(h�``expr * 3``�h]�h�expr * 3�����}�(hhhj�rubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�rubh�
 in place of
�����}�(h�
 in place of
�hj�rhhhNhNubhj)��}�(h�``expr + expr + expr``�h]�h�expr + expr + expr�����}�(hhhj	subah}�(h]�h!]�h#]�h%]�h']�uh)hihj�rubh�G.  Expressions may also be multiplied by a 2-integer
tuple, similar to �����}�(h�G.  Expressions may also be multiplied by a 2-integer
tuple, similar to �hj�rhhhNhNubhj)��}�(h�``{min, max}``�h]�h�
{min, max}�����}�(hhhjsubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�rubh�> multipliers in regular expressions.  Tuples
may also include �����}�(h�> multipliers in regular expressions.  Tuples
may also include �hj�rhhhNhNubhj)��}�(h�``None``�h]�h�None�����}�(hhhj/subah}�(h]�h!]�h#]�h%]�h']�uh)hihj�rubh�
 as in:
- �����}�(h�
 as in:
- �hj�rhhhNhNubhj)��}�(h�``expr*(n, None)``�h]�h�expr*(n, None)�����}�(hhhjBsubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�rubh� or �����}�(h� or �hj�rhhhNhNubhj)��}�(h�``expr*(n, )``�h]�h�
expr*(n, )�����}�(hhhjUsubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�rubh� is equivalent�����}�(h� is equivalent�hj�rhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�rhKhj�rhhubj�)��}�(hhh]�hQ)��}�(h�Mto ``expr*n + ZeroOrMore(expr)``
(read as "at least n instances of ``expr``")�h]�(h�to �����}�(h�to �hjqsubhj)��}�(h�``expr*n + ZeroOrMore(expr)``�h]�h�expr*n + ZeroOrMore(expr)�����}�(hhhjzsubah}�(h]�h!]�h#]�h%]�h']�uh)hihjqsubh�%
(read as “at least n instances of �����}�(h�#
(read as "at least n instances of �hjqsubhj)��}�(h�``expr``�h]�h�expr�����}�(hhhj�subah}�(h]�h!]�h#]�h%]�h']�uh)hihjqsubh�”)�����}�(h�")�hjqsubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�rhKhjnsubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�rhhhj�rhNubj�)��}�(hhh]�(j�)��}�(h�_``expr*(None, n)`` is equivalent to ``expr*(0, n)``
   (read as "0 to n instances of ``expr``")�h]�jdO)��}�(hhh]�jiO)��}�(h�\``expr*(None, n)`` is equivalent to ``expr*(0, n)``
(read as "0 to n instances of ``expr``")�h]�(joO)��}�(h�3``expr*(None, n)`` is equivalent to ``expr*(0, n)``�h]�(hj)��}�(h�``expr*(None, n)``�h]�h�expr*(None, n)�����}�(hhhj�subah}�(h]�h!]�h#]�h%]�h']�uh)hihj�subh� is equivalent to �����}�(h� is equivalent to �hj�subhj)��}�(h�``expr*(0, n)``�h]�h�expr*(0, n)�����}�(hhhj�subah}�(h]�h!]�h#]�h%]�h']�uh)hihj�subeh}�(h]�h!]�h#]�h%]�h']�uh)jnOhj�rhKhj�subj�O)��}�(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 �hj�subhj)��}�(h�``expr``�h]�h�expr�����}�(hhhj�subah}�(h]�h!]�h#]�h%]�h']�uh)hihj�subh�”)�����}�(h�")�hj�subeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�rhK	hj�subah}�(h]�h!]�h#]�h%]�h']�uh)j�Ohj�subeh}�(h]�h!]�h#]�h%]�h']�uh)jhOhj�rhKhj�subah}�(h]�h!]�h#]�h%]�h']�uh)jcOhj�subah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�shhhNhNubj�)��}�(h�;``expr*(None, None)`` is equivalent to ``ZeroOrMore(expr)``�h]�hQ)��}�(hj$th]�(hj)��}�(h�``expr*(None, None)``�h]�h�expr*(None, None)�����}�(hhhj)tubah}�(h]�h!]�h#]�h%]�h']�uh)hihj&tubh� is equivalent to �����}�(h� is equivalent to �hj&tubhj)��}�(h�``ZeroOrMore(expr)``�h]�h�ZeroOrMore(expr)�����}�(hhhj<tubah}�(h]�h!]�h#]�h%]�h']�uh)hihj&tubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�rhK
hj"tubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�shhhj�rhNubj�)��}�(h�8``expr*(1, None)`` is equivalent to ``OneOrMore(expr)``
�h]�hQ)��}�(h�7``expr*(1, None)`` is equivalent to ``OneOrMore(expr)``�h]�(hj)��}�(h�``expr*(1, None)``�h]�h�expr*(1, None)�����}�(hhhj^tubah}�(h]�h!]�h#]�h%]�h']�uh)hihjZtubh� is equivalent to �����}�(h� is equivalent to �hjZtubhj)��}�(h�``OneOrMore(expr)``�h]�h�OneOrMore(expr)�����}�(hhhjqtubah}�(h]�h!]�h#]�h%]�h']�uh)hihjZtubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�rhKhjVtubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�shhhj�rhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�rhKhj�rhhubhQ)��}�(h��Note 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 �hj�thhhNhNubhj)��}�(h�``expr*(None, n)``�h]�h�expr*(None, n)�����}�(hhhj�tubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�tubh�V does not raise an exception if
more than n exprs exist in the input stream; that is,
�����}�(h�V does not raise an exception if
more than n exprs exist in the input stream; that is,
�hj�thhhNhNubhj)��}�(h�``expr*(None, n)``�h]�h�expr*(None, n)�����}�(hhhj�tubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�tubh�a does not enforce a maximum number of expr
occurrences.  If this behavior is desired, then write
�����}�(h�a does not enforce a maximum number of expr
occurrences.  If this behavior is desired, then write
�hj�thhhNhNubhj)��}�(h�``expr*(None, n) + ~expr``�h]�h�expr*(None, n) + ~expr�����}�(hhhj�tubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�tubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�rhK
hj�rhhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�rhhhj�rhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�tj`�uh)jhhhj\ghj�rhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)__or__() (pyparsing.ParserElement method)��pyparsing.ParserElement.__or__�hNt�auh)h,hj\ghhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__or__�hNubj)��}�(hhh]�(j!)��}�(h�;ParserElement.__or__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__or__�h]�h�__or__�����}�(hhhj�thhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�thhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__or__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhjuubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjuubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�thhhjuhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjuhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�thhhjuhNubeh}�(h]�j�tah!]�h#]�j�tah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__or__�uh)j hj�thhhjuhNubjb)��}�(hhh]�hQ)��}�(h�>Implementation of ``|`` operator - returns :class:`MatchFirst`�h]�(h�Implementation of �����}�(h�Implementation of �hj8uhhhNhNubhj)��}�(h�``|``�h]�h�|�����}�(hhhjAuubah}�(h]�h!]�h#]�h%]�h']�uh)hihj8uubh� operator - returns �����}�(h� operator - returns �hj8uhhhNhNubh)��}�(h�:class:`MatchFirst`�h]�hj)��}�(hjVuh]�h�
MatchFirst�����}�(hhhjXuubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjTuubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jbu�refexplicit��h�j3uh�j1gh��
MatchFirst�h�h�h��uh)h~hj�thKhj8uubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�thKhj5uhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�thhhjuhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�uj`�uh)jhhhj\ghj�thNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__radd__() (pyparsing.ParserElement method)�� pyparsing.ParserElement.__radd__�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__radd__�hNubj)��}�(hhh]�(j!)��}�(h�=ParserElement.__radd__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__radd__�h]�h�__radd__�����}�(hhhj�uhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�uhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__radd__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj�uubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�uubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�uhhhj�uhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�uhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�uhhhj�uhNubeh}�(h]�j�uah!]�h#]�j�uah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__radd__�uh)j hj�uhhhj�uhNubjb)��}�(hhh]�hQ)��}�(h�RImplementation of ``+`` operator when left operand is not a :class:`ParserElement`�h]�(h�Implementation of �����}�(h�Implementation of �hj�uhhhNhNubhj)��}�(h�``+``�h]�h�+�����}�(hhhj�uubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�uubh�% operator when left operand is not a �����}�(h�% operator when left operand is not a �hj�uhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj�uh]�h�
ParserElement�����}�(hhhj�uubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�uubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jv�refexplicit��h�j�uh�j1gh��
ParserElement�h�h�h��uh)h~hj�uhKhj�uubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�uhKhj�uhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�uhhhj�uhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j)vj`�uh)jhhhj\ghj�uhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__rand__() (pyparsing.ParserElement method)�� pyparsing.ParserElement.__rand__�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__rand__�hNubj)��}�(hhh]�(j!)��}�(h�=ParserElement.__rand__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__rand__�h]�h�__rand__�����}�(hhhj@vhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj<vhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__rand__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhjSvubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjOvubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj<vhhhjNvhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjgvhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj<vhhhjNvhNubeh}�(h]�j6vah!]�h#]�j6vah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__rand__�uh)j hj9vhhhjNvhNubjb)��}�(hhh]�hQ)��}�(h�RImplementation of ``&`` operator when left operand is not a :class:`ParserElement`�h]�(h�Implementation of �����}�(h�Implementation of �hj�vhhhNhNubhj)��}�(h�``&``�h]�h�&�����}�(hhhj�vubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�vubh�% operator when left operand is not a �����}�(h�% operator when left operand is not a �hj�vhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj�vh]�h�
ParserElement�����}�(hhhj�vubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�vubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�v�refexplicit��h�j{vh�j1gh��
ParserElement�h�h�h��uh)h~hj8vhKhj�vubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj8vhKhj}vhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj9vhhhjNvhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�vj`�uh)jhhhj\ghj8vhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__repr__() (pyparsing.ParserElement method)�� pyparsing.ParserElement.__repr__�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__repr__�hNubj)��}�(hhh]�(j!)��}�(h�ParserElement.__repr__() -> str�h]�(jH)��}�(h�__repr__�h]�h�__repr__�����}�(hhhj�vhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�vhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__repr__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�vhhhj�vhNubj�)��}�(h�str�h]�h�str�����}�(hhhj�vhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�vhhhj�vhNubeh}�(h]�j�vah!]�h#]�j�vah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__repr__�uh)j hj�vhhhj�vhNubjb)��}�(hhh]�hQ)��}�(h�Return repr(self).�h]�h�Return repr(self).�����}�(hjwhjwhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�vhKhjwhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�vhhhj�vhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j0wj`�uh)jhhhj\ghj�vhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__ror__() (pyparsing.ParserElement method)��pyparsing.ParserElement.__ror__�hNt�auh)h,hj\ghhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__ror__�hNubj)��}�(hhh]�(j!)��}�(h�<ParserElement.__ror__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__ror__�h]�h�__ror__�����}�(hhhjGwhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjCwhhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__ror__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhjZwubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjVwubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjCwhhhjUwhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjnwhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjCwhhhjUwhNubeh}�(h]�j=wah!]�h#]�j=wah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__ror__�uh)j hj@whhhjUwhNubjb)��}�(hhh]�hQ)��}�(h�RImplementation of ``|`` operator when left operand is not a :class:`ParserElement`�h]�(h�Implementation of �����}�(h�Implementation of �hj�whhhNhNubhj)��}�(h�``|``�h]�h�|�����}�(hhhj�wubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�wubh�% operator when left operand is not a �����}�(h�% operator when left operand is not a �hj�whhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj�wh]�h�
ParserElement�����}�(hhhj�wubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�wubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�w�refexplicit��h�j�wh�j1gh��
ParserElement�h�h�h��uh)h~hj?whKhj�wubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj?whKhj�whhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj@whhhjUwhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�wj`�uh)jhhhj\ghj?whNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__rsub__() (pyparsing.ParserElement method)�� pyparsing.ParserElement.__rsub__�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__rsub__�hNubj)��}�(hhh]�(j!)��}�(h�=ParserElement.__rsub__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__rsub__�h]�h�__rsub__�����}�(hhhj�whhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�whhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__rsub__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj�wubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�wubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�whhhj�whNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjxhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�whhhj�whNubeh}�(h]�j�wah!]�h#]�j�wah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__rsub__�uh)j hj�whhhj�whNubjb)��}�(hhh]�hQ)��}�(h�RImplementation of ``-`` operator when left operand is not a :class:`ParserElement`�h]�(h�Implementation of �����}�(h�Implementation of �hj+xhhhNhNubhj)��}�(h�``-``�h]�h�-�����}�(hhhj4xubah}�(h]�h!]�h#]�h%]�h']�uh)hihj+xubh�% operator when left operand is not a �����}�(h�% operator when left operand is not a �hj+xhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjIxh]�h�
ParserElement�����}�(hhhjKxubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjGxubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jUx�refexplicit��h�j&xh�j1gh��
ParserElement�h�h�h��uh)h~hj�whKhj+xubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�whKhj(xhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�whhhj�whNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jxxj`�uh)jhhhj\ghj�whNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__rxor__() (pyparsing.ParserElement method)�� pyparsing.ParserElement.__rxor__�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__rxor__�hNubj)��}�(hhh]�(j!)��}�(h�=ParserElement.__rxor__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__rxor__�h]�h�__rxor__�����}�(hhhj�xhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�xhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__rxor__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj�xubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�xubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�xhhhj�xhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�xhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�xhhhj�xhNubeh}�(h]�j�xah!]�h#]�j�xah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__rxor__�uh)j hj�xhhhj�xhNubjb)��}�(hhh]�hQ)��}�(h�RImplementation of ``^`` operator when left operand is not a :class:`ParserElement`�h]�(h�Implementation of �����}�(h�Implementation of �hj�xhhhNhNubhj)��}�(h�``^``�h]�h�^�����}�(hhhj�xubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�xubh�% operator when left operand is not a �����}�(h�% operator when left operand is not a �hj�xhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj�xh]�h�
ParserElement�����}�(hhhj�xubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�xubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�x�refexplicit��h�j�xh�j1gh��
ParserElement�h�h�h��uh)h~hj�xhKhj�xubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�xhKhj�xhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�xhhhj�xhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jyj`�uh)jhhhj\ghj�xhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__str__() (pyparsing.ParserElement method)��pyparsing.ParserElement.__str__�hNt�auh)h,hj\ghhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__str__�hNubj)��}�(hhh]�(j!)��}�(h�ParserElement.__str__() -> str�h]�(jH)��}�(h�__str__�h]�h�__str__�����}�(hhhj3yhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj/yhhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__str__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj/yhhhjAyhNubj�)��}�(h�str�h]�h�str�����}�(hhhjKyhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj/yhhhjAyhNubeh}�(h]�j)yah!]�h#]�j)yah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__str__�uh)j hj,yhhhjAyhNubjb)��}�(hhh]�hQ)��}�(h�Return str(self).�h]�h�Return str(self).�����}�(hjfyhjdyhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj+yhKhjayhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj,yhhhjAyhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jyj`�uh)jhhhj\ghj+yhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__sub__() (pyparsing.ParserElement method)��pyparsing.ParserElement.__sub__�hNt�auh)h,hj\ghhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__sub__�hNubj)��}�(hhh]�(j!)��}�(h�<ParserElement.__sub__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__sub__�h]�h�__sub__�����}�(hhhj�yhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�yhhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__sub__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj�yubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�yubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�yhhhj�yhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�yhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�yhhhj�yhNubeh}�(h]�j�yah!]�h#]�j�yah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__sub__�uh)j hj�yhhhj�yhNubjb)��}�(hhh]�hQ)��}�(h�FImplementation of ``-`` operator, returns :class:`And` with error stop�h]�(h�Implementation of �����}�(h�Implementation of �hj�yhhhNhNubhj)��}�(h�``-``�h]�h�-�����}�(hhhj�yubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�yubh� operator, returns �����}�(h� operator, returns �hj�yhhhNhNubh)��}�(h�:class:`And`�h]�hj)��}�(hj�yh]�h�And�����}�(hhhj�yubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�yubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jz�refexplicit��h�j�yh�j1gh��And�h�h�h��uh)h~hj�yhKhj�yubh� with error stop�����}�(h� with error stop�hj�yhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�yhKhj�yhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�yhhhj�yhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j(zj`�uh)jhhhj\ghj�yhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__xor__() (pyparsing.ParserElement method)��pyparsing.ParserElement.__xor__�hNt�auh)h,hj\ghhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__xor__�hNubj)��}�(hhh]�(j!)��}�(h�<ParserElement.__xor__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__xor__�h]�h�__xor__�����}�(hhhj?zhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj;zhhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.__xor__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhjRzubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjNzubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj;zhhhjMzhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjfzhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj;zhhhjMzhNubeh}�(h]�j5zah!]�h#]�j5zah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.__xor__�uh)j hj8zhhhjMzhNubjb)��}�(hhh]�hQ)��}�(h�6Implementation of ``^`` operator - returns :class:`Or`�h]�(h�Implementation of �����}�(h�Implementation of �hjzhhhNhNubhj)��}�(h�``^``�h]�h�^�����}�(hhhj�zubah}�(h]�h!]�h#]�h%]�h']�uh)hihjzubh� operator - returns �����}�(h� operator - returns �hjzhhhNhNubh)��}�(h�:class:`Or`�h]�hj)��}�(hj�zh]�h�Or�����}�(hhhj�zubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�zubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�z�refexplicit��h�jzzh�j1gh��Or�h�h�h��uh)h~hj7zhKhjzubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj7zhKhj|zhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj8zhhhjMzhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�zj`�uh)jhhhj\ghj7zhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/addCondition() (pyparsing.ParserElement method)��$pyparsing.ParserElement.addCondition�hNt�auh)h,hj\ghhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.addCondition�hNubj)��}�(hhh]�(j!)��}�(h�JParserElement.addCondition(*fns, **kwargs) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�addCondition�h]�h�addCondition�����}�(hhhj�zhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�zhhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.addCondition�hNubj')��}�(h�*fns, **kwargs�h]�(j-)��}�(h�*fns�h]�h�*fns�����}�(hhhj�zubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�zubj-)��}�(h�**kwargs�h]�h�**kwargs�����}�(hhhj{ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�zubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�zhhhj�zhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj{hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�zhhhj�zhNubeh}�(h]�j�zah!]�h#]�j�zah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.addCondition�uh)j hj�zhhhj�zhNubjb)��}�(hhh]�(hQ)��}�(h��Add 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]�(h�NAdd a boolean predicate function to expression’s list of parse actions. See
�����}�(h�LAdd a boolean predicate function to expression's list of parse actions. See
�hj1{hhhNhNubh)��}�(h�:class:`set_parse_action`�h]�hj)��}�(hj<{h]�h�set_parse_action�����}�(hhhj>{ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj:{ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jH{�refexplicit��h�j,{h�j1gh��set_parse_action�h�h�h��uh)h~hj�zhKhj1{ubh�& for function call signatures. Unlike �����}�(h�& for function call signatures. Unlike �hj1{hhhNhNubhj)��}�(h�``set_parse_action``�h]�h�set_parse_action�����}�(hhhj]{ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj1{ubh�,
functions passed to �����}�(h�,
functions passed to �hj1{hhhNhNubhj)��}�(h�``add_condition``�h]�h�
add_condition�����}�(hhhjp{ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj1{ubh�6 need to return boolean success/fail of the condition.�����}�(h�6 need to return boolean success/fail of the condition.�hj1{hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�zhKhj.{hhubhQ)��}�(h�Optional keyword arguments:�h]�h�Optional keyword arguments:�����}�(hj�{hj�{hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�zhKhj.{hhubj�)��}�(hhh]�(j�)��}�(h�Dmessage = define a custom message to be used in the raised exception�h]�hQ)��}�(hj�{h]�h�Dmessage = define a custom message to be used in the raised exception�����}�(hj�{hj�{ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�zhKhj�{ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�{hhhj�zhNubj�)��}�(h�pfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise
ParseException�h]�hQ)��}�(h�pfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise
ParseException�h]�h�pfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise
ParseException�����}�(hj�{hj�{ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�zhKhj�{ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�{hhhj�zhNubj�)��}�(h�tcall_during_try = boolean to indicate if this method should be called during internal tryParse calls,
default=False
�h]�hQ)��}�(h�scall_during_try = boolean to indicate if this method should be called during internal tryParse calls,
default=False�h]�h�scall_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)hPhj�zhK
hj�{ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�{hhhj�zhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�zhKhj.{hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�{hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�zhK
hj.{hhubja)��}�(hX�integer = 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]�hX�integer = 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)�����}�(hhhj�{ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM;hj.{hhhj�zubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�zhhhj�zhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j|j`�uh)jhhhj\ghj�zhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1addParseAction() (pyparsing.ParserElement method)��&pyparsing.ParserElement.addParseAction�hNt�auh)h,hj\ghhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.addParseAction�hNubj)��}�(hhh]�(j!)��}�(h�LParserElement.addParseAction(*fns, **kwargs) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�addParseAction�h]�h�addParseAction�����}�(hhhj(|hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj$|hhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.addParseAction�hNubj')��}�(h�*fns, **kwargs�h]�(j-)��}�(h�*fns�h]�h�*fns�����}�(hhhj;|ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj7|ubj-)��}�(h�**kwargs�h]�h�**kwargs�����}�(hhhjI|ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj7|ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj$|hhhj6|hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj]|hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj$|hhhj6|hNubeh}�(h]�j|ah!]�h#]�j|ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.addParseAction�uh)j hj!|hhhj6|hNubjb)��}�(hhh]�(hQ)��}�(h�cAdd one or more parse actions to expression's list of parse actions. See :class:`set_parse_action`.�h]�(h�KAdd one or more parse actions to expression’s list of parse actions. See �����}�(h�IAdd one or more parse actions to expression's list of parse actions. See �hjv|hhhNhNubh)��}�(h�:class:`set_parse_action`�h]�hj)��}�(hj�|h]�h�set_parse_action�����}�(hhhj�|ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj|ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�|�refexplicit��h�jq|h�j1gh��set_parse_action�h�h�h��uh)h~hj |hKhjv|ubh�.�����}�(hj�hjv|hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj |hKhjs|hhubhQ)��}�(h�See examples in :class:`copy`.�h]�(h�See examples in �����}�(h�See examples in �hj�|hhhNhNubh)��}�(h�
:class:`copy`�h]�hj)��}�(hj�|h]�h�copy�����}�(hhhj�|ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�|ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�|�refexplicit��h�jq|h�j1gh��copy�h�h�h��uh)h~hj |hKhj�|ubh�.�����}�(hj�hj�|hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj |hKhjs|hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj!|hhhj6|hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�|j`�uh)jhhhj\ghj |hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�0add_condition() (pyparsing.ParserElement method)��%pyparsing.ParserElement.add_condition�hNt�auh)h,hj\ghhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.add_condition�hNubj)��}�(hhh]�(j!)��}�(h�KParserElement.add_condition(*fns, **kwargs) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�
add_condition�h]�h�
add_condition�����}�(hhhj�|hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�|hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.add_condition�hNubj')��}�(h�*fns, **kwargs�h]�(j-)��}�(h�*fns�h]�h�*fns�����}�(hhhj}ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj}ubj-)��}�(h�**kwargs�h]�h�**kwargs�����}�(hhhj}ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj}ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�|hhhj
}hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj1}hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�|hhhj
}hNubeh}�(h]�j�|ah!]�h#]�j�|ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.add_condition�uh)j hj�|hhhj
}hNubjb)��}�(hhh]�(hQ)��}�(h��Add 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]�(h�NAdd a boolean predicate function to expression’s list of parse actions. See
�����}�(h�LAdd a boolean predicate function to expression's list of parse actions. See
�hjJ}hhhNhNubh)��}�(h�:class:`set_parse_action`�h]�hj)��}�(hjU}h]�h�set_parse_action�����}�(hhhjW}ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjS}ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�ja}�refexplicit��h�jE}h�j1gh��set_parse_action�h�h�h��uh)h~hj�|hKhjJ}ubh�& for function call signatures. Unlike �����}�(h�& for function call signatures. Unlike �hjJ}hhhNhNubhj)��}�(h�``set_parse_action``�h]�h�set_parse_action�����}�(hhhjv}ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjJ}ubh�,
functions passed to �����}�(h�,
functions passed to �hjJ}hhhNhNubhj)��}�(h�``add_condition``�h]�h�
add_condition�����}�(hhhj�}ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjJ}ubh�6 need to return boolean success/fail of the condition.�����}�(h�6 need to return boolean success/fail of the condition.�hjJ}hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�|hKhjG}hhubhQ)��}�(h�Optional keyword arguments:�h]�h�Optional keyword arguments:�����}�(hj�}hj�}hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�|hKhjG}hhubj�)��}�(hhh]�(j�)��}�(h�Dmessage = define a custom message to be used in the raised exception�h]�hQ)��}�(hj�}h]�h�Dmessage = define a custom message to be used in the raised exception�����}�(hj�}hj�}ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�|hKhj�}ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�}hhhj�|hNubj�)��}�(h�pfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise
ParseException�h]�hQ)��}�(h�pfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise
ParseException�h]�h�pfatal = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise
ParseException�����}�(hj�}hj�}ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�|hKhj�}ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�}hhhj�|hNubj�)��}�(h�tcall_during_try = boolean to indicate if this method should be called during internal tryParse calls,
default=False
�h]�hQ)��}�(h�scall_during_try = boolean to indicate if this method should be called during internal tryParse calls,
default=False�h]�h�scall_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)hPhj�|hK
hj�}ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�}hhhj�|hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�|hKhjG}hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj~hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�|hK
hjG}hhubja)��}�(hX�integer = 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]�hX�integer = 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)�����}�(hhhj~ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM]hjG}hhhj�|ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�|hhhj
}hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j*~j`�uh)jhhhj\ghj�|hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3add_parse_action() (pyparsing.ParserElement method)��(pyparsing.ParserElement.add_parse_action�hNt�auh)h,hj\ghhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.add_parse_action�hNubj)��}�(hhh]�(j!)��}�(h�NParserElement.add_parse_action(*fns, **kwargs) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�add_parse_action�h]�h�add_parse_action�����}�(hhhjA~hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj=~hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.add_parse_action�hNubj')��}�(h�*fns, **kwargs�h]�(j-)��}�(h�*fns�h]�h�*fns�����}�(hhhjT~ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjP~ubj-)��}�(h�**kwargs�h]�h�**kwargs�����}�(hhhjb~ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjP~ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj=~hhhjO~hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjv~hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj=~hhhjO~hNubeh}�(h]�j7~ah!]�h#]�j7~ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.add_parse_action�uh)j hj:~hhhjO~hNubjb)��}�(hhh]�(hQ)��}�(h�cAdd one or more parse actions to expression's list of parse actions. See :class:`set_parse_action`.�h]�(h�KAdd one or more parse actions to expression’s list of parse actions. See �����}�(h�IAdd one or more parse actions to expression's list of parse actions. See �hj�~hhhNhNubh)��}�(h�:class:`set_parse_action`�h]�hj)��}�(hj�~h]�h�set_parse_action�����}�(hhhj�~ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�~ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�~�refexplicit��h�j�~h�j1gh��set_parse_action�h�h�h��uh)h~hj9~hKhj�~ubh�.�����}�(hj�hj�~hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj9~hKhj�~hhubhQ)��}�(h�See examples in :class:`copy`.�h]�(h�See examples in �����}�(h�See examples in �hj�~hhhN�hNubh)��}�(h�
:class:`copy`�h]�hj)��}�(hj�~h]�h�copy�����}�(hhhj�~ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�~ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�~�refexplicit��h�j�~h�j1gh��copy�h�h�h��uh)h~hj9~hKhj�~ubh�.�����}�(hj�hj�~hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj9~hKhj�~hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj:~hhhjO~hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�~j`�uh)jhhhj\ghj9~hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�'copy() (pyparsing.ParserElement method)��pyparsing.ParserElement.copy�hNt�auh)h,hj\ghhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.copy�hNubj)��}�(hhh]�(j!)��}�(h�4ParserElement.copy() -> pyparsing.core.ParserElement�h]�(jH)��}�(h�copy�h]�h�copy�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.copy�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhj#hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjhhhj#hNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.copy�uh)j hjhhhj#hNubjb)��}�(hhh]�(hQ)��}�(h��Make 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]�(h�Make a copy of this �����}�(h�Make a copy of this �hjFhhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjQh]�h�
ParserElement�����}�(hhhjSubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjOubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j]�refexplicit��h�jAh�j1gh��
ParserElement�h�h�h��uh)h~hj
hKhjFubh�x.  Useful for defining
different parse actions for the same parsing pattern, using copies of
the original parse element.�����}�(h�x.  Useful for defining
different parse actions for the same parsing pattern, using copies of
the original parse element.�hjFhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj
hKhjChhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjxhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
hKhjChhubja)��}�(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']�jpjquh)j`hMwhjChhhj
ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
hK
hjChhubja)��}�(h�[5120, 100, 655360, 268435456]�h]�h�[5120, 100, 655360, 268435456]�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhjChhhj
ubhQ)��}�(h�7Equivalent form of ``expr.copy()`` is just ``expr()``::�h]�(h�Equivalent form of �����}�(h�Equivalent form of �hj�hhhNhNubhj)��}�(h�``expr.copy()``�h]�h�expr.copy()�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�	 is just �����}�(h�	 is just �hj�hhhNhNubhj)��}�(h�
``expr()``�h]�h�expr()�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�:�����}�(hjchj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj
hKhjChhubja)��}�(h�YintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")�h]�h�YintegerM = integer().add_parse_action(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjChhhj
ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjhhhj#hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghj
hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1create_diagram() (pyparsing.ParserElement method)��&pyparsing.ParserElement.create_diagram�hNt�auh)h,hj\ghhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.create_diagram�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.create_diagram(output_html: Union[typing.TextIO, pathlib.Path, str], vertical: int = 3, show_results_names: bool = False, show_groups: bool = False, **kwargs) -> None�h]�(jH)��}�(h�create_diagram�h]�h�create_diagram�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.create_diagram�hNubj')��}�(h��output_html: Union[typing.TextIO, pathlib.Path, str], vertical: int = 3, show_results_names: bool = False, show_groups: bool = False, **kwargs�h]�j-)��}�(h��output_html: Union[typing.TextIO, pathlib.Path, str], vertical: int = 3, show_results_names: bool = False, show_groups: bool = False, **kwargs�h]�h��output_html: Union[typing.TextIO, pathlib.Path, str], vertical: int = 3, show_results_names: bool = False, show_groups: bool = False, **kwargs�����}�(hhhj+�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj'�hhhj&�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj&�hNubj�)��}�(h�None�h]�h�None�����}�(hhhj?�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj&�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.create_diagram�uh)j hj�hhhj&�hNubjb)��}�(hhh]�(hQ)��}�(h�)Create a railroad diagram for the parser.�h]�h�)Create a railroad diagram for the parser.�����}�(hjZ�hjX�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjU�hhubhQ)��}�(h�QParameters:
- output_html (str or file-like object) - output target for generated�h]�h�QParameters:
- output_html (str or file-like object) - output target for generated�����}�(hjh�hjf�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjU�hhubj�)��}�(hhh]�hQ)��}�(h�diagram HTML�h]�h�diagram HTML�����}�(hjy�hjw�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjt�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjU�hhhj�hNubj�)��}�(hhh]�(j�)��}�(h�nvertical (int) - threshold for formatting multiple alternatives vertically
instead of horizontally (default=3)�h]�hQ)��}�(h�nvertical (int) - threshold for formatting multiple alternatives vertically
instead of horizontally (default=3)�h]�h�nvertical (int) - threshold for formatting multiple alternatives vertically
instead of horizontally (default=3)�����}�(hj��hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubj�)��}�(h�`show_results_names - bool flag whether diagram should show annotations for
defined results names�h]�hQ)��}�(h�`show_results_names - bool flag whether diagram should show annotations for
defined results names�h]�h�`show_results_names - bool flag whether diagram should show annotations for
defined results names�����}�(hj��hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubj�)��}�(h�^show_groups - bool flag whether groups should be highlighted with an unlabeled surrounding box�h]�hQ)��}�(hj��h]�h�^show_groups - bool flag whether groups should be highlighted with an unlabeled surrounding box�����}�(hj��hj€ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hKhjU�hhubhQ)��}�(h�aAdditional diagram-formatting keyword arguments can also be included;
see railroad.Diagram class.�h]�h�aAdditional diagram-formatting keyword arguments can also be included;
see railroad.Diagram class.�����}�(hj݀hjۀhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjU�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj&�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�=disable_memoization() (pyparsing.ParserElement static method)��+pyparsing.ParserElement.disable_memoization�hNt�auh)h,hj\ghhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.disable_memoization�hNubj)��}�(hhh]�(j!)��}�(h�+ParserElement.disable_memoization() -> None�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj
�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj	�hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.disable_memoization�hNubjH)��}�(h�disable_memoization�h]�h�disable_memoization�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj	�hhhj�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj	�hhhj�hNubj�)��}�(h�None�h]�h�None�����}�(hhhj2�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj	�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�!ParserElement.disable_memoization�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�GDisables active Packrat or Left Recursion parsing and their memoization�h]�h�GDisables active Packrat or Left Recursion parsing and their memoization�����}�(hjM�hjK�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjH�hhubhQ)��}�(h��This 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]�h��This 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.�����}�(hj[�hjY�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjH�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_jt�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�=enableLeftRecursion() (pyparsing.ParserElement static method)��+pyparsing.ParserElement.enableLeftRecursion�hNt�auh)h,hj\ghhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.enableLeftRecursion�hNubj)��}�(hhh]�(j!)��}�(h�hParserElement.enableLeftRecursion(cache_size_limit: Union[int, NoneType] = None, *, force=False) -> None�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.enableLeftRecursion�hNubjH)��}�(h�enableLeftRecursion�h]�h�enableLeftRecursion�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h�=cache_size_limit: Union[int, NoneType] = None, *, force=False�h]�(j-)��}�(h�cache_size_limit: Union[int�h]�h�cache_size_limit: Union[int�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhjǁubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�force=False�h]�h�force=False�����}�(hhhjԁubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�None�h]�h�None�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�!ParserElement.enableLeftRecursion�uh)j hj��hhhj��hNubjb)��}�(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]�(h��Enables “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 �hj�hhhNhNubh)��}�(h�:class:`Forward`�h]�hj)��}�(hj�h]�h�Forward�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj
�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j��h�j1gh��Forward�h�h�h��uh)h~hj��hKhj�ubh�z elements are
repeatedly matched with a fixed recursion depth that is gradually increased
until finding the longest match.�����}�(h�z elements are
repeatedly matched with a fixed recursion depth that is gradually increased
until finding the longest match.�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj3�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubja)��}�(h��import 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]�h��import 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"))�����}�(hhhjB�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj��hhhj��ubhQ)��}�(h��Recursion 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 �hjP�hhhNhNubhj)��}�(h�``Forward``�h]�h�Forward�����}�(hhhjY�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjP�ubh�� 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.�hjP�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hjt�hjr�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubj�)��}�(hhh]�j�)��}�(h��cache_size_limit - (default=``None``) - memoize at most this many
``Forward`` elements during matching; if ``None`` (the default),
memoize all ``Forward`` elements.
�h]�hQ)��}�(h��cache_size_limit - (default=``None``) - memoize at most this many
``Forward`` elements during matching; if ``None`` (the default),
memoize all ``Forward`` elements.�h]�(h�Bcache_size_limit - (default=``None``) - memoize at most this many
�����}�(h�Bcache_size_limit - (default=``None``) - memoize at most this many
�hj��ubhj)��}�(h�``Forward``�h]�h�Forward�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� elements during matching; if �����}�(h� elements during matching; if �hj��ubhj)��}�(h�``None``�h]�h�None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� (the default),
memoize all �����}�(h� (the default),
memoize all �hj��ubhj)��}�(h�``Forward``�h]�h�Forward�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�
 elements.�����}�(h�
 elements.�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj��hNubah}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj��hKhj��hhubhQ)��}�(h��Bounded 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]�(h�xBounded Recursion parsing works similar but not identical to Packrat parsing,
thus the two cannot be used together. Use �����}�(h�xBounded 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��hKhj��hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j
�j`�uh)jhhhj\ghj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�7enablePackrat() (pyparsing.ParserElement static method)��%pyparsing.ParserElement.enablePackrat�hNt�auh)h,hj\ghhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.enablePackrat�hNubj)��}�(hhh]�(j!)��}�(h�XParserElement.enablePackrat(cache_size_limit: int = 128, *, force: bool = False) -> None�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj!�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.enablePackrat�hNubjH)��}�(h�
enablePackrat�h]�h�
enablePackrat�����}�(hhhj/�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj.�hNubj')��}�(h�3cache_size_limit: int = 128, *, force: bool = False�h]�(j-)��}�(h�cache_size_limit: int = 128�h]�h�cache_size_limit: int = 128�����}�(hhhjA�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=�ubj-)��}�(hj@h]�h�*�����}�(hhhjO�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=�ubj-)��}�(h�force: bool = False�h]�h�force: bool = False�����}�(hhhj\�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj.�hNubj�)��}�(h�None�h]�h�None�����}�(hhhjp�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj.�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.enablePackrat�uh)j hj�hhhj.�hNubjb)��}�(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.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubj�)��}�(hhh]�j�)��}�(h��cache_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)��}�(h��cache_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]�(h�cache_size_limit - (default= �����}�(h�cache_size_limit - (default= �hj��ubhj)��}�(h�``128``�h]�h�128�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh��) - 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.�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK	hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubah}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hK	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]�(h��This 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 �����}�(h��This 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 �hjڃhhhNhNubh)��}�(h�%:class:`ParserElement.enable_packrat`�h]�hj)��}�(hj�h]�h�ParserElement.enable_packrat�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j��h�j1gh��ParserElement.enable_packrat�h�h�h��uh)h~hj�hKhjڃubh�.
For best results, call �����}�(h�.
For best results, call �hjڃhhhNhNubhj)��}�(h�``enable_packrat()``�h]�h�enable_packrat()�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjڃubh�' immediately after
importing pyparsing.�����}�(h�' immediately after
importing pyparsing.�hjڃhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubja)��}�(h�9import pyparsing
pyparsing.ParserElement.enable_packrat()�h]�h�9import pyparsing
pyparsing.ParserElement.enable_packrat()�����}�(hhhj.�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj��hhhj�ubhQ)��}�(h��Packrat 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]�(h�xPackrat parsing works similar but not identical to Bounded Recursion parsing,
thus the two cannot be used together. Use �����}�(h�xPackrat parsing works similar but not identical to Bounded Recursion parsing,
thus the two cannot be used together. Use �hj<�hhhNhNubhj)��}�(h�``force=True``�h]�h�
force=True�����}�(hhhjE�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�hKhj��hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj.�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_jk�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�?enable_left_recursion() (pyparsing.ParserElement static method)��-pyparsing.ParserElement.enable_left_recursion�hNt�auh)h,hj\ghhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.enable_left_recursion�hNubj)��}�(hhh]�(j!)��}�(h�jParserElement.enable_left_recursion(cache_size_limit: Union[int, NoneType] = None, *, force=False) -> None�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj~�hhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.enable_left_recursion�hNubjH)��}�(h�enable_left_recursion�h]�h�enable_left_recursion�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj~�hhhj��hNubj')��}�(h�=cache_size_limit: Union[int, NoneType] = None, *, force=False�h]�(j-)��}�(h�cache_size_limit: Union[int�h]�h�cache_size_limit: Union[int�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�force=False�h]�h�force=False�����}�(hhhj˄ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj~�hhhj��hNubj�)��}�(h�None�h]�h�None�����}�(hhhj߄hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj~�hhhj��hNubeh}�(h]�jx�ah!]�h#]�jx�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�#ParserElement.enable_left_recursion�uh)j hj{�hhhj��hNubjb)��}�(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]�(h��Enables “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 �hj��hhhNhNubh)��}�(h�:class:`Forward`�h]�hj)��}�(hj�h]�h�Forward�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�j1gh��Forward�h�h�h��uh)h~hjz�hKhj��ubh�z elements are
repeatedly matched with a fixed recursion depth that is gradually increased
until finding the longest match.�����}�(h�z elements are
repeatedly matched with a fixed recursion depth that is gradually increased
until finding the longest match.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjz�hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj*�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjz�hKhj��hhubja)��}�(h��import 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]�h��import 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"))�����}�(hhhj9�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj��hhhjz�ubhQ)��}�(h��Recursion 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 �hjG�hhhNhNubhj)��}�(h�``Forward``�h]�h�Forward�����}�(hhhjP�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjG�ubh�� 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.�hjG�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjz�hKhj��hhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hjk�hji�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjz�hKhj��hhubj�)��}�(hhh]�j�)��}�(h��cache_size_limit - (default=``None``) - memoize at most this many
``Forward`` elements during matching; if ``None`` (the default),
memoize all ``Forward`` elements.
�h]�hQ)��}�(h��cache_size_limit - (default=``None``) - memoize at most this many
``Forward`` elements during matching; if ``None`` (the default),
memoize all ``Forward`` elements.�h]�(h�Bcache_size_limit - (default=``None``) - memoize at most this many
�����}�(h�Bcache_size_limit - (default=``None``) - memoize at most this many
�hj~�ubhj)��}�(h�``Forward``�h]�h�Forward�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj~�ubh� elements during matching; if �����}�(h� elements during matching; if �hj~�ubhj)��}�(h�``None``�h]�h�None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj~�ubh� (the default),
memoize all �����}�(h� (the default),
memoize all �hj~�ubhj)��}�(h�``Forward``�h]�h�Forward�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj~�ubh�
 elements.�����}�(h�
 elements.�hj~�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjz�hKhjz�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjw�hhhjz�hNubah}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjz�hKhj��hhubhQ)��}�(h��Bounded 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]�(h�xBounded Recursion parsing works similar but not identical to Packrat parsing,
thus the two cannot be used together. Use �����}�(h�xBounded 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)hPhjz�hKhj��hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj{�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j�j`�uh)jhhhj\ghjz�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�8enable_packrat() (pyparsing.ParserElement static method)��&pyparsing.ParserElement.enable_packrat�hNt�auh)h,hj\ghhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.enable_packrat�hNubj)��}�(hhh]�(j!)��}�(h�YParserElement.enable_packrat(cache_size_limit: int = 128, *, force: bool = False) -> None�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.enable_packrat�hNubjH)��}�(h�enable_packrat�h]�h�enable_packrat�����}�(hhhj&�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj%�hNubj')��}�(h�3cache_size_limit: int = 128, *, force: bool = False�h]�(j-)��}�(h�cache_size_limit: int = 128�h]�h�cache_size_limit: int = 128�����}�(hhhj8�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj4�ubj-)��}�(hj@h]�h�*�����}�(hhhjF�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj4�ubj-)��}�(h�force: bool = False�h]�h�force: bool = False�����}�(hhhjS�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj4�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj%�hNubj�)��}�(h�None�h]�h�None�����}�(hhhjg�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj%�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.enable_packrat�uh)j hj�hhhj%�hNubjb)��}�(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.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj}�hhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj}�hhubj�)��}�(hhh]�j�)��}�(h��cache_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)��}�(h��cache_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]�(h�cache_size_limit - (default= �����}�(h�cache_size_limit - (default= �hj��ubhj)��}�(h�``128``�h]�h�128�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh��) - 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.�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK	hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubah}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hK	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]�(h��This 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 �����}�(h��This 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 �hjцhhhNhNubh)��}�(h�%:class:`ParserElement.enable_packrat`�h]�hj)��}�(hj܆h]�h�ParserElement.enable_packrat�����}�(hhhjކubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjچubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j{�h�j1gh��ParserElement.enable_packrat�h�h�h��uh)h~hj�hKhjцubh�.
For best results, call �����}�(h�.
For best results, call �hjцhhhNhNubhj)��}�(h�``enable_packrat()``�h]�h�enable_packrat()�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjцubh�' immediately after
importing pyparsing.�����}�(h�' immediately after
importing pyparsing.�hjцhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj}�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj}�hhubja)��}�(h�9import pyparsing
pyparsing.ParserElement.enable_packrat()�h]�h�9import pyparsing
pyparsing.ParserElement.enable_packrat()�����}�(hhhj%�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM!	hj}�hhhj�ubhQ)��}�(h��Packrat 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]�(h�xPackrat parsing works similar but not identical to Bounded Recursion parsing,
thus the two cannot be used together. Use �����}�(h�xPackrat parsing works similar but not identical to Bounded Recursion parsing,
thus the two cannot be used together. Use �hj3�hhhNhNubhj)��}�(h�``force=True``�h]�h�
force=True�����}�(hhhj<�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj3�ubh�/ to disable any
previous, conflicting settings.�����}�(h�/ to disable any
previous, conflicting settings.�hj3�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj}�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj%�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_jb�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)ignore() (pyparsing.ParserElement method)��pyparsing.ParserElement.ignore�hNt�auh)h,hj\ghhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.ignore�hNubj)��}�(hhh]�(j!)��}�(h�YParserElement.ignore(other: pyparsing.core.ParserElement) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignore�h]�h�ignore�����}�(hhhjy�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhju�hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.ignore�hNubj')��}�(h�#other: pyparsing.core.ParserElement�h]�j-)��}�(h�#other: pyparsing.core.ParserElement�h]�h�#other: pyparsing.core.ParserElement�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hju�hhhj��hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hju�hhhj��hNubeh}�(h]�jo�ah!]�h#]�jo�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.ignore�uh)j hjr�hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h��Define expression to be ignored (e.g., comments) while doing pattern
matching; may be called repeatedly, to define multiple comment or other
ignorable patterns.�h]�h��Define 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)hPhjq�hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjLJhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjq�hKhj��hhubja)��}�(h��patt = Word(alphas)[1, ...]
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj']

patt.ignore(c_style_comment)
patt.parse_string('ablaj /* comment */ lskjd')
# -> ['ablaj', 'lskjd']�h]�h��patt = 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']�jpjquh)j`hM2	hj��hhhjq�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjr�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghjq�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3ignoreWhitespace() (pyparsing.ParserElement method)��(pyparsing.ParserElement.ignoreWhitespace�hNt�auh)h,hj\ghhhNhNubj)��}�(hhh]�(j!)��}�(h�VParserElement.ignoreWhitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignoreWhitespace�h]�h�ignoreWhitespace�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.ignoreWhitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj.�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.ignoreWhitespace�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�rEnables the skipping of whitespace before matching the characters in the
:class:`ParserElement`'s defined pattern.�h]�(h�IEnables the skipping of whitespace before matching the characters in the
�����}�(h�IEnables the skipping of whitespace before matching the characters in the
�hjG�hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjR�h]�h�
ParserElement�����}�(hhhjT�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjP�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j^��refexplicit��h�jB�h�j1gh��
ParserElement�h�h�h��uh)h~h�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.ignoreWhitespace�hKhjG�ubh�’s defined pattern.�����}�(h�'s defined pattern.�hjG�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjn�hKhjD�hhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�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�	recursive�h]�h�	recursive�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj��ubh� – �����}�(hhhj��ubh�If �����}�(h�If �hj��hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��hhhNhNubh�J (the default), also enable whitespace skipping in child elements (if any)�����}�(h�J (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�hjz�ubah}�(h]�h!]�h#]�h%]�h']�uh)jhjD�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�4ignore_whitespace() (pyparsing.ParserElement method)��)pyparsing.ParserElement.ignore_whitespace�hNt�auh)h,hj\ghhhNhNubj)��}�(hhh]�(j!)��}�(h�WParserElement.ignore_whitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�ignore_whitespace�h]�h�ignore_whitespace�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.ignore_whitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj
�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj	�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj!�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.ignore_whitespace�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�rEnables the skipping of whitespace before matching the characters in the
:class:`ParserElement`'s defined pattern.�h]�(h�IEnables the skipping of whitespace before matching the characters in the
�����}�(h�IEnables the skipping of whitespace before matching the characters in the
�hj:�hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjE�h]�h�
ParserElement�����}�(hhhjG�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjC�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jQ��refexplicit��h�j5�h�j1gh��
ParserElement�h�h�h��uh)h~h�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.ignore_whitespace�hKhj:�ubh�’s defined pattern.�����}�(h�'s defined pattern.�hj:�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhja�hKhj7�hhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhjs�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjp�hj�hKubj�)��}�(hhh]�hQ)��}�(h�^recursive -- If True (the default), also enable whitespace skipping in child elements (if any)�h]�(j�)��}�(h�	recursive�h]�h�	recursive�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj��ubh� – �����}�(hhhj��ubh�If �����}�(h�If �hj��hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��hhhNhNubh�J (the default), also enable whitespace skipping in child elements (if any)�����}�(h�J (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�hjp�ubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hjm�ubah}�(h]�h!]�h#]�h%]�h']�uh)jhj7�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j׉j`�uh)jhhhj\ghNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�=inlineLiteralsUsing() (pyparsing.ParserElement static method)��+pyparsing.ParserElement.inlineLiteralsUsing�hNt�auh)h,hj\ghhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.inlineLiteralsUsing�hNubj)��}�(hhh]�(j!)��}�(h�4ParserElement.inlineLiteralsUsing(cls: type) -> None�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.inlineLiteralsUsing�hNubjH)��}�(h�inlineLiteralsUsing�h]�h�inlineLiteralsUsing�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj��hNubj')��}�(h�	cls: type�h]�j-)��}�(h�	cls: type�h]�h�	cls: type�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj
�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj��hNubj�)��}�(h�None�h]�h�None�����}�(hhhj"�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj��hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�!ParserElement.inlineLiteralsUsing�uh)j hj�hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�DSet class to be used for inclusion of string literals into a parser.�h]�h�DSet class to be used for inclusion of string literals into a parser.�����}�(hj=�hj;�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj8�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjI�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj8�hhubja)��}�(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']�����}�(hhhjX�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMT	hj8�hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_js�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�?inline_literals_using() (pyparsing.ParserElement static method)��-pyparsing.ParserElement.inline_literals_using�hNt�auh)h,hj\ghhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.inline_literals_using�hNubj)��}�(hhh]�(j!)��}�(h�6ParserElement.inline_literals_using(cls: type) -> None�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.inline_literals_using�hNubjH)��}�(h�inline_literals_using�h]�h�inline_literals_using�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h�	cls: type�h]�j-)��}�(h�	cls: type�h]�h�	cls: type�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�None�h]�h�None�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�#ParserElement.inline_literals_using�uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�DSet class to be used for inclusion of string literals into a parser.�h]�h�DSet class to be used for inclusion of string literals into a parser.�����}�(hjيhj׊hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjԊhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjԊhhubja)��}�(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']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMi	hjԊhhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j�j`�uh)jhhhj\ghj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�2leaveWhitespace() (pyparsing.ParserElement method)��'pyparsing.ParserElement.leaveWhitespace�hNt�auh)h,hj\ghhhNhNubj)��}�(hhh]�(j!)��}�(h�UParserElement.leaveWhitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�leaveWhitespace�h]�h�leaveWhitespace�����}�(hhhj%�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj!�hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.leaveWhitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj8�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj4�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj!�hhhj3�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjL�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj!�hhhj3�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.leaveWhitespace�uh)j hj�hhhj3�hNubjb)��}�(hhh]�(hQ)��}�(h��Disables 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]�(h�JDisables the skipping of whitespace before matching the characters in the
�����}�(h�JDisables the skipping of whitespace before matching the characters in the
�hje�hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjp�h]�h�
ParserElement�����}�(hhhjr�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjn�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j|��refexplicit��h�j`�h�j1gh��
ParserElement�h�h�h��uh)h~h�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.leaveWhitespace�hKhje�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.�hje�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjb�hhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hj3�hKubj�)��}�(hhh]�hQ)��}�(h�_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)�h]�(j�)��}�(h�	recursive�h]�h�	recursive�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj��ubh� – �����}�(hhhj��ubh�RIf true (the default), also disable whitespace skipping in child elements (if any)�����}�(h�RIf true (the default), also disable 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)jhjb�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj3�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3leave_whitespace() (pyparsing.ParserElement method)��(pyparsing.ParserElement.leave_whitespace�hNt�auh)h,hj\ghhhNhNubj)��}�(hhh]�(j!)��}�(h�VParserElement.leave_whitespace(recursive: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�leave_whitespace�h]�h�leave_whitespace�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.leave_whitespace�hNubj')��}�(h�recursive: bool = True�h]�j-)��}�(h�recursive: bool = True�h]�h�recursive: bool = True�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj,�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.leave_whitespace�uh)j hj��hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h��Disables 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]�(h�JDisables the skipping of whitespace before matching the characters in the
�����}�(h�JDisables the skipping of whitespace before matching the characters in the
�hjE�hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjP�h]�h�
ParserElement�����}�(hhhjR�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjN�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j\��refexplicit��h�j@�h�j1gh��
ParserElement�h�h�h��uh)h~h�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.leave_whitespace�hKhjE�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.�hjE�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjl�hKhjB�hhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj~�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj{�hj�hKubj�)��}�(hhh]�hQ)��}�(h�_recursive -- If true (the default), also disable whitespace skipping in child elements (if any)�h]�(j�)��}�(h�	recursive�h]�h�	recursive�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj��ubh� – �����}�(hhhj��ubh�RIf true (the default), also disable whitespace skipping in child elements (if any)�����}�(h�RIf true (the default), also disable 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�hjx�ubah}�(h]�h!]�h#]�h%]�h']�uh)jhjB�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jόj`�uh)jhhhj\ghNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*matches() (pyparsing.ParserElement method)��pyparsing.ParserElement.matches�hNt�auh)h,hj\ghhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.matches�hNubj)��}�(hhh]�(j!)��}�(h�aParserElement.matches(test_string: str, parse_all: bool = True, *, parseAll: bool = True) -> bool�h]�(jH)��}�(h�matches�h]�h�matches�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.matches�hNubj')��}�(h�Btest_string: str, parse_all: bool = True, *, parseAll: bool = True�h]�(j-)��}�(h�test_string: str�h]�h�test_string: str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�parse_all: bool = True�h]�h�parse_all: bool = True�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�parseAll: bool = True�h]�h�parseAll: bool = True�����}�(hhhj"�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubj�)��}�(h�bool�h]�h�bool�����}�(hhhj6�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�j܌ah!]�h#]�j܌ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.matches�uh)j hjߌhhhj�hNubjb)��}�(hhh]�(hQ)��}�(h��Method for quick testing of a parser against a test string. Good for simple
inline microtests of sub expressions while building up larger parser.�h]�h��Method for quick testing of a parser against a test string. Good for simple
inline microtests of sub expressions while building up larger parser.�����}�(hjQ�hjO�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjތhKhjL�hhubhQ)��}�(h��Parameters:
- ``test_string`` - to test against this expression for a match
- ``parse_all`` - (default= ``True``) - flag to pass to :class:`parse_string` when running tests�h]�(h�Parameters:
- �����}�(h�Parameters:
- �hj]�hhhNhNubhj)��}�(h�``test_string``�h]�h�test_string�����}�(hhhjf�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj]�ubh�1 - to test against this expression for a match
- �����}�(h�1 - to test against this expression for a match
- �hj]�hhhNhNubhj)��}�(h�
``parse_all``�h]�h�	parse_all�����}�(hhhjy�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj]�ubh�
 - (default= �����}�(h�
 - (default= �hj]�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(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!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�jJ�h�j1gh��parse_string�h�h�h��uh)h~hjތhKhj]�ubh� when running tests�����}�(h� when running tests�hj]�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjތhKhjL�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjȍhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjތhKhjL�hhubja)��}�(h�,expr = Word(nums)
assert expr.matches("100")�h]�h�,expr = Word(nums)
assert expr.matches("100")�����}�(hhhj׍ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�	hjL�hhhjތubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjߌhhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghjތhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�,parseFile() (pyparsing.ParserElement method)��!pyparsing.ParserElement.parseFile�hNt�auh)h,hj\ghhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parseFile�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.parseFile(file_or_filename: Union[str, pathlib.Path, typing.TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = False) -> pyparsing.results.ParseResults�h]�(jH)��}�(h�	parseFile�h]�h�	parseFile�����}�(hhhj	�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parseFile�hNubj')��}�(h��file_or_filename: Union[str, pathlib.Path, typing.TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = False�h]�j-)��}�(h��file_or_filename: Union[str, pathlib.Path, typing.TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = False�h]�h��file_or_filename: Union[str, pathlib.Path, typing.TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = False�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�hhhj�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubj�)��}�(h�pyparsing.results.ParseResults�h]�h�pyparsing.results.ParseResults�����}�(hhhj0�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.parseFile�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h��Execute 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]�h��Execute 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.�����}�(hjK�hjI�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjF�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jd�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.parseString() (pyparsing.ParserElement method)��#pyparsing.ParserElement.parseString�hNt�auh)h,hj\ghhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parseString�hNubj)��}�(hhh]�(j!)��}�(h�~ParserElement.parseString(instring: str, parse_all: bool = False, *, parseAll: bool = False) -> pyparsing.results.ParseResults�h]�(jH)��}�(h�parseString�h]�h�parseString�����}�(hhhj{�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)�DjGhjw�hhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parseString�hNubj')��}�(h�Ainstring: str, parse_all: bool = False, *, parseAll: bool = False�h]�(j-)��}�(h�
instring: str�h]�h�
instring: str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�parse_all: bool = False�h]�h�parse_all: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�parseAll: bool = False�h]�h�parseAll: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjw�hhhj��hNubj�)��}�(h�pyparsing.results.ParseResults�h]�h�pyparsing.results.ParseResults�����}�(hhhjˎhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjw�hhhj��hNubeh}�(h]�jq�ah!]�h#]�jq�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.parseString�uh)j hjt�hhhj��hNubjb)��}�(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.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjs�hKhj�hhubj�)��}�(hhh]�(j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hjs�hKubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(hhh]�hQ)��}�(h�*instring -- The input string to be parsed.�h]�(j�)��}�(h�instring�h]�h�instring�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj�ubh� – �����}�(hhhj�ubh�The input string to be parsed.�����}�(h�The input string to be parsed.�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj	�ubj�)��}�(hhh]�hQ)��}�(h�Dparse_all -- If set, the entire input string must match the grammar.�h]�(j�)��}�(h�	parse_all�h]�h�	parse_all�����}�(hhhj=�ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj9�ubh� – �����}�(hhhj9�ubh�7If set, the entire input string must match the grammar.�����}�(h�7If set, the entire input string must match the grammar.�hj9�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj6�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj	�ubj�)��}�(hhh]�hQ)��}�(h�UparseAll -- retained for pre-PEP8 compatibility, will be removed in a future release.�h]�(j�)��}�(h�parseAll�h]�h�parseAll�����}�(hhhjg�ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hjc�ubh� – �����}�(hhhjc�ubh�Iretained for pre-PEP8 compatibility, will be removed in a future release.�����}�(h�Iretained for pre-PEP8 compatibility, will be removed in a future release.�hjc�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��ubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj�ubj�)��}�(hhh]�(j�)��}�(h�Raises�h]�h�Raises�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hjs�hKubj�)��}�(hhh]�hQ)��}�(h�cParseException -- Raised if parse_all is set and the input string does not match the whole grammar.�h]�(h)��}�(hhh]�j�)��}�(h�ParseException�h]�h�ParseException�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��ubah}�(h]�h!]�h#]�h%]�h']��	refdomain��py��refexplicit���reftype��exc��	reftarget�j��j��uh)h~hj��ubh� – �����}�(hhhj��ubh�
Raised if �����}�(h�
Raised if �hj��hhhNhNubhj)��}�(h�
``parse_all``�h]�h�	parse_all�����}�(hhhjڏhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��hhhjs�hNubh�> 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�hj�ubj�)��}�(hhh]�(j�)��}�(h�Returns�h]�h�Returns�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hjs�hKubj�)��}�(hhh]�hQ)��}�(h��the 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]�(h�the parsed data as a �����}�(h�the parsed data as a �hj�hhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj�h]�h�ParseResults�����}�(hhhj �ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j*��refexplicit��h�jߎh�j1gh��ParseResults�h�h�h��uh)h~hjs�hKhj�hhubh�$ object, which may be accessed as a �����}�(h�$ object, which may be accessed as a �hj�hhhNhNubj�B)��}�(h�`list`�h]�h�list�����}�(hhhj?�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)j�Bhj�hhhjs�hNubh�, a �����}�(h�, a �hj�hhhNhNubj�B)��}�(h�`dict`�h]�h�dict�����}�(hhhjR�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)j�Bhj�hhhjs�hNubh�J, or
an object with attributes if the given parser includes results names.�����}�(h�J, or
an object with attributes if the given parser includes results names.�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�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jhj�hhhjs�hNubhQ)��}�(h��If 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, �hj}�hhhNhNubhj)��}�(h�
``parse_all``�h]�h�	parse_all�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj}�ubh� flag must be set to �����}�(h� flag must be set to �hj}�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj}�ubh�<. This
is also equivalent to ending the grammar with :class:�����}�(h�<. This
is also equivalent to ending the grammar with :class:�hj}�hhhNhNubjk)��}�(hjkh]�h�`�����}�(hhhj��ubah}�(h]��id6�ah!]�h#]�h%]�h']��refid��id5�uh)jkhj}�ubh�
StringEnd`().�����}�(h�
StringEnd`().�hj}�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjs�hKhj�hhubhQ)��}�(hX�To 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, �hjǐhhhNhNubhj)��}�(h�``parse_string``�h]�h�parse_string�����}�(hhhjАubah}�(h]�h!]�h#]�h%]�h']�uh)hihjǐubh�x operates on a copy of the input string where all tabs are
converted to spaces (8 spaces per tab, as per the default in �����}�(h�x operates on a copy of the input string where all tabs are
converted to spaces (8 spaces per tab, as per the default in �hjǐhhhNhNubhj)��}�(h�``string.expandtabs``�h]�h�string.expandtabs�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjǐubh�U). If the input string
contains tabs and the grammar uses parse actions that use the �����}�(h�U). If the input string
contains tabs and the grammar uses parse actions that use the �hjǐhhhNhNubhj)��}�(h�``loc``�h]�h�loc�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjǐubh�� 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:�hjǐhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjs�hKhj�hhubj�)��}�(hhh]�(j�)��}�(h�kcalling ``parse_with_tabs`` on your grammar before calling ``parse_string`` (see :class:`parse_with_tabs`),�h]�hQ)��}�(hj�h]�(h�calling �����}�(h�calling �hj�ubhj)��}�(h�``parse_with_tabs``�h]�h�parse_with_tabs�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�  on your grammar before calling �����}�(h�  on your grammar before calling �hj�ubhj)��}�(h�``parse_string``�h]�h�parse_string�����}�(hhhj1�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� (see �����}�(h� (see �hj�ubh)��}�(h�:class:`parse_with_tabs`�h]�hj)��}�(hjF�h]�h�parse_with_tabs�����}�(hhhjH�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjD�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jR��refexplicit��h�jߎh�j1gh��parse_with_tabs�h�h�h��uh)h~hjs�hKhj�ubh�),�����}�(h�),�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjs�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhjs�hNubj�)��}�(h��define your parse action using the full ``(s,loc,toks)`` signature, and reference the input string using the
parse action's ``s`` argument, or�h]�hQ)��}�(h��define your parse action using the full ``(s,loc,toks)`` signature, and reference the input string using the
parse action's ``s`` argument, or�h]�(h�(define your parse action using the full �����}�(h�(define your parse action using the full �hjw�ubhj)��}�(h�``(s,loc,toks)``�h]�h�(s,loc,toks)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjw�ubh�F signature, and reference the input string using the
parse action’s �����}�(h�D signature, and reference the input string using the
parse action's �hjw�ubhj)��}�(h�``s``�h]�h�s�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjw�ubh�
 argument, or�����}�(h�
 argument, or�hjw�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjs�hKhjs�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhjs�hNubj�)��}�(h�Qexplicitly expand the tabs in your input string before calling ``parse_string``.
�h]�hQ)��}�(h�Pexplicitly 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 �hj��ubhj)��}�(h�``parse_string``�h]�h�parse_string�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�.�����}�(hj�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjs�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhjs�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjs�hKhj�hhubhQ)��}�(h�	Examples:�h]�h�	Examples:�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjs�hKhj�hhubhQ)��}�(h�#By default, partial matches are OK.�h]�h�#By default, partial matches are OK.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjs�hKhj�hhubh�
doctest_block���)��}�(h�F>>> res = Word('a').parse_string('aaaaabaaa')
>>> print(res)
['aaaaa']�h]�h�F>>> res = Word('a').parse_string('aaaaabaaa')
>>> print(res)
['aaaaa']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j��hj�hhhjs�hKubhQ)��}�(h��The parsing behavior varies by the inheriting class of this abstract class. Please refer to the children
directly to see more examples.�h]�h��The parsing behavior varies by the inheriting class of this abstract class. Please refer to the children
directly to see more examples.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjs�hK hj�hhubhQ)��}�(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.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjs�hK#hj�hhubj�)��}�(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)�����}�(hhhj+�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j��hj�hhhjs�hK(ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjt�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[j̏j]�method�j_jE�j`�uh)jhhhj\ghjs�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�0parseWithTabs() (pyparsing.ParserElement method)��%pyparsing.ParserElement.parseWithTabs�hNt�auh)h,hj\ghhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parseWithTabs�hNubj)��}�(hhh]�(j!)��}�(h�=ParserElement.parseWithTabs() -> pyparsing.core.ParserElement�h]�(jH)��}�(h�
parseWithTabs�h]�h�
parseWithTabs�����}�(hhhj\�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjX�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parseWithTabs�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjX�hhhjj�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjt�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjX�hhhjj�hNubeh}�(h]�jR�ah!]�h#]�jR�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.parseWithTabs�uh)j hjU�hhhjj�hNubjb)��}�(hhh]�hQ)��}�(h��Overrides default behavior to expand ``<TAB>`` s to spaces before parsing the input string.
Must be called before ``parse_string`` when the input grammar contains elements that
match ``<TAB>`` characters.�h]�(h�%Overrides default behavior to expand �����}�(h�%Overrides default behavior to expand �hj��hhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�D s to spaces before parsing the input string.
Must be called before �����}�(h�D s to spaces before parsing the input string.
Must be called before �hj��hhhNhNubhj)��}�(h�``parse_string``�h]�h�parse_string�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�5 when the input grammar contains elements that
match �����}�(h�5 when the input grammar contains elements that
match �hj��hhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� characters.�����}�(h� characters.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjT�hKhj��hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjU�hhhjj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghjT�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-parse_file() (pyparsing.ParserElement method)��"pyparsing.ParserElement.parse_file�hNt�auh)h,hj\ghhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parse_file�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.parse_file(file_or_filename: Union[str, pathlib.Path, typing.TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = False) -> pyparsing.results.ParseResults�h]�(jH)��}�(h�
parse_file�h]�h�
parse_file�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parse_file�hNubj')��}�(h��file_or_filename: Union[str, pathlib.Path, typing.TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = False�h]�j-)��}�(h��file_or_filename: Union[str, pathlib.Path, typing.TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = False�h]�h��file_or_filename: Union[str, pathlib.Path, typing.TextIO], encoding: str = 'utf-8', parse_all: bool = False, *, parseAll: bool = False�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�hhhj�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj�hNubj�)��}�(h�pyparsing.results.ParseResults�h]�h�pyparsing.results.ParseResults�����}�(hhhj �hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.parse_file�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h��Execute 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]�h��Execute 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.�����}�(hj;�hj9�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj6�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jT�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/parse_string() (pyparsing.ParserElement method)��$pyparsing.ParserElement.parse_string�hNt�auh)h,hj\ghhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parse_string�hNubj)��}�(hhh]�(j!)��}�(h�ParserElement.parse_string(instring: str, parse_all: bool = False, *, parseAll: bool = False) -> pyparsing.results.ParseResults�h]�(jH)��}�(h�parse_string�h]�h�parse_string�����}�(hhhjk�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjg�hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parse_string�hNubj')��}�(h�Ainstring: str, parse_all: bool = False, *, parseAll: bool = False�h]�(j-)��}�(h�
instring: str�h]�h�
instring: str�����}�(hhhj~�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjz�ubj-)��}�(h�parse_all: bool = False�h]�h�parse_all: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjz�ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjz�ubj-)��}�(h�parseAll: bool = False�h]�h�parseAll: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjz�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjg�hhhjy�hNubj�)��}�(h�pyparsing.results.ParseResults�h]�h�pyparsing.results.ParseResults�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjg�hhhjy�hNubeh}�(h]�ja�ah!]�h#]�ja�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.parse_string�uh)j hjd�hhhjy�hNubjb)��}�(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.�����}�(hj֓hjԓhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhjѓhhubj�)��}�(hhh]�(j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hjc�hKubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(hhh]�hQ)��}�(h�*instring -- The input string to be parsed.�h]�(j�)��}�(h�instring�h]�h�instring�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj��ubh� – �����}�(hhhj��ubh�The input string to be parsed.�����}�(h�The input string to be parsed.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��ubj�)��}�(hhh]�hQ)��}�(h�Dparse_all -- If set, the entire input string must match the grammar.�h]�(j�)��}�(h�	parse_all�h]�h�	parse_all�����}�(hhhj-�ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj)�ubh� – �����}�(hhhj)�ubh�7If set, the entire input string must match the grammar.�����}�(h�7If set, the entire input string must match the grammar.�hj)�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj&�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��ubj�)��}�(hhh]�hQ)��}�(h�UparseAll -- retained for pre-PEP8 compatibility, will be removed in a future release.�h]�(j�)��}�(h�parseAll�h]�h�parseAll�����}�(hhhjW�ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hjS�ubh� – �����}�(hhhjS�ubh�Iretained for pre-PEP8 compatibility, will be removed in a future release.�����}�(h�Iretained for pre-PEP8 compatibility, will be removed in a future release.�hjS�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�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�ubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj�ubj�)��}�(hhh]�(j�)��}�(h�Raises�h]�h�Raises�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hjc�hKubj�)��}�(hhh]�hQ)��}�(h�cParseException -- Raised if parse_all is set and the input string does not match the whole grammar.�h]�(h)��}�(hhh]�j�)��}�(h�ParseException�h]�h�ParseException�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��ubah}�(h]�h!]�h#]�h%]�h']��	refdomain��py��refexplicit���reftype�jϏ�	reftarget�j��j��uh)h~hj��ubh� – �����}�(hhhj��ubh�
Raised if �����}�(h�
Raised if �hj��hhhNhNubhj)��}�(h�
``parse_all``�h]�h�	parse_all�����}�(hhhjɔhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��hhhjc�hNubh�> 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�hj�ubj�)��}�(hhh]�(j�)��}�(h�Returns�h]�h�Returns�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hjc�hKubj�)��}�(hhh]�hQ)��}�(h��the 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]�(h�the parsed data as a �����}�(h�the parsed data as a �hj�hhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj
�h]�h�ParseResults�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�jϓh�j1gh��ParseResults�h�h�h��uh)h~hjc�hKhj�hhubh�$ object, which may be accessed as a �����}�(h�$ object, which may be accessed as a �hj�hhhNhNubj�B)��}�(h�`list`�h]�h�list�����}�(hhhj.�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)j�Bhj�hhhjc�hNubh�, a �����}�(h�, a �hj�hhhNhNubj�B)��}�(h�`dict`�h]�h�dict�����}�(hhhjA�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)j�Bhj�hhhjc�hNubh�J, or
an object with attributes if the given parser includes results names.�����}�(h�J, or
an object with attributes if the given parser includes results names.�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�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jhjѓhhhjc�hNubhQ)��}�(h��If 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, �hjl�hhhNhNubhj)��}�(h�
``parse_all``�h]�h�	parse_all�����}�(hhhju�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjl�ubh� flag must be set to �����}�(h� flag must be set to �hjl�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjl�ubh�<. This
is also equivalent to ending the grammar with :class:�����}�(h�<. This
is also equivalent to ending the grammar with :class:�hjl�hhhNhNubjk)��}�(hjkh]�h�`�����}�(hhhj��ubah}�(h]��id8�ah!]�h#]�h%]�h']��refid��id7�uh)jkhjl�ubh�
StringEnd`().�����}�(h�
StringEnd`().�hjl�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhjѓhhubhQ)��}�(hX�To 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, �hj��hhhNhNubhj)��}�(h�``parse_string``�h]�h�parse_string�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�x operates on a copy of the input string where all tabs are
converted to spaces (8 spaces per tab, as per the default in �����}�(h�x operates on a copy of the input string where all tabs are
converted to spaces (8 spaces per tab, as per the default in �hj��hhhNhNubhj)��}�(h�``string.expandtabs``�h]�h�string.expandtabs�����}�(hhhjҕubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�U). If the input string
contains tabs and the grammar uses parse actions that use the �����}�(h�U). If the input string
contains tabs and the grammar uses parse actions that use the �hj��hhhNhNubhj)��}�(h�``loc``�h]�h�loc�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�� 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:�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhjѓhhubj�)��}�(hhh]�(j�)��}�(h�kcalling ``parse_with_tabs`` on your grammar before calling ``parse_string`` (see :class:`parse_with_tabs`),�h]�hQ)��}�(hj�h]�(h�calling �����}�(h�calling �hj�ubhj)��}�(h�``parse_with_tabs``�h]�h�parse_with_tabs�����}�(hhhj
�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�  on your grammar before calling �����}�(h�  on your grammar before calling �hj�ubhj)��}�(h�``parse_string``�h]�h�parse_string�����}�(hhhj �ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� (see �����}�(h� (see �hj�ubh)��}�(h�:class:`parse_with_tabs`�h]�hj)��}�(hj5�h]�h�parse_with_tabs�����}�(hhhj7�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj3�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jA��refexplicit��h�jϓh�j1gh��parse_with_tabs�h�h�h��uh)h~hjc�hKhj�ubh�),�����}�(h�),�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjc�hNubj�)��}�(h��define your parse action using the full ``(s,loc,toks)`` signature, and reference the input string using the
parse action's ``s`` argument, or�h]�hQ)��}�(h��define your parse action using the full ``(s,loc,toks)`` signature, and reference the input string using the
parse action's ``s`` argument, or�h]�(h�(define your parse action using the full �����}�(h�(define your parse action using the full �hjf�ubhj)��}�(h�``(s,loc,toks)``�h]�h�(s,loc,toks)�����}�(hhhjo�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjf�ubh�F signature, and reference the input string using the
parse action’s �����}�(h�D signature, and reference the input string using the
parse action's �hjf�ubhj)��}�(h�``s``�h]�h�s�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjf�ubh�
 argument, or�����}�(h�
 argument, or�hjf�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhjb�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjc�hNubj�)��}�(h�Qexplicitly expand the tabs in your input string before calling ``parse_string``.
�h]�hQ)��}�(h�Pexplicitly 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 �hj��ubhj)��}�(h�``parse_string``�h]�h�parse_string�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�.�����}�(hj�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjc�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjc�hKhjѓhhubhQ)��}�(h�	Examples:�h]�h�	Examples:�����}�(hjԖhjҖhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhjѓhhubhQ)��}�(h�#By default, partial matches are OK.�h]�h�#By default, partial matches are OK.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhjѓhhubj�)��}�(h�F>>> res = Word('a').parse_string('aaaaabaaa')
>>> print(res)
['aaaaa']�h]�h�F>>> res = Word('a').parse_string('aaaaabaaa')
>>> print(res)
['aaaaa']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j��hjѓhhhjc�hKubhQ)��}�(h��The parsing behavior varies by the inheriting class of this abstract class. Please refer to the children
directly to see more examples.�h]�h��The parsing behavior varies by the inheriting class of this abstract class. Please refer to the children
directly to see more examples.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hK hjѓhhubhQ)��}�(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.�����}�(hj�hj
�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hK#hjѓhhubj�)��}�(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)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j��hjѓhhhjc�hK(ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjd�hhhjy�hNubeh}�(h]�h!]�h#]�h%]�h']�j[j��j]�method�j_j2�j`�uh)jhhhj\ghjc�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�2parse_with_tabs() (pyparsing.ParserElement method)��'pyparsing.ParserElement.parse_with_tabs�hNt�auh)h,hj\ghhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parse_with_tabs�hNubj)��}�(hhh]�(j!)��}�(h�?ParserElement.parse_with_tabs() -> pyparsing.core.ParserElement�h]�(jH)��}�(h�parse_with_tabs�h]�h�parse_with_tabs�����}�(hhhjI�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjE�hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.parse_with_tabs�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjE�hhhjW�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhja�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjE�hhhjW�hNubeh}�(h]�j?�ah!]�h#]�j?�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.parse_with_tabs�uh)j hjB�hhhjW�hNubjb)��}�(hhh]�hQ)��}�(h��Overrides default behavior to expand ``<TAB>`` s to spaces before parsing the input string.
Must be called before ``parse_string`` when the input grammar contains elements that
match ``<TAB>`` characters.�h]�(h�%Overrides default behavior to expand �����}�(h�%Overrides default behavior to expand �hjz�hhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjz�ubh�D s to spaces before parsing the input string.
Must be called before �����}�(h�D s to spaces before parsing the input string.
Must be called before �hjz�hhhNhNubhj)��}�(h�``parse_string``�h]�h�parse_string�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjz�ubh�5 when the input grammar contains elements that
match �����}�(h�5 when the input grammar contains elements that
match �hjz�hhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjz�ubh� characters.�����}�(h� characters.�hjz�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjA�hKhjw�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjB�hhhjW�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jϗj`�uh)jhhhj\ghjA�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+runTests() (pyparsing.ParserElement method)�� pyparsing.ParserElement.runTests�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.runTests�hNubj)��}�(hhh]�(j!)��}�(hX�ParserElement.runTests(tests: Union[str, typing.List[str]], parse_all: bool = True, comment: Union[_ForwardRef('ParserElement'), str, NoneType] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Callable[[str, pyparsing.results.ParseResults], str] = None, file: Union[typing.TextIO, NoneType] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Callable[[str, pyparsing.results.ParseResults], str] = None) -> Tuple[bool, List[Tuple[str, Union[pyparsing.results.ParseResults, Exception]]]]�h]�(jH)��}�(h�runTests�h]�h�runTests�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.runTests�hNubj')��}�(hXtests: Union[str, typing.List[str]], parse_all: bool = True, comment: Union[_ForwardRef('ParserElement'), str, NoneType] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Callable[[str, pyparsing.results.ParseResults], str] = None, file: Union[typing.TextIO, NoneType] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Callable[[str, pyparsing.results.ParseResults], str] = None�h]�j-)��}�(hXtests: Union[str, typing.List[str]], parse_all: bool = True, comment: Union[_ForwardRef('ParserElement'), str, NoneType] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Callable[[str, pyparsing.results.ParseResults], str] = None, file: Union[typing.TextIO, NoneType] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Callable[[str, pyparsing.results.ParseResults], str] = None�h]�hXtests: Union[str, typing.List[str]], parse_all: bool = True, comment: Union[_ForwardRef('ParserElement'), str, NoneType] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Callable[[str, pyparsing.results.ParseResults], str] = None, file: Union[typing.TextIO, NoneType] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Callable[[str, pyparsing.results.ParseResults], str] = None�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��hhhj�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubj�)��}�(h�OTuple[bool, List[Tuple[str, Union[pyparsing.results.ParseResults, Exception]]]]�h]�h�OTuple[bool, List[Tuple[str, Union[pyparsing.results.ParseResults, Exception]]]]�����}�(hhhj
�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�jܗah!]�h#]�jܗah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.runTests�uh)j hjߗhhhj�hNubjb)��}�(hhh]�(hQ)��}�(h��Execute 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]�h��Execute 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)hPhjޗhKhj#�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 test�h]�(h�Parameters:
- �����}�(h�Parameters:
- �hj4�hhhNhNubhj)��}�(h�	``tests``�h]�h�tests�����}�(hhhj=�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj4�ubh�L - a list of separate test strings, or a multiline string of test strings
- �����}�(h�L - a list of separate test strings, or a multiline string of test strings
- �hj4�hhhNhNubhj)��}�(h�
``parse_all``�h]�h�	parse_all�����}�(hhhjP�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj4�ubh�
 - (default= �����}�(h�
 - (default= �hj4�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhjc�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj4�ubh�) - flag to pass to �����}�(h�) - flag to pass to �hj4�hhhNhNubh)��}�(h�:class:`parse_string`�h]�hj)��}�(hjx�h]�h�parse_string�����}�(hhhjz�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjv�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j!�h�j1gh��parse_string�h�h�h��uh)h~hjޗhKhj4�ubh� when running tests
- �����}�(h� when running tests
- �hj4�hhhNhNubhj)��}�(h�``comment``�h]�h�comment�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj4�ubh�
 - (default= �����}�(hjb�hj4�ubhj)��}�(h�``'#'``�h]�h�'#'�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj4�ubh�;) - expression for indicating embedded comments in the test�����}�(h�;) - expression for indicating embedded comments in the test�hj4�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhKhj#�hhubj�)��}�(hhh]�hQ)��}�(h�.string; pass None to disable comment filtering�h]�h�.string; pass None to disable comment filtering�����}�(hjɘhjǘubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhK	hjĘubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj#�hhhjޗhNubj�)��}�(hhh]�(j�)��}�(h��``full_dump`` - (default= ``True``) - dump results as list followed by results names in nested outline;
if False, only dump nested list�h]�hQ)��}�(h��``full_dump`` - (default= ``True``) - dump results as list followed by results names in nested outline;
if False, only dump nested list�h]�(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]�h�True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�e) - dump results as list followed by results names in nested outline;
if False, only dump nested list�����}�(h�e) - dump results as list followed by results names in nested outline;
if False, only dump nested list�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhK
hjޘubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjۘhhhjޗhNubj�)��}�(h�D``print_results`` - (default= ``True``) prints test output to stdout�h]�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]�h�True�����}�(hhhj2�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�) prints test output to stdout�����}�(h�) prints test output to stdout�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjۘhhhjޗhNubj�)��}�(h�^``failure_tests`` - (default= ``False``) indicates if these tests are expected to fail parsing�h]�hQ)��}�(hjS�h]�(hj)��}�(h�``failure_tests``�h]�h�
failure_tests�����}�(hhhjX�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjU�ubh�
 - (default= �����}�(h�
 - (default= �hjU�ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhjk�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjU�ubh�7) indicates if these tests are expected to fail parsing�����}�(h�7) indicates if these tests are expected to fail parsing�hjU�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhK
hjQ�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjۘhhhjޗhNubj�)��}�(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 output�h]�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 output�h]�(hj)��}�(h�``post_parse``�h]�h�
post_parse�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�
 - (default= �����}�(h�
 - (default= �hj��ubhj)��}�(h�``None``�h]�h�None�����}�(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��ubj�B)��}�(h� `fn(test_string, parse_results)`�h]�h�fn(test_string, parse_results)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�Bhj��ubh�4 and returns a string to be added to the test output�����}�(h�4 and returns a string to be added to the test output�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjۘhhhjޗhNubj�)��}�(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]�h�file�����}�(hhhjߙubah}�(h]�h!]�h#]�h%]�h']�uh)hihjۙubh�
 - (default= �����}�(h�
 - (default= �hjۙubhj)��}�(h�``None``�h]�h�None�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjۙubh�[) 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 �hjۙubhj)��}�(h�``sys.stdout``�h]�h�
sys.stdout�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjۙubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhKhjיubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjۘhhhjޗhNubj�)��}�(h�[``with_line_numbers`` - default= ``False``) show test strings with line and column numbers
�h]�hQ)��}�(h�Z``with_line_numbers`` - default= ``False``) show test strings with line and column numbers�h]�(hj)��}�(h�``with_line_numbers``�h]�h�with_line_numbers�����}�(hhhj'�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj#�ubh� - default= �����}�(h� - default= �hj#�ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj:�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj#�ubh�0) show test strings with line and column numbers�����}�(h�0) show test strings with line and column numbers�hj#�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjۘhhhjޗhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjޗhK
hj#�hhubhQ)��}�(h��Returns: 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 output�h]�(h�dReturns: a (success, results) tuple, where success indicates that all tests succeeded
(or failed if �����}�(h�dReturns: a (success, results) tuple, where success indicates that all tests succeeded
(or failed if �hj_�hhhNhNubhj)��}�(h�``failure_tests``�h]�h�
failure_tests�����}�(hhhjh�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj_�ubh�J is True), and the results contain a list of lines of each
test’s output�����}�(h�H is True), and the results contain a list of lines of each
test's output�hj_�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhKhj#�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhKhj#�hhubja)��}�(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!")�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM1
hj#�hhhjޗubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhK2hj#�hhubja)��}�(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�h]�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']�jpjquh)j`hMK
hj#�hhhjޗubhQ)��}�(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)hPhjޗhKWhj#�hhubja)��}�(h�Dexpr.run_tests(r"this is a test\n of strings that spans \n 3 lines")�h]�h�Dexpr.run_tests(r"this is a test\n of strings that spans \n 3 lines")�����}�(hhhjʚubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMq
hj#�hhhjޗubhQ)��}�(h�O(Note that this is a raw string literal, you must include the leading ``'r'``.)�h]�(h�F(Note that this is a raw string literal, you must include the leading �����}�(h�F(Note that this is a raw string literal, you must include the leading �hjؚhhhNhNubhj)��}�(h�``'r'``�h]�h�'r'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjؚubh�.)�����}�(h�.)�hjؚhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjޗhK\hj#�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjߗhhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghjޗhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�,run_tests() (pyparsing.ParserElement method)��!pyparsing.ParserElement.run_tests�hNt�auh)h,hj\ghhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.run_tests�hNubj)��}�(hhh]�(j!)��}�(hX�ParserElement.run_tests(tests: Union[str, typing.List[str]], parse_all: bool = True, comment: Union[_ForwardRef('ParserElement'), str, NoneType] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Callable[[str, pyparsing.results.ParseResults], str] = None, file: Union[typing.TextIO, NoneType] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Callable[[str, pyparsing.results.ParseResults], str] = None) -> Tuple[bool, List[Tuple[str, Union[pyparsing.results.ParseResults, Exception]]]]�h]�(jH)��}�(h�	run_tests�h]�h�	run_tests�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.run_tests�hNubj')��}�(hXtests: Union[str, typing.List[str]], parse_all: bool = True, comment: Union[_ForwardRef('ParserElement'), str, NoneType] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Callable[[str, pyparsing.results.ParseResults], str] = None, file: Union[typing.TextIO, NoneType] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Callable[[str, pyparsing.results.ParseResults], str] = None�h]�j-)��}�(hXtests: Union[str, typing.List[str]], parse_all: bool = True, comment: Union[_ForwardRef('ParserElement'), str, NoneType] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Callable[[str, pyparsing.results.ParseResults], str] = None, file: Union[typing.TextIO, NoneType] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Callable[[str, pyparsing.results.ParseResults], str] = None�h]�hXtests: Union[str, typing.List[str]], parse_all: bool = True, comment: Union[_ForwardRef('ParserElement'), str, NoneType] = '#', full_dump: bool = True, print_results: bool = True, failure_tests: bool = False, post_parse: Callable[[str, pyparsing.results.ParseResults], str] = None, file: Union[typing.TextIO, NoneType] = None, with_line_numbers: bool = False, *, parseAll: bool = True, fullDump: bool = True, printResults: bool = True, failureTests: bool = False, postParse: Callable[[str, pyparsing.results.ParseResults], str] = None�����}�(hhhj1�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj-�hhhj,�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj,�hNubj�)��}�(h�OTuple[bool, List[Tuple[str, Union[pyparsing.results.ParseResults, Exception]]]]�h]�h�OTuple[bool, List[Tuple[str, Union[pyparsing.results.ParseResults, Exception]]]]�����}�(hhhjE�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj,�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.run_tests�uh)j hj�hhhj,�hNubjb)��}�(hhh]�(hQ)��}�(h��Execute 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]�h��Execute 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)hPhj�hKhj[�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 test�h]�(h�Parameters:
- �����}�(h�Parameters:
- �hjl�hhhNhNubhj)��}�(h�	``tests``�h]�h�tests�����}�(hhhju�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjl�ubh�L - a list of separate test strings, or a multiline string of test strings
- �����}�(h�L - a list of separate test strings, or a multiline string of test strings
- �hjl�hhhNhNubhj)��}�(h�
``parse_all``�h]�h�	parse_all�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjl�ubh�
 - (default= �����}�(h�
 - (default= �hjl�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjl�ubh�) - flag to pass to �����}�(h�) - flag to pass to �hjl�hhhNhNubh)��}�(h�:class:`parse_string`�h]�hj)��}�(hj��h]�h�parse_string�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�jY�h�j1gh��parse_string�h�h�h��uh)h~hj�hKhjl�ubh� when running tests
- �����}�(h� when running tests
- �hjl�hhhNhNubhj)��}�(h�``comment``�h]�h�comment�����}�(hhhjћubah}�(h]�h!]�h#]�h%]�h']�uh)hihjl�ubh�
 - (default= �����}�(hj��hjl�ubhj)��}�(h�``'#'``�h]�h�'#'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjl�ubh�;) - expression for indicating embedded comments in the test�����}�(h�;) - expression for indicating embedded comments in the test�hjl�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj[�hhubj�)��}�(hhh]�hQ)��}�(h�.string; pass None to disable comment filtering�h]�h�.string; pass None to disable comment filtering�����}�(hj�hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK	hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj[�hhhj�hNubj�)��}�(hhh]�(j�)��}�(h��``full_dump`` - (default= ``True``) - dump results as list followed by results names in nested outline;
if False, only dump nested list�h]�hQ)��}�(h��``full_dump`` - (default= ``True``) - dump results as list followed by results names in nested outline;
if False, only dump nested list�h]�(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]�h�True�����}�(hhhj1�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�e) - dump results as list followed by results names in nested outline;
if False, only dump nested list�����}�(h�e) - dump results as list followed by results names in nested outline;
if False, only dump nested list�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubj�)��}�(h�D``print_results`` - (default= ``True``) prints test output to stdout�h]�hQ)��}�(hjR�h]�(hj)��}�(h�``print_results``�h]�h�
print_results�����}�(hhhjW�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjT�ubh�
 - (default= �����}�(h�
 - (default= �hjT�ubhj)��}�(h�``True``�h]�h�True�����}�(hhhjj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjT�ubh�) prints test output to stdout�����}�(h�) prints test output to stdout�hjT�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjP�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubj�)��}�(h�^``failure_tests`` - (default= ``False``) indicates if these tests are expected to fail parsing�h]�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]�h�False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�7) indicates if these tests are expected to fail parsing�����}�(h�7) indicates if these tests are expected to fail parsing�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubj�)��}�(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 output�h]�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 output�h]�(hj)��}�(h�``post_parse``�h]�h�
post_parse�����}�(hhhjʜubah}�(h]�h!]�h#]�h%]�h']�uh)hihjƜubh�
 - (default= �����}�(h�
 - (default= �hjƜubhj)��}�(h�``None``�h]�h�None�����}�(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Ɯubj�B)��}�(h� `fn(test_string, parse_results)`�h]�h�fn(test_string, parse_results)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�BhjƜubh�4 and returns a string to be added to the test output�����}�(h�4 and returns a string to be added to the test output�hjƜubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjœubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubj�)��}�(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]�h�file�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�
 - (default= �����}�(h�
 - (default= �hj�ubhj)��}�(h�``None``�h]�h�None�����}�(hhhj*�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�[) 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 �hj�ubhj)��}�(h�``sys.stdout``�h]�h�
sys.stdout�����}�(hhhj=�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubj�)��}�(h�[``with_line_numbers`` - default= ``False``) show test strings with line and column numbers
�h]�hQ)��}�(h�Z``with_line_numbers`` - default= ``False``) show test strings with line and column numbers�h]�(hj)��}�(h�``with_line_numbers``�h]�h�with_line_numbers�����}�(hhhj_�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj[�ubh� - default= �����}�(h� - default= �hj[�ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhjr�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj[�ubh�0) show test strings with line and column numbers�����}�(h�0) show test strings with line and column numbers�hj[�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjW�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hK
hj[�hhubhQ)��}�(h��Returns: 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 output�h]�(h�dReturns: a (success, results) tuple, where success indicates that all tests succeeded
(or failed if �����}�(h�dReturns: a (success, results) tuple, where success indicates that all tests succeeded
(or failed if �hj��hhhNhNubhj)��}�(h�``failure_tests``�h]�h�
failure_tests�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�J is True), and the results contain a list of lines of each
test’s output�����}�(h�H is True), and the results contain a list of lines of each
test's output�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj[�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj[�hhubja)��}�(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!")�����}�(hhhjȝubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�
hj[�hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj֝hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK2hj[�hhubja)��}�(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�h]�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']�jpjquh)j`hM�
hj[�hhhj�ubhQ)��}�(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)hPhj�hKWhj[�hhubja)��}�(h�Dexpr.run_tests(r"this is a test\n of strings that spans \n 3 lines")�h]�h�Dexpr.run_tests(r"this is a test\n of strings that spans \n 3 lines")�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�
hj[�hhhj�ubhQ)��}�(h�O(Note that this is a raw string literal, you must include the leading ``'r'``.)�h]�(h�F(Note that this is a raw string literal, you must include the leading �����}�(h�F(Note that this is a raw string literal, you must include the leading �hj�hhhNhNubhj)��}�(h�``'r'``�h]�h�'r'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�.)�����}�(h�.)�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK\hj[�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj,�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j?�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-scanString() (pyparsing.ParserElement method)��"pyparsing.ParserElement.scanString�hNt�auh)h,hj\ghhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.scanString�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.scanString(instring: str, max_matches: int = 9223372036854775807, overlap: bool = False, *, debug: bool = False, maxMatches: int = 9223372036854775807) -> Generator[[Tuple[pyparsing.results.ParseResults, int, int], NoneType], NoneType]�h]�(jH)��}�(h�
scanString�h]�h�
scanString�����}�(hhhjV�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjR�hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.scanString��hNubj')��}�(h��instring: str, max_matches: int = 9223372036854775807, overlap: bool = False, *, debug: bool = False, maxMatches: int = 9223372036854775807�h]�(j-)��}�(h�
instring: str�h]�h�
instring: str�����}�(hhhji�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hje�ubj-)��}�(h�&max_matches: int = 9223372036854775807�h]�h�&max_matches: int = 9223372036854775807�����}�(hhhjw�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hje�ubj-)��}�(h�overlap: bool = False�h]�h�overlap: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hje�ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hje�ubj-)��}�(h�debug: bool = False�h]�h�debug: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hje�ubj-)��}�(h�%maxMatches: int = 9223372036854775807�h]�h�%maxMatches: int = 9223372036854775807�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hje�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjR�hhhjd�hNubj�)��}�(h�PGenerator[[Tuple[pyparsing.results.ParseResults, int, int], NoneType], NoneType]�h]�h�PGenerator[[Tuple[pyparsing.results.ParseResults, int, int], NoneType], NoneType]�����}�(hhhjžhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjR�hhhjd�hNubeh}�(h]�jL�ah!]�h#]�jL�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.scanString�uh)j hjO�hhhjd�hNubjb)��}�(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]�(h��Scan the input string for expression matches.  Each match will return the
matching tokens, start location, and end location.  May be called with optional
�����}�(h��Scan 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۞ubh�A 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]�h�overlap�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj۞ubh�9 is specified, then overlapping matches will be reported.�����}�(h�9 is specified, then overlapping matches will be reported.�hj۞hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjN�hKhj؞hhubhQ)��}�(h��Note 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!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j'��refexplicit��h�j֞h�j1gh��parse_string�h�h�h��uh)h~hjN�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)hPhjN�hKhj؞hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjB�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjN�hK
hj؞hhubja)��}�(h��source = "sldjf123lsdjjkf345sldkjf879lkjsfd987"
print(source)
for tokens, start, end in Word(alphas).scan_string(source):
    print(' '*start + '^'*(end-start))
    print(' '*start + tokens[0])�h]�h��source = "sldjf123lsdjjkf345sldkjf879lkjsfd987"
print(source)
for tokens, start, end in Word(alphas).scan_string(source):
    print(' '*start + '^'*(end-start))
    print(' '*start + tokens[0])�����}�(hhhjQ�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�
hj؞hhhjN�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj_�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjN�hKhj؞hhubja)��}�(h��sldjf123lsdjjkf345sldkjf879lkjsfd987
^^^^^
sldjf
        ^^^^^^^
        lsdjjkf
                  ^^^^^^
                  sldkjf
                           ^^^^^^
                           lkjsfd�h]�h��sldjf123lsdjjkf345sldkjf879lkjsfd987
^^^^^
sldjf
        ^^^^^^^
        lsdjjkf
                  ^^^^^^
                  sldkjf
                           ^^^^^^
                           lkjsfd�����}�(hhhjn�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�
hj؞hhhjN�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjO�hhhjd�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj\ghjN�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.scan_string() (pyparsing.ParserElement method)��#pyparsing.ParserElement.scan_string�hNt�auh)h,hj\ghhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.scan_string�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.scan_string(instring: str, max_matches: int = 9223372036854775807, overlap: bool = False, *, debug: bool = False, maxMatches: int = 9223372036854775807) -> Generator[[Tuple[pyparsing.results.ParseResults, int, int], NoneType], NoneType]�h]�(jH)��}�(h�scan_string�h]�h�scan_string�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.scan_string�hNubj')��}�(h��instring: str, max_matches: int = 9223372036854775807, overlap: bool = False, *, debug: bool = False, maxMatches: int = 9223372036854775807�h]�(j-)��}�(h�
instring: str�h]�h�
instring: str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�&max_matches: int = 9223372036854775807�h]�h�&max_matches: int = 9223372036854775807�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�overlap: bool = False�h]�h�overlap: bool = False�����}�(hhhjϟubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhjݟubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�debug: bool = False�h]�h�debug: bool = False�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�%maxMatches: int = 9223372036854775807�h]�h�%maxMatches: int = 9223372036854775807�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�PGenerator[[Tuple[pyparsing.results.ParseResults, int, int], NoneType], NoneType]�h]�h�PGenerator[[Tuple[pyparsing.results.ParseResults, int, int], NoneType], NoneType]�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.scan_string�uh)j hj��hhhj��hNubjb)��}�(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]�(h��Scan the input string for expression matches.  Each match will return the
matching tokens, start location, and end location.  May be called with optional
�����}�(h��Scan 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%�ubh�A 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]�h�overlap�����}�(hhhjA�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj%�ubh�9 is specified, then overlapping matches will be reported.�����}�(h�9 is specified, then overlapping matches will be reported.�hj%�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj"�hhubhQ)��}�(h��Note 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 �hjZ�hhhNhNubh)��}�(h�:class:`parse_string`�h]�hj)��}�(hje�h]�h�parse_string�����}�(hhhjg�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjc�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jq��refexplicit��h�j �h�j1gh��parse_string�h�h�h��uh)h~hj��hKhjZ�ubh�< for more information on parsing
strings with embedded tabs.�����}�(h�< for more information on parsing
strings with embedded tabs.�hjZ�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj"�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK
hj"�hhubja)��}�(h��source = "sldjf123lsdjjkf345sldkjf879lkjsfd987"
print(source)
for tokens, start, end in Word(alphas).scan_string(source):
    print(' '*start + '^'*(end-start))
    print(' '*start + tokens[0])�h]�h��source = "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']�jpjquh)j`hMhj"�hhhj��ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj"�hhubja)��}�(h��sldjf123lsdjjkf345sldkjf879lkjsfd987
^^^^^
sldjf
        ^^^^^^^
        lsdjjkf
                  ^^^^^^
                  sldkjf
                           ^^^^^^
                           lkjsfd�h]�h��sldjf123lsdjjkf345sldkjf879lkjsfd987
^^^^^
sldjf
        ^^^^^^^
        lsdjjkf
                  ^^^^^^
                  sldkjf
                           ^^^^^^
                           lkjsfd�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj"�hhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jӠj`�uh)jhhhj\ghj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/searchString() (pyparsing.ParserElement method)��$pyparsing.ParserElement.searchString�hNt�auh)h,hj\ghhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.searchString�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.searchString(instring: str, max_matches: int = 9223372036854775807, *, debug: bool = False, maxMatches: int = 9223372036854775807) -> pyparsing.results.ParseResults�h]�(jH)��}�(h�searchString�h]�h�searchString�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.searchString�hNubj')��}�(h�tinstring: str, max_matches: int = 9223372036854775807, *, debug: bool = False, maxMatches: int = 9223372036854775807�h]�(j-)��}�(h�
instring: str�h]�h�
instring: str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�&max_matches: int = 9223372036854775807�h]�h�&max_matches: int = 9223372036854775807�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�debug: bool = False�h]�h�debug: bool = False�����}�(hhhj&�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�%maxMatches: int = 9223372036854775807�h]�h�%maxMatches: int = 9223372036854775807�����}�(hhhj4�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj��hNubj�)��}�(h�pyparsing.results.ParseResults�h]�h�pyparsing.results.ParseResults�����}�(hhhjH�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj��hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.searchString�uh)j hj�hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h��Another 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]�(h�Another extension to �����}�(h�Another extension to �hja�hhhNhNubh)��}�(h�:class:`scan_string`�h]�hj)��}�(hjl�h]�h�scan_string�����}�(hhhjn�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jx��refexplicit��h�j\�h�j1gh��scan_string�h�h�h��uh)h~hj�hKhja�ubh�o, simplifying the access to the tokens found
to match the given parse expression.  May be called with optional
�����}�(h�o, simplifying the access to the tokens found
to match the given parse expression.  May be called with optional
�hja�hhhNhNubhj)��}�(h�``max_matches``�h]�h�max_matches�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihja�ubh�= argument, to clip searching after ‘n’ matches are found.�����}�(h�9 argument, to clip searching after 'n' matches are found.�hja�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj^�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj^�hhubja)��}�(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']�jpjquh)j`hM"hj^�hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjáhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj^�hhubja)��}�(h�u[['More'], ['Iron'], ['Lead'], ['Gold'], ['I'], ['Electricity']]
['More', 'Iron', 'Lead', 'Gold', 'I', 'Electricity']�h]�h�u[['More'], ['Iron'], ['Lead'], ['Gold'], ['I'], ['Electricity']]
['More', 'Iron', 'Lead', 'Gold', 'I', 'Electricity']�����}�(hhhjҡubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM,hj^�hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�0search_string() (pyparsing.ParserElement method)��%pyparsing.ParserElement.search_string�hNt�auh)h,hj\ghhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.search_string�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.search_string(instring: str, max_matches: int = 9223372036854775807, *, debug: bool = False, maxMatches: int = 9223372036854775807) -> pyparsing.results.ParseResults�h]�(jH)��}�(h�
search_string�h]�h�
search_string�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.search_string�hNubj')��}�(h�tinstring: str, max_matches: int = 9223372036854775807, *, debug: bool = False, maxMatches: int = 9223372036854775807�h]�(j-)��}�(h�
instring: str�h]�h�
instring: str�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�&max_matches: int = 9223372036854775807�h]�h�&max_matches: int = 9223372036854775807�����}�(hhhj%�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hj@h]�h�*�����}�(hhhj3�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�debug: bool = False�h]�h�debug: bool = False�����}�(hhhj@�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�%maxMatches: int = 9223372036854775807�h]�h�%maxMatches: int = 9223372036854775807�����}�(hhhjN�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubj�)��}�(h�pyparsing.results.ParseResults�h]�h�pyparsing.results.ParseResults�����}�(hhhjb�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.search_string�uh)j hj��hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h��Another 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]�(h�Another extension to �����}�(h�Another extension to �hj{�hhhNhNubh)��}�(h�:class:`scan_string`�h]�hj)��}�(hj��h]�h�scan_string�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�jv�h�j1gh��scan_string�h�h�h��uh)h~hj��hKhj{�ubh�o, simplifying the access to the tokens found
to match the given parse expression.  May be called with optional
�����}�(h�o, 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.�����}�(h�9 argument, to clip searching after 'n' matches are found.�hj{�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjx�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjx�hhubja)��}�(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']�jpjquh)j`hM9hjx�hhhj��ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjݢhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjx�hhubja)��}�(h�u[['More'], ['Iron'], ['Lead'], ['Gold'], ['I'], ['Electricity']]
['More', 'Iron', 'Lead', 'Gold', 'I', 'Electricity']�h]�h�u[['More'], ['Iron'], ['Lead'], ['Gold'], ['I'], ['Electricity']]
['More', 'Iron', 'Lead', 'Gold', 'I', 'Electricity']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMChjx�hhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+setBreak() (pyparsing.ParserElement method)�� pyparsing.ParserElement.setBreak�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setBreak�hNubj)��}�(hhh]�(j!)��}�(h�OParserElement.setBreak(break_flag: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�setBreak�h]�h�setBreak�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setBreak�hNubj')��}�(h�break_flag: bool = True�h]�j-)��}�(h�break_flag: bool = True�h]�h�break_flag: bool = True�����}�(hhhj1�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj-�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj,�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjE�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj,�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.setBreak�uh)j hj�hhhj,�hNubjb)��}�(hhh]�hQ)��}�(h��Method 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]�(h�VMethod to invoke the Python pdb debugger when this element is
about to be parsed. Set �����}�(h�VMethod to invoke the Python pdb debugger when this element is
about to be parsed. Set �hj^�hhhNhNubhj)��}�(h�``break_flag``�h]�h�
break_flag�����}�(hhhjg�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj^�ubh� to �����}�(h� to �hj^�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhjz�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj^�ubh� to enable, �����}�(h� to enable, �hj^�hhhNhNubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj��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)jahj�hhhj,�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+setDebug() (pyparsing.ParserElement method)�� pyparsing.ParserElement.setDebug�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setDebug�hNubj)��}�(hhh]�(j!)��}�(h�IParserElement.setDebug(flag: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�setDebug�h]�h�setDebug�����}�(hhhjʣhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjƣhhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setDebug�hNubj')��}�(h�flag: bool = True�h]�j-)��}�(h�flag: bool = True�h]�h�flag: bool = True�����}�(hhhjݣubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj٣ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjƣhhhjأhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjƣhhhjأhNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.setDebug�uh)j hjãhhhjأhNubjb)��}�(hhh]�(hQ)��}�(h�|Enable display of debugging messages while doing pattern matching.
Set ``flag`` to ``True`` to enable, ``False`` to disable.�h]�(h�GEnable display of debugging messages while doing pattern matching.
Set �����}�(h�GEnable display of debugging messages while doing pattern matching.
Set �hj
�hhhNhNubhj)��}�(h�``flag``�h]�h�flag�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj
�ubh� to �����}�(h� to �hj
�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj&�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj
�ubh� to enable, �����}�(h� to enable, �hj
�hhhNhNubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj9�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj
�ubh� to disable.�����}�(h� to disable.�hj
�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj£hKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjR�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj£hKhj�hhubja)��}�(h��wd = 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]�h��wd = 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")�����}�(hhhja�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMWhj�hhhj£ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjo�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj£hKhj�hhubja)��}�(hX�Match 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]�hX�Match 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']�jpjquh)j`hMbhj�hhhj£ubhQ)��}�(hX�The 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 <exprname> at loc <n>(<line>,<col>)"``
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]�(h�mThe output shown is that produced by the default debug actions - custom debug actions can be
specified using �����}�(h�mThe 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]�h�set_debug_actions�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j�h�j1gh��set_debug_actions�h�h�h��uh)h~hj£hKhj��ubh�#. Prior to attempting
to match the �����}�(h�#. Prior to attempting
to match the �hj��hhhNhNubhj)��}�(h�``wd``�h]�h�wd�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�# expression, the debugging message �����}�(h�# expression, the debugging message �hj��hhhNhNubhj)��}�(h�/``"Match <exprname> at loc <n>(<line>,<col>)"``�h]�h�+"Match <exprname> at loc <n>(<line>,<col>)"�����}�(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]�h�set_name�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�j1gh��set_name�h�h�h��uh)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)��}�(hj)�h]�h�Word�����}�(hhhj+�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj'�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j5��refexplicit��h�j�h�j1gh��Word�h�h�h��uh)h~hj£hKhj��ubh� expression without calling �����}�(h� expression without calling �hj��hhhNhNubhj)��}�(h�``set_name``�h]�h�set_name�����}�(hhhjJ�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�.�����}�(hj�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj£hKhj�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjãhhhjأhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj\ghj£hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�2setDebugActions() (pyparsing.ParserElement method)��'pyparsing.ParserElement.setDebugActions�hNt�auh)h,hj\ghhhNhNubj)��}�(hhh]�(j!)��}�(hXiParserElement.setDebugActions(start_action: Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], success_action: Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], exception_action: Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType]) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�setDebugActions�h]�h�setDebugActions�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setDebugActions�hNubj')��}�(hX*start_action: Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], success_action: Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], exception_action: Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType]�h]�j-)��}�(hX*start_action: Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], success_action: Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], exception_action: Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType]�h]�hX*start_action: Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], success_action: Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], exception_action: Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType]�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��hhhj��hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.setDebugActions�uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�ECustomize display of debugging messages while doing pattern matching:�h]�h�ECustomize display of debugging messages while doing pattern matching:�����}�(hjڥhjإhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setDebugActions�hKhjեhhubj�)��}�(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�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�[ - 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 �hj�ubhj)��}�(h�T``fn(input_string: str, location: int, expression: ParserElement, cache_hit: bool)``�h]�h�Pfn(input_string: str, location: int, expression: ParserElement, cache_hit: bool)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubj�)��}�(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]�h�success_action�����}�(hhhj'�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj#�ubh�] - 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 �hj#�ubhj)��}�(h��``fn(input_string: str, start_location: int, end_location: int, expression: ParserELement, parsed_tokens: ParseResults, cache_hit: bool)``�h]�h��fn(input_string: str, start_location: int, end_location: int, expression: ParserELement, parsed_tokens: ParseResults, cache_hit: bool)�����}�(hhhj:�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj#�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubj�)��}�(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]�h�exception_action�����}�(hhhj\�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjX�ubh�Q - method to be called when expression fails to parse;
should have the signature �����}�(h�Q - method to be called when expression fails to parse;
should have the signature �hjX�ubhj)��}�(h�j``fn(input_string: str, location: int, expression: ParserElement, exception: Exception, cache_hit: bool)``�h]�h�ffn(input_string: str, location: int, expression: ParserElement, exception: Exception, cache_hit: bool)�����}�(hhhjo�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjX�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK	hjT�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hKhjեhhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj\ghNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�CsetDefaultWhitespaceChars() (pyparsing.ParserElement static method)��1pyparsing.ParserElement.setDefaultWhitespaceChars�hNt�auh)h,hj\ghhh�v/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setDefaultWhitespaceChars�hNubj)��}�(hhh]�(j!)��}�(h�;ParserElement.setDefaultWhitespaceChars(chars: str) -> None�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhh�v/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setDefaultWhitespaceChars�hNubjH)��}�(h�setDefaultWhitespaceChars�h]�h�setDefaultWhitespaceChars�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h�
chars: str�h]�j-)��}�(h�
chars: str�h]�h�
chars: str�����}�(hhhjӦubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjϦubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�None�h]�h�None�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�'ParserElement.setDefaultWhitespaceChars�uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�&Overrides the default whitespace chars�h]�h�&Overrides the default whitespace chars�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubja)��}�(hX<# default whitespace chars are space, <TAB> 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, <TAB> 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']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj��hhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j8�j`�uh)jhhhj\ghj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�0setFailAction() (pyparsing.ParserElement method)��%pyparsing.ParserElement.setFailAction�hNt�auh)h,hj\ghhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setFailAction�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.setFailAction(fn: Callable[[str, int, _ForwardRef('ParserElement'), Exception], NoneType]) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�
setFailAction�h]�h�
setFailAction�����}�(hhhjO�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjK�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setFailAction�hNubj')��}�(h�Kfn: Callable[[str, int, _ForwardRef('ParserElement'), Exception], NoneType]�h]�j-)��}�(h�Kfn: Callable[[str, int, _ForwardRef('ParserElement'), Exception], NoneType]�h]�h�Kfn: Callable[[str, int, _ForwardRef('ParserElement'), Exception], NoneType]�����}�(hhhjb�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^�hhhj]�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjK�hhhj]�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjv�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjK�hhhj]�hNubeh}�(h]�jE�ah!]�h#]�jE�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.setFailAction�uh)j hjH�hhhj]�hNubjb)��}�(hhh]�(hQ)��}�(h��Define 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
�hj��hhhNhNubhj)��}�(h�``fn(s, loc, expr, err)``�h]�h�fn(s, loc, expr, err)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� where:�����}�(h� where:�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjG�hKhj��hhubj�)��}�(hhh]�(j�)��}�(h�s = string being parsed�h]�hQ)��}�(hj��h]�h�s = string being parsed�����}�(hj��hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjG�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjG�hNubj�)��}�(h�>loc = location where expression match was attempted and failed�h]�hQ)��}�(hjͧh]�h�>loc = location where expression match was attempted and failed�����}�(hjͧhjϧubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjG�hKhj˧ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjG�hNubj�)��}�(h�'expr = the parse expression that failed�h]�hQ)��}�(hj�h]�h�'expr = the parse expression that failed�����}�(hj�hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjG�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjG�hNubj�)��}�(h�err = the exception thrown
�h]�hQ)��}�(h�err = the exception thrown�h]�h�err = the exception thrown�����}�(hj��hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjG�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjG�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjG�hKhj��hhubhQ)��}�(h�wThe 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�hhhNhNubh)��}�(h�:class:`ParseFatalException`�h]�hj)��}�(hj"�h]�h�ParseFatalException�����}�(hhhj$�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj �ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j.��refexplicit��h�j��h�j1gh��ParseFatalException�h�h�h��uh)h~hjG�hK
hj�ubh�.
if it is desired to stop parsing immediately.�����}�(h�.
if it is desired to stop parsing immediately.�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjG�hK
hj��hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjH�hhhj]�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jV�j`�uh)jhhhj\ghjG�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*setName() (pyparsing.ParserElement method)��pyparsing.ParserElement.setName�hNt�auh)h,hj\ghhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setName�hNubj)��}�(hhh]�(j!)��}�(h�@ParserElement.setName(name: str) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�setName�h]�h�setName�����}�(hhhjm�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhji�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setName�hNubj')��}�(h�	name: str�h]�j-)��}�(h�	name: str�h]�h�	name: str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj|�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hji�hhhj{�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hji�hhhj{�hNubeh}�(h]�jc�ah!]�h#]�jc�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.setName�uh)j hjf�hhhj{�hNubjb)��}�(hhh]�(hQ)��}�(h�ZDefine name for this expression, makes debugging and exception messages clearer.
Example::�h]�h�YDefine name for this expression, makes debugging and exception messages clearer.
Example:�����}�(h�YDefine name for this expression, makes debugging and exception messages clearer.
Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhje�hKhj��hhubja)��}�(h��Word(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]�h��Word(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)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj��hhhje�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjf�hhhj{�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jרj`�uh)jhhhj\ghje�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1setParseAction() (pyparsing.ParserElement method)��&pyparsing.ParserElement.setParseAction�hNt�auh)h,hj\ghhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setParseAction�hNubj)��}�(hhh]�(j!)��}�(h�LParserElement.setParseAction(*fns, **kwargs) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�setParseAction�h]�h�setParseAction�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setParseAction�hNubj')��}�(h�*fns, **kwargs�h]�(j-)��}�(h�*fns�h]�h�*fns�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�**kwargs�h]�h�**kwargs�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj��hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj#�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj��hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.setParseAction�uh)j hj�hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�ZDefine one or more actions to perform when successfully matching parse element definition.�h]�h�ZDefine one or more actions to perform when successfully matching parse element definition.�����}�(hj>�hj<�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj9�hhubhQ)��}�(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]�(h��Parse 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 �����}�(h��Parse 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 �hjJ�hhhNhNubhj)��}�(h�``fn``�h]�h�fn�����}�(hhhjS�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjJ�ubh�4 is a callable method with 0-3 arguments, called as
�����}�(h�4 is a callable method with 0-3 arguments, called as
�hjJ�hhhNhNubhj)��}�(h�``fn(s, loc, toks)``�h]�h�fn(s, loc, toks)�����}�(hhhjf�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjJ�ubh� , �����}�(h� , �hjJ�hhhNhNubhj)��}�(h�``fn(loc, toks)``�h]�h�
fn(loc, toks)�����}�(hhhjy�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjJ�ubh� , �����}�(hjx�hjJ�ubhj)��}�(h�``fn(toks)``�h]�h�fn(toks)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjJ�ubh� , or just �����}�(h� , or just �hjJ�hhhNhNubhj)��}�(h�``fn()``�h]�h�fn()�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjJ�ubh�	 , where:�����}�(h�	 , where:�hjJ�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj9�hhubj�)��}�(hhh]�(j�)��}�(h�7s   = the original string being parsed (see note below)�h]�hQ)��}�(hj��h]�h�7s   = the original string being parsed (see note below)�����}�(hj��hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubj�)��}�(h�,loc = the location of the matching substring�h]�hQ)��}�(hjөh]�h�,loc = the location of the matching substring�����}�(hjөhjթubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK	hjѩubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubj�)��}�(h�Ptoks = a list of the matched tokens, packaged as a :class:`ParseResults` object
�h]�hQ)��}�(h�Otoks = a list of the matched tokens, packaged as a :class:`ParseResults` object�h]�(h�3toks = a list of the matched tokens, packaged as a �����}�(h�3toks = a list of the matched tokens, packaged as a �hj�ubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj��h]�h�ParseResults�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j7�h�j1gh��ParseResults�h�h�h��uh)h~hj�hK
hj�ubh� object�����}�(h� object�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hKhj9�hhubhQ)��}�(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.�����}�(hj,�hj*�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj9�hhubhQ)��}�(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]�(h�IParse actions can also completely replace the given tokens, with another �����}�(h�IParse actions can also completely replace the given tokens, with another �hj8�hhhNhNubhj)��}�(h�``ParseResults``�h]�h�ParseResults�����}�(hhhjA�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj8�ubh��
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 �hj8�hhhNhNubh)��}�(h�:class:`ParseResults.from_dict`�h]�hj)��}�(hjV�h]�h�ParseResults.from_dict�����}�(hhhjX�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjT�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jb��refexplicit��h�j7�h�j1gh��ParseResults.from_dict�h�h�h��uh)h~hj�hKhj8�ubh�.�����}�(hj�hj8�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj9�hhubhQ)��}�(h�qIf None is passed as the ``fn`` parse action, all previously added parse actions for this
expression are cleared.�h]�(h�If None is passed as the �����}�(h�If None is passed as the �hj|�hhhNhNubhj)��}�(h�``fn``�h]�h�fn�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj|�ubh�R parse action, all previously added parse actions for this
expression are cleared.�����}�(h�R parse action, all previously added parse actions for this
expression are cleared.�hj|�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj9�hhubhQ)��}�(h�Optional keyword arguments:�h]�h�Optional keyword arguments:�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj9�hhubj�)��}�(hhh]�j�)��}�(hX�call_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)��}�(hX�call_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]�(h�call_during_try = (default= �����}�(h�call_during_try = (default= �hj��ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��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.�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubah}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hKhj9�hhubhQ)��}�(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 ``<TAB>`` 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]�(h�sNote: the default parsing behavior is to expand tabs in the input string
before starting the parsing process.  See �����}�(h�sNote: the default parsing behavior is to expand tabs in the input string
before starting the parsing process.  See �hj�hhhNhNubh)��}�(h�:class:`parse_string`�h]�hj)��}�(hj�h]�h�parse_string�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j7�h�j1gh��parse_string�h�h�h��uh)h~hj�hK#hj�ubh�4 for more
information on parsing strings containing �����}�(h�4 for more
information on parsing strings containing �hj�hhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhj
�ubah}�(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)hPhj�hK#hj9�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj&�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK)hj9�hhubja)��}�(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
    ''')�����}�(hhhj5�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj9�hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jP�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1setResultsName() (pyparsing.ParserElement method)��&pyparsing.ParserElement.setResultsName�hNt�auh)h,hj\ghhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setResultsName�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.setResultsName(name: str, list_all_matches: bool = False, *, listAllMatches: bool = False) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�setResultsName�h]�h�setResultsName�����}�(hhhjg�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjc�hhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setResultsName�hNubj')��}�(h�Jname: str, list_all_matches: bool = False, *, listAllMatches: bool = False�h]�(j-)��}�(h�	name: str�h]�h�	name: str�����}�(hhhjz�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjv�ubj-)��}�(h�list_all_matches: bool = False�h]�h�list_all_matches: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjv�ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjv�ubj-)��}�(h�listAllMatches: bool = False�h]�h�listAllMatches: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjv�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjc�hhhju�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjc�hhhju�hNubeh}�(h]�j]�ah!]�h#]�j]�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.setResultsName�uh)j hj`�hhhju�hNubjb)��}�(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.�����}�(hjҫhjЫhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj_�hKhjͫ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]�(h��Normally, 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 �����}�(h��Normally, 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ޫhhhNhNubhj)��}�(h�``set_results_name``�h]�h�set_results_name�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjޫubh�
with �����}�(h�
with �hjޫhhhNhNubhj)��}�(h�``list_all_matches``�h]�h�list_all_matches�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjޫubh� = True.�����}�(h� = True.�hjޫhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj_�hKhjͫhhubhQ)��}�(h��NOTE: ``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]�(h�NOTE: �����}�(h�NOTE: �hj�hhhNhNubhj)��}�(h�``set_results_name``�h]�h�set_results_name�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� returns a �����}�(h� returns a �hj�hhhNhNubjp)��}�(h�*copy*�h]�h�copy�����}�(hhhj/�ubah}�(h]�h!]�h#]�h%]�h']�uh)johj�ubh� of the original �����}�(h� of the original �hj�hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjD�h]�h�
ParserElement�����}�(hhhjF�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjB�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jP��refexplicit��h�j˫h�j1gh��
ParserElement�h�h�h��uh)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	hjͫhhubhQ)��}�(h��You 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,
�hjk�hhhNhNubhj)��}�(h�``expr("name")``�h]�h�expr("name")�����}�(hhhjt�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjk�ubh�
 in place of �����}�(h�
 in place of �hjk�hhhNhNubhj)��}�(h�!``expr.set_results_name("name")``�h]�h�expr.set_results_name("name")�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjk�ubh�
- see �����}�(h�
- see �hjk�hhhNhNubh)��}�(h�:class:`__call__`�h]�hj)��}�(hj��h]�h�__call__�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j˫h�j1gh��__call__�h�h�h��uh)h~hj_�hK
hjk�ubh�. If �����}�(h�. If �hjk�hhhNhNubhj)��}�(h�``list_all_matches``�h]�h�list_all_matches�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjk�ubh� is required, use
�����}�(h� is required, use
�hjk�hhhNhNubhj)��}�(h�``expr("name*")``�h]�h�
expr("name*")�����}�(hhhjЬubah}�(h]�h!]���h#]�h%]�h']�uh)hihjk�ubh�.�����}�(hj�hjk�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj_�hK
hjͫhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj_�hKhjͫhhubja)��}�(h��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")�h]�h��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")�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhjͫhhhj_�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj`�hhhju�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghj_�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�5setWhitespaceChars() (pyparsing.ParserElement method)��*pyparsing.ParserElement.setWhitespaceChars�hNt�auh)h,hj\ghhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setWhitespaceChars�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.setWhitespaceChars(chars: Union[typing.Set[str], str], copy_defaults: bool = False) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�setWhitespaceChars�h]�h�setWhitespaceChars�����}�(hhhj)�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj%�hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.setWhitespaceChars�hNubj')��}�(h�?chars: Union[typing.Set[str], str], copy_defaults: bool = False�h]�j-)��}�(h�?chars: Union[typing.Set[str], str], copy_defaults: bool = False�h]�h�?chars: Union[typing.Set[str], str], copy_defaults: bool = False�����}�(hhhj<�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj8�hhhj7�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj%�hhhj7�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjP�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj%�hhhj7�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`� ParserElement.setWhitespaceChars�uh)j hj"�hhhj7�hNubjb)��}�(hhh]�hQ)��}�(h�&Overrides the default whitespace chars�h]�h�&Overrides the default whitespace chars�����}�(hjk�hji�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj!�hKhjf�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj"�hhhj7�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj\ghj!�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�,set_break() (pyparsing.ParserElement method)��!pyparsing.ParserElement.set_break�hNt�auh)h,hj\ghhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_break�hNubj)��}�(hhh]�(j!)��}�(h�PParserElement.set_break(break_flag: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�	set_break�h]�h�	set_break�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_break�hNubj')��}�(h�break_flag: bool = True�h]�j-)��}�(h�break_flag: bool = True�h]�h�break_flag: bool = True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj­hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.set_break�uh)j hj��hhhj��hNubjb)��}�(hhh]�hQ)��}�(h��Method 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]�(h�VMethod to invoke the Python pdb debugger when this element is
about to be parsed. Set �����}�(h�VMethod 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]�h�True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjۭubh� to enable, �����}�(h� to enable, �hjۭhhhNhNubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj
�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)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j0�j`�uh)jhhhj\ghj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�,set_debug() (pyparsing.ParserElement method)��!pyparsing.ParserElement.set_debug�hNt�auh)h,hj\ghhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_debug�hNubj)��}�(hhh]�(j!)��}�(h�JParserElement.set_debug(flag: bool = True) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�	set_debug�h]�h�	set_debug�����}�(hhhjG�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjC�hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_debug�hNubj')��}�(h�flag: bool = True�h]�j-)��}�(h�flag: bool = True�h]�h�flag: bool = True�����}�(hhhjZ�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjV�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjC�hhhjU�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjn�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjC�hhhjU�hNubeh}�(h]�j=�ah!]�h#]�j=�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.set_debug�uh)j hj@�hhhjU�hNubjb)��}�(hhh]�(hQ)��}�(h�|Enable display of debugging messages while doing pattern matching.
Set ``flag`` to ``True`` to enable, ``False`` to disable.�h]�(h�GEnable display of debugging messages while doing pattern matching.
Set �����}�(h�GEnable display of debugging messages while doing pattern matching.
Set �hj��hhhNhNubhj)��}�(h�``flag``�h]�h�flag�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� to �����}�(h� to �hj��hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� to enable, �����}�(h� to enable, �hj��hhhNhNubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� to disable.�����}�(h� to disable.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj?�hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjϮhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj?�hKhj��hhubja)��}�(h��wd = 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]�h��wd = 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']�jpjquh)j`hM.hj��hhhj?�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj?�hKhj��hhubja)��}�(hX�Match 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]�hX�Match 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']�jpjquh)j`hM9hj��hhhj?�ubhQ)��}�(hX�The 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 <exprname> at loc <n>(<line>,<col>)"``
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]�(h�mThe output shown is that produced by the default debug actions - custom debug actions can be
specified using �����}�(h�mThe 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]�h�set_debug_actions�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j ��refexplicit��h�j��h�j1gh��set_debug_actions�h�h�h��uh)h~hj?�hKhj	�ubh�#. Prior to attempting
to match the �����}�(h�#. Prior to attempting
to match the �hj	�hhhNhNubhj)��}�(h�``wd``�h]�h�wd�����}�(hhhj5�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj	�ubh�# expression, the debugging message �����}�(h�# expression, the debugging message �hj	�hhhNhNubhj)��}�(h�/``"Match <exprname> at loc <n>(<line>,<col>)"``�h]�h�+"Match <exprname> at loc <n>(<line>,<col>)"�����}�(hhhjH�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"�����}�(hhhjn�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]�h�set_name�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j1gh��set_name�h�h�h��uh)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)��}�(hj��h]�h�Word�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j1gh��Word�h�h�h��uh)h~hj?�hKhj	�ubh� expression without calling �����}�(h� expression without calling �hj	�hhhNhNubhj)��}�(h�``set_name``�h]�h�set_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�.�����}�(hj�hj	�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj?�hKhj��hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj@�hhhjU�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj\ghj?�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�4set_debug_actions() (pyparsing.ParserElement method)��)pyparsing.ParserElement.set_debug_actions�hNt�auh)h,hj\ghhhNhNubj)��}�(hhh]�(j!)��}�(hXkParserElement.set_debug_actions(start_action: Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], success_action: Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], exception_action: Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType]) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�set_debug_actions�h]�h�set_debug_actions�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_debug_actions�hNubj')��}�(hX*start_action: Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], success_action: Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], exception_action: Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType]�h]�j-)��}�(hX*start_action: Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], success_action: Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], exception_action: Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType]�h]�hX*start_action: Callable[[str, int, _ForwardRef('ParserElement'), bool], NoneType], success_action: Callable[[str, int, int, _ForwardRef('ParserElement'), pyparsing.results.ParseResults, bool], NoneType], exception_action: Callable[[str, int, _ForwardRef('ParserElement'), Exception, bool], NoneType]�����}�(hhhj(�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj$�hhhj#�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj#�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj<�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj#�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.set_debug_actions�uh)j hj�hhhj#�hNubjb)��}�(hhh]�(hQ)��}�(h�ECustomize display of debugging messages while doing pattern matching:�h]�h�ECustomize display of debugging messages while doing pattern matching:�����}�(hjW�hjU�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_debug_actions�hKhjR�hhubj�)��}�(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�����}�(hhhjo�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjk�ubh�[ - 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 �hjk�ubhj)��}�(h�T``fn(input_string: str, location: int, expression: ParserElement, cache_hit: bool)``�h]�h�Pfn(input_string: str, location: int, expression: ParserElement, cache_hit: bool)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjk�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhjg�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjd�hhhjc�hNubj�)��}�(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]�h�success_action�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�] - 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 �hj��ubhj)��}�(h��``fn(input_string: str, start_location: int, end_location: int, expression: ParserELement, parsed_tokens: ParseResults, cache_hit: bool)``�h]�h��fn(input_string: str, start_location: int, end_location: int, expression: ParserELement, parsed_tokens: ParseResults, cache_hit: bool)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjd�hhhjc�hNubj�)��}�(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]�h�exception_action�����}�(hhhjٰubah}�(h]�h!]�h#]�h%]�h']�uh)hihjհubh�Q - method to be called when expression fails to parse;
should have the signature �����}�(h�Q - method to be called when expression fails to parse;
should have the signature �hjհubhj)��}�(h�j``fn(input_string: str, location: int, expression: ParserElement, exception: Exception, cache_hit: bool)``�h]�h�ffn(input_string: str, location: int, expression: ParserElement, exception: Exception, cache_hit: bool)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjհubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hK	hjѰubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjd�hhhjc�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjc�hKhjR�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj#�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Fset_default_whitespace_chars() (pyparsing.ParserElement static method)��4pyparsing.ParserElement.set_default_whitespace_chars�hNt�auh)h,hj\ghhh�y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_default_whitespace_chars�hNubj)��}�(hhh]�(j!)��}�(h�>ParserElement.set_default_whitespace_chars(chars: str) -> None�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj0�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj,�hhh�y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_default_whitespace_chars�hNubjH)��}�(h�set_default_whitespace_chars�h]�h�set_default_whitespace_chars�����}�(hhhj>�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj,�hhhj=�hNubj')��}�(h�
chars: str�h]�j-)��}�(h�
chars: str�h]�h�
chars: str�����}�(hhhjP�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjL�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj,�hhhj=�hNubj�)��}�(h�None�h]�h�None�����}�(hhhjd�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj,�hhhj=�hNubeh}�(h]�j&�ah!]�h#]�j&�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�*ParserElement.set_default_whitespace_chars�uh)j hj)�hhhj=�hNubjb)��}�(hhh]�(hQ)��}�(h�&Overrides the default whitespace chars�h]�h�&Overrides the default whitespace chars�����}�(hj�hj}�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj(�hKhjz�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj(�hKhjz�hhubja)��}�(hX<# default whitespace chars are space, <TAB> 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, <TAB> 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']�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMchjz�hhhj(�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj)�hhhj=�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j��j`�uh)jhhhj\ghj(�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�2set_fail_action() (pyparsing.ParserElement method)��'pyparsing.ParserElement.set_fail_action�hNt�auh)h,hj\ghhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_fail_action�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.set_fail_action(fn: Callable[[str, int, _ForwardRef('ParserElement'), Exception], NoneType]) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�set_fail_action�h]�h�set_fail_action�����}�(hhhj̱hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjȱhhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_fail_action�hNubj')��}�(h�Kfn: Callable[[str, int, _ForwardRef('ParserElement'), Exception], NoneType]�h]�j-)��}�(h�Kfn: Callable[[str, int, _ForwardRef('ParserElement'), Exception], NoneType]�h]�h�Kfn: Callable[[str, int, _ForwardRef('ParserElement'), Exception], NoneType]�����}�(hhhj߱hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj۱hhhjڱhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjȱhhhjڱhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjȱhhhjڱhNubeh}�(h]�j±ah!]�h#]�j±ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.set_fail_action�uh)j hjűhhhjڱhNubjb)��}�(hhh]�(hQ)��}�(h��Define 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
�hj�hhhNhNubhj)��}�(h�``fn(s, loc, expr, err)``�h]�h�fn(s, loc, expr, err)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� where:�����}�(h� where:�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjıhKhj	�hhubj�)��}�(hhh]�(j�)��}�(h�s = string being parsed�h]�hQ)��}�(hj3�h]�h�s = string being parsed�����}�(hj3�hj5�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjıhKhj1�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj.�hhhjıhNubj�)��}�(h�>loc = location where expression match was attempted and failed�h]�hQ)��}�(hjJ�h]�h�>loc = location where expression match was attempted and failed�����}�(hjJ�hjL�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjıhKhjH�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj.�hhhjıhNubj�)��}�(h�'expr = the parse expression that failed�h]�hQ)��}�(hja�h]�h�'expr = the parse expression that failed�����}�(hja�hjc�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjıhKhj_�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj.�hhhjıhNubj�)��}�(h�err = the exception thrown
�h]�hQ)��}�(h�err = the exception thrown�h]�h�err = the exception thrown�����}�(hj|�hjz�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjıhKhjv�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj.�hhhjıhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjıhKhj	�hhubhQ)��}�(h�wThe 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��hhhNhNubh)��}�(h�:class:`ParseFatalException`�h]�hj)��}�(hj��h]�h�ParseFatalException�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j�h�j1gh��ParseFatalException�h�h�h��uh)h~hjıhK
hj��ubh�.
if it is desired to stop parsing immediately.�����}�(h�.
if it is desired to stop parsing immediately.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjıhK
hj	�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjűhhhjڱhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jӲj`�uh)jhhhj\ghjıhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+set_name() (pyparsing.ParserElement method)�� pyparsing.ParserElement.set_name�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_name�hNubj)��}�(hhh]�(j!)��}�(h�AParserElement.set_name(name: str) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�set_name�h]�h�set_name�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_name�hNubj')��}�(h�	name: str�h]�j-)��}�(h�	name: str�h]�h�	name: str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj��hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj��hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.set_name�uh)j hj�hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�ZDefine name for this expression, makes debugging and exception messages clearer.
Example::�h]�h�YDefine name for this expression, makes debugging and exception messages clearer.
Example:�����}�(h�YDefine name for this expression, makes debugging and exception messages clearer.
Example:�hj*�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj'�hhubja)��}�(h��Word(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]�h��Word(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)�����}�(hhhj9�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj'�hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jT�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3set_parse_action() (pyparsing.ParserElement method)��(pyparsing.ParserElement.set_parse_action�hNt�auh)h,hj\ghhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_parse_action�hNubj)��}�(hhh]�(j!)��}�(h�NParserElement.set_parse_action(*fns, **kwargs) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�set_parse_action�h]�h�set_parse_action�����}�(hhhjk�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjg�hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_parse_action�hNubj')��}�(h�*fns, **kwargs�h]�(j-)��}�(h�*fns�h]�h�*fns�����}�(hhhj~�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjz�ubj-)��}�(h�**kwargs�h]�h�**kwargs�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjz�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjg�hhhjy�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjg�hhhjy�hNubeh}�(h]�ja�ah!]�h#]�ja�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.set_parse_action�uh)j hjd�hhhjy�hNubjb)��}�(hhh]�(hQ)��}�(h�ZDefine one or more actions to perform when successfully matching parse element definition.�h]�h�ZDefine one or more actions to perform when successfully matching parse element definition.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj��hhubhQ)��}�(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]�(h��Parse 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 �����}�(h��Parse 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 �hjdzhhhNhNubhj)��}�(h�``fn``�h]�h�fn�����}�(hhhjгubah}�(h]�h!]�h#]�h%]�h']�uh)hihjdzubh�4 is a callable method with 0-3 arguments, called as
�����}�(h�4 is a callable method with 0-3 arguments, called as
�hjdzhhhNhNubhj)��}�(h�``fn(s, loc, toks)``�h]�h�fn(s, loc, toks)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjdzubh� , �����}�(h� , �hjdzhhhNhNubhj)��}�(h�``fn(loc, toks)``�h]�h�
fn(loc, toks)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjdzubh� , �����}�(hj��hjdzubhj)��}�(h�``fn(toks)``�h]�h�fn(toks)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjdzubh� , or just �����}�(h� , or just �hjdzhhhNhNubhj)��}�(h�``fn()``�h]�h�fn()�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjdzubh�	 , where:�����}�(h�	 , where:�hjdzhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj��hhubj�)��}�(hhh]�(j�)��}�(h�7s   = the original string being parsed (see note below)�h]�hQ)��}�(hj9�h]�h�7s   = the original string being parsed (see note below)�����}�(hj9�hj;�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj7�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj4�hhhjc�hNubj�)��}�(h�,loc = the location of the matching substring�h]�hQ)��}�(hjP�h]�h�,loc = the location of the matching substring�����}�(hjP�hjR�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hK	hjN�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj4�hhhjc�hNubj�)��}�(h�Ptoks = a list of the matched tokens, packaged as a :class:`ParseResults` object
�h]�hQ)��}�(h�Otoks = a list of the matched tokens, packaged as a :class:`ParseResults` object�h]�(h�3toks = a list of the matched tokens, packaged as a �����}�(h�3toks = a list of the matched tokens, packaged as a �hji�ubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hjt�h]�h�ParseResults�����}�(hhhjv�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjr�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j1gh��ParseResults�h�h�h��uh)h~hjc�hK
hji�ubh� object�����}�(h� object�hji�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hK
hje�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj4�hhhjc�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjc�hKhj��hhubhQ)��}�(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.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj��hhubhQ)��}�(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]�(h�IParse actions can also completely replace the given tokens, with another �����}�(h�IParse actions can also completely replace the given tokens, with another �hj��hhhNhNubhj)��}�(h�``ParseResults``�h]�h�ParseResults�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh��
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 �hj��hhhNhNubh)��}�(h�:class:`ParseResults.from_dict`�h]�hj)��}�(hjӴh]�h�ParseResults.from_dict�����}�(hhhjմubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjѴubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jߴ�refexplicit��h�j��h�j1gh��ParseResults.from_dict�h�h�h��uh)h~hjc�hKhj��ubh�.�����}�(hj�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj��hhubhQ)��}�(h�qIf None is passed as the ``fn`` parse action, all previously added parse actions for this
expression are cleared.�h]�(h�If None is passed as the �����}�(h�If None is passed as the �hj��hhhNhNubhj)��}�(h�``fn``�h]�h�fn�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�R parse action, all previously added parse actions for this
expression are cleared.�����}�(h�R parse action, all previously added parse actions for this
expression are cleared.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj��hhubhQ)��}�(h�Optional keyword arguments:�h]�h�Optional keyword arguments:�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj��hhubj�)��}�(hhh]�j�)��}�(hX�call_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)��}�(hX�call_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]�(h�call_during_try = (default= �����}�(h�call_during_try = (default= �hj0�ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj9�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj0�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.�hj0�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hKhj,�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj)�hhhjc�hNubah}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjc�hKhj��hhubhQ)��}�(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 ``<TAB>`` 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]�(h�sNote: the default parsing behavior is to expand tabs in the input string
before starting the parsing process.  See �����}�(h�sNote: the default parsing behavior is to expand tabs in the input string
before starting the parsing process.  See �hj^�hhhNhNubh)��}�(h�:class:`parse_string`�h]�hj)��}�(hji�h]�h�parse_string�����}�(hhhjk�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjg�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�ju��refexplicit��h�j��h�j1gh��parse_string�h�h�h��uh)h~hjc�hK#hj^�ubh�4 for more
information on parsing strings containing �����}�(h�4 for more
information on parsing strings containing �hj^�hhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhj��ubah}�(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)hPhjc�hK#hj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjc�hK)hj��hhubja)��}�(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']�jpjquh)j`hM�hj��hhhjc�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjd�hhhjy�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j͵j`�uh)jhhhj\ghjc�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3set_results_name() (pyparsing.ParserElement method)��(pyparsing.ParserElement.set_results_name�hNt�auh)h,hj\ghhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_results_name�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.set_results_name(name: str, list_all_matches: bool = False, *, listAllMatches: bool = False) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�set_results_name�h]�h�set_results_name�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_results_name�hNubj')��}�(h�Jname: str, list_all_matches: bool = False, *, listAllMatches: bool = False�h]�(j-)��}�(h�	name: str�h]�h�	name: str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�list_all_matches: bool = False�h]�h�list_all_matches: bool = False�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hj@h]�h�*�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�listAllMatches: bool = False�h]�h�listAllMatches: bool = False�����}�(hhhj �ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj4�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�jڵah!]�h#]�jڵah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.set_results_name�uh)j hjݵhhhj�hNubjb)��}�(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.�����}�(hjO�hjM�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjܵhKhjJ�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]�(h��Normally, 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 �����}�(h��Normally, 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[�hhhNhNubhj)��}�(h�``set_results_name``�h]�h�set_results_name�����}�(hhhjd�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj[�ubh�
with �����}�(h�
with �hj[�hhhNhNubhj)��}�(h�``list_all_matches``�h]�h�list_all_matches�����}�(hhhjw�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj[�ubh� = True.�����}�(h� = True.�hj[�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjܵhKhjJ�hhubhQ)��}�(h��NOTE: ``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]�(h�NOTE: �����}�(h�NOTE: �hj��hhhNhNubhj)��}�(h�``set_results_name``�h]�h�set_results_name�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� returns a �����}�(h� returns a �hj��hhhNhNubjp)��}�(h�*copy*�h]�h�copy�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)johj��ubh� of the original �����}�(h� of the original �hj��hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj��h]�h�
ParserElement�����}�(hhhjöubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jͶ�refexplicit��h�jH�h�j1gh��
ParserElement�h�h�h��uh)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	hjJ�hhubhQ)��}�(h��You 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]�h�expr.set_results_name("name")�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�
- see �����}�(h�
- see �hj�hhhNhNubh)��}�(h�:class:`__call__`�h]�hj)��}�(hj�h]�h�__call__�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j%��refexplicit��h�jH�h�j1gh��__call__�h�h�h��uh)h~hjܵhK
hj�ubh�. If �����}�(h�. If �hj�hhhNhNubhj)��}�(h�``list_all_matches``�h]�h�list_all_matches�����}�(hhhj:�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*")�����}�(hhhjM�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�.�����}�(hj�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjܵhK
hjJ�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hje�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjܵhKhjJ�hhubja)��}�(h��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")�h]�h��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")�����}�(hhhjt�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjJ�hhhjܵubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjݵhhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj\ghjܵhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�7set_whitespace_chars() (pyparsing.ParserElement method)��,pyparsing.ParserElement.set_whitespace_chars�hNt�auh)h,hj\ghhh�q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_whitespace_chars�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.set_whitespace_chars(chars: Union[typing.Set[str], str], copy_defaults: bool = False) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�set_whitespace_chars�h]�h�set_whitespace_chars�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.set_whitespace_chars�hNubj')��}�(h�?chars: Union[typing.Set[str], str], copy_defaults: bool = False�h]�j-)��}�(h�?chars: Union[typing.Set[str], str], copy_defaults: bool = False�h]�h�?chars: Union[typing.Set[str], str], copy_defaults: bool = False�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��hhhj��hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjͷhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�"ParserElement.set_whitespace_chars�uh)j hj��hhhj��hNubjb)��}�(hhh]�hQ)��}�(h�&Overrides the default whitespace chars�h]�h�&Overrides the default whitespace chars�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(split() (pyparsing.ParserElement method)��pyparsing.ParserElement.split�hNt�auh)h,hj\ghhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.split�hNubj)��}�(hhh]�(j!)��}�(h��ParserElement.split(instring: str, maxsplit: int = 9223372036854775807, include_separators: bool = False, *, includeSeparators=False) -> Generator[[str, NoneType], NoneType]�h]�(jH)��}�(h�split�h]�h�split�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.split�hNubj')��}�(h�pinstring: str, maxsplit: int = 9223372036854775807, include_separators: bool = False, *, includeSeparators=False�h]�(j-)��}�(h�
instring: str�h]�h�
instring: str�����}�(hhhj+�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj'�ubj-)��}�(h�#maxsplit: int = 9223372036854775807�h]�h�#maxsplit: int = 9223372036854775807�����}�(hhhj9�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj'�ubj-)��}�(h� include_separators: bool = False�h]�h� include_separators: bool = False�����}�(hhhjG�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj'�ubj-)��}�(hj@h]�h�*�����}�(hhhjU�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj'�ubj-)��}�(h�includeSeparators=False�h]�h�includeSeparators=False�����}�(hhhjb�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj'�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj&�hNubj�)��}�(h�$Generator[[str, NoneType], NoneType]�h]�h�$Generator[[str, NoneType], NoneType]�����}�(hhhjv�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj&�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.split�uh)j hj�hhhj&�hNubjb)��}�(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]�(h�jGenerator method to split a string using the given expression as a separator.
May be called with optional �����}�(h�jGenerator method to split a string using the given expression as a separator.
May be called with optional �hj��hhhNhNubhj)��}�(h�``maxsplit``�h]�h�maxsplit�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�; argument, to limit the number of splits;
and the optional �����}�(h�; argument, to limit the number of splits;
and the optional �hj��hhhNhNubhj)��}�(h�``include_separators``�h]�h�include_separators�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� argument (default= �����}�(h� argument (default= �hj��hhhNhNubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�K), if the separating
matching text should be included in the split results.�����}�(h�K), if the separating
matching text should be included in the split results.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj׸hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubja)��}�(h�kpunc = one_of(list(".,;:/-!?"))
print(list(punc.split("This, this?, this sentence, is badly punctuated!")))�h]�h�kpunc = one_of(list(".,;:/-!?"))
print(list(punc.split("This, this?, this sentence, is badly punctuated!")))�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj��hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubja)��}�(h�C['This', ' this', '', ' this sentence', ' is badly punctuated', '']�h]�h�C['This', ' this', '', ' this sentence', ' is badly punctuated', '']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM
hj��hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj&�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+suppress() (pyparsing.ParserElement method)�� pyparsing.ParserElement.suppress�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.suppress�hNubj)��}�(hhh]�(j!)��}�(h�8ParserElement.suppress() -> pyparsing.core.ParserElement�h]�(jH)��}�(h�suppress�h]�h�suppress�����}�(hhhj5�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj1�hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.suppress�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj1�hhhjC�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjM�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj1�hhhjC�hNubeh}�(h]�j+�ah!]�h#]�j+�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.suppress�uh)j hj.�hhhjC�hNubjb)��}�(hhh]�hQ)��}�(h�tSuppresses the output of this :class:`ParserElement`; useful to keep punctuation from
cluttering up returned output.�h]�(h�Suppresses the output of this �����}�(h�Suppresses the output of this �hjf�hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hjq�h]�h�
ParserElement�����}�(hhhjs�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjo�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j}��refexplicit��h�ja�h�j1gh��
ParserElement�h�h�h��uh)h~hj-�hKhjf�ubh�@; useful to keep punctuation from
cluttering up returned output.�����}�(h�@; useful to keep punctuation from
cluttering up returned output.�hjf�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj-�hKhjc�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj.�hhhjC�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj\ghj-�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3suppress_warning() (pyparsing.ParserElement method)��(pyparsing.ParserElement.suppress_warning�hNt�auh)h,hj\ghhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.suppress_warning�hNubj)��}�(hhh]�(j!)��}�(h�hParserElement.suppress_warning(warning_type: pyparsing.core.Diagnostics) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�suppress_warning�h]�h�suppress_warning�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.suppress_warning�hNubj')��}�(h�(warning_type: pyparsing.core.Diagnostics�h]�j-)��}�(h�(warning_type: pyparsing.core.Diagnostics�h]�h�(warning_type: pyparsing.core.Diagnostics�����}�(hhhjϹubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj˹ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhjʹhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhjʹhNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.suppress_warning�uh)j hj��hhhjʹhNubjb)��}�(hhh]�(hQ)��}�(h�ISuppress warnings emitted for a particular diagnostic on this expression.�h]�h�ISuppress warnings emitted for a particular diagnostic on this expression.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj
�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubja)��}�(h��base = 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]�h��base = 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"))�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM
hj��hhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhjʹhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j4�j`�uh)jhhhj\ghj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�2transformString() (pyparsing.ParserElement method)��'pyparsing.ParserElement.transformString�hNt�auh)h,hj\ghhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.transformString�hNubj)��}�(hhh]�(j!)��}�(h�KParserElement.transformString(instring: str, *, debug: bool = False) -> str�h]�(jH)��}�(h�transformString�h]�h�transformString�����}�(hhhjK�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjG�hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.transformString�hNubj')��}�(h�%instring: str, *, debug: bool = False�h]�(j-)��}�(h�
instring: str�h]�h�
instring: str�����}�(hhhj^�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjZ�ubj-)��}�(hj@h]�h�*�����}�(hhhjl�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjZ�ubj-)��}�(h�debug: bool = False�h]�h�debug: bool = False�����}�(hhhjy�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjZ�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjG�hhhjY�hNubj�)��}�(h�str�h]�h�str�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjG�hhhjY�hNubeh}�(h]�jA�ah!]�h#]�jA�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.transformString�uh)j hjD�hhhjY�hNubjb)��}�(hhh]�(hQ)��}�(hX�Extension 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 �hj��hhhNhNubh)��}�(h�:class:`scan_string`�h]�hj)��}�(hj��h]�h�scan_string�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j1gh��scan_string�h�h�h��uh)h~hjC�hKhj��ubh�a, to modify matching text with modified tokens that may
be returned from a parse action.  To use �����}�(h�a, to modify matching text with modified tokens that may
be returned from a parse action.  To use �hj��hhhNhNubhj)��}�(h�``transform_string``�h]�h�transform_string�����}�(hhhjҺubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�c, define a grammar and
attach a parse action to it that modifies the returned token list.
Invoking �����}�(h�c, define a grammar and
attach a parse action to it that modifies the returned token list.
Invoking �hj��hhhNhNubhj)��}�(h�``transform_string()``�h]�h�transform_string()�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��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.  �hj��hhhNhNubhj)��}�(h�``transform_string()``�h]�h�transform_string()�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�* returns the resulting transformed string.�����}�(h�* returns the resulting transformed string.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjC�hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjC�hKhj��hhubja)��}�(h��wd = 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]�h��wd = 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']�jpjquh)j`hM)
hj��hhhjC�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj.�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjC�hKhj��hhubja)��}�(h�MNow Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York.�h]�h�MNow Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York.�����}�(hhhj=�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM0
hj��hhhjC�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjD�hhhjY�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jX�j`�uh)jhhhj\ghjC�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3transform_string() (pyparsing.ParserElement method)��(pyparsing.ParserElement.transform_string�hNt�auh)h,hj\ghhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.transform_string�hNubj)��}�(hhh]�(j!)��}�(h�LParserElement.transform_string(instring: str, *, debug: bool = False) -> str�h]�(jH)��}�(h�transform_string�h]�h�transform_string�����}�(hhhjo�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjk�hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.transform_string�hNubj')��}�(h�%instring: str, *, debug: bool = False�h]�(j-)��}�(h�
instring: str�h]�h�
instring: str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj~�ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj~�ubj-)��}�(h�debug: bool = False�h]�h�debug: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj~�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjk�hhhj}�hNubj�)��}�(h�str�h]�h�str�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjk�hhhj}�hNubeh}�(h]�je�ah!]�h#]�je�ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.transform_string�uh)j hjh�hhhj}�hNubjb)��}�(hhh]�(hQ)��}�(hX�Extension 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 �hjʻhhhNhNubh)��}�(h�:class:`scan_string`�h]�hj)��}�(hjջh]�h�scan_string�����}�(hhhj׻ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjӻubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�jŻh�j1gh��scan_string�h�h�h��uh)h~hjg�hKhjʻubh�a, to modify matching text with modified tokens that may
be returned from a parse action.  To use �����}�(h�a, to modify matching text with modified tokens that may
be returned from a parse action.  To use �hjʻhhhNhNubhj)��}�(h�``transform_string``�h]�h�transform_string�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjʻubh�c, define a grammar and
attach a parse action to it that modifies the returned token list.
Invoking �����}�(h�c, define a grammar and
attach a parse action to it that modifies the returned token list.
Invoking �hjʻhhhNhNubhj)��}�(h�``transform_string()``�h]�h�transform_string()�����}�(hhhj	�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjʻ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.  �hjʻhhhNhNubhj)��}�(h�``transform_string()``�h]�h�transform_string()�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjʻubh�* returns the resulting transformed string.�����}�(h�* returns the resulting transformed string.�hjʻhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjg�hKhjǻhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj5�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjg�hKhjǻhhubja)��}�(h��wd = 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]�h��wd = 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."))�����}�(hhhjD�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM?
hjǻhhhjg�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjR�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjg�hKhjǻhhubja)��}�(h�MNow Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York.�h]�h�MNow Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York.�����}�(hhhja�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMF
hjǻhhhjg�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjh�hhhj}�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j|�j`�uh)jhhhj\ghjg�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+validate() (pyparsing.ParserElement method)�� pyparsing.ParserElement.validate�hNt�auh)h,hj\ghhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.validate�hNubj)��}�(hhh]�(j!)��}�(h�2ParserElement.validate(validateTrace=None) -> None�h]�(jH)��}�(h�validate�h]�h�validate�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ParserElement.validate�hNubj')��}�(h�validateTrace=None�h]�j-)��}�(h�validateTrace=None�h]�h�validateTrace=None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�None�h]�h�None�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1gj`�ParserElement.validate�uh)j hj��hhhj��hNubjb)��}�(hhh]�hQ)��}�(h�XCheck defined expressions for valid structure, check for infinite recursive definitions.�h]�h�XCheck 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)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj\ghj��hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjghhhj ghNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j��j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�"PositionToken (class in pyparsing)��pyparsing.PositionToken�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�PositionToken()�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.PositionToken�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj!�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj �hNubjH)��}�(h�
PositionToken�h]�h�
PositionToken�����}�(hhhj/�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj �hNubeh}�(h]�j	�ah!]�h#]�j	�ah%]�h']�j\�j]�	pyparsing�j_hj`j1�uh)j hj�hhhj �hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hjG�hhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hjR�h]�h�pyparsing.core.Token�����}�(hhhjT�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjP�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j^��refexplicit��h�jC�h�j1�h��pyparsing.core.Token�h�h�h��uh)h~h�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.PositionToken�hKhjG�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjn�hKhjD�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+__init__() (pyparsing.PositionToken method)�� pyparsing.PositionToken.__init__�hNt�auh)h,hjD�hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.PositionToken.__init__�hNubj)��}�(hhh]�(j!)��}�(h�PositionToken.__init__()�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.PositionToken.__init__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j1�j`�PositionToken.__init__�uh)j hj��hhhj��hNubjb)��}�(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)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jɽj`�uh)jhhhjD�hj��hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj �hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j׽j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�!QuotedString (class in pyparsing)��pyparsing.QuotedString�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(hX�QuotedString(quote_char: str = '', esc_char: Union[str, NoneType] = None, esc_quote: Union[str, NoneType] = None, multiline: bool = False, unquote_results: bool = True, end_quote_char: Union[str, NoneType] = None, convert_whitespace_escapes: bool = True, *, quoteChar: str = '', escChar: Union[str, NoneType] = None, escQuote: Union[str, NoneType] = None, unquoteResults: bool = True, endQuoteChar: Union[str, NoneType] = None, convertWhitespaceEscapes: bool = True)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.QuotedString�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj��hNubjH)��}�(h�QuotedString�h]�h�QuotedString�����}�(hhhj
�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj��hNubj')��}�(hX�quote_char: str = '', esc_char: Union[str, NoneType] = None, esc_quote: Union[str, NoneType] = None, multiline: bool = False, unquote_results: bool = True, end_quote_char: Union[str, NoneType] = None, convert_whitespace_escapes: bool = True, *, quoteChar: str = '', escChar: Union[str, NoneType] = None, escQuote: Union[str, NoneType] = None, unquoteResults: bool = True, endQuoteChar: Union[str, NoneType] = None, convertWhitespaceEscapes: bool = True�h]�(j-)��}�(h�quote_char: str = ''�h]�h�quote_char: str = ''�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�esc_char: Union[str�h]�h�esc_char: Union[str�����}�(hhhj*�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj8�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�esc_quote: Union[str�h]�h�esc_quote: Union[str�����}�(hhhjF�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjT�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�multiline: bool = False�h]�h�multiline: bool = False�����}�(hhhjb�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�unquote_results: bool = True�h]�h�unquote_results: bool = True�����}�(hhhjp�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�end_quote_char: Union[str�h]�h�end_quote_char: Union[str�����}�(hhhj~�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�'convert_whitespace_escapes: bool = True�h]�h�'convert_whitespace_escapes: bool = True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�quoteChar: str = ''�h]�h�quoteChar: str = ''�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�escChar: Union[str�h]�h�escChar: Union[str�����}�(hhhjþubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjѾubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�escQuote: Union[str�h]�h�escQuote: Union[str�����}�(hhhj߾ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�unquoteResults: bool = True�h]�h�unquoteResults: bool = True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�endQuoteChar: Union[str�h]�h�endQuoteChar: Union[str�����}�(hhhj	�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�%convertWhitespaceEscapes: bool = True�h]�h�%convertWhitespaceEscapes: bool = True�����}�(hhhj%�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj��hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj�hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hjC�hhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hjN�h]�h�pyparsing.core.Token�����}�(hhhjP�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjL�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jZ��refexplicit��h�j?�h�j�h��pyparsing.core.Token�h�h�h��uh)h~h�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.QuotedString�hKhjC�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjj�hKhj@�hhubhQ)��}�(h�DToken for matching strings that are delimited by quoting characters.�h]�h�DToken for matching strings that are delimited by quoting characters.�����}�(hjs�hjq�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.QuotedString�hKhj@�hhubhQ)��}�(h�&Defined with the following parameters:�h]�h�&Defined with the following parameters:�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj@�hhubj�)��}�(hhh]�(j�)��}�(h�V``quote_char`` - string of one or more characters defining the
quote delimiting string�h]�hQ)��}�(h�V``quote_char`` - string of one or more characters defining the
quote delimiting string�h]�(hj)��}�(h�``quote_char``�h]�h�
quote_char�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�H - string of one or more characters defining the
quote delimiting string�����}�(h�H - string of one or more characters defining the
quote delimiting string�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubj�)��}�(h�U``esc_char`` - character to re_escape quotes, typically backslash
(default= ``None``)�h]�hQ)��}�(h�U``esc_char`` - character to re_escape quotes, typically backslash
(default= ``None``)�h]�(hj)��}�(h�``esc_char``�h]�h�esc_char�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�@ - character to re_escape quotes, typically backslash
(default= �����}�(h�@ - character to re_escape quotes, typically backslash
(default= �hj��ubhj)��}�(h�``None``�h]�h�None�����}�(hhhjӿubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�)�����}�(hj~Thj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubj�)��}�(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��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�Q - special quote sequence to re_escape an embedded quote
string (such as SQL’s �����}�(h�O - special quote sequence to re_escape an embedded quote
string (such as SQL's �hj��ubhj)��}�(h�``""``�h]�h�""�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� to re_escape an embedded �����}�(h� to re_escape an embedded �hj��ubhj)��}�(h�``"``�h]�h�"�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�)
(default= �����}�(h�)
(default= �hj��ubhj)��}�(h�``None``�h]�h�None�����}�(hhhj2�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�)�����}�(hj~Thj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK	hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubj�)��}�(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�����}�(hhhjX�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjT�ubh�G - boolean indicating whether quotes can span
multiple lines (default= �����}�(h�G - boolean indicating whether quotes can span
multiple lines (default= �hjT�ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhjk�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjT�ubh�)�����}�(hj~ThjT�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjP�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubj�)��}�(h�h``unquote_results`` - boolean indicating whether the matched text
should be unquoted (default= ``True``)�h]�hQ)��}�(h�h``unquote_results`` - boolean indicating whether the matched text
should be unquoted (default= ``True``)�h]�(hj)��}�(h�``unquote_results``�h]�h�unquote_results�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�L - boolean indicating whether the matched text
should be unquoted (default= �����}�(h�L - boolean indicating whether the matched text
should be unquoted (default= �hj��ubhj)��}�(h�``True``�h]�h�True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�)�����}�(hj~Thj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubj�)��}�(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]�h�end_quote_char�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�] - 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= �hj�ubhj)��}�(h�``None``�h]�h�None�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�  => same as
quote_char)�����}�(h�  => same as
quote_char)�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubj�)��}�(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]�h�convert_whitespace_escapes�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� - convert escaped whitespace
(�����}�(h� - convert escaped whitespace
(�hj�ubhj)��}�(h�``'\t'``�h]�h�'\t'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�, �����}�(h�, �hj�ubhj)��}�(h�``'\n'``�h]�h�'\n'�����}�(hhhj*�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�', etc.) to actual whitespace
(default= �����}�(h�', etc.) to actual whitespace
(default= �hj�ubhj)��}�(h�``True``�h]�h�True�����}�(hhhj=�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�)�����}�(hj~Thj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hKhj@�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hja�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj@�hhubja)��}�(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'))�����}�(hhhjp�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMx
hj@�hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj~�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK hj@�hhubja)��}�(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']]�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�
hj@�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.QuotedString.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*__init__() (pyparsing.QuotedString method)��pyparsing.QuotedString.__init__�hNt�auh)h,hj@�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.QuotedString.__init__�hNubj)��}�(hhh]�(j!)��}�(hX�QuotedString.__init__(quote_char: str = '', esc_char: Union[str, NoneType] = None, esc_quote: Union[str, NoneType] = None, multiline: bool = False, unquote_results: bool = True, end_quote_char: Union[str, NoneType] = None, convert_whitespace_escapes: bool = True, *, quoteChar: str = '', escChar: Union[str, NoneType] = None, escQuote: Union[str, NoneType] = None, unquoteResults: bool = True, endQuoteChar: Union[str, NoneType] = None, convertWhitespaceEscapes: bool = True)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.QuotedString.__init__�hNubj')��}�(hX�quote_char: str = '', esc_char: Union[str, NoneType] = None, esc_quote: Union[str, NoneType] = None, multiline: bool = False, unquote_results: bool = True, end_quote_char: Union[str, NoneType] = None, convert_whitespace_escapes: bool = True, *, quoteChar: str = '', escChar: Union[str, NoneType] = None, escQuote: Union[str, NoneType] = None, unquoteResults: bool = True, endQuoteChar: Union[str, NoneType] = None, convertWhitespaceEscapes: bool = True�h]�(j-)��}�(h�quote_char: str = ''�h]�h�quote_char: str = ''�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�esc_char: Union[str�h]�h�esc_char: Union[str�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�esc_quote: Union[str�h]�h�esc_quote: Union[str�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�multiline: bool = False�h]�h�multiline: bool = False�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�unquote_results: bool = True�h]�h�unquote_results: bool = True�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�end_quote_char: Union[str�h]�h�end_quote_char: Union[str�����}�(hhhj'�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj5�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�'convert_whitespace_escapes: bool = True�h]�h�'convert_whitespace_escapes: bool = True�����}�(hhhjC�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhjQ�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�quoteChar: str = ''�h]�h�quoteChar: str = ''�����}�(hhhj^�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�escChar: Union[str�h]�h�escChar: Union[str�����}�(hhhjl�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjz�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�escQuote: Union[str�h]�h�escQuote: Union[str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�unquoteResults: bool = True�h]�h�unquoteResults: bool = True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�endQuoteChar: Union[str�h]�h�endQuoteChar: Union[str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�%convertWhitespaceEscapes: bool = True�h]�h�%convertWhitespaceEscapes: bool = True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j�j`�QuotedString.__init__�uh)j hj��hhhj��hNubjb)��}�(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)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj@�hj��hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�RecursiveGrammarException��#pyparsing.RecursiveGrammarException�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�+RecursiveGrammarException(parseElementList)�h]�(j')��}�(h�
exception �h]�h�
exception �����}�(hhhj,�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj(�hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj;�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj(�hhhj:�hNubjH)��}�(hj"�h]�h�RecursiveGrammarException�����}�(hhhjI�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj(�hhhj:�hNubj')��}�(h�parseElementList�h]�j-)��}�(h�parseElementList�h]�h�parseElementList�����}�(hhhjZ�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjV�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj(�hhhj:�hNubeh}�(h]�j#�ah!]�h#]�j#�ah%]�h']�j\�j]�	pyparsing�j_hj`j"�uh)j hj%�hhhj:�hNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`Exception`�h]�(h�Bases: �����}�(h�Bases: �hjx�hhhNhNubh)��}�(h�:class:`Exception`�h]�hj)��}�(hj��h]�h�	Exception�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�jt�h�j"�h��	Exception�h�h�h��uh)h~h�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException�hKhjx�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhju�hhubhQ)��}�(h��Exception 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<ParserElement.enable_left_recursion>`�h]�(h�Exception thrown by �����}�(h�Exception thrown by �hj��hhhNhNubh)��}�(h�:class:`ParserElement.validate`�h]�hj)��}�(hj��h]�h�ParserElement.validate�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�jt�h�j"�h��ParserElement.validate�h�h�h��uh)h~h�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException�hKhj��ubh�X if the
grammar could be left-recursive; parser may need to enable
left recursion using �����}�(h�X if the
grammar could be left-recursive; parser may need to enable
left recursion using �hj��hhhNhNubh)��}�(h�Q:class:`ParserElement.enable_left_recursion<ParserElement.enable_left_recursion>`�h]�hj)��}�(hj��h]�h�#ParserElement.enable_left_recursion�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�jt�h�j"�h��#ParserElement.enable_left_recursion�h�h�h��uh)h~hj��hKhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhju�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�7__init__() (pyparsing.RecursiveGrammarException method)��,pyparsing.RecursiveGrammarException.__init__�hNt�auh)h,hju�hhh�w/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException.__init__�hNubj)��}�(hhh]�(j!)��}�(h�4RecursiveGrammarException.__init__(parseElementList)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj
�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj	�hhh�w/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException.__init__�hNubj')��}�(h�parseElementList�h]�j-)��}�(h�parseElementList�h]�h�parseElementList�����}�(hhhj �ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj	�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j"�j`�"RecursiveGrammarException.__init__�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hjA�hj?�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj<�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jZ�j`�uh)jhhhju�hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�6__str__() (pyparsing.RecursiveGrammarException method)��+pyparsing.RecursiveGrammarException.__str__�hNt�auh)h,hju�hhh�v/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException.__str__�hNubj)��}�(hhh]�(j!)��}�(h�*RecursiveGrammarException.__str__() -> str�h]�(jH)��}�(h�__str__�h]�h�__str__�����}�(hhhjq�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjm�hhh�v/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException.__str__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjm�hhhj�hNubj�)��}�(h�str�h]�h�str�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjm�hhhj�hNubeh}�(h]�jg�ah!]�h#]�jg�ah%]�h']�j\�j]�	pyparsing�j_j"�j`�!RecursiveGrammarException.__str__�uh)j hjj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�Return str(self).�h]�h�Return str(self).�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhji�hKhj��hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhju�hji�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�;__weakref__ (pyparsing.RecursiveGrammarException attribute)��/pyparsing.RecursiveGrammarException.__weakref__�hNt�auh)h,hju�hhh�z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException.__weakref__�hNubj)��}�(hhh]�(j!)��}�(h�%RecursiveGrammarException.__weakref__�h]�jH)��}�(h�__weakref__�h]�h�__weakref__�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/exceptions.py:docstring of pyparsing.RecursiveGrammarException.__weakref__�hNubah}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j"�j`�%RecursiveGrammarException.__weakref__�uh)j hj��hhhj��hNubjb)��}�(hhh]�hQ)��}�(h�2list of weak references to the object (if defined)�h]�h�2list 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)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j	�j`�uh)jhhhju�hj��hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj%�hhhj:�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	exception�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Regex (class in pyparsing)��pyparsing.Regex�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h��Regex(pattern: Any, flags: int = 0, as_group_list: bool = False, as_match: bool = False, *, asGroupList: bool = False, asMatch: bool = False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj-�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj)�hhh�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Regex�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj<�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj)�hhhj;�hNubjH)��}�(h�Regex�h]�h�Regex�����}�(hhhjJ�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj)�hhhj;�hNubj')��}�(h��pattern: Any, flags: int = 0, as_group_list: bool = False, as_match: bool = False, *, asGroupList: bool = False, asMatch: bool = False�h]�(j-)��}�(h�pattern: Any�h]�h�pattern: Any�����}�(hhhj\�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjX�ubj-)��}�(h�flags: int = 0�h]�h�flags: int = 0�����}�(hhhjj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjX�ubj-)��}�(h�as_group_list: bool = False�h]�h�as_group_list: bool = False�����}�(hhhjx�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjX�ubj-)��}�(h�as_match: bool = False�h]�h�as_match: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjX�ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjX�ubj-)��}�(h�asGroupList: bool = False�h]�h�asGroupList: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjX�ubj-)��}�(h�asMatch: bool = False�h]�h�asMatch: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjX�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj)�hhhj;�hNubeh}�(h]�j$�ah!]�h#]�j$�ah%]�h']�j\�j]�	pyparsing�j_hj`jL�uh)j hj&�hhhj;�hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hj��hhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hj��h]�h�pyparsing.core.Token�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�jL�h��pyparsing.core.Token�h�h�h��uh)h~h�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Regex�hKhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(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 <https://docs.python.org/3/library/re.html>`_.
If the given regex contains named groups (defined using ``(?P<name>...)``),
these will be preserved as named :class:`ParseResults`.�h]�(h��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  �����}�(h��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  �hj��hhhNhNubj+e)��}�(h�8`re module <https://docs.python.org/3/library/re.html>`_�h]�h�	re module�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']��name��	re module�j<e�)https://docs.python.org/3/library/re.html�uh)j*ehj��ubj?e)��}�(h�, <https://docs.python.org/3/library/re.html>�h]�h}�(h]��	re-module�ah!]�h#]��	re module�ah%]�h']��refuri�j�uh)j>ejMeKhj��ubh�:.
If the given regex contains named groups (defined using �����}�(h�:.
If the given regex contains named groups (defined using �hj��hhhNhNubhj)��}�(h�``(?P<name>...)``�h]�h�
(?P<name>...)�����}�(hhhj'�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�$),
these will be preserved as named �����}�(h�$),
these will be preserved as named �hj��hhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj<�h]�h�ParseResults�����}�(hhhj>�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj:�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jH��refexplicit��h�j��h�jL�h��ParseResults�h�h�h��uh)h~h�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Regex�hKhj��ubh�.�����}�(hj�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjX�hKhj��hhubhQ)��}�(h��If 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 �hjc�hhhNhNubhj)��}�(h�``re``�h]�h�re�����}�(hhhjl�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjc�ubh�; 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 �hjc�hhhNhNubhj)��}�(h�	``regex``�h]�h�regex�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjc�ubh�) module), you can do so by building your �����}�(h�) module), you can do so by building your �hjc�hhhNhNubhj)��}�(h�	``Regex``�h]�h�Regex�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjc�ubh�3 object with
a compiled RE that was compiled using �����}�(h�3 object with
a compiled RE that was compiled using �hjc�hhhNhNubhj)��}�(h�	``regex``�h]�h�regex�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjc�ubh�.�����}�(hj�hjc�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjX�hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjX�hKhj��hhubja)��}�(hX�realnum = 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<year>\d{4})-(?P<month>\d\d?)-(?P<day>\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]�hX�realnum = 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<year>\d{4})-(?P<month>\d\d?)-(?P<day>\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��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�
hj��hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Regex.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#__init__() (pyparsing.Regex method)��pyparsing.Regex.__init__�hNt�auh)h,hj��hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Regex.__init__�hNubj)��}�(hhh]�(j!)��}�(h��Regex.__init__(pattern: Any, flags: int = 0, as_group_list: bool = False, as_match: bool = False, *, asGroupList: bool = False, asMatch: bool = False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Regex.__init__�hNubj')��}�(h��pattern: Any, flags: int = 0, as_group_list: bool = False, as_match: bool = False, *, asGroupList: bool = False, asMatch: bool = False�h]�(j-)��}�(h�pattern: Any�h]�h�pattern: Any�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�flags: int = 0�h]�h�flags: int = 0�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�as_group_list: bool = False�h]�h�as_group_list: bool = False�����}�(hhhj �ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�as_match: bool = False�h]�h�as_match: bool = False�����}�(hhhj.�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hj@h]�h�*�����}�(hhhj<�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�asGroupList: bool = False�h]�h�asGroupList: bool = False�����}�(hhhjI�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�asMatch: bool = False�h]�h�asMatch: bool = False�����}�(hhhjW�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_jL�j`�Regex.__init__�uh)j hj��hhhj��hNubjb)��}�(hhh]�hQ)��}�(h��The parameters ``pattern`` and ``flags`` are passed
to the ``re.compile()`` function as-is. See the Python
`re module <https://docs.python.org/3/library/re.html>`_ module for an
explanation of the acceptable patterns and flags.�h]�(h�The parameters �����}�(h�The parameters �hjv�hhhNhNubhj)��}�(h�``pattern``�h]�h�pattern�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjv�ubh� and �����}�(h� and �hjv�hhhNhNubhj)��}�(h�	``flags``�h]�h�flags�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjv�ubh� are passed
to the �����}�(h� are passed
to the �hjv�hhhNhNubhj)��}�(h�``re.compile()``�h]�h�re.compile()�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjv�ubh�  function as-is. See the Python
�����}�(h�  function as-is. See the Python
�hjv�hhhNhNubj+e)��}�(h�8`re module <https://docs.python.org/3/library/re.html>`_�h]�h�	re module�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']��name��	re module�j<e�)https://docs.python.org/3/library/re.html�uh)j*ehjv�ubj?e)��}�(h�, <https://docs.python.org/3/library/re.html>�h]�h}�(h]��id9�ah!]�h#]�h%]��	re module�ah']��refuri�j��uh)j>ejMeKhjv�ubh�@ module for an
explanation of the acceptable patterns and flags.�����}�(h�@ module for an
explanation of the acceptable patterns and flags.�hjv�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjs�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj��hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�sub() (pyparsing.Regex method)��pyparsing.Regex.sub�hNt�auh)h,hj��hhh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Regex.sub�hNubj)��}�(hhh]�(j!)��}�(h�4Regex.sub(repl: str) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�sub�h]�h�sub�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Regex.sub�hNubj')��}�(h�	repl: str�h]�j-)��}�(h�	repl: str�h]�h�	repl: str�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj,�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_jL�j`�	Regex.sub�uh)j hj��hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h��Return :class:`Regex` with an attached parse action to transform the parsed
result as if called using `re.sub(expr, repl, string) <https://docs.python.org/3/library/re.html#re.sub>`_.�h]�(h�Return �����}�(h�Return �hjE�hhhNhNubh)��}�(h�:class:`Regex`�h]�hj)��}�(hjP�h]�h�Regex�����}�(hhhjR�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjN�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j\��refexplicit��h�j@�h�jL�h��Regex�h�h�h��uh)h~hj��hKhjE�ubh�Q with an attached parse action to transform the parsed
result as if called using �����}�(h�Q with an attached parse action to transform the parsed
result as if called using �hjE�hhhNhNubj+e)��}�(h�P`re.sub(expr, repl, string) <https://docs.python.org/3/library/re.html#re.sub>`_�h]�h�re.sub(expr, repl, string)�����}�(hhhjq�ubah}�(h]�h!]�h#]�h%]�h']��name��re.sub(expr, repl, string)�j<e�0https://docs.python.org/3/library/re.html#re.sub�uh)j*ehjE�ubj?e)��}�(h�3 <https://docs.python.org/3/library/re.html#re.sub>�h]�h}�(h]��re-sub-expr-repl-string�ah!]�h#]��re.sub(expr, repl, string)�ah%]�h']��refuri�j��uh)j>ejMeKhjE�ubh�.�����}�(hj�hjE�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjB�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjB�hhubja)��}�(h��make_html = Regex(r"(\w+):(.*?):").sub(r"<\1>\2</\1>")
print(make_html.transform_string("h1:main title:"))
# prints "<h1>main title</h1>"�h]�h��make_html = Regex(r"(\w+):(.*?):").sub(r"<\1>\2</\1>")
print(make_html.transform_string("h1:main title:"))
# prints "<h1>main title</h1>"�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�
hjB�hhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj��hj��hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj&�hhhj;�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j��j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�SkipTo (class in pyparsing)��pyparsing.SkipTo�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h��SkipTo(other: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: bool = None, fail_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, failOn: Union[pyparsing.core.ParserElement, str] = None)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhh�U/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.SkipTo�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhhj��hNubjH)��}�(h�SkipTo�h]�h�SkipTo�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h��other: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: bool = None, fail_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, failOn: Union[pyparsing.core.ParserElement, str] = None�h]�j-)��}�(h��other: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: bool = None, fail_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, failOn: Union[pyparsing.core.ParserElement, str] = None�h]�h��other: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: bool = None, fail_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, failOn: Union[pyparsing.core.ParserElement, str] = None�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�hhhj��hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hj4�hhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hj?�h]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhjA�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj=�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jK��refexplicit��h�j0�h�j�h��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�U/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.SkipTo�hKhj4�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj[�hKhj1�hhubhQ)��}�(h�QToken for skipping over all undefined text until the matched
expression is found.�h]�h�QToken for skipping over all undefined text until the matched
expression is found.�����}�(hjd�hjb�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�U/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.SkipTo�hKhj1�hhubhQ)��}�(h��Parameters:
- ``expr`` - target expression marking the end of the data to be skipped
- ``include`` - if ``True``, the target expression is also parsed�h]�(h�Parameters:
- �����}�(h�Parameters:
- �hjq�hhhNhNubhj)��}�(h�``expr``�h]�h�expr�����}�(hhhjz�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjq�ubh�A - target expression marking the end of the data to be skipped
- �����}�(h�A - target expression marking the end of the data to be skipped
- �hjq�hhhNhNubhj)��}�(h�``include``�h]�h�include�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjq�ubh� - if �����}�(h� - if �hjq�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjq�ubh�&, the target expression is also parsed�����}�(h�&, the target expression is also parsed�hjq�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjp�hKhj1�hhubj�)��}�(hhh]�hQ)��}�(h�_(the skipped text and target expression are returned as a 2-element
list) (default= ``False``).�h]�(h�T(the skipped text and target expression are returned as a 2-element
list) (default= �����}�(h�T(the skipped text and target expression are returned as a 2-element
list) (default= �hj��ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�).�����}�(h�).�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjp�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj1�hhhjp�hNubj�)��}�(hhh]�(j�)��}�(h��``ignore`` - (default= ``None``) used to define grammars (typically quoted strings and
comments) that might contain false matches to the target expression�h]�hQ)��}�(h��``ignore`` - (default= ``None``) used to define grammars (typically quoted strings and
comments) that might contain false matches to the target expression�h]�(hj)��}�(h�
``ignore``�h]�h�ignore�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�
 - (default= �����}�(h�
 - (default= �hj��ubhj)��}�(h�``None``�h]�h�None�����}�(hhhj�ubah}�(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 expression�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjp�hK	hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjp�hNubj�)��}�(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 match�h]�(hj)��}�(h�``fail_on``�h]�h�fail_on�����}�(hhhj)�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj%�ubh�
 - (default= �����}�(h�
 - (default= �hj%�ubhj)��}�(h�``None``�h]�h�None�����}�(hhhj<�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj%�ubh��) 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 �hj%�ubh)��}�(h�:class:`SkipTo`�h]�hj)��}�(hjQ�h]�h�SkipTo�����}�(hhhjS�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjO�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j]��refexplicit��h�j0�h�j�h��SkipTo�h�h�h��uh)h~hjp�hKhj%�ubh� is not a match�����}�(h� is not a match�hj%�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjp�hKhj!�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjp�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjp�hK	hj1�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjp�hKhj1�hhubja)��}�(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']�jpjquh)j`hM�
hj1�hhhjp�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjp�hK)hj1�hhubja)��}�(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']�jpjquh)j`hM
hj1�hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.SkipTo.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�$__init__() (pyparsing.SkipTo method)��pyparsing.SkipTo.__init__�hNt�auh)h,hj1�hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.SkipTo.__init__�hNubj)��}�(hhh]�(j!)��}�(h��SkipTo.__init__(other: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: bool = None, fail_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, failOn: Union[pyparsing.core.ParserElement, str] = None)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.SkipTo.__init__�hNubj')��}�(h��other: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: bool = None, fail_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, failOn: Union[pyparsing.core.ParserElement, str] = None�h]�j-)��}�(h��other: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: bool = None, fail_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, failOn: Union[pyparsing.core.ParserElement, str] = None�h]�h��other: Union[pyparsing.core.ParserElement, str], include: bool = False, ignore: bool = None, fail_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, failOn: Union[pyparsing.core.ParserElement, str] = None�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��hhhj��hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j�j`�SkipTo.__init__�uh)j hj��hhhj��hNubjb)��}�(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)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j"�j`�uh)jhhhj1�hj��hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j0�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�StringEnd (class in pyparsing)��pyparsing.StringEnd�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�StringEnd()�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjF�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjB�hhh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.StringEnd�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjU�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjB�hhhjT�hNubjH)��}�(h�	StringEnd�h]�h�	StringEnd�����}�(hhhjc�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjB�hhhjT�hNubeh}�(h]�j=�ah!]�h#]�j=�ah%]�h']�j\�j]�	pyparsing�j_hj`je�uh)j hj?�hhhjT�hNubjb)��}�(hhh]�(hQ)��}�(h�,Bases: :class:`pyparsing.core.PositionToken`�h]�(h�Bases: �����}�(h�Bases: �hj{�hhhNhNubh)��}�(h�%:class:`pyparsing.core.PositionToken`�h]�hj)��}�(hj��h]�h�pyparsing.core.PositionToken�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�jw�h�je�h��pyparsing.core.PositionToken�h�h�h��uh)h~h�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.StringEnd�hKhj{�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjx�hhubhQ)��}�(h�=Matches if current position is at the end of the parse string�h]�h�=Matches if current position is at the end of the parse string�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.StringEnd�hKhjx�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�'__init__() (pyparsing.StringEnd method)��pyparsing.StringEnd.__init__�hNt�auh)h,hjx�hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.StringEnd.__init__�hNubj)��}�(hhh]�(j!)��}�(h�StringEnd.__init__()�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.StringEnd.__init__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_je�j`�StringEnd.__init__�uh)j hj��hhhj��hNubjb)��}�(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)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhjx�hj��hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj?�hhhjT�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9� StringStart (class in pyparsing)��pyparsing.StringStart�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�
StringStart()�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj0�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj,�hhh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.StringStart�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj?�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj,�hhhj>�hNubjH)��}�(h�StringStart�h]�h�StringStart�����}�(hhhjM�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj,�hhhj>�hNubeh}�(h]�j'�ah!]�h#]�j'�ah%]�h']�j\�j]�	pyparsing�j_hj`jO�uh)j hj)�hhhj>�hNubjb)��}�(hhh]�(hQ)��}�(h�,Bases: :class:`pyparsing.core.PositionToken`�h]�(h�Bases: �����}�(h�Bases: �hje�hhhNhNubh)��}�(h�%:class:`pyparsing.core.PositionToken`�h]�hj)��}�(hjp�h]�h�pyparsing.core.PositionToken�����}�(hhhjr�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjn�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j|��refexplicit��h�ja�h�jO�h��pyparsing.core.PositionToken�h�h�h��uh)h~h�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.StringStart�hKhje�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjb�hhubhQ)��}�(h�CMatches if current position is at the beginning of the parse
string�h]�h�CMatches if current position is at the beginning of the parse
string�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.StringStart�hKhjb�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)__init__() (pyparsing.StringStart method)��pyparsing.StringStart.__init__�hNt�auh)h,hjb�hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.StringStart.__init__�hNubj)��}�(hhh]�(j!)��}�(h�StringStart.__init__()�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.StringStart.__init__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_jO�j`�StringStart.__init__�uh)j hj��hhhj��hNubjb)��}�(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)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhjb�hj��hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj)�hhhj>�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Suppress (class in pyparsing)��F�pyparsing.Suppress�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�PSuppress(expr: Union[pyparsing.core.ParserElement, str], savelist: bool = False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�W/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj)�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj(�hNubjH)��}�(h�Suppress�h]�h�Suppress�����}�(hhhj7�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj(�hNubj')��}�(h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�h]�j-)��}�(h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�h]�h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�����}�(hhhjI�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjE�hhhj(�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj(�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j9�uh)j hj�hhhj(�hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.core.TokenConverter`�h]�(h�Bases: �����}�(h�Bases: �hjg�hhhNhNubh)��}�(h�&:class:`pyparsing.core.TokenConverter`�h]�hj)��}�(hjr�h]�h�pyparsing.core.TokenConverter�����}�(hhhjt�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjp�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j~��refexplicit��h�jc�h�j9�h��pyparsing.core.TokenConverter�h�h�h��uh)h~h�W/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress�hKhjg�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjd�hhubhQ)��}�(h�:Converter for ignoring the results of a parsed expression.�h]�h�:Converter for ignoring the results of a parsed expression.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�W/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress�hKhjd�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjd�hhubja)��}�(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)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMGhjd�hhhj��ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjd�hhubja)��}�(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']�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMZhjd�hhhj��ubhQ)��}�(h�#(See also :class:`delimited_list`.)�h]�(h�
(See also �����}�(h�
(See also �hj��hhhNhNubh)��}�(h�:class:`delimited_list`�h]�hj)��}�(hj��h]�h�delimited_list�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�jc�h�j9�h��delimited_list�h�h�h��uh)h~hj��hKhj��ubh�.)�����}�(h�.)�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjd�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%__add__() (pyparsing.Suppress method)��pyparsing.Suppress.__add__�hNt�auh)h,hjd�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress.__add__�hNubj)��}�(hhh]�(j!)��}�(h�7Suppress.__add__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__add__�h]�h�__add__�����}�(hhhj&�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj"�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress.__add__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhj9�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj5�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj"�hhhj4�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjM�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj"�hhhj4�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j9�j`�Suppress.__add__�uh)j hj�hhhj4�hNubjb)��}�(hhh]�(hQ)��}�(h��Implementation of ``+`` operator - returns :class:`And`. Adding strings to a :class:`ParserElement`
converts them to :class:`Literal`s by default.�h]�(h�Implementation of �����}�(h�Implementation of �hjf�hhhNhNubhj)��}�(h�``+``�h]�h�+�����}�(hhhjo�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjf�ubh� operator - returns �����}�(h� operator - returns �hjf�hhhNhNubh)��}�(h�:class:`And`�h]�hj)��}�(hj��h]�h�And�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�ja�h�j9�h��And�h�h�h��uh)h~hj�hKhjf�ubh�. Adding strings to a �����}�(h�. Adding strings to a �hjf�hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj��h]�h�
ParserElement�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�ja�h�j9�h��
ParserElement�h�h�h��uh)h~hj�hKhjf�ubh�
converts them to :class:�����}�(h�
converts them to :class:�hjf�hhhNhNubjk)��}�(hjkh]�h�`�����}�(hhhj��ubah}�(h]��id11�ah!]�h#]�h%]�h']��refid��id10�uh)jkhjf�ubh�Literal`s by default.�����}�(h�Literal`s by default.�hjf�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjc�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjc�hhubja)��}�(h�ugreet = Word(alphas) + "," + Word(alphas) + "!"
hello = "Hello, World!"
print(hello, "->", greet.parse_string(hello))�h]�h�ugreet = Word(alphas) + "," + Word(alphas) + "!"
hello = "Hello, World!"
print(hello, "->", greet.parse_string(hello))�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMihjc�hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hjc�hhubja)��}�(h�-Hello, World! -> ['Hello', ',', 'World', '!']�h]�h�-Hello, World! -> ['Hello', ',', 'World', '!']�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMohjc�hhhj�ubhQ)��}�(h�M``...`` 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�ubh�6 may be used as a parse expression as a short form of �����}�(h�6 may be used as a parse expression as a short form of �hj�hhhNhNubh)��}�(h�:class:`SkipTo`�h]�hj)��}�(hj6�h]�h�SkipTo�����}�(hhhj8�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj4�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jB��refexplicit��h�ja�h�j9�h��SkipTo�h�h�h��uh)h~hj�hKhj�ubh�.�����}�(hj�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjc�hhubj�)��}�(hhh]�hQ)��}�(h�'Literal('start') + ... + Literal('end')�h]�h�/Literal(‘start’) + … + Literal(‘end’)�����}�(hja�hj_�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj\�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjc�hhhj�hNubhQ)��}�(h�is equivalent to:�h]�h�is equivalent to:�����}�(hju�hjs�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjc�hhubj�)��}�(hhh]�hQ)��}�(h�>Literal('start') + SkipTo('end')("_skipped*") + Literal('end')�h]�h�NLiteral(‘start’) + SkipTo(‘end’)(“_skipped*”) + Literal(‘end’)�����}�(hj��hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjc�hhhj�hNubhQ)��}�(h��Note 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]�h��Note 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.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjc�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj4�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhjd�hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&__init__() (pyparsing.Suppress method)��pyparsing.Suppress.__init__�hNt�auh)h,hjd�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress.__init__�hNubj)��}�(hhh]�(j!)��}�(h�YSuppress.__init__(expr: Union[pyparsing.core.ParserElement, str], savelist: bool = False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress.__init__�hNubj')��}�(h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�h]�j-)��}�(h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�h]�h�Fexpr: Union[pyparsing.core.ParserElement, str], savelist: bool = False�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��hhhj��hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j9�j`�Suppress.__init__�uh)j hj��hhhj��hNubjb)��}�(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)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhjd�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%__sub__() (pyparsing.Suppress method)��pyparsing.Suppress.__sub__�hNt�auh)h,hjd�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress.__sub__�hNubj)��}�(hhh]�(j!)��}�(h�7Suppress.__sub__(other) -> pyparsing.core.ParserElement�h]�(jH)��}�(h�__sub__�h]�h�__sub__�����}�(hhhj.�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj*�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress.__sub__�hNubj')��}�(h�other�h]�j-)��}�(h�other�h]�h�other�����}�(hhhjA�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj=�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj*�hhhj<�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjU�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj*�hhhj<�hNubeh}�(h]�j$�ah!]�h#]�j$�ah%]�h']�j\�j]�	pyparsing�j_j9�j`�Suppress.__sub__�uh)j hj'�hhhj<�hNubjb)��}�(hhh]�hQ)��}�(h�FImplementation of ``-`` operator, returns :class:`And` with error stop�h]�(h�Implementation of �����}�(h�Implementation of �hjn�hhhNhNubhj)��}�(h�``-``�h]�h�-�����}�(hhhjw�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjn�ubh� operator, returns �����}�(h� operator, returns �hjn�hhhNhNubh)��}�(h�:class:`And`�h]�hj)��}�(hj��h]�h�And�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�ji�h�j9�h��And�h�h�h��uh)h~hj&�hKhjn�ubh� with error stop�����}�(h� with error stop�hjn�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj&�hKhjk�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj'�hhhj<�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhjd�hj&�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&suppress() (pyparsing.Suppress method)��pyparsing.Suppress.suppress�hNt�auh)h,hjd�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress.suppress�hNubj)��}�(hhh]�(j!)��}�(h�3Suppress.suppress() -> pyparsing.core.ParserElement�h]�(jH)��}�(h�suppress�h]�h�suppress�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Suppress.suppress�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j9�j`�Suppress.suppress�uh)j hj��hhhj��hNubjb)��}�(hhh]�hQ)��}�(h�tSuppresses the output of this :class:`ParserElement`; useful to keep punctuation from
cluttering up returned output.�h]�(h�Suppresses the output of this �����}�(h�Suppresses the output of this �hj�hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj�h]�h�
ParserElement�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�j9�h��
ParserElement�h�h�h��uh)h~hj��hKhj�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)hPhj��hKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jG�j`�uh)jhhhjd�hj��hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj(�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jU�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Token (class in pyparsing)��pyparsing.Token�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�Token()�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjk�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjg�hhh�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Token�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjz�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjg�hhhjy�hNubjH)��}�(h�Token�h]�h�Token�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjg�hhhjy�hNubeh}�(h]�jb�ah!]�h#]�jb�ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hjd�hhhjy�hNubjb)��}�(hhh]�(hQ)��}�(h�,Bases: :class:`pyparsing.core.ParserElement`�h]�(h�Bases: �����}�(h�Bases: �hj��hhhNhNubh)��}�(h�%:class:`pyparsing.core.ParserElement`�h]�hj)��}�(hj��h]�h�pyparsing.core.ParserElement�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j��h��pyparsing.core.ParserElement�h�h�h��uh)h~h�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Token�hKhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(h�PAbstract :class:`ParserElement` subclass, for defining atomic
matching patterns.�h]�(h�	Abstract �����}�(h�	Abstract �hj��hhhNhNubh)��}�(h�:class:`ParserElement`�h]�hj)��}�(hj��h]�h�
ParserElement�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j��h��
ParserElement�h�h�h��uh)h~h�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Token�hKhj��ubh�1 subclass, for defining atomic
matching patterns.�����}�(h�1 subclass, for defining atomic
matching patterns.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#__init__() (pyparsing.Token method)��pyparsing.Token.__init__�hNt�auh)h,hj��hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Token.__init__�hNubj)��}�(hhh]�(j!)��}�(h�Token.__init__()�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Token.__init__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj%�hNubeh}�(h]�j
�ah!]�h#]�j
�ah%]�h']�j\�j]�	pyparsing�j_j��j`�Token.__init__�uh)j hj�hhhj%�hNubjb)��}�(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�hKhj7�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj%�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jU�j`�uh)jhhhj��hj�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjd�hhhjy�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jc�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#TokenConverter (class in pyparsing)��pyparsing.TokenConverter�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�NTokenConverter(expr: Union[pyparsing.core.ParserElement, str], savelist=False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjy�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hju�hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.TokenConverter�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hju�hhhj��hNubjH)��}�(h�TokenConverter�h]�h�TokenConverter�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhju�hhhj��hNubj')��}�(h�>expr: Union[pyparsing.core.ParserElement, str], savelist=False�h]�j-)��}�(h�>expr: Union[pyparsing.core.ParserElement, str], savelist=False�h]�h�>expr: Union[pyparsing.core.ParserElement, str], savelist=False�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��hhhj��hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hju�hhhj��hNubeh}�(h]�jp�ah!]�h#]�jp�ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hjr�hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�2Bases: :class:`pyparsing.core.ParseElementEnhance`�h]�(h�Bases: �����}�(h�Bases: �hj��hhhNhNubh)��}�(h�+:class:`pyparsing.core.ParseElementEnhance`�h]�hj)��}�(hj��h]�h�"pyparsing.core.ParseElementEnhance�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j��h��"pyparsing.core.ParseElementEnhance�h�h�h��uh)h~h�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.TokenConverter�hKhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(h�MAbstract subclass of :class:`ParseExpression`, for converting parsed results.�h]�(h�Abstract subclass of �����}�(h�Abstract subclass of �hj��hhhNhNubh)��}�(h�:class:`ParseExpression`�h]�hj)��}�(hj��h]�h�ParseExpression�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j��h�j��h��ParseExpression�h�h�h��uh)h~h�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.TokenConverter�hKhj��ubh� , for converting parsed results.�����}�(h� , for converting parsed results.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�,__init__() (pyparsing.TokenConverter method)��!pyparsing.TokenConverter.__init__�hNt�auh)h,hj��hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.TokenConverter.__init__�hNubj)��}�(hhh]�(j!)��}�(h�WTokenConverter.__init__(expr: Union[pyparsing.core.ParserElement, str], savelist=False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj=�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj9�hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.TokenConverter.__init__�hNubj')��}�(h�>expr: Union[pyparsing.core.ParserElement, str], savelist=False�h]�j-)��}�(h�>expr: Union[pyparsing.core.ParserElement, str], savelist=False�h]�h�>expr: Union[pyparsing.core.ParserElement, str], savelist=False�����}�(hhhjP�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjL�hhhjK�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj9�hhhjK�hNubeh}�(h]�j3�ah!]�h#]�j3�ah%]�h']�j\�j]�	pyparsing�j_j��j`�TokenConverter.__init__�uh)j hj6�hhhjK�hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hjq�hjo�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj5�hKhjl�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj6�hhhjK�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj��hj5�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjr�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j��j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�White (class in pyparsing)��pyparsing.White�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�CWhite(ws: str = ' trn', min: int = 1, max: int = 0, exact: int = 0)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhh�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.White�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhhj��hNubjH)��}�(h�White�h]�h�White�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h�<ws: str = ' trn', min: int = 1, max: int = 0, exact: int = 0�h]�(j-)��}�(h�ws: str = ' trn'�h]�h�ws: str = ' trn'�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�min: int = 1�h]�h�min: int = 1�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�max: int = 0�h]�h�max: int = 0�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�exact: int = 0�h]�h�exact: int = 0�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hj%�hhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hj0�h]�h�pyparsing.core.Token�����}�(hhhj2�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj.�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j<��refexplicit��h�j!�h�j��h��pyparsing.core.Token�h�h�h��uh)h~h�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.White�hKhj%�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjL�hKhj"�hhubhQ)��}�(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 �hjS�hhhNhNubhj)��}�(h�
``" \t\r\n"``�h]�h�	" \t\r\n"�����}�(hhhj\�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjS�ubh�.  Also takes optional �����}�(h�.  Also takes optional �hjS�hhhNhNubhj)��}�(h�``min``�h]�h�min�����}�(hhhjo�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjS�ubh�,
�����}�(h�,
�hjS�hhhNhNubhj)��}�(h�``max``�h]�h�max�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjS�ubh�, and �����}�(h�, and �hjS�hhhNhNubhj)��}�(h�	``exact``�h]�h�exact�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjS�ubh� arguments, as defined for the
�����}�(h� arguments, as defined for the
�hjS�hhhNhNubh)��}�(h�
:class:`Word`�h]�hj)��}�(hj��h]�h�Word�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j!�h�j��h��Word�h�h�h��uh)h~h�T/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.White�hKhjS�ubh� class.�����}�(h� class.�hjS�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj"�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#__init__() (pyparsing.White method)��pyparsing.White.__init__�hNt�auh)h,hj"�hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.White.__init__�hNubj)��}�(hhh]�(j!)��}�(h�OWhite.__init__(ws: str = ' \t\r\n', min: int = 1, max: int = 0, exact: int = 0)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.White.__init__�hNubj')��}�(h�?ws: str = ' \t\r\n', min: int = 1, max: int = 0, exact: int = 0�h]�(j-)��}�(h�ws: str = ' \t\r\n'�h]�h�ws: str = ' \t\r\n'�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�min: int = 1�h]�h�min: int = 1�����}�(hhhj	�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�max: int = 0�h]�h�max: int = 0�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�exact: int = 0�h]�h�exact: int = 0�����}�(hhhj%�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_j��j`�White.__init__�uh)j hj��hhhj��hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hjF�hjD�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjA�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j_�j`�uh)jhhhj"�hj��hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jm�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Word (class in pyparsing)��pyparsing.Word�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(hXLWord(init_chars: str = '', body_chars: Union[str, NoneType] = None, min: int = 1, max: int = 0, exact: int = 0, as_keyword: bool = False, exclude_chars: Union[str, NoneType] = None, *, initChars: Union[str, NoneType] = None, bodyChars: Union[str, NoneType] = None, asKeyword: bool = False, excludeChars: Union[str, NoneType] = None)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Word�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj��hNubjH)��}�(h�Word�h]�h�Word�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj��hNubj')��}�(hXFinit_chars: str = '', body_chars: Union[str, NoneType] = None, min: int = 1, max: int = 0, exact: int = 0, as_keyword: bool = False, exclude_chars: Union[str, NoneType] = None, *, initChars: Union[str, NoneType] = None, bodyChars: Union[str, NoneType] = None, asKeyword: bool = False, excludeChars: Union[str, NoneType] = None�h]�(j-)��}�(h�init_chars: str = ''�h]�h�init_chars: str = ''�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�body_chars: Union[str�h]�h�body_chars: Union[str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�min: int = 1�h]�h�min: int = 1�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�max: int = 0�h]�h�max: int = 0�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�exact: int = 0�h]�h�exact: int = 0�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�as_keyword: bool = False�h]�h�as_keyword: bool = False�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�exclude_chars: Union[str�h]�h�exclude_chars: Union[str�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj"�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhj0�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�initChars: Union[str�h]�h�initChars: Union[str�����}�(hhhj=�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjK�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�bodyChars: Union[str�h]�h�bodyChars: Union[str�����}�(hhhjY�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjg�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�asKeyword: bool = False�h]�h�asKeyword: bool = False�����}�(hhhju�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�excludeChars: Union[str�h]�h�excludeChars: Union[str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj��hNubeh}�(h]�jz�ah!]�h#]�jz�ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj|�hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hj��hhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hj��h]�h�pyparsing.core.Token�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j��h��pyparsing.core.Token�h�h�h��uh)h~h�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Word�hKhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(h��Token for matching words composed of allowed character sets.
Parameters:
- ``init_chars`` - string of all characters that should be used to�h]�(h�KToken for matching words composed of allowed character sets.
Parameters:
- �����}�(h�KToken for matching words composed of allowed character sets.
Parameters:
- �hj��hhhNhNubhj)��}�(h�``init_chars``�h]�h�
init_chars�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�2 - string of all characters that should be used to�����}�(h�2 - string of all characters that should be used to�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPh�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Word�hKhj��hhubj�)��}�(hhh]�hQ)��}�(h��match as a word; "ABC" will match "AAA", "ABAB", "CBAC", etc.;
if ``body_chars`` is also specified, then this is the string of
initial characters�h]�(h�Rmatch as a word; “ABC” will match “AAA”, “ABAB”, “CBAC”, etc.;
if �����}�(h�Bmatch as a word; "ABC" will match "AAA", "ABAB", "CBAC", etc.;
if �hj�ubhj)��}�(h�``body_chars``�h]�h�
body_chars�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�A is also specified, then this is the string of
initial characters�����}�(h�A is also specified, then this is the string of
initial characters�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj��hNubj�)��}�(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�����}�(hhhj6�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj2�ubh�d - string of characters that
can be used for matching after a matched initial character as
given in �����}�(h�d - string of characters that
can be used for matching after a matched initial character as
given in �hj2�ubhj)��}�(h�``init_chars``�h]�h�
init_chars�����}�(hhhjI�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj2�ubh�?; if omitted, same as the initial characters
(default=``None``)�����}�(h�?; if omitted, same as the initial characters
(default=``None``)�hj2�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj.�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj+�hhhj��hNubj�)��}�(h�;``min`` - minimum number of characters to match (default=1)�h]�hQ)��}�(hjj�h]�(hj)��}�(h�``min``�h]�h�min�����}�(hhhjo�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjl�ubh�4 - minimum number of characters to match (default=1)�����}�(h�4 - minimum number of characters to match (default=1)�hjl�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjh�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj+�hhhj��hNubj�)��}�(h�;``max`` - maximum number of characters to match (default=0)�h]�hQ)��}�(hj��h]�(hj)��}�(h�``max``�h]�h�max�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�4 - maximum number of characters to match (default=0)�����}�(h�4 - maximum number of characters to match (default=0)�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj+�hhhj��hNubj�)��}�(h�;``exact`` - exact number of characters to match (default=0)�h]�hQ)��}�(hj��h]�(hj)��}�(h�	``exact``�h]�h�exact�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�2 - exact number of characters to match (default=0)�����}�(h�2 - exact number of characters to match (default=0)�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK
hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj+�hhhj��hNubj�)��}�(h�7``as_keyword`` - match as a keyword (default=``False``)�h]�hQ)��}�(hj��h]�(hj)��}�(h�``as_keyword``�h]�h�
as_keyword�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�) - match as a keyword (default=``False``)�����}�(h�) - match as a keyword (default=``False``)�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj+�hhhj��hNubj�)��}�(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�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�/ - characters that might be
found in the input �����}�(h�/ - characters that might be
found in the input �hj�ubhj)��}�(h�``body_chars``�h]�h�
body_chars�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�� 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``)�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj+�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj��hKhj��hhubhQ)��}�(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)��}�(hjF�h]�h�srange�����}�(hhhjH�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjD�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jR��refexplicit��h�j��h�j��h��srange�h�h�h��uh)h~hj��hKhj@�ubh�B is useful for defining custom character set strings
for defining �����}�(h�B is useful for defining custom character set strings
for defining �hj@�hhhNhNubh)��}�(h�
:class:`Word`�h]�hj)��}�(hji�h]�h�Word�����}�(hhhjk�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjg�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�ju��refexplicit��h�j��h�j��h��Word�h�h�h��uh)h~hj��hKhj@�ubh�J expressions, using range notation from
regular expression character sets.�����}�(h�J expressions, using range notation from
regular expression character sets.�hj@�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(hX�A 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]�(h�A common mistake is to use �����}�(h�A common mistake is to use �hj��hhhNhNubh)��}�(h�
:class:`Word`�h]�hj)��}�(hj��h]�h�Word�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j��h��Word�h�h�h��uh)h~hj��hKhj��ubh�+ to match a specific literal
string, as in �����}�(h�+ to match a specific literal
string, as in �hj��hhhNhNubhj)��}�(h�``Word("Address")``�h]�h�Word("Address")�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�. Remember that �����}�(h�. Remember that �hj��hhhNhNubh)��}�(h�
:class:`Word`�h]�hj)��}�(hj��h]�h�Word�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j��h��Word�h�h�h��uh)h~hj��hKhj��ubh�$
uses the string argument to define �����}�(h�$
uses the string argument to define �hj��hhhNhNubjp)��}�(h�*sets*�h]�h�sets�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)johj��ubh�� 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 �hj��hhhNhNubh)��}�(h�:class:`Literal`�h]�hj)��}�(hj�h]�h�Literal�����}�(hhhj	�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j��h�j��h��Literal�h�h�h��uh)h~hj��hKhj��ubh� or �����}�(h� or �hj��hhhNhNubh)��}�(h�:class:`Keyword`�h]�hj)��}�(hj*�h]�h�Keyword�����}�(hhhj,�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj(�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j6��refexplicit��h�j��h�j��h��Keyword�h�h�h��uh)h~hj��hKhj��ubh�.�����}�(hj�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(h�5pyparsing includes helper strings for building Words:�h]�h�5pyparsing includes helper strings for building Words:�����}�(hjR�hjP�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK hj��hhubj�)��}�(hhh]�(j�)��}�(h�:class:`alphas`�h]�hQ)��}�(hjc�h]�h)��}�(hjc�h]�hj)��}�(hjc�h]�h�alphas�����}�(hhhjk�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjh�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�ju��refexplicit��h�j��h�j��h��alphas�h�h�h��uh)h~hj��hK"hje�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK"hja�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj^�hhhj��hNubj�)��}�(h�
:class:`nums`�h]�hQ)��}�(hj��h]�h)��}�(hj��h]�hj)��}�(hj��h]�h�nums�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j��h��nums�h�h�h��uh)h~hj��hK#hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK#hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj^�hhhj��hNubj�)��}�(h�:class:`alphanums`�h]�hQ)��}�(hj��h]�h)��}�(hj��h]�hj)��}�(hj��h]�h�	alphanums�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j��h��	alphanums�h�h�h��uh)h~hj��hK$hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK$hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj^�hhhj��hNubj�)��}�(h�:class:`hexnums`�h]�hQ)��}�(hj��h]�h)��}�(hj��h]�hj)��}�(hj��h]�h�hexnums�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j��h�j��h��hexnums�h�h�h��uh)h~hj��hK%hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK%hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj^�hhhj��hNubj�)��}�(h�e:class:`alphas8bit` (alphabetic characters in ASCII range 128-255
- accented, tilded, umlauted, etc.)�h]�hQ)��}�(h�e:class:`alphas8bit` (alphabetic characters in ASCII range 128-255
- accented, tilded, umlauted, etc.)�h]�(h)��}�(h�:class:`alphas8bit`�h]�hj)��}�(hj+�h]�h�
alphas8bit�����}�(hhhj-�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj)�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j7��refexplicit��h�j��h�j��h��
alphas8bit�h�h�h��uh)h~hj��hK&hj%�ubh�R (alphabetic characters in ASCII range 128-255
- accented, tilded, umlauted, etc.)�����}�(h�R (alphabetic characters in ASCII range 128-255
- accented, tilded, umlauted, etc.)�hj%�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK&hj!�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj^�hhhj��hNubj�)��}�(h�z:class:`punc8bit` (non-alphabetic characters in ASCII range
128-255 - currency, symbols, superscripts, diacriticals, etc.)�h]�hQ)��}�(h�z:class:`punc8bit` (non-alphabetic characters in ASCII range
128-255 - currency, symbols, superscripts, diacriticals, etc.)�h]�(h)��}�(h�:class:`punc8bit`�h]�hj)��}�(hjb�h]�h�punc8bit�����}�(hhhjd�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj`�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jn��refexplicit��h�j��h�j��h��punc8bit�h�h�h��uh)h~hj��hK(hj\�ubh�i (non-alphabetic characters in ASCII range
128-255 - currency, symbols, superscripts, diacriticals, etc.)�����}�(h�i (non-alphabetic characters in ASCII range
128-255 - currency, symbols, superscripts, diacriticals, etc.)�hj\�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK(hjX�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj^�hhhj��hNubj�)��}�(h�3:class:`printables` (any non-whitespace character)
�h]�hQ)��}�(h�2:class:`printables` (any non-whitespace character)�h]�(h)��}�(h�:class:`printables`�h]�hj)��}�(hj��h]�h�
printables�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j��h��
printables�h�h�h��uh)h~hj��hK*hj��ubh� (any non-whitespace character)�����}�(h� (any non-whitespace character)�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK*hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj^�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj��hK"hj��hhubhQ)��}�(h�t``alphas``, ``nums``, and ``printables`` are also defined in several
Unicode sets - see :class:`pyparsing_unicode``.�h]�(hj)��}�(h�
``alphas``�h]�h�alphas�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�, �����}�(h�, �hj��hhhNhNubhj)��}�(h�``nums``�h]�h�nums�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�, and �����}�(h�, and �hj��hhhNhNubhj)��}�(h�``printables``�h]�h�
printables�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�0 are also defined in several
Unicode sets - see �����}�(h�0 are also defined in several
Unicode sets - see �hj��hhhNhNubh)��}�(h�:class:`pyparsing_unicode``�h]�hj)��}�(hj�h]�h�pyparsing_unicode`�����}�(hhhj
�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj	�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j��h�j��h��pyparsing_unicode`�h�h�h��uh)h~hj��hK,hj��ubh�.�����}�(hj�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK,hj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj1�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK/hj��hhubja)��}�(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']�jpjquh)j`hM�hj��hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Word.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�"__init__() (pyparsing.Word method)��pyparsing.Word.__init__�hNt�auh)h,hj��hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Word.__init__�hNubj)��}�(hhh]�(j!)��}�(hXUWord.__init__(init_chars: str = '', body_chars: Union[str, NoneType] = None, min: int = 1, max: int = 0, exact: int = 0, as_keyword: bool = False, exclude_chars: Union[str, NoneType] = None, *, initChars: Union[str, NoneType] = None, bodyChars: Union[str, NoneType] = None, asKeyword: bool = False, excludeChars: Union[str, NoneType] = None)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhje�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhja�hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Word.__init__�hNubj')��}�(hXFinit_chars: str = '', body_chars: Union[str, NoneType] = None, min: int = 1, max: int = 0, exact: int = 0, as_keyword: bool = False, exclude_chars: Union[str, NoneType] = None, *, initChars: Union[str, NoneType] = None, bodyChars: Union[str, NoneType] = None, asKeyword: bool = False, excludeChars: Union[str, NoneType] = None�h]�(j-)��}�(h�init_chars: str = ''�h]�h�init_chars: str = ''�����}�(hhhjx�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�body_chars: Union[str�h]�h�body_chars: Union[str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�min: int = 1�h]�h�min: int = 1�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�max: int = 0�h]�h�max: int = 0�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�exact: int = 0�h]�h�exact: int = 0�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�as_keyword: bool = False�h]�h�as_keyword: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�exclude_chars: Union[str�h]�h�exclude_chars: Union[str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�initChars: Union[str�h]�h�initChars: Union[str�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�bodyChars: Union[str�h]�h�bodyChars: Union[str�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj-�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�asKeyword: bool = False�h]�h�asKeyword: bool = False�����}�(hhhj;�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�excludeChars: Union[str�h]�h�excludeChars: Union[str�����}�(hhhjI�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjW�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjt�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hja�hhhjs�hNubeh}�(h]�j[�ah!]�h#]�j[�ah%]�h']�j\�j]�	pyparsing�j_j��j`�
Word.__init__�uh)j hj^�hhhjs�hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hjx�hjv�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj]�hKhjs�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj^�hhhjs�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj��hj]�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj|�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j��j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�WordEnd (class in pyparsing)��pyparsing.WordEnd�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h��WordEnd(word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~')�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.WordEnd�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhhj��hNubjH)��}�(h�WordEnd�h]�h�WordEnd�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h��word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+, -./:;<=>?@[\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+, -./:;<=>?@[\]^_`{|}~'�h]�(j-)��}�(h�\word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+�h]�h�\word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�-./:;<=>?@[\]^_`{|}~'�h]�h�-./:;<=>?@[\]^_`{|}~'�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�[wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+�h]�h�[wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+�����}�(hhhj
�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�-./:;<=>?@[\]^_`{|}~'�h]�h�-./:;<=>?@[\]^_`{|}~'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�,Bases: :class:`pyparsing.core.PositionToken`�h]�(h�Bases: �����}�(h�Bases: �hj9�hhhNhNubh)��}�(h�%:class:`pyparsing.core.PositionToken`�h]�hj)��}�(hjD�h]�h�pyparsing.core.PositionToken�����}�(hhhjF�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjB�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jP��refexplicit��h�j5�h�j��h��pyparsing.core.PositionToken�h�h�h��uh)h~h�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.WordEnd�hKhj9�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj`�hKhj6�hhubhQ)��}�(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]�(h�3Matches if the current position is at the end of a �����}�(h�3Matches if the current position is at the end of a �hjg�hhhNhNubh)��}�(h�
:class:`Word`�h]�hj)��}�(hjr�h]�h�Word�����}�(hhhjt�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjp�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j~��refexplicit��h�j5�h�j��h��Word�h�h�h��uh)h~h�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.WordEnd�hKhjg�ubh�9,
and is not followed by any character in a given set of �����}�(h�9,
and is not followed by any character in a given set of �hjg�hhhNhNubhj)��}�(h�``word_chars``�h]�h�
word_chars�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjg�ubh�
(default= �����}�(h�
(default= �hjg�hhhNhNubhj)��}�(h�``printables``�h]�h�
printables�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjg�ubh�). To emulate the �����}�(h�). To emulate the �hjg�hhhNhNubhj)��}�(h�````�h]�h������}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjg�ubh�& behavior of
regular expressions, use �����}�(h�& behavior of
regular expressions, use �hjg�hhhNhNubhj)��}�(h�``WordEnd(alphanums)``�h]�h�WordEnd(alphanums)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjg�ubh�. �����}�(h�. �hjg�hhhNhNubhj)��}�(h�``WordEnd``�h]�h�WordEnd�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjg�ubh�P
will also match at the end of the string being parsed, or at the end
of a line.�����}�(h�P
will also match at the end of the string being parsed, or at the end
of a line.�hjg�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj6�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%__init__() (pyparsing.WordEnd method)��pyparsing.WordEnd.__init__�hNt�auh)h,hj6�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.WordEnd.__init__�hNubj)��}�(hhh]�(j!)��}�(h��WordEnd.__init__(word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~')�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.WordEnd.__init__�hNubj')��}�(h��word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+, -./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+, -./:;<=>?@[\\]^_`{|}~'�h]�(j-)��}�(h�]word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+�h]�h�]word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+�����}�(hhhj"�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�-./:;<=>?@[\\]^_`{|}~'�h]�h�-./:;<=>?@[\\]^_`{|}~'�����}�(hhhj0�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hj@h]�h�*�����}�(hhhj>�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�\wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+�h]�h�\wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+�����}�(hhhjK�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�-./:;<=>?@[\\]^_`{|}~'�h]�h�-./:;<=>?@[\\]^_`{|}~'�����}�(hhhjY�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j��j`�WordEnd.__init__�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hjz�hjx�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhju�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj6�hj�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j��j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�WordStart (class in pyparsing)��pyparsing.WordStart�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h��WordStart(word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~')�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.WordStart�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhhj��hNubjH)��}�(h�	WordStart�h]�h�	WordStart�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h��word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+, -./:;<=>?@[\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+, -./:;<=>?@[\]^_`{|}~'�h]�(j-)��}�(h�\word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+�h]�h�\word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�-./:;<=>?@[\]^_`{|}~'�h]�h�-./:;<=>?@[\]^_`{|}~'�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�[wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+�h]�h�[wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�-./:;<=>?@[\]^_`{|}~'�h]�h�-./:;<=>?@[\]^_`{|}~'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�,Bases: :class:`pyparsing.core.PositionToken`�h]�(h�Bases: �����}�(h�Bases: �hj;�hhhNhNubh)��}�(h�%:class:`pyparsing.core.PositionToken`�h]�hj)��}�(hjF�h]�h�pyparsing.core.PositionToken�����}�(hhhjH�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjD�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jR��refexplicit��h�j7�h�j��h��pyparsing.core.PositionToken�h�h�h��uh)h~h�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.WordStart�hKhj;�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjb�hKhj8�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]�(h�9Matches if the current position is at the beginning of a
�����}�(h�9Matches if the current position is at the beginning of a
�hji�hhhNhNubh)��}�(h�
:class:`Word`�h]�hj)��}�(hjt�h]�h�Word�����}�(hhhjv�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjr�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j7�h�j��h��Word�h�h�h��uh)h~h�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.WordStart��hKhji�ubh�9, and is not preceded by any character in a given
set of �����}�(h�9, and is not preceded by any character in a given
set of �hji�hhhNhNubhj)��}�(h�``word_chars``�h]�h�
word_chars�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihji�ubh� (default= �����}�(h� (default= �hji�hhhNhNubhj)��}�(h�``printables``�h]�h�
printables�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihji�ubh�). To emulate the
�����}�(h�). To emulate the
�hji�hhhNhNubhj)��}�(h�````�h]�h������}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihji�ubh�& behavior of regular expressions, use
�����}�(h�& behavior of regular expressions, use
�hji�hhhNhNubhj)��}�(h�``WordStart(alphanums)``�h]�h�WordStart(alphanums)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihji�ubh�. �����}�(h�. �hji�hhhNhNubhj)��}�(h�
``WordStart``�h]�h�	WordStart�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihji�ubh�\ 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.�hji�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj8�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�'__init__() (pyparsing.WordStart method)��pyparsing.WordStart.__init__�hNt�auh)h,hj8�hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.WordStart.__init__�hNubj)��}�(hhh]�(j!)��}�(hXWordStart.__init__(word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~')�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj
�hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.WordStart.__init__�hNubj')��}�(h��word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+, -./:;<=>?@[\\]^_`{|}~', *, wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+, -./:;<=>?@[\\]^_`{|}~'�h]�(j-)��}�(h�]word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+�h]�h�]word_chars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+�����}�(hhhj$�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj �ubj-)��}�(h�-./:;<=>?@[\\]^_`{|}~'�h]�h�-./:;<=>?@[\\]^_`{|}~'�����}�(hhhj2�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj �ubj-)��}�(hj@h]�h�*�����}�(hhhj@�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj �ubj-)��}�(h�\wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+�h]�h�\wordChars: str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+�����}�(hhhjM�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj �ubj-)��}�(h�-./:;<=>?@[\\]^_`{|}~'�h]�h�-./:;<=>?@[\\]^_`{|}~'�����}�(hhhj[�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj �ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj
�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j��j`�WordStart.__init__�uh)j hj
�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj|�hjz�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj	�hKhjw�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj
�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj8�hj	�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j��j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�ZeroOrMore (class in pyparsing)��pyparsing.ZeroOrMore�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h��ZeroOrMore(expr: pyparsing.core.ParserElement, stop_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, stopOn: Union[pyparsing.core.ParserElement, str, NoneType] = None)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ZeroOrMore�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhhj��hNubjH)��}�(h�
ZeroOrMore�h]�h�
ZeroOrMore�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h��expr: pyparsing.core.ParserElement, stop_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, stopOn: Union[pyparsing.core.ParserElement, str, NoneType] = None�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�+stop_on: Union[pyparsing.core.ParserElement�h]�h�+stop_on: Union[pyparsing.core.ParserElement�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�str�h]�h�str�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhj �ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�*stopOn: Union[pyparsing.core.ParserElement�h]�h�*stopOn: Union[pyparsing.core.ParserElement�����}�(hhhj-�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�str�h]�h�str�����}�(hhhj;�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjI�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.core._MultipleMatch`�h]�(h�Bases: �����}�(h�Bases: �hjg�hhhNhNubh)��}�(h�&:class:`pyparsing.core._MultipleMatch`�h]�hj)��}�(hjr�h]�h�pyparsing.core._MultipleMatch�����}�(hhhjt�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjp�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j~��refexplicit��h�jc�h�j��h��pyparsing.core._MultipleMatch�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ZeroOrMore�hKhjg�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjd�hhubhQ)��}�(h�<Optional repetition of zero or more of the given expression.�h]�h�<Optional repetition of zero or more of the given expression.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ZeroOrMore�hKhjd�hhubhQ)��}�(h�|Parameters:
- ``expr`` - expression that must match zero or more times
- ``stop_on`` - expression for a terminating sentinel�h]�(h�Parameters:
- �����}�(h�Parameters:
- �hj��hhhNhNubhj)��}�(h�``expr``�h]�h�expr�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�3 - expression that must match zero or more times
- �����}�(h�3 - expression that must match zero or more times
- �hj��hhhNhNubhj)��}�(h�``stop_on``�h]�h�stop_on�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�( - expression for a terminating sentinel�����}�(h�( - expression for a terminating sentinel�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjd�hhubj�)��}�(hhh]�hQ)��}�(h�f(only required if the sentinel would ordinarily match the repetition
expression) - (default= ``None``)�h]�(h�](only required if the sentinel would ordinarily match the repetition
expression) - (default= �����}�(h�](only required if the sentinel would ordinarily match the repetition
expression) - (default= �hj��ubhj)��}�(h�``None``�h]�h�None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�)�����}�(hj~Thj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjd�hhhj��hNubhQ)��}�(h�&Example: similar to :class:`OneOrMore`�h]�(h�Example: similar to �����}�(h�Example: similar to �hj�hhhNhNubh)��}�(h�:class:`OneOrMore`�h]�hj)��}�(hj�h]�h�	OneOrMore�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�jc�h�j��h��	OneOrMore�h�h�h��uh)h~hj��hK	hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK	hjd�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(__init__() (pyparsing.ZeroOrMore method)��pyparsing.ZeroOrMore.__init__�hNt�auh)h,hjd�hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ZeroOrMore.__init__�hNubj)��}�(hhh]�(j!)��}�(h��ZeroOrMore.__init__(expr: pyparsing.core.ParserElement, stop_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, stopOn: Union[pyparsing.core.ParserElement, str, NoneType] = None)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjF�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjB�hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.ZeroOrMore.__init__�hNubj')��}�(h��expr: pyparsing.core.ParserElement, stop_on: Union[pyparsing.core.ParserElement, str, NoneType] = None, *, stopOn: Union[pyparsing.core.ParserElement, str, NoneType] = None�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhjY�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjU�ubj-)��}�(h�+stop_on: Union[pyparsing.core.ParserElement�h]�h�+stop_on: Union[pyparsing.core.ParserElement�����}�(hhhjg�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjU�ubj-)��}�(h�str�h]�h�str�����}�(hhhju�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjU�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjU�ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjU�ubj-)��}�(h�*stopOn: Union[pyparsing.core.ParserElement�h]�h�*stopOn: Union[pyparsing.core.ParserElement�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjU�ubj-)��}�(h�str�h]�h�str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjU�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjU�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjB�hhhjT�hNubeh}�(h]�j<�ah!]�h#]�j<�ah%]�h']�j\�j]�	pyparsing�j_j��j`�ZeroOrMore.__init__�uh)j hj?�hhhjT�hNubjb)��}�(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)jahj?�hhhjT�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhjd�hj>�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�Char (class in pyparsing)��pyparsing.Char�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h��Char(charset: str, as_keyword: bool = False, exclude_chars: Union[str, NoneType] = None, *, asKeyword: bool = False, excludeChars: Union[str, NoneType] = None)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Char�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj'�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj&�hNubjH)��}�(h�Char�h]�h�Char�����}�(hhhj5�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj&�hNubj')��}�(h��charset: str, as_keyword: bool = False, exclude_chars: Union[str, NoneType] = None, *, asKeyword: bool = False, excludeChars: Union[str, NoneType] = None�h]�(j-)��}�(h�charset: str�h]�h�charset: str�����}�(hhhjG�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjC�ubj-)��}�(h�as_keyword: bool = False�h]�h�as_keyword: bool = False�����}�(hhhjU�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjC�ubj-)��}�(h�exclude_chars: Union[str�h]�h�exclude_chars: Union[str�����}�(hhhjc�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjC�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjq�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjC�ubj-)��}�(hj@h]�h�*�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjC�ubj-)��}�(h�asKeyword: bool = False�h]�h�asKeyword: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjC�ubj-)��}�(h�excludeChars: Union[str�h]�h�excludeChars: Union[str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjC�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjC�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj&�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j7�uh)j hj�hhhj&�hNubjb)��}�(hhh]�(hQ)��}�(h�)Bases: :class:`pyparsing.core._WordRegex`�h]�(h�Bases: �����}�(h�Bases: �hj��hhhNhNubh)��}�(h�":class:`pyparsing.core._WordRegex`�h]�hj)��}�(hj��h]�h�pyparsing.core._WordRegex�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�j7�h��pyparsing.core._WordRegex�h�h�h��uh)h~h�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Char�hKhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(h��A short-cut class for defining :class:`Word` ``(characters, exact=1)``,
when defining a match of any single character in a string of
characters.�h]�(h�A short-cut class for defining �����}�(h�A short-cut class for defining �hj��hhhNhNubh)��}�(h�
:class:`Word`�h]�hj)��}�(hj��h]�h�Word�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j��h�j7�h��Word�h�h�h��uh)h~h�S/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Char�hKhj��ubh� �����}�(hjqhj��hhhNhNubhj)��}�(h�``(characters, exact=1)``�h]�h�(characters, exact=1)�����}�(hhhj �ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�J,
when defining a match of any single character in a string of
characters.�����}�(h�J,
when defining a match of any single character in a string of
characters.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�"__init__() (pyparsing.Char method)��pyparsing.Char.__init__�hNt�auh)h,hj��hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Char.__init__�hNubj)��}�(hhh]�(j!)��}�(h��Char.__init__(charset: str, as_keyword: bool = False, exclude_chars: Union[str, NoneType] = None, *, asKeyword: bool = False, excludeChars: Union[str, NoneType] = None)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhjO�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjK�hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.Char.__init__�hNubj')��}�(h��charset: str, as_keyword: bool = False, exclude_chars: Union[str, NoneType] = None, *, asKeyword: bool = False, excludeChars: Union[str, NoneType] = None�h]�(j-)��}�(h�charset: str�h]�h�charset: str�����}�(hhhjb�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^�ubj-)��}�(h�as_keyword: bool = False�h]�h�as_keyword: bool = False�����}�(hhhjp�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^�ubj-)��}�(h�exclude_chars: Union[str�h]�h�exclude_chars: Union[str�����}�(hhhj~�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^�ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^�ubj-)��}�(h�asKeyword: bool = False�h]�h�asKeyword: bool = False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^�ubj-)��}�(h�excludeChars: Union[str�h]�h�excludeChars: Union[str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj^�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjK�hhhj]�hNubeh}�(h]�jE�ah!]�h#]�jE�ah%]�h']�j\�j]�	pyparsing�j_j7�j`�
Char.__init__�uh)j hjH�hhhj]�hNubjb)��}�(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)hPhjG�hKhj��hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjH�hhhj]�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j��j`�uh)jhhhj��hjG�hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj&�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�col (in module pyparsing)��
pyparsing.col�hNt�auh)h,hj�hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.col�hNubj)��}�(hhh]�(j!)��}�(h�col�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj"�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhh�V/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.col�hNubjH)��}�(hj �h]�h�col�����}�(hhhj1�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj0�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j �uh)j hj�hhhj0�hNubjb)��}�(hhh]�(hQ)��}�(h�kReturns current column within a string, counting newlines as line separators.
The first column is number 1.�h]�h�kReturns current column within a string, counting newlines as line separators.
The first column is number 1.�����}�(hjJ�hjH�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjE�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 ``<TAB>`` 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]�(h�sNote: the default parsing behavior is to expand tabs in the input string
before starting the parsing process.  See
�����}�(h�sNote: the default parsing behavior is to expand tabs in the input string
before starting the parsing process.  See
�hjV�hhhNhNubh)��}�(h�":class:`ParserElement.parseString`�h]�hj)��}�(hja�h]�h�ParserElement.parseString�����}�(hhhjc�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj_�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jm��refexplicit��h�jD�h�Nh��ParserElement.parseString�h�h�h��uh)h~hj�hKhjV�ubh�4 for more
information on parsing strings containing �����}�(h�4 for more
information on parsing strings containing �hjV�hhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjV�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.�hjV�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjE�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj0�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j��j`�uh)jhhhj�hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%counted_array() (in module pyparsing)��pyparsing.counted_array�hNt�auh)h,hj�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.counted_array�hNubj)��}�(hhh]�(j!)��}�(h��counted_array(expr: pyparsing.core.ParserElement, int_expr: Union[pyparsing.core.ParserElement, NoneType] = None, *, intExpr: Union[pyparsing.core.ParserElement, NoneType] = None) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.counted_array�hNubjH)��}�(h�
counted_array�h]�h�
counted_array�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h��expr: pyparsing.core.ParserElement, int_expr: Union[pyparsing.core.ParserElement, NoneType] = None, *, intExpr: Union[pyparsing.core.ParserElement, NoneType] = None�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�,int_expr: Union[pyparsing.core.ParserElement�h]�h�,int_expr: Union[pyparsing.core.ParserElement�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj@h]�h�*�����}�(hhhj
�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�+intExpr: Union[pyparsing.core.ParserElement�h]�h�+intExpr: Union[pyparsing.core.ParserElement�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj%�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj9�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�/Helper to define a counted list of expressions.�h]�h�/Helper to define a counted list of expressions.�����}�(hjS�hjQ�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjN�hhubhQ)��}�(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:�hj_�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjN�hhubja)��}�(h�integer expr expr expr...�h]�h�integer expr expr expr...�����}�(hhhjn�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMohjN�hhhj��ubhQ)��}�(h��where 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]�h��where 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.�����}�(hj~�hj|�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjN�hhubhQ)��}�(h�aIf ``int_expr`` is specified, it should be a pyparsing expression
that produces an integer value.�h]�(h�If �����}�(h�If �hj��hhhNhNubhj)��}�(h�``int_expr``�h]�h�int_expr�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�R is specified, it should be a pyparsing expression
that produces an integer value.�����}�(h�R is specified, it should be a pyparsing expression
that produces an integer value.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjN�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjN�hhubja)��}�(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'�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMzhjN�hhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j��j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&delimited_list() (in module pyparsing)��pyparsing.delimited_list�hNt�auh)h,hj�hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.delimited_list�hNubj)��}�(hhh]�(j!)��}�(hXdelimited_list(expr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Union[int, NoneType] = None, max: Union[int, NoneType] = None, *, allow_trailing_delim: bool = False) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.delimited_list�hNubjH)��}�(h�delimited_list�h]�h�delimited_list�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h��expr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Union[int, NoneType] = None, max: Union[int, NoneType] = None, *, allow_trailing_delim: bool = False�h]�j-)��}�(h��expr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Union[int, NoneType] = None, max: Union[int, NoneType] = None, *, allow_trailing_delim: bool = False�h]�h��expr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Union[int, NoneType] = None, max: Union[int, NoneType] = None, *, allow_trailing_delim: bool = False�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj
�hhhj��hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj"�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(hX�Helper 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]�(h��Helper 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 �����}�(h��Helper 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 �hj:�hhhNhNubhj)��}�(h�``combine=True``�h]�h�combine=True�����}�(hhhjC�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj:�ubh� in the constructor. If
�����}�(h� in the constructor. If
�hj:�hhhNhNubhj)��}�(h�``combine``�h]�h�combine�����}�(hhhjV�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj:�ubh� is set to �����}�(h� is set to �hj:�hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhji�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj:�ubh��, 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.�hj:�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj7�hhubhQ)��}�(h�SIf ``allow_trailing_delim`` is set to True, then the list may end with
a delimiter.�h]�(h�If �����}�(h�If �hj��hhhNhNubhj)��}�(h�``allow_trailing_delim``�h]�h�allow_trailing_delim�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�8 is set to True, then the list may end with
a delimiter.�����}�(h�8 is set to True, then the list may end with
a delimiter.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK
hj7�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK
hj7�hhubja)��}�(h��delimited_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]�h��delimited_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']�jpjquh)j`hM�hj7�hhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j��j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�dict_of() (in module pyparsing)��pyparsing.dict_of�hNt�auh)h,hj�hhh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.dict_of�hNubj)��}�(hhh]�(j!)��}�(h�odict_of(key: pyparsing.core.ParserElement, value: pyparsing.core.ParserElement) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.dict_of�hNubjH)��}�(h�dict_of�h]�h�dict_of�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h�Fkey: pyparsing.core.ParserElement, value: pyparsing.core.ParserElement�h]�(j-)��}�(h�!key: pyparsing.core.ParserElement�h]�h�!key: pyparsing.core.ParserElement�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�#value: pyparsing.core.ParserElement�h]�h�#value: pyparsing.core.ParserElement�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj(�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(hX�Helper 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]�(h��Helper to easily and clearly define a dictionary by specifying
the respective patterns for the key and value.  Takes care of
defining the �����}�(h��Helper to easily and clearly define a dictionary by specifying
the respective patterns for the key and value.  Takes care of
defining the �hj@�hhhNhNubh)��}�(h�
:class:`Dict`�h]�hj)��}�(hjK�h]�h�Dict�����}�(hhhjM�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjI�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jW��refexplicit��h�j<�h�Nh��Dict�h�h�h��uh)h~hj��hKhj@�ubh�, �����}�(h�, �hj@�hhhNhNubh)��}�(h�:class:`ZeroOrMore`�h]�hj)��}�(hjn�h]�h�
ZeroOrMore�����}�(hhhjp�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjl�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jz��refexplicit��h�j<�h�Nh��
ZeroOrMore�h�h�h��uh)h~hj��hKhj@�ubh�, and
�����}�(h�, and
�hj@�hhhNhNubh)��}�(h�:class:`Group`�h]�hj)��}�(hj��h]�h�Group�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j<�h�Nh��Group�h�h�h��uh)h~hj��hKhj@�ubh�� 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 �hj@�hhhNhNubh)��}�(h�
:class:`Dict`�h]�hj)��}�(hj��h]�h�Dict�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j<�h�Nh��Dict�h�h�h��uh)h~hj��hKhj@�ubh�( results
can include named token fields.�����}�(h�( results
can include named token fields.�hj@�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj=�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK
hj=�hhubja)��}�(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())�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj=�hhhj��ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj=�hhubja)��}�(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'}�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj=�hhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j"�j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�line (in module pyparsing)��pyparsing.line�hNt�auh)h,hj�hhh�W/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.line�hNubj)��}�(hhh]�(j!)��}�(h�line�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj9�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj5�hhh�W/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.line�hNubjH)��}�(hj7�h]�h�line�����}�(hhhjH�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj5�hhhjG�hNubeh}�(h]�j/�ah!]�h#]�j/�ah%]�h']�j\�j]�	pyparsing�j_hj`j7�uh)j hj2�hhhjG�hNubjb)��}�(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.�����}�(hja�hj_�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj1�hKhj\�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj2�hhhjG�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jz�j`�uh)jhhhj�hj1�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�lineno (in module pyparsing)��pyparsing.lineno�hNt�auh)h,hj�hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.lineno�hNubj)��}�(hhh]�(j!)��}�(h�lineno�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.lineno�hNubjH)��}�(hj��h]�h�lineno�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�nReturns current line number within a string, counting newlines as line separators.
The first line is number 1.�h]�h�nReturns current line number within a string, counting newlines as line separators.
The first line is number 1.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubhQ)��}�(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 ``<TAB>`` 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]�(h�tNote - the default parsing behavior is to expand tabs in the input string
before starting the parsing process.  See �����}�(h�tNote - 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)��}�(hj��h]�h�ParserElement.parseString�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�Nh��ParserElement.parseString�h�h�h��uh)h~hj��hKhj��ubh�4
for more information on parsing strings containing �����}�(h�4
for more information on parsing strings containing �hj��hhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhj��ubah}�(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)hPhj��hKhj��hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&make_html_tags() (in module pyparsing)��pyparsing.make_html_tags�hNt�auh)h,hj�hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.make_html_tags�hNubj)��}�(hhh]�(j!)��}�(h��make_html_tags(tag_str: Union[str, pyparsing.core.ParserElement]) -> Tuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj.�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj*�hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.make_html_tags�hNubjH)��}�(h�make_html_tags�h]�h�make_html_tags�����}�(hhhj=�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj*�hhhj<�hNubj')��}�(h�1tag_str: Union[str, pyparsing.core.ParserElement]�h]�j-)��}�(h�1tag_str: Union[str, pyparsing.core.ParserElement]�h]�h�1tag_str: Union[str, pyparsing.core.ParserElement]�����}�(hhhjO�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjK�hhhj<�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj*�hhhj<�hNubj�)��}�(h�ATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�h]�h�ATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�����}�(hhhjc�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj*�hhhj<�hNubeh}�(h]�j$�ah!]�h#]�j$�ah%]�h']�j\�j]�	pyparsing�j_hj`j?�uh)j hj'�hhhj<�hNubjb)��}�(hhh]�(hQ)��}�(h��Helper 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]�h��Helper 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.�����}�(hj}�hj{�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj&�hKhjx�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj&�hKhjx�hhubja)��}�(hX�text = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
# 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 <A> tag (like "href" shown here) are
    # also accessible as named results
    print(link.link_text, '->', link.href)�h]�hX�text = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
# 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 <A> tag (like "href" shown here) are
    # also accessible as named results
    print(link.link_text, '->', link.href)�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjx�hhhj&�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj&�hKhjx�hhubja)��}�(h�8pyparsing -> https://github.com/pyparsing/pyparsing/wiki�h]�h�8pyparsing -> https://github.com/pyparsing/pyparsing/wiki�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjx�hhhj&�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj'�hhhj<�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j��j`�uh)jhhhj�hj&�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%make_xml_tags() (in module pyparsing)��pyparsing.make_xml_tags�hNt�auh)h,hj�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.make_xml_tags�hNubj)��}�(hhh]�(j!)��}�(h��make_xml_tags(tag_str: Union[str, pyparsing.core.ParserElement]) -> Tuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.make_xml_tags�hNubjH)��}�(h�
make_xml_tags�h]�h�
make_xml_tags�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h�1tag_str: Union[str, pyparsing.core.ParserElement]�h]�j-)��}�(h�1tag_str: Union[str, pyparsing.core.ParserElement]�h]�h�1tag_str: Union[str, pyparsing.core.ParserElement]�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�hhhj��hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�ATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�h]�h�ATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h��Helper to construct opening and closing tag expressions for XML,
given a tag name. Matches tags only in the given upper/lower case.�h]�h��Helper to construct opening and closing tag expressions for XML,
given a tag name. Matches tags only in the given upper/lower case.�����}�(hj6�hj4�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj1�hhubhQ)��}�(h�+Example: similar to :class:`make_html_tags`�h]�(h�Example: similar to �����}�(h�Example: similar to �hjB�hhhNhNubh)��}�(h�:class:`make_html_tags`�h]�hj)��}�(hjM�h]�h�make_html_tags�����}�(hhhjO�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjK�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jY��refexplicit��h�j0�h�Nh��make_html_tags�h�h�h��uh)h~hj��hKhjB�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj1�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j|�j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)match_only_at_col() (in module pyparsing)��pyparsing.match_only_at_col�hNt�auh)h,hj�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.match_only_at_col�hNubj)��}�(hhh]�(j!)��}�(h�match_only_at_col(n)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.match_only_at_col�hNubjH)��}�(h�match_only_at_col�h]�h�match_only_at_col�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h�n�h]�j-)��}�(h�n�h]�h�n�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�hQ)��}�(h�fHelper method for defining parse actions that require matching at
a specific column in the input text.�h]�h�fHelper method for defining parse actions that require matching at
a specific column in the input text.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j��j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+match_previous_expr() (in module pyparsing)��pyparsing.match_previous_expr�hNt�auh)h,hj�hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.match_previous_expr�hNubj)��}�(hhh]�(j!)��}�(h�Wmatch_previous_expr(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.match_previous_expr�hNubjH)��}�(h�match_previous_expr�h]�h�match_previous_expr�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�"expr: pyparsing.core.ParserElement�h]�j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj%�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj!�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj9�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj��hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h��Helper 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]�h��Helper 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��Helper 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:�hjQ�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjN�hhubja)��}�(h�Xfirst = Word(nums)
second = match_previous_expr(first)
match_expr = first + ":" + second�h]�h�Xfirst = Word(nums)
second = match_previous_expr(first)
match_expr = first + ":" + second�����}�(hhhj`�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhjN�hhhj��ubhQ)��}�(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 �hjn�hhhNhNubhj)��}�(h�	``"1:1"``�h]�h�"1:1"�����}�(hhhjw�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjn�ubh�
, but not �����}�(h�
, but not �hjn�hhhNhNubhj)��}�(h�	``"1:2"``�h]�h�"1:2"�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjn�ubh�-.  Because this
matches by expressions, will �����}�(h�-.  Because this
matches by expressions, will �hjn�hhhNhNubjp)��}�(h�*not*�h]�h�not�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)johjn�ubh� match the leading �����}�(h� match the leading �hjn�hhhNhNubhj)��}�(h�	``"1:1"``�h]�h�"1:1"�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjn�ubh�
in �����}�(h�
in �hjn�hhhNhNubhj)��}�(h�
``"1:10"``�h]�h�"1:10"�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjn�ubh�=; the expressions are evaluated first, and then
compared, so �����}�(h�=; the expressions are evaluated first, and then
compared, so �hjn�hhhNhNubhj)��}�(h�``"1"``�h]�h�"1"�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjn�ubh� is compared with �����}�(h� is compared with �hjn�hhhNhNubhj)��}�(h�``"10"``�h]�h�"10"�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjn�ubh�. Do �����}�(h�. Do �hjn�hhhNhNubjp)��}�(h�*not*�h]�h�not�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)johjn�ubh�" use
with packrat parsing enabled.�����}�(h�" use
with packrat parsing enabled.�hjn�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK	hjN�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j"�j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.match_previous_literal() (in module pyparsing)�� pyparsing.match_previous_literal�hNt�auh)h,hj�hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.match_previous_literal�hNubj)��}�(hhh]�(j!)��}�(h�Zmatch_previous_literal(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj9�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj5�hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.match_previous_literal�hNubjH)��}�(h�match_previous_literal�h]�h�match_previous_literal�����}�(hhhjH�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj5�hhhjG�hNubj')��}�(h�"expr: pyparsing.core.ParserElement�h]�j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhjZ�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjV�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj5�hhhjG�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjn�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj5�hhhjG�hNubeh}�(h]�j/�ah!]�h#]�j/�ah%]�h']�j\�j]�	pyparsing�j_hj`jJ�uh)j hj2�hhhjG�hNubjb)��}�(hhh]�(hQ)��}�(h��Helper 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]�h��Helper 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��Helper 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:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj1�hKhj��hhubja)��}�(h�[first = Word(nums)
second = match_previous_literal(first)
match_expr = first + ":" + second�h]�h�[first = Word(nums)
second = match_previous_literal(first)
match_expr = first + ":" + second�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM!hj��hhhj1�ubhQ)��}�(h��will 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 �hj��hhhNhNubhj)��}�(h�	``"1:1"``�h]�h�"1:1"�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�
, but not �����}�(h�
, but not �hj��hhhNhNubhj)��}�(h�	``"1:2"``�h]�h�"1:2"�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�H.  Because this
matches a previous literal, will also match the leading
�����}�(h�H.  Because this
matches a previous literal, will also match the leading
�hj��hhhNhNubhj)��}�(h�	``"1:1"``�h]�h�"1:1"�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� in �����}�(h� in �hj��hhhNhNubhj)��}�(h�
``"1:10"``�h]�h�"1:10"�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�. If this is not desired, use
�����}�(h�. If this is not desired, use
�hj��hhhNhNubh)��}�(h�:class:`match_previous_expr`�h]�hj)��}�(hj��h]�h�match_previous_expr�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j��h�Nh��match_previous_expr�h�h�h��uh)h~hj1�hK	hj��ubh�. Do �����}�(h�. Do �hj��hhhNhNubjp)��}�(h�*not*�h]�h�not�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)johj��ubh�" use with packrat parsing
enabled.�����}�(h�" use with packrat parsing
enabled.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj1�hK	hj��hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj2�hhhjG�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jA�j`�uh)jhhhj�hj1�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#nested_expr() (in module pyparsing)��pyparsing.nested_expr�hNt�auh)h,hj�hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.nested_expr�hNubj)��}�(hhh]�(j!)��}�(hX�nested_expr(opener: Union[str, pyparsing.core.ParserElement] = '(', closer: Union[str, pyparsing.core.ParserElement] = ')', content: Union[pyparsing.core.ParserElement, NoneType] = None, ignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes, *, ignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjX�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjT�hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.nested_expr�hNubjH)��}�(h�nested_expr�h]�h�nested_expr�����}�(hhhjg�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjT�hhhjf�hNubj')��}�(hX_opener: Union[str, pyparsing.core.ParserElement] = '(', closer: Union[str, pyparsing.core.ParserElement] = ')', content: Union[pyparsing.core.ParserElement, NoneType] = None, ignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes, *, ignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes�h]�(j-)��}�(h�opener: Union[str�h]�h�opener: Union[str�����}�(hhhjy�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hju�ubj-)��}�(h�#pyparsing.core.ParserElement] = '('�h]�h�#pyparsing.core.ParserElement] = '('�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hju�ubj-)��}�(h�closer: Union[str�h]�h�closer: Union[str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hju�ubj-)��}�(h�#pyparsing.core.ParserElement] = ')'�h]�h�#pyparsing.core.ParserElement] = ')'�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hju�ubj-)��}�(h�+content: Union[pyparsing.core.ParserElement�h]�h�+content: Union[pyparsing.core.ParserElement�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hju�ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hju�ubj-)��}�(h�Vignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes�h]�h�Vignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hju�ubj-)��}�(hj@h]�h�*�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hju�ubj-)��}�(h�UignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes�h]�h�UignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hju�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjT�hhhjf�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjT�hhhjf�hNubeh}�(h]�jN�ah!]�h#]�jN�ah%]�h']�j\�j]�	pyparsing�j_hj`ji�uh)j hjQ�hhhjf�hNubjb)��}�(hhh]�(hQ)��}�(h�yHelper method for defining nested lists enclosed in opening and
closing delimiters (``"("`` and ``")"`` are the default).�h]�(h�THelper method for defining nested lists enclosed in opening and
closing delimiters (�����}�(h�THelper method for defining nested lists enclosed in opening and
closing delimiters (�hj�hhhNhNubhj)��}�(h�``"("``�h]�h�"("�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� and �����}�(h� and �hj�hhhNhNubhj)��}�(h�``")"``�h]�h�")"�����}�(hhhj0�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� are the default).�����}�(h� are the default).�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hKhj�hhubhQ)��}�(h�>Parameters:
- ``opener`` - opening character for a nested list�h]�(h�Parameters:
- �����}�(h�Parameters:
- �hjI�hhhNhNubhj)��}�(h�
``opener``�h]�h�opener�����}�(hhhjR�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjI�ubh�& - opening character for a nested list�����}�(h�& - opening character for a nested list�hjI�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hKhj�hhubj�)��}�(hhh]�hQ)��}�(h�6(default= ``"("``); can also be a pyparsing expression�h]�(h�
(default= �����}�(h�
(default= �hjn�ubhj)��}�(h�``"("``�h]�h�"("�����}�(hhhjw�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjn�ubh�%); can also be a pyparsing expression�����}�(h�%); can also be a pyparsing expression�hjn�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hKhjk�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhjP�hNubj�)��}�(hhh]�(j�)��}�(h�g``closer`` - closing character for a nested list
(default= ``")"``); can also be a pyparsing expression�h]�hQ)��}�(h�g``closer`` - closing character for a nested list
(default= ``")"``); can also be a pyparsing expression�h]�(hj)��}�(h�
``closer``�h]�h�closer�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�1 - closing character for a nested list
(default= �����}�(h�1 - 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 expression�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjP�hNubj�)��}�(h�N``content`` - expression for items within the nested lists
(default= ``None``)�h]�hQ)��}�(h�N``content`` - expression for items within the nested lists
(default= ``None``)�h]�(hj)��}�(h�``content``�h]�h�content�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�: - expression for items within the nested lists
(default= �����}�(h�: - expression for items within the nested lists
(default= �hj��ubhj)��}�(h�``None``�h]��h�None�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�)�����}�(hj~Thj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hK	hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjP�hNubj�)��}�(h�j``ignore_expr`` - expression for ignoring opening and closing delimiters
(default= :class:`quoted_string`)�h]�hQ)��}�(h�j``ignore_expr`` - expression for ignoring opening and closing delimiters
(default= :class:`quoted_string`)�h]�(hj)��}�(h�``ignore_expr``�h]�h�ignore_expr�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�D - expression for ignoring opening and closing delimiters
(default= �����}�(h�D - expression for ignoring opening and closing delimiters
(default= �hj�ubh)��}�(h�:class:`quoted_string`�h]�hj)��}�(hj)�h]�h�
quoted_string�����}�(hhhj+�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj'�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j5��refexplicit��h�j�h�Nh��
quoted_string�h�h�h��uh)h~hjP�hKhj�ubh�)�����}�(hj~Thj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjP�hNubj�)��}�(h�n``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility
but will be removed in a future release
�h]�hQ)��}�(h�m``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility
but will be removed in a future release�h]�(hj)��}�(h�``ignoreExpr``�h]�h�
ignoreExpr�����}�(hhhj]�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjY�ubh�_ - 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 release�hjY�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hK
hjU�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhjP�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjP�hKhj�hhubhQ)��}�(h��If 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]�h��If 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.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hKhj�hhubhQ)��}�(hX�Use 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]�(h�Use the �����}�(h�Use the �hj��hhhNhNubhj)��}�(h�``ignore_expr``�h]�h�ignore_expr�����}�(hhhj��ubah}�(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]�h�Or�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j�h�Nh��Or�h�h�h��uh)h~hjP�hKhj��ubh� or �����}�(h� or �hj��hhhNhNubh)��}�(h�:class:`MatchFirst`�h]�hj)��}�(hj��h]�h�
MatchFirst�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j�h�Nh��
MatchFirst�h�h�h��uh)h~hjP�hKhj��ubh�. The default is
�����}�(h�. The default is
�hj��hhhNhNubh)��}�(h�:class:`quoted_string`�h]�hj)��}�(hj��h]�h�
quoted_string�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�Nh��
quoted_string�h�h�h��uh)h~hjP�hKhj��ubh�5, but if no expressions are to be ignored, then
pass �����}�(h�5, but if no expressions are to be ignored, then
pass �hj��hhhNhNubhj)��}�(h�``None``�h]�h�None�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� for this argument.�����}�(h� for this argument.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj.�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hKhj�hhubja)��}�(hX�data_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]�hX�data_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)�����}�(hhhj=�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMLhj�hhhjP�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjK�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjP�hK>hj�hhubja)��}�(h�Lis_odd (int) args: [['int', 'x']]
dec_to_hex (int) args: [['char', 'hchar']]�h]�h�Lis_odd (int) args: [['int', 'x']]
dec_to_hex (int) args: [['char', 'hchar']]�����}�(hhhjZ�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMnhj�hhhjP�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjQ�hhhjf�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_ju�j`�uh)jhhhj�hjP�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)null_debug_action() (in module pyparsing)��pyparsing.null_debug_action�hNt�auh)h,hj�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.null_debug_action�hNubj)��}�(hhh]�(j!)��}�(h�null_debug_action(*args)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.null_debug_action�hNubjH)��}�(h�null_debug_action�h]�h�null_debug_action�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h�*args�h]�j-)��}�(h�*args�h]�h�*args�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�hQ)��}�(h�G'Do-nothing' debug action, to suppress debugging output during parsing.�h]�h�K‘Do-nothing’ debug action, to suppress debugging output during parsing.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j��j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�one_of() (in module pyparsing)��pyparsing.one_of�hNt�auh)h,hj�hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.one_of�hNubj)��}�(hhh]�(j!)��}�(h��one_of(strs: Union[typing.Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = False) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.one_of�hNubjH)��}�(h�one_of�h]�h�one_of�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj�hNubj')��}�(h��strs: Union[typing.Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = False�h]�j-)��}�(h��strs: Union[typing.Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = False�h]�h��strs: Union[typing.Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = False�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�hhhj�hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj2�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj�hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj��hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h��Helper 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 �hjJ�hhhNhNubh)��}�(h�:class:`Literal`�h]�hj)��}�(hjU�h]�h�Literal�����}�(hhhjW�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjS�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�ja��refexplicit��h�jF�h�Nh��Literal�h�h�h��uh)h~hj��hKhjJ�ubh�v s,
and makes sure to do longest-first testing when there is a conflict,
regardless of the input order, but returns
a �����}�(h�v s,
and makes sure to do longest-first testing when there is a conflict,
regardless of the input order, but returns
a �hjJ�hhhNhNubh)��}�(h�:class:`MatchFirst`�h]�hj)��}�(hjx�h]�h�
MatchFirst�����}�(hhhjz�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjv�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�jF�h�Nh��
MatchFirst�h�h�h��uh)h~hj��hKhjJ�ubh� for best performance.�����}�(h� for best performance.�hjJ�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjG�hhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjG�hhubj�)��}�(hhh]�(j�)��}�(h�S``strs`` - a string of space-delimited literals, or a collection of
string literals�h]�hQ)��}�(h�S``strs`` - a string of space-delimited literals, or a collection of
string literals�h]�(hj)��}�(h�``strs``�h]�h�strs�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�K - a string of space-delimited literals, or a collection of
string literals�����}�(h�K - a string of space-delimited literals, or a collection of
string literals�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj��hNubj�)��}�(h�D``caseless`` - treat all literals as caseless - (default= ``False``)�h]�hQ)��}�(hj��h]�(hj)��}�(h�``caseless``�h]�h�caseless�����}�(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]�h�False�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�)�����}�(hj~Thj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hK
hj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj��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�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�' - as an optimization, will
generate a �����}�(h�' - as an optimization, will
generate a �hj�ubh)��}�(h�:class:`Regex`�h]�hj)��}�(hj,�h]�h�Regex�����}�(hhhj.�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj*�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j8��refexplicit��h�jF�h�Nh��Regex�h�h�h��uh)h~hj��hKhj�ubh�$ object; otherwise, will generate
a �����}�(h�$ object; otherwise, will generate
a �hj�ubh)��}�(h�:class:`MatchFirst`�h]�hj)��}�(hjO�h]�h�
MatchFirst�����}�(hhhjQ�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjM�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j[��refexplicit��h�jF�h�Nh��
MatchFirst�h�h�h��uh)h~hj��hKhj�ubh� object (if �����}�(h� object (if �hj�ubhj)��}�(h�``caseless=True``�h]�h�
caseless=True�����}�(hhhjp�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� or �����}�(h� or �hj�ubhj)��}�(h�``asKeyword=True``�h]�h�asKeyword=True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�, or if
creating a �����}�(h�, or if
creating a �hj�ubh)��}�(h�:class:`Regex`�h]�hj)��}�(hj��h]�h�Regex�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�jF�h�Nh��Regex�h�h�h��uh)h~hj��hKhj�ubh�" raises an exception) - (default= �����}�(h�" raises an exception) - (default= �hj�ubhj)��}�(h�``True``�h]�h�True�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�)�����}�(hj~Thj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj��hNubj�)��}�(h�l``as_keyword`` - enforce :class:`Keyword`-style matching on the
generated expressions - (default= ``False``)�h]�hQ)��}�(h�l``as_keyword`` - enforce :class:`Keyword`-style matching on the
generated expressions - (default= ``False``)�h]�(hj)��}�(h�``as_keyword``�h]�h�
as_keyword�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� - enforce �����}�(h� - enforce �hj��ubh)��}�(h�:class:`Keyword`�h]�hj)��}�(hj��h]�h�Keyword�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�jF�h�Nh��Keyword�h�h�h��uh)h~hj��hKhj��ubh�9-style matching on the
generated expressions - (default= �����}�(h�9-style matching on the
generated expressions - (default= �hj��ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�)�����}�(hj~Thj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj��hNubj�)��}�(h�p``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility,
but will be removed in a future release
�h]�hQ)��}�(h�o``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility,
but will be removed in a future release�h]�(hj)��}�(h�
``asKeyword``�h]�h�	asKeyword�����}�(hhhj;�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj7�ubh� and �����}�(h� and �hj7�ubhj)��}�(h�``useRegex``�h]�h�useRegex�����}�(hhhjN�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj7�ubh�Q are retained for pre-PEP8 compatibility,
but will be removed in a future release�����}�(h�Q are retained for pre-PEP8 compatibility,
but will be removed in a future release�hj7�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj3�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj��hKhjG�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjs�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjG�hhubja)��}�(h��comp_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]�h��comp_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"))�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjG�hhhj��ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjG�hhubja)��}�(h�K[['B', '=', '12'], ['AA', '=', '23'], ['B', '<=', 'AA'], ['AA', '>', '12']]�h]�h�K[['B', '=', '12'], ['AA', '=', '23'], ['B', '<=', 'AA'], ['AA', '>', '12']]�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjG�hhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j��j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%remove_quotes() (in module pyparsing)��pyparsing.remove_quotes�hNt�auh)h,hj�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.remove_quotes�hNubj)��}�(hhh]�(j!)��}�(h�remove_quotes(s, l, t)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.remove_quotes�hNubjH)��}�(h�
remove_quotes�h]�h�
remove_quotes�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h�s, l, t�h]�(j-)��}�(hj*9h]�h�s�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hj89h]�h�l�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(hjF9h]�h�t�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�LHelper parse action for removing quotation marks from parsed
quoted strings.�h]�h�LHelper parse action for removing quotation marks from parsed
quoted strings.�����}�(hj+�hj)�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj&�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj7�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhj&�hhubja)��}�(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"]�����}�(hhhjF�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj&�hhhj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_ja�j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�$replace_with() (in module pyparsing)��pyparsing.replace_with�hNt�auh)h,hj�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.replace_with�hNubj)��}�(hhh]�(j!)��}�(h�replace_with(repl_str)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjx�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjt�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.replace_with�hNubjH)��}�(h�replace_with�h]�h�replace_with�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjt�hhhj��hNubj')��}�(h�repl_str�h]�j-)��}�(h�repl_str�h]�h�repl_str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjt�hhhj��hNubeh}�(h]�jn�ah!]�h#]�jn�ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hjq�hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h��Helper method for common parse actions that simply return
a literal value.  Especially useful when used with
:class:`transform_string<ParserElement.transform_string>` ().�h]�(h�mHelper method for common parse actions that simply return
a literal value.  Especially useful when used with
�����}�(h�mHelper method for common parse actions that simply return
a literal value.  Especially useful when used with
�hj��hhhNhNubh)��}�(h�9:class:`transform_string<ParserElement.transform_string>`�h]�hj)��}�(hj�h]�h�transform_string�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j��h�Nh��ParserElement.transform_string�h�h�h��uh)h~hjp�hKhj��ubh� ().�����}�(h� ().�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjp�hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjp�hKhj��hhubja)��}�(h��num = 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]�h��num = 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]�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj��hhhjp�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjq�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�j`�uh)jhhhj�hjp�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+replace_html_entity() (in module pyparsing)��pyparsing.replace_html_entity�hNt�auh)h,hj�hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.replace_html_entity�hNubj)��}�(hhh]�(j!)��}�(h�replace_html_entity(t)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj*�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj&�hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.replace_html_entity�hNubjH)��}�(h�replace_html_entity�h]�h�replace_html_entity�����}�(hhhj9�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj&�hhhj8�hNubj')��}�(h�t�h]�j-)��}�(hjF9h]�h�t�����}�(hhhjK�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjG�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj&�hhhj8�hNubeh}�(h]�j �ah!]�h#]�j �ah%]�h']�j\�j]�	pyparsing�j_hj`j;�uh)j hj#�hhhj8�hNubjb)��}�(hhh]�hQ)��}�(h�RHelper parser action to replace common HTML entities with their special characters�h]�h�RHelper parser action to replace common HTML entities with their special characters�����}�(hjj�hjh�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj"�hKhje�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj#�hhhj8�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j��j`�uh)jhhhj�hj"�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�srange() (in module pyparsing)��pyparsing.srange�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�srange(s: str) -> str�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.srange�hNubjH)��}�(h�srange�h]�h�srange�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj��hNubj')��}�(h�s: str�h]�j-)��}�(h�s: str�h]�h�s: str�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj��hNubj�)��}�(h�str�h]�h�str�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj��hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj��hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h��Helper to easily define string ranges for use in :class:`Word`
construction. Borrows syntax from regexp ``'[]'`` string range
definitions::�h]�(h�1Helper to easily define string ranges for use in �����}�(h�1Helper to easily define string ranges for use in �hj�hhhNhNubh)��}�(h�
:class:`Word`�h]�hj)��}�(hj�h]�h�Word�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j�h�Nh��Word�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.srange�hKhj�ubh�*
construction. Borrows syntax from regexp �����}�(h�*
construction. Borrows syntax from regexp �hj�hhhNhNubhj)��}�(h�``'[]'``�h]�h�'[]'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� string range
definitions:�����}�(h� string range
definitions:�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj
�hKhj�hhubja)��}�(h��srange("[0-9]")   -> "0123456789"
srange("[a-z]")   -> "abcdefghijklmnopqrstuvwxyz"
srange("[a-z$_]") -> "abcdefghijklmnopqrstuvwxyz$_"�h]�h��srange("[0-9]")   -> "0123456789"
srange("[a-z]")   -> "abcdefghijklmnopqrstuvwxyz"
srange("[a-z$_]") -> "abcdefghijklmnopqrstuvwxyz$_"�����}�(hhhj,�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�hhhj
�ubhQ)��}�(h��The 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]�h��The 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<�hj:�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
�hK	hj�hhubj�)��}�(hhh]�(j�)��}�(h�a single character�h]�hQ)��}�(hjM�h]�h�a single character�����}�(hjM�hjO�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
�hK
hjK�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjH�hhhj
�hNubj�)��}�(h�Han escaped character with a leading backslash (such as ``\-``
or ``\]``)�h]�hQ)��}�(h�Han escaped character with a leading backslash (such as ``\-``
or ``\]``)�h]�(h�7an escaped character with a leading backslash (such as �����}�(h�7an escaped character with a leading backslash (such as �hjf�ubhj)��}�(h�``\-``�h]�h�\-�����}�(hhhjo�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjf�ubh�
or �����}�(h�
or �hjf�ubhj)��}�(h�``\]``�h]�h�\]�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjf�ubh�)�����}�(hj~Thjf�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj
�hKhjb�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjH�hhhj
�hNubj�)��}�(h��an escaped hex character with a leading ``'\x'``
(``\x21``, which is a ``'!'`` character) (``\0x##``
is also supported for backwards compatibility)�h]�hQ)��}�(h��an escaped hex character with a leading ``'\x'``
(``\x21``, which is a ``'!'`` character) (``\0x##``
is also supported for backwards compatibility)�h]�(h�(an escaped hex character with a leading �����}�(h�(an escaped hex character with a leading �hj��ubhj)��}�(h�``'\x'``�h]�h�'\x'�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�
(�����}�(h�
(�hj��ubhj)��}�(h�``\x21``�h]�h�\x21�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�
, which is a �����}�(h�
, which is a �hj��ubhj)��}�(h�``'!'``�h]�h�'!'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�
 character) (�����}�(h�
 character) (�hj��ubhj)��}�(h�	``\0x##``�h]�h�\0x##�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�/
is also supported for backwards compatibility)�����}�(h�/
is also supported for backwards compatibility)�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj
�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjH�hhhj
�hNubj�)��}�(h�[an escaped octal character with a leading ``'\0'``
(``\041``, which is a ``'!'`` character)�h]�hQ)��}�(h�[an escaped octal character with a leading ``'\0'``
(``\041``, which is a ``'!'`` character)�h]�(h�*an escaped octal character with a leading �����}�(h�*an escaped octal character with a leading �hj	�ubhj)��}�(h�``'\0'``�h]�h�'\0'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj	�ubh�
(�����}�(h�
(�hj	�ubhj)��}�(h�``\041``�h]�h�\041�����}�(hhhj%�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj	�ubh�
, which is a �����}�(h�
, which is a �hj	�ubhj)��}�(h�``'!'``�h]�h�'!'�����}�(hhhj8�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj	�ubh� character)�����}�(h� character)�hj	�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj
�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjH�hhhj
�hNubj�)��}�(h�Ba range of any of the above, separated by a dash (``'a-z'``,
etc.)�h]�hQ)��}�(h�Ba range of any of the above, separated by a dash (``'a-z'``,
etc.)�h]�(h�2a range of any of the above, separated by a dash (�����}�(h�2a range of any of the above, separated by a dash (�hj[�ubhj)��}�(h�	``'a-z'``�h]�h�'a-z'�����}�(hhhjd�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj[�ubh�,
etc.)�����}�(h�,
etc.)�hj[�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj
�hKhjW�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjH�hhhj
�hNubj�)��}�(h�Dany combination of the above (``'aeiouy'``,
``'a-zA-Z0-9_$'``, etc.)�h]�hQ)��}�(h�Dany combination of the above (``'aeiouy'``,
``'a-zA-Z0-9_$'``, etc.)�h]�(h�any combination of the above (�����}�(h�any combination of the above (�hj��ubhj)��}�(h�``'aeiouy'``�h]�h�'aeiouy'�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�,
�����}�(h�,
�hj��ubhj)��}�(h�``'a-zA-Z0-9_$'``�h]�h�
'a-zA-Z0-9_$'�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�, etc.)�����}�(h�, etc.)�hj��ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj
�hKhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjH�hhhj
�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj
�hK
hj�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*trace_parse_action() (in module pyparsing)��pyparsing.trace_parse_action�hNt�auh)h,hj�hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.trace_parse_action�hNubj)��}�(hhh]�(j!)��}�(hX�trace_parse_action(f: Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]) -> Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhh�e/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.trace_parse_action�hNubjH)��}�(h�trace_parse_action�h]�h�trace_parse_action�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj��hNubj')��}�(h��f: Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�j-)��}�(h��f: Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�h��f: Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�����}�(hhhj
�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj	�hhhj��hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj��hNubj�)��}�(h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�����}�(hhhj!�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj��hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j��uh)j hj�hhhj��hNubjb)��}�(hhh]�(hQ)��}�(h�&Decorator for debugging parse actions.�h]�h�&Decorator for debugging parse actions.�����}�(hj;�hj9�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj6�hhubhQ)��}�(hX+When the parse action is called, this decorator will print
``">> entering method-name(line:<current_source_line>, <parse_location>, <matched_tokens>)"``.
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
�hjG�hhhNhNubhj)��}�(h�]``">> entering method-name(line:<current_source_line>, <parse_location>, <matched_tokens>)"``�h]�h�Y">> entering method-name(line:<current_source_line>, <parse_location>, <matched_tokens>)"�����}�(hhhjP�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjG�ubh�<.
When the parse action completes, the decorator will print
�����}�(h�<.
When the parse action completes, the decorator will print
�hjG�hhhNhNubhj)��}�(h�``"<<"``�h]�h�"<<"�����}�(hhhjc�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjG�ubh�O followed by the returned value, or any exception that the parse action raised.�����}�(h�O followed by the returned value, or any exception that the parse action raised.�hjG�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj6�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj|�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj6�hhubja)��}�(h��wd = 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]�h��wd = 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']�jpjquh)j`hM�hj6�hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj6�hhubja)��}�(h��>>entering remove_duplicate_chars(line: 'slkdjs sld sldd sdlf sdljf', 0, (['slkdjs', 'sld', 'sldd', 'sdlf', 'sdljf'], {}))
<<leaving remove_duplicate_chars (ret: 'dfjkls')
['dfjkls']�h]�h��>>entering remove_duplicate_chars(line: 'slkdjs sld sldd sdlf sdljf', 0, (['slkdjs', 'sld', 'sldd', 'sdlf', 'sdljf'], {}))
<<leaving remove_duplicate_chars (ret: 'dfjkls')
['dfjkls']�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj6�hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj��hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�j`�uh)jhhhj�hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&with_attribute() (in module pyparsing)��pyparsing.with_attribute�hNt�auh)h,hj�hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.with_attribute�hNubj)��}�(hhh]�(j!)��}�(h�"with_attribute(*args, **attr_dict)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.with_attribute�hNubjH)��}�(h�with_attribute�h]�h�with_attribute�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�*args, **attr_dict�h]�(j-)��}�(h�*args�h]�h�*args�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubj-)��}�(h�**attr_dict�h]�h�**attr_dict�����}�(hhhj	�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj��ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj�hhhj�hNubjb)��}�(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 ``<TD>`` or ``<DIV>``.�h]�(h�SHelper to create a validating parse action to be used with start
tags created with �����}�(h�SHelper to create a validating parse action to be used with start
tags created with �hj'�hhhNhNubh)��}�(h�:class:`make_xml_tags`�h]�hj)��}�(hj2�h]�h�
make_xml_tags�����}�(hhhj4�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj0�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j>��refexplicit��h�j#�h�Nh��
make_xml_tags�h�h�h��uh)h~hj�hKhj'�ubh� or
�����}�(h� or
�hj'�hhhNhNubh)��}�(h�:class:`make_html_tags`�h]�hj)��}�(hjU�h]�h�make_html_tags�����}�(hhhjW�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjS�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�ja��refexplicit��h�j#�h�Nh��make_html_tags�h�h�h��uh)h~hj�hKhj'�ubh�. Use �����}�(h�. Use �hj'�hhhNhNubhj)��}�(h�``with_attribute``�h]�h�with_attribute�����}�(hhhjv�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj'�ubh�j to qualify
a starting tag with a required attribute value, to avoid false
matches on common tags such as �����}�(h�j to qualify
a starting tag with a required attribute value, to avoid false
matches on common tags such as �hj'�hhhNhNubhj)��}�(h�``<TD>``�h]�h�<TD>�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj'�ubh� or �����}�(h� or �hj'�hhhNhNubhj)��}�(h�	``<DIV>``�h]�h�<DIV>�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj'�ubh�.�����}�(hj�hj'�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj$�hhubhQ)��}�(h�Call ``with_attribute`` with a series of attribute names and
values. Specify the list of filter attributes names and values as:�h]�(h�Call �����}�(h�Call �hj��hhhNhNubhj)��}�(h�``with_attribute``�h]�h�with_attribute�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�h with a series of attribute names and
values. Specify the list of filter attributes names and values as:�����}�(h�h with a series of attribute names and
values. Specify the list of filter attributes names and values as:�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj$�hhubj�)��}�(hhh]�(j�)��}�(h�0keyword arguments, as in ``(align="right")``, or�h]�hQ)��}�(hj�h]�(h�keyword arguments, as in �����}�(h�keyword arguments, as in �hj�ubhj)��}�(h�``(align="right")``�h]�h�(align="right")�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�, or�����}�(h�, or�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubj�)��}�(h��as an explicit dict with ``**`` operator, when an attribute
name is also a Python reserved word, as in ``**{"class":"Customer", "align":"right"}``�h]�hQ)��}�(h��as an explicit dict with ``**`` operator, when an attribute
name is also a Python reserved word, as in ``**{"class":"Customer", "align":"right"}``�h]�(h�as an explicit dict with �����}�(h�as an explicit dict with �hj�ubhj)��}�(h�``**``�h]�h�**�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�H operator, when an attribute
name is also a Python reserved word, as in �����}�(h�H operator, when an attribute
name is also a Python reserved word, as in �hj�ubhj)��}�(h�+``**{"class":"Customer", "align":"right"}``�h]�h�'**{"class":"Customer", "align":"right"}�����}�(hhhj$�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubj�)��}�(h�[a list of name-value tuples, as in ``(("ns1:class", "Customer"), ("ns2:align", "right"))``
�h]�hQ)��}�(h�Za 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 �hjB�ubhj)��}�(h�7``(("ns1:class", "Customer"), ("ns2:align", "right"))``�h]�h�3(("ns1:class", "Customer"), ("ns2:align", "right"))�����}�(hhhjK�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjB�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hj>�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hK
hj$�hhubhQ)��}�(h��For attribute names with a namespace prefix, you must use the second
form.  Attribute names are matched insensitive to upper/lower case.�h]�h��For attribute names with a namespace prefix, you must use the second
form.  Attribute names are matched insensitive to upper/lower case.�����}�(hjm�hjk�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj$�hhubhQ)��}�(h�UIf just testing for ``class`` (with or without a namespace), use
:class:`with_class`.�h]�(h�If just testing for �����}�(h�If just testing for �hjy�hhhNhNubhj)��}�(h�	``class``�h]�h�class�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjy�ubh�$ (with or without a namespace), use
�����}�(h�$ (with or without a namespace), use
�hjy�hhhNhNubh)��}�(h�:class:`with_class`�h]�hj)��}�(hj��h]�h�
with_class�����}�(hhhj��ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj��ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j#�h�Nh��
with_class�h�h�h��uh)h~hj�hKhjy�ubh�.�����}�(hj�hjy�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj$�hhubhQ)��}�(h�tTo verify that the attribute exists, but without specifying a value,
pass ``with_attribute.ANY_VALUE`` as the value.�h]�(h�JTo verify that the attribute exists, but without specifying a value,
pass �����}�(h�JTo verify that the attribute exists, but without specifying a value,
pass �hj��hhhNhNubhj)��}�(h�``with_attribute.ANY_VALUE``�h]�h�with_attribute.ANY_VALUE�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh� as the value.�����}�(h� as the value.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj$�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj$�hhubja)��}�(hX�html = '''
    <div>
    Some text
    <div type="grid">1 4 0 1 0</div>
    <div type="graph">1,3 2,3 1,1</div>
    <div>this has no type</div>
    </div>

'''
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]�hX�html = '''
    <div>
    Some text
    <div type="grid">1 4 0 1 0</div>
    <div type="graph">1,3 2,3 1,1</div>
    <div>this has no type</div>
    </div>

'''
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)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj$�hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK1hj$�hhubja)��}�(h� 1 4 0 1 0

1 4 0 1 0
1,3 2,3 1,1�h]�h� 1 4 0 1 0

1 4 0 1 0
1,3 2,3 1,1�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM0hj$�hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j&�j`�uh)jhhhj�hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%indentedBlock() (in module pyparsing)��pyparsing.indentedBlock�hNt�auh)h,hj�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.indentedBlock�hNubj)��}�(hhh]�(j!)��}�(h�MindentedBlock(blockStatementExpr, indentStack, indent=True, backup_stacks=[])�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj=�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj9�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.indentedBlock�hNubjH)��}�(h�
indentedBlock�h]�h�
indentedBlock�����}�(hhhjL�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj9�hhhjK�hNubj')��}�(h�>blockStatementExpr, indentStack, indent=True, backup_stacks=[]�h]�(j-)��}�(h�blockStatementExpr�h]�h�blockStatementExpr�����}�(hhhj^�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjZ�ubj-)��}�(h�indentStack�h]�h�indentStack�����}�(hhhjl�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjZ�ubj-)��}�(h�indent=True�h]�h�indent=True�����}�(hhhjz�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjZ�ubj-)��}�(h�backup_stacks=[]�h]�h�backup_stacks=[]�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjZ�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj9�hhhjK�hNubeh}�(h]�j3�ah!]�h#]�j3�ah%]�h']�j\�j]�	pyparsing�j_hj`jN�uh)j hj6�hhhjK�hNubjb)��}�(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.�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj5�hKhj��hhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj5�hKhj��hhubj�)��}�(hhh]�(j�)��}�(h�k``blockStatementExpr`` - expression defining syntax of statement that
is repeated within the indented block�h]�hQ)��}�(h�k``blockStatementExpr`` - expression defining syntax of statement that
is repeated within the indented block�h]�(hj)��}�(h�``blockStatementExpr``�h]�h�blockStatementExpr�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�U - expression defining syntax of statement that
is repeated within the indented block�����}�(h�U - expression defining syntax of statement that
is repeated within the indented block�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj5�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj5�hNubj�)��}�(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�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�@ - list created by caller to manage indentation stack
(multiple �����}�(h�@ - list created by caller to manage indentation stack
(multiple �hj�ubhj)��}�(h�``statementWithIndentedBlock``�h]�h�statementWithIndentedBlock�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�; expressions within a single
grammar should share a common �����}�(h�; expressions within a single
grammar should share a common �hj�ubhj)��}�(h�``indentStack``�h]�h�indentStack�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�)�����}�(hj~Thj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj5�hK	hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj5�hNubj�)��}�(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]�h�indent�����}�(hhhj@�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj<�ubh�V - boolean indicating whether block must be indented beyond
the current level; set to �����}�(h�V - boolean indicating whether block must be indented beyond
the current level; set to �hj<�ubhj)��}�(h�	``False``�h]�h�False�����}�(hhhjS�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj<�ubh�- for block of left-most statements
(default= �����}�(h�- for block of left-most statements
(default= �hj<�ubhj)��}�(h�``True``�h]�h�True�����}�(hhhjf�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj<�ubh�)�����}�(hj~Thj<�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj5�hKhj8�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj5�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj5�hKhj��hhubhQ)��}�(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 �hj��hhhNhNubhj)��}�(h�``blockStatement``�h]�h�blockStatement�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�.�����}�(hj�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj5�hKhj��hhubhQ)��}�(h�f(Note that indentedBlock uses internal parse actions which make it
incompatible with packrat parsing.)�h]�h�f(Note that indentedBlock uses internal parse actions which make it
incompatible with packrat parsing.)�����}�(hj��hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj5�hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj5�hKhj��hhubja)��}�(hX�data = '''
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]�hX�data = '''
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()�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMOhj��hhhj5�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj5�hK@hj��hhubja)��}�(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']]]]]]]�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMzhj��hhhj5�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj6�hhhjK�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�j`�uh)jhhhj�hj5�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)original_text_for() (in module pyparsing)��pyparsing.original_text_for�hNt�auh)h,hj�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.original_text_for�hNubj)��}�(hhh]�(j!)��}�(h��original_text_for(expr: pyparsing.core.ParserElement, as_string: bool = True, *, asString: bool = True) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.original_text_for�hNubjH)��}�(h�original_text_for�h]�h�original_text_for�����}�(hhhj&�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj%�hNubj')��}�(h�Texpr: pyparsing.core.ParserElement, as_string: bool = True, *, asString: bool = True�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj8�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj4�ubj-)��}�(h�as_string: bool = True�h]�h�as_string: bool = True�����}�(hhhjF�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj4�ubj-)��}�(hj@h]�h�*�����}�(hhhjT�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj4�ubj-)��}�(h�asString: bool = True�h]�h�asString: bool = True�����}�(hhhja�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj4�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj%�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhju�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj%�hNubeh}�(h]�j
�ah!]�h#]�j
�ah%]�h']�j\�j]�	pyparsing�j_hj`j(�uh)j hj�hhhj%�hNubjb)��}�(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)hPhj�hKhj��hhubhQ)��}�(hX�If 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]�(h�If the optional �����}�(h�If 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]�h�False�����}�(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!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j��h�Nh��ParseResults�h�h�h��uh)h~hj�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]�h�original_text_for�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j���refexplicit��h�j��h�Nh��original_text_for�h�h�h��uh)h~hj�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]�h�False�����}�(hhhj#�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj��ubh�3 if you
want to preserve those results name values.�����}�(h�3 if you
want to preserve those results name values.�hj��hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubhQ)��}�(h�jThe ``asString`` pre-PEP8 argument is retained for compatibility,
but will be removed in a future release.�h]�(h�The �����}�(h�The �hj<�hhhNhNubhj)��}�(h�``asString``�h]�h�asString�����}�(hhhjE�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj<�ubh�Z pre-PEP8 argument is retained for compatibility,
but will be removed in a future release.�����}�(h�Z pre-PEP8 argument is retained for compatibility,
but will be removed in a future release.�hj<�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj^�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubja)��}�(h��src = "this is test <b> bold <i>text</i> </b> 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]�h��src = "this is test <b> bold <i>text</i> </b> 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])�����}�(hhhjm�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj��hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj{�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj��hhubja)��}�(h�-['<b> bold <i>text</i> </b>']
['<i>text</i>']�h]�h�-['<b> bold <i>text</i> </b>']
['<i>text</i>']�����}�(hhhj��ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj��hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj%�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j��j`�uh)jhhhj�hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�ungroup() (in module pyparsing)��pyparsing.ungroup�hNt�auh)h,hj�hhh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.ungroup�hNubj)��}�(hhh]�(j!)��}�(h�Kungroup(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj��hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj��hhh�Z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.ungroup�hNubjH)��}�(h�ungroup�h]�h�ungroup�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj��hhhj�hNubj')��}�(h�"expr: pyparsing.core.ParserElement�h]�j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj��hhhj�hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj��hhhj�hNubeh}�(h]�j��ah!]�h#]�j��ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj��hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�bHelper to undo pyparsing's default grouping of And expressions,
even if all but one are non-empty.�h]�h�dHelper to undo pyparsing’s default grouping of And expressions,
even if all but one are non-empty.������%}�(hjhj	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj��hKhjhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj��hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j$j`�uh)jhhhj�hj��hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&infix_notation() (in module pyparsing)��pyparsing.infix_notation�hNt�auh)h,hj�hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.infix_notation�hNubj)��}�(hhh]�(j!)��}�(hX�infix_notation(base_expr: pyparsing.core.ParserElement, op_list: List[Union[typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, typing.Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any], NoneType]], typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.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.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj7hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.infix_notation�hNubjH)��}�(h�infix_notation�h]�h�infix_notation�����}�(hhhjJhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj7hhhjIhNubj')��}�(hXbbase_expr: pyparsing.core.ParserElement, op_list: List[Union[typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, typing.Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any], NoneType]], typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.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-)��}�(hXbbase_expr: pyparsing.core.ParserElement, op_list: List[Union[typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, typing.Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any], NoneType]], typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')')�h]�hXbbase_expr: pyparsing.core.ParserElement, op_list: List[Union[typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, typing.Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any], NoneType]], typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')')�����}�(hhhj\hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjXhhhjIhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj7hhhjIhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjphhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj7hhhjIhNubeh}�(h]�j1ah!]�h#]�j1ah%]�h']�j\�j]�	pyparsing�j_hj`jLuh)j hj4hhhjIhNubjb)��}�(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).�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hKhj�hhubhQ)��}�(h��Note: 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]�(h�hNote: if you define a deep operator list, you may see performance
issues when using infix_notation. See
�����}�(h�hNote: if you define a deep operator list, you may see performance
issues when using infix_notation. See
�hj�hhhNhNubh)��}�(h�%:class:`ParserElement.enable_packrat`�h]�hj)��}�(hj�h]�h�ParserElement.enable_packrat�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�Nh��ParserElement.enable_packrat�h�h�h��uh)h~hj3hKhj�ubh�@ for a mechanism to potentially
improve your parser performance.�����}�(h�@ for a mechanism to potentially
improve your parser performance.�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hKhj�hhubhQ)��}�(h�OParameters:
- ``base_expr`` - expression representing the most basic operand to�h]�(h�Parameters:
- �����}�(h�Parameters:
- �hj�hhhNhNubhj)��}�(h�
``base_expr``�h]�h�	base_expr�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�4 - expression representing the most basic operand to�����}�(h�4 - expression representing the most basic operand to�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hK
hj�hhubj�)��}�(hhh]�hQ)��}�(h�be used in the expression�h]�h�be used in the expression�����}�(hj�hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj3hNubj�)��}�(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]�h�op_list�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�uh)hihjubh�o - list of tuples, one for each operator precedence level
in the expression grammar; each tuple is of the form �����}�(h�o - list of tuples, one for each operator precedence level
in the expression grammar; each tuple is of the form �hjubhj)��}�(h�E``(op_expr,
num_operands, right_left_assoc, (optional)parse_action)``�h]�h�A(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)hPhj3hKhjubj�)��}�(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 terms�h]�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 terms�h]�(hj)��}�(h�``op_expr``�h]�h�op_expr�����}�(hhhjCubah}�(h]�h!]�h#]�h%]�h']�uh)hihj?ubh�n is the pyparsing expression for the operator; may also
be a string, which will be converted to a Literal; if �����}�(h�n is the pyparsing expression for the operator; may also
be a string, which will be converted to a Literal; if �hj?ubhj)��}�(h�``num_operands``�h]�h�num_operands�����}�(hhhjVubah}�(h]�h!]�h#]�h%]�h']�uh)hihj?ubh�
is 3, �����}�(h�
is 3, �hj?ubhj)��}�(h�``op_expr``�h]�h�op_expr�����}�(hhhjiubah}�(h]�h!]�h#]�h%]�h']�uh)hihj?ubh�L is a tuple of two expressions, for the two
operators separating the 3 terms�����}�(h�L is a tuple of two expressions, for the two
operators separating the 3 terms�hj?ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hKhj;ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj8ubj�)��}�(h�N``num_operands`` is the number of terms for this operator (must be 1,
2, or 3)�h]�hQ)��}�(h�N``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)hPhj3hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj8ubj�)��}�(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]�h�right_left_assoc�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�k is the indicator whether the operator is right
or left associative, using the pyparsing-defined constants
�����}�(h�k is the indicator whether the operator is right
or left associative, using the pyparsing-defined constants
�hj�ubhj)��}�(h�``OpAssoc.RIGHT``�h]�h�
OpAssoc.RIGHT�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� and �����}�(h� and �hj�ubhj)��}�(h�``OpAssoc.LEFT``�h]�h�OpAssoc.LEFT�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�.�����}�(hj�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj8ubj�)��}�(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)hihj�ubh�� 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
�hj�ubhj)��}�(h�``set_parse_action(*fn)``�h]�h�set_parse_action(*fn)�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�
(�����}�(h�
(�hj�ubh)��}�(h�':class:`ParserElement.set_parse_action`�h]�hj)��}�(hj+h]�h�ParserElement.set_parse_action�����}�(hhhj-ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj)ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j7�refexplicit��h�j�h�Nh��ParserElement.set_parse_action�h�h�h��uh)h~hj3hKhj�ubh�)�����}�(hj~Thj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj8ubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj3hKhjubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hjhhhNhNubj�)��}�(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]�h�lpar�����}�(hhhjkubah}�(h]�h!]�h#]�h%]�h']�uh)hihjgubh�� - 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 �hjgubhj)��}�(h�``Literal('(')``�h]�h�Literal('(')�����}�(hhhj~ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjgubh�P), then it will be kept in
the parsed results, and grouped with them. (default= �����}�(h�P), then it will be kept in
the parsed results, and grouped with them. (default= �hjgubhj)��}�(h�``Suppress('(')``�h]�h�
Suppress('(')�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjgubh�)�����}�(hj~Thjgubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hK#hjcubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjhhhj3hNubj�)��}�(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]�h�rpar�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�� - 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 �hj�ubhj)��}�(h�``Literal(')')``�h]�h�Literal(')')�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�P), then it will be kept in
the parsed results, and grouped with them. (default= �����}�(h�P), then it will be kept in
the parsed results, and grouped with them. (default= �hj�ubhj)��}�(h�``Suppress(')')``�h]�h�
Suppress(')')�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�)�����}�(hj~Thj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hK'hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjhhhj3hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj3hKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hK,hj�hhubja)��}�(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']�jpjquh)j`hM�hj�hhhj3ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hK@hj�hhubja)��}�(h�c5+3*6
[[5, '+', [3, '*', 6]]]

(5+3)*6
[[[5, '+', 3], '*', 6]]

-2--11
[[['-', 2], '-', ['-', 11]]]�h]�h�c5+3*6
[[5, '+', [3, '*', 6]]]

(5+3)*6
[[[5, '+', 3], '*', 6]]

-2--11
[[['-', 2], '-', ['-', 11]]]�����}�(hhhj-ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�hhhj3ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj4hhhjIhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jHj`�uh)jhhhj�hj3hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#locatedExpr() (in module pyparsing)��pyparsing.locatedExpr�hNt�auh)h,hj�hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.locatedExpr�hNubj)��}�(hhh]�(j!)��}�(h�OlocatedExpr(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj_hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj[hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.locatedExpr�hNubjH)��}�(h�locatedExpr�h]�h�locatedExpr�����}�(hhhjnhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj[hhhjmhNubj')��}�(h�"expr: pyparsing.core.ParserElement�h]�j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj|ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj[hhhjmhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj[hhhjmhNubeh}�(h]�jUah!]�h#]�jUah%]�h']�j\�j]�	pyparsing�j_hj`jpuh)j hjXhhhjmhNubjb)��}�(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.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjWhKhj�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)hPhjWhKhj�hhubj�)��}�(hhh]�(j�)��}�(h�9``locn_start`` - location where matched expression begins�h]�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 begins�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjWhKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhjWhNubj�)��}�(h�5``locn_end`` - location where matched expression ends�h]�hQ)��}�(hj�h]�(hj)��}�(h�``locn_end``�h]�h�locn_end�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�) - location where matched expression ends�����}�(h�) - location where matched expression ends�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjWhKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhjWhNubj�)��}�(h�&``value`` - the actual parsed results
�h]�hQ)��}�(h�%``value`` - the actual parsed results�h]�(hj)��}�(h�	``value``�h]�h�value�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�uh)hihjubh� - the actual parsed results�����}�(h� - the actual parsed results�hjubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjWhK	hjubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhjWhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjWhKhj�hhubhQ)��}�(h�uBe careful if the input text contains ``<TAB>`` 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 �hjDhhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhjMubah}�(h]�h!]�h#]�h%]�h']�uh)hihjDubh�" characters, you
may want to call �����}�(h�" characters, you
may want to call �hjDhhhNhNubh)��}�(h�$:class:`ParserElement.parseWithTabs`�h]�hj)��}�(hjbh]�h�ParserElement.parseWithTabs�����}�(hhhjdubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj`ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jn�refexplicit��h�j�h�Nh��ParserElement.parseWithTabs�h�h�h��uh)h~hjWhKhjDubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjWhKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjWhKhj�hhubja)��}�(h�lwd = Word(alphas)
for match in locatedExpr(wd).searchString("ljsdf123lksdjjf123lkkjj1222"):
    print(match)�h]�h�lwd = Word(alphas)
for match in locatedExpr(wd).searchString("ljsdf123lksdjjf123lkkjj1222"):
    print(match)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�hhhjWubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjWhKhj�hhubja)��}�(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']�jpjquh)j`hMhj�hhhjWubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjXhhhjmhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�j`�uh)jhhhj�hjWhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�"with_class() (in module pyparsing)��pyparsing.with_class�hNt�auh)h,hj�hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.with_class�hNubj)��}�(hhh]�(j!)��}�(h�#with_class(classname, namespace='')�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.with_class�hNubjH)��}�(h�
with_class�h]�h�
with_class�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�classname, namespace=''�h]�(j-)��}�(h�	classname�h]�h�	classname�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�namespace=''�h]�h�namespace=''�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h��Simplified version of :class:`with_attribute` when
matching on a div class - made difficult because ``class`` is
a reserved word in Python.�h]�(h�Simplified version of �����}�(h�Simplified version of �hj/hhhNhNubh)��}�(h�:class:`with_attribute`�h]�hj)��}�(hj:h]�h�with_attribute�����}�(hhhj<ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj8ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jF�refexplicit��h�j+h�Nh��with_attribute�h�h�h��uh)h~hj�hKhj/ubh�7 when
matching on a div class - made difficult because �����}�(h�7 when
matching on a div class - made difficult because �hj/hhhNhNubhj)��}�(h�	``class``�h]�h�class�����}�(hhhj[ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj/ubh� is
a reserved word in Python.�����}�(h� is
a reserved word in Python.�hj/hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj,hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjthhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj,hhubja)��}�(hX[html = '''
    <div>
    Some text
    <div class="grid">1 4 0 1 0</div>
    <div class="graph">1,3 2,3 1,1</div>
    <div>this &lt;div&gt; has no class</div>
    </div>

'''
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 = '''
    <div>
    Some text
    <div class="grid">1 4 0 1 0</div>
    <div class="graph">1,3 2,3 1,1</div>
    <div>this &lt;div&gt; has no class</div>
    </div>

'''
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)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM,hj,hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj,hhubja)��}�(h� 1 4 0 1 0

1 4 0 1 0
1,3 2,3 1,1�h]�h� 1 4 0 1 0

1 4 0 1 0
1,3 2,3 1,1�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMChj,hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�j`�uh)jhhhj�hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�CloseMatch (class in pyparsing)��pyparsing.CloseMatch�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�dCloseMatch(match_string: str, max_mismatches: int = None, *, maxMismatches: int = 1, caseless=False)�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CloseMatch�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj�hNubjH)��}�(h�
CloseMatch�h]�h�
CloseMatch�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�Xmatch_string: str, max_mismatches: int = None, *, maxMismatches: int = 1, caseless=False�h]�(j-)��}�(h�match_string: str�h]�h�match_string: str�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�max_mismatches: int = None�h]�h�max_mismatches: int = None�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hj@h]�h�*�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�maxMismatches: int = 1�h]�h�maxMismatches: int = 1�����}�(hhhj)ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�caseless=False�h]�h�caseless=False�����}�(hhhj7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�$Bases: :class:`pyparsing.core.Token`�h]�(h�Bases: �����}�(h�Bases: �hjUhhhNhNubh)��}�(h�:class:`pyparsing.core.Token`�h]�hj)��}�(hj`h]�h�pyparsing.core.Token�����}�(hhhjbubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj^ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jl�refexplicit��h�jQh�j�h��pyparsing.core.Token�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CloseMatch�hKhjUubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj|hKhjRhhubhQ)��}�(h��A variation on :class:`Literal` which matches "close" matches,
that is, strings with at most 'n' mismatching characters.
:class:`CloseMatch` takes parameters:�h]�(h�A variation on �����}�(h�A variation on �hj�hhhNhNubh)��}�(h�:class:`Literal`�h]�hj)��}�(hj�h]�h�Literal�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�jQh�j�h��Literal�h�h�h��uh)h~h�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CloseMatch�hKhj�ubh�b which matches “close” matches,
that is, strings with at most ‘n’ mismatching characters.
�����}�(h�Z which matches "close" matches,
that is, strings with at most 'n' mismatching characters.
�hj�hhhNhNubh)��}�(h�:class:`CloseMatch`�h]�hj)��}�(hj�h]�h�
CloseMatch�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�jQh�j�h��
CloseMatch�h�h�h��uh)h~hj�hKhj�ubh� takes parameters:�����}�(h� takes parameters:�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjRhhubj�)��}�(hhh]�(j�)��}�(h�'``match_string`` - string to be matched�h]�hQ)��}�(hj�h]�(hj)��}�(h�``match_string``�h]�h�match_string�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� - string to be matched�����}�(h� - string to be matched�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubj�)��}�(h�V``caseless`` - a boolean indicating whether to ignore casing when comparing characters�h]�hQ)��}�(hjh]�(hj)��}�(h�``caseless``�h]�h�caseless�����}�(hhhj	ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjubh�J - a boolean indicating whether to ignore casing when comparing characters�����}�(h�J - a boolean indicating whether to ignore casing when comparing characters�hjubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�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 match�h]�(hj)��}�(h�``max_mismatches``�h]�h�max_mismatches�����}�(hhhj0ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj,ubh� - (�����}�(h� - (�hj,ubhj)��}�(h�
``default=1``�h]�h�	default=1�����}�(hhhjCubah}�(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 match�hj,ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj(ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hKhjRhhubhQ)��}�(h�xThe results from a successful parse will contain the matched text
from the input string and the following named results:�h]�h�xThe results from a successful parse will contain the matched text
from the input string and the following named results:�����}�(hjjhjhhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hjRhhubj�)��}�(hhh]�(j�)��}�(h�\``mismatches`` - a list of the positions within the
match_string where mismatches were found�h]�hQ)��}�(h�\``mismatches`` - a list of the positions within the
match_string where mismatches were found�h]�(hj)��}�(h�``mismatches``�h]�h�
mismatches�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj}ubh�N - a list of the positions within the
match_string where mismatches were found�����}�(h�N - a list of the positions within the
match_string where mismatches were found�hj}ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hjyubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjvhhhj�hNubj�)��}�(h�R``original`` - the original match_string used to compare
against the input string
�h]�hQ)��}�(h�Q``original`` - the original match_string used to compare
against the input string�h]�(hj)��}�(h�``original``�h]�h�original�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�E - the original match_string used to compare
against the input string�����}�(h�E - the original match_string used to compare
against the input string�hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjvhhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�hK
hjRhhubhQ)��}�(h�FIf ``mismatches`` is an empty list, then the match was an exact
match.�h]�(h�If �����}�(h�If �hj�hhhNhNubhj)��}�(h�``mismatches``�h]�h�
mismatches�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�5 is an empty list, then the match was an exact
match.�����}�(h�5 is an empty list, then the match was an exact
match.�hj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjRhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjRhhubja)��}�(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']�jpjquh)j`hMdhjRhhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CloseMatch.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(__init__() (pyparsing.CloseMatch method)��pyparsing.CloseMatch.__init__�hNt�auh)h,hjRhhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CloseMatch.__init__�hNubj)��}�(hhh]�(j!)��}�(h�mCloseMatch.__init__(match_string: str, max_mismatches: int = None, *, maxMismatches: int = 1, caseless=False)�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj#hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/core.py:docstring of pyparsing.CloseMatch.__init__�hNubj')��}�(h�Xmatch_string: str, max_mismatches: int = None, *, maxMismatches: int = 1, caseless=False�h]�(j-)��}�(h�match_string: str�h]�h�match_string: str�����}�(hhhj6ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj2ubj-)��}�(h�max_mismatches: int = None�h]�h�max_mismatches: int = None�����}�(hhhjDubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj2ubj-)��}�(hj@h]�h�*�����}�(hhhjRubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj2ubj-)��}�(h�maxMismatches: int = 1�h]�h�maxMismatches: int = 1�����}�(hhhj_ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj2ubj-)��}�(h�caseless=False�h]�h�caseless=False�����}�(hhhjmubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj2ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhj1hNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_j�j`�CloseMatch.__init__�uh)j hjhhhj1hNubjb)��}�(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)jahjhhhj1hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhjRhjhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�!token_map() (in module pyparsing)��pyparsing.token_map�hNt�auh)h,hj�hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.token_map�hNubj)��}�(hhh]�(j!)��}�(hXtoken_map(func, *args) -> Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.token_map�hNubjH)��}�(h�	token_map�h]�h�	token_map�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�func, *args�h]�(j-)��}�(h�func�h]�h�func�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(h�*args�h]�h�*args�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubj�)��}�(h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�����}�(hhhj	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj�hhhj�hNubjb)��}�(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]�(h�KHelper to define a parse action by mapping a function to all
elements of a �����}�(h�KHelper to define a parse action by mapping a function to all
elements of a �hj'	hhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj2	h]�h�ParseResults�����}�(hhhj4	ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj0	ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j>	�refexplicit��h�j#	h�Nh��ParseResults�h�h�h��uh)h~hj�hKhj'	ubh�� 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
�hj'	hhhNhNubhj)��}�(h�D``hex_integer = Word(hexnums).set_parse_action(token_map(int, 16))``�h]�h�@hex_integer = Word(hexnums).set_parse_action(token_map(int, 16))�����}�(hhhjS	ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj'	ubh�A,
which will convert the parsed data to an integer using base 16.�����}�(h�A,
which will convert the parsed data to an integer using base 16.�hj'	hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj$	hhubhQ)��}�(h�QExample (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 �hjl	hhhNhNubh)��}�(h�':class:`ParserElement.transform_string`�h]�hj)��}�(hjw	h]�h�ParserElement.transform_string�����}�(hhhjy	ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihju	ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�	�refexplicit��h�j#	h�Nh��ParserElement.transform_string�h�h�h��uh)h~hj�hKhjl	ubh�:�����}�(hjchjl	hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj$	hhubja)��}�(hX�hex_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]�hX�hex_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�	ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj$	hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj$	hhubja)��}�(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�	ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj$	hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�	j`�uh)jhhhj�hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%pyparsing_common (class in pyparsing)��pyparsing.pyparsing_common�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�	hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�	hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�	hhhj�	hNubjH)��}�(hj�	h]�h�pyparsing_common�����}�(hhhj
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�	hhhj�	hNubeh}�(h]�j�	ah!]�h#]�j�	ah%]�h']�j\�j]�	pyparsing�j_hj`j�	uh)j hj�	hhhj�	hNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`object`�h]�(h�Bases: �����}�(h�Bases: �hj
hhhNhNubh)��}�(h�:class:`object`�h]�hj)��}�(hj*
h]�h�object�����}�(hhhj,
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj(
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j6
�refexplicit��h�j
h�j�	h��object�h�h�h��uh)h~h�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common�hKhj
ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjF
hKhj
hhubhQ)��}�(h�bHere are some common low-level expressions that may be useful in
jump-starting parser development:�h]�h�bHere are some common low-level expressions that may be useful in
jump-starting parser development:�����}�(hjO
hjM
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common�hKhj
hhubj�)��}�(hhh]�(j�)��}�(h�hnumeric forms (:class:`integers<integer>`, :class:`reals<real>`,
:class:`scientific notation<sci_real>`)�h]�hQ)��}�(h�hnumeric forms (:class:`integers<integer>`, :class:`reals<real>`,
:class:`scientific notation<sci_real>`)�h]�(h�numeric forms (�����}�(h�numeric forms (�hjc
ubh)��}�(h�:class:`integers<integer>`�h]�hj)��}�(hjn
h]�h�integers�����}�(hhhjp
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjl
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jz
�refexplicit��h�j
h�j�	h��integer�h�h�h��uh)h~hj[
hKhjc
ubh�, �����}�(h�, �hjc
ubh)��}�(h�:class:`reals<real>`�h]�hj)��}�(hj�
h]�h�reals�����}�(hhhj�
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�
�refexplicit��h�j
h�j�	h��real�h�h�h��uh)h~hj[
hKhjc
ubh�,
�����}�(h�,
�hjc
ubh)��}�(h�&:class:`scientific notation<sci_real>`�h]�hj)��}�(hj�
h]�h�scientific notation�����}�(hhhj�
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�
�refexplicit��h�j
h�j�	h��sci_real�h�h�h��uh)h~hj[
hKhjc
ubh�)�����}�(hj~Thjc
ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj_
ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj\
hhhj[
hNubj�)��}�(h�3common :class:`programming identifiers<identifier>`�h]�hQ)��}�(hj�
h]�(h�common �����}�(h�common �hj�
ubh)��}�(h�,:class:`programming identifiers<identifier>`�h]�hj)��}�(hj�
h]�h�programming identifiers�����}�(hhhj�
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�
�refexplicit��h�j
h�j�	h��
identifier�h�h�h��uh)h~hj[
hKhj�
ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj�
ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj\
hhhj[
hNubj�)��}�(h�gnetwork addresses (:class:`MAC<mac_address>`,
:class:`IPv4<ipv4_address>`, :class:`IPv6<ipv6_address>`)�h]�hQ)��}�(h�gnetwork addresses (:class:`MAC<mac_address>`,
:class:`IPv4<ipv4_address>`, :class:`IPv6<ipv6_address>`)�h]�(h�network addresses (�����}�(h�network addresses (�hjubh)��}�(h�:class:`MAC<mac_address>`�h]�hj)��}�(hj%h]�h�MAC�����}�(hhhj'ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj#ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j1�refexplicit��h�j
h�j�	h��mac_address�h�h�h��uh)h~hj[
hKhjubh�,
�����}�(h�,
�hjubh)��}�(h�:class:`IPv4<ipv4_address>`�h]�hj)��}�(hjHh]�h�IPv4�����}�(hhhjJubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjFubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jT�refexplicit��h�j
h�j�	h��ipv4_address�h�h�h��uh)h~hj[
hKhjubh�, �����}�(h�, �hjubh)��}�(h�:class:`IPv6<ipv6_address>`�h]�hj)��}�(hjkh]�h�IPv6�����}�(hhhjmubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjiubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jw�refexplicit��h�j
h�j�	h��ipv6_address�h�h�h��uh)h~hj[
hKhjubh�)�����}�(hj~Thjubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhjubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj\
hhhj[
hNubj�)��}�(h�LISO8601 :class:`dates<iso8601_date>` and
:class:`datetime<iso8601_datetime>`�h]�hQ)��}�(h�LISO8601 :class:`dates<iso8601_date>` and
:class:`datetime<iso8601_datetime>`�h]�(h�ISO8601 �����}�(h�ISO8601 �hj�ubh)��}�(h�:class:`dates<iso8601_date>`�h]�hj)��}�(hj�h]�h�dates�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j
h�j�	h��iso8601_date�h�h�h��uh)h~hj[
hK	hj�ubh� and
�����}�(h� and
�hj�ubh)��}�(h�#:class:`datetime<iso8601_datetime>`�h]�hj)��}�(hj�h]�h�datetime�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j
h�j�	h��iso8601_datetime�h�h�h��uh)h~hj[
hK	hj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hK	hj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj\
hhhj[
hNubj�)��}�(h�:class:`UUID<uuid>`�h]�hQ)��}�(hj�h]�h)��}�(hj�h]�hj)��}�(hj�h]�h�UUID�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�refexplicit��h�j
h�j�	h��uuid�h�h�h��uh)h~hj[
hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj\
hhhj[
hNubj�)��}�(h�3:class:`comma-separated list<comma_separated_list>`�h]�hQ)��}�(hj#h]�h)��}�(hj#h]�hj)��}�(hj#h]�h�comma-separated list�����}�(hhhj+ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj(ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j5�refexplicit��h�j
h�j�	h��comma_separated_list�h�h�h��uh)h~hj[
hKhj%ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj!ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj\
hhhj[
hNubj�)��}�(h�
:class:`url`
�h]�hQ)��}�(h�:class:`url`�h]�h)��}�(hjWh]�hj)��}�(hjWh]�h�url�����}�(hhhj\ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjYubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jf�refexplicit��h�j
h�j�	h��url�h�h�h��uh)h~hj[
hK
hjUubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hK
hjQubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj\
hhhj[
hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj[
hKhj
hhubhQ)��}�(h�Parse actions:�h]�h�Parse actions:�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj
hhubj�)��}�(hhh]�(j�)��}�(h�:class:`convertToInteger`�h]�hQ)��}�(hj�h]�h)��}�(hj�h]�hj)��}�(hj�h]�h�convertToInteger�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j
h�j�	h��convertToInteger�h�h�h��uh)h~hj[
hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj[
hNubj�)��}�(h�:class:`convertToFloat`�h]�hQ)��}�(hj�h]�h)��}�(hj�h]�hj)��}�(hj�h]�h�convertToFloat�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j
h�j�	h��convertToFloat�h�h�h��uh)h~hj[
hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj[
hNubj�)��}�(h�:class:`convertToDate`�h]�hQ)��}�(hj�h]�h)��}�(hj�h]�hj)��}�(hj�h]�h�
convertToDate�����}�(hhhj
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j

�refexplicit��h�j
h�j�	h��
convertToDate�h�h�h��uh)h~hj[
hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj[
hNubj�)��}�(h�:class:`convertToDatetime`�h]�hQ)��}�(hj+
h]�h)��}�(hj+
h]�hj)��}�(hj+
h]�h�convertToDatetime�����}�(hhhj3
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj0
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j=
�refexplicit��h�j
h�j�	h��convertToDatetime�h�h�h��uh)h~hj[
hKhj-
ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj)
ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj[
hNubj�)��}�(h�:class:`stripHTMLTags`�h]�hQ)��}�(hj[
h]�h)��}�(hj[
h]�hj)��}�(hj[
h]�h�
stripHTMLTags�����}�(hhhjc
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj`
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jm
�refexplicit��h�j
h�j�	h��
stripHTMLTags�h�h�h��uh)h~hj[
hKhj]
ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhjY
ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj[
hNubj�)��}�(h�:class:`upcaseTokens`�h]�hQ)��}�(hj�
h]�h)��}�(hj�
h]�hj)��}�(hj�
h]�h�upcaseTokens�����}�(hhhj�
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�
�refexplicit��h�j
h�j�	h��upcaseTokens�h�h�h��uh)h~hj[
hKhj�
ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj�
ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj[
hNubj�)��}�(h�:class:`downcaseTokens`
�h]�hQ)��}�(h�:class:`downcaseTokens`�h]�h)��}�(hj�
h]�hj)��}�(hj�
h]�h�downcaseTokens�����}�(hhhj�
ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�
�refexplicit��h�j
h�j�	h��downcaseTokens�h�h�h��uh)h~hj[
hKhj�
ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj�
ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�hhhj[
hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj[
hKhj
hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKhj
hhubja)��}�(hX�pyparsing_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]�hX�pyparsing_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']�jpjquh)j`hM�hj
hhhj[
ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[
hKJhj
hhubja)��}�(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')]�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj
hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.__weakref__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�2__weakref__ (pyparsing.pyparsing_common attribute)��&pyparsing.pyparsing_common.__weakref__�hNt�auh)h,hj
hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.__weakref__�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.__weakref__�h]�jH)��}�(h�__weakref__�h]�h�__weakref__�����}�(hhhjAhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj=hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.__weakref__�hNubah}�(h]�j7ah!]�h#]�j7ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.__weakref__�uh)j hj:hhhjOhNubjb)��}�(hhh]�hQ)��}�(h�2list of weak references to the object (if defined)�h]�h�2list of weak references to the object (if defined)�����}�(hj]hj[hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj9hKhjXhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj:hhhjOhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jvj`�uh)jhhhj
hj9hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�;comma_separated_list (pyparsing.pyparsing_common attribute)��/pyparsing.pyparsing_common.comma_separated_list�hNt�auh)h,hj
hhh�v/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.comma_separated_list�hNubj)��}�(hhh]�(j!)��}�(h�%pyparsing_common.comma_separated_list�h]�(jH)��}�(h�comma_separated_list�h]�h�comma_separated_list�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�v/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.comma_separated_list�hNubj')��}�(h� = comma separated list�h]�h� = comma separated list�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�%pyparsing_common.comma_separated_list�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�ZPredefined expression of 1 or more printable words or quoted strings, separated by commas.�h]�h�ZPredefined expression of 1 or more printable words or quoted strings, separated by commas.�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�:convertToDate() (pyparsing.pyparsing_common static method)��(pyparsing.pyparsing_common.convertToDate�hNt�auh)h,hj
hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convertToDate�hNubj)��}�(hhh]�(j!)��}�(h�5pyparsing_common.convertToDate(fmt: str = '%Y-%m-%d')�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convertToDate�hNubjH)��}�(h�
convertToDate�h]�h�
convertToDate�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�fmt: str = '%Y-%m-%d'�h]�j-)��}�(h�fmt: str = '%Y-%m-%d'�h]�h�fmt: str = '%Y-%m-%d'�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.convertToDate�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�YHelper to create a parse action for converting parsed date string to Python datetime.date�h]�h�YHelper to create a parse action for converting parsed date string to Python datetime.date�����}�(hj(hj&hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj#hhubhQ)��}�(h�SParams -
- fmt - format to be passed to datetime.strptime (default= ``"%Y-%m-%d"``)�h]�(h�DParams -
- fmt - format to be passed to datetime.strptime (default= �����}�(h�DParams -
- fmt - format to be passed to datetime.strptime (default= �hj4hhhNhNubhj)��}�(h�``"%Y-%m-%d"``�h]�h�
"%Y-%m-%d"�����}�(hhhj=ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj4ubh�)�����}�(hj~Thj4hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj#hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjUhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj#hhubja)��}�(h��date_expr = pyparsing_common.iso8601_date.copy()
date_expr.setParseAction(pyparsing_common.convertToDate())
print(date_expr.parseString("1999-12-31"))�h]�h��date_expr = pyparsing_common.iso8601_date.copy()
date_expr.setParseAction(pyparsing_common.convertToDate())
print(date_expr.parseString("1999-12-31"))�����}�(hhhjdubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMJhj#hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjrhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj#hhubja)��}�(h�[datetime.date(1999, 12, 31)]�h]�h�[datetime.date(1999, 12, 31)]�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMPhj#hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j�j`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�>convertToDatetime() (pyparsing.pyparsing_common static method)��,pyparsing.pyparsing_common.convertToDatetime�hNt�auh)h,hj
hhh�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convertToDatetime��hNubj)��}�(hhh]�(j!)��}�(h�Epyparsing_common.convertToDatetime(fmt: str = '%Y-%m-%dT%H:%M:%S.%f')�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convertToDatetime�hNubjH)��}�(h�convertToDatetime�h]�h�convertToDatetime�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�!fmt: str = '%Y-%m-%dT%H:%M:%S.%f'�h]�j-)��}�(h�!fmt: str = '%Y-%m-%dT%H:%M:%S.%f'�h]�h�!fmt: str = '%Y-%m-%dT%H:%M:%S.%f'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�"pyparsing_common.convertToDatetime�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�aHelper to create a parse action for converting parsed
datetime string to Python datetime.datetime�h]�h�aHelper to create a parse action for converting parsed
datetime string to Python datetime.datetime�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubhQ)��}�(h�_Params -
- fmt - format to be passed to datetime.strptime (default= ``"%Y-%m-%dT%H:%M:%S.%f"``)�h]�(h�DParams -
- fmt - format to be passed to datetime.strptime (default= �����}�(h�DParams -
- 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"�����}�(hhhj	ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjubh�)�����}�(hj~ThjhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj!hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubja)��}�(h��dt_expr = pyparsing_common.iso8601_datetime.copy()
dt_expr.setParseAction(pyparsing_common.convertToDatetime())
print(dt_expr.parseString("1999-12-31T23:59:59.999"))�h]�h��dt_expr = pyparsing_common.iso8601_datetime.copy()
dt_expr.setParseAction(pyparsing_common.convertToDatetime())
print(dt_expr.parseString("1999-12-31T23:59:59.999"))�����}�(hhhj0ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM^hj�hhhj�ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hK
hj�hhubja)��}�(h�5[datetime.datetime(1999, 12, 31, 23, 59, 59, 999000)]�h]�h�5[datetime.datetime(1999, 12, 31, 23, 59, 59, 999000)]�����}�(hhhjMubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMdhj�hhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_jhj`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�<convert_to_date() (pyparsing.pyparsing_common static method)��*pyparsing.pyparsing_common.convert_to_date�hNt�auh)h,hj
hhh�q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convert_to_date�hNubj)��}�(hhh]�(j!)��}�(h�7pyparsing_common.convert_to_date(fmt: str = '%Y-%m-%d')�h]�(j')��}�(hj�)h]�h�static �����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj{hhh�q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convert_to_date�hNubjH)��}�(h�convert_to_date�h]�h�convert_to_date�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj{hhhj�hNubj')��}�(h�fmt: str = '%Y-%m-%d'�h]�j-)��}�(h�fmt: str = '%Y-%m-%d'�h]�h�fmt: str = '%Y-%m-%d'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj{hhhj�hNubeh}�(h]�juah!]�h#]�juah%]�h']�j\�j]�	pyparsing�j_j�	j`� pyparsing_common.convert_to_date�uh)j hjxhhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�YHelper to create a parse action for converting parsed date string to Python datetime.date�h]�h�YHelper to create a parse action for converting parsed date string to Python datetime.date�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjwhKhj�hhubhQ)��}�(h�SParams -
- fmt - format to be passed to datetime.strptime (default= ``"%Y-%m-%d"``)�h]�(h�DParams -
- fmt - format to be passed to datetime.strptime (default= �����}�(h�DParams -
- fmt - format to be passed to datetime.strptime (default= �hj�hhhNhNubhj)��}�(h�``"%Y-%m-%d"``�h]�h�
"%Y-%m-%d"�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�)�����}�(hj~Thj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjwhKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjwhKhj�hhubja)��}�(h��date_expr = pyparsing_common.iso8601_date.copy()
date_expr.setParseAction(pyparsing_common.convertToDate())
print(date_expr.parseString("1999-12-31"))�h]�h��date_expr = pyparsing_common.iso8601_date.copy()
date_expr.setParseAction(pyparsing_common.convertToDate())
print(date_expr.parseString("1999-12-31"))�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMqhj�hhhjwubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjwhKhj�hhubja)��}�(h�[datetime.date(1999, 12, 31)]�h]�h�[datetime.date(1999, 12, 31)]�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMwhj�hhhjwubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjxhhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j4j`�uh)jhhhj
hjwhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�@convert_to_datetime() (pyparsing.pyparsing_common static method)��.pyparsing.pyparsing_common.convert_to_datetime�hNt�auh)h,hj
hhh�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convert_to_datetime�hNubj)��}�(hhh]�(j!)��}�(h�Gpyparsing_common.convert_to_datetime(fmt: str = '%Y-%m-%dT%H:%M:%S.%f')�h]�(j')��}�(hj�)h]�h�static �����}�(hhhjKhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjGhhh�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convert_to_datetime�hNubjH)��}�(h�convert_to_datetime�h]�h�convert_to_datetime�����}�(hhhjYhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjGhhhjXhNubj')��}�(h�!fmt: str = '%Y-%m-%dT%H:%M:%S.%f'�h]�j-)��}�(h�!fmt: str = '%Y-%m-%dT%H:%M:%S.%f'�h]�h�!fmt: str = '%Y-%m-%dT%H:%M:%S.%f'�����}�(hhhjkubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjgubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjGhhhjXhNubeh}�(h]�jAah!]�h#]�jAah%]�h']�j\�j]�	pyparsing�j_j�	j`�$pyparsing_common.convert_to_datetime�uh)j hjDhhhjXhNubjb)��}�(hhh]�(hQ)��}�(h�aHelper to create a parse action for converting parsed
datetime string to Python datetime.datetime�h]�h�aHelper to create a parse action for converting parsed
datetime string to Python datetime.datetime�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjChKhj�hhubhQ)��}�(h�_Params -
- fmt - format to be passed to datetime.strptime (default= ``"%Y-%m-%dT%H:%M:%S.%f"``)�h]�(h�DParams -
- fmt - format to be passed to datetime.strptime (default= �����}�(h�DParams -
- fmt - format to be passed to datetime.strptime (default= �hj�hhhNhNubhj)��}�(h�``"%Y-%m-%dT%H:%M:%S.%f"``�h]�h�"%Y-%m-%dT%H:%M:%S.%f"�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�)�����}�(hj~Thj�hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjChKhj�hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjChKhj�hhubja)��}�(h��dt_expr = pyparsing_common.iso8601_datetime.copy()
dt_expr.setParseAction(pyparsing_common.convertToDatetime())
print(dt_expr.parseString("1999-12-31T23:59:59.999"))�h]�h��dt_expr = pyparsing_common.iso8601_datetime.copy()
dt_expr.setParseAction(pyparsing_common.convertToDatetime())
print(dt_expr.parseString("1999-12-31T23:59:59.999"))�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�hhhjCubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjChK
hj�hhubja)��}�(h�5[datetime.datetime(1999, 12, 31, 23, 59, 59, 999000)]�h]�h�5[datetime.datetime(1999, 12, 31, 23, 59, 59, 999000)]�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�hhhjCubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjDhhhjXhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_jj`�uh)jhhhj
hjChNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�6convert_to_float() (pyparsing.pyparsing_common method)��+pyparsing.pyparsing_common.convert_to_float�hNt�auh)h,hj
hhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convert_to_float�hNubj)��}�(hhh]�(j!)��}�(h�'pyparsing_common.convert_to_float(l, t)�h]�(jH)��}�(h�convert_to_float�h]�h�convert_to_float�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convert_to_float�hNubj')��}�(h�l, t�h]�(j-)��}�(hj89h]�h�l�����}�(hhhj*ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj&ubj-)��}�(hjF9h]�h�t�����}�(hhhj7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj&ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhj%hNubeh}�(h]�j
ah!]�h#]�j
ah%]�h']�j\�j]�	pyparsing�j_j�	j`�!pyparsing_common.convert_to_float�uh)j hjhhhj%hNubjb)��}�(hhh]�hQ)��}�(h�:Parse action for converting parsed numbers to Python float�h]�h�:Parse action for converting parsed numbers to Python float�����}�(hjWhjUhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhjRhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjhhhj%hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jpj`�uh)jhhhj
hjhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�8convert_to_integer() (pyparsing.pyparsing_common method)��-pyparsing.pyparsing_common.convert_to_integer�hNt�auh)h,hj
hhh�t/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convert_to_integer�hNubj)��}�(hhh]�(j!)��}�(h�)pyparsing_common.convert_to_integer(l, t)�h]�(jH)��}�(h�convert_to_integer�h]�h�convert_to_integer�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�t/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.convert_to_integer�hNubj')��}�(h�l, t�h]�(j-)��}�(hj89h]�h�l�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hjF9h]�h�t�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j}ah!]�h#]�j}ah%]�h']�j\�j]�	pyparsing�j_j�	j`�#pyparsing_common.convert_to_integer�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�9Parse action for converting parsed integers to Python int�h]�h�9Parse action for converting parsed integers to Python int�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�j`�uh)jhhhj
hjhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�<downcase_tokens() (pyparsing.pyparsing_common static method)��*pyparsing.pyparsing_common.downcase_tokens�hNt�auh)h,hj
hhh�q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.downcase_tokens�hNubj)��}�(hhh]�(j!)��}�(h�)pyparsing_common.downcase_tokens(s, l, t)�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.downcase_tokens�hNubjH)��}�(h�downcase_tokens�h]�h�downcase_tokens�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhjhNubj')��}�(h�s, l, t�h]�(j-)��}�(hj*9h]�h�s�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(hj89h]�h�l�����}�(hhhj$ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(hjF9h]�h�t�����}�(hhhj1ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhjhNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`� pyparsing_common.downcase_tokens�uh)j hj�hhhjhNubjb)��}�(hhh]�hQ)��}�(h�-Parse action to convert tokens to lower case.�h]�h�-Parse action to convert tokens to lower case.�����}�(hjQhjOhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjLhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_jjj`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.fnumber (pyparsing.pyparsing_common attribute)��"pyparsing.pyparsing_common.fnumber�hNt�auh)h,hj
hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.fnumber�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.fnumber�h]�(jH)��}�(h�fnumber�h]�h�fnumber�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj}hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.fnumber�hNubj')��}�(h�
 = fnumber�h]�h�
 = fnumber�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj}hhhj�hNubeh}�(h]�jwah!]�h#]�jwah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.fnumber�uh)j hjzhhhj�hNubjb)��}�(hhh]�hQ)��}�(h�)any int or real number, returned as float�h]�h�)any int or real number, returned as float�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjyhKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjzhhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj
hjyhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/fraction (pyparsing.pyparsing_common attribute)��#pyparsing.pyparsing_common.fraction�hNt�auh)h,hj
hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.fraction�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.fraction�h]�(jH)��}�(h�fraction�h]�h�fraction�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.fraction�hNubj')��}�(h� = fraction�h]�h� = fraction�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.fraction�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�Jfractional expression of an integer divided by an integer, returns a float�h]�h�Jfractional expression of an integer divided by an integer, returns a float�����}�(hjhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jj`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�2hex_integer (pyparsing.pyparsing_common attribute)��&pyparsing.pyparsing_common.hex_integer�hNt�auh)h,hj
hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.hex_integer�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.hex_integer�h]�(jH)��}�(h�hex_integer�h]�h�hex_integer�����}�(hhhj5hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj1hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.hex_integer�hNubj')��}�(h� = hex integer�h]�h� = hex integer�����}�(hhhjDhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj1hhhjChNubeh}�(h]�j+ah!]�h#]�j+ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.hex_integer�uh)j hj.hhhjChNubjb)��}�(hhh]�hQ)��}�(h�<expression that parses a hexadecimal integer, returns an int�h]�h�<expression that parses a hexadecimal integer, returns an int�����}�(hj_hj]hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj-hKhjZhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj.hhhjChNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jxj`�uh)jhhhj
hj-hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1identifier (pyparsing.pyparsing_common attribute)��%pyparsing.pyparsing_common.identifier�hNt�auh)h,hj
hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.identifier�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.identifier�h]�(jH)��}�(h�
identifier�h]�h�
identifier�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.identifier�hNubj')��}�(h�
 = identifier�h]�h�
 = identifier�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.identifier�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�Ztypical code identifier (leading alpha or '_', followed by 0 or more alphas, nums, or '_')�h]�h�btypical code identifier (leading alpha or ‘_’, followed by 0 or more alphas, nums, or ‘_’)�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.integer (pyparsing.pyparsing_common attribute)��"pyparsing.pyparsing_common.integer�hNt�auh)h,hj
hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.integer�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.integer�h]�(jH)��}�(h�integer�h]�h�integer�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.integer�hNubj')��}�(h�
 = integer�h]�h�
 = integer�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.integer�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�:expression that parses an unsigned integer, returns an int�h]�h�:expression that parses an unsigned integer, returns an int�����}�(hjhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j,j`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3ipv4_address (pyparsing.pyparsing_common attribute)��'pyparsing.pyparsing_common.ipv4_address�hNt�auh)h,hj
hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.ipv4_address�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.ipv4_address�h]�(jH)��}�(h�ipv4_address�h]�h�ipv4_address�����}�(hhhjChhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj?hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.ipv4_address�hNubj')��}�(h� = IPv4 address�h]�h� = IPv4 address�����}�(hhhjRhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj?hhhjQhNubeh}�(h]�j9ah!]�h#]�j9ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.ipv4_address�uh)j hj<hhhjQhNubjb)��}�(hhh]�hQ)��}�(h�,IPv4 address (``0.0.0.0 - 255.255.255.255``)�h]�(h�IPv4 address (�����}�(h�IPv4 address (�hjkhhhNhNubhj)��}�(h�``0.0.0.0 - 255.255.255.255``�h]�h�0.0.0.0 - 255.255.255.255�����}�(hhhjtubah}�(h]�h!]�h#]�h%]�h']�uh)hihjkubh�)�����}�(hj~ThjkhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj;hKhjhhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj<hhhjQhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj
hj;hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3ipv6_address (pyparsing.pyparsing_common attribute)��'pyparsing.pyparsing_common.ipv6_address�hNt�auh)h,hj
hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.ipv6_address�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.ipv6_address�h]�(jH)��}�(h�ipv6_address�h]�h�ipv6_address�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.ipv6_address�hNubj')��}�(h� = IPv6 address�h]�h� = IPv6 address�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.ipv6_address�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�)IPv6 address (long, short, or mixed form)�h]�h�)IPv6 address (long, short, or mixed form)�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�3iso8601_date (pyparsing.pyparsing_common attribute)��'pyparsing.pyparsing_common.iso8601_date�hNt�auh)h,hj
hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.iso8601_date�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.iso8601_date�h]�(jH)��}�(h�iso8601_date�h]�h�iso8601_date�����}�(hhhj
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.iso8601_date�hNubj')��}�(h� = ISO8601 date�h]�h� = ISO8601 date�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhjhNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.iso8601_date�uh)j hjhhhjhNubjb)��}�(hhh]�hQ)��}�(h�ISO8601 date (``yyyy-mm-dd``)�h]�(h�ISO8601 date (�����}�(h�ISO8601 date (�hj2hhhNhNubhj)��}�(h�``yyyy-mm-dd``�h]�h�
yyyy-mm-dd�����}�(hhhj;ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj2ubh�)�����}�(hj~Thj2hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhj/hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjhhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j`j`�uh)jhhhj
hjhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�7iso8601_datetime (pyparsing.pyparsing_common attribute)��+pyparsing.pyparsing_common.iso8601_datetime�hNt�auh)h,hj
hhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.iso8601_datetime�hNubj)��}�(hhh]�(j!)��}�(h�!pyparsing_common.iso8601_datetime�h]�(jH)��}�(h�iso8601_datetime�h]�h�iso8601_datetime�����}�(hhhjwhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjshhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.iso8601_datetime�hNubj')��}�(h� = ISO8601 datetime�h]�h� = ISO8601 datetime�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjshhhj�hNubeh}�(h]�jmah!]�h#]�jmah%]�h']�j\�j]�	pyparsing�j_j�	j`�!pyparsing_common.iso8601_datetime�uh)j hjphhhj�hNubjb)��}�(hhh]�hQ)��}�(h��ISO8601 datetime (``yyyy-mm-ddThh:mm:ss.s(Z|+-00:00)``) - trailing seconds, milliseconds, and timezone optional; accepts separating ``'T'`` or ``' '``�h]�(h�ISO8601 datetime (�����}�(h�ISO8601 datetime (�hj�hhhNhNubhj)��}�(h�$``yyyy-mm-ddThh:mm:ss.s(Z|+-00:00)``�h]�h� yyyy-mm-ddThh:mm:ss.s(Z|+-00:00)�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh�N) - trailing seconds, milliseconds, and timezone optional; accepts separating �����}�(h�N) - trailing seconds, milliseconds, and timezone optional; accepts separating �hj�hhhNhNubhj)��}�(h�``'T'``�h]�h�'T'�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubh� or �����}�(h� or �hj�hhhNhNubhj)��}�(h�``' '``�h]�h�' '�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjohKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjphhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj
hjohNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�2mac_address (pyparsing.pyparsing_common attribute)��&pyparsing.pyparsing_common.mac_address�hNt�auh)h,hj
hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.mac_address�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.mac_address�h]�(jH)��}�(h�mac_address�h]�h�mac_address�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.mac_address�hNubj')��}�(h� = MAC address�h]�h� = MAC address�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhjhNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.mac_address�uh)j hj�hhhjhNubjb)��}�(hhh]�hQ)��}�(h�@MAC address xx:xx:xx:xx:xx (may also have '-' or '.' delimiters)�h]�h�HMAC address xx:xx:xx:xx:xx (may also have ‘-‘ or ‘.’ delimiters)�����}�(hj0hj.hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj+hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jIj`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�4mixed_integer (pyparsing.pyparsing_common attribute)��(pyparsing.pyparsing_common.mixed_integer�hNt�auh)h,hj
hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.mixed_integer�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.mixed_integer�h]�(jH)��}�(h�
mixed_integer�h]�h�
mixed_integer�����}�(hhhj`hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj\hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.mixed_integer�hNubj')��}�(h�% = fraction or mixed integer-fraction�h]�h�% = fraction or mixed integer-fraction�����}�(hhhjohhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj\hhhjnhNubeh}�(h]�jVah!]�h#]�jVah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.mixed_integer�uh)j hjYhhhjnhNubjb)��}�(hhh]�hQ)��}�(h�\mixed integer of the form 'integer - fraction', with optional leading integer, returns float�h]�h�`mixed integer of the form ‘integer - fraction’, with optional leading integer, returns float�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjXhKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjYhhhjnhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj
hjXhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-number (pyparsing.pyparsing_common attribute)��!pyparsing.pyparsing_common.number�hNt�auh)h,hj
hhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.number�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.number�h]�(jH)��}�(h�number�h]�h�number�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.number�hNubj')��}�(h�	 = number�h]�h�	 = number�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.number�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�=any numeric expression, returns the corresponding Python type�h]�h�=any numeric expression, returns the corresponding Python type�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+real (pyparsing.pyparsing_common attribute)��pyparsing.pyparsing_common.real�hNt�auh)h,hj
hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.real�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.real�h]�(jH)��}�(h�real�h]�h�real�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.real�hNubj')��}�(h� = real number�h]�h� = real number�����}�(hhhj#hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhj"hNubeh}�(h]�j
ah!]�h#]�j
ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.real�uh)j hj
hhhj"hNubjb)��}�(hhh]�hQ)��}�(h�Bexpression that parses a floating point number and returns a float�h]�h�Bexpression that parses a floating point number and returns a float�����}�(hj>hj<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhj9hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj
hhhj"hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jWj`�uh)jhhhj
hjhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/sci_real (pyparsing.pyparsing_common attribute)��#pyparsing.pyparsing_common.sci_real�hNt�auh)h,hj
hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.sci_real�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.sci_real�h]�(jH)��}�(h�sci_real�h]�h�sci_real�����}�(hhhjnhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjjhhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.sci_real�hNubj')��}�(h�' = real number with scientific notation�h]�h�' = real number with scientific notation�����}�(hhhj}hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjjhhhj|hNubeh}�(h]�jdah!]�h#]�jdah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.sci_real�uh)j hjghhhj|hNubjb)��}�(hhh]�hQ)��}�(h�dexpression that parses a floating point number with optional
scientific notation and returns a float�h]�h�dexpression that parses a floating point number with optional
scientific notation and returns a float�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjfhKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjghhhj|hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj
hjfhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�5signed_integer (pyparsing.pyparsing_common attribute)��)pyparsing.pyparsing_common.signed_integer�hNt�auh)h,hj
hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.signed_integer�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.signed_integer�h]�(jH)��}�(h�signed_integer�h]�h�signed_integer�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�p/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.signed_integer�hNubj')��}�(h� = signed integer�h]�h� = signed integer�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.signed_integer�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�Lexpression that parses an integer with optional leading sign, returns an int�h]�h�Lexpression that parses an integer with optional leading sign, returns an int�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jj`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�:stripHTMLTags() (pyparsing.pyparsing_common static method)��(pyparsing.pyparsing_common.stripHTMLTags�hNt�auh)h,hj
hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.stripHTMLTags�hNubj)��}�(hhh]�(j!)��}�(h�Vpyparsing_common.stripHTMLTags(s: str, l: int, tokens: pyparsing.results.ParseResults)�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.stripHTMLTags�hNubjH)��}�(h�
stripHTMLTags�h]�h�
stripHTMLTags�����}�(hhhj0hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhhj/hNubj')��}�(h�6s: str, l: int, tokens: pyparsing.results.ParseResults�h]�(j-)��}�(h�s: str�h]�h�s: str�����}�(hhhjBubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj>ubj-)��}�(h�l: int�h]�h�l: int�����}�(hhhjPubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj>ubj-)��}�(h�&tokens: pyparsing.results.ParseResults�h]�h�&tokens: pyparsing.results.ParseResults�����}�(hhhj^ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj>ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhhj/hNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.stripHTMLTags�uh)j hjhhhj/hNubjb)��}�(hhh]�(hQ)��}�(h�:Parse action to remove HTML tags from web page HTML source�h]�h�:Parse action to remove HTML tags from web page HTML source�����}�(hjhj}hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhjzhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhjzhhubja)��}�(hX># strip HTML links from normal text
text = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
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 = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
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']�jpjquh)j`hMhjzhhhjubhQ)��}�(h�Prints::�h]�h�Prints:�����}�(h�Prints:�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhjzhhubja)��}�(h�$More info at the pyparsing wiki page�h]�h�$More info at the pyparsing wiki page�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhjzhhhjubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjhhhj/hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j�j`�uh)jhhhj
hjhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�<strip_html_tags() (pyparsing.pyparsing_common static method)��*pyparsing.pyparsing_common.strip_html_tags�hNt�auh)h,hj
hhh�q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.strip_html_tags�hNubj)��}�(hhh]�(j!)��}�(h�Xpyparsing_common.strip_html_tags(s: str, l: int, tokens: pyparsing.results.ParseResults)�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�q/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.strip_html_tags�hNubjH)��}�(h�strip_html_tags�h]�h�strip_html_tags�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�6s: str, l: int, tokens: pyparsing.results.ParseResults�h]�(j-)��}�(h�s: str�h]�h�s: str�����}�(hhhj	ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(h�l: int�h]�h�l: int�����}�(hhhjubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubj-)��}�(h�&tokens: pyparsing.results.ParseResults�h]�h�&tokens: pyparsing.results.ParseResults�����}�(hhhj%ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`� pyparsing_common.strip_html_tags�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�:Parse action to remove HTML tags from web page HTML source�h]�h�:Parse action to remove HTML tags from web page HTML source�����}�(hjFhjDhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjAhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjRhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjAhhubja)��}�(hX># strip HTML links from normal text
text = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
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 = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
td, td_end = makeHTMLTags("TD")
table_text = td + SkipTo(td_end).setParseAction(pyparsing_common.stripHTMLTags)("body") + td_end
print(table_text.parseString(text).body)�����}�(hhhjaubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM#hjAhhhj�ubhQ)��}�(h�Prints::�h]�h�Prints:�����}�(h�Prints:�hjohhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjAhhubja)��}�(h�$More info at the pyparsing wiki page�h]�h�$More info at the pyparsing wiki page�����}�(hhhj~ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM+hjAhhhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j�j`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�:upcase_tokens() (pyparsing.pyparsing_common static method)��(pyparsing.pyparsing_common.upcase_tokens�hNt�auh)h,hj
hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.upcase_tokens�hNubj)��}�(hhh]�(j!)��}�(h�'pyparsing_common.upcase_tokens(s, l, t)�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�o/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.upcase_tokens�hNubjH)��}�(h�
upcase_tokens�h]�h�
upcase_tokens�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubj')��}�(h�s, l, t�h]�(j-)��}�(hj*9h]�h�s�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hj89h]�h�l�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubj-)��}�(hjF9h]�h�t�����}�(hhhj�ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.upcase_tokens�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�-Parse action to convert tokens to upper case.�h]�h�-Parse action to convert tokens to upper case.�����}�(hj
hjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhjhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j#j`�uh)jhhhj
hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+uuid (pyparsing.pyparsing_common attribute)��pyparsing.pyparsing_common.uuid�hNt�auh)h,hj
hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.uuid�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_common.uuid�h]�(jH)��}�(h�uuid�h]�h�uuid�����}�(hhhj:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj6hhh�f/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/common.py:docstring of pyparsing.pyparsing_common.uuid�hNubj')��}�(h� = UUID�h]�h� = UUID�����}�(hhhjIhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj6hhhjHhNubeh}�(h]�j0ah!]�h#]�j0ah%]�h']�j\�j]�	pyparsing�j_j�	j`�pyparsing_common.uuid�uh)j hj3hhhjHhNubjb)��}�(hhh]�hQ)��}�(h�/UUID (``xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx``)�h]�(h�UUID (�����}�(h�UUID (�hjbhhhNhNubhj)��}�(h�(``xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx``�h]�h�$xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx�����}�(hhhjkubah}�(h]�h!]�h#]�h%]�h']�uh)hihjbubh�)�����}�(hj~ThjbhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj2hKhj_hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj3hhhjHhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�j`�uh)jhhhj
hj2hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�	hhhj�	hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&pyparsing_unicode (class in pyparsing)��pyparsing.pyparsing_unicode�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�hhhj�hNubjH)��}�(hj�h]�h�pyparsing_unicode�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_hj`j�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj�hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj�h]�h�pyparsing.unicode.unicode_set�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�j�h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode�hKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhj�hhubhQ)��}�(h�<A namespace class for defining common language unicode_sets.�h]�h�<A namespace class for defining common language unicode_sets.�����}�(hjhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode�hKhj�hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-pyparsing_unicode.Arabic (class in pyparsing)��"pyparsing.pyparsing_unicode.Arabic�hNt�auh)h,hj�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Arabic�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Arabic�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj7hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Arabic�hNubjH)��}�(h�Arabic�h]�h�Arabic�����}�(hhhjJhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj7hhhjIhNubeh}�(h]�j1ah!]�h#]�j1ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Arabic�uh)j hj4hhhjIhNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hjchhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hjnh]�h�pyparsing.unicode.unicode_set�����}�(hhhjpubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjlubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jz�refexplicit��h�j^h�j_h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Arabic�hKhjcubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj`hhubhQ)��}�(h�.Unicode set for Arabic Unicode Character Range�h]�h�.Unicode set for Arabic Unicode Character Range�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj3hKhj`hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj4hhhjIhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hj3hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+BMP (pyparsing.pyparsing_unicode attribute)��pyparsing.pyparsing_unicode.BMP�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.BMP�h]�jH)��}�(h�BMP�h]�h�BMP�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.BMP�hNubah}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.BMP�uh)j hj�hhhj�hNubjb)��}�(hhh]�hQ)��}�(h�:alias of :class:`pyparsing_unicode.BasicMultilingualPlane`�h]�(h�	alias of �����}�(h�	alias of �hj�hhhNhNubh)��}�(h�1:class:`pyparsing_unicode.BasicMultilingualPlane`�h]�hj)��}�(hj�h]�h�(pyparsing_unicode.BasicMultilingualPlane�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�j�h��(pyparsing_unicode.BasicMultilingualPlane�h�h�h��uh)h~hhhKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj�hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jj`�uh)jhhhj�hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�=pyparsing_unicode.BasicMultilingualPlane (class in pyparsing)��2pyparsing.pyparsing_unicode.BasicMultilingualPlane�hNt�auh)h,hj�hhh�z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.BasicMultilingualPlane�hNubj)��}�(hhh]�(j!)��}�(h�(pyparsing_unicode.BasicMultilingualPlane�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj)hhh�z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.BasicMultilingualPlane�hNubjH)��}�(h�BasicMultilingualPlane�h]�h�BasicMultilingualPlane�����}�(hhhj<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj)hhhj;hNubeh}�(h]�j#ah!]�h#]�j#ah%]�h']�j\�j]�	pyparsing�j_j�j`�(pyparsing_unicode.BasicMultilingualPlane�uh)j hj&hhhj;hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hjUhhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj`h]�h�pyparsing.unicode.unicode_set�����}�(hhhjbubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj^ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jl�refexplicit��h�jPh�jQh��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�z/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.BasicMultilingualPlane�hKhjUubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj|hKhjRhhubhQ)��}�(h�,Unicode set for the Basic Multilingual Plane�h]�h�,Unicode set for the Basic Multilingual Plane�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj%hKhjRhhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj&hhhj;hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hj%hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�*pyparsing_unicode.CJK (class in pyparsing)��pyparsing.pyparsing_unicode.CJK�hNt�auh)h,hj�hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.CJK�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.CJK�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.CJK�hNubjH)��}�(h�CJK�h]�h�CJK�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.CJK�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�qBases: :class:`pyparsing.unicode.Chinese`, :class:`pyparsing.unicode.Japanese`, :class:`pyparsing.unicode.Hangul`�h]�(h�Bases: �����}�(h�Bases: �hj�hhhNhNubh)��}�(h�":class:`pyparsing.unicode.Chinese`�h]�hj)��}�(hj�h]�h�pyparsing.unicode.Chinese�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�j�h��pyparsing.unicode.Chinese�h�h�h��uh)h~h�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.CJK�hKhj�ubh�, �����}�(h�, �hj�hhhNhNubh)��}�(h�#:class:`pyparsing.unicode.Japanese`�h]�hj)��}�(hjh]�h�pyparsing.unicode.Japanese�����}�(hhhjubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj
ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�refexplicit��h�j�h�j�h��pyparsing.unicode.Japanese�h�h�h��uh)h~hjhKhj�ubh�, �����}�(hj	hj�ubh)��}�(h�!:class:`pyparsing.unicode.Hangul`�h]�hj)��}�(hj.h]�h�pyparsing.unicode.Hangul�����}�(hhhj0ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj,ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j:�refexplicit��h�j�h�j�h��pyparsing.unicode.Hangul�h�h�h��uh)h~hjhKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhj�hhubhQ)��}�(h�TUnicode set for combined Chinese, Japanese, and Korean (CJK) Unicode Character Range�h]�h�TUnicode set for combined Chinese, Japanese, and Korean (CJK) Unicode Character Range�����}�(hjRhjPhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jkj`�uh)jhhhj�hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.pyparsing_unicode.Chinese (class in pyparsing)��#pyparsing.pyparsing_unicode.Chinese�hNt�auh)h,hj�hhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Chinese�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Chinese�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj~hhh�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Chinese�hNubjH)��}�(h�Chinese�h]�h�Chinese�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj~hhhj�hNubeh}�(h]�jxah!]�h#]�jxah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Chinese�uh)j hj{hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj�hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj�h]�h�pyparsing.unicode.unicode_set�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�j�h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�k/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Chinese�hKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubhQ)��}�(h�/Unicode set for Chinese Unicode Character Range�h]�h�/Unicode set for Chinese Unicode Character Range�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjzhKhj�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj{hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�j`�uh)jhhhj�hjzhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/pyparsing_unicode.Cyrillic (class in pyparsing)��$pyparsing.pyparsing_unicode.Cyrillic�hNt�auh)h,hj�hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Cyrillic�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Cyrillic�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj
hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjhhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Cyrillic�hNubjH)��}�(h�Cyrillic�h]�h�Cyrillic�����}�(hhhjhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjhhhjhNubeh}�(h]�jah!]�h#]�jah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Cyrillic�uh)j hjhhhjhNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj2hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj=h]�h�pyparsing.unicode.unicode_set�����}�(hhhj?ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj;ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jI�refexplicit��h�j-h�j.h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Cyrillic�hKhj2ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjYhKhj/hhubhQ)��}�(h�0Unicode set for Cyrillic Unicode Character Range�h]�h�0Unicode set for Cyrillic Unicode Character Range�����}�(hjbhj`hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhKhj/hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjhhhjhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j{j`�uh)jhhhj�hjhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1pyparsing_unicode.Devanagari (class in pyparsing)��&pyparsing.pyparsing_unicode.Devanagari�hNt�auh)h,hj�hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Devanagari�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Devanagari�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�hhh�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Devanagari�hNubjH)��}�(h�
Devanagari�h]�h�
Devanagari�����}�(hhhj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�hhhj�hNubeh}�(h]�j�ah!]�h#]�j�ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Devanagari�uh)j hj�hhhj�hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj�hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj�h]�h�pyparsing.unicode.unicode_set�����}�(hhhj�ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j��refexplicit��h�j�h�j�h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�n/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Devanagari�hKhj�ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubhQ)��}�(h�2Unicode set for Devanagari Unicode Character Range�h]�h�2Unicode set for Devanagari Unicode Character Range�����}�(hj�hj�hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�hKhj�hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j j`�uh)jhhhj�hj�hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�,pyparsing_unicode.Greek (class in pyparsing)��!pyparsing.pyparsing_unicode.Greek�hNt�auh)h,hj�hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Greek�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Greek�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Greek�hNubjH)��}�(h�Greek�h]�h�Greek�����}�(hhhj) hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj hhhj( hNubeh}�(h]�j ah!]�h#]�j ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Greek�uh)j hj hhhj( hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hjB hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hjM h]�h�pyparsing.unicode.unicode_set�����}�(hhhjO ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjK ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jY �refexplicit��h�j= h�j> h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Greek�hKhjB ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhji hKhj? hhubhQ)��}�(h�.Unicode set for Greek Unicode Character Ranges�h]�h�.Unicode set for Greek Unicode Character Ranges�����}�(hjr hjp hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj hKhj? hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj hhhj( hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j� j`�uh)jhhhj�hj hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-pyparsing_unicode.Hangul (class in pyparsing)��"pyparsing.pyparsing_unicode.Hangul�hNt�auh)h,hj�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Hangul�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Hangul�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj� hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj� hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Hangul�hNubjH)��}�(h�Hangul�h]�h�Hangul�����}�(hhhj� hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj� hhhj� hNubeh}�(h]�j� ah!]�h#]�j� ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Hangul�uh)j hj� hhhj� hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj� hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj� h]�h�pyparsing.unicode.unicode_set�����}�(hhhj� ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj� ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j� �refexplicit��h�j� h�j� h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Hangul�hKhj� ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj� hKhj� hhubhQ)��}�(h�7Unicode set for Hangul (Korean) Unicode Character Range�h]�h�7Unicode set for Hangul (Korean) Unicode Character Range�����}�(hj� hj� hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj� hKhj� hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj� hhhj� hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j!j`�uh)jhhhj�hj� hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-pyparsing_unicode.Hebrew (class in pyparsing)��"pyparsing.pyparsing_unicode.Hebrew�hNt�auh)h,hj�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Hebrew�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Hebrew�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj*!hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj&!hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Hebrew�hNubjH)��}�(h�Hebrew�h]�h�Hebrew�����}�(hhhj9!hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj&!hhhj8!hNubeh}�(h]�j !ah!]�h#]�j !ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Hebrew�uh)j hj#!hhhj8!hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hjR!hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj]!h]�h�pyparsing.unicode.unicode_set�����}�(hhhj_!ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj[!ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�ji!�refexplicit��h�jM!h�jN!h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Hebrew�hKhjR!ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjy!hKhjO!hhubhQ)��}�(h�.Unicode set for Hebrew Unicode Character Range�h]�h�.Unicode set for Hebrew Unicode Character Range�����}�(hj�!hj�!hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj"!hKhjO!hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj#!hhhj8!hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�!j`�uh)jhhhj�hj"!hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�/pyparsing_unicode.Japanese (class in pyparsing)��$pyparsing.pyparsing_unicode.Japanese�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Japanese�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�!hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�!hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese�hNubjH)��}�(h�Japanese�h]�h�Japanese�����}�(hhhj�!hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�!hhhj�!hNubeh}�(h]�j�!ah!]�h#]�j�!ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Japanese�uh)j hj�!hhhj�!hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj�!hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj�!h]�h�pyparsing.unicode.unicode_set�����}�(hhhj�!ubah�}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�!ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�!�refexplicit��h�j�!h�j�!h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese�hKhj�!ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj"hKhj�!hhubhQ)��}�(h�`Unicode set for Japanese Unicode Character Range, combining Kanji, Hiragana, and Katakana ranges�h]�h�`Unicode set for Japanese Unicode Character Range, combining Kanji, Hiragana, and Katakana ranges�����}�(hj	"hj"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese�hKhj�!hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�8pyparsing_unicode.Japanese.Hiragana (class in pyparsing)��-pyparsing.pyparsing_unicode.Japanese.Hiragana�hNt�auh)h,hj�!hhh�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.Hiragana�hNubj)��}�(hhh]�(j!)��}�(h�#pyparsing_unicode.Japanese.Hiragana�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj,"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj("hhh�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.Hiragana�hNubjH)��}�(h�Hiragana�h]�h�Hiragana�����}�(hhhj;"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj("hhhj:"hNubeh}�(h]�j""ah!]�h#]�j""ah%]�h']�j\�j]�	pyparsing�j_j�!j`�#pyparsing_unicode.Japanese.Hiragana�uh)j hj%"hhhj:"hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hjT"hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj_"h]�h�pyparsing.unicode.unicode_set�����}�(hhhja"ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj]"ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jk"�refexplicit��h�jO"h�jP"h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.Hiragana�hKhjT"ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj{"hKhjQ"hhubhQ)��}�(h�0Unicode set for Hiragana Unicode Character Range�h]�h�0Unicode set for Hiragana Unicode Character Range�����}�(hj�"hj�"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj$"hKhjQ"hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj%"hhhj:"hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�"j`�uh)jhhhj�!hj$"hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�5pyparsing_unicode.Japanese.Kanji (class in pyparsing)��*pyparsing.pyparsing_unicode.Japanese.Kanji�hNt�auh)h,hj�!hhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.Kanji�hNubj)��}�(hhh]�(j!)��}�(h� pyparsing_unicode.Japanese.Kanji�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�"hhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.Kanji�hNubjH)��}�(h�Kanji�h]�h�Kanji�����}�(hhhj�"hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�"hhhj�"hNubeh}�(h]�j�"ah!]�h#]�j�"ah%]�h']�j\�j]�	pyparsing�j_j�!j`� pyparsing_unicode.Japanese.Kanji�uh)j hj�"hhhj�"hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj�"hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj�"h]�h�pyparsing.unicode.unicode_set�����}�(hhhj�"ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�"ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�"�refexplicit��h�j�"h�j�"h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.Kanji�hKhj�"ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj#hKhj�"hhubhQ)��}�(h�-Unicode set for Kanji Unicode Character Range�h]�h�-Unicode set for Kanji Unicode Character Range�����}�(hj#hj
#hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�"hKhj�"hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�"hhhj�"hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j%#j`�uh)jhhhj�!hj�"hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�8pyparsing_unicode.Japanese.Katakana (class in pyparsing)��-pyparsing.pyparsing_unicode.Japanese.Katakana�hNt�auh)h,hj�!hhh�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.Katakana�hNubj)��}�(hhh]�(j!)��}�(h�#pyparsing_unicode.Japanese.Katakana�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj<#hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj8#hhh�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.Katakana�hNubjH)��}�(h�Katakana�h]�h�Katakana�����}�(hhhjK#hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj8#hhhjJ#hNubeh}�(h]�j2#ah!]�h#]�j2#ah%]�h']�j\�j]�	pyparsing�j_j�!j`�#pyparsing_unicode.Japanese.Katakana�uh)j hj5#hhhjJ#hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hjd#hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hjo#h]�h�pyparsing.unicode.unicode_set�����}�(hhhjq#ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjm#ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j{#�refexplicit��h�j_#h�j`#h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�u/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.Katakana�hKhjd#ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�#hKhja#hhubhQ)��}�(h�1Unicode set for Katakana  Unicode Character Range�h]�h�1Unicode set for Katakana  Unicode Character Range�����}�(hj�#hj�#hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj4#hKhja#hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj5#hhhjJ#hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�#j`�uh)jhhhj�!hj4#hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�=ひらがな (pyparsing.pyparsing_unicode.Japanese attribute)��1pyparsing.pyparsing_unicode.Japanese.ひらがな�hNt�auh)h,hj�!hhhhhNubj)��}�(hhh]�(j!)��}�(h�'pyparsing_unicode.Japanese.ひらがな�h]�jH)��}�(h�ひらがな�h]�h�ひらがな�����}�(hhhj�#hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�#hhh�y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.ひらがな�hNubah}�(h]�j�#ah!]�h#]�j�#ah%]�h']�j\�j]�	pyparsing�j_j�!j`�'pyparsing_unicode.Japanese.ひらがな�uh)j hj�#hhhj�#hNubjb)��}�(hhh]�hQ)��}�(h�5alias of :class:`pyparsing_unicode.Japanese.Hiragana`�h]�(h�	alias of �����}�(h�	alias of �hj�#hhhNhNubh)��}�(h�,:class:`pyparsing_unicode.Japanese.Hiragana`�h]�hj)��}�(hj�#h]�h�#pyparsing_unicode.Japanese.Hiragana�����}�(hhhj�#ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�#ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�#�refexplicit��h�j�#h�j�!h��#pyparsing_unicode.Japanese.Hiragana�h�h�h��uh)h~hhhKhj�#ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj�#hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�#hhhj�#hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j$j`�uh)jhhhj�!hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�=カタカナ (pyparsing.pyparsing_unicode.Japanese attribute)��1pyparsing.pyparsing_unicode.Japanese.カタカナ�hNt�auh)h,hj�!hhhhhNubj)��}�(hhh]�(j!)��}�(h�'pyparsing_unicode.Japanese.カタカナ�h]�jH)��}�(h�カタカナ�h]�h�カタカナ�����}�(hhhj-$hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj)$hhh�y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.カタカナ�hNubah}�(h]�j$$ah!]�h#]�j$$ah%]�h']�j\�j]�	pyparsing�j_j�!j`�'pyparsing_unicode.Japanese.カタカナ�uh)j hj&$hhhj;$hNubjb)��}�(hhh]�hQ)��}�(h�5alias of :class:`pyparsing_unicode.Japanese.Katakana`�h]�(h�	alias of �����}�(h�	alias of �hjG$hhhNhNubh)��}�(h�,:class:`pyparsing_unicode.Japanese.Katakana`�h]�hj)��}�(hjR$h]�h�#pyparsing_unicode.Japanese.Katakana�����}�(hhhjT$ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjP$ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j^$�refexplicit��h�jB$h�j�!h��#pyparsing_unicode.Japanese.Katakana�h�h�h��uh)h~hhhKhjG$ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhjD$hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj&$hhhj;$hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�$j`�uh)jhhhj�!hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�7漢字 (pyparsing.pyparsing_unicode.Japanese attribute)��+pyparsing.pyparsing_unicode.Japanese.漢字�hNt�auh)h,hj�!hhhhhNubj)��}�(hhh]�(j!)��}�(h�!pyparsing_unicode.Japanese.漢字�h]�jH)��}�(h�漢字�h]�h�漢字�����}�(hhhj�$hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�$hhh�s/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Japanese.漢字�hNubah}�(h]�j�$ah!]�h#]�j�$ah%]�h']�j\�j]�	pyparsing�j_j�!j`�!pyparsing_unicode.Japanese.漢字�uh)j hj�$hhhj�$hNubjb)��}�(hhh]�hQ)��}�(h�2alias of :class:`pyparsing_unicode.Japanese.Kanji`�h]�(h�	alias of �����}�(h�	alias of �hj�$hhhNhNubh)��}�(h�):class:`pyparsing_unicode.Japanese.Kanji`�h]�hj)��}�(hj�$h]�h� pyparsing_unicode.Japanese.Kanji�����}�(hhhj�$ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�$ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�$�refexplicit��h�j�$h�j�!h�� pyparsing_unicode.Japanese.Kanji�h�h�h��uh)h~hhhKhj�$ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj�$hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�$hhhj�$hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�$j`�uh)jhhhj�!hhhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�!hhhj�!hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�$j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.Korean (pyparsing.pyparsing_unicode attribute)��"pyparsing.pyparsing_unicode.Korean�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Korean�h]�jH)��}�(h�Korean�h]�h�Korean�����}�(hhhj%hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj%hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Korean�hNubah}�(h]�j%ah!]�h#]�j%ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Korean�uh)j hj%hhhj%hNubjb)��}�(hhh]�hQ)��}�(h�*alias of :class:`pyparsing_unicode.Hangul`�h]�(h�	alias of �����}�(h�	alias of �hj)%hhhNhNubh)��}�(h�!:class:`pyparsing_unicode.Hangul`�h]�hj)��}�(hj4%h]�h�pyparsing_unicode.Hangul�����}�(hhhj6%ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj2%ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j@%�refexplicit��h�j$%h�j�h��pyparsing_unicode.Hangul�h�h�h��uh)h~hhhKhj)%ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj&%hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj%hhhj%hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jc%j`�uh)jhhhj�hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-pyparsing_unicode.Latin1 (class in pyparsing)��"pyparsing.pyparsing_unicode.Latin1�hNt�auh)h,hj�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Latin1�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Latin1�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjz%hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjv%hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Latin1�hNubjH)��}�(h�Latin1�h]�h�Latin1�����}�(hhhj�%hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjv%hhhj�%hNubeh}�(h]�jp%ah!]�h#]�jp%ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Latin1�uh)j hjs%hhhj�%hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj�%hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj�%h]�h�pyparsing.unicode.unicode_set�����}�(hhhj�%ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�%ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�%�refexplicit��h�j�%h�j�%h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Latin1�hKhj�%ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�%hKhj�%hhubhQ)��}�(h�/Unicode set for Latin-1 Unicode Character Range�h]�h�/Unicode set for Latin-1 Unicode Character Range�����}�(hj�%hj�%hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjr%hKhj�%hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjs%hhhj�%hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�%j`�uh)jhhhj�hjr%hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-pyparsing_unicode.LatinA (class in pyparsing)��"pyparsing.pyparsing_unicode.LatinA�hNt�auh)h,hj�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.LatinA�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.LatinA�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj&hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�%hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.LatinA�hNubjH)��}�(h�LatinA�h]�h�LatinA�����}�(hhhj&hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�%hhhj&hNubeh}�(h]�j�%ah!]�h#]�j�%ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.LatinA�uh)j hj�%hhhj&hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj*&hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj5&h]�h�pyparsing.unicode.unicode_set�����}�(hhhj7&ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj3&ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jA&�refexplicit��h�j%&h�j&&h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.LatinA�hKhj*&ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjQ&hKhj'&hhubhQ)��}�(h�/Unicode set for Latin-A Unicode Character Range�h]�h�/Unicode set for Latin-A Unicode Character Range�����}�(hjZ&hjX&hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�%hKhj'&hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�%hhhj&hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_js&j`�uh)jhhhj�hj�%hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-pyparsing_unicode.LatinB (class in pyparsing)��"pyparsing.pyparsing_unicode.LatinB�hNt�auh)h,hj�hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.LatinB�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.LatinB�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�&hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�&hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.LatinB�hNubjH)��}�(h�LatinB�h]�h�LatinB�����}�(hhhj�&hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�&hhhj�&hNubeh}�(h]�j�&ah!]�h#]�j�&ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.LatinB�uh)j hj�&hhhj�&hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj�&hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hj�&h]�h�pyparsing.unicode.unicode_set�����}�(hhhj�&ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�&ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�&�refexplicit��h�j�&h�j�&h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.LatinB�hKhj�&ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�&hKhj�&hhubhQ)��}�(h�/Unicode set for Latin-B Unicode Character Range�h]�h�/Unicode set for Latin-B Unicode Character Range�����}�(hj�&hj�&hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�&hKhj�&hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�&hhhj�&hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�&j`�uh)jhhhj�hj�&hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�+pyparsing_unicode.Thai (class in pyparsing)�� pyparsing.pyparsing_unicode.Thai�hNt�auh)h,hj�hhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Thai�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.Thai�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj'hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj'hhh�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Thai�hNubjH)��}�(h�Thai�h]�h�Thai�����}�(hhhj!'hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj'hhhj 'hNubeh}�(h]�j'ah!]�h#]�j'ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.Thai�uh)j hj'hhhj 'hNubjb)��}�(hhh]�(hQ)��}�(h�-Bases: :class:`pyparsing.unicode.unicode_set`�h]�(h�Bases: �����}�(h�Bases: �hj:'hhhNhNubh)��}�(h�&:class:`pyparsing.unicode.unicode_set`�h]�hj)��}�(hjE'h]�h�pyparsing.unicode.unicode_set�����}�(hhhjG'ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjC'ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jQ'�refexplicit��h�j5'h�j6'h��pyparsing.unicode.unicode_set�h�h�h��uh)h~h�h/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Thai�hKhj:'ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhja'hKhj7'hhubhQ)��}�(h�,Unicode set for Thai Unicode Character Range�h]�h�,Unicode set for Thai Unicode Character Range�����}�(hjj'hjh'hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj
'hKhj7'hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj'hhhj 'hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�'j`�uh)jhhhj�hj
'hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�8Ελληνικά (pyparsing.pyparsing_unicode attribute)��,pyparsing.pyparsing_unicode.Ελληνικά�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h�"pyparsing_unicode.Ελληνικά�h]�jH)��}�(h�Ελληνικά�h]�h�Ελληνικά�����}�(hhhj�'hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�'hhh�t/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.Ελληνικά�hNubah}�(h]�j�'ah!]�h#]�j�'ah%]�h']�j\�j]�	pyparsing�j_j�j`�"pyparsing_unicode.Ελληνικά�uh)j hj�'hhhj�'hNubjb)��}�(hhh]�hQ)��}�(h�)alias of :class:`pyparsing_unicode.Greek`�h]�(h�	alias of �����}�(h�	alias of �hj�'hhhNhNubh)��}�(h� :class:`pyparsing_unicode.Greek`�h]�hj)��}�(hj�'h]�h�pyparsing_unicode.Greek�����}�(hhhj�'ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�'ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�'�refexplicit��h�j�'h�j�h��pyparsing_unicode.Greek�h�h�h��uh)h~hhhKhj�'ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj�'hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�'hhhj�'hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�'j`�uh)jhhhj�hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�:кириллица (pyparsing.pyparsing_unicode attribute)��.pyparsing.pyparsing_unicode.кириллица�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h�$pyparsing_unicode.кириллица�h]�jH)��}�(h�кириллица�h]�h�кириллица�����}�(hhhj(hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�'hhh�v/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.кириллица�hNubah}�(h]�j�'ah!]�h#]�j�'ah%]�h']�j\�j]�	pyparsing�j_j�j`�$pyparsing_unicode.кириллица�uh)j hj�'hhhj(hNubjb)��}�(hhh]�hQ)��}�(h�,alias of :class:`pyparsing_unicode.Cyrillic`�h]�(h�	alias of �����}�(h�	alias of �hj(hhhNhNubh)��}�(h�#:class:`pyparsing_unicode.Cyrillic`�h]�hj)��}�(hj((h]�h�pyparsing_unicode.Cyrillic�����}�(hhhj*(ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj&(ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j4(�refexplicit��h�j(h�j�h��pyparsing_unicode.Cyrillic�h�h�h��uh)h~hhhKhj(ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj(hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�'hhhj(hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_jW(j`�uh)jhhhj�hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�6العربية (pyparsing.pyparsing_unicode attribute)��*pyparsing.pyparsing_unicode.العربية�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h� pyparsing_unicode.العربية�h]�jH)��}�(h�العربية�h]�h�العربية�����}�(hhhjm(hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhji(hhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.العربية�hNubah}�(h]�jd(ah!]�h#]�jd(ah%]�h']�j\�j]�	pyparsing�j_j�j`� pyparsing_unicode.العربية�uh)j hjf(hhhj{(hNubjb)��}�(hhh]�hQ)��}�(h�*alias of :class:`pyparsing_unicode.Arabic`�h]�(h�	alias of �����}�(h�	alias of �hj�(hhhNhNubh)��}�(h�!:class:`pyparsing_unicode.Arabic`�h]�hj)��}�(hj�(h]�h�pyparsing_unicode.Arabic�����}�(hhhj�(ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�(ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�(�refexplicit��h�j�(h�j�h��pyparsing_unicode.Arabic�h�h�h��uh)h~hhhKhj�(ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj�(hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjf(hhhj{(hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�(j`�uh)jhhhj�hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1ไทย (pyparsing.pyparsing_unicode attribute)��%pyparsing.pyparsing_unicode.ไทย�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.ไทย�h]�jH)��}�(h�	ไทย�h]�h�	ไทย�����}�(hhhj�(hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�(hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.ไทย�hNubah}�(h]�j�(ah!]�h#]�j�(ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.ไทย�uh)j hj�(hhhj�(hNubjb)��}�(hhh]�hQ)��}�(h�(alias of :class:`pyparsing_unicode.Thai`�h]�(h�	alias of �����}�(h�	alias of �hj�(hhhNhNubh)��}�(h�:class:`pyparsing_unicode.Thai`�h]�hj)��}�(hj�(h]�h�pyparsing_unicode.Thai�����}�(hhhj�(ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�(ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j)�refexplicit��h�j�(h�j�h��pyparsing_unicode.Thai�h�h�h��uh)h~hhhKhj�(ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj�(hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�(hhhj�(hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j+)j`�uh)jhhhj�hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.中文 (pyparsing.pyparsing_unicode attribute)��"pyparsing.pyparsing_unicode.中文�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.中文�h]�jH)��}�(h�中文�h]�h�中文�����}�(hhhjA)hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj=)hhh�j/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.中文�hNubah}�(h]�j8)ah!]�h#]�j8)ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.中文�uh)j hj:)hhhjO)hNubjb)��}�(hhh]�hQ)��}�(h�+alias of :class:`pyparsing_unicode.Chinese`�h]�(h�	alias of �����}�(h�	alias of �hj[)hhhNhNubh)��}�(h�":class:`pyparsing_unicode.Chinese`�h]�hj)��}�(hjf)h]�h�pyparsing_unicode.Chinese�����}�(hhhjh)ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjd)ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jr)�refexplicit��h�jV)h�j�h��pyparsing_unicode.Chinese�h�h�h��uh)h~hhhKhj[)ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhjX)hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj:)hhhjO)hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�)j`�uh)jhhhj�hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1日本語 (pyparsing.pyparsing_unicode attribute)��%pyparsing.pyparsing_unicode.日本語�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.日本語�h]�jH)��}�(h�	日本語�h]�h�	日本語�����}�(hhhj�)hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�)hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.日本語�hNubah}�(h]�j�)ah!]�h#]�j�)ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.日本語�uh)j hj�)hhhj�)hNubjb)��}�(hhh]�hQ)��}�(h�,alias of :class:`pyparsing_unicode.Japanese`�h]�(h�	alias of �����}�(h�	alias of �hj�)hhhNhNubh)��}�(h�#:class:`pyparsing_unicode.Japanese`�h]�hj)��}�(hj�)h]�h�pyparsing_unicode.Japanese�����}�(hhhj�)ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�)ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�)�refexplicit��h�j�)h�j�h��pyparsing_unicode.Japanese�h�h�h��uh)h~hhhKhj�)ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj�)hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�)hhhj�)hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�)j`�uh)jhhhj�hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1한국어 (pyparsing.pyparsing_unicode attribute)��%pyparsing.pyparsing_unicode.한국어�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h�pyparsing_unicode.한국어�h]�jH)��}�(h�	한국어�h]�h�	한국어�����}�(hhhj*hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj*hhh�m/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.pyparsing_unicode.한국어�hNubah}�(h]�j*ah!]�h#]�j*ah%]�h']�j\�j]�	pyparsing�j_j�j`�pyparsing_unicode.한국어�uh)j hj*hhhj#*hNubjb)��}�(hhh]�hQ)��}�(h�*alias of :class:`pyparsing_unicode.Hangul`�h]�(h�	alias of �����}�(h�	alias of �hj/*hhhNhNubh)��}�(h�!:class:`pyparsing_unicode.Hangul`�h]�hj)��}�(hj:*h]�h�pyparsing_unicode.Hangul�����}�(hhhj<*ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj8*ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jF*�refexplicit��h�j**h�j�h��pyparsing_unicode.Hangul�h�h�h��uh)h~hhhKhj/*ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhj,*hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj*hhhj#*hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_ji*j`�uh)jhhhj�hhhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�hhhj�hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_jw*j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9� unicode_set (class in pyparsing)��pyparsing.unicode_set�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�unicode_set�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�*hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�*hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode_set�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�*hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�*hhhj�*hNubjH)��}�(hj�*h]�h�unicode_set�����}�(hhhj�*hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�*hhhj�*hNubeh}�(h]�j�*ah!]�h#]�j�*ah%]�h']�j\�j]�	pyparsing�j_hj`j�*uh)j hj�*hhhj�*hNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`object`�h]�(h�Bases: �����}�(h�Bases: �hj�*hhhNhNubh)��}�(h�:class:`object`�h]�hj)��}�(hj�*h]�h�object�����}�(hhhj�*ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�*ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�*�refexplicit��h�j�*h�j�*h��object�h�h�h��uh)h~h�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode_set�hKhj�*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
�hj�*hhhNhNubhj)��}�(h�
``alphas``�h]�h�alphas�����}�(hhhj�*ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�*ubh�, �����}�(h�, �hj�*hhhNhNubhj)��}�(h�``nums``�h]�h�nums�����}�(hhhj+ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�*ubh�, �����}�(hj
+hj�*ubhj)��}�(h�
``alphanums``�h]�h�	alphanums�����}�(hhhj+ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�*ubh�, and �����}�(h�, and �hj�*hhhNhNubhj)��}�(h�``printables``�h]�h�
printables�����}�(hhhj0+ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�*ubh�b.
A unicode_set is defined by a list of ranges in the Unicode character
set, in a class attribute �����}�(h�b.
A unicode_set is defined by a list of ranges in the Unicode character
set, in a class attribute �hj�*hhhNhNubhj)��}�(h�``_ranges``�h]�h�_ranges�����}�(hhhjC+ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�*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:�hj�*hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode_set�hKhj�*hhubja)��}�(h�L_ranges = [
    (0x0020, 0x007e),
    (0x00a0, 0x00ff),
    (0x0100,),
    ]�h]�h�L_ranges = [
    (0x0020, 0x007e),
    (0x00a0, 0x00ff),
    (0x0100,),
    ]�����}�(hhhj]+ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�*hhhj\+ubhQ)��}�(h�MRanges are left- and right-inclusive. A 1-tuple of (x,) is treated as (x, x).�h]�h�MRanges are left- and right-inclusive. A 1-tuple of (x,) is treated as (x, x).�����}�(hjm+hjk+hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj\+hK
hj�*hhubhQ)��}�(h�TA unicode set can also be defined using multiple inheritance of other unicode sets::�h]�h�SA unicode set can also be defined using multiple inheritance of other unicode sets:�����}�(h�SA unicode set can also be defined using multiple inheritance of other unicode sets:�hjy+hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj\+hKhj�*hhubja)��}�(h�.class CJK(Chinese, Japanese, Korean):
    pass�h]�h�.class CJK(Chinese, Japanese, Korean):
    pass�����}�(hhhj�+ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�*hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode_set.__weakref__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�-__weakref__ (pyparsing.unicode_set attribute)��!pyparsing.unicode_set.__weakref__�hNt�auh)h,hj�*hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode_set.__weakref__�hNubj)��}�(hhh]�(j!)��}�(h�unicode_set.__weakref__�h]�jH)��}�(h�__weakref__�h]�h�__weakref__�����}�(hhhj�+hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�+hhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/unicode.py:docstring of pyparsing.unicode_set.__weakref__�hNubah}�(h]�j�+ah!]�h#]�j�+ah%]�h']�j\�j]�	pyparsing�j_j�*j`�unicode_set.__weakref__�uh)j hj�+hhhj�+hNubjb)��}�(hhh]�hQ)��}�(h�2list of weak references to the object (if defined)�h]�h�2list 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)jahj�+hhhj�+hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�+j`�uh)jhhhj�*hj�+hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�*hhhj�*hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�+j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�1condition_as_parse_action() (in module pyparsing)��#pyparsing.condition_as_parse_action�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(hXcondition_as_parse_action(fn: Union[typing.Callable[[], bool], typing.Callable[[pyparsing.results.ParseResults], bool], typing.Callable[[int, pyparsing.results.ParseResults], bool], typing.Callable[[str, int, pyparsing.results.ParseResults], bool]], message: str = None, fatal: bool = False) -> Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj,hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.condition_as_parse_action�hNubjH)��}�(h�condition_as_parse_action�h]�h�condition_as_parse_action�����}�(hhhj,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj,hhhj,hNubj')��}�(hXfn: Union[typing.Callable[[], bool], typing.Callable[[pyparsing.results.ParseResults], bool], typing.Callable[[int, pyparsing.results.ParseResults], bool], typing.Callable[[str, int, pyparsing.results.ParseResults], bool]], message: str = None, fatal: bool = False�h]�j-)��}�(hXfn: Union[typing.Callable[[], bool], typing.Callable[[pyparsing.results.ParseResults], bool], typing.Callable[[int, pyparsing.results.ParseResults], bool], typing.Callable[[str, int, pyparsing.results.ParseResults], bool]], message: str = None, fatal: bool = False�h]�hXfn: Union[typing.Callable[[], bool], typing.Callable[[pyparsing.results.ParseResults], bool], typing.Callable[[int, pyparsing.results.ParseResults], bool], typing.Callable[[str, int, pyparsing.results.ParseResults], bool]], message: str = None, fatal: bool = False�����}�(hhhj',hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj#,hhhj,hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj,hhhj,hNubj�)��}�(h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�����}�(hhhj;,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj,hhhj,hNubeh}�(h]�j�+ah!]�h#]�j�+ah%]�h']�j\�j]�	pyparsing�j_hj`j,uh)j hj�+hhhj,hNubjb)��}�(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 �hjS,hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj\,ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjS,ubh� or �����}�(h� or �hjS,hhhNhNubhj)��}�(h�	``False``�h]�h�False�����}�(hhhjo,ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjS,ubh�P
into a parse action. Can be used in places when a parse action is required
and �����}�(h�P
into a parse action. Can be used in places when a parse action is required
and �hjS,hhhNhNubh)��}�(h�$:class:`ParserElement.add_condition`�h]�hj)��}�(hj�,h]�h�ParserElement.add_condition�����}�(hhhj�,ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�,ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�,�refexplicit��h�jO,h�Nh��ParserElement.add_condition�h�h�h��uh)h~h�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.condition_as_parse_action�hKhjS,ubh�I cannot be used (such as when adding a condition
to an operator level in �����}�(h�I cannot be used (such as when adding a condition
to an operator level in �hjS,hhhNhNubh)��}�(h�:class:`infix_notation`�h]�hj)��}�(hj�,h]�h�infix_notation�����}�(hhhj�,ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�,ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�,�refexplicit��h�jO,h�Nh��infix_notation�h�h�h��uh)h~hj�,hKhjS,ubh�).�����}�(h�).�hjS,hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�,hKhjP,hhubhQ)��}�(h�Optional keyword arguments:�h]�h�Optional keyword arguments:�����}�(hj�,hj�,hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�,hKhjP,hhubj�)��}�(hhh]�(j�)��}�(h�H``message`` - define a custom message to be used in the raised exception�h]�hQ)��}�(hj�,h]�(hj)��}�(h�``message``�h]�h�message�����}�(hhhj�,ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�,ubh�= - define a custom message to be used in the raised exception�����}�(h�= - define a custom message to be used in the raised exception�hj�,ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�,hKhj�,ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�,hhhj�,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]�h�fatal�����}�(hhhj-ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj
-ubh� - if True, will raise �����}�(h� - if True, will raise �hj
-ubh)��}�(h�:class:`ParseFatalException`�h]�hj)��}�(hj#-h]�h�ParseFatalException�����}�(hhhj%-ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj!-ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j/-�refexplicit��h�jO,h�Nh��ParseFatalException�h�h�h��uh)h~hj�,hK	hj
-ubh�3 to stop parsing immediately;
otherwise will raise �����}�(h�3 to stop parsing immediately;
otherwise will raise �hj
-ubh)��}�(h�:class:`ParseException`�h]�hj)��}�(hjF-h]�h�ParseException�����}�(hhhjH-ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjD-ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jR-�refexplicit��h�jO,h�Nh��ParseException�h�h�h��uh)h~hj�,hK	hj
-ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�,hK	hj-ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�,hhhj�,hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�,hKhjP,hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�+hhhj,hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�-j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#pyparsing_test (class in pyparsing)��pyparsing.pyparsing_test�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(h�pyparsing_test�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj�-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�-hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test�hNubj8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�-hhhj�-hNubjH)��}�(hj�-h]�h�pyparsing_test�����}�(hhhj�-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�-hhhj�-hNubeh}�(h]�j�-ah!]�h#]�j�-ah%]�h']�j\�j]�	pyparsing�j_hj`j�-uh)j hj�-hhhj�-hNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`object`�h]�(h�Bases: �����}�(h�Bases: �hj�-hhhNhNubh)��}�(h�:class:`object`�h]�hj)��}�(hj�-h]�h�object�����}�(hhhj�-ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�-ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�-�refexplicit��h�j�-h�j�-h��object�h�h�h��uh)h~h�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test�hKhj�-ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�-hKhj�-hhubhQ)��}�(h�8namespace class for classes useful in writing unit tests�h]�h�8namespace class for classes useful in writing unit tests�����}�(hj�-hj�-hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test�hKhj�-hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�;pyparsing_test.TestParseResultsAsserts (class in pyparsing)��0pyparsing.pyparsing_test.TestParseResultsAsserts�hNt�auh)h,hj�-hhhNhNubj)��}�(hhh]�(j!)��}�(h�&pyparsing_test.TestParseResultsAsserts�h]�(j')��}�(h�class �h]�h�class �����}�(hhhj.hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj.hhh�x/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts�hNubjH)��}�(h�TestParseResultsAsserts�h]�h�TestParseResultsAsserts�����}�(hhhj,.hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj.hhhj+.hNubeh}�(h]�j.ah!]�h#]�j.ah%]�h']�j\�j]�	pyparsing�j_j�-j`�&pyparsing_test.TestParseResultsAsserts�uh)j hj.hhhj+.hNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`object`�h]�(h�Bases: �����}�(h�Bases: �hjE.hhhNhNubh)��}�(h�:class:`object`�h]�hj)��}�(hjP.h]�h�object�����}�(hhhjR.ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjN.ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j\.�refexplicit��h�j@.h�jA.h��object�h�h�h��uh)h~h�x/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts�hKhjE.ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjl.hKhjB.hhubhQ)��}�(h�YA mixin class to add parse results assertion methods to normal unittest.TestCase classes.�h]�h�YA mixin class to add parse results assertion methods to normal unittest.TestCase classes.�����}�(hju.hjs.hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�x/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts�hKhjB.hhubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�H__weakref__ (pyparsing.pyparsing_test.TestParseResultsAsserts attribute)��<pyparsing.pyparsing_test.TestParseResultsAsserts.__weakref__�hNt�auh)h,hjB.hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.__weakref__�hNubj)��}�(hhh]�(j!)��}�(h�2pyparsing_test.TestParseResultsAsserts.__weakref__�h]�jH)��}�(h�__weakref__�h]�h�__weakref__�����}�(hhhj�.hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�.hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.__weakref__�hNubah}�(h]�j�.ah!]�h#]�j�.ah%]�h']�j\�j]�	pyparsing�j_jA.j`�2pyparsing_test.TestParseResultsAsserts.__weakref__�uh)j hj�.hhhj�.hNubjb)��}�(hhh]�hQ)��}�(h�2list of weak references to the object (if defined)�h]�h�2list 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)jahj�.hhhj�.hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�.j`�uh)jhhhjB.hj�.hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�SassertParseAndCheckDict() (pyparsing.pyparsing_test.TestParseResultsAsserts method)��Hpyparsing.pyparsing_test.TestParseResultsAsserts.assertParseAndCheckDict�hNt�auh)h,hjB.hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.assertParseAndCheckDict�hNubj)��}�(hhh]�(j!)��}�(h�xpyparsing_test.TestParseResultsAsserts.assertParseAndCheckDict(expr, test_string, expected_dict, msg=None, verbose=True)�h]�(jH)��}�(h�assertParseAndCheckDict�h]�h�assertParseAndCheckDict�����}�(hhhj�.hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�.hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.assertParseAndCheckDict�hNubj')��}�(h�8expr, test_string, expected_dict, msg=None, verbose=True�h]�(j-)��}�(h�expr�h]�h�expr�����}�(hhhj�.ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�.ubj-)��}�(h�test_string�h]�h�test_string�����}�(hhhj/ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�.ubj-)��}�(h�
expected_dict�h]�h�
expected_dict�����}�(hhhj/ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�.ubj-)��}�(h�msg=None�h]�h�msg=None�����}�(hhhj!/ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�.ubj-)��}�(h�verbose=True�h]�h�verbose=True�����}�(hhhj//ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�.ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�.hhhj�.hNubeh}�(h]�j�.ah!]�h#]�j�.ah%]�h']�j\�j]�	pyparsing�j_jA.j`�>pyparsing_test.TestParseResultsAsserts.assertParseAndCheckDict�uh)j hj�.hhhj�.hNubjb)��}�(hhh]�hQ)��}�(h��Convenience wrapper assert to test a parser element and input string, and assert that
the resulting ``ParseResults.asDict()`` is equal to the ``expected_dict``.�h]�(h�dConvenience wrapper assert to test a parser element and input string, and assert that
the resulting �����}�(h�dConvenience wrapper assert to test a parser element and input string, and assert that
the resulting �hjN/hhhNhNubhj)��}�(h�``ParseResults.asDict()``�h]�h�ParseResults.asDict()�����}�(hhhjW/ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjN/ubh� is equal to the �����}�(h� is equal to the �hjN/hhhNhNubhj)��}�(h�``expected_dict``�h]�h�
expected_dict�����}�(hhhjj/ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjN/ubh�.�����}�(hj�hjN/hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�.hKhjK/hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�.hhhj�.hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j�/j`�uh)jhhhjB.hj�.hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�SassertParseAndCheckList() (pyparsing.pyparsing_test.TestParseResultsAsserts method)��Hpyparsing.pyparsing_test.TestParseResultsAsserts.assertParseAndCheckList�hNt�auh)h,hjB.hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.assertParseAndCheckList�hNubj)��}�(hhh]�(j!)��}�(h�xpyparsing_test.TestParseResultsAsserts.assertParseAndCheckList(expr, test_string, expected_list, msg=None, verbose=True)�h]�(jH)��}�(h�assertParseAndCheckList�h]�h�assertParseAndCheckList�����}�(hhhj�/hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�/hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.assertParseAndCheckList�hNubj')��}�(h�8expr, test_string, expected_list, msg=None, verbose=True�h]�(j-)��}�(h�expr�h]�h�expr�����}�(hhhj�/ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�/ubj-)��}�(h�test_string�h]�h�test_string�����}�(hhhj�/ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�/ubj-)��}�(h�
expected_list�h]�h�
expected_list�����}�(hhhj�/ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�/ubj-)��}�(h�msg=None�h]�h�msg=None�����}�(hhhj�/ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�/ubj-)��}�(h�verbose=True�h]�h�verbose=True�����}�(hhhj�/ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�/ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�/hhhj�/hNubeh}�(h]�j�/ah!]�h#]�j�/ah%]�h']�j\�j]�	pyparsing�j_jA.j`�>pyparsing_test.TestParseResultsAsserts.assertParseAndCheckList�uh)j hj�/hhhj�/hNubjb)��}�(hhh]�hQ)��}�(h��Convenience wrapper assert to test a parser element and input string, and assert that
the resulting ``ParseResults.asList()`` is equal to the ``expected_list``.�h]�(h�dConvenience wrapper assert to test a parser element and input string, and assert that
the resulting �����}�(h�dConvenience wrapper assert to test a parser element and input string, and assert that
the resulting �hj0hhhNhNubhj)��}�(h�``ParseResults.asList()``�h]�h�ParseResults.asList()�����}�(hhhj0ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj0ubh� is equal to the �����}�(h� is equal to the �hj0hhhNhNubhj)��}�(h�``expected_list``�h]�h�
expected_list�����}�(hhhj,0ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj0ubh�.�����}�(hj�hj0hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�/hKhj
0hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�/hhhj�/hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_jQ0j`�uh)jhhhjB.hj�/hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�TassertParseResultsEquals() (pyparsing.pyparsing_test.TestParseResultsAsserts method)��Ipyparsing.pyparsing_test.TestParseResultsAsserts.assertParseResultsEquals�hNt�auh)h,hjB.hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.assertParseResultsEquals�hNubj)��}�(hhh]�(j!)��}�(h�ypyparsing_test.TestParseResultsAsserts.assertParseResultsEquals(result, expected_list=None, expected_dict=None, msg=None)�h]�(jH)��}�(h�assertParseResultsEquals�h]�h�assertParseResultsEquals�����}�(hhhjh0hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjd0hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.assertParseResultsEquals�hNubj')��}�(h�8result, expected_list=None, expected_dict=None, msg=None�h]�(j-)��}�(h�result�h]�h�result�����}�(hhhj{0ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjw0ubj-)��}�(h�expected_list=None�h]�h�expected_list=None�����}�(hhhj�0ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjw0ubj-)��}�(h�expected_dict=None�h]�h�expected_dict=None�����}�(hhhj�0ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjw0ubj-)��}�(h�msg=None�h]�h�msg=None�����}�(hhhj�0ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjw0ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjd0hhhjv0hNubeh}�(h]�j^0ah!]�h#]�j^0ah%]�h']�j\�j]�	pyparsing�j_jA.j`�?pyparsing_test.TestParseResultsAsserts.assertParseResultsEquals�uh)j hja0hhhjv0hNubjb)��}�(hhh]�hQ)��}�(h��Unit 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�0hhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj�0h]�h�ParseResults�����}�(hhhj�0ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�0ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�0�refexplicit��h�j�0h�jA.h��ParseResults�h�h�h��uh)h~hj`0hKhj�0ubh� object with an optional �����}�(h� object with an optional �hj�0hhhNhNubhj)��}�(h�``expected_list``�h]�h�
expected_list�����}�(hhhj�0ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�0ubh�9,
and compare any defined results names with an optional �����}�(h�9,
and compare any defined results names with an optional �hj�0hhhNhNubhj)��}�(h�``expected_dict``�h]�h�
expected_dict�����}�(hhhj1ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�0ubh�.�����}�(hj�hj�0hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj`0hKhj�0hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahja0hhhjv0hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j(1j`�uh)jhhhjB.hj`0hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�PassertRunTestResults() (pyparsing.pyparsing_test.TestParseResultsAsserts method)��Epyparsing.pyparsing_test.TestParseResultsAsserts.assertRunTestResults�hNt�auh)h,hjB.hhhNhNubj)��}�(hhh]�(j!)��}�(h�tpyparsing_test.TestParseResultsAsserts.assertRunTestResults(run_tests_report, expected_parse_results=None, msg=None)�h]�(jH)��}�(h�assertRunTestResults�h]�h�assertRunTestResults�����}�(hhhj>1hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj:1hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.assertRunTestResults�hNubj')��}�(h�7run_tests_report, expected_parse_results=None, msg=None�h]�(j-)��}�(h�run_tests_report�h]�h�run_tests_report�����}�(hhhjQ1ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjM1ubj-)��}�(h�expected_parse_results=None�h]�h�expected_parse_results=None�����}�(hhhj_1ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjM1ubj-)��}�(h�msg=None�h]�h�msg=None�����}�(hhhjm1ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjM1ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj:1hhhjL1hNubeh}�(h]�j51ah!]�h#]�j51ah%]�h']�j\�j]�	pyparsing�j_jA.j`�;pyparsing_test.TestParseResultsAsserts.assertRunTestResults�uh)j hj71hhhjL1hNubjb)��}�(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�1hhhNhNubhj)��}�(h�``ParserElement.runTests()``�h]�h�ParserElement.runTests()�����}�(hhhj�1ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�1ubh�0. If a list of
list-dict tuples is given as the �����}�(h�0. If a list of
list-dict tuples is given as the �hj�1hhhNhNubhj)��}�(h�``expected_parse_results``�h]�h�expected_parse_results�����}�(hhhj�1ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�1ubh�D argument, then these are zipped
with the report tuples returned by �����}�(h�D argument, then these are zipped
with the report tuples returned by �hj�1hhhNhNubhj)��}�(h�``runTests``�h]�h�runTests�����}�(hhhj�1ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�1ubh� and evaluated using �����}�(h� and evaluated using �hj�1hhhNhNubhj)��}�(h�``assertParseResultsEquals``�h]�h�assertParseResultsEquals�����}�(hhhj�1ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�1ubh�$.
Finally, asserts that the overall �����}�(h�$.
Finally, asserts that the overall �hj�1hhhNhNubhj)��}�(h�``runTests()``�h]�h�
runTests()�����}�(hhhj�1ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�1ubh� success value is �����}�(h� success value is �hj�1hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj�1ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�1ubh�.�����}�(hj�hj�1hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.TestParseResultsAsserts.assertRunTestResults�hKhj�1hhubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj2ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj2hjL1hKubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(hhh]�hQ)��}�(h�_run_tests_report -- tuple(bool, [tuple(str, ParseResults or Exception)]) returned from runTests�h]�(j�)��}�(h�run_tests_report�h]�h�run_tests_report�����}�(hhhj.2ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj*2ubh� – �����}�(hhhj*2ubh�Ktuple(bool, [tuple(str, ParseResults or Exception)]) returned from runTests�����}�(h�Ktuple(bool, [tuple(str, ParseResults or Exception)]) returned from runTests�hj*2hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj'2ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj$2ubj�)��}�(hhh]�hQ)��}�(h�J(optional) (expected_parse_results) -- [tuple(str, list, dict, Exception)]�h]�(j�)��}�(h�(�h]�h�(�����}�(hhhjX2ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjT2ubj�)��}�(h�optional�h]�h�optional�����}�(hhhjf2ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hjT2ubj�)��}�(hj~Th]�h�)�����}�(hhhjt2ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjT2ubh� (�����}�(hhhjT2ubh)��}�(hhh]�h+�literal_emphasis���)��}�(h�expected_parse_results�h]�h�expected_parse_results�����}�(hhhj�2ubah}�(h]�h!]�h#]�h%]�h']�uh)j�2hj�2ubah}�(h]�h!]�h#]�h%]�h']��	refdomain��py��refexplicit���reftype�j_�	reftarget�j�2j��uh)h~hjT2ubh�)�����}�(hhhjT2ubh� – �����}�(hhhjT2ubh�#[tuple(str, list, dict, Exception)]�����}�(h�#[tuple(str, list, dict, Exception)]�hjT2hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjQ2ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj$2ubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj!2ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj2ubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj
2ubah}�(h]�h!]�h#]�h%]�h']�uh)jhj�1hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj71hhhjL1hNubeh}�(h]�h!]�h#]�h%]�h']�j[j�2j]�method�j_j�2j`�uh)jhhhjB.hNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj.hhhj+.hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�2j`�uh)jhhhj�-hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�0__weakref__ (pyparsing.pyparsing_test attribute)��$pyparsing.pyparsing_test.__weakref__�hNt�auh)h,hj�-hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.__weakref__�hNubj)��}�(hhh]�(j!)��}�(h�pyparsing_test.__weakref__�h]�jH)��}�(h�__weakref__�h]�h�__weakref__�����}�(hhhj3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj3hhh�l/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.__weakref__�hNubah}�(h]�j�2ah!]�h#]�j�2ah%]�h']�j\�j]�	pyparsing�j_j�-j`�pyparsing_test.__weakref__�uh)j hj�2hhhj3hNubjb)��}�(hhh]�hQ)��}�(h�2list of weak references to the object (if defined)�h]�h�2list of weak references to the object (if defined)�����}�(hj!3hj3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�2hKhj3hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�2hhhj3hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j:3j`�uh)jhhhj�-hj�2hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�;pyparsing_test.reset_pyparsing_context (class in pyparsing)��0pyparsing.pyparsing_test.reset_pyparsing_context�hNt�auh)h,hj�-hhhNhNubj)��}�(hhh]�(j!)��}�(h�(pyparsing_test.reset_pyparsing_context()�h]�(j')��}�(h�class �h]�h�class �����}�(hhhjP3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjL3hhh�x/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.reset_pyparsing_context�hNubjH)��}�(h�reset_pyparsing_context�h]�h�reset_pyparsing_context�����}�(hhhj_3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjL3hhhj^3hNubeh}�(h]�jG3ah!]�h#]�jG3ah%]�h']�j\�j]�	pyparsing�j_j�-j`�&pyparsing_test.reset_pyparsing_context�uh)j hjI3hhhj^3hNubjb)��}�(hhh]�(hQ)��}�(h�Bases: :class:`object`�h]�(h�Bases: �����}�(h�Bases: �hjx3hhhNhNubh)��}�(h�:class:`object`�h]�hj)��}�(hj�3h]�h�object�����}�(hhhj�3ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�3ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�3�refexplicit��h�js3h�jt3h��object�h�h�h��uh)h~h�x/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.reset_pyparsing_context�hKhjx3ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�3hKhju3hhubhQ)��}�(h��Context 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�h]�h��Context 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�3hj�3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�x/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.reset_pyparsing_context�hKhju3hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�3hK	hju3hhubja)��}�(hX�with 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�h]�hX�with 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�3ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hju3hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.reset_pyparsing_context.__init__�ubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�D__init__() (pyparsing.pyparsing_test.reset_pyparsing_context method)��9pyparsing.pyparsing_test.reset_pyparsing_context.__init__�hNt�auh)h,hju3hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.reset_pyparsing_context.__init__�hNubj)��}�(hhh]�(j!)��}�(h�1pyparsing_test.reset_pyparsing_context.__init__()�h]�(jH)��}�(h�__init__�h]�h�__init__�����}�(hhhj�3hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�3hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.reset_pyparsing_context.__init__�hNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�3hhhj�3hNubeh}�(h]�j�3ah!]�h#�]�j�3ah%]�h']�j\�j]�	pyparsing�j_jt3j`�/pyparsing_test.reset_pyparsing_context.__init__�uh)j hj�3hhhj�3hNubjb)��}�(hhh]�hQ)��}�(h�>Initialize self.  See help(type(self)) for accurate signature.�h]�h�>Initialize self.  See help(type(self)) for accurate signature.�����}�(hj4hj4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�3hKhj	4hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�3hhhj�3hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�method�j_j'4j`�uh)jhhhju3hj�3hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�H__weakref__ (pyparsing.pyparsing_test.reset_pyparsing_context attribute)��<pyparsing.pyparsing_test.reset_pyparsing_context.__weakref__�hNt�auh)h,hju3hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.reset_pyparsing_context.__weakref__�hNubj)��}�(hhh]�(j!)��}�(h�2pyparsing_test.reset_pyparsing_context.__weakref__�h]�jH)��}�(h�__weakref__�h]�h�__weakref__�����}�(hhhj>4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj:4hhh��/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.reset_pyparsing_context.__weakref__�hNubah}�(h]�j44ah!]�h#]�j44ah%]�h']�j\�j]�	pyparsing�j_jt3j`�2pyparsing_test.reset_pyparsing_context.__weakref__�uh)j hj74hhhjL4hNubjb)��}�(hhh]�hQ)��}�(h�2list of weak references to the object (if defined)�h]�h�2list of weak references to the object (if defined)�����}�(hjZ4hjX4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj64hKhjU4hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj74hhhjL4hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_js4j`�uh)jhhhju3hj64hNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjI3hhhj^3hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j�4j`�uh)jhhhj�-hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�<with_line_numbers() (pyparsing.pyparsing_test static method)��*pyparsing.pyparsing_test.with_line_numbers�hNt�auh)h,hj�-hhhNhNubj)��}�(hhh]�(j!)��}�(hXpyparsing_test.with_line_numbers(s: str, start_line: Union[int, NoneType] = None, end_line: Union[int, NoneType] = None, expand_tabs: bool = True, eol_mark: str = '|', mark_spaces: Union[str, NoneType] = None, mark_control: Union[str, NoneType] = None) -> str�h]�(j')��}�(hj�)h]�h�static �����}�(hhhj�4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�4hhh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.with_line_numbers�hNubjH)��}�(h�with_line_numbers�h]�h�with_line_numbers�����}�(hhhj�4hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�4hhhj�4hNubj')��}�(h��s: str, start_line: Union[int, NoneType] = None, end_line: Union[int, NoneType] = None, expand_tabs: bool = True, eol_mark: str = '|', mark_spaces: Union[str, NoneType] = None, mark_control: Union[str, NoneType] = None�h]�(j-)��}�(h�s: str�h]�h�s: str�����}�(hhhj�4ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubj-)��}�(h�start_line: Union[int�h]�h�start_line: Union[int�����}�(hhhj�4ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�4ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubj-)��}�(h�end_line: Union[int�h]�h�end_line: Union[int�����}�(hhhj�4ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�4ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubj-)��}�(h�expand_tabs: bool = True�h]�h�expand_tabs: bool = True�����}�(hhhj�4ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubj-)��}�(h�eol_mark: str = '|'�h]�h�eol_mark: str = '|'�����}�(hhhj5ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubj-)��}�(h�mark_spaces: Union[str�h]�h�mark_spaces: Union[str�����}�(hhhj5ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj'5ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubj-)��}�(h�mark_control: Union[str�h]�h�mark_control: Union[str�����}�(hhhj55ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjC5ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�4ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�4hhhj�4hNubj�)��}�(h�str�h]�h�str�����}�(hhhjW5hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�4hhhj�4hNubeh}�(h]�j�4ah!]�h#]�j�4ah%]�h']�j\�j]�	pyparsing�j_j�-j`� pyparsing_test.with_line_numbers�uh)j hj�4hhhj�4hNubjb)��}�(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.)�����}�(hjr5hjp5hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPh�r/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/testing.py:docstring of pyparsing.pyparsing_test.with_line_numbers�hKhjm5hhubj�)��}�(hhh]�(j�)��}�(hhh]�(j�)��}�(h�
Parameters�h]�h�
Parameters�����}�(hhhj�5ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�5hj�4hKubj�)��}�(hhh]�j�)��}�(hhh]�(j�)��}�(hhh]�hQ)��}�(h�Hs -- tuple(bool, str - string to be printed with line and column numbers�h]�(j�)��}�(hj*9h]�h�s�����}�(hhhj�5ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj�5ubh� – �����}�(hhhj�5ubh�Ctuple(bool, str - string to be printed with line and column numbers�����}�(h�Ctuple(bool, str - string to be printed with line and column numbers�hj�5hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�5ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�5ubj�)��}�(hhh]�hQ)��}�(h�Mstart_line -- int - (optional) starting line number in s to print (default=1)�h]�(j�)��}�(h�
start_line�h]�h�
start_line�����}�(hhhj�5ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj�5ubh� – �����}�(hhhj�5ubh�?int - (optional) starting line number in s to print (default=1)�����}�(h�?int - (optional) starting line number in s to print (default=1)�hj�5hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�5ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�5ubj�)��}�(hhh]�hQ)��}�(h�Nend_line -- int - (optional) ending line number in s to print (default=len(s))�h]�(j�)��}�(h�end_line�h]�h�end_line�����}�(hhhj�5ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj�5ubh� – �����}�(hhhj�5ubh�Bint - (optional) ending line number in s to print (default=len(s))�����}�(h�Bint - (optional) ending line number in s to print (default=len(s))�hj�5hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�5ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�5ubj�)��}�(hhh]�hQ)��}�(h�Vexpand_tabs -- bool - (optional) expand tabs to spaces, to match the pyparsing default�h]�(j�)��}�(h�expand_tabs�h]�h�expand_tabs�����}�(hhhj6ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj6ubh� – �����}�(hhhj6ubh�Gbool - (optional) expand tabs to spaces, to match the pyparsing default�����}�(h�Gbool - (optional) expand tabs to spaces, to match the pyparsing default�hj6hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj6ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�5ubj�)��}�(hhh]�hQ)��}�(h�keol_mark -- str - (optional) string to mark the end of lines, helps visualize trailing spaces (default="|")�h]�(j�)��}�(h�eol_mark�h]�h�eol_mark�����}�(hhhjG6ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hjC6ubh� – �����}�(hhhjC6ubh�cstr - (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="|")�hjC6hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj@6ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�5ubj�)��}�(hhh]�hQ)��}�(h�Omark_spaces -- str - (optional) special character to display in place of spaces�h]�(j�)��}�(h�mark_spaces�h]�h�mark_spaces�����}�(hhhjq6ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hjm6ubh� – �����}�(hhhjm6ubh�@str - (optional) special character to display in place of spaces�����}�(h�@str - (optional) special character to display in place of spaces�hjm6hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjj6ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�5ubj�)��}�(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-is�h]�(j�)��}�(h�mark_control�h]�h�mark_control�����}�(hhhj�6ubah}�(h]�h!]�h#]�h%]�h']�j��uh)j�hj�6ubh� – �����}�(hhhj�6ubhX<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-is�hj�6hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�6ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�5ubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj�5ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�5ubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj5ubj�)��}�(hhh]�(j�)��}�(h�Returns�h]�h�Returns�����}�(hhhj�6ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�6hj�4hKubj�)��}�(hhh]�hQ)��}�(h�Fstr - input string with leading line numbers and column number headers�h]�h�Fstr - input string with leading line numbers and column number headers�����}�(h�Fstr - input string with leading line numbers and column number headers�hj�6hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�6ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�6ubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj5ubeh}�(h]�h!]�h#]�h%]�h']�uh)jhjm5hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�4hhhj�4hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�staticmethod�j_j7j`�uh)jhhhj�-hNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�-hhhj�-hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�class�j_j 7j`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�$countedArray() (in module pyparsing)��pyparsing.countedArray�hNt�auh)h,hj�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.countedArray�hNubj)��}�(hhh]�(j!)��}�(h��countedArray(expr: pyparsing.core.ParserElement, int_expr: Union[pyparsing.core.ParserElement, NoneType] = None, *, intExpr: Union[pyparsing.core.ParserElement, NoneType] = None) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj77hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj37hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.countedArray�hNubjH)��}�(h�countedArray�h]�h�countedArray�����}�(hhhjF7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj37hhhjE7hNubj')��}�(h��expr: pyparsing.core.ParserElement, int_expr: Union[pyparsing.core.ParserElement, NoneType] = None, *, intExpr: Union[pyparsing.core.ParserElement, NoneType] = None�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhjX7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjT7ubj-)��}�(h�,int_expr: Union[pyparsing.core.ParserElement�h]�h�,int_expr: Union[pyparsing.core.ParserElement�����}�(hhhjf7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjT7ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjt7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjT7ubj-)��}�(hj@h]�h�*�����}�(hhhj�7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjT7ubj-)��}�(h�+intExpr: Union[pyparsing.core.ParserElement�h]�h�+intExpr: Union[pyparsing.core.ParserElement�����}�(hhhj�7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjT7ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhj�7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjT7ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj37hhhjE7hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj37hhhjE7hNubeh}�(h]�j-7ah!]�h#]�j-7ah%]�h']�j\�j]�	pyparsing�j_hj`jH7uh)j hj07hhhjE7hNubjb)��}�(hhh]�(hQ)��}�(h�/Helper to define a counted list of expressions.�h]�h�/Helper to define a counted list of expressions.�����}�(hj�7hj�7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj/7hKhj�7hhubhQ)��}�(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:�hj�7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj/7hKhj�7hhubja)��}�(h�integer expr expr expr...�h]�h�integer expr expr expr...�����}�(hhhj�7ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�7hhhj/7ubhQ)��}�(h��where 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]�h��where 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.�����}�(hj�7hj�7hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj/7hKhj�7hhubhQ)��}�(h�aIf ``int_expr`` is specified, it should be a pyparsing expression
that produces an integer value.�h]�(h�If �����}�(h�If �hj8hhhNhNubhj)��}�(h�``int_expr``�h]�h�int_expr�����}�(hhhj8ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj8ubh�R is specified, it should be a pyparsing expression
that produces an integer value.�����}�(h�R is specified, it should be a pyparsing expression
that produces an integer value.�hj8hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj/7hKhj�7hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj$8hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj/7hKhj�7hhubja)��}�(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'�����}�(hhhj38ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�7hhhj/7ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj07hhhjE7hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jN8j`�uh)jhhhj�hj/7hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%delimitedList() (in module pyparsing)��pyparsing.delimitedList�hNt�auh)h,hj�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.delimitedList�hNubj)��}�(hhh]�(j!)��}�(hXdelimitedList(expr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Union[int, NoneType] = None, max: Union[int, NoneType] = None, *, allow_trailing_delim: bool = False) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhje8hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hja8hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.delimitedList�hNubjH)��}�(h�
delimitedList�h]�h�
delimitedList�����}�(hhhjt8hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhja8hhhjs8hNubj')��}�(h��expr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Union[int, NoneType] = None, max: Union[int, NoneType] = None, *, allow_trailing_delim: bool = False�h]�j-)��}�(h��expr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Union[int, NoneType] = None, max: Union[int, NoneType] = None, *, allow_trailing_delim: bool = False�h]�h��expr: Union[str, pyparsing.core.ParserElement], delim: Union[str, pyparsing.core.ParserElement] = ',', combine: bool = False, min: Union[int, NoneType] = None, max: Union[int, NoneType] = None, *, allow_trailing_delim: bool = False�����}�(hhhj�8hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�8hhhjs8hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hja8hhhjs8hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�8hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hja8hhhjs8hNubeh}�(h]�j[8ah!]�h#]�j[8ah%]�h']�j\�j]�	pyparsing�j_hj`jv8uh)j hj^8hhhjs8hNubjb)��}�(hhh]�(hQ)��}�(hX�Helper 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]�(h��Helper 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 �����}�(h��Helper 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 �hj�8hhhNhNubhj)��}�(h�``combine=True``�h]�h�combine=True�����}�(hhhj�8ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�8ubh� in the constructor. If
�����}�(h� in the constructor. If
�hj�8hhhNhNubhj)��}�(h�``combine``�h]�h�combine�����}�(hhhj�8ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�8ubh� is set to �����}�(h� is set to �hj�8hhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhj�8ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�8ubh��, 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.�hj�8hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj]8hKhj�8hhubhQ)��}�(h�SIf ``allow_trailing_delim`` is set to True, then the list may end with
a delimiter.�h]�(h�If �����}�(h�If �hj�8hhhNhNubhj)��}�(h�``allow_trailing_delim``�h]�h�allow_trailing_delim�����}�(hhhj9ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�8ubh�8 is set to True, then the list may end with
a delimiter.�����}�(h�8 is set to True, then the list may end with
a delimiter.�hj�8hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj]8hK
hj�8hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj9hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj]8hK
hj�8hhubja)��}�(h��delimited_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]�h��delimited_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+9ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�8hhhj]8ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj^8hhhjs8hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jF9j`�uh)jhhhj�hj]8hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�dictOf() (in module pyparsing)��pyparsing.dictOf�hNt�auh)h,hj�hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.dictOf�hNubj)��}�(hhh]�(j!)��}�(h�ndictOf(key: pyparsing.core.ParserElement, value: pyparsing.core.ParserElement) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj]9hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjY9hhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.dictOf�hNubjH)��}�(h�dictOf�h]�h�dictOf�����}�(hhhjl9hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjY9hhhjk9hNubj')��}�(h�Fkey: pyparsing.core.ParserElement, value: pyparsing.core.ParserElement�h]�(j-)��}�(h�!key: pyparsing.core.ParserElement�h]�h�!key: pyparsing.core.ParserElement�����}�(hhhj~9ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjz9ubj-)��}�(h�#value: pyparsing.core.ParserElement�h]�h�#value: pyparsing.core.ParserElement�����}�(hhhj�9ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjz9ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjY9hhhjk9hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�9hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjY9hhhjk9hNubeh}�(h]�jS9ah!]�h#]�jS9ah%]�h']�j\�j]�	pyparsing�j_hj`jn9uh)j hjV9hhhjk9hNubjb)��}�(hhh]�(hQ)��}�(hX�Helper 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]�(h��Helper to easily and clearly define a dictionary by specifying
the respective patterns for the key and value.  Takes care of
defining the �����}�(h��Helper to easily and clearly define a dictionary by specifying
the respective patterns for the key and value.  Takes care of
defining the �hj�9hhhNhNubh)��}�(h�
:class:`Dict`�h]�hj)��}�(hj�9h]�h�Dict�����}�(hhhj�9ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�9ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�9�refexplicit��h�j�9h�Nh��Dict�h�h�h��uh)h~hjU9hKhj�9ubh�, �����}�(h�, �hj�9hhhNhNubh)��}�(h�:class:`ZeroOrMore`�h]�hj)��}�(hj�9h]�h�
ZeroOrMore�����}�(hhhj�9ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�9ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�9�refexplicit��h�j�9h�Nh��
ZeroOrMore�h�h�h��uh)h~hjU9hKhj�9ubh�, and
�����}�(h�, and
�hj�9hhhNhNubh)��}�(h�:class:`Group`�h]�hj)��}�(hj	:h]�h�Group�����}�(hhhj:ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj:ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j:�refexplicit��h�j�9h�Nh��Group�h�h�h��uh)h~hjU9hKhj�9ubh�� 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 �hj�9hhhNhNubh)��}�(h�
:class:`Dict`�h]�hj)��}�(hj,:h]�h�Dict�����}�(hhhj.:ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj*:ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j8:�refexplicit��h�j�9h�Nh��Dict�h�h�h��uh)h~hjU9hKhj�9ubh�( results
can include named token fields.�����}�(h�( results
can include named token fields.�hj�9hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjU9hKhj�9hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjS:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjU9hK
hj�9hhubja)��}�(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())�����}�(hhhjb:ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�9hhhjU9ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjp:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjU9hKhj�9hhubja)��}�(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'}�����}�(hhhj:ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM
hj�9hhhjU9ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjV9hhhjk9hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�:j`�uh)jhhhj�hjU9hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�$makeHTMLTags() (in module pyparsing)��pyparsing.makeHTMLTags�hNt�auh)h,hj�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.makeHTMLTags�hNubj)��}�(hhh]�(j!)��}�(h��makeHTMLTags(tag_str: Union[str, pyparsing.core.ParserElement]) -> Tuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�:hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.makeHTMLTags�hNubjH)��}�(h�makeHTMLTags�h]�h�makeHTMLTags�����}�(hhhj�:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�:hhhj�:hNubj')��}�(h�1tag_str: Union[str, pyparsing.core.ParserElement]�h]�j-)��}�(h�1tag_str: Union[str, pyparsing.core.ParserElement]�h]�h�1tag_str: Union[str, pyparsing.core.ParserElement]�����}�(hhhj�:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�:hhhj�:hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�:hhhj�:hNubj�)��}�(h�ATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�h]�h�ATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�����}�(hhhj�:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�:hhhj�:hNubeh}�(h]�j�:ah!]�h#]�j�:ah%]�h']�j\�j]�	pyparsing�j_hj`j�:uh)j hj�:hhhj�:hNubjb)��}�(hhh]�(hQ)��}�(h��Helper 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]�h��Helper 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.�����}�(hj;hj�:hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�:hKhj�:hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�:hKhj�:hhubja)��}�(hX�text = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
# 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 <A> tag (like "href" shown here) are
    # also accessible as named results
    print(link.link_text, '->', link.href)�h]�hX�text = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
# 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 <A> tag (like "href" shown here) are
    # also accessible as named results
    print(link.link_text, '->', link.href)�����}�(hhhj;ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�:hhhj�:ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj);hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�:hKhj�:hhubja)��}�(h�8pyparsing -> https://github.com/pyparsing/pyparsing/wiki�h]�h�8pyparsing -> https://github.com/pyparsing/pyparsing/wiki�����}�(hhhj8;ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM*hj�:hhhj�:ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�:hhhj�:hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jS;j`�uh)jhhhj�hj�:hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#makeXMLTags() (in module pyparsing)��pyparsing.makeXMLTags�hNt�auh)h,hj�hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.makeXMLTags�hNubj)��}�(hhh]�(j!)��}�(h��makeXMLTags(tag_str: Union[str, pyparsing.core.ParserElement]) -> Tuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjj;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjf;hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.makeXMLTags�hNubjH)��}�(h�makeXMLTags�h]�h�makeXMLTags�����}�(hhhjy;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjf;hhhjx;hNubj')��}�(h�1tag_str: Union[str, pyparsing.core.ParserElement]�h]�j-)��}�(h�1tag_str: Union[str, pyparsing.core.ParserElement]�h]�h�1tag_str: Union[str, pyparsing.core.ParserElement]�����}�(hhhj�;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�;hhhjx;hNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjf;hhhjx;hNubj�)��}�(h�ATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�h]�h�ATuple[pyparsing.core.ParserElement, pyparsing.core.ParserElement]�����}�(hhhj�;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjf;hhhjx;hNubeh}�(h]�j`;ah!]�h#]�j`;ah%]�h']�j\�j]�	pyparsing�j_hj`j{;uh)j hjc;hhhjx;hNubjb)��}�(hhh]�(hQ)��}�(h��Helper to construct opening and closing tag expressions for XML,
given a tag name. Matches tags only in the given upper/lower case.�h]�h��Helper to construct opening and closing tag expressions for XML,
given a tag name. Matches tags only in the given upper/lower case.�����}�(hj�;hj�;hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjb;hKhj�;hhubhQ)��}�(h�+Example: similar to :class:`make_html_tags`�h]�(h�Example: similar to �����}�(h�Example: similar to �hj�;hhhNhNubh)��}�(h�:class:`make_html_tags`�h]�hj)��}�(hj�;h]�h�make_html_tags�����}�(hhhj�;ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�;ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�;�refexplicit��h�j�;h�Nh��make_html_tags�h�h�h��uh)h~hjb;hKhj�;ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjb;hKhj�;hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjc;hhhjx;hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�;j`�uh)jhhhj�hjb;hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�&matchOnlyAtCol() (in module pyparsing)��pyparsing.matchOnlyAtCol�hNt�auh)h,hj�hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.matchOnlyAtCol�hNubj)��}�(hhh]�(j!)��}�(h�matchOnlyAtCol(n)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj<hhh�a/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.matchOnlyAtCol�hNubjH)��}�(h�matchOnlyAtCol�h]�h�matchOnlyAtCol�����}�(hhhj%<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj<hhhj$<hNubj')��}�(h�n�h]�j-)��}�(hj��h]�h�n�����}�(hhhj7<ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj3<ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj<hhhj$<hNubeh}�(h]�j<ah!]�h#]�j<ah%]�h']�j\�j]�	pyparsing�j_hj`j'<uh)j hj<hhhj$<hNubjb)��}�(hhh]�hQ)��}�(h�fHelper method for defining parse actions that require matching at
a specific column in the input text.�h]�h�fHelper method for defining parse actions that require matching at
a specific column in the input text.�����}�(hjV<hjT<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj<hKhjQ<hhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj<hhhj$<hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jo<j`�uh)jhhhj�hj<hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)matchPreviousExpr() (in module pyparsing)��pyparsing.matchPreviousExpr�hNt�auh)h,hj�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.matchPreviousExpr�hNubj)��}�(hhh]�(j!)��}�(h�UmatchPreviousExpr(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�<hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.matchPreviousExpr�hNubjH)��}�(h�matchPreviousExpr�h]�h�matchPreviousExpr�����}�(hhhj�<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�<hhhj�<hNubj')��}�(h�"expr: pyparsing.core.ParserElement�h]�j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj�<ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�<ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�<hhhj�<hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�<hhhj�<hNubeh}�(h]�j|<ah!]�h#]�j|<ah%]�h']�j\�j]�	pyparsing�j_hj`j�<uh)j hj<hhhj�<hNubjb)��}�(hhh]�(hQ)��}�(h��Helper 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]�h��Helper 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��Helper 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:�hj�<hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj~<hKhj�<hhubja)��}�(h�Xfirst = Word(nums)
second = match_previous_expr(first)
match_expr = first + ":" + second�h]�h�Xfirst = Word(nums)
second = match_previous_expr(first)
match_expr = first + ":" + second�����}�(hhhj�<ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMDhj�<hhhj~<ubhQ)��}�(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 �hj�<hhhNhNubhj)��}�(h�	``"1:1"``�h]�h�"1:1"�����}�(hhhj�<ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�<ubh�
, but not �����}�(h�
, but not �hj�<hhhNhNubhj)��}�(h�	``"1:2"``�h]�h�"1:2"�����}�(hhhj=ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�<ubh�-.  Because this
matches by expressions, will �����}�(h�-.  Because this
matches by expressions, will �hj�<hhhNhNubjp)��}�(h�*not*�h]�h�not�����}�(hhhj=ubah}�(h]�h!]�h#]�h%]�h']�uh)johj�<ubh� match the leading �����}�(h� match the leading �hj�<hhhNhNubhj)��}�(h�	``"1:1"``�h]�h�"1:1"�����}�(hhhj2=ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�<ubh�
in �����}�(h�
in �hj�<hhhNhNubhj)��}�(h�
``"1:10"``�h]�h�"1:10"�����}�(hhhjE=ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�<ubh�=; the expressions are evaluated first, and then
compared, so �����}�(h�=; the expressions are evaluated first, and then
compared, so �hj�<hhhNhNubhj)��}�(h�``"1"``�h]�h�"1"�����}�(hhhjX=ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�<ubh� is compared with �����}�(h� is compared with �hj�<hhhNhNubhj)��}�(h�``"10"``�h]�h�"10"�����}�(hhhjk=ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�<ubh�. Do �����}�(h�. Do �hj�<hhhNhNubjp)��}�(h�*not*�h]�h�not�����}�(hhhj~=ubah}�(h]�h!]�h#]�h%]�h']�uh)johj�<ubh�" use
with packrat parsing enabled.�����}�(h�" use
with packrat parsing enabled.�hj�<hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj~<hK	hj�<hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj<hhhj�<hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�=j`�uh)jhhhj�hj~<hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�,matchPreviousLiteral() (in module pyparsing)��pyparsing.matchPreviousLiteral�hNt�auh)h,hj�hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.matchPreviousLiteral�hNubj)��}�(hhh]�(j!)��}�(h�XmatchPreviousLiteral(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�=hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�=hhh�g/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.matchPreviousLiteral�hNubjH)��}�(h�matchPreviousLiteral�h]�h�matchPreviousLiteral�����}�(hhhj�=hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�=hhhj�=hNubj')��}�(h�"expr: pyparsing.core.ParserElement�h]�j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj�=ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�=ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�=hhhj�=hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�=hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�=hhhj�=hNubeh}�(h]�j�=ah!]�h#]�j�=ah%]�h']�j\�j]�	pyparsing�j_hj`j�=uh)j hj�=hhhj�=hNubjb)��}�(hhh]�(hQ)��}�(h��Helper 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]�h��Helper 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��Helper 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:�hj>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�=hKhj>hhubja)��}�(h�[first = Word(nums)
second = match_previous_literal(first)
match_expr = first + ":" + second�h]�h�[first = Word(nums)
second = match_previous_literal(first)
match_expr = first + ":" + second�����}�(hhhj>ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMVhj>hhhj�=ubhQ)��}�(h��will 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 �hj%>hhhNhNubhj)��}�(h�	``"1:1"``�h]�h�"1:1"�����}�(hhhj.>ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj%>ubh�
, but not �����}�(h�
, but not �hj%>hhhNhNubhj)��}�(h�	``"1:2"``�h]�h�"1:2"�����}�(hhhjA>ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj%>ubh�H.  Because this
matches a previous literal, will also match the leading
�����}�(h�H.  Because this
matches a previous literal, will also match the leading
�hj%>hhhNhNubhj)��}�(h�	``"1:1"``�h]�h�"1:1"�����}�(hhhjT>ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj%>ubh� in �����}�(h� in �hj%>hhhNhNubhj)��}�(h�
``"1:10"``�h]�h�"1:10"�����}�(hhhjg>ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj%>ubh�. If this is not desired, use
�����}�(h�. If this is not desired, use
�hj%>hhhNhNubh)��}�(h�:class:`match_previous_expr`�h]�hj)��}�(hj|>h]�h�match_previous_expr�����}�(hhhj~>ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjz>ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�>�refexplicit��h�j>h�Nh��match_previous_expr�h�h�h��uh)h~hj�=hK	hj%>ubh�. Do �����}�(h�. Do �hj%>hhhNhNubjp)��}�(h�*not*�h]�h�not�����}�(hhhj�>ubah}�(h]�h!]�h#]�h%]�h']�uh)johj%>ubh�" use with packrat parsing
enabled.�����}�(h�" use with packrat parsing
enabled.�hj%>hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�=hK	hj>hhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�=hhhj�=hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�>j`�uh)jhhhj�hj�=hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�"nestedExpr() (in module pyparsing)��pyparsing.nestedExpr�hNt�auh)h,hj�hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.nestedExpr�hNubj)��}�(hhh]�(j!)��}�(hX�nestedExpr(opener: Union[str, pyparsing.core.ParserElement] = '(', closer: Union[str, pyparsing.core.ParserElement] = ')', content: Union[pyparsing.core.ParserElement, NoneType] = None, ignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes, *, ignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�>hhh�]/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.nestedExpr�hNubjH)��}�(h�
nestedExpr�h]�h�
nestedExpr�����}�(hhhj�>hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�>hhhj�>hNubj')��}�(hX_opener: Union[str, pyparsing.core.ParserElement] = '(', closer: Union[str, pyparsing.core.ParserElement] = ')', content: Union[pyparsing.core.ParserElement, NoneType] = None, ignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes, *, ignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes�h]�(j-)��}�(h�opener: Union[str�h]�h�opener: Union[str�����}�(hhhj�>ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�#pyparsing.core.ParserElement] = '('�h]�h�#pyparsing.core.ParserElement] = '('�����}�(hhhj	?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�closer: Union[str�h]�h�closer: Union[str�����}�(hhhj?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�#pyparsing.core.ParserElement] = ')'�h]�h�#pyparsing.core.ParserElement] = ')'�����}�(hhhj%?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�+content: Union[pyparsing.core.ParserElement�h]�h�+content: Union[pyparsing.core.ParserElement�����}�(hhhj3?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�NoneType] = None�h]�h�NoneType] = None�����}�(hhhjA?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�Vignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes�h]�h�Vignore_expr: pyparsing.core.ParserElement = quotedString using single or double quotes�����}�(hhhjO?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(hj@h]�h�*�����}�(hhhj]?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubj-)��}�(h�UignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes�h]�h�UignoreExpr: pyparsing.core.ParserElement = quotedString using single or double quotes�����}�(hhhjj?ubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�>ubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�>hhhj�>hNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj~?hhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�>hhhj�>hNubeh}�(h]�j�>ah!]�h#]�j�>ah%]�h']�j\�j]�	pyparsing�j_hj`j�>uh)j hj�>hhhj�>hNubjb)��}�(hhh]�(hQ)��}�(h�yHelper method for defining nested lists enclosed in opening and
closing delimiters (``"("`` and ``")"`` are the default).�h]�(h�THelper method for defining nested lists enclosed in opening and
closing delimiters (�����}�(h�THelper method for defining nested lists enclosed in opening and
closing delimiters (�hj�?hhhNhNubhj)��}�(h�``"("``�h]�h�"("�����}�(hhhj�?ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�?ubh� and �����}�(h� and �hj�?hhhNhNubhj)��}�(h�``")"``�h]�h�")"�����}�(hhhj�?ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�?ubh� are the default).�����}�(h� are the default).�hj�?hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hKhj�?hhubhQ)��}�(h�>Parameters:
- ``opener`` - opening character for a nested list�h]�(h�Parameters:
- �����}�(h�Parameters:
- �hj�?hhhNhNubhj)��}�(h�
``opener``�h]�h�opener�����}�(hhhj�?ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�?ubh�& - opening character for a nested list�����}�(h�& - opening character for a nested list�hj�?hhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hKhj�?hhubj�)��}�(hhh]�hQ)��}�(h�6(default= ``"("``); can also be a pyparsing expression�h]�(h�
(default= �����}�(h�
(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 expression�hj�?ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hKhj�?ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�?hhhj�>hNubj�)��}�(hhh]�(j�)��}�(h�g``closer`` - closing character for a nested list
(default= ``")"``); can also be a pyparsing expression�h]�hQ)��}�(h�g``closer`` - closing character for a nested list
(default= ``")"``); can also be a pyparsing expression�h]�(hj)��}�(h�
``closer``�h]�h�closer�����}�(hhhj#@ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj@ubh�1 - closing character for a nested list
(default= �����}�(h�1 - closing character for a nested list
(default= �hj@ubhj)��}�(h�``")"``�h]�h�")"�����}�(hhhj6@ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj@ubh�%); can also be a pyparsing expression�����}�(h�%); can also be a pyparsing expression�hj@ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hKhj@ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj@hhhj�>hNubj�)��}�(h�N``content`` - expression for items within the nested lists
(default= ``None``)�h]�hQ)��}�(h�N``content`` - expression for items within the nested lists
(default= ``None``)�h]�(hj)��}�(h�``content``�h]�h�content�����}�(hhhj]@ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjY@ubh�: - expression for items within the nested lists
(default= �����}�(h�: - expression for items within the nested lists
(default= �hjY@ubhj)��}�(h�``None``�h]�h�None�����}�(hhhjp@ubah}�(h]�h!]�h#]�h%]�h']�uh)hihjY@ubh�)�����}�(hj~ThjY@ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hK	hjU@ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj@hhhj�>hNubj�)��}�(h�j``ignore_expr`` - expression for ignoring opening and closing delimiters
(default= :class:`quoted_string`)�h]�hQ)��}�(h�j``ignore_expr`` - expression for ignoring opening and closing delimiters
(default= :class:`quoted_string`)�h]�(hj)��}�(h�``ignore_expr``�h]�h�ignore_expr�����}�(hhhj�@ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�@ubh�D - expression for ignoring opening and closing delimiters
(default= �����}�(h�D - expression for ignoring opening and closing delimiters
(default= �hj�@ubh)��}�(h�:class:`quoted_string`�h]�hj)��}�(hj�@h]�h�
quoted_string�����}�(hhhj�@ubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�@ubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�@�refexplicit��h�j�?h�Nh��
quoted_string�h�h�h��uh)h~hj�>hKhj�@ubh�)�����}�(hj~Thj�@ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hKhj�@ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj@hhhj�>hNubj�)��}�(h�n``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility
but will be removed in a future release
�h]�hQ)��}�(h�m``ignoreExpr`` - this pre-PEP8 argument is retained for compatibility
but will be removed in a future release�h]�(hj)��}�(h�``ignoreExpr``�h]�h�
ignoreExpr�����}�(hhhj�@ubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�@ubh�_ - 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 release�hj�@ubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hK
hj�@ubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj@hhhj�>hNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�>hKhj�?hhubhQ)��}�(h��If 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]�h��If 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.�����}�(hjAhjAhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hKhj�?hhubhQ)��}�(hX�Use 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]�(h�Use the �����}�(h�Use the �hjAhhhNhNubhj)��}�(h�``ignore_expr``�h]�h�ignore_expr�����}�(hhhjAubah}�(h]�h!]�h#]�h%]�h']�uh)hihjAubh�� 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
�hjAhhhNhNubh)��}�(h�:class:`Or`�h]�hj)��}�(hj0Ah]�h�Or�����}�(hhhj2Aubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj.Aubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j<A�refexplicit��h�j�?h�Nh��Or�h�h�h��uh)h~hj�>hKhjAubh� or �����}�(h� or �hjAhhhNhNubh)��}�(h�:class:`MatchFirst`�h]�hj)��}�(hjSAh]�h�
MatchFirst�����}�(hhhjUAubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjQAubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j_A�refexplicit��h�j�?h�Nh��
MatchFirst�h�h�h��uh)h~hj�>hKhjAubh�. The default is
�����}�(h�. The default is
�hjAhhhNhNubh)��}�(h�:class:`quoted_string`�h]�hj)��}�(hjvAh]�h�
quoted_string�����}�(hhhjxAubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjtAubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�A�refexplicit��h�j�?h�Nh��
quoted_string�h�h�h��uh)h~hj�>hKhjAubh�5, but if no expressions are to be ignored, then
pass �����}�(h�5, but if no expressions are to be ignored, then
pass �hjAhhhNhNubhj)��}�(h�``None``�h]�h�None�����}�(hhhj�Aubah}�(h]�h!]�h#]�h%]�h']�uh)hihjAubh� for this argument.�����}�(h� for this argument.�hjAhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hKhj�?hhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�AhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hKhj�?hhubja)��}�(hX�data_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]�hX�data_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)�����}�(hhhj�Aubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�?hhhj�>ubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�AhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�>hK>hj�?hhubja)��}�(h�Lis_odd (int) args: [['int', 'x']]
dec_to_hex (int) args: [['char', 'hchar']]�h]�h�Lis_odd (int) args: [['int', 'x']]
dec_to_hex (int) args: [['char', 'hchar']]�����}�(hhhj�Aubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�?hhhj�>ubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�>hhhj�>hNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�Aj`�uh)jhhhj�hj�>hNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�'nullDebugAction() (in module pyparsing)��pyparsing.nullDebugAction�hNt�auh)h,hj�hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.nullDebugAction�hNubj)��}�(hhh]�(j!)��}�(h�nullDebugAction(*args)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjBhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj
Bhhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.nullDebugAction�hNubjH)��}�(h�nullDebugAction�h]�h�nullDebugAction�����}�(hhhjBhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj
BhhhjBhNubj')��}�(h�*args�h]�j-)��}�(h�*args�h]�h�*args�����}�(hhhj/Bubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj+Bubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj
BhhhjBhNubeh}�(h]�jBah!]�h#]�jBah%]�h']�j\�j]�	pyparsing�j_hj`jBuh)j hjBhhhjBhNubjb)��}�(hhh]�hQ)��}�(h�G'Do-nothing' debug action, to suppress debugging output during parsing.�h]�h�K‘Do-nothing’ debug action, to suppress debugging output during parsing.�����}�(hjOBhjMBhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjBhKhjJBhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjBhhhjBhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jhBj`�uh)jhhhj�hjBhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�oneOf() (in module pyparsing)��pyparsing.oneOf�hNt�auh)h,hj�hhh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.oneOf�hNubj)��}�(hhh]�(j!)��}�(h��oneOf(strs: Union[typing.Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = False) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjBhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj{Bhhh�X/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.oneOf�hNubjH)��}�(h�oneOf�h]�h�oneOf�����}�(hhhj�BhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj{Bhhhj�BhNubj')��}�(h��strs: Union[typing.Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = False�h]�j-)��}�(h��strs: Union[typing.Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = False�h]�h��strs: Union[typing.Iterable[str], str], caseless: bool = False, use_regex: bool = True, as_keyword: bool = False, *, useRegex: bool = True, asKeyword: bool = False�����}�(hhhj�BhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Bhhhj�BhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj{Bhhhj�BhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�BhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj{Bhhhj�BhNubeh}�(h]�juBah!]�h#]�juBah%]�h']�j\�j]�	pyparsing�j_hj`j�Buh)j hjxBhhhj�BhNubjb)��}�(hhh]�(hQ)��}�(h��Helper 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 �hj�BhhhNhNubh)��}�(h�:class:`Literal`�h]�hj)��}�(hj�Bh]�h�Literal�����}�(hhhj�Bubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Bubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�B�refexplicit��h�j�Bh�Nh��Literal�h�h�h��uh)h~hjwBhKhj�Bubh�v s,
and makes sure to do longest-first testing when there is a conflict,
regardless of the input order, but returns
a �����}�(h�v s,
and makes sure to do longest-first testing when there is a conflict,
regardless of the input order, but returns
a �hj�BhhhNhNubh)��}�(h�:class:`MatchFirst`�h]�hj)��}�(hj�Bh]�h�
MatchFirst�����}�(hhhj�Bubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Bubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jC�refexplicit��h�j�Bh�Nh��
MatchFirst�h�h�h��uh)h~hjwBhKhj�Bubh� for best performance.�����}�(h� for best performance.�hj�BhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjwBhKhj�BhhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hj#Chj!ChhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjwBhKhj�Bhhubj�)��}�(hhh]�(j�)��}�(h�S``strs`` - a string of space-delimited literals, or a collection of
string literals�h]�hQ)��}�(h�S``strs`` - a string of space-delimited literals, or a collection of
string literals�h]�(hj)��}�(h�``strs``�h]�h�strs�����}�(hhhj:Cubah}�(h]�h!]�h#]�h%]�h']�uh)hihj6Cubh�K - a string of space-delimited literals, or a collection of
string literals�����}�(h�K - a string of space-delimited literals, or a collection of
string literals�hj6Cubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjwBhKhj2Cubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj/ChhhjwBhNubj�)��}�(h�D``caseless`` - treat all literals as caseless - (default= ``False``)�h]�hQ)��}�(hj[Ch]�(hj)��}�(h�``caseless``�h]�h�caseless�����}�(hhhj`Cubah}�(h]�h!]�h#]�h%]�h']�uh)hihj]Cubh�. - treat all literals as caseless - (default= �����}�(h�. - treat all literals as caseless - (default= �hj]Cubhj)��}�(h�	``False``�h]�h�False�����}�(hhhjsCubah}�(h]�h!]�h#]�h%]�h']�uh)hihj]Cubh�)�����}�(hj~Thj]Cubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjwBhK
hjYCubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj/ChhhjwBhNubj�)��}�(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�����}�(hhhj�Cubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Cubh�' - as an optimization, will
generate a �����}�(h�' - as an optimization, will
generate a �hj�Cubh)��}�(h�:class:`Regex`�h]�hj)��}�(hj�Ch]�h�Regex�����}�(hhhj�Cubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Cubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�C�refexplicit��h�j�Bh�Nh��Regex�h��h�h��uh)h~hjwBhKhj�Cubh�$ object; otherwise, will generate
a �����}�(h�$ object; otherwise, will generate
a �hj�Cubh)��}�(h�:class:`MatchFirst`�h]�hj)��}�(hj�Ch]�h�
MatchFirst�����}�(hhhj�Cubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Cubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�C�refexplicit��h�j�Bh�Nh��
MatchFirst�h�h�h��uh)h~hjwBhKhj�Cubh� object (if �����}�(h� object (if �hj�Cubhj)��}�(h�``caseless=True``�h]�h�
caseless=True�����}�(hhhj�Cubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Cubh� or �����}�(h� or �hj�Cubhj)��}�(h�``asKeyword=True``�h]�h�asKeyword=True�����}�(hhhjDubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Cubh�, or if
creating a �����}�(h�, or if
creating a �hj�Cubh)��}�(h�:class:`Regex`�h]�hj)��}�(hjDh]�h�Regex�����}�(hhhjDubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjDubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j&D�refexplicit��h�j�Bh�Nh��Regex�h�h�h��uh)h~hjwBhKhj�Cubh�" raises an exception) - (default= �����}�(h�" raises an exception) - (default= �hj�Cubhj)��}�(h�``True``�h]�h�True�����}�(hhhj;Dubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Cubh�)�����}�(hj~Thj�Cubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjwBhKhj�Cubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj/ChhhjwBhNubj�)��}�(h�l``as_keyword`` - enforce :class:`Keyword`-style matching on the
generated expressions - (default= ``False``)�h]�hQ)��}�(h�l``as_keyword`` - enforce :class:`Keyword`-style matching on the
generated expressions - (default= ``False``)�h]�(hj)��}�(h�``as_keyword``�h]�h�
as_keyword�����}�(hhhjaDubah}�(h]�h!]�h#]�h%]�h']�uh)hihj]Dubh� - enforce �����}�(h� - enforce �hj]Dubh)��}�(h�:class:`Keyword`�h]�hj)��}�(hjvDh]�h�Keyword�����}�(hhhjxDubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjtDubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�D�refexplicit��h�j�Bh�Nh��Keyword�h�h�h��uh)h~hjwBhKhj]Dubh�9-style matching on the
generated expressions - (default= �����}�(h�9-style matching on the
generated expressions - (default= �hj]Dubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj�Dubah}�(h]�h!]�h#]�h%]�h']�uh)hihj]Dubh�)�����}�(hj~Thj]Dubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjwBhKhjYDubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj/ChhhjwBhNubj�)��}�(h�p``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility,
but will be removed in a future release
�h]�hQ)��}�(h�o``asKeyword`` and ``useRegex`` are retained for pre-PEP8 compatibility,
but will be removed in a future release�h]�(hj)��}�(h�
``asKeyword``�h]�h�	asKeyword�����}�(hhhj�Dubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Dubh� and �����}�(h� and �hj�Dubhj)��}�(h�``useRegex``�h]�h�useRegex�����}�(hhhj�Dubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Dubh�Q are retained for pre-PEP8 compatibility,
but will be removed in a future release�����}�(h�Q are retained for pre-PEP8 compatibility,
but will be removed in a future release�hj�Dubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjwBhKhj�Dubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj/ChhhjwBhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjwBhKhj�BhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�DhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjwBhKhj�Bhhubja)��}�(h��comp_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]�h��comp_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"))�����}�(hhhjEubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�BhhhjwBubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjEhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjwBhKhj�Bhhubja)��}�(h�K[['B', '=', '12'], ['AA', '=', '23'], ['B', '<=', 'AA'], ['AA', '>', '12']]�h]�h�K[['B', '=', '12'], ['AA', '=', '23'], ['B', '<=', 'AA'], ['AA', '>', '12']]�����}�(hhhj!Eubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�BhhhjwBubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjxBhhhj�BhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j<Ej`�uh)jhhhj�hjwBhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�opAssoc (in module pyparsing)��pyparsing.opAssoc�hNt�auh)h,hj�hhhhhNubj)��}�(hhh]�(j!)��}�(h�opAssoc�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjREhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjNEhhh�Y/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/helpers.py:docstring of pyparsing.opAssoc�hNubjH)��}�(hjPEh]�h�opAssoc�����}�(hhhjaEhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjNEhhhj`EhNubeh}�(h]�jIEah!]�h#]�jIEah%]�h']�j\�j]�	pyparsing�j_hj`jPEuh)j hjKEhhhj`EhNubjb)��}�(hhh]�hQ)��}�(h�+alias of :class:`pyparsing.helpers.OpAssoc`�h]�(h�	alias of �����}�(h�	alias of �hjxEhhhNhNubh)��}�(h�":class:`pyparsing.helpers.OpAssoc`�h]�hj)��}�(hj�Eh]�h�pyparsing.helpers.OpAssoc�����}�(hhhj�Eubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Eubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�E�refexplicit��h�jtEh�Nh��pyparsing.helpers.OpAssoc�h�h�h��uh)h~hhhKhjxEubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhhhKhjuEhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjKEhhhj`EhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�	attribute�j_j�Ej`�uh)jhhhj�hhhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�$removeQuotes() (in module pyparsing)��pyparsing.removeQuotes�hNt�auh)h,hj�hhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.removeQuotes�hNubj)��}�(hhh]�(j!)��}�(h�removeQuotes(s, l, t)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�EhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Ehhh�_/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.removeQuotes�hNubjH)��}�(h�removeQuotes�h]�h�removeQuotes�����}�(hhhj�EhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Ehhhj�EhNubj')��}�(h�s, l, t�h]�(j-)��}�(hj*9h]�h�s�����}�(hhhj�Eubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Eubj-)��}�(hj89h]�h�l�����}�(hhhj�Eubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Eubj-)��}�(hjF9h]�h�t�����}�(hhhjFubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Eubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Ehhhj�EhNubeh}�(h]�j�Eah!]�h#]�j�Eah%]�h']�j\�j]�	pyparsing�j_hj`j�Euh)j hj�Ehhhj�EhNubjb)��}�(hhh]�(hQ)��}�(h�LHelper parse action for removing quotation marks from parsed
quoted strings.�h]�h�LHelper parse action for removing quotation marks from parsed
quoted strings.�����}�(hj#Fhj!FhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�EhKhjFhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj/FhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�EhKhjFhhubja)��}�(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"]�����}�(hhhj>Fubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjFhhhj�Eubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Ehhhj�EhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jYFj`�uh)jhhhj�hj�EhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)replaceHTMLEntity() (in module pyparsing)��pyparsing.replaceHTMLEntity�hNt�auh)h,hj�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.replaceHTMLEntity�hNubj)��}�(hhh]�(j!)��}�(h�replaceHTMLEntity(t)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjpFhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjlFhhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.replaceHTMLEntity�hNubjH)��}�(h�replaceHTMLEntity�h]�h�replaceHTMLEntity�����}�(hhhjFhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjlFhhhj~FhNubj')��}�(h�t�h]�j-)��}�(hjF9h]�h�t�����}�(hhhj�Fubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Fubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjlFhhhj~FhNubeh}�(h]�jfFah!]�h#]�jfFah%]�h']�j\�j]�	pyparsing�j_hj`j�Fuh)j hjiFhhhj~FhNubjb)��}�(hhh]�hQ)��}�(h�RHelper parser action to replace common HTML entities with their special characters�h]�h�RHelper parser action to replace common HTML entities with their special characters�����}�(hj�Fhj�FhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjhFhKhj�Fhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahjiFhhhj~FhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�Fj`�uh)jhhhj�hjhFhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#replaceWith() (in module pyparsing)��pyparsing.replaceWith�hNt�auh)h,hj�hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.replaceWith�hNubj)��}�(hhh]�(j!)��}�(h�replaceWith(repl_str)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�FhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Fhhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.replaceWith�hNubjH)��}�(h�replaceWith�h]�h�replaceWith�����}�(hhhj�FhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Fhhhj�FhNubj')��}�(h�repl_str�h]�j-)��}�(h�repl_str�h]�h�repl_str�����}�(hhhjGubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Fubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Fhhhj�FhNubeh}�(h]�j�Fah!]�h#]�j�Fah%]�h']�j\�j]�	pyparsing�j_hj`j�Fuh)j hj�Fhhhj�FhNubjb)��}�(hhh]�(hQ)��}�(h��Helper method for common parse actions that simply return
a literal value.  Especially useful when used with
:class:`transform_string<ParserElement.transform_string>` ().�h]�(h�mHelper method for common parse actions that simply return
a literal value.  Especially useful when used with
�����}�(h�mHelper method for common parse actions that simply return
a literal value.  Especially useful when used with
�hjGhhhNhNubh)��}�(h�9:class:`transform_string<ParserElement.transform_string>`�h]�hj)��}�(hj*Gh]�h�transform_string�����}�(hhhj,Gubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj(Gubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j6G�refexplicit��h�jGh�Nh��ParserElement.transform_string�h�h�h��uh)h~hj�FhKhjGubh� ().�����}�(h� ().�hjGhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�FhKhjGhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjQGhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�FhKhjGhhubja)��}�(h��num = 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]�h��num = 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]�����}�(hhhj`Gubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjGhhhj�Fubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Fhhhj�FhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j{Gj`�uh)jhhhj�hj�FhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�(traceParseAction() (in module pyparsing)��pyparsing.traceParseAction�hNt�auh)h,hj�hhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.traceParseAction�hNubj)��}�(hhh]�(j!)��}�(hX�traceParseAction(f: Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]) -> Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�GhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Ghhh�c/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.traceParseAction�hNubjH)��}�(h�traceParseAction�h]�h�traceParseAction�����}�(hhhj�GhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Ghhhj�GhNubj')��}�(h��f: Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�j-)��}�(h��f: Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�h��f: Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�����}�(hhhj�GhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Ghhhj�GhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Ghhhj�GhNubj�)��}�(h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�����}�(hhhj�GhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Ghhhj�GhNubeh}�(h]�j�Gah!]�h#]�j�Gah%]�h']�j\�j]�	pyparsing�j_hj`j�Guh)j hj�Ghhhj�GhNubjb)��}�(hhh]�(hQ)��}�(h�&Decorator for debugging parse actions.�h]�h�&Decorator for debugging parse actions.�����}�(hj�Ghj�GhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�GhKhj�GhhubhQ)��}�(hX+When the parse action is called, this decorator will print
``">> entering method-name(line:<current_source_line>, <parse_location>, <matched_tokens>)"``.
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�GhhhNhNubhj)��}�(h�]``">> entering method-name(line:<current_source_line>, <parse_location>, <matched_tokens>)"``�h]�h�Y">> entering method-name(line:<current_source_line>, <parse_location>, <matched_tokens>)"�����}�(hhhj�Gubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Gubh�<.
When the parse action completes, the decorator will print
�����}�(h�<.
When the parse action completes, the decorator will print
�hj�GhhhNhNubhj)��}�(h�``"<<"``�h]�h�"<<"�����}�(hhhj	Hubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Gubh�O followed by the returned value, or any exception that the parse action raised.�����}�(h�O followed by the returned value, or any exception that the parse action raised.�hj�GhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�GhKhj�GhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj"HhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�GhKhj�Ghhubja)��}�(h��wd = 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]�h��wd = 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"))�����}�(hhhj1Hubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�Ghhhj�GubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj?HhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�GhKhj�Ghhubja)��}�(h��>>entering remove_duplicate_chars(line: 'slkdjs sld sldd sdlf sdljf', 0, (['slkdjs', 'sld', 'sldd', 'sdlf', 'sdljf'], {}))
<<leaving remove_duplicate_chars (ret: 'dfjkls')
['dfjkls']�h]�h��>>entering remove_duplicate_chars(line: 'slkdjs sld sldd sdlf sdljf', 0, (['slkdjs', 'sld', 'sldd', 'sdlf', 'sdljf'], {}))
<<leaving remove_duplicate_chars (ret: 'dfjkls')
['dfjkls']�����}�(hhhjNHubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�Ghhhj�Gubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Ghhhj�GhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jiHj`�uh)jhhhj�hj�GhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%withAttribute() (in module pyparsing)��pyparsing.withAttribute�hNt�auh)h,hj�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.withAttribute�hNubj)��}�(hhh]�(j!)��}�(h�!withAttribute(*args, **attr_dict)�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�HhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj|Hhhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.withAttribute�hNubjH)��}�(h�
withAttribute�h]�h�
withAttribute�����}�(hhhj�HhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj|Hhhhj�HhNubj')��}�(h�*args, **attr_dict�h]�(j-)��}�(h�*args�h]�h�*args�����}�(hhhj�Hubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Hubj-)��}�(h�**attr_dict�h]�h�**attr_dict�����}�(hhhj�Hubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Hubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj|Hhhhj�HhNubeh}�(h]�jvHah!]�h#]�jvHah%]�h']�j\�j]�	pyparsing�j_hj`j�Huh)j hjyHhhhj�HhNubjb)��}�(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 ``<TD>`` or ``<DIV>``.�h]�(h�SHelper to create a validating parse action to be used with start
tags created with �����}�(h�SHelper to create a validating parse action to be used with start
tags created with �hj�HhhhNhNubh)��}�(h�:class:`make_xml_tags`�h]�hj)��}�(hj�Hh]�h�
make_xml_tags�����}�(hhhj�Hubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Hubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�H�refexplicit��h�j�Hh�Nh��
make_xml_tags�h�h�h��uh)h~hjxHhKhj�Hubh� or
�����}�(h� or
�hj�HhhhNhNubh)��}�(h�:class:`make_html_tags`�h]�hj)��}�(hj�Hh]�h�make_html_tags�����}�(hhhj�Hubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Hubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jI�refexplicit��h�j�Hh�Nh��make_html_tags�h�h�h��uh)h~hjxHhKhj�Hubh�. Use �����}�(h�. Use �hj�HhhhNhNubhj)��}�(h�``with_attribute``�h]�h�with_attribute�����}�(hhhjIubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Hubh�j to qualify
a starting tag with a required attribute value, to avoid false
matches on common tags such as �����}�(h�j to qualify
a starting tag with a required attribute value, to avoid false
matches on common tags such as �hj�HhhhNhNubhj)��}�(h�``<TD>``�h]�h�<TD>�����}�(hhhj/Iubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Hubh� or �����}�(h� or �hj�HhhhNhNubhj)��}�(h�	``<DIV>``�h]�h�<DIV>�����}�(hhhjBIubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Hubh�.�����}�(hj�hj�HhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjxHhKhj�HhhubhQ)��}�(h�Call ``with_attribute`` with a series of attribute names and
values. Specify the list of filter attributes names and values as:�h]�(h�Call �����}�(h�Call �hjZIhhhNhNubhj)��}�(h�``with_attribute``�h]�h�with_attribute�����}�(hhhjcIubah}�(h]�h!]�h#]�h%]�h']�uh)hihjZIubh�h with a series of attribute names and
values. Specify the list of filter attributes names and values as:�����}�(h�h with a series of attribute names and
values. Specify the list of filter attributes names and values as:�hjZIhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjxHhKhj�Hhhubj�)��}�(hhh]�(j�)��}�(h�0keyword arguments, as in ``(align="right")``, or�h]�hQ)��}�(hj�Ih]�(h�keyword arguments, as in �����}�(h�keyword arguments, as in �hj�Iubhj)��}�(h�``(align="right")``�h]�h�(align="right")�����}�(hhhj�Iubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Iubh�, or�����}�(h�, or�hj�Iubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjxHhK
hjIubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj|IhhhjxHhNubj�)��}�(h��as an explicit dict with ``**`` operator, when an attribute
name is also a Python reserved word, as in ``**{"class":"Customer", "align":"right"}``�h]�hQ)��}�(h��as an explicit dict with ``**`` operator, when an attribute
name is also a Python reserved word, as in ``**{"class":"Customer", "align":"right"}``�h]�(h�as an explicit dict with �����}�(h�as an explicit dict with �hj�Iubhj)��}�(h�``**``�h]�h�**�����}�(hhhj�Iubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Iubh�H operator, when an attribute
name is also a Python reserved word, as in �����}�(h�H operator, when an attribute
name is also a Python reserved word, as in �hj�Iubhj)��}�(h�+``**{"class":"Customer", "align":"right"}``�h]�h�'**{"class":"Customer", "align":"right"}�����}�(hhhj�Iubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Iubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjxHhKhj�Iubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj|IhhhjxHhNubj�)��}�(h�[a list of name-value tuples, as in ``(("ns1:class", "Customer"), ("ns2:align", "right"))``
�h]�hQ)��}�(h�Za 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 �hj�Iubhj)��}�(h�7``(("ns1:class", "Customer"), ("ns2:align", "right"))``�h]�h�3(("ns1:class", "Customer"), ("ns2:align", "right"))�����}�(hhhj�Iubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Iubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjxHhK
hj�Iubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj|IhhhjxHhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjxHhK
hj�HhhubhQ)��}�(h��For attribute names with a namespace prefix, you must use the second
form.  Attribute names are matched insensitive to upper/lower case.�h]�h��For attribute names with a namespace prefix, you must use the second
form.  Attribute names are matched insensitive to upper/lower case.�����}�(hjJhjJhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjxHhKhj�HhhubhQ)��}�(h�UIf just testing for ``class`` (with or without a namespace), use
:class:`with_class`.�h]�(h�If just testing for �����}�(h�If just testing for �hjJhhhNhNubhj)��}�(h�	``class``�h]�h�class�����}�(hhhj(Jubah}�(h]�h!]�h#]�h%]�h']�uh)hihjJubh�$ (with or without a namespace), use
�����}�(h�$ (with or without a namespace), use
�hjJhhhNhNubh)��}�(h�:class:`with_class`�h]�hj)��}�(hj=Jh]�h�
with_class�����}�(hhhj?Jubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj;Jubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jIJ�refexplicit��h�j�Hh�Nh��
with_class�h�h�h��uh)h~hjxHhKhjJubh�.�����}�(hj�hjJhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjxHhKhj�HhhubhQ)��}�(h�tTo verify that the attribute exists, but without specifying a value,
pass ``with_attribute.ANY_VALUE`` as the value.�h]�(h�JTo verify that the attribute exists, but without specifying a value,
pass �����}�(h�JTo verify that the attribute exists, but without specifying a value,
pass �hjcJhhhNhNubhj)��}�(h�``with_attribute.ANY_VALUE``�h]�h�with_attribute.ANY_VALUE�����}�(hhhjlJubah}�(h]�h!]�h#]�h%]�h']�uh)hihjcJubh� as the value.�����}�(h� as the value.�hjcJhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjxHhKhj�HhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�JhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjxHhKhj�Hhhubja)��}�(hX�html = '''
    <div>
    Some text
    <div type="grid">1 4 0 1 0</div>
    <div type="graph">1,3 2,3 1,1</div>
    <div>this has no type</div>
    </div>

'''
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]�hX�html = '''
    <div>
    Some text
    <div type="grid">1 4 0 1 0</div>
    <div type="graph">1,3 2,3 1,1</div>
    <div>this has no type</div>
    </div>

'''
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)�����}�(hhhj�Jubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM4hj�HhhhjxHubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�JhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjxHhK1hj�Hhhubja)��}�(h� 1 4 0 1 0

1 4 0 1 0
1,3 2,3 1,1�h]�h� 1 4 0 1 0

1 4 0 1 0
1,3 2,3 1,1�����}�(hhhj�Jubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMMhj�HhhhjxHubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjyHhhhj�HhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�Jj`�uh)jhhhj�hjxHhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%indentedBlock() (in module pyparsing)��pyparsing.indentedBlock�hNt�auh)h,hj�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.indentedBlock�hNubj)��}�(hhh]�(j!)��}�(h�MindentedBlock(blockStatementExpr, indentStack, indent=True, backup_stacks=[])�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�JhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Jhhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.indentedBlock�hNubjH)��}�(h�
indentedBlock�h]�h�
indentedBlock�����}�(hhhj�JhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Jhhhj�JhNubj')��}�(h�>blockStatementExpr, indentStack, indent=True, backup_stacks=[]�h]�(j-)��}�(h�blockStatementExpr�h]�h�blockStatementExpr�����}�(hhhjKubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjKubj-)��}�(h�indentStack�h]�h�indentStack�����}�(hhhjKubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjKubj-)��}�(h�indent=True�h]�h�indent=True�����}�(hhhj Kubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjKubj-)��}�(h�backup_stacks=[]�h]�h�backup_stacks=[]�����}�(hhhj.Kubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjKubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Jhhhj�JhNubeh}�(h]�h!]�h#]�h%]�h']�j\�j]�	pyparsing�j_hj`j�Juh)j hj�Jhhhj�JhNubjb)��}�(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.�����}�(hjNKhjLKhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�JhKhjIKhhubhQ)��}�(h�Parameters:�h]�h�Parameters:�����}�(hj\KhjZKhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�JhKhjIKhhubj�)��}�(hhh]�(j�)��}�(h�k``blockStatementExpr`` - expression defining syntax of statement that
is repeated within the indented block�h]�hQ)��}�(h�k``blockStatementExpr`` - expression defining syntax of statement that
is repeated within the indented block�h]�(hj)��}�(h�``blockStatementExpr``�h]�h�blockStatementExpr�����}�(hhhjsKubah}�(h]�h!]�h#]�h%]�h']�uh)hihjoKubh�U - expression defining syntax of statement that
is repeated within the indented block�����}�(h�U - expression defining syntax of statement that
is repeated within the indented block�hjoKubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�JhKhjkKubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjhKhhhj�JhNubj�)��}�(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�����}�(hhhj�Kubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Kubh�@ - list created by caller to manage indentation stack
(multiple �����}�(h�@ - list created by caller to manage indentation stack
(multiple �hj�Kubhj)��}�(h�``statementWithIndentedBlock``�h]�h�statementWithIndentedBlock�����}�(hhhj�Kubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Kubh�; expressions within a single
grammar should share a common �����}�(h�; expressions within a single
grammar should share a common �hj�Kubhj)��}�(h�``indentStack``�h]�h�indentStack�����}�(hhhj�Kubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Kubh�)�����}�(hj~Thj�Kubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�JhK	hj�Kubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjhKhhhj�JhNubj�)��}�(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]�h�indent�����}�(hhhj�Kubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Kubh�V - boolean indicating whether block must be indented beyond
the current level; set to �����}�(h�V - boolean indicating whether block must be indented beyond
the current level; set to �hj�Kubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj�Kubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Kubh�- for block of left-most statements
(default= �����}�(h�- for block of left-most statements
(default= �hj�Kubhj)��}�(h�``True``�h]�h�True�����}�(hhhjLubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Kubh�)�����}�(hj~Thj�Kubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�JhKhj�Kubah}�(h]�h!]�h#]�h%]�h']�uh)j�hjhKhhhj�JhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�JhKhjIKhhubhQ)��}�(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 �hj0LhhhNhNubhj)��}�(h�``blockStatement``�h]�h�blockStatement�����}�(hhhj9Lubah}�(h]�h!]�h#]�h%]�h']�uh)hihj0Lubh�.�����}�(hj�hj0LhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�JhKhjIKhhubhQ)��}�(h�f(Note that indentedBlock uses internal parse actions which make it
incompatible with packrat parsing.)�h]�h�f(Note that indentedBlock uses internal parse actions which make it
incompatible with packrat parsing.)�����}�(hjSLhjQLhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�JhKhjIKhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj_LhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�JhKhjIKhhubja)��}�(hX�data = '''
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]�hX�data = '''
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()�����}�(hhhjnLubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMlhjIKhhhj�JubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj|LhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�JhK@hjIKhhubja)��}�(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']]]]]]]�����}�(hhhj�Lubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hjIKhhhj�Jubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Jhhhj�JhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�Lj`�uh)jhhhj�hj�JhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�'originalTextFor() (in module pyparsing)��pyparsing.originalTextFor�hNt�auh)h,hj�hhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.originalTextFor�hNubj)��}�(hhh]�(j!)��}�(h��originalTextFor(expr: pyparsing.core.ParserElement, as_string: bool = True, *, asString: bool = True) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�LhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Lhhh�b/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.originalTextFor�hNubjH)��}�(h�originalTextFor�h]�h�originalTextFor�����}�(hhhj�LhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Lhhhj�LhNubj')��}�(h�Texpr: pyparsing.core.ParserElement, as_string: bool = True, *, asString: bool = True�h]�(j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj�Lubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Lubj-)��}�(h�as_string: bool = True�h]�h�as_string: bool = True�����}�(hhhj�Lubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Lubj-)��}�(hj@h]�h�*�����}�(hhhj�Lubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Lubj-)��}�(h�asString: bool = True�h]�h�asString: bool = True�����}�(hhhjMubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Lubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Lhhhj�LhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhjMhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Lhhhj�LhNubeh}�(h]�j�Lah!]�h#]�j�Lah%]�h']�j\�j]�	pyparsing�j_hj`j�Luh)j hj�Lhhhj�LhNubjb)��}�(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.�����}�(hj5Mhj3MhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�LhKhj0MhhubhQ)��}�(hX�If 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]�(h�If the optional �����}�(h�If the optional �hjAMhhhNhNubhj)��}�(h�
``as_string``�h]�h�	as_string�����}�(hhhjJMubah}�(h]�h!]�h#]�h%]�h']�uh)hihjAMubh� argument is passed as
�����}�(h� argument is passed as
�hjAMhhhNhNubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj]Mubah}�(h]�h!]�h#]�h%]�h']�uh)hihjAMubh�, then the return value is
a �����}�(h�, then the return value is
a �hjAMhhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hjrMh]�h�ParseResults�����}�(hhhjtMubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjpMubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j~M�refexplicit��h�j/Mh�Nh��ParseResults�h�h�h��uh)h~hj�LhKhjAMubh�� 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
�hjAMhhhNhNubh)��}�(h�:class:`original_text_for`�h]�hj)��}�(hj�Mh]�h�original_text_for�����}�(hhhj�Mubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Mubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�M�refexplicit��h�j/Mh�Nh��original_text_for�h�h�h��uh)h~hj�LhKhjAMubh�? contains expressions with defined
results names, you must set �����}�(h�? contains expressions with defined
results names, you must set �hjAMhhhNhNubhj)��}�(h�
``as_string``�h]�h�	as_string�����}�(hhhj�Mubah}�(h]�h!]�h#]�h%]�h']�uh)hihjAMubh� to �����}�(h� to �hjAMhhhNhNubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj�Mubah}�(h]�h!]�h#]�h%]�h']�uh)hihjAMubh�3 if you
want to preserve those results name values.�����}�(h�3 if you
want to preserve those results name values.�hjAMhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�LhKhj0MhhubhQ)��}�(h�jThe ``asString`` pre-PEP8 argument is retained for compatibility,
but will be removed in a future release.�h]�(h�The �����}�(h�The �hj�MhhhNhNubhj)��}�(h�``asString``�h]�h�asString�����}�(hhhj�Mubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Mubh�Z pre-PEP8 argument is retained for compatibility,
but will be removed in a future release.�����}�(h�Z pre-PEP8 argument is retained for compatibility,
but will be removed in a future release.�hj�MhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�LhKhj0MhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hjNhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�LhKhj0Mhhubja)��}�(h��src = "this is test <b> bold <i>text</i> </b> 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]�h��src = "this is test <b> bold <i>text</i> </b> 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])�����}�(hhhjNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj0Mhhhj�LubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj!NhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�LhKhj0Mhhubja)��}�(h�-['<b> bold <i>text</i> </b>']
['<i>text</i>']�h]�h�-['<b> bold <i>text</i> </b>']
['<i>text</i>']�����}�(hhhj0Nubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj0Mhhhj�Lubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�Lhhhj�LhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jKNj`�uh)jhhhj�hj�LhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�%infixNotation() (in module pyparsing)��pyparsing.infixNotation�hNt�auh)h,hj�hhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.infixNotation�hNubj)��}�(hhh]�(j!)��}�(hX�infixNotation(base_expr: pyparsing.core.ParserElement, op_list: List[Union[typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, typing.Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any], NoneType]], typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.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.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjbNhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj^Nhhh�`/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.infixNotation�hNubjH)��}�(h�
infixNotation�h]�h�
infixNotation�����}�(hhhjqNhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj^NhhhjpNhNubj')��}�(hXbbase_expr: pyparsing.core.ParserElement, op_list: List[Union[typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, typing.Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any], NoneType]], typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.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-)��}�(hXbbase_expr: pyparsing.core.ParserElement, op_list: List[Union[typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, typing.Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any], NoneType]], typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')')�h]�hXbbase_expr: pyparsing.core.ParserElement, op_list: List[Union[typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc, typing.Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any], NoneType]], typing.Tuple[typing.Union[pyparsing.core.ParserElement, str, typing.Tuple[typing.Union[pyparsing.core.ParserElement, str], typing.Union[pyparsing.core.ParserElement, str]]], int, pyparsing.helpers.OpAssoc]]], lpar: Union[str, pyparsing.core.ParserElement] = Suppress:('('), rpar: Union[str, pyparsing.core.ParserElement] = Suppress:(')')�����}�(hhhj�NhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjNhhhjpNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj^NhhhjpNhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�NhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj^NhhhjpNhNubeh}�(h]�jXNah!]�h#]�jXNah%]�h']�j\�j]�	pyparsing�j_hj`jsNuh)j hj[NhhhjpNhNubjb)��}�(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).�����}�(hj�Nhj�NhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhKhj�NhhubhQ)��}�(h��Note: 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]�(h�hNote: if you define a deep operator list, you may see performance
issues when using infix_notation. See
�����}�(h�hNote: if you define a deep operator list, you may see performance
issues when using infix_notation. See
�hj�NhhhNhNubh)��}�(h�%:class:`ParserElement.enable_packrat`�h]�hj)��}�(hj�Nh]�h�ParserElement.enable_packrat�����}�(hhhj�Nubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Nubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�N�refexplicit��h�j�Nh�Nh��ParserElement.enable_packrat�h�h�h��uh)h~hjZNhKhj�Nubh�@ for a mechanism to potentially
improve your parser performance.�����}�(h�@ for a mechanism to potentially
improve your parser performance.�hj�NhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhKhj�NhhubhQ)��}�(h�OParameters:
- ``base_expr`` - expression representing the most basic operand to�h]�(h�Parameters:
- �����}�(h�Parameters:
- �hj�NhhhNhNubhj)��}�(h�
``base_expr``�h]�h�	base_expr�����}�(hhhj�Nubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Nubh�4 - expression representing the most basic operand to�����}�(h�4 - expression representing the most basic operand to�hj�NhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhK
hj�Nhhubj�)��}�(hhh]�hQ)��}�(h�be used in the expression�h]�h�be used in the expression�����}�(hjOhjOubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhKhjOubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�NhhhjZNhNubj�)��}�(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]�h�op_list�����}�(hhhj3Oubah}�(h]�h!]�h#]�h%]�h']�uh)hihj/Oubh�o - list of tuples, one for each operator precedence level
in the expression grammar; each tuple is of the form �����}�(h�o - list of tuples, one for each operator precedence level
in the expression grammar; each tuple is of the form �hj/Oubhj)��}�(h�E``(op_expr,
num_operands, right_left_assoc, (optional)parse_action)``�h]�h�A(op_expr,
num_operands, right_left_assoc, (optional)parse_action)�����}�(hhhjFOubah}�(h]�h!]�h#]�h%]�h']�uh)hihj/Oubh�, where:�����}�(h�, where:�hj/Oubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhKhj+Oubj�)��}�(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 terms�h]�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 terms�h]�(hj)��}�(h�``op_expr``�h]�h�op_expr�����}�(hhhjjOubah}�(h]�h!]�h#]�h%]�h']�uh)hihjfOubh�n is the pyparsing expression for the operator; may also
be a string, which will be converted to a Literal; if �����}�(h�n is the pyparsing expression for the operator; may also
be a string, which will be converted to a Literal; if �hjfOubhj)��}�(h�``num_operands``�h]�h�num_operands�����}�(hhhj}Oubah}�(h]�h!]�h#]�h%]�h']�uh)hihjfOubh�
is 3, �����}�(h�
is 3, �hjfOubhj)��}�(h�``op_expr``�h]�h�op_expr�����}�(hhhj�Oubah}�(h]�h!]�h#]�h%]�h']�uh)hihjfOubh�L is a tuple of two expressions, for the two
operators separating the 3 terms�����}�(h�L is a tuple of two expressions, for the two
operators separating the 3 terms�hjfOubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhKhjbOubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj_Oubj�)��}�(h�N``num_operands`` is the number of terms for this operator (must be 1,
2, or 3)�h]�hQ)��}�(h�N``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�Oubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Oubh�> 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�Oubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhKhj�Oubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj_Oubj�)��}�(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]�h�right_left_assoc�����}�(hhhj�Oubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Oubh�k is the indicator whether the operator is right
or left associative, using the pyparsing-defined constants
�����}�(h�k is the indicator whether the operator is right
or left associative, using the pyparsing-defined constants
�hj�Oubhj)��}�(h�``OpAssoc.RIGHT``�h]�h�
OpAssoc.RIGHT�����}�(hhhj�Oubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Oubh� and �����}�(h� and �hj�Oubhj)��}�(h�``OpAssoc.LEFT``�h]�h�OpAssoc.LEFT�����}�(hhhjPubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Oubh�.�����}�(hj�hj�Oubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhKhj�Oubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj_Oubj�)��}�(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*Pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj&Pubh�� 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
�hj&Pubhj)��}�(h�``set_parse_action(*fn)``�h]�h�set_parse_action(*fn)�����}�(hhhj=Pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj&Pubh�
(�����}�(h�
(�hj&Pubh)��}�(h�':class:`ParserElement.set_parse_action`�h]�hj)��}�(hjRPh]�h�ParserElement.set_parse_action�����}�(hhhjTPubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjPPubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j^P�refexplicit��h�j�Nh�Nh��ParserElement.set_parse_action�h�h�h��uh)h~hjZNhKhj&Pubh�)�����}�(hj~Thj&Pubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhKhj"Pubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj_Oubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjZNhKhj+Oubeh}�(h]�h!]�h#]�h%]�h']�uh)j�hj(OhhhNhNubj�)��}�(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]�h�lpar�����}�(hhhj�Pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Pubh�� - 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 �hj�Pubhj)��}�(h�``Literal('(')``�h]�h�Literal('(')�����}�(hhhj�Pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Pubh�P), then it will be kept in
the parsed results, and grouped with them. (default= �����}�(h�P), then it will be kept in
the parsed results, and grouped with them. (default= �hj�Pubhj)��}�(h�``Suppress('(')``�h]�h�
Suppress('(')�����}�(hhhj�Pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Pubh�)�����}�(hj~Thj�Pubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhK#hj�Pubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj(OhhhjZNhNubj�)��}�(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]�h�rpar�����}�(hhhj�Pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Pubh�� - 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 �hj�Pubhj)��}�(h�``Literal(')')``�h]�h�Literal(')')�����}�(hhhj�Pubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Pubh�P), then it will be kept in
the parsed results, and grouped with them. (default= �����}�(h�P), then it will be kept in
the parsed results, and grouped with them. (default= �hj�Pubhj)��}�(h�``Suppress(')')``�h]�h�
Suppress(')')�����}�(hhhjQubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Pubh�)�����}�(hj~Thj�Pubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhK'hj�Pubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj(OhhhjZNhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hjZNhKhj�NhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj(QhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhK,hj�Nhhubja)��}�(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)�����}�(hhhj7Qubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM�hj�NhhhjZNubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hjEQhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjZNhK@hj�Nhhubja)��}�(h�c5+3*6
[[5, '+', [3, '*', 6]]]

(5+3)*6
[[[5, '+', 3], '*', 6]]

-2--11
[[['-', 2], '-', ['-', 11]]]�h]�h�c5+3*6
[[5, '+', [3, '*', 6]]]

(5+3)*6
[[[5, '+', 3], '*', 6]]

-2--11
[[['-', 2], '-', ['-', 11]]]�����}�(hhhjTQubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMhj�NhhhjZNubeh}�(h]�h!]�h#]�h%]�h']�uh)jahj[NhhhjpNhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_joQj`�uh)jhhhj�hjZNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�#locatedExpr() (in module pyparsing)��pyparsing.locatedExpr�hNt�auh)h,hj�hhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.locatedExpr�hNubj)��}�(hhh]�(j!)��}�(h�OlocatedExpr(expr: pyparsing.core.ParserElement) -> pyparsing.core.ParserElement�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�QhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Qhhh�^/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.locatedExpr�hNubjH)��}�(h�locatedExpr�h]�h�locatedExpr�����}�(hhhj�QhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Qhhhj�QhNubj')��}�(h�"expr: pyparsing.core.ParserElement�h]�j-)��}�(h�"expr: pyparsing.core.ParserElement�h]�h�"expr: pyparsing.core.ParserElement�����}�(hhhj�Qubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj�Qubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Qhhhj�QhNubj�)��}�(h�pyparsing.core.ParserElement�h]�h�pyparsing.core.ParserElement�����}�(hhhj�QhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Qhhhj�QhNubeh}�(h]�h!]�h#]�h%]�h']�j\�j]�	pyparsing�j_hj`j�Quh)j hjQhhhj�QhNubjb)��}�(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.�����}�(hj�Qhj�QhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj~QhKhj�QhhubhQ)��}�(h�-This helper adds the following results names:�h]�h�-This helper adds the following results names:�����}�(hj�Qhj�QhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj~QhKhj�Qhhubj�)��}�(hhh]�(j�)��}�(h�9``locn_start`` - location where matched expression begins�h]�hQ)��}�(hj�Qh]�(hj)��}�(h�``locn_start``�h]�h�
locn_start�����}�(hhhj�Qubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Qubh�+ - location where matched expression begins�����}�(h�+ - location where matched expression begins�hj�Qubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj~QhKhj�Qubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Qhhhj~QhNubj�)��}�(h�5``locn_end`` - location where matched expression ends�h]�hQ)��}�(hjRh]�(hj)��}�(h�``locn_end``�h]�h�locn_end�����}�(hhhjRubah}�(h]�h!]�h#]�h%]�h']�uh)hihjRubh�) - location where matched expression ends�����}�(h�) - location where matched expression ends�hjRubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj~QhKhjRubah}�(h]�h!]�h#]�h%���]�h']�uh)j�hj�Qhhhj~QhNubj�)��}�(h�&``value`` - the actual parsed results
�h]�hQ)��}�(h�%``value`` - the actual parsed results�h]�(hj)��}�(h�	``value``�h]�h�value�����}�(hhhjFRubah}�(h]�h!]�h#]�h%]�h']�uh)hihjBRubh� - the actual parsed results�����}�(h� - the actual parsed results�hjBRubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj~QhK	hj>Rubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Qhhhj~QhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj~QhKhj�QhhubhQ)��}�(h�uBe careful if the input text contains ``<TAB>`` 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 �hjkRhhhNhNubhj)��}�(h�	``<TAB>``�h]�h�<TAB>�����}�(hhhjtRubah}�(h]�h!]�h#]�h%]�h']�uh)hihjkRubh�" characters, you
may want to call �����}�(h�" characters, you
may want to call �hjkRhhhNhNubh)��}�(h�$:class:`ParserElement.parseWithTabs`�h]�hj)��}�(hj�Rh]�h�ParserElement.parseWithTabs�����}�(hhhj�Rubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Rubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�R�refexplicit��h�j�Qh�Nh��ParserElement.parseWithTabs�h�h�h��uh)h~hj~QhKhjkRubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj~QhKhj�QhhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�RhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj~QhKhj�Qhhubja)��}�(h�lwd = Word(alphas)
for match in locatedExpr(wd).searchString("ljsdf123lksdjjf123lkkjj1222"):
    print(match)�h]�h�lwd = Word(alphas)
for match in locatedExpr(wd).searchString("ljsdf123lksdjjf123lkkjj1222"):
    print(match)�����}�(hhhj�Rubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM.hj�Qhhhj~QubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�RhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj~QhKhj�Qhhubja)��}�(h�:[[0, 'ljsdf', 5]]
[[8, 'lksdjjf', 15]]
[[18, 'lkkjj', 23]]�h]�h�:[[0, 'ljsdf', 5]]
[[8, 'lksdjjf', 15]]
[[18, 'lkkjj', 23]]�����}�(hhhj�Rubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM4hj�Qhhhj~Qubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjQhhhj�QhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�Rj`�uh)jhhhj�hj~QhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�!withClass() (in module pyparsing)��pyparsing.withClass�hNt�auh)h,hj�hhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.withClass�hNubj)��}�(hhh]�(j!)��}�(h�"withClass(classname, namespace='')�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj	ShhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjShhh�\/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.withClass�hNubjH)��}�(h�	withClass�h]�h�	withClass�����}�(hhhjShhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjShhhjShNubj')��}�(h�classname, namespace=''�h]�(j-)��}�(h�	classname�h]�h�	classname�����}�(hhhj*Subah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj&Subj-)��}�(h�namespace=''�h]�h�namespace=''�����}�(hhhj8Subah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj&Subeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjShhhjShNubeh}�(h]�j�Rah!]�h#]�j�Rah%]�h']�j\�j]�	pyparsing�j_hj`jSuh)j hjShhhjShNubjb)��}�(hhh]�(hQ)��}�(h��Simplified version of :class:`with_attribute` when
matching on a div class - made difficult because ``class`` is
a reserved word in Python.�h]�(h�Simplified version of �����}�(h�Simplified version of �hjVShhhNhNubh)��}�(h�:class:`with_attribute`�h]�hj)��}�(hjaSh]�h�with_attribute�����}�(hhhjcSubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj_Subah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jmS�refexplicit��h�jRSh�Nh��with_attribute�h�h�h��uh)h~hjShKhjVSubh�7 when
matching on a div class - made difficult because �����}�(h�7 when
matching on a div class - made difficult because �hjVShhhNhNubhj)��}�(h�	``class``�h]�h�class�����}�(hhhj�Subah}�(h]�h!]�h#]�h%]�h']�uh)hihjVSubh� is
a reserved word in Python.�����}�(h� is
a reserved word in Python.�hjVShhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhjShKhjSShhubhQ)��}�(h�	Example::�h]�h�Example:�����}�(h�Example:�hj�ShhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjShKhjSShhubja)��}�(hX[html = '''
    <div>
    Some text
    <div class="grid">1 4 0 1 0</div>
    <div class="graph">1,3 2,3 1,1</div>
    <div>this &lt;div&gt; has no class</div>
    </div>

'''
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 = '''
    <div>
    Some text
    <div class="grid">1 4 0 1 0</div>
    <div class="graph">1,3 2,3 1,1</div>
    <div>this &lt;div&gt; has no class</div>
    </div>

'''
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)�����}�(hhhj�Subah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMBhjSShhhjSubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�ShhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjShKhjSShhubja)��}�(h� 1 4 0 1 0

1 4 0 1 0
1,3 2,3 1,1�h]�h� 1 4 0 1 0

1 4 0 1 0
1,3 2,3 1,1�����}�(hhhj�Subah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMYhjSShhhjSubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjShhhjShNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�Sj`�uh)jhhhj�hjShNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9� tokenMap() (in module pyparsing)��pyparsing.tokenMap�hNt�auh)h,hj�hhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.tokenMap�hNubj)��}�(hhh]�(j!)��}�(hXtokenMap(func, *args) -> Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�ShhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Shhh�[/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.tokenMap�hNubjH)��}�(h�tokenMap�h]�h�tokenMap�����}�(hhhjThhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�ShhhjThNubj')��}�(h�func, *args�h]�(j-)��}�(h�func�h]�h�func�����}�(hhhjTubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjTubj-)��}�(h�*args�h]�h�*args�����}�(hhhj(Tubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hjTubeh}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�ShhhjThNubj�)��}�(h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�����}�(hhhj<ThhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�ShhhjThNubeh}�(h]�j�Sah!]�h#]�j�Sah%]�h']�j\�j]�	pyparsing�j_hj`j
Tuh)j hj�ShhhjThNubjb)��}�(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]�(h�KHelper to define a parse action by mapping a function to all
elements of a �����}�(h�KHelper to define a parse action by mapping a function to all
elements of a �hjTThhhNhNubh)��}�(h�:class:`ParseResults`�h]�hj)��}�(hj_Th]�h�ParseResults�����}�(hhhjaTubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj]Tubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jkT�refexplicit��h�jPTh�Nh��ParseResults�h�h�h��uh)h~hj�ShKhjTTubh�� 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
�hjTThhhNhNubhj)��}�(h�D``hex_integer = Word(hexnums).set_parse_action(token_map(int, 16))``�h]�h�@hex_integer = Word(hexnums).set_parse_action(token_map(int, 16))�����}�(hhhj�Tubah}�(h]�h!]�h#]�h%]�h']�uh)hihjTTubh�A,
which will convert the parsed data to an integer using base 16.�����}�(h�A,
which will convert the parsed data to an integer using base 16.�hjTThhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ShKhjQThhubhQ)��}�(h�QExample (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�ThhhNhNubh)��}�(h�':class:`ParserElement.transform_string`�h]�hj)��}�(hj�Th]�h�ParserElement.transform_string�����}�(hhhj�Tubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Tubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�T�refexplicit��h�jPTh�Nh��ParserElement.transform_string�h�h�h��uh)h~hj�ShKhj�Tubh�:�����}�(hjchj�ThhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ShKhjQThhubja)��}�(hX�hex_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]�hX�hex_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�Tubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hMkhjQThhhj�SubhQ)��}�(h�prints::�h]�h�prints:�����}�(h�prints:�hj�ThhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�ShKhjQThhubja)��}�(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�Tubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j`hM|hjQThhhj�Subeh}�(h]�h!]�h#]�h%]�h']�uh)jahj�ShhhjThNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jUj`�uh)jhhhj�hj�ShNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�.conditionAsParseAction() (in module pyparsing)�� pyparsing.conditionAsParseAction�hNt�auh)h,hj�hhhNhNubj)��}�(hhh]�(j!)��}�(hXconditionAsParseAction(fn: Union[typing.Callable[[], bool], typing.Callable[[pyparsing.results.ParseResults], bool], typing.Callable[[int, pyparsing.results.ParseResults], bool], typing.Callable[[str, int, pyparsing.results.ParseResults], bool]], message: str = None, fatal: bool = False) -> Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhjUhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hjUhhh�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.conditionAsParseAction�hNubjH)��}�(h�conditionAsParseAction�h]�h�conditionAsParseAction�����}�(hhhj'UhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhjUhhhj&UhNubj')��}�(hXfn: Union[typing.Callable[[], bool], typing.Callable[[pyparsing.results.ParseResults], bool], typing.Callable[[int, pyparsing.results.ParseResults], bool], typing.Callable[[str, int, pyparsing.results.ParseResults], bool]], message: str = None, fatal: bool = False�h]�j-)��}�(hXfn: Union[typing.Callable[[], bool], typing.Callable[[pyparsing.results.ParseResults], bool], typing.Callable[[int, pyparsing.results.ParseResults], bool], typing.Callable[[str, int, pyparsing.results.ParseResults], bool]], message: str = None, fatal: bool = False�h]�hXfn: Union[typing.Callable[[], bool], typing.Callable[[pyparsing.results.ParseResults], bool], typing.Callable[[int, pyparsing.results.ParseResults], bool], typing.Callable[[str, int, pyparsing.results.ParseResults], bool]], message: str = None, fatal: bool = False�����}�(hhhj9UhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j,hj5Uhhhj&UhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hjUhhhj&UhNubj�)��}�(h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�h]�h��Union[typing.Callable[[], typing.Any], typing.Callable[[pyparsing.results.ParseResults], typing.Any], typing.Callable[[int, pyparsing.results.ParseResults], typing.Any], typing.Callable[[str, int, pyparsing.results.ParseResults], typing.Any]]�����}�(hhhjMUhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hjUhhhj&UhNubeh}�(h]�jUah!]�h#]�jUah%]�h']�j\�j]�	pyparsing�j_hj`j)Uuh)j hjUhhhj&UhNubjb)��}�(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 �hjeUhhhNhNubhj)��}�(h�``True``�h]�h�True�����}�(hhhjnUubah}�(h]�h!]�h#]�h%]�h']�uh)hihjeUubh� or �����}�(h� or �hjeUhhhNhNubhj)��}�(h�	``False``�h]�h�False�����}�(hhhj�Uubah}�(h]�h!]�h#]�h%]�h']�uh)hihjeUubh�P
into a parse action. Can be used in places when a parse action is required
and �����}�(h�P
into a parse action. Can be used in places when a parse action is required
and �hjeUhhhNhNubh)��}�(h�$:class:`ParserElement.add_condition`�h]�hj)��}�(hj�Uh]�h�ParserElement.add_condition�����}�(hhhj�Uubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Uubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�U�refexplicit��h�jaUh�Nh��ParserElement.add_condition�h�h�h��uh)h~h�i/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.conditionAsParseAction�hKhjeUubh�I cannot be used (such as when adding a condition
to an operator level in �����}�(h�I cannot be used (such as when adding a condition
to an operator level in �hjeUhhhNhNubh)��}�(h�:class:`infix_notation`�h]�hj)��}�(hj�Uh]�h�infix_notation�����}�(hhhj�Uubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj�Uubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�j�U�refexplicit��h�jaUh�Nh��infix_notation�h�h�h��uh)h~hj�UhKhjeUubh�).�����}�(h�).�hjeUhhhNhNubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhjbUhhubhQ)��}�(h�Optional keyword arguments:�h]�h�Optional keyword arguments:�����}�(hj�Uhj�UhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhjbUhhubj�)��}�(hhh]�(j�)��}�(h�H``message`` - define a custom message to be used in the raised exception�h]�hQ)��}�(hj�Uh]�(hj)��}�(h�``message``�h]�h�message�����}�(hhhj�Uubah}�(h]�h!]�h#]�h%]�h']�uh)hihj�Uubh�= - define a custom message to be used in the raised exception�����}�(h�= - define a custom message to be used in the raised exception�hj�Uubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhKhj�Uubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Uhhhj�UhNubj�)��}�(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]�h�fatal�����}�(hhhj Vubah}�(h]�h!]�h#]�h%]�h']�uh)hihjVubh� - if True, will raise �����}�(h� - if True, will raise �hjVubh)��}�(h�:class:`ParseFatalException`�h]�hj)��}�(hj5Vh]�h�ParseFatalException�����}�(hhhj7Vubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihj3Vubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jAV�refexplicit��h�jaUh�Nh��ParseFatalException�h�h�h��uh)h~hj�UhK	hjVubh�3 to stop parsing immediately;
otherwise will raise �����}�(h�3 to stop parsing immediately;
otherwise will raise �hjVubh)��}�(h�:class:`ParseException`�h]�hj)��}�(hjXVh]�h�ParseException�����}�(hhhjZVubah}�(h]�h!]�(h��py��py-class�eh#]�h%]�h']�uh)hihjVVubah}�(h]�h!]�h#]�h%]�h']��reftype��class��	refdomain�jdV�refexplicit��h�jaUh�Nh��ParseException�h�h�h��uh)h~hj�UhK	hjVubeh}�(h]�h!]�h#]�h%]�h']�uh)hPhj�UhK	hjVubah}�(h]�h!]�h#]�h%]�h']�uh)j�hj�Uhhhj�UhNubeh}�(h]�h!]�h#]�h%]�h']�j�j�uh)j�hj�UhKhjbUhhubeh}�(h]�h!]�h#]�h%]�h']�uh)jahjUhhhj&UhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_j�Vj`�uh)jhhhj�hNhNubh-)��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']��entries�]�(h9�)autoname_elements() (in module pyparsing)��pyparsing.autoname_elements�hNt�auh)h,hj�hhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.autoname_elements�hNubj)��}�(hhh]�(j!)��}�(h�autoname_elements() -> None�h]�(j8)��}�(h�
pyparsing.�h]�h�
pyparsing.�����}�(hhhj�VhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j7hj�Vhhh�d/builddir/build/BUILD/pyparsing-3.0.9/pyparsing/__init__.py:docstring of pyparsing.autoname_elements�hNubjH)��}�(h�autoname_elements�h]�h�autoname_elements�����}�(hhhj�VhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)jGhj�Vhhhj�VhNubj')��}�(hhh]�h}�(h]�h!]�h#]�h%]�h']�jpjquh)j&hj�Vhhhj�VhNubj�)��}�(h�None�h]�h�None�����}�(hhhj�VhhhNhNubah}�(h]�h!]�h#]�h%]�h']�jpjquh)j�hj�Vhhhj�VhNubeh}�(h]�j�Vah!]�h#]�j�Vah%]�h']�j\�j]�	pyparsing�j_hj`j�Vuh)j hj�Vhhhj�VhNubjb)��}�(hhh]�hQ)��}�(h�kUtility to simplify mass-naming of parser elements, for
generating railroad diagram with named subdiagrams.�h]�h�kUtility to simplify mass-naming of parser elements, for
generating railroad diagram with named subdiagrams.�����}�(hj�Vhj�VhhhNhNubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�VhKhj�Vhhubah}�(h]�h!]�h#]�h%]�h']�uh)jahj�Vhhhj�VhNubeh}�(h]�h!]�h#]�h%]�h']�j[�py�j]�function�j_jWj`�uh)jhhhj�hj�VhNubeh}�(h]��getting-started�ah!]�h#]��getting started -�ah%]�h']�uh)h	hh>hhhhOhK0ubeh}�(h]��Kpyparsing-module-classes-and-methods-to-define-and-execute-parsing-grammars�ah!]�h#]��Mpyparsing module - classes and methods to define and execute parsing grammars�ah%]�h']�uh)h	hhhhhhOhKubeh}�(h]�(�module-pyparsing��pyparsing-module�eh!]�h#]��pyparsing module�ah%]�h']�uh)h	hhhhhh*hKubah}�(h]�h!]�h#]�h%]�h']��source�h*uh)h�current_source�N�current_line�N�settings��docutils.frontend��Values���)��}�(hN�	generator�N�	datestamp�N�source_link�N�
source_url�N�
toc_backlinks��entry��footnote_backlinks�K�
sectnum_xform�K�strip_comments�N�strip_elements_with_classes�N�
strip_classes�N�report_level�K�
halt_level�K�exit_status_level�K�debug�N�warning_stream�N�	traceback���input_encoding��	utf-8-sig��input_encoding_error_handler��strict��output_encoding��utf-8��output_encoding_error_handler�j@W�error_encoding��UTF-8��error_encoding_error_handler��backslashreplace��
language_code��en��record_dependencies�N�config�N�	id_prefix�h�auto_id_prefix��id��
dump_settings�N�dump_internals�N�dump_transforms�N�dump_pseudo_xml�N�expose_internals�N�strict_visitor�N�_disable_config�N�_source�h*�_destination�N�
_config_files�]��pep_references�N�pep_base_url�� https://www.python.org/dev/peps/��pep_file_url_template��pep-%04d��rfc_references�N�rfc_base_url��https://tools.ietf.org/html/��	tab_width�K�trim_footnote_reference_space���file_insertion_enabled���raw_enabled�K�syntax_highlight��long��smart_quotes���smartquotes_locales�]��character_level_inline_markup���doctitle_xform���
docinfo_xform�K�sectsubtitle_xform���embed_stylesheet���cloak_email_addresses���env�N�gettext_compact��ub�reporter�N�indirect_targets�]��substitution_defs�}��substitution_names�}��refnames�}��refids�}��nameids�}�(jWjWjWjWj	WjWjjjmjmj�j�j�j�jo	jo	jI
jI
j�
j�
jjjjj�j�jB
jB
jjjjj�j�jjj�j�j�j�j�j�j j j[j[j�j�j�j�jmjmj�j�jWjWj~j~j�j�j�j�jjjjjjjjjjj�j�j� j� j�!j�!j4"j4"j�"j�"jE#jE#jy$jy$j�$j�$j�%j�%j\&j\&j�(j�(j�)j�)j]*j]*j+j+j�+j�+j�+j�+j�,j�,j-j-jy.jy.j/j/j�0j�0j�2j�2j3j3j�3j�3ji4ji4j�4j�4jS5jS5j�6j�6j7j7jl8jl8j9j9j�9j�9j�9j�9j;:j;:j�:j�:j2;j2;jA<jA<j�<j�<j)=j)=j:>j:>j�>j�>j�?j�?j@j@js@js@j�@j�@j"Aj"AjnAjnAj�Aj�Aj�Bj�Bj�Cj�CjDjDjcDjcDj�Dj�Dj�Ej�EjNFjNFj�Fj�FjAGjAGj4Hj4Hj'Ij'IjJjJj�Jj�JjgKjgKj�Lj�Lj$Mj$Mj�Mj�Mj�Nj�NjOjOj�Oj�Oj�Pj�PjkQjkQj.Rj.Rj�Rj�Rj�Sj�SjQUjQUjWjWj�Wj�Wj�Wj�Wj@Xj@Xj�Xj�XjwYjwYj�Yj�Yj=Zj=Zj�Zj�Zj[j[j�[j�[j\j\j�\j�\j]j]js]js]j�]j�]j_j_j�_j�_jw`jw`jaajaaj�aj�ajbjbj�bj�bj�cj�cj�dj�djIejFejmejjej�ej�ej	gj	gj�gj�gjGhjGhj�hj�hj
ij
ijbijbij�ij�ij�ij�ijTjjTjj�kj�kj�lj�ljnjnjinjinjBqjBqj�qj�qj�qj�qj�rj�rj�tj�tj�uj�uj6vj6vj�vj�vj=wj=wj�wj�wj�xj�xj)yj)yj�yj�yj5zj5zj�zj�zj|j|j�|j�|j7~j7~jjj�j�j�j�j��j��j�j�jx�jx�j�j�jo�jo�j��j��j�j�j�j�j��j��j�j�j��j��j܌j܌j��j��jq�jq�jR�jR�j�j�ja�ja�j?�j?�jܗjܗj�j�jL�jL�j��j��j�j�j��j��j�j�j��j��j��j��j��j��jE�jE�jc�jc�j�j�j]�j]�j�j�j��j��j=�j=�j�j�j&�j&�j±j±j�j�ja�ja�jڵjڵj��j��j�j�j+�j+�j��j��jA�jA�je�je�j��j��j	�j	�j��j��j�j�j��j��j#�j#�j�j�jg�jg�j��j��j$�j$�j�j�j��j��j��j��j��j��j��j��j��j��j=�j=�j��j��j'�j'�j��j��j�j�j�j�j��j��j$�j$�j��j��jb�jb�j
�j
�jp�jp�j3�j3�j��j��j��j��jz�jz�j[�j[�j��j��j�j�j��j��j�j�j��j��j<�j<�j�j�jE�jE�j�j�j��j��j��j��j��j��j/�j/�j��j��j$�j$�j��j��j��j��j��j��j/�j/�jN�jN�j��j��j��j��j��j��jn�jn�j �j �j��j��j�j�j�j�j3�j3�j
�j
�j��j��j1j1jUjUj�j�j�j�jjj�j�j�	j�	j7j7j�j�j�j�j�j�jujujAjAj
j
j}j}j�j�jwjwj�j�j+j+j�j�j�j�j9j9j�j�jjjmjmj�j�jVjVj�j�j
j
jdjdj�j�jjj�j�j�j�j0j0j�j�j1j1j�j�j#j#j�j�jxjxjjj�j�j j j� j� j !j !j�!j�!j""j""j�"j�"j2#j2#j�#j�#j$$j$$j�$j�$j%j%jp%jp%j�%j�%j�&j�&j'j'j�'j�'j�'j�'jd(jd(j�(j�(j8)j8)j�)j�)j*j*j�*j�*j�+j�+j�+j�+j�-j�-j.j.j�.j�.j�.j�.j�/j�/j^0j^0j51j51j�2j�2jG3jG3j�3j�3j44j44j�4j�4j-7j-7j[8j[8jS9jS9j�:j�:j`;j`;j<j<j|<j|<j�=j�=j�>j�>jBjBjuBjuBjIEjIEj�Ej�EjfFjfFj�Fj�Fj�Gj�GjvHjvHj�Lj�LjXNjXNj�Rj�Rj�Sj�SjUjUj�Vj�Vu�	nametypes�}�(jWNjWNj	WNj�jm�j��j��jo	�jI
�j�
�jj�j��jB
�j�j�j��j�j��j��j��j �j[�j��j��jm�j��jW�j~�j��j��jj�j�j�j�j��j� �j�!�j4"�j�"�jE#�jy$�j�$�j�%�j\&�j�(�j�)�j]*�j+�j�+�j�+�j�,�j-�jy.�j/�j�0�j�2�j3�j�3�ji4�j�4�jS5�j�6�j7�jl8�j9�j�9�j�9�j;:�j�:�j2;�jA<�j�<�j)=�j:>�j�>�j�?�j@�js@�j�@�j"A�jnA�j�A�j�B�j�C�jD�jcD�j�D�j�E�jNF�j�F�jAG�j4H�j'I�jJ�j�J�jgK�j�L�j$M�j�M�j�N�jO�j�O�j�P�jkQ�j.R�j�R�j�S�jQU�jW�j�W�j�W�j@X�j�X�jwY�j�Y�j=Z�j�Z�j[�j�[�j\�j�\�j]�js]�j�]�j_�j�_�jw`�jaa�j�a�jb�j�b�j�c�j�d�jIe�jme�j�e�j	g�j�g�jGh�j�h�j
i�jbi�j�i�j�i�jTj�j�k�j�l�jn�jin�jBq�j�q�j�q�j�r�j�t�j�u�j6v�j�v�j=w�j�w�j�x�j)y�j�y�j5z�j�z�j|�j�|�j7~�j�j��j��j���j��jx��j��jo��j���j��j��j���j��j���j܌�j���jq��jR��j��ja��j?��jܗ�j��jL��j���j��j���j��j���j���j���jE��jc��j��j]��j��j���j=��j��j&��j±�j��ja��jڵ�j���j��j+��j���jA��je��j���j	��j���j��j���j#��j��jg��j���j$��j��j���j���j���j���j���j=��j���j'��j���j��j��j���j$��j���jb��j
��jp��j3��j���j���jz��j[��j���j��j���j��j���j<��j��jE��j��j���j���j���j/��j���j$��j���j���j���j/��jN��j���j���j���jn��j ��j���j��j��j3��j
��j���j1�jU�j��j��j�j��j�	�j7�j��j��j��ju�jA�j
�j}�j��jw�j��j+�j��j��j9�j��j�jm�j��jV�j��j
�jd�j��j�j��j��j0�j��j1�j��j#�j��jx�j�j��j �j� �j !�j�!�j""�j�"�j2#�j�#�j$$�j�$�j%�jp%�j�%�j�&�j'�j�'�j�'�jd(�j�(�j8)�j�)�j*�j�*�j�+�j�+�j�-�j.�j�.�j�.�j�/�j^0�j51�j�2�jG3�j�3�j44�j�4�j-7�j[8�jS9�j�:�j`;�j<�j|<�j�=�j�>�jB�juB�jIE�j�E�jfF�j�F�j�G�jvH�j�L�jXN�j�R�j�S�jU�j�V�uh}�(jWhjWj?e)��}�(hhh]�h}�(h]�jWah!]�h#]�h%]�h']��ismod��uh)j>ehhhhhh=hKubjWh>jWj�jj"jmjsj�j�j�j	jo	jt	jI
jO
j�
j�
jjjpj�j�jB
jH
jjjjj�j�jjj�j�j�j�j�j�j j%j[jaj�j�j�jjmjrj�j�jWj\j~j�j�j�j�j�jjjpjjjjjjj�j�j� j� j�!j�!j4"j9"j�"j�"jE#jJ#jy$j$j�$j�$j�%j�%j\&ja&j�(j�(j�)j�)j]*jc*j+j+j�+j�+j�+j�+j�,j�,j-j"-jy.j.j/j/j�0j�0j�2j�2j3j3j�3j�3ji4jn4j�4j�4jS5jX5j�6j�6j7j7jl8jq8j9j9j�9j�9j�9j�9j;:jA:j�:j�:j2;j7;jA<jG<j�<j�<j)=j.=j:>j@>j�>j�>j�?j�?j@j$@js@jy@j�@j�@j"Aj(AjnAjtAj�Aj�Aj�Bj�Bj�Cj�CjDjDjcDjiDj�Dj�Dj�Ej�EjNFjTFj�Fj�FjAGjFGj4Hj9Hj'Ij,IjJjJj�Jj�JjgKjmKj�Lj�Lj$Mj*Mj�Mj�Mj�Nj�NjOjOj�Oj�Oj�Pj�PjkQjpQj.Rj4Rj�Rj�Rj�Sj�SjQUjVUjWj
Wj�Wj�Wj�Wj�Wj@XjFXj�Xj�XjwYj}Yj�Yj�Yj=ZjCZj�Zj�Zj[j$[j�[j�[j\j$\j�\j�\j]j$]js]jy]j�]j^j_j
_j�_j�_jw`j}`jaajgaj�aj�ajbj�bj�bj�bj�cj�cj�dj�djFej@ejjejdej�ej�ej	gjgj�gj�gjGhjMhj�hj�hj
ijijbijhij�ij�ij�ijjjTjjZjjkh�system_message���)��}�(hhh]�hQ)��}�(h�LInline interpreted text or phrase reference start-string without end-string.�h]�h�LInline interpreted text or phrase reference start-string without end-string.�����}�(hhhj�Wubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Wubah}�(h]�jkah!]�h#]�h%]�h']�jka�level�K�type��WARNING��line�K�source�jVjuh)j�Whj�jhhhjVjhKubjkjkj�kjlj�lj�lj�mj�W)��}�(hhh]�hQ)��}�(h�/Inline literal start-string without end-string.�h]�h�/Inline literal start-string without end-string.�����}�(hhhj�Wubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Wubah}�(h]�j�mah!]�h#]�h%]�h']�j�ma�level�K�type�j�W�line�K�source�j�luh)j�Whj�lhhhj�lhKubj�mj�mjnjnjinjonjBqjHqj�qj�qj�qjrj�rj�rj�tj�tj�uj�uj6vj<vj�vj�vj=wjCwj�wj�wj�xj�xj)yj/yj�yj�yj5zj;zj�zj�zj|j$|j�|j�|j7~j=~jjj�j�j�j	�j��j��j�j�jx�j~�j�j�jo�ju�j��j�j�j��j�j�j��j��j�j!�j��j�j܌j�j��j�jq�jw�j��j�W)��}�(hhh]�hQ)��}�(h�LInline interpreted text or phrase reference start-string without end-string.�h]�h�LInline interpreted text or phrase reference start-string without end-string.�����}�(hhhj�Wubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Wubah}�(h]�j��ah!]�h#]�h%]�h']�j��a�level�K�type�j�W�line�K�source�js�uh)j�Whj�hhhjs�hKubj��j��jR�jX�j�j��ja�jg�j��j�W)��}�(hhh]�hQ)��}�(h�LInline interpreted text or phrase reference start-string without end-string.�h]�h�LInline interpreted text or phrase reference start-string without end-string.�����}�(hhhj�Wubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Wubah}�(h]�j��ah!]�h#]�h%]�h']�j��a�level�K�type�j�W�line�K�source�jc�uh)j�Whjѓhhhjc�hKubj��j��j?�jE�jܗj�j�j�jL�jR�j��j��j�j�j��j�j�j�j��jƣj��j��j��j��jE�jK�jc�ji�j�j�j]�jc�j�j%�j��j��j=�jC�j�j�j&�j,�j±jȱj�j�ja�jg�jڵj�j��j��j�j�j+�j1�j��j��jA�jG�je�jk�j��j��j	�j�j��j��j�j�j��j��j#�j(�j�j	�jg�jm�j��j��j$�j)�j�j�j��j��j��j��j��j�j��j��j��j��j��j��j=�jB�j��j��j'�j,�j��j��j�j�j�j"�j��j�W)��}�(hhh]�hQ)��}�(h�LInline interpreted text or phrase reference start-string without end-string.�h]�h�LInline interpreted text or phrase reference start-string without end-string.�����}�(hhhj�Wubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Wubah}�(h]�j��ah!]�h#]�h%]�h']�j��a�level�K�type�j�W�line�K�source�j�uh)j�Whjc�hhhj�hKubj��j��j��j��j$�j*�j��j��jb�jg�j
�j�jp�ju�j3�j9�j��j��j��j��jz�j�j[�ja�j��j��j�j�j��j��j�j
�j��j��j<�jB�j�j�jE�jK�j�j�j��j��j��j��j��j��j/�j5�j��j��j$�j*�j��j��j��j��j��j�j/�j5�jN�jT�j��j��j��j��j��j��jn�jt�j �j&�j��j��j�j�j�j�j3�j9�j
�j�j��j��j1j7jUj[j�j�j�j�jjj�j�j�	j�	j7j=j�j�j�j�j�j�juj{jAjGj
jj}j�j�j�jwj}j�j�j+j1j�j�j�j�j9j?j�j�jjjmjsj�jjVj\j�j�j
jjdjjj�j�jjj�j�j�j�j0j6j�j�j1j7j�j�j#j)j�j�jxj~jjj�j�j j j� j� j !j&!j�!j�!j""j("j�"j�"j2#j8#j�#j�#j$$j)$j�$j�$j%j%jp%jv%j�%j�%j�&j�&j'j'j�'j�'j�'j�'jd(ji(j�(j�(j8)j=)j�)j�)j*j*j�*j�*j�+j�+j�+j,j�-j�-j.j.j�.j�.j�.j�.j�/j�/j^0jd0j51j:1j�2j3jG3jL3j�3j�3j44j:4j�4j�4j-7j37j[8ja8jS9jY9j�:j�:j`;jf;j<j<j|<j�<j�=j�=j�>j�>jBj
BjuBj{BjIEjNEj�Ej�EjfFjlFj�Fj�Fj�Gj�GjvHj|Hj�Lj�LjXNj^Nj�RjSj�Sj�SjUjUj�Vj�Vu�
footnote_refs�}��
citation_refs�}��
autofootnotes�]��autofootnote_refs�]��symbol_footnotes�]��symbol_footnote_refs�]��	footnotes�]��	citations�]��autofootnote_start�K�symbol_footnote_start�K�id_start�K�parse_messages�]�(j�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj/Xubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj,Xubah}�(h]�h!]�h#]�h%]�h']��level�K�type��ERROR��source�j
7�line�Kuh)j�Whj�7hhhj
7hKubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhjKXubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjHXubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�j�U�line�Kuh)j�Whj�Uubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhjfXubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjcXubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K�source�j�Uuh)j�Whj�Uubj�Wj�Wj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj�Xubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj~Xubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�j�r�line�Kuh)j�Whj�rhhhj�rhKubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhj�Xubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Xubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K�source�j�ruh)j�Whj�rhhhj�rhNubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj�Xubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Xubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�j��line�Kuh)j�WhjU�hhhj�hKubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhj�Xubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Xubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K�source�j�uh)j�WhjU�hhhj�hNubj�W)��}�(hhh]�hQ)��}�(h�;Bullet list ends without a blank line; unexpected unindent.�h]�h�;Bullet list ends without a blank line; unexpected unindent.�����}�(hhhj�Xubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Xubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K�source�j�uh)j�WhjU�hhhj�hK
ubj�Wj�Wj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhjYubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjYubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�jޗ�line�K	uh)j�Whj#�hhhjޗhKubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhj#Yubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj Yubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K
�source�jޗuh)j�Whj#�hhhjޗhNubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj>Yubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj;Yubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�j��line�K	uh)j�Whj[�hhhj�hKubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhjYYubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjVYubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K
�source�j�uh)j�Whj[�hhhj�hNubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhjtYubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjqYubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�je��line�Kuh)j�Whj��hhhje�hKubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj�Yubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Yubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�j��line�Kuh)j�Whj'�hhhj�hKubj�W)��}�(hhh]�hQ)��}�(h�,Duplicate explicit target name: "re module".�h]�h�0Duplicate explicit target name: “re module”.�����}�(hhhj�Yubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Yubah}�(h]�h!]�h#]�h%]�h']�j��a�level�K�type��INFO��source�j�V�line�Kuh)j�Whjs�hhhj��hKubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj�Yubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Yubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�jp��line�Kuh)j�Whj1�hhhjp�hKubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhj�Yubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Yubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K	�source�jp�uh)j�Whj1�hhhjp�hNubj�Wj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj�Yubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Yubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�j���line�Kuh)j�Whj��hhhj��hKubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhjZubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjZubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K�source�j��uh)j�Whj��hhhj��hNubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj2Zubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj/Zubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�j���line�Kuh)j�Whjd�hhhj��hKubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhjMZubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjJZubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�jP��line�Kuh)j�Whj�hhhjP�hKubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhjhZubah}�(h]�h!]�h#]�h%]�h']�uh)hPhjeZubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K�source�jP�uh)j�Whj�hhhjP�hNubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj�Zubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Zubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�j3�line�Kuh)j�Whj�hhhj3hKubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhj�Zubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Zubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K�source�j3uh)j�Whj�hhhj3hNubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj�Zubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Zubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�j�>�line�Kuh)j�Whj�?hhhj�>hKubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhj�Zubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Zubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K�source�j�>uh)j�Whj�?hhhj�>hNubj�W)��}�(hhh]�hQ)��}�(h�Unexpected indentation.�h]�h�Unexpected indentation.�����}�(hhhj�Zubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj�Zubah}�(h]�h!]�h#]�h%]�h']��level�K�type�jEX�source�jZN�line�Kuh)j�Whj�NhhhjZNhKubj�W)��}�(hhh]�hQ)��}�(h�;Block quote ends without a blank line; unexpected unindent.�h]�h�;Block quote ends without a blank line; unexpected unindent.�����}�(hhhj
[ubah}�(h]�h!]�h#]�h%]�h']�uh)hPhj[ubah}�(h]�h!]�h#]�h%]�h']��level�K�type�j�W�line�K�source�jZNuh)j�Whj�NhhhjZNhNube�transform_messages�]��transformer�N�
decoration�Nhhub.