Example #1
0
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;
}
Example #2
0
void List::addCommentAnnotations(Scanner* scanner) {
  for (ListElement* e = Head(); e; e = e->Next())
   e->Data()->addCommentAnnotations(scanner);
}