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

Class ReturnKind

A return kind. A return kind describes how a value can be returned from a callable. For Go, this is either a return of a single value or of one of multiple values.

Import path

import semmle.go.dataflow.internal.DataFlowPrivate

Direct supertypes

Fields

Predicates

getIndex

Gets the index of this return value.

toString

Gets a textual representation of this return kind.

Charpred