generalized the expressions parsed in a decorated function