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

Class SsaImplicitDefinition

An SSA definition that does not correspond to an explicit variable definition.

Import path

import semmle.go.dataflow.SSA

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getKind

INTERNAL: Do not use.

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.

prettyPrintRef

INTERNAL: Do not use.

Inherited predicates

definesAt

INTERNAL: Use getBasicBlock() and getSourceVariable() instead.

from SsaDefinition
getBasicBlock

Gets the basic block to which this definition belongs.

from SsaDefinition
getRoot

Gets the innermost function or file to which this SSA definition belongs.

from SsaDefinition
getSourceVariable

Gets the source variable defined by this definition.

from SsaDefinition
getVariable

Gets the SSA variable defined by this definition.

from SsaDefinition
prettyPrintDef

INTERNAL: Use toString() instead.

from SsaDefinition
toString

Gets a textual representation of this element.

from SsaDefinition