OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CursorKind
(Results
1 - 7
of
7
) 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_cursor.py
3
from clang.cindex import
CursorKind
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
.ENUM_CONSTANT_DEC
[
all
...]
test_type.py
3
from clang.cindex import
CursorKind
33
assert all(x.kind ==
CursorKind
.FIELD_DECL for x in fields)
test_translation_unit.py
5
from clang.cindex import
CursorKind
29
assert c.kind is
CursorKind
.TRANSLATION_UNIT
/external/clang/bindings/python/clang/
cindex.py
500
class
CursorKind
(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
.__dict__.items()
[
all
...]
/external/clang/include/clang-c/
Index.h
[
all
...]
Completed in 64 milliseconds