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

Class ConditionalCompletion

A completion that represents evaluation of an expression, whose value determines the successor. Either a Boolean completion (BooleanCompletion), or a matching completion (MatchingCompletion).

Import path

import codeql.ruby.controlflow.internal.Completion

Direct supertypes

Indirect supertypes

Known direct subtypes

    Fields

    Predicates

    getValue

    Gets the Boolean value of this conditional completion.

    Inherited predicates

    continuesLoop

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

    from Completion
    getAMatchingSuccessorType

    Gets a successor type that matches this completion.

    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
    isValidFor

    Holds if this completion is valid for node n.

    from Completion
    toString

    Gets a textual representation of this completion.

    from Completion

    Charpred