File: //usr/lib/python3/dist-packages/awscli/bcdoc/__pycache__/docstringparser.cpython-310.pyc
o
.&�a � @ 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 | _ || _tjjj�| � d S �N)�tree�docr �moves�html_parser�
HTMLParser�__init__��selfr � r
�>/usr/lib/python3/dist-packages/awscli/bcdoc/docstringparser.pyr
s zDocStringParser.__init__c C s t jjj�| � t| j�| _d S r )r r r r �reset�HTMLTreer r �r r
r
r r s zDocStringParser.resetc C s, t jjj�| |� | j�� t| j�| _d S r ) r r r r �feedr �writer r �r �datar
r
r r s
zDocStringParser.feedc C s* t jjj�| � | j�� t| j�| _d S r ) r r r r �closer r r r r r
r
r r &