관리-도구
편집 파일: dom.cpython-33.pyc
� 7�Re� c @ sn d d l m Z m Z m Z d d l m Z d d l Z e j Z d d l m Z Gd d � d e j � Z d S( i ( u absolute_importu divisionu unicode_literals( u NodeNi ( u _basec B sD | Ee Z d Z d d � Z d d � Z d d � Z d d � Z d S( u TreeWalkerc C sX | j t j k r. t j | j | j | j f S| j t j t j f k rY t j | j f S| j t j k r� i } xg t | j j � � D]P } | j | � } | j r� | j | | j | j f <q� | j | d | j f <q� Wt j | j | j | | j � f S| j t j k rt j | j f S| j t j t j f k rDt j f St j | j f Sd S( N( u nodeTypeu Nodeu DOCUMENT_TYPE_NODEu _baseu DOCTYPEu nameu publicIdu systemIdu TEXT_NODEu CDATA_SECTION_NODEu TEXTu nodeValueu ELEMENT_NODEu listu attributesu keysu getAttributeNodeu namespaceURIu valueu localNameu Noneu ELEMENTu nodeNameu hasChildNodesu COMMENT_NODEu COMMENTu DOCUMENT_NODEu DOCUMENT_FRAGMENT_NODEu DOCUMENTu UNKNOWN( u selfu nodeu attrsu attr( ( u= /tmp/pip-zej_zi-build/pip/_vendor/html5lib/treewalkers/dom.pyu getNodeDetails s$ u TreeWalker.getNodeDetailsc C s | j S( N( u firstChild( u selfu node( ( u= /tmp/pip-zej_zi-build/pip/_vendor/html5lib/treewalkers/dom.pyu getFirstChild'