주요 콘텐츠

Cpp.FieldExpression Class

Namespace: Cpp
Superclasses: AstNodeProperties

Represents the field_expression nodes in the syntax tree of your code

Since R2026a

Description

The PQL class FieldExpression represents the node field_expression in the syntax tree of your code.

struct S { int x; };
void f() {
    S s;
    int a = s.x;
    S* p = &s;
    int b = p->x;
}

The s.x and p->x expressions in f correspond to field_expression nodes and are what Cpp.FieldExpression models.

Predicates

expand all

Version History

Introduced in R2026a