관리-도구
편집 파일: tokens.cpython-38.pyc
U .?�f � @ sT G d d� de �ZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d d� de�ZG dd � d e�ZG dd� de�ZG dd� de�Z G dd� de�Z G dd� de�ZG dd� de�ZG dd� de�Z G dd� de�ZG dd� de�ZG dd� de�ZG d d!� d!e�ZG d"d#� d#e�ZG d$d%� d%e�ZG d&d'� d'e�ZG d(d)� d)e�Zd*S )+c @ s e Zd Zdd� Zdd� ZdS )�Tokenc C s || _ || _d S �N)� start_mark�end_mark)�selfr r � r �;/opt/hc_python/lib64/python3.8/site-packages/yaml/tokens.py�__init__ s zToken.__init__c s@ dd� � j D �}|�� d�� fdd�|D ��}d� jj|f S )Nc S s g | ]}|� d �s|�qS )Z_mark)�endswith��.0�keyr r r � <listcomp> s �z"Token.__repr__.<locals>.<listcomp>z, c s g | ]}d |t � |�f �qS )z%s=%r)�getattrr �r r r r s �z%s(%s))�__dict__�sort�join� __class__�__name__)r � attributes� argumentsr r r �__repr__ s �zToken.__repr__N)r � __module__�__qualname__r r r r r r r s r c @ s e Zd ZdZdd� ZdS )�DirectiveTokenz<directive>c C s || _ || _|| _|| _d S r )�name�valuer r )r r r r r r r r r s zDirectiveToken.__init__N�r r r �idr r r r r r s r c @ s e Zd ZdZdS )�DocumentStartTokenz<document start>N�r r r r r r r r r s r c @ s e Zd ZdZdS )�DocumentEndTokenz<document end>Nr r r r r r! s r! c @ s e Zd ZdZddd�ZdS )�StreamStartTokenz<stream start>Nc C s || _ || _|| _d S r )r r �encoding)r r r r# r r r r ! s zStreamStartToken.__init__)NNNr r r r r r"