Contenuto principale

Ast.TypeQualifier Class

Namespace: Ast
Superclasses: AstNodeProperties

Represents the type_qualifier nodes in the syntax tree of your code

Since R2026a

Description

The PQL class Cpp.TypeQualifier represents the node type_qualifier in the syntax tree of your code.

#include <cstddef>

const int x = 5;
volatile int y;
alignas(16) int z;
int main() { return x + y + z; }

The three declarations show const, volatile, and alignas(16) which correspond to type_qualifier nodes that Cpp.TypeQualifier models.

Predicates

expand all

Version History

Introduced in R2026a