Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NamedNode.cs
1using System.Threading.Tasks;
4
6{
11 {
21 : base(Left, Right, Start, Length, Expression)
22 {
23 }
24
32 {
33 return this.left.Evaluate(Variables);
34 }
35
42 public override Task<IElement> EvaluateAsync(Variables Variables)
43 {
44 return this.left.EvaluateAsync(Variables);
45 }
46 }
47}
Class managing a script expression.
Definition: Expression.cs:39
Base class for all binary operators.
ScriptNode left
Left operand.
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
abstract IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection. This method should be ...
virtual Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection. This method should be ...
Definition: ScriptNode.cs:158
override Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection. This method should be ...
Definition: NamedNode.cs:42
NamedNode(ScriptNode Left, ScriptNode Right, int Start, int Length, Expression Expression)
Represents a named node.
Definition: NamedNode.cs:20
override IElement Evaluate(Variables Variables)
Evaluates the node, using the variables provided in the Variables collection. This method should be ...
Definition: NamedNode.cs:31
Collection of variables.
Definition: Variables.cs:25
Basic interface for all types of elements.
Definition: IElement.cs:20