Expr class sealed

Implementers
Available extensions

Constructors

Expr.add({required Expr left, required Expr right})
const
factory
Expr.and({required Expr left, required Expr right})
const
factory
Expr.contains({required Expr left, required Expr right})
const
factory
Expr.containsAll({required Expr left, required Expr right})
const
factory
Expr.containsAny({required Expr left, required Expr right})
const
factory
Expr.equals({required Expr left, required Expr right})
const
factory
Expr.extensionCall({required String fn, required List<Expr> args})
const
factory
Expr.fromJson(Map<String, Object?> json)
factory
Expr.fromProto(Expr proto)
factory
Expr.getAttribute({required Expr left, required String attr})
const
factory
Expr.greaterThan({required Expr left, required Expr right})
const
factory
Expr.greaterThanOrEquals({required Expr left, required Expr right})
const
factory
Expr.hasAttribute({required Expr left, required String attr})
const
factory
Expr.ifThenElse({required Expr cond, required Expr then, required Expr otherwise})
const
factory
Expr.in_({required Expr left, required Expr right})
const
factory
Expr.is_({required Expr left, required String entityType, Expr? inExpr})
const
factory
Expr.lessThan({required Expr left, required Expr right})
const
factory
Expr.lessThanOrEquals({required Expr left, required Expr right})
const
factory
Expr.like({required Expr left, required CedarPattern pattern})
const
factory
Expr.multiply({required Expr left, required Expr right})
const
factory
Expr.negate(Expr arg)
const
factory
Expr.not(Expr arg)
const
factory
Expr.notEquals({required Expr left, required Expr right})
const
factory
Expr.or({required Expr left, required Expr right})
const
factory
Expr.record(Map<String, Expr> attributes)
const
factory
Expr.set(List<Expr> expressions)
const
factory
Expr.slot(SlotId slotId)
const
factory
Expr.subtract({required Expr left, required Expr right})
const
factory
Expr.unknown(String name)
const
factory
Expr.value(Value value)
const
factory
Expr.variable(CedarVariable variable)
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
op Op
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accept<R>(ExprVisitor<R> visitor) → R
acceptWithArg<R, A>(ExprVisitorWithArg<R, A> visitor, A arg) → R
access(String attr) Expr

Available on Expr, provided by the Hierarchy extension

add(Expr rhs) Expr

Available on Expr, provided by the Arithmetic extension

and(Expr rhs) Expr

Available on Expr, provided by the Logical extension

contains(Expr rhs) Expr

Available on Expr, provided by the Hierarchy extension

containsAll(Expr rhs) Expr

Available on Expr, provided by the Hierarchy extension

containsAny(Expr rhs) Expr

Available on Expr, provided by the Hierarchy extension

equals(Expr rhs) Expr

Available on Expr, provided by the Comparison extension

greaterThan(Expr rhs) Expr

Available on Expr, provided by the Comparison extension

greaterThanOrEquals(Expr rhs) Expr

Available on Expr, provided by the Comparison extension

has(String attr) Expr

Available on Expr, provided by the Hierarchy extension

ifThenElse(Expr condition, Expr thenCedarExpr, Expr elseCedarExpr) Expr

Available on Expr, provided by the Logical extension

in_(Expr rhs) Expr

Available on Expr, provided by the Hierarchy extension

is_(String entityType) Expr

Available on Expr, provided by the Hierarchy extension

isIn(String entityType, Expr rhs) Expr

Available on Expr, provided by the Hierarchy extension

isInRange(Expr rhs) Expr

Available on Expr, provided by the IpAddressOperators extension

isIpv4() Expr

Available on Expr, provided by the IpAddressOperators extension

isIpv6() Expr

Available on Expr, provided by the IpAddressOperators extension

isLoopback() Expr

Available on Expr, provided by the IpAddressOperators extension

isMulticast() Expr

Available on Expr, provided by the IpAddressOperators extension

lessThan(Expr rhs) Expr

Available on Expr, provided by the Comparison extension

lessThanOrEquals(Expr rhs) Expr

Available on Expr, provided by the Comparison extension

like(CedarPattern pattern) Expr

Available on Expr, provided by the Comparison extension

multiply(Expr rhs) Expr

Available on Expr, provided by the Arithmetic extension

negate() Expr

Available on Expr, provided by the Arithmetic extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
not() Expr

Available on Expr, provided by the Logical extension

notEquals(Expr rhs) Expr

Available on Expr, provided by the Comparison extension

or(Expr rhs) Expr

Available on Expr, provided by the Logical extension

subtract(Expr rhs) Expr

Available on Expr, provided by the Arithmetic extension

toJson() Map<String, Object?>
toProto() → Expr
toString() String
A string representation of this object.
override
valueToJson() Object?

Operators

operator *(Expr rhs) → dynamic
operator +(Expr rhs) → dynamic
operator -(Expr rhs) → dynamic
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() → dynamic