$_invoke$2 method
dynamic
$_invoke$2(
- dynamic result$3,
- dynamic input$1
override
Implementation
dc.dynamic $_invoke$2(dc.dynamic result$3, dc.dynamic input$1, ){
final dc.dynamic pval$1=lcoc_core.deref(pv$1, );
late final dc.dynamic val$1;
if((f$1 is dc.Function)){
val$1=(f$1 as dc.Function)(input$1, );
}else if((f$1 is lcoc_core.IFn$iface)){
val$1=((f$1 as lcoc_core.IFn$iface).$_invoke$1(input$1, ));
}else{
val$1=(lcoc_core.IFn.extensions(f$1, ).$_invoke$1(f$1, input$1, ));
}
lcoc_core.vreset$BANG_(pv$1, val$1, );
final dc.bool or$7508_$AUTO_$1=dc.identical(pval$1, "none", );
late final dc.bool $if_$2;
if(or$7508_$AUTO_$1){
$if_$2=or$7508_$AUTO_$1;
}else{
$if_$2=(lcoc_core.$EQ_.$_invoke$2(val$1, pval$1, ));
}
if($if_$2){
a$1.add(input$1, );
return result$3;
}
final lcoc_core.PersistentVector v$2=lcoc_core.vec(a$1, );
a$1.clear();
late final dc.dynamic ret$1;
if((rf$1 is dc.Function)){
ret$1=(rf$1 as dc.Function)(result$3, v$2, );
}else if((rf$1 is lcoc_core.IFn$iface)){
ret$1=((rf$1 as lcoc_core.IFn$iface).$_invoke$2(result$3, v$2, ));
}else{
ret$1=(lcoc_core.IFn.extensions(rf$1, ).$_invoke$2(rf$1, result$3, v$2, ));
}
if(lcoc_core.reduced$QMARK_(ret$1, )){
}else{
a$1.add(input$1, );
}
return ret$1;
}