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

Function newVarFrom

bind/types.go:603–605  ·  view source on GitHub ↗
(p *Package, v *types.Var)

Source from the content-addressed store, hash-verified

601}
602
603func newVarFrom(p *Package, v *types.Var) (*Var, error) {
604 return newVar(p, v.Type(), v.Name(), v.Name(), p.getDoc("", v))
605}
606
607func getTypeString(t types.Type) string {
608 return types.TypeString(t, func(*types.Package) string { return " " })

Callers 3

addVarMethod · 0.85
newSignatureFromFunction · 0.85
newVarsFromFunction · 0.85

Calls 3

newVarFunction · 0.85
getDocMethod · 0.80
NameMethod · 0.45

Tested by

no test coverage detected