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

Class ContentSet

An entity that represents a set of Contents.

The set may be interpreted differently depending on whether it is stored into (getAStoreContent) or read from (getAReadContent).

Import path

import semmle.python.dataflow.new.internal.DataFlowPublic

Direct supertypes

Predicates

getAReadContent

Gets a content that may be read from when reading from this set.

getAStoreContent

Gets a content that may be stored into when storing into this set.

isAnyDictionaryElement

Holds if this content set is the wildcard for all dictionary elements.

isAnyTupleElement

Holds if this content set is the wildcard for all tuple elements.

isAnyTupleOrDictionaryElement

Holds if this content set is the wildcard for all tuple elements or dictionary elements.

isSingleton

Holds if this content set is the singleton {c}.

toString

Gets a textual representation of this content set.