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

Predicate DataFlow :: thisNode

Gets the node representing the receiver of the given function, or this in the given top-level.

Has no result if container is an arrow function.

Import path

import javascript
ThisNode thisNode ( StmtContainer container )