주요 콘텐츠

Cpp.ParenthesizedExpression Class

Namespace: Cpp
Superclasses: AstNodeProperties

Represents the parenthesized_expression nodes in the syntax tree of your code

Since R2026a

Description

The PQL class Cpp.ParenthesizedExpression represents the node parenthesized_expression in the syntax tree of your code.

#define FOO
void test() {
    int a = (1 + 2);
    int b = (a, 3);
#if defined(FOO)
    int c = 1;
#endif
}

The examples show three parenthesized expressions: (1 + 2), (a, 3), and (FOO) where each corresponds to a parenthesized_expression PQL node.

Predicates

expand all

Version History

Introduced in R2026a