1using System.Threading.Tasks;
44 return Task.FromResult(this.
Evaluate(Variables));
48 public override bool Equals(
object obj)
56 return "*".GetHashCode();
59 #region IIterativeEvaluation
Class managing a script expression.
static IElement Encapsulate(object Value)
Encapsulates an object.
Base class for leaf nodes in a parsed script tree.
int Length
Length of expression covered by node.
int Start
Start position in script expression.
static readonly ObjectValue Null
Null value.
Wildcard (*) iterative evaluator
Represents the Wildcard symbol *
override int GetHashCode()
bool CanEvaluateIteratively
If the node can be evaluated iteratively.
override bool Equals(object obj)
Wildcard(int Start, int Length, Expression Expression)
Represents the Wildcard symbol *
IIterativeEvaluator CreateEvaluator()
Creates an iterative evaluator for the node.
override Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
Basic interface for all types of elements.
A function that can be iteratively evaluated, meaning it can be iteratively computed one element at a...
An interative evaluator of a function supporting the IIterativeEvaluation interface.