{"ast_node_type":"function","tokens":[{"end":60,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn segments_is(&self, segments: &[Symbol]) -> bool {
        self.len() == segments.len() && self.segments().zip(segments).all(|(a, b)| a.name == *b)