관리-도구
편집 파일: ElementPath.cpython-310.opt-2.pyc
o 6��f6 � @ s� d dl Z e �d�Zd"dd�Zdd� Zdd� Zd d � Zdd� Zd d� Zdd� Z dd� Z dd� Zdd� Zeee ee ed�Z i ZG dd� d�Zd"dd�Zd"dd�Zd"dd�Zd#d d!�ZdS )$� Nz`('[^']*'|\"[^\"]*\"|::|//?|\.\.|\(\)|!=|[/.*:\[\]\(\)@=])|((?:\{[^}]+\})?[^/\[\]\(\)@!=\s]+)|\s+c c s� � |r|� d�nd }d}t�| �D ]U}|\}}|r_|d dkr_d|v rK|�dd�\}}z|s0t�|d|| |f fV W n tyJ td| �d �w |rY|sY|d||f fV n|V d}q|V |d k}qd S ) N� Fr �{�:� z{%s}%sz!prefix %r not found in prefix map�@)�get�xpath_tokenizer_re�findall�split�KeyError�SyntaxError) �pattern� namespacesZdefault_namespaceZparsing_attribute�tokenZttype�tag�prefixZuri� r �</opt/alt/python310/lib64/python3.10/xml/etree/ElementPath.py�xpath_tokenizerJ s, �� �r c C s>