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

Member predicate API::Node::getArgument

Gets the nth positional argument to this call.

For example, this would get x in the following snippet:

Foo.bar(x) # API::getTopLevelMember("Foo").getMethod("bar").getArgument(0)
Node getArgument(int n)