Return the node name corresponding to 'name' if name is valid, or the empty string otherwise.
| 160 | // Return the node name corresponding to 'name' if name is valid, or the empty |
| 161 | // string otherwise. |
| 162 | inline StringPiece NodeNameAsStringPiece(const string& name) { |
| 163 | return ParseNodeNameAsStringPiece(name, nullptr); |
| 164 | } |
| 165 | |
| 166 | // Return the node name corresponding to 'name' if name is valid, or the empty |
| 167 | // string otherwise. |