Your IP : 18.119.117.77
3
<z�W� � @ 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 �/usr/lib64/python3.6/events.py�__init__ s zEvent.__init__c s: � fdd�d
D �}dj � 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))r r
r r )�join� __class__�__name__)r Z
attributesZ 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"