syntax_data: {"ast_node_type":"function","tokens":[{"end":57,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn span_extend_to_line(&self, sp: Span) -> Span {
context_before:     /// Extends the given `Span` to contain the entire line it is on.
context_after:         self.span_extend_to_prev_char(self.span_extend_to_next_char(sp, '\n', true), '\n', true)