1using System.Collections.Generic;
2using System.Threading.Tasks;
35 LinkedList<IElement> Elements =
new LinkedList<IElement>();
43 if (Condition is
null)
46 while (Condition.
Value);
61 LinkedList<IElement> Elements =
new LinkedList<IElement>();
69 if (Condition is
null)
72 while (Condition.
Value);
Script runtime exception.
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.
virtual IElement Encapsulate(LinkedList< IElement > Elements)
Encapsulates the calculated elements.
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.
Basic interface for all types of elements.