Contenido principal

Cpp.WhileStatement Class

Namespace: Cpp
Superclasses: AstNodeProperties

Represents the while_statement nodes in the syntax tree of your code

Since R2026a

Description

The PQL class WhileStatement represents the node while_statement in the syntax tree of your code.

while (condition) {
    // body
}

In this code, the while_statement node corresponds to the loop construct with a condition and a body in the C++ source.

Predicates

expand all

Version History

Introduced in R2026a