const vscodeRepo … var lspGitRef … var repodir … var outputdir … var cmpdir … var doboth … var lineNumbers … func main() { … } func processinline() { … } var fileHdr … func writeclient() { … } func writeserver() { … } func writeprotocol() { … } func writejsons() { … } // formatTo formats the Go source and writes it to *outputdir/basename. func formatTo(basename string, src []byte) { … } // create the common file header for the output files func fileHeader(model *Model) string { … } func parse(fname string) *Model { … } // Type.Value has to be treated specially for literals and maps func (t *Type) UnmarshalJSON(data []byte) error { … } // which table entries were not used func checkTables() { … }