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

Method ForNumber

LuaParser/src/Parse/LuaParser.cpp:303–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void LuaParser::ForNumber() {
304 auto m = Mark();
305
306 CheckName();
307
308 CheckAndNext('=');
309
310 Expression();
311
312 CheckAndNext(',');
313
314 Expression();
315
316 if (TestAndNext(','))// optional step
317 {
318 Expression();
319 }
320
321 ForBody();
322
323 m.Complete(*this, LuaSyntaxNodeKind::ForNumber);
324}
325
326/* forlist -> NAME {,NAME} IN explist forbody */
327void LuaParser::ForList() {

Callers

nothing calls this directly

Calls 1

CompleteMethod · 0.80

Tested by

no test coverage detected