support temporary object when generate symbols