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

Method ForList

LuaParser/src/Parse/LuaParser.cpp:327–339  ·  view source on GitHub ↗

forlist -> NAME {,NAME} IN explist forbody */

Source from the content-addressed store, hash-verified

325
326/* forlist -> NAME {,NAME} IN explist forbody */
327void LuaParser::ForList() {
328 auto m = Mark();
329
330 NameDefList();
331
332 CheckAndNext(TK_IN);
333
334 ExpressionList();
335
336 ForBody();
337
338 m.Complete(*this, LuaSyntaxNodeKind::ForList);
339}
340
341void LuaParser::ForBody() {
342 auto m = Mark();

Callers

nothing calls this directly

Calls 1

CompleteMethod · 0.80

Tested by

no test coverage detected