parse

package
v0.0.0-...-3fbdb32 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constraint

type Constraint uint8
const (
	NeedsKeyFunc Constraint = 1 << iota
	Inlinable
)

type FileSet

type FileSet struct {
	Package    string                   // package name
	Funcs      map[string]*ast.FuncDecl // func decls in file
	Identities map[string]gen.Elem      // processed from specs
	Directives []string                 // raw preprocessor directives
}

A FileSet represents all of the is the in-memory representation of a parsed file.

func File

func File(name string) (*FileSet, error)

Jump to

Keyboard shortcuts

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