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

Class Discardable

An abstract base class for all elements that can be discarded from the base.

Import path

import semmle.python.Overlay

Direct supertypes

Known direct subtypes

    Predicates

    existsInBase

    Holds if this element exists in the base variant.

    existsInOverlay

    Holds if this element exists in the overlay variant.

    getPath

    Gets the path to the file in which this element occurs.

    toString

    Gets a textual representation of this discardable element.