Lines Matching refs:keyWord
97 void IncludeParser::addKeyword(KeyWord keyWord) { in addKeyword() argument
98 fParent->fTokens.emplace_back(keyWord, fIncludeWord, fChar, fLineCount, fParent, '\0'); in addKeyword()
100 if (KeyProperty::kObject == kKeyWords[(int) keyWord].fProperty) { in addKeyword()
628 KeyWord keyWord = FindKey(fIncludeWord, fChar); in checkForWord() local
629 if (KeyWord::kClass == keyWord || KeyWord::kStruct == keyWord) { in checkForWord()
635 if (KeyWord::kNone != keyWord) { in checkForWord()
636 if (KeyProperty::kPreprocessor != kKeyWords[(int) keyWord].fProperty) { in checkForWord()
637 this->addKeyword(keyWord); in checkForWord()
657 poundDef->fKeyWord = keyWord; in checkForWord()
659 switch (keyWord) { in checkForWord()
2390 KeyWord keyWord = memberIter->fKeyWord; in parseOneEnumConst() local
2391 bool sawIf = KeyWord::kIfdef == keyWord || KeyWord::kIf == keyWord in parseOneEnumConst()
2392 || KeyWord::kElif == keyWord; in parseOneEnumConst()
2393 if (sawIf || KeyWord::kElse == keyWord) { in parseOneEnumConst()
2398 SkASSERT(KeyWord::kEndif == keyWord || KeyWord::kError == keyWord); in parseOneEnumConst()
2938 KeyWord keyWord = fParent->fKeyWord; in parseChar() local
2939 if (KeyWord::kNone == keyWord) { in parseChar()
2943 SkASSERT(KeyWord::kDefine == keyWord); in parseChar()
2946 … if (KeyWord::kInclude == keyWord || KeyWord::kDefine == keyWord || KeyWord::kError == keyWord) { in parseChar()