Class SuccessorTypes::MatchingSuccessor
A matching control flow successor.
For example, this program fragment:
case x
when 1 then puts "one"
else puts "not one"
end
has a control flow graph containing matching successors:
x
|
1
/ \
/ \
/ \
/ \
match non-match
| |
puts "one" puts "not one"
Import path
import codeql.ruby.CFG
Direct supertypes
Indirect supertypes
Inherited fields
Predicates
toString | Gets a textual representation of successor type. |
Inherited predicates
getValue | Gets the Boolean value of this successor. | from ConditionalSuccessor |