class documentation

class DefaultRole(Directive):

View In Hierarchy

Set the default interpreted text role.
Method run Undocumented
Class Variable final​_argument​_whitespace May the final argument contain whitespace?
Class Variable optional​_arguments Number of optional arguments after the required 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?
Class Variable option​_spec Mapping of option names to validator functions.
Class Variable required​_arguments Number of required directive arguments.
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):

Undocumented

final_argument_whitespace: bool =
May the final argument contain whitespace?
optional_arguments: int =
Number of optional arguments after the required arguments.