{ } Raw JSON

bundles / papyri latest / papyri / tree / TreeReplacer

class

papyri.tree:TreeReplacer

source: /papyri/tree.py :362

Signature

class   TreeReplacer ( )  →  None

Members

Summary

Tree visitor with methods to replace nodes.

Extended Summary

define replace_XXX(xxx) that return a list of new nodes, and call visit(and the root tree)

Aliases

  • papyri.tree.TreeReplacer