This file contains functions to encode a concrete Env
into a SymEnv, which can also be thought of as an "inverse"
of concretization.
Equations
- (Cedar.Spec.Prim.bool b).symbolize = Cedar.SymCC.Term.prim (Cedar.SymCC.TermPrim.bool b)
- (Cedar.Spec.Prim.int i).symbolize = Cedar.SymCC.Term.prim (Cedar.SymCC.TermPrim.bitvec i.toBitVec)
- (Cedar.Spec.Prim.string s).symbolize = Cedar.SymCC.Term.prim (Cedar.SymCC.TermPrim.string s)
- (Cedar.Spec.Prim.entityUID euid).symbolize = Cedar.SymCC.Term.prim (Cedar.SymCC.TermPrim.entity euid)
Instances For
@[irreducible]
Encodes a Value as a Term assuming it is of a certain type
Equations
- One or more equations did not get rendered due to their size.
- (Cedar.Spec.Value.prim p).symbolize? ty = some p.symbolize
- (Cedar.Spec.Value.ext e).symbolize? ty = some (Cedar.SymCC.Term.prim (Cedar.SymCC.TermPrim.ext e))
- v.symbolize? ty = none
Instances For
@[irreducible]
def
Cedar.Spec.Value.symbolize?.symbolizeAttr?
(rec : Data.Map Attr Value)
(a : Attr)
(qty : Validation.QualifiedType)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
The variable ids here should match the variables in SymRequest.ofRequestType.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
Instances For
def
Cedar.Spec.Entities.symbolizeAttrs?
(entities : Entities)
(Γ : Validation.TypeEnv)
(ety : EntityType)
(entry : Validation.EntitySchemaEntry)
(uuf : SymCC.UUF)
:
Generates an interpretation of the attribute map.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Cedar.Spec.Entities.symbolizeAttrs?.udf
(entities : Entities)
(Γ : Validation.TypeEnv)
(ety : EntityType)
(entry : Validation.EntitySchemaEntry)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Cedar.Spec.Entities.symbolizeTags?
(entities : Entities)
(Γ : Validation.TypeEnv)
(ety : EntityType)
(entry : Validation.EntitySchemaEntry)
(uuf : SymCC.UUF)
:
Generates interpretations for the tag key and value maps.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Cedar.Spec.Entities.symbolizeTags?.keysUDF
(entities : Entities)
(Γ : Validation.TypeEnv)
(ety : EntityType)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Cedar.Spec.Entities.symbolizeTags?.valsUDF
(entities : Entities)
(Γ : Validation.TypeEnv)
(ety : EntityType)
(tagTy : Validation.CedarType)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Cedar.Spec.Entities.symbolizeAncs?
(entities : Entities)
(Γ : Validation.TypeEnv)
(ety : EntityType)
(entry : Validation.EntitySchemaEntry)
(uuf : SymCC.UUF)
:
Generates an interpretation for the ancestor map.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Cedar.Spec.Entities.symbolizeAncs?.udf
(entities : Entities)
(Γ : Validation.TypeEnv)
(ety ancTy : EntityType)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Cedar.Spec.Entities.symbolize?
(entities : Entities)
(Γ : Validation.TypeEnv)
(uuf : SymCC.UUF)
:
Symbolizes a concrete Entities into (part of) an Interpretation of SymEnv.ofEnv Γ.
The UUF ids here should match those in SymEntityData.ofStandardEntityType.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Converts an Env (assumed to be a well-typed instance of TypeEnv) into
an Interpretation of SymEnv.ofEnv Γ.
Equations
- One or more equations did not get rendered due to their size.