def visit_route(self, route: RouteInfo) -> str:
    'Visit a RouteInfo instance. Usually called by `process`.'
    text = '{0}⇒ {1.path} - {1.class_name}'.format(self.tab, route)
    if self.verbose:
        text += ' ({0.source_info})'.format(route)
    method_text = self._methods_to_string(route.methods)
    if (not method_text):
        return text
    return '{}:\n{}'.format(text, method_text)
Visit a RouteInfo instance. Usually called by `process`.
def visit_route(self, route: RouteInfo) -> str:
    
    text = '{0}⇒ {1.path} - {1.class_name}'.format(self.tab, route)
    if self.verbose:
        text += ' ({0.source_info})'.format(route)
    method_text = self._methods_to_string(route.methods)
    if (not method_text):
        return text
    return '{}:\n{}'.format(text, method_text)