Searched refs:semantic_parent (Results 1 – 3 of 3) sorted by relevance
184 pub fn semantic_parent(&self) -> Cursor { in semantic_parent() method242 let mut semantic_parent = self.fallible_semantic_parent(); in is_toplevel() localVariable244 while semantic_parent.is_some() && in is_toplevel()245 (semantic_parent.unwrap().kind() == CXCursor_Namespace || in is_toplevel()246 semantic_parent.unwrap().kind() == in is_toplevel()248 semantic_parent.unwrap().kind() == CXCursor_NamespaceRef) in is_toplevel()250 semantic_parent = in is_toplevel()251 semantic_parent.unwrap().fallible_semantic_parent(); in is_toplevel()256 semantic_parent == tu.fallible_semantic_parent() in is_toplevel()306 let parent = self.semantic_parent(); in is_in_non_fully_specialized_template()
499 cursor.lexical_parent() != cursor.semantic_parent() in from_ty()510 let parent = cursor.semantic_parent(); in from_ty()
1405 cur.semantic_parent() == cursor || cur.is_definition(); in from_ty()