renamed test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
46f2a16608
commit
af74b4f96a
5 changed files with 32 additions and 42 deletions
|
|
@ -103,23 +103,24 @@ bool DoxygenParser::isSectionIndicator(const std::string &smallString) {
|
|||
|
||||
|
||||
void DoxygenParser::printTree(const DoxygenEntityList &rootList) {
|
||||
DoxygenEntityList::const_iterator p = rootList.begin();
|
||||
while (p != rootList.end()) {
|
||||
(*p).printEntity(0);
|
||||
p++;
|
||||
}
|
||||
DoxygenEntityList::const_iterator p = rootList.begin();
|
||||
while (p != rootList.end()) {
|
||||
(*p).printEntity(0);
|
||||
p++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int DoxygenParser::commandBelongs(const std::string &theCommand) {
|
||||
std::string smallString = stringToLower(theCommand);
|
||||
//cout << " Looking for command " << theCommand << endl;
|
||||
std::map<std::string, DoxyCommandEnum>::iterator it =
|
||||
doxygenCommands.find(smallString);
|
||||
if (it != doxygenCommands.end()) {
|
||||
return it->second;
|
||||
}
|
||||
return 0;
|
||||
|
||||
std::string smallString = stringToLower(theCommand);
|
||||
//cout << " Looking for command " << theCommand << endl;
|
||||
DoxyCommandsMapIt it = doxygenCommands.find(smallString);
|
||||
|
||||
if (it != doxygenCommands.end()) {
|
||||
return it->second;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -922,22 +923,11 @@ DoxygenParser::TokenList DoxygenParser::tokenizeDoxygenComment(const std::string
|
|||
|
||||
|
||||
void DoxygenParser::printList() {
|
||||
TokenListIt p = m_tokenList.begin();
|
||||
int i = 1;
|
||||
int b = 0;
|
||||
while (p != m_tokenList.end()) {
|
||||
cout << (*p).toString() << " ";
|
||||
b = i % TOKENSPERLINE;
|
||||
if (b == 0)
|
||||
cout << endl;
|
||||
p++;
|
||||
i++;
|
||||
}
|
||||
|
||||
TokenListCIt startIt = m_tokenList.begin();
|
||||
|
||||
int tokNo = 0;
|
||||
for (TokenListCIt it = startIt; it != m_tokenList.end(); it++, tokNo++) {
|
||||
for (TokenListCIt it = m_tokenList.begin(); it != m_tokenList.end();
|
||||
it++, tokNo++) {
|
||||
|
||||
cout << it->toString() << " ";
|
||||
|
||||
if ((tokNo % TOKENSPERLINE) == 0) {
|
||||
|
|
@ -946,6 +936,7 @@ void DoxygenParser::printList() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void DoxygenParser::printListError(int warningType,
|
||||
const std::string &message) {
|
||||
int curLine = m_fileLineNo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue