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

Member predicate API::Node::getASubclass

Gets a node representing a (direct or indirect) subclass of the class represented by this node.

class A; end
class B < A; end
class C < B; end

In the example above, getMember("A").getASubclass() will return uses of A, B and C.

Node getASubclass()