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

Module API

Provides classes and predicates for working with APIs used in a database.

Import path

import codeql.ruby.ApiGraphs

Imports

Public

Parts of the shared module to be re-exported by the user-facing API module.

Predicates

getTopLevelCall

Gets an unqualified call at the top-level with the given method name.

getTopLevelMember

Gets an access to the top-level constant name.

root

Gets the root node.

Classes

EntryPoint

An API entry point.

MethodAccessNode

A node corresponding to the method being invoked at a method call.

Node

A node in the API graph, that is, a value that can be tracked interprocedurally.

Modules

Internal

INTERNAL USE ONLY.