xml dump: output some more info in the dump
This commit is contained in:
parent
d734a98c89
commit
b1e5b015df
|
@ -2110,6 +2110,10 @@ void SymbolDatabase::printXml(std::ostream &out) const
|
|||
out << " type=\"" << scope->type << "\"";
|
||||
if (!scope->className.empty())
|
||||
out << " className=\"" << toxml(scope->className) << "\"";
|
||||
if (scope->classStart)
|
||||
out << " classStart=\"" << scope->classStart << '\"';
|
||||
if (scope->classEnd)
|
||||
out << " classEnd=\"" << scope->classEnd << '\"';
|
||||
if (scope->nestedIn)
|
||||
out << " nestedIn=\"" << scope->nestedIn << "\"";
|
||||
if (scope->functionList.empty() && scope->varlist.empty()) {
|
||||
|
|
|
@ -3824,8 +3824,9 @@ void Tokenizer::dump(std::ostream &out) const
|
|||
// tokens..
|
||||
out << " <tokenlist>" << std::endl;
|
||||
for (const Token *tok = list.front(); tok; tok = tok->next()) {
|
||||
out << " <token id=\"" << tok << "\" file=\"" << toxml(list.file(tok)) << "\" linenr=\"" << tok->linenr() << "\"";
|
||||
out << " str=\"" << toxml(tok->str()) << "\"";
|
||||
out << " <token id=\"" << tok << "\" file=\"" << toxml(list.file(tok)) << "\" linenr=\"" << tok->linenr() << '\"';
|
||||
out << " str=\"" << toxml(tok->str()) << '\"';
|
||||
out << " scope=\"" << tok->scope() << '\"';
|
||||
if (tok->link())
|
||||
out << " link=\"" << tok->link() << '\"';
|
||||
if (tok->varId() > 0U)
|
||||
|
|
Loading…
Reference in New Issue