Generating val definition only through emitValDef function