- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for topDecls (0.15 sec)
-
src/go/doc/example.go
switch s := spec.(type) { case *ast.TypeSpec: topDecls[s.Name.Obj] = d case *ast.ValueSpec: for _, name := range s.Names { topDecls[name.Obj] = d } } } } } // Find unresolved identifiers and uses of top-level declarations. depDecls, unresolved := findDeclsAndUnresolved(body, topDecls, typMethods) // Remove predeclared identifiers from unresolved list.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 21.4K bytes - Viewed (0)