Home
last modified time | relevance | path

Searched refs:KeyWord (Results 1 – 6 of 6) sorted by relevance

/external/skqp/tools/bookmaker/
DincludeParser.cpp15 { "", KeyWord::kNone, KeyProperty::kNone },
16 { "SK_API", KeyWord::kSK_API, KeyProperty::kModifier },
17 { "SK_BEGIN_REQUIRE_DENSE", KeyWord::kSK_BEGIN_REQUIRE_DENSE, KeyProperty::kModifier },
18 { "alignas", KeyWord::kAlignAs, KeyProperty::kModifier },
19 { "bool", KeyWord::kBool, KeyProperty::kNumber },
20 { "char", KeyWord::kChar, KeyProperty::kNumber },
21 { "class", KeyWord::kClass, KeyProperty::kObject },
22 { "const", KeyWord::kConst, KeyProperty::kModifier },
23 { "constexpr", KeyWord::kConstExpr, KeyProperty::kModifier },
24 { "define", KeyWord::kDefine, KeyProperty::kPreprocessor },
[all …]
DincludeWriter.cpp457 if (KeyWord::kClass == braceHolder->fKeyWord) { in enumHeaderOut()
603 if (KeyWord::kClass == brace->fKeyWord) { in enumMembersOut()
670 if (KeyWord::kIf == token->fKeyWord || KeyWord::kIfdef == token->fKeyWord) { in enumPreprocessor()
674 } else if (KeyWord::kEndif == token->fKeyWord || KeyWord::kElif == token->fKeyWord in enumPreprocessor()
675 || KeyWord::kElse == token->fKeyWord) { in enumPreprocessor()
679 if (KeyWord::kElif == token->fKeyWord) { in enumPreprocessor()
716 if (KeyWord::kClass == brace->fKeyWord) { in enumSizeItems()
781 if (KeyWord::kEnum == child.fKeyWord && child.fChildren.size() > 0 in matchMemberName()
782 && KeyWord::kClass == child.fChildren[0]->fKeyWord) { in matchMemberName()
786 if (KeyWord::kStruct == parent->fKeyWord || KeyWord::kClass == parent->fKeyWord) { in matchMemberName()
[all …]
Ddefinition.h106 Definition(KeyWord keyWord, const char* start, const char* end, int lineCount, in Definition()
156 if (KeyWord::kClass == test->fKeyWord || KeyWord::kStruct == test->fKeyWord) { in iRootParent()
248 KeyWord fKeyWord = KeyWord::kNone;
Dbookmaker.h54 enum class KeyWord { enum
203 KeyWord fKeyWord;
DmdOut.cpp261 BraceState(RootDefinition* root, string name, const char* ch, KeyWord last, KeyWord keyWord, in BraceState()
274 KeyWord fLastKey;
275 KeyWord fKeyWord;
1140 if (KeyWord::kIfndef == member->fKeyWord) { in addCodeBlock()
1144 if (KeyWord::kClass == member->fKeyWord || KeyWord::kStruct == member->fKeyWord in addCodeBlock()
1145 || KeyWord::kTemplate == member->fKeyWord) { in addCodeBlock()
1170 if (KeyWord::kEnum == member->fKeyWord) { in addCodeBlock()
1175 if (KeyWord::kEnum == member->fKeyWord && KeyWord::kClass == tokenIter->fKeyWord) { in addCodeBlock()
1184 MarkType markType = KeyWord::kClass == member->fKeyWord in addCodeBlock()
1185 || KeyWord::kStruct == member->fKeyWord ? MarkType::kClass : MarkType::kEnum; in addCodeBlock()
[all …]
DincludeParser.h99 void addKeyword(KeyWord keyWord);
179 static KeyWord FindKey(const char* start, const char* end);
222 && KeyWord::kTypename == fParent->fKeyWord) { in popBracket()