1using System.Collections.Generic;
2using System.Threading.Tasks;
48 object Obj =
Argument1.AssociatedObjectValue;
53 else if (Obj is XmlNode N)
58 int i, c = Result.Count;
71 for (i = 0; i < c; i++)
74 return Operators.Vectors.VectorDefinition.
Encapsulate(Items,
false,
this);
97 if (Node is XmlText Text)
99 else if (Node is XmlCDataSection CData)
101 else if (Node is XmlAttribute Attr)
105 if (Node.HasChildNodes && Node.FirstChild == Node.LastChild && Node.FirstChild is XmlText Text2)
Script runtime exception.
Class managing a script expression.
Base class for funcions of two scalar variables.
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.
override string ToString()
int Start
Start position in script expression.
static readonly ObjectValue Null
Null value.
Performs an XML slection using XPATH.
Performs a literal string XML slection using XPATH.
override string FunctionName
Name of the function
override IElement EvaluateScalar(IElement Argument1, IElement Argument2, Variables Variables)
Evaluates the function on two scalar arguments.
override Task< IElement > EvaluateScalarAsync(IElement Argument1, IElement Argument2, Variables Variables)
Evaluates the function on two scalar arguments.
SelectXmlStr(ScriptNode Xml, ScriptNode Name, int Start, int Length, Expression Expression)
Performs a literal string XML slection using XPATH.
static IElement ToElement(XmlNode Node)
Encapsulates an XML Node for use in script.
override string[] DefaultArgumentNames
Default Argument names
Basic interface for all types of elements.
IElement Encapsulate(ICollection< IElement > Elements, ScriptNode Node)
Encapsulates a set of elements into a similar structure as that provided by the current element.