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

Member predicate VariableWithFields::getBaseVariable

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

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

Variable getBaseVariable()