ArgsExpressionEvaluator class
Modification added to ExpressionEvaluator
which integrates
JsonWidgetRegistry variables and functions.
Constructors
- ArgsExpressionEvaluator(JsonWidgetRegistry registry, bool calculateListenVariables)
Properties
- calculateListenVariables → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
listenVariables
→ Set<
String> -
no setter
-
memberAccessors
→ List<
MemberAccessor> -
finalinherited
- registry → JsonWidgetRegistry
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
eval(
Expression expression, Map< String, dynamic> context, {void onValueAssigned(String key, dynamic value)?}) → dynamic -
inherited
-
evalBinaryExpression(
BinaryExpression expression, Map< String, dynamic> context, {void onValueAssigned(String key, dynamic value)?}) → dynamic -
inherited
-
evalCallExpression(
CallExpression expression, Map< String, dynamic> context) → dynamic -
evalConditionalExpression(
ConditionalExpression expression, Map< String, dynamic> context) → dynamic -
inherited
-
evalIndexExpression(
IndexExpression expression, Map< String, dynamic> context, {bool nullable = false}) → dynamic -
evalLiteral(
Literal literal, Map< String, dynamic> context) → dynamic -
inherited
-
evalMemberExpression(
MemberExpression expression, Map< String, dynamic> context, {bool nullable = false}) → dynamic -
evalThis(
ThisExpression expression, Map< String, dynamic> context) → dynamic -
inherited
-
evaluate(
Expression expression) → dynamic -
evalUnaryExpression(
UnaryExpression expression, Map< String, dynamic> context) → dynamic -
inherited
-
evalVariable(
Variable variable, Map< String, dynamic> context) → dynamic -
getMember(
dynamic obj, String member, {bool nullable = false}) → dynamic -
inherited
-
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