CodeQL library for JavaScript
codeql/javascript-all 0.4.1 (changelog, source)
Search

Member predicate 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()