Commit 6c932cbf authored by Eric Myhre's avatar Eric Myhre

Comments on future patterns for code generation.

parent 122c5338
......@@ -10,7 +10,9 @@ import (
type generateKindString struct {
Name declaration.TypeName
Type declaration.Type
Type declaration.Type // TODO this should be switched to schema.Type asap.
// FUTURE: probably some adjunct config data should come with here as well.
// FUTURE: perhaps both a global one (e.g. output package name) and a per-type one.
}
func (gk generateKindString) EmitNodeMethodTraverseField(w io.Writer) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment