HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/docutils/parsers/__pycache__/__init__.cpython-310.pyc
o

!5p`e�@s\dZdZddlZddlmZddlmZmZGdd�de�Zddddd	d	d	d
�Z	dd�Z
dS)
z0
This package contains Docutils parser modules.
�reStructuredText�N)�
import_module)�	Component�frontendc
@s�eZdZddddgdddejd�fd	d
gddifd
dgdddejd�fddgddifddgdddejd�fffZdZdZdd�Z	dd�Z
dd�ZdS) �ParserzGeneric Parser OptionsNzjDisable directives that insert the contents of an external file; replaced with a "warning" system message.z--no-file-insertion�store_false��file_insertion_enabled)�action�default�dest�	validatorzIEnable directives that insert the contents of an external file. (default)z--file-insertion-enabledr
�
store_truezFDisable the "raw" directive; replaced with a "warning" system message.z--no-raw�raw_enabledz%Enable the "raw" directive. (default)z
--raw-enabledz>Maximal number of characters in an input line. Default 10 000.z--line-length-limitz<length>�int�')�metavar�typerr
�parser�parserscCstd��)z>Override to parse `inputstring` into document tree `document`.z"subclass must override this method)�NotImplementedError��self�inputstring�document�r�;/usr/lib/python3/dist-packages/docutils/parsers/__init__.py�parse/szParser.parsecCsH||_|j�dd�|j�dd�|j�dd�||_|j�|j�dS)z6Initial parse setup.  Call at start of `self.parse()`.r	Fr�line_length_limitrN)r�settings�
setdefaultr�reporter�attach_observer�note_parse_messagerrrr�setup_parse3szParser.setup_parsecCs|jj�|jj�dS)z7Finalize parse details.  Call at end of `self.parse()`.N)rr!�detach_observerr#)rrrr�finish_parse=s�zParser.finish_parse)�__name__�
__module__�__qualname__r�validate_boolean�validate_nonnegative_int�
settings_spec�component_type�config_sectionrr$r&rrrrrsJ����������
r�rst�recommonmark_wrapper)�restructuredtext�rest�restx�rtxt�recommonmark�
commonmark�markdowncCsL|��}|tvrt|}z
td|�}W|jSty%t|�}Y|jSw)z6Return the Parser class from the `parser_name` module.zdocutils.parsers.)�lower�_parser_aliasesr�ImportErrorr)�parser_name�modulerrr�get_parser_classLs�
�r=)�__doc__�
__docformat__�sys�	importlibr�docutilsrrrr9r=rrrr�<module>s3�