CodeQL library for Ruby
codeql/ruby-all 7.0.0 (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()