SILENT KILLERPanel

Current Path: > > opt > alt > python311 > lib64 > python3.11 > lib2to3 > pgen2 > __pycache__


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python311/lib64/python3.11/lib2to3/pgen2/__pycache__

NameTypeSizeLast ModifiedActions
__init__.cpython-311.opt-1.pyc File 204 bytes June 23 2025 15:48:01.
__init__.cpython-311.opt-2.pyc File 168 bytes June 23 2025 15:48:05.
__init__.cpython-311.pyc File 204 bytes June 23 2025 15:48:01.
conv.cpython-311.opt-1.pyc File 11077 bytes June 23 2025 15:48:03.
conv.cpython-311.opt-2.pyc File 8617 bytes June 23 2025 15:48:05.
conv.cpython-311.pyc File 13261 bytes June 23 2025 15:48:01.
driver.cpython-311.opt-1.pyc File 8738 bytes June 23 2025 15:48:03.
driver.cpython-311.opt-2.pyc File 7788 bytes June 23 2025 15:48:05.
driver.cpython-311.pyc File 8822 bytes June 23 2025 15:48:01.
grammar.cpython-311.opt-1.pyc File 7571 bytes June 23 2025 15:48:01.
grammar.cpython-311.opt-2.pyc File 4445 bytes June 23 2025 15:48:05.
grammar.cpython-311.pyc File 7571 bytes June 23 2025 15:48:01.
literals.cpython-311.opt-1.pyc File 2476 bytes June 23 2025 15:48:03.
literals.cpython-311.opt-2.pyc File 2400 bytes June 23 2025 15:48:05.
literals.cpython-311.pyc File 3090 bytes June 23 2025 15:48:01.
parse.cpython-311.opt-1.pyc File 9019 bytes June 23 2025 15:48:03.
parse.cpython-311.opt-2.pyc File 5832 bytes June 23 2025 15:48:05.
parse.cpython-311.pyc File 9046 bytes June 23 2025 15:48:01.
pgen.cpython-311.opt-1.pyc File 19051 bytes June 23 2025 15:48:03.
pgen.cpython-311.opt-2.pyc File 19051 bytes June 23 2025 15:48:03.
pgen.cpython-311.pyc File 20269 bytes June 23 2025 15:48:01.
token.cpython-311.opt-1.pyc File 2379 bytes June 23 2025 15:48:01.
token.cpython-311.opt-2.pyc File 2330 bytes June 23 2025 15:48:05.
token.cpython-311.pyc File 2379 bytes June 23 2025 15:48:01.
tokenize.cpython-311.opt-1.pyc File 24043 bytes June 23 2025 15:48:03.
tokenize.cpython-311.opt-2.pyc File 20177 bytes June 23 2025 15:48:05.
tokenize.cpython-311.pyc File 24163 bytes June 23 2025 15:48:01.

Reading File: //opt/alt/python311/lib64/python3.11/lib2to3/pgen2/__pycache__/parse.cpython-311.pyc

�

!A?h���N�dZddlmZGd�de��ZGd�de��ZdS)z�Parser engine for the grammar tables generated by pgen.

The grammar table must be loaded first.

See Parser/parser.c in the Python distribution for additional info on
how this parsing engine works.

�)�tokenc��eZdZdZd�Zd�ZdS)�
ParseErrorz(Exception to signal the parser is stuck.c
��t�||�d|�d|�d|����||_||_||_||_dS)Nz: type=z, value=z
, context=)�	Exception�__init__�msg�type�value�context)�selfr	r
rrs     �:/opt/alt/python311/lib64/python3.11/lib2to3/pgen2/parse.pyrzParseError.__init__sX�����4��C�C����u�u�u�g�g�"7�	8�	8�	8������	���
������c�T�t|��|j|j|j|jffS�N)r
r	rr)r
s r�
__reduce__zParseError.__reduce__s$���D�z�z�D�H�d�i���T�\�J�J�JrN)�__name__�
__module__�__qualname__�__doc__rr�rrrrs=������2�2����K�K�K�K�Krrc�@�eZdZdZd
d�Zd
d�Zd�Zd�Zd�Zd�Z	d	�Z
dS)�Parsera5Parser engine.

    The proper usage sequence is:

    p = Parser(grammar, [converter])  # create instance
    p.setup([start])                  # prepare for parsing
    <for each input token>:
        if p.addtoken(...):           # parse a token; may raise ParseError
            break
    root = p.rootnode                 # root of abstract syntax tree

    A Parser instance may be reused by calling setup() repeatedly.

    A Parser instance contains state pertaining to the current token
    sequence, and should not be used concurrently by different threads
    to parse separate token sequences.

    See driver.py for how to get input tokens by tokenizing a file or
    string.

    Parsing is complete when addtoken() returns True; the root of the
    abstract syntax tree can then be retrieved from the rootnode
    instance variable.  When a syntax error occurs, addtoken() raises
    the ParseError exception.  There is no error recovery; the parser
    cannot be used after a syntax error was reported (but it can be
    reinitialized by calling setup()).

    Nc�(�||_|pd�|_dS)a�Constructor.

        The grammar argument is a grammar.Grammar instance; see the
        grammar module for more information.

        The parser is not ready yet for parsing; you must call the
        setup() method to get it started.

        The optional convert argument is a function mapping concrete
        syntax tree nodes to abstract syntax tree nodes.  If not
        given, no conversion is done and the syntax tree produced is
        the concrete syntax tree.  If given, it must be a function of
        two arguments, the first being the grammar (a grammar.Grammar
        instance), and the second being the concrete syntax tree node
        to be converted.  The syntax tree is converted from the bottom
        up.

        A concrete syntax tree node is a (type, value, context, nodes)
        tuple, where type is the node type (a token or symbol number),
        value is None for symbols and a string for tokens, context is
        None or an opaque value used for error reporting (typically a
        (lineno, offset) pair), and nodes is a list of children for
        symbols, and None for tokens.

        An abstract syntax tree node may be anything; this is entirely
        up to the converter function.

        c��|Srr)�grammar�nodes  r�<lambda>z!Parser.__init__.<locals>.<lambda>Zs���rN)r�convert)r
rrs   rrzParser.__init__<s��:����>�#=�#=����rc��|�|jj}|ddgf}|jj|d|f}|g|_d|_t��|_dS)a�Prepare for parsing.

        This *must* be called before starting to parse.

        The optional argument is an alternative start symbol; it
        defaults to the grammar's start symbol.

        You can use a Parser instance to parse any number of programs;
        each time you call setup() the parser is reset to an initial
        state determined by the (implicit or explicit) start symbol.

        N�)r�start�dfas�stack�rootnode�set�
used_names)r
r"�newnode�
stackentrys    r�setupzParser.setup\sX���=��L�&�E��$��b�)���l�'��.��7�;�
� �\��
���
��%�%����rc���|�|||��}	|jd\}}}|\}}	||}
|
D]�\}}|jj|\}
}||krw|
dksJ�|�||||��|}||d|fgkrC|���|jsdS|jd\}}}|\}}	||d|fgk�CdS|
dkrE|jj|
}|\}}||vr*|�|
|jj|
||��nG��d|f|
vr.|���|jstd|||���ntd|||�����K)z<Add a token; return True iff this is the end of the program.T����r!Fztoo much inputz	bad input)	�classifyr$r�labels�shift�popr#�pushr)r
r
rr�ilabel�dfa�stater�states�first�arcs�i�newstate�t�v�itsdfa�	itsstates�itsfirsts                  r�addtokenzParser.addtokents������t�U�G�4�4��)	H�#�z�"�~��C����M�F�E��%�=�D�#�$
H�$
H���8��|�*�1�-���1��Q�;�;��s�7�7�7�7��J�J�t�U�H�g�>�>�>�$�E� ��-�Q��J�<�7�7����
�
�
�#�z�(�#'�4�4�+/�:�b�>�(��U�D�(+�
���
!��-�Q��J�<�7�7�!�5�5��#�X�X�!�\�.�q�1�F�*0�'�I�x���)�)��	�	�!�T�\�%6�q�%9�8�W�M�M�M�����u�:��%�%��H�H�J�J�J��:�?�(�)9�)-�u�g�?�?�?�?�%�[�$��w�G�G�G�S)	Hrc��|tjkr=|j�|��|jj�|��}|�|S|jj�|��}|�td|||���|S)z&Turn a token into a label.  (Internal)Nz	bad token)	r�NAMEr'�addr�keywords�get�tokensr)r
r
rrr3s     rr.zParser.classify�s~���5�:����O����&�&�&��\�*�.�.�u�5�5�F��!��
���$�(�(��.�.���>��[�$��w�?�?�?��
rc��|jd\}}}|||df}|�|j|��}|�|d�|��|||f|jd<dS)zShift a token.  (Internal)r,N)r$rr�append)	r
r
rr:rr4r5rr(s	         rr0zParser.shift�si���:�b�>���U�D�����.���,�,�t�|�W�5�5������H�O�O�G�$�$�$��x��.��
�2���rc��|jd\}}}|d|gf}|||f|jd<|j�|d|f��dS)zPush a nonterminal.  (Internal)r,Nr!)r$rH)	r
r
�newdfar:rr4r5rr(s	         rr2zParser.push�sW���:�b�>���U�D���w��+���x��.��
�2���
���6�1�g�.�/�/�/�/�/rc��|j���\}}}|�|j|��}|�O|jr.|jd\}}}|d�|��dS||_|j|j_dSdS)zPop a nonterminal.  (Internal)Nr,)r$r1rrrHr%r')r
�popdfa�popstate�popnoder(r4r5rs        rr1z
Parser.pop�s���$(�J�N�N�$4�$4�!���'��,�,�t�|�W�5�5�����z�
;�#'�:�b�>� ��U�D��R�����(�(�(�(�(� '��
�+/�?��
�(�(�(�
�rr)rrrrrr*r@r.r0r2r1rrrrrs���������:?�?�?�?�@ � � � �0.H�.H�.H�`���/�/�/�0�0�0�
;�
;�
;�
;�
;rrN)r�rrr�objectrrrr�<module>rQs�����������K�K�K�K�K��K�K�K�n;�n;�n;�n;�n;�V�n;�n;�n;�n;�n;r

SILENT KILLER Tool