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

Predicate API::getTopLevelMember

Gets an access to the top-level constant name.

To access nested constants, use getMember() on the resulting node. For example, for nodes corresponding to the class Gem::Version, use getTopLevelMember("Gem").getMember("Version").

Import path

import codeql.ruby.ApiGraphs
Node getTopLevelMember(string name)