2using System.Collections.Generic;
3using System.Threading.Tasks;
90 LinkedList<IElement> Result =
new LinkedList<IElement>();
109 LinkedList<IElement> Result =
new LinkedList<IElement>();
118 return base.Evaluate(Left, Right,
Variables);
Class managing a script expression.
Base class for binary double operators.
Base class for binary element-wise double operators.
BinaryElementWiseDoubleOperator(ScriptNode Left, ScriptNode Right, int Start, int Length, Expression Expression)
Base class for binary element-wise double operators.
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
override IElement Evaluate(IElement Left, IElement Right, Variables Variables)
Evaluates the operator.
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
ScriptNode right
Right operand.
ScriptNode left
Left operand.
bool isAsync
If subtree is asynchroneous.
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 ...
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.
ISet AssociatedSet
Associated Set.
Basic interface for all types of left modules.
IRing ScalarRing
Scalar ring.
Basic interface for all types of right modules.
IRing ScalarRing
Scalar ring.
Basic interface for all types of sets.
bool Contains(IElement Element)
Checks if the set contains an element.