[][src]Function syntax_pos::analyze_source_file::analyze_source_file

pub fn analyze_source_file(
    src: &str,
    source_file_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 SourceFile.

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