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

Module Constant

Import path

import codeql.ruby.ast.internal.Constant

Imports

Predicates

isArrayConstant

Holds if the control flow node e refers to an array constructed from the array literal arr. Example: rb [1, 2, 3] C = [1, 2, 3]; C x = [1, 2, 3]; x

Classes

ScopeResolutionConstantAccess

A constant access that has a scope resolution qualifier.