1using System.Threading.Tasks;
77 string ResourceName = S.Value;
Static class managing the runtime environment of the IoT Gateway.
static async Task< bool > AddScriptResource(string ResourceName, Expression Expression, string ReferenceFileName)
Adds a script resource to the web server hosted by the gateway.
Defines a script resource on the web server hosted by the gateway. Script resources are persisted,...
override async Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
override string[] DefaultArgumentNames
Default Argument names
ScriptResource(ScriptNode Resource, ScriptNode Exp, int Start, int Length, Expression Expression)
Defines a script resource on the web server hosted by the gateway. Script resources are persisted,...
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 IElement Evaluate(IElement Argument1, IElement Argument2, Variables Variables)
Evaluates the function.
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
Script runtime exception.
Class managing a script expression.
Base class for funcions of one variable.
ScriptNode Argument2
Function argument 2.
ScriptNode Argument1
Function argument 1.
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.
virtual bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
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 ...
static readonly BooleanValue False
Constant false value.
Basic interface for all types of elements.