Searched refs:RCToken (Results 1 – 7 of 7) sorted by relevance
26 using Kind = RCToken::Kind;45 RCToken::RCToken(RCToken::Kind RCTokenKind, StringRef Value) in RCToken() function in RCToken48 uint32_t RCToken::intValue() const { in intValue()59 bool RCToken::isLongInt() const { in isLongInt()63 StringRef RCToken::value() const { return TokenValue; } in value()65 Kind RCToken::kind() const { return TokenKind; } in kind()67 bool RCToken::isBinaryOp() const { in isBinaryOp()90 Expected<std::vector<RCToken>> run();142 void processIdentifier(RCToken &token) const;156 Expected<std::vector<RCToken>> Tokenizer::run() { in run()[all …]
44 class RCToken {52 RCToken(RCToken::Kind RCTokenKind, StringRef Value);78 Expected<std::vector<RCToken>> tokenizeRC(StringRef Input);
35 using LocIter = std::vector<RCToken>::iterator;57 explicit RCParser(std::vector<RCToken> TokenList);66 using Kind = RCToken::Kind;74 const RCToken &look() const;76 const RCToken &read();184 std::vector<RCToken> Tokens;
116 std::vector<RCToken> Tokens = ExitOnErr(tokenizeRC(FilteredContents)); in main()125 for (const RCToken &Token : Tokens) { in main()128 if (Token.kind() == RCToken::Kind::Int) in main()
35 RCInt(const RCToken &Token) in RCInt()78 Data(const RCToken &Token) { in Data()79 if (Token.kind() == RCToken::Kind::Int) in Data()92 IntOrString(const RCToken &Token) in IntOrString()93 : Data(Token), IsInt(Token.kind() == RCToken::Kind::Int) {} in IntOrString()
44 RCParser::RCParser(std::vector<RCToken> TokenList) in RCParser()100 const RCToken &RCParser::look() const { in look()105 const RCToken &RCParser::read() { in read()334 const RCToken &Token = look(); in parseMemoryFlags()
30 class RCToken {40 RCToken(RCToken::Kind RCTokenKind, StringRef Value);