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

Class BooleanCompletion

A completion that represents evaluation of an expression with a Boolean value.

Import path

import codeql.ruby.controlflow.internal.Completion

Direct supertypes

Indirect supertypes

Known direct subtypes

    Inherited fields

    Predicates

    getAMatchingSuccessorType

    Gets a successor type that matches this completion.

    getDual

    Gets the dual Boolean completion.

    toString

    Gets a textual representation of this completion.

    Inherited predicates

    continuesLoop

    Holds if this completion will continue a loop when it is the completion of a loop body.

    from Completion
    getInnerCompletion

    Gets the inner completion. This is either the inner completion, when the completion is nested, or the completion itself.

    from Completion
    getOuterCompletion

    Gets the outer completion. This is either the outer completion, when the completion is nested, or the completion itself.

    from Completion
    getValue

    Gets the Boolean value of this conditional completion.

    from ConditionalCompletion
    isValidFor

    Holds if this completion is valid for node n.

    from Completion

    Charpred