File: //proc/self/root/opt/alt/python311/lib64/python3.11/__pycache__/_markupbase.cpython-311.pyc
�
    !A?h=9  �                   ��   � d Z ddlZ ej        d�  �        j        Z ej        d�  �        j        Z ej        d�  �        Z ej        d�  �        Z ej        d�  �        Z[ G d� d	�  �        Z	dS )
z�Shared support for scanning document type declarations in HTML and XHTML.
This module is used as a foundation for the html.parser module.  It has no
documented public API and should not be used directly.
�    Nz[a-zA-Z][-_.a-zA-Z0-9]*\s*z(\'[^\']*\'|"[^"]*")\s*z--\s*>z	]\s*]\s*>z]\s*>c                   �n   � e Zd ZdZd� Zd� Zd� Zd� ZdZd� Z	dd	�Z
dd
�Zd� Zd� Z
d
� Zd� Zd� Zd� Zd� ZdS )�
ParserBaseziParser base class which provides some common support methods used
    by the SGML/HTML and XHTML parsers.c                 �@   � | j         t          u rt          d�  �        �d S )Nz)_markupbase.ParserBase must be subclassed)�	__class__r   �RuntimeError��selfs    �2/opt/alt/python311/lib64/python3.11/_markupbase.py�__init__zParserBase.__init__   s,   � ��>�Z�'�'��;�=� =� 
=� (�'�    c                 �"