xform_iterator function

dynamic xform_iterator(
  1. dynamic xform$1,
  2. dynamic mk_move_next$1
)

Implementation

dc.dynamic xform_iterator(dc.dynamic xform$1, dc.dynamic mk_move_next$1, ){
final dc.List<dc.dynamic> buffer$1=<dc.dynamic>[];
final lcoc_core.xform_iteratorReify18695hm$1 f$1=lcoc_core.xform_iteratorReify18695hm$1(null, buffer$1, );
final lcoc_core.xform_iteratorReify18695hm$1 rf$1=f$1;
late final dc.dynamic $if_$1;
if((xform$1 is dc.Function)){
$if_$1=(xform$1 as dc.Function)(rf$1, );
}else if((xform$1 is lcoc_core.IFn$iface)){
$if_$1=((xform$1 as lcoc_core.IFn$iface).$_invoke$1(rf$1, ));
}else{
$if_$1=(lcoc_core.IFn.extensions(xform$1, ).$_invoke$1(xform$1, rf$1, ));
}
late final dc.dynamic $if_$2;
if((mk_move_next$1 is dc.Function)){
$if_$2=(mk_move_next$1 as dc.Function)($if_$1, );
}else if((mk_move_next$1 is lcoc_core.IFn$iface)){
$if_$2=((mk_move_next$1 as lcoc_core.IFn$iface).$_invoke$1($if_$1, ));
}else{
$if_$2=(lcoc_core.IFn.extensions(mk_move_next$1, ).$_invoke$1(mk_move_next$1, $if_$1, ));
}
return lcoc_core.XformIterator(buffer$1, 0, $if_$2, true, );
}