MCPcopy Create free account
hub / github.com/csyonghe/Spire / PrintDef

Method PrintDef

Source/SpireCore/CLikeCodeGen.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 void CLikeCodeGen::PrintDef(StringBuilder & sbCode, ILType* type, const String & name)
38 {
39 PrintType(sbCode, type);
40 sbCode << " ";
41 sbCode << name;
42 if (name.Length() == 0)
43 throw InvalidProgramException("unnamed instruction.");
44 }
45
46 String CLikeCodeGen::GetFuncOriginalName(const String & name)
47 {

Callers 6

DefineVariableMethod · 0.80
DeclareOutputMethod · 0.80
DeclareOutputMethod · 0.80
DeclareOutputMethod · 0.80
DeclareOutputMethod · 0.80
DeclareOutputMethod · 0.80

Calls 3

PrintTypeFunction · 0.85
LengthMethod · 0.45

Tested by

no test coverage detected