主要内容

Cpp.PointerDeclarator Class

Namespace: Cpp
Superclasses: AstNodeProperties

Represents the pointer_declarator nodes in the syntax tree of your code

Since R2026a

Description

The PQL class PointerDeclarator represents the node pointer_declarator in the syntax tree of your code.

int *a;
int * const b = nullptr;

The sample shows pointer declarators *a and * const b that are matched by this class.

Predicates

expand all

Version History

Introduced in R2026a