def METHOD_NAME(self, result, node):
    if Use_SSI:
        with switch_source_input(self.state, result):
            nested_parse_with_titles(self.state, result, node)
    else:
        save = self.state.memo.reporter
        self.state.memo.reporter = AutodocReporter(result, self.state.memo.reporter)
        try:
            nested_parse_with_titles(self.state, result, node)
        finally:
            self.state.memo.reporter = save