Lines Matching defs:markupDef

499     IClassDefinition& markupDef = map[className];
500 if (markupDef.fStart) {
504 markupDef.fFileName = fFileName;
505 markupDef.fStart = includeDef.fStart;
506 markupDef.fContentStart = includeDef.fStart;
507 markupDef.fName = className;
508 markupDef.fContentEnd = includeDef.fContentEnd;
509 markupDef.fTerminator = includeDef.fTerminator;
510 markupDef.fParent = fParent;
511 markupDef.fLineCount = fLineCount;
512 markupDef.fMarkType = KeyWord::kStruct == includeDef.fKeyWord ?
514 markupDef.fKeyWord = includeDef.fKeyWord;
515 markupDef.fType = Definition::Type::kMark;
516 fParent = &markupDef;
517 return &markupDef;
1107 bool IncludeParser::findComments(const Definition& includeDef, Definition* markupDef) {
1139 commentIter->fContentEnd, commentIter->fLineCount, markupDef)) {
1181 IClassDefinition* markupDef = this->defineClass(*includeDef, nameStr);
1182 if (!markupDef) {
1185 markupDef->fStart = iter->fStart;
1186 if (!this->findComments(*includeDef, markupDef)) {
1241 if (!this->parseObject(child, markupDef)) {
1256 int lineCount, Definition* markupDef) {
1265 if (!parser.skipWord(kKeyWords[(int) markupDef->fKeyWord].fName)) {
1268 if (!parser.skipWord(markupDef->fName.c_str()) &&
1269 KeyWord::kEnum != markupDef->fKeyWord) {
1276 Definition* parent = markupDef->fTokens.size() ? &markupDef->fTokens.back() : markupDef;
1289 markupDef->fTokens.emplace_back(MarkType::kComment, parser.fChar, lineEnd,
1301 bool IncludeParser::parseEnum(Definition* child, Definition* markupDef) {
1319 if (!markupDef) {
1332 markupDef->fTokens.emplace_back(MarkType::kEnum, child->fContentStart, child->fContentEnd,
1333 child->fLineCount, markupDef);
1334 markupChild = &markupDef->fTokens.back();
1347 if (markupDef) {
1348 markupChild->fName = markupDef->fName + "::";
1464 if (markupDef) {
1465 IClassDefinition& classDef = fIClassMap[markupDef->fName];
1495 bool IncludeParser::parseMember(Definition* child, Definition* markupDef) {
1497 markupDef->fTokens.emplace_back(MarkType::kMember, typeStart, child->fContentStart,
1498 child->fLineCount, markupDef);
1499 Definition* markupChild = &markupDef->fTokens.back();
1503 IClassDefinition& classDef = fIClassMap[markupDef->fName];
1528 markupDef->fTokens.emplace_back(MarkType::kComment, start, end, child->fLineCount,
1529 markupDef);
1530 Definition* commentChild = &markupDef->fTokens.back();
1539 bool IncludeParser::parseMethod(Definition* child, Definition* markupDef) {
1646 if (!markupDef) {
1670 markupDef->fTokens.emplace_back(MarkType::kMethod, start, end, tokenIter->fLineCount,
1671 markupDef);
1672 Definition* markupChild = &markupDef->fTokens.back();
1674 IClassDefinition& classDef = fIClassMap[markupDef->fName];
1685 bool IncludeParser::parseObjects(Definition* parent, Definition* markupDef) {
1687 if (!this->parseObject(child, markupDef)) {
1694 bool IncludeParser::parseObject(Definition* child, Definition* markupDef) {
1708 if (!this->parseEnum(child, markupDef)) {
1723 if (!this->parseTypedef(child, markupDef)) {
1766 if (!this->parseMethod(child, markupDef)) {
1781 if (!this->parseObjects(child, markupDef)) {
1813 if (!this->parseObjects(child, markupDef)) {
1833 if (!this->parseMember(child, markupDef)) {
1849 bool IncludeParser::parseTypedef(Definition* child, Definition* markupDef) {
1854 if (!markupDef) {
1867 markupDef->fTokens.emplace_back(MarkType::kTypedef, child->fContentStart, child->fContentEnd,
1868 child->fLineCount, markupDef);
1869 Definition* markupChild = &markupDef->fTokens.back();
1872 IClassDefinition& classDef = fIClassMap[markupDef->fName];