(self)
Dump the grammar tables to standard output, for debugging.
Dump the grammar tables to standard output, for debugging.
Dump the grammar tables to standard output for debugging .
def report(self):
        """Dump the grammar tables to standard output, for debugging."""
        from pprint import pprint
        print("s2n")
        pprint(self.symbol2number)
        print("n2s")
        pprint(self.number2symbol)
        print("states")
        pprint(self.states)
        print("dfas")
        pprint(self.dfas)
        print("labels")
        pprint(self.labels)
        print("start", self.start)
def report ( self ) : from pprint import pprint print ( "s2n" ) pprint ( self . symbol2number ) print ( "n2s" ) pprint ( self . number2symbol ) print ( "states" ) pprint ( self . states ) print ( "dfas" ) pprint ( self . dfas ) print ( "labels" ) pprint ( self . labels ) print ( "start" , self . start )