CodeQL library for Go
codeql/go-all 2.1.4-dev (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.go.dataflow.internal.DataFlowUtil

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.

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 content set.