2using System.Collections.Generic;
3using System.Threading.Tasks;
85 LinkedList<IElement> Elements =
new LinkedList<IElement>();
105 if (d < 0 || d >
int.MaxValue || d != Math.Truncate(d))
115 LinkedList<IElement> Elements =
new LinkedList<IElement>();
Script runtime exception.
Class managing a script expression.
ScriptNode right
Right operand.
ScriptNode left
Left operand.
bool isAsync
If subtree is asynchroneous.
Base class for all unary operators performing operand null checks.
readonly bool nullCheck
If null should be returned if operand is null.
Base class for all nodes in a parsed script tree.
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 EvaluateIndex(IMatrix Matrix, IElement Index, ScriptNode Node)
Evaluates the column index operator.
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
static IElement EvaluateIndex(IElement Matrix, IElement Index, bool NullCheck, ScriptNode Node)
Evaluates the column index operator.
ColumnVector(ScriptNode Left, ScriptNode X, bool NullCheck, int Start, int Length, Expression Expression)
Column Vector operator.
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
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.
IElement Encapsulate(ICollection< IElement > Elements, ScriptNode Node)
Encapsulates a set of elements into a similar structure as that provided by the current element.
bool IsScalar
If the element represents a scalar value.
Basic interface for matrices.
IVector GetColumn(int Column)
Gets a column vector from the matrix.