1using System.Collections.Generic;
2using System.Threading.Tasks;
40 if (System.Guid.TryParse(
Argument, out System.Guid
Guid))
54 object Obj =
Argument.AssociatedObjectValue;
58 else if (Obj is
string s)
60 else if (Obj is
byte[] Bin)
96 if (System.Guid.TryParse(s, out System.Guid
Guid))
101 else if (Obj is
byte[] Bin)
103 if (Bin.Length == 16)
104 CheckAgainst =
new ObjectValue(
new System.Guid(Bin));
Script runtime exception.
Class managing a script expression.
override Task< IElement > EvaluateScalarAsync(IElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
Guid(ScriptNode Argument, int Start, int Length, Expression Expression)
Guid(x)
override PatternMatchResult PatternMatch(IElement CheckAgainst, Dictionary< string, IElement > AlreadyFound)
Performs a pattern match operation.
override string FunctionName
Name of the function
override IElement EvaluateScalar(IElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
override IElement EvaluateScalar(string Argument, Variables Variables)
Evaluates the function on a scalar argument.
Base class for funcions of one scalar variable.
ScriptNode Argument
Function argument.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
virtual PatternMatchResult PatternMatch(IElement CheckAgainst, Dictionary< string, IElement > AlreadyFound)
Performs a pattern match operation.
int Start
Start position in script expression.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
PatternMatchResult
Status result of a pattern matching operation.