관리-도구
편집 파일: extract.cpython-311.pyc
� �܋f3 � �X � d dl mZ d dl mZ d dlZd dlmZ d dlmZ G d� d� � ZdS )� )�BytesIO)�StringION)�lexer)� parsetreec �4 � e Zd ZdZd� Zd� Zed� � � ZdS )�MessageExtractorTc # �� K � t j |� � � | j d �� � � � � }| � |� � � � � E d {V �� d S )N�encoding)�input_encoding)r �Lexer�read�config�parse� extract_nodes�get_children)�self�fileobj� template_nodes �a/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/mako/ext/extract.py�process_filezMessageExtractor.process_file sv � � � ����L�L�N�N�4�;�z�+B� � � � �%�'�'� � �%�%�m�&@�&@�&B�&B�C�C�C�C�C�C�C�C�C�C�C� c # �� K � g }d}| j d pd}t t d t j d| j d � � � � � � }|D �]}d }|r4t |t j � � r|j � � � s�;t |t j � � r�|j � � � }|r/|� | � |j |� � � � ��|D ]G} |� | � � r0d}|� | � |j |� � � � �H��t |t j � � r|j j } |j }�n+t |t j � � r|j j } |j }n�t |t j � � r|j j } |j }n�t |t j � � r |j j } n�t |t j � � r|j } |j }nt |t j � � r|j rd}���|j } nRt |t j � � rd}|j j } n)t |t j � � r |j j } n��D|r|d d |j d z k rg }d � |D � � }t | t<