| 33 | } |
| 34 | |
| 35 | inline void expectSingleToken(const std::string& source, parser::DefSyntaxToken::Type type, const std::string& value) |
| 36 | { |
| 37 | auto tokeniser = createTokeniser(source); |
| 38 | |
| 39 | auto it = tokeniser.getIterator(); |
| 40 | expectToken(*it++, type, value); |
| 41 | } |
| 42 | |
| 43 | } |
| 44 |
no test coverage detected