Mercurial > projects > dil
annotate trunk/src/docgen/sourcelisting/xmlwriter.d @ 453:4e5b35df3060
Parsing bugfixes, cleaned up imports.
author | Jari-Matti M?kel? <jmjm@iki.fi> |
---|---|
date | Thu, 25 Oct 2007 01:08:38 +0300 |
parents | 3f44c38bf870 |
children | 33a4cb255fcc |
rev | line source |
---|---|
444
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
1 /** |
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
2 * Author: Jari-Matti Mäkelä |
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
3 * License: GPL3 |
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
4 */ |
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
5 module docgen.sourcelisting.xmlwriter; |
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
6 |
453
4e5b35df3060
Parsing bugfixes, cleaned up imports.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
451
diff
changeset
|
7 import docgen.sourcelisting.writer; |
4e5b35df3060
Parsing bugfixes, cleaned up imports.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
451
diff
changeset
|
8 //import dil.Parser; |
444
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
9 |
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
10 /** |
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
11 * TODO |
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
12 */ |
451
3f44c38bf870
Page templates, more flexible writer interfaces, small fixes.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
449
diff
changeset
|
13 class XMLWriter : AbstractWriter!(ListingWriterFactory), ListingWriter { |
3f44c38bf870
Page templates, more flexible writer interfaces, small fixes.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
449
diff
changeset
|
14 DocumentWriter writer; |
3f44c38bf870
Page templates, more flexible writer interfaces, small fixes.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
449
diff
changeset
|
15 |
3f44c38bf870
Page templates, more flexible writer interfaces, small fixes.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
449
diff
changeset
|
16 this(ListingWriterFactory factory, DocumentWriter writer) { |
3f44c38bf870
Page templates, more flexible writer interfaces, small fixes.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
449
diff
changeset
|
17 super(factory); |
3f44c38bf870
Page templates, more flexible writer interfaces, small fixes.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
449
diff
changeset
|
18 this.writer = writer; |
444
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
19 } |
0bda71dc9c4f
More document template and source listing code.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
diff
changeset
|
20 |
453
4e5b35df3060
Parsing bugfixes, cleaned up imports.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
451
diff
changeset
|
21 //void generateListing(Parser parser) { /* TODO */ } |
451
3f44c38bf870
Page templates, more flexible writer interfaces, small fixes.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
449
diff
changeset
|
22 void generateListing(InputStream input, OutputStream output, char[] moduleName) { /* TODO */ } |
453
4e5b35df3060
Parsing bugfixes, cleaned up imports.
Jari-Matti M?kel? <jmjm@iki.fi>
parents:
451
diff
changeset
|
23 } |