CodeQL library for Go
codeql/go-all 2.1.3 (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()