MCPcopy Index your code
hub / github.com/expr-lang/expr / pipeNode

Function pipeNode

test/gen/gen.go:271–280  ·  view source on GitHub ↗
(depth int)

Source from the content-addressed store, hash-verified

269}
270
271func pipeNode(depth int) string {
272 a := node(depth - 1)
273 b := oneOf(list[fn]{
274 {callNode, 2},
275 {builtinNode, 5},
276 {predicateNode, 10},
277 })(depth - 1)
278
279 return fmt.Sprintf("%v | %v", a, b)
280}
281
282func builtinNode(depth int) string {
283 var args []string

Callers

nothing calls this directly

Calls 3

nodeFunction · 0.85
oneOfFunction · 0.85
SprintfMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…