| 55 | } |
| 56 | |
| 57 | std::string ComponentPath::toString() const { |
| 58 | if (_symbolName.isEmpty()) { |
| 59 | return _resourceId.toAbsolutePath(); |
| 60 | } else { |
| 61 | return _symbolName.slowToString() + "@" + _resourceId.toAbsolutePath(); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | bool ComponentPath::isEmpty() const { |
| 66 | return _symbolName.isEmpty() && _resourceId == ResourceId(StringBox()); |
nothing calls this directly
no test coverage detected