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.ApiGraphsNode getTopLevelMember(string name)