Changeset View
Changeset View
Standalone View
Standalone View
language/duchain/ducontext.h
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Line(s) | 81 | public: | |||
---|---|---|---|---|---|
90 | explicit DUContext(DUContextData&); | 90 | explicit DUContext(DUContextData&); | ||
91 | 91 | | |||
92 | /** | 92 | /** | ||
93 | * Destructor. Will delete all child contexts which are defined within | 93 | * Destructor. Will delete all child contexts which are defined within | ||
94 | * the same file as this context. | 94 | * the same file as this context. | ||
95 | */ | 95 | */ | ||
96 | virtual ~DUContext(); | 96 | virtual ~DUContext(); | ||
97 | 97 | | |||
98 | enum ContextType { | 98 | enum ContextType : uchar { | ||
99 | Global /**< A context that declares functions, namespaces or classes */, | 99 | Global /**< A context that declares functions, namespaces or classes */, | ||
100 | Namespace /**< A context that declares namespace members */, | 100 | Namespace /**< A context that declares namespace members */, | ||
101 | Class /**< A context that declares class members */, | 101 | Class /**< A context that declares class members */, | ||
102 | Function /**< A context that declares function-arguments */, | 102 | Function /**< A context that declares function-arguments */, | ||
103 | Template /**< A context that declares template-parameters */, | 103 | Template /**< A context that declares template-parameters */, | ||
104 | Enum /**< A context that contains a list of enumerators */, | 104 | Enum /**< A context that contains a list of enumerators */, | ||
105 | Helper /**< A helper context. This context is treated specially during search: | 105 | Helper /**< A helper context. This context is treated specially during search: | ||
106 | * when searching within the imports of a context, and that context's parent | 106 | * when searching within the imports of a context, and that context's parent | ||
▲ Show 20 Lines • Show All 827 Lines • Show Last 20 Lines |