astcache

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

func LoadFromFiles

func LoadFromFiles(files []string) *Cache

func LoadFromProgram

func LoadFromProgram(prog *loader.Program) (*Cache, error)

func (Cache) GetAllValidFiles

func (c Cache) GetAllValidFiles() []*File

type File

type File struct {
	F    *ast.File
	Fset *token.FileSet
	Name string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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