class documentation

class Unicode(Directive): (source)

View In Hierarchy

Convert Unicode character codes (numbers) to characters. Codes may be decimal numbers, hexadecimal numbers (prefixed by 0x, x, \x, U+, u, or \u; e.g. U+262E), or XML-style numeric character entities (e.g. ☮). Text following ".." is a comment and is ignored. Spaces are ignored, and any other text remains as-is.
Method run Undocumented
Class Variable comment​_pattern Undocumented
Class Variable final​_argument​_whitespace May the final argument contain whitespace?
Class Variable option​_spec Mapping of option names to validator functions.
Class Variable optional​_arguments Number of optional arguments after the required arguments.
Class Variable required​_arguments Number of required directive arguments.

Inherited from Directive:

Method __init__ Undocumented
Method add​_name Append self.options['name'] to node['names'] if it exists.
Method assert​_has​_content Throw an ERROR-level DirectiveError if the directive doesn't have contents.
Method debug Undocumented
Method directive​_error Return a DirectiveError suitable for being thrown as an exception.
Method error Undocumented
Method info Undocumented
Method severe Undocumented
Method warning Undocumented
Class Variable has​_content May the directive have content?
Instance Variable arguments Undocumented
Instance Variable block​_text Undocumented
Instance Variable content Undocumented
Instance Variable content​_offset Undocumented
Instance Variable lineno Undocumented
Instance Variable name Undocumented
Instance Variable options Undocumented
Instance Variable state Undocumented
Instance Variable state​_machine Undocumented
def run(self): (source)

Undocumented

comment_pattern = (source)

Undocumented

final_argument_whitespace: bool = (source)
May the final argument contain whitespace?
option_spec = (source)
Mapping of option names to validator functions.
optional_arguments: int = (source)
Number of optional arguments after the required arguments.
required_arguments: int = (source)
Number of required directive arguments.