$_invoke$vararg method
dynamic
$_invoke$vararg(
- dynamic $AMPERSAND_form$1,
- dynamic $AMPERSAND_env$1,
- dynamic expr$1,
- dynamic clauses$1,
override
Implementation
dc.dynamic $_invoke$vararg(dc.dynamic $AMPERSAND_form$1, dc.dynamic $AMPERSAND_env$1, dc.dynamic expr$1, dc.dynamic clauses$1, ){
late final dc.bool $if_$1;
if(lcoc_core.symbol$QMARK_(expr$1, )){
$if_$1=false;
}else{
$if_$1=true;
}
if($if_$1){
final dc.dynamic arg$1=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "let*", )), ));
final dc.dynamic o7603$1=(lcoc_core.concat.$_invoke$2((lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "test__8556__auto__", )), )), (lcoc_core.list.$_invoke$1(expr$1, )), ));
late final dc.dynamic $if_$2;
if((o7603$1 is lcoc_core.ISeqable$iface)){
$if_$2=((o7603$1 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$2=((lcoc_core.ISeqable.extensions(o7603$1, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$1, ));
}
final dc.dynamic $1=(lcoc_core.apply.$_invoke$2(lcoc_core.vector, $if_$2, ));
final dc.dynamic $3=(lcoc_core.list.$_invoke$1($1, ));
final dc.dynamic o7603$2=(lcoc_core.concat.$_invoke$3((lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("cljd.core", "case", )), )), (lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "test__8556__auto__", )), )), clauses$1, ));
late final dc.dynamic $if_$3;
if((o7603$2 is lcoc_core.ISeqable$iface)){
$if_$3=((o7603$2 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$3=((lcoc_core.ISeqable.extensions(o7603$2, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$2, ));
}
final dc.dynamic $2=(lcoc_core.list.$_invoke$1($if_$3, ));
final dc.dynamic o7603$3=(lcoc_core.concat.$_invoke$3(arg$1, $3, $2, ));
if((o7603$3 is lcoc_core.ISeqable$iface)){
return ((o7603$3 as lcoc_core.ISeqable$iface).$_seq$0());
}
return ((lcoc_core.ISeqable.extensions(o7603$3, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$3, ));
}
final dc.dynamic coll7677$1=clauses$1;
late final dc.int cast$1;
if((coll7677$1 is lcoc_core.ICounted$iface)){
cast$1=(((coll7677$1 as lcoc_core.ICounted$iface).$_count$0()) as dc.int);
}else{
cast$1=(((lcoc_core.ICounted.extensions(coll7677$1, ) as lcoc_core.ICounted$ext).$_count$0(coll7677$1, )) as dc.int);
}
final dc.bool $4=cast$1.isEven;
if($4){
final dc.dynamic arg$7=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "case", )), ));
final dc.dynamic arg$6=(lcoc_core.list.$_invoke$1(expr$1, ));
final dc.dynamic arg$5=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2(null, "throw", )), ));
final dc.dynamic arg$4=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("dart:core", "ArgumentError", )), ));
final dc.dynamic arg$3=(lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("cljd.core", "str", )), ));
final dc.dynamic arg$2=(lcoc_core.list.$_invoke$1("No matching clause: ", ));
final dc.dynamic o7603$4=(lcoc_core.concat.$_invoke$2((lcoc_core.list.$_invoke$1((lcoc_core.symbol.$_invoke$2("cljd.core", "pr-str", )), )), (lcoc_core.list.$_invoke$1(expr$1, )), ));
late final dc.dynamic $if_$4;
if((o7603$4 is lcoc_core.ISeqable$iface)){
$if_$4=((o7603$4 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$4=((lcoc_core.ISeqable.extensions(o7603$4, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$4, ));
}
final dc.dynamic $5=(lcoc_core.list.$_invoke$1($if_$4, ));
final dc.dynamic o7603$5=(lcoc_core.concat.$_invoke$3(arg$3, arg$2, $5, ));
late final dc.dynamic $if_$5;
if((o7603$5 is lcoc_core.ISeqable$iface)){
$if_$5=((o7603$5 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$5=((lcoc_core.ISeqable.extensions(o7603$5, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$5, ));
}
final dc.dynamic $6=(lcoc_core.list.$_invoke$1($if_$5, ));
final dc.dynamic o7603$6=(lcoc_core.concat.$_invoke$2(arg$4, $6, ));
late final dc.dynamic $if_$6;
if((o7603$6 is lcoc_core.ISeqable$iface)){
$if_$6=((o7603$6 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$6=((lcoc_core.ISeqable.extensions(o7603$6, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$6, ));
}
final dc.dynamic $7=(lcoc_core.list.$_invoke$1($if_$6, ));
final dc.dynamic o7603$7=(lcoc_core.concat.$_invoke$2(arg$5, $7, ));
late final dc.dynamic $if_$7;
if((o7603$7 is lcoc_core.ISeqable$iface)){
$if_$7=((o7603$7 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$7=((lcoc_core.ISeqable.extensions(o7603$7, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$7, ));
}
final dc.dynamic $8=(lcoc_core.list.$_invoke$1($if_$7, ));
final dc.dynamic o7603$8=(lcoc_core.concat.$_invoke$4(arg$7, arg$6, clauses$1, $8, ));
if((o7603$8 is lcoc_core.ISeqable$iface)){
return ((o7603$8 as lcoc_core.ISeqable$iface).$_seq$0());
}
return ((lcoc_core.ISeqable.extensions(o7603$8, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$8, ));
}
final lcoc_core.PersistentVector clauses$2=lcoc_core.vec((lcoc_core.partition_all.$_invoke$2(2, clauses$1, )), );
final dc.dynamic vec$8558_$1=lcoc_core.peek(clauses$2, );
final dc.dynamic $default_$1=(lcoc_core.nth.$_invoke$3(vec$8558_$1, 0, null, ));
final dc.dynamic clauses$3=lcoc_core.pop(clauses$2, );
return (lcoc_core.list.$_invoke$4((lcoc_core.symbol.$_invoke$2(null, "case*", )), expr$1, lcoc_core.LazySeq(null, ((){
dc.dynamic iter$8561_$1(dc.dynamic coll$8562_$2, ){
dc.dynamic coll$8562_$1=coll$8562_$2;
do {
if(((coll$8562_$1!=false)&&(coll$8562_$1!=null))){
if(lcoc_core.chunked_seq$QMARK_(coll$8562_$1, )){
final dc.dynamic c$8325_$AUTO_$2=lcoc_core.chunk_first(coll$8562_$1, );
final dc.dynamic coll7677$4=c$8325_$AUTO_$2;
late final dc.int size$8326_$AUTO_$2;
if((coll7677$4 is lcoc_core.ICounted$iface)){
size$8326_$AUTO_$2=(((coll7677$4 as lcoc_core.ICounted$iface).$_count$0()) as dc.int);
}else{
size$8326_$AUTO_$2=(((lcoc_core.ICounted.extensions(coll7677$4, ) as lcoc_core.ICounted$ext).$_count$0(coll7677$4, )) as dc.int);
}
final lcoc_core.ChunkBuffer buf$8324_$AUTO_$2=lcoc_core.chunk_buffer(size$8326_$AUTO_$2, );
late final dc.dynamic exit$8327_$AUTO_$2;
dc.int i$8328_$AUTO_$2=0;
do {
if((i$8328_$AUTO_$2<size$8326_$AUTO_$2)){
final dc.dynamic coll7764$2=c$8325_$AUTO_$2;
final dc.int n7765$2=i$8328_$AUTO_$2;
late final dc.dynamic vec$8569_$1;
if((coll7764$2 is lcoc_core.IIndexed$iface)){
vec$8569_$1=((coll7764$2 as lcoc_core.IIndexed$iface).$_nth$1(n7765$2, ));
}else{
vec$8569_$1=((lcoc_core.IIndexed.extensions(coll7764$2, ) as lcoc_core.IIndexed$ext).$_nth$1(coll7764$2, n7765$2, ));
}
final dc.dynamic v$3=(lcoc_core.nth.$_invoke$3(vec$8569_$1, 0, null, ));
final dc.dynamic e$3=(lcoc_core.nth.$_invoke$3(vec$8569_$1, 1, null, ));
late final dc.dynamic $if_$10;
if(((lcoc_core.ISeq.satisfies(v$3, )) as dc.bool)){
$if_$10=v$3;
}else{
$if_$10=(lcoc_core.list.$_invoke$1(v$3, ));
}
final dc.List<dc.dynamic> fl$3=(dc.List<dc.dynamic>.filled(2, $if_$10, ));
fl$3[1]=e$3;
final lcoc_core.PersistentVector $12=lcoc_core.$_vec_owning(fl$3, );
final dc.dynamic or$7508_$AUTO_$2=lcoc_core.chunk_append(buf$8324_$AUTO_$2, $12, );
if(((or$7508_$AUTO_$2!=false)&&(or$7508_$AUTO_$2!=null))){
exit$8327_$AUTO_$2=or$7508_$AUTO_$2;
}else{
i$8328_$AUTO_$2=(1+i$8328_$AUTO_$2);
continue;
}
}else{
exit$8327_$AUTO_$2=null;
}
break;
} while(true);
final lcoc_core.ChunkBuffer coll7677$5=buf$8324_$AUTO_$2;
late final dc.int cast$3;
if((coll7677$5 is lcoc_core.ICounted$iface)){
cast$3=(((coll7677$5 as lcoc_core.ICounted$iface).$_count$0()) as dc.int);
}else{
cast$3=(((lcoc_core.ICounted.extensions(coll7677$5, ) as lcoc_core.ICounted$ext).$_count$0(coll7677$5, )) as dc.int);
}
final dc.bool $13=(0<cast$3);
if($13){
return lcoc_core.chunk_cons(lcoc_core.chunk(buf$8324_$AUTO_$2, ), lcoc_core.LazySeq(null, ((){
if(((exit$8327_$AUTO_$2!=false)&&(exit$8327_$AUTO_$2!=null))){
return null;
}
return iter$8561_$1(lcoc_core.chunk_next(coll$8562_$1, ), );
} as dc.dynamic?), null, -1, ), );
}
if(((exit$8327_$AUTO_$2!=false)&&(exit$8327_$AUTO_$2!=null))){
return null;
}
coll$8562_$1=lcoc_core.chunk_next(coll$8562_$1, );
continue;
}
final dc.dynamic vec$8572_$1=lcoc_core.first(coll$8562_$1, );
final dc.dynamic v$4=(lcoc_core.nth.$_invoke$3(vec$8572_$1, 0, null, ));
final dc.dynamic e$4=(lcoc_core.nth.$_invoke$3(vec$8572_$1, 1, null, ));
late final dc.dynamic $if_$11;
if(((lcoc_core.ISeq.satisfies(v$4, )) as dc.bool)){
$if_$11=v$4;
}else{
$if_$11=(lcoc_core.list.$_invoke$1(v$4, ));
}
final dc.List<dc.dynamic> fl$4=(dc.List<dc.dynamic>.filled(2, $if_$11, ));
fl$4[1]=e$4;
final lcoc_core.PersistentVector $14=lcoc_core.$_vec_owning(fl$4, );
return lcoc_core.cons($14, lcoc_core.LazySeq(null, ((){
return iter$8561_$1(lcoc_core.next(coll$8562_$1, ), );
} as dc.dynamic?), null, -1, ), );
}
return null;
} while(true);
}
final dc.dynamic o7603$9=clauses$3;
late final dc.dynamic $if_$12;
if((o7603$9 is lcoc_core.ISeqable$iface)){
$if_$12=((o7603$9 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$12=((lcoc_core.ISeqable.extensions(o7603$9, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$9, ));
}
return iter$8561_$1($if_$12, );
} as dc.dynamic?), null, -1, ), $default_$1, ));
}