- Documented each enum member for the `Level` enum
- Documented all public members of `CompilationInfo`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-03 15:29:28 +02:00
parent f54ec9f87b
commit cbeb844af5
1 changed files with 38 additions and 0 deletions

View File

@ -11,9 +11,24 @@ import std.conv : to;
*/ */
public enum Level public enum Level
{ {
/**
* Informative message
*/
INFO, INFO,
/**
* Warning message
*/
WARN, WARN,
/**
* Error message
*/
ERROR, ERROR,
/**
* Debugging message
*/
DEBUG DEBUG
} }
@ -82,11 +97,34 @@ public class Context
*/ */
public struct CompilationInfo public struct CompilationInfo
{ {
/**
* compile time usage file
*/
public string fullFilePath; public string fullFilePath;
/**
* compile time usage file (relative)
*/
public string file; public string file;
/**
* compile time usage line number
*/
public ulong line; public ulong line;
/**
* compile time usage module
*/
public string moduleName; public string moduleName;
/**
* compile time usage function
*/
public string functionName; public string functionName;
/**
* compile time usage function (pretty)
*/
public string prettyFunctionName; public string prettyFunctionName;
/** /**