82 if (TabIDs.Length > 0)
84 object Data =
Arguments[c - 1].AssociatedObjectValue;
Helps with common JSON-related tasks.
static string Encode(string s)
Encodes a string for inclusion in JSON.
The ClientEvents class allows applications to push information asynchronously to web clients connecte...
static Task< int > PushEvent(string[] TabIDs, string Type, object Data)
Puses an event to a set of Tabs, given their Tab IDs.
Gets an array of Tab IDs (as strings) of currently open pages, given certain conditions.
static string[] GetTabs(IElement[] Arguments, ScriptNode Node)
Gets TabIDs based in restrictions in input arguments.
Pushes an event to all open pages (tabs) showing a specific page, that include the Events....
PushEvent(ScriptNode Event, ScriptNode Data, int Start, int Length, Expression Expression)
Pushes an event to all open pages (tabs) showing a specific page, that include the Events....
PushEvent(ScriptNode Page, ScriptNode QueryFilter, ScriptNode Event, ScriptNode Data, int Start, int Length, Expression Expression)
Pushes an event to all open pages (tabs) showing a specific page, that include the Events....
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
override string FunctionName
Name of the function
PushEvent(ScriptNode Page, ScriptNode Event, ScriptNode Data, int Start, int Length, Expression Expression)
Pushes an event to all open pages (tabs) showing a specific page, that include the Events....
override string[] DefaultArgumentNames
Default Argument names
Class managing a script expression.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
static readonly ArgumentType[] argumentTypes2Scalar
Two scalar parameters.
static readonly ArgumentType[] argumentTypes4Scalar
Four 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.
Basic interface for all types of elements.
ArgumentType
Type of parameter used in a function definition or a lambda definition.