JetCore/__read.cpp
2024-02-16 15:44:03 -08:00

18 lines
441 B
C++

#include "__read.h"
#include "Exception.h"
namespace jet {
__read::__read(coreutils::ZString &in, coreutils::MString &out, Global &global) : Tag(in, out, 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.");
// process file request here.
}
}