1using System.Threading.Tasks;
80 object Value =
Arguments[i].AssociatedObjectValue;
83 if (
string.IsNullOrEmpty(Host))
Static class managing persistent host settings. Host settings default to runtime settings if host-spe...
static async Task< bool > SetAsync(string Host, string Key, string Value)
Sets a string-valued setting.
Static class managing persistent settings.
static async Task< bool > SetAsync(string Key, string Value)
Sets a string-valued setting.
Class managing a script expression.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
static readonly ArgumentType[] argumentTypes2Scalar
Two scalar parameters.
static readonly ArgumentType[] argumentTypes3Scalar
Three scalar parameters.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
override string ToString()
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
Gets a runtime setting with name Name. If Host is provided, the function first tries to get the corre...
static string GetHost(object Value, ScriptNode Node)
Gets the host name from a value.
Sets a runtime setting with name Name to the value Value. If Host is provided, the corresponding runt...
override bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
SetSetting(ScriptNode Host, ScriptNode Name, ScriptNode Value, int Start, int Length, Expression Expression)
Sets a runtime setting with name Name to the value Value. If Host is provided, the corresponding runt...
override string[] DefaultArgumentNames
Default Argument names
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
SetSetting(ScriptNode Name, ScriptNode Value, int Start, int Length, Expression Expression)
Sets a runtime setting with name Name to the value Value. If Host is provided, the corresponding runt...
override async Task< IElement > EvaluateAsync(IElement[] Arguments, Variables Variables)
Evaluates the function.
override string FunctionName
Name of the function
Basic interface for all types of elements.