sourcefile

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 SourceFile

type SourceFile struct {
	ID        string               `json:"id"`
	Name      string               `json:"name"`
	Path      string               `json:"path"`
	Pkg       string               `json:"pkg"`
	Callables []*node.Callable     `json:"callables"`
	Abstracts []*node.Abstract     `json:"abstracts"`
	Calls     []callhierarchy.Call `json:"calls"`
	Deps      []string             `json:"deps"`
	// contains filtered or unexported fields
}

func NewSourceFile

func NewSourceFile(pkg string, path string, file *ast.File, fset *token.FileSet) *SourceFile

func (*SourceFile) EnumerateAbstracts

func (sf *SourceFile) EnumerateAbstracts()

func (*SourceFile) EnumerateCallHierarchy

func (sf *SourceFile) EnumerateCallHierarchy()

func (*SourceFile) EnumerateCallables

func (sf *SourceFile) EnumerateCallables()

Jump to

Keyboard shortcuts

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