def

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Definition

type Definition interface {
	ID() string
	Name() string
	Kind() string
	Type(caller string) (string, error)
	Dependencies() ([]Definition, error)
	Generate() (string, error)

	// This comes after the definion is
	// already made is sort of hacky
	// TODO: come up with a better solution
	SetPackage(pkg string)
	GetPackage() string

	SetFile(file string)
	GetFile() string
}

Definition interface

Jump to

Keyboard shortcuts

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