示例#1
0
 def iter_group_index_items(self) -> IterNode:
     return IterNode(
             container=self,
             function_items=self._axis_group_index_items,
             function_values=self._axis_group_index,
             yield_type=IterNodeType.ITEMS
             )
示例#2
0
 def iter_element_items(self) -> IterNode:
     return IterNode(
             container=self,
             function_items=self._axis_element_items,
             function_values=self._axis_element,
             yield_type=IterNodeType.ITEMS
             )
示例#3
0
 def iter_group(self) -> IterNode:
     return IterNode(
             container=self,
             function_items=self._axis_group_items,
             function_values=self._axis_group,
             yield_type=IterNodeType.VALUES
             )
示例#4
0
 def iter_label(self) -> IterNode:
     return IterNode(
             container=self,
             function_items=self._iter_label_items,
             function_values=self._iter_label,
             yield_type=IterNodeType.VALUES,
             apply_type=IterNodeApplyType.INDEX_LABELS
             )
示例#5
0
 def iter_element(self):
     return IterNode(container=self,
                     function_items=self._axis_element_items,
                     function_values=self._axis_element,
                     yield_type=IterNodeType.VALUES)