void List::addCommentAnnotations(Scanner* scanner) { for (ListElement* e = Head(); e; e = e->Next()) e->Data()->addCommentAnnotations(scanner); }
void List::oops_do(oopsDoFn f) { for (ListElement* e = Head(); e; e = e->Next()) e->oops_do(f); }
void List::PrintSeparatedBy(char* sep) { for (ListElement* e = Head(); e; e = e->Next()) { e->Print(); if (sep) lprintf("%s", sep); } }