2using System.Runtime.ExceptionServices;
3using System.Threading.Tasks;
123 for (i = 0; i < c; i++)
146 Exception LastException =
null;
148 foreach (
ScriptNode Argument
in this.Arguments)
164 if (!(LastException is
null))
165 ExceptionDispatchInfo.Capture(LastException).Throw();
177 Exception LastException =
null;
179 foreach (
ScriptNode Argument
in this.Arguments)
195 if (!(LastException is
null))
196 ExceptionDispatchInfo.Capture(LastException).Throw();
Coalesce(Expression, ...)
Coalesce(ScriptNode Argument1, ScriptNode Argument2, ScriptNode Argument3, int Start, int Length, Expression Expression)
Coalesce(Exp1,Exp2,Exp3)
override string[] DefaultArgumentNames
Default Argument names
Coalesce(ScriptNode Argument1, ScriptNode Argument2, ScriptNode Argument3, ScriptNode Argument4, ScriptNode Argument5, int Start, int Length, Expression Expression)
Coalesce(Exp1,Exp2,Exp3,Exp4,Exp5)
Coalesce(ScriptNode Argument1, int Start, int Length, Expression Expression)
Coalesce(Exp1)
Coalesce(ScriptNode[] Arguments, int Start, int Length, Expression Expression)
Coalesce(Expression, ...)
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
Coalesce(ScriptNode Argument1, ScriptNode Argument2, ScriptNode Argument3, ScriptNode Argument4, int Start, int Length, Expression Expression)
Coalesce(Exp1,Exp2,Exp3,Exp4)
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
Coalesce(ScriptNode Argument1, ScriptNode Argument2, ScriptNode Argument3, ScriptNode Argument4, ScriptNode Argument5, ScriptNode Argument6, int Start, int Length, Expression Expression)
Coalesce(Exp1,Exp2,Exp3,Exp4,Exp5,Exp6)
override Task< IElement > EvaluateAsync(IElement[] Arguments, Variables Variables)
Evaluates the function.
override string FunctionName
Name of the function
Coalesce(ScriptNode Argument1, ScriptNode Argument2, int Start, int Length, Expression Expression)
Coalesce(Exp1,Exp2)
Script runtime exception.
IElement ReturnValue
Return value.
Script runtime exception.
Class managing a script expression.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
Expression Expression
Expression of which the node is a part.
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 ...
Basic interface for all types of elements.
ArgumentType
Type of parameter used in a function definition or a lambda definition.