public override string evalString(Env env) { Value value = _value.eval(env); StringValue sb = value.ToStringBuilder(env); for (BinaryAppendExpr ptr = _next; ptr != null; ptr = ptr._next) { sb = sb.appendUnicode(ptr._value.eval(env)); } return(sb.ToString()); }
/** * Returns the next value in the append chain. */ void setNext(BinaryAppendExpr next) { _next = next; }
protected BinaryAppendExpr(Expr value, BinaryAppendExpr next) { _value = value; _next = next; }