Skip to main content

locate_sourcemap_reference

Function locate_sourcemap_reference 

Source
pub fn locate_sourcemap_reference<R: Read>(rdr: R) -> Result<SourceMapRef>
Expand description

Locates a sourcemap reference

Given a reader to a JavaScript file this tries to find the correct sourcemap reference comment and return it.