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

Member predicate FieldDecl::getNameExpr

Gets the expression representing the name of the ith field declared in this declaration (0-based).

This is not defined for embedded fields.

Expr getNameExpr(int i)