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

Predicate explicitAssignmentNode

Holds if n is in the left-hand-side of an explicit assignment assignment.

Import path

import codeql.ruby.ast.internal.Variable
predicate explicitAssignmentNode(AstNode n, AstNode assignment)