A small refactor to SourceDB to prepare for doc-search functionality

This commit is contained in:
2026-01-12 13:45:04 -05:00
parent bd53ba09a4
commit 4e374294b6
4 changed files with 43 additions and 28 deletions

View File

@@ -148,6 +148,12 @@ public:
//
eng::vector<eng::string> modules();
// get_source
//
// Get the source code for a given module.
//
eng::string get_source(const eng::string &fn);
// rebuild_module
//
// To rebuild the lua environment, fetch the module list, then
@@ -196,7 +202,7 @@ public:
// Get function documentation.
//
static eng::string function_docs(const LuaCoreStack &LS, LuaSlot slot);
eng::string function_docs(const LuaCoreStack &LS, LuaSlot slot);
// Serialize and unserialize a source vector.
//