type go/types.Info
23 uses
go/types (current package)
api.go#L207: type Info struct {
api.go#L332: func (info *Info) recordTypes() bool {
api.go#L338: func (info *Info) TypeOf(e ast.Expr) Type {
api.go#L357: func (info *Info) ObjectOf(id *ast.Ident) Object {
api.go#L370: func (info *Info) PkgNameOf(imp *ast.ImportSpec) *PkgName {
api.go#L482: func (conf *Config) Check(path string, fset *token.FileSet, files []*ast.File, info *Info) (*Package, error) {
check.go#L159: *Info
check.go#L292: func NewChecker(conf *Config, fset *token.FileSet, pkg *Package, info *Info) *Checker {
check.go#L300: info = new(Info)
eval.go#L31: info := &Info{
eval.go#L56: func CheckExpr(fset *token.FileSet, pkg *Package, pos token.Pos, expr ast.Expr, info *Info) (err error) {
golang.org/x/tools/go/packages
packages.go#L524: TypesInfo *types.Info `json:"-"`
packages.go#L1034: lpkg.TypesInfo = new(types.Info)
packages.go#L1186: lpkg.TypesInfo = &types.Info{
golang.org/x/tools/go/types/typeutil
callee.go#L20: func Callee(info *types.Info, call *ast.CallExpr) types.Object {
callee.go#L36: func StaticCallee(info *types.Info, call *ast.CallExpr) *types.Func {
callee.go#L52: func usedIdent(info *types.Info, e ast.Expr) *ast.Ident {
golang.org/x/tools/internal/typesinternal
classify_call.go#L64: func ClassifyCall(info *types.Info, call *ast.CallExpr) CallKind {
classify_call.go#L129: func UsedIdent(info *types.Info, e ast.Expr) *ast.Ident {
classify_call.go#L134: func usedIdent(info *types.Info, e ast.Expr) *ast.Ident
types.go#L144: func NewTypesInfo() *types.Info {
types.go#L145: return &types.Info{
golang.org/x/tools/internal/versions
types.go#L15: func FileVersion(info *types.Info, file *ast.File) string {