1using System.Collections.Generic;
2using System.Threading.Tasks;
35 LinkedList<IElement> Elements =
new LinkedList<IElement>();
39 if (Condition is
null)
42 while (Condition.
Value)
47 if (Condition is
null)
64 LinkedList<IElement> Elements =
new LinkedList<IElement>();
68 if (Condition is
null)
71 while (Condition.
Value)
76 if (Condition is
null)
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 WHILE-DO statement.
virtual IElement Encapsulate(LinkedList< IElement > Elements)
Encapsulates the calculated elements.
VectorWhileDoDefinition(WhileDo Elements, int Start, int Length, Expression Expression)
Creates a vector using a WHILE-DO 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.
Basic interface for all types of elements.