codegen

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2018 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(build *buildcontext.Context, program *loader.Program) output.Command

New :

Types

type Modifier

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

Modifier :

type Repository

type Repository struct {
	Name string
	// contains filtered or unexported fields
}

Repository :

func NewRepository

func NewRepository(fset *token.FileSet, pkg *types.Package, files []*ast.File) *Repository

NewRepository :

func (*Repository) AddFile

func (r *Repository) AddFile(name string, f *ast.File)

AddFile :

func (*Repository) CreateFakeFile

func (r *Repository) CreateFakeFile(name string) *ast.File

CreateFakeFile :

func (*Repository) FileOf

func (r *Repository) FileOf(name string) (*ast.File, bool)

FileOf :

func (*Repository) IsNew

func (r *Repository) IsNew(f *ast.File) bool

IsNew :

func (*Repository) NameOf

func (r *Repository) NameOf(f *ast.File) (string, bool)

NameOf :

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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