astloader

package
v2.0.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	WorkDir     string
	RootPkgPath string
	CommentMaps *typeutil.Map
	Pkgs        []*packages.Package
	GraphTypes  *graph.Graph
	Enums       *typeutil.Map
}

type Loader

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

func NewLoader

func NewLoader(wd string, env []string, patterns []string) *Loader

func (*Loader) Env

func (l *Loader) Env() []string

func (*Loader) Patterns

func (l *Loader) Patterns() []string

func (*Loader) Process

func (l *Loader) Process() (data *Data, errs []error)

func (*Loader) WorkDir

func (l *Loader) WorkDir() string

Jump to

Keyboard shortcuts

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