| 486 | } |
| 487 | |
| 488 | int Value::compare(const Value& other) const { |
| 489 | if (*this < other) |
| 490 | return -1; |
| 491 | if (*this > other) |
| 492 | return 1; |
| 493 | return 0; |
| 494 | } |
| 495 | |
| 496 | bool Value::operator<(const Value& other) const { |
| 497 | int typeDelta = type() - other.type(); |
no outgoing calls
no test coverage detected