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

Function PrintBasicType

source/common/scripting/frontend/ast.cpp:481–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481static void PrintBasicType(FLispString &out, const ZCC_TreeNode *node)
482{
483 ZCC_BasicType *tnode = (ZCC_BasicType *)node;
484 out.Open("basic-type");
485 PrintNodes(out, tnode->ArraySize);
486 PrintBuiltInType(out, tnode->Type);
487 if (tnode->Type == ZCC_UserType || tnode->Type == ZCC_NativeType)
488 {
489 if (tnode->Type == ZCC_NativeType) out.Add("@", 1);
490 PrintNodes(out, tnode->UserType, false);
491 }
492 out.Close();
493}
494
495static void PrintMapType(FLispString &out, const ZCC_TreeNode *node)
496{

Callers

nothing calls this directly

Calls 5

PrintNodesFunction · 0.85
PrintBuiltInTypeFunction · 0.85
OpenMethod · 0.45
AddMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected