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

Function newConstantBlock

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

Source from the content-addressed store, hash-verified

302}
303
304func newConstantBlock(slots traits.Lister, expr interpreter.InterpretableV2) interpreter.InterpretableV2 {
305 count := slots.Size().(types.Int)
306 return &constantBlock{slots: slots, slotCount: int(count), expr: expr}
307}
308
309type constantBlock struct {
310 slots traits.Lister

Callers 1

ProgramOptionsMethod · 0.85

Calls 1

SizeMethod · 0.65

Tested by

no test coverage detected