1using System.Threading.Tasks;
27 : base(new
ScriptNode[] { Collection, Properties },
43 "Collection",
"Properties"
71 string Collection =
Arguments[0].AssociatedObjectValue?.
ToString() ??
string.Empty;
92 if (Obj is
string[] Labels)
110 int i, c = V.Dimension;
114 for (i = 0; i < c; i++)
116 Argument = V.GetElement(i);
121 else if (Obj is
string s2)
Defines an indexable property.
static PropertyDefinition[] ToArray(string[] PropertyNames)
Creates an array of property definitions from an array of property names.
Evaluates property values where properties are defined as script expressions.
Evaluates property values where properties are defined as script expressions.
Static class for access to Full-Text-Search
static Task< bool > AddFullTextSearch(string CollectionName, params PropertyDefinition[] Properties)
Adds properties for full-text-search indexation.
Script runtime exception.
Class managing a script expression.
string Script
Original script string.
Adds collection properties to the corresponding index for full-text-searching.
static PropertyDefinition[] GetPropertyDefinitions(IElement Argument, ScriptNode Node)
Gets property definitions.
override bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
override string FunctionName
Name of the function
override string[] DefaultArgumentNames
Default Argument names
AddFtsProperties(ScriptNode Collection, ScriptNode Properties, int Start, int Length, Expression Expression)
Adds collection properties to the corresponding index for full-text-searching.
override async Task< IElement > EvaluateAsync(IElement[] Arguments, Variables Variables)
Evaluates the function.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
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.
static readonly BooleanValue False
Constant false value.
int NrArguments
Number of arguments.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
Basic interface for vectors.
ArgumentType
Type of parameter used in a function definition or a lambda definition.