CodeQL library for Python
codeql/python-all 2.0.1-dev (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()