JetCore/__read.cpp
2022-05-19 11:43:15 -07:00

18 lines
415 B
C++

#include "__read.h"
#include "Exception.h"
namespace jet {
__read::__read(coreutils::ZString &in, coreutils::MString &out) : Tag(in, out) {
if(!keywordExists(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.
}
}