Module Access
Provides classes for modeling accesses including variable accesses, enum constant accesses and function accesses.
Import path
import semmle.code.cpp.exprs.Access
Imports
Classes
Access |
A C/C++ access expression. This refers to a function (excluding function references in function call expressions), variable, or enum constant. |
ArrayExpr |
A C/C++ array access expression. For example, the access to |
DotFieldAccess |
A field access of the form |
EnumConstantAccess |
A C/C++ |
FieldAccess |
A C/C++ field access expression. For example the accesses to |
FunctionAccess |
A C/C++ function access expression. For example the access to |
ImplicitThisFieldAccess |
A field access of a field of |
ParamAccessForType |
An access to a parameter of a function signature for the purposes of a |
PointerFieldAccess |
A field access whose qualifier is a pointer to a class, struct or union. These typically take the form |
PointerToFieldLiteral |
A C++ pointer to non-static data member literal. For example, |
ReferenceFieldAccess |
A field access of the form |
TypeName |
An access to a type. This occurs in certain contexts where a built-in works on types directly rather than variables, expressions etc. For example the reference to |
ValueFieldAccess |
A field access of the form |
VariableAccess |
A C/C++ variable access expression. For example the accesses to |