Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExportTargetDir = env.String("CODEGEN_REPORT_DIR",
"The directory to generate a codegen report in")
Functions ¶
This section is empty.
Types ¶
type GenerateProgramFn ¶
func WrapGen ¶
func WrapGen(reporter Reporter, title, language string, files []*syntax.File, f GenerateProgramFn) GenerateProgramFn
type Language ¶
type Language struct { Stats // A mapping from Error:(title:occurrences) Warnings map[string]map[string]int `json:"warning,omitempty"` Errors map[string]map[string]int `json:"errors,omitempty"` // A mapping from between titles and Go errors (as opposed to diag errors) GoErrors map[string]string `json:"goerrors,omitempty"` // A mapping from title:files Files map[string][]File `json:"files,omitempty"` }
Click to show internal directories.
Click to hide internal directories.