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

Class SummaryCall

A synthesized call inside a callable with a flow summary.

For example, in

ints.each do |i|
  puts i
end

there is a call to the block argument inside each.

Import path

import codeql.ruby.dataflow.internal.DataFlowDispatch

Direct supertypes

Indirect supertypes

Predicates

asCall

Gets the underlying source code call, if any.

getEnclosingCallable

Gets the enclosing callable.

getLocation

Gets the location of this call.

getReceiver

Gets the data flow node that this call targets.

toString

Gets a textual representation of this call.

Inherited predicates

hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from DataFlowCall

Charpred