1///|
2pub extern "c" fn 
type Cursor
Cursor
::kind(self :
type Cursor
Cursor
) -> CursorKind = "illusory0x0_clang_Cursor_kind"
3 4///| 5pub extern "c" fn
type Cursor
Cursor
::spelling(self :
type Cursor
Cursor
) ->
Bytes
Bytes
= "illusory0x0_clang_Cursor_spelling"
6 7///| 8pub extern "c" fn
type Cursor
Cursor
::display_name(self :
type Cursor
Cursor
) ->
Bytes
Bytes
= "illusory0x0_clang_Cursor_display_name"
9 10///| 11pub extern "c" fn
type Cursor
Cursor
::type_(self :
type Cursor
Cursor
) ->
type Type
Type
= "illusory0x0_clang_Cursor_type_"
12 13///| TODO: use pattern match implemented String version 14pub extern "c" fn
type Cursor
Cursor
::kind_spelling(k : CursorKind) ->
Bytes
Bytes
= "illusory0x0_clang_Cursor_kind_spelling"
15 16///| 17pub extern "c" fn
type Cursor
Cursor
::semantic_parent(self :
type Cursor
Cursor
) ->
type Cursor
Cursor
= "illusory0x0_clang_Cursor_semantic_parent"
18 19///| 20pub extern "c" fn
type Cursor
Cursor
::lexical_parent(self :
type Cursor
Cursor
) ->
type Cursor
Cursor
= "illusory0x0_clang_Cursor_lexical_parent"
21 22///| 23pub extern "c" fn
type Cursor
Cursor
::null() ->
type Cursor
Cursor
= "illusory0x0_clang_Cursor_null"
24 25///| 26pub extern "c" fn
type Cursor
Cursor
::is_null(self :
type Cursor
Cursor
) ->
Bool
Bool
= "illusory0x0_clang_Cursor_is_null"
27 28///| 29pub extern "c" fn
type Cursor
Cursor
::typedef_decl_underlying_type(self :
type Cursor
Cursor
) ->
type Type
Type
= "illusory0x0_clang_Cursor_typedef_decl_underlying_type"
30 31///| 32pub extern "c" fn
type Cursor
Cursor
::enum_decl_integer_type(self :
type Cursor
Cursor
) ->
type Type
Type
= "illusory0x0_clang_Cursor_enum_decl_integer_type"
33 34///| 35pub extern "c" fn
type Cursor
Cursor
::enum_constant_decl_value(self :
type Cursor
Cursor
) ->
Int64
Int64
= "illusory0x0_clang_Cursor_enum_constant_decl_value"
36 37///| 38pub extern "c" fn
type Cursor
Cursor
::enum_constant_decl_unsigned_value(
39 self :
type Cursor
Cursor
40) ->
UInt64
UInt64
= "illusory0x0_clang_Cursor_enum_constant_decl_unsigned_value"
41 42///| 43 44///| 45fn
type Cursor
Cursor
::
(self : Cursor) -> Iter[Cursor]
children
(
Cursor
self
:
type Cursor
Cursor
) ->
type Iter[T]
Iter
[
type Cursor
Cursor
] {
46
type Iter[T]
Iter
::
(((Cursor) -> IterResult) -> IterResult) -> Iter[Cursor]

Do not use this method, it is for internal use only.

new
(fn(
(Cursor) -> IterResult
f
) {
type Cursor
Cursor
::
(self : Cursor, f : (Cursor) -> IterResult) -> IterResult
_visit_children
(
Cursor
self
,
(Cursor) -> IterResult
f
) })
47} 48 49///| 50pub extern "c" fn
type Cursor
Cursor
::canonical(self :
type Cursor
Cursor
) ->
type Cursor
Cursor
= "illsuory0x0_clang_Cursor_canonical"
51 52///| 53pub extern "c" fn
type Cursor
Cursor
::is_macro_function_like(self :
type Cursor
Cursor
) ->
Bool
Bool
= "illusory0x0_clang_Cursor_is_macro_function_like"
54 55///| 56pub extern "c" fn
type Cursor
Cursor
::is_macro_builtin(self :
type Cursor
Cursor
) ->
Bool
Bool
= "illusory0x0_clang_Cursor_is_macro_builtin"
57 58///| 59pub extern "c" fn
type Cursor
Cursor
::is_function_inlined(self :
type Cursor
Cursor
) ->
Bool
Bool
= "illusory0x0_clang_Cursor_is_function_inlined"
60 61///| 62pub extern "c" fn
type Cursor
Cursor
::language(self :
type Cursor
Cursor
) ->
enum LanguageKind {
  Invalid
  C
  ObjC
  CPlusPlus
}
LanguageKind
= "illusory0x0_clang_Cursor_language"
63 64///| 65pub extern "c" fn
type Cursor
Cursor
::linkage(self :
type Cursor
Cursor
) ->
enum LinkageKind {
  Invalid
  NoLinkage
  Internal
  UniqueExternal
  External
}
LinkageKind
= "illusory0x0_clang_Cursor_linkage"
66 67///| 68pub extern "c" fn
type Cursor
Cursor
::availability(self :
type Cursor
Cursor
) ->
enum LinkageKind {
  Invalid
  NoLinkage
  Internal
  UniqueExternal
  External
}
LinkageKind
= "illusory0x0_clang_Cursor_availability"
69 70///| 71pub extern "c" fn
type Cursor
Cursor
::visibility(self :
type Cursor
Cursor
) ->
enum LinkageKind {
  Invalid
  NoLinkage
  Internal
  UniqueExternal
  External
}
LinkageKind
= "illusory0x0_clang_Cursor_visibility"
72 73///| 74pub extern "c" fn
type Cursor
Cursor
::cxx_access_specifier(
75 self :
type Cursor
Cursor
76) ->
enum CXX_AccessSpecifier {
  InvalidAccessSpecifier
  Public
  Protected
  Private
}
CXX_AccessSpecifier
= "illusory0x0_clang_cursor_cxx_access_specifier"
77 78///| 79pub extern "c" fn
type Cursor
Cursor
::storage_class(self :
type Cursor
Cursor
) ->
enum StorageClass {
  Invalid
  None
  Extern
  Static
  PrivateExtern
  OpenCLWorkGroupLocal
  Auto
  Register
}
StorageClass
= "illusory0x0_clang_cursor_storage_class"
80 81///| 82pub extern "c" fn
type Cursor
Cursor
::overloaded_decls_num(self :
type Cursor
Cursor
) ->
Int
Int
= "illusory0x0_clang_cursor_overloaded_decls_num"
83 84///| 85pub extern "c" fn
type Cursor
Cursor
::overloaded_decls(
86 self :
type Cursor
Cursor
,
87 index :
Int
Int
88) ->
type Cursor
Cursor
= "illusory0x0_clang_Cursor_overloaded_decls"
89 90///| 91pub extern "c" fn
type Cursor
Cursor
::source_location(self :
type Cursor
Cursor
) ->
type SourceLocation
SourceLocation
= "illusory0x0_clang_Cursor_source_location"
92 93///| 94pub extern "c" fn
type Cursor
Cursor
::extent(self :
type Cursor
Cursor
) ->
type SourceRange
SourceRange
= "illusory0x0_clang_Cursor_extent"
95