Skip to main content

char_split

Function char_split 

Source
pub fn char_split(
    path: &Utf8PathBuf,
    text: &str,
    offset: usize,
    language: Language,
    max_size: usize,
) -> Vec<Chunk>
Expand description

Character-based fallback chunks for text that has no AST structure or for oversized nodes.