CodeQL library for Rust
codeql/rust-all 0.2.7 (changelog, source)
Search

Class ElementContent

An element in a collection where we do not track the specific collection type nor the placement of the element in the collection. Therefore the collection should be one where the elements are reasonably homogeneous, i.e., if one is tainted all elements are considered tainted.

Examples include the elements of a set, array, vector, or stack.

Import path

import codeql.rust.dataflow.internal.Content

Direct supertypes

Indirect supertypes

Predicates

getLocation

Gets the location of this content.

toString

Gets a textual representation of this content.