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

Member predicate DataFlow::Content::SplatContent::isShifted

Holds if this element represents a value from an actual splat argument that had its index shifted. For example, in

foo(x, *args)

the elements of args will have their index shifted by 1 before being put into the synthetic splat argument.

predicate isShifted()