reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
95 bool RCParser::isNextTokenKind(Kind TokenKind) const { 163 case Kind::Plus: 167 case Kind::Minus: 171 case Kind::Pipe: 175 case Kind::Amp: 195 case Kind::Minus: { 201 case Kind::Tilde: { 207 case Kind::Int: 210 case Kind::LeftParen: { 217 case Kind::Identifier: { 230 if (!isNextTokenKind(Kind::String)) 236 if (!isNextTokenKind(Kind::String) && !isNextTokenKind(Kind::Identifier)) 236 if (!isNextTokenKind(Kind::String) && !isNextTokenKind(Kind::Identifier)) 242 if (!isNextTokenKind(Kind::Identifier)) 248 if (!isNextTokenKind(Kind::Int) && !isNextTokenKind(Kind::String)) 248 if (!isNextTokenKind(Kind::Int) && !isNextTokenKind(Kind::String)) 256 if (!isNextTokenKind(Kind::Identifier) && !isNextTokenKind(Kind::Int)) 256 if (!isNextTokenKind(Kind::Identifier) && !isNextTokenKind(Kind::Int)) 261 Error RCParser::consumeType(Kind TokenKind) { 280 bool RCParser::consumeOptionalType(Kind TokenKind) { 308 if (auto CommaError = consumeType(Kind::Comma)) 327 while (isNextTokenKind(Kind::Comma)) { 351 if (Token.kind() != Kind::Identifier) 384 while (!isNextTokenKind(Kind::BlockBegin)) { 434 while (!consumeOptionalType(Kind::BlockEnd)) { 465 if (IsExtended && consumeOptionalType(Kind::Comma)) { 482 while (!consumeOptionalType(Kind::BlockEnd)) { 498 case Kind::String: 499 case Kind::Identifier: 511 while (!consumeOptionalType(Kind::BlockEnd)) { 575 if (consumeOptionalType(Kind::Comma)) { 582 if (consumeOptionalType(Kind::Comma)) { 587 if (consumeOptionalType(Kind::Comma)) { 635 while (!consumeOptionalType(Kind::BlockEnd)) { 643 if (IsMenuItem && isNextTokenKind(Kind::Identifier)) { 695 while (!consumeOptionalType(Kind::BlockEnd)) { 700 consumeOptionalType(Kind::Comma); 714 while (!isNextTokenKind(Kind::BlockEnd)) { 741 while (!isNextTokenKind(Kind::Identifier) && 742 !isNextTokenKind(Kind::BlockEnd)) { 744 bool HadComma = Values.size() > 0 && consumeOptionalType(Kind::Comma); 762 while (!isNextTokenKind(Kind::BlockBegin)) { 819 if (consumeOptionalType(Kind::Comma)) {tools/llvm-rc/ResourceScriptParser.h
68 bool isNextTokenKind(Kind TokenKind) const; 96 Error consumeType(Kind TokenKind); 100 bool consumeOptionalType(Kind TokenKind);