2using System.Threading.Tasks;
13 private readonly
string functionName;
55 return Task.FromResult<
IElement>(
this);
Class managing a script expression.
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.
Function definition operator.
string FunctionName
Name of function
FunctionDefinition(string FunctionName, string[] ArgumentNames, ArgumentType[] ArgumentTypes, ScriptNode Body, int Start, int Length, Expression Expression)
Function definition operator.
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.
string[] ArgumentNames
Argument Names.
ArgumentType[] ArgumentTypes
Argument types.
Basic interface for all types of elements.
ArgumentType
Type of parameter used in a function definition or a lambda definition.