관리-도구
편집 파일: events.cpython-37.pyc
B b�`� � @ s� 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�ZdS )c @ s e Zd Zddd�Zdd� ZdS )�EventNc C s || _ || _d S )N)� start_mark�end_mark)�selfr r � r �>/opt/alt/python37/lib64/python3.7/site-packages/yaml/events.py�__init__ s zEvent.__init__c s: � fdd�dD �}d� � fdd�|D ��}d� jj|f S )Nc s g | ]}t � |�r|�qS r )�hasattr)�.0�key)r r r � <listcomp> s z"Event.__repr__.<locals>.<listcomp>)�anchor�tag�implicit�valuez, c s g | ]}d |t � |�f �qS )z%s=%r)�getattr)r r )r r r r s z%s(%s))�join� __class__�__name__)r Z attributes� argumentsr )r r �__repr__ s zEvent.__repr__)NN)r � __module__�__qualname__r r r r r r r s r c @ s e Zd Zddd�ZdS )� NodeEventNc C s || _ || _|| _d S )N)r r r )r r r r r r r r s zNodeEvent.__init__)NN)r r r r r r r r r s r c @ s e Zd Zddd�ZdS )�CollectionStartEventNc C s( || _ || _|| _|| _|| _|| _d S )N)r r r r r � flow_style)r r r r r r r r r r r s zCollectionStartEvent.__init__)NNN)r r r r r r r r r s r c @ s e Zd ZdS )�CollectionEndEventN)r r r r r r r r s r c @ s e Zd Zddd�ZdS )�StreamStartEventNc C s || _ || _|| _d S )N)r r �encoding)r r r r r r r r % s zStreamStartEvent.__init__)NNN)r r r r r r r r r $ s r c @ s e Zd ZdS )�StreamEndEventN)r r r r r r r r * s r c @ s e Zd Zddd�ZdS )�DocumentStartEventNc C s"