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

Member predicate API::Node::getKeywordArgument

Gets the given keyword argument to this call.

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

Foo.bar(baz: x) # API::getTopLevelMember("Foo").getMethod("bar").getKeywordArgument("baz")
Node getKeywordArgument(string name)