0
|
1 module dmd.DocComment;
|
|
2
|
114
|
3 import dmd.common;
|
0
|
4 import dmd.Array;
|
|
5 import dmd.Section;
|
|
6 import dmd.Macro;
|
|
7 import dmd.Escape;
|
|
8 import dmd.Scope;
|
|
9 import dmd.Dsymbol;
|
|
10 import dmd.OutBuffer;
|
|
11
|
178
|
12 import dmd.TObject;
|
|
13
|
|
14 class DocComment : TObject
|
0
|
15 {
|
|
16 Array sections; // Section*[]
|
|
17
|
|
18 Section summary;
|
|
19 Section copyright;
|
|
20 Section macros;
|
|
21 Macro** pmacrotable;
|
|
22 Escape** pescapetable;
|
|
23
|
|
24 this()
|
|
25 {
|
178
|
26 register();
|
0
|
27 assert(false);
|
|
28 }
|
|
29
|
|
30 static DocComment parse(Scope sc, Dsymbol s, ubyte* comment)
|
|
31 {
|
|
32 assert(false);
|
|
33 }
|
|
34
|
|
35 static void parseMacros(Escape** pescapetable, Macro** pmacrotable, ubyte* m, uint mlen)
|
|
36 {
|
|
37 assert(false);
|
|
38 }
|
|
39
|
|
40 static void parseEscapes(Escape** pescapetable, ubyte* textstart, uint textlen)
|
|
41 {
|
|
42 assert(false);
|
|
43 }
|
|
44
|
|
45 void parseSections(ubyte* comment)
|
|
46 {
|
|
47 assert(false);
|
|
48 }
|
|
49
|
|
50 void writeSections(Scope sc, Dsymbol s, OutBuffer buf)
|
|
51 {
|
|
52 assert(false);
|
|
53 }
|
|
54 } |