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

Method DoStatement

LuaParser/src/Parse/LuaParser.cpp:260–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260void LuaParser::DoStatement() {
261 auto m = Mark();
262
263 CheckAndNext(TK_DO);
264
265 Block();
266
267 CheckAndNext(TK_END);
268
269 TestAndNext(';');
270
271 m.Complete(*this, LuaSyntaxNodeKind::DoStatement);
272}
273
274/* forstat -> FOR (fornum | forlist) END */
275void LuaParser::ForStatement() {

Callers

nothing calls this directly

Calls 1

CompleteMethod · 0.80

Tested by

no test coverage detected