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

Class ArrayContent

A reference through an array.

Import path

import semmle.go.dataflow.internal.DataFlowUtil

Direct supertypes

Indirect supertypes

Predicates

toString

Gets a textual representation of this element.

Inherited predicates

getType

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

from Content
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.

from Content