Ast.StorageClassSpecifier Class
Namespace: Ast
Superclasses: AstNodeProperties
Represents the storage_class_specifier nodes in the syntax tree of your code
Since R2026a
Description
The PQL class Cpp.StorageClassSpecifier represents the node storage_class_specifier in the syntax tree of your code.
static int x = 0;
extern int y;
register int z;
int main() {
x = 1;
y = 2;
z = 3;
return 0;
}The three declarations static int x, extern int y, and register int z each contain a storage_class_specifier node which corresponds to Cpp.StorageClassSpecifier in PQL.
Predicates
Version History
Introduced in R2026a