Cpp.Character Class
Namespace: Cpp
Superclasses: AstNodeProperties
Represents the character nodes in the syntax tree of your code
Since R2026a
Description
The PQL class Cpp.Character represents the node character in the syntax tree of your code.
void test_char() {
char c = 'a';
wchar_t w = L'b';
char16_t c16 = u'c';
char32_t c32 = U'd';
char esc = '\n';
}The above C++ shows several character literal tokens. Each quoted literal (for example 'a' or L'b') corresponds to a character node in the syntax tree and is represented by Cpp.Character in PQL.
Predicates
Version History
Introduced in R2026a