Your IP : 216.73.216.196
B
��\�V � @ sP d Z ddlZdZG dd� d�ZG dd� de�Zdd � Zejd
krDeZed�ZdS )a
This module renders Astroid nodes as string:
* :func:`to_code` function return equivalent (hopefully valid) python string
* :func:`dump` function return an internal representation of nodes found
in the tree, useful for debugging or understanding the tree structure
� N� c @ s\ e Zd ZdZdd� Zdd� Zdd� Zd�d d
�Zd�dd�Zd
d� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-d.� Zd/d0� Zd1d2� Zd3d4� Zd5d6� Zd7d8� Zd9d:� Zd;d<� Z d=d>� Z!d?d@� Z"dAdB� Z#dCdD� Z$dEdF� Z%dGdH� Z&dIdJ� Z'dKdL� Z(dMdN� Z)dOdP� Z*dQdR� Z+dSdT� Z,dUdV� Z-dWdX� Z.dYdZ� Z/d[d\� Z0d]d^� Z1d_d`� Z2dadb� Z3dcdd� Z4dedf� Z5dgdh� Z6didj� Z7dkdl� Z8dmdn� Z9dodp� Z:dqdr� Z;dsdt� Z<dudv� Z=dwdx� Z>dydz� Z?d{d|� Z@d}d~� ZAdd�� ZBd�d�� ZCd�d�� ZDd�d�� ZEd�d�� ZFd�d�� ZGd�d�� ZHd�d�� ZId�d�� ZJd�d�� ZKd�d�� ZLd�S )��AsStringVisitorz?Visitor to render an Astroid node as a valid python code stringc C s
|| _ d S )N)�indent)�selfr � r �B/opt/alt/python37/lib/python3.7/site-packages/astroid/as_string.py�__init__# s zAsStringVisitor.__init__c C s |� | ��td�S )z.Makes this visitor behave as a simple function�
)�accept�replace�DOC_NEWLINE)r �noder r r �__call__&