MCPcopy 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
52func (s *scope) replace_decl(name string, d *decl) {
53 s.entities[name] = d
54}
55
56func (s *scope) merge_decl(d *decl) {
57 decl, ok := s.entities[d.name]

Callers 2

process_package_dataMethod · 0.80
fixup_packagesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected