# HG changeset patch # User Andreas Woess # Date 1395276336 -3600 # Node ID 51d774eb5e14da6d9374ed38dfaf0396c82cc74e # Parent ba52fbec5b6cb378e3619a74d42264f715880dc0 update changelog diff -r ba52fbec5b6c -r 51d774eb5e14 CHANGELOG.md --- a/CHANGELOG.md Thu Mar 20 01:29:19 2014 +0100 +++ b/CHANGELOG.md Thu Mar 20 01:45:36 2014 +0100 @@ -15,6 +15,12 @@ * Improved API for counting nodes in Truffle ASTS. NodeUtil#countNodes can be used with a NodeFilter filter Nodes. * New API to declare the cost of a Node for use in runtime environment specific heuristics. See NodeCost, Node#getCost() and NodeInfo#cost(). * Removed old API for NodeInfo#Kind and NodeInfo#kind(). As a replacement the new Node cost API can be used. +* Changed Node#replace reason parameter type to CharSequence (to allow for lazy string building) +* Deprecated Node#adoptChild and Node#adoptChild, no longer needed in node constructor +* New Node#insert method for inserting new nodes into the tree (formerly adoptChild) +* New Node#adoptChildren() helper method that adopts all (direct and indirect) children of a node +* New API Node#atomic for atomic tree operations +* Made Node#replace thread-safe