| 131 | } |
| 132 | |
| 133 | int compare(const ArgRef& other) const |
| 134 | { |
| 135 | String s1 = toString(); |
| 136 | String s2 = other.toString(); |
| 137 | if(isNumber(s1.c_str())) { |
| 138 | return s1.toInt() - s2.toInt(); |
| 139 | } else { |
| 140 | return s1.compareTo(s2); |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | String add(const ArgRef& other) const |
| 145 | { |