if ( filters.isEmpty() ) {
return ObjectValue.printable(var);
}
List<String[]> argss = master.getArgss();
String[] args;
Filter filter;
for(int i=0; i<filters.size(); i++) {
filter = FilterLibrary.getFilter(filters.get(i));
if ( filter == null ) {
JangodLogger.warning("skipping an unregistered filter >>> " + filters.get(i));
continue;
}
args = argss.get(i);
if ( args == null ) {
var = filter.filter(var, interpreter);
} else {
var = filter.filter(var, interpreter, args);
}
}
return ObjectValue.printable(var);
}