added code string generator interface to be used within source generator