| 1998 | ValueType Value::type() const { return type_; } |
| 1999 | |
| 2000 | int Value::compare(const Value &other) const { |
| 2001 | if (*this < other) |
| 2002 | return -1; |
| 2003 | if (*this > other) |
| 2004 | return 1; |
| 2005 | return 0; |
| 2006 | } |
| 2007 | |
| 2008 | bool Value::operator<(const Value &other) const { |
| 2009 | int typeDelta = type_ - other.type_; |
no outgoing calls
no test coverage detected