Skip to main content

detect

Function detect 

Source
pub fn detect(src: &str, offset: TextSize) -> Phase
Expand description

Walk the tokens to derive the current phase.