astloader

package
v2.0.0-rc9 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 11 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
	Module        *packages.Module
	CommentFuncs  map[string][]string
	CommentFields map[string]map[string]string
	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