MCPcopy Create free account
hub / github.com/Samsung/UTopia / getIndent

Function getIndent

lib/utils/StringUtil.cpp:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101std::string getIndent(unsigned count) {
102 std::string ReturnIndent = "";
103 while (count--) {
104 ReturnIndent += INDENT;
105 }
106 return ReturnIndent;
107}
108
109bool isValidIdentifier(const std::string &Name) {
110 std::regex Pattern("^[a-zA-Z_][a-zA-Z0-9_]*$");

Callers 5

generateBottomMethod · 0.85
generateHeaderMethod · 0.85
getTCCallMethod · 0.85

Calls

no outgoing calls

Tested by 1