Converts the finished node tree into a tree containing operators, values, or variables