parse

package
v0.79.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Debug = false
View Source
var PrintAST = false

Functions

func DevInfo

func DevInfo(format string, args ...interface{})

Types

type LType

type LType struct {
	PkgName string // package name (short name)
	Name    string // name of source code type.
}

func (LType) String

func (t LType) String() string

type PackageGroup

type PackageGroup struct {
	Pkg   *types.Package
	Files []*ast.File
}

type PackageStore

type PackageStore map[string]PackageGroup

func Parse

func Parse(paths []string) (PackageStore, error)

func (PackageStore) FindNamed

func (st PackageStore) FindNamed(name LType) *types.Named

func (PackageStore) FindTags

func (st PackageStore) FindTags(name LType) Tags

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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