| 244 | }; |
| 245 | |
| 246 | class MutationNewNode { |
| 247 | public: |
| 248 | MutationNewNode() {} |
| 249 | |
| 250 | private: |
| 251 | explicit MutationNewNode(Mutation* mutation, int mutation_counter, int index) |
| 252 | : mutation_(mutation), |
| 253 | mutation_counter_(mutation_counter), |
| 254 | index_(index) {} |
| 255 | |
| 256 | Mutation* mutation_ = nullptr; |
| 257 | int mutation_counter_ = internal::kMissingSlot; |
| 258 | int index_ = internal::kMissingIndex; |
| 259 | |
| 260 | friend class Mutation; |
| 261 | }; |
| 262 | |
| 263 | // Mutation is a helper class that allows rewrites of MutableGraphView. This |
| 264 | // should not be initialized or be used directly. |