Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for Ruby
codeql/ruby-all 4.1.6 (changelog, source)

Member predicate ModuleBase::getAnAncestorExpr

Gets an expression denoting the super class or an included or prepended module.

For example, C is an ancestor expression of M in each of the following examples:

class M < C
end

module M
  include C
  prepend C
end
Expr getAnAncestorExpr()