List of functions in the ude.parsers.dialects.base namespace.

Entity NameDescription
_clean_xrefsReplaces :domain:role:target cross-references with bare target text.
_clean_xrefs_in_dict
_empty_parse

Directory & Entity Index

Entity NameSummary / Description
_clean_xrefs function

Replaces :domain:role:target cross-references with bare target text.

Methods

_clean_xrefs

_clean_xrefs(text: str) -> str

Replaces :domain:role:target cross-references with bare target text.

Returns:

The text with cross-reference markup removed.

ParameterTypeDescription
textstrThe text to clean.
_clean_xrefs_in_dict function

Returns a copy of d with xrefs cleaned from all string values.

Methods

_clean_xrefs_in_dict

_clean_xrefs_in_dict(d: dict) -> dict

Returns a copy of d with xrefs cleaned from all string values.

Returns:

A new dict with the same keys and cross-reference-cleaned string values.

ParameterTypeDescription
ddictA dict whose string values may contain cross-reference markup.
_empty_parse function

Returns a zero-content DocstringParse sentinel. DocstringParse` with all fields at their defaults.

Methods

_empty_parse

_empty_parse() -> DocstringParse

Returns a zero-content DocstringParse sentinel. DocstringParse` with all fields at their defaults.

Returns:

A `