IDAPython 9.0
Loading...
Searching...
No Matches
ctree_parentee_t Class Reference
Inheritance diagram for ctree_parentee_t:
ctree_visitor_t cfunc_parentee_t

Public Member Functions

 __init__ (self, bool post=False)
 
bool recalc_parent_types (self)
 
 __disown__ (self)
 
- Public Member Functions inherited from ctree_visitor_t
bool maintain_parents (self)
 
bool must_prune (self)
 
bool must_restart (self)
 
bool is_postorder (self)
 
bool only_insns (self)
 
None prune_now (self)
 
None clr_prune (self)
 
None set_restart (self)
 
None clr_restart (self)
 
int apply_to (self, 'citem_t' item, 'citem_t' parent)
 
int apply_to_exprs (self, 'citem_t' item, 'citem_t' parent)
 
'cexpr_t *' parent_expr (self)
 
'cinsn_t *' parent_insn (self)
 
int visit_insn (self, 'cinsn_t' arg0)
 
int visit_expr (self, 'cexpr_t' arg0)
 
int leave_insn (self, 'cinsn_t' arg0)
 
int leave_expr (self, 'cexpr_t' arg0)
 

Properties

 thisown
 
- Properties inherited from ctree_visitor_t
 thisown
 

Additional Inherited Members

- Static Public Attributes inherited from ctree_visitor_t
str cv_flags
 
str parents
 
str bposvec
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
bool post = False )

Reimplemented from ctree_visitor_t.

Reimplemented in cfunc_parentee_t.

Member Function Documentation

◆ __disown__()

__disown__ ( self)

Reimplemented from ctree_visitor_t.

Reimplemented in cfunc_parentee_t.

◆ recalc_parent_types()

bool recalc_parent_types ( self)
Recalculate type of parent nodes. If a node type has been changed, the visitor must recalculate all parent types, otherwise the ctree becomes inconsistent. If during this recalculation a parent node is added/deleted, this function returns true. In this case the traversal must be stopped because the information about parent nodes is stale. 

@returns false-ok to continue the traversal, true-must stop.

Property Documentation

◆ thisown

thisown
static
Initial value:
= property(lambda x: x.this.own(), lambda x, v: x.this.own(v),
doc='The membership flag')

The documentation for this class was generated from the following file: