Module NameQualifiers

Import path

semmle.code.cpp.NameQualifiers

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.

Classes

NameQualifiableElement

A C++ element that can be qualified with a name. This is in practice either an expression or a name qualifier. For instance, in N1::N2::f(), there are two name-qualifiable elements: the expression f() and the name qualifier N2::. The former is qualified by N2 and the latter is qualified by N1.

NameQualifier

A C++ name qualifier, for example N::.

NameQualifyingElement

A C++ element that can qualify a name. For example, N in N::f(). A name-qualifying element is either a namespace or a user-defined type.

SpecialNameQualifyingElement

A special name-qualifying element. For example: __super.