HomeSort by relevance Sort by last modified time
    Searched defs:CursorKind (Results 1 - 6 of 6) sorted by null

  /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 1 from clang.cindex import CursorKind
42 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
83 assert enum.kind == CursorKind.ENUM_DECL
test_type.py 1 from clang.cindex import CursorKind
30 assert all(x.kind == CursorKind.FIELD_DECL for x in fields)
  /external/clang/bindings/python/clang/
cindex.py 317 class CursorKind(object):
319 A CursorKind describes the kind of entity that a cursor points to.
327 if value >= len(CursorKind._kinds):
328 CursorKind._kinds += [None] * (value - len(CursorKind._kinds) + 1)
329 if CursorKind._kinds[value] is not None:
330 raise ValueError,'CursorKind already loaded'
332 CursorKind._kinds[value] = self
333 CursorKind._name_map = None
343 for key,value in CursorKind.__dict__.items()
    [all...]
  /external/clang/lib/Frontend/
ASTUnit.cpp 372 CachedResult.Kind = Results[I].CursorKind;
470 CachedResult.Kind = Results[I].CursorKind;
    [all...]
  /external/clang/include/clang-c/
Index.h     [all...]

Completed in 177 milliseconds