analysisutil

package
v0.0.0-...-a447e2d Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjectOf

func ObjectOf(pass *analysis.Pass, pkg, name string) types.Object

copied and modified from https://github.com/gostaticanalysis/analysisutil/blob/ccfdecf515f47e636ba164ce0e5f26810eaf8747/types.go#L18 ObjectOf returns types.Object by given name in the package.

func TypeOf

func TypeOf(pass *analysis.Pass, pkg, name string) types.Type

copied and modified from https://github.com/gostaticanalysis/analysisutil/blob/ccfdecf515f47e636ba164ce0e5f26810eaf8747/types.go#L31 TypeOf returns types.Type by given name in the package. TypeOf accepts pointer types such as *T.

Types

This section is empty.

Jump to

Keyboard shortcuts

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