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

Method GetComponentFunctionName

Source/SpireCore/CodeGenerator.cpp:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 }
116 }
117 String GetComponentFunctionName(ComponentSyntaxNode * comp)
118 {
119 StringBuilder nameSb;
120 nameSb << comp->ParentDecl->Name.Content << "." << comp->Name.Content;
121 return EscapeCodeName(nameSb.ProduceString());
122 }
123 public:
124 virtual RefPtr<StructSyntaxNode> VisitStruct(StructSyntaxNode * st) override
125 {

Callers

nothing calls this directly

Calls 2

EscapeCodeNameFunction · 0.85
ProduceStringMethod · 0.80

Tested by

no test coverage detected