sigs function

dynamic sigs(
  1. dynamic fdecl$1
)

Implementation

dc.dynamic sigs(dc.dynamic fdecl$1, ){
dc.dynamic asig$1(dc.dynamic fdecl$2, ){
final dc.dynamic arglist$1=lcoc_core.first(fdecl$2, );
late final dc.dynamic arglist$2;
if((lcoc_core.$EQ_.$_invoke$2((lcoc_core.symbol.$_invoke$2(null, "&form", )), lcoc_core.first(arglist$1, ), ))){
final dc.dynamic coll7677$1=arglist$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);
}
arglist$2=(lcoc_core.subvec.$_invoke$3(arglist$1, 2, cast$1, ));
}else{
arglist$2=arglist$1;
}
final dc.dynamic body$1=lcoc_core.next(fdecl$2, );
if(lcoc_core.map$QMARK_(lcoc_core.first(body$1, ), )){
final dc.dynamic test$1=lcoc_core.next(body$1, );
if(((test$1!=false)&&(test$1!=null))){
final dc.dynamic o7807$1=arglist$2;
late final dc.dynamic $if_$1;
if((o7807$1 is lcoc_core.IMeta$iface)){
$if_$1=((o7807$1 as lcoc_core.IMeta$iface).$_meta$0());
}else{
$if_$1=((lcoc_core.IMeta.extensions(o7807$1, ) as lcoc_core.IMeta$ext).$_meta$0(o7807$1, ));
}
late final dc.dynamic coll7642$1;
if((($if_$1!=false)&&($if_$1!=null))){
final dc.dynamic o7807$2=arglist$2;
if((o7807$2 is lcoc_core.IMeta$iface)){
coll7642$1=((o7807$2 as lcoc_core.IMeta$iface).$_meta$0());
}else{
coll7642$1=((lcoc_core.IMeta.extensions(o7807$2, ) as lcoc_core.IMeta$ext).$_meta$0(o7807$2, ));
}
}else{
coll7642$1=lcoc_core.$_EMPTY_MAP;
}
final dc.dynamic o7643$1=lcoc_core.first(body$1, );
late final dc.dynamic $if_$2;
if((coll7642$1 is lcoc_core.ICollection$iface)){
$if_$2=((coll7642$1 as lcoc_core.ICollection$iface).$_conj$1(o7643$1, ));
}else{
$if_$2=((lcoc_core.ICollection.extensions(coll7642$1, ) as lcoc_core.ICollection$ext).$_conj$1(coll7642$1, o7643$1, ));
}
return lcoc_core.with_meta(arglist$2, $if_$2, );
}
return arglist$2;
}
return arglist$2;
}
dc.dynamic resolve_tag$1(dc.dynamic argvec$1, ){
final dc.dynamic o7807$3=argvec$1;
late final dc.dynamic m$1;
if((o7807$3 is lcoc_core.IMeta$iface)){
m$1=((o7807$3 as lcoc_core.IMeta$iface).$_meta$0());
}else{
m$1=((lcoc_core.IMeta.extensions(o7807$3, ) as lcoc_core.IMeta$ext).$_meta$0(o7807$3, ));
}
final dc.dynamic tag$1=(lcoc_core.Keyword(null, "tag", 2780644040, ).$_invoke$1(m$1, ));
return argvec$1;
}
if(((lcoc_core.ISeq.satisfies(lcoc_core.first(fdecl$1, ), )) as dc.bool)){
dc.dynamic ret$1=lcoc_core.$_EMPTY_VECTOR;
dc.dynamic fdecls$1=fdecl$1;
do {
if(((fdecls$1!=false)&&(fdecls$1!=null))){
final dc.dynamic coll7642$2=ret$1;
final dc.dynamic o7643$2=resolve_tag$1(asig$1(lcoc_core.first(fdecls$1, ), ), );
if((coll7642$2 is lcoc_core.ICollection$iface)){
ret$1=((coll7642$2 as lcoc_core.ICollection$iface).$_conj$1(o7643$2, ));
}else{
ret$1=((lcoc_core.ICollection.extensions(coll7642$2, ) as lcoc_core.ICollection$ext).$_conj$1(coll7642$2, o7643$2, ));
}
fdecls$1=lcoc_core.next(fdecls$1, );
continue;
}
final dc.dynamic o7603$1=ret$1;
if((o7603$1 is lcoc_core.ISeqable$iface)){
return ((o7603$1 as lcoc_core.ISeqable$iface).$_seq$0());
}
return ((lcoc_core.ISeqable.extensions(o7603$1, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$1, ));
} while(true);
}
return (lcoc_core.list.$_invoke$1(resolve_tag$1(asig$1(fdecl$1, ), ), ));
}