internal/gen: doc exported symbols (#9)

This commit is contained in:
Michael McLoughlin
2019-01-05 14:12:50 -08:00
parent c3a3000908
commit cf1739b920
7 changed files with 27 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ type ctors struct {
prnt.Generator
}
// NewCtors will build instruction constructors. Each constructor will check
// that the provided operands match one of the allowed instruction forms. If so
// it will return an Instruction object that can be added to an avo Function.
func NewCtors(cfg printer.Config) Interface {
return GoFmt(&ctors{cfg: cfg})
}