def __repr__(self):
        return "%s(%s, %r)" % (self.__class__.__name__,
           self.grammar.number2symbol.get(self.type), self.children)
Return a canonical string representation.
dataset/ETHPy150Open Evgenus/protocyt/protocyt/parser.py/PNode.__repr__