Lines Matching refs:keyWord
96 void IncludeParser::addKeyword(KeyWord keyWord) { in addKeyword() argument
97 fParent->fTokens.emplace_back(keyWord, fIncludeWord, fChar, fLineCount, fParent, '\0'); in addKeyword()
99 if (KeyProperty::kObject == kKeyWords[(int) keyWord].fProperty) { in addKeyword()
627 KeyWord keyWord = FindKey(fIncludeWord, fChar); in checkForWord() local
628 if (KeyWord::kClass == keyWord || KeyWord::kStruct == keyWord) { in checkForWord()
634 if (KeyWord::kNone != keyWord) { in checkForWord()
635 if (KeyProperty::kPreprocessor != kKeyWords[(int) keyWord].fProperty) { in checkForWord()
636 this->addKeyword(keyWord); in checkForWord()
656 poundDef->fKeyWord = keyWord; in checkForWord()
658 switch (keyWord) { in checkForWord()
2389 KeyWord keyWord = memberIter->fKeyWord; in parseOneEnumConst() local
2390 bool sawIf = KeyWord::kIfdef == keyWord || KeyWord::kIf == keyWord in parseOneEnumConst()
2391 || KeyWord::kElif == keyWord; in parseOneEnumConst()
2392 if (sawIf || KeyWord::kElse == keyWord) { in parseOneEnumConst()
2397 SkASSERT(KeyWord::kEndif == keyWord || KeyWord::kError == keyWord); in parseOneEnumConst()
2937 KeyWord keyWord = fParent->fKeyWord; in parseChar() local
2938 if (KeyWord::kNone == keyWord) { in parseChar()
2942 SkASSERT(KeyWord::kDefine == keyWord); in parseChar()
2945 … if (KeyWord::kInclude == keyWord || KeyWord::kDefine == keyWord || KeyWord::kError == keyWord) { in parseChar()