inspector

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeniedList

type DeniedList map[string][]string

func DefaultDeniedList

func DefaultDeniedList() DeniedList

type Inspector

type Inspector struct {
	DeniedList DeniedList
}

func (*Inspector) Inspect

func (i *Inspector) Inspect(filename string) (*token.FileSet, []*ast.CallExpr, error)

Inspect returns the ast.FileSet and all matched CallExpr nodes in given source.

Jump to

Keyboard shortcuts

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