public void ReplaceRecursive(Node root, Func<Node, bool> find, Func<Node, Node> replace) { EvictFromCache(root.Stmt()); root.ReplaceRecursive(find, replace); PutIntoCache(root.Stmt()); }
public void ReplaceRecursive(Node root, Node find, Node replace) { EvictFromCache(root.Stmt()); root.ReplaceRecursive(find, replace); PutIntoCache(root.Stmt()); }