Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IsBlank.cs
2using Waher.Script;
6
8{
13 {
23 {
24 }
25
29 public override string FunctionName => nameof(IsBlank);
30
38 {
39 return Argument is BlankNode ? BooleanValue.True : BooleanValue.False;
40 }
41 }
42}
Abstract base class for functions of one semantic variable.
override string FunctionName
Name of the function
Definition: IsBlank.cs:29
override IElement EvaluateScalar(ISemanticElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
Definition: IsBlank.cs:37
IsBlank(ScriptNode Argument, int Start, int Length, Expression Expression)
IsBlank(x)
Definition: IsBlank.cs:21
Represents a blank node
Definition: BlankNode.cs:7
Class managing a script expression.
Definition: Expression.cs:39
ScriptNode Argument
Function argument.
Base class for all nodes in a parsed script tree.
Definition: ScriptNode.cs:69
int Length
Length of expression covered by node.
Definition: ScriptNode.cs:101
int Start
Start position in script expression.
Definition: ScriptNode.cs:92
Boolean-valued number.
Definition: BooleanValue.cs:12
static readonly BooleanValue False
Constant false value.
Collection of variables.
Definition: Variables.cs:25
Interface for semantic nodes.
Basic interface for all types of elements.
Definition: IElement.cs:20