(hires: Hires)
| 21 | |
| 22 | impl<'a> SourcemapBuilder<'a> { |
| 23 | pub fn new(hires: Hires) -> Self { |
| 24 | Self { |
| 25 | hires, |
| 26 | generated_code_line: 0, |
| 27 | generated_code_column: 0, |
| 28 | source_id: 0, |
| 29 | source_map_builder: oxc_sourcemap::SourceMapBuilder::default(), |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | pub fn into_source_map(self) -> oxc_sourcemap::SourceMap<'static> { |
| 34 | // The oxc builder borrows its strings for `'a`; copy them once into a |
nothing calls this directly
no outgoing calls
no test coverage detected