Struct rustc_metadata::cstore::ImportedFileMap
[−]
[src]
pub struct ImportedFileMap {
pub original_start_pos: BytePos,
pub original_end_pos: BytePos,
pub translated_filemap: Rc<FileMap>,
}🔬 This is a nightly-only experimental API. (
rustc_private)Holds information about a syntax_pos::FileMap imported from another crate.
See imported_filemaps() for more information.
Fields
original_start_pos: BytePos
🔬 This is a nightly-only experimental API. (
rustc_private)This FileMap's byte-offset within the codemap of its original crate
original_end_pos: BytePos
🔬 This is a nightly-only experimental API. (
rustc_private)The end of this FileMap within the codemap of its original crate
translated_filemap: Rc<FileMap>
🔬 This is a nightly-only experimental API. (
rustc_private)The imported FileMap's representation within the local codemap