Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ToStringLiteral.cs
4
6{
11 {
16 : base()
17 {
18 }
19
29 {
30 }
31
41 {
43 }
44
48 public override string FunctionName => StringLiteral.TypeUri;
49
55 public override IElement Convert(object Value)
56 {
57 return new StringLiteral(Value?.ToString() ?? string.Empty);
58 }
59 }
60}
const string TypeUri
http://www.w3.org/2001/XMLSchema#string
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
override string ToString()
Definition: ScriptNode.cs:359
int Start
Start position in script expression.
Definition: ScriptNode.cs:92
ToStringLiteral(ScriptNode Argument, int Start, int Length, Expression Expression)
Converts a value to a string literal.
override IElement Convert(object Value)
Converts an object to the desired type.
override ScriptNode CreateFunction(ScriptNode Argument, int Start, int Length, Expression Expression)
Creates a function node.
Basic interface for all types of elements.
Definition: IElement.cs:20