Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nsf/gocode
/ replace_decl
Method
replace_decl
scope.go:52–54 ·
view source on GitHub ↗
(name string, d *decl)
Source
from the content-addressed store, hash-verified
50
}
51
52
func
(s *scope) replace_decl(name string, d *decl) {
53
s.entities[name] = d
54
}
55
56
func
(s *scope) merge_decl(d *decl) {
57
decl, ok := s.entities[d.name]
Callers
2
process_package_data
Method · 0.80
fixup_packages
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected