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

Member predicate LocalVariable::getLocation

Gets the location of a declaration of this variable.

If the variable has one or more declarations, the location of the first declaration is used. If the variable has no declaration, the entry point of its declaring container is used.

DbLocation getLocation()