A small refactor to SourceDB to prepare for doc-search functionality
This commit is contained in:
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user