Member predicate SatisfiesExpr::getUnderlyingValue
Gets the innermost expression that this expression evaluates to.
Examples:
- a parenthesised expression
(e)
: the underlying value ofe
. - a sequence expression
e1, e2
: the underlying value ofe2
. - an assignment expression
v = e
: the underlying value ofe
. - a TypeScript type assertion
e as T
: the underlying value ofe
. - any other expression: the expression itself.
Also see getUnderlyingReference
and stripParens
.