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

Member predicate FieldDecl::getDeclaringStructTypeExpr

Gets the struct type expression to which this field declaration belongs.

StructTypeExpr getDeclaringStructTypeExpr()