관리-도구
편집 파일: ygen.cpython-311.pyc
� P�Dg� � �L � d dl Zd dlZd� Zd� Zd� Zedk r e� � dS dS )� Nc � � t | � � }d|z }d|z }|D ].\ }}|� � � � |� � r n�/|D ].\ }}|� � � � |� � r n�/|dz |fS )Nz #--! %s-startz#--! %s-end� )� enumerate�strip� startswith�endswith)�lines�tag�srclines� start_tag�end_tag�start_index�line� end_indexs �r/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/pycparser/ply/ygen.py�get_source_ranger s� � �����H��#�%�I��c�!�G�%� � ���T��:�:�<�<�"�"�9�-�-� ��E� � $� � �� �4��:�:�<�<� � ��)�)� ��E� � �!�O�Y�'�'� c � � g }d}d|z }| D ]D}|� � � � |� � r| }�-|r|� |� � �E|S )NTz#--! %s)r r �append)r r �filtered_lines�include�tag_textr s r �filter_sectionr sn � ��N��G��3��H�� (� (���:�:�<�<�"�"�8�,�,� (�!�k�G�G� � (��!�!�$�'�'�'���r c �r � t j � t � � } t j t j � | d� � t j � | d� � � � t t j � | d� � d� � 5 }|� � � }d d d � � n# 1 swxY w Y t |d� � \ }}t |d� � \ }}t |d� � \ }}|||� } t | d� � } t | d� � }||||�<