Lines Matching refs:includeDef
1137 IClassDefinition* IncludeParser::defineClass(const Definition& includeDef, in defineClass() argument
1156 markupDef.fStart = includeDef.fStart; in defineClass()
1157 markupDef.fContentStart = includeDef.fStart; in defineClass()
1160 markupDef.fContentEnd = includeDef.fContentEnd; in defineClass()
1161 markupDef.fTerminator = includeDef.fTerminator; in defineClass()
1164 markupDef.fMarkType = KeyWord::kStruct == includeDef.fKeyWord ? in defineClass()
1166 markupDef.fKeyWord = includeDef.fKeyWord; in defineClass()
1168 auto tokenIter = includeDef.fParent->fTokens.begin(); in defineClass()
1169 SkASSERT(includeDef.fParentIndex > 0); in defineClass()
1170 std::advance(tokenIter, includeDef.fParentIndex - 1); in defineClass()
1721 bool IncludeParser::findCommentAfter(const Definition& includeDef, Definition* markupDef) { in findCommentAfter() argument
1723 const Definition* parent = includeDef.fParent; in findCommentAfter()
1724 int index = includeDef.fParentIndex; in findCommentAfter()
1727 SkASSERT(&*wordIter == &includeDef); in findCommentAfter()
1745 bool IncludeParser::findComments(const Definition& includeDef, Definition* markupDef) { in findComments() argument
1748 Definition* parent = includeDef.fParent; in findComments()
1749 int index = includeDef.fParentIndex; in findComments()
1752 SkASSERT(&*wordIter == &includeDef); in findComments()
1788 Definition* IncludeParser::findIncludeObject(const Definition& includeDef, MarkType markType, in findIncludeObject() argument
1805 markupDef.fStart = includeDef.fStart; in findIncludeObject()
1806 markupDef.fContentStart = includeDef.fStart; in findIncludeObject()
1809 markupDef.fContentEnd = includeDef.fContentEnd; in findIncludeObject()
1810 markupDef.fTerminator = includeDef.fTerminator; in findIncludeObject()
1812 markupDef.fLineCount = includeDef.fLineCount; in findIncludeObject()
1814 markupDef.fKeyWord = includeDef.fKeyWord; in findIncludeObject()
1954 bool IncludeParser::parseClass(Definition* includeDef, IsStruct isStruct) { in parseClass() argument
1955 SkASSERT(includeDef->fTokens.size() > 0); in parseClass()
1957 auto iter = includeDef->fTokens.begin(); in parseClass()
1966 return includeDef->reportError<bool>("expected alignas argument"); in parseClass()
1971 includeDef->fName = nameStr; in parseClass()
1972 this->checkName(includeDef); in parseClass()
1974 if (iter == includeDef->fTokens.end()) { in parseClass()
1978 if (iter == includeDef->fTokens.end()) { in parseClass()
1979 return includeDef->reportError<bool>("unexpected end"); in parseClass()
1988 IClassDefinition* markupDef = this->defineClass(*includeDef, nameStr); in parseClass()
1993 if (!this->findComments(*includeDef, markupDef)) { in parseClass()
1997 includeDef->fUndocumented = true; in parseClass()
2002 auto includeDefIter = includeDef->fChildren.begin(); in parseClass()
2004 SkASSERT(includeDef->fChildren.end() != includeDefIter); in parseClass()
2008 if (includeDef->fChildren.end() != includeDefIter in parseClass()
2012 includeDef = *includeDefIter; in parseClass()
2013 SkASSERT(Bracket::kBrace == includeDef->fBracket); in parseClass()
2014 iter = includeDef->fTokens.begin(); in parseClass()
2020 while (iter != includeDef->fTokens.end() in parseClass()
2036 auto childIter = includeDef->fChildren.begin(); in parseClass()
2037 while (includeDef->fChildren.end() != childIter && (*childIter)->fPrivate) { in parseClass()
2040 while (childIter != includeDef->fChildren.end()) { in parseClass()
2042 while (child->fParentIndex > keyIndex && iter != includeDef->fTokens.end()) { in parseClass()
2070 while (iter != includeDef->fTokens.end()) { in parseClass()