示例#1
0
文件: list.cpp 项目: AdamSpitz/self
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;
}
示例#2
0
文件: list.cpp 项目: AdamSpitz/self
void List::addCommentAnnotations(Scanner* scanner) {
  for (ListElement* e = Head(); e; e = e->Next())
   e->Data()->addCommentAnnotations(scanner);
}