ok

Mini Shell

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

�

�܋f�
��:�Gd�d��ZGd�d��ZdS)c�D�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
S)�GsmlHandlerc�2�|j�|j��g|_|rng}|D]3\}}|�|j�||�����4|j�|j�dd|����dSdS)N�with�)�stack�append�out�mod�node_of_taci)�self�tag�attrs�at�k�vs      �a/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/guppy/gsl/Gsml.py�handle_starttagzGsmlHandler.handle_starttags����
���$�(�#�#�#�����	C��B��
7�
7���1��	�	�$�(�/�/��1�5�5�6�6�6�6��H�O�O�D�H�1�1�&�"�b�A�A�B�B�B�B�B�		C�	C�c��|j�|d|j��}|j���|_|j�|��dS)Nr)r
rr	r�popr)rr
�nodes   r�
handle_endtagzGsmlHandler.handle_endtag
sJ���x�$�$�S�"�d�h�7�7���:�>�>�#�#������������rc�N�|dd�dkrt|dd�d��}d|z}nt|��}d|cxkrdkr)nn&t|��}|�|��dS|j�|j�d|����dS)N��x��0���char)�int�chr�handle_datar	rr
r)r�namer s   r�handle_charrefzGsmlHandler.handle_charrefs�������8�s�?�?��t�A�B�B�x��$�$�D��t�8�D�D��t�9�9�D���?�?�?�?�s�?�?�?�?�?��t�9�9�D����T�"�"�"�"�"��H�O�O�D�H�1�1�&�$�?�?�@�@�@�@�@rc��||jjvr|�|��|j�|j�d|����dS)Nr )r
�
entitydefs�unknown_entityrefr	rr�rr$s  r�handle_entityrefzGsmlHandler.handle_entityrefsR���t�x�*�*�*��"�"�4�(�(�(�������-�-�f�d�;�;�<�<�<�<�<rc�&�td|z���)NzUnknown entity ref: %r)�SyntaxErrorr)s  rr(zGsmlHandler.unknown_entityref#s���2�T�9�:�:�:rc��|���r4|j�|j�|����dSdS�N)�stripr	�extendr
�
nodes_of_text�r�datas  rr#zGsmlHandler.handle_data&sF���:�:�<�<�	:��H�O�O�D�H�2�2�4�8�8�9�9�9�9�9�	:�	:rc�p�|j�|j�d|dd����dS)N�comment�r�r	rr
rr2s  r�handle_commentzGsmlHandler.handle_comment+s2��������-�-�i��r�1�E�E�F�F�F�F�Frc�l�|j�|j�d|����dS)N�html_declarationr7)r�decls  r�handle_declzGsmlHandler.handle_decl.s/��������-�-�.@�$�G�G�H�H�H�H�Hrc�l�|j�|j�d|����dS)N�processing_instructionr7r2s  r�	handle_pizGsmlHandler.handle_pi1s/��������-�-�.F��M�M�N�N�N�N�NrN)�__name__�
__module__�__qualname__rrr%r*r(r#r8r<r?r6rrrrs�������C�C�C����

A�
A�
A�=�=�=�
;�;�;�:�:�:�
G�G�G�I�I�I�O�O�O�O�Orrc�"�eZdZdZdZd�Zd�ZdS)�_GLUECLAMP_)z_root.html.parser:HTMLParserz_parent.SpecNodes:node_of_taciz_parent.SpecNodes:nodes_of_textz_root.htmlentitydefs:entitydefsz
iso-8859-1c��Gd�dt|j��}||��}|�|��|���|jrtd���|�dd|jd��}|S)Nc��eZdZd�ZdS)�(_GLUECLAMP_.node_of_gsml.<locals>.Parserc�d�|j�|��||_g|_g|_dSr.)�
HTMLParser�__init__r
r	r)rr
s  rrJz1_GLUECLAMP_.node_of_gsml.<locals>.Parser.__init__As1����'�'��-�-�-���������
�
�
rN)r@rArBrJr6rr�ParserrG@s#������
 �
 �
 �
 �
 rrKzMissing end tag�blockrr)rrI�feed�closerr,rr	)r�textrK�prs     r�node_of_gsmlz_GLUECLAMP_.node_of_gsml?s���	 �	 �	 �	 �	 �[�$�/�	 �	 �	 �
�F�4�L�L��	���t����	���	�	�	��7�	1��/�0�0�0�� � ��"�a�e�Q�7�7���rc�R�d}|�|��}t|��dS)Na
<!DOCTYPE html...>
This is an <em> emphasized </em> word.
See also <a href="guppy-pe.sf.net"> Guppy. </a>
Defined as <use_my_macro/>.

Handle char ref: &#100;.
Handle char ref: &lt;.

<!-- A comment -->

<?A processing instruction>

<namespace:tag />
        )rQ�print)rrrs   r�_test_main_z_GLUECLAMP_._test_main_Os-��
�� � � ��#�#��
�d�����rN)r@rArB�	_imports_�encodingrQrTr6rrrDrD5s@�������I��H���� ����rrDN)rrDr6rr�<module>rWsh��1O�1O�1O�1O�1O�1O�1O�1O�h-�-�-�-�-�-�-�-�-�-r

Zerion Mini Shell 1.0