| 18 | } |
| 19 | |
| 20 | inline void expectToken(const parser::DefSyntaxToken& token, parser::DefSyntaxToken::Type type, const std::string& value) |
| 21 | { |
| 22 | EXPECT_EQ(token.type, type) << "Expected token type " << (int)type; |
| 23 | EXPECT_EQ(token.value, value) << "Expected token value " << value; |
| 24 | } |
| 25 | |
| 26 | inline parser::DefBlockSyntaxParser<const std::string>::Tokeniser createTokeniser(const std::string& source) |
| 27 | { |
no outgoing calls
no test coverage detected