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