Cpp.FieldIdentifier Class
Namespace: Cpp
Superclasses: AstNodeProperties
Represents the field_identifier nodes in the syntax tree of your code
Since R2026a
Description
The PQL class Cpp.FieldIdentifier.FieldIdentifier represents the node field_identifier in the syntax tree of your code.
struct Point { int x, y; };
Point p; // Not a field_identifier
int a = p.x;The expression p.x contains the field_identifier
node corresponding to x. The class
Cpp.FieldIdentifier.FieldIdentifier models such identifiers that are
fields of larger types.
Predicates
Version History
Introduced in R2026a