Searched defs:CursorKind (Results 1 - 8 of 8) 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 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
[all...]
H A Dtest_tokens.py1 from clang.cindex import CursorKind namespace
22 assert cursor.kind == CursorKind.VAR_DECL
H A Dtest_cursor.py3 from clang.cindex import CursorKind namespace
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
[all...]
H A Dtest_type.py3 from clang.cindex import CursorKind namespace
33 assert all(x.kind == CursorKind.FIELD_DECL for x in fields)
H A Dtest_translation_unit.py4 from clang.cindex import CursorKind namespace
27 assert c.kind is CursorKind.TRANSLATION_UNIT
/external/clang/bindings/python/clang/
H A Dcindex.py477 class CursorKind(object): class in inherits: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
[all...]
/external/clang/lib/Frontend/
H A DASTUnit.cpp369 CachedResult.Kind = Results[I].CursorKind;
469 CachedResult.Kind = Results[I].CursorKind;
2241 CXCursorKind CursorKind = C->Kind; local
2275 CursorKind = CXCursor_NotImplemented;
2280 AllResults.push_back(Result(Completion, Priority, CursorKind,
/external/clang/include/clang-c/
H A DIndex.h4032 enum CXCursorKind CursorKind; member in struct:__anon3416

Completed in 134 milliseconds