Destroy AbstracSyntaxTreeNode iteratively.