GenToolInfo¶
Import: import system.codegen;
GenToolInfo¶
Identity and configuration of an available generation tool.
name¶
Tool name as declared with @uses_tool.
version¶
Version identifying this API or snapshot format.
fingerprint¶
Content fingerprint identifying this version of the tool.
available¶
Whether the tool was found on this machine. Requesting an unavailable tool with GenContext.run_tool fails with the reason it could not be found, so a generator can skip a step that only an optional tool performs.
constructor¶
Reads an available tool description from its JSON representation.