Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ToExpression.cs
1using System.Threading.Tasks;
6
8{
13 {
23 {
24 }
25
29 public override string FunctionName => nameof(ToExpression);
30
38 {
39 return new StringValue(Expression.ToString(Argument.AssociatedObjectValue));
40 }
41 }
42}
Class managing a script expression.
Definition: Expression.cs:39
static string ToString(double Value)
Converts a value to a string, that can be parsed as part of an expression.
Definition: Expression.cs:4496
ToExpression(ScriptNode Argument, int Start, int Length, Expression Expression)
ToExpression(x)
Definition: ToExpression.cs:21
override IElement Evaluate(IElement Argument, Variables Variables)
Evaluates the function on a scalar argument.
Definition: ToExpression.cs:37
override string FunctionName
Name of the function
Definition: ToExpression.cs:29
Base class for funcions of one variable.
ScriptNode Argument
Function argument.
Base class for all nodes in a parsed script tree.
Definition: ScriptNode.cs:69
int Start
Start position in script expression.
Definition: ScriptNode.cs:92
Collection of variables.
Definition: Variables.cs:25
Basic interface for all types of elements.
Definition: IElement.cs:20