CodeQL library for Swift
codeql/swift-all 3.0.1-dev (changelog, source)
Search

Class Raw::ForEachStmt

INTERNAL: Do not use.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getBody

Gets the body of this for each statement.

getIteratorVar

Gets the iteratorvar of this for each statement, if it exists.

getNextCall

Gets the nextcall of this for each statement, if it exists.

getPattern

Gets the pattern of this for each statement.

getVariable

Gets the indexth variable of this for each statement (0-based).

getWhere

Gets the where of this for each statement, if it exists.

toString

Inherited predicates

getLabel

Gets the label of this labeled statement, if it exists.

from LabeledStmt
getLocation

Gets the location associated with this element in the code, if it exists.

from Locatable
isUnknown

Holds if this element is unknown.

from Element