1using System.Threading.Tasks;
36 if (Left.GetType() != Right.GetType())
38 else if (Left.Equals(Right))
57 if (Left.GetType() != Right.GetType())
59 else if (Left.Equals(Right))
Class managing a script expression.
Base class for all binary operators.
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 ...
static readonly BooleanValue False
Constant false value.
static readonly BooleanValue True
Constant true value.
IdenticalTo(ScriptNode Left, ScriptNode Right, int Start, int Length, Expression Expression)
Identical To.
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
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.