Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
FunctionZeroVariables.cs
1using System;
2
3namespace Waher.Script.Model
4{
8 public abstract class FunctionZeroVariables : Function
9 {
17 : base(Start, Length, Expression)
18 {
19 }
20
24 public override string[] DefaultArgumentNames => new string[0];
25
33 public override bool ForAllChildNodes(ScriptNodeEventHandler Callback, object State, SearchMethod Order)
34 {
35 return true;
36 }
37
38 }
39}
Class managing a script expression.
Definition: Expression.cs:39
Base class for all funcions.
Definition: Function.cs:9
Base class for funcions of zero variables.
override bool ForAllChildNodes(ScriptNodeEventHandler Callback, object State, SearchMethod Order)
Calls the callback method for all child nodes.
FunctionZeroVariables(int Start, int Length, Expression Expression)
Base class for funcions of one variable.
override string[] DefaultArgumentNames
Default Argument names
int Length
Length of expression covered by node.
Definition: ScriptNode.cs:101
int Start
Start position in script expression.
Definition: ScriptNode.cs:92
delegate bool ScriptNodeEventHandler(ScriptNode Node, out ScriptNode NewNode, object State)
Delegate for ScriptNode callback methods.
SearchMethod
Method to traverse the expression structure
Definition: ScriptNode.cs:38