CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1-dev (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()