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

Function PrintClass

source/common/scripting/frontend/ast.cpp:307–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307static void PrintClass(FLispString &out, const ZCC_TreeNode *node)
308{
309 ZCC_Class *cnode = (ZCC_Class *)node;
310 out.Break();
311 out.Open("class");
312 out.AddName(cnode->NodeName);
313 PrintNodes(out, cnode->ParentName);
314 PrintNodes(out, cnode->Replaces);
315 out.AddHex(cnode->Flags);
316 PrintNodes(out, cnode->Body, false, true);
317 out.Close();
318}
319
320static void PrintStruct(FLispString &out, const ZCC_TreeNode *node)
321{

Callers

nothing calls this directly

Calls 6

PrintNodesFunction · 0.85
BreakMethod · 0.80
AddHexMethod · 0.80
OpenMethod · 0.45
AddNameMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected