pub fn collect_attr_chain_from_getattr<'a>( e: &'a Expr, ) -> Option<(&'a str, Vec<&'a str>)>
If e is a chain of .attr segments on a plain variable (foo.bar.baz), returns the root name and path segments in order.
e
.attr
foo.bar.baz