403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/sphinx/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/sphinx/__pycache__/addnodes.cpython-39.opt-1.pyc
a

�abUF�	@s�dZddlmZmZmZmZmZddlmZddl	m
Z
erHddlmZzddl	m
ZWn$ey|ddlmZej
ZYn0Gdd	�d	ej�ZGd
d�dej�ZGdd
�d
�ZGdd�dejej
e�ZGdd�dej
e�ZGdd�dejej
�ZGdd�deejejej�ZGdd�dejejej�Z Gdd�dejej
�Z!Gdd�deejej�Z"Gdd�deejejej�Z#Gdd�deejejej�Z$e$Z%Gd d!�d!ejejej�Z&Gd"d#�d#e&�Z'Gd$d%�d%ejejej�Z(Gd&d'�d'ejejej�Z)Gd(d)�d)ejejej�Z*Gd*d+�d+ejejej�Z+Gd,d-�d-ej,e�Z-Gd.d/�d/e-�Z.Gd0d1�d1e-�Z/Gd2d3�d3e-�Z0Gd4d5�d5e-�Z1Gd6d7�d7e-�Z2Gd8d9�d9e-�Z3Gd:d;�d;e-�Z4Gd<d=�d=e-�Z5Gd>d?�d?e-�Z6e.e/e0e1e2e3e4e5e6g	Z7Gd@dA�dAejej�Z8GdBdC�dCejej
�Z9GdDdE�dEejej
�Z:GdFdG�dGejejej�Z;GdHdI�dIej<ejej�Z=GdJdK�dKejej�Z>GdLdM�dMej
�Z?GdNdO�dOej
�Z@GdPdQ�dQej
�ZAGdRdS�dSejB�ZCGdTdU�dUej
�ZDGdVdW�dWej
�ZEGdXdY�dYej
�ZFGdZd[�d[ej
�ZGGd\d]�d]ej
�ZHGd^d_�d_ejIejJej
�Z
Gd`da�daejej
�ZKGdbdc�dcejej�ZLGddde�deejM�ZNGdfdg�dgejM�ZOGdhdi�diejPe�ZQGdjdk�dkejRe�ZSGdldm�dmejej�ZTdneeUefdo�dpdq�ZVdrS)sz�
    sphinx.addnodes
    ~~~~~~~~~~~~~~~

    Additional docutils nodes.

    :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
TYPE_CHECKING�Any�Dict�List�Sequence)�nodes)�Element)�Sphinx)�meta)�MetaBodycs.eZdZdZdeeeed��fdd�
Z�ZS)�documentajThe document root element patched by Sphinx.

    This fixes that document.set_id() does not support a node having multiple node Ids.
    see https://sourceforge.net/p/docutils/patches/167/

    .. important:: This is only for Sphinx internal use.  Please don't use this
                   in your extensions.  It will be removed without deprecation period.
    N�)�node�msgnode�suggested_prefix�returncsfddlm}|jdkr(t��|||�}nt��||�}|jdkrb|dD]}||jvrH||j|<qH|S)Nr��docutils)r�)r��ids)�sphinx.utilr�__version_info__�super�set_idr)�selfrrrr�retZnode_id��	__class__��3/usr/lib/python3.9/site-packages/sphinx/addnodes.pyr%s


zdocument.set_id)Nr
)�__name__�
__module__�__qualname__�__doc__r�strr�
__classcell__rrrr rs	��rc@sBeZdZdZdd�dd�Zeedd�dd�Zeed�d	d
�ZdS)�translatablea�Node which supports translation.

    The translation goes forward with following steps:

    1. Preserve original translatable messages
    2. Apply translated messages from message catalog
    3. Extract preserved messages (for gettext builder)

    The translatable nodes MUST preserve original messages.
    And these messages should not be overridden at applying step.
    Because they are used at final step; extraction.
    N�rcCst�dS)z(Preserve original translatable messages.N��NotImplementedError�rrrr �preserve_original_messagesDsz'translatable.preserve_original_messages��original_message�translated_messagercCst�dS)zApply translated message.Nr))rr.r/rrr �apply_translated_messageHsz%translatable.apply_translated_messagecCst�dS)zjExtract translation messages.

        :returns: list of extracted messages or messages generator
        Nr)r+rrr �extract_original_messagesLsz&translatable.extract_original_messages)	r!r"r#r$r,r%r0rr1rrrr r'6s
r'c@seZdZdZdZdS)�not_smartquotablez+A node which does not support smart-quotes.FN)r!r"r#r$Zsupport_smartquotesrrrr r2Tsr2c@sBeZdZdZdd�dd�Zeedd�dd�Zeed�d	d
�ZdS)�toctreez Node for inserting a "TOC tree".Nr(cCsF|�dg�}|dD]\}}|r|�|�q|�d�rB|d|d<dS)N�
rawentries�entries�caption�
rawcaption)�
setdefault�append�get)rr4�titleZ_docnamerrr r,\s
z"toctree.preserve_original_messagesr-cCsLt|d�D]$\}\}}||kr||f|d|<q|�d�|krH||d<dS)Nr5r7r6)�	enumerater:)rr.r/�ir;Zdocnamerrr r0gs
z toctree.apply_translated_messagecCs0g}|�|�dg��d|vr,|�|d�|S)Nr4r7)�extendr:r9)r�messagesrrr r1qs
z!toctree.extract_original_messages)	r!r"r#r$r,r%r0rr1rrrr r3Ys
r3cs<eZdZUdZgZeeed<eedd��fdd�Z	�Z
S)�_desc_classes_injectorz_Helper base class for injecting a fixes list of classes.

    Use as the first base class.
    �classesN)�args�kwargsrcs&t�j|i|��|d�|j�dS�NrA�r�__init__r>rA)rrBrCrrr rF�sz_desc_classes_injector.__init__)r!r"r#r$rArr%�__annotations__rrFr&rrrr r@�s
r@c@seZdZdZdS)�descamNode for a list of object signatures and a common description of them.

    Contains one or more :py:class:`desc_signature` nodes
    and then a single :py:class:`desc_content` node.

    This node always has two classes:

    - The name of the domain it belongs to, e.g., ``py`` or ``cpp``.
    - The name of the object type in the domain, e.g., ``function``.
    N�r!r"r#r$rrrr rH�srHcs,eZdZdZddgZe�fdd��Z�ZS)�desc_signatureaSNode for a single object signature.

    As default the signature is a single-line signature.
    Set ``is_multiline = True`` to describe a multi-line signature.
    In that case all child nodes must be :py:class:`desc_signature_line` nodes.

    This node always has the classes ``sig``, ``sig-object``, and the domain it belongs to.
    �sigz
sig-objectcs|�d�rdSt�jSdS)NZis_multiline� )r:r�child_text_separatorr+rrr rM�s
z#desc_signature.child_text_separator)r!r"r#r$rA�propertyrMr&rrrr rJ�s	rJc@seZdZdZdZdS)�desc_signature_linez�Node for a line in a multi-line object signature.

    It should only be used as a child of a :py:class:`desc_signature`
    with ``is_multiline`` set to ``True``.
    Set ``add_permalink = True`` for the line that should get the permalink.
    r
N)r!r"r#r$Zsphinx_line_typerrrr rO�srOc@seZdZdZdS)�desc_contentzfNode for object description content.

    Must be the last child node in a :py:class:`desc` node.
    NrIrrrr rP�srPcs4eZdZdZddgZeeedd��fdd�Z�ZS)�desc_inlinez�Node for a signature fragment in inline text.

    This is for example used for roles like :rst:role:`cpp:expr`.

    This node always has the classes ``sig``, ``sig-inline``,
    and the name of the domain it belongs to.
    rKz
sig-inlineN)�domainrBrCrcs$t�j|i|��|d�|�dSrD)rrFr9)rrRrBrCrrr rF�szdesc_inline.__init__)	r!r"r#r$rAr%rrFr&rrrr rQ�srQc@seZdZdZddgZdS)�	desc_namez�Node for the main object name.

    For example, in the declaration of a Python class ``MyModule.MyClass``,
    the main name is ``MyClass``.

    This node always has the class ``sig-name``.
    zsig-nameZdescnameN�r!r"r#r$rArrrr rS�srSc@seZdZdZddgZdS)�desc_addnamez�Node for additional name parts for an object.

    For example, in the declaration of a Python class ``MyModule.MyClass``,
    the additional name part is ``MyModule.``.

    This node always has the class ``sig-prename``.
    zsig-prenameZ
descclassnameNrTrrrr rU�srUc@seZdZdZdS)�	desc_typez+Node for return types or object type names.NrIrrrr rV�srVcs&eZdZdZed��fdd�Z�ZS)�desc_returnsz4Node for a "returns" annotation (a la -> in Python).r(csdt���S)Nz -> �r�astextr+rrr rY�szdesc_returns.astext)r!r"r#r$r%rYr&rrrr rW�srWcs$eZdZdZdZ�fdd�Z�ZS)�desc_parameterlistz"Node for a general parameter list.�, csd�t����S)Nz({}))�formatrrYr+rrr rYszdesc_parameterlist.astext)r!r"r#r$rMrYr&rrrr rZsrZc@seZdZdZdS)�desc_parameterzNode for a single parameter.NrIrrrr r]sr]cs*eZdZdZdZed��fdd�Z�ZS)�
desc_optionalz6Node for marking optional parts of the parameter list.r[r(csdt���dS)N�[�]rXr+rrr rYszdesc_optional.astext)r!r"r#r$rMr%rYr&rrrr r^sr^c@seZdZdZdS)�desc_annotationz@Node for signature annotations (not Python 3-style annotations).NrIrrrr rasracsBeZdZUdZgZeeed<deeee	dd��fdd�
Z
�ZS)	�desc_sig_elementz<Common parent class of nodes for inline text of a signature.rAr
N��	rawsource�text�children�
attributesrcs0t�j||g|�Ri|��|d�|j�dSrDrE�rrdrerfrgrrr rF#szdesc_sig_element.__init__)r
r
)r!r"r#r$rArr%rGrrrFr&rrrr rbs

�rbcs6eZdZdZdgZd	eeeedd��fdd�
Z�Z	S)
�desc_sig_spacez Node for a space in a signature.�wr
rLNrccs t�j||g|�Ri|��dS)N)rrFrhrrr rF0szdesc_sig_space.__init__)r
rL)
r!r"r#r$rAr%rrrFr&rrrr ri,s
�ric@seZdZdZdgZdS)�
desc_sig_namez&Node for an identifier in a signature.�nNrTrrrr rk5srkc@seZdZdZdgZdS)�desc_sig_operatorz$Node for an operator in a signature.�oNrTrrrr rm:srmc@seZdZdZdgZdS)�desc_sig_punctuationz$Node for punctuation in a signature.�pNrTrrrr ro?sroc@seZdZdZdgZdS)�desc_sig_keywordz*Node for a general keyword in a signature.�kNrTrrrr rqDsrqc@seZdZdZdgZdS)�desc_sig_keyword_typez;Node for a keyword which is a built-in type in a signature.ZktNrTrrrr rsIsrsc@seZdZdZdgZdS)�desc_sig_literal_numberz*Node for a numeric literal in a signature.�mNrTrrrr rtNsrtc@seZdZdZdgZdS)�desc_sig_literal_stringz)Node for a string literal in a signature.�sNrTrrrr rvSsrvc@seZdZdZdgZdS)�desc_sig_literal_charz,Node for a character literal in a signature.ZscNrTrrrr rxXsrxc@seZdZdZdS)�versionmodifiedzNode for version change entries.

    Currently used for "versionadded", "versionchanged" and "deprecated"
    directives.
    NrIrrrr ryhsryc@seZdZdZdS)�seealsozCustom "see also" admonition.NrIrrrr rzpsrzc@seZdZdZdS)�productionlistzKNode for grammar production lists.

    Contains ``production`` nodes.
    NrIrrrr r{tsr{c@seZdZdZdS)�
productionz*Node for a single grammar production rule.NrIrrrr r|{sr|c@seZdZdZdS)�indexa�Node for index entries.

    This node is created by the ``index`` directive and has one attribute,
    ``entries``.  Its value is a list of 5-tuples of ``(entrytype, entryname,
    target, ignored, key)``.

    *entrytype* is one of "single", "pair", "double", "triple".

    *key* is categorization characters (usually a single character) for
    general index page. For the details of this, please see also:
    :rst:dir:`glossary` and issue #2320.
    NrIrrrr r}�sr}c@seZdZdZdS)�centeredzDeprecated.NrIrrrr r~�sr~c@seZdZdZdS)�ackszSpecial node for "acks" lists.NrIrrrr r�src@seZdZdZdS)�hlistzjNode for "horizontal lists", i.e. lists that should be compressed to
    take up less vertical space.
    NrIrrrr r��sr�c@seZdZdZdS)�hlistcolz)Node for one column in a horizontal list.NrIrrrr r��sr�c@seZdZdZdS)�compact_paragraphz<Node for a compact paragraph (which never makes a <p> node).NrIrrrr r��sr�c@seZdZdZdS)�glossaryzNode to insert a glossary.NrIrrrr r��sr�c@seZdZdZdS)�onlyzANode for "only" directives (conditional inclusion based on tags).NrIrrrr r��sr�c@seZdZdZdS)�
start_of_filezANode to mark start of a new file, used in the LaTeX builder only.NrIrrrr r��sr�c@seZdZdZdS)�
highlightlangzcInserted to set the highlight language and line number options for
    subsequent code blocks.
    NrIrrrr r��sr�c@seZdZdZdS)�tabular_col_specz;Node for specifying tabular columns, used for LaTeX output.NrIrrrr r��sr�c@seZdZdZdZdS)r
zYNode for meta directive -- same as docutils' standard meta node,
    but pickleable.
    N)r!r"r#r$Z
rawcontentrrrr r
�sr
c@seZdZdZdZdS)�pending_xrefz�Node for cross-references that cannot be resolved without complete
    information about all documents.

    These nodes are resolved before writing output, in
    BuildEnvironment.resolve_references.
    r
N)r!r"r#r$rMrrrr r��sr�c@seZdZdZdS)�pending_xref_conditiona}Node for cross-references that are used to choose appropriate
    content of the reference by conditions on the resolving phase.

    When the :py:class:`pending_xref` node contains one or more
    **pending_xref_condition** nodes, the cross-reference resolver
    should choose the content of the reference using defined conditions
    in ``condition`` attribute of each pending_xref_condition nodes::

        <pending_xref refdomain="py" reftarget="io.StringIO ...>
            <pending_xref_condition condition="resolved">
                <literal>
                    StringIO
            <pending_xref_condition condition="*">
                <literal>
                    io.StringIO

    After the processing of cross-reference resolver, one of the content node
    under pending_xref_condition node is chosen by its condition and to be
    removed all of pending_xref_condition nodes::

        # When resolved the cross-reference successfully
        <reference>
            <literal>
                StringIO

        # When resolution is failed
        <reference>
            <literal>
                io.StringIO

    .. note:: This node is only allowed to be placed under pending_xref node.
              It is not allows to place it under other nodes.  In addition,
              pending_xref node must contain only pending_xref_condition
              nodes if it contains one or more pending_xref_condition nodes.

    The pending_xref_condition node should have **condition** attribute.
    Domains can be store their individual conditions into the attribute to
    filter contents on resolving phase.  As a reserved condition name,
    ``condition="*"`` is used for the fallback of resolution failure.
    Additionally, as a recommended condition name, ``condition="resolved"``
    is used for the representation of resolstion success in the intersphinx
    module.

    .. versionadded:: 4.0
    NrIrrrr r��sr�c@seZdZdZdS)�number_referencez4Node for number references, similar to pending_xref.NrIrrrr r�sr�c@seZdZdZdS)�download_referencez6Node for download references, similar to pending_xref.NrIrrrr r�sr�c@seZdZdZdS)�literal_emphasisz{Node that behaves like `emphasis`, but further text processors are not
    applied (e.g. smartypants for HTML output).
    NrIrrrr r�	sr�c@seZdZdZdS)�literal_strongzyNode that behaves like `strong`, but further text processors are not
    applied (e.g. smartypants for HTML output).
    NrIrrrr r�sr�c@seZdZdZdS)�manpagez Node for references to manpages.NrIrrrr r�sr�r	)�apprcCs�ddlm}|�t�|�t�|�t�|�t�|�t�|�t�|�t	�|�t
�|�t�|�t�|�t
�|�t�|�t�|�t�tD]}|�|�q�|�t�|�t�|�t�|�t�|�t�|�t�|�t�|�t�|�t�|�t�|�t�|�t�|�t�|�t�|�t �|�t!�|�t"�|�t#�|�t$�|�t%�|�t&�|j'dk�r�|�t(�dddd�S)Nrr)r�ZbuiltinT)�versionZparallel_read_safeZparallel_write_safe))rrZadd_noder3rHrJrOrPrQrSrUrVrWrZr]r^ra�SIG_ELEMENTSryrzr{r|r}r~rr�r�r�r�r�r�r�r�r�r�r�r�r�r�rr
)r�rrlrrr �setupsX



































�r�N)Wr$�typingrrrrrrrZdocutils.nodesrZsphinx.applicationr	r
Z
docutils_meta�ImportErrorZ$docutils.parsers.rst.directives.htmlrrZNoder'r2ZGeneralr3r@Z
AdmonitionrHZPartZInlineZTextElementrJZFixedTextElementrOrPrQrSrUZdesc_classnamerVrWrZr]r^raZinlinerbrirkrmrorqrsrtrvrxr�ryrzr{r|Z	Invisibler}r~rr�r�Z	paragraphr�r�r�r�r�r��SpecialZPreBibliographicr�r�Z	referencer�r�Zemphasisr�Zstrongr�r�r%r�rrrr �<module>s�
(


	�	
0

Youez - 2016 - github.com/yon3zu
LinuXploit