CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Member predicate MethodCall::getReceiver

Gets the receiver of this call, if any. For example:

foo.bar
Baz::qux
corge()

The result for the call to bar is the Expr for foo; the result for the call to qux is the Expr for Baz; for the call to corge there is no result.

Expr getReceiver()