Member predicate API::Node::getAMethodCall
Gets a call to a method on the receiver represented by this API node.
This is a shorthand for getMethod(method).asCall()
, and thus returns a data-flow node
rather than an API node.
For example:
# API::getTopLevelMember("Foo").getAMethodCall("bar")
Foo.bar
CallNode getAMethodCall(string method)