1using System.Threading.Tasks;
38 if (Condition is
null)
41 while (Condition.
Value)
64 if (Condition is
null)
85 if (Condition is
null)
88 while (Condition.
Value)
111 if (Condition is
null)
Exception thrown if condition does not evaluate to a Boolean value.
Exception used to break a loop.
IElement LoopValue
Value to include in the loop's result.
bool HasLoopValue
If LoopValue contains a value that should be included in the loop's result.
Exception used to continue a loop.
Class managing a script expression.
Base class for all binary operators.
ScriptNode right
Right operand.
ScriptNode left
Left operand.
bool isAsync
If subtree is asynchroneous.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
int Start
Start position in script expression.
abstract IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection. This method should be ...
virtual Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection. This method should be ...
static readonly ObjectValue Null
Null value.
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
WhileDo(ScriptNode Condition, ScriptNode Statement, int Start, int Length, Expression Expression)
WHILE-DO operator.
Basic interface for all types of elements.