MCPcopy Create free account
hub / github.com/cel-expr/cel-go / newConstantBlock

Function newConstantBlock

ext/bindings.go:298–301  ·  view source on GitHub ↗
(slots traits.Lister, expr interpreter.InterpretableV2)

Source from the content-addressed store, hash-verified

296}
297
298func newConstantBlock(slots traits.Lister, expr interpreter.InterpretableV2) interpreter.InterpretableV2 {
299 count := slots.Size().(types.Int)
300 return &constantBlock{slots: slots, slotCount: int(count), expr: expr}
301}
302
303type constantBlock struct {
304 slots traits.Lister

Callers 1

ProgramOptionsMethod · 0.85

Calls 1

SizeMethod · 0.65

Tested by

no test coverage detected