Your IP : 18.219.107.243
3
<z�W
� @ 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 �/usr/lib64/python3.6/tokens.py�__init__ s zToken.__init__c s@ dd� � j D �}|j� dj� fdd�|D ��}d� jj|f S )Nc S s g | ]}|j 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)�getattr)r r
)r r r r
s z%s(%s))�__dict__�sort�join� __class__�__name__)r Z
attributesZ 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 )N)�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>N)r r r r r r r r r s r c @ s e Zd ZdZddd�ZdS )�StreamStartTokenz<stream start>Nc C s || _ || _|| _d S )N)r r �encoding)r r r r r r r r ! s zStreamStartToken.__init__)NNN)r r r r r r r r r r s r c @ s e Zd ZdZdS )�StreamEndTokenz<stream end>N)r r r r r r r r r '