typegen

package
v0.0.0-...-e65cc6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2019 License: Apache-2.0 Imports: 16 Imported by: 1

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

func GetGenerator(language string) Generator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL