Expand description
This module contains the External Syntax Tree (EST)
Structs§
- Annotations
- Similar to
ast::Annotations
but allow annotation value to benull
- Builder
- Construct an
Expr
. - ExtFunc
Call - Serde JSON structure for an extension function call in the EST format
- Policy
- Serde JSON structure for policies and templates in the EST format
Note: Before attempting to build an
est::Policy
from acst::Policy
you must first ensure that the CST can be transformed into an AST. The CST-to-EST transformation does not duplicate all checks performed by the CST-to-AST transformation, so attempting to convert an invalid CST to an EST may succeed. - Policy
Set - Serde JSON structure for a policy set in the EST format
- Principal
OrResource IsConstraint - Serde JSON structure for an
is
scope constraint for principal/resource in the EST format - Template
Link - Serde JSON structure describing a template-linked policy
Enums§
- Action
Constraint - Serde JSON structure for an action scope constraint in the EST format
- Action
InConstraint - Serde JSON structure for an
in
scope constraint for action in the EST format - Clause
- Serde JSON structure for a
when
orunless
clause in the EST format - EqConstraint
- Serde JSON structure for a
==
scope constraint in the EST format - Expr
- Serde JSON structure for a Cedar expression in the EST format
- Expr
NoExt - Serde JSON structure for [any Cedar expression other than an extension function call] in the EST format
- From
Json Error - Errors arising while converting a policy from its JSON representation (aka EST) into an AST
- Linking
Error - Errors while linking a policy
- Pattern
Elem - Represent an element of a pattern literal
- Policy
SetFrom Json Error - Errors arising while converting a policy set from its JSON representation (aka EST) into an AST
- Principal
Constraint - Serde JSON structure for a principal scope constraint in the EST format
- Principal
OrResource InConstraint - Serde JSON structure for an
in
scope constraint for principal/resource in the EST format - Resource
Constraint - Serde JSON structure for a resource scope constraint in the EST format