ast

package
v3.0.28 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentFields

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

func (*CommentFields) Add

func (c *CommentFields) Add(t types.Type, comments map[string]string)

func (*CommentFields) GetByFieldName

func (c *CommentFields) GetByFieldName(t types.Type, name string) string

type Loader

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

func NewLoader

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

func (*Loader) CommentFields

func (l *Loader) CommentFields() *CommentFields

func (*Loader) CommentFuncs

func (l *Loader) CommentFuncs() map[string][]string

func (*Loader) Env

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

func (*Loader) Module

func (l *Loader) Module() *packages.Module

func (*Loader) Patterns

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

func (*Loader) Pkgs

func (l *Loader) Pkgs() []*packages.Package

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