Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/expr-lang/expr
/ binaryNode
Function
binaryNode
test/gen/gen.go:230–232 ·
view source on GitHub ↗
(depth int)
Source
from the content-addressed store, hash-verified
228
}
229
230
func
binaryNode(depth int) string {
231
return
fmt.Sprintf(
"%v %v %v"
, node(depth-1), random(operators), node(depth-1))
232
}
233
234
func
methodNode(depth int) string {
235
dot :=
"."
Callers
nothing calls this directly
Calls
3
node
Function · 0.85
random
Function · 0.85
Sprintf
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…