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

Member predicate VariableWithFields::getParent

Gets the variable with fields corresponding to the parent of this variable with fields.

For example, the variable with fields corresponding to a.b for the variable with fields corresponding to a.b[c].

VariableWithFields getParent()