2using System.Threading.Tasks;
36 get {
return new string[] {
"notempty" }; }
47 object Value =
Argument.AssociatedObjectValue;
51 else if (Value is
string s)
Class managing a script expression.
IsNotEmpty(ScriptNode Argument, int Start, int Length, Expression Expression)
IsNotEmpty(x)
override IElement EvaluateScalar(IElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
override IElement EvaluateScalar(PhysicalQuantity Argument, Variables Variables)
Evaluates the function on a scalar argument.
override IElement EvaluateScalar(double Argument, Variables Variables)
Evaluates the function on a scalar argument.
override IElement EvaluateScalar(string Argument, Variables Variables)
Evaluates the function on a scalar argument.
override IElement EvaluateScalar(Complex Argument, Variables Variables)
Evaluates the function on a scalar argument.
override string FunctionName
Name of the function
override IElement EvaluateScalar(Measurement Argument, Variables Variables)
Evaluates the function on a scalar argument.
override string[] Aliases
Optional aliases. If there are no aliases for the function, null is returned.
override Task< IElement > EvaluateScalarAsync(IElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
override IElement EvaluateScalar(bool 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 Start
Start position in script expression.
static readonly BooleanValue False
Constant false value.
static readonly BooleanValue True
Constant true value.
Basic interface for all types of elements.