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

Predicate nodeGetEnclosingCallable

Gets the callable in which this node occurs.

Import path

import codeql.ruby.dataflow.internal.DataFlowPrivate
DataFlowCallable nodeGetEnclosingCallable(Node n)