MCPcopy Create free account
hub / github.com/argotorg/solidity / next

Method next

liblangutil/Scanner.cpp:227–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225BOOST_STATIC_ASSERT(TokenTraits::count() <= 0x100);
226
227Token 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
239Token Scanner::selectToken(char _next, Token _then, Token _else)
240{

Callers 3

advanceMethod · 0.45
parseSrcCommentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected