59 string Delimiter = Arguments.Length > 1 ?
Arguments[1].AssociatedObjectValue?.
ToString() :
null;
61 StringBuilder Result =
new StringBuilder();
64 foreach (
IElement Item
in Vector.VectorElements)
71 else if (!(Delimiter is
null))
72 Result.Append(Delimiter);
Class managing a script expression.
Concatenates the elements of a vector, optionally delimiting the elements with a Delimiter.
Concat(ScriptNode Vector, int Start, int Length, Expression Expression)
Concatenates the elements of a vector, optionally delimiting the elements with a Delimiter.
override string FunctionName
Name of the function
override string[] DefaultArgumentNames
Default Argument names
Concat(ScriptNode Vector, ScriptNode Delimiter, int Start, int Length, Expression Expression)
Concatenates the elements of a vector, optionally delimiting the elements with a Delimiter.
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
Base class for all nodes in a parsed script tree.
override string ToString()
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
Basic interface for vectors.
ArgumentType
Type of parameter used in a function definition or a lambda definition.