Struct rustc_trans::metadata::cstore::ImportedFileMapUnstable [-] [+] [src]

pub struct ImportedFileMap {
    pub original_start_pos: BytePos,
    pub original_end_pos: BytePos,
    pub translated_filemap: Rc<FileMap>,
}

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

Fields

original_start_pos

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

original_end_pos

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

translated_filemap

The imported FileMap's representation within the local codemap