File: //lib/python3.6/site-packages/awscli/bcdoc/__pycache__/docstringparser.cpython-36.opt-1.pyc
3
�T_ � @ s� d dl mZ G dd� dejjj�ZG dd� de�ZG dd� de�ZG dd � d e�Z G d
d� de �Z
G dd
� d
e
�ZG dd� de�ZdS )� )�sixc @ sH e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dS )�DocStringParserz�
A simple HTML parser. Focused on converting the subset of HTML
that appears in the documentation strings of the JSON models into
simple ReST format.
c C s d | _ || _tjjjj| � d S )N)�tree�docr �moves�html_parser�
HTMLParser�__init__)�selfr � r �%/usr/lib/python3.6/docstringparser.pyr s zDocStringParser.__init__c C s t jjjj| � t| j�| _d S )N)r r r r �reset�HTMLTreer r )r
r r r r
s zDocStringParser.resetc C s, t jjjj| |� | jj� t| j�| _d S )N) r r r r �feedr �writer r )r
�datar r r r s
zDocStringParser.feedc C s* t jjjj| � | jj� t| j�| _d S )N) r r r r �closer r r r )r
r r r r &