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

Member predicate MethodDecl::getReceiverBaseType

Gets the receiver base type of this method.

For example, the receiver base type of

func (p *Rectangle) Area() float64 { ... }

is Rectangle.

NamedType getReceiverBaseType()