{"ast_node_type":"function","tokens":[{"end":40,"kind":"keyword","start":0,"text":"fn"}]}
    fn check_invariants(&self) -> bool {
    // Check the intervals are valid, sorted and non-adjacent
        let mut current: Option<u32> = None;