I will change CONDITION_POSITION to something like VALUE_POSITION, I reused the same constant as before which is a bad. 

At this point (line 101) I am checking all nodes in the inner scope of a conditional statement to see if the parameter is used somewhere else.