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