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

Module ControlFlowGraph

Provides classes representing the control flow graph.

Import path

import codeql.ruby.controlflow.ControlFlowGraph

Imports

Public

The public API of the control flow graph library.

SuccessorType

Provides different types of control flow successor types. These are used as edge labels in the control flow graph.

Classes

CfgNode

A control flow node.

CfgScope

An AST node with an associated control-flow graph.

Aliases

CfgScopeImpl

A callable, for example a function, method, constructor, or top-level script.

getEnclosingCallable

Gets the immediately enclosing callable that contains node.