def run_role(self, name,<EOL>options=None,<EOL>content=None):
if options is None:<EOL><INDENT>options = {}<EOL><DEDENT>if content is None:<EOL><INDENT>content = []<EOL><DEDENT>role_fn, _ = role(name,<EOL>self.language,<EOL>self.node.line,<EOL>self.reporter)<EOL>vec, _ = role_fn(name,<EOL>rawtext=str(content),<EOL>text=str(content),<EOL>lineno=self.node.line,<EOL>inliner=self.memo.inliner,<EOL>options=options,<EOL>content=content)<EOL>assert len(vec) == <NUM_LIT:1>, '<STR_LIT>'<EOL>return vec[<NUM_LIT:0>]<EOL>
Generate a role node.

        options : dict
            key value arguments.
        content : content
            content of the directive

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