void parseDefineConstruct(QCString & largs, MemberDef* mdef ,OutputList& ol) { // QCString largs=mdef->getDefinition(); int kr=largs.contains("\\?"); ol.startBold(); VerilogDocGen::writeLink(mdef,ol); ol.docify(" "); ol.insertMemberAlign(); ol.startTextBlock(); if(kr>0) { largs=mdef->definition(); largs.stripPrefix("feature"); while(largs.stripPrefix(" ")); largs.stripPrefix(mdef->name().data()); QStringList ql=QStringList::split("\\?",largs,false); for(uint i=0;i<ql.count();i++) { // ol.startParagraph(); QCString val=ql[i].data(); //ol.codify(val.data()); VhdlDocGen::formatString(val,ol,mdef); // ol.lineBreak(); // ol.endParagraph(); } } else VhdlDocGen::formatString(largs,ol,mdef); ol.endTextBlock(true); ol.endBold(); }
static void stripQualifiers(QCString &typeStr) { bool done=FALSE; while (!done) { if (typeStr.stripPrefix("static ")); else if (typeStr.stripPrefix("virtual ")); else if (typeStr.stripPrefix("volatile ")); else if (typeStr=="virtual") typeStr=""; else done=TRUE; } }