주요 콘텐츠

Cpp.Null Class

Namespace: Cpp
Superclasses: AstNodeProperties

Represents the null nodes in the syntax tree of your code

Since R2026a

Description

The PQL class Cpp.Null represents the node null in the syntax tree of your code.

void foo() {
    int *p = nullptr;
    void *q = NULL;
}

The two null tokens nullptr and NULL in the example correspond to null nodes in the tree and are what Cpp.Null matches.

Predicates

expand all

Version History

Introduced in R2026a