types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2017 License: MPL-2.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 Function

type Function struct {
	Arg, Output Type
}

func (*Function) FeedTo

func (Type *Function) FeedTo(consumer TypeConsumer)

type Named

type Named struct {
	Name string
	Args []Type
}

func (*Named) FeedTo

func (Type *Named) FeedTo(consumer TypeConsumer)

type Type

type Type interface {
	FeedTo(cons TypeConsumer)
}

type TypeConsumer

type TypeConsumer interface {
	Named(Name string, Args []Type)
	Function(Arg, Output Type)
}

Jump to

Keyboard shortcuts

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