| 225 | BOOST_STATIC_ASSERT(TokenTraits::count() <= 0x100); |
| 226 | |
| 227 | Token Scanner::next() |
| 228 | { |
| 229 | m_tokens[Current] = std::move(m_tokens[Next]); |
| 230 | m_tokens[Next] = std::move(m_tokens[NextNext]); |
| 231 | m_skippedComments[Current] = std::move(m_skippedComments[Next]); |
| 232 | m_skippedComments[Next] = std::move(m_skippedComments[NextNext]); |
| 233 | |
| 234 | scanToken(); |
| 235 | |
| 236 | return m_tokens[Current].token; |
| 237 | } |
| 238 | |
| 239 | Token Scanner::selectToken(char _next, Token _then, Token _else) |
| 240 | { |
no outgoing calls
no test coverage detected