14 private double doubleProduct = 0;
15 private bool isDouble =
true;
32 this.doubleProduct = 0;
43 this.doubleProduct *= D.Value;
44 else if (this.product is
null)
46 this.isDouble =
false;
48 if (this.product is
null)
Base class for all types of elements.
Product(v) iterative evaluator
override void RestartEvaluator()
Restarts the evaluator.
ProductEvaluator(Product Node)
Product(v) iterative evaluator
override void AggregateElement(IElement Element)
Aggregates one new element.
override IElement GetAggregatedResult()
Gets the aggregated result.
An interative evaluator of a function or operation defined by a single ScriptNode.
ScriptNode Node
Node being iteratively evaluated.
static readonly ObjectValue Null
Null value.
static IElement EvaluateMultiplication(IElement Left, IElement Right, ScriptNode Node)
Multiplies two operands.
Basic interface for all types of elements.