#include "__for.h" #include "Exception.h" #include namespace jet { __for::__for(coreutils::ZString &in, coreutils::MString &out) : Tag(in, out) { if(!keywordExists(coreutils::ZString("begin"))) throw coreutils::Exception("begin keyword must be specified."); if(!keywordExists(coreutils::ZString("end"))) throw coreutils::Exception("end keyword must be specified."); for(;;) { parseContainer(container); } } }