主要内容

Cpp.Declarator Class

Namespace: Cpp
Superclasses: AstNodeProperties

Represents the declarator nodes in the syntax tree of your code

Since R2026a

Description

The PQL class Declarator represents the node declarator in the syntax tree of your code.

int a = 1;
int *p;
int arr[3] = {1,2,3};

The three declarations above include different forms of declarator, such as the simple identifier a, the pointer *p, and the array arr, that correspond to the declarator node in the PQL syntax tree.

Predicates

expand all

Version History

Introduced in R2026a