관리-도구
편집 파일: source.cpython-311.pyc
� �܋f� � � � d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ d dlm Z G d� d� � Z G d � d � � Z G d� de� � Z d S )� )�annotations)�copy)�Any)� ParseError)�UnexpectedCharError��TOMLCharc �* � e Zd Z d dd �Zdd �Zd� ZdS )�_StateF�source�Source�save_marker�bool | None�restore�return�Nonec �0 � || _ || _ || _ d S �N)�_source�_save_markerr )�selfr r r s �_/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/tomlkit/source.py�__init__z_State.__init__ s � � ���'�������� c � � t | j j � � | _ | j j | _ | j j | _ | j j | _ | S r )r r �_chars�_idx�_current�_marker�r s r � __enter__z_State.__enter__ s? � ��4�<�.�/�/����L�%�� ���-�� ��|�+����r c � � | j s|rO| j | j _ | j | j _ | j | j _ | j r| j | j _ d S d S d S r )r r r r r r r )r �exception_type� exception_val�traces r �__exit__z_State.__exit__ sh � ��<� 4�>� 4�"&�+�D�L�� $� �D�L��$(�M�D�L�!�� � 4�'+�|���$�$�$� 4� 4� 4� 4r N)FF)r r r r r r r r )r r )�__name__� __module__�__qualname__r r! r&