MCPcopy Index your code
hub / github.com/go-python/gopy / addVar

Method addVar

bind/package.go:584–589  ·  view source on GitHub ↗
(obj *types.Var)

Source from the content-addressed store, hash-verified

582}
583
584func (p *Package) addVar(obj *types.Var) {
585 nv, err := newVarFrom(p, obj)
586 if err == nil {
587 p.vars = append(p.vars, nv)
588 }
589}
590
591func (p *Package) addStruct(s *Struct) {
592 p.structs = append(p.structs, s)

Callers 1

processMethod · 0.95

Calls 1

newVarFromFunction · 0.85

Tested by

no test coverage detected