def dump(self,indent='<STR_LIT>',depth=<NUM_LIT:0>):
out = []<EOL>out.append( indent+_ustr(self.asList()) )<EOL>keys = self.items()<EOL>keys.sort()<EOL>for k,v in keys:<EOL><INDENT>if out:<EOL><INDENT>out.append('<STR_LIT:\n>')<EOL><DEDENT>out.append( "<STR_LIT>" % (indent,('<STR_LIT:U+0020>'*depth), k) )<EOL>if isinstance(v,ParseResults):<EOL><INDENT>if v.keys():<EOL><INDENT>out.append( v.dump(indent,depth+<NUM_LIT:1>) )<EOL><DEDENT>else:<EOL><INDENT>out.append(_ustr(v))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>out.append(_ustr(v))<EOL><DEDENT><DEDENT>return "<STR_LIT>".join(out)<EOL>
Diagnostic method for listing out the contents of a C{ParseResults}.
           Accepts an optional C{indent} argument so that this string can be embedded
           in a nested display of other data.