관리-도구
편집 파일: text_writer.cpython-311.pyc
� �܋f � � � d Z ddlmZ ddlmZ ddlmZ erddlmZm Z m Z mZmZm Z mZ g d�ZddgZ G d � d e� � ZdS )z%Text formatting drivers for ureports.� )�annotations)� TYPE_CHECKING)� BaseWriter)�EvaluationSection� Paragraph�Section�Table�Text�Title�VerbatimText)� �=�-�`�.�~�^�*r c �d � � e Zd ZdZd� fd�Zdd�Zdd �Zdd�Zdd �Zdd�Z dd�Z d d�Zd!d�Z� xZ S )"� TextWriterzWFormat layouts as text (ReStructured inspiration but not totally handled yet). �return�Nonec �V �� t � � � � � d| _ d S )Nr )�super�__init__� list_level)�self� __class__s ��v/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/reporters/ureports/text_writer.pyr zTextWriter.__init__! s$ �� � ������������� �layoutr c � � | xj dz c_ | � � � | � |� � | xj dz c_ | � � � dS )zDisplay a section as text.� N)�section�writeln�format_children�r r! s r � visit_sectionzTextWriter.visit_section% sT � �����������������V�$�$�$���������������r r c � � | xj dz c_ | � |� � | xj dz c_ | � � � dS )z(Display an evaluation section as a text.r# N)r$ r&