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