Added ddoc to struct ast
This commit is contained in:
parent
c01c51a61e
commit
27e91f12bb
|
|
@ -257,6 +257,7 @@ class XMLPrinter : ASTVisitor
|
||||||
{
|
{
|
||||||
output.writeln("<classDeclaration line=\"", classDec.name.line, "\">");
|
output.writeln("<classDeclaration line=\"", classDec.name.line, "\">");
|
||||||
output.writeln("<name>", classDec.name.text, "</name>");
|
output.writeln("<name>", classDec.name.text, "</name>");
|
||||||
|
writeDdoc(classDec.comment);
|
||||||
classDec.accept(this);
|
classDec.accept(this);
|
||||||
output.writeln("</classDeclaration>");
|
output.writeln("</classDeclaration>");
|
||||||
}
|
}
|
||||||
|
|
@ -1101,6 +1102,7 @@ class XMLPrinter : ASTVisitor
|
||||||
{
|
{
|
||||||
output.writeln("<structDeclaration line=\"", structDec.name.line, "\">");
|
output.writeln("<structDeclaration line=\"", structDec.name.line, "\">");
|
||||||
output.writeln("<name>", structDec.name.text, "</name>");
|
output.writeln("<name>", structDec.name.text, "</name>");
|
||||||
|
writeDdoc(structDec.comment);
|
||||||
structDec.accept(this);
|
structDec.accept(this);
|
||||||
output.writeln("</structDeclaration>");
|
output.writeln("</structDeclaration>");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue