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

Injector MkImplicitFieldSelection

A control-flow node that represents the implicit selection of a field when accessing a promoted field.

If that field has a pointer type then this control-flow node also represents an implicit dereference of it.

Import path

import semmle.go.controlflow.ControlFlowGraphImpl
MkImplicitFieldSelection MkImplicitFieldSelection(PromotedSelector e, int i, Field implicitField)