13 private ulong integerResult = 0;
14 private bool integerSigned =
false;
15 private bool booleanResult =
false;
16 private bool isBoolean =
false;
17 private bool isInteger =
false;
18 private bool first =
true;
34 this.integerResult = 0;
35 this.booleanResult =
false;
36 this.isInteger =
false;
37 this.isBoolean =
false;
53 this.isBoolean =
true;
54 this.booleanResult = B.Value;
58 this.isInteger =
true;
59 this.integerResult = Operators.Binary.And.ToUInt64(D.Value,
60 out
this.integerSigned,
this.Node);
65 else if (this.isBoolean)
68 this.booleanResult &= B.Value;
72 else if (this.isInteger)
76 ulong Value = Operators.Binary.And.ToUInt64(D.Value, out
bool Signed,
this.Node);
78 this.integerResult &= Value;
79 this.integerSigned &= Signed;
95 else if (this.isBoolean)
97 else if (this.isInteger)
99 if (this.integerSigned)
Base class for all types of elements.
Script runtime exception.
And(v) iterative evaluator
override void RestartEvaluator()
Restarts the evaluator.
override void AggregateElement(IElement Element)
Aggregates one new element.
override IElement GetAggregatedResult()
Gets the aggregated result.
AndEvaluator(And Node)
And(v) iterative evaluator
An interative evaluator of a function or operation defined by a single ScriptNode.
ScriptNode Node
Node being iteratively evaluated.
static readonly BooleanValue False
Constant false value.
static readonly ObjectValue Null
Null value.
Basic interface for all types of elements.