Main Content

Cpp.UnaryExpression Class

Namespace: Cpp
Superclasses: AstNodeProperties

Represents the unary_expression nodes in the syntax tree of your code

Since R2026a

Description

The PQL class UnaryExpression represents the node unary_expression in the syntax tree of your code.

int x = +1;

In this code, the unary_expression node corresponds to the unary operator applied to the operand +1 in the C++ source.

Predicates

expand all

Version History

Introduced in R2026a