Lines Matching defs:markupDef

507     IClassDefinition& markupDef = map[className];
508 if (markupDef.fStart) {
512 markupDef.fFileName = fFileName;
513 markupDef.fStart = includeDef.fStart;
514 markupDef.fContentStart = includeDef.fStart;
515 markupDef.fName = className;
516 markupDef.fContentEnd = includeDef.fContentEnd;
517 markupDef.fTerminator = includeDef.fTerminator;
518 markupDef.fParent = fParent;
519 markupDef.fLineCount = fLineCount;
520 markupDef.fMarkType = KeyWord::kStruct == includeDef.fKeyWord ?
522 markupDef.fKeyWord = includeDef.fKeyWord;
523 markupDef.fType = Definition::Type::kMark;
524 fParent = &markupDef;
525 return &markupDef;
1115 bool IncludeParser::findComments(const Definition& includeDef, Definition* markupDef) {
1147 commentIter->fContentEnd, commentIter->fLineCount, markupDef)) {
1189 IClassDefinition* markupDef = this->defineClass(*includeDef, nameStr);
1190 if (!markupDef) {
1193 markupDef->fStart = iter->fStart;
1194 if (!this->findComments(*includeDef, markupDef)) {
1249 if (!this->parseObject(child, markupDef)) {
1264 int lineCount, Definition* markupDef) {
1273 if (!parser.skipWord(kKeyWords[(int) markupDef->fKeyWord].fName)) {
1276 if (!parser.skipWord(markupDef->fName.c_str()) &&
1277 KeyWord::kEnum != markupDef->fKeyWord) {
1284 Definition* parent = markupDef->fTokens.size() ? &markupDef->fTokens.back() : markupDef;
1297 markupDef->fTokens.emplace_back(MarkType::kComment, parser.fChar, lineEnd,
1309 bool IncludeParser::parseEnum(Definition* child, Definition* markupDef) {
1327 if (!markupDef) {
1340 markupDef->fTokens.emplace_back(MarkType::kEnum, child->fContentStart, child->fContentEnd,
1341 child->fLineCount, markupDef);
1342 markupChild = &markupDef->fTokens.back();
1355 if (markupDef) {
1356 markupChild->fName = markupDef->fName + "::";
1472 if (markupDef) {
1473 IClassDefinition& classDef = fIClassMap[markupDef->fName];
1503 bool IncludeParser::parseMember(Definition* child, Definition* markupDef) {
1505 markupDef->fTokens.emplace_back(MarkType::kMember, typeStart, child->fContentStart,
1506 child->fLineCount, markupDef);
1507 Definition* markupChild = &markupDef->fTokens.back();
1511 IClassDefinition& classDef = fIClassMap[markupDef->fName];
1536 markupDef->fTokens.emplace_back(MarkType::kComment, start, end, child->fLineCount,
1537 markupDef);
1538 Definition* commentChild = &markupDef->fTokens.back();
1547 bool IncludeParser::parseMethod(Definition* child, Definition* markupDef) {
1654 if (!markupDef) {
1678 markupDef->fTokens.emplace_back(MarkType::kMethod, start, end, tokenIter->fLineCount,
1679 markupDef);
1680 Definition* markupChild = &markupDef->fTokens.back();
1682 IClassDefinition& classDef = fIClassMap[markupDef->fName];
1693 bool IncludeParser::parseObjects(Definition* parent, Definition* markupDef) {
1695 if (!this->parseObject(child, markupDef)) {
1702 bool IncludeParser::parseObject(Definition* child, Definition* markupDef) {
1716 if (!this->parseEnum(child, markupDef)) {
1731 if (!this->parseTypedef(child, markupDef)) {
1774 if (!this->parseMethod(child, markupDef)) {
1789 if (!this->parseObjects(child, markupDef)) {
1821 if (!this->parseObjects(child, markupDef)) {
1841 if (!this->parseMember(child, markupDef)) {
1857 bool IncludeParser::parseTypedef(Definition* child, Definition* markupDef) {
1862 if (!markupDef) {
1875 markupDef->fTokens.emplace_back(MarkType::kTypedef, child->fContentStart, child->fContentEnd,
1876 child->fLineCount, markupDef);
1877 Definition* markupChild = &markupDef->fTokens.back();
1880 IClassDefinition& classDef = fIClassMap[markupDef->fName];