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

Member predicate LocalNameBinding::LocalImpl::hasNameAndScope

Holds if this variable has the given name and scope.

predicate hasNameAndScope(string name, AstNode scope)