Update codegen, make use of source location information

This commit is contained in:
Alexander Bock
2023-03-06 15:50:31 +01:00
parent 9287eb6122
commit 8c7c932c78
4 changed files with 13 additions and 3 deletions
+5
View File
@@ -61,6 +61,11 @@ struct LuaLibrary {
std::string returnType;
/// A help text describing what the function does/
std::string helpText;
/// The source location where the implementation for this Lua file is located
struct {
std::string file = "<none>";
int line = 0;
} sourceLocation;
};
/// The name of the library
std::string name;