This is an evolution of the old tools/defs/types.go file which essentially had these data structs manually defined in a static go file. Now, the parser should be able to construct this data structure on the fly from input files and reference files.