Module evaluator

Module evaluator 

Source
Expand description

This module contains the Cedar evaluator.

Modules§

evaluation_errors
Error subtypes for EvaluationError

Structs§

Evaluator
Evaluator object.
RestrictedEvaluator
Evaluator for “restricted” expressions. See notes on RestrictedExpr.

Enums§

EvaluationError
Enumeration of the possible errors that can occur during evaluation

Functions§

binary_arith
Evaluate binary arithmetic operations (i.e., BinaryOp::Add, BinaryOp::Sub, and BinaryOp::Mul)
binary_relation
Evaluate binary relations (i.e., BinaryOp::Eq, BinaryOp::Less, and BinaryOp::LessEq)
unary_app
Apply a UnaryOp to arg of type Value