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

Member predicate ArrayPattern::getSuffixElement

Gets the nth element of this list pattern’s suffix, i.e. the elements 4, 5 in the following examples:

in [ *, 4, 5 ]
in [ 1, 2, 3, *middle, 4 , 5]
CasePattern getSuffixElement(int n)