def _dump(self):
        """For debugging, dump the entire data structure."""
        pp = pprint.PrettyPrinter(indent=4)

        print("=== Variables ===")
        print("-- Globals --")
        pp.pprint(self._global)
        print("-- Bot vars --")
        pp.pprint(self._var)
        print("-- Substitutions --")
        pp.pprint(self._sub)
        print("-- Person Substitutions --")
        pp.pprint(self._person)
        print("-- Arrays --")
        pp.pprint(self._array)

        print("=== Topic Structure ===")
        pp.pprint(self._topics)
        print("=== %Previous Structure ===")
        pp.pprint(self._thats)

        print("=== Includes ===")
        pp.pprint(self._includes)

        print("=== Inherits ===")
        pp.pprint(self._lineage)

        print("=== Sort Buffer ===")
        pp.pprint(self._sorted)

        print("=== Syntax Tree ===")
        pp.pprint(self._syntax)
def _dump ( self ) : pp = pprint . PrettyPrinter ( indent = 4 ) print ( "=== Variables ===" ) print ( "-- Globals --" ) pp . pprint ( self . _global ) print ( "-- Bot vars --" ) pp . pprint ( self . _var ) print ( "-- Substitutions --" ) pp . pprint ( self . _sub ) print ( "-- Person Substitutions --" ) pp . pprint ( self . _person ) print ( "-- Arrays --" ) pp . pprint ( self . _array ) print ( "=== Topic Structure ===" ) pp . pprint ( self . _topics ) print ( "=== %Previous Structure ===" ) pp . pprint ( self . _thats ) print ( "=== Includes ===" ) pp . pprint ( self . _includes ) print ( "=== Inherits ===" ) pp . pprint ( self . _lineage ) print ( "=== Sort Buffer ===" ) pp . pprint ( self . _sorted ) print ( "=== Syntax Tree ===" ) pp . pprint ( self . _syntax )
For debugging, dump the entire data structure.