Cpp.Identifier Class
Namespace: Cpp
Superclasses: AstNodeProperties
Represents the identifier nodes in the syntax tree of your code
Since R2026a
Description
The PQL class Identifier represents the node identifier in the syntax tree of your code.
// example_identifier.cpp
#include <iostream>
int main() {
int myVar = 42;
std::cout << myVar << std::endl;
return 0;
}The myVar token in the example corresponds to an
identifier node. PQL class Identifier matches this
node.
Predicates
Version History
Introduced in R2026a