1using System.Threading.Tasks;
16 private readonly
string variableName;
53 int Direction = S.Compare(From, To);
62 if (S.Compare(Step, From.Zero) <= 0)
65 else if (Direction > 0)
67 if (S.Compare(Step, From.Zero) >= 0)
76 Step = From.One.Negate();
113 Done = S.Compare(From, To) < 0;
115 Done = S.Compare(From, To) > 0;
143 int Direction = S.Compare(From, To);
152 if (S.Compare(Step, From.Zero) <= 0)
155 else if (Direction > 0)
157 if (S.Compare(Step, From.Zero) >= 0)
166 Step = From.One.Negate();
203 Done = S.Compare(From, To) < 0;
205 Done = S.Compare(From, To) > 0;
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 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.
Script runtime exception.
Class managing a script expression.
ScriptNode RightOperand
Right operand.
ScriptNode LeftOperand
Left operand.
ScriptNode right
Right operand.
ScriptNode left
Left operand.
bool isAsync
If subtree is asynchroneous.
Base class for all quaternary operators.
ScriptNode Middle2Operand
Second middle operand.
ScriptNode middle2
Second Middle operand.
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 ...
ScriptNode middle
Middle operand.
ScriptNode MiddleOperand
Middle operand.
string VariableName
Variable Name.
static IElement Encapsulate(Array Elements, bool CanEncapsulateAsMatrix, ScriptNode Node)
Encapsulates the elements of a vector.
Creates a vector using a FOR statement.
virtual IElement Encapsulate(ChunkedList< IElement > Elements)
Encapsulates the calculated elements.
VectorForDefinition(For Elements, int Start, int Length, Expression Expression)
Creates a vector using a FOR 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.
string VariableName
Variable Name.
Basic interface for all types of commutative ring with identity elements.
Basic interface for all types of elements.
Basic interface for ordered sets.