nixd
Loading...
Searching...
No Matches
Functions | Variables
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] Diagnostic.gen_message ( )

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

◆ gen_parse_id()

list[str] Diagnostic.gen_parse_id ( )

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

◆ gen_serverity()

list[str] Diagnostic.gen_serverity ( )

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

◆ gen_sname()

list[str] Diagnostic.gen_sname ( )

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

Variable Documentation

◆ _

Diagnostic._
protected
Initial value:
1= output.write(
2 lines(
3 [
4 '#include "nixf/Basic/Diagnostic.h"',
5 "#include <unordered_map>",
6 "using namespace nixf;",
7 *gen_sname(),
8 *gen_serverity(),
9 *gen_message(),
10 *gen_parse_id(),
11 ]
12 )
13)

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.