/external/clang/bindings/python/tests/cindex/ |
test_cursor_kind.py | 1 from clang.cindex import CursorKind 4 assert CursorKind.UNEXPOSED_DECL.name is 'UNEXPOSED_DECL' 7 assert CursorKind.UNEXPOSED_DECL in CursorKind.get_all_kinds() 8 assert CursorKind.TRANSLATION_UNIT in CursorKind.get_all_kinds() 13 assert CursorKind.UNEXPOSED_DECL.is_declaration() 14 assert CursorKind.TYPE_REF.is_reference() 15 assert CursorKind.DECL_REF_EXPR.is_expression() 16 assert CursorKind.UNEXPOSED_STMT.is_statement( [all...] |
test_cursor.py | 3 from clang.cindex import CursorKind 48 assert tu_nodes[0].kind == CursorKind.STRUCT_DECL 59 assert s0_nodes[0].kind == CursorKind.FIELD_DECL 62 assert s0_nodes[1].kind == CursorKind.FIELD_DECL 66 assert tu_nodes[1].kind == CursorKind.STRUCT_DECL 71 assert tu_nodes[2].kind == CursorKind.FUNCTION_DECL 159 assert enum.kind == CursorKind.ENUM_DECL 168 assert enum.kind == CursorKind.ENUM_DECL 183 assert enum.kind == CursorKind.ENUM_DECL 190 assert spam.kind == CursorKind.ENUM_CONSTANT_DEC [all...] |
test_tokens.py | 1 from clang.cindex import CursorKind 22 assert cursor.kind == CursorKind.VAR_DECL
|
test_translation_unit.py | 4 from clang.cindex import CursorKind 27 assert c.kind is CursorKind.TRANSLATION_UNIT
|
test_type.py | 3 from clang.cindex import CursorKind 33 assert all(x.kind == CursorKind.FIELD_DECL for x in fields)
|
/external/clang/bindings/python/clang/ |
cindex.py | 477 class CursorKind(object): 479 A CursorKind describes the kind of entity that a cursor points to. 487 if value >= len(CursorKind._kinds): 488 CursorKind._kinds += [None] * (value - len(CursorKind._kinds) + 1) 489 if CursorKind._kinds[value] is not None: 490 raise ValueError,'CursorKind already loaded' 492 CursorKind._kinds[value] = self 493 CursorKind._name_map = None 503 for key,value in CursorKind.__dict__.items() [all...] |
/external/clang/include/clang/Sema/ |
CodeCompleteConsumer.h | 679 CXCursorKind CursorKind; 725 Kind(RK_Keyword), CursorKind(CXCursor_NotImplemented), 736 Kind(RK_Macro), CursorKind(CXCursor_MacroDefinition), 746 CXCursorKind CursorKind = CXCursor_NotImplemented, 750 Kind(RK_Pattern), CursorKind(CursorKind), Availability(Availability), [all...] |
/external/clang/lib/Sema/ |
CodeCompleteConsumer.cpp | 539 CursorKind = getCursorKindForDecl(Declaration); 540 if (CursorKind == CXCursor_UnexposedDecl) { 545 CursorKind = CXCursor_ObjCInterfaceDecl; 547 CursorKind = CXCursor_ObjCProtocolDecl; 549 CursorKind = CXCursor_NotImplemented;
|
SemaCodeComplete.cpp | 810 R.CursorKind = getCursorKindForDecl(R.Declaration); [all...] |
/external/clang/tools/libclang/ |
CIndexCodeCompletion.cpp | 553 R.CursorKind = Results[I].CursorKind; 630 R.CursorKind = CXCursor_NotImplemented; [all...] |
/external/clang/lib/Frontend/ |
ASTUnit.cpp | 379 CachedResult.Kind = Results[I].CursorKind; 479 CachedResult.Kind = Results[I].CursorKind; [all...] |
/external/clang/include/clang-c/ |
Index.h | [all...] |
/external/clang/tools/c-index-test/ |
c-index-test.c | [all...] |