@Beta public final class ListAppendFunction extends FunctionOperand
"list_append (operand, operand) – This function evaluates to a list with a new element added to it. You can append the new element to the start or the end of the list by reversing the order of the operands."
This object is as immutable (or unmodifiable) as the values in it's operands.
Modifier and Type | Field and Description |
---|---|
private Operand |
first |
private Operand |
second |
Constructor and Description |
---|
ListAppendFunction(Operand first,
Operand second) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
asSubstituted(SubstitutionContext context)
Returns this unit of expression as a string substituted if necessary with
tokens using the given substitution context.
|
java.lang.String asSubstituted(SubstitutionContext context)
UnitOfExpression
asSubstituted
in class UnitOfExpression
context
- the substitution context which may get mutated as a side
effect upon completion of this method