$_invoke$1 method

dynamic $_invoke$1(
  1. dynamic s$1
)
override

Implementation

dc.dynamic $_invoke$1(dc.dynamic s$1, ){
if(lcoc_core.keyword$QMARK_(s$1, )){
return s$1;
}
if(lcoc_core.symbol$QMARK_(s$1, )){
final dc.dynamic x7596$1=s$1;
late final dc.String? cast$1;
if((x7596$1 is lcoc_core.INamed$iface)){
cast$1=(((x7596$1 as lcoc_core.INamed$iface).$_namespace$0()) as dc.String?);
}else{
cast$1=(((lcoc_core.INamed.extensions(x7596$1, ) as lcoc_core.INamed$ext).$_namespace$0(x7596$1, )) as dc.String?);
}
return (lcoc_core.keyword.$_invoke$2(cast$1, lcoc_core.name(s$1, ), ));
}
if((lcoc_core.$EQ_.$_invoke$2("/", s$1, ))){
return (lcoc_core.keyword.$_invoke$2(null, s$1, ));
}
if((s$1 is dc.String)){
final dc.String s$2=(s$1 as dc.String);
final dc.int idx$1=(s$2.indexOf("/", ));
if((idx$1<0)){
return (lcoc_core.keyword.$_invoke$2(null, s$2, ));
}
if((0==idx$1)){
return (lcoc_core.keyword.$_invoke$2("", (s$2.substring(1, )), ));
}
return (lcoc_core.keyword.$_invoke$2((s$2.substring(0, idx$1, )), (s$2.substring((1+idx$1), )), ));
}
return null;
}