Struct rustc_metadata::cstore::ImportedFileMap [] [src]

pub struct ImportedFileMap {
    pub original_start_pos: BytePos,
    pub original_end_pos: BytePos,
    pub translated_filemap: Rc<FileMap>,
}
Unstable (rustc_private)

Holds information about a codemap::FileMap imported from another crate. See creader::import_codemap() for more information.

Fields

original_start_pos: BytePos
Unstable (rustc_private)

This FileMap's byte-offset within the codemap of its original crate

original_end_pos: BytePos
Unstable (rustc_private)

The end of this FileMap within the codemap of its original crate

translated_filemap: Rc<FileMap>
Unstable (rustc_private)

The imported FileMap's representation within the local codemap