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

Method FunctionStatement

LuaParser/src/Parse/LuaParser.cpp:370–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370void LuaParser::FunctionStatement() {
371 auto m = Mark();
372
373 CheckAndNext(TK_FUNCTION);
374
375 FunctionName();
376
377 FunctionBody();
378
379 TestAndNext(';');
380
381 m.Complete(*this, LuaSyntaxNodeKind::FunctionStatement);
382}
383
384void LuaParser::LocalFunctionStatement() {
385 auto m = Mark();

Callers

nothing calls this directly

Calls 1

CompleteMethod · 0.80

Tested by

no test coverage detected