If the Expression does not implement doGenCode, it needs to implements this trait to do default code generation using the eval of the expression.