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

Method genConst

bind/gen_varconst.go:12–20  ·  view source on GitHub ↗
(c *Const)

Source from the content-addressed store, hash-verified

10)
11
12func (g *pyGen) genConst(c *Const) {
13 if isPyCompatVar(c.sym) != nil {
14 return
15 }
16 if c.sym.isSignature() {
17 return
18 }
19 g.genConstValue(c)
20}
21
22func (g *pyGen) genVar(v *Var) {
23 if isPyCompatVar(v.sym) != nil {

Callers 1

genAllMethod · 0.95

Calls 3

genConstValueMethod · 0.95
isPyCompatVarFunction · 0.85
isSignatureMethod · 0.80

Tested by

no test coverage detected