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

Member predicate VariableWithFields::getElement

Gets the element that this variable with fields reads, if any.

For example, the string value of c for the variable with fields a.b[c].

string getElement()