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

Class FieldContent

A reference through a field.

Import path

import semmle.go.dataflow.internal.DataFlowUtil

Direct supertypes

Indirect supertypes

Fields

Predicates

getField

Gets the field associated with this FieldContent.

getLocation

Gets the location of this element.

getType

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

toString

Gets a textual representation of this element.

Inherited predicates

asContentSet

Gets the ContentSet contaning only this content.

from Content
hasLocationInfo

DEPRECATED: Use getLocation() instead.

from Content

Charpred