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

Member predicate HashLiteral::getElement

Gets the nth element in this hash literal.

In the following example, the 0th element is a Pair, and the 1st element is a HashSplatExpr.

{ foo: 123, **bar }
Expr getElement(int n)