* Get a user-friendly string representing the contents of this Specifier. */
| 68 | * Get a user-friendly string representing the contents of this Specifier. |
| 69 | */ |
| 70 | std::string toString() const { |
| 71 | if (_type == SpecifierType::SPEC_NONE()) { |
| 72 | return _type.getDisplayName(); |
| 73 | } |
| 74 | else { |
| 75 | return _type.getDisplayName() + " : " + _value; |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * greebo: Returns a human-readable chunk of text based on the values |
nothing calls this directly
no test coverage detected