enum CXCompletionContext
Description
Bits that represent the context under which completion is occurring. The enumerators in this enumeration may be bitwise-OR'd together if multiple contexts are occurring simultaneously.
Declared at: clang/include/clang-c/Index.h:5673
Enumerators
Name | Value | Comment |
---|---|---|
CXCompletionContext_Unexposed | 0 | The context for completions is unexposed, as only Clang results should be included. (This is equivalent to having no context bits set.) |
CXCompletionContext_AnyType | 1 | Completions for any possible type should be included in the results. |
CXCompletionContext_AnyValue | 2 | Completions for any possible value (variables, function calls, etc.) should be included in the results. |
CXCompletionContext_ObjCObjectValue | 4 | Completions for values that resolve to an Objective-C object should be included in the results. |
CXCompletionContext_ObjCSelectorValue | 8 | Completions for values that resolve to an Objective-C selector should be included in the results. |
CXCompletionContext_CXXClassTypeValue | 16 | Completions for values that resolve to a C++ class type should be included in the results. |
CXCompletionContext_DotMemberAccess | 32 | Completions for fields of the member being accessed using the dot operator should be included in the results. |
CXCompletionContext_ArrowMemberAccess | 64 | Completions for fields of the member being accessed using the arrow operator should be included in the results. |
CXCompletionContext_ObjCPropertyAccess | 128 | Completions for properties of the Objective-C object being accessed using the dot operator should be included in the results. |
CXCompletionContext_EnumTag | 256 | Completions for enum tags should be included in the results. |
CXCompletionContext_UnionTag | 512 | Completions for union tags should be included in the results. |
CXCompletionContext_StructTag | 1024 | Completions for struct tags should be included in the results. |
CXCompletionContext_ClassTag | 2048 | Completions for C++ class names should be included in the results. |
CXCompletionContext_Namespace | 4096 | Completions for C++ namespaces and namespace aliases should be included in the results. |
CXCompletionContext_NestedNameSpecifier | 8192 | Completions for C++ nested name specifiers should be included in the results. |
CXCompletionContext_ObjCInterface | 16384 | Completions for Objective-C interfaces (classes) should be included in the results. |
CXCompletionContext_ObjCProtocol | 32768 | Completions for Objective-C protocols should be included in the results. |
CXCompletionContext_ObjCCategory | 65536 | Completions for Objective-C categories should be included in the results. |
CXCompletionContext_ObjCInstanceMessage | 131072 | Completions for Objective-C instance messages should be included in the results. |
CXCompletionContext_ObjCClassMessage | 262144 | Completions for Objective-C class messages should be included in the results. |
CXCompletionContext_ObjCSelectorName | 524288 | Completions for Objective-C selector names should be included in the results. |
CXCompletionContext_MacroName | 1048576 | Completions for preprocessor macro names should be included in the results. |
CXCompletionContext_NaturalLanguage | 2097152 | Natural language completions should be included in the results. |
CXCompletionContext_IncludedFile | 4194304 | #include file completions should be included in the results. |
CXCompletionContext_Unknown | 8388607 | The current context is unknown, so set all contexts. |