OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CursorKind
(Results
1 - 8
of
8
) 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
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
.MS_ASM_STMT in kind
[
all
...]
test_tokens.py
1
from clang.cindex import
CursorKind
22
assert cursor.kind ==
CursorKind
.VAR_DECL
test_type.py
3
from clang.cindex import
CursorKind
33
assert all(x.kind ==
CursorKind
.FIELD_DECL for x in fields)
385
assert children[0].kind ==
CursorKind
.STRUCT_DECL
388
assert fields[0].kind ==
CursorKind
.FIELD_DECL
389
assert fields[1].kind ==
CursorKind
.FIELD_DECL
test_cursor.py
4
from clang.cindex import
CursorKind
43
assert tu_nodes[0].kind ==
CursorKind
.STRUCT_DECL
54
assert s0_nodes[0].kind ==
CursorKind
.FIELD_DECL
57
assert s0_nodes[1].kind ==
CursorKind
.FIELD_DECL
61
assert tu_nodes[1].kind ==
CursorKind
.STRUCT_DECL
66
assert tu_nodes[2].kind ==
CursorKind
.FUNCTION_DECL
214
assert enum.kind ==
CursorKind
.ENUM_DECL
223
assert enum.kind ==
CursorKind
.ENUM_DECL
238
assert enum.kind ==
CursorKind
.ENUM_DECL
245
assert spam.kind ==
CursorKind
.ENUM_CONSTANT_DEC
[
all
...]
test_translation_unit.py
5
from clang.cindex import
CursorKind
29
assert c.kind is
CursorKind
.TRANSLATION_UNIT
/bionic/libc/kernel/tools/
cpp.py
21
from clang.cindex import
CursorKind
[
all
...]
/external/clang/bindings/python/clang/
cindex.py
545
class
CursorKind
(BaseEnumeration):
547
A
CursorKind
describes the kind of entity that a cursor points to.
556
"""Return all
CursorKind
enumeration instances."""
557
return filter(None,
CursorKind
._kinds)
596
return '
CursorKind
.%s' % (self.name,)
607
CursorKind
.UNEXPOSED_DECL =
CursorKind
(1)
610
CursorKind
.STRUCT_DECL =
CursorKind
(2)
613
CursorKind
.UNION_DECL = CursorKind(3
[
all
...]
/external/clang/include/clang-c/
Index.h
[
all
...]
Completed in 100 milliseconds