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

Datatype TContent

Algebraic datatype for tracking data content associated with values. Content can be collection elements or object attributes.

Import path

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

Known direct subtypes

Branch types

TAttributeContent

An object attribute.

TCapturedVariableContent

A captured variable.

TDictionaryElementAnyContent

An element of a dictionary under any key.

TDictionaryElementContent

An element of a dictionary under a specific key.

TListElementContent

An element of a list.

TSetElementContent

An element of a set.

TTupleElementContent

An element of a tuple at a specific index.

Injectors

TAttributeContent

An object attribute.

TCapturedVariableContent

A captured variable.

TDictionaryElementAnyContent

An element of a dictionary under any key.

TDictionaryElementContent

An element of a dictionary under a specific key.

TListElementContent

An element of a list.

TSetElementContent

An element of a set.

TTupleElementContent

An element of a tuple at a specific index.