bool List::GenByteCodes(AbstractByteCode* b, Object* parent, bool isExpr) { Unused(isExpr); for (ListElement* e = Head(); e; e = e->Next()) { if (! e->Data()->GenByteCodes(b, parent)) return false; } return true; }
void List::addCommentAnnotations(Scanner* scanner) { for (ListElement* e = Head(); e; e = e->Next()) e->Data()->addCommentAnnotations(scanner); }