roll_leading_opts function
dynamic
roll_leading_opts(
- dynamic body$1
Implementation
dc.dynamic roll_leading_opts(dc.dynamic body$1, ){
final dc.dynamic o7603$1=body$1;
late final dc.dynamic G$8578_$1;
if((o7603$1 is lcoc_core.ISeqable$iface)){
G$8578_$1=((o7603$1 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
G$8578_$1=((lcoc_core.ISeqable.extensions(o7603$1, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$1, ));
}
final dc.dynamic vec$8579_$1=G$8578_$1;
final dc.dynamic o7603$2=vec$8579_$1;
late final dc.dynamic seq$8580_$1;
if((o7603$2 is lcoc_core.ISeqable$iface)){
seq$8580_$1=((o7603$2 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
seq$8580_$1=((lcoc_core.ISeqable.extensions(o7603$2, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$2, ));
}
final dc.dynamic first$8581_$1=lcoc_core.first(seq$8580_$1, );
final dc.dynamic seq$8580_$2=lcoc_core.next(seq$8580_$1, );
final dc.dynamic k$1=first$8581_$1;
final dc.dynamic first$8581_$2=lcoc_core.first(seq$8580_$2, );
final dc.dynamic seq$8580_$3=lcoc_core.next(seq$8580_$2, );
final dc.dynamic v$1=first$8581_$2;
final dc.dynamic more$1=seq$8580_$3;
final dc.dynamic body$2=vec$8579_$1;
final lcoc_core.PersistentHashMap opts$1=lcoc_core.$_EMPTY_MAP;
dc.dynamic G$8578_$2=G$8578_$1;
dc.dynamic opts$2=opts$1;
do {
final dc.dynamic vec$8582_$1=G$8578_$2;
final dc.dynamic o7603$3=vec$8582_$1;
late final dc.dynamic seq$8583_$1;
if((o7603$3 is lcoc_core.ISeqable$iface)){
seq$8583_$1=((o7603$3 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
seq$8583_$1=((lcoc_core.ISeqable.extensions(o7603$3, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$3, ));
}
final dc.dynamic first$8584_$1=lcoc_core.first(seq$8583_$1, );
final dc.dynamic seq$8583_$2=lcoc_core.next(seq$8583_$1, );
final dc.dynamic k$2=first$8584_$1;
final dc.dynamic first$8584_$2=lcoc_core.first(seq$8583_$2, );
final dc.dynamic seq$8583_$3=lcoc_core.next(seq$8583_$2, );
final dc.dynamic v$2=first$8584_$2;
final dc.dynamic more$2=seq$8583_$3;
final dc.dynamic body$3=vec$8582_$1;
final dc.dynamic opts$3=opts$2;
final dc.dynamic and$7468_$AUTO_$1=body$3;
late final dc.dynamic $if_$1;
if(((and$7468_$AUTO_$1!=false)&&(and$7468_$AUTO_$1!=null))){
$if_$1=lcoc_core.keyword$QMARK_(k$2, );
}else{
$if_$1=and$7468_$AUTO_$1;
}
if((($if_$1!=false)&&($if_$1!=null))){
G$8578_$2=more$2;
final dc.dynamic coll7725$1=opts$3;
final dc.dynamic k7726$1=k$2;
final dc.dynamic v7727$1=v$2;
if((coll7725$1 is lcoc_core.IAssociative$iface)){
opts$2=((coll7725$1 as lcoc_core.IAssociative$iface).$_assoc$2(k7726$1, v7727$1, ));
}else{
opts$2=((lcoc_core.IAssociative.extensions(coll7725$1, ) as lcoc_core.IAssociative$ext).$_assoc$2(coll7725$1, k7726$1, v7727$1, ));
}
continue;
}
final dc.List<dc.dynamic> fl$1=(dc.List<dc.dynamic>.filled(2, opts$3, ));
fl$1[1]=body$3;
return lcoc_core.$_vec_owning(fl$1, );
} while(true);
}