Allow upwards traversal of the original AST.
Allow upwards traversal of the original AST.

We can store .parentNode properties on the AST nodes themselves
because the original AST is guaranteed to be freshly parsed, with no
duplicate nodes. This last edge case is important: given that every
node has at most one parent, there is no risk of clobbering an
existing .parentNode property.

cpojer/recast,marcioj/recast,ipeychev/recast,stefanpenner/recast,kassens/recast,fkling/recast,ersengultepe/recast,benjamn/recast,shumov/recast,benjamn/recast,kyldvs/recast,rwaldron/recast,benjamn/recast