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

Class XmlLocatable

An XML element that has a location.

Import path

import python

Direct supertypes

Known direct subtypes

Predicates

getLocation

Gets the source location for this element.

hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

toString

Gets a textual representation of this element.