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

Predicate scopeDefinesParameterVariable

Holds if scope defines name in its parameter declaration at i.

Import path

import codeql.ruby.ast.internal.Variable
predicate scopeDefinesParameterVariable(Range scope, string name, Identifier i, int pos)