Member predicate PropAccess::getUnderlyingReference
Gets the innermost reference that this expression evaluates to, if any.
Examples:
- a variable or property access: the access itself.
- a parenthesized expression
(e): the underlying reference ofe. - a TypeScript type assertion
e as T: the underlying reference ofe.
Also see getUnderlyingValue and stripParens.