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

Member predicate MethodDecl::getReceiverType

Gets the receiver type of this method.

For example, the receiver type of

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

is *Rectangle.

Type getReceiverType()