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

Module Private::SummaryComponentStack

Provides predicates for constructing stacks of summary components.

Import path

import codeql.ruby.dataflow.internal.FlowSummaryImpl

Predicates

block

Gets a singleton stack representing a block argument.

receiver

Gets a singleton stack representing a receiver.

return

Gets a singleton stack representing the return value of a call.

Aliases

argument

Gets a singleton stack for an argument at position pos.

push

Gets the stack obtained by pushing head onto tail.

singleton

Gets a singleton stack containing c.