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

Class Completion

A completion of a statement or an expression.

Import path

import codeql.ruby.controlflow.internal.Completion

Direct supertypes

Known direct subtypes

Predicates

continuesLoop

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

getAMatchingSuccessorType

Gets a successor type that matches this completion.

getInnerCompletion

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

getOuterCompletion

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

isValidFor

Holds if this completion is valid for node n.

toString

Gets a textual representation of this completion.