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

Member predicate DataFlow::ModuleNode::getAModuleLevelCall

Gets a call to method name on self in the module-level scope of this module.

For example,

module M
  include A  # getAModuleLevelCall("include")
  foo :bar   # getAModuleLevelCall("foo")
end
CallNode getAModuleLevelCall(string name)