sourcepkg

package
v0.0.0-...-0f9c587 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SourcePkg

type SourcePkg struct {
	ID            string                   `json:"id"`
	Name          string                   `json:"name"`
	Path          string                   `json:"path"`
	CallableCount int64                    `json:"callableCount"`
	AbstractCount int64                    `json:"abstractCount"`
	Files         []*sourcefile.SourceFile `json:"files"`
	Deps          []string                 `json:"deps"`
	// contains filtered or unexported fields
}

func NewSourcePkg

func NewSourcePkg(module string, dir string, fset *token.FileSet) (*SourcePkg, error)

func (*SourcePkg) ParseFiles

func (p *SourcePkg) ParseFiles() error

Jump to

Keyboard shortcuts

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