MCPcopy Create free account
hub / github.com/nsf/gocode / make_decl_set_recursive

Function make_decl_set_recursive

autocompletecontext.go:627–636  ·  view source on GitHub ↗
(set map[string]*decl, scope *scope)

Source from the content-addressed store, hash-verified

625}
626
627func make_decl_set_recursive(set map[string]*decl, scope *scope) {
628 for name, ent := range scope.entities {
629 if _, ok := set[name]; !ok {
630 set[name] = ent
631 }
632 }
633 if scope.parent != nil {
634 make_decl_set_recursive(set, scope.parent)
635 }
636}
637
638func check_func_field_list(f *ast.FieldList) bool {
639 if f == nil {

Callers 1

make_decl_setMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected