Lines Matching refs:markupDef
1150 IClassDefinition& markupDef = map[className]; in defineClass() local
1151 if (markupDef.fStart) { in defineClass()
1155 markupDef.fFileName = fFileName; in defineClass()
1156 markupDef.fStart = includeDef.fStart; in defineClass()
1157 markupDef.fContentStart = includeDef.fStart; in defineClass()
1158 markupDef.fName = className; in defineClass()
1159 this->checkName(&markupDef); in defineClass()
1160 markupDef.fContentEnd = includeDef.fContentEnd; in defineClass()
1161 markupDef.fTerminator = includeDef.fTerminator; in defineClass()
1162 markupDef.fParent = fParent; in defineClass()
1163 markupDef.fLineCount = fLineCount; in defineClass()
1164 markupDef.fMarkType = KeyWord::kStruct == includeDef.fKeyWord ? in defineClass()
1166 markupDef.fKeyWord = includeDef.fKeyWord; in defineClass()
1167 markupDef.fType = Definition::Type::kMark; in defineClass()
1172 markupDef.fUndocumented = priorComment->fUndocumented; in defineClass()
1173 fParent = &markupDef; in defineClass()
1174 return &markupDef; in defineClass()
1721 bool IncludeParser::findCommentAfter(const Definition& includeDef, Definition* markupDef) { in findCommentAfter() argument
1722 this->checkName(markupDef); in findCommentAfter()
1740 wordIter->fContentEnd, wordIter->fLineCount, markupDef, &markupDef->fUndocumented); in findCommentAfter()
1745 bool IncludeParser::findComments(const Definition& includeDef, Definition* markupDef) { in findComments() argument
1746 this->checkName(markupDef); in findComments()
1778 commentIter->fContentEnd, commentIter->fLineCount, markupDef, in findComments()
1779 &markupDef->fUndocumented)) { in findComments()
1782 commentIter->fUndocumented = markupDef->fUndocumented; in findComments()
1800 Definition& markupDef = *(*mapIter->fInclude)[name]; in findIncludeObject() local
1801 if (markupDef.fStart) { in findIncludeObject()
1804 markupDef.fFileName = fFileName; in findIncludeObject()
1805 markupDef.fStart = includeDef.fStart; in findIncludeObject()
1806 markupDef.fContentStart = includeDef.fStart; in findIncludeObject()
1807 this->checkName(&markupDef); in findIncludeObject()
1808 markupDef.fName = name; in findIncludeObject()
1809 markupDef.fContentEnd = includeDef.fContentEnd; in findIncludeObject()
1810 markupDef.fTerminator = includeDef.fTerminator; in findIncludeObject()
1811 markupDef.fParent = fParent; in findIncludeObject()
1812 markupDef.fLineCount = includeDef.fLineCount; in findIncludeObject()
1813 markupDef.fMarkType = markType; in findIncludeObject()
1814 markupDef.fKeyWord = includeDef.fKeyWord; in findIncludeObject()
1815 markupDef.fType = Definition::Type::kMark; in findIncludeObject()
1816 return &markupDef; in findIncludeObject()
1988 IClassDefinition* markupDef = this->defineClass(*includeDef, nameStr); in parseClass() local
1989 if (!markupDef) { in parseClass()
1992 markupDef->fStart = iter->fStart; in parseClass()
1993 if (!this->findComments(*includeDef, markupDef)) { in parseClass()
1996 if (markupDef->fUndocumented) { in parseClass()
2063 if (!this->parseObject(child, markupDef)) { in parseClass()
2096 int lineCount, Definition* markupDef, bool* undocumentedPtr) { in parseComment() argument
2113 string filename = markupDef->fileName(); in parseComment()
2120 if (!parser.skipWord(kKeyWords[(int) markupDef->fKeyWord].fName)) { in parseComment()
2123 if (!parser.skipWord(markupDef->fName.c_str()) && in parseComment()
2124 KeyWord::kEnum != markupDef->fKeyWord) { in parseComment()
2131 Definition* parent = markupDef->fTokens.size() ? &markupDef->fTokens.back() : markupDef; in parseComment()
2144 markupDef->fTokens.emplace_back(MarkType::kComment, parser.fChar, lineEnd, in parseComment()
2155 bool IncludeParser::parseConst(Definition* child, Definition* markupDef) { in parseConst() argument
2156 if (!markupDef) { in parseConst()
2175 markupDef->fTokens.emplace_back(MarkType::kConst, child->fContentStart, child->fContentEnd, in parseConst()
2176 child->fLineCount, markupDef, '\0'); in parseConst()
2177 Definition* markupChild = &markupDef->fTokens.back(); in parseConst()
2180 IClassDefinition& classDef = fIClassMap[markupDef->fName]; in parseConst()
2196 bool IncludeParser::parseDefine(Definition* child, Definition* markupDef) { in parseDefine() argument
2247 if (!markupDef) { in parseDefine()
2270 markupDef->fTokens.emplace_back(MarkType::kDefine, child->fContentStart, child->fContentEnd, in parseDefine()
2271 child->fLineCount, markupDef, '\0'); in parseDefine()
2272 Definition* markupChild = &markupDef->fTokens.back(); in parseDefine()
2275 IClassDefinition& classDef = fIClassMap[markupDef->fName]; in parseDefine()
2288 bool IncludeParser::parseEnum(Definition* child, Definition* markupDef) { in parseEnum() argument
2303 if (!markupDef) { in parseEnum()
2314 markupDef->fTokens.emplace_back(MarkType::kEnum, child->fContentStart, child->fContentEnd, in parseEnum()
2315 child->fLineCount, markupDef, '\0'); in parseEnum()
2316 markupChild = &markupDef->fTokens.back(); in parseEnum()
2323 if (markupDef) { in parseEnum()
2324 markupChild->fName = markupDef->fName + "::" + nameStr; in parseEnum()
2352 if (markupDef) { in parseEnum()
2353 IClassDefinition& classDef = fIClassMap[markupDef->fName]; in parseEnum()
2486 bool IncludeParser::parseMember(Definition* child, Definition* markupDef) { in parseMember() argument
2488 markupDef->fTokens.emplace_back(MarkType::kMember, typeStart, child->fContentStart, in parseMember()
2489 child->fLineCount, markupDef, '\0'); in parseMember()
2490 Definition* markupChild = &markupDef->fTokens.back(); in parseMember()
2494 IClassDefinition& classDef = fIClassMap[markupDef->fName]; in parseMember()
2522 markupDef->fTokens.emplace_back(MarkType::kComment, start, end, child->fLineCount, in parseMember()
2523 markupDef, '\0'); in parseMember()
2524 Definition* commentChild = &markupDef->fTokens.back(); in parseMember()
2533 bool IncludeParser::parseMethod(Definition* child, Definition* markupDef) { in parseMethod() argument
2645 if (!markupDef) { in parseMethod()
2669 markupDef->fTokens.emplace_back(MarkType::kMethod, start, end, tokenIter->fLineCount, in parseMethod()
2670 markupDef, '\0'); in parseMethod()
2671 Definition* markupChild = &markupDef->fTokens.back(); in parseMethod()
2673 auto mapIter = fIClassMap.find(markupDef->fName); in parseMethod()
2691 bool IncludeParser::parseObjects(Definition* parent, Definition* markupDef) { in parseObjects() argument
2694 if (!this->parseObject(child, markupDef)) { in parseObjects()
2702 bool IncludeParser::parseObject(Definition* child, Definition* markupDef) { in parseObject() argument
2718 if (!this->parseConst(child, markupDef)) { in parseObject()
2723 if (!this->parseEnum(child, markupDef)) { in parseObject()
2733 if (!this->parseTemplate(child, markupDef)) { in parseObject()
2738 if (!this->parseTypedef(child, markupDef)) { in parseObject()
2782 if (!this->parseMethod(child, markupDef)) { in parseObject()
2797 if (!this->parseObjects(child, markupDef)) { in parseObject()
2804 if (this->parseDefine(child, markupDef)) { in parseObject()
2817 if (!this->parseObjects(child, markupDef)) { in parseObject()
2833 if (!this->parseObjects(child, markupDef)) { in parseObject()
2853 if (!this->parseMember(child, markupDef)) { in parseObject()
2864 bool IncludeParser::parseTemplate(Definition* child, Definition* markupDef) { in parseTemplate() argument
2865 return this->parseObjects(child, markupDef); in parseTemplate()
2868 bool IncludeParser::parseTypedef(Definition* child, Definition* markupDef) { in parseTypedef() argument
2873 if (!markupDef) { in parseTypedef()
2890 markupDef->fTokens.emplace_back(MarkType::kTypedef, child->fContentStart, child->fContentEnd, in parseTypedef()
2891 child->fLineCount, markupDef, '\0'); in parseTypedef()
2892 Definition* markupChild = &markupDef->fTokens.back(); in parseTypedef()
2896 IClassDefinition& classDef = fIClassMap[markupDef->fName]; in parseTypedef()
2898 child->fName = markupDef->fName + "::" + nameStr; in parseTypedef()