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

Struct evalStateFactory

interpreter/interpreter.go:123–125  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected