(self, node)
Walk a node by calling its handler.

        Yields:
          Items returned or yielded by the handler.
Walk a node by calling its handler.
Walk a node by calling its handler .
def _walk(self, node):
        """Walk a node by calling its handler.

        Yields:
          Items returned or yielded by the handler.
        """
        if isinstance(node, parser.Node):
            result = getattr(self, '_walk_' + node.__class__.__name__)(node)
            if result is not None:
                for t in result:
                    yield t
        elif isinstance(node, lexer.Token):
            for t in self._walk_token(node):
                yield t
        elif hasattr(node, '__len__') and type(node) != str:
            for item in node:
                for t in self._walk(item):
                    yield t
        else:
            for t in self._walk_value(node):
                yield t
def _walk ( self , node ) : if isinstance ( node , parser . Node ) : result = getattr ( self , '_walk_' + node . __class__ . __name__ ) ( node ) if result is not None : for t in result : yield t elif isinstance ( node , lexer . Token ) : for t in self . _walk_token ( node ) : yield t elif hasattr ( node , '__len__' ) and type ( node ) != str : for item in node : for t in self . _walk ( item ) : yield t else : for t in self . _walk_value ( node ) : yield t