1using System.Threading.Tasks;
68 if (
string.IsNullOrEmpty(User))
72 object DefaultValue =
Arguments[2].AssociatedObjectValue;
Static class managing persistent user settings. User settings default to runtime settings if user-spe...
static async Task< string > GetAsync(string User, string Key, string DefaultValue)
Gets a string-valued setting.
Script runtime exception.
Class managing a script expression.
static IElement Encapsulate(object Value)
Encapsulates an object.
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 async Task< string > GetUser(object Value, ScriptNode Node)
Gets the host name from a value.
Gets a runtime hgost setting with name Name. User defines the user. If a user setting is not found,...
override bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
override string[] DefaultArgumentNames
Default Argument names
override async Task< IElement > EvaluateAsync(IElement[] Arguments, Variables Variables)
Evaluates the function.
GetUserSetting(ScriptNode User, ScriptNode Name, ScriptNode DefaultValue, int Start, int Length, Expression Expression)
Gets a runtime hgost setting with name Name. User defines the user. If a user setting is not found,...
override string FunctionName
Name of the function
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
Basic interface for all types of elements.