주요 콘텐츠

Cpp.ParameterDeclaration Class

Namespace: Cpp
Superclasses: AstNodeProperties

Represents the parameter_declaration nodes in the syntax tree of your code

Since R2026a

Description

The PQL class Cpp.ParameterDeclaration represents the node parameter_declaration in the syntax tree of your code.

void foo(int x, const int y, static int z, [[nodiscard]] int w, __declspec(dllexport) int v, virtual int u);

The function parameter list contains several parameter_declaration nodes. Each parameter such as int x or const int y corresponds to a Cpp.ParameterDeclaration node.

Predicates

expand all

Version History

Introduced in R2026a