Module Assign NameStore Str ImportFrom alias alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd BinOpMult Str Num Str Print BinOpAdd NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call NameLoad Str Print Call AttributeLoad Str attr ListComp AttributeLoad SubscriptLoad NameLoad Index NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Lambda arguments args NameParam defaults CompareNotEq AttributeLoad NameLoad attr Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Str For NameStore Call AttributeLoad NameLoad attr Str body Print AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Expr Call NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Str Num keyword Num Expr Call AttributeLoad NameLoad attr Str Num keyword Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Str Print Call AttributeLoad Str attr ListComp AttributeLoad SubscriptLoad NameLoad Index NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str
N/A N/A __author__ chenxm treelib Tree Node create_family_tree N/A N/A N/A N/A N/A tree N/A Tree N/A N/A N/A tree create_node Harry harry N/A N/A N/A tree create_node Jane jane parent harry N/A N/A N/A tree create_node Bill bill parent harry N/A N/A N/A tree create_node Diane diane parent jane N/A N/A N/A tree create_node Mary mary parent diane N/A N/A N/A tree create_node Mark mark parent jane N/A tree N/A example N/A N/A desp N/A N/A N/A sep N/A N/A - 20 N/A N/A sep desp N/A N/A N/A __name__ __main__ N/A N/A tree N/A create_family_tree N/A N/A example Tree of the whole family: N/A N/A N/A tree show key N/A N/A N/A x N/A N/A x tag reverse True line_type ascii-em N/A N/A example All family members in DEPTH mode: N/A N/A N/A , join N/A N/A N/A tree N/A node tag N/A node N/A N/A tree expand_tree N/A N/A example All family members (with identifiers) but Diane's sub-family: N/A N/A N/A tree show idhidden False filter N/A N/A N/A x N/A N/A N/A x identifier diane N/A N/A example Let me introduce Diane family only: N/A sub_t N/A N/A tree subtree diane N/A N/A N/A sub_t show N/A N/A example Children of Diane: N/A child N/A N/A tree is_branch diane N/A N/A N/A N/A tree N/A child tag N/A N/A example New members join Jill's family: N/A new_tree N/A Tree N/A N/A N/A new_tree create_node n1 1 N/A N/A N/A new_tree create_node n2 2 parent 1 N/A N/A N/A new_tree create_node n3 3 parent 1 N/A N/A N/A tree paste bill new_tree N/A N/A N/A tree show N/A N/A example They leave after a while: N/A N/A N/A tree remove_node 1 N/A N/A N/A tree show N/A N/A example Now Mary moves to live with grandfather Harry: N/A N/A N/A tree move_node mary harry N/A N/A N/A tree show N/A N/A example A big family for Mark to send message to the oldest Harry: N/A N/A N/A , join N/A N/A N/A tree N/A node tag N/A node N/A N/A tree rsearch mark