JsonnetVm(void) : gcGrowthTrigger(2.0), maxStack(500), gcMinObjects(1000), debugLexer(false), debugAst(false), debugDesugaring(false), maxTrace(20), importCallback(default_import_callback), importCallbackContext(this), stringOutput(false) { jpaths.emplace_back("/usr/share/" + std::string(jsonnet_version()) + "/"); jpaths.emplace_back("/usr/local/share/" + std::string(jsonnet_version()) + "/"); }
JsonnetConfig() : filename_is_code_(false), multi_(false) { jpaths_.emplace_back( "/usr/share/" + std::string(jsonnet_version()) + "/"); jpaths_.emplace_back( "/usr/local/share/" + std::string(jsonnet_version()) + "/"); }
void version(std::ostream &o) { o << "Jsonnet commandline interpreter " << jsonnet_version() << std::endl; }