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

Class SuccessorTypes::RedoSuccessor

A redo control flow successor.

Example:

Example:

def m
  while x >= 0
    x -= 1
    if num > 100
      redo
    end
  end
  puts "done"
end

The node x -= 1 is redo successor of the node redo.

Import path

import codeql.ruby.CFG

Direct supertypes

Indirect supertypes

Predicates

toString

Gets a textual representation of successor type.