@meta.hook(BasicParser, "<STR_LIT>")<EOL>def dump_nodes(self):
print("<STR_LIT>")<EOL>try:<EOL><INDENT>print("<STR_LIT>")<EOL>for k, v in self.id_cache.items():<EOL><INDENT>print("<STR_LIT>" % (k, v))<EOL><DEDENT>print("<STR_LIT>")<EOL>for k, v in self.tag_cache.items():<EOL><INDENT>print("<STR_LIT>" % (k, v))<EOL><DEDENT>print("<STR_LIT>")<EOL>for k, v in self.rule_nodes.items():<EOL><INDENT>txt = "<STR_LIT>" % (k, id(v))<EOL>if k in self.tag_cache:<EOL><INDENT>tag = self.tag_cache[k]<EOL>txt += "<STR_LIT>" % tag<EOL>k = "<STR_LIT>" % (tag._begin, tag._end)<EOL>if k in self._stream.value_cache:<EOL><INDENT>txt += "<STR_LIT>" % self._stream.value_cache[k]<EOL><DEDENT><DEDENT>print(txt)<EOL><DEDENT><DEDENT>except Exception as err:<EOL><INDENT>print("<STR_LIT>" % err)<EOL><DEDENT>import sys<EOL>sys.stdout.flush()<EOL>return True<EOL>
Dump tag,rule,id and value cache. For debug.

example::

    R = [
        #dump_nodes
    ]