1using System.Threading.Tasks;
66 if (
string.IsNullOrEmpty(Host))
70 object Value =
Arguments[2].AssociatedObjectValue;
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.
Script runtime exception.
Class managing a script expression.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
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 host setting with name Name to the value Value. Host defines the host.
SetHostSetting(ScriptNode Host, ScriptNode Name, ScriptNode Value, int Start, int Length, Expression Expression)
Sets a runtime host setting with name Name to the value Value. Host defines the host.
override string FunctionName
Name of the function
override bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
override async Task< IElement > EvaluateAsync(IElement[] Arguments, Variables Variables)
Evaluates the function.
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
override string[] DefaultArgumentNames
Default Argument names
Basic interface for all types of elements.