syntax_data: {"ast_node_type":"function","tokens":[{"end":77,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn to_path(&self, display_pref: FileNameDisplayPreference) -> &Path {
context_before:     /// For the purpose of this function, local and short preference are equal.
context_after:         match display_pref {