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

Module TypeInference

Provides logic for assigning types to data flow nodes.

Import path

import codeql.ruby.dataflow.internal.DataFlowPrivate

Predicates

asModulePattern

Holds if SSA definition def belongs to a variable introduced via pattern matching on type m. For example, in

hasAdjacentTypeCheckedRead
hasModuleType
hasType

Classes

ArrayClass

The built-in Array class.

HashClass

The built-in Hash class.

ProcClass

The built-in Proc class.

StringClass

The built-in String class.