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

Class SuccessorTypes::ExitSuccessor

An exit control flow successor.

Example:

def m x
  if x > 2
    exit 1
  end
  puts "x <= 2"
end

The exit node of m is an exit successor of the node exit 1.

Import path

import codeql.ruby.CFG

Direct supertypes

Indirect supertypes

Predicates

toString

Gets a textual representation of successor type.