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

Struct evalStateFactory

interpreter/interpreter.go:117–119  ·  view source on GitHub ↗

evalStateFactory holds a reference to a factory function that produces an EvalState instance.

Source from the content-addressed store, hash-verified

115
116// evalStateFactory holds a reference to a factory function that produces an EvalState instance.
117type evalStateFactory struct {
118 factory func() EvalState
119}
120
121// InitState produces an EvalState instance and bundles it into the ExecutionFrame in a way which is
122// not visible to expression evaluation.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected