toTyped added for Var, FunCall and arith ops