%PDF- %PDF-
Direktori : /lib/python3/dist-packages/markdown_it/__pycache__/ |
Current File : //lib/python3/dist-packages/markdown_it/__pycache__/ruler.cpython-312.pyc |
� 'W�d�# � � � d Z ddlmZ ddlmZ ddlmZmZ ddlm Z m Z mZmZ ddl Z ddlmZ dd lmZ e rdd lmZ G d� d� Z G d � ded�� Z ed� Z edi e�� G d� de e � � Z G d� de e � Zy)a� class Ruler Helper class, used by [[MarkdownIt#core]], [[MarkdownIt#block]] and [[MarkdownIt#inline]] to manage sequences of functions (rules): - keep rules in defined order - assign the name to each rule - enable/disable rules - add/replace rules - allow assign rules to additional named chains (in the same) - caching lists of active rules You will not need use this class directly until write plugins. For simple rules control use [[MarkdownIt.disable]], [[MarkdownIt.enable]] and [[MarkdownIt.use]]. � )�annotations)�Iterable)� dataclass�field)� TYPE_CHECKING�Generic� TypedDict�TypeVarN)�DATACLASS_KWARGS� )�EnvType)� MarkdownItc �^ � e Zd Zdd�Zedd�� Zej dd�� Zed d�� Zy) � StateBasec �. � || _ || _ || _ y �N)�src�env�md)�selfr r r s �3/usr/lib/python3/dist-packages/markdown_it/ruler.py�__init__zStateBase.__init__"