JetCore/__read.cpp
2024-07-08 18:32:56 -07:00

18 lines
468 B
C++

#include "__read.h"
#include "Exception.h"
namespace jet {
__read::__read(coreutils::ZString &in, coreutils::MString &parent, Global &global) : Tag(in, parent, global) {
if(!variableDefined(coreutils::ZString("file")))
throw coreutils::Exception("file keyword must be specified.");
if(hasContainer)
throw coreutils::Exception("Missing / at end of tag definition. Not a container tag.");
// process file request here.
}
}