See comments

Switched many getExprType() calls around so that null pointers won’t be
called.
Added last of the methods for this visitor in theory.