List of classes in the ude.parsers.dialects.sphinx_rst namespace.

Sphinx/RST field-list docstring dialect.

Parses Python SWIG-generated docstrings that use Sphinx-style field lists (:param:, :type:, :rtype:, :return:) and the *Overload N:* multi-overload convention, as emitted for BimNv-style Python bindings.

Entity NameDescription
SphinxRstSwigDialectHandles Python SWIG-generated docstrings that use the Sphinx/RST field list style.
_clean_xrefsReplaces :domain:role:target with bare target text.
_strip_rst_fieldsRemoves :type:, :param:, :rtype:, :return:, :raises: field-list entries (including continuations). docstring text to strip field-list entries from.
_extract_params_from_chunkParse :type:/:param: fields from a docstring chunk.
OVERLOAD_HEADER_REMatches a “Overload N:” header line marking the start of one overload variant’s docs.
OVERLOAD_SEP_REMatches a lone "
RST_TYPE_REMatches a Sphinx “:type name: <type>” field-list entry.
RST_PARAM_REMatches a Sphinx “:param name: [in
RST_RTYPE_REMatches a Sphinx “:rtype: <type>” field-list entry.
RST_RETURN_REMatches a Sphinx “:return:” or “:returns:” field-list entry.
SPHINX_XREF_REMatches a Sphinx cross-reference like “:role:target” or “:domain:role:target”.
SPHINX_FIELD_HINT_RECheap signal that a docstring uses Sphinx field-list syntax (:type/:param/:rtype/:return/:raises), for dialect auto-detection.
OVERLOAD_HINT_RECheap signal that a docstring uses the “Overload N:” convention, for dialect auto-detection.

Directory & Entity Index

Entity NameSummary / Description
ClassesList of classes in ude.parsers.dialects.sphinx_rst
FunctionsList of functions in ude.parsers.dialects.sphinx_rst
VariablesList of variables in ude.parsers.dialects.sphinx_rst