| 254 | // If ids are non-unique, the first pre-order node encountered with id is |
| 255 | // returned. |
| 256 | const NodeType* absl_nullable FindId(int64_t id) const { |
| 257 | auto it = metadata_->id_to_node.find(id); |
| 258 | if (it == metadata_->id_to_node.end()) { |
| 259 | return nullptr; |
| 260 | } |
| 261 | return it->second; |
| 262 | } |
| 263 | |
| 264 | // Return ptr to the AST node representing the given Expr protobuf node. |
| 265 | const NodeType* absl_nullable FindExpr( |