Added name mangling tests.
This commit is contained in:
parent
8f4845d4d2
commit
22bad8fb22
2 changed files with 54 additions and 28 deletions
|
|
@ -34,11 +34,10 @@ public:
|
|||
ReplaceRules replaceRules;
|
||||
// { {"[ -_]", QRegularExpression::OptimizeOnFirstUsageOption }, "", true }
|
||||
|
||||
QString replaceSpaceWith; ///< default is empty string which means remove spaces
|
||||
//CollisionHandling CollisionHandling = CollisionHandling::Restrict;
|
||||
CaseConversion caseConversion = CaseConversion::AsIs; ///< overall case conversion rule
|
||||
//CaseConversion caseFirstChar = CaseConversion::AsIs; ///< case of the first char
|
||||
bool camelCase = false; ///< removes underscores and make first char after underscore uppercase
|
||||
// bool camelCase = false; ///< removes underscores and make first char after underscore uppercase
|
||||
|
||||
void apply(const ReplaceRule &rule, QString &in) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue