CodeQL library for Python
codeql/python-all 1.0.1 (changelog, source)
Search

Member predicate Impl::RegExpTerm::getLocation

Gets the location of the surrounding regex, as locations inside the regex do not exist. To get location information corresponding to the term inside the regex, use hasLocationInfo.

Location getLocation()