Class IR::WriteTarget
A representation of the target of a write instruction.
Import path
import semmle.go.controlflow.IRDirect supertypes
Known direct subtypes
Fields
Predicates
| asSsaVariable | Gets the SSA variable being written to, if any. |
| getLocation | Gets the source location for this element. |
| getName | Gets the name of the variable or field being written to, if any. |
| getWrite | Gets the write instruction of which this is the target. |
| hasLocationInfo | DEPRECATED: Use |
| refersTo | Holds if |
| toString | Gets a textual representation of this target. |