code: public Expression2 substitute(int index, String newConstantExpression) {
      return substitute(index, Expression2.constant(newConstantExpression));
    }
docs: Replaces the expression at {@code index} in this expression
  with {@code newConstantExpression} (as a constant expression).
  
  @param index
  @param newConstantExpression
  @return