Iterate over the expression tree.