관리-도구
편집 파일: ElementPath.cpython-37.pyc
B � f=( � @ s� d dl Z e �d�Zddd�Zdd� Zdd� Zd d � Zdd� Zd d� Zdd� Z dd� Z eeee ee d�Zi ZG dd� d�Z ddd�Zd dd�Zd!dd�Zd"dd�ZdS )#� Nz\('[^']*'|\"[^\"]*\"|::|//?|\.\.|\(\)|[/.*:\[\]\(\)@=])|((?:\{[^}]+\})?[^/\[\]\(\)@=\s]+)|\s+c c s� x�t �| �D ]�}|d }|r�|d dkr�d|kr�y6|�dd�\}}|sJt�|d d|| |f fV W q� tk r� td| �d �Y q�X q|V qW d S )N� r �{�:z{%s}%sz!prefix %r not found in prefix map)�xpath_tokenizer_re�findall�split�KeyError�SyntaxError)�pattern� namespaces�token�tag�prefixZuri� r �:/opt/alt/python37/lib64/python3.7/xml/etree/ElementPath.py�xpath_tokenizerI s r c C sF | j }|d krBi | _ }x(| j�� D ]}x|D ]}|||<