[][src]Function sourcemap::locate_sourcemap_reference

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

Locates a sourcemap reference

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