Environment class
Constructors
- Environment.standard()
- Creates a program environment configured with the standard library of CEL functions and macros. The Env value returned can parse and check any CEL program which builds upon the core features documented in the CEL specification. See https://github.com/google/cel-go/blob/9e14003d8a7a856b250c5e6514647dee7d4fd9a2/cel/env.go#L127. In cel-dart, it is not entirely standard as we do not support timestamp protos nor macros.
Properties
- adapter → TypeAdapter
-
final
-
declarations
→ List<
Declaration> -
This is actually not useful yet. See https://github.com/atn832/cel-dart/blob/01b30af236478bbb181a37c60df8405ecfc87052/README.md?plain=1#L245.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
programOptions
→ List<
ProgramOption> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compile(
String text) → Ast -
makeProgram(
Ast ast) → Program -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited