Lines Matching refs:FunctionKind
23 pub enum FunctionKind { enum
30 impl FunctionKind { implementation
31 fn from_cursor(cursor: &clang::Cursor) -> Option<FunctionKind> { in from_cursor() argument
34 clang_sys::CXCursor_FunctionDecl => FunctionKind::Function, in from_cursor()
36 FunctionKind::Method(MethodKind::Constructor) in from_cursor()
39 FunctionKind::Method(if cursor.method_is_virtual() { in from_cursor()
49 FunctionKind::Method(MethodKind::Virtual { in from_cursor()
53 FunctionKind::Method(MethodKind::Static) in from_cursor()
55 FunctionKind::Method(MethodKind::Normal) in from_cursor()
91 kind: FunctionKind,
104 kind: FunctionKind, in new() argument
133 pub fn kind(&self) -> FunctionKind { in kind() argument
582 let kind = match FunctionKind::from_cursor(&cursor) { in parse()