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

Function PrintStruct

source/common/scripting/frontend/ast.cpp:320–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320static void PrintStruct(FLispString &out, const ZCC_TreeNode *node)
321{
322 ZCC_Struct *snode = (ZCC_Struct *)node;
323 out.Break();
324 out.Open("struct");
325 out.AddName(snode->NodeName);
326 PrintNodes(out, snode->Body, false, true);
327 out.Close();
328}
329
330static void PrintProperty(FLispString &out, const ZCC_TreeNode *node)
331{

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected