MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / Trace

Function Trace

runtime/runtime.h:138–145  ·  view source on GitHub ↗

Evaluate the Program plan with a Listener. The given callback will be invoked after evaluating any program step that corresponds to an AST node in the planned CEL expression. If the callback returns a non-ok status, evaluation stops and the Status is forwarded as the result of the EvaluateWithCallback call.

Source from the content-addressed store, hash-verified

136 // If the callback returns a non-ok status, evaluation stops and the Status
137 // is forwarded as the result of the EvaluateWithCallback call.
138 absl::StatusOr<Value> Trace(
139 google::protobuf::Arena* absl_nonnull arena ABSL_ATTRIBUTE_LIFETIME_BOUND,
140 const ActivationInterface& activation,
141 EvaluationListener evaluation_listener,
142 const EvaluateOptions& options = {}) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
143 return TraceImpl(activation, std::move(evaluation_listener), arena,
144 options);
145 }
146
147 ABSL_DEPRECATED("Use the EvaluateOptions overload instead.")
148 absl::StatusOr<Value> Trace(

Callers 3

TraceMethod · 0.85
TraceMethod · 0.85
EvaluateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected