(&self, pos: Position<NodeId>)
| 162 | } |
| 163 | |
| 164 | fn find_block(&self, pos: Position<NodeId>) -> Result<GraphNode<NodeId>, PristineError> { |
| 165 | if self.scoped { |
| 166 | if let Some(vertex) = self.find_block_cached(pos) { |
| 167 | return Ok(vertex); |
| 168 | } |
| 169 | if let Some(vertex) = self.inner.find_block_in_inode(self.inode, pos)? { |
| 170 | return Ok(vertex); |
| 171 | } |
| 172 | } |
| 173 | self.inner.find_block(pos) |
| 174 | } |
| 175 | |
| 176 | fn find_block_end(&self, pos: Position<NodeId>) -> Result<GraphNode<NodeId>, PristineError> { |
| 177 | if self.scoped { |
nothing calls this directly
no test coverage detected