Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface { // GenerateTypes produces types in some language for all types in the given TypeSet and writes // them to a file under the given directory GenerateTypes(ts px.TypeSet, directory string) // GenerateType produces a type in some language and writes it to a file under the // given directory GenerateType(t px.Type, directory string) }
The Generator interface is implemented by generators that can transform Pcore types to types in some specific language.
func GetGenerator ¶
Click to show internal directories.
Click to hide internal directories.