The offset of the `}` that closes the `{` at `open`.
(&self, open: usize)
| 76 | impl BraceScopes { |
| 77 | /// The offset of the `}` that closes the `{` at `open`. |
| 78 | pub fn close_of(&self, open: usize) -> Option<usize> { |
| 79 | self.closes.get(&open).copied() |
| 80 | } |
| 81 | |
| 82 | /// The named namespaces whose braces hold `offset`, outermost first, as written. |
| 83 | pub fn namespaces_at(&self, offset: usize) -> Vec<String> { |
no test coverage detected