CodeQL library for Ruby
codeql/ruby-all 0.8.15-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

Def

DEPRECATED. A node corresponding to a value escaping into an API component.

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.

Root

DEPRECATED. Use API::root() to access the root node.

Use

DEPRECATED. A node corresponding to the use of an API component.

Modules

Internal

INTERNAL USE ONLY.

Label

DEPRECATED. Treating the API graph as an explicit labelled graph is deprecated - instead use the methods on API:Node directly.