CodeQL library for Go
codeql/go-all 0.7.15-dev (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()