Return the node name corresponding to 'name' if name is valid, or the empty string otherwise.
| 166 | // Return the node name corresponding to 'name' if name is valid, or the empty |
| 167 | // string otherwise. |
| 168 | inline string NodeName(const string& name) { |
| 169 | return string(NodeNameAsStringPiece(name)); |
| 170 | } |
| 171 | |
| 172 | inline int NodePosition(const string& name) { |
| 173 | int position; |