Pass the node the Doxygen comment is attached to to DoxygenParser.

This will be needed to take into account various Doxygen-specific features
that can be attached to this node.
This commit is contained in:
Vadim Zeitlin 2014-08-26 17:45:59 +02:00
commit dc3102a535
4 changed files with 16 additions and 15 deletions

View file

@ -954,12 +954,16 @@ DoxygenEntityList DoxygenParser::parse(TokenListCIt endParsingIndex,
return aNewList;
}
DoxygenEntityList DoxygenParser::createTree(const std::string &doxygenBlob,
const std::string &fileName,
int lineNumber)
DoxygenEntityList DoxygenParser::createTree(Node* node, String* documentation)
{
m_node = node;
tokenizeDoxygenComment(
Char(documentation),
Char(Getfile(documentation)),
Getline(documentation)
);
tokenizeDoxygenComment(doxygenBlob, fileName, lineNumber);
if (noisy) {
cout << "---TOKEN LIST---" << endl;
printList();