FunCall constructor
FunCall(
- dynamic argslist,
- dynamic expression
Implementation
FunCall(argslist, expression) : super() {
List temp = [];
temp.add(expression);
int argsCount;
if (argslist is List) {
argsCount = argslist.length;
temp.addAll(argslist);
} else {
argsCount = 1;
temp.add(argslist);
}
this.args.addAll(temp.map((arg) {
return _expr(arg, defaultNestingDepth, argsCount);
}));
}