@classmethod
def dump_forest(cls, root_node, token_dicts=None):
    """ Return a string with a multi-line text representation of the parse tree """
    dumper = cls(token_dicts)
    dumper.go(root_node)
    dumper._result.append('Q0')
    return '\n'.join(dumper._result)
