Function evaluate_ast_with_context

Source
pub fn evaluate_ast_with_context(
    definition: String,
    host: Arc<dyn HostContext>,
) -> String
Expand description

Evaluate a CEL expression with the given AST @param ast The AST Execution Context, serialized as JSON. This defines the AST, the variables, and the platform properties. @param host The host context to use for resolving properties @return The result of the evaluation, either “true” or “false”