parse

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 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 ByName added in v0.4.0

type ByName []TaskFunction

func (ByName) Len added in v0.4.0

func (fs ByName) Len() int

func (ByName) Less added in v0.4.0

func (fs ByName) Less(i, j int) bool

func (ByName) Swap added in v0.4.0

func (fs ByName) Swap(i, j int)

type PkgInfo

type PkgInfo struct {
	AstPkg  *ast.Package
	DocPkg  *doc.Package
	Imports map[string]string
}

func Package

func Package(path string, files []string) (*PkgInfo, error)

type TaskFunction

type TaskFunction struct {
	Name    string
	Doc     string
	Context bool
	OutVars bool
}

func TaskFunctions

func TaskFunctions(path string, info *PkgInfo) ([]TaskFunction, error)

Jump to

Keyboard shortcuts

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