gen

package
v0.0.0-...-9dcd13a Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

Backend incorporates all backend-specific parts. Actually is BackendCfg, but fields are readonly.

func NewBackend

func NewBackend(cfg BackendCfg) *Backend

NewBackend creates a new backend driver.

func (Backend) Name

func (b Backend) Name() string

Name returns backend name.

type BackendCfg

type BackendCfg struct {
	Name string
}

BackendCfg describes particular compiler backend.

Jump to

Keyboard shortcuts

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