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

Member predicate DataFlow::LocalSourceNode::getAnElementRead

Gets an access to an element on this node, such as obj[key].

Concretely this gets a call to [] with 1 argument, where this node flows to the receiver.

CallNode getAnElementRead()