Module NameQualifiers

Import path

import semmle.code.cpp.NameQualifiers

Imports

cpp

Provides classes and predicates for working with C/C++ 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 example, there are two name-qualifiable elements in the following code, the expression f() (which is qualified by N::), and the qualifier N:: (which is not itself qualified in this example): ``` namespace N { int f() { … } }

NameQualifier

A C++ name qualifier, for example N:: in the following code: ``` namespace N { int f() { … } }

NameQualifyingElement

A C++ element that can qualify a name. For example, the namespaces A and A::B and the class A::C in the following code: ``` namespace A { namespace B { … }

SpecialNameQualifyingElement

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