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

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.

Location getLocation ( )