Cpp.ObjectWithPosition Class
Namespace: Cpp
Description
ObjectWithPosition class represents an object that has a position, such
as call sites, variables, types, casts, fields, and functions. These objects are
represented by classes that inherit from ObjectWithPosition.
The class ObjectWithPosition is a superclass. It cannot interact with
your C/C++ code directly. The child classes of this class can invoke the predicates of this
class to analyze your C/C++ code.
Predicates
Child Classes
The class ObjectWithpsotion has these child classes.
| Child Class | Description |
|---|---|
Cpp.CallSite
| Represents function call sites. |
Cpp.Cast
| Represents casts. |
Cpp.Field
| Represents member variables of starctures, classes, and unions. |
Cpp.Function
| Represents a callable function. |
Cpp.Type
| Represent a built-in or user-defined type. |
Cpp.Variable
| Represents a variable. |
Examples
Version History
Introduced in R2026a