def METHOD_NAME(self, visitor):
    """An entry point to visit the whole result object.
    :param visitor: An instance of :class:`~.visitor.ResultVisitor`.
    Visitors can gather information, modify results, etc. See
    :mod:`~robot.result` package for a simple usage example.
    Notice that it is also possible to call :meth:`result.suite.visit
    <robot.result.testsuite.TestSuite.visit>` if there is no need to
    visit the contained ``statistics`` or ``errors``.
    """
    visitor.visit_result(self)