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

Function NewConstValue

interpreter/interpretable.go:314–319  ·  view source on GitHub ↗

NewConstValue creates a new constant valued Interpretable.

(id int64, val ref.Val)

Source from the content-addressed store, hash-verified

312
313// NewConstValue creates a new constant valued Interpretable.
314func NewConstValue(id int64, val ref.Val) InterpretableConst {
315 return &evalConst{
316 id: id,
317 val: val,
318 }
319}
320
321type evalConst struct {
322 id int64

Calls

no outgoing calls