Evaluator class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
callFunction(
String functionName, List arguments) → dynamic -
callFunctionDeclaration(
FunctionDeclaration declaration, List arguments) → dynamic -
defineGlobalFunction(
String name, Function function) → void -
defineGlobalVariable(
String name, dynamic value) → void -
evaluate(
List< AstNode> nodes) → dynamic -
evaluateNode(
AstNode node) → dynamic -
getGlobalVariable(
String name) → dynamic -
getVariable(
String name) → dynamic -
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