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

Class DataFlow::Content::SplatContent

INTERNAL: Do not use.

An element inside a synthetic splat argument. All positional arguments (including splat arguments) are implicitly stored inside a synthetic splat argument. For example, in

foo(1, 2, 3)

we have an implicit splat argument containing [1, 2, 3].

Import path

import ruby

Direct supertypes

Indirect supertypes

Predicates

getPosition

Gets the position of this splat element.

isShifted

Holds if this element represents a value from an actual splat argument that had its index shifted. For example, in

toString

Gets a textual representation of this content.

Inherited predicates

getLocation

Gets the location of this content.

from Content

Charpred