MCPcopy Create free account
hub / github.com/ZDoom/Raze / PrintTwoArgIterationStmt

Function PrintTwoArgIterationStmt

source/common/scripting/frontend/ast.cpp:986–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984}
985
986static void PrintTwoArgIterationStmt(FLispString &out, const ZCC_TreeNode *node)
987{
988 auto inode = (ZCC_TwoArgIterationStmt *)node;
989 out.Break();
990 out.Open("map-iteration-stmt");
991 PrintVarName(out, inode->ItKey);
992 out.Break();
993 PrintVarName(out, inode->ItValue);
994 out.Break();
995 PrintNodes(out, inode->ItMap);
996 out.Break();
997 PrintNodes(out, inode->LoopStatement);
998 out.Close();
999}
1000
1001static void PrintThreeArgIterationStmt(FLispString &out, const ZCC_TreeNode *node)
1002{

Callers

nothing calls this directly

Calls 5

PrintVarNameFunction · 0.85
PrintNodesFunction · 0.85
BreakMethod · 0.80
OpenMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected