Member predicate Expr::PropAccess::getPropertyNameExpr

Gets the expression specifying the name of the property being read or written. For dot expressions, this is an identifier; for index expressions it can be an arbitrary expression.

Expr getPropertyNameExpr()