MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / getSimSourceName

Function getSimSourceName

src/simulate/simulate_fusion.cpp:104–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 const char * getSimSourceName(SimSourceType st) {
105 switch ( st ) {
106 case SimSourceType::sSimNode: return "Any";
107 case SimSourceType::sConstValue: return "Const";
108 case SimSourceType::sCMResOff: return "Cmro";
109 case SimSourceType::sBlockCMResOff: return "Bcmro";
110 case SimSourceType::sLocal: return "Loc";
111 case SimSourceType::sLocalRefOff: return "Locro";
112 case SimSourceType::sArgument: return "Arg";
113 case SimSourceType::sArgumentRef: return "Argr";
114 case SimSourceType::sArgumentRefOff: return "Argro";
115 case SimSourceType::sBlockArgument: return "Barg";
116 case SimSourceType::sBlockArgumentRef: return "Bargr";
117 case SimSourceType::sThisBlockArgument: return "Tbarg";
118 case SimSourceType::sThisBlockArgumentRef: return "Tbargr";
119 case SimSourceType::sGlobal: return "Glob";
120 case SimSourceType::sShared: return "Shared";
121 };
122 return "???";
123 }
124
125 string fuseName ( const string & name, const string & typeName ) {
126 return typeName.empty() ? name : (name + "<" + typeName + ">");

Callers 10

visitMethod · 0.85
visitMethod · 0.85
visitMethod · 0.85
visitMethod · 0.85
visitMethod · 0.85
visitMethod · 0.85
visitMethod · 0.85
visitMethod · 0.85
visitMethod · 0.85
visitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected