1using System.Collections.Generic;
2using System.Threading.Tasks;
62 Dictionary<string, IElement> AlreadyFound =
new Dictionary<string, IElement>();
67 foreach (KeyValuePair<string, IElement> P
in AlreadyFound)
Script runtime exception.
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.
virtual PatternMatchResult PatternMatch(IElement CheckAgainst, Dictionary< string, IElement > AlreadyFound)
Performs a pattern match operation.
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 ...
PatternMatch(ScriptNode Left, ScriptNode Right, int Start, int Length, Expression Expression)
Assignment operator.
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
static void Match(ScriptNode Branch, IElement Value, Variables Variables, ScriptNode Node)
Performs a pattern-matching operation
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
Basic interface for all types of elements.
PatternMatchResult
Status result of a pattern matching operation.