Function syntax_pos::analyze_filemap::analyze_filemap[][src]

pub fn analyze_filemap(
    src: &str,
    filemap_start_pos: BytePos
) -> (Vec<BytePos>, Vec<MultiByteChar>, Vec<NonNarrowChar>)
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Find all newlines, multi-byte characters, and non-narrow characters in a FileMap.

This function will use an SSE2 enhanced implementation if hardware support is detected at runtime.