{"ast_node_type":"function","tokens":[{"end":77,"kind":"keyword","start":0,"text":"fn"}]}
fn path_ends_with(path: Option<ast::Path>, name_ref: &ast::NameRef) -> bool {
/// Helper function for checking constructor usage patterns.
    path.and_then(|path| path.segment())