Lines Matching defs:Cursor
53 pub struct Cursor { struct
54 x: CXCursor, argument
57 impl fmt::Debug for Cursor { implementation
70 impl Cursor { implementation
156 pub fn lexical_parent(&self) -> Cursor { in lexical_parent()
168 pub fn fallible_semantic_parent(&self) -> Option<Cursor> { in fallible_semantic_parent()
184 pub fn semantic_parent(&self) -> Cursor { in semantic_parent()
228 pub fn translation_unit(&self) -> Cursor { in translation_unit()
332 cur: Cursor, in is_dependent_on_template_parameter()
420 pub fn definition(&self) -> Option<Cursor> { in definition()
436 pub fn referenced(&self) -> Option<Cursor> { in referenced()
455 pub fn canonical(&self) -> Cursor { in canonical()
466 pub fn specialized(&self) -> Option<Cursor> { in specialized()
499 pub fn collect_children(&self) -> Vec<Cursor> { in collect_children()
584 pub fn bit_width_expr(&self) -> Option<Cursor> { in bit_width_expr()
750 pub fn args(&self) -> Option<Vec<Cursor>> { in args()
1037 impl PartialEq for Cursor { implementation
1043 impl Eq for Cursor {} implementation
1045 impl Hash for Cursor { implementation
1119 pub fn declaration(&self) -> Cursor { in declaration()
1130 location: Option<&Cursor>, in canonical_declaration()
1469 pub fn cursor(&self) -> &Cursor { in cursor()
1770 pub fn cursor(&self) -> Cursor { in cursor()
1866 pub fn ast_dump(c: &Cursor, depth: isize) -> CXChildVisitResult { in ast_dump()
1874 fn print_cursor<S: AsRef<str>>(depth: isize, prefix: S, c: &Cursor) { in ast_dump()