| 1918 | ValueType Value::type() const { return type_; } |
| 1919 | |
| 1920 | int Value::compare(const Value& other) const { |
| 1921 | if (*this < other) |
| 1922 | return -1; |
| 1923 | if (*this > other) |
| 1924 | return 1; |
| 1925 | return 0; |
| 1926 | } |
| 1927 | |
| 1928 | bool Value::operator<(const Value& other) const { |
| 1929 | int typeDelta = type_ - other.type_; |
no outgoing calls
no test coverage detected