1using System.Threading.Tasks;
61 if (Condition is
null)
64 while (Condition.
Value);
105 if (Condition is
null)
108 while (Condition.
Value);
A chunked list is a linked list of chunks of objects of type T .
void Add(T Item)
Adds an item to the collection.
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 RightOperand
Right operand.
ScriptNode LeftOperand
Left operand.
ScriptNode right
Right operand.
ScriptNode left
Left operand.
bool isAsync
If subtree is asynchroneous.
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 IElement Encapsulate(Array Elements, bool CanEncapsulateAsMatrix, ScriptNode Node)
Encapsulates the elements of a vector.
Creates a vector using a DO-WHILE statement.
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
VectorDoWhileDefinition(DoWhile Elements, int Start, int Length, Expression Expression)
Creates a vector using a DO-WHILE statement.
virtual IElement Encapsulate(ChunkedList< IElement > Elements)
Encapsulates the calculated elements.
Basic interface for all types of elements.