3using System.Threading.Tasks;
17 private readonly
string variableName;
47 if (!(S is ICollection<IElement> Elements))
50 Elements = Vector.VectorElements;
55 foreach (
object Item
in Enumerable)
107 if (!(S is ICollection<IElement> Elements))
110 Elements = Vector.VectorElements;
115 foreach (
object Item
in Enumerable)
A chunked list is a linked list of chunks of objects of type T .
void Add(T Item)
Adds an item to the collection.
Base class for all types of elements.
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 ...
string VariableName
Variable Name.
static IElement Encapsulate(Array Elements, bool CanEncapsulateAsMatrix, ScriptNode Node)
Encapsulates the elements of a vector.
Creates a vector using a FOREACH statement.
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
string VariableName
Variable Name.
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
virtual IElement Encapsulate(ChunkedList< IElement > Elements)
Encapsulates the calculated elements.
VectorForEachDefinition(ForEach Elements, int Start, int Length, Expression Expression)
Creates a vector using a FOREACH statement.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
ICollection< IElement > ChildElements
An enumeration of child elements. If the element is a scalar, this property will return null.
bool IsScalar
If the element represents a scalar value.
Basic interface for vectors.