ast library

Extension Types

EntityId
Identifier portion of the EntityUid type.
EntityTypeName
Represents an entity type name. Consists of a namespace and the type name.

Properties

cedarSerializers → Serializers
final

Functions

action() ExprVariable
annotation(String key, String value) Annotations
boolean(bool value) Expr
context() ExprVariable
entityUid(String type, String id) Expr
extensionCall(String name, List<Expr> args) Expr
false_() Expr
forbid() Policy
ifThenElse(Expr condition, Expr thenCedarExpr, Expr elseCedarExpr) Expr
long(int value) Expr
not(Expr expr) Expr
pattern(List<Object?> components) CedarPattern
permit() Policy
principal() ExprVariable
record(Iterable<Pair> pairs) Expr
resource() ExprVariable
set(Iterable<Expr> value) Expr
string(String value) Expr
true_() Expr

Typedefs

Annotation = ({String key, String value})
Pair = (String, Expr)