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

Struct evalStateFactory

interpreter/interpreter.go:122–124  ·  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

120
121// evalStateFactory holds a reference to a factory function that produces an EvalState instance.
122type evalStateFactory struct {
123 factory func() EvalState
124}
125
126// InitState produces an EvalState instance and bundles it into the ExecutionFrame in a way which is
127// not visible to expression evaluation.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected