CodeQL library for Go
codeql/go-all 2.1.3 (changelog, source)
Search

Class Content

A reference contained in an object. Examples include instance fields, the contents of a collection object, the contents of an array or pointer.

Import path

import semmle.go.dataflow.internal.DataFlowUtil

Direct supertypes

Known direct subtypes

Predicates

getType

Gets the type of the contained data for the purpose of type pruning.

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 element.