#pragma once // ------------------------------------------------------------------------------------------------ #include "Core/Utility.hpp" // ------------------------------------------------------------------------------------------------ #include // ------------------------------------------------------------------------------------------------ namespace SqMod { /* ------------------------------------------------------------------------------------------------ * */ struct SqTemplateData { /* -------------------------------------------------------------------------------------------- * JSON data. */ nlohmann::json mData{}; }; /* ------------------------------------------------------------------------------------------------ * */ struct SqTemplateEnvironment { /* -------------------------------------------------------------------------------------------- * Environment instance. */ inja::Environment mEnv{}; }; /* ------------------------------------------------------------------------------------------------ * Template engine loosely inspired by jinja for python. */ struct SqTemplateInstance { /* -------------------------------------------------------------------------------------------- * Template instance. */ inja::Template mTpl{}; }; } // Namespace:: SqMod