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

Method PopAndPush

eval/eval/evaluator_stack.h:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 std::conjunction_v<std::is_convertible<V, cel::Value>,
224 std::is_convertible<A, AttributeTrail>>>>
225 void PopAndPush(V&& value, A&& attribute) {
226 ABSL_DCHECK(!empty());
227
228 *(values_ - 1) = std::forward<V>(value);
229 *(attributes_ - 1) = std::forward<A>(attribute);
230 }
231
232 // Equivalent to `PopAndPush(1, ...)`.
233 template <typename V,

Callers 15

EvaluateMethod · 0.80
EvaluateMethod · 0.80
TESTFunction · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
PerformTestOnlySelectMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80

Calls 1

emptyFunction · 0.50

Tested by 1

TESTFunction · 0.64