관리-도구
편집 파일: Text.cpython-311.pyc
� �܋f�| � � � G d � d� � Z G d� d� � Z G d� d� � Z G d� d� � Z G d� d � � Z G d � d� � Z G d� d � � Z G d� d� � Z G d� d� � Zdd�Z d� Z dS )c �t � e Zd Zd=d�Zd� Zd� Zd� Zd>d�Zd>d�Zd>d �Z d>d �Z d� Zd� Zd � Z d� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd � Z d!� Z!d"� Z"d#� Z#d$� Z$d%� Z%d&� Z&d'� Z'd(� Z(d)� Z)d*� Z*d+� Z+d,� Z,d-� Z-d.� Z.d/� Z/d0� Z0d1� Z1d2� Z2d3� Z3d4� Z4d5� Z5d6� Z6d7� Z7d8� Z8d9� Z9d:� Z:d;� Z;d<� Z<dS )?� Node2InterNc �� � || _ || _ || _ || _ g | _ i g| _ d| _ d| _ d| _ d| _ |j | _ |�| � |� � d S d S )N� � )�mod�out�cnf�width� span_stack�attrs_stack� atparbegin�inpre�ul_level�prev_margin_bottom� sizescale�_visit_outer_node)�selfr �noder r r s �a/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/guppy/gsl/Text.py�__init__zNode2Inter.__init__0 s} � ������������ �����4�������� ��� �"#����������"�"�4�(�(�(�(�(� �� c �h � | j }| � |j |j �� � |� � � \ }}|D ]F\ }}|� � � }|� � � }t | j d|z |� � �G|� | � � | � � � d S )N)�font_family� font_sizez_gsl_%s) r � span_begin� textfamily� sizeindex�split_attrs�strip�setattrr �accept�span_end)r r r �attrs�k�vs r r zNode2Inter._visit_outer_nodeB s� � ��h�����C�N�c�m��L�L�L��&�&�(�(���e�� 0� 0�D�A�q���� � �A���� � �A��D�H�i�!�m�Q�/�/�/�/����D����� � �����r c �J � |� � � \ }}|r | j d S d S �N)r r )r r r# s r �_visit_nodezNode2Inter._visit_nodeM s8 � ��&�&�(�(���e�� ������ � r c �H � | j � d|| j � � d S �N�end)r �insert�tags)r �xs r �appendzNode2Inter.appendR s"