Function sourcemap::locate_sourcemap_reference [] [src]

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

Locates a sourcemap reference

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