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

Datatype TWriteTarget

A representation of the target of a write.

Import path

import semmle.go.controlflow.ControlFlowGraphImpl

Known direct subtypes

Branch types

MkLhs

A write target that is represented explicitly in the AST.

MkLiteralElementTarget

A write target for an element in a compound literal, viewed as a field write.

MkResultWriteTarget

A write target for a returned expression, viewed as a write to the corresponding result variable.

Injectors

MkLhs

A write target that is represented explicitly in the AST.

MkLiteralElementTarget

A write target for an element in a compound literal, viewed as a field write.

MkResultWriteTarget

A write target for a returned expression, viewed as a write to the corresponding result variable.