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

Class SuccessorTypes::RaiseSuccessor

An exceptional control flow successor.

Example:

def m x
  if x > 2
    raise "x > 2"
  end
  puts "x <= 2"
end

The exit node of m is an exceptional successor of the node raise "x > 2".

Import path

import codeql.ruby.CFG

Direct supertypes

Indirect supertypes

Predicates

toString

Gets a textual representation of successor type.