nixd
Loading...
Searching...
No Matches
Diagnostic Namespace Reference

Functions

list[str] gen_parse_id ()
list[str] gen_message ()
list[str] gen_serverity ()
list[str] gen_sname ()

Variables

 output = open(sys.argv[1], "w")
 _

Function Documentation

◆ gen_message()

list[str] gen_message ( )

Definition at line 35 of file Diagnostic.cpp.py.

◆ gen_parse_id()

list[str] gen_parse_id ( )

Definition at line 10 of file Diagnostic.cpp.py.

◆ gen_serverity()

list[str] gen_serverity ( )

Definition at line 59 of file Diagnostic.cpp.py.

◆ gen_sname()

list[str] gen_sname ( )

Definition at line 83 of file Diagnostic.cpp.py.

Variable Documentation

◆ _

Diagnostic._
protected
Initial value:
= output.write(
lines(
[
'#include "nixf/Basic/Diagnostic.h"',
"#include <unordered_map>",
"using namespace nixf;",
*gen_sname(),
*gen_serverity(),
*gen_message(),
*gen_parse_id(),
]
)
)

Definition at line 108 of file Diagnostic.cpp.py.

◆ output

Diagnostic.output = open(sys.argv[1], "w")

Definition at line 107 of file Diagnostic.cpp.py.