[hatohol-def-src-generator] Use the generation function that can be commonly used between JS and Python.