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

Class SuccessorTypes::BooleanSuccessor

A Boolean control flow successor.

For example, in

if x >= 0
  puts "positive"
else
  puts "negative"
end

x >= 0 has both a true successor and a false successor.

Import path

import codeql.ruby.CFG

Direct supertypes

Indirect supertypes

Inherited fields

Inherited predicates

getValue

Gets the Boolean value of this successor.

from ConditionalSuccessor
toString

Gets a textual representation of successor type.

from ConditionalSuccessor