Generate hints.for.function