Searched refs:semantic_parent (Results 1 – 7 of 7) sorted by relevance
86 parent = cursor.semantic_parent279 assert(curs[0].semantic_parent == curs[1].semantic_parent)280 assert(curs[0].semantic_parent == decl)
147 pub fn semantic_parent(&self) -> Cursor { in semantic_parent() method205 let mut semantic_parent = self.fallible_semantic_parent(); in is_toplevel() localVariable207 while semantic_parent.is_some() && in is_toplevel()208 (semantic_parent.unwrap().kind() == CXCursor_Namespace || in is_toplevel()209 semantic_parent.unwrap().kind() == in is_toplevel()211 semantic_parent.unwrap().kind() == CXCursor_NamespaceRef) in is_toplevel()213 semantic_parent = in is_toplevel()214 semantic_parent.unwrap().fallible_semantic_parent(); in is_toplevel()219 semantic_parent == tu.fallible_semantic_parent() in is_toplevel()269 let parent = self.semantic_parent(); in is_in_non_fully_specialized_template()
111 parent = cursor.semantic_parent324 self.assertEqual(curs[0].semantic_parent, curs[1].semantic_parent)325 self.assertEqual(curs[0].semantic_parent, decl)
448 cursor.lexical_parent() != cursor.semantic_parent() in from_ty()459 let parent = cursor.semantic_parent(); in from_ty()
1367 cur.semantic_parent() == cursor || cur.is_definition(); in from_ty()
1449 def semantic_parent(self): member in Cursor
1757 def semantic_parent(self): member in Cursor