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
|
|
12 class DocComment
|
|
13 {
|
|
14 Array sections; // Section*[]
|
|
15
|
|
16 Section summary;
|
|
17 Section copyright;
|
|
18 Section macros;
|
|
19 Macro** pmacrotable;
|
|
20 Escape** pescapetable;
|
|
21
|
|
22 this()
|
|
23 {
|
|
24 assert(false);
|
|
25 }
|
|
26
|
|
27 static DocComment parse(Scope sc, Dsymbol s, ubyte* comment)
|
|
28 {
|
|
29 assert(false);
|
|
30 }
|
|
31
|
|
32 static void parseMacros(Escape** pescapetable, Macro** pmacrotable, ubyte* m, uint mlen)
|
|
33 {
|
|
34 assert(false);
|
|
35 }
|
|
36
|
|
37 static void parseEscapes(Escape** pescapetable, ubyte* textstart, uint textlen)
|
|
38 {
|
|
39 assert(false);
|
|
40 }
|
|
41
|
|
42 void parseSections(ubyte* comment)
|
|
43 {
|
|
44 assert(false);
|
|
45 }
|
|
46
|
|
47 void writeSections(Scope sc, Dsymbol s, OutBuffer buf)
|
|
48 {
|
|
49 assert(false);
|
|
50 }
|
|
51 } |