MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / Next

Method Next

LuaParser/src/Parse/LuaParser.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void LuaParser::Next() {
57 auto tk = Current();
58 auto me = MarkEvent(MarkEventType::EatToken);
59 me.U.Token.Kind = tk;
60 me.U.Token.Index = _tokenIndex;
61 _events.push_back(me);
62 _tokenIndex++;
63 _invalid = true;
64}
65
66void LuaParser::NextAs(LuaTokenKind kind) {
67 auto me = MarkEvent(MarkEventType::EatToken);

Callers

nothing calls this directly

Calls 2

MarkEventClass · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected