ok

Mini Shell

Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/tap/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/tap/__pycache__/directive.cpython-311.pyc

�

�܋f��*�ddlZGd�de��ZdS)�Nc���eZdZdZejdejejz��Zejdejejz��Z	d�Z
ed���Zed���Z
ed���Zed���Zd	S)
�	Directivez,A representation of a result line directive.zt^SKIP\S*
            (?P<whitespace>\s*) # Optional whitespace.
            (?P<reason>.*)      # Slurp up the rest.z�^TODO\b             # The directive name
            (?P<whitespace>\s*) # Immediately following must be whitespace.
            (?P<reason>.*)      # Slurp up the rest.c��||_d|_d|_d|_|j�|��}|r!d|_|�d��|_|j�|��}|rY|�d��rd|_n |�d��dkrd|_|�d��|_dSdS)z�Initialize the directive by parsing the text.

        The text is assumed to be everything after a '#\s*' on a result line.
        FNT�reason�
whitespace�)�_text�_skip�_todo�_reason�skip_pattern�match�group�todo_pattern)�self�textrs   �^/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/tap/directive.py�__init__zDirective.__init__s���
��
���
���
�����!�'�'��-�-���	1��D�J� �;�;�x�0�0�D�L��!�'�'��-�-���	1��{�{�<�(�(�
&�!��
�
��;�;�x�(�(�B�.�.�!%�D�J� �;�;�x�0�0�D�L�L�L�	1�	1�c��|jS)zGet the entire text.)r	�rs rrzDirective.text-����z�rc��|jS)z&Check if the directive is a SKIP type.)r
rs r�skipzDirective.skip2rrc��|jS)z&Check if the directive is a TODO type.)rrs r�todozDirective.todo7rrc��|jS)z!Get the reason for the directive.)rrs rrzDirective.reason<s���|�rN)�__name__�
__module__�__qualname__�__doc__�re�compile�
IGNORECASE�VERBOSEr
rr�propertyrrrr�rrrrs�������6�6��2�:�	8�	�
��
�"�	��L��2�:�	8�	�
��
�"�	��L�1�1�1�2����X������X������X������X���rr)r"�objectrr'rr�<module>r)sB��	�	�	�	�;�;�;�;�;��;�;�;�;�;r

Zerion Mini Shell 1.0