def run_directive(self, name,<EOL>arguments=None,<EOL>options=None,<EOL>content=None):
if options is None:<EOL><INDENT>options = {}<EOL><DEDENT>if content is None:<EOL><INDENT>content = []<EOL><DEDENT>if arguments is None:<EOL><INDENT>arguments = []<EOL><DEDENT>direc, _ = directive(name, self.language, self.document)<EOL>direc = direc(name=name,<EOL>arguments=arguments,<EOL>options=options,<EOL>content=content,<EOL>lineno=self.node.line,<EOL>content_offset=<NUM_LIT:0>,<EOL>block_text='<STR_LIT>',<EOL>state=self.state,<EOL>state_machine=self)<EOL>return direc.run()<EOL>
Generate directive node given arguments.

        Parameters
        ----------
        name : str
            name of directive.
        arguments : list
            list of positional arguments.
        options : dict
            key value arguments.
        content : content
            content of the directive

        Returns
        -------
        node : docutil Node
            Node generated by the arguments.