Module cedar_policy_core::parser::cst
source · Expand description
Concrete Syntax Tree def used as parser first pass
Structs§
- Additive arithmetic
- Logical And
- Annotations: application-defined data, as a key-value pair
- Conditions: powerful extensions to a policy
- The main computation aspect of a policy, outer
- Members on a primary item, accessed with ‘.’
- Multiplicative arithmetic
- UID and Type of named items
- Logical Or
- The set of policy statements that forms an authorization policy
- Policy statement, the main building block of the language
- Elements of records:
field_from_expr: data_from_expr
- Elements in a ref:
field: data
- Unary negations
- The variable part of one of the main item of a policy
Enums§
- Allowed Ops for Add
- The main computation aspect of a policy, inner
- Any identifier, including special ones
- Raw values
- Forms of members and their accessors
- Allowed Ops for Mult
- Allowed Ops for Neg
- Low-level elements like literals
- Reference to an entity
- The operation involved in a comparision
- Comparison relations
- Template Slots
- Literal strings