if ( helper.length != 3 ) {
throw new InterpretException("Tag 'for' expects 3 helpers >>> " + helper.length);
}
String item = helper[0];
Object collection = VariableFilter.compute( helper[2], interpreter);
ForLoop loop = ObjectIterator.getLoop(collection);
int level = interpreter.getLevel() + 1;
interpreter.assignRuntimeScope(LOOP, loop, level);
StringBuffer buff = new StringBuffer();
while ( loop.hasNext() ) {
//set item variable
interpreter.assignRuntimeScope(item, loop.next(), level);
for(Node node : carries) {
buff.append(node.render(interpreter));
}
}
return buff.toString();