Function access_ident_recursive

Source
pub fn access_ident_recursive(expr: &Expr) -> Option<(String, Vec<String>)>
Expand description

return the (ident, its fields) of the expr.

illustrated cases : ptr -> (“ptr”, []) region.size -> (“region”, [“size”]) tuple.0.value -> (“tuple”, [“0”, “value”])