syntax_data: {"ast_node_type":"function","tokens":[{"end":29,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn span_extend_while(
context_before:     /// Extends the given `Span` while the next character matches the predicate
context_after:         &self,