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

Member predicate ArrayPattern::getRestVariableAccess

Gets the variable of the rest token, if any. For example middle in `the following array pattern.

[ 1, 2, 3, *middle, 4 , 5]
LocalVariableWriteAccess getRestVariableAccess()