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