Searched refs:CursorKind (Results 1 - 13 of 13) sorted by relevance

/external/clang/bindings/python/tests/cindex/
H A Dtest_cursor_kind.py1 from clang.cindex import CursorKind namespace
4 assert CursorKind.UNEXPOSED_DECL.name is 'UNEXPOSED_DECL'
7 kinds = CursorKind.get_all_kinds()
8 assert CursorKind.UNEXPOSED_DECL in kinds
9 assert CursorKind.TRANSLATION_UNIT in kinds
10 assert CursorKind.VARIABLE_REF in kinds
11 assert CursorKind.LAMBDA_EXPR in kinds
12 assert CursorKind.OBJ_BOOL_LITERAL_EXPR in kinds
13 assert CursorKind.OBJ_SELF_EXPR in kinds
14 assert CursorKind
[all...]
H A Dtest_cursor.py3 from clang.cindex import CursorKind namespace
41 assert tu_nodes[0].kind == CursorKind.STRUCT_DECL
52 assert s0_nodes[0].kind == CursorKind.FIELD_DECL
55 assert s0_nodes[1].kind == CursorKind.FIELD_DECL
59 assert tu_nodes[1].kind == CursorKind.STRUCT_DECL
64 assert tu_nodes[2].kind == CursorKind.FUNCTION_DECL
152 assert enum.kind == CursorKind.ENUM_DECL
161 assert enum.kind == CursorKind.ENUM_DECL
176 assert enum.kind == CursorKind.ENUM_DECL
183 assert spam.kind == CursorKind
[all...]
H A Dtest_tokens.py1 from clang.cindex import CursorKind namespace
22 assert cursor.kind == CursorKind.VAR_DECL
H A Dtest_translation_unit.py5 from clang.cindex import CursorKind namespace
29 assert c.kind is CursorKind.TRANSLATION_UNIT
H A Dtest_type.py3 from clang.cindex import CursorKind namespace
33 assert all(x.kind == CursorKind.FIELD_DECL for x in fields)
/external/clang/bindings/python/clang/
H A Dcindex.py500 class CursorKind(object): class in inherits:object
502 A CursorKind describes the kind of entity that a cursor points to.
510 if value >= len(CursorKind._kinds):
511 CursorKind._kinds += [None] * (value - len(CursorKind._kinds) + 1)
512 if CursorKind._kinds[value] is not None:
513 raise ValueError,'CursorKind already loaded'
515 CursorKind._kinds[value] = self
516 CursorKind._name_map = None
526 for key,value in CursorKind
[all...]
/external/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h672 CXCursorKind CursorKind;
718 StartParameter(0), Kind(RK_Keyword), CursorKind(CXCursor_NotImplemented),
728 Kind(RK_Macro), CursorKind(CXCursor_MacroDefinition),
737 CXCursorKind CursorKind = CXCursor_NotImplemented,
741 Kind(RK_Pattern), CursorKind(CursorKind), Availability(Availability),
/external/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp538 CursorKind = getCursorKindForDecl(Declaration);
539 if (CursorKind == CXCursor_UnexposedDecl) {
544 CursorKind = CXCursor_ObjCInterfaceDecl;
546 CursorKind = CXCursor_ObjCProtocolDecl;
548 CursorKind = CXCursor_NotImplemented;
H A DSemaCodeComplete.cpp808 R.CursorKind = getCursorKindForDecl(R.Declaration);
/external/clang/tools/libclang/
H A DCIndexCodeCompletion.cpp550 R.CursorKind = Results[I].CursorKind;
625 R.CursorKind = CXCursor_NotImplemented;
/external/clang/lib/Frontend/
H A DASTUnit.cpp374 CachedResult.Kind = Results[I].CursorKind;
474 CachedResult.Kind = Results[I].CursorKind;
/external/clang/include/clang-c/
H A DIndex.h4025 enum CXCursorKind CursorKind; member in struct:__anon17652
/external/clang/tools/c-index-test/
H A Dc-index-test.c1827 CXString ks = clang_getCursorKindSpelling(completion_result->CursorKind);
3991 " c-index-test -print-usr [<CursorKind> {<args>}]*\n"

Completed in 6100 milliseconds