관리-도구
편집 파일: Document.cpython-311.pyc
� �܋f5� � �p � G d � d� � Z G d� d� � Z G d� de � � Z G d� d� � ZdS ) c �� � e Zd Zd� Zed� � � Zd� Zd� Zd� Zd� Z dLd �Z dMd�Zd� Zd � Z d� ZdNd�Zd� Zd� Zd� ZdOd�Zd� Zd� ZdPd�Zd� Zd� ZdQd�Zd� Zd� Zd� Zd � Zd!� Zd"� Zd#� Z d$� Z!d%� Z"d&� Z#dMd'�Z$d(� Z%dRd)�Z&d*� Z'd+� Z(d,� Z)d-� Z*d.� Z+d/� Z,d0� Z-d1� Z.d2� Z/d3� Z0d4� Z1d5� Z2d6� Z3d7� Z4d8� Z5d9� Z6d:� Z7d;� Z8d<� Z9d=� Z:d>� Z;d?� Z<d@� Z=dA� Z>dB� Z?dC� Z@dD� ZAdE� ZBdF� ZCdG� ZDdH� ZEdI� ZFdJ� ZGdK� ZHdS )S�Documentc �d � || _ || _ |j | _ |j | _ |j | _ g | _ g | _ g | _ g | _ d | _ d | _ d | _ d | _ d| _ g | _ |� | � � | � dd| j d� � | _ d S )N� �string� )�mod�env�kindbrackets�eitherbrackets�anykind�out� localstack�outstack�output_directives�document_title�specified_definitions� macro_args�subdoc�in_in�macro_stack�accept�node_of_taci�result)�selfr �noder s �e/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/guppy/gsl/Document.py�__init__zDocument.__init__ s� � ��������,���!�0����{����������� �!#���"���%)��"��������� �������D�����'�'��"�d�h��B�B����� c �R � | � d| � � � � � S �N�text)r �get_doc_name�r s r � doc_name_nodezDocument.doc_name_node s$ � �� � ���):�):�)<�)<�=�=�=r c �t � | j j }|j D ]#} |� | � � �# |$ r Y � w xY wd S �N)r � ReportedError�childrenr )r r �E�chs r �_visit_childrenzDocument._visit_children s] � ��H�"���-� � �B� �� � �$������� � � ��� ���� � s �-�5�5c �v � |D ]5}| j � | � d|j � � � � �6d S �N�symbol)r �appendr �tgtfullname)r �subjects�ss r �_visit_subjectszDocument._visit_subjects% sH � �� H� H�A��H�O�O�D�-�-�h�� �F�F�G�G�G�G� H� Hr c � � | � t | � |� � d|z � � � � � � d S )Nzget_%s)r3 �getattr�get_arg_subject)r r �whats r �_visit_getszDocument._visit_gets) sP � ����@�G�D�(�(��.�.��4��@�@�B�B� D� D� D� D� Dr c �f � | j � | � d|dd� � � � d S )Nr! � r �r r/ r �r r! s r �ap_textzDocument.ap_text- s0 � ������)�)�&�$��A�>�>�?�?�?�?�?r N� Fc � � t |� � D ]a}| j � � � \ }}}| � ||| j � � } |s|� | � � || _ |�||u sJ ��b|�||k sJ �| S r&