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

Function GetFullComponentName

Source/SpireCore/SemanticsVisitor.cpp:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 }
11
12 String GetFullComponentName(ComponentSyntaxNode * comp)
13 {
14 StringBuilder sb;
15 sb << comp->Name.Content;
16 for (auto & param : comp->GetParameters())
17 {
18 sb << "@" << param->Type->ToString();
19 }
20 return sb.ProduceString();
21 }
22
23 String TranslateHLSLTypeNames(String name)
24 {

Callers 2

AddNewComponentSymbolMethod · 0.85

Calls 3

ProduceStringMethod · 0.80
GetParametersMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected