Class Text
- Namespace
- Albatross.Expression.Prefix
- Assembly
- Albatross.Expression.dll
Prefix expression that converts an operand to its string representation. Takes exactly one parameter and performs type conversion to string.
public class Text : PrefixExpression, IPrefixExpression, IExpression, IToken
- Inheritance
-
Text
- Implements
- Inherited Members
- Extension Methods
Constructors
Text()
Initializes a new instance of the Text class with name "Text" and exactly one parameter.
public Text()
Methods
Run(List<object>)
Converts the provided operand to a string value using the framework's conversion methods. Handles various types including JsonElement and provides proper string representations.
protected override object Run(List<object> operands)
Parameters
Returns
- object
The string representation of the operand, or empty string if operand is null.