MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / resolve_all

Method resolve_all

cel/src/objects.rs:993–999  ·  view source on GitHub ↗
(expr: &[Expression], ctx: &Context)

Source from the content-addressed store, hash-verified

991
992impl Value {
993 pub fn resolve_all(expr: &[Expression], ctx: &Context) -> ResolveResult {
994 let mut res = Vec::with_capacity(expr.len());
995 for expr in expr {
996 res.push(Value::resolve(expr, ctx)?);
997 }
998 Ok(Value::List(res.into()))
999 }
1000
1001 pub fn resolve(expr: &Expression, ctx: &Context) -> ResolveResult {
1002 Self::resolve_val(expr, ctx)?.as_ref().try_into()

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected