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

Module DataFlow::Content

Provides different sub classes of Content.

Import path

import ruby

Predicates

getAttributeName

Gets AttributeNameContent of the given name.

getElementContent

Gets the element content corresponding to constant value cv.

getKnownElementIndex

Gets the constant value of e, which corresponds to a valid known element index. Unlike calling simply e.getConstantValue(), this excludes negative array indices.

Classes

AttributeNameContent

A value stored behind a getter/setter pair.

CapturedVariableContent

A captured variable.

ElementContent

An element in a collection, for example an element in an array or in a hash.

FieldContent

A field of an object, for example an instance variable.

HashSplatContent

INTERNAL: Do not use.

KnownElementContent

An element in a collection at a known index.

SplatContent

INTERNAL: Do not use.

UnknownElementContent

An element in a collection at an unknown index.