Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/goplus/py
/ AsCode
Function
AsCode
code.go:55–60 ·
view source on GitHub ↗
(o *Base)
Source
from the content-addressed store, hash-verified
53
}
54
55
func
AsCode(o *Base) (v *Code, ok bool) {
56
if
ok = C.codeCheck(o.c()) != 0; ok {
57
v = newCode(o.c())
58
}
59
return
60
}
61
62
func
Compile(text, filename string, start StartToken) (*Code, error) {
63
t := C.CString(text)
Callers
nothing calls this directly
Calls
2
newCode
Function · 0.85
c
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…