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

Member predicate PromotedSelector::getSelectedStructType

Gets the underlying struct type of this selector’s base. Note because this selector addresses a promoted field, the addressed field may not directly occur in the returned struct type.

StructType getSelectedStructType()